@useinsider/guido 1.0.3-beta.e9bec65 → 1.0.3-beta.ef63ed1

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 (183) hide show
  1. package/README.md +3 -147
  2. package/dist/components/Guido.vue.js +9 -11
  3. package/dist/components/Guido.vue2.js +74 -81
  4. package/dist/components/organisms/header/LeftSlot.vue.js +1 -1
  5. package/dist/components/organisms/header/LeftSlot.vue2.js +15 -16
  6. package/dist/components/organisms/header/RightSlot.vue.js +11 -11
  7. package/dist/components/organisms/header/RightSlot.vue2.js +22 -23
  8. package/dist/components/organisms/onboarding/NewVersionPopup.vue.js +9 -9
  9. package/dist/components/organisms/onboarding/NewVersionPopup.vue2.js +17 -30
  10. package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +10 -12
  11. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +18 -19
  12. package/dist/composables/useGuidoActions.js +9 -19
  13. package/dist/composables/useStripo.js +55 -48
  14. package/dist/config/compiler/unsubscribeCompilerRules.js +28 -33
  15. package/dist/config/migrator/index.js +6 -7
  16. package/dist/enums/defaults.js +8 -16
  17. package/dist/enums/onboarding.js +1 -2
  18. package/dist/enums/unsubscribe.js +25 -27
  19. package/dist/extensions/Blocks/Checkbox/extension.js +2 -2
  20. package/dist/extensions/Blocks/CouponBlock/extension.js +2 -2
  21. package/dist/extensions/Blocks/RadioButton/template.js +6 -6
  22. package/dist/extensions/DynamicContent/dynamic-content-modal.js +19 -25
  23. package/dist/extensions/DynamicContent/dynamic-content.js +33 -128
  24. package/dist/guido.css +1 -1
  25. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +93 -311
  26. package/dist/package.json.js +1 -1
  27. package/dist/services/stripoApi.js +1 -1
  28. package/dist/src/@types/generic.d.ts +4 -44
  29. package/dist/src/components/Guido.vue.d.ts +2 -4
  30. package/dist/src/components/organisms/onboarding/NewVersionPopup.vue.d.ts +1 -3
  31. package/dist/src/components/organisms/onboarding/OnboardingWrapper.vue.d.ts +1 -3
  32. package/dist/src/components/wrappers/WpModal.vue.d.ts +1 -1
  33. package/dist/src/composables/useGuidoActions.d.ts +0 -9
  34. package/dist/src/enums/onboarding.d.ts +0 -1
  35. package/dist/src/extensions/DynamicContent/dynamic-content-modal.d.ts +2 -9
  36. package/dist/src/extensions/DynamicContent/dynamic-content.d.ts +2 -52
  37. package/dist/src/stores/config.d.ts +2 -10
  38. package/dist/src/stores/dynamic-content.d.ts +3 -3
  39. package/dist/src/stores/editor.d.ts +1 -22
  40. package/dist/src/stores/onboarding.d.ts +1 -1
  41. package/dist/src/stores/preview.d.ts +1 -1
  42. package/dist/src/stores/recommendation.d.ts +1 -1
  43. package/dist/src/stores/save-as-template.d.ts +1 -1
  44. package/dist/src/stores/toaster.d.ts +1 -1
  45. package/dist/src/stores/unsubscribe.d.ts +1 -1
  46. package/dist/src/stores/version-history.d.ts +1 -1
  47. package/dist/src/utils/dateUtil.d.ts +0 -21
  48. package/dist/src/utils/genericUtil.d.ts +0 -2
  49. package/dist/static/styles/components/narrow-panel.css.js +0 -10
  50. package/dist/static/styles/customEditorStyle.css.js +0 -5
  51. package/dist/stores/config.js +5 -5
  52. package/dist/stores/dynamic-content.js +2 -2
  53. package/dist/stores/editor.js +2 -3
  54. package/dist/stores/onboarding.js +27 -27
  55. package/dist/stores/preview.js +1 -1
  56. package/dist/stores/recommendation.js +3 -3
  57. package/dist/stores/save-as-template.js +2 -2
  58. package/dist/stores/toaster.js +1 -1
  59. package/dist/stores/unsubscribe.js +1 -1
  60. package/dist/stores/version-history.js +4 -4
  61. package/dist/utils/dateUtil.js +3 -24
  62. package/dist/utils/genericUtil.js +11 -23
  63. package/package.json +5 -5
  64. package/dist/components/organisms/extensions/recommendation/FilterItem.vue.js +0 -28
  65. package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +0 -38
  66. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue.js +0 -17
  67. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +0 -37
  68. package/dist/components/organisms/extensions/recommendation/Filters.vue.js +0 -20
  69. package/dist/components/organisms/extensions/recommendation/Filters.vue2.js +0 -44
  70. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue.js +0 -17
  71. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue2.js +0 -27
  72. package/dist/composables/useBlocksConfig.js +0 -49
  73. package/dist/config/migrator/recommendationMigrator.js +0 -293
  74. package/dist/enums/date.js +0 -6
  75. package/dist/enums/extensions/recommendationBlock.js +0 -80
  76. package/dist/extensions/Blocks/Recommendation/block.js +0 -30
  77. package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +0 -103
  78. package/dist/extensions/Blocks/Recommendation/constants.js +0 -5
  79. package/dist/extensions/Blocks/Recommendation/control.js +0 -306
  80. package/dist/extensions/Blocks/Recommendation/controls/button/align.js +0 -13
  81. package/dist/extensions/Blocks/Recommendation/controls/button/border.js +0 -13
  82. package/dist/extensions/Blocks/Recommendation/controls/button/borderRadius.js +0 -13
  83. package/dist/extensions/Blocks/Recommendation/controls/button/color.js +0 -13
  84. package/dist/extensions/Blocks/Recommendation/controls/button/fitToContent.js +0 -13
  85. package/dist/extensions/Blocks/Recommendation/controls/button/fontFamily.js +0 -13
  86. package/dist/extensions/Blocks/Recommendation/controls/button/margins.js +0 -13
  87. package/dist/extensions/Blocks/Recommendation/controls/button/paddings.js +0 -13
  88. package/dist/extensions/Blocks/Recommendation/controls/button/text.js +0 -13
  89. package/dist/extensions/Blocks/Recommendation/controls/button/textSize.js +0 -13
  90. package/dist/extensions/Blocks/Recommendation/controls/button/textStyleAndFontColor.js +0 -13
  91. package/dist/extensions/Blocks/Recommendation/controls/image/margins.js +0 -13
  92. package/dist/extensions/Blocks/Recommendation/controls/image/size.js +0 -13
  93. package/dist/extensions/Blocks/Recommendation/controls/name/align.js +0 -13
  94. package/dist/extensions/Blocks/Recommendation/controls/name/background.js +0 -13
  95. package/dist/extensions/Blocks/Recommendation/controls/name/color.js +0 -13
  96. package/dist/extensions/Blocks/Recommendation/controls/name/fontFamily.js +0 -13
  97. package/dist/extensions/Blocks/Recommendation/controls/name/paddings.js +0 -13
  98. package/dist/extensions/Blocks/Recommendation/controls/name/size.js +0 -13
  99. package/dist/extensions/Blocks/Recommendation/controls/name/style.js +0 -13
  100. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/align.js +0 -13
  101. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/background.js +0 -13
  102. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/color.js +0 -13
  103. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/fontFamily.js +0 -13
  104. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/paddings.js +0 -13
  105. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/size.js +0 -13
  106. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/style.js +0 -13
  107. package/dist/extensions/Blocks/Recommendation/controls/price/align.js +0 -13
  108. package/dist/extensions/Blocks/Recommendation/controls/price/background.js +0 -13
  109. package/dist/extensions/Blocks/Recommendation/controls/price/color.js +0 -13
  110. package/dist/extensions/Blocks/Recommendation/controls/price/fontFamily.js +0 -13
  111. package/dist/extensions/Blocks/Recommendation/controls/price/paddings.js +0 -13
  112. package/dist/extensions/Blocks/Recommendation/controls/price/size.js +0 -13
  113. package/dist/extensions/Blocks/Recommendation/controls/price/style.js +0 -13
  114. package/dist/extensions/Blocks/Recommendation/extension.js +0 -45
  115. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +0 -51
  116. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +0 -19
  117. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +0 -117
  118. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +0 -266
  119. package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +0 -160
  120. package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +0 -152
  121. package/dist/extensions/Blocks/Recommendation/templates/templateUtils.js +0 -180
  122. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +0 -28
  123. package/dist/extensions/Blocks/common-control.js +0 -184
  124. package/dist/services/recommendationApi.js +0 -43
  125. package/dist/src/components/organisms/extensions/recommendation/FilterItem.vue.d.ts +0 -19
  126. package/dist/src/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue.d.ts +0 -2
  127. package/dist/src/components/organisms/extensions/recommendation/Filters.vue.d.ts +0 -2
  128. package/dist/src/components/organisms/extensions/recommendation/LogicAdapter.vue.d.ts +0 -16
  129. package/dist/src/composables/useBlocksConfig.d.ts +0 -11
  130. package/dist/src/config/migrator/recommendationMigrator.d.ts +0 -1
  131. package/dist/src/enums/date.d.ts +0 -4
  132. package/dist/src/enums/extensions/recommendationBlock.d.ts +0 -16
  133. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +0 -11
  134. package/dist/src/extensions/Blocks/Recommendation/cardCompositionControl.d.ts +0 -28
  135. package/dist/src/extensions/Blocks/Recommendation/constants.d.ts +0 -51
  136. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +0 -35
  137. package/dist/src/extensions/Blocks/Recommendation/controls/button/align.d.ts +0 -5
  138. package/dist/src/extensions/Blocks/Recommendation/controls/button/border.d.ts +0 -5
  139. package/dist/src/extensions/Blocks/Recommendation/controls/button/borderRadius.d.ts +0 -5
  140. package/dist/src/extensions/Blocks/Recommendation/controls/button/color.d.ts +0 -5
  141. package/dist/src/extensions/Blocks/Recommendation/controls/button/fitToContent.d.ts +0 -5
  142. package/dist/src/extensions/Blocks/Recommendation/controls/button/fontFamily.d.ts +0 -5
  143. package/dist/src/extensions/Blocks/Recommendation/controls/button/margins.d.ts +0 -5
  144. package/dist/src/extensions/Blocks/Recommendation/controls/button/paddings.d.ts +0 -5
  145. package/dist/src/extensions/Blocks/Recommendation/controls/button/text.d.ts +0 -5
  146. package/dist/src/extensions/Blocks/Recommendation/controls/button/textSize.d.ts +0 -5
  147. package/dist/src/extensions/Blocks/Recommendation/controls/button/textStyleAndFontColor.d.ts +0 -5
  148. package/dist/src/extensions/Blocks/Recommendation/controls/image/margins.d.ts +0 -5
  149. package/dist/src/extensions/Blocks/Recommendation/controls/image/size.d.ts +0 -5
  150. package/dist/src/extensions/Blocks/Recommendation/controls/name/align.d.ts +0 -5
  151. package/dist/src/extensions/Blocks/Recommendation/controls/name/background.d.ts +0 -5
  152. package/dist/src/extensions/Blocks/Recommendation/controls/name/color.d.ts +0 -5
  153. package/dist/src/extensions/Blocks/Recommendation/controls/name/fontFamily.d.ts +0 -5
  154. package/dist/src/extensions/Blocks/Recommendation/controls/name/paddings.d.ts +0 -5
  155. package/dist/src/extensions/Blocks/Recommendation/controls/name/size.d.ts +0 -5
  156. package/dist/src/extensions/Blocks/Recommendation/controls/name/style.d.ts +0 -5
  157. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/align.d.ts +0 -5
  158. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/background.d.ts +0 -5
  159. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/color.d.ts +0 -5
  160. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/fontFamily.d.ts +0 -5
  161. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/paddings.d.ts +0 -5
  162. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/size.d.ts +0 -5
  163. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/style.d.ts +0 -5
  164. package/dist/src/extensions/Blocks/Recommendation/controls/price/align.d.ts +0 -5
  165. package/dist/src/extensions/Blocks/Recommendation/controls/price/background.d.ts +0 -5
  166. package/dist/src/extensions/Blocks/Recommendation/controls/price/color.d.ts +0 -5
  167. package/dist/src/extensions/Blocks/Recommendation/controls/price/fontFamily.d.ts +0 -5
  168. package/dist/src/extensions/Blocks/Recommendation/controls/price/paddings.d.ts +0 -5
  169. package/dist/src/extensions/Blocks/Recommendation/controls/price/size.d.ts +0 -5
  170. package/dist/src/extensions/Blocks/Recommendation/controls/price/style.d.ts +0 -5
  171. package/dist/src/extensions/Blocks/Recommendation/extension.d.ts +0 -2
  172. package/dist/src/extensions/Blocks/Recommendation/iconsRegistry.d.ts +0 -4
  173. package/dist/src/extensions/Blocks/Recommendation/settingsPanel.d.ts +0 -4
  174. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +0 -555
  175. package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +0 -16
  176. package/dist/src/extensions/Blocks/Recommendation/templates/migrationTemplate.d.ts +0 -16
  177. package/dist/src/extensions/Blocks/Recommendation/templates/templateUtils.d.ts +0 -44
  178. package/dist/src/extensions/Blocks/Recommendation/utils/filterUtil.d.ts +0 -7
  179. package/dist/src/extensions/Blocks/common-control.d.ts +0 -87
  180. package/dist/src/mock/api/recommendation.d.ts +0 -2
  181. package/dist/src/services/recommendationApi.d.ts +0 -6
  182. package/dist/src/utils/environmentUtil.d.ts +0 -5
  183. package/dist/utils/environmentUtil.js +0 -4
@@ -1,17 +1,17 @@
1
- var J = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUCTURE", t.CONTAINER = "CONTAINER", t))(J || {}), B = class u {
1
+ var F = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUCTURE", t.CONTAINER = "CONTAINER", t))(F || {}), A = class o {
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
7
  constructor(e, r) {
8
- if (r !== u) {
9
- u.validatedClasses.has(r) || this.validateImplementation(e, r);
10
- const s = u.validationErrors.get(r);
8
+ if (r !== o) {
9
+ o.validatedClasses.has(r) || this.validateImplementation(e, r);
10
+ const s = o.validationErrors.get(r);
11
11
  if (s && s.length > 0)
12
12
  throw new Error(
13
13
  `${r.name} has validation errors:
14
- ${s.map((E) => ` - ${E}`).join(`
14
+ ${s.map((i) => ` - ${i}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -21,22 +21,22 @@ ${s.map((E) => ` - ${E}`).join(`
21
21
  * This validation runs only once per class type and results are cached.
22
22
  */
23
23
  validateImplementation(e, r) {
24
- var O;
25
- const s = [], E = r.name, T = Object.getPrototypeOf(this);
26
- e.forEach((l) => {
27
- if (typeof this[l] != "function") {
28
- s.push(`Method ${l}() is not defined`);
24
+ var E;
25
+ const s = [], i = r.name, l = Object.getPrototypeOf(this);
26
+ e.forEach((a) => {
27
+ if (typeof this[a] != "function") {
28
+ s.push(`Method ${a}() is not defined`);
29
29
  return;
30
30
  }
31
- T[l] === r.prototype[l] && s.push(`Method ${l}() must be implemented (currently using base class error-throwing implementation)`);
32
- }), u.validatedClasses.add(r), s.length > 0 ? (u.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((O = process.env) == null ? void 0 : O.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
31
+ l[a] === r.prototype[a] && s.push(`Method ${a}() must be implemented (currently using base class error-throwing implementation)`);
32
+ }), o.validatedClasses.add(r), s.length > 0 ? (o.validationErrors.set(r, s), console.error(`[${i} Validation] ${i} validation failed:`, s)) : typeof process < "u" && ((E = process.env) == null ? void 0 : E.NODE_ENV) === "development" && console.log(`[${i} Validation] ✅ ${i} validated successfully`);
33
33
  }
34
34
  };
35
- B.validatedClasses = /* @__PURE__ */ new Set();
36
- B.validationErrors = /* @__PURE__ */ new Map();
37
- var i = B, x = class c extends i {
35
+ A.validatedClasses = /* @__PURE__ */ new Set();
36
+ A.validationErrors = /* @__PURE__ */ new Map();
37
+ var n = A, M = class d extends n {
38
38
  constructor() {
39
- super(c.REQUIRED_METHODS, c);
39
+ super(d.REQUIRED_METHODS, d);
40
40
  }
41
41
  /**
42
42
  * Determines if the block should be available for use in the editor.
@@ -185,10 +185,10 @@ var i = B, x = class c extends i {
185
185
  throw new Error("Method getDescription() must be implemented by the subclass");
186
186
  }
187
187
  };
188
- x.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
189
- var wt = x, tt = class _ extends i {
188
+ M.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
189
+ var Ct = M, k = class h extends n {
190
190
  constructor() {
191
- super(_.REQUIRED_METHODS, _);
191
+ super(h.REQUIRED_METHODS, h);
192
192
  }
193
193
  /**
194
194
  * @deprecated - use {@link getPreviewInnerHtml} instead
@@ -203,10 +203,10 @@ var wt = x, tt = class _ extends i {
203
203
  throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
204
204
  }
205
205
  };
206
- tt.REQUIRED_METHODS = ["getPreviewInnerHtml"];
207
- var et = class R extends i {
206
+ k.REQUIRED_METHODS = ["getPreviewInnerHtml"];
207
+ var Q = class u extends n {
208
208
  constructor() {
209
- super(R.REQUIRED_METHODS, R);
209
+ super(u.REQUIRED_METHODS, u);
210
210
  }
211
211
  getId() {
212
212
  throw new Error("Method getId() must be implemented by the subclass");
@@ -221,170 +221,31 @@ var et = class R extends i {
221
221
  throw new Error("Method onClick() must be implemented by the subclass");
222
222
  }
223
223
  };
224
- et.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
225
- var rt = {
226
- src: "src",
227
- alt: "alt",
228
- href: "href"
229
- }, nt = {
230
- href: "href"
231
- }, Pt = {
232
- BLOCK_IMAGE: rt,
233
- BLOCK_BUTTON: nt
234
- }, U = "esd-block-button", y = "esd-block-text", K = "esd-block-image", st = "esd-structure", it = "esd-block-video", at = "esd-block-social", ot = "esd-block-banner", Et = "esd-block-timer", lt = "esd-block-menu", dt = "esd-block-html", ut = "esd-block-spacer", Ot = "esd-container-frame", It = "esd-stripe", Tt = "esd-amp-form", I = ((t) => (t.BUTTON = `.${U}`, t.TEXT = `.${y}`, t.IMAGE = `.${K}`, t.STRUCTURE = `.${st}`, t.VIDEO = `.${it}`, t.SOCIAL = `.${at}`, t.BANNER = `.${ot}`, t.TIMER = `.${Et}`, t.MENU = `.${lt}`, t.HTML = `.${dt}`, t.SPACER = `.${ut}`, t.CONTAINER = `.${Ot}`, t.STRIPE = `.${It}`, t.FORM = `.${Tt}`, t))(I || {}), ct = /* @__PURE__ */ ((t) => (t.BLOCK_IMAGE = "BLOCK_IMAGE", t.BLOCK_TEXT = "BLOCK_TEXT", t.BLOCK_BUTTON = "BLOCK_BUTTON", t.BLOCK_SPACER = "BLOCK_SPACER", t.BLOCK_VIDEO = "BLOCK_VIDEO", t.BLOCK_SOCIAL = "BLOCK_SOCIAL", t.BLOCK_BANNER = "BLOCK_BANNER", t.BLOCK_TIMER = "BLOCK_TIMER", t.BLOCK_MENU = "BLOCK_MENU", t.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", t.BLOCK_HTML = "BLOCK_HTML", t.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", t.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", t.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", t.CONTAINER = "CONTAINER", t.FORM_CONTAINER = "FORM_CONTAINER", t.STRUCTURE = "STRUCTURE", t.STRIPE = "STRIPE", t.EMPTY_CONTAINER = "EMPTY_CONTAINER", t.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", t.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", t.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", t))(ct || {}), p = /* @__PURE__ */ ((t) => (t.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", t.APPLY_CONDITION = "applyCondition", t.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", t.BACKGROUND_COLOR = "backgroundColor", t.BACKGROUND_IMAGE = "generalImageContainer", t.TEXT_COLOR = "textColor", t.TEXT_STYLE = "textStyle", t.TEXT_SIZE = "textSize", t.TEXT_LINE_SPACING = "textLineSpacing", t.TEXT_ALIGN = "textAlign", t.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", t.HIDDEN_NODE = "hiddenNode", t.SMART_BLOCK = "smartBlock", t.SYNCHRONIZED_MODULE = "synchronizedModuleForm", t.FONT_FAMILY = "generalFontFamilyForm", t.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", t.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", t))(p || {}), F = /* @__PURE__ */ ((t) => (t.ADJUST_TO_WIDTH = "adjustToWidth", t.ALIGNMENT = "buttonAlignment", t.BORDER = "buttonBorder", t.BORDER_RADIUS = "buttonBorderRadius", t.COLOR = "buttonColor", t.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", t.EXTERNAL_INDENTS = "buttonExternalIndents", t.FIXED_HEIGHT = "buttonFixedHeightForm", t.FONT_COLOR = "buttonFontColor", t.FONT_FAMILY = "buttonFontFamily", t.FONT_SIZE = "buttonFontSize", t.ICON = "buttonIconContainer", t.ICON_ALIGN = "buttonIconAlign", t.ICON_INDENT = "buttonIconIndent", t.ICON_WIDTH = "buttonIconWidth", t.IMAGE = "buttonImageForm", t.INTERNAL_INDENTS = "buttonInternalIndents", t.LINK = "buttonLink", t.MIME_TYPE = "buttonMimeTypeForm", t.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", t.TEXT = "buttonText", t.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", t.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", t.HOVERED_COLOR = "hoveredButtonColorForm", t.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", t))(F || {}), w = /* @__PURE__ */ ((t) => (t.HIDDEN_NODE = "hiddenNodeText", t.PARAGRAPH_STYLE = "paragraphStyleForm", t.ALIGN = "textAlignmentForm", t.ANCHOR_CONTAINER = "textAnchorForm", t.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", t.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", t.FONT_COLOR = "textBlockFontColor", t.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", t.FONT_FAMILY = "textFontFamily", t.FONT_SIZE = "textBlockFontSize", t.DIRECTION = "textBlockDirectionForm", t.INSERT_FORM = "textBlockInsertForm", t.LINK_DATA = "textBlockLinkDataForm", t.FORMAT = "textBlockTextFormatForm", t.FIXED_HEIGHT = "textFixedHeightForm", t.INTERNAL_INDENTS = "textInternalIndents", t.LINE_HEIGHT = "textLineHeightForm", t.LINKS_COLOR = "textLinksFontColorForm", t.MIME_TYPE = "textMimeTypeForm", t.NO_LINE_WRAPS = "textNoLineWrapsForm", t))(w || {}), P = /* @__PURE__ */ ((t) => (t.ALT_TEXT = "altText", t.LINK = "blockLink", t.ALIGNMENT = "imageAlignment", t.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", t.BORDER_RADIUS = "imageBorderRadiusForm", t.IMAGE = "imageImageForm", t.EXTERNAL_INDENTS = "imageExternalIndents", t.MIME_TYPE = "imageMimeTypeForm", t.RESPONSIVE = "imageResponsive", t.ROLLOVER_IMAGE = "imageRolloverImageForm", t.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", t.SIZE = "imageSizeContainer", t))(P || {}), _t = /* @__PURE__ */ ((t) => (t.BACKGROUND_COLOR = "containerBackgroundColorForm", t.BORDER_FORM = "containerBorderForm", t.BORDER_RADIUS = "containerBorderRadiusForm", t.EXTERNAL_INDENTS = "containerExternalIndentsForm", t.IMAGE_CONTAINER = "containerImageContainerForm", t.MIME_TYPE = "containerMimeTypeForm", t.DISPLAY_CONDITIONS = "displayConditions", t.HIDDEN_NODE = "containerHiddenNodeForm", t))(_t || {}), n = {
235
- BLOCK_BUTTON: F,
236
- BLOCK_TEXT: w,
237
- BLOCK_IMAGE: P,
238
- GENERAL: p
239
- }, Rt = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(Rt || {}), a = {
224
+ Q.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
225
+ var V = "esd-block-button", $ = "esd-block-text", X = "esd-block-image", G = "esd-structure", f = "esd-block-video", Y = "esd-block-social", W = "esd-block-banner", j = "esd-block-timer", z = "esd-block-menu", q = "esd-block-html", Z = "esd-block-spacer", J = "esd-container-frame", tt = "esd-stripe", et = "esd-amp-form", rt = ((t) => (t.BUTTON = `.${V}`, t.TEXT = `.${$}`, t.IMAGE = `.${X}`, t.STRUCTURE = `.${G}`, t.VIDEO = `.${f}`, t.SOCIAL = `.${Y}`, t.BANNER = `.${W}`, t.TIMER = `.${j}`, t.MENU = `.${z}`, t.HTML = `.${q}`, t.SPACER = `.${Z}`, t.CONTAINER = `.${J}`, t.STRIPE = `.${tt}`, t.FORM = `.${et}`, t))(rt || {}), st = /* @__PURE__ */ ((t) => (t.BLOCK_IMAGE = "BLOCK_IMAGE", t.BLOCK_TEXT = "BLOCK_TEXT", t.BLOCK_BUTTON = "BLOCK_BUTTON", t.BLOCK_SPACER = "BLOCK_SPACER", t.BLOCK_VIDEO = "BLOCK_VIDEO", t.BLOCK_SOCIAL = "BLOCK_SOCIAL", t.BLOCK_BANNER = "BLOCK_BANNER", t.BLOCK_TIMER = "BLOCK_TIMER", t.BLOCK_MENU = "BLOCK_MENU", t.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", t.BLOCK_HTML = "BLOCK_HTML", t.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", t.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", t.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", t.CONTAINER = "CONTAINER", t.FORM_CONTAINER = "FORM_CONTAINER", t.STRUCTURE = "STRUCTURE", t.STRIPE = "STRIPE", t.EMPTY_CONTAINER = "EMPTY_CONTAINER", t.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", t.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", t.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", t))(st || {}), nt = /* @__PURE__ */ ((t) => (t.HIDDEN_NODE = "hiddenNodeText", t.PARAGRAPH_STYLE = "paragraphStyleForm", t.ALIGN = "textAlignmentForm", t.ANCHOR_CONTAINER = "textAnchorForm", t.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", t.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", t.FONT_COLOR = "textBlockFontColor", t.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", t.FONT_FAMILY = "textFontFamily", t.FONT_SIZE = "textBlockFontSize", t.DIRECTION = "textBlockDirectionForm", t.INSERT_FORM = "textBlockInsertForm", t.LINK_DATA = "textBlockLinkDataForm", t.FORMAT = "textBlockTextFormatForm", t.FIXED_HEIGHT_CONTAINER = "textFixedHeightContainerForm", t.INTERNAL_INDENTS = "textInternalIndents", t.LINE_HEIGHT = "textLineHeightForm", t.LINKS_COLOR = "textLinksFontColorForm", t.MIME_TYPE = "textMimeTypeForm", t.NO_LINE_WRAPS = "textNoLineWrapsForm", t))(nt || {}), it = /* @__PURE__ */ ((t) => (t.BACKGROUND_COLOR = "containerBackgroundColorForm", t.BORDER_FORM = "containerBorderForm", t.BORDER_RADIUS = "containerBorderRadiusForm", t.EXTERNAL_INDENTS = "containerExternalIndentsForm", t.IMAGE_CONTAINER = "containerImageContainerForm", t.MIME_TYPE = "containerMimeTypeForm", t.DISPLAY_CONDITIONS = "displayConditions", t.HIDDEN_NODE = "containerHiddenNodeForm", t))(it || {}), at = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(at || {}), D = {
240
226
  name: "name",
241
227
  disabled: "disabled"
242
- }, ht = {
243
- ...a,
244
- caption: "caption",
245
- icon: "icon"
246
- }, Ct = {
247
- ...a,
228
+ }, ot = {
229
+ ...D,
248
230
  caption: "caption"
249
- }, Lt = {
250
- ...a,
251
- minValue: "min-value",
252
- maxValue: "max-value",
253
- step: "step"
254
- }, gt = {
255
- ...a,
231
+ }, Et = {
232
+ ...D,
256
233
  text: "text"
257
- }, mt = {
258
- ...a
259
- }, H = {
260
- ...a,
261
- searchable: "searchable",
262
- multiSelect: "multi-select",
234
+ }, lt = {
235
+ ...D,
263
236
  placeholder: "placeholder",
264
237
  items: "items"
265
- }, At = {
266
- ...H
267
- }, Nt = {
238
+ }, dt = {
268
239
  text: "text",
269
240
  value: "value"
270
- }, bt = {
271
- text: "text",
272
- value: "value"
273
- }, Dt = {
274
- ...a
275
- }, St = {
276
- controlId: "control-id"
277
- }, Bt = {
278
- ...a,
279
- icon: "icon",
280
- position: "position"
281
- }, Mt = {
282
- ...a
283
- }, Ht = {
284
- BUTTON: ht,
285
- CHECKBOX: Ct,
286
- COLOR: a,
287
- COUNTER: Lt,
288
- LABEL: gt,
289
- RADIO_BUTTONS: mt,
290
- SELECTPICKER: H,
291
- FONT_FAMILY_SELECT: At,
292
- SWITCHER: a,
293
- TEXT: Dt,
294
- SELECT_ITEM: Nt,
295
- RADIO_ITEM: bt,
296
- NESTED_CONTROL: St,
297
- ORDERABLE: Bt,
298
- ORDERABLE_ITEM: Mt
299
- }, vt = /* @__PURE__ */ ((t) => (t.BUTTON = "UE-BUTTON", t.CHECKBOX = "UE-CHECKBOX", t.CHECK_BUTTONS = "UE-CHECK-BUTTONS", t.COLOR = "UE-COLOR", t.COUNTER = "UE-COUNTER", t.DATEPICKER = "UE-DATEPICKER", t.LABEL = "UE-LABEL", t.MESSAGE = "UE-MESSAGE", t.RADIO_BUTTONS = "UE-RADIO-BUTTONS", t.SELECTPICKER = "UE-SELECT", t.SWITCHER = "UE-SWITCHER", t.TEXT = "UE-TEXT", t.TEXTAREA = "UE-TEXTAREA", t.CHECK_ITEM = "UE-CHECK-ITEM", t.RADIO_ITEM = "UE-RADIO-ITEM", t.SELECT_ITEM = "UE-SELECT-ITEM", t.ICON = "UE-ICON", t.MERGETAGS = "UE-MERGETAGS", t.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", t.NESTED_CONTROL = "UE-NESTED-CONTROL", t.EXPANDABLE = "UE-EXPANDABLE", t.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", t.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", t.ORDERABLE = "UE-ORDERABLE", t.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", t.ORDERABLE_ICON = "UE-ORDERABLE-ICON", t))(vt || {}), M = class {
300
- /**
301
- * @description returns map of nodes parent control operates on
302
- */
303
- getTargetNodes(t) {
304
- return [t];
305
- }
306
- /**
307
- * @description returns map of labels used by parent control UI
308
- */
309
- getLabels() {
310
- }
311
- /**
312
- * @description returns custom description for parent modifications
313
- */
314
- getModificationDescription() {
315
- }
316
- /**
317
- * @description returns custom modifications to be included in the parent control patch
318
- */
319
- getAdditionalModifications(t) {
320
- }
321
- /**
322
- * Determines whether the specified HTML node is visible.
323
- *
324
- * @param _node - The HTML node to evaluate for visibility, provided as an immutable object.
325
- * @return A boolean value indicating whether the node is visible. Returns `true` if the node is visible, otherwise `false`.
326
- */
327
- isVisible(t) {
328
- return !0;
329
- }
330
- }, o = class extends M {
331
- getTargetNodes(t) {
332
- const e = t.querySelectorAll(I.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
333
- return e.length ? e : r;
334
- }
335
- }, Xt = class extends o {
336
- getParentControlId() {
337
- return n.BLOCK_BUTTON.BORDER_RADIUS;
338
- }
339
- getLabels() {
340
- }
341
- }, kt = class extends o {
342
- getParentControlId() {
343
- return n.BLOCK_BUTTON.ALIGNMENT;
344
- }
345
- }, Vt = class extends o {
346
- getParentControlId() {
347
- return n.BLOCK_BUTTON.BORDER;
348
- }
349
- getLabels() {
350
- }
351
- }, Gt = class extends o {
352
- getParentControlId() {
353
- return n.BLOCK_BUTTON.COLOR;
354
- }
355
- }, ft = class extends o {
356
- getParentControlId() {
357
- return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
358
- }
359
- }, Qt = class extends o {
360
- getParentControlId() {
361
- return n.BLOCK_BUTTON.FONT_FAMILY;
362
- }
363
- }, Yt = class extends o {
364
- getParentControlId() {
365
- return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
366
- }
367
- }, $t = class extends o {
368
- getParentControlId() {
369
- return n.BLOCK_BUTTON.INTERNAL_INDENTS;
370
- }
371
- }, Wt = class extends o {
372
- getParentControlId() {
373
- return n.BLOCK_BUTTON.TEXT;
374
- }
375
- }, zt = class extends o {
376
- getParentControlId() {
377
- return n.BLOCK_BUTTON.FONT_SIZE;
378
- }
379
- }, Zt = class extends o {
380
- getParentControlId() {
381
- return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
382
- }
383
- getLabels() {
384
- }
385
- }, X = class h extends i {
241
+ }, gt = {
242
+ BUTTON: ot,
243
+ LABEL: Et,
244
+ SELECTPICKER: lt,
245
+ SELECT_ITEM: dt
246
+ }, ht = /* @__PURE__ */ ((t) => (t.BUTTON = "UE-BUTTON", t.CHECKBOX = "UE-CHECKBOX", t.CHECK_BUTTONS = "UE-CHECK-BUTTONS", t.COLOR = "UE-COLOR", t.COUNTER = "UE-COUNTER", t.DATEPICKER = "UE-DATEPICKER", t.LABEL = "UE-LABEL", t.MESSAGE = "UE-MESSAGE", t.RADIO_BUTTONS = "UE-RADIO-BUTTONS", t.SELECTPICKER = "UE-SELECT", t.SWITCHER = "UE-SWITCHER", t.TEXT = "UE-TEXT", t.TEXTAREA = "UE-TEXTAREA", t.CHECK_ITEM = "UE-CHECK-ITEM", t.RADIO_ITEM = "UE-RADIO-ITEM", t.SELECT_ITEM = "UE-SELECT-ITEM", t.ICON = "UE-ICON", t.MERGETAGS = "UE-MERGETAGS", t.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", t.NESTED_CONTROL = "UE-NESTED-CONTROL", t.EXPANDABLE = "UE-EXPANDABLE", t.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", t.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", t))(ht || {}), S = class c extends n {
386
247
  constructor() {
387
- super(h.REQUIRED_METHODS, h);
248
+ super(c.REQUIRED_METHODS, c);
388
249
  }
389
250
  /**
390
251
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -429,38 +290,18 @@ var rt = {
429
290
  */
430
291
  onTemplateNodeUpdated(e) {
431
292
  }
432
- /**
433
- * Lifecycle hook called when any part of the document template has changed.
434
- * This can be frequent; use cautiously for performance-sensitive operations.
435
- * @param _node - The immutable HTML node representing current node instance
436
- */
437
- onDocumentChanged(e) {
438
- }
439
293
  };
440
- X.REQUIRED_METHODS = ["getId", "getTemplate"];
441
- var jt = X, k = class extends M {
442
- getTargetNodes(t) {
443
- const e = t.querySelectorAll(I.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
444
- return e.length ? e : r;
445
- }
446
- }, qt = class extends k {
447
- getParentControlId() {
448
- return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
449
- }
450
- }, Jt = class extends k {
451
- getParentControlId() {
452
- return n.BLOCK_IMAGE.SIZE;
453
- }
454
- }, V = class C extends i {
294
+ S.REQUIRED_METHODS = ["getId", "getTemplate"];
295
+ var It = S, N = class m extends n {
455
296
  constructor() {
456
- super(C.REQUIRED_METHODS, C);
297
+ super(m.REQUIRED_METHODS, m);
457
298
  }
458
299
  registerBlockControls(e) {
459
300
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
460
301
  }
461
302
  };
462
- V.REQUIRED_METHODS = ["registerBlockControls"];
463
- var te = V, ee = class {
303
+ N.REQUIRED_METHODS = ["registerBlockControls"];
304
+ var _t = N, Lt = class {
464
305
  constructor(t, e) {
465
306
  this.tabId = t, this.controlsIds = e;
466
307
  }
@@ -483,42 +324,9 @@ var te = V, ee = class {
483
324
  const e = this.controlsIds.indexOf(t);
484
325
  e !== -1 && this.controlsIds.splice(e, 1);
485
326
  }
486
- }, d = class extends M {
487
- getTargetNodes(t) {
488
- const e = t.querySelectorAll(I.TEXT), r = t.asElement().hasClass(y) ? [t] : [];
489
- return e.length ? e : r;
490
- }
491
- }, re = class extends d {
492
- getParentControlId() {
493
- return n.GENERAL.TEXT_ALIGN;
494
- }
495
- }, ne = class extends d {
496
- getParentControlId() {
497
- return n.BLOCK_TEXT.TEXT_BLOCK_BACKGROUND_COLOR;
498
- }
499
- }, se = class extends d {
500
- getParentControlId() {
501
- return n.GENERAL.TEXT_COLOR;
502
- }
503
- }, ie = class extends d {
504
- getParentControlId() {
505
- return n.BLOCK_TEXT.FONT_FAMILY;
506
- }
507
- }, ae = class extends d {
508
- getParentControlId() {
509
- return n.BLOCK_TEXT.INTERNAL_INDENTS;
510
- }
511
- }, oe = class extends d {
512
- getParentControlId() {
513
- return n.GENERAL.TEXT_SIZE;
514
- }
515
- }, Ee = class extends d {
516
- getParentControlId() {
517
- return n.GENERAL.TEXT_STYLE;
518
- }
519
- }, xt = class {
520
- constructor(t, e, r = [], s, E = [], T, O = [], l = [], v, Y, $, W, z, Z, j, q) {
521
- this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = $, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = O, this.blocks = l, this.externalSmartElementsLibrary = v, this.externalImageLibrary = Y, this.externalAiAssistant = W, this.externalDisplayConditionsLibrary = z, this.externalVideoLibrary = Z, this.blocksPanel = j, this.iconsRegistry = q, this.id = Math.random().toString(36).substring(2);
327
+ }, ut = class {
328
+ constructor(t, e, r = [], s, i = [], l, E = [], a = [], T, v, p, w, B, K, P, H) {
329
+ this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = p, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = i, this.settingsPanelRegistry = l, this.contextActions = E, this.blocks = a, this.externalSmartElementsLibrary = T, this.externalImageLibrary = v, this.externalAiAssistant = w, this.externalDisplayConditionsLibrary = B, this.externalVideoLibrary = K, this.blocksPanel = P, this.iconsRegistry = H, this.id = Math.random().toString(36).substring(2);
522
330
  }
523
331
  getI18n() {
524
332
  return this.i18n;
@@ -571,7 +379,7 @@ var te = V, ee = class {
571
379
  getIconsRegistry() {
572
380
  return this.iconsRegistry;
573
381
  }
574
- }, le = class {
382
+ }, At = class {
575
383
  constructor() {
576
384
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
577
385
  }
@@ -633,7 +441,7 @@ var te = V, ee = class {
633
441
  return this.iconsRegistry = t, this;
634
442
  }
635
443
  build() {
636
- return new xt(
444
+ return new ut(
637
445
  this.i18n,
638
446
  (this.styles || []).map((t) => t.trim()).join(`
639
447
  `),
@@ -653,18 +461,18 @@ var te = V, ee = class {
653
461
  this.iconsRegistry
654
462
  );
655
463
  }
656
- }, Ut = class L extends i {
464
+ }, ct = class O extends n {
657
465
  constructor() {
658
- super(L.REQUIRED_METHODS, L);
466
+ super(O.REQUIRED_METHODS, O);
659
467
  }
660
- openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: E }) {
468
+ openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: i }) {
661
469
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
662
470
  }
663
471
  };
664
- Ut.REQUIRED_METHODS = ["openAiAssistant"];
665
- var yt = class g extends i {
472
+ ct.REQUIRED_METHODS = ["openAiAssistant"];
473
+ var mt = class b extends n {
666
474
  constructor() {
667
- super(g.REQUIRED_METHODS, g);
475
+ super(b.REQUIRED_METHODS, b);
668
476
  }
669
477
  /**
670
478
  * Retrieves the name of the category.
@@ -702,44 +510,44 @@ var yt = class g extends i {
702
510
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
703
511
  }
704
512
  };
705
- yt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
706
- var Kt = class m extends i {
513
+ mt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
514
+ var Ot = class R extends n {
707
515
  constructor() {
708
- super(m.REQUIRED_METHODS, m);
516
+ super(R.REQUIRED_METHODS, R);
709
517
  }
710
518
  openImageLibrary(e, r, s) {
711
519
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
712
520
  }
713
521
  };
714
- Kt.REQUIRED_METHODS = ["openImageLibrary"];
715
- var pt = class A extends i {
522
+ Ot.REQUIRED_METHODS = ["openImageLibrary"];
523
+ var bt = class C extends n {
716
524
  constructor() {
717
- super(A.REQUIRED_METHODS, A);
525
+ super(C.REQUIRED_METHODS, C);
718
526
  }
719
527
  openSmartElementsLibrary(e, r) {
720
528
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
721
529
  }
722
530
  };
723
- pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
724
- var Ft = class N extends i {
531
+ bt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
532
+ var Rt = class g extends n {
725
533
  constructor() {
726
- super(N.REQUIRED_METHODS, N);
534
+ super(g.REQUIRED_METHODS, g);
727
535
  }
728
536
  openExternalVideosLibraryDialog(e, r, s) {
729
537
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
730
538
  }
731
539
  };
732
- Ft.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
733
- var G = class b extends i {
540
+ Rt.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
541
+ var y = class I extends n {
734
542
  constructor() {
735
- super(b.REQUIRED_METHODS, b);
543
+ super(I.REQUIRED_METHODS, I);
736
544
  }
737
545
  registerIconsSvg(e) {
738
546
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
739
547
  }
740
548
  };
741
- G.REQUIRED_METHODS = ["registerIconsSvg"];
742
- var de = G, ue = class {
549
+ y.REQUIRED_METHODS = ["registerIconsSvg"];
550
+ var Dt = y, Tt = class {
743
551
  constructor(t) {
744
552
  this.key = t;
745
553
  }
@@ -752,9 +560,9 @@ var de = G, ue = class {
752
560
  params: this.params
753
561
  };
754
562
  }
755
- }, f = class D extends i {
563
+ }, x = class _ extends n {
756
564
  constructor() {
757
- super(D.REQUIRED_METHODS, D);
565
+ super(_.REQUIRED_METHODS, _);
758
566
  }
759
567
  /**
760
568
  * Called when the UI element should render its content into the provided container.
@@ -807,60 +615,34 @@ var de = G, ue = class {
807
615
  throw new Error("Method getTemplate() must be implemented by the subclass");
808
616
  }
809
617
  };
810
- f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
811
- var Oe = f, Q = class S extends i {
618
+ x.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
619
+ var Mt = x, U = class L extends n {
812
620
  constructor() {
813
- super(S.REQUIRED_METHODS, S);
621
+ super(L.REQUIRED_METHODS, L);
814
622
  }
815
623
  registerUiElements(e) {
816
624
  throw new Error("Method registerUiElements() must be implemented by the subclass");
817
625
  }
818
626
  };
819
- Q.REQUIRED_METHODS = ["registerUiElements"];
820
- var Ie = Q;
627
+ U.REQUIRED_METHODS = ["registerUiElements"];
628
+ var St = U;
821
629
  export {
822
- wt as Block,
823
- Pt as BlockAttr,
824
- J as BlockCompositionType,
825
- I as BlockSelector,
826
- ct as BlockType,
827
- M as BuiltInControl,
828
- n as BuiltInControlTypes,
829
- kt as ButtonAlignBuiltInControl,
830
- Vt as ButtonBorderBuiltInControl,
831
- Xt as ButtonBorderRadiusBuiltInControl,
832
- Gt as ButtonColorBuiltInControl,
833
- F as ButtonControls,
834
- ft as ButtonFitToContainerBuiltInControl,
835
- Qt as ButtonFontFamilyBuiltInControl,
836
- Yt as ButtonMarginsBuiltInControl,
837
- $t as ButtonPaddingsBuiltInControl,
838
- Wt as ButtonTextBuiltInControl,
839
- zt as ButtonTextSizeBuiltInControl,
840
- Zt as ButtonTextStyleAndFontColorBuiltInControl,
841
- _t as ContainerControls,
842
- jt as Control,
843
- xt as Extension,
844
- le as ExtensionBuilder,
845
- p as GeneralControls,
846
- de as IconsRegistry,
847
- P as ImageControls,
848
- qt as ImageMarginsBuiltInControl,
849
- Jt as ImageSizeBuiltInControl,
850
- ue as ModificationDescription,
851
- te as SettingsPanelRegistry,
852
- ee as SettingsPanelTab,
853
- Rt as SettingsTab,
854
- re as TextAlignBuiltInControl,
855
- ne as TextBlockBackgroundBuiltInControl,
856
- se as TextColorBuiltInControl,
857
- w as TextControls,
858
- ie as TextFontFamilyBuiltInControl,
859
- ae as TextPaddingsBuiltInControl,
860
- oe as TextSizeBuiltInControl,
861
- Ee as TextStyleBuiltInControl,
862
- Ht as UEAttr,
863
- Oe as UIElement,
864
- Ie as UIElementTagRegistry,
865
- vt as UIElementType
630
+ Ct as Block,
631
+ F as BlockCompositionType,
632
+ rt as BlockSelector,
633
+ st as BlockType,
634
+ it as ContainerControls,
635
+ It as Control,
636
+ ut as Extension,
637
+ At as ExtensionBuilder,
638
+ Dt as IconsRegistry,
639
+ Tt as ModificationDescription,
640
+ _t as SettingsPanelRegistry,
641
+ Lt as SettingsPanelTab,
642
+ at as SettingsTab,
643
+ nt as TextControls,
644
+ gt as UEAttr,
645
+ Mt as UIElement,
646
+ St as UIElementTagRegistry,
647
+ ht as UIElementType
866
648
  };
@@ -1,4 +1,4 @@
1
- const o = { stripo: { version: "2.46.0" } }, s = {
1
+ const o = { stripo: { version: "2.42.0" } }, s = {
2
2
  guido: o
3
3
  };
4
4
  export {
@@ -29,7 +29,7 @@ const m = () => {
29
29
  forceRecreate: !0
30
30
  };
31
31
  try {
32
- const { data: e } = await r("/stripo/default-template/0");
32
+ const { data: e } = await r("/stripo/default-template");
33
33
  try {
34
34
  return {
35
35
  ...JSON.parse(e),