<?php
/**
 * Attributes File.
 *
 * @since 2.0.0
 *
 * @package uagb
 */

$success_message_border_attribute = UAGB_Block_Helper::uag_generate_border_attribute( 'successMsg' );
$failed_message_border_attribute  = UAGB_Block_Helper::uag_generate_border_attribute( 'errorMsg' );
$input_border_attribute           = UAGB_Block_Helper::uag_generate_border_attribute( 'field' );
$toggle_border_attribute          = UAGB_Block_Helper::uag_generate_border_attribute( 'checkBoxToggle' );
$submit_border_attribute          = UAGB_Block_Helper::uag_generate_border_attribute( 'btn' );
$inherit_from_theme               = 'enabled' === ( 'deleted' !== UAGB_Admin_Helper::get_admin_settings_option( 'uag_btn_inherit_from_theme_fallback', 'deleted' ) ? 'disabled' : UAGB_Admin_Helper::get_admin_settings_option( 'uag_btn_inherit_from_theme', 'disabled' ) );

return array_merge(
	array(
		'block_id'                       => '',
		'formPaddingTop'                 => 25,
		'formPaddingRight'               => 25,
		'formPaddingBottom'              => 25,
		'formPaddingLeft'                => 25,
		'formPaddingTopTab'              => 25,
		'formPaddingRightTab'            => 25,
		'formPaddingBottomTab'           => 25,
		'formPaddingLeftTab'             => 25,
		'formPaddingTopMob'              => 25,
		'formPaddingRightMob'            => 25,
		'formPaddingBottomMob'           => 25,
		'formPaddingLeftMob'             => 25,
		'formPaddingUnit'                => 'px',
		'formPaddingUnitTab'             => 'px',
		'formPaddingUnitMob'             => 'px',
		'submitButtonText'               => __( 'Submit', 'ultimate-addons-for-gutenberg' ),
		'formLabel'                      => __( 'Spectra Form', 'ultimate-addons-for-gutenberg' ),
		'buttonAlign'                    => 'left',
		'buttonAlignTablet'              => '',
		'buttonAlignMobile'              => '',
		'confirmationType'               => 'message',
		'confirmationMessage'            => __( 'The form has been submitted Successfully!', 'ultimate-addons-for-gutenberg' ),
		'confirmationUrl'                => '',
		'buttonSize'                     => 'medium',
		'submitColor'                    => '',
		'submitBgType'                   => 'color',
		'submitBgHoverType'              => 'color',
		'submitColorHover'               => '',
		'submitBgColor'                  => '',
		'submitBgColorHover'             => '',
		'toggleSize'                     => 15,
		'toggleSizeTablet'               => '',
		'toggleSizeMobile'               => '',
		'toggleColor'                    => '#ffffff',
		'toggleActiveColor'              => '#017cba',
		'toggleDotColor'                 => '#1e1e1e',
		'toggleDotActiveColor'           => '#ffffff',
		'toggleWidthSize'                => 0,
		'toggleWidthSizeTablet'          => '',
		'toggleWidthSizeMobile'          => '',
		'toggleHeightSize'               => 0,
		'toggleHeightSizeTablet'         => 0,
		'toggleHeightSizeMobile'         => 0,
		'vPaddingSubmit'                 => '',
		'hPaddingSubmit'                 => '',
		'submitTextloadGoogleFonts'      => false,
		'sendAfterSubmitEmail'           => true,
		'afterSubmitToEmail'             => '',
		'afterSubmitBccEmail'            => '',
		'afterSubmitCcEmail'             => '',
		'afterSubmitEmailSubject'        => __( 'Form Submission', 'ultimate-addons-for-gutenberg' ),
		'submitTextFontFamily'           => 'Default',
		'submitTextFontWeight'           => '',
		'submitTextFontSize'             => 15,
		'submitTextFontSizeType'         => 'px',
		'submitTextFontSizeTablet'       => 15,
		'submitTextFontSizeMobile'       => 15,
		'submitTextLineHeight'           => '',
		'submitTextLineHeightType'       => 'em',
		'submitTextLineHeightTablet'     => '',
		'submitTextLineHeightMobile'     => '',
		'labelloadGoogleFonts'           => false,
		'labelFontFamily'                => 'Default',
		'labelFontWeight'                => '',
		'labelFontSize'                  => 15,
		'labelFontSizeType'              => 'px',
		'labelFontSizeTablet'            => 15,
		'labelFontSizeMobile'            => 15,
		'labelLineHeight'                => '',
		'labelLineHeightType'            => 'em',
		'labelLineHeightTablet'          => '',
		'labelLineHeightMobile'          => '',
		'inputloadGoogleFonts'           => false,
		'inputFontFamily'                => 'Default',
		'inputFontWeight'                => '',
		'inputFontSize'                  => '',
		'inputFontSizeType'              => 'px',
		'inputFontSizeTablet'            => '',
		'inputFontSizeMobile'            => '',
		'inputLineHeight'                => '',
		'inputLineHeightType'            => 'em',
		'inputLineHeightTablet'          => '',
		'inputLineHeightMobile'          => '',
		'labelColor'                     => '',
		'labelHoverColor'                => '',
		'inputColor'                     => '',
		'bgColor'                        => '',
		'bgHoverColor'                   => '',
		'bgActiveColor'                  => '',
		'inputplaceholderColor'          => '',
		'inputplaceholderHoverColor'     => '',
		'inputplaceholderActiveColor'    => '',
		'inputactiveColor'               => '',
		'vPaddingField'                  => 10,
		'hPaddingField'                  => 10,
		'fieldGap'                       => 20,
		'fieldGapTablet'                 => '',
		'fieldGapMobile'                 => '',
		'formStyle'                      => 'boxed',
		'overallAlignment'               => 'left',
		'overallAlignmentTablet'         => '',
		'overallAlignmentMobile'         => '',
		'labelAlignment'                 => null,
		'labelAlignmentTablet'           => '',
		'labelAlignmentMobile'           => '',
		'successMessageTextColor'        => '',
		'successMessageBGColor'          => '',
		'failedMessage'                  => __( 'There has been some error while submitting the form. Please verify all form fields again.', 'ultimate-addons-for-gutenberg' ),
		'failedMessageTextColor'         => '',
		'failedMessageBGColor'           => '',
		'reCaptchaEnable'                => false,
		'reCaptchaType'                  => 'v2',
		'reCaptchaSiteKeyV2'             => '',
		'reCaptchaSecretKeyV2'           => '',
		'reCaptchaSiteKeyV3'             => '',
		'reCaptchaSecretKeyV3'           => '',
		'hidereCaptchaBatch'             => false,
		'paddingBtnTopTablet'            => '',
		'paddingBtnRightTablet'          => '',
		'paddingBtnBottomTablet'         => '',
		'paddingBtnLeftTablet'           => '',
		'paddingBtnTopMobile'            => '',
		'paddingBtnRightMobile'          => '',
		'paddingBtnBottomMobile'         => '',
		'paddingBtnLeftMobile'           => '',
		'paddingBtnUnit'                 => 'px',
		'mobilePaddingBtnUnit'           => 'px',
		'tabletPaddingBtnUnit'           => 'px',
		'submitTextTransform'            => '',
		'submitTextDecoration'           => '',
		'submitTextFontStyle'            => '',
		'labelTransform'                 => '',
		'labelDecoration'                => '',
		'labelFontStyle'                 => '',
		'inputTransform'                 => '',
		'inputDecoration'                => '',
		'inputFontStyle'                 => '',
		'fieldGapType'                   => 'px',
		'paddingFieldTop'                => 12,
		'paddingFieldRight'              => 12,
		'paddingFieldBottom'             => 12,
		'paddingFieldLeft'               => 12,
		'paddingFieldTopTablet'          => '',
		'paddingFieldRightTablet'        => '',
		'paddingFieldBottomTablet'       => '',
		'paddingFieldLeftTablet'         => '',
		'paddingFieldTopMobile'          => '',
		'paddingFieldRightMobile'        => '',
		'paddingFieldBottomMobile'       => '',
		'paddingFieldLeftMobile'         => '',
		'paddingFieldUnit'               => 'px',
		'paddingFieldUnitmobile'         => 'px',
		'paddingFieldUnitTablet'         => 'px',
		'toggleSizeType'                 => 'px',
		'captchaMessage'                 => __( 'Please fill up the above captcha.', 'ultimate-addons-for-gutenberg' ),
		'labelGap'                       => 10,
		'labelGapTablet'                 => '',
		'labelGapMobile'                 => '',
		'labelGapUnit'                   => 'px',
		'displayLabels'                  => true,
		'submitTextLetterSpacing'        => '',
		'submitTextLetterSpacingTablet'  => '',
		'submitTextLetterSpacingMobile'  => '',
		'submitTextLetterSpacingType'    => 'px',
		'inputLetterSpacing'             => '',
		'inputLetterSpacingTablet'       => '',
		'inputLetterSpacingMobile'       => '',
		'inputLetterSpacingType'         => 'px',
		'labelLetterSpacing'             => '',
		'labelLetterSpacingTablet'       => '',
		'labelLetterSpacingMobile'       => '',
		'labelLetterSpacingType'         => 'px',
		'inputborderStyle'               => 'solid',
		'inputborderWidth'               => 1,
		'inputborderRadius'              => 3,
		'inputborderColor'               => '#BDBDBD',
		'inputborderHoverColor'          => '',
		'successMessageborderStyle'      => 'solid',
		'successMessageborderWidth'      => 2,
		'successMessageborderRadius'     => 3,
		'successMessageborderColor'      => 'green',
		'successMessageborderHoverColor' => '',
		'submitborderStyle'              => '',
		'submitborderWidth'              => '',
		'submitborderRadius'             => 3,
		'submitborderColor'              => '',
		'submitborderHoverColor'         => '',
		'gradientValue'                  => 'linear-gradient(90deg, rgba(6, 147, 227, 0.5) 0%, rgba(155, 81, 224, 0.5) 100%)',
		'gradientColor1'                 => '#06558a',
		'gradientColor2'                 => '#0063A1',
		'gradientType'                   => 'linear',
		'gradientLocation1'              => 0,
		'gradientLocation2'              => 100,
		'gradientAngle'                  => 0,
		'selectGradient'                 => 'basic',
		'gradientHValue'                 => 'linear-gradient(90deg, rgba(6, 147, 227, 0.5) 0%, rgba(155, 81, 224, 0.5) 100%)',
		'gradientHColor1'                => '#06558a',
		'gradientHColor2'                => '#0170b9',
		'gradientHType'                  => 'linear',
		'gradientHLocation1'             => 0,
		'gradientHLocation2'             => 100,
		'gradientHAngle'                 => 0,
		'selectHGradient'                => 'default',
		'inheritFromTheme'               => $inherit_from_theme,
	),
	$success_message_border_attribute,
	$failed_message_border_attribute,
	$input_border_attribute,
	$toggle_border_attribute,
	$submit_border_attribute
);
