@useinsider/guido 2.1.0-beta.11a9204 → 2.1.0-beta.1859c19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +0 -36
  2. package/dist/@types/config/schemas.js +65 -70
  3. package/dist/components/Guido.vue.js +1 -1
  4. package/dist/components/Guido.vue2.js +58 -69
  5. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +14 -15
  6. package/dist/composables/useBlocksConfig.js +16 -26
  7. package/dist/composables/useHtmlValidator.js +104 -114
  8. package/dist/composables/useRecommendation.js +21 -54
  9. package/dist/config/compiler/recommendationCompilerRules.js +39 -45
  10. package/dist/config/migrator/itemsBlockMigrator.js +97 -101
  11. package/dist/config/migrator/recommendationMigrator.js +2 -2
  12. package/dist/enums/defaults.js +4 -8
  13. package/dist/enums/extensions/recommendationBlock.js +1 -1
  14. package/dist/enums/recommendation.js +15 -16
  15. package/dist/extensions/Blocks/Recommendation/block.js +9 -133
  16. package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +187 -0
  17. package/dist/extensions/Blocks/Recommendation/constants.js +13 -0
  18. package/dist/extensions/Blocks/Recommendation/control.js +336 -0
  19. package/dist/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.js +68 -0
  20. package/dist/extensions/Blocks/Recommendation/controls/index.js +245 -0
  21. package/dist/extensions/Blocks/Recommendation/controls/nameTextTrimControl.js +74 -0
  22. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscount/textAfter.js → omnibusDiscountTextAfterControl.js} +14 -16
  23. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscount/textBefore.js → omnibusDiscountTextBeforeControl.js} +14 -16
  24. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPrice/textAfter.js → omnibusPriceTextAfterControl.js} +14 -16
  25. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPrice/textBefore.js → omnibusPriceTextBeforeControl.js} +12 -14
  26. package/dist/extensions/Blocks/Recommendation/controls/spacingControl.js +188 -0
  27. package/dist/extensions/Blocks/Recommendation/extension.js +17 -40
  28. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +3 -19
  29. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +4 -13
  30. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +10 -21
  31. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +207 -254
  32. package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +181 -0
  33. package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +189 -0
  34. package/dist/extensions/Blocks/Recommendation/templates/templateUtils.js +209 -0
  35. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +9 -9
  36. package/dist/extensions/Blocks/Recommendation/utils/preserveTextStyles.js +15 -26
  37. package/dist/extensions/Blocks/controlFactories.js +93 -125
  38. package/dist/guido.css +1 -1
  39. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +193 -317
  40. package/dist/services/recommendationApi.js +8 -11
  41. package/dist/services/templateLibraryApi.js +13 -16
  42. package/dist/src/@types/config/schemas.d.ts +0 -8
  43. package/dist/src/components/wrappers/WpDrawer.vue.d.ts +1 -1
  44. package/dist/src/composables/useConfig.d.ts +0 -4
  45. package/dist/src/composables/useRecommendation.d.ts +0 -1
  46. package/dist/src/enums/defaults.d.ts +0 -4
  47. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +0 -67
  48. package/dist/src/extensions/Blocks/Recommendation/{controls/cardComposition/index.d.ts → cardCompositionControl.d.ts} +3 -23
  49. package/dist/src/extensions/Blocks/Recommendation/{constants/controlIds.d.ts → constants.d.ts} +24 -0
  50. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +38 -0
  51. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +589 -21
  52. package/dist/src/extensions/Blocks/Recommendation/controls/nameTextTrimControl.d.ts +16 -0
  53. package/dist/src/extensions/Blocks/Recommendation/extension.d.ts +0 -9
  54. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +468 -138
  55. package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +16 -0
  56. package/dist/src/extensions/Blocks/Recommendation/templates/{grid/migration.d.ts → migrationTemplate.d.ts} +4 -11
  57. package/dist/src/extensions/Blocks/Recommendation/templates/templateUtils.d.ts +52 -0
  58. package/dist/src/stores/config.d.ts +0 -36
  59. package/dist/static/styles/components/version-history.css.js +2 -10
  60. package/dist/static/styles/components/wide-panel.css.js +2 -3
  61. package/dist/static/styles/customEditorStyle.css.js +11 -35
  62. package/dist/utils/pairProductVariables.js +56 -57
  63. package/dist/utils/templatePreparation.js +14 -15
  64. package/package.json +1 -1
  65. package/dist/config/compiler/utils/recommendationCompilerUtils.js +0 -121
  66. package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +0 -4
  67. package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +0 -4
  68. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +0 -66
  69. package/dist/extensions/Blocks/Recommendation/constants/layout.js +0 -22
  70. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +0 -21
  71. package/dist/extensions/Blocks/Recommendation/controls/button/index.js +0 -64
  72. package/dist/extensions/Blocks/Recommendation/controls/cardBackground/index.js +0 -80
  73. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +0 -232
  74. package/dist/extensions/Blocks/Recommendation/controls/image/index.js +0 -19
  75. package/dist/extensions/Blocks/Recommendation/controls/layout/index.js +0 -92
  76. package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +0 -102
  77. package/dist/extensions/Blocks/Recommendation/controls/main/currency.js +0 -209
  78. package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +0 -52
  79. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +0 -250
  80. package/dist/extensions/Blocks/Recommendation/controls/main/locale.js +0 -70
  81. package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +0 -160
  82. package/dist/extensions/Blocks/Recommendation/controls/main/shuffle.js +0 -67
  83. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +0 -307
  84. package/dist/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.js +0 -21
  85. package/dist/extensions/Blocks/Recommendation/controls/name/index.js +0 -46
  86. package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +0 -108
  87. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/index.js +0 -44
  88. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.js +0 -48
  89. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/index.js +0 -48
  90. package/dist/extensions/Blocks/Recommendation/controls/price/index.js +0 -44
  91. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +0 -222
  92. package/dist/extensions/Blocks/Recommendation/services/configService.js +0 -240
  93. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +0 -228
  94. package/dist/extensions/Blocks/Recommendation/templates/grid/migration.js +0 -251
  95. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +0 -66
  96. package/dist/extensions/Blocks/Recommendation/templates/index.js +0 -12
  97. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +0 -169
  98. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +0 -73
  99. package/dist/extensions/Blocks/Recommendation/templates/utils.js +0 -134
  100. package/dist/extensions/Blocks/Recommendation/types/nodeConfig.js +0 -6
  101. package/dist/extensions/Blocks/Recommendation/utils/priceFormatter.js +0 -29
  102. package/dist/extensions/Blocks/Recommendation/utils/tagName.js +0 -46
  103. package/dist/extensions/ModulesTabIcons/extension.js +0 -17
  104. package/dist/src/config/compiler/utils/recommendationCompilerUtils.d.ts +0 -17
  105. package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +0 -13
  106. package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +0 -49
  107. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +0 -13
  108. package/dist/src/extensions/Blocks/Recommendation/constants/layout.d.ts +0 -41
  109. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +0 -35
  110. package/dist/src/extensions/Blocks/Recommendation/controls/button/index.d.ts +0 -143
  111. package/dist/src/extensions/Blocks/Recommendation/controls/cardBackground/index.d.ts +0 -31
  112. package/dist/src/extensions/Blocks/Recommendation/controls/image/index.d.ts +0 -35
  113. package/dist/src/extensions/Blocks/Recommendation/controls/layout/index.d.ts +0 -37
  114. package/dist/src/extensions/Blocks/Recommendation/controls/main/algorithm.d.ts +0 -29
  115. package/dist/src/extensions/Blocks/Recommendation/controls/main/currency.d.ts +0 -52
  116. package/dist/src/extensions/Blocks/Recommendation/controls/main/filters.d.ts +0 -22
  117. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +0 -79
  118. package/dist/src/extensions/Blocks/Recommendation/controls/main/locale.d.ts +0 -24
  119. package/dist/src/extensions/Blocks/Recommendation/controls/main/productLayout.d.ts +0 -60
  120. package/dist/src/extensions/Blocks/Recommendation/controls/main/shuffle.d.ts +0 -23
  121. package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +0 -221
  122. package/dist/src/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.d.ts +0 -29
  123. package/dist/src/extensions/Blocks/Recommendation/controls/name/index.d.ts +0 -97
  124. package/dist/src/extensions/Blocks/Recommendation/controls/name/textTrim.d.ts +0 -34
  125. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/index.d.ts +0 -95
  126. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +0 -100
  127. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/textAfter.d.ts +0 -15
  128. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/textBefore.d.ts +0 -15
  129. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +0 -100
  130. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/textAfter.d.ts +0 -15
  131. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/textBefore.d.ts +0 -15
  132. package/dist/src/extensions/Blocks/Recommendation/controls/price/index.d.ts +0 -95
  133. package/dist/src/extensions/Blocks/Recommendation/controls/spacing/index.d.ts +0 -83
  134. package/dist/src/extensions/Blocks/Recommendation/services/configService.d.ts +0 -151
  135. package/dist/src/extensions/Blocks/Recommendation/services/index.d.ts +0 -6
  136. package/dist/src/extensions/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +0 -20
  137. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +0 -33
  138. package/dist/src/extensions/Blocks/Recommendation/templates/index.d.ts +0 -41
  139. package/dist/src/extensions/Blocks/Recommendation/templates/list/elementRenderer.d.ts +0 -8
  140. package/dist/src/extensions/Blocks/Recommendation/templates/list/migration.d.ts +0 -25
  141. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +0 -18
  142. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +0 -66
  143. package/dist/src/extensions/Blocks/Recommendation/types/index.d.ts +0 -7
  144. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +0 -166
  145. package/dist/src/extensions/Blocks/Recommendation/utils/priceFormatter.d.ts +0 -33
  146. package/dist/src/extensions/Blocks/Recommendation/utils/stylePreserver.d.ts +0 -113
  147. package/dist/src/extensions/Blocks/Recommendation/utils/tagName.d.ts +0 -77
  148. package/dist/src/extensions/ModulesTabIcons/extension.d.ts +0 -2
@@ -4,14 +4,14 @@ var B = class d {
4
4
  * @param requiredMethods - Array of method names that must be implemented
5
5
  * @param classRef - Reference to the class constructor for validation caching
6
6
  */
7
- constructor(t, n) {
8
- if (n !== d) {
9
- d.validatedClasses.has(n) || this.validateImplementation(t, n);
10
- const i = d.validationErrors.get(n);
11
- if (i && i.length > 0)
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)
12
12
  throw new Error(
13
- `${n.name} has validation errors:
14
- ${i.map((o) => ` - ${o}`).join(`
13
+ `${r.name} has validation errors:
14
+ ${s.map((o) => ` - ${o}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -20,23 +20,23 @@ ${i.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, n) {
23
+ validateImplementation(t, r) {
24
24
  var x;
25
- const i = [], o = n.name, Y = Object.getPrototypeOf(this);
25
+ const s = [], o = r.name, Y = Object.getPrototypeOf(this);
26
26
  t.forEach((u) => {
27
27
  if (typeof this[u] != "function") {
28
- i.push(`Method ${u}() is not defined`);
28
+ s.push(`Method ${u}() is not defined`);
29
29
  return;
30
30
  }
31
- Y[u] === n.prototype[u] && i.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
32
- }), d.validatedClasses.add(n), i.length > 0 ? (d.validationErrors.set(n, i), console.error(`[${o} Validation] ${o} validation failed:`, i)) : typeof process < "u" && ((x = process.env) == null ? void 0 : x.NODE_ENV) === "development" && console.log(`[${o} Validation] ✅ ${o} validated successfully`);
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`);
33
33
  }
34
34
  };
35
35
  B.validatedClasses = /* @__PURE__ */ new Set();
36
36
  B.validationErrors = /* @__PURE__ */ new Map();
37
- var s = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), v = class c extends s {
37
+ var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), y = class T extends a {
38
38
  constructor() {
39
- super(c.REQUIRED_METHODS, c);
39
+ super(T.REQUIRED_METHODS, T);
40
40
  }
41
41
  /**
42
42
  * Determines if the block should be available for use in the editor.
@@ -195,10 +195,10 @@ var s = 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
- v.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
- var Qe = v, W = class T extends s {
198
+ y.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
+ var we = y, W = class c extends a {
200
200
  constructor() {
201
- super(T.REQUIRED_METHODS, T);
201
+ super(c.REQUIRED_METHODS, c);
202
202
  }
203
203
  /**
204
204
  * @deprecated - use {@link getPreviewInnerHtml} instead
@@ -214,76 +214,9 @@ var Qe = v, W = class T extends s {
214
214
  }
215
215
  };
216
216
  W.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
- var fe = class {
218
- /**
219
- * Generates HTML representation for a block item
220
- * @param block - The block item to generate HTML for
221
- * @returns HTML string representation of the block or undefined if default representation should be used
222
- */
223
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
224
- getBlockItemHtml(e) {
225
- }
226
- /**
227
- * Determines whether a hint should be displayed for the block
228
- * @param block - The block item to check hint visibility for
229
- * @returns True if the hint should be visible, false otherwise
230
- */
231
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
232
- isBlockHintVisible(e) {
233
- return !0;
234
- }
235
- /**
236
- * Gets the hint text for a block
237
- * @param block - The block item to get hint for
238
- * @returns The hint text for the block or undefined if default hint should be used
239
- */
240
- getBlockHint(e) {
241
- return {
242
- title: e.title,
243
- description: e.description
244
- };
245
- }
246
- /**
247
- * Generates HTML representation for the blocks panel header
248
- * @returns HTML string representation of the blocks panel header or undefined if header should not be shown
249
- */
250
- getBlocksPanelHeaderHtml() {
251
- }
252
- /**
253
- * Generates HTML representation for the modules panel in collapsed state
254
- * @returns HTML string representation of the collapsed modules panel or undefined if default representation should be used
255
- */
256
- getModulesPanelCollapsedHtml() {
257
- }
258
- /**
259
- * Determines whether a hint should be displayed for the collapsed modules panel
260
- * @returns True if the hint should be visible, false otherwise
261
- */
262
- isModulesPanelCollapsedHintVisible() {
263
- return !0;
264
- }
265
- /**
266
- * Gets the custom delay for showing hints
267
- * @returns The delay in milliseconds or undefined to use the default delay
268
- */
269
- getHintDelay() {
270
- }
271
- /**
272
- * Gets the hint text for a modules panel block
273
- * @returns The hint text for the modules panel or undefined if default hint should be used
274
- */
275
- getModulesPanelHint() {
276
- }
277
- /**
278
- * Gets the icon name for the modules tab
279
- * @returns The icon name for the modules tab or undefined if default icon or text should be used
280
- */
281
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
282
- getModulesTabIconName(e) {
283
- }
284
- }, z = class b extends s {
217
+ var z = class O extends a {
285
218
  constructor() {
286
- super(b.REQUIRED_METHODS, b);
219
+ super(O.REQUIRED_METHODS, O);
287
220
  }
288
221
  getId() {
289
222
  throw new Error("Method getId() must be implemented by the subclass");
@@ -305,132 +238,78 @@ var Z = {
305
238
  href: "href",
306
239
  width: "width",
307
240
  height: "height"
308
- }, Ye = {
309
- BLOCK_IMAGE: Z
310
- }, y = "esd-block-button", U = "esd-block-text", P = "esd-block-image", j = "esd-structure", q = "esd-block-video", J = "esd-block-social", ee = "esd-block-banner", te = "esd-block-timer", re = "esd-block-menu", ne = "esd-block-html", ae = "esd-block-spacer", se = "esd-container-frame", ie = "esd-stripe", le = "esd-amp-form", I = ((e) => (e.BUTTON = `.${y}`, e.TEXT = `.${U}`, e.IMAGE = `.${P}`, e.STRUCTURE = `.${j}`, e.VIDEO = `.${q}`, e.SOCIAL = `.${J}`, e.BANNER = `.${ee}`, e.TIMER = `.${te}`, e.MENU = `.${re}`, e.HTML = `.${ne}`, e.SPACER = `.${ae}`, e.CONTAINER = `.${se}`, e.STRIPE = `.${ie}`, e.FORM = `.${le}`, e))(I || {}), Ee = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(Ee || {}), w = /* @__PURE__ */ ((e) => (e.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", e.APPLY_CONDITION = "applyCondition", e.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", e.BACKGROUND_COLOR = "backgroundColor", e.BACKGROUND_IMAGE = "generalImageContainer", e.TEXT_COLOR = "textColor", e.TEXT_STYLE = "textStyle", e.TEXT_SIZE = "textSize", e.TEXT_LINE_SPACING = "textLineSpacing", e.TEXT_ALIGN = "textAlign", e.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", e.HIDDEN_NODE = "hiddenNode", e.SMART_BLOCK = "smartBlock", e.SYNCHRONIZED_MODULE = "synchronizedModuleForm", e.FONT_FAMILY = "generalFontFamilyForm", e.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", e.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", e))(w || {}), K = /* @__PURE__ */ ((e) => (e.ADJUST_TO_WIDTH = "adjustToWidth", e.ALIGNMENT = "buttonAlignment", e.BORDER = "buttonBorder", e.BORDER_RADIUS = "buttonBorderRadius", e.COLOR = "buttonColor", e.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", e.EXTERNAL_INDENTS = "buttonExternalIndents", e.FIXED_HEIGHT = "buttonFixedHeightForm", e.FONT_COLOR = "buttonFontColor", e.FONT_FAMILY = "buttonFontFamily", e.FONT_SIZE = "buttonFontSize", e.ICON = "buttonIconContainer", e.ICON_ALIGN = "buttonIconAlign", e.ICON_INDENT = "buttonIconIndent", e.ICON_WIDTH = "buttonIconWidth", e.IMAGE = "buttonImageForm", e.INTERNAL_INDENTS = "buttonInternalIndents", e.LINK = "buttonLink", e.MIME_TYPE = "buttonMimeTypeForm", e.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", e.TEXT = "buttonText", e.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", e.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", e.HOVERED_COLOR = "hoveredButtonColorForm", e.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", e))(K || {}), F = /* @__PURE__ */ ((e) => (e.HIDDEN_NODE = "hiddenNodeText", e.PARAGRAPH_STYLE = "paragraphStyleForm", e.ALIGN = "textAlignmentForm", e.ANCHOR_CONTAINER = "textAnchorForm", e.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", e.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", e.FONT_COLOR = "textBlockFontColor", e.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.LINKS_COLOR = "textLinksFontColorForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(F || {}), H = /* @__PURE__ */ ((e) => (e.ALT_TEXT = "altText", e.LINK = "blockLink", e.ALIGNMENT = "imageAlignment", e.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", e.BORDER_RADIUS = "imageBorderRadiusForm", e.IMAGE = "imageImageForm", e.EXTERNAL_INDENTS = "imageExternalIndents", e.MIME_TYPE = "imageMimeTypeForm", e.RESPONSIVE = "imageResponsive", e.ROLLOVER_IMAGE = "imageRolloverImageForm", e.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", e.SIZE = "imageSizeContainer", e))(H || {}), oe = /* @__PURE__ */ ((e) => (e.BACKGROUND_COLOR = "containerBackgroundColorForm", e.BORDER_FORM = "containerBorderForm", e.BORDER_RADIUS = "containerBorderRadiusForm", e.EXTERNAL_INDENTS = "containerExternalIndentsForm", e.IMAGE_CONTAINER = "containerImageContainerForm", e.MIME_TYPE = "containerMimeTypeForm", e.DISPLAY_CONDITIONS = "displayConditions", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(oe || {}), a = {
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 = {
311
247
  BLOCK_BUTTON: K,
312
248
  BLOCK_TEXT: F,
313
249
  BLOCK_IMAGE: H,
314
- GENERAL: w
315
- }, de = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e))(de || {}), ue = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(ue || {}), Ie = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(Ie || {}), r = {
250
+ GENERAL: P
251
+ }, ue = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(ue || {}), E = {
316
252
  name: "name",
317
253
  disabled: "disabled"
318
- }, ce = {
319
- ...r,
254
+ }, Ie = {
255
+ ...E,
320
256
  caption: "caption",
321
257
  icon: "icon"
322
258
  }, Te = {
323
- ...r,
259
+ ...E,
324
260
  caption: "caption"
325
- }, be = {
326
- ...r,
261
+ }, ce = {
262
+ ...E,
327
263
  minValue: "min-value",
328
264
  maxValue: "max-value",
329
265
  step: "step"
330
266
  }, Oe = {
331
- ...r,
332
- placeholder: "placeholder",
333
- minDate: "min-date"
267
+ ...E,
268
+ text: "text"
334
269
  }, he = {
335
- ...r,
336
- text: "text",
337
- hint: "hint"
338
- }, ge = {
339
- ...r,
340
- type: "type"
341
- }, me = {
342
- ...r,
343
- buttons: "buttons"
344
- }, k = {
345
- ...r,
270
+ ...E
271
+ }, X = {
272
+ ...E,
346
273
  searchable: "searchable",
347
274
  multiSelect: "multi-select",
348
275
  placeholder: "placeholder",
349
276
  items: "items"
350
- }, Re = {
351
- ...k,
352
- addCustomFontOption: "add-custom-font-option"
353
- }, Le = {
354
- ...r,
355
- text: "text",
356
- value: "value"
357
- }, _e = {
358
- ...r,
277
+ }, ge = {
278
+ ...X
279
+ }, be = {
359
280
  text: "text",
360
- hint: "hint",
361
- icon: "icon",
362
281
  value: "value"
363
- }, Ce = {
364
- ...r,
365
- buttons: "buttons"
366
- }, Ae = {
367
- ...r,
282
+ }, me = {
368
283
  text: "text",
369
- hint: "hint",
370
284
  icon: "icon",
371
285
  value: "value"
372
- }, Ne = {
373
- ...r,
374
- placeholder: "placeholder"
375
- }, De = {
376
- ...r,
377
- resizable: "resizable",
378
- placeholder: "placeholder"
379
- }, Se = {
380
- ...r,
381
- img: "img",
382
- src: "src",
383
- title: "title",
384
- imageClass: "image-class",
385
- hint: "hint",
386
- disabled: "disabled",
387
- isActive: "is-active",
388
- visibility: "visibility",
389
- transform: "transform"
390
- }, Be = {
391
- ...r,
286
+ }, Re = {
287
+ ...E
288
+ }, _e = {
392
289
  controlId: "control-id"
393
- }, Me = {
394
- ...r,
395
- expanded: "expanded"
396
- }, xe = {
397
- ...r,
290
+ }, Le = {
291
+ ...E,
398
292
  icon: "icon",
399
293
  position: "position"
400
- }, ve = {
401
- ...r
402
- }, ye = {
403
- ...r,
404
- icon: "icon"
405
- }, Ue = {
406
- ...r
407
- }, $e = {
408
- DEFAULT: r,
409
- BUTTON: ce,
294
+ }, Ce = {
295
+ ...E
296
+ }, Ke = {
297
+ BUTTON: Ie,
410
298
  CHECKBOX: Te,
411
- CHECK_BUTTONS: Ce,
412
- COLOR: r,
413
- COUNTER: be,
414
- DATEPICKER: Oe,
415
- LABEL: he,
416
- MESSAGE: ge,
417
- RADIO_BUTTONS: me,
418
- SELECTPICKER: k,
419
- FONT_FAMILY_SELECT: Re,
420
- SWITCHER: r,
421
- TEXT: Ne,
422
- TEXTAREA: De,
423
- ICON: Se,
424
- CHECK_ITEM: _e,
425
- SELECT_ITEM: Le,
426
- RADIO_ITEM: Ae,
427
- NESTED_CONTROL: Be,
428
- EXPANDABLE: Me,
429
- ORDERABLE: xe,
430
- ORDERABLE_ITEM: ve,
431
- ORDERABLE_ICON: ye,
432
- REPEATABLE: Ue
433
- }, Pe = /* @__PURE__ */ ((e) => (e.BUTTON = "UE-BUTTON", e.CHECKBOX = "UE-CHECKBOX", e.CHECK_BUTTONS = "UE-CHECK-BUTTONS", e.COLOR = "UE-COLOR", e.COUNTER = "UE-COUNTER", e.DATEPICKER = "UE-DATEPICKER", e.LABEL = "UE-LABEL", e.MESSAGE = "UE-MESSAGE", e.RADIO_BUTTONS = "UE-RADIO-BUTTONS", e.SELECTPICKER = "UE-SELECT", e.SWITCHER = "UE-SWITCHER", e.TEXT = "UE-TEXT", e.TEXTAREA = "UE-TEXTAREA", e.CHECK_ITEM = "UE-CHECK-ITEM", e.RADIO_ITEM = "UE-RADIO-ITEM", e.SELECT_ITEM = "UE-SELECT-ITEM", e.ICON = "UE-ICON", e.MERGETAGS = "UE-MERGETAGS", e.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", e.NESTED_CONTROL = "UE-NESTED-CONTROL", e.EXPANDABLE = "UE-EXPANDABLE", e.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", e.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", e.ORDERABLE = "UE-ORDERABLE", e.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", e.ORDERABLE_ICON = "UE-ORDERABLE-ICON", e.REPEATABLE = "UE-REPEATABLE", e))(Pe || {}), M = class {
299
+ COLOR: E,
300
+ COUNTER: ce,
301
+ LABEL: Oe,
302
+ RADIO_BUTTONS: he,
303
+ SELECTPICKER: X,
304
+ 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 {
434
313
  /**
435
314
  * @description returns map of nodes parent control operates on
436
315
  */
@@ -461,68 +340,68 @@ var Z = {
461
340
  isVisible(e) {
462
341
  return !0;
463
342
  }
464
- }, l = class extends M {
343
+ }, i = class extends M {
465
344
  getTargetNodes(e) {
466
- const t = e.querySelectorAll(I.BUTTON), n = e.asElement().hasClass(y) ? [e] : [];
467
- return t.length ? t : n;
345
+ const t = e.querySelectorAll(I.BUTTON), r = e.asElement().hasClass(v) ? [e] : [];
346
+ return t.length ? t : r;
468
347
  }
469
- }, We = class extends l {
348
+ }, Fe = class extends i {
470
349
  getParentControlId() {
471
- return a.BLOCK_BUTTON.BORDER_RADIUS;
350
+ return n.BLOCK_BUTTON.BORDER_RADIUS;
472
351
  }
473
352
  getLabels() {
474
353
  }
475
- }, ze = class extends l {
354
+ }, He = class extends i {
476
355
  getParentControlId() {
477
- return a.BLOCK_BUTTON.ALIGNMENT;
356
+ return n.BLOCK_BUTTON.ALIGNMENT;
478
357
  }
479
- }, Ze = class extends l {
358
+ }, Xe = class extends i {
480
359
  getParentControlId() {
481
- return a.GENERAL.BACKGROUND_COLOR;
360
+ return n.GENERAL.BACKGROUND_COLOR;
482
361
  }
483
- }, je = class extends l {
362
+ }, ke = class extends i {
484
363
  getParentControlId() {
485
- return a.BLOCK_BUTTON.BORDER;
364
+ return n.BLOCK_BUTTON.BORDER;
486
365
  }
487
366
  getLabels() {
488
367
  }
489
- }, qe = class extends l {
368
+ }, Ge = class extends i {
490
369
  getParentControlId() {
491
- return a.BLOCK_BUTTON.COLOR;
370
+ return n.BLOCK_BUTTON.COLOR;
492
371
  }
493
- }, Je = class extends l {
372
+ }, Ve = class extends i {
494
373
  getParentControlId() {
495
- return a.BLOCK_BUTTON.ADJUST_TO_WIDTH;
374
+ return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
496
375
  }
497
- }, et = class extends l {
376
+ }, pe = class extends i {
498
377
  getParentControlId() {
499
- return a.BLOCK_BUTTON.FONT_FAMILY;
378
+ return n.BLOCK_BUTTON.FONT_FAMILY;
500
379
  }
501
- }, tt = class extends l {
380
+ }, Qe = class extends i {
502
381
  getParentControlId() {
503
- return a.BLOCK_BUTTON.EXTERNAL_INDENTS;
382
+ return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
504
383
  }
505
- }, rt = class extends l {
384
+ }, fe = class extends i {
506
385
  getParentControlId() {
507
- return a.BLOCK_BUTTON.INTERNAL_INDENTS;
386
+ return n.BLOCK_BUTTON.INTERNAL_INDENTS;
508
387
  }
509
- }, nt = class extends l {
388
+ }, Ye = class extends i {
510
389
  getParentControlId() {
511
- return a.BLOCK_BUTTON.TEXT;
390
+ return n.BLOCK_BUTTON.TEXT;
512
391
  }
513
- }, at = class extends l {
392
+ }, $e = class extends i {
514
393
  getParentControlId() {
515
- return a.BLOCK_BUTTON.FONT_SIZE;
394
+ return n.BLOCK_BUTTON.FONT_SIZE;
516
395
  }
517
- }, st = class extends l {
396
+ }, We = class extends i {
518
397
  getParentControlId() {
519
- return a.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
398
+ return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
520
399
  }
521
400
  getLabels() {
522
401
  }
523
- }, X = class O extends s {
402
+ }, k = class h extends a {
524
403
  constructor() {
525
- super(O.REQUIRED_METHODS, O);
404
+ super(h.REQUIRED_METHODS, h);
526
405
  }
527
406
  /**
528
407
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -575,10 +454,10 @@ var Z = {
575
454
  onDocumentChanged(t) {
576
455
  }
577
456
  };
578
- X.REQUIRED_METHODS = ["getId", "getTemplate"];
579
- var it = X, we = class h extends s {
457
+ k.REQUIRED_METHODS = ["getId", "getTemplate"];
458
+ var ze = k, Ne = class g extends a {
580
459
  constructor() {
581
- super(h.REQUIRED_METHODS, h);
460
+ super(g.REQUIRED_METHODS, g);
582
461
  }
583
462
  /**
584
463
  * Gets the unique identifier for this tab.
@@ -645,30 +524,30 @@ var it = X, we = class h extends s {
645
524
  onDestroy() {
646
525
  }
647
526
  };
648
- we.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
649
- var p = class extends M {
527
+ Ne.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
528
+ var G = class extends M {
650
529
  getTargetNodes(e) {
651
- const t = e.querySelectorAll(I.IMAGE), n = e.asElement().hasClass(P) ? [e] : [];
652
- return t.length ? t : n;
530
+ const t = e.querySelectorAll(I.IMAGE), r = e.asElement().hasClass(w) ? [e] : [];
531
+ return t.length ? t : r;
653
532
  }
654
- }, lt = class extends p {
533
+ }, Ze = class extends G {
655
534
  getParentControlId() {
656
- return a.BLOCK_IMAGE.EXTERNAL_INDENTS;
535
+ return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
657
536
  }
658
- }, Et = class extends p {
537
+ }, je = class extends G {
659
538
  getParentControlId() {
660
- return a.BLOCK_IMAGE.SIZE;
539
+ return n.BLOCK_IMAGE.SIZE;
661
540
  }
662
- }, G = class g extends s {
541
+ }, V = class b extends a {
663
542
  constructor() {
664
- super(g.REQUIRED_METHODS, g);
543
+ super(b.REQUIRED_METHODS, b);
665
544
  }
666
545
  registerBlockControls(t) {
667
546
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
668
547
  }
669
548
  };
670
- G.REQUIRED_METHODS = ["registerBlockControls"];
671
- var ot = G, dt = class {
549
+ V.REQUIRED_METHODS = ["registerBlockControls"];
550
+ var qe = V, Je = class {
672
551
  constructor(e, t) {
673
552
  this.tabId = e, this.controlsIds = t;
674
553
  }
@@ -691,40 +570,40 @@ var ot = G, dt = class {
691
570
  const t = this.controlsIds.indexOf(e);
692
571
  t !== -1 && this.controlsIds.splice(t, 1);
693
572
  }
694
- }, E = class extends M {
573
+ }, l = class extends M {
695
574
  getTargetNodes(e) {
696
- const t = e.querySelectorAll(I.TEXT), n = e.asElement().hasClass(U) ? [e] : [];
697
- return t.length ? t : n;
575
+ const t = e.querySelectorAll(I.TEXT), r = e.asElement().hasClass(U) ? [e] : [];
576
+ return t.length ? t : r;
698
577
  }
699
- }, ut = class extends E {
578
+ }, et = class extends l {
700
579
  getParentControlId() {
701
- return a.GENERAL.TEXT_ALIGN;
580
+ return n.GENERAL.TEXT_ALIGN;
702
581
  }
703
- }, It = class extends E {
582
+ }, tt = class extends l {
704
583
  getParentControlId() {
705
- return a.GENERAL.TEXT_COLOR;
584
+ return n.GENERAL.TEXT_COLOR;
706
585
  }
707
- }, ct = class extends E {
586
+ }, rt = class extends l {
708
587
  getParentControlId() {
709
- return a.BLOCK_TEXT.FONT_FAMILY;
588
+ return n.BLOCK_TEXT.FONT_FAMILY;
710
589
  }
711
- }, Tt = class extends E {
590
+ }, nt = class extends l {
712
591
  getParentControlId() {
713
- return a.GENERAL.TEXT_LINE_SPACING;
592
+ return n.GENERAL.TEXT_LINE_SPACING;
714
593
  }
715
- }, bt = class extends E {
594
+ }, at = class extends l {
716
595
  getParentControlId() {
717
- return a.BLOCK_TEXT.INTERNAL_INDENTS;
596
+ return n.BLOCK_TEXT.INTERNAL_INDENTS;
718
597
  }
719
- }, Ot = class extends E {
598
+ }, st = class extends l {
720
599
  getParentControlId() {
721
- return a.GENERAL.TEXT_SIZE;
600
+ return n.GENERAL.TEXT_SIZE;
722
601
  }
723
- }, ht = class extends E {
602
+ }, it = class extends l {
724
603
  getParentControlId() {
725
- return a.GENERAL.TEXT_STYLE;
604
+ return n.GENERAL.TEXT_STYLE;
726
605
  }
727
- }, Ke = class {
606
+ }, De = class {
728
607
  constructor(e) {
729
608
  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);
730
609
  }
@@ -785,7 +664,7 @@ var ot = G, dt = class {
785
664
  getGeneralPanelTabs() {
786
665
  return this.generalPanelTabs;
787
666
  }
788
- }, gt = class {
667
+ }, Et = class {
789
668
  constructor() {
790
669
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [];
791
670
  }
@@ -853,7 +732,7 @@ var ot = G, dt = class {
853
732
  return this.generalPanelTabs.push(e), this;
854
733
  }
855
734
  build() {
856
- return new Ke({
735
+ return new De({
857
736
  i18n: this.i18n,
858
737
  styles: this.styles.map((e) => e.trim()).join(`
859
738
  `),
@@ -875,7 +754,7 @@ var ot = G, dt = class {
875
754
  generalPanelTabs: this.generalPanelTabs
876
755
  });
877
756
  }
878
- }, Fe = class m extends s {
757
+ }, Se = class m extends a {
879
758
  constructor() {
880
759
  super(m.REQUIRED_METHODS, m);
881
760
  }
@@ -883,8 +762,8 @@ var ot = G, dt = class {
883
762
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
884
763
  }
885
764
  };
886
- Fe.REQUIRED_METHODS = ["openAiAssistant"];
887
- var He = class R extends s {
765
+ Se.REQUIRED_METHODS = ["openAiAssistant"];
766
+ var Be = class R extends a {
888
767
  constructor() {
889
768
  super(R.REQUIRED_METHODS, R);
890
769
  }
@@ -903,7 +782,7 @@ var He = class R extends s {
903
782
  * @param {ExternalDisplayConditionSelectedCB} _successCallback - Callback executed with the updated or newly created condition upon success.
904
783
  * @param {() => void} _cancelCallback - Callback executed when the dialog is closed without making changes.
905
784
  */
906
- openExternalDisplayConditionsDialog(t, n, i) {
785
+ openExternalDisplayConditionsDialog(t, r, s) {
907
786
  throw new Error("Method openExternalDisplayConditionsDialog() must be implemented by the subclass");
908
787
  }
909
788
  /**
@@ -924,19 +803,19 @@ var He = class R extends s {
924
803
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
925
804
  }
926
805
  };
927
- He.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
928
- var ke = class L extends s {
806
+ Be.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
807
+ var Me = class _ extends a {
929
808
  constructor() {
930
- super(L.REQUIRED_METHODS, L);
809
+ super(_.REQUIRED_METHODS, _);
931
810
  }
932
- openImageLibrary(t, n, i) {
811
+ openImageLibrary(t, r, s) {
933
812
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
934
813
  }
935
814
  };
936
- ke.REQUIRED_METHODS = ["openImageLibrary"];
937
- var Xe = class _ extends s {
815
+ Me.REQUIRED_METHODS = ["openImageLibrary"];
816
+ var xe = class L extends a {
938
817
  constructor() {
939
- super(_.REQUIRED_METHODS, _);
818
+ super(L.REQUIRED_METHODS, L);
940
819
  }
941
820
  /**
942
821
  * @description Returns the translated name/label for the tab
@@ -951,30 +830,30 @@ var Xe = class _ extends s {
951
830
  * @param _onImageSelectCallback - Callback to invoke when an image is selected
952
831
  * @param _selectedNode - (Optional) Selected node for which the gallery is being opened
953
832
  */
954
- openImageLibraryTab(t, n, i) {
833
+ openImageLibraryTab(t, r, s) {
955
834
  throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
956
835
  }
957
836
  };
958
- Xe.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
959
- var pe = class C extends s {
837
+ xe.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
838
+ var ye = class C extends a {
960
839
  constructor() {
961
840
  super(C.REQUIRED_METHODS, C);
962
841
  }
963
- openSmartElementsLibrary(t, n) {
842
+ openSmartElementsLibrary(t, r) {
964
843
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
965
844
  }
966
845
  };
967
- pe.REQUIRED_METHODS = ["openSmartElementsLibrary"];
968
- var Ge = class A extends s {
846
+ ye.REQUIRED_METHODS = ["openSmartElementsLibrary"];
847
+ var ve = class A extends a {
969
848
  constructor() {
970
849
  super(A.REQUIRED_METHODS, A);
971
850
  }
972
- openExternalVideosLibraryDialog(t, n, i) {
851
+ openExternalVideosLibraryDialog(t, r, s) {
973
852
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
974
853
  }
975
854
  };
976
- Ge.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
977
- var V = class N extends s {
855
+ ve.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
856
+ var p = class N extends a {
978
857
  constructor() {
979
858
  super(N.REQUIRED_METHODS, N);
980
859
  }
@@ -982,8 +861,8 @@ var V = class N extends s {
982
861
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
983
862
  }
984
863
  };
985
- V.REQUIRED_METHODS = ["registerIconsSvg"];
986
- var mt = V, Rt = class {
864
+ p.REQUIRED_METHODS = ["registerIconsSvg"];
865
+ var lt = p, ot = class {
987
866
  constructor(e) {
988
867
  this.key = e;
989
868
  }
@@ -996,7 +875,7 @@ var mt = V, Rt = class {
996
875
  params: this.params
997
876
  };
998
877
  }
999
- }, Q = class D extends s {
878
+ }, Q = class D extends a {
1000
879
  constructor() {
1001
880
  super(D.REQUIRED_METHODS, D);
1002
881
  }
@@ -1033,7 +912,7 @@ var mt = V, Rt = class {
1033
912
  * @param name - The name of the attribute that was updated.
1034
913
  * @param value - The new value of the attribute.
1035
914
  */
1036
- onAttributeUpdated(t, n) {
915
+ onAttributeUpdated(t, r) {
1037
916
  }
1038
917
  /**
1039
918
  * Gets the unique identifier for this UI element type.
@@ -1052,7 +931,7 @@ var mt = V, Rt = class {
1052
931
  }
1053
932
  };
1054
933
  Q.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
1055
- var Lt = Q, f = class S extends s {
934
+ var dt = Q, f = class S extends a {
1056
935
  constructor() {
1057
936
  super(S.REQUIRED_METHODS, S);
1058
937
  }
@@ -1061,54 +940,51 @@ var Lt = Q, f = class S extends s {
1061
940
  }
1062
941
  };
1063
942
  f.REQUIRED_METHODS = ["registerUiElements"];
1064
- var _t = f;
943
+ var ut = f;
1065
944
  export {
1066
- Qe as Block,
1067
- Ye as BlockAttr,
945
+ we as Block,
946
+ Pe as BlockAttr,
1068
947
  $ as BlockCompositionType,
1069
948
  I as BlockSelector,
1070
- Ee as BlockType,
1071
- fe as BlocksPanel,
949
+ oe as BlockType,
1072
950
  M as BuiltInControl,
1073
- a as BuiltInControlTypes,
1074
- ze as ButtonAlignBuiltInControl,
1075
- Ze as ButtonBackgroundColorBuiltInControl,
1076
- je as ButtonBorderBuiltInControl,
1077
- We as ButtonBorderRadiusBuiltInControl,
1078
- qe as ButtonColorBuiltInControl,
951
+ n as BuiltInControlTypes,
952
+ He as ButtonAlignBuiltInControl,
953
+ Xe as ButtonBackgroundColorBuiltInControl,
954
+ ke as ButtonBorderBuiltInControl,
955
+ Fe as ButtonBorderRadiusBuiltInControl,
956
+ Ge as ButtonColorBuiltInControl,
1079
957
  K as ButtonControls,
1080
- Je as ButtonFitToContainerBuiltInControl,
1081
- et as ButtonFontFamilyBuiltInControl,
1082
- tt as ButtonMarginsBuiltInControl,
1083
- rt as ButtonPaddingsBuiltInControl,
1084
- nt as ButtonTextBuiltInControl,
1085
- at as ButtonTextSizeBuiltInControl,
1086
- st as ButtonTextStyleAndFontColorBuiltInControl,
1087
- oe as ContainerControls,
1088
- it as Control,
1089
- de as EditorStatePropertyType,
1090
- Ke as Extension,
1091
- gt as ExtensionBuilder,
1092
- w as GeneralControls,
1093
- mt as IconsRegistry,
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,
1094
971
  H as ImageControls,
1095
- lt as ImageMarginsBuiltInControl,
1096
- Et as ImageSizeBuiltInControl,
1097
- Rt as ModificationDescription,
1098
- ue as PreviewDeviceMode,
1099
- ot as SettingsPanelRegistry,
1100
- dt as SettingsPanelTab,
1101
- Ie as SettingsTab,
1102
- ut as TextAlignBuiltInControl,
1103
- It as TextColorBuiltInControl,
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,
1104
980
  F as TextControls,
1105
- ct as TextFontFamilyBuiltInControl,
1106
- Tt as TextLineSpacingBuiltInControl,
1107
- bt as TextPaddingsBuiltInControl,
1108
- Ot as TextSizeBuiltInControl,
1109
- ht as TextStyleBuiltInControl,
1110
- $e as UEAttr,
1111
- Lt as UIElement,
1112
- _t as UIElementTagRegistry,
1113
- Pe as UIElementType
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
1114
990
  };