@useinsider/guido 2.1.0-beta.425dfd0 → 2.1.0-beta.42f5dfa

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 (166) hide show
  1. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +15 -14
  2. package/dist/composables/useActionsApi.js +15 -13
  3. package/dist/composables/useHtmlValidator.js +106 -84
  4. package/dist/composables/useRecommendation.js +54 -21
  5. package/dist/config/compiler/recommendationCompilerRules.js +45 -39
  6. package/dist/config/compiler/utils/recommendationCompilerUtils.js +116 -0
  7. package/dist/config/migrator/itemsBlockMigrator.js +140 -123
  8. package/dist/config/migrator/recommendationMigrator.js +2 -2
  9. package/dist/enums/extensions/recommendationBlock.js +1 -1
  10. package/dist/enums/recommendation.js +16 -15
  11. package/dist/extensions/Blocks/Items/block.js +19 -28
  12. package/dist/extensions/Blocks/Items/controls/button/link.js +19 -31
  13. package/dist/extensions/Blocks/Items/controls/cardComposition.js +124 -85
  14. package/dist/extensions/Blocks/Items/controls/image/link.js +19 -31
  15. package/dist/extensions/Blocks/Items/controls/name/trimming.js +28 -40
  16. package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +35 -47
  17. package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +49 -54
  18. package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +42 -51
  19. package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +23 -36
  20. package/dist/extensions/Blocks/Items/controls/price/priceOrientation.js +45 -57
  21. package/dist/extensions/Blocks/Items/controls/price/singlePrice.js +42 -60
  22. package/dist/extensions/Blocks/Items/controls/settingsControl.js +189 -196
  23. package/dist/extensions/Blocks/Items/enums/settingsEnums.js +0 -2
  24. package/dist/extensions/Blocks/Items/extension.js +8 -9
  25. package/dist/extensions/Blocks/Items/settingsPanel.js +10 -15
  26. package/dist/extensions/Blocks/Items/template.js +181 -175
  27. package/dist/extensions/Blocks/Items/utils/nodeConfigUtils.js +65 -65
  28. package/dist/extensions/Blocks/Recommendation/block.js +130 -9
  29. package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +4 -0
  30. package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +4 -0
  31. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +65 -0
  32. package/dist/extensions/Blocks/Recommendation/constants/layout.js +20 -0
  33. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +19 -0
  34. package/dist/extensions/Blocks/Recommendation/controls/button/index.js +64 -0
  35. package/dist/extensions/Blocks/Recommendation/controls/cardBackground/index.js +80 -0
  36. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +232 -0
  37. package/dist/extensions/Blocks/Recommendation/controls/image/index.js +19 -0
  38. package/dist/extensions/Blocks/Recommendation/controls/layout/index.js +92 -0
  39. package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +102 -0
  40. package/dist/extensions/Blocks/Recommendation/controls/main/currency.js +209 -0
  41. package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +52 -0
  42. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +217 -0
  43. package/dist/extensions/Blocks/Recommendation/controls/main/locale.js +70 -0
  44. package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +110 -0
  45. package/dist/extensions/Blocks/Recommendation/controls/main/shuffle.js +67 -0
  46. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +286 -0
  47. package/dist/extensions/Blocks/Recommendation/controls/name/index.js +46 -0
  48. package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +108 -0
  49. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/index.js +44 -0
  50. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.js +48 -0
  51. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextAfterControl.js → omnibusDiscount/textAfter.js} +16 -14
  52. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextBeforeControl.js → omnibusDiscount/textBefore.js} +16 -14
  53. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/index.js +48 -0
  54. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPriceTextAfterControl.js → omnibusPrice/textAfter.js} +16 -14
  55. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPriceTextBeforeControl.js → omnibusPrice/textBefore.js} +14 -12
  56. package/dist/extensions/Blocks/Recommendation/controls/price/index.js +44 -0
  57. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +222 -0
  58. package/dist/extensions/Blocks/Recommendation/extension.js +40 -17
  59. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +19 -3
  60. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +13 -4
  61. package/dist/extensions/Blocks/Recommendation/services/configService.js +240 -0
  62. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +21 -10
  63. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +230 -193
  64. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +233 -0
  65. package/dist/extensions/Blocks/Recommendation/templates/grid/migration.js +251 -0
  66. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +69 -0
  67. package/dist/extensions/Blocks/Recommendation/templates/index.js +12 -0
  68. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +174 -0
  69. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +73 -0
  70. package/dist/extensions/Blocks/Recommendation/templates/utils.js +122 -0
  71. package/dist/extensions/Blocks/Recommendation/types/nodeConfig.js +6 -0
  72. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +9 -9
  73. package/dist/extensions/Blocks/Recommendation/utils/preserveTextStyles.js +26 -15
  74. package/dist/extensions/Blocks/Recommendation/utils/priceFormatter.js +29 -0
  75. package/dist/extensions/Blocks/Recommendation/utils/tagName.js +46 -0
  76. package/dist/extensions/Blocks/common-control.js +91 -92
  77. package/dist/extensions/Blocks/controlFactories.js +125 -93
  78. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +223 -169
  79. package/dist/services/recommendationApi.js +10 -9
  80. package/dist/services/templateLibraryApi.js +16 -13
  81. package/dist/src/components/wrappers/WpDrawer.vue.d.ts +1 -1
  82. package/dist/src/composables/useRecommendation.d.ts +1 -0
  83. package/dist/src/config/compiler/utils/recommendationCompilerUtils.d.ts +17 -0
  84. package/dist/src/extensions/Blocks/Items/block.d.ts +0 -1
  85. package/dist/src/extensions/Blocks/Items/controls/button/link.d.ts +0 -1
  86. package/dist/src/extensions/Blocks/Items/controls/cardComposition.d.ts +5 -5
  87. package/dist/src/extensions/Blocks/Items/controls/image/link.d.ts +0 -1
  88. package/dist/src/extensions/Blocks/Items/controls/name/trimming.d.ts +0 -1
  89. package/dist/src/extensions/Blocks/Items/controls/price/currencyLocation.d.ts +0 -1
  90. package/dist/src/extensions/Blocks/Items/controls/price/currencySymbol.d.ts +0 -1
  91. package/dist/src/extensions/Blocks/Items/controls/price/formattedPrice.d.ts +0 -1
  92. package/dist/src/extensions/Blocks/Items/controls/price/hideDiscount.d.ts +0 -1
  93. package/dist/src/extensions/Blocks/Items/controls/price/priceOrientation.d.ts +0 -1
  94. package/dist/src/extensions/Blocks/Items/controls/price/singlePrice.d.ts +0 -5
  95. package/dist/src/extensions/Blocks/Items/controls/settingsControl.d.ts +10 -12
  96. package/dist/src/extensions/Blocks/Items/utils/nodeConfigUtils.d.ts +2 -1
  97. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +67 -0
  98. package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +13 -0
  99. package/dist/src/extensions/Blocks/Recommendation/{constants.d.ts → constants/controlIds.d.ts} +0 -24
  100. package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +49 -0
  101. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +13 -0
  102. package/dist/src/extensions/Blocks/Recommendation/constants/layout.d.ts +35 -0
  103. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +31 -0
  104. package/dist/src/extensions/Blocks/Recommendation/controls/button/index.d.ts +143 -0
  105. package/dist/src/extensions/Blocks/Recommendation/controls/cardBackground/index.d.ts +31 -0
  106. package/dist/src/extensions/Blocks/Recommendation/{cardCompositionControl.d.ts → controls/cardComposition/index.d.ts} +23 -3
  107. package/dist/src/extensions/Blocks/Recommendation/controls/image/index.d.ts +35 -0
  108. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +21 -589
  109. package/dist/src/extensions/Blocks/Recommendation/controls/layout/index.d.ts +37 -0
  110. package/dist/src/extensions/Blocks/Recommendation/controls/main/algorithm.d.ts +29 -0
  111. package/dist/src/extensions/Blocks/Recommendation/controls/main/currency.d.ts +52 -0
  112. package/dist/src/extensions/Blocks/Recommendation/controls/main/filters.d.ts +22 -0
  113. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +68 -0
  114. package/dist/src/extensions/Blocks/Recommendation/controls/main/locale.d.ts +24 -0
  115. package/dist/src/extensions/Blocks/Recommendation/controls/main/productLayout.d.ts +42 -0
  116. package/dist/src/extensions/Blocks/Recommendation/controls/main/shuffle.d.ts +23 -0
  117. package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +214 -0
  118. package/dist/src/extensions/Blocks/Recommendation/controls/name/index.d.ts +97 -0
  119. package/dist/src/extensions/Blocks/Recommendation/controls/name/textTrim.d.ts +34 -0
  120. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/index.d.ts +95 -0
  121. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +100 -0
  122. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/textAfter.d.ts +15 -0
  123. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/textBefore.d.ts +15 -0
  124. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +100 -0
  125. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/textAfter.d.ts +15 -0
  126. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/textBefore.d.ts +15 -0
  127. package/dist/src/extensions/Blocks/Recommendation/controls/price/index.d.ts +95 -0
  128. package/dist/src/extensions/Blocks/Recommendation/controls/spacing/index.d.ts +83 -0
  129. package/dist/src/extensions/Blocks/Recommendation/extension.d.ts +9 -0
  130. package/dist/src/extensions/Blocks/Recommendation/services/configService.d.ts +151 -0
  131. package/dist/src/extensions/Blocks/Recommendation/services/index.d.ts +6 -0
  132. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +131 -468
  133. package/dist/src/extensions/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +20 -0
  134. package/dist/src/extensions/Blocks/Recommendation/templates/{migrationTemplate.d.ts → grid/migration.d.ts} +11 -4
  135. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +33 -0
  136. package/dist/src/extensions/Blocks/Recommendation/templates/index.d.ts +39 -0
  137. package/dist/src/extensions/Blocks/Recommendation/templates/list/elementRenderer.d.ts +8 -0
  138. package/dist/src/extensions/Blocks/Recommendation/templates/list/migration.d.ts +25 -0
  139. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +18 -0
  140. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +57 -0
  141. package/dist/src/extensions/Blocks/Recommendation/types/index.d.ts +7 -0
  142. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +160 -0
  143. package/dist/src/extensions/Blocks/Recommendation/utils/priceFormatter.d.ts +33 -0
  144. package/dist/src/extensions/Blocks/Recommendation/utils/stylePreserver.d.ts +113 -0
  145. package/dist/src/extensions/Blocks/Recommendation/utils/tagName.d.ts +77 -0
  146. package/dist/src/extensions/Blocks/common-control.d.ts +4 -5
  147. package/dist/static/styles/customEditorStyle.css.js +25 -2
  148. package/dist/utils/pairProductVariables.js +57 -56
  149. package/dist/utils/templatePreparation.js +15 -14
  150. package/package.json +1 -1
  151. package/dist/extensions/Blocks/Items/store/items-block.js +0 -79
  152. package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +0 -187
  153. package/dist/extensions/Blocks/Recommendation/constants.js +0 -13
  154. package/dist/extensions/Blocks/Recommendation/control.js +0 -336
  155. package/dist/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.js +0 -68
  156. package/dist/extensions/Blocks/Recommendation/controls/index.js +0 -245
  157. package/dist/extensions/Blocks/Recommendation/controls/nameTextTrimControl.js +0 -74
  158. package/dist/extensions/Blocks/Recommendation/controls/spacingControl.js +0 -188
  159. package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +0 -181
  160. package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +0 -189
  161. package/dist/extensions/Blocks/Recommendation/templates/templateUtils.js +0 -209
  162. package/dist/src/extensions/Blocks/Items/store/items-block.d.ts +0 -45
  163. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +0 -38
  164. package/dist/src/extensions/Blocks/Recommendation/controls/nameTextTrimControl.d.ts +0 -16
  165. package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +0 -16
  166. package/dist/src/extensions/Blocks/Recommendation/templates/templateUtils.d.ts +0 -52
@@ -1,17 +1,17 @@
1
- var B = class d {
1
+ var x = class d {
2
2
  /**
3
3
  * Validates that all required methods are properly implemented in the subclass.
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, a) {
8
+ if (a !== d) {
9
+ d.validatedClasses.has(a) || this.validateImplementation(t, a);
10
+ const i = d.validationErrors.get(a);
11
+ if (i && i.length > 0)
12
12
  throw new Error(
13
- `${r.name} has validation errors:
14
- ${s.map((o) => ` - ${o}`).join(`
13
+ `${a.name} has validation errors:
14
+ ${i.map((o) => ` - ${o}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -20,21 +20,21 @@ ${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) {
24
- var x;
25
- const s = [], o = r.name, Y = Object.getPrototypeOf(this);
23
+ validateImplementation(t, a) {
24
+ var M;
25
+ const i = [], o = a.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] === a.prototype[u] && i.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
32
+ }), d.validatedClasses.add(a), i.length > 0 ? (d.validationErrors.set(a, i), console.error(`[${o} Validation] ${o} validation failed:`, i)) : typeof process < "u" && ((M = process.env) == null ? void 0 : M.NODE_ENV) === "development" && console.log(`[${o} Validation] ✅ ${o} validated successfully`);
33
33
  }
34
34
  };
35
- B.validatedClasses = /* @__PURE__ */ new Set();
36
- B.validationErrors = /* @__PURE__ */ new Map();
37
- var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), y = class T extends a {
35
+ x.validatedClasses = /* @__PURE__ */ new Set();
36
+ x.validationErrors = /* @__PURE__ */ new Map();
37
+ var s = x, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), v = class T extends s {
38
38
  constructor() {
39
39
  super(T.REQUIRED_METHODS, T);
40
40
  }
@@ -195,8 +195,8 @@ var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCT
195
195
  throw new Error("Method getDescription() must be implemented by the subclass");
196
196
  }
197
197
  };
198
- y.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
- var we = y, W = class c extends a {
198
+ v.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
+ var Ge = v, W = class c extends s {
200
200
  constructor() {
201
201
  super(c.REQUIRED_METHODS, c);
202
202
  }
@@ -214,9 +214,9 @@ var we = y, W = class c extends a {
214
214
  }
215
215
  };
216
216
  W.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
- var z = class O extends a {
217
+ var z = class h extends s {
218
218
  constructor() {
219
- super(O.REQUIRED_METHODS, O);
219
+ super(h.REQUIRED_METHODS, h);
220
220
  }
221
221
  getId() {
222
222
  throw new Error("Method getId() must be implemented by the subclass");
@@ -238,78 +238,132 @@ var Z = {
238
238
  href: "href",
239
239
  width: "width",
240
240
  height: "height"
241
- }, j = {
242
- href: "href"
243
- }, Pe = {
244
- BLOCK_IMAGE: Z,
245
- BLOCK_BUTTON: j
246
- }, v = "esd-block-button", U = "esd-block-text", w = "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", Ee = "esd-stripe", le = "esd-amp-form", I = ((e) => (e.BUTTON = `.${v}`, e.TEXT = `.${U}`, e.IMAGE = `.${w}`, 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 = `.${Ee}`, e.FORM = `.${le}`, 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 || {}), P = /* @__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))(P || {}), 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 = {
241
+ }, Ve = {
242
+ BLOCK_IMAGE: Z
243
+ }, 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", ae = "esd-block-html", ne = "esd-block-spacer", se = "esd-container-frame", ie = "esd-stripe", Ee = "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 = `.${ae}`, e.SPACER = `.${ne}`, e.CONTAINER = `.${se}`, e.STRIPE = `.${ie}`, e.FORM = `.${Ee}`, e))(I || {}), le = /* @__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))(le || {}), 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 || {}), n = {
247
244
  BLOCK_BUTTON: K,
248
245
  BLOCK_TEXT: F,
249
246
  BLOCK_IMAGE: H,
250
- GENERAL: P
251
- }, ue = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(ue || {}), E = {
247
+ GENERAL: w
248
+ }, de = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(de || {}), r = {
252
249
  name: "name",
253
250
  disabled: "disabled"
254
- }, Ie = {
255
- ...E,
251
+ }, ue = {
252
+ ...r,
256
253
  caption: "caption",
257
254
  icon: "icon"
258
- }, Te = {
259
- ...E,
255
+ }, Ie = {
256
+ ...r,
260
257
  caption: "caption"
261
- }, ce = {
262
- ...E,
258
+ }, Te = {
259
+ ...r,
263
260
  minValue: "min-value",
264
261
  maxValue: "max-value",
265
262
  step: "step"
266
- }, Oe = {
267
- ...E,
268
- text: "text"
263
+ }, ce = {
264
+ ...r,
265
+ placeholder: "placeholder",
266
+ minDate: "min-date"
269
267
  }, he = {
270
- ...E
268
+ ...r,
269
+ text: "text",
270
+ hint: "hint"
271
+ }, be = {
272
+ ...r,
273
+ type: "type"
274
+ }, Oe = {
275
+ ...r,
276
+ buttons: "buttons"
271
277
  }, X = {
272
- ...E,
278
+ ...r,
273
279
  searchable: "searchable",
274
280
  multiSelect: "multi-select",
275
281
  placeholder: "placeholder",
276
282
  items: "items"
277
283
  }, ge = {
278
- ...X
279
- }, be = {
284
+ ...X,
285
+ addCustomFontOption: "add-custom-font-option"
286
+ }, me = {
287
+ ...r,
280
288
  text: "text",
281
289
  value: "value"
282
- }, me = {
290
+ }, Re = {
291
+ ...r,
283
292
  text: "text",
293
+ hint: "hint",
284
294
  icon: "icon",
285
295
  value: "value"
286
- }, Re = {
287
- ...E
288
296
  }, _e = {
289
- controlId: "control-id"
297
+ ...r,
298
+ buttons: "buttons"
290
299
  }, Le = {
291
- ...E,
300
+ ...r,
301
+ text: "text",
302
+ hint: "hint",
292
303
  icon: "icon",
293
- position: "position"
304
+ value: "value"
294
305
  }, Ce = {
295
- ...E
296
- }, Ke = {
297
- BUTTON: Ie,
298
- CHECKBOX: Te,
299
- COLOR: E,
300
- COUNTER: ce,
301
- LABEL: Oe,
302
- RADIO_BUTTONS: he,
306
+ ...r,
307
+ placeholder: "placeholder"
308
+ }, Ae = {
309
+ ...r,
310
+ resizable: "resizable",
311
+ placeholder: "placeholder"
312
+ }, Ne = {
313
+ ...r,
314
+ img: "img",
315
+ src: "src",
316
+ title: "title",
317
+ imageClass: "image-class",
318
+ hint: "hint",
319
+ disabled: "disabled",
320
+ isActive: "is-active",
321
+ visibility: "visibility",
322
+ transform: "transform"
323
+ }, De = {
324
+ ...r,
325
+ controlId: "control-id"
326
+ }, Se = {
327
+ ...r,
328
+ expanded: "expanded"
329
+ }, xe = {
330
+ ...r,
331
+ icon: "icon",
332
+ position: "position"
333
+ }, Be = {
334
+ ...r
335
+ }, Me = {
336
+ ...r,
337
+ icon: "icon"
338
+ }, ve = {
339
+ ...r
340
+ }, Qe = {
341
+ DEFAULT: r,
342
+ BUTTON: ue,
343
+ CHECKBOX: Ie,
344
+ CHECK_BUTTONS: _e,
345
+ COLOR: r,
346
+ COUNTER: Te,
347
+ DATEPICKER: ce,
348
+ LABEL: he,
349
+ MESSAGE: be,
350
+ RADIO_BUTTONS: Oe,
303
351
  SELECTPICKER: X,
304
352
  FONT_FAMILY_SELECT: ge,
305
- SWITCHER: E,
306
- TEXT: Re,
307
- SELECT_ITEM: be,
308
- RADIO_ITEM: me,
309
- NESTED_CONTROL: _e,
310
- ORDERABLE: Le,
311
- ORDERABLE_ITEM: Ce
312
- }, 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 {
353
+ SWITCHER: r,
354
+ TEXT: Ce,
355
+ TEXTAREA: Ae,
356
+ ICON: Ne,
357
+ CHECK_ITEM: Re,
358
+ SELECT_ITEM: me,
359
+ RADIO_ITEM: Le,
360
+ NESTED_CONTROL: De,
361
+ EXPANDABLE: Se,
362
+ ORDERABLE: xe,
363
+ ORDERABLE_ITEM: Be,
364
+ ORDERABLE_ICON: Me,
365
+ REPEATABLE: ve
366
+ }, ye = /* @__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))(ye || {}), B = class {
313
367
  /**
314
368
  * @description returns map of nodes parent control operates on
315
369
  */
@@ -340,68 +394,68 @@ var Z = {
340
394
  isVisible(e) {
341
395
  return !0;
342
396
  }
343
- }, i = class extends M {
397
+ }, E = class extends B {
344
398
  getTargetNodes(e) {
345
- const t = e.querySelectorAll(I.BUTTON), r = e.asElement().hasClass(v) ? [e] : [];
346
- return t.length ? t : r;
399
+ const t = e.querySelectorAll(I.BUTTON), a = e.asElement().hasClass(y) ? [e] : [];
400
+ return t.length ? t : a;
347
401
  }
348
- }, Fe = class extends i {
402
+ }, fe = class extends E {
349
403
  getParentControlId() {
350
404
  return n.BLOCK_BUTTON.BORDER_RADIUS;
351
405
  }
352
406
  getLabels() {
353
407
  }
354
- }, He = class extends i {
408
+ }, Ye = class extends E {
355
409
  getParentControlId() {
356
410
  return n.BLOCK_BUTTON.ALIGNMENT;
357
411
  }
358
- }, Xe = class extends i {
412
+ }, $e = class extends E {
359
413
  getParentControlId() {
360
414
  return n.GENERAL.BACKGROUND_COLOR;
361
415
  }
362
- }, ke = class extends i {
416
+ }, We = class extends E {
363
417
  getParentControlId() {
364
418
  return n.BLOCK_BUTTON.BORDER;
365
419
  }
366
420
  getLabels() {
367
421
  }
368
- }, Ge = class extends i {
422
+ }, ze = class extends E {
369
423
  getParentControlId() {
370
424
  return n.BLOCK_BUTTON.COLOR;
371
425
  }
372
- }, Ve = class extends i {
426
+ }, Ze = class extends E {
373
427
  getParentControlId() {
374
428
  return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
375
429
  }
376
- }, pe = class extends i {
430
+ }, je = class extends E {
377
431
  getParentControlId() {
378
432
  return n.BLOCK_BUTTON.FONT_FAMILY;
379
433
  }
380
- }, Qe = class extends i {
434
+ }, qe = class extends E {
381
435
  getParentControlId() {
382
436
  return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
383
437
  }
384
- }, fe = class extends i {
438
+ }, Je = class extends E {
385
439
  getParentControlId() {
386
440
  return n.BLOCK_BUTTON.INTERNAL_INDENTS;
387
441
  }
388
- }, Ye = class extends i {
442
+ }, et = class extends E {
389
443
  getParentControlId() {
390
444
  return n.BLOCK_BUTTON.TEXT;
391
445
  }
392
- }, $e = class extends i {
446
+ }, tt = class extends E {
393
447
  getParentControlId() {
394
448
  return n.BLOCK_BUTTON.FONT_SIZE;
395
449
  }
396
- }, We = class extends i {
450
+ }, rt = class extends E {
397
451
  getParentControlId() {
398
452
  return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
399
453
  }
400
454
  getLabels() {
401
455
  }
402
- }, k = class h extends a {
456
+ }, k = class b extends s {
403
457
  constructor() {
404
- super(h.REQUIRED_METHODS, h);
458
+ super(b.REQUIRED_METHODS, b);
405
459
  }
406
460
  /**
407
461
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -455,9 +509,9 @@ var Z = {
455
509
  }
456
510
  };
457
511
  k.REQUIRED_METHODS = ["getId", "getTemplate"];
458
- var ze = k, Ne = class g extends a {
512
+ var at = k, Ue = class O extends s {
459
513
  constructor() {
460
- super(g.REQUIRED_METHODS, g);
514
+ super(O.REQUIRED_METHODS, O);
461
515
  }
462
516
  /**
463
517
  * Gets the unique identifier for this tab.
@@ -524,30 +578,30 @@ var ze = k, Ne = class g extends a {
524
578
  onDestroy() {
525
579
  }
526
580
  };
527
- Ne.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
528
- var G = class extends M {
581
+ Ue.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
582
+ var p = class extends B {
529
583
  getTargetNodes(e) {
530
- const t = e.querySelectorAll(I.IMAGE), r = e.asElement().hasClass(w) ? [e] : [];
531
- return t.length ? t : r;
584
+ const t = e.querySelectorAll(I.IMAGE), a = e.asElement().hasClass(P) ? [e] : [];
585
+ return t.length ? t : a;
532
586
  }
533
- }, Ze = class extends G {
587
+ }, nt = class extends p {
534
588
  getParentControlId() {
535
589
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
536
590
  }
537
- }, je = class extends G {
591
+ }, st = class extends p {
538
592
  getParentControlId() {
539
593
  return n.BLOCK_IMAGE.SIZE;
540
594
  }
541
- }, V = class b extends a {
595
+ }, G = class g extends s {
542
596
  constructor() {
543
- super(b.REQUIRED_METHODS, b);
597
+ super(g.REQUIRED_METHODS, g);
544
598
  }
545
599
  registerBlockControls(t) {
546
600
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
547
601
  }
548
602
  };
549
- V.REQUIRED_METHODS = ["registerBlockControls"];
550
- var qe = V, Je = class {
603
+ G.REQUIRED_METHODS = ["registerBlockControls"];
604
+ var it = G, Et = class {
551
605
  constructor(e, t) {
552
606
  this.tabId = e, this.controlsIds = t;
553
607
  }
@@ -570,40 +624,40 @@ var qe = V, Je = class {
570
624
  const t = this.controlsIds.indexOf(e);
571
625
  t !== -1 && this.controlsIds.splice(t, 1);
572
626
  }
573
- }, l = class extends M {
627
+ }, l = class extends B {
574
628
  getTargetNodes(e) {
575
- const t = e.querySelectorAll(I.TEXT), r = e.asElement().hasClass(U) ? [e] : [];
576
- return t.length ? t : r;
629
+ const t = e.querySelectorAll(I.TEXT), a = e.asElement().hasClass(U) ? [e] : [];
630
+ return t.length ? t : a;
577
631
  }
578
- }, et = class extends l {
632
+ }, lt = class extends l {
579
633
  getParentControlId() {
580
634
  return n.GENERAL.TEXT_ALIGN;
581
635
  }
582
- }, tt = class extends l {
636
+ }, ot = class extends l {
583
637
  getParentControlId() {
584
638
  return n.GENERAL.TEXT_COLOR;
585
639
  }
586
- }, rt = class extends l {
640
+ }, dt = class extends l {
587
641
  getParentControlId() {
588
642
  return n.BLOCK_TEXT.FONT_FAMILY;
589
643
  }
590
- }, nt = class extends l {
644
+ }, ut = class extends l {
591
645
  getParentControlId() {
592
646
  return n.GENERAL.TEXT_LINE_SPACING;
593
647
  }
594
- }, at = class extends l {
648
+ }, It = class extends l {
595
649
  getParentControlId() {
596
650
  return n.BLOCK_TEXT.INTERNAL_INDENTS;
597
651
  }
598
- }, st = class extends l {
652
+ }, Tt = class extends l {
599
653
  getParentControlId() {
600
654
  return n.GENERAL.TEXT_SIZE;
601
655
  }
602
- }, it = class extends l {
656
+ }, ct = class extends l {
603
657
  getParentControlId() {
604
658
  return n.GENERAL.TEXT_STYLE;
605
659
  }
606
- }, De = class {
660
+ }, Pe = class {
607
661
  constructor(e) {
608
662
  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);
609
663
  }
@@ -664,7 +718,7 @@ var qe = V, Je = class {
664
718
  getGeneralPanelTabs() {
665
719
  return this.generalPanelTabs;
666
720
  }
667
- }, Et = class {
721
+ }, ht = class {
668
722
  constructor() {
669
723
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [];
670
724
  }
@@ -732,7 +786,7 @@ var qe = V, Je = class {
732
786
  return this.generalPanelTabs.push(e), this;
733
787
  }
734
788
  build() {
735
- return new De({
789
+ return new Pe({
736
790
  i18n: this.i18n,
737
791
  styles: this.styles.map((e) => e.trim()).join(`
738
792
  `),
@@ -754,7 +808,7 @@ var qe = V, Je = class {
754
808
  generalPanelTabs: this.generalPanelTabs
755
809
  });
756
810
  }
757
- }, Se = class m extends a {
811
+ }, we = class m extends s {
758
812
  constructor() {
759
813
  super(m.REQUIRED_METHODS, m);
760
814
  }
@@ -762,8 +816,8 @@ var qe = V, Je = class {
762
816
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
763
817
  }
764
818
  };
765
- Se.REQUIRED_METHODS = ["openAiAssistant"];
766
- var Be = class R extends a {
819
+ we.REQUIRED_METHODS = ["openAiAssistant"];
820
+ var Ke = class R extends s {
767
821
  constructor() {
768
822
  super(R.REQUIRED_METHODS, R);
769
823
  }
@@ -782,7 +836,7 @@ var Be = class R extends a {
782
836
  * @param {ExternalDisplayConditionSelectedCB} _successCallback - Callback executed with the updated or newly created condition upon success.
783
837
  * @param {() => void} _cancelCallback - Callback executed when the dialog is closed without making changes.
784
838
  */
785
- openExternalDisplayConditionsDialog(t, r, s) {
839
+ openExternalDisplayConditionsDialog(t, a, i) {
786
840
  throw new Error("Method openExternalDisplayConditionsDialog() must be implemented by the subclass");
787
841
  }
788
842
  /**
@@ -803,17 +857,17 @@ var Be = class R extends a {
803
857
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
804
858
  }
805
859
  };
806
- Be.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
807
- var Me = class _ extends a {
860
+ Ke.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
861
+ var Fe = class _ extends s {
808
862
  constructor() {
809
863
  super(_.REQUIRED_METHODS, _);
810
864
  }
811
- openImageLibrary(t, r, s) {
865
+ openImageLibrary(t, a, i) {
812
866
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
813
867
  }
814
868
  };
815
- Me.REQUIRED_METHODS = ["openImageLibrary"];
816
- var xe = class L extends a {
869
+ Fe.REQUIRED_METHODS = ["openImageLibrary"];
870
+ var He = class L extends s {
817
871
  constructor() {
818
872
  super(L.REQUIRED_METHODS, L);
819
873
  }
@@ -830,30 +884,30 @@ var xe = class L extends a {
830
884
  * @param _onImageSelectCallback - Callback to invoke when an image is selected
831
885
  * @param _selectedNode - (Optional) Selected node for which the gallery is being opened
832
886
  */
833
- openImageLibraryTab(t, r, s) {
887
+ openImageLibraryTab(t, a, i) {
834
888
  throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
835
889
  }
836
890
  };
837
- xe.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
838
- var ye = class C extends a {
891
+ He.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
892
+ var Xe = class C extends s {
839
893
  constructor() {
840
894
  super(C.REQUIRED_METHODS, C);
841
895
  }
842
- openSmartElementsLibrary(t, r) {
896
+ openSmartElementsLibrary(t, a) {
843
897
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
844
898
  }
845
899
  };
846
- ye.REQUIRED_METHODS = ["openSmartElementsLibrary"];
847
- var ve = class A extends a {
900
+ Xe.REQUIRED_METHODS = ["openSmartElementsLibrary"];
901
+ var ke = class A extends s {
848
902
  constructor() {
849
903
  super(A.REQUIRED_METHODS, A);
850
904
  }
851
- openExternalVideosLibraryDialog(t, r, s) {
905
+ openExternalVideosLibraryDialog(t, a, i) {
852
906
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
853
907
  }
854
908
  };
855
- ve.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
856
- var p = class N extends a {
909
+ ke.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
910
+ var V = class N extends s {
857
911
  constructor() {
858
912
  super(N.REQUIRED_METHODS, N);
859
913
  }
@@ -861,8 +915,8 @@ var p = class N extends a {
861
915
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
862
916
  }
863
917
  };
864
- p.REQUIRED_METHODS = ["registerIconsSvg"];
865
- var lt = p, ot = class {
918
+ V.REQUIRED_METHODS = ["registerIconsSvg"];
919
+ var bt = V, Ot = class {
866
920
  constructor(e) {
867
921
  this.key = e;
868
922
  }
@@ -875,7 +929,7 @@ var lt = p, ot = class {
875
929
  params: this.params
876
930
  };
877
931
  }
878
- }, Q = class D extends a {
932
+ }, Q = class D extends s {
879
933
  constructor() {
880
934
  super(D.REQUIRED_METHODS, D);
881
935
  }
@@ -912,7 +966,7 @@ var lt = p, ot = class {
912
966
  * @param name - The name of the attribute that was updated.
913
967
  * @param value - The new value of the attribute.
914
968
  */
915
- onAttributeUpdated(t, r) {
969
+ onAttributeUpdated(t, a) {
916
970
  }
917
971
  /**
918
972
  * Gets the unique identifier for this UI element type.
@@ -931,7 +985,7 @@ var lt = p, ot = class {
931
985
  }
932
986
  };
933
987
  Q.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
934
- var dt = Q, f = class S extends a {
988
+ var gt = Q, f = class S extends s {
935
989
  constructor() {
936
990
  super(S.REQUIRED_METHODS, S);
937
991
  }
@@ -940,51 +994,51 @@ var dt = Q, f = class S extends a {
940
994
  }
941
995
  };
942
996
  f.REQUIRED_METHODS = ["registerUiElements"];
943
- var ut = f;
997
+ var mt = f;
944
998
  export {
945
- we as Block,
946
- Pe as BlockAttr,
999
+ Ge as Block,
1000
+ Ve as BlockAttr,
947
1001
  $ as BlockCompositionType,
948
1002
  I as BlockSelector,
949
- oe as BlockType,
950
- M as BuiltInControl,
1003
+ le as BlockType,
1004
+ B as BuiltInControl,
951
1005
  n as BuiltInControlTypes,
952
- He as ButtonAlignBuiltInControl,
953
- Xe as ButtonBackgroundColorBuiltInControl,
954
- ke as ButtonBorderBuiltInControl,
955
- Fe as ButtonBorderRadiusBuiltInControl,
956
- Ge as ButtonColorBuiltInControl,
1006
+ Ye as ButtonAlignBuiltInControl,
1007
+ $e as ButtonBackgroundColorBuiltInControl,
1008
+ We as ButtonBorderBuiltInControl,
1009
+ fe as ButtonBorderRadiusBuiltInControl,
1010
+ ze as ButtonColorBuiltInControl,
957
1011
  K as ButtonControls,
958
- Ve as ButtonFitToContainerBuiltInControl,
959
- pe as ButtonFontFamilyBuiltInControl,
960
- Qe as ButtonMarginsBuiltInControl,
961
- fe as ButtonPaddingsBuiltInControl,
962
- Ye as ButtonTextBuiltInControl,
963
- $e as ButtonTextSizeBuiltInControl,
964
- We as ButtonTextStyleAndFontColorBuiltInControl,
965
- de as ContainerControls,
966
- ze as Control,
967
- De as Extension,
968
- Et as ExtensionBuilder,
969
- P as GeneralControls,
970
- lt as IconsRegistry,
1012
+ Ze as ButtonFitToContainerBuiltInControl,
1013
+ je as ButtonFontFamilyBuiltInControl,
1014
+ qe as ButtonMarginsBuiltInControl,
1015
+ Je as ButtonPaddingsBuiltInControl,
1016
+ et as ButtonTextBuiltInControl,
1017
+ tt as ButtonTextSizeBuiltInControl,
1018
+ rt as ButtonTextStyleAndFontColorBuiltInControl,
1019
+ oe as ContainerControls,
1020
+ at as Control,
1021
+ Pe as Extension,
1022
+ ht as ExtensionBuilder,
1023
+ w as GeneralControls,
1024
+ bt as IconsRegistry,
971
1025
  H as ImageControls,
972
- Ze as ImageMarginsBuiltInControl,
973
- je as ImageSizeBuiltInControl,
974
- ot as ModificationDescription,
975
- qe as SettingsPanelRegistry,
976
- Je as SettingsPanelTab,
977
- ue as SettingsTab,
978
- et as TextAlignBuiltInControl,
979
- tt as TextColorBuiltInControl,
1026
+ nt as ImageMarginsBuiltInControl,
1027
+ st as ImageSizeBuiltInControl,
1028
+ Ot as ModificationDescription,
1029
+ it as SettingsPanelRegistry,
1030
+ Et as SettingsPanelTab,
1031
+ de as SettingsTab,
1032
+ lt as TextAlignBuiltInControl,
1033
+ ot as TextColorBuiltInControl,
980
1034
  F as TextControls,
981
- rt as TextFontFamilyBuiltInControl,
982
- nt as TextLineSpacingBuiltInControl,
983
- at as TextPaddingsBuiltInControl,
984
- st as TextSizeBuiltInControl,
985
- it as TextStyleBuiltInControl,
986
- Ke as UEAttr,
987
- dt as UIElement,
988
- ut as UIElementTagRegistry,
989
- Ae as UIElementType
1035
+ dt as TextFontFamilyBuiltInControl,
1036
+ ut as TextLineSpacingBuiltInControl,
1037
+ It as TextPaddingsBuiltInControl,
1038
+ Tt as TextSizeBuiltInControl,
1039
+ ct as TextStyleBuiltInControl,
1040
+ Qe as UEAttr,
1041
+ gt as UIElement,
1042
+ mt as UIElementTagRegistry,
1043
+ ye as UIElementType
990
1044
  };