const { __ } = wp.i18n;
const attributes = {
  block_id: {
    type: "string",
  },
  date: {
    type: "string",
    source: "attribute",
    selector: ".responsive-block-editor-addons-countdown-get-date",
    attribute: "data-date",
  },
  days: {
    type: "string",
    source: "text",
    selector: ".responsive-block-editor-addons-countdown-digits-days",
    default: __("29", 'responsive-block-editor-addons' ),
  },
  hours: {
    type: "string",
    source: "text",
    selector: ".responsive-block-editor-addons-countdown-digits-hours",
    default: __("23", 'responsive-block-editor-addons' ),
  },
  minutes: {
    type: "string",
    source: "text",
    selector: ".responsive-block-editor-addons-countdown-digits-minutes",
    default: __("59", 'responsive-block-editor-addons' ),
  },
  seconds: {
    type: "string",
    source: "text",
    selector: ".responsive-block-editor-addons-countdown-digits-seconds",
    default: __("59", 'responsive-block-editor-addons' ),
  },
  digitDaysLabel: {
    type: "string",
    default: "Days",
  },
  digitHoursLabel: {
    type: "string",
    default: "Hours",
  },
  digitMinutesLabel: {
    type: "string",
    default: "Minutes",
  },
  digitSecondsLabel: {
    type: "string",
    default: "Seconds",
  },
  showDigitLabels: {
    type: "boolean",
    default: true,
  },
  showDaysBox: {
    type: "boolean",
    default: true,
  },
  showHoursBox: {
    type: "boolean",
    default: true,
  },
  showMinutesBox: {
    type: "boolean",
    default: true,
  },
  showSecondsBox: {
    type: "boolean",
    default: true,
  },
  digitFontFamily: {
    type: "string",
  },
  digitFontSize: {
    type: "number",
    default: 48,
  },
  digitFontSizeMobile: {
    type: "number",
  },
  digitFontSizeTablet: {
    type: "number",
  },
  digitFontWeight: {
    type: "string",
    default: "500",
  },
  digitLetterSpacing: {
    type: "number",
    default: 0,
  },
  digitLineHeight: {
    type: "number",
    default: 2,
  },
  digitColor: {
    type: "string",
    default: "#fff",
  },
  labelFontFamily: {
    type: "string",
  },
  labelFontSize: {
    type: "number",
    default: 14,
  },
  labelFontSizeMobile: {
    type: "number",
  },
  labelFontSizeTablet: {
    type: "number",
  },
  labelColor: {
    type: "string",
    default: "#fff",
  },
  labelLineHeight: {
    type: "number",
    default: 2,
  },
  labelFontWeight: {
    type: "string",
    default: "500",
  },
  labelLeftPadding: {
    type: "number",
    default: 0,
  },
  labelLetterSpacing: {
    type: "number",
    default: 0,
  },
  boxItemMarginTop: {
    type: "number",
    default: 0,
  },
  boxItemMarginRight: {
    type: "number",
    default: 0,
  },
  boxItemMarginBottom: {
    type: "number",
    default: 0,
  },
  boxItemMarginLeft: {
    type: "number",
    default: 0,
  },
  boxItemMarginTopTablet: {
    type: "number",
    default: 0,
  },
  boxItemMarginRightTablet: {
    type: "number",
    default: 0,
  },
  boxItemMarginBottomTablet: {
    type: "number",
    default: 0,
  },
  boxItemMarginLeftTablet: {
    type: "number",
    default: 0,
  },
  boxItemMarginTopMobile: {
    type: "number",
    default: 0,
  },
  boxItemMarginRightMobile: {
    type: "number",
    default: 0,
  },
  boxItemMarginBottomMobile: {
    type: "number",
    default: 0,
  },
  boxItemMarginLeftMobile: {
    type: "number",
    default: 0,
  },
  boxItemTextAlign: {
    type: "string",
    default: "center",
  },
  boxHeight: {
    type: "number",
  },
  boxWidth: {
    type: "number",
    default: 140,
  },
  boxMargin: {
    type: "number",
    default: 10,
  },
  boxHeightMobile: {
    type: "number",
  },
  boxWidthMobile: {
    type: "number",
    default: 80,
  },
  boxMarginMobile: {
    type: "number",
  },
  boxHeightTablet: {
    type: "number",
  },
  boxWidthTablet: {
    type: "number",
    default: 140,
  },
  boxMarginTablet: {
    type: "number",
  },
  boxTopPadding: {
    type: "number",
    default: 0,
  },
  boxRightPadding: {
    type: "number",
    default: 0,
  },
  boxBottomPadding: {
    type: "number",
    default: 10,
  },
  boxLeftPadding: {
    type: "number",
    default: 0,
  },
  boxTopPaddingMobile: {
    type: "number",
    default: '',
  },
  boxRightPaddingMobile: {
    type: "number",
    default: '',
  },
  boxBottomPaddingMobile: {
    type: "number",
    default: '',
  },
  boxLeftPaddingMobile: {
    type: "number",
    default: '',
  },
  boxTopPaddingTablet: {
    type: "number",
    default: '',
  },
  boxRightPaddingTablet: {
    type: "number",
    default: '',
  },
  boxBottomPaddingTablet: {
    type: "number",
    default: '',
  },
  boxLeftPaddingTablet: {
    type: "number",
    default: '',
  },
  showBoxBorder: {
    type: "boolean",
    default: true,
  },
  boxBorderColor: {
    type: "string",
    default: "000",
  },
  boxBorderSize: {
    type: "number",
    default: 0,
  },
  boxBorderStyle: {
    type: "string",
    default: "solid",
  },
  borderRadiusTopLeft: {
    type: "number",
    default: 0,
  },
  borderRadiusTopRight: {
    type: "number",
    default: 0,
  },
  borderRadiusBottomRight: {
    type: "number",
    default: 0,
  },
  borderRadiusBottomLeft: {
    type: "number",
    default: 0,
  },
  showBoxShadow: {
    type: "boolean",
    default: true,
  },
  boxShadowHOffset: {
    type: "number",
    default: 0,
  },
  boxShadowVOffset: {
    type: "number",
    default: 0,
  },
  boxShadowBlur: {
    type: "number",
    default: 0,
  },
  boxShadowPosition: {
    type: "string",
    default: "outset",
  },
  boxShadowSpread: {
    type: "number",
    default: 0,
  },
  boxShadowColor: {
    type: "string",
    default: '',
  },
  hoverboxShadowColor: {
    type: 'string',
  },
  hoverboxShadowHOffset: {
    type: 'number',
    default: 0
  },
  hoverboxShadowVOffset: {
    type: 'number',
    default: 0
  },
  hoverboxShadowBlur: {
    type: 'number',
    default: 0
  },
  hoverboxShadowSpread: {
    type: 'number',
    default: 0
  },
  hoverboxShadowPosition: {
    type: 'string',
    default: 'outset'
  },
  backgroundColor: {
    type: "string",
    default: "#6EC1E4",
  },
  containerTopMargin: {
    type: "number",
    default: '',
  },
  containerRightMargin: {
    type: "number",
    default: '',
  },
  containerBottomMargin: {
    type: "number",
    default: '',
  },
  containerLeftMargin: {
    type: "number",
    default: '',
  },
  containerTopPadding: {
    type: "number",
    default: '',
  },
  containerRightPadding: {
    type: "number",
    default: '',
  },
  containerBottomPadding: {
    type: "number",
    default: '',
  },
  containerLeftPadding: {
    type: "number",
    default: '',
  },
  containerTopMarginTablet: {
    type: "number",
    default: '',
  },
  containerRightMarginTablet: {
    type: "number",
    default: '',
  },
  containerBottomMarginTablet: {
    type: "number",
    default: '',
  },
  containerLeftMarginTablet: {
    type: "number",
    default: '',
  },
  containerTopPaddingTablet: {
    type: "number",
    default: '',
  },
  containerRightPaddingTablet: {
    type: "number",
    default: '',
  },
  containerBottomPaddingTablet: {
    type: "number",
    default: '',
  },
  containerLeftPaddingTablet: {
    type: "number",
    default: '',
  },
  containerTopMarginMobile: {
    type: "number",
    default: '',
  },
  containerRightMarginMobile: {
    type: "number",
    default: '',
  },
  containerBottomMarginMobile: {
    type: "number",
    default: '',
  },
  containerLeftMarginMobile: {
    type: "number",
    default: '',
  },
  containerTopPaddingMobile: {
    type: "number",
    default: '',
  },
  containerRightPaddingMobile: {
    type: "number",
    default: '',
  },
  containerBottomPaddingMobile: {
    type: "number",
    default: '',
  },
  containerLeftPaddingMobile: {
    type: "number",
    default: '',
  },
  justifyItems: {
    type: "string",
    default: "center",
  },
  displayInline: {
    type: "boolean",
    default: false,
  },
  block_id: {
    type: "string",
  },
  stackOnMobile: {
    type: "boolean",
    default: false,
  },
  hideWidget: {
    type: "boolean",
    default: false,
  },
  hideWidgetTablet: {
    type: "boolean",
    default: false,
  },
  hideWidgetMobile: {
    type: "boolean",
    default: false,
  },
  z_index: {
    type: "number",
  },
  z_indexTablet: {
    type: "number",
  },
  z_indexMobile: {
    type: "number",
  },
  containerIsPaddingControlConnected: {
		type: "boolean",
		default: false,
	},
  containerIsMarginControlConnected: {
    type: "boolean",
		default: false,
	},
  boxIsPaddingControlConnected: {
    type: "boolean",
    default: false,
  },
  boxPaddingTop: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingBottom: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingLeft: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingRight: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingTopMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingBottomMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingLeftMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingRightMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingTopTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingBottomTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingLeftTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxPaddingRightTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxBackgroundColor: {
    type: "string",
    default: "empty",
  }, // For compatibility with v1.3.2.
  containerMarginTop: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginBottom: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginLeft: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginRight: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginTopMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginBottomMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginLeftMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginRightMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginTopTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginBottomTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginLeftTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerMarginRightTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingTop: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingBottom: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingLeft: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingRight: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingTopMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingBottomMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingLeftMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingRightMobile: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingTopTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingBottomTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingLeftTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  containerPaddingRightTablet: {
    type: "number",
    default: 999,
  }, // For compatibility with v1.3.2.
  boxBackgroundColor: {
    type: "string",
    default: "empty",
  }, // For compatibility with v1.3.2.
  blockTopRadius: {
    type: "number",
    default: 0,
  },
  blockRightRadius: {
    type: "number",
    default: 0,
  },
  blockBottomRadius: {
    type: "number",
    default: 0,
  },
  blockLeftRadius: {
    type: "number",
    default: 0,
  },
  blockTopRadiusTablet: {
    type: "number",
    default: 0,
  },
  blockRightRadiusTablet: {
    type: "number",
    default: 0,
  },
  blockBottomRadiusTablet: {
    type: "number",
    default: 0,
  },
  blockLeftRadiusTablet: {
    type: "number",
    default: 0,
  },
  blockTopRadiusMobile: {
    type: "number",
    default: 0,
  },
  blockRightRadiusMobile: {
    type: "number",
    default: 0,
  },
  blockBottomRadiusMobile: {
    type: "number",
    default: 0,
  },
  blockLeftRadiusMobile: {
    type: "number",
    default: 0,
  },
  blockIsRadiusControlConnected: {
		type: "boolean",
		default: false,
	},
  blockIsRadiusValueUpdated: {
    type: "boolean",
    default: false,
  },
  blockIsTypographyColorValueUpdated: {
    type: "boolean",
    default: false,
  },
  labelTypographyColor: {
    type: "string",
    default: '#fff',
  },
  digitTypographyColor: {
    type: "string",
    default: '#fff',
  },
  digitTextTransform: {
    type: "string",
    default: "",
  },
  digitFontStyle: {
    type: "string",
    default: "",
  },
  labelTextTransform: {
    type: "string",
    default: "",
  },
  labelFontStyle: {
    type: "string",
    default: "",
  },
  isPreview: {
		type: 'boolean',
		default: false,
	},
  labelTextDecoration: {
    type: "string",
    default: "",
  },
  digitTextDecoration: {
    type: "string",
    default: "",
  },
};

export default attributes;
