@useinsider/guido 2.0.0-beta.061e9c9 → 2.0.0-beta.0941bcd

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 (192) hide show
  1. package/dist/@types/config/schemas.js +53 -39
  2. package/dist/components/organisms/email-preview/PreviewContainer.vue.js +3 -3
  3. package/dist/components/organisms/email-preview/amp/AmpErrorModal.vue.js +6 -6
  4. package/dist/components/organisms/email-preview/amp/AmpErrorModal.vue2.js +17 -13
  5. package/dist/components/organisms/email-preview/amp/AmpToggle.vue.js +6 -6
  6. package/dist/components/organisms/email-preview/amp/AmpToggle.vue2.js +14 -12
  7. package/dist/components/organisms/email-preview/desktop-preview/DesktopBrowserHeader.vue.js +18 -0
  8. package/dist/components/organisms/email-preview/desktop-preview/DesktopBrowserHeader.vue2.js +15 -0
  9. package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue.js +10 -14
  10. package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue2.js +14 -22
  11. package/dist/components/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue.js +3 -3
  12. package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue.js +11 -10
  13. package/dist/components/organisms/email-preview/mobile-preview/InboxView.vue.js +12 -10
  14. package/dist/components/organisms/email-preview/mobile-preview/MobilePreview.vue.js +11 -10
  15. package/dist/components/organisms/email-preview/mobile-preview/MobilePreview.vue2.js +15 -14
  16. package/dist/components/organisms/header/EditorActions.vue.js +21 -0
  17. package/dist/components/organisms/header/EditorActions.vue2.js +41 -0
  18. package/dist/components/organisms/header/EditorToolbar.vue.js +18 -0
  19. package/dist/components/organisms/header/EditorToolbar.vue2.js +17 -0
  20. package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -5
  21. package/dist/components/organisms/header/LeftSlot.vue.js +11 -11
  22. package/dist/components/organisms/header/LeftSlot.vue2.js +11 -12
  23. package/dist/components/organisms/header/MiddleSlot.vue.js +7 -7
  24. package/dist/components/organisms/header/MiddleSlot.vue2.js +11 -15
  25. package/dist/components/organisms/header/RightSlot.vue.js +11 -14
  26. package/dist/components/organisms/header/RightSlot.vue2.js +13 -30
  27. package/dist/components/organisms/header/version-history/VersionHistory.vue.js +5 -5
  28. package/dist/components/organisms/onboarding/NewVersionPopup.vue2.js +15 -15
  29. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +1 -1
  30. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +20 -19
  31. package/dist/composables/useActionsApi.js +33 -30
  32. package/dist/composables/useConfig.js +29 -27
  33. package/dist/composables/useSave.js +13 -11
  34. package/dist/config/migrator/recommendationMigrator.js +2 -2
  35. package/dist/enums/academy.js +8 -0
  36. package/dist/enums/onboarding.js +1 -2
  37. package/dist/enums/unsubscribe.js +20 -21
  38. package/dist/extensions/Blocks/Items/controls/cardComposition.js +13 -4
  39. package/dist/extensions/Blocks/Recommendation/block.js +40 -6
  40. package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +4 -0
  41. package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +4 -0
  42. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +64 -0
  43. package/dist/extensions/Blocks/Recommendation/constants/layout.js +20 -0
  44. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +19 -0
  45. package/dist/extensions/Blocks/Recommendation/controls/button/index.js +64 -0
  46. package/dist/extensions/Blocks/Recommendation/controls/cardBackground/index.js +80 -0
  47. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +232 -0
  48. package/dist/extensions/Blocks/Recommendation/controls/image/index.js +19 -0
  49. package/dist/extensions/Blocks/Recommendation/controls/layout/index.js +96 -0
  50. package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +110 -0
  51. package/dist/extensions/Blocks/Recommendation/controls/main/currency.js +204 -0
  52. package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +54 -0
  53. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +205 -0
  54. package/dist/extensions/Blocks/Recommendation/controls/main/locale.js +74 -0
  55. package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +118 -0
  56. package/dist/extensions/Blocks/Recommendation/controls/main/shuffle.js +71 -0
  57. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +286 -0
  58. package/dist/extensions/Blocks/Recommendation/controls/name/index.js +46 -0
  59. package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +76 -0
  60. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/index.js +44 -0
  61. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.js +48 -0
  62. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextAfterControl.js → omnibusDiscount/textAfter.js} +16 -14
  63. package/dist/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextBeforeControl.js → omnibusDiscount/textBefore.js} +16 -14
  64. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/index.js +48 -0
  65. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPriceTextAfterControl.js → omnibusPrice/textAfter.js} +16 -14
  66. package/dist/extensions/Blocks/Recommendation/controls/{omnibusPriceTextBeforeControl.js → omnibusPrice/textBefore.js} +14 -12
  67. package/dist/extensions/Blocks/Recommendation/controls/price/index.js +44 -0
  68. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +222 -0
  69. package/dist/extensions/Blocks/Recommendation/extension.js +40 -19
  70. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +19 -3
  71. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +13 -4
  72. package/dist/extensions/Blocks/Recommendation/services/configService.js +239 -0
  73. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +46 -43
  74. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +41 -36
  75. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +233 -0
  76. package/dist/extensions/Blocks/Recommendation/templates/grid/migration.js +251 -0
  77. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +69 -0
  78. package/dist/extensions/Blocks/Recommendation/templates/index.js +12 -0
  79. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +174 -0
  80. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +73 -0
  81. package/dist/extensions/Blocks/Recommendation/templates/utils.js +121 -0
  82. package/dist/extensions/Blocks/Recommendation/types/nodeConfig.js +6 -0
  83. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +9 -9
  84. package/dist/extensions/Blocks/Recommendation/utils/preserveTextStyles.js +27 -16
  85. package/dist/extensions/Blocks/Recommendation/utils/priceFormatter.js +29 -0
  86. package/dist/extensions/Blocks/Recommendation/utils/tagName.js +46 -0
  87. package/dist/extensions/Blocks/Unsubscribe/extension.js +9 -9
  88. package/dist/extensions/Blocks/common-control.js +6 -7
  89. package/dist/extensions/Blocks/controlFactories.js +156 -122
  90. package/dist/guido.css +1 -1
  91. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +423 -291
  92. package/dist/package.json.js +1 -1
  93. package/dist/services/recommendationApi.js +10 -9
  94. package/dist/src/@types/config/index.d.ts +2 -2
  95. package/dist/src/@types/config/schemas.d.ts +26 -0
  96. package/dist/src/@types/config/types.d.ts +7 -1
  97. package/dist/src/components/organisms/email-preview/desktop-preview/DesktopBrowserHeader.vue.d.ts +2 -0
  98. package/dist/src/components/organisms/header/EditorActions.vue.d.ts +4 -0
  99. package/dist/src/components/organisms/header/EditorToolbar.vue.d.ts +2 -0
  100. package/dist/src/components/organisms/header/RightSlot.vue.d.ts +1 -1
  101. package/dist/src/components/wrappers/WpDrawer.vue.d.ts +1 -1
  102. package/dist/src/composables/useActionsApi.d.ts +1 -0
  103. package/dist/src/composables/useConfig.d.ts +6 -0
  104. package/dist/src/enums/academy.d.ts +12 -0
  105. package/dist/src/enums/onboarding.d.ts +0 -1
  106. package/dist/src/enums/unsubscribe.d.ts +0 -1
  107. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +34 -0
  108. package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +13 -0
  109. package/dist/src/extensions/Blocks/Recommendation/{constants.d.ts → constants/controlIds.d.ts} +1 -33
  110. package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +49 -0
  111. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +13 -0
  112. package/dist/src/extensions/Blocks/Recommendation/constants/layout.d.ts +35 -0
  113. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +31 -0
  114. package/dist/src/extensions/Blocks/Recommendation/controls/button/index.d.ts +143 -0
  115. package/dist/src/extensions/Blocks/Recommendation/controls/{cardBackgroundColorControl.d.ts → cardBackground/index.d.ts} +9 -3
  116. package/dist/src/extensions/Blocks/Recommendation/{cardCompositionControl.d.ts → controls/cardComposition/index.d.ts} +23 -7
  117. package/dist/src/extensions/Blocks/Recommendation/controls/image/index.d.ts +35 -0
  118. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +21 -651
  119. package/dist/src/extensions/Blocks/Recommendation/controls/layout/index.d.ts +37 -0
  120. package/dist/src/extensions/Blocks/Recommendation/controls/main/algorithm.d.ts +29 -0
  121. package/dist/src/extensions/Blocks/Recommendation/controls/main/currency.d.ts +45 -0
  122. package/dist/src/extensions/Blocks/Recommendation/controls/main/filters.d.ts +22 -0
  123. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +57 -0
  124. package/dist/src/extensions/Blocks/Recommendation/controls/main/locale.d.ts +24 -0
  125. package/dist/src/extensions/Blocks/Recommendation/controls/main/productLayout.d.ts +42 -0
  126. package/dist/src/extensions/Blocks/Recommendation/controls/main/shuffle.d.ts +23 -0
  127. package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +214 -0
  128. package/dist/src/extensions/Blocks/Recommendation/controls/name/index.d.ts +97 -0
  129. package/dist/src/extensions/Blocks/Recommendation/controls/{nameTextTrimControl.d.ts → name/textTrim.d.ts} +1 -1
  130. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/index.d.ts +95 -0
  131. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +100 -0
  132. package/dist/src/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextAfterControl.d.ts → omnibusDiscount/textAfter.d.ts} +1 -1
  133. package/dist/src/extensions/Blocks/Recommendation/controls/{omnibusDiscountTextBeforeControl.d.ts → omnibusDiscount/textBefore.d.ts} +1 -1
  134. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +100 -0
  135. package/dist/src/extensions/Blocks/Recommendation/controls/{omnibusPriceTextAfterControl.d.ts → omnibusPrice/textAfter.d.ts} +1 -1
  136. package/dist/src/extensions/Blocks/Recommendation/controls/{omnibusPriceTextBeforeControl.d.ts → omnibusPrice/textBefore.d.ts} +1 -1
  137. package/dist/src/extensions/Blocks/Recommendation/controls/price/index.d.ts +95 -0
  138. package/dist/src/extensions/Blocks/Recommendation/controls/{spacingControl.d.ts → spacing/index.d.ts} +33 -10
  139. package/dist/src/extensions/Blocks/Recommendation/extension.d.ts +9 -0
  140. package/dist/src/extensions/Blocks/Recommendation/services/configService.d.ts +151 -0
  141. package/dist/src/extensions/Blocks/Recommendation/services/index.d.ts +6 -0
  142. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +17 -16
  143. package/dist/src/extensions/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +20 -0
  144. package/dist/src/extensions/Blocks/Recommendation/templates/grid/migration.d.ts +23 -0
  145. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +33 -0
  146. package/dist/src/extensions/Blocks/Recommendation/templates/index.d.ts +39 -0
  147. package/dist/src/extensions/Blocks/Recommendation/templates/list/elementRenderer.d.ts +8 -0
  148. package/dist/src/extensions/Blocks/Recommendation/templates/list/migration.d.ts +25 -0
  149. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +18 -0
  150. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +54 -0
  151. package/dist/src/extensions/Blocks/Recommendation/types/index.d.ts +7 -0
  152. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +154 -0
  153. package/dist/src/extensions/Blocks/Recommendation/utils/priceFormatter.d.ts +33 -0
  154. package/dist/src/extensions/Blocks/Recommendation/utils/stylePreserver.d.ts +113 -0
  155. package/dist/src/extensions/Blocks/Recommendation/utils/tagName.d.ts +77 -0
  156. package/dist/src/extensions/Blocks/common-control.d.ts +1 -1
  157. package/dist/src/stores/config.d.ts +147 -1
  158. package/dist/src/stores/editor.d.ts +21 -0
  159. package/dist/static/assets/desktop/desktop-mockup-center.svg.js +4 -0
  160. package/dist/static/assets/desktop/desktop-mockup-left.svg.js +4 -0
  161. package/dist/static/assets/desktop/desktop-mockup-right.svg.js +4 -0
  162. package/dist/static/assets/mobile/email-mockup.svg.js +4 -0
  163. package/dist/static/assets/mobile/inbox-mockup.svg.js +4 -0
  164. package/dist/static/styles/components/button.css.js +1 -1
  165. package/dist/static/styles/components/wide-panel.css.js +1 -1
  166. package/dist/static/styles/customEditorStyle.css.js +25 -2
  167. package/dist/stores/config.js +7 -0
  168. package/dist/stores/editor.js +1 -0
  169. package/dist/utils/templatePreparation.js +17 -17
  170. package/package.json +3 -3
  171. package/dist/components/organisms/email-preview/desktop-preview/EmailHeaderInfo.vue.js +0 -17
  172. package/dist/components/organisms/email-preview/desktop-preview/EmailHeaderInfo.vue2.js +0 -20
  173. package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +0 -193
  174. package/dist/extensions/Blocks/Recommendation/constants.js +0 -14
  175. package/dist/extensions/Blocks/Recommendation/control.js +0 -321
  176. package/dist/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.js +0 -68
  177. package/dist/extensions/Blocks/Recommendation/controls/index.js +0 -272
  178. package/dist/extensions/Blocks/Recommendation/controls/nameTextTrimControl.js +0 -74
  179. package/dist/extensions/Blocks/Recommendation/controls/priceHideControl.js +0 -60
  180. package/dist/extensions/Blocks/Recommendation/controls/priceInlineLayoutControl.js +0 -160
  181. package/dist/extensions/Blocks/Recommendation/controls/spacingControl.js +0 -188
  182. package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +0 -184
  183. package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +0 -189
  184. package/dist/extensions/Blocks/Recommendation/templates/templateUtils.js +0 -209
  185. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +0 -38
  186. package/dist/src/extensions/Blocks/Recommendation/controls/priceHideControl.d.ts +0 -16
  187. package/dist/src/extensions/Blocks/Recommendation/controls/priceInlineLayoutControl.d.ts +0 -50
  188. package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +0 -16
  189. package/dist/src/extensions/Blocks/Recommendation/templates/migrationTemplate.d.ts +0 -16
  190. package/dist/src/extensions/Blocks/Recommendation/templates/templateUtils.d.ts +0 -52
  191. package/dist/static/assets/inbox-mockup.svg.js +0 -4
  192. package/dist/static/assets/phone-mockup.svg.js +0 -4
@@ -1,17 +1,17 @@
1
- var M = class u {
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(e, r) {
8
- if (r !== u) {
9
- u.validatedClasses.has(r) || this.validateImplementation(e, r);
10
- const s = u.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((E) => ` - ${E}`).join(`
13
+ `${a.name} has validation errors:
14
+ ${i.map((o) => ` - ${o}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -20,23 +20,23 @@ ${s.map((E) => ` - ${E}`).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(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`);
23
+ validateImplementation(t, a) {
24
+ var M;
25
+ const i = [], o = a.name, Y = Object.getPrototypeOf(this);
26
+ t.forEach((u) => {
27
+ if (typeof this[u] != "function") {
28
+ i.push(`Method ${u}() 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
+ 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
- M.validatedClasses = /* @__PURE__ */ new Set();
36
- M.validationErrors = /* @__PURE__ */ new Map();
37
- var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUCTURE", t.CONTAINER = "CONTAINER", t))(et || {}), y = class c extends a {
35
+ 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
- super(c.REQUIRED_METHODS, c);
39
+ super(T.REQUIRED_METHODS, T);
40
40
  }
41
41
  /**
42
42
  * Determines if the block should be available for use in the editor.
@@ -86,28 +86,28 @@ var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUC
86
86
  * @param node - The immutable HTML node representing the selected block instance.
87
87
  */
88
88
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
89
- onSelect(e) {
89
+ onSelect(t) {
90
90
  }
91
91
  /**
92
92
  * Lifecycle hook called when an instance of this block is copied.
93
93
  * @param modifier - The HTML node modifier to apply changes to the copied block instance.
94
94
  */
95
95
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
96
- onCopy(e) {
96
+ onCopy(t) {
97
97
  }
98
98
  /**
99
99
  * Lifecycle hook called when an instance of this block is deleted.
100
100
  * @param node - The immutable HTML node representing the block instance being deleted.
101
101
  */
102
102
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
103
- onDelete(e) {
103
+ onDelete(t) {
104
104
  }
105
105
  /**
106
106
  * Lifecycle hook called after a new instance of this block is created and added to the document (e.g., via drag-and-drop).
107
107
  * @param node - The immutable HTML node representing the newly created block instance.
108
108
  */
109
109
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
110
- onCreated(e) {
110
+ onCreated(t) {
111
111
  }
112
112
  /**
113
113
  * Lifecycle hook called when any part of the document template has changed.
@@ -115,7 +115,7 @@ var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUC
115
115
  * @param node - The immutable HTML node representing current node instance
116
116
  */
117
117
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
118
- onDocumentChanged(e) {
118
+ onDocumentChanged(t) {
119
119
  }
120
120
  /**
121
121
  * @description Determines if block is atomic or composite.
@@ -183,7 +183,7 @@ var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUC
183
183
  *
184
184
  * @return {string} The name of the block panel.
185
185
  */
186
- getSettingsPanelName() {
186
+ getSettingsPanelTitleHtml() {
187
187
  return "";
188
188
  }
189
189
  /**
@@ -195,28 +195,28 @@ var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUC
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 Xt = y, rt = class _ extends a {
198
+ v.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
+ var Ge = v, W = class c extends s {
200
200
  constructor() {
201
- super(_.REQUIRED_METHODS, _);
201
+ super(c.REQUIRED_METHODS, c);
202
202
  }
203
203
  /**
204
204
  * @deprecated - use {@link getPreviewInnerHtml} instead
205
205
  */
206
206
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
207
- getPreviewHtml(e) {
207
+ getPreviewHtml(t) {
208
208
  }
209
209
  /**
210
210
  * @description returns custom content to be displayed inside the {@link Block} root TD element
211
211
  */
212
- getPreviewInnerHtml(e) {
212
+ getPreviewInnerHtml(t) {
213
213
  throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
214
214
  }
215
215
  };
216
- rt.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
- var nt = class h extends a {
216
+ W.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
+ var z = class b extends s {
218
218
  constructor() {
219
- super(h.REQUIRED_METHODS, h);
219
+ super(b.REQUIRED_METHODS, b);
220
220
  }
221
221
  getId() {
222
222
  throw new Error("Method getId() must be implemented by the subclass");
@@ -227,93 +227,147 @@ var nt = class h extends a {
227
227
  getLabel() {
228
228
  throw new Error("Method getLabel() must be implemented by the subclass");
229
229
  }
230
- onClick(e) {
230
+ onClick(t) {
231
231
  throw new Error("Method onClick() must be implemented by the subclass");
232
232
  }
233
233
  };
234
- nt.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
235
- var st = {
234
+ z.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
235
+ var Z = {
236
236
  src: "src",
237
237
  alt: "alt",
238
238
  href: "href",
239
239
  width: "width"
240
- }, at = {
241
- href: "href"
242
- }, kt = {
243
- BLOCK_IMAGE: st,
244
- BLOCK_BUTTON: at
245
- }, U = "esd-block-button", p = "esd-block-text", K = "esd-block-image", it = "esd-structure", ot = "esd-block-video", Et = "esd-block-social", lt = "esd-block-banner", dt = "esd-block-timer", ut = "esd-block-menu", It = "esd-block-html", Ot = "esd-block-spacer", Tt = "esd-container-frame", ct = "esd-stripe", _t = "esd-amp-form", O = ((t) => (t.BUTTON = `.${U}`, t.TEXT = `.${p}`, t.IMAGE = `.${K}`, t.STRUCTURE = `.${it}`, t.VIDEO = `.${ot}`, t.SOCIAL = `.${Et}`, t.BANNER = `.${lt}`, t.TIMER = `.${dt}`, t.MENU = `.${ut}`, t.HTML = `.${It}`, t.SPACER = `.${Ot}`, t.CONTAINER = `.${Tt}`, t.STRIPE = `.${ct}`, t.FORM = `.${_t}`, t))(O || {}), ht = /* @__PURE__ */ ((t) => (t.BLOCK_IMAGE = "BLOCK_IMAGE", t.BLOCK_TEXT = "BLOCK_TEXT", t.BLOCK_BUTTON = "BLOCK_BUTTON", t.BLOCK_SPACER = "BLOCK_SPACER", t.BLOCK_VIDEO = "BLOCK_VIDEO", t.BLOCK_SOCIAL = "BLOCK_SOCIAL", t.BLOCK_BANNER = "BLOCK_BANNER", t.BLOCK_TIMER = "BLOCK_TIMER", t.BLOCK_MENU = "BLOCK_MENU", t.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", t.BLOCK_HTML = "BLOCK_HTML", t.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", t.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", t.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", t.CONTAINER = "CONTAINER", t.FORM_CONTAINER = "FORM_CONTAINER", t.STRUCTURE = "STRUCTURE", t.STRIPE = "STRIPE", t.EMPTY_CONTAINER = "EMPTY_CONTAINER", t.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", t.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", t.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", t))(ht || {}), F = /* @__PURE__ */ ((t) => (t.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", t.APPLY_CONDITION = "applyCondition", t.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", t.BACKGROUND_COLOR = "backgroundColor", t.BACKGROUND_IMAGE = "generalImageContainer", t.TEXT_COLOR = "textColor", t.TEXT_STYLE = "textStyle", t.TEXT_SIZE = "textSize", t.TEXT_LINE_SPACING = "textLineSpacing", t.TEXT_ALIGN = "textAlign", t.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", t.HIDDEN_NODE = "hiddenNode", t.SMART_BLOCK = "smartBlock", t.SYNCHRONIZED_MODULE = "synchronizedModuleForm", t.FONT_FAMILY = "generalFontFamilyForm", t.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", t.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", t))(F || {}), w = /* @__PURE__ */ ((t) => (t.ADJUST_TO_WIDTH = "adjustToWidth", t.ALIGNMENT = "buttonAlignment", t.BORDER = "buttonBorder", t.BORDER_RADIUS = "buttonBorderRadius", t.COLOR = "buttonColor", t.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", t.EXTERNAL_INDENTS = "buttonExternalIndents", t.FIXED_HEIGHT = "buttonFixedHeightForm", t.FONT_COLOR = "buttonFontColor", t.FONT_FAMILY = "buttonFontFamily", t.FONT_SIZE = "buttonFontSize", t.ICON = "buttonIconContainer", t.ICON_ALIGN = "buttonIconAlign", t.ICON_INDENT = "buttonIconIndent", t.ICON_WIDTH = "buttonIconWidth", t.IMAGE = "buttonImageForm", t.INTERNAL_INDENTS = "buttonInternalIndents", t.LINK = "buttonLink", t.MIME_TYPE = "buttonMimeTypeForm", t.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", t.TEXT = "buttonText", t.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", t.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", t.HOVERED_COLOR = "hoveredButtonColorForm", t.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", t))(w || {}), P = /* @__PURE__ */ ((t) => (t.HIDDEN_NODE = "hiddenNodeText", t.PARAGRAPH_STYLE = "paragraphStyleForm", t.ALIGN = "textAlignmentForm", t.ANCHOR_CONTAINER = "textAnchorForm", t.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", t.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", t.FONT_COLOR = "textBlockFontColor", t.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", t.FONT_FAMILY = "textFontFamily", t.FONT_SIZE = "textBlockFontSize", t.DIRECTION = "textBlockDirectionForm", t.INSERT_FORM = "textBlockInsertForm", t.LINK_DATA = "textBlockLinkDataForm", t.FORMAT = "textBlockTextFormatForm", t.FIXED_HEIGHT = "textFixedHeightForm", t.INTERNAL_INDENTS = "textInternalIndents", t.LINE_HEIGHT = "textLineHeightForm", t.LINKS_COLOR = "textLinksFontColorForm", t.MIME_TYPE = "textMimeTypeForm", t.NO_LINE_WRAPS = "textNoLineWrapsForm", t))(P || {}), H = /* @__PURE__ */ ((t) => (t.ALT_TEXT = "altText", t.LINK = "blockLink", t.ALIGNMENT = "imageAlignment", t.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", t.BORDER_RADIUS = "imageBorderRadiusForm", t.IMAGE = "imageImageForm", t.EXTERNAL_INDENTS = "imageExternalIndents", t.MIME_TYPE = "imageMimeTypeForm", t.RESPONSIVE = "imageResponsive", t.ROLLOVER_IMAGE = "imageRolloverImageForm", t.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", t.SIZE = "imageSizeContainer", t))(H || {}), Rt = /* @__PURE__ */ ((t) => (t.BACKGROUND_COLOR = "containerBackgroundColorForm", t.BORDER_FORM = "containerBorderForm", t.BORDER_RADIUS = "containerBorderRadiusForm", t.EXTERNAL_INDENTS = "containerExternalIndentsForm", t.IMAGE_CONTAINER = "containerImageContainerForm", t.MIME_TYPE = "containerMimeTypeForm", t.DISPLAY_CONDITIONS = "displayConditions", t.HIDDEN_NODE = "containerHiddenNodeForm", t))(Rt || {}), n = {
246
- BLOCK_BUTTON: w,
247
- BLOCK_TEXT: P,
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 = {
243
+ BLOCK_BUTTON: K,
244
+ BLOCK_TEXT: F,
248
245
  BLOCK_IMAGE: H,
249
- GENERAL: F
250
- }, Lt = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(Lt || {}), o = {
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
- }, Ct = {
254
- ...o,
250
+ }, ue = {
251
+ ...r,
255
252
  caption: "caption",
256
253
  icon: "icon"
257
- }, mt = {
258
- ...o,
254
+ }, Ie = {
255
+ ...r,
259
256
  caption: "caption"
260
- }, gt = {
261
- ...o,
257
+ }, Te = {
258
+ ...r,
262
259
  minValue: "min-value",
263
260
  maxValue: "max-value",
264
261
  step: "step"
265
- }, bt = {
266
- ...o,
267
- text: "text"
268
- }, Nt = {
269
- ...o
262
+ }, ce = {
263
+ ...r,
264
+ placeholder: "placeholder",
265
+ minDate: "min-date"
266
+ }, be = {
267
+ ...r,
268
+ text: "text",
269
+ hint: "hint"
270
+ }, Oe = {
271
+ ...r,
272
+ type: "type"
273
+ }, he = {
274
+ ...r,
275
+ buttons: "buttons"
270
276
  }, X = {
271
- ...o,
277
+ ...r,
272
278
  searchable: "searchable",
273
279
  multiSelect: "multi-select",
274
280
  placeholder: "placeholder",
275
281
  items: "items"
276
- }, At = {
277
- ...X
278
- }, Dt = {
282
+ }, me = {
283
+ ...X,
284
+ addCustomFontOption: "add-custom-font-option"
285
+ }, ge = {
286
+ ...r,
279
287
  text: "text",
280
288
  value: "value"
281
- }, St = {
289
+ }, Re = {
290
+ ...r,
282
291
  text: "text",
292
+ hint: "hint",
283
293
  icon: "icon",
284
294
  value: "value"
285
- }, Bt = {
286
- ...o
287
- }, Mt = {
295
+ }, _e = {
296
+ ...r,
297
+ buttons: "buttons"
298
+ }, Le = {
299
+ ...r,
300
+ text: "text",
301
+ hint: "hint",
302
+ icon: "icon",
303
+ value: "value"
304
+ }, Ce = {
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,
288
324
  controlId: "control-id"
289
- }, xt = {
290
- ...o,
325
+ }, Se = {
326
+ ...r,
327
+ expanded: "expanded"
328
+ }, xe = {
329
+ ...r,
291
330
  icon: "icon",
292
331
  position: "position"
293
- }, vt = {
294
- ...o
295
- }, Vt = {
296
- BUTTON: Ct,
297
- CHECKBOX: mt,
298
- COLOR: o,
299
- COUNTER: gt,
300
- LABEL: bt,
301
- RADIO_BUTTONS: Nt,
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,
349
+ RADIO_BUTTONS: he,
302
350
  SELECTPICKER: X,
303
- FONT_FAMILY_SELECT: At,
304
- SWITCHER: o,
305
- TEXT: Bt,
306
- SELECT_ITEM: Dt,
307
- RADIO_ITEM: St,
308
- NESTED_CONTROL: Mt,
309
- ORDERABLE: xt,
310
- ORDERABLE_ITEM: vt
311
- }, yt = /* @__PURE__ */ ((t) => (t.BUTTON = "UE-BUTTON", t.CHECKBOX = "UE-CHECKBOX", t.CHECK_BUTTONS = "UE-CHECK-BUTTONS", t.COLOR = "UE-COLOR", t.COUNTER = "UE-COUNTER", t.DATEPICKER = "UE-DATEPICKER", t.LABEL = "UE-LABEL", t.MESSAGE = "UE-MESSAGE", t.RADIO_BUTTONS = "UE-RADIO-BUTTONS", t.SELECTPICKER = "UE-SELECT", t.SWITCHER = "UE-SWITCHER", t.TEXT = "UE-TEXT", t.TEXTAREA = "UE-TEXTAREA", t.CHECK_ITEM = "UE-CHECK-ITEM", t.RADIO_ITEM = "UE-RADIO-ITEM", t.SELECT_ITEM = "UE-SELECT-ITEM", t.ICON = "UE-ICON", t.MERGETAGS = "UE-MERGETAGS", t.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", t.NESTED_CONTROL = "UE-NESTED-CONTROL", t.EXPANDABLE = "UE-EXPANDABLE", t.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", t.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", t.ORDERABLE = "UE-ORDERABLE", t.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", t.ORDERABLE_ICON = "UE-ORDERABLE-ICON", t))(yt || {}), x = class {
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
  */
315
- getTargetNodes(t) {
316
- return [t];
369
+ getTargetNodes(e) {
370
+ return [e];
317
371
  }
318
372
  /**
319
373
  * @description returns map of labels used by parent control UI
@@ -328,7 +382,7 @@ var st = {
328
382
  /**
329
383
  * @description returns custom modifications to be included in the parent control patch
330
384
  */
331
- getAdditionalModifications(t) {
385
+ getAdditionalModifications(e) {
332
386
  }
333
387
  /**
334
388
  * Determines whether the specified HTML node is visible.
@@ -336,77 +390,77 @@ var st = {
336
390
  * @param _node - The HTML node to evaluate for visibility, provided as an immutable object.
337
391
  * @return A boolean value indicating whether the node is visible. Returns `true` if the node is visible, otherwise `false`.
338
392
  */
339
- isVisible(t) {
393
+ isVisible(e) {
340
394
  return !0;
341
395
  }
342
- }, i = class extends x {
343
- getTargetNodes(t) {
344
- const e = t.querySelectorAll(O.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
345
- return e.length ? e : r;
396
+ }, E = class extends B {
397
+ getTargetNodes(e) {
398
+ const t = e.querySelectorAll(I.BUTTON), a = e.asElement().hasClass(y) ? [e] : [];
399
+ return t.length ? t : a;
346
400
  }
347
- }, Gt = 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
- }, Qt = class extends i {
407
+ }, Ye = class extends E {
354
408
  getParentControlId() {
355
409
  return n.BLOCK_BUTTON.ALIGNMENT;
356
410
  }
357
- }, ft = class extends i {
411
+ }, $e = class extends E {
358
412
  getParentControlId() {
359
413
  return n.GENERAL.BACKGROUND_COLOR;
360
414
  }
361
- }, Yt = 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
- }, $t = class extends i {
421
+ }, ze = class extends E {
368
422
  getParentControlId() {
369
423
  return n.BLOCK_BUTTON.COLOR;
370
424
  }
371
- }, Wt = class extends i {
425
+ }, Ze = class extends E {
372
426
  getParentControlId() {
373
427
  return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
374
428
  }
375
- }, zt = class extends i {
429
+ }, je = class extends E {
376
430
  getParentControlId() {
377
431
  return n.BLOCK_BUTTON.FONT_FAMILY;
378
432
  }
379
- }, Zt = class extends i {
433
+ }, qe = class extends E {
380
434
  getParentControlId() {
381
435
  return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
382
436
  }
383
- }, jt = class extends i {
437
+ }, Je = class extends E {
384
438
  getParentControlId() {
385
439
  return n.BLOCK_BUTTON.INTERNAL_INDENTS;
386
440
  }
387
- }, qt = class extends i {
441
+ }, et = class extends E {
388
442
  getParentControlId() {
389
443
  return n.BLOCK_BUTTON.TEXT;
390
444
  }
391
- }, Jt = class extends i {
445
+ }, tt = class extends E {
392
446
  getParentControlId() {
393
447
  return n.BLOCK_BUTTON.FONT_SIZE;
394
448
  }
395
- }, te = 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 R extends a {
455
+ }, k = class O extends s {
402
456
  constructor() {
403
- super(R.REQUIRED_METHODS, R);
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.
407
461
  * Called on every node modification.
408
462
  */
409
- isVisible(e) {
463
+ isVisible(t) {
410
464
  return !0;
411
465
  }
412
466
  /**
@@ -443,42 +497,112 @@ var st = {
443
497
  * Implement this to react to changes in the block/structure and update the control's UI elements accordingly.
444
498
  * @param node - The updated immutable HTML node representing the control's context.
445
499
  */
446
- onTemplateNodeUpdated(e) {
500
+ onTemplateNodeUpdated(t) {
447
501
  }
448
502
  /**
449
503
  * Lifecycle hook called when any part of the document template has changed.
450
504
  * This can be frequent; use cautiously for performance-sensitive operations.
451
505
  * @param _node - The immutable HTML node representing current node instance
452
506
  */
453
- onDocumentChanged(e) {
507
+ onDocumentChanged(t) {
454
508
  }
455
509
  };
456
510
  k.REQUIRED_METHODS = ["getId", "getTemplate"];
457
- var ee = k, V = class extends x {
458
- getTargetNodes(t) {
459
- const e = t.querySelectorAll(O.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
460
- return e.length ? e : r;
511
+ var at = k, Ue = class h extends s {
512
+ constructor() {
513
+ super(h.REQUIRED_METHODS, h);
461
514
  }
462
- }, re = class extends V {
515
+ /**
516
+ * Gets the unique identifier for this tab.
517
+ * This ID is used for registration.
518
+ * @returns A unique string ID.
519
+ */
520
+ getId() {
521
+ throw new Error("Method getId() must be implemented by the subclass");
522
+ }
523
+ /**
524
+ * Gets the icon key representing this tab in the header.
525
+ * @returns A string representing the icon key from the IconsRegistry
526
+ */
527
+ getIcon() {
528
+ throw new Error("Method getIcon() must be implemented by the subclass");
529
+ }
530
+ /**
531
+ * Retrieves the index of the tab associated with the panel.
532
+ * The index represents the position/order of the tab in the UI.
533
+ *
534
+ * @returns {number} The index of the tab.
535
+ */
536
+ getTabIndex() {
537
+ throw new Error("Method getTabIndex() must be implemented by the subclass");
538
+ }
539
+ /**
540
+ * Gets the display name of the tab shown to the user in the header hint.
541
+ * Use `this.api.translate()` for localization.
542
+ * @returns The localized tab name string.
543
+ */
544
+ getName() {
545
+ throw new Error("Method getName() must be implemented by the subclass");
546
+ }
547
+ /**
548
+ * Determines if the tab should be available for use in the editor.
549
+ * Override to provide custom logic based on the editor state or configuration.
550
+ * @returns True if the tab is enabled, false otherwise. Defaults to true.
551
+ */
552
+ isEnabled() {
553
+ return !0;
554
+ }
555
+ /**
556
+ * Gets the HTML template string that defines the initial template of general tab.
557
+ * @returns An HTML string.
558
+ */
559
+ getTemplate() {
560
+ throw new Error("Method getTemplate() must be implemented by the subclass");
561
+ }
562
+ /**
563
+ * Lifecycle hook called when any part of the document template has changed.
564
+ * This can be frequent; use cautiously for performance-sensitive operations.
565
+ */
566
+ onDocumentChanged() {
567
+ }
568
+ /**
569
+ * Optional hook called when the general panel tab is initially rendered.
570
+ * Use this for setup tasks like attaching event listeners to the panel's template elements.
571
+ */
572
+ onRender() {
573
+ }
574
+ /**
575
+ * Optional cleanup hook called when the general panel tab is being destroyed.
576
+ */
577
+ onDestroy() {
578
+ }
579
+ };
580
+ Ue.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
581
+ var p = class extends B {
582
+ getTargetNodes(e) {
583
+ const t = e.querySelectorAll(I.IMAGE), a = e.asElement().hasClass(P) ? [e] : [];
584
+ return t.length ? t : a;
585
+ }
586
+ }, nt = class extends p {
463
587
  getParentControlId() {
464
588
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
465
589
  }
466
- }, ne = class extends V {
590
+ }, st = class extends p {
467
591
  getParentControlId() {
468
592
  return n.BLOCK_IMAGE.SIZE;
469
593
  }
470
- }, G = class L extends a {
594
+ }, G = class m extends s {
471
595
  constructor() {
472
- super(L.REQUIRED_METHODS, L);
596
+ super(m.REQUIRED_METHODS, m);
473
597
  }
474
- registerBlockControls(e) {
598
+ registerBlockControls(t) {
475
599
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
476
600
  }
477
601
  };
478
602
  G.REQUIRED_METHODS = ["registerBlockControls"];
479
- var se = G, ae = class {
480
- constructor(t, e) {
481
- this.tabId = t, this.controlsIds = e;
603
+ var it = G, Et = class {
604
+ constructor(e, t) {
605
+ this.tabId = e, this.controlsIds = t;
482
606
  }
483
607
  getTabId() {
484
608
  return this.tabId;
@@ -489,52 +613,52 @@ var se = G, ae = class {
489
613
  getControlsIds() {
490
614
  return this.controlsIds;
491
615
  }
492
- withLabel(t) {
493
- return this.label = t, this;
616
+ withLabel(e) {
617
+ return this.label = e, this;
494
618
  }
495
- addControl(t, e) {
496
- return e < 0 ? this.controlsIds.unshift(t) : e > this.controlsIds.length ? this.controlsIds.push(t) : this.controlsIds.splice(e, 0, t), this;
619
+ addControl(e, t) {
620
+ return t < 0 ? this.controlsIds.unshift(e) : t > this.controlsIds.length ? this.controlsIds.push(e) : this.controlsIds.splice(t, 0, e), this;
497
621
  }
498
- deleteControl(t) {
499
- const e = this.controlsIds.indexOf(t);
500
- e !== -1 && this.controlsIds.splice(e, 1);
622
+ deleteControl(e) {
623
+ const t = this.controlsIds.indexOf(e);
624
+ t !== -1 && this.controlsIds.splice(t, 1);
501
625
  }
502
- }, d = class extends x {
503
- getTargetNodes(t) {
504
- const e = t.querySelectorAll(O.TEXT), r = t.asElement().hasClass(p) ? [t] : [];
505
- return e.length ? e : r;
626
+ }, l = class extends B {
627
+ getTargetNodes(e) {
628
+ const t = e.querySelectorAll(I.TEXT), a = e.asElement().hasClass(U) ? [e] : [];
629
+ return t.length ? t : a;
506
630
  }
507
- }, ie = class extends d {
631
+ }, lt = class extends l {
508
632
  getParentControlId() {
509
633
  return n.GENERAL.TEXT_ALIGN;
510
634
  }
511
- }, oe = class extends d {
635
+ }, ot = class extends l {
512
636
  getParentControlId() {
513
637
  return n.GENERAL.TEXT_COLOR;
514
638
  }
515
- }, Ee = class extends d {
639
+ }, dt = class extends l {
516
640
  getParentControlId() {
517
641
  return n.BLOCK_TEXT.FONT_FAMILY;
518
642
  }
519
- }, le = class extends d {
643
+ }, ut = class extends l {
520
644
  getParentControlId() {
521
645
  return n.GENERAL.TEXT_LINE_SPACING;
522
646
  }
523
- }, de = class extends d {
647
+ }, It = class extends l {
524
648
  getParentControlId() {
525
649
  return n.BLOCK_TEXT.INTERNAL_INDENTS;
526
650
  }
527
- }, ue = class extends d {
651
+ }, Tt = class extends l {
528
652
  getParentControlId() {
529
653
  return n.GENERAL.TEXT_SIZE;
530
654
  }
531
- }, Ie = class extends d {
655
+ }, ct = class extends l {
532
656
  getParentControlId() {
533
657
  return n.GENERAL.TEXT_STYLE;
534
658
  }
535
- }, Ut = class {
536
- constructor(t, e, r = [], s, E = [], T, I = [], l = [], v, $, W, z, Z, j, q, J, tt) {
537
- this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = W, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = I, this.blocks = l, this.externalSmartElementsLibrary = v, this.externalImageLibrary = $, this.externalImageLibraryTab = tt, this.externalAiAssistant = z, this.externalDisplayConditionsLibrary = Z, this.externalVideoLibrary = j, this.blocksPanel = q, this.iconsRegistry = J, this.id = Math.random().toString(36).substring(2);
659
+ }, Pe = class {
660
+ constructor(e) {
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);
538
662
  }
539
663
  getI18n() {
540
664
  return this.i18n;
@@ -590,104 +714,111 @@ var se = G, ae = class {
590
714
  getIconsRegistry() {
591
715
  return this.iconsRegistry;
592
716
  }
593
- }, Oe = class {
717
+ getGeneralPanelTabs() {
718
+ return this.generalPanelTabs;
719
+ }
720
+ }, bt = class {
594
721
  constructor() {
595
- this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
722
+ this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [];
596
723
  }
597
- withLocalization(t) {
598
- return this.i18n = t, this;
724
+ withLocalization(e) {
725
+ return this.i18n = e, this;
599
726
  }
600
727
  /**
601
728
  * @deprecated Use addStyles() instead. This method will be removed in a future version.
602
729
  */
603
- withStyles(t) {
604
- return this.styles = [t], this;
730
+ withStyles(e) {
731
+ return this.styles = [e], this;
605
732
  }
606
- addStyles(t) {
607
- return this.styles.push(t), this;
733
+ addStyles(e) {
734
+ return this.styles.push(e), this;
608
735
  }
609
736
  /**
610
737
  * @description defines custom developer styles to use inside the editor document preview
611
738
  */
612
- withPreviewStyles(t) {
613
- return this.previewStyles = t, this;
739
+ withPreviewStyles(e) {
740
+ return this.previewStyles = e, this;
741
+ }
742
+ addContextAction(e) {
743
+ return this.contextActions.push(e), this;
614
744
  }
615
- addContextAction(t) {
616
- return this.contextActions.push(t), this;
745
+ addUiElement(e) {
746
+ return this.uiElements.push(e), this;
617
747
  }
618
- addUiElement(t) {
619
- return this.uiElements.push(t), this;
748
+ withUiElementTagRegistry(e) {
749
+ return this.uiElementTagRegistry = e, this;
620
750
  }
621
- withUiElementTagRegistry(t) {
622
- return this.uiElementTagRegistry = t, this;
751
+ addControl(e) {
752
+ return this.controls.push(e), this;
623
753
  }
624
- addControl(t) {
625
- return this.controls.push(t), this;
754
+ withSettingsPanelRegistry(e) {
755
+ return this.settingsPanelRegistry = e, this;
626
756
  }
627
- withSettingsPanelRegistry(t) {
628
- return this.settingsPanelRegistry = t, this;
757
+ withExternalSmartElementsLibrary(e) {
758
+ return this.externalSmartElementsLibrary = e, this;
629
759
  }
630
- withExternalSmartElementsLibrary(t) {
631
- return this.externalSmartElementsLibrary = t, this;
760
+ withExternalImageLibrary(e) {
761
+ return this.externalImageLibrary = e, this;
632
762
  }
633
- withExternalImageLibrary(t) {
634
- return this.externalImageLibrary = t, this;
763
+ withExternalImageLibraryTab(e) {
764
+ return this.externalImageLibraryTab = e, this;
635
765
  }
636
- withExternalImageLibraryTab(t) {
637
- return this.externalImageLibraryTab = t, this;
766
+ withExternalAiAssistant(e) {
767
+ return this.externalAiAssistant = e, this;
638
768
  }
639
- withExternalAiAssistant(t) {
640
- return this.externalAiAssistant = t, this;
769
+ withExternalDisplayCondition(e) {
770
+ return this.externalDisplayConditionsLibrary = e, this;
641
771
  }
642
- withExternalDisplayCondition(t) {
643
- return this.externalDisplayConditionsLibrary = t, this;
772
+ withExternalVideosLibrary(e) {
773
+ return this.externalVideoLibrary = e, this;
644
774
  }
645
- withExternalVideosLibrary(t) {
646
- return this.externalVideoLibrary = t, this;
775
+ withBlocksPanel(e) {
776
+ return this.blocksPanel = e, this;
647
777
  }
648
- withBlocksPanel(t) {
649
- return this.blocksPanel = t, this;
778
+ addBlock(e) {
779
+ return this.blocks.push(e), this;
650
780
  }
651
- addBlock(t) {
652
- return this.blocks.push(t), this;
781
+ withIconsRegistry(e) {
782
+ return this.iconsRegistry = e, this;
653
783
  }
654
- withIconsRegistry(t) {
655
- return this.iconsRegistry = t, this;
784
+ addGeneralPanelTab(e) {
785
+ return this.generalPanelTabs.push(e), this;
656
786
  }
657
787
  build() {
658
- return new Ut(
659
- this.i18n,
660
- (this.styles || []).map((t) => t.trim()).join(`
788
+ return new Pe({
789
+ i18n: this.i18n,
790
+ styles: this.styles.map((e) => e.trim()).join(`
661
791
  `),
662
- this.uiElements,
663
- this.uiElementTagRegistry,
664
- this.controls,
665
- this.settingsPanelRegistry,
666
- this.contextActions,
667
- this.blocks,
668
- this.externalSmartElementsLibrary,
669
- this.externalImageLibrary,
670
- this.previewStyles,
671
- this.externalAiAssistant,
672
- this.externalDisplayConditionsLibrary,
673
- this.externalVideoLibrary,
674
- this.blocksPanel,
675
- this.iconsRegistry,
676
- this.externalImageLibraryTab
677
- );
678
- }
679
- }, pt = class C extends a {
792
+ uiElements: this.uiElements,
793
+ uiElementTagRegistry: this.uiElementTagRegistry,
794
+ controls: this.controls,
795
+ settingsPanelRegistry: this.settingsPanelRegistry,
796
+ contextActions: this.contextActions,
797
+ blocks: this.blocks,
798
+ externalSmartElementsLibrary: this.externalSmartElementsLibrary,
799
+ externalImageLibrary: this.externalImageLibrary,
800
+ previewStyles: this.previewStyles,
801
+ externalAiAssistant: this.externalAiAssistant,
802
+ externalDisplayConditionsLibrary: this.externalDisplayConditionsLibrary,
803
+ externalVideoLibrary: this.externalVideoLibrary,
804
+ blocksPanel: this.blocksPanel,
805
+ iconsRegistry: this.iconsRegistry,
806
+ externalImageLibraryTab: this.externalImageLibraryTab,
807
+ generalPanelTabs: this.generalPanelTabs
808
+ });
809
+ }
810
+ }, we = class g extends s {
680
811
  constructor() {
681
- super(C.REQUIRED_METHODS, C);
812
+ super(g.REQUIRED_METHODS, g);
682
813
  }
683
- openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: E }) {
814
+ openAiAssistant(t) {
684
815
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
685
816
  }
686
817
  };
687
- pt.REQUIRED_METHODS = ["openAiAssistant"];
688
- var Kt = class m extends a {
818
+ we.REQUIRED_METHODS = ["openAiAssistant"];
819
+ var Ke = class R extends s {
689
820
  constructor() {
690
- super(m.REQUIRED_METHODS, m);
821
+ super(R.REQUIRED_METHODS, R);
691
822
  }
692
823
  /**
693
824
  * Retrieves the name of the category.
@@ -700,11 +831,11 @@ var Kt = class m extends a {
700
831
  /**
701
832
  * Opens a popup dialog for creating or updating a display condition.
702
833
  *
703
- * @param {DisplayCondition} currentCondition - The currently selected display condition to edit.
704
- * @param {ExternalDisplayConditionSelectedCB} successCallback - Callback executed with the updated or newly created condition upon success.
705
- * @param {() => void} cancelCallback - Callback executed when the dialog is closed without making changes.
834
+ * @param {DisplayCondition} _currentCondition - The currently selected display condition to edit.
835
+ * @param {ExternalDisplayConditionSelectedCB} _successCallback - Callback executed with the updated or newly created condition upon success.
836
+ * @param {() => void} _cancelCallback - Callback executed when the dialog is closed without making changes.
706
837
  */
707
- openExternalDisplayConditionsDialog(e, r, s) {
838
+ openExternalDisplayConditionsDialog(t, a, i) {
708
839
  throw new Error("Method openExternalDisplayConditionsDialog() must be implemented by the subclass");
709
840
  }
710
841
  /**
@@ -725,19 +856,19 @@ var Kt = class m extends a {
725
856
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
726
857
  }
727
858
  };
728
- Kt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
729
- var Ft = class g extends a {
859
+ Ke.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
860
+ var Fe = class _ extends s {
730
861
  constructor() {
731
- super(g.REQUIRED_METHODS, g);
862
+ super(_.REQUIRED_METHODS, _);
732
863
  }
733
- openImageLibrary(e, r, s) {
864
+ openImageLibrary(t, a, i) {
734
865
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
735
866
  }
736
867
  };
737
- Ft.REQUIRED_METHODS = ["openImageLibrary"];
738
- var wt = class b extends a {
868
+ Fe.REQUIRED_METHODS = ["openImageLibrary"];
869
+ var He = class L extends s {
739
870
  constructor() {
740
- super(b.REQUIRED_METHODS, b);
871
+ super(L.REQUIRED_METHODS, L);
741
872
  }
742
873
  /**
743
874
  * @description Returns the translated name/label for the tab
@@ -750,45 +881,46 @@ var wt = class b extends a {
750
881
  * @description Opens the external image library tab and provides a container for rendering
751
882
  * @param _container - DOM element container where the external library UI should be rendered
752
883
  * @param _onImageSelectCallback - Callback to invoke when an image is selected
884
+ * @param _selectedNode - (Optional) Selected node for which the gallery is being opened
753
885
  */
754
- openImageLibraryTab(e, r) {
886
+ openImageLibraryTab(t, a, i) {
755
887
  throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
756
888
  }
757
889
  };
758
- wt.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
759
- var Pt = class N extends a {
890
+ He.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
891
+ var Xe = class C extends s {
760
892
  constructor() {
761
- super(N.REQUIRED_METHODS, N);
893
+ super(C.REQUIRED_METHODS, C);
762
894
  }
763
- openSmartElementsLibrary(e, r) {
895
+ openSmartElementsLibrary(t, a) {
764
896
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
765
897
  }
766
898
  };
767
- Pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
768
- var Ht = class A extends a {
899
+ Xe.REQUIRED_METHODS = ["openSmartElementsLibrary"];
900
+ var ke = class A extends s {
769
901
  constructor() {
770
902
  super(A.REQUIRED_METHODS, A);
771
903
  }
772
- openExternalVideosLibraryDialog(e, r, s) {
904
+ openExternalVideosLibraryDialog(t, a, i) {
773
905
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
774
906
  }
775
907
  };
776
- Ht.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
777
- var Q = class D extends a {
908
+ ke.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
909
+ var V = class N extends s {
778
910
  constructor() {
779
- super(D.REQUIRED_METHODS, D);
911
+ super(N.REQUIRED_METHODS, N);
780
912
  }
781
- registerIconsSvg(e) {
913
+ registerIconsSvg(t) {
782
914
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
783
915
  }
784
916
  };
785
- Q.REQUIRED_METHODS = ["registerIconsSvg"];
786
- var Te = Q, ce = class {
787
- constructor(t) {
788
- this.key = t;
917
+ V.REQUIRED_METHODS = ["registerIconsSvg"];
918
+ var Ot = V, ht = class {
919
+ constructor(e) {
920
+ this.key = e;
789
921
  }
790
- withParams(t) {
791
- return this.params = t, this;
922
+ withParams(e) {
923
+ return this.params = e, this;
792
924
  }
793
925
  getValue() {
794
926
  return {
@@ -796,15 +928,15 @@ var Te = Q, ce = class {
796
928
  params: this.params
797
929
  };
798
930
  }
799
- }, f = class S extends a {
931
+ }, Q = class D extends s {
800
932
  constructor() {
801
- super(S.REQUIRED_METHODS, S);
933
+ super(D.REQUIRED_METHODS, D);
802
934
  }
803
935
  /**
804
936
  * Called when the UI element should render its content into the provided container.
805
937
  * @param container - The HTMLElement where the UI element should be rendered.
806
938
  */
807
- onRender(e) {
939
+ onRender(t) {
808
940
  throw new Error("Method onRender() must be implemented by the subclass");
809
941
  }
810
942
  /**
@@ -825,7 +957,7 @@ var Te = Q, ce = class {
825
957
  * Implement this if the element manages a state or value and needs to be updated externally.
826
958
  * @param value - The new value to set.
827
959
  */
828
- setValue(e) {
960
+ setValue(t) {
829
961
  }
830
962
  /**
831
963
  * @description Optional hook called when one of the element's supported attributes ({@link UEAttr}) gets updated externally.
@@ -833,7 +965,7 @@ var Te = Q, ce = class {
833
965
  * @param name - The name of the attribute that was updated.
834
966
  * @param value - The new value of the attribute.
835
967
  */
836
- onAttributeUpdated(e, r) {
968
+ onAttributeUpdated(t, a) {
837
969
  }
838
970
  /**
839
971
  * Gets the unique identifier for this UI element type.
@@ -851,61 +983,61 @@ var Te = Q, ce = class {
851
983
  throw new Error("Method getTemplate() must be implemented by the subclass");
852
984
  }
853
985
  };
854
- f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
855
- var _e = f, Y = class B extends a {
986
+ Q.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
987
+ var mt = Q, f = class S extends s {
856
988
  constructor() {
857
- super(B.REQUIRED_METHODS, B);
989
+ super(S.REQUIRED_METHODS, S);
858
990
  }
859
- registerUiElements(e) {
991
+ registerUiElements(t) {
860
992
  throw new Error("Method registerUiElements() must be implemented by the subclass");
861
993
  }
862
994
  };
863
- Y.REQUIRED_METHODS = ["registerUiElements"];
864
- var he = Y;
995
+ f.REQUIRED_METHODS = ["registerUiElements"];
996
+ var gt = f;
865
997
  export {
866
- Xt as Block,
867
- kt as BlockAttr,
868
- et as BlockCompositionType,
869
- O as BlockSelector,
870
- ht as BlockType,
871
- x as BuiltInControl,
998
+ Ge as Block,
999
+ Ve as BlockAttr,
1000
+ $ as BlockCompositionType,
1001
+ I as BlockSelector,
1002
+ le as BlockType,
1003
+ B as BuiltInControl,
872
1004
  n as BuiltInControlTypes,
873
- Qt as ButtonAlignBuiltInControl,
874
- ft as ButtonBackgroundColorBuiltInControl,
875
- Yt as ButtonBorderBuiltInControl,
876
- Gt as ButtonBorderRadiusBuiltInControl,
877
- $t as ButtonColorBuiltInControl,
878
- w as ButtonControls,
879
- Wt as ButtonFitToContainerBuiltInControl,
880
- zt as ButtonFontFamilyBuiltInControl,
881
- Zt as ButtonMarginsBuiltInControl,
882
- jt as ButtonPaddingsBuiltInControl,
883
- qt as ButtonTextBuiltInControl,
884
- Jt as ButtonTextSizeBuiltInControl,
885
- te as ButtonTextStyleAndFontColorBuiltInControl,
886
- Rt as ContainerControls,
887
- ee as Control,
888
- Ut as Extension,
889
- Oe as ExtensionBuilder,
890
- F as GeneralControls,
891
- Te as IconsRegistry,
1005
+ Ye as ButtonAlignBuiltInControl,
1006
+ $e as ButtonBackgroundColorBuiltInControl,
1007
+ We as ButtonBorderBuiltInControl,
1008
+ fe as ButtonBorderRadiusBuiltInControl,
1009
+ ze as ButtonColorBuiltInControl,
1010
+ K as ButtonControls,
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,
892
1024
  H as ImageControls,
893
- re as ImageMarginsBuiltInControl,
894
- ne as ImageSizeBuiltInControl,
895
- ce as ModificationDescription,
896
- se as SettingsPanelRegistry,
897
- ae as SettingsPanelTab,
898
- Lt as SettingsTab,
899
- ie as TextAlignBuiltInControl,
900
- oe as TextColorBuiltInControl,
901
- P as TextControls,
902
- Ee as TextFontFamilyBuiltInControl,
903
- le as TextLineSpacingBuiltInControl,
904
- de as TextPaddingsBuiltInControl,
905
- ue as TextSizeBuiltInControl,
906
- Ie as TextStyleBuiltInControl,
907
- Vt as UEAttr,
908
- _e as UIElement,
909
- he as UIElementTagRegistry,
910
- yt as UIElementType
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,
1033
+ F as TextControls,
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
911
1043
  };