@useinsider/guido 2.2.0-beta.953ff70 → 2.2.0-beta.a968345

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 (148) hide show
  1. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +15 -14
  2. package/dist/composables/useHtmlValidator.js +114 -104
  3. package/dist/composables/useRecommendation.js +54 -21
  4. package/dist/composables/useStripo.js +25 -23
  5. package/dist/composables/useVersionHistoryApi.js +1 -1
  6. package/dist/config/compiler/recommendationCompilerRules.js +45 -39
  7. package/dist/config/compiler/utils/recommendationCompilerUtils.js +121 -0
  8. package/dist/config/i18n/en/index.js +11 -0
  9. package/dist/config/i18n/en/labels.json.js +7 -0
  10. package/dist/config/i18n/en/toasters.json.js +56 -0
  11. package/dist/config/i18n/en/tooltips.json.js +82 -0
  12. package/dist/config/i18n/index.js +7 -0
  13. package/dist/config/migrator/itemsBlockMigrator.js +101 -97
  14. package/dist/config/migrator/recommendationMigrator.js +2 -2
  15. package/dist/enums/extensions/recommendationBlock.js +1 -1
  16. package/dist/enums/recommendation.js +16 -15
  17. package/dist/extensions/Blocks/Recommendation/block.js +133 -9
  18. package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +4 -0
  19. package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +4 -0
  20. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +66 -0
  21. package/dist/extensions/Blocks/Recommendation/constants/layout.js +22 -0
  22. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +21 -0
  23. package/dist/extensions/Blocks/Recommendation/controls/button/index.js +64 -0
  24. package/dist/extensions/Blocks/Recommendation/controls/cardBackground/index.js +80 -0
  25. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +232 -0
  26. package/dist/extensions/Blocks/Recommendation/controls/image/index.js +19 -0
  27. package/dist/extensions/Blocks/Recommendation/controls/layout/index.js +92 -0
  28. package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +102 -0
  29. package/dist/extensions/Blocks/Recommendation/controls/main/currency.js +209 -0
  30. package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +52 -0
  31. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +250 -0
  32. package/dist/extensions/Blocks/Recommendation/controls/main/locale.js +70 -0
  33. package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +160 -0
  34. package/dist/extensions/Blocks/Recommendation/controls/main/shuffle.js +67 -0
  35. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +307 -0
  36. package/dist/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.js +21 -0
  37. package/dist/extensions/Blocks/Recommendation/controls/name/index.js +46 -0
  38. package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +108 -0
  39. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/index.js +44 -0
  40. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.js +48 -0
  41. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextAfterControl.js → omnibusDiscount/textAfter.js} +16 -14
  42. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextBeforeControl.js → omnibusDiscount/textBefore.js} +16 -14
  43. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/index.js +48 -0
  44. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPriceTextAfterControl.js → omnibusPrice/textAfter.js} +16 -14
  45. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPriceTextBeforeControl.js → omnibusPrice/textBefore.js} +14 -12
  46. package/dist/extensions/Blocks/Recommendation/controls/price/index.js +44 -0
  47. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +222 -0
  48. package/dist/extensions/Blocks/Recommendation/extension.js +40 -17
  49. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +19 -3
  50. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +13 -4
  51. package/dist/extensions/Blocks/Recommendation/services/configService.js +240 -0
  52. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +21 -10
  53. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +254 -207
  54. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +228 -0
  55. package/dist/extensions/Blocks/Recommendation/templates/grid/migration.js +251 -0
  56. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +66 -0
  57. package/dist/extensions/Blocks/Recommendation/templates/index.js +12 -0
  58. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +169 -0
  59. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +73 -0
  60. package/dist/extensions/Blocks/Recommendation/templates/utils.js +134 -0
  61. package/dist/extensions/Blocks/Recommendation/types/nodeConfig.js +6 -0
  62. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +9 -9
  63. package/dist/extensions/Blocks/Recommendation/utils/preserveTextStyles.js +26 -15
  64. package/dist/extensions/Blocks/Recommendation/utils/priceFormatter.js +29 -0
  65. package/dist/extensions/Blocks/Recommendation/utils/tagName.js +46 -0
  66. package/dist/extensions/Blocks/controlFactories.js +125 -93
  67. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +242 -186
  68. package/dist/services/recommendationApi.js +11 -8
  69. package/dist/services/stripoApi.js +20 -17
  70. package/dist/services/templateLibraryApi.js +16 -13
  71. package/dist/src/components/wrappers/WpDrawer.vue.d.ts +1 -1
  72. package/dist/src/composables/useRecommendation.d.ts +1 -0
  73. package/dist/src/config/compiler/utils/recommendationCompilerUtils.d.ts +17 -0
  74. package/dist/src/config/i18n/en/index.d.ts +1 -0
  75. package/dist/src/config/i18n/index.d.ts +16 -0
  76. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +67 -0
  77. package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +13 -0
  78. package/dist/src/extensions/Blocks/Recommendation/{constants.d.ts → constants/controlIds.d.ts} +0 -24
  79. package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +49 -0
  80. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +13 -0
  81. package/dist/src/extensions/Blocks/Recommendation/constants/layout.d.ts +41 -0
  82. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +35 -0
  83. package/dist/src/extensions/Blocks/Recommendation/controls/button/index.d.ts +143 -0
  84. package/dist/src/extensions/Blocks/Recommendation/controls/cardBackground/index.d.ts +31 -0
  85. package/dist/src/extensions/Blocks/Recommendation/{cardCompositionControl.d.ts → controls/cardComposition/index.d.ts} +23 -3
  86. package/dist/src/extensions/Blocks/Recommendation/controls/image/index.d.ts +35 -0
  87. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +21 -589
  88. package/dist/src/extensions/Blocks/Recommendation/controls/layout/index.d.ts +37 -0
  89. package/dist/src/extensions/Blocks/Recommendation/controls/main/algorithm.d.ts +29 -0
  90. package/dist/src/extensions/Blocks/Recommendation/controls/main/currency.d.ts +52 -0
  91. package/dist/src/extensions/Blocks/Recommendation/controls/main/filters.d.ts +22 -0
  92. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +79 -0
  93. package/dist/src/extensions/Blocks/Recommendation/controls/main/locale.d.ts +24 -0
  94. package/dist/src/extensions/Blocks/Recommendation/controls/main/productLayout.d.ts +60 -0
  95. package/dist/src/extensions/Blocks/Recommendation/controls/main/shuffle.d.ts +23 -0
  96. package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +221 -0
  97. package/dist/src/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.d.ts +29 -0
  98. package/dist/src/extensions/Blocks/Recommendation/controls/name/index.d.ts +97 -0
  99. package/dist/src/extensions/Blocks/Recommendation/controls/name/textTrim.d.ts +34 -0
  100. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/index.d.ts +95 -0
  101. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +100 -0
  102. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/textAfter.d.ts +15 -0
  103. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/textBefore.d.ts +15 -0
  104. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +100 -0
  105. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/textAfter.d.ts +15 -0
  106. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/textBefore.d.ts +15 -0
  107. package/dist/src/extensions/Blocks/Recommendation/controls/price/index.d.ts +95 -0
  108. package/dist/src/extensions/Blocks/Recommendation/controls/spacing/index.d.ts +83 -0
  109. package/dist/src/extensions/Blocks/Recommendation/extension.d.ts +9 -0
  110. package/dist/src/extensions/Blocks/Recommendation/services/configService.d.ts +151 -0
  111. package/dist/src/extensions/Blocks/Recommendation/services/index.d.ts +6 -0
  112. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +138 -468
  113. package/dist/src/extensions/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +20 -0
  114. package/dist/src/extensions/Blocks/Recommendation/templates/{migrationTemplate.d.ts → grid/migration.d.ts} +11 -4
  115. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +33 -0
  116. package/dist/src/extensions/Blocks/Recommendation/templates/index.d.ts +41 -0
  117. package/dist/src/extensions/Blocks/Recommendation/templates/list/elementRenderer.d.ts +8 -0
  118. package/dist/src/extensions/Blocks/Recommendation/templates/list/migration.d.ts +25 -0
  119. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +18 -0
  120. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +66 -0
  121. package/dist/src/extensions/Blocks/Recommendation/types/index.d.ts +7 -0
  122. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +166 -0
  123. package/dist/src/extensions/Blocks/Recommendation/utils/priceFormatter.d.ts +33 -0
  124. package/dist/src/extensions/Blocks/Recommendation/utils/stylePreserver.d.ts +113 -0
  125. package/dist/src/extensions/Blocks/Recommendation/utils/tagName.d.ts +77 -0
  126. package/dist/static/styles/components/notification.css.js +18 -0
  127. package/dist/static/styles/components/tools.css.js +6 -2
  128. package/dist/static/styles/customEditorStyle.css.js +35 -11
  129. package/dist/static/styles/variables.css.js +2 -0
  130. package/dist/static/templates/empty/index.html.js +74 -0
  131. package/dist/static/templates/empty/style.css.js +779 -0
  132. package/dist/utils/pairProductVariables.js +57 -56
  133. package/dist/utils/templatePreparation.js +15 -14
  134. package/package.json +1 -1
  135. package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +0 -187
  136. package/dist/extensions/Blocks/Recommendation/constants.js +0 -13
  137. package/dist/extensions/Blocks/Recommendation/control.js +0 -336
  138. package/dist/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.js +0 -68
  139. package/dist/extensions/Blocks/Recommendation/controls/index.js +0 -245
  140. package/dist/extensions/Blocks/Recommendation/controls/nameTextTrimControl.js +0 -74
  141. package/dist/extensions/Blocks/Recommendation/controls/spacingControl.js +0 -188
  142. package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +0 -181
  143. package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +0 -189
  144. package/dist/extensions/Blocks/Recommendation/templates/templateUtils.js +0 -209
  145. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +0 -38
  146. package/dist/src/extensions/Blocks/Recommendation/controls/nameTextTrimControl.d.ts +0 -16
  147. package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +0 -16
  148. package/dist/src/extensions/Blocks/Recommendation/templates/templateUtils.d.ts +0 -52
@@ -4,14 +4,14 @@ var B = class d {
4
4
  * @param requiredMethods - Array of method names that must be implemented
5
5
  * @param classRef - Reference to the class constructor for validation caching
6
6
  */
7
- constructor(t, r) {
8
- if (r !== d) {
9
- d.validatedClasses.has(r) || this.validateImplementation(t, r);
10
- const s = d.validationErrors.get(r);
11
- if (s && s.length > 0)
7
+ constructor(t, n) {
8
+ if (n !== d) {
9
+ d.validatedClasses.has(n) || this.validateImplementation(t, n);
10
+ const i = d.validationErrors.get(n);
11
+ if (i && i.length > 0)
12
12
  throw new Error(
13
- `${r.name} has validation errors:
14
- ${s.map((o) => ` - ${o}`).join(`
13
+ `${n.name} has validation errors:
14
+ ${i.map((o) => ` - ${o}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -20,23 +20,23 @@ ${s.map((o) => ` - ${o}`).join(`
20
20
  * Validates that all required methods are properly implemented in the subclass.
21
21
  * This validation runs only once per class type and results are cached.
22
22
  */
23
- validateImplementation(t, r) {
23
+ validateImplementation(t, n) {
24
24
  var x;
25
- const s = [], o = r.name, Y = Object.getPrototypeOf(this);
25
+ const i = [], o = n.name, Y = Object.getPrototypeOf(this);
26
26
  t.forEach((u) => {
27
27
  if (typeof this[u] != "function") {
28
- s.push(`Method ${u}() is not defined`);
28
+ i.push(`Method ${u}() is not defined`);
29
29
  return;
30
30
  }
31
- Y[u] === r.prototype[u] && s.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
32
- }), d.validatedClasses.add(r), s.length > 0 ? (d.validationErrors.set(r, s), console.error(`[${o} Validation] ${o} validation failed:`, s)) : typeof process < "u" && ((x = process.env) == null ? void 0 : x.NODE_ENV) === "development" && console.log(`[${o} Validation] ✅ ${o} validated successfully`);
31
+ Y[u] === n.prototype[u] && i.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
32
+ }), d.validatedClasses.add(n), i.length > 0 ? (d.validationErrors.set(n, i), console.error(`[${o} Validation] ${o} validation failed:`, i)) : typeof process < "u" && ((x = process.env) == null ? void 0 : x.NODE_ENV) === "development" && console.log(`[${o} Validation] ✅ ${o} validated successfully`);
33
33
  }
34
34
  };
35
35
  B.validatedClasses = /* @__PURE__ */ new Set();
36
36
  B.validationErrors = /* @__PURE__ */ new Map();
37
- var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), v = class T extends a {
37
+ var s = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), v = class c extends s {
38
38
  constructor() {
39
- super(T.REQUIRED_METHODS, T);
39
+ super(c.REQUIRED_METHODS, c);
40
40
  }
41
41
  /**
42
42
  * Determines if the block should be available for use in the editor.
@@ -196,9 +196,9 @@ var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCT
196
196
  }
197
197
  };
198
198
  v.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
- var Pe = v, W = class c extends a {
199
+ var Qe = v, W = class T extends s {
200
200
  constructor() {
201
- super(c.REQUIRED_METHODS, c);
201
+ super(T.REQUIRED_METHODS, T);
202
202
  }
203
203
  /**
204
204
  * @deprecated - use {@link getPreviewInnerHtml} instead
@@ -214,7 +214,7 @@ var Pe = v, W = class c extends a {
214
214
  }
215
215
  };
216
216
  W.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
- var we = class {
217
+ var fe = class {
218
218
  /**
219
219
  * Generates HTML representation for a block item
220
220
  * @param block - The block item to generate HTML for
@@ -281,9 +281,9 @@ var we = class {
281
281
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
282
282
  getModulesTabIconName(e) {
283
283
  }
284
- }, z = class O extends a {
284
+ }, z = class b extends s {
285
285
  constructor() {
286
- super(O.REQUIRED_METHODS, O);
286
+ super(b.REQUIRED_METHODS, b);
287
287
  }
288
288
  getId() {
289
289
  throw new Error("Method getId() must be implemented by the subclass");
@@ -305,78 +305,132 @@ var Z = {
305
305
  href: "href",
306
306
  width: "width",
307
307
  height: "height"
308
- }, j = {
309
- href: "href"
310
- }, Ke = {
311
- BLOCK_IMAGE: Z,
312
- BLOCK_BUTTON: j
313
- }, y = "esd-block-button", U = "esd-block-text", P = "esd-block-image", q = "esd-structure", J = "esd-block-video", ee = "esd-block-social", te = "esd-block-banner", re = "esd-block-timer", ne = "esd-block-menu", ae = "esd-block-html", se = "esd-block-spacer", ie = "esd-container-frame", le = "esd-stripe", Ee = "esd-amp-form", I = ((e) => (e.BUTTON = `.${y}`, e.TEXT = `.${U}`, e.IMAGE = `.${P}`, e.STRUCTURE = `.${q}`, e.VIDEO = `.${J}`, e.SOCIAL = `.${ee}`, e.BANNER = `.${te}`, e.TIMER = `.${re}`, e.MENU = `.${ne}`, e.HTML = `.${ae}`, e.SPACER = `.${se}`, e.CONTAINER = `.${ie}`, e.STRIPE = `.${le}`, e.FORM = `.${Ee}`, e))(I || {}), oe = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(oe || {}), w = /* @__PURE__ */ ((e) => (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", e))(w || {}), K = /* @__PURE__ */ ((e) => (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 = "buttonFixedHeightForm", 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", e))(K || {}), F = /* @__PURE__ */ ((e) => (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.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.LINKS_COLOR = "textLinksFontColorForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(F || {}), H = /* @__PURE__ */ ((e) => (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", e))(H || {}), de = /* @__PURE__ */ ((e) => (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", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(de || {}), n = {
308
+ }, Ye = {
309
+ BLOCK_IMAGE: Z
310
+ }, y = "esd-block-button", U = "esd-block-text", P = "esd-block-image", j = "esd-structure", q = "esd-block-video", J = "esd-block-social", ee = "esd-block-banner", te = "esd-block-timer", re = "esd-block-menu", ne = "esd-block-html", ae = "esd-block-spacer", se = "esd-container-frame", ie = "esd-stripe", le = "esd-amp-form", I = ((e) => (e.BUTTON = `.${y}`, e.TEXT = `.${U}`, e.IMAGE = `.${P}`, e.STRUCTURE = `.${j}`, e.VIDEO = `.${q}`, e.SOCIAL = `.${J}`, e.BANNER = `.${ee}`, e.TIMER = `.${te}`, e.MENU = `.${re}`, e.HTML = `.${ne}`, e.SPACER = `.${ae}`, e.CONTAINER = `.${se}`, e.STRIPE = `.${ie}`, e.FORM = `.${le}`, e))(I || {}), Ee = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(Ee || {}), w = /* @__PURE__ */ ((e) => (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", e))(w || {}), K = /* @__PURE__ */ ((e) => (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 = "buttonFixedHeightForm", 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", e))(K || {}), F = /* @__PURE__ */ ((e) => (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.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.LINKS_COLOR = "textLinksFontColorForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(F || {}), H = /* @__PURE__ */ ((e) => (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", e))(H || {}), oe = /* @__PURE__ */ ((e) => (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", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(oe || {}), a = {
314
311
  BLOCK_BUTTON: K,
315
312
  BLOCK_TEXT: F,
316
313
  BLOCK_IMAGE: H,
317
314
  GENERAL: w
318
- }, ue = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(ue || {}), l = {
315
+ }, de = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e))(de || {}), ue = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(ue || {}), Ie = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(Ie || {}), r = {
319
316
  name: "name",
320
317
  disabled: "disabled"
321
- }, Ie = {
322
- ...l,
318
+ }, ce = {
319
+ ...r,
323
320
  caption: "caption",
324
321
  icon: "icon"
325
322
  }, Te = {
326
- ...l,
323
+ ...r,
327
324
  caption: "caption"
328
- }, ce = {
329
- ...l,
325
+ }, be = {
326
+ ...r,
330
327
  minValue: "min-value",
331
328
  maxValue: "max-value",
332
329
  step: "step"
333
330
  }, Oe = {
334
- ...l,
335
- text: "text"
331
+ ...r,
332
+ placeholder: "placeholder",
333
+ minDate: "min-date"
334
+ }, he = {
335
+ ...r,
336
+ text: "text",
337
+ hint: "hint"
336
338
  }, ge = {
337
- ...l
339
+ ...r,
340
+ type: "type"
341
+ }, me = {
342
+ ...r,
343
+ buttons: "buttons"
338
344
  }, k = {
339
- ...l,
345
+ ...r,
340
346
  searchable: "searchable",
341
347
  multiSelect: "multi-select",
342
348
  placeholder: "placeholder",
343
349
  items: "items"
344
- }, he = {
345
- ...k
346
- }, be = {
350
+ }, Re = {
351
+ ...k,
352
+ addCustomFontOption: "add-custom-font-option"
353
+ }, Le = {
354
+ ...r,
347
355
  text: "text",
348
356
  value: "value"
349
- }, me = {
357
+ }, _e = {
358
+ ...r,
350
359
  text: "text",
360
+ hint: "hint",
351
361
  icon: "icon",
352
362
  value: "value"
353
- }, Re = {
354
- ...l
355
- }, _e = {
363
+ }, Ce = {
364
+ ...r,
365
+ buttons: "buttons"
366
+ }, Ae = {
367
+ ...r,
368
+ text: "text",
369
+ hint: "hint",
370
+ icon: "icon",
371
+ value: "value"
372
+ }, Ne = {
373
+ ...r,
374
+ placeholder: "placeholder"
375
+ }, De = {
376
+ ...r,
377
+ resizable: "resizable",
378
+ placeholder: "placeholder"
379
+ }, Se = {
380
+ ...r,
381
+ img: "img",
382
+ src: "src",
383
+ title: "title",
384
+ imageClass: "image-class",
385
+ hint: "hint",
386
+ disabled: "disabled",
387
+ isActive: "is-active",
388
+ visibility: "visibility",
389
+ transform: "transform"
390
+ }, Be = {
391
+ ...r,
356
392
  controlId: "control-id"
357
- }, Le = {
358
- ...l,
393
+ }, Me = {
394
+ ...r,
395
+ expanded: "expanded"
396
+ }, xe = {
397
+ ...r,
359
398
  icon: "icon",
360
399
  position: "position"
361
- }, Ce = {
362
- ...l
363
- }, Fe = {
364
- BUTTON: Ie,
400
+ }, ve = {
401
+ ...r
402
+ }, ye = {
403
+ ...r,
404
+ icon: "icon"
405
+ }, Ue = {
406
+ ...r
407
+ }, $e = {
408
+ DEFAULT: r,
409
+ BUTTON: ce,
365
410
  CHECKBOX: Te,
366
- COLOR: l,
367
- COUNTER: ce,
368
- LABEL: Oe,
369
- RADIO_BUTTONS: ge,
411
+ CHECK_BUTTONS: Ce,
412
+ COLOR: r,
413
+ COUNTER: be,
414
+ DATEPICKER: Oe,
415
+ LABEL: he,
416
+ MESSAGE: ge,
417
+ RADIO_BUTTONS: me,
370
418
  SELECTPICKER: k,
371
- FONT_FAMILY_SELECT: he,
372
- SWITCHER: l,
373
- TEXT: Re,
374
- SELECT_ITEM: be,
375
- RADIO_ITEM: me,
376
- NESTED_CONTROL: _e,
377
- ORDERABLE: Le,
378
- ORDERABLE_ITEM: Ce
379
- }, Ae = /* @__PURE__ */ ((e) => (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", e.EXPANDABLE = "UE-EXPANDABLE", e.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", e.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", e.ORDERABLE = "UE-ORDERABLE", e.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", e.ORDERABLE_ICON = "UE-ORDERABLE-ICON", e.REPEATABLE = "UE-REPEATABLE", e))(Ae || {}), M = class {
419
+ FONT_FAMILY_SELECT: Re,
420
+ SWITCHER: r,
421
+ TEXT: Ne,
422
+ TEXTAREA: De,
423
+ ICON: Se,
424
+ CHECK_ITEM: _e,
425
+ SELECT_ITEM: Le,
426
+ RADIO_ITEM: Ae,
427
+ NESTED_CONTROL: Be,
428
+ EXPANDABLE: Me,
429
+ ORDERABLE: xe,
430
+ ORDERABLE_ITEM: ve,
431
+ ORDERABLE_ICON: ye,
432
+ REPEATABLE: Ue
433
+ }, Pe = /* @__PURE__ */ ((e) => (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", e.EXPANDABLE = "UE-EXPANDABLE", e.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", e.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", e.ORDERABLE = "UE-ORDERABLE", e.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", e.ORDERABLE_ICON = "UE-ORDERABLE-ICON", e.REPEATABLE = "UE-REPEATABLE", e))(Pe || {}), M = class {
380
434
  /**
381
435
  * @description returns map of nodes parent control operates on
382
436
  */
@@ -407,68 +461,68 @@ var Z = {
407
461
  isVisible(e) {
408
462
  return !0;
409
463
  }
410
- }, i = class extends M {
464
+ }, l = class extends M {
411
465
  getTargetNodes(e) {
412
- const t = e.querySelectorAll(I.BUTTON), r = e.asElement().hasClass(y) ? [e] : [];
413
- return t.length ? t : r;
466
+ const t = e.querySelectorAll(I.BUTTON), n = e.asElement().hasClass(y) ? [e] : [];
467
+ return t.length ? t : n;
414
468
  }
415
- }, He = class extends i {
469
+ }, We = class extends l {
416
470
  getParentControlId() {
417
- return n.BLOCK_BUTTON.BORDER_RADIUS;
471
+ return a.BLOCK_BUTTON.BORDER_RADIUS;
418
472
  }
419
473
  getLabels() {
420
474
  }
421
- }, ke = class extends i {
475
+ }, ze = class extends l {
422
476
  getParentControlId() {
423
- return n.BLOCK_BUTTON.ALIGNMENT;
477
+ return a.BLOCK_BUTTON.ALIGNMENT;
424
478
  }
425
- }, Xe = class extends i {
479
+ }, Ze = class extends l {
426
480
  getParentControlId() {
427
- return n.GENERAL.BACKGROUND_COLOR;
481
+ return a.GENERAL.BACKGROUND_COLOR;
428
482
  }
429
- }, Ve = class extends i {
483
+ }, je = class extends l {
430
484
  getParentControlId() {
431
- return n.BLOCK_BUTTON.BORDER;
485
+ return a.BLOCK_BUTTON.BORDER;
432
486
  }
433
487
  getLabels() {
434
488
  }
435
- }, Ge = class extends i {
489
+ }, qe = class extends l {
436
490
  getParentControlId() {
437
- return n.BLOCK_BUTTON.COLOR;
491
+ return a.BLOCK_BUTTON.COLOR;
438
492
  }
439
- }, pe = class extends i {
493
+ }, Je = class extends l {
440
494
  getParentControlId() {
441
- return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
495
+ return a.BLOCK_BUTTON.ADJUST_TO_WIDTH;
442
496
  }
443
- }, Qe = class extends i {
497
+ }, et = class extends l {
444
498
  getParentControlId() {
445
- return n.BLOCK_BUTTON.FONT_FAMILY;
499
+ return a.BLOCK_BUTTON.FONT_FAMILY;
446
500
  }
447
- }, fe = class extends i {
501
+ }, tt = class extends l {
448
502
  getParentControlId() {
449
- return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
503
+ return a.BLOCK_BUTTON.EXTERNAL_INDENTS;
450
504
  }
451
- }, Ye = class extends i {
505
+ }, rt = class extends l {
452
506
  getParentControlId() {
453
- return n.BLOCK_BUTTON.INTERNAL_INDENTS;
507
+ return a.BLOCK_BUTTON.INTERNAL_INDENTS;
454
508
  }
455
- }, $e = class extends i {
509
+ }, nt = class extends l {
456
510
  getParentControlId() {
457
- return n.BLOCK_BUTTON.TEXT;
511
+ return a.BLOCK_BUTTON.TEXT;
458
512
  }
459
- }, We = class extends i {
513
+ }, at = class extends l {
460
514
  getParentControlId() {
461
- return n.BLOCK_BUTTON.FONT_SIZE;
515
+ return a.BLOCK_BUTTON.FONT_SIZE;
462
516
  }
463
- }, ze = class extends i {
517
+ }, st = class extends l {
464
518
  getParentControlId() {
465
- return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
519
+ return a.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
466
520
  }
467
521
  getLabels() {
468
522
  }
469
- }, X = class g extends a {
523
+ }, X = class O extends s {
470
524
  constructor() {
471
- super(g.REQUIRED_METHODS, g);
525
+ super(O.REQUIRED_METHODS, O);
472
526
  }
473
527
  /**
474
528
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -522,7 +576,7 @@ var Z = {
522
576
  }
523
577
  };
524
578
  X.REQUIRED_METHODS = ["getId", "getTemplate"];
525
- var Ze = X, Ne = class h extends a {
579
+ var it = X, we = class h extends s {
526
580
  constructor() {
527
581
  super(h.REQUIRED_METHODS, h);
528
582
  }
@@ -591,30 +645,30 @@ var Ze = X, Ne = class h extends a {
591
645
  onDestroy() {
592
646
  }
593
647
  };
594
- Ne.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
595
- var V = class extends M {
648
+ we.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
649
+ var p = class extends M {
596
650
  getTargetNodes(e) {
597
- const t = e.querySelectorAll(I.IMAGE), r = e.asElement().hasClass(P) ? [e] : [];
598
- return t.length ? t : r;
651
+ const t = e.querySelectorAll(I.IMAGE), n = e.asElement().hasClass(P) ? [e] : [];
652
+ return t.length ? t : n;
599
653
  }
600
- }, je = class extends V {
654
+ }, lt = class extends p {
601
655
  getParentControlId() {
602
- return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
656
+ return a.BLOCK_IMAGE.EXTERNAL_INDENTS;
603
657
  }
604
- }, qe = class extends V {
658
+ }, Et = class extends p {
605
659
  getParentControlId() {
606
- return n.BLOCK_IMAGE.SIZE;
660
+ return a.BLOCK_IMAGE.SIZE;
607
661
  }
608
- }, G = class b extends a {
662
+ }, G = class g extends s {
609
663
  constructor() {
610
- super(b.REQUIRED_METHODS, b);
664
+ super(g.REQUIRED_METHODS, g);
611
665
  }
612
666
  registerBlockControls(t) {
613
667
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
614
668
  }
615
669
  };
616
670
  G.REQUIRED_METHODS = ["registerBlockControls"];
617
- var Je = G, et = class {
671
+ var ot = G, dt = class {
618
672
  constructor(e, t) {
619
673
  this.tabId = e, this.controlsIds = t;
620
674
  }
@@ -639,38 +693,38 @@ var Je = G, et = class {
639
693
  }
640
694
  }, E = class extends M {
641
695
  getTargetNodes(e) {
642
- const t = e.querySelectorAll(I.TEXT), r = e.asElement().hasClass(U) ? [e] : [];
643
- return t.length ? t : r;
696
+ const t = e.querySelectorAll(I.TEXT), n = e.asElement().hasClass(U) ? [e] : [];
697
+ return t.length ? t : n;
644
698
  }
645
- }, tt = class extends E {
699
+ }, ut = class extends E {
646
700
  getParentControlId() {
647
- return n.GENERAL.TEXT_ALIGN;
701
+ return a.GENERAL.TEXT_ALIGN;
648
702
  }
649
- }, rt = class extends E {
703
+ }, It = class extends E {
650
704
  getParentControlId() {
651
- return n.GENERAL.TEXT_COLOR;
705
+ return a.GENERAL.TEXT_COLOR;
652
706
  }
653
- }, nt = class extends E {
707
+ }, ct = class extends E {
654
708
  getParentControlId() {
655
- return n.BLOCK_TEXT.FONT_FAMILY;
709
+ return a.BLOCK_TEXT.FONT_FAMILY;
656
710
  }
657
- }, at = class extends E {
711
+ }, Tt = class extends E {
658
712
  getParentControlId() {
659
- return n.GENERAL.TEXT_LINE_SPACING;
713
+ return a.GENERAL.TEXT_LINE_SPACING;
660
714
  }
661
- }, st = class extends E {
715
+ }, bt = class extends E {
662
716
  getParentControlId() {
663
- return n.BLOCK_TEXT.INTERNAL_INDENTS;
717
+ return a.BLOCK_TEXT.INTERNAL_INDENTS;
664
718
  }
665
- }, it = class extends E {
719
+ }, Ot = class extends E {
666
720
  getParentControlId() {
667
- return n.GENERAL.TEXT_SIZE;
721
+ return a.GENERAL.TEXT_SIZE;
668
722
  }
669
- }, lt = class extends E {
723
+ }, ht = class extends E {
670
724
  getParentControlId() {
671
- return n.GENERAL.TEXT_STYLE;
725
+ return a.GENERAL.TEXT_STYLE;
672
726
  }
673
- }, De = class {
727
+ }, Ke = class {
674
728
  constructor(e) {
675
729
  this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [], this.i18n = e == null ? void 0 : e.i18n, this.styles = e == null ? void 0 : e.styles, this.previewStyles = e == null ? void 0 : e.previewStyles, this.uiElements = (e == null ? void 0 : e.uiElements) ?? [], this.uiElementTagRegistry = e == null ? void 0 : e.uiElementTagRegistry, this.controls = (e == null ? void 0 : e.controls) ?? [], this.settingsPanelRegistry = e == null ? void 0 : e.settingsPanelRegistry, this.contextActions = (e == null ? void 0 : e.contextActions) ?? [], this.blocks = (e == null ? void 0 : e.blocks) ?? [], this.generalPanelTabs = (e == null ? void 0 : e.generalPanelTabs) ?? [], this.externalSmartElementsLibrary = e == null ? void 0 : e.externalSmartElementsLibrary, this.externalImageLibrary = e == null ? void 0 : e.externalImageLibrary, this.externalImageLibraryTab = e == null ? void 0 : e.externalImageLibraryTab, this.externalAiAssistant = e == null ? void 0 : e.externalAiAssistant, this.externalDisplayConditionsLibrary = e == null ? void 0 : e.externalDisplayConditionsLibrary, this.externalVideoLibrary = e == null ? void 0 : e.externalVideoLibrary, this.blocksPanel = e == null ? void 0 : e.blocksPanel, this.iconsRegistry = e == null ? void 0 : e.iconsRegistry, this.id = Math.random().toString(36).substring(2);
676
730
  }
@@ -731,7 +785,7 @@ var Je = G, et = class {
731
785
  getGeneralPanelTabs() {
732
786
  return this.generalPanelTabs;
733
787
  }
734
- }, Et = class {
788
+ }, gt = class {
735
789
  constructor() {
736
790
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [];
737
791
  }
@@ -799,7 +853,7 @@ var Je = G, et = class {
799
853
  return this.generalPanelTabs.push(e), this;
800
854
  }
801
855
  build() {
802
- return new De({
856
+ return new Ke({
803
857
  i18n: this.i18n,
804
858
  styles: this.styles.map((e) => e.trim()).join(`
805
859
  `),
@@ -821,7 +875,7 @@ var Je = G, et = class {
821
875
  generalPanelTabs: this.generalPanelTabs
822
876
  });
823
877
  }
824
- }, Se = class m extends a {
878
+ }, Fe = class m extends s {
825
879
  constructor() {
826
880
  super(m.REQUIRED_METHODS, m);
827
881
  }
@@ -829,8 +883,8 @@ var Je = G, et = class {
829
883
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
830
884
  }
831
885
  };
832
- Se.REQUIRED_METHODS = ["openAiAssistant"];
833
- var Be = class R extends a {
886
+ Fe.REQUIRED_METHODS = ["openAiAssistant"];
887
+ var He = class R extends s {
834
888
  constructor() {
835
889
  super(R.REQUIRED_METHODS, R);
836
890
  }
@@ -849,7 +903,7 @@ var Be = class R extends a {
849
903
  * @param {ExternalDisplayConditionSelectedCB} _successCallback - Callback executed with the updated or newly created condition upon success.
850
904
  * @param {() => void} _cancelCallback - Callback executed when the dialog is closed without making changes.
851
905
  */
852
- openExternalDisplayConditionsDialog(t, r, s) {
906
+ openExternalDisplayConditionsDialog(t, n, i) {
853
907
  throw new Error("Method openExternalDisplayConditionsDialog() must be implemented by the subclass");
854
908
  }
855
909
  /**
@@ -870,19 +924,19 @@ var Be = class R extends a {
870
924
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
871
925
  }
872
926
  };
873
- Be.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
874
- var Me = class _ extends a {
927
+ He.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
928
+ var ke = class L extends s {
875
929
  constructor() {
876
- super(_.REQUIRED_METHODS, _);
930
+ super(L.REQUIRED_METHODS, L);
877
931
  }
878
- openImageLibrary(t, r, s) {
932
+ openImageLibrary(t, n, i) {
879
933
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
880
934
  }
881
935
  };
882
- Me.REQUIRED_METHODS = ["openImageLibrary"];
883
- var xe = class L extends a {
936
+ ke.REQUIRED_METHODS = ["openImageLibrary"];
937
+ var Xe = class _ extends s {
884
938
  constructor() {
885
- super(L.REQUIRED_METHODS, L);
939
+ super(_.REQUIRED_METHODS, _);
886
940
  }
887
941
  /**
888
942
  * @description Returns the translated name/label for the tab
@@ -897,30 +951,30 @@ var xe = class L extends a {
897
951
  * @param _onImageSelectCallback - Callback to invoke when an image is selected
898
952
  * @param _selectedNode - (Optional) Selected node for which the gallery is being opened
899
953
  */
900
- openImageLibraryTab(t, r, s) {
954
+ openImageLibraryTab(t, n, i) {
901
955
  throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
902
956
  }
903
957
  };
904
- xe.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
905
- var ve = class C extends a {
958
+ Xe.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
959
+ var pe = class C extends s {
906
960
  constructor() {
907
961
  super(C.REQUIRED_METHODS, C);
908
962
  }
909
- openSmartElementsLibrary(t, r) {
963
+ openSmartElementsLibrary(t, n) {
910
964
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
911
965
  }
912
966
  };
913
- ve.REQUIRED_METHODS = ["openSmartElementsLibrary"];
914
- var ye = class A extends a {
967
+ pe.REQUIRED_METHODS = ["openSmartElementsLibrary"];
968
+ var Ge = class A extends s {
915
969
  constructor() {
916
970
  super(A.REQUIRED_METHODS, A);
917
971
  }
918
- openExternalVideosLibraryDialog(t, r, s) {
972
+ openExternalVideosLibraryDialog(t, n, i) {
919
973
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
920
974
  }
921
975
  };
922
- ye.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
923
- var p = class N extends a {
976
+ Ge.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
977
+ var V = class N extends s {
924
978
  constructor() {
925
979
  super(N.REQUIRED_METHODS, N);
926
980
  }
@@ -928,8 +982,8 @@ var p = class N extends a {
928
982
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
929
983
  }
930
984
  };
931
- p.REQUIRED_METHODS = ["registerIconsSvg"];
932
- var ot = p, dt = class {
985
+ V.REQUIRED_METHODS = ["registerIconsSvg"];
986
+ var mt = V, Rt = class {
933
987
  constructor(e) {
934
988
  this.key = e;
935
989
  }
@@ -942,7 +996,7 @@ var ot = p, dt = class {
942
996
  params: this.params
943
997
  };
944
998
  }
945
- }, Q = class D extends a {
999
+ }, Q = class D extends s {
946
1000
  constructor() {
947
1001
  super(D.REQUIRED_METHODS, D);
948
1002
  }
@@ -979,7 +1033,7 @@ var ot = p, dt = class {
979
1033
  * @param name - The name of the attribute that was updated.
980
1034
  * @param value - The new value of the attribute.
981
1035
  */
982
- onAttributeUpdated(t, r) {
1036
+ onAttributeUpdated(t, n) {
983
1037
  }
984
1038
  /**
985
1039
  * Gets the unique identifier for this UI element type.
@@ -998,7 +1052,7 @@ var ot = p, dt = class {
998
1052
  }
999
1053
  };
1000
1054
  Q.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
1001
- var ut = Q, f = class S extends a {
1055
+ var Lt = Q, f = class S extends s {
1002
1056
  constructor() {
1003
1057
  super(S.REQUIRED_METHODS, S);
1004
1058
  }
@@ -1007,52 +1061,54 @@ var ut = Q, f = class S extends a {
1007
1061
  }
1008
1062
  };
1009
1063
  f.REQUIRED_METHODS = ["registerUiElements"];
1010
- var It = f;
1064
+ var _t = f;
1011
1065
  export {
1012
- Pe as Block,
1013
- Ke as BlockAttr,
1066
+ Qe as Block,
1067
+ Ye as BlockAttr,
1014
1068
  $ as BlockCompositionType,
1015
1069
  I as BlockSelector,
1016
- oe as BlockType,
1017
- we as BlocksPanel,
1070
+ Ee as BlockType,
1071
+ fe as BlocksPanel,
1018
1072
  M as BuiltInControl,
1019
- n as BuiltInControlTypes,
1020
- ke as ButtonAlignBuiltInControl,
1021
- Xe as ButtonBackgroundColorBuiltInControl,
1022
- Ve as ButtonBorderBuiltInControl,
1023
- He as ButtonBorderRadiusBuiltInControl,
1024
- Ge as ButtonColorBuiltInControl,
1073
+ a as BuiltInControlTypes,
1074
+ ze as ButtonAlignBuiltInControl,
1075
+ Ze as ButtonBackgroundColorBuiltInControl,
1076
+ je as ButtonBorderBuiltInControl,
1077
+ We as ButtonBorderRadiusBuiltInControl,
1078
+ qe as ButtonColorBuiltInControl,
1025
1079
  K as ButtonControls,
1026
- pe as ButtonFitToContainerBuiltInControl,
1027
- Qe as ButtonFontFamilyBuiltInControl,
1028
- fe as ButtonMarginsBuiltInControl,
1029
- Ye as ButtonPaddingsBuiltInControl,
1030
- $e as ButtonTextBuiltInControl,
1031
- We as ButtonTextSizeBuiltInControl,
1032
- ze as ButtonTextStyleAndFontColorBuiltInControl,
1033
- de as ContainerControls,
1034
- Ze as Control,
1035
- De as Extension,
1036
- Et as ExtensionBuilder,
1080
+ Je as ButtonFitToContainerBuiltInControl,
1081
+ et as ButtonFontFamilyBuiltInControl,
1082
+ tt as ButtonMarginsBuiltInControl,
1083
+ rt as ButtonPaddingsBuiltInControl,
1084
+ nt as ButtonTextBuiltInControl,
1085
+ at as ButtonTextSizeBuiltInControl,
1086
+ st as ButtonTextStyleAndFontColorBuiltInControl,
1087
+ oe as ContainerControls,
1088
+ it as Control,
1089
+ de as EditorStatePropertyType,
1090
+ Ke as Extension,
1091
+ gt as ExtensionBuilder,
1037
1092
  w as GeneralControls,
1038
- ot as IconsRegistry,
1093
+ mt as IconsRegistry,
1039
1094
  H as ImageControls,
1040
- je as ImageMarginsBuiltInControl,
1041
- qe as ImageSizeBuiltInControl,
1042
- dt as ModificationDescription,
1043
- Je as SettingsPanelRegistry,
1044
- et as SettingsPanelTab,
1045
- ue as SettingsTab,
1046
- tt as TextAlignBuiltInControl,
1047
- rt as TextColorBuiltInControl,
1095
+ lt as ImageMarginsBuiltInControl,
1096
+ Et as ImageSizeBuiltInControl,
1097
+ Rt as ModificationDescription,
1098
+ ue as PreviewDeviceMode,
1099
+ ot as SettingsPanelRegistry,
1100
+ dt as SettingsPanelTab,
1101
+ Ie as SettingsTab,
1102
+ ut as TextAlignBuiltInControl,
1103
+ It as TextColorBuiltInControl,
1048
1104
  F as TextControls,
1049
- nt as TextFontFamilyBuiltInControl,
1050
- at as TextLineSpacingBuiltInControl,
1051
- st as TextPaddingsBuiltInControl,
1052
- it as TextSizeBuiltInControl,
1053
- lt as TextStyleBuiltInControl,
1054
- Fe as UEAttr,
1055
- ut as UIElement,
1056
- It as UIElementTagRegistry,
1057
- Ae as UIElementType
1105
+ ct as TextFontFamilyBuiltInControl,
1106
+ Tt as TextLineSpacingBuiltInControl,
1107
+ bt as TextPaddingsBuiltInControl,
1108
+ Ot as TextSizeBuiltInControl,
1109
+ ht as TextStyleBuiltInControl,
1110
+ $e as UEAttr,
1111
+ Lt as UIElement,
1112
+ _t as UIElementTagRegistry,
1113
+ Pe as UIElementType
1058
1114
  };