@useinsider/guido 2.0.0-beta.5b1fb5a → 2.0.0-beta.5c09f2c

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