@useinsider/guido 1.0.3-beta.dfb1fcf → 1.0.3-beta.e1adf59

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 (130) hide show
  1. package/README.md +3 -144
  2. package/dist/components/Guido.vue.js +10 -12
  3. package/dist/components/Guido.vue2.js +101 -84
  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/useApiErrorTracking.js +120 -0
  13. package/dist/composables/useErrorTracking.js +98 -0
  14. package/dist/composables/useGuidoActions.js +9 -19
  15. package/dist/composables/useHttp.js +89 -52
  16. package/dist/composables/useStripo.js +163 -66
  17. package/dist/composables/useStripoErrorCategory.js +86 -0
  18. package/dist/composables/useStripoSlackNotifier.js +47 -0
  19. package/dist/config/compiler/unsubscribeCompilerRules.js +28 -33
  20. package/dist/config/migrator/index.js +6 -7
  21. package/dist/enums/defaults.js +8 -16
  22. package/dist/enums/onboarding.js +1 -2
  23. package/dist/enums/unsubscribe.js +25 -27
  24. package/dist/extensions/Blocks/Checkbox/extension.js +2 -2
  25. package/dist/extensions/Blocks/CouponBlock/extension.js +2 -2
  26. package/dist/extensions/Blocks/Recommendation/block.js +3 -6
  27. package/dist/extensions/Blocks/Recommendation/control.js +65 -109
  28. package/dist/extensions/Blocks/Recommendation/extension.js +7 -18
  29. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +21 -159
  30. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +1 -1
  31. package/dist/extensions/Blocks/Recommendation/template.js +200 -0
  32. package/dist/extensions/Blocks/common-control.js +43 -125
  33. package/dist/extensions/DynamicContent/dynamic-content-modal.js +19 -25
  34. package/dist/extensions/DynamicContent/dynamic-content.js +33 -128
  35. package/dist/guido.css +1 -1
  36. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +100 -312
  37. package/dist/package.json.js +1 -1
  38. package/dist/services/slackNotificationService.js +167 -0
  39. package/dist/services/stripoApi.js +49 -19
  40. package/dist/services/stripoErrorDeduplicationService.js +91 -0
  41. package/dist/src/@types/generic.d.ts +6 -42
  42. package/dist/src/components/Guido.vue.d.ts +3 -4
  43. package/dist/src/components/organisms/onboarding/NewVersionPopup.vue.d.ts +1 -3
  44. package/dist/src/components/organisms/onboarding/OnboardingWrapper.vue.d.ts +1 -3
  45. package/dist/src/components/wrappers/WpModal.vue.d.ts +1 -1
  46. package/dist/src/composables/useApiErrorTracking.d.ts +26 -0
  47. package/dist/src/composables/useErrorTracking.d.ts +30 -0
  48. package/dist/src/composables/useGuidoActions.d.ts +0 -9
  49. package/dist/src/composables/useStripoErrorCategory.d.ts +26 -0
  50. package/dist/src/composables/useStripoSlackNotifier.d.ts +8 -0
  51. package/dist/src/enums/onboarding.d.ts +0 -1
  52. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +0 -1
  53. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +2 -11
  54. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +1 -1
  55. package/dist/src/extensions/Blocks/Recommendation/template.d.ts +6 -0
  56. package/dist/src/extensions/Blocks/common-control.d.ts +0 -21
  57. package/dist/src/extensions/DynamicContent/dynamic-content-modal.d.ts +2 -9
  58. package/dist/src/extensions/DynamicContent/dynamic-content.d.ts +2 -52
  59. package/dist/src/services/slackNotificationService.d.ts +110 -0
  60. package/dist/src/services/stripoErrorDeduplicationService.d.ts +75 -0
  61. package/dist/src/stores/config.d.ts +2 -10
  62. package/dist/src/stores/dynamic-content.d.ts +3 -3
  63. package/dist/src/stores/editor.d.ts +1 -1
  64. package/dist/src/stores/onboarding.d.ts +1 -1
  65. package/dist/src/stores/preview.d.ts +1 -1
  66. package/dist/src/stores/recommendation.d.ts +1 -1
  67. package/dist/src/stores/save-as-template.d.ts +1 -1
  68. package/dist/src/stores/toaster.d.ts +1 -1
  69. package/dist/src/stores/unsubscribe.d.ts +1 -1
  70. package/dist/src/stores/version-history.d.ts +1 -1
  71. package/dist/src/utils/dateUtil.d.ts +0 -21
  72. package/dist/src/utils/genericUtil.d.ts +0 -1
  73. package/dist/static/styles/components/narrow-panel.css.js +0 -10
  74. package/dist/static/styles/components/wide-panel.css.js +4 -0
  75. package/dist/static/styles/customEditorStyle.css.js +0 -19
  76. package/dist/stores/config.js +5 -5
  77. package/dist/stores/dynamic-content.js +2 -2
  78. package/dist/stores/editor.js +1 -1
  79. package/dist/stores/onboarding.js +27 -27
  80. package/dist/stores/preview.js +1 -1
  81. package/dist/stores/recommendation.js +3 -3
  82. package/dist/stores/save-as-template.js +2 -2
  83. package/dist/stores/toaster.js +1 -1
  84. package/dist/stores/unsubscribe.js +1 -1
  85. package/dist/stores/version-history.js +4 -4
  86. package/dist/utils/dateUtil.js +3 -24
  87. package/dist/utils/genericUtil.js +9 -20
  88. package/package.json +3 -3
  89. package/dist/composables/useBlocksConfig.js +0 -49
  90. package/dist/config/migrator/recommendationMigrator.js +0 -293
  91. package/dist/enums/date.js +0 -6
  92. package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +0 -193
  93. package/dist/extensions/Blocks/Recommendation/constants.js +0 -14
  94. package/dist/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.js +0 -68
  95. package/dist/extensions/Blocks/Recommendation/controls/index.js +0 -272
  96. package/dist/extensions/Blocks/Recommendation/controls/nameTextTrimControl.js +0 -74
  97. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscountTextAfterControl.js +0 -71
  98. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscountTextBeforeControl.js +0 -71
  99. package/dist/extensions/Blocks/Recommendation/controls/omnibusPriceTextAfterControl.js +0 -71
  100. package/dist/extensions/Blocks/Recommendation/controls/omnibusPriceTextBeforeControl.js +0 -71
  101. package/dist/extensions/Blocks/Recommendation/controls/priceHideControl.js +0 -60
  102. package/dist/extensions/Blocks/Recommendation/controls/priceInlineLayoutControl.js +0 -160
  103. package/dist/extensions/Blocks/Recommendation/controls/spacingControl.js +0 -188
  104. package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +0 -184
  105. package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +0 -189
  106. package/dist/extensions/Blocks/Recommendation/templates/templateUtils.js +0 -209
  107. package/dist/extensions/Blocks/Recommendation/utils/preserveTextStyles.js +0 -25
  108. package/dist/extensions/Blocks/controlFactories.js +0 -234
  109. package/dist/src/composables/useBlocksConfig.d.ts +0 -11
  110. package/dist/src/config/migrator/recommendationMigrator.d.ts +0 -1
  111. package/dist/src/enums/date.d.ts +0 -4
  112. package/dist/src/extensions/Blocks/Recommendation/cardCompositionControl.d.ts +0 -79
  113. package/dist/src/extensions/Blocks/Recommendation/constants.d.ts +0 -91
  114. package/dist/src/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.d.ts +0 -25
  115. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +0 -71
  116. package/dist/src/extensions/Blocks/Recommendation/controls/nameTextTrimControl.d.ts +0 -16
  117. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscountTextAfterControl.d.ts +0 -15
  118. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscountTextBeforeControl.d.ts +0 -15
  119. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPriceTextAfterControl.d.ts +0 -15
  120. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPriceTextBeforeControl.d.ts +0 -15
  121. package/dist/src/extensions/Blocks/Recommendation/controls/priceHideControl.d.ts +0 -16
  122. package/dist/src/extensions/Blocks/Recommendation/controls/priceInlineLayoutControl.d.ts +0 -50
  123. package/dist/src/extensions/Blocks/Recommendation/controls/spacingControl.d.ts +0 -60
  124. package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +0 -16
  125. package/dist/src/extensions/Blocks/Recommendation/templates/migrationTemplate.d.ts +0 -16
  126. package/dist/src/extensions/Blocks/Recommendation/templates/templateUtils.d.ts +0 -52
  127. package/dist/src/extensions/Blocks/Recommendation/utils/preserveTextStyles.d.ts +0 -19
  128. package/dist/src/extensions/Blocks/controlFactories.d.ts +0 -95
  129. package/dist/src/utils/environmentUtil.d.ts +0 -5
  130. package/dist/utils/environmentUtil.js +0 -4
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- .gap-16[data-v-6562e38c],.gap-16[data-v-1ccb6d4a]{gap:16px}[data-v-0502bceb] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-23c413c9],.guido-editor__container[data-v-23c413c9]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-23c413c9]{height:calc(100vh - 75px)}[data-v-70835920] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-a86fc486]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-a86fc486]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-a86fc486]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-a86fc486]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-a86fc486]{object-fit:cover;transform:scale(1)}[data-v-dd57102d] .guido__verion-history-view-option-selection-desktop svg,[data-v-dd57102d] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-dd57102d] .in-segments-wrapper__button_selected,[data-v-dd57102d] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
1
+ .gap-16[data-v-6562e38c],.gap-16[data-v-1ccb6d4a]{gap:16px}[data-v-2c168944] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-5a4aa0bc],.guido-editor__container[data-v-5a4aa0bc]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-5a4aa0bc]{height:calc(100vh - 75px)}[data-v-70835920] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-a86fc486]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-a86fc486]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-a86fc486]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-a86fc486]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-a86fc486]{object-fit:cover;transform:scale(1)}[data-v-dd57102d] .guido__verion-history-view-option-selection-desktop svg,[data-v-dd57102d] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-dd57102d] .in-segments-wrapper__button_selected,[data-v-dd57102d] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
@@ -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 || {}), D = 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 I;
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 l;
25
+ const s = [], i = r.name, d = 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" && ((I = process.env) == null ? void 0 : I.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
31
+ d[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" && ((l = process.env) == null ? void 0 : l.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
+ D.validatedClasses = /* @__PURE__ */ new Set();
36
+ D.validationErrors = /* @__PURE__ */ new Map();
37
+ var n = D, M = class h extends n {
38
38
  constructor() {
39
- super(c.REQUIRED_METHODS, c);
39
+ super(h.REQUIRED_METHODS, h);
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 It = M, k = class u extends n {
190
190
  constructor() {
191
- super(_.REQUIRED_METHODS, _);
191
+ super(u.REQUIRED_METHODS, u);
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 V = class c extends n {
208
208
  constructor() {
209
- super(R.REQUIRED_METHODS, R);
209
+ super(c.REQUIRED_METHODS, c);
210
210
  }
211
211
  getId() {
212
212
  throw new Error("Method getId() must be implemented by the subclass");
@@ -221,174 +221,42 @@ 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", It = "esd-container-frame", Ot = "esd-stripe", Tt = "esd-amp-form", O = ((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 = `.${It}`, t.STRIPE = `.${Ot}`, t.FORM = `.${Tt}`, t))(O || {}), 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 || {}), o = {
224
+ V.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
225
+ var Q = "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 = `.${Q}`, 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 || {}), E = {
240
226
  name: "name",
241
227
  disabled: "disabled"
242
- }, ht = {
243
- ...o,
228
+ }, ot = {
229
+ ...E,
244
230
  caption: "caption",
245
231
  icon: "icon"
246
- }, Ct = {
247
- ...o,
248
- caption: "caption"
249
- }, Lt = {
250
- ...o,
232
+ }, Et = {
233
+ ...E,
251
234
  minValue: "min-value",
252
235
  maxValue: "max-value",
253
236
  step: "step"
254
- }, gt = {
255
- ...o,
237
+ }, lt = {
238
+ ...E,
256
239
  text: "text"
257
- }, mt = {
258
- ...o
259
- }, H = {
260
- ...o,
261
- searchable: "searchable",
262
- multiSelect: "multi-select",
240
+ }, dt = {
241
+ ...E,
263
242
  placeholder: "placeholder",
264
243
  items: "items"
265
- }, At = {
266
- ...H
267
- }, Nt = {
268
- text: "text",
269
- value: "value"
270
- }, bt = {
244
+ }, ht = {
271
245
  text: "text",
272
246
  value: "value"
273
- }, Dt = {
274
- ...o
275
- }, St = {
276
- controlId: "control-id"
277
- }, Bt = {
278
- ...o,
279
- icon: "icon",
280
- position: "position"
281
- }, Mt = {
282
- ...o
283
- }, Ht = {
284
- BUTTON: ht,
285
- CHECKBOX: Ct,
286
- COLOR: o,
287
- COUNTER: Lt,
288
- LABEL: gt,
289
- RADIO_BUTTONS: mt,
290
- SELECTPICKER: H,
291
- FONT_FAMILY_SELECT: At,
292
- SWITCHER: o,
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
- }, a = class extends M {
331
- getTargetNodes(t) {
332
- const e = t.querySelectorAll(O.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
333
- return e.length ? e : r;
334
- }
335
- }, Xt = class extends a {
336
- getParentControlId() {
337
- return n.BLOCK_BUTTON.BORDER_RADIUS;
338
- }
339
- getLabels() {
340
- }
341
- }, kt = class extends a {
342
- getParentControlId() {
343
- return n.BLOCK_BUTTON.ALIGNMENT;
344
- }
345
- }, Vt = class extends a {
346
- getParentControlId() {
347
- return n.GENERAL.BACKGROUND_COLOR;
348
- }
349
- }, Gt = class extends a {
350
- getParentControlId() {
351
- return n.BLOCK_BUTTON.BORDER;
352
- }
353
- getLabels() {
354
- }
355
- }, ft = class extends a {
356
- getParentControlId() {
357
- return n.BLOCK_BUTTON.COLOR;
358
- }
359
- }, Qt = class extends a {
360
- getParentControlId() {
361
- return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
362
- }
363
- }, Yt = class extends a {
364
- getParentControlId() {
365
- return n.BLOCK_BUTTON.FONT_FAMILY;
366
- }
367
- }, $t = class extends a {
368
- getParentControlId() {
369
- return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
370
- }
371
- }, Wt = class extends a {
372
- getParentControlId() {
373
- return n.BLOCK_BUTTON.INTERNAL_INDENTS;
374
- }
375
- }, zt = class extends a {
376
- getParentControlId() {
377
- return n.BLOCK_BUTTON.TEXT;
378
- }
379
- }, Zt = class extends a {
380
- getParentControlId() {
381
- return n.BLOCK_BUTTON.FONT_SIZE;
382
- }
383
- }, jt = class extends a {
384
- getParentControlId() {
385
- return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
386
- }
387
- getLabels() {
388
- }
389
- }, X = class h extends i {
247
+ }, ut = {
248
+ ...E
249
+ }, _t = {
250
+ BUTTON: ot,
251
+ COUNTER: Et,
252
+ LABEL: lt,
253
+ SELECTPICKER: dt,
254
+ SWITCHER: E,
255
+ TEXT: ut,
256
+ SELECT_ITEM: ht
257
+ }, ct = /* @__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))(ct || {}), S = class m extends n {
390
258
  constructor() {
391
- super(h.REQUIRED_METHODS, h);
259
+ super(m.REQUIRED_METHODS, m);
392
260
  }
393
261
  /**
394
262
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -433,38 +301,18 @@ var rt = {
433
301
  */
434
302
  onTemplateNodeUpdated(e) {
435
303
  }
436
- /**
437
- * Lifecycle hook called when any part of the document template has changed.
438
- * This can be frequent; use cautiously for performance-sensitive operations.
439
- * @param _node - The immutable HTML node representing current node instance
440
- */
441
- onDocumentChanged(e) {
442
- }
443
304
  };
444
- X.REQUIRED_METHODS = ["getId", "getTemplate"];
445
- var qt = X, k = class extends M {
446
- getTargetNodes(t) {
447
- const e = t.querySelectorAll(O.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
448
- return e.length ? e : r;
449
- }
450
- }, Jt = class extends k {
451
- getParentControlId() {
452
- return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
453
- }
454
- }, te = class extends k {
455
- getParentControlId() {
456
- return n.BLOCK_IMAGE.SIZE;
457
- }
458
- }, V = class C extends i {
305
+ S.REQUIRED_METHODS = ["getId", "getTemplate"];
306
+ var Lt = S, N = class O extends n {
459
307
  constructor() {
460
- super(C.REQUIRED_METHODS, C);
308
+ super(O.REQUIRED_METHODS, O);
461
309
  }
462
310
  registerBlockControls(e) {
463
311
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
464
312
  }
465
313
  };
466
- V.REQUIRED_METHODS = ["registerBlockControls"];
467
- var ee = V, re = class {
314
+ N.REQUIRED_METHODS = ["registerBlockControls"];
315
+ var At = N, Dt = class {
468
316
  constructor(t, e) {
469
317
  this.tabId = t, this.controlsIds = e;
470
318
  }
@@ -487,42 +335,9 @@ var ee = V, re = class {
487
335
  const e = this.controlsIds.indexOf(t);
488
336
  e !== -1 && this.controlsIds.splice(e, 1);
489
337
  }
490
- }, d = class extends M {
491
- getTargetNodes(t) {
492
- const e = t.querySelectorAll(O.TEXT), r = t.asElement().hasClass(y) ? [t] : [];
493
- return e.length ? e : r;
494
- }
495
- }, ne = class extends d {
496
- getParentControlId() {
497
- return n.GENERAL.TEXT_ALIGN;
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.GENERAL.TEXT_LINE_SPACING;
510
- }
511
- }, oe = class extends d {
512
- getParentControlId() {
513
- return n.BLOCK_TEXT.INTERNAL_INDENTS;
514
- }
515
- }, Ee = class extends d {
516
- getParentControlId() {
517
- return n.GENERAL.TEXT_SIZE;
518
- }
519
- }, le = class extends d {
520
- getParentControlId() {
521
- return n.GENERAL.TEXT_STYLE;
522
- }
523
- }, xt = class {
524
- constructor(t, e, r = [], s, E = [], T, I = [], l = [], v, Y, $, W, z, Z, j, q) {
525
- 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 = I, 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);
338
+ }, mt = class {
339
+ constructor(t, e, r = [], s, i = [], d, l = [], a = [], T, U, p, w, B, K, H, P) {
340
+ 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 = d, this.contextActions = l, this.blocks = a, this.externalSmartElementsLibrary = T, this.externalImageLibrary = U, this.externalAiAssistant = w, this.externalDisplayConditionsLibrary = B, this.externalVideoLibrary = K, this.blocksPanel = H, this.iconsRegistry = P, this.id = Math.random().toString(36).substring(2);
526
341
  }
527
342
  getI18n() {
528
343
  return this.i18n;
@@ -575,7 +390,7 @@ var ee = V, re = class {
575
390
  getIconsRegistry() {
576
391
  return this.iconsRegistry;
577
392
  }
578
- }, de = class {
393
+ }, Tt = class {
579
394
  constructor() {
580
395
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
581
396
  }
@@ -637,7 +452,7 @@ var ee = V, re = class {
637
452
  return this.iconsRegistry = t, this;
638
453
  }
639
454
  build() {
640
- return new xt(
455
+ return new mt(
641
456
  this.i18n,
642
457
  (this.styles || []).map((t) => t.trim()).join(`
643
458
  `),
@@ -657,18 +472,18 @@ var ee = V, re = class {
657
472
  this.iconsRegistry
658
473
  );
659
474
  }
660
- }, Ut = class L extends i {
475
+ }, Ot = class b extends n {
661
476
  constructor() {
662
- super(L.REQUIRED_METHODS, L);
477
+ super(b.REQUIRED_METHODS, b);
663
478
  }
664
- openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: E }) {
479
+ openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: i }) {
665
480
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
666
481
  }
667
482
  };
668
- Ut.REQUIRED_METHODS = ["openAiAssistant"];
669
- var yt = class g extends i {
483
+ Ot.REQUIRED_METHODS = ["openAiAssistant"];
484
+ var bt = class R extends n {
670
485
  constructor() {
671
- super(g.REQUIRED_METHODS, g);
486
+ super(R.REQUIRED_METHODS, R);
672
487
  }
673
488
  /**
674
489
  * Retrieves the name of the category.
@@ -706,44 +521,44 @@ var yt = class g extends i {
706
521
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
707
522
  }
708
523
  };
709
- yt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
710
- var Kt = class m extends i {
524
+ bt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
525
+ var Rt = class C extends n {
711
526
  constructor() {
712
- super(m.REQUIRED_METHODS, m);
527
+ super(C.REQUIRED_METHODS, C);
713
528
  }
714
529
  openImageLibrary(e, r, s) {
715
530
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
716
531
  }
717
532
  };
718
- Kt.REQUIRED_METHODS = ["openImageLibrary"];
719
- var pt = class A extends i {
533
+ Rt.REQUIRED_METHODS = ["openImageLibrary"];
534
+ var Ct = class g extends n {
720
535
  constructor() {
721
- super(A.REQUIRED_METHODS, A);
536
+ super(g.REQUIRED_METHODS, g);
722
537
  }
723
538
  openSmartElementsLibrary(e, r) {
724
539
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
725
540
  }
726
541
  };
727
- pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
728
- var Ft = class N extends i {
542
+ Ct.REQUIRED_METHODS = ["openSmartElementsLibrary"];
543
+ var gt = class I extends n {
729
544
  constructor() {
730
- super(N.REQUIRED_METHODS, N);
545
+ super(I.REQUIRED_METHODS, I);
731
546
  }
732
547
  openExternalVideosLibraryDialog(e, r, s) {
733
548
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
734
549
  }
735
550
  };
736
- Ft.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
737
- var G = class b extends i {
551
+ gt.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
552
+ var y = class _ extends n {
738
553
  constructor() {
739
- super(b.REQUIRED_METHODS, b);
554
+ super(_.REQUIRED_METHODS, _);
740
555
  }
741
556
  registerIconsSvg(e) {
742
557
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
743
558
  }
744
559
  };
745
- G.REQUIRED_METHODS = ["registerIconsSvg"];
746
- var ue = G, Ie = class {
560
+ y.REQUIRED_METHODS = ["registerIconsSvg"];
561
+ var Mt = y, St = class {
747
562
  constructor(t) {
748
563
  this.key = t;
749
564
  }
@@ -756,9 +571,9 @@ var ue = G, Ie = class {
756
571
  params: this.params
757
572
  };
758
573
  }
759
- }, f = class D extends i {
574
+ }, v = class L extends n {
760
575
  constructor() {
761
- super(D.REQUIRED_METHODS, D);
576
+ super(L.REQUIRED_METHODS, L);
762
577
  }
763
578
  /**
764
579
  * Called when the UI element should render its content into the provided container.
@@ -811,61 +626,34 @@ var ue = G, Ie = class {
811
626
  throw new Error("Method getTemplate() must be implemented by the subclass");
812
627
  }
813
628
  };
814
- f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
815
- var Oe = f, Q = class S extends i {
629
+ v.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
630
+ var Nt = v, x = class A extends n {
816
631
  constructor() {
817
- super(S.REQUIRED_METHODS, S);
632
+ super(A.REQUIRED_METHODS, A);
818
633
  }
819
634
  registerUiElements(e) {
820
635
  throw new Error("Method registerUiElements() must be implemented by the subclass");
821
636
  }
822
637
  };
823
- Q.REQUIRED_METHODS = ["registerUiElements"];
824
- var Te = Q;
638
+ x.REQUIRED_METHODS = ["registerUiElements"];
639
+ var yt = x;
825
640
  export {
826
- wt as Block,
827
- Pt as BlockAttr,
828
- J as BlockCompositionType,
829
- O as BlockSelector,
830
- ct as BlockType,
831
- M as BuiltInControl,
832
- n as BuiltInControlTypes,
833
- kt as ButtonAlignBuiltInControl,
834
- Vt as ButtonBackgroundColorBuiltInControl,
835
- Gt as ButtonBorderBuiltInControl,
836
- Xt as ButtonBorderRadiusBuiltInControl,
837
- ft as ButtonColorBuiltInControl,
838
- F as ButtonControls,
839
- Qt as ButtonFitToContainerBuiltInControl,
840
- Yt as ButtonFontFamilyBuiltInControl,
841
- $t as ButtonMarginsBuiltInControl,
842
- Wt as ButtonPaddingsBuiltInControl,
843
- zt as ButtonTextBuiltInControl,
844
- Zt as ButtonTextSizeBuiltInControl,
845
- jt as ButtonTextStyleAndFontColorBuiltInControl,
846
- _t as ContainerControls,
847
- qt as Control,
848
- xt as Extension,
849
- de as ExtensionBuilder,
850
- p as GeneralControls,
851
- ue as IconsRegistry,
852
- P as ImageControls,
853
- Jt as ImageMarginsBuiltInControl,
854
- te as ImageSizeBuiltInControl,
855
- Ie as ModificationDescription,
856
- ee as SettingsPanelRegistry,
857
- re as SettingsPanelTab,
858
- Rt as SettingsTab,
859
- ne as TextAlignBuiltInControl,
860
- se as TextColorBuiltInControl,
861
- w as TextControls,
862
- ie as TextFontFamilyBuiltInControl,
863
- ae as TextLineSpacingBuiltInControl,
864
- oe as TextPaddingsBuiltInControl,
865
- Ee as TextSizeBuiltInControl,
866
- le as TextStyleBuiltInControl,
867
- Ht as UEAttr,
868
- Oe as UIElement,
869
- Te as UIElementTagRegistry,
870
- vt as UIElementType
641
+ It as Block,
642
+ F as BlockCompositionType,
643
+ rt as BlockSelector,
644
+ st as BlockType,
645
+ it as ContainerControls,
646
+ Lt as Control,
647
+ mt as Extension,
648
+ Tt as ExtensionBuilder,
649
+ Mt as IconsRegistry,
650
+ St as ModificationDescription,
651
+ At as SettingsPanelRegistry,
652
+ Dt as SettingsPanelTab,
653
+ at as SettingsTab,
654
+ nt as TextControls,
655
+ _t as UEAttr,
656
+ Nt as UIElement,
657
+ yt as UIElementTagRegistry,
658
+ ct as UIElementType
871
659
  };
@@ -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 {