@useinsider/guido 1.0.3-beta.c2cbb62 → 1.0.3-beta.c4d9021

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 (164) hide show
  1. package/README.md +0 -3
  2. package/dist/components/Guido.vue.js +1 -1
  3. package/dist/components/organisms/LoadingWrapper.vue.js +1 -1
  4. package/dist/components/organisms/header/RightSlot.vue2.js +13 -13
  5. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +18 -20
  6. package/dist/composables/useActionsApi.js +1 -1
  7. package/dist/composables/useBlocksConfig.js +2 -1
  8. package/dist/composables/useHtmlCompiler.js +13 -15
  9. package/dist/composables/useHtmlValidator.js +35 -36
  10. package/dist/composables/useStripo.js +28 -32
  11. package/dist/enums/extensions/recommendationBlock.js +2 -2
  12. package/dist/enums/onboarding.js +3 -7
  13. package/dist/extensions/Blocks/Checkbox/block.js +2 -5
  14. package/dist/extensions/Blocks/Checkbox/control.js +14 -15
  15. package/dist/extensions/Blocks/Checkbox/template.js +9 -14
  16. package/dist/extensions/Blocks/RadioButton/block.js +2 -5
  17. package/dist/extensions/Blocks/RadioButton/control.js +17 -18
  18. package/dist/extensions/Blocks/RadioButton/template.js +9 -18
  19. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +43 -43
  20. package/dist/extensions/Blocks/Unsubscribe/block.js +41 -45
  21. package/dist/extensions/Blocks/common-control.js +110 -174
  22. package/dist/guido.css +1 -1
  23. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +168 -213
  24. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +12 -13
  25. package/dist/node_modules/lodash-es/keysIn.js +3 -3
  26. package/dist/package.json.js +1 -1
  27. package/dist/services/recommendationApi.js +19 -13
  28. package/dist/src/enums/onboarding.d.ts +0 -4
  29. package/dist/src/extensions/Blocks/Checkbox/block.d.ts +0 -1
  30. package/dist/src/extensions/Blocks/Checkbox/template.d.ts +1 -1
  31. package/dist/src/extensions/Blocks/RadioButton/block.d.ts +0 -1
  32. package/dist/src/extensions/Blocks/RadioButton/template.d.ts +1 -1
  33. package/dist/src/extensions/Blocks/Unsubscribe/block.d.ts +4 -3
  34. package/dist/src/extensions/Blocks/common-control.d.ts +7 -44
  35. package/dist/src/stores/onboarding.d.ts +0 -334
  36. package/dist/static/styles/customEditorStyle.css.js +1 -1
  37. package/dist/stores/onboarding.js +12 -20
  38. package/dist/utils/genericUtil.js +17 -16
  39. package/package.json +4 -6
  40. package/dist/components/organisms/onboarding/ItemsOnboarding.vue.js +0 -21
  41. package/dist/components/organisms/onboarding/ItemsOnboarding.vue2.js +0 -99
  42. package/dist/config/compiler/itemsCompilerRules.js +0 -14
  43. package/dist/extensions/Blocks/Items/block.js +0 -67
  44. package/dist/extensions/Blocks/Items/controls/button/link.js +0 -68
  45. package/dist/extensions/Blocks/Items/controls/cardComposition.js +0 -193
  46. package/dist/extensions/Blocks/Items/controls/image/link.js +0 -68
  47. package/dist/extensions/Blocks/Items/controls/index.js +0 -217
  48. package/dist/extensions/Blocks/Items/controls/name/trimming.js +0 -70
  49. package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +0 -107
  50. package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +0 -123
  51. package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +0 -76
  52. package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +0 -61
  53. package/dist/extensions/Blocks/Items/controls/price/priceOrientation.js +0 -92
  54. package/dist/extensions/Blocks/Items/controls/settingsControl.js +0 -316
  55. package/dist/extensions/Blocks/Items/enums/controlEnums.js +0 -5
  56. package/dist/extensions/Blocks/Items/enums/productEnums.js +0 -274
  57. package/dist/extensions/Blocks/Items/enums/settingsEnums.js +0 -77
  58. package/dist/extensions/Blocks/Items/extension.js +0 -20
  59. package/dist/extensions/Blocks/Items/iconsRegistry.js +0 -32
  60. package/dist/extensions/Blocks/Items/items.css.js +0 -23
  61. package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +0 -62
  62. package/dist/extensions/Blocks/Items/layouts/vertical.html.js +0 -72
  63. package/dist/extensions/Blocks/Items/settingsPanel.js +0 -132
  64. package/dist/extensions/Blocks/Items/store/items-block.js +0 -75
  65. package/dist/extensions/Blocks/Items/template.js +0 -195
  66. package/dist/extensions/Blocks/Items/utils/configBlockUtils.js +0 -17
  67. package/dist/extensions/Blocks/Items/utils/syncAttributeFromConfigBlock.js +0 -28
  68. package/dist/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.js +0 -76
  69. package/dist/extensions/Blocks/Items/utils/updateAttributes.js +0 -46
  70. package/dist/extensions/Blocks/controlFactories.js +0 -223
  71. package/dist/node_modules/lodash-es/_DataView.js +0 -6
  72. package/dist/node_modules/lodash-es/_Promise.js +0 -6
  73. package/dist/node_modules/lodash-es/_Set.js +0 -6
  74. package/dist/node_modules/lodash-es/_SetCache.js +0 -13
  75. package/dist/node_modules/lodash-es/_WeakMap.js +0 -6
  76. package/dist/node_modules/lodash-es/_arrayFilter.js +0 -10
  77. package/dist/node_modules/lodash-es/_arrayMap.js +0 -8
  78. package/dist/node_modules/lodash-es/_arrayPush.js +0 -8
  79. package/dist/node_modules/lodash-es/_arraySome.js +0 -9
  80. package/dist/node_modules/lodash-es/_baseEach.js +0 -6
  81. package/dist/node_modules/lodash-es/_baseFlatten.js +0 -13
  82. package/dist/node_modules/lodash-es/_baseForOwn.js +0 -8
  83. package/dist/node_modules/lodash-es/_baseGet.js +0 -11
  84. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  85. package/dist/node_modules/lodash-es/_baseHasIn.js +0 -6
  86. package/dist/node_modules/lodash-es/_baseIsEqual.js +0 -8
  87. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +0 -32
  88. package/dist/node_modules/lodash-es/_baseIsMatch.js +0 -29
  89. package/dist/node_modules/lodash-es/_baseIteratee.js +0 -11
  90. package/dist/node_modules/lodash-es/_baseKeys.js +0 -14
  91. package/dist/node_modules/lodash-es/_baseMap.js +0 -11
  92. package/dist/node_modules/lodash-es/_baseMatches.js +0 -12
  93. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  94. package/dist/node_modules/lodash-es/_baseProperty.js +0 -8
  95. package/dist/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  96. package/dist/node_modules/lodash-es/_baseRange.js +0 -9
  97. package/dist/node_modules/lodash-es/_baseToString.js +0 -18
  98. package/dist/node_modules/lodash-es/_baseTrim.js +0 -8
  99. package/dist/node_modules/lodash-es/_cacheHas.js +0 -6
  100. package/dist/node_modules/lodash-es/_castPath.js +0 -10
  101. package/dist/node_modules/lodash-es/_createBaseEach.js +0 -15
  102. package/dist/node_modules/lodash-es/_createRange.js +0 -11
  103. package/dist/node_modules/lodash-es/_equalArrays.js +0 -40
  104. package/dist/node_modules/lodash-es/_equalByTag.js +0 -45
  105. package/dist/node_modules/lodash-es/_equalObjects.js +0 -36
  106. package/dist/node_modules/lodash-es/_getAllKeys.js +0 -9
  107. package/dist/node_modules/lodash-es/_getMatchData.js +0 -12
  108. package/dist/node_modules/lodash-es/_getSymbols.js +0 -10
  109. package/dist/node_modules/lodash-es/_getTag.js +0 -28
  110. package/dist/node_modules/lodash-es/_hasPath.js +0 -19
  111. package/dist/node_modules/lodash-es/_isFlattenable.js +0 -10
  112. package/dist/node_modules/lodash-es/_isKey.js +0 -12
  113. package/dist/node_modules/lodash-es/_isStrictComparable.js +0 -7
  114. package/dist/node_modules/lodash-es/_mapToArray.js +0 -9
  115. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  116. package/dist/node_modules/lodash-es/_memoizeCapped.js +0 -11
  117. package/dist/node_modules/lodash-es/_nativeKeys.js +0 -5
  118. package/dist/node_modules/lodash-es/_setCacheAdd.js +0 -7
  119. package/dist/node_modules/lodash-es/_setCacheHas.js +0 -6
  120. package/dist/node_modules/lodash-es/_setToArray.js +0 -9
  121. package/dist/node_modules/lodash-es/_stringToPath.js +0 -10
  122. package/dist/node_modules/lodash-es/_toKey.js +0 -10
  123. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +0 -9
  124. package/dist/node_modules/lodash-es/flatMap.js +0 -8
  125. package/dist/node_modules/lodash-es/get.js +0 -8
  126. package/dist/node_modules/lodash-es/hasIn.js +0 -8
  127. package/dist/node_modules/lodash-es/isSymbol.js +0 -9
  128. package/dist/node_modules/lodash-es/keys.js +0 -9
  129. package/dist/node_modules/lodash-es/map.js +0 -11
  130. package/dist/node_modules/lodash-es/property.js +0 -10
  131. package/dist/node_modules/lodash-es/range.js +0 -5
  132. package/dist/node_modules/lodash-es/stubArray.js +0 -6
  133. package/dist/node_modules/lodash-es/toFinite.js +0 -14
  134. package/dist/node_modules/lodash-es/toNumber.js +0 -22
  135. package/dist/node_modules/lodash-es/toString.js +0 -7
  136. package/dist/src/components/organisms/onboarding/ItemsOnboarding.vue.d.ts +0 -2
  137. package/dist/src/config/compiler/itemsCompilerRules.d.ts +0 -2
  138. package/dist/src/extensions/Blocks/Items/block.d.ts +0 -27
  139. package/dist/src/extensions/Blocks/Items/controls/button/link.d.ts +0 -14
  140. package/dist/src/extensions/Blocks/Items/controls/cardComposition.d.ts +0 -33
  141. package/dist/src/extensions/Blocks/Items/controls/image/link.d.ts +0 -14
  142. package/dist/src/extensions/Blocks/Items/controls/index.d.ts +0 -501
  143. package/dist/src/extensions/Blocks/Items/controls/name/trimming.d.ts +0 -14
  144. package/dist/src/extensions/Blocks/Items/controls/price/currencyLocation.d.ts +0 -19
  145. package/dist/src/extensions/Blocks/Items/controls/price/currencySymbol.d.ts +0 -21
  146. package/dist/src/extensions/Blocks/Items/controls/price/formattedPrice.d.ts +0 -14
  147. package/dist/src/extensions/Blocks/Items/controls/price/hideDiscount.d.ts +0 -13
  148. package/dist/src/extensions/Blocks/Items/controls/price/priceOrientation.d.ts +0 -15
  149. package/dist/src/extensions/Blocks/Items/controls/settingsControl.d.ts +0 -48
  150. package/dist/src/extensions/Blocks/Items/enums/controlEnums.d.ts +0 -62
  151. package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +0 -163
  152. package/dist/src/extensions/Blocks/Items/enums/settingsEnums.d.ts +0 -50
  153. package/dist/src/extensions/Blocks/Items/extension.d.ts +0 -2
  154. package/dist/src/extensions/Blocks/Items/iconsRegistry.d.ts +0 -4
  155. package/dist/src/extensions/Blocks/Items/settingsPanel.d.ts +0 -4
  156. package/dist/src/extensions/Blocks/Items/store/items-block.d.ts +0 -43
  157. package/dist/src/extensions/Blocks/Items/template.d.ts +0 -24
  158. package/dist/src/extensions/Blocks/Items/utils/configBlockUtils.d.ts +0 -23
  159. package/dist/src/extensions/Blocks/Items/utils/syncAttributeFromConfigBlock.d.ts +0 -32
  160. package/dist/src/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.d.ts +0 -50
  161. package/dist/src/extensions/Blocks/Items/utils/updateAttributes.d.ts +0 -8
  162. package/dist/src/extensions/Blocks/controlFactories.d.ts +0 -312
  163. package/dist/src/utils/pairProductVariables.d.ts +0 -7
  164. package/dist/utils/pairProductVariables.js +0 -136
@@ -1,4 +1,4 @@
1
- var M = class u {
1
+ var J = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUCTURE", t.CONTAINER = "CONTAINER", t))(J || {}), B = class u {
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
@@ -21,7 +21,7 @@ ${s.map((E) => ` - ${E}`).join(`
21
21
  * This validation runs only once per class type and results are cached.
22
22
  */
23
23
  validateImplementation(e, r) {
24
- var I;
24
+ var O;
25
25
  const s = [], E = r.name, T = Object.getPrototypeOf(this);
26
26
  e.forEach((l) => {
27
27
  if (typeof this[l] != "function") {
@@ -29,12 +29,12 @@ ${s.map((E) => ` - ${E}`).join(`
29
29
  return;
30
30
  }
31
31
  T[l] === r.prototype[l] && s.push(`Method ${l}() must be implemented (currently using base class error-throwing implementation)`);
32
- }), u.validatedClasses.add(r), s.length > 0 ? (u.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((I = process.env) == null ? void 0 : I.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
32
+ }), u.validatedClasses.add(r), s.length > 0 ? (u.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((O = process.env) == null ? void 0 : O.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
33
33
  }
34
34
  };
35
- M.validatedClasses = /* @__PURE__ */ new Set();
36
- M.validationErrors = /* @__PURE__ */ new Map();
37
- var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUCTURE", t.CONTAINER = "CONTAINER", t))(et || {}), y = class c extends a {
35
+ B.validatedClasses = /* @__PURE__ */ new Set();
36
+ B.validationErrors = /* @__PURE__ */ new Map();
37
+ var i = B, x = class c extends i {
38
38
  constructor() {
39
39
  super(c.REQUIRED_METHODS, c);
40
40
  }
@@ -176,16 +176,6 @@ var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUC
176
176
  getName() {
177
177
  throw new Error("Method getName() must be implemented by the subclass");
178
178
  }
179
- /**
180
- * Retrieves the name of block in the block panel.
181
- * Can contain html markup
182
- * If not implemented by the subclass, getName() function will be used to display name in the block panel
183
- *
184
- * @return {string} The name of the block panel.
185
- */
186
- getSettingsPanelName() {
187
- return "";
188
- }
189
179
  /**
190
180
  * Gets a short description of the block shown to the user, often as a tooltip in the block panel.
191
181
  * Use `this.api.translate()` for localization.
@@ -195,8 +185,8 @@ var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUC
195
185
  throw new Error("Method getDescription() must be implemented by the subclass");
196
186
  }
197
187
  };
198
- y.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
- var Xt = y, rt = class _ extends a {
188
+ x.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
189
+ var wt = x, tt = class _ extends i {
200
190
  constructor() {
201
191
  super(_.REQUIRED_METHODS, _);
202
192
  }
@@ -213,10 +203,10 @@ var Xt = y, rt = class _ extends a {
213
203
  throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
214
204
  }
215
205
  };
216
- rt.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
- var nt = class h extends a {
206
+ tt.REQUIRED_METHODS = ["getPreviewInnerHtml"];
207
+ var et = class R extends i {
218
208
  constructor() {
219
- super(h.REQUIRED_METHODS, h);
209
+ super(R.REQUIRED_METHODS, R);
220
210
  }
221
211
  getId() {
222
212
  throw new Error("Method getId() must be implemented by the subclass");
@@ -231,84 +221,82 @@ var nt = class h extends a {
231
221
  throw new Error("Method onClick() must be implemented by the subclass");
232
222
  }
233
223
  };
234
- nt.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
235
- var st = {
224
+ et.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
225
+ var rt = {
236
226
  src: "src",
237
227
  alt: "alt",
238
- href: "href",
239
- width: "width"
240
- }, at = {
241
228
  href: "href"
242
- }, kt = {
243
- BLOCK_IMAGE: st,
244
- BLOCK_BUTTON: at
245
- }, U = "esd-block-button", p = "esd-block-text", K = "esd-block-image", it = "esd-structure", ot = "esd-block-video", Et = "esd-block-social", lt = "esd-block-banner", dt = "esd-block-timer", ut = "esd-block-menu", It = "esd-block-html", Ot = "esd-block-spacer", Tt = "esd-container-frame", ct = "esd-stripe", _t = "esd-amp-form", O = ((t) => (t.BUTTON = `.${U}`, t.TEXT = `.${p}`, t.IMAGE = `.${K}`, t.STRUCTURE = `.${it}`, t.VIDEO = `.${ot}`, t.SOCIAL = `.${Et}`, t.BANNER = `.${lt}`, t.TIMER = `.${dt}`, t.MENU = `.${ut}`, t.HTML = `.${It}`, t.SPACER = `.${Ot}`, t.CONTAINER = `.${Tt}`, t.STRIPE = `.${ct}`, t.FORM = `.${_t}`, t))(O || {}), ht = /* @__PURE__ */ ((t) => (t.BLOCK_IMAGE = "BLOCK_IMAGE", t.BLOCK_TEXT = "BLOCK_TEXT", t.BLOCK_BUTTON = "BLOCK_BUTTON", t.BLOCK_SPACER = "BLOCK_SPACER", t.BLOCK_VIDEO = "BLOCK_VIDEO", t.BLOCK_SOCIAL = "BLOCK_SOCIAL", t.BLOCK_BANNER = "BLOCK_BANNER", t.BLOCK_TIMER = "BLOCK_TIMER", t.BLOCK_MENU = "BLOCK_MENU", t.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", t.BLOCK_HTML = "BLOCK_HTML", t.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", t.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", t.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", t.CONTAINER = "CONTAINER", t.FORM_CONTAINER = "FORM_CONTAINER", t.STRUCTURE = "STRUCTURE", t.STRIPE = "STRIPE", t.EMPTY_CONTAINER = "EMPTY_CONTAINER", t.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", t.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", t.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", t))(ht || {}), F = /* @__PURE__ */ ((t) => (t.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", t.APPLY_CONDITION = "applyCondition", t.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", t.BACKGROUND_COLOR = "backgroundColor", t.BACKGROUND_IMAGE = "generalImageContainer", t.TEXT_COLOR = "textColor", t.TEXT_STYLE = "textStyle", t.TEXT_SIZE = "textSize", t.TEXT_LINE_SPACING = "textLineSpacing", t.TEXT_ALIGN = "textAlign", t.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", t.HIDDEN_NODE = "hiddenNode", t.SMART_BLOCK = "smartBlock", t.SYNCHRONIZED_MODULE = "synchronizedModuleForm", t.FONT_FAMILY = "generalFontFamilyForm", t.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", t.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", t))(F || {}), w = /* @__PURE__ */ ((t) => (t.ADJUST_TO_WIDTH = "adjustToWidth", t.ALIGNMENT = "buttonAlignment", t.BORDER = "buttonBorder", t.BORDER_RADIUS = "buttonBorderRadius", t.COLOR = "buttonColor", t.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", t.EXTERNAL_INDENTS = "buttonExternalIndents", t.FIXED_HEIGHT = "buttonFixedHeightForm", t.FONT_COLOR = "buttonFontColor", t.FONT_FAMILY = "buttonFontFamily", t.FONT_SIZE = "buttonFontSize", t.ICON = "buttonIconContainer", t.ICON_ALIGN = "buttonIconAlign", t.ICON_INDENT = "buttonIconIndent", t.ICON_WIDTH = "buttonIconWidth", t.IMAGE = "buttonImageForm", t.INTERNAL_INDENTS = "buttonInternalIndents", t.LINK = "buttonLink", t.MIME_TYPE = "buttonMimeTypeForm", t.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", t.TEXT = "buttonText", t.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", t.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", t.HOVERED_COLOR = "hoveredButtonColorForm", t.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", t))(w || {}), P = /* @__PURE__ */ ((t) => (t.HIDDEN_NODE = "hiddenNodeText", t.PARAGRAPH_STYLE = "paragraphStyleForm", t.ALIGN = "textAlignmentForm", t.ANCHOR_CONTAINER = "textAnchorForm", t.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", t.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", t.FONT_COLOR = "textBlockFontColor", t.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", t.FONT_FAMILY = "textFontFamily", t.FONT_SIZE = "textBlockFontSize", t.DIRECTION = "textBlockDirectionForm", t.INSERT_FORM = "textBlockInsertForm", t.LINK_DATA = "textBlockLinkDataForm", t.FORMAT = "textBlockTextFormatForm", t.FIXED_HEIGHT = "textFixedHeightForm", t.INTERNAL_INDENTS = "textInternalIndents", t.LINE_HEIGHT = "textLineHeightForm", t.LINKS_COLOR = "textLinksFontColorForm", t.MIME_TYPE = "textMimeTypeForm", t.NO_LINE_WRAPS = "textNoLineWrapsForm", t))(P || {}), H = /* @__PURE__ */ ((t) => (t.ALT_TEXT = "altText", t.LINK = "blockLink", t.ALIGNMENT = "imageAlignment", t.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", t.BORDER_RADIUS = "imageBorderRadiusForm", t.IMAGE = "imageImageForm", t.EXTERNAL_INDENTS = "imageExternalIndents", t.MIME_TYPE = "imageMimeTypeForm", t.RESPONSIVE = "imageResponsive", t.ROLLOVER_IMAGE = "imageRolloverImageForm", t.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", t.SIZE = "imageSizeContainer", t))(H || {}), Rt = /* @__PURE__ */ ((t) => (t.BACKGROUND_COLOR = "containerBackgroundColorForm", t.BORDER_FORM = "containerBorderForm", t.BORDER_RADIUS = "containerBorderRadiusForm", t.EXTERNAL_INDENTS = "containerExternalIndentsForm", t.IMAGE_CONTAINER = "containerImageContainerForm", t.MIME_TYPE = "containerMimeTypeForm", t.DISPLAY_CONDITIONS = "displayConditions", t.HIDDEN_NODE = "containerHiddenNodeForm", t))(Rt || {}), n = {
246
- BLOCK_BUTTON: w,
247
- BLOCK_TEXT: P,
248
- BLOCK_IMAGE: H,
249
- GENERAL: F
250
- }, Lt = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(Lt || {}), o = {
229
+ }, nt = {
230
+ href: "href"
231
+ }, Pt = {
232
+ BLOCK_IMAGE: rt,
233
+ BLOCK_BUTTON: nt
234
+ }, U = "esd-block-button", y = "esd-block-text", K = "esd-block-image", st = "esd-structure", it = "esd-block-video", at = "esd-block-social", ot = "esd-block-banner", Et = "esd-block-timer", lt = "esd-block-menu", dt = "esd-block-html", ut = "esd-block-spacer", Ot = "esd-container-frame", It = "esd-stripe", Tt = "esd-amp-form", I = ((t) => (t.BUTTON = `.${U}`, t.TEXT = `.${y}`, t.IMAGE = `.${K}`, t.STRUCTURE = `.${st}`, t.VIDEO = `.${it}`, t.SOCIAL = `.${at}`, t.BANNER = `.${ot}`, t.TIMER = `.${Et}`, t.MENU = `.${lt}`, t.HTML = `.${dt}`, t.SPACER = `.${ut}`, t.CONTAINER = `.${Ot}`, t.STRIPE = `.${It}`, t.FORM = `.${Tt}`, t))(I || {}), ct = /* @__PURE__ */ ((t) => (t.BLOCK_IMAGE = "BLOCK_IMAGE", t.BLOCK_TEXT = "BLOCK_TEXT", t.BLOCK_BUTTON = "BLOCK_BUTTON", t.BLOCK_SPACER = "BLOCK_SPACER", t.BLOCK_VIDEO = "BLOCK_VIDEO", t.BLOCK_SOCIAL = "BLOCK_SOCIAL", t.BLOCK_BANNER = "BLOCK_BANNER", t.BLOCK_TIMER = "BLOCK_TIMER", t.BLOCK_MENU = "BLOCK_MENU", t.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", t.BLOCK_HTML = "BLOCK_HTML", t.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", t.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", t.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", t.CONTAINER = "CONTAINER", t.FORM_CONTAINER = "FORM_CONTAINER", t.STRUCTURE = "STRUCTURE", t.STRIPE = "STRIPE", t.EMPTY_CONTAINER = "EMPTY_CONTAINER", t.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", t.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", t.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", t))(ct || {}), p = /* @__PURE__ */ ((t) => (t.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", t.APPLY_CONDITION = "applyCondition", t.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", t.BACKGROUND_COLOR = "backgroundColor", t.BACKGROUND_IMAGE = "generalImageContainer", t.TEXT_COLOR = "textColor", t.TEXT_STYLE = "textStyle", t.TEXT_SIZE = "textSize", t.TEXT_LINE_SPACING = "textLineSpacing", t.TEXT_ALIGN = "textAlign", t.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", t.HIDDEN_NODE = "hiddenNode", t.SMART_BLOCK = "smartBlock", t.SYNCHRONIZED_MODULE = "synchronizedModuleForm", t.FONT_FAMILY = "generalFontFamilyForm", t.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", t.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", t))(p || {}), F = /* @__PURE__ */ ((t) => (t.ADJUST_TO_WIDTH = "adjustToWidth", t.ALIGNMENT = "buttonAlignment", t.BORDER = "buttonBorder", t.BORDER_RADIUS = "buttonBorderRadius", t.COLOR = "buttonColor", t.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", t.EXTERNAL_INDENTS = "buttonExternalIndents", t.FIXED_HEIGHT = "buttonFixedHeightForm", t.FONT_COLOR = "buttonFontColor", t.FONT_FAMILY = "buttonFontFamily", t.FONT_SIZE = "buttonFontSize", t.ICON = "buttonIconContainer", t.ICON_ALIGN = "buttonIconAlign", t.ICON_INDENT = "buttonIconIndent", t.ICON_WIDTH = "buttonIconWidth", t.IMAGE = "buttonImageForm", t.INTERNAL_INDENTS = "buttonInternalIndents", t.LINK = "buttonLink", t.MIME_TYPE = "buttonMimeTypeForm", t.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", t.TEXT = "buttonText", t.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", t.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", t.HOVERED_COLOR = "hoveredButtonColorForm", t.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", t))(F || {}), w = /* @__PURE__ */ ((t) => (t.HIDDEN_NODE = "hiddenNodeText", t.PARAGRAPH_STYLE = "paragraphStyleForm", t.ALIGN = "textAlignmentForm", t.ANCHOR_CONTAINER = "textAnchorForm", t.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", t.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", t.FONT_COLOR = "textBlockFontColor", t.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", t.FONT_FAMILY = "textFontFamily", t.FONT_SIZE = "textBlockFontSize", t.DIRECTION = "textBlockDirectionForm", t.INSERT_FORM = "textBlockInsertForm", t.LINK_DATA = "textBlockLinkDataForm", t.FORMAT = "textBlockTextFormatForm", t.FIXED_HEIGHT = "textFixedHeightForm", t.INTERNAL_INDENTS = "textInternalIndents", t.LINE_HEIGHT = "textLineHeightForm", t.LINKS_COLOR = "textLinksFontColorForm", t.MIME_TYPE = "textMimeTypeForm", t.NO_LINE_WRAPS = "textNoLineWrapsForm", t))(w || {}), P = /* @__PURE__ */ ((t) => (t.ALT_TEXT = "altText", t.LINK = "blockLink", t.ALIGNMENT = "imageAlignment", t.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", t.BORDER_RADIUS = "imageBorderRadiusForm", t.IMAGE = "imageImageForm", t.EXTERNAL_INDENTS = "imageExternalIndents", t.MIME_TYPE = "imageMimeTypeForm", t.RESPONSIVE = "imageResponsive", t.ROLLOVER_IMAGE = "imageRolloverImageForm", t.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", t.SIZE = "imageSizeContainer", t))(P || {}), _t = /* @__PURE__ */ ((t) => (t.BACKGROUND_COLOR = "containerBackgroundColorForm", t.BORDER_FORM = "containerBorderForm", t.BORDER_RADIUS = "containerBorderRadiusForm", t.EXTERNAL_INDENTS = "containerExternalIndentsForm", t.IMAGE_CONTAINER = "containerImageContainerForm", t.MIME_TYPE = "containerMimeTypeForm", t.DISPLAY_CONDITIONS = "displayConditions", t.HIDDEN_NODE = "containerHiddenNodeForm", t))(_t || {}), n = {
235
+ BLOCK_BUTTON: F,
236
+ BLOCK_TEXT: w,
237
+ BLOCK_IMAGE: P,
238
+ GENERAL: p
239
+ }, Rt = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(Rt || {}), a = {
251
240
  name: "name",
252
241
  disabled: "disabled"
253
- }, Ct = {
254
- ...o,
242
+ }, ht = {
243
+ ...a,
255
244
  caption: "caption",
256
245
  icon: "icon"
257
- }, mt = {
258
- ...o,
246
+ }, Ct = {
247
+ ...a,
259
248
  caption: "caption"
260
- }, gt = {
261
- ...o,
249
+ }, Lt = {
250
+ ...a,
262
251
  minValue: "min-value",
263
252
  maxValue: "max-value",
264
253
  step: "step"
265
- }, bt = {
266
- ...o,
254
+ }, gt = {
255
+ ...a,
267
256
  text: "text"
268
- }, At = {
269
- ...o
270
- }, X = {
271
- ...o,
257
+ }, mt = {
258
+ ...a
259
+ }, H = {
260
+ ...a,
272
261
  searchable: "searchable",
273
262
  multiSelect: "multi-select",
274
263
  placeholder: "placeholder",
275
264
  items: "items"
265
+ }, At = {
266
+ ...H
276
267
  }, Nt = {
277
- ...X
278
- }, Dt = {
279
268
  text: "text",
280
269
  value: "value"
281
- }, St = {
270
+ }, bt = {
282
271
  text: "text",
283
- icon: "icon",
284
272
  value: "value"
285
- }, Bt = {
286
- ...o
287
- }, Mt = {
273
+ }, Dt = {
274
+ ...a
275
+ }, St = {
288
276
  controlId: "control-id"
289
- }, xt = {
290
- ...o,
277
+ }, Bt = {
278
+ ...a,
291
279
  icon: "icon",
292
280
  position: "position"
293
- }, vt = {
294
- ...o
295
- }, Vt = {
296
- BUTTON: Ct,
297
- CHECKBOX: mt,
298
- COLOR: o,
299
- COUNTER: gt,
300
- LABEL: bt,
301
- RADIO_BUTTONS: At,
302
- SELECTPICKER: X,
303
- FONT_FAMILY_SELECT: Nt,
304
- SWITCHER: o,
305
- TEXT: Bt,
306
- SELECT_ITEM: Dt,
307
- RADIO_ITEM: St,
308
- NESTED_CONTROL: Mt,
309
- ORDERABLE: xt,
310
- ORDERABLE_ITEM: vt
311
- }, yt = /* @__PURE__ */ ((t) => (t.BUTTON = "UE-BUTTON", t.CHECKBOX = "UE-CHECKBOX", t.CHECK_BUTTONS = "UE-CHECK-BUTTONS", t.COLOR = "UE-COLOR", t.COUNTER = "UE-COUNTER", t.DATEPICKER = "UE-DATEPICKER", t.LABEL = "UE-LABEL", t.MESSAGE = "UE-MESSAGE", t.RADIO_BUTTONS = "UE-RADIO-BUTTONS", t.SELECTPICKER = "UE-SELECT", t.SWITCHER = "UE-SWITCHER", t.TEXT = "UE-TEXT", t.TEXTAREA = "UE-TEXTAREA", t.CHECK_ITEM = "UE-CHECK-ITEM", t.RADIO_ITEM = "UE-RADIO-ITEM", t.SELECT_ITEM = "UE-SELECT-ITEM", t.ICON = "UE-ICON", t.MERGETAGS = "UE-MERGETAGS", t.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", t.NESTED_CONTROL = "UE-NESTED-CONTROL", t.EXPANDABLE = "UE-EXPANDABLE", t.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", t.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", t.ORDERABLE = "UE-ORDERABLE", t.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", t.ORDERABLE_ICON = "UE-ORDERABLE-ICON", t))(yt || {}), x = class {
281
+ }, Mt = {
282
+ ...a
283
+ }, Ht = {
284
+ BUTTON: ht,
285
+ CHECKBOX: Ct,
286
+ COLOR: a,
287
+ COUNTER: Lt,
288
+ LABEL: gt,
289
+ RADIO_BUTTONS: mt,
290
+ SELECTPICKER: H,
291
+ FONT_FAMILY_SELECT: At,
292
+ SWITCHER: a,
293
+ TEXT: Dt,
294
+ SELECT_ITEM: Nt,
295
+ RADIO_ITEM: bt,
296
+ NESTED_CONTROL: St,
297
+ ORDERABLE: Bt,
298
+ ORDERABLE_ITEM: Mt
299
+ }, vt = /* @__PURE__ */ ((t) => (t.BUTTON = "UE-BUTTON", t.CHECKBOX = "UE-CHECKBOX", t.CHECK_BUTTONS = "UE-CHECK-BUTTONS", t.COLOR = "UE-COLOR", t.COUNTER = "UE-COUNTER", t.DATEPICKER = "UE-DATEPICKER", t.LABEL = "UE-LABEL", t.MESSAGE = "UE-MESSAGE", t.RADIO_BUTTONS = "UE-RADIO-BUTTONS", t.SELECTPICKER = "UE-SELECT", t.SWITCHER = "UE-SWITCHER", t.TEXT = "UE-TEXT", t.TEXTAREA = "UE-TEXTAREA", t.CHECK_ITEM = "UE-CHECK-ITEM", t.RADIO_ITEM = "UE-RADIO-ITEM", t.SELECT_ITEM = "UE-SELECT-ITEM", t.ICON = "UE-ICON", t.MERGETAGS = "UE-MERGETAGS", t.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", t.NESTED_CONTROL = "UE-NESTED-CONTROL", t.EXPANDABLE = "UE-EXPANDABLE", t.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", t.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", t.ORDERABLE = "UE-ORDERABLE", t.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", t.ORDERABLE_ICON = "UE-ORDERABLE-ICON", t))(vt || {}), M = class {
312
300
  /**
313
301
  * @description returns map of nodes parent control operates on
314
302
  */
@@ -339,68 +327,64 @@ var st = {
339
327
  isVisible(t) {
340
328
  return !0;
341
329
  }
342
- }, i = class extends x {
330
+ }, o = class extends M {
343
331
  getTargetNodes(t) {
344
- const e = t.querySelectorAll(O.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
332
+ const e = t.querySelectorAll(I.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
345
333
  return e.length ? e : r;
346
334
  }
347
- }, Gt = class extends i {
335
+ }, Xt = class extends o {
348
336
  getParentControlId() {
349
337
  return n.BLOCK_BUTTON.BORDER_RADIUS;
350
338
  }
351
339
  getLabels() {
352
340
  }
353
- }, Qt = class extends i {
341
+ }, kt = class extends o {
354
342
  getParentControlId() {
355
343
  return n.BLOCK_BUTTON.ALIGNMENT;
356
344
  }
357
- }, ft = class extends i {
358
- getParentControlId() {
359
- return n.GENERAL.BACKGROUND_COLOR;
360
- }
361
- }, Yt = class extends i {
345
+ }, Vt = class extends o {
362
346
  getParentControlId() {
363
347
  return n.BLOCK_BUTTON.BORDER;
364
348
  }
365
349
  getLabels() {
366
350
  }
367
- }, $t = class extends i {
351
+ }, Gt = class extends o {
368
352
  getParentControlId() {
369
353
  return n.BLOCK_BUTTON.COLOR;
370
354
  }
371
- }, Wt = class extends i {
355
+ }, ft = class extends o {
372
356
  getParentControlId() {
373
357
  return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
374
358
  }
375
- }, zt = class extends i {
359
+ }, Qt = class extends o {
376
360
  getParentControlId() {
377
361
  return n.BLOCK_BUTTON.FONT_FAMILY;
378
362
  }
379
- }, Zt = class extends i {
363
+ }, Yt = class extends o {
380
364
  getParentControlId() {
381
365
  return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
382
366
  }
383
- }, jt = class extends i {
367
+ }, $t = class extends o {
384
368
  getParentControlId() {
385
369
  return n.BLOCK_BUTTON.INTERNAL_INDENTS;
386
370
  }
387
- }, qt = class extends i {
371
+ }, Wt = class extends o {
388
372
  getParentControlId() {
389
373
  return n.BLOCK_BUTTON.TEXT;
390
374
  }
391
- }, Jt = class extends i {
375
+ }, zt = class extends o {
392
376
  getParentControlId() {
393
377
  return n.BLOCK_BUTTON.FONT_SIZE;
394
378
  }
395
- }, te = class extends i {
379
+ }, Zt = class extends o {
396
380
  getParentControlId() {
397
381
  return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
398
382
  }
399
383
  getLabels() {
400
384
  }
401
- }, k = class R extends a {
385
+ }, X = class h extends i {
402
386
  constructor() {
403
- super(R.REQUIRED_METHODS, R);
387
+ super(h.REQUIRED_METHODS, h);
404
388
  }
405
389
  /**
406
390
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -453,30 +437,30 @@ var st = {
453
437
  onDocumentChanged(e) {
454
438
  }
455
439
  };
456
- k.REQUIRED_METHODS = ["getId", "getTemplate"];
457
- var ee = k, V = class extends x {
440
+ X.REQUIRED_METHODS = ["getId", "getTemplate"];
441
+ var jt = X, k = class extends M {
458
442
  getTargetNodes(t) {
459
- const e = t.querySelectorAll(O.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
443
+ const e = t.querySelectorAll(I.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
460
444
  return e.length ? e : r;
461
445
  }
462
- }, re = class extends V {
446
+ }, qt = class extends k {
463
447
  getParentControlId() {
464
448
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
465
449
  }
466
- }, ne = class extends V {
450
+ }, Jt = class extends k {
467
451
  getParentControlId() {
468
452
  return n.BLOCK_IMAGE.SIZE;
469
453
  }
470
- }, G = class L extends a {
454
+ }, V = class C extends i {
471
455
  constructor() {
472
- super(L.REQUIRED_METHODS, L);
456
+ super(C.REQUIRED_METHODS, C);
473
457
  }
474
458
  registerBlockControls(e) {
475
459
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
476
460
  }
477
461
  };
478
- G.REQUIRED_METHODS = ["registerBlockControls"];
479
- var se = G, ae = class {
462
+ V.REQUIRED_METHODS = ["registerBlockControls"];
463
+ var te = V, ee = class {
480
464
  constructor(t, e) {
481
465
  this.tabId = t, this.controlsIds = e;
482
466
  }
@@ -499,42 +483,42 @@ var se = G, ae = class {
499
483
  const e = this.controlsIds.indexOf(t);
500
484
  e !== -1 && this.controlsIds.splice(e, 1);
501
485
  }
502
- }, d = class extends x {
486
+ }, d = class extends M {
503
487
  getTargetNodes(t) {
504
- const e = t.querySelectorAll(O.TEXT), r = t.asElement().hasClass(p) ? [t] : [];
488
+ const e = t.querySelectorAll(I.TEXT), r = t.asElement().hasClass(y) ? [t] : [];
505
489
  return e.length ? e : r;
506
490
  }
507
- }, ie = class extends d {
491
+ }, re = class extends d {
508
492
  getParentControlId() {
509
493
  return n.GENERAL.TEXT_ALIGN;
510
494
  }
511
- }, oe = class extends d {
495
+ }, ne = class extends d {
512
496
  getParentControlId() {
513
497
  return n.BLOCK_TEXT.TEXT_BLOCK_BACKGROUND_COLOR;
514
498
  }
515
- }, Ee = class extends d {
499
+ }, se = class extends d {
516
500
  getParentControlId() {
517
501
  return n.GENERAL.TEXT_COLOR;
518
502
  }
519
- }, le = class extends d {
503
+ }, ie = class extends d {
520
504
  getParentControlId() {
521
505
  return n.BLOCK_TEXT.FONT_FAMILY;
522
506
  }
523
- }, de = class extends d {
507
+ }, ae = class extends d {
524
508
  getParentControlId() {
525
509
  return n.BLOCK_TEXT.INTERNAL_INDENTS;
526
510
  }
527
- }, ue = class extends d {
511
+ }, oe = class extends d {
528
512
  getParentControlId() {
529
513
  return n.GENERAL.TEXT_SIZE;
530
514
  }
531
- }, Ie = class extends d {
515
+ }, Ee = class extends d {
532
516
  getParentControlId() {
533
517
  return n.GENERAL.TEXT_STYLE;
534
518
  }
535
- }, Ut = class {
536
- constructor(t, e, r = [], s, E = [], T, I = [], l = [], v, $, W, z, Z, j, q, J, tt) {
537
- this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = W, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = I, this.blocks = l, this.externalSmartElementsLibrary = v, this.externalImageLibrary = $, this.externalImageLibraryTab = tt, this.externalAiAssistant = z, this.externalDisplayConditionsLibrary = Z, this.externalVideoLibrary = j, this.blocksPanel = q, this.iconsRegistry = J, this.id = Math.random().toString(36).substring(2);
519
+ }, xt = class {
520
+ constructor(t, e, r = [], s, E = [], T, O = [], l = [], v, Y, $, W, z, Z, j, q) {
521
+ this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = $, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = O, this.blocks = l, this.externalSmartElementsLibrary = v, this.externalImageLibrary = Y, this.externalAiAssistant = W, this.externalDisplayConditionsLibrary = z, this.externalVideoLibrary = Z, this.blocksPanel = j, this.iconsRegistry = q, this.id = Math.random().toString(36).substring(2);
538
522
  }
539
523
  getI18n() {
540
524
  return this.i18n;
@@ -572,9 +556,6 @@ var se = G, ae = class {
572
556
  getExternalImageLibrary() {
573
557
  return this.externalImageLibrary;
574
558
  }
575
- getExternalImageLibraryTab() {
576
- return this.externalImageLibraryTab;
577
- }
578
559
  getExternalAiAssistant() {
579
560
  return this.externalAiAssistant;
580
561
  }
@@ -590,7 +571,7 @@ var se = G, ae = class {
590
571
  getIconsRegistry() {
591
572
  return this.iconsRegistry;
592
573
  }
593
- }, Oe = class {
574
+ }, le = class {
594
575
  constructor() {
595
576
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
596
577
  }
@@ -633,9 +614,6 @@ var se = G, ae = class {
633
614
  withExternalImageLibrary(t) {
634
615
  return this.externalImageLibrary = t, this;
635
616
  }
636
- withExternalImageLibraryTab(t) {
637
- return this.externalImageLibraryTab = t, this;
638
- }
639
617
  withExternalAiAssistant(t) {
640
618
  return this.externalAiAssistant = t, this;
641
619
  }
@@ -655,7 +633,7 @@ var se = G, ae = class {
655
633
  return this.iconsRegistry = t, this;
656
634
  }
657
635
  build() {
658
- return new Ut(
636
+ return new xt(
659
637
  this.i18n,
660
638
  (this.styles || []).map((t) => t.trim()).join(`
661
639
  `),
@@ -672,22 +650,21 @@ var se = G, ae = class {
672
650
  this.externalDisplayConditionsLibrary,
673
651
  this.externalVideoLibrary,
674
652
  this.blocksPanel,
675
- this.iconsRegistry,
676
- this.externalImageLibraryTab
653
+ this.iconsRegistry
677
654
  );
678
655
  }
679
- }, pt = class C extends a {
656
+ }, Ut = class L extends i {
680
657
  constructor() {
681
- super(C.REQUIRED_METHODS, C);
658
+ super(L.REQUIRED_METHODS, L);
682
659
  }
683
660
  openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: E }) {
684
661
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
685
662
  }
686
663
  };
687
- pt.REQUIRED_METHODS = ["openAiAssistant"];
688
- var Kt = class m extends a {
664
+ Ut.REQUIRED_METHODS = ["openAiAssistant"];
665
+ var yt = class g extends i {
689
666
  constructor() {
690
- super(m.REQUIRED_METHODS, m);
667
+ super(g.REQUIRED_METHODS, g);
691
668
  }
692
669
  /**
693
670
  * Retrieves the name of the category.
@@ -725,38 +702,17 @@ var Kt = class m extends a {
725
702
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
726
703
  }
727
704
  };
728
- Kt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
729
- var Ft = class g extends a {
705
+ yt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
706
+ var Kt = class m extends i {
730
707
  constructor() {
731
- super(g.REQUIRED_METHODS, g);
708
+ super(m.REQUIRED_METHODS, m);
732
709
  }
733
710
  openImageLibrary(e, r, s) {
734
711
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
735
712
  }
736
713
  };
737
- Ft.REQUIRED_METHODS = ["openImageLibrary"];
738
- var wt = class b extends a {
739
- constructor() {
740
- super(b.REQUIRED_METHODS, b);
741
- }
742
- /**
743
- * @description Returns the translated name/label for the tab
744
- * @returns Translation key or text to display as tab label
745
- */
746
- getName() {
747
- throw new Error("Method getName() must be implemented by the subclass");
748
- }
749
- /**
750
- * @description Opens the external image library tab and provides a container for rendering
751
- * @param _container - DOM element container where the external library UI should be rendered
752
- * @param _onImageSelectCallback - Callback to invoke when an image is selected
753
- */
754
- openImageLibraryTab(e, r) {
755
- throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
756
- }
757
- };
758
- wt.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
759
- var Pt = class A extends a {
714
+ Kt.REQUIRED_METHODS = ["openImageLibrary"];
715
+ var pt = class A extends i {
760
716
  constructor() {
761
717
  super(A.REQUIRED_METHODS, A);
762
718
  }
@@ -764,8 +720,8 @@ var Pt = class A extends a {
764
720
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
765
721
  }
766
722
  };
767
- Pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
768
- var Ht = class N extends a {
723
+ pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
724
+ var Ft = class N extends i {
769
725
  constructor() {
770
726
  super(N.REQUIRED_METHODS, N);
771
727
  }
@@ -773,17 +729,17 @@ var Ht = class N extends a {
773
729
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
774
730
  }
775
731
  };
776
- Ht.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
777
- var Q = class D extends a {
732
+ Ft.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
733
+ var G = class b extends i {
778
734
  constructor() {
779
- super(D.REQUIRED_METHODS, D);
735
+ super(b.REQUIRED_METHODS, b);
780
736
  }
781
737
  registerIconsSvg(e) {
782
738
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
783
739
  }
784
740
  };
785
- Q.REQUIRED_METHODS = ["registerIconsSvg"];
786
- var Te = Q, ce = class {
741
+ G.REQUIRED_METHODS = ["registerIconsSvg"];
742
+ var de = G, ue = class {
787
743
  constructor(t) {
788
744
  this.key = t;
789
745
  }
@@ -796,9 +752,9 @@ var Te = Q, ce = class {
796
752
  params: this.params
797
753
  };
798
754
  }
799
- }, f = class S extends a {
755
+ }, f = class D extends i {
800
756
  constructor() {
801
- super(S.REQUIRED_METHODS, S);
757
+ super(D.REQUIRED_METHODS, D);
802
758
  }
803
759
  /**
804
760
  * Called when the UI element should render its content into the provided container.
@@ -852,60 +808,59 @@ var Te = Q, ce = class {
852
808
  }
853
809
  };
854
810
  f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
855
- var _e = f, Y = class B extends a {
811
+ var Oe = f, Q = class S extends i {
856
812
  constructor() {
857
- super(B.REQUIRED_METHODS, B);
813
+ super(S.REQUIRED_METHODS, S);
858
814
  }
859
815
  registerUiElements(e) {
860
816
  throw new Error("Method registerUiElements() must be implemented by the subclass");
861
817
  }
862
818
  };
863
- Y.REQUIRED_METHODS = ["registerUiElements"];
864
- var he = Y;
819
+ Q.REQUIRED_METHODS = ["registerUiElements"];
820
+ var Ie = Q;
865
821
  export {
866
- Xt as Block,
867
- kt as BlockAttr,
868
- et as BlockCompositionType,
869
- O as BlockSelector,
870
- ht as BlockType,
871
- x as BuiltInControl,
822
+ wt as Block,
823
+ Pt as BlockAttr,
824
+ J as BlockCompositionType,
825
+ I as BlockSelector,
826
+ ct as BlockType,
827
+ M as BuiltInControl,
872
828
  n as BuiltInControlTypes,
873
- Qt as ButtonAlignBuiltInControl,
874
- ft as ButtonBackgroundColorBuiltInControl,
875
- Yt as ButtonBorderBuiltInControl,
876
- Gt as ButtonBorderRadiusBuiltInControl,
877
- $t as ButtonColorBuiltInControl,
878
- w as ButtonControls,
879
- Wt as ButtonFitToContainerBuiltInControl,
880
- zt as ButtonFontFamilyBuiltInControl,
881
- Zt as ButtonMarginsBuiltInControl,
882
- jt as ButtonPaddingsBuiltInControl,
883
- qt as ButtonTextBuiltInControl,
884
- Jt as ButtonTextSizeBuiltInControl,
885
- te as ButtonTextStyleAndFontColorBuiltInControl,
886
- Rt as ContainerControls,
887
- ee as Control,
888
- Ut as Extension,
889
- Oe as ExtensionBuilder,
890
- F as GeneralControls,
891
- Te as IconsRegistry,
892
- H as ImageControls,
893
- re as ImageMarginsBuiltInControl,
894
- ne as ImageSizeBuiltInControl,
895
- ce as ModificationDescription,
896
- se as SettingsPanelRegistry,
897
- ae as SettingsPanelTab,
898
- Lt as SettingsTab,
899
- ie as TextAlignBuiltInControl,
900
- oe as TextBlockBackgroundBuiltInControl,
901
- Ee as TextColorBuiltInControl,
902
- P as TextControls,
903
- le as TextFontFamilyBuiltInControl,
904
- de as TextPaddingsBuiltInControl,
905
- ue as TextSizeBuiltInControl,
906
- Ie as TextStyleBuiltInControl,
907
- Vt as UEAttr,
908
- _e as UIElement,
909
- he as UIElementTagRegistry,
910
- yt as UIElementType
829
+ kt as ButtonAlignBuiltInControl,
830
+ Vt as ButtonBorderBuiltInControl,
831
+ Xt as ButtonBorderRadiusBuiltInControl,
832
+ Gt as ButtonColorBuiltInControl,
833
+ F as ButtonControls,
834
+ ft as ButtonFitToContainerBuiltInControl,
835
+ Qt as ButtonFontFamilyBuiltInControl,
836
+ Yt as ButtonMarginsBuiltInControl,
837
+ $t as ButtonPaddingsBuiltInControl,
838
+ Wt as ButtonTextBuiltInControl,
839
+ zt as ButtonTextSizeBuiltInControl,
840
+ Zt as ButtonTextStyleAndFontColorBuiltInControl,
841
+ _t as ContainerControls,
842
+ jt as Control,
843
+ xt as Extension,
844
+ le as ExtensionBuilder,
845
+ p as GeneralControls,
846
+ de as IconsRegistry,
847
+ P as ImageControls,
848
+ qt as ImageMarginsBuiltInControl,
849
+ Jt as ImageSizeBuiltInControl,
850
+ ue as ModificationDescription,
851
+ te as SettingsPanelRegistry,
852
+ ee as SettingsPanelTab,
853
+ Rt as SettingsTab,
854
+ re as TextAlignBuiltInControl,
855
+ ne as TextBlockBackgroundBuiltInControl,
856
+ se as TextColorBuiltInControl,
857
+ w as TextControls,
858
+ ie as TextFontFamilyBuiltInControl,
859
+ ae as TextPaddingsBuiltInControl,
860
+ oe as TextSizeBuiltInControl,
861
+ Ee as TextStyleBuiltInControl,
862
+ Ht as UEAttr,
863
+ Oe as UIElement,
864
+ Ie as UIElementTagRegistry,
865
+ vt as UIElementType
911
866
  };