@useinsider/guido 1.0.3-beta.6541b5a → 1.0.3-beta.671eb65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/@types/generic.d.ts +13 -0
  2. package/dist/components/Guido.vue.d.ts +2 -2
  3. package/dist/components/Guido.vue.js +7 -7
  4. package/dist/components/Guido.vue2.js +74 -68
  5. package/dist/components/organisms/extensions/recommendation/FilterItem.vue.d.ts +19 -0
  6. package/dist/components/organisms/extensions/recommendation/FilterItem.vue.js +28 -0
  7. package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +38 -0
  8. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue.d.ts +2 -0
  9. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue.js +17 -0
  10. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +37 -0
  11. package/dist/components/organisms/extensions/recommendation/Filters.vue.d.ts +2 -0
  12. package/dist/components/organisms/extensions/recommendation/Filters.vue.js +20 -0
  13. package/dist/components/organisms/extensions/recommendation/Filters.vue2.js +44 -0
  14. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue.d.ts +16 -0
  15. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue.js +17 -0
  16. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue2.js +27 -0
  17. package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.d.ts +2 -0
  18. package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.js +18 -0
  19. package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue2.js +16 -0
  20. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.d.ts +2 -0
  21. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.js +24 -0
  22. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue2.js +64 -0
  23. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.d.ts +2 -0
  24. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +18 -0
  25. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +107 -0
  26. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.d.ts +2 -0
  27. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.js +18 -0
  28. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue2.js +12 -0
  29. package/dist/components/wrappers/WpDrawer.vue.d.ts +6 -4
  30. package/dist/components/wrappers/WpDrawer.vue.js +6 -4
  31. package/dist/composables/useStripo.js +26 -18
  32. package/dist/config/compiler/unsubscribeCompilerRules.js +42 -29
  33. package/dist/config/migrator/couponBlockMigrator.js +24 -21
  34. package/dist/config/migrator/index.d.ts +1 -1
  35. package/dist/config/migrator/index.js +7 -6
  36. package/dist/config/migrator/unsubscribeMigrator.d.ts +1 -0
  37. package/dist/config/migrator/unsubscribeMigrator.js +124 -0
  38. package/dist/enums/defaults.js +6 -3
  39. package/dist/enums/extensions/recommendationBlock.d.ts +16 -0
  40. package/dist/enums/extensions/recommendationBlock.js +80 -0
  41. package/dist/enums/unsubscribe.d.ts +23 -0
  42. package/dist/enums/unsubscribe.js +43 -6
  43. package/dist/extensions/Blocks/Checkbox/block.d.ts +1 -0
  44. package/dist/extensions/Blocks/Checkbox/block.js +15 -24
  45. package/dist/extensions/Blocks/Checkbox/control.js +55 -67
  46. package/dist/extensions/Blocks/Checkbox/extension.js +5 -16
  47. package/dist/extensions/Blocks/Checkbox/iconsRegistry.d.ts +4 -0
  48. package/dist/extensions/Blocks/Checkbox/iconsRegistry.js +18 -0
  49. package/dist/extensions/Blocks/Checkbox/settingsPanel.js +12 -25
  50. package/dist/extensions/Blocks/Checkbox/template.js +5 -16
  51. package/dist/extensions/Blocks/CouponBlock/block.d.ts +1 -0
  52. package/dist/extensions/Blocks/CouponBlock/block.js +14 -24
  53. package/dist/extensions/Blocks/CouponBlock/extension.js +5 -16
  54. package/dist/extensions/Blocks/CouponBlock/iconsRegistry.d.ts +4 -0
  55. package/dist/extensions/Blocks/CouponBlock/iconsRegistry.js +33 -0
  56. package/dist/extensions/Blocks/CouponBlock/settingsPanel.js +16 -29
  57. package/dist/extensions/Blocks/CouponBlock/template.js +1 -1
  58. package/dist/extensions/Blocks/RadioButton/block.d.ts +1 -0
  59. package/dist/extensions/Blocks/RadioButton/block.js +13 -22
  60. package/dist/extensions/Blocks/RadioButton/control.js +40 -52
  61. package/dist/extensions/Blocks/RadioButton/extension.js +4 -15
  62. package/dist/extensions/Blocks/RadioButton/iconsRegistry.d.ts +4 -0
  63. package/dist/extensions/Blocks/RadioButton/iconsRegistry.js +14 -0
  64. package/dist/extensions/Blocks/RadioButton/settingsPanel.js +13 -26
  65. package/dist/extensions/Blocks/RadioButton/template.js +13 -24
  66. package/dist/extensions/Blocks/Recommendation/block.d.ts +10 -0
  67. package/dist/extensions/Blocks/Recommendation/block.js +27 -0
  68. package/dist/extensions/Blocks/Recommendation/control.d.ts +29 -0
  69. package/dist/extensions/Blocks/Recommendation/control.js +277 -0
  70. package/dist/extensions/Blocks/Recommendation/extension.d.ts +2 -0
  71. package/dist/extensions/Blocks/Recommendation/extension.js +10 -0
  72. package/dist/extensions/Blocks/Recommendation/iconsRegistry.d.ts +4 -0
  73. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +51 -0
  74. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +19 -0
  75. package/dist/extensions/Blocks/Recommendation/settingsPanel.d.ts +4 -0
  76. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +32 -0
  77. package/dist/extensions/Blocks/Recommendation/store/recommendation.d.ts +555 -0
  78. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +266 -0
  79. package/dist/extensions/Blocks/Recommendation/template.d.ts +6 -0
  80. package/dist/extensions/Blocks/Recommendation/template.js +200 -0
  81. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.d.ts +7 -0
  82. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +28 -0
  83. package/dist/extensions/Blocks/Unsubscribe/block.d.ts +32 -0
  84. package/dist/extensions/Blocks/Unsubscribe/block.js +131 -0
  85. package/dist/extensions/Blocks/Unsubscribe/control.d.ts +29 -0
  86. package/dist/extensions/Blocks/Unsubscribe/control.js +167 -0
  87. package/dist/extensions/Blocks/Unsubscribe/elements/preview.d.ts +11 -0
  88. package/dist/extensions/Blocks/Unsubscribe/elements/preview.js +42 -0
  89. package/dist/extensions/Blocks/Unsubscribe/extension.d.ts +2 -0
  90. package/dist/extensions/Blocks/Unsubscribe/extension.js +21 -0
  91. package/dist/extensions/Blocks/Unsubscribe/iconsRegistry.d.ts +4 -0
  92. package/dist/extensions/Blocks/Unsubscribe/iconsRegistry.js +21 -0
  93. package/dist/extensions/Blocks/Unsubscribe/settingsPanel.d.ts +4 -0
  94. package/dist/extensions/Blocks/Unsubscribe/settingsPanel.js +35 -0
  95. package/dist/extensions/Blocks/Unsubscribe/styles.css.js +42 -0
  96. package/dist/extensions/Blocks/Unsubscribe/tagRegistry.d.ts +4 -0
  97. package/dist/extensions/Blocks/Unsubscribe/tagRegistry.js +10 -0
  98. package/dist/extensions/Blocks/Unsubscribe/template.d.ts +12 -0
  99. package/dist/extensions/Blocks/Unsubscribe/template.js +22 -0
  100. package/dist/extensions/Blocks/Unsubscribe/utils/constants.d.ts +9 -0
  101. package/dist/extensions/Blocks/Unsubscribe/utils/constants.js +11 -0
  102. package/dist/extensions/Blocks/Unsubscribe/utils/utils.d.ts +7 -0
  103. package/dist/extensions/Blocks/Unsubscribe/utils/utils.js +6 -0
  104. package/dist/extensions/Blocks/_Boilerplate/block.d.ts +1 -0
  105. package/dist/extensions/Blocks/_Boilerplate/iconsRegistry.d.ts +4 -0
  106. package/dist/extensions/Blocks/common-control.d.ts +66 -0
  107. package/dist/extensions/Blocks/common-control.js +102 -0
  108. package/dist/extensions/DynamicContent/dynamic-content.js +31 -45
  109. package/dist/extensions/DynamicContent/extension.js +6 -18
  110. package/dist/guido.css +1 -1
  111. package/dist/mock/api/recommendation.d.ts +2 -0
  112. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +659 -0
  113. package/dist/services/recommendationApi.d.ts +6 -0
  114. package/dist/services/recommendationApi.js +43 -0
  115. package/dist/services/unsubscribeApi.d.ts +4 -0
  116. package/dist/services/unsubscribeApi.js +16 -0
  117. package/dist/stores/config.d.ts +96 -0
  118. package/dist/stores/config.js +17 -0
  119. package/dist/stores/editor.d.ts +21 -0
  120. package/dist/stores/editor.js +2 -1
  121. package/dist/stores/unsubscribe.d.ts +253 -5
  122. package/dist/stores/unsubscribe.js +126 -6
  123. package/dist/utils/genericUtil.d.ts +1 -0
  124. package/dist/utils/genericUtil.js +8 -7
  125. package/dist/utils/templatePreparation.js +17 -16
  126. package/package.json +3 -3
  127. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +0 -75
  128. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +0 -77
  129. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +0 -123
  130. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +0 -7
  131. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +0 -7
  132. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js +0 -12
  133. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +0 -7
  134. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +0 -119
  135. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +0 -7
  136. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +0 -7
  137. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +0 -7
  138. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js +0 -12
  139. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +0 -7
  140. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +0 -7
  141. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +0 -7
  142. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +0 -24
  143. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +0 -24
  144. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +0 -11
  145. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +0 -33
  146. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +0 -22
  147. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +0 -40
  148. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +0 -5
  149. package/dist/static/assets/icons/coupon.svg.js +0 -4
@@ -1,119 +0,0 @@
1
- import { BlockType as T } from "./BlockType.js";
2
- var d;
3
- (function(E) {
4
- E.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", E.APPLY_CONDITION = "applyCondition", E.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", E.BACKGROUND_COLOR = "backgroundColor", E.BACKGROUND_IMAGE = "generalImageContainer", E.TEXT_COLOR = "textColor", E.TEXT_STYLE = "textStyle", E.TEXT_SIZE = "textSize", E.TEXT_LINE_SPACING = "textLineSpacing", E.TEXT_ALIGN = "textAlign", E.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", E.HIDDEN_NODE = "hiddenNode", E.SMART_BLOCK = "smartBlock", E.SYNCHRONIZED_MODULE = "synchronizedModuleForm", E.FONT_FAMILY = "generalFontFamilyForm", E.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", E.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents";
5
- })(d || (d = {}));
6
- var I;
7
- (function(E) {
8
- E.ALIGNMENT = "bannerAlignment", E.ALT_TEXT = "bannerAltText", E.ANCHOR_LINK_CONTAINER = "bannerAnchorLinkContainerForm", E.ASPECT_RATIO = "bannerAspectRatioForm", E.BACKGROUND_COLOR = "bannerBackgroundColor", E.BACKGROUND_IMAGE_CONTAINER = "bannerBackgroundImageContainer", E.SIZE = "bannerBlockBannerSize", E.BLOCK_LINK = "bannerBlockLink", E.CHILD_ROTATION = "bannerChildRotationForm", E.CROP = "bannerCropForm", E.FILTER = "bannerFilter", E.EXTERNAL_INDENTS = "bannerExternalIndents", E.MIME_TYPE = "bannerMimeTypeForm", E.RESPONSIVE_IMAGE = "bannerResponsiveImageForm";
9
- })(I || (I = {}));
10
- var p;
11
- (function(E) {
12
- E.ADDITIONAL_IMAGE = "bannerAdditionalImageForm", E.ADDITIONAL_IMAGE_ASPECT_RATIO = "bannerAdditionalImageAspectRatioForm", E.CHILD_COLOR = "bannerChildColorForm", E.CHILD_FLIP = "bannerChildFlipForm", E.CHILD_OPACITY = "bannerChildOpacityForm", E.TEXT_ALIGNMENT = "bannerTextAlignmentForm", E.TEXT_FONT = "bannerTextFontContainer", E.TEXT_LETTER_CASE = "bannerTextLetterCaseForm", E.TEXT_STYLE = "bannerTextStyleForm";
13
- })(p || (p = {}));
14
- var _;
15
- (function(E) {
16
- E.ADJUST_TO_WIDTH = "adjustToWidth", E.ALIGNMENT = "buttonAlignment", E.BORDER = "buttonBorder", E.BORDER_RADIUS = "buttonBorderRadius", E.COLOR = "buttonColor", E.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", E.EXTERNAL_INDENTS = "buttonExternalIndents", E.FIXED_HEIGHT_CONTAINER = "buttonFixedHeightContainerForm", E.FONT_COLOR = "buttonFontColor", E.FONT_FAMILY = "buttonFontFamily", E.FONT_SIZE = "buttonFontSize", E.ICON = "buttonIconContainer", E.ICON_ALIGN = "buttonIconAlign", E.ICON_INDENT = "buttonIconIndent", E.ICON_WIDTH = "buttonIconWidth", E.IMAGE = "buttonImageForm", E.INTERNAL_INDENTS = "buttonInternalIndents", E.LINK = "buttonLink", E.MIME_TYPE = "buttonMimeTypeForm", E.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", E.TEXT = "buttonText", E.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", E.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", E.HOVERED_COLOR = "hoveredButtonColorForm", E.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm";
17
- })(_ || (_ = {}));
18
- var N;
19
- (function(E) {
20
- E.HIDDEN_NODE = "hiddenNodeText", E.PARAGRAPH_STYLE = "paragraphStyleForm", E.ALIGN = "textAlignmentForm", E.ANCHOR_CONTAINER = "textAnchorForm", E.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", E.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", E.FONT_COLOR = "textBlockFontColor", E.FONT_FAMILY = "textBlockFontFamily", E.FONT_SIZE = "textBlockFontSize", E.DIRECTION = "textBlockDirectionForm", E.INSERT_FORM = "textBlockInsertForm", E.LINK_DATA = "textBlockLinkDataForm", E.FORMAT = "textBlockTextFormatForm", E.FIXED_HEIGHT_CONTAINER = "textFixedHeightContainerForm", E.INTERNAL_INDENTS = "textInternalIndents", E.LINE_HEIGHT = "textLineHeightForm", E.LINKS_COLOR = "textLinksFontColorForm", E.MIME_TYPE = "textMimeTypeForm", E.NO_LINE_WRAPS = "textNoLineWrapsForm";
21
- })(N || (N = {}));
22
- var O;
23
- (function(E) {
24
- E.AMP_FORM_HIDDEN_NODE = "ampFormHiddenNodeForm", E.AMP_FORM_MIME_TYPE = "ampFormMimeTypeForm", E.BACKGROUND_COLOR = "ampFormBackgroundColorForm";
25
- })(O || (O = {}));
26
- var A;
27
- (function(E) {
28
- E.CUSTOM_THUMBNAIL_CONTAINER = "customThumbnailContainerForm", E.METADATA_LINK = "metadataLink", E.PLAY_BUTTON = "playButton", E.ALIGNMENT = "videoAlignment", E.ALT_TEXT = "videoAltText", E.EXTERNAL_INDENTS = "videoExternalIndents", E.MIME_TYPE = "videoMimeTypeForm", E.RESPONSIVE = "videoResponsive", E.SIZE = "videoSizeContainer";
29
- })(A || (A = {}));
30
- var R;
31
- (function(E) {
32
- E.ALIGNMENT = "timerAlignment", E.ALT_TEXT = "timerAltText", E.BACKGROUND_COLOR = "timerBackgroundColor", E.DATE_TIME = "timeDateTime", E.DIGITAL_LABELS = "timerDigitalLabels", E.DIGITS_FONT_COLOR_CONTAINER = "timerDigitsFontColorContainer", E.DIGITS_FONT_CONTAINER = "timerDigitsFontContainer", E.DISPLAY_DAYS_SWITCHER = "timerDisplayDaysSwitcher", E.EXPIRATION_IMAGE = "timerExpirationImage", E.EXPIRATION_IMAGE_SWITCHER = "timerExpirationSwitcher", E.EXTERNAL_INDENTS = "timerExternalIndents", E.LABELS_CASE = "timerLabelsCase", E.LABELS_FONT_COLOR_CONTAINER = "timerLabelsFontColorContainer", E.LABELS_FONT_CONTAINER = "timerLabelsFontContainer", E.LABEL_LANGUAGE = "timerLabelsLanguage", E.LINK = "timerLink", E.MIME_TYPE = "timerMimeTypeForm", E.RESPONSIVE = "timerResponsive", E.RETINA_DISPLAY_SUPPORT = "timerRetinaDisplaySupport", E.SEPARATOR = "timerSeparator", E.SEPARATOR_FONT_COLOR = "timerSeparatorFontColor", E.SEPARATOR_FONT_CONTAINER = "timerSeparatorFontContainer", E.SIZE = "timerSize", E.TIME_ZONE = "timerTimeZone";
33
- })(R || (R = {}));
34
- var i;
35
- (function(E) {
36
- E.ALIGNMENT = "spacerAlignment", E.BORDER = "spacerBorder", E.EXTERNAL_INDENTS = "spacerExternalIndents", E.MIME_TYPE = "spacerMimeTypeForm", E.MODE = "spacerMode", E.SIZE = "spacerSize", E.BACKGROUND_COLOR = "spacerBackgroundColor";
37
- })(i || (i = {}));
38
- var m;
39
- (function(E) {
40
- E.ALT_TEXT = "altText", E.LINK = "blockLink", E.ALIGNMENT = "imageAlignment", E.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", E.BORDER_RADIUS = "imageBorderRadiusForm", E.IMAGE = "imageImageForm", E.EXTERNAL_INDENTS = "imageExternalIndents", E.MIME_TYPE = "imageMimeTypeForm", E.RESPONSIVE = "imageResponsive", E.ROLLOVER_IMAGE = "imageRolloverImageForm", E.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", E.SIZE = "imageSizeContainer";
41
- })(m || (m = {}));
42
- var e;
43
- (function(E) {
44
- E.EXTERNAL_INDENTS = "htmlExternalIndents", E.MIME_TYPE = "htmlMimeTypeForm";
45
- })(e || (e = {}));
46
- var L;
47
- (function(E) {
48
- E.IMAGE = "customBlockImageForm", E.COLOR_FORM = "customLinkColorForm", E.HREF_FORM = "customLinkHrefForm", E.TEXT_FORM = "customLinkTextForm", E.UNDERLINE_FORM = "customLinkUnderlineForm", E.WORD_BREAK_FORM = "customLinkWordBreakForm";
49
- })(L || (L = {}));
50
- var a;
51
- (function(E) {
52
- E.ALT_TEXT_FORM = "customBlockImageAltTextForm", E.WITHOUT_LINK_FORM = "customBlockImageWithOutLinkForm";
53
- })(a || (a = {}));
54
- var F;
55
- (function(E) {
56
- E.ALIGN = "customTextBlockTextAlign", E.FONT_SIZE = "customTextFontSizeController";
57
- })(F || (F = {}));
58
- var S;
59
- (function(E) {
60
- E.ICON_SIZE = "iconSize", E.EXTERNAL_INDENTS = "socialExternalIndents", E.ICON_SPACER = "socialIconsSpacer", E.ICON_TYPE = "socialIconTypeForm", E.ITEM = "socialItemForm", E.ITEM_TEXT_CUSTOMIZATION = "socialItemTextCustomizationForm", E.MIME_TYPE = "socialMimeTypeForm", E.NETWORK_ALIGNMENT = "socialNetworkAlignment", E.BACKGROUND_COLOR = "socialBackgroundColor";
61
- })(S || (S = {}));
62
- var D;
63
- (function(E) {
64
- E.EXTERNAL_INDENTS = "menuExternalIndents", E.ALIGNMENT = "menuAlignment", E.RESPONSIVE_MENU = "menuResponsive", E.FIT_TO_CONTAINER = "menuFitToContainer", E.FONT_FAMILY = "menuFontFamily", E.FONT_SIZE = "menuFontSize", E.HIDDEN = "menuHidden", E.ICONS_CONFIGURATION = "menuIconsConfiguration", E.ITEMS = "menuItemsForm", E.ITEMS_COUNT = "menuItemsCount", E.ITEM_INTERNAL_INDENTS = "menuItemInternalIndents", E.MIME_TYPE = "menuMimeTypeForm", E.SEPARATE_ITEMS = "menuSeparateItems", E.SEPARATE_ITEMS_COLOR_SWITCHER = "menuSeparateItemsColorSwitcher", E.SEPARATOR = "menuSeparatorForm", E.STYLES = "menuStylesForm", E.TEXT_STYLE_AND_COLOR = "menuTextStyleAndColor", E.TYPE_CONTAINER = "menuTypeContainerForm";
65
- })(D || (D = {}));
66
- var n;
67
- (function(E) {
68
- E.MIME_TYPE = "ampAccordionMimeTypeForm", E.ANIMATED_OPENING = "ampAccordionAnimatedOpeningForm", E.AUTO_COLLAPSING = "ampAccordionAutoCollapsingForm", E.BORDER_FORM = "ampAccordionBorderForm", E.FONT_FAMILY = "ampAccordionFontFamily", E.ICON_SIZE = "ampAccordionIconSizeForm", E.SECTIONS_GAP_FORM = "ampAccordionSectionsGapForm", E.SECTIONS_MAIN_FORM = "ampAccordionSectionsMainForm", E.TITLES_BACKGROUND_COLOR = "ampAccordionTitlesBackgroundColor", E.TITLE_ALIGNMENT_FORM = "ampAccordionTitleAlignmentForm", E.TITLE_FONT_SIZE = "AmpAccordionTitleFontSizeController", E.TITLE_ICON_IMAGE = "ampAccordionTitleIconImageForm", E.TITLE_ICON_SWITCHER = "ampAccordionTitleIconSwitcherForm", E.TITLE_TEXT_STYLE_AND_COLOR = "AmpAccordionTitleTextStyleAndColorController";
69
- })(n || (n = {}));
70
- var r;
71
- (function(E) {
72
- E.MIME_TYPE = "ampCarouselMimeTypeForm", E.AUTOPLAY = "ampCarouselAutoplayForm", E.AUTOPLAY_DELAY = "ampCarouselDelayForm", E.LOOP = "ampCarouselLoopForm", E.SLIDES = "ampSlidesForm", E.SLIDE_ALT_TEXT = "ampSlideAltTextForm", E.SLIDE_IMAGE = "ampSlideImageForm", E.SLIDE_IMAGE_FIT = "ampCarouselSlideImageFitForm", E.SLIDE_LINK = "ampSlideLinkForm", E.SLIDE_RADIUS = "ampCarouselSlideRadiusForm", E.SLIDE_THUMBNAIL_SWITCHER = "ampCarouselSlideThumbnailSwitcherForm", E.THUMBNAIL_BORDER_STYLE = "ampCarouselThumbnailBorderStyleForm", E.THUMBNAIL_CONTAINER = "ampCarouselThumbnailContainerForm", E.THUMBNAIL_CUSTOM_REVIEW = "ampCarouselThumbnailCustomPreviewImageForm", E.THUMBNAIL_RADIUS = "ampCarouselThumbnailRadiusForm", E.AMP_GENERAL_LINK = "AMP_GENERAL_LINK_CONTROLLER", E.AMP_GENERAL_LINK_SWITCHER = "AMP_GENERAL_LINK_SWITCHER";
73
- })(r || (r = {}));
74
- var M;
75
- (function(E) {
76
- E.BORDER_FORM = "stripeBorderForm", E.COLOR = "stripeColorForm", E.CONTENT_COLOR = "stripeContentColor", E.IMAGE_CONTAINER = "stripeImageContainerForm", E.INTERNAL_INDENTS = "stripeInternalIndents", E.MESSAGE_AREA = "stripeMessageAreaForm", E.MIME_TYPE = "stripeMimeTypeForm";
77
- })(M || (M = {}));
78
- var t;
79
- (function(E) {
80
- E.RESPONSIVE_STRUCTURE = "responsiveStructure", E.BACKGROUND_COLOR = "structureBackgroundColor", E.BORDER_RADIUS = "structureBorderRadiusForm", E.CONTAINER_GAP = "structureContainerGap", E.CONTAINER_INVERSION = "structureContainerInversion", E.DYNAMIC_CONTAINERS = "structureDynamicContainers", E.EXTERNAL_INDENTS = "structureExternalIndents", E.IMAGE_CONTAINER = "structureImageContainerForm", E.INTERNAL_INDENTS = "structureInternalIndents", E.ITEM = "structureItem", E.MIME_TYPE = "structureMimeType", E.BORDER_FORM = "structureBorderForm";
81
- })(t || (t = {}));
82
- var c;
83
- (function(E) {
84
- E.BACKGROUND_COLOR = "containerBackgroundColorForm", E.BORDER_FORM = "containerBorderForm", E.BORDER_RADIUS = "containerBorderRadiusForm", E.EXTERNAL_INDENTS = "containerExternalIndentsForm", E.IMAGE_CONTAINER = "containerImageContainerForm", E.MIME_TYPE = "containerMimeTypeForm", E.DISPLAY_CONDITIONS = "displayConditions";
85
- })(c || (c = {}));
86
- var P;
87
- (function(E) {
88
- E.DISPLAY_OFFER_BADGE = "displayOfferBadgeForm", E.DISPLAY_PROMO_CODE_BADGE = "displayPromoCodeBadgeForm", E.END_DISCOUNT_OFFER = "endDiscountOfferForm", E.GMAIL_PROMOTIONS_TAB = "gmailPromotionsTabForm", E.HIDDEN_PRE_HEADER = "hiddenPreHeaderForm", E.PROMO_IMAGE_CAROUSEL = "promoImageCarouselForm", E.INCLUDE_SENDER_LOGO = "includeSenderLogoForm", E.SUBJECT_TITLE = "subjectTitleForm", E.UTM_PARAMETERS = "utmParametersForm", E.UTM_PARAMETERS_CAMPAIGN = "utmParameterCampaignForm", E.UTM_PARAMETERS_CUSTOM = "utmParametersCustomForm", E.UTM_PARAMETERS_CUSTOM_ITEM = "utmParametersCustomItemForm";
89
- })(P || (P = {}));
90
- var u;
91
- (function(E) {
92
- E.BUTTONS_ADJUST_TO_WIDTH_CONTAINER = "buttonsAdjustToWidthFormContainer", E.BUTTONS_BORDER = "buttonsBorder", E.BUTTONS_BORDER_RADIUS_CONTAINER = "buttonsBorderRadiusContainer", E.BUTTONS_COLOR_CONTAINER = "buttonsColorContainer", E.BUTTONS_FONT_FAMILY_CONTAINER = "buttonsFontFamilyContainer", E.BUTTONS_FONT_SIZE_CONTAINER = "buttonsFontSizeFormContainer", E.BUTTONS_HOVERED_BUTTON_STYLE = "buttonsHoveredButtonStyleForm", E.BUTTONS_INTERNAL_INDENTS_CONTAINER = "buttonsInternalIndentsContainer", E.BUTTONS_LETTER_SPACING_CONTAINER = "buttonsLetterSpacingContainer", E.BUTTONS_OUTLOOK_SUPPORT_CONTAINER = "buttonsOutlookSupportContainer", E.BUTTONS_TEXT_STYLE_AND_COLOR_CONTAINER = "buttonsTextStyleAndColorFormContainer", E.DEFAULT_STRUCTURE_INTERNAL_INDENTS = "defaultStructureInternalIndents", E.GENERAL_BACKGROUND_COLOR_CONTAINER = "generalBackgroundColorContainer", E.GENERAL_IMAGE_CONTAINER = "generalImageContainer", E.HEADINGS_FONT_FAMILY_CONTAINER = "headingsFontFamilyContainer", E.HEADINGS_H1_CONTROLS_CONTAINER = "headingH1controlsContainer", E.HEADINGS_H2_CONTROLS_CONTAINER = "headingH2controlsContainer", E.HEADINGS_H3_CONTROLS_CONTAINER = "headingH3controlsContainer", E.HEADINGS_H4_CONTROLS_CONTAINER = "headingH4controlsContainer", E.HEADINGS_H5_CONTROLS_CONTAINER = "headingH5controlsContainer", E.HEADINGS_H6_CONTROLS_CONTAINER = "headingH6controlsContainer", E.HEADINGS_LETTER_SPACING_CONTAINER = "headingsLetterSpacingFormContainer", E.HEADINGS_PARAGRAPH_BOTTOM_MARGIN = "headingsParagraphBottomMarginForm", E.HEADINGS_TYPES_BUTTON_BAR = "headingsTypesButtonBarForm", E.LISTS_STYLES = "listsStyles", E.MARGIN_AROUND_MESSAGE = "marginAroundMessage", E.MESSAGE_ALIGNMENT = "messageAlignment", E.MESSAGE_CONTENT_WIDTH = "messageContentWidth", E.RESPONSIVE_DESIGN = "responsiveDesign", E.RIGHT_TO_LEFT_CONTAINER = "rightToLeftContainer", E.STRIPES_CONTENT_CONTROLS_CONTAINER = "stripesContentControlsContainer", E.STRIPES_FONT_FAMILY_CONTAINER = "stripesFontFamilyFormContainer", E.STRIPES_FOOTER_CONTROLS_CONTAINER = "stripesFooterControlsContainer", E.STRIPES_HEADER_CONTROLS_CONTAINER = "stripesHeaderControlsContainer", E.STRIPES_INFO_AREA_CONTROLS_CONTAINER = "stripesInfoAreaControlsContainer", E.STRIPES_LETTER_SPACING_CONTAINER = "stripesLetterSpacingFormContainer", E.STRIPES_LINE_HEIGHT_CONTAINER = "stripesLineHeightFormContainer", E.STRIPE_TYPES_BUTTON_BAR = "stripeTypesButtonBarForm", E.UNDERLINE_LINKS_CONTAINER = "underlineLinksContainer";
93
- })(u || (u = {}));
94
- T.BLOCK_BANNER + "", T.BLOCK_BUTTON + "", T.BLOCK_TEXT + "", T.BLOCK_VIDEO + "", T.BLOCK_TIMER + "", T.BLOCK_SPACER + "", T.BLOCK_IMAGE + "", T.BLOCK_HTML + "", T.BLOCK_SOCIAL + "", T.BLOCK_MENU + "", T.BLOCK_AMP_FORM + "", T.BLOCK_AMP_ACCORDION + "", T.BLOCK_AMP_CAROUSEL + "", T.STRIPE + "", T.STRUCTURE + "", T.CONTAINER + "", T.CUSTOM_BLOCK_LINK + "", T.CUSTOM_BLOCK_IMAGE + "", T.CUSTOM_BLOCK_TEXT + "";
95
- export {
96
- n as AccordionControls,
97
- O as AmpFormControls,
98
- p as BannerChildControls,
99
- I as BannerControls,
100
- _ as ButtonControls,
101
- r as CarouselControls,
102
- c as ContainerControls,
103
- a as CustomImageControls,
104
- L as CustomLinkControls,
105
- F as CustomTextControls,
106
- d as GeneralControls,
107
- u as GeneralStylesControls,
108
- e as HTMLControls,
109
- m as ImageControls,
110
- D as MenuControls,
111
- P as MessageSettingsControls,
112
- S as SocialControls,
113
- i as SpacerControls,
114
- M as StripeControls,
115
- t as StructureControls,
116
- N as TextControls,
117
- R as TimerControls,
118
- A as VideoControls
119
- };
@@ -1,7 +0,0 @@
1
- var O;
2
- (function(E) {
3
- E.SAVE_AS_MODULE = "saveAsModule", E.UPDATE_MODULE = "updateModule", E.IMPROVE_WITH_AI = "improveWithAI", E.MOVE = "move", E.COPY = "copy", E.REMOVE = "remove", E.CLEAR_CONTAINER = "clearContainer", E.REMOVE_CONTAINER = "removeContainer", E.EXTERNAL_DISPLAY_CONDITION = "externalDisplayCondition";
4
- })(O || (O = {}));
5
- export {
6
- O as ContextActionType
7
- };
@@ -1,7 +0,0 @@
1
- var e;
2
- (function(r) {
3
- r.previewDeviceMode = "previewDeviceMode";
4
- })(e || (e = {}));
5
- export {
6
- e as EditorStatePropertyType
7
- };
@@ -1,7 +0,0 @@
1
- var T;
2
- (function(S) {
3
- S.BLOCKS_SETTINGS = "BLOCKS_SETTINGS", S.SETTINGS_BLOCKS = "SETTINGS_BLOCKS";
4
- })(T || (T = {}));
5
- export {
6
- T as PanelPosition
7
- };
@@ -1,12 +0,0 @@
1
- var T;
2
- (function(t) {
3
- t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left";
4
- })(T || (T = {}));
5
- var a;
6
- (function(t) {
7
- t.AI_HIDDEN_PREHEADER = "aiHiddenPreheader", t.AI_SUBJECT = "aiSubject", t.AI_TEXT = "aiText";
8
- })(a || (a = {}));
9
- export {
10
- a as ExtensionPopoverType,
11
- T as PopoverSide
12
- };
@@ -1,7 +0,0 @@
1
- var O;
2
- (function(E) {
3
- E.DESKTOP = "DESKTOP", E.MOBILE = "MOBILE";
4
- })(O || (O = {}));
5
- export {
6
- O as PreviewDeviceMode
7
- };
@@ -1,7 +0,0 @@
1
- var s;
2
- (function(t) {
3
- t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data";
4
- })(s || (s = {}));
5
- export {
6
- s as SettingsTab
7
- };
@@ -1,7 +0,0 @@
1
- var C;
2
- (function(E) {
3
- E.BUTTON = "UE-BUTTON", E.CHECKBOX = "UE-CHECKBOX", E.CHECK_BUTTONS = "UE-CHECK-BUTTONS", E.COLOR = "UE-COLOR", E.COUNTER = "UE-COUNTER", E.DATEPICKER = "UE-DATEPICKER", E.LABEL = "UE-LABEL", E.MESSAGE = "UE-MESSAGE", E.RADIO_BUTTONS = "UE-RADIO-BUTTONS", E.SELECTPICKER = "UE-SELECT", E.SWITCHER = "UE-SWITCHER", E.TEXT = "UE-TEXT", E.TEXTAREA = "UE-TEXTAREA", E.CHECK_ITEM = "UE-CHECK-ITEM", E.RADIO_ITEM = "UE-RADIO-ITEM", E.SELECT_ITEM = "UE-SELECT-ITEM", E.ICON = "UE-ICON", E.MERGETAGS = "UE-MERGETAGS", E.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", E.NESTED_CONTROL = "UE-NESTED-CONTROL";
4
- })(C || (C = {}));
5
- export {
6
- C as UIElementType
7
- };
@@ -1,24 +0,0 @@
1
- const t = {
2
- name: "name",
3
- disabled: "disabled"
4
- }, e = {
5
- ...t
6
- }, s = {
7
- ...t,
8
- text: "text"
9
- }, l = {
10
- ...t,
11
- placeholder: "placeholder",
12
- items: "items"
13
- }, c = {
14
- text: "text",
15
- value: "value"
16
- }, n = {
17
- BUTTON: e,
18
- LABEL: s,
19
- SELECTPICKER: l,
20
- SELECT_ITEM: c
21
- };
22
- export {
23
- n as UEAttr
24
- };
@@ -1,24 +0,0 @@
1
- var s = Object.defineProperty;
2
- var t = (e, o, n) => o in e ? s(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n;
3
- var r = (e, o, n) => t(e, typeof o != "symbol" ? o + "" : o, n);
4
- class l {
5
- constructor() {
6
- /** Provides access to editor functionalities specific to this UI control instance. */
7
- r(this, "api");
8
- }
9
- /**
10
- * Optional hook called when the control is initially rendered.
11
- * Use this for setup tasks like attaching event listeners to the control's template elements.
12
- */
13
- onRender() {
14
- }
15
- /**
16
- * Optional cleanup hook called when the control is being destroyed.
17
- * Use this to remove event listeners or perform other cleanup tasks.
18
- */
19
- onDestroy() {
20
- }
21
- }
22
- export {
23
- l as Control
24
- };
@@ -1,11 +0,0 @@
1
- var i = Object.defineProperty;
2
- var g = (s, e, t) => e in s ? i(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
- var a = (s, e, t) => g(s, typeof e != "symbol" ? e + "" : e, t);
4
- class n {
5
- constructor() {
6
- a(this, "api");
7
- }
8
- }
9
- export {
10
- n as SettingsPanelRegistry
11
- };
@@ -1,33 +0,0 @@
1
- var r = Object.defineProperty;
2
- var n = (e, s, t) => s in e ? r(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
3
- var l = (e, s, t) => n(e, typeof s != "symbol" ? s + "" : s, t);
4
- class o {
5
- constructor(s, t) {
6
- l(this, "tabId");
7
- l(this, "label");
8
- l(this, "controlsIds");
9
- this.tabId = s, this.controlsIds = t;
10
- }
11
- getTabId() {
12
- return this.tabId;
13
- }
14
- getLabel() {
15
- return this.label;
16
- }
17
- getControlsIds() {
18
- return this.controlsIds;
19
- }
20
- withLabel(s) {
21
- return this.label = s, this;
22
- }
23
- addControl(s, t) {
24
- return t < 0 ? this.controlsIds.unshift(s) : t > this.controlsIds.length ? this.controlsIds.push(s) : this.controlsIds.splice(t, 0, s), this;
25
- }
26
- deleteControl(s) {
27
- const t = this.controlsIds.indexOf(s);
28
- t !== -1 && this.controlsIds.splice(t, 1);
29
- }
30
- }
31
- export {
32
- o as SettingsPanelTab
33
- };
@@ -1,22 +0,0 @@
1
- var i = Object.defineProperty;
2
- var e = (t, s, a) => s in t ? i(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a;
3
- var r = (t, s, a) => e(t, typeof s != "symbol" ? s + "" : s, a);
4
- class o {
5
- constructor(s) {
6
- r(this, "key");
7
- r(this, "params");
8
- this.key = s;
9
- }
10
- withParams(s) {
11
- return this.params = s, this;
12
- }
13
- getValue() {
14
- return {
15
- key: this.key,
16
- params: this.params
17
- };
18
- }
19
- }
20
- export {
21
- o as ModificationDescription
22
- };
@@ -1,40 +0,0 @@
1
- var u = Object.defineProperty;
2
- var n = (t, e, a) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
- var l = (t, e, a) => n(t, typeof e != "symbol" ? e + "" : e, a);
4
- class s {
5
- constructor() {
6
- /** Provides access to editor functionalities specific to this UI element instance. */
7
- l(this, "api");
8
- }
9
- /**
10
- * Optional cleanup hook called when the UI element is being destroyed.
11
- * Use this to remove event listeners or perform other cleanup tasks.
12
- */
13
- onDestroy() {
14
- }
15
- /**
16
- * Optional method to get the current value of the UI element.
17
- * Implement this if the element manages a state or value (e.g., input fields).
18
- * @returns The current value of the element.
19
- */
20
- getValue() {
21
- }
22
- /**
23
- * Optional method to set the value of the UI element.
24
- * Implement this if the element manages a state or value and needs to be updated externally.
25
- * @param value - The new value to set.
26
- */
27
- setValue(e) {
28
- }
29
- /**
30
- * @description Optional hook called when one of the element's supported attributes ({@link UEAttr}) gets updated externally.
31
- * Implement this to react to attribute changes (e.g., visibility, disabled state).
32
- * @param name - The name of the attribute that was updated.
33
- * @param value - The new value of the attribute.
34
- */
35
- onAttributeUpdated(e, a) {
36
- }
37
- }
38
- export {
39
- s as UIElement
40
- };
@@ -1,5 +0,0 @@
1
- class s {
2
- }
3
- export {
4
- s as UIElementTagRegistry
5
- };
@@ -1,4 +0,0 @@
1
- const C = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.87939%200C8.56714%200.0576002%209.26998%200.793636%209.82275%201.37305L9.83057%201.38184C9.93483%201.49112%2010.0343%201.5944%2010.1265%201.68652L17.2573%208.79492C18.2493%209.7872%2018.2493%2011.3954%2017.2573%2012.3877L12.396%2017.2471C11.9169%2017.726%2011.2659%2017.9999%2010.6157%2018C9.96563%2017.9999%209.31551%2017.76%208.83643%2017.2471L1.68896%2010.1221C1.58907%2010.0222%201.47548%209.91523%201.35596%209.80273C0.77939%209.26006%200.0584135%208.58144%200.00146484%207.87305L0.00439453%202.15625C-0.0298299%201.57462%200.209988%201.02683%200.620605%200.616211C1.03135%200.20572%201.57981%200%202.16162%200L7.87939%200ZM2.16162%202C2.10648%202%202.07333%202.01007%202.05908%202.01562C2.04707%202.02035%202.04069%202.02432%202.03467%202.03027C2.01884%202.04611%202.00915%202.05957%202.00342%202.06836L2.00439%202.09766L2.00146%207.59277C2.01413%207.61029%202.02975%207.63092%202.04834%207.6543C2.20264%207.84819%202.41884%208.05659%202.72705%208.34668L2.73682%208.35645C2.84844%208.46149%202.9808%208.58586%203.10205%208.70703L3.10303%208.70801L10.2739%2015.8564L10.2983%2015.8818C10.3564%2015.9439%2010.4539%2015.9999%2010.6157%2016C10.7155%2015.9998%2010.8635%2015.9513%2010.9819%2015.833L15.8433%2010.9736C16.054%2010.7626%2016.0536%2010.4212%2015.8433%2010.21L8.71436%203.10352L8.7124%203.10156C8.60329%202.99248%208.49054%202.8737%208.39209%202.77051L8.37549%202.75391C8.08113%202.44536%207.86049%202.21875%207.65479%202.05469C7.62752%202.03295%207.6037%202.01461%207.5835%202L2.16162%202ZM8.16748%209.83301C8.81172%209.18878%209.8571%209.18898%2010.5015%209.83301L10.6265%209.71973C11.2745%209.19135%2012.2304%209.22915%2012.8345%209.83301C13.4787%2010.4772%2013.4795%2011.5226%2012.8354%2012.167C12.8312%2012.1713%2012.8251%2012.1745%2012.8208%2012.1787L11.2085%2013.792C10.818%2014.1825%2010.185%2014.1824%209.79443%2013.792L8.18115%2012.1797C8.1768%2012.1755%208.17178%2012.1713%208.16748%2012.167C7.52346%2011.5226%207.52325%2010.4772%208.16748%209.83301ZM5.00146%204C5.55353%204.00025%206.00146%204.44787%206.00146%205C6.00146%205.55213%205.55353%205.99975%205.00146%206C4.44918%206%204.00146%205.55228%204.00146%205C4.00146%204.44772%204.44918%204%205.00146%204Z'%20fill='%23666666'/%3e%3c/svg%3e";
2
- export {
3
- C as default
4
- };