@useinsider/guido 3.2.0-beta.6f6a5ed → 3.2.0-beta.8b0bc0c

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 (260) hide show
  1. package/dist/@types/config/schemas.js +1 -1
  2. package/dist/@types/config/validator.js +27 -34
  3. package/dist/components/Guido.vue.js +1 -1
  4. package/dist/components/Guido.vue2.js +76 -81
  5. package/dist/components/organisms/base/Toaster.vue2.js +10 -11
  6. package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue2.js +12 -12
  7. package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue2.js +6 -6
  8. package/dist/components/organisms/email-preview/mobile-preview/InboxView.vue2.js +9 -15
  9. package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +31 -40
  10. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +19 -20
  11. package/dist/components/organisms/extensions/recommendation/Filters.vue2.js +11 -14
  12. package/dist/components/organisms/header/EditorActions.vue.js +11 -12
  13. package/dist/components/organisms/header/EditorActions.vue2.js +18 -22
  14. package/dist/components/organisms/header/HeaderWrapper.vue2.js +12 -15
  15. package/dist/components/organisms/header/LeftSlot.vue2.js +16 -19
  16. package/dist/components/organisms/header/MiddleSlot.vue2.js +14 -11
  17. package/dist/components/organisms/header/RightSlot.vue2.js +14 -17
  18. package/dist/components/organisms/onboarding/AMPOnboarding.vue.js +11 -12
  19. package/dist/components/organisms/onboarding/AMPOnboarding.vue2.js +20 -22
  20. package/dist/components/organisms/onboarding/GenericOnboarding.vue.js +11 -12
  21. package/dist/components/organisms/onboarding/GenericOnboarding.vue2.js +38 -41
  22. package/dist/components/organisms/onboarding/ItemsOnboarding.vue.js +11 -12
  23. package/dist/components/organisms/onboarding/ItemsOnboarding.vue2.js +38 -43
  24. package/dist/components/organisms/onboarding/NewVersionPopup.vue2.js +18 -21
  25. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +27 -31
  26. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue.js +11 -12
  27. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue2.js +27 -29
  28. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue.js +11 -12
  29. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue2.js +19 -21
  30. package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue2.js +8 -9
  31. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.js +9 -10
  32. package/dist/composables/useActionsApi.js +37 -38
  33. package/dist/composables/useBlocksConfig.js +26 -26
  34. package/dist/composables/useFullStoryBridge.js +8 -9
  35. package/dist/composables/useHtmlCompiler.js +34 -26
  36. package/dist/composables/useHtmlValidator.js +101 -109
  37. package/dist/composables/useHttp.js +30 -30
  38. package/dist/composables/usePartner.js +1 -1
  39. package/dist/composables/useRecommendation.js +14 -15
  40. package/dist/composables/useSave.js +21 -22
  41. package/dist/composables/useStripo.js +53 -50
  42. package/dist/composables/useSyncModuleExtractor.js +31 -29
  43. package/dist/composables/useTimerClone.js +24 -25
  44. package/dist/composables/useTranslations.js +23 -16
  45. package/dist/composables/useValidation.js +7 -8
  46. package/dist/composables/validators/useLiquidValidator.js +13 -13
  47. package/dist/config/compiler/unsubscribeCompilerRules.js +15 -16
  48. package/dist/config/compiler/utils/recommendationCompilerUtils.js +10 -11
  49. package/dist/config/migrator/checkboxMigrator.js +20 -21
  50. package/dist/config/migrator/couponBlockMigrator.js +18 -19
  51. package/dist/config/migrator/itemsBlockMigrator.js +87 -89
  52. package/dist/config/migrator/radioButtonMigrator.js +12 -13
  53. package/dist/config/migrator/recommendationMigrator.js +106 -109
  54. package/dist/config/migrator/unsubscribeMigrator.js +10 -11
  55. package/dist/extensions/Blocks/Items/block.js +9 -9
  56. package/dist/extensions/Blocks/Items/controls/button/link.js +14 -14
  57. package/dist/extensions/Blocks/Items/controls/cardComposition.js +89 -97
  58. package/dist/extensions/Blocks/Items/controls/image/link.js +14 -14
  59. package/dist/extensions/Blocks/Items/controls/name/trimming.js +23 -24
  60. package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +13 -14
  61. package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +44 -47
  62. package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +38 -38
  63. package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +11 -11
  64. package/dist/extensions/Blocks/Items/controls/price/priceOrientation.js +38 -40
  65. package/dist/extensions/Blocks/Items/controls/price/singlePrice.js +35 -35
  66. package/dist/extensions/Blocks/Items/controls/settingsControl.js +155 -162
  67. package/dist/extensions/Blocks/Items/enums/productEnums.js +9 -14
  68. package/dist/extensions/Blocks/Items/template.js +210 -210
  69. package/dist/extensions/Blocks/Recommendation/controls/button/index.js +36 -36
  70. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +128 -133
  71. package/dist/extensions/Blocks/Recommendation/controls/customAttribute/index.js +9 -9
  72. package/dist/extensions/Blocks/Recommendation/controls/customAttribute/textTrim.js +10 -10
  73. package/dist/extensions/Blocks/Recommendation/controls/image/index.js +9 -9
  74. package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +17 -18
  75. package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +4 -6
  76. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +82 -90
  77. package/dist/extensions/Blocks/Recommendation/controls/main/layoutOrientation.js +18 -18
  78. package/dist/extensions/Blocks/Recommendation/controls/main/productCount.js +4 -4
  79. package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +35 -36
  80. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +134 -135
  81. package/dist/extensions/Blocks/Recommendation/controls/name/index.js +24 -24
  82. package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +10 -10
  83. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/index.js +24 -24
  84. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.js +24 -24
  85. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/textAfter.js +4 -4
  86. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/textBefore.js +4 -4
  87. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/index.js +24 -24
  88. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/textAfter.js +4 -4
  89. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/textBefore.js +4 -4
  90. package/dist/extensions/Blocks/Recommendation/controls/price/index.js +24 -24
  91. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +32 -32
  92. package/dist/extensions/Blocks/Recommendation/controls/syncInfoMessage.js +18 -20
  93. package/dist/extensions/Blocks/Recommendation/extension.js +31 -32
  94. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +8 -16
  95. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +55 -56
  96. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +22 -23
  97. package/dist/extensions/Blocks/Recommendation/templates/grid/migration.js +10 -10
  98. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +10 -10
  99. package/dist/extensions/Blocks/Recommendation/templates/index.js +6 -6
  100. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +24 -25
  101. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +1 -1
  102. package/dist/extensions/Blocks/Recommendation/templates/utils.js +45 -47
  103. package/dist/extensions/Blocks/Recommendation/validation/filterSchema.js +13 -16
  104. package/dist/extensions/Blocks/Unsubscribe/control.js +11 -13
  105. package/dist/extensions/Blocks/Unsubscribe/elements/preview.js +16 -18
  106. package/dist/extensions/Blocks/common-control.js +25 -26
  107. package/dist/extensions/DynamicContent/dynamic-content.js +53 -58
  108. package/dist/guido.css +1 -1
  109. package/dist/library.js +11 -12
  110. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +262 -286
  111. package/dist/node_modules/valibot/dist/index.js +122 -126
  112. package/dist/package.json.js +1 -1
  113. package/dist/services/recommendationApi.js +14 -17
  114. package/dist/services/templateLibraryApi.js +37 -38
  115. package/dist/src/components/wrappers/WpModal.vue.d.ts +1 -1
  116. package/dist/src/composables/useHtmlCompiler.d.ts +1 -2
  117. package/dist/src/composables/useTranslations.d.ts +1 -1
  118. package/dist/src/stores/dynamic-content.d.ts +3 -3
  119. package/dist/static/templates/empty/style.css.js +1 -0
  120. package/dist/stores/config.js +25 -81
  121. package/dist/stores/dynamic-content.js +6 -11
  122. package/dist/stores/onboarding.js +5 -5
  123. package/dist/stores/preview.js +6 -9
  124. package/dist/stores/unsubscribe.js +1 -4
  125. package/dist/utils/dateUtil.js +7 -10
  126. package/dist/utils/genericUtil.js +10 -13
  127. package/dist/utils/pairProductVariables.js +13 -14
  128. package/package.json +8 -5
  129. package/dist/node_modules/lodash-es/_DataView.js +0 -6
  130. package/dist/node_modules/lodash-es/_Hash.js +0 -20
  131. package/dist/node_modules/lodash-es/_ListCache.js +0 -20
  132. package/dist/node_modules/lodash-es/_Map.js +0 -6
  133. package/dist/node_modules/lodash-es/_MapCache.js +0 -20
  134. package/dist/node_modules/lodash-es/_Promise.js +0 -6
  135. package/dist/node_modules/lodash-es/_Set.js +0 -6
  136. package/dist/node_modules/lodash-es/_SetCache.js +0 -13
  137. package/dist/node_modules/lodash-es/_Stack.js +0 -18
  138. package/dist/node_modules/lodash-es/_Symbol.js +0 -5
  139. package/dist/node_modules/lodash-es/_Uint8Array.js +0 -5
  140. package/dist/node_modules/lodash-es/_WeakMap.js +0 -6
  141. package/dist/node_modules/lodash-es/_arrayFilter.js +0 -10
  142. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +0 -20
  143. package/dist/node_modules/lodash-es/_arrayMap.js +0 -8
  144. package/dist/node_modules/lodash-es/_arrayPush.js +0 -8
  145. package/dist/node_modules/lodash-es/_arraySome.js +0 -9
  146. package/dist/node_modules/lodash-es/_assocIndexOf.js +0 -10
  147. package/dist/node_modules/lodash-es/_baseEach.js +0 -6
  148. package/dist/node_modules/lodash-es/_baseFlatten.js +0 -13
  149. package/dist/node_modules/lodash-es/_baseFor.js +0 -5
  150. package/dist/node_modules/lodash-es/_baseForOwn.js +0 -8
  151. package/dist/node_modules/lodash-es/_baseGet.js +0 -11
  152. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  153. package/dist/node_modules/lodash-es/_baseGetTag.js +0 -10
  154. package/dist/node_modules/lodash-es/_baseHasIn.js +0 -6
  155. package/dist/node_modules/lodash-es/_baseIsArguments.js +0 -9
  156. package/dist/node_modules/lodash-es/_baseIsEqual.js +0 -8
  157. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +0 -32
  158. package/dist/node_modules/lodash-es/_baseIsMatch.js +0 -29
  159. package/dist/node_modules/lodash-es/_baseIsNative.js +0 -16
  160. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +0 -12
  161. package/dist/node_modules/lodash-es/_baseIteratee.js +0 -11
  162. package/dist/node_modules/lodash-es/_baseKeys.js +0 -14
  163. package/dist/node_modules/lodash-es/_baseMap.js +0 -11
  164. package/dist/node_modules/lodash-es/_baseMatches.js +0 -12
  165. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  166. package/dist/node_modules/lodash-es/_baseProperty.js +0 -8
  167. package/dist/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  168. package/dist/node_modules/lodash-es/_baseRange.js +0 -9
  169. package/dist/node_modules/lodash-es/_baseTimes.js +0 -8
  170. package/dist/node_modules/lodash-es/_baseToString.js +0 -18
  171. package/dist/node_modules/lodash-es/_baseTrim.js +0 -8
  172. package/dist/node_modules/lodash-es/_baseUnary.js +0 -8
  173. package/dist/node_modules/lodash-es/_cacheHas.js +0 -6
  174. package/dist/node_modules/lodash-es/_castPath.js +0 -10
  175. package/dist/node_modules/lodash-es/_coreJsData.js +0 -5
  176. package/dist/node_modules/lodash-es/_createBaseEach.js +0 -15
  177. package/dist/node_modules/lodash-es/_createBaseFor.js +0 -13
  178. package/dist/node_modules/lodash-es/_createRange.js +0 -11
  179. package/dist/node_modules/lodash-es/_equalArrays.js +0 -40
  180. package/dist/node_modules/lodash-es/_equalByTag.js +0 -45
  181. package/dist/node_modules/lodash-es/_equalObjects.js +0 -36
  182. package/dist/node_modules/lodash-es/_freeGlobal.js +0 -4
  183. package/dist/node_modules/lodash-es/_getAllKeys.js +0 -9
  184. package/dist/node_modules/lodash-es/_getMapData.js +0 -8
  185. package/dist/node_modules/lodash-es/_getMatchData.js +0 -12
  186. package/dist/node_modules/lodash-es/_getNative.js +0 -9
  187. package/dist/node_modules/lodash-es/_getRawTag.js +0 -15
  188. package/dist/node_modules/lodash-es/_getSymbols.js +0 -10
  189. package/dist/node_modules/lodash-es/_getTag.js +0 -28
  190. package/dist/node_modules/lodash-es/_getValue.js +0 -6
  191. package/dist/node_modules/lodash-es/_hasPath.js +0 -19
  192. package/dist/node_modules/lodash-es/_hashClear.js +0 -7
  193. package/dist/node_modules/lodash-es/_hashDelete.js +0 -7
  194. package/dist/node_modules/lodash-es/_hashGet.js +0 -13
  195. package/dist/node_modules/lodash-es/_hashHas.js +0 -9
  196. package/dist/node_modules/lodash-es/_hashSet.js +0 -9
  197. package/dist/node_modules/lodash-es/_isFlattenable.js +0 -10
  198. package/dist/node_modules/lodash-es/_isIndex.js +0 -8
  199. package/dist/node_modules/lodash-es/_isIterateeCall.js +0 -13
  200. package/dist/node_modules/lodash-es/_isKey.js +0 -12
  201. package/dist/node_modules/lodash-es/_isKeyable.js +0 -7
  202. package/dist/node_modules/lodash-es/_isMasked.js +0 -11
  203. package/dist/node_modules/lodash-es/_isPrototype.js +0 -8
  204. package/dist/node_modules/lodash-es/_isStrictComparable.js +0 -7
  205. package/dist/node_modules/lodash-es/_listCacheClear.js +0 -6
  206. package/dist/node_modules/lodash-es/_listCacheDelete.js +0 -12
  207. package/dist/node_modules/lodash-es/_listCacheGet.js +0 -8
  208. package/dist/node_modules/lodash-es/_listCacheHas.js +0 -7
  209. package/dist/node_modules/lodash-es/_listCacheSet.js +0 -8
  210. package/dist/node_modules/lodash-es/_mapCacheClear.js +0 -13
  211. package/dist/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  212. package/dist/node_modules/lodash-es/_mapCacheGet.js +0 -7
  213. package/dist/node_modules/lodash-es/_mapCacheHas.js +0 -7
  214. package/dist/node_modules/lodash-es/_mapCacheSet.js +0 -8
  215. package/dist/node_modules/lodash-es/_mapToArray.js +0 -9
  216. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  217. package/dist/node_modules/lodash-es/_memoizeCapped.js +0 -11
  218. package/dist/node_modules/lodash-es/_nativeCreate.js +0 -5
  219. package/dist/node_modules/lodash-es/_nativeKeys.js +0 -5
  220. package/dist/node_modules/lodash-es/_nodeUtil.js +0 -11
  221. package/dist/node_modules/lodash-es/_objectToString.js +0 -7
  222. package/dist/node_modules/lodash-es/_overArg.js +0 -8
  223. package/dist/node_modules/lodash-es/_root.js +0 -5
  224. package/dist/node_modules/lodash-es/_setCacheAdd.js +0 -7
  225. package/dist/node_modules/lodash-es/_setCacheHas.js +0 -6
  226. package/dist/node_modules/lodash-es/_setToArray.js +0 -9
  227. package/dist/node_modules/lodash-es/_stackClear.js +0 -7
  228. package/dist/node_modules/lodash-es/_stackDelete.js +0 -7
  229. package/dist/node_modules/lodash-es/_stackGet.js +0 -6
  230. package/dist/node_modules/lodash-es/_stackHas.js +0 -6
  231. package/dist/node_modules/lodash-es/_stackSet.js +0 -17
  232. package/dist/node_modules/lodash-es/_stringToPath.js +0 -10
  233. package/dist/node_modules/lodash-es/_toKey.js +0 -10
  234. package/dist/node_modules/lodash-es/_toSource.js +0 -17
  235. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +0 -9
  236. package/dist/node_modules/lodash-es/eq.js +0 -6
  237. package/dist/node_modules/lodash-es/flatMap.js +0 -8
  238. package/dist/node_modules/lodash-es/get.js +0 -8
  239. package/dist/node_modules/lodash-es/hasIn.js +0 -8
  240. package/dist/node_modules/lodash-es/identity.js +0 -6
  241. package/dist/node_modules/lodash-es/isArguments.js +0 -10
  242. package/dist/node_modules/lodash-es/isArray.js +0 -4
  243. package/dist/node_modules/lodash-es/isArrayLike.js +0 -8
  244. package/dist/node_modules/lodash-es/isBuffer.js +0 -6
  245. package/dist/node_modules/lodash-es/isFunction.js +0 -12
  246. package/dist/node_modules/lodash-es/isLength.js +0 -7
  247. package/dist/node_modules/lodash-es/isObject.js +0 -7
  248. package/dist/node_modules/lodash-es/isObjectLike.js +0 -6
  249. package/dist/node_modules/lodash-es/isSymbol.js +0 -9
  250. package/dist/node_modules/lodash-es/isTypedArray.js +0 -7
  251. package/dist/node_modules/lodash-es/keys.js +0 -9
  252. package/dist/node_modules/lodash-es/map.js +0 -11
  253. package/dist/node_modules/lodash-es/memoize.js +0 -18
  254. package/dist/node_modules/lodash-es/property.js +0 -10
  255. package/dist/node_modules/lodash-es/range.js +0 -5
  256. package/dist/node_modules/lodash-es/stubArray.js +0 -6
  257. package/dist/node_modules/lodash-es/stubFalse.js +0 -6
  258. package/dist/node_modules/lodash-es/toFinite.js +0 -14
  259. package/dist/node_modules/lodash-es/toNumber.js +0 -22
  260. package/dist/node_modules/lodash-es/toString.js +0 -7
@@ -1,17 +1,17 @@
1
- var x = class d {
1
+ var B = class d {
2
2
  /**
3
3
  * Validates that all required methods are properly implemented in the subclass.
4
4
  * @param requiredMethods - Array of method names that must be implemented
5
5
  * @param classRef - Reference to the class constructor for validation caching
6
6
  */
7
- constructor(t, r) {
8
- if (r !== d) {
9
- d.validatedClasses.has(r) || this.validateImplementation(t, r);
10
- const s = d.validationErrors.get(r);
11
- if (s && s.length > 0)
7
+ constructor(t, n) {
8
+ if (n !== d) {
9
+ d.validatedClasses.has(n) || this.validateImplementation(t, n);
10
+ const i = d.validationErrors.get(n);
11
+ if (i && i.length > 0)
12
12
  throw new Error(
13
- `${r.name} has validation errors:
14
- ${s.map((o) => ` - ${o}`).join(`
13
+ `${n.name} has validation errors:
14
+ ${i.map((E) => ` - ${E}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -20,16 +20,15 @@ ${s.map((o) => ` - ${o}`).join(`
20
20
  * Validates that all required methods are properly implemented in the subclass.
21
21
  * This validation runs only once per class type and results are cached.
22
22
  */
23
- validateImplementation(t, r) {
24
- var y;
25
- const s = [], o = r.name, W = Object.getPrototypeOf(this);
23
+ validateImplementation(t, n) {
24
+ const i = [], E = n.name, Y = Object.getPrototypeOf(this);
26
25
  t.forEach((u) => {
27
26
  if (typeof this[u] != "function") {
28
- s.push(`Method ${u}() is not defined`);
27
+ i.push(`Method ${u}() is not defined`);
29
28
  return;
30
29
  }
31
- W[u] === r.prototype[u] && s.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
32
- }), d.validatedClasses.add(r), s.length > 0 ? (d.validationErrors.set(r, s), console.error(`[${o} Validation] ${o} validation failed:`, s)) : typeof process < "u" && ((y = process.env) == null ? void 0 : y.NODE_ENV) === "development" && console.log(`[${o} Validation] ✅ ${o} validated successfully`);
30
+ Y[u] === n.prototype[u] && i.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
31
+ }), d.validatedClasses.add(n), i.length > 0 ? (d.validationErrors.set(n, i), console.error(`[${E} Validation] ${E} validation failed:`, i)) : typeof process < "u" && process.env?.NODE_ENV === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
33
32
  }
34
33
  /**
35
34
  * Lifecycle method for cleaning up resources (e.g., removing DOM artifacts from document.body).
@@ -39,9 +38,9 @@ ${s.map((o) => ` - ${o}`).join(`
39
38
  destroy() {
40
39
  }
41
40
  };
42
- x.validatedClasses = /* @__PURE__ */ new Set();
43
- x.validationErrors = /* @__PURE__ */ new Map();
44
- var i = x, z = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e))(z || {}), P = class T extends i {
41
+ B.validatedClasses = /* @__PURE__ */ new Set();
42
+ B.validationErrors = /* @__PURE__ */ new Map();
43
+ var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e))($ || {}), v = class T extends a {
45
44
  constructor() {
46
45
  super(T.REQUIRED_METHODS, T);
47
46
  }
@@ -160,9 +159,6 @@ var i = x, z = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAI
160
159
  allowInnerBlocksDND() {
161
160
  return !0;
162
161
  }
163
- allowInteractWithAMPWhenSelected() {
164
- return !0;
165
- }
166
162
  /**
167
163
  * Gets the unique identifier for this block type.
168
164
  * This ID is used for registration and referencing the block.
@@ -221,14 +217,15 @@ var i = x, z = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAI
221
217
  throw new Error("Method getDescription() must be implemented by the subclass");
222
218
  }
223
219
  };
224
- P.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
225
- var Ze = P, Z = class I extends i {
220
+ v.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
221
+ var Ye = v, W = class I extends a {
226
222
  constructor() {
227
223
  super(I.REQUIRED_METHODS, I);
228
224
  }
229
225
  /**
230
226
  * @deprecated - use {@link getPreviewInnerHtml} instead
231
227
  */
228
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
232
229
  getPreviewHtml(t) {
233
230
  }
234
231
  /**
@@ -238,8 +235,8 @@ var Ze = P, Z = class I extends i {
238
235
  throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
239
236
  }
240
237
  };
241
- Z.REQUIRED_METHODS = ["getPreviewInnerHtml"];
242
- var qe = class {
238
+ W.REQUIRED_METHODS = ["getPreviewInnerHtml"];
239
+ var $e = class {
243
240
  /**
244
241
  * Generates HTML representation for a block item
245
242
  * @param block - The block item to generate HTML for
@@ -313,7 +310,7 @@ var qe = class {
313
310
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
314
311
  getModulesTabIconName(e) {
315
312
  }
316
- }, q = class b extends i {
313
+ }, z = class b extends a {
317
314
  constructor() {
318
315
  super(b.REQUIRED_METHODS, b);
319
316
  }
@@ -330,86 +327,86 @@ var qe = class {
330
327
  throw new Error("Method onClick() must be implemented by the subclass");
331
328
  }
332
329
  };
333
- q.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
334
- var j = {
330
+ z.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
331
+ var Z = {
335
332
  src: "src",
336
333
  alt: "alt",
337
334
  href: "href",
338
335
  width: "width",
339
336
  height: "height"
340
- }, je = {
341
- BLOCK_IMAGE: j
342
- }, U = "esd-block-button", w = "esd-block-text", K = "esd-block-image", J = "esd-structure", ee = "esd-block-video", te = "esd-block-social", re = "esd-block-banner", ae = "esd-block-timer", ne = "esd-block-menu", se = "esd-block-html", ie = "esd-block-spacer", le = "esd-container-frame", Ee = "esd-stripe", oe = "esd-amp-form", c = ((e) => (e.BUTTON = `.${U}`, e.TEXT = `.${w}`, e.IMAGE = `.${K}`, e.STRUCTURE = `.${J}`, e.VIDEO = `.${ee}`, e.SOCIAL = `.${te}`, e.BANNER = `.${re}`, e.TIMER = `.${ae}`, e.MENU = `.${ne}`, e.HTML = `.${se}`, e.SPACER = `.${ie}`, e.CONTAINER = `.${le}`, e.STRIPE = `.${Ee}`, e.FORM = `.${oe}`, e))(c || {}), de = /* @__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))(de || {}), F = /* @__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))(F || {}), H = /* @__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))(H || {}), k = /* @__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.FONT_WEIGHT = "textBlockFontWeight", 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.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(k || {}), p = /* @__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))(p || {}), ue = /* @__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))(ue || {}), n = {
343
- BLOCK_BUTTON: H,
344
- BLOCK_TEXT: k,
345
- BLOCK_IMAGE: p,
346
- GENERAL: F
347
- }, ce = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e.themeMode = "themeMode", e))(ce || {}), Te = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(Te || {}), Ie = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(Ie || {}), a = {
337
+ }, We = {
338
+ BLOCK_IMAGE: Z
339
+ }, y = "esd-block-button", P = "esd-block-text", p = "esd-block-image", j = "esd-structure", q = "esd-block-video", J = "esd-block-social", ee = "esd-block-banner", te = "esd-block-timer", re = "esd-block-menu", ne = "esd-block-html", se = "esd-block-spacer", ae = "esd-container-frame", ie = "esd-stripe", le = "esd-amp-form", c = ((e) => (e.BUTTON = `.${y}`, e.TEXT = `.${P}`, e.IMAGE = `.${p}`, e.STRUCTURE = `.${j}`, e.VIDEO = `.${q}`, e.SOCIAL = `.${J}`, e.BANNER = `.${ee}`, e.TIMER = `.${te}`, e.MENU = `.${re}`, e.HTML = `.${ne}`, e.SPACER = `.${se}`, e.CONTAINER = `.${ae}`, e.STRIPE = `.${ie}`, e.FORM = `.${le}`, e))(c || {}), oe = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(oe || {}), U = /* @__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))(U || {}), w = /* @__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))(w || {}), K = /* @__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.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(K || {}), F = /* @__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))(F || {}), Ee = /* @__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))(Ee || {}), s = {
340
+ BLOCK_BUTTON: w,
341
+ BLOCK_TEXT: K,
342
+ BLOCK_IMAGE: F,
343
+ GENERAL: U
344
+ }, de = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e))(de || {}), ue = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(ue || {}), ce = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(ce || {}), r = {
348
345
  name: "name",
349
346
  disabled: "disabled"
350
- }, be = {
351
- ...a,
347
+ }, Te = {
348
+ ...r,
352
349
  caption: "caption",
353
350
  icon: "icon"
354
- }, he = {
355
- ...a,
351
+ }, Ie = {
352
+ ...r,
356
353
  caption: "caption"
357
- }, me = {
358
- ...a,
354
+ }, be = {
355
+ ...r,
359
356
  minValue: "min-value",
360
357
  maxValue: "max-value",
361
358
  step: "step"
362
- }, ge = {
363
- ...a,
359
+ }, he = {
360
+ ...r,
364
361
  placeholder: "placeholder",
365
362
  minDate: "min-date"
366
- }, Oe = {
367
- ...a,
363
+ }, me = {
364
+ ...r,
368
365
  text: "text",
369
366
  hint: "hint"
370
- }, Re = {
371
- ...a,
367
+ }, ge = {
368
+ ...r,
372
369
  type: "type"
373
- }, Le = {
374
- ...a,
370
+ }, Oe = {
371
+ ...r,
375
372
  buttons: "buttons"
376
- }, X = {
377
- ...a,
373
+ }, H = {
374
+ ...r,
378
375
  searchable: "searchable",
379
376
  multiSelect: "multi-select",
380
377
  placeholder: "placeholder",
381
378
  items: "items"
382
- }, _e = {
383
- ...X,
379
+ }, Re = {
380
+ ...H,
384
381
  addCustomFontOption: "add-custom-font-option"
385
- }, Ce = {
386
- ...a,
382
+ }, Le = {
383
+ ...r,
387
384
  text: "text",
388
385
  value: "value"
389
- }, Ae = {
390
- ...a,
386
+ }, _e = {
387
+ ...r,
391
388
  text: "text",
392
389
  hint: "hint",
393
390
  icon: "icon",
394
391
  value: "value"
395
- }, Ne = {
396
- ...a,
392
+ }, Ce = {
393
+ ...r,
397
394
  buttons: "buttons"
398
- }, De = {
399
- ...a,
395
+ }, Ae = {
396
+ ...r,
400
397
  text: "text",
401
398
  hint: "hint",
402
399
  icon: "icon",
403
400
  value: "value"
404
- }, Se = {
405
- ...a,
401
+ }, Ne = {
402
+ ...r,
406
403
  placeholder: "placeholder"
407
- }, Me = {
408
- ...a,
404
+ }, De = {
405
+ ...r,
409
406
  resizable: "resizable",
410
407
  placeholder: "placeholder"
411
- }, Be = {
412
- ...a,
408
+ }, Se = {
409
+ ...r,
413
410
  img: "img",
414
411
  src: "src",
415
412
  title: "title",
@@ -419,61 +416,54 @@ var j = {
419
416
  isActive: "is-active",
420
417
  visibility: "visibility",
421
418
  transform: "transform"
422
- }, xe = {
423
- ...a,
419
+ }, Me = {
420
+ ...r,
424
421
  controlId: "control-id"
425
- }, ve = {
426
- ...a,
422
+ }, Be = {
423
+ ...r,
427
424
  expanded: "expanded"
428
- }, ye = {
429
- ...a,
425
+ }, xe = {
426
+ ...r,
430
427
  icon: "icon",
431
428
  position: "position"
432
- }, Pe = {
433
- ...a
434
- }, Ue = {
435
- ...a,
429
+ }, ve = {
430
+ ...r
431
+ }, ye = {
432
+ ...r,
436
433
  icon: "icon"
437
- }, we = {
438
- ...a
439
- }, Ke = {
440
- ...a,
434
+ }, Pe = {
435
+ ...r
436
+ }, pe = {
437
+ ...r,
441
438
  blockId: "block-id"
442
- }, Fe = {
443
- ...a
444
- }, He = {
445
- ...a,
446
- placeholder: "placeholder"
447
- }, Je = {
448
- DEFAULT: a,
449
- BUTTON: be,
450
- CHECKBOX: he,
451
- CHECK_BUTTONS: Ne,
452
- COLOR: a,
453
- COUNTER: me,
454
- DATEPICKER: ge,
455
- LABEL: Oe,
456
- MESSAGE: Re,
457
- RADIO_BUTTONS: Le,
458
- SELECTPICKER: X,
459
- FONT_FAMILY_SELECT: _e,
460
- SWITCHER: a,
461
- TEXT: Se,
462
- TEXTAREA: Me,
463
- ICON: Be,
464
- CHECK_ITEM: Ae,
465
- SELECT_ITEM: Ce,
466
- RADIO_ITEM: De,
467
- NESTED_CONTROL: xe,
468
- EXPANDABLE: ve,
469
- ORDERABLE: ye,
470
- ORDERABLE_ITEM: Pe,
471
- ORDERABLE_ICON: Ue,
472
- REPEATABLE: we,
473
- DRAGGABLE_BLOCK: Ke,
474
- AMP_FORM_SERVICE_PICKER: Fe,
475
- MULTIPLE_SELECT: He
476
- }, ke = /* @__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.DRAGGABLE_BLOCK = "UE-DRAGGABLE-BLOCK", e.AMP_FORM_SERVICE_PICKER = "UE-AMP-FORM-SERVICE-PICKER", e.MULTIPLE_SELECT = "UE-MULTIPLE_SELECT", e.SCROLLABLE = "UE-SCROLLABLE-CONTAINER", e))(ke || {}), v = class {
439
+ }, ze = {
440
+ DEFAULT: r,
441
+ BUTTON: Te,
442
+ CHECKBOX: Ie,
443
+ CHECK_BUTTONS: Ce,
444
+ COLOR: r,
445
+ COUNTER: be,
446
+ DATEPICKER: he,
447
+ LABEL: me,
448
+ MESSAGE: ge,
449
+ RADIO_BUTTONS: Oe,
450
+ SELECTPICKER: H,
451
+ FONT_FAMILY_SELECT: Re,
452
+ SWITCHER: r,
453
+ TEXT: Ne,
454
+ TEXTAREA: De,
455
+ ICON: Se,
456
+ CHECK_ITEM: _e,
457
+ SELECT_ITEM: Le,
458
+ RADIO_ITEM: Ae,
459
+ NESTED_CONTROL: Me,
460
+ EXPANDABLE: Be,
461
+ ORDERABLE: xe,
462
+ ORDERABLE_ITEM: ve,
463
+ ORDERABLE_ICON: ye,
464
+ REPEATABLE: Pe,
465
+ DRAGGABLE_BLOCK: pe
466
+ }, Ue = /* @__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.DRAGGABLE_BLOCK = "UE-DRAGGABLE-BLOCK", e))(Ue || {}), x = class {
477
467
  /**
478
468
  * @description returns map of nodes parent control operates on
479
469
  */
@@ -504,66 +494,66 @@ var j = {
504
494
  isVisible(e) {
505
495
  return !0;
506
496
  }
507
- }, l = class extends v {
497
+ }, l = class extends x {
508
498
  getTargetNodes(e) {
509
- const t = e.querySelectorAll(c.BUTTON), r = e.asElement().hasClass(U) ? [e] : [];
510
- return t.length ? t : r;
499
+ const t = e.querySelectorAll(c.BUTTON), n = e.asElement().hasClass(y) ? [e] : [];
500
+ return t.length ? t : n;
511
501
  }
512
- }, et = class extends l {
502
+ }, Ze = class extends l {
513
503
  getParentControlId() {
514
- return n.BLOCK_BUTTON.BORDER_RADIUS;
504
+ return s.BLOCK_BUTTON.BORDER_RADIUS;
515
505
  }
516
506
  getLabels() {
517
507
  }
518
- }, tt = class extends l {
508
+ }, je = class extends l {
519
509
  getParentControlId() {
520
- return n.BLOCK_BUTTON.ALIGNMENT;
510
+ return s.BLOCK_BUTTON.ALIGNMENT;
521
511
  }
522
- }, rt = class extends l {
512
+ }, qe = class extends l {
523
513
  getParentControlId() {
524
- return n.GENERAL.BACKGROUND_COLOR;
514
+ return s.GENERAL.BACKGROUND_COLOR;
525
515
  }
526
- }, at = class extends l {
516
+ }, Je = class extends l {
527
517
  getParentControlId() {
528
- return n.BLOCK_BUTTON.BORDER;
518
+ return s.BLOCK_BUTTON.BORDER;
529
519
  }
530
520
  getLabels() {
531
521
  }
532
- }, nt = class extends l {
522
+ }, et = class extends l {
533
523
  getParentControlId() {
534
- return n.BLOCK_BUTTON.COLOR;
524
+ return s.BLOCK_BUTTON.COLOR;
535
525
  }
536
- }, st = class extends l {
526
+ }, tt = class extends l {
537
527
  getParentControlId() {
538
- return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
528
+ return s.BLOCK_BUTTON.ADJUST_TO_WIDTH;
539
529
  }
540
- }, it = class extends l {
530
+ }, rt = class extends l {
541
531
  getParentControlId() {
542
- return n.BLOCK_BUTTON.FONT_FAMILY;
532
+ return s.BLOCK_BUTTON.FONT_FAMILY;
543
533
  }
544
- }, lt = class extends l {
534
+ }, nt = class extends l {
545
535
  getParentControlId() {
546
- return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
536
+ return s.BLOCK_BUTTON.EXTERNAL_INDENTS;
547
537
  }
548
- }, Et = class extends l {
538
+ }, st = class extends l {
549
539
  getParentControlId() {
550
- return n.BLOCK_BUTTON.INTERNAL_INDENTS;
540
+ return s.BLOCK_BUTTON.INTERNAL_INDENTS;
551
541
  }
552
- }, ot = class extends l {
542
+ }, at = class extends l {
553
543
  getParentControlId() {
554
- return n.BLOCK_BUTTON.TEXT;
544
+ return s.BLOCK_BUTTON.TEXT;
555
545
  }
556
- }, dt = class extends l {
546
+ }, it = class extends l {
557
547
  getParentControlId() {
558
- return n.BLOCK_BUTTON.FONT_SIZE;
548
+ return s.BLOCK_BUTTON.FONT_SIZE;
559
549
  }
560
- }, ut = class extends l {
550
+ }, lt = class extends l {
561
551
  getParentControlId() {
562
- return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
552
+ return s.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
563
553
  }
564
554
  getLabels() {
565
555
  }
566
- }, G = class h extends i {
556
+ }, k = class h extends a {
567
557
  constructor() {
568
558
  super(h.REQUIRED_METHODS, h);
569
559
  }
@@ -618,8 +608,8 @@ var j = {
618
608
  onDocumentChanged(t) {
619
609
  }
620
610
  };
621
- G.REQUIRED_METHODS = ["getId", "getTemplate"];
622
- var ct = G, pe = class m extends i {
611
+ k.REQUIRED_METHODS = ["getId", "getTemplate"];
612
+ var ot = k, we = class m extends a {
623
613
  constructor() {
624
614
  super(m.REQUIRED_METHODS, m);
625
615
  }
@@ -688,21 +678,21 @@ var ct = G, pe = class m extends i {
688
678
  onDestroy() {
689
679
  }
690
680
  };
691
- pe.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
692
- var V = class extends v {
681
+ we.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
682
+ var X = class extends x {
693
683
  getTargetNodes(e) {
694
- const t = e.querySelectorAll(c.IMAGE), r = e.asElement().hasClass(K) ? [e] : [];
695
- return t.length ? t : r;
684
+ const t = e.querySelectorAll(c.IMAGE), n = e.asElement().hasClass(p) ? [e] : [];
685
+ return t.length ? t : n;
696
686
  }
697
- }, Tt = class extends V {
687
+ }, Et = class extends X {
698
688
  getParentControlId() {
699
- return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
689
+ return s.BLOCK_IMAGE.EXTERNAL_INDENTS;
700
690
  }
701
- }, It = class extends V {
691
+ }, dt = class extends X {
702
692
  getParentControlId() {
703
- return n.BLOCK_IMAGE.SIZE;
693
+ return s.BLOCK_IMAGE.SIZE;
704
694
  }
705
- }, Xe = class g extends i {
695
+ }, Ke = class g extends a {
706
696
  constructor() {
707
697
  super(g.REQUIRED_METHODS, g);
708
698
  }
@@ -766,8 +756,8 @@ var V = class extends v {
766
756
  onDocumentChanged() {
767
757
  }
768
758
  };
769
- Xe.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
770
- var f = class O extends i {
759
+ Ke.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
760
+ var G = class O extends a {
771
761
  constructor() {
772
762
  super(O.REQUIRED_METHODS, O);
773
763
  }
@@ -775,10 +765,10 @@ var f = class O extends i {
775
765
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
776
766
  }
777
767
  };
778
- f.REQUIRED_METHODS = ["registerBlockControls"];
779
- var bt = f, ht = class R {
780
- constructor(t, r) {
781
- this.tabId = t, this.controls = r.map(R.normalizeControl);
768
+ G.REQUIRED_METHODS = ["registerBlockControls"];
769
+ var ut = G, ct = class {
770
+ constructor(e, t) {
771
+ this.tabId = e, this.controlsIds = t;
782
772
  }
783
773
  getTabId() {
784
774
  return this.tabId;
@@ -787,68 +777,54 @@ var bt = f, ht = class R {
787
777
  return this.label;
788
778
  }
789
779
  getControlsIds() {
790
- return this.controls.map((t) => t.id);
791
- }
792
- getControls() {
793
- return this.controls;
780
+ return this.controlsIds;
794
781
  }
795
- withLabel(t) {
796
- return this.label = t, this;
782
+ withLabel(e) {
783
+ return this.label = e, this;
797
784
  }
798
- addControl(t, r) {
799
- const s = R.normalizeControl(t);
800
- return r < 0 ? this.controls.unshift(s) : r > this.controls.length ? this.controls.push(s) : this.controls.splice(r, 0, s), this;
785
+ addControl(e, t) {
786
+ return t < 0 ? this.controlsIds.unshift(e) : t > this.controlsIds.length ? this.controlsIds.push(e) : this.controlsIds.splice(t, 0, e), this;
801
787
  }
802
- deleteControl(t) {
803
- const r = this.controls.findIndex((s) => s.id === t);
804
- r !== -1 && this.controls.splice(r, 1);
788
+ deleteControl(e) {
789
+ const t = this.controlsIds.indexOf(e);
790
+ t !== -1 && this.controlsIds.splice(t, 1);
805
791
  }
806
- static normalizeControl(t) {
807
- if (typeof t == "string")
808
- return { id: t };
809
- if (!t.id)
810
- throw new Error("SettingsPanelTabControlConfig.id is required");
811
- return {
812
- ...t,
813
- id: t.id
814
- };
815
- }
816
- }, E = class extends v {
792
+ }, o = class extends x {
817
793
  getTargetNodes(e) {
818
- const t = e.querySelectorAll(c.TEXT), r = e.asElement().hasClass(w) ? [e] : [];
819
- return t.length ? t : r;
794
+ const t = e.querySelectorAll(c.TEXT), n = e.asElement().hasClass(P) ? [e] : [];
795
+ return t.length ? t : n;
820
796
  }
821
- }, mt = class extends E {
797
+ }, Tt = class extends o {
822
798
  getParentControlId() {
823
- return n.GENERAL.TEXT_ALIGN;
799
+ return s.GENERAL.TEXT_ALIGN;
824
800
  }
825
- }, gt = class extends E {
801
+ }, It = class extends o {
826
802
  getParentControlId() {
827
- return n.GENERAL.TEXT_COLOR;
803
+ return s.GENERAL.TEXT_COLOR;
828
804
  }
829
- }, Ot = class extends E {
805
+ }, bt = class extends o {
830
806
  getParentControlId() {
831
- return n.BLOCK_TEXT.FONT_FAMILY;
807
+ return s.BLOCK_TEXT.FONT_FAMILY;
832
808
  }
833
- }, Rt = class extends E {
809
+ }, ht = class extends o {
834
810
  getParentControlId() {
835
- return n.GENERAL.TEXT_LINE_SPACING;
811
+ return s.GENERAL.TEXT_LINE_SPACING;
836
812
  }
837
- }, Lt = class extends E {
813
+ }, mt = class extends o {
838
814
  getParentControlId() {
839
- return n.BLOCK_TEXT.INTERNAL_INDENTS;
815
+ return s.BLOCK_TEXT.INTERNAL_INDENTS;
840
816
  }
841
- }, _t = class extends E {
817
+ }, gt = class extends o {
842
818
  getParentControlId() {
843
- return n.GENERAL.TEXT_SIZE;
819
+ return s.GENERAL.TEXT_SIZE;
844
820
  }
845
- }, Ct = class extends E {
821
+ }, Ot = class extends o {
846
822
  getParentControlId() {
847
- return n.GENERAL.TEXT_STYLE;
823
+ return s.GENERAL.TEXT_STYLE;
848
824
  }
849
- }, Ge = class {
825
+ }, Fe = class {
850
826
  constructor(e) {
851
- this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [], this.modulesPanelTabs = [], 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.modulesPanelTabs = (e == null ? void 0 : e.modulesPanelTabs) ?? [], 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);
827
+ this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [], this.modulesPanelTabs = [], this.i18n = e?.i18n, this.styles = e?.styles, this.previewStyles = e?.previewStyles, this.uiElements = e?.uiElements ?? [], this.uiElementTagRegistry = e?.uiElementTagRegistry, this.controls = e?.controls ?? [], this.settingsPanelRegistry = e?.settingsPanelRegistry, this.contextActions = e?.contextActions ?? [], this.blocks = e?.blocks ?? [], this.generalPanelTabs = e?.generalPanelTabs ?? [], this.modulesPanelTabs = e?.modulesPanelTabs ?? [], this.externalSmartElementsLibrary = e?.externalSmartElementsLibrary, this.externalImageLibrary = e?.externalImageLibrary, this.externalImageLibraryTab = e?.externalImageLibraryTab, this.externalAiAssistant = e?.externalAiAssistant, this.externalDisplayConditionsLibrary = e?.externalDisplayConditionsLibrary, this.externalVideoLibrary = e?.externalVideoLibrary, this.blocksPanel = e?.blocksPanel, this.iconsRegistry = e?.iconsRegistry, this.id = Math.random().toString(36).substring(2);
852
828
  }
853
829
  getI18n() {
854
830
  return this.i18n;
@@ -910,7 +886,7 @@ var bt = f, ht = class R {
910
886
  getModulesPanelTabs() {
911
887
  return this.modulesPanelTabs;
912
888
  }
913
- }, At = class {
889
+ }, Rt = class {
914
890
  constructor() {
915
891
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [], this.modulesPanelTabs = [];
916
892
  }
@@ -981,7 +957,7 @@ var bt = f, ht = class R {
981
957
  return this.modulesPanelTabs.push(e), this;
982
958
  }
983
959
  build() {
984
- return new Ge({
960
+ return new Fe({
985
961
  i18n: this.i18n,
986
962
  styles: this.styles.map((e) => e.trim()).join(`
987
963
  `),
@@ -1004,18 +980,18 @@ var bt = f, ht = class R {
1004
980
  modulesPanelTabs: this.modulesPanelTabs
1005
981
  });
1006
982
  }
1007
- }, Ve = class L extends i {
983
+ }, He = class R extends a {
1008
984
  constructor() {
1009
- super(L.REQUIRED_METHODS, L);
985
+ super(R.REQUIRED_METHODS, R);
1010
986
  }
1011
987
  openAiAssistant(t) {
1012
988
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
1013
989
  }
1014
990
  };
1015
- Ve.REQUIRED_METHODS = ["openAiAssistant"];
1016
- var fe = class _ extends i {
991
+ He.REQUIRED_METHODS = ["openAiAssistant"];
992
+ var ke = class L extends a {
1017
993
  constructor() {
1018
- super(_.REQUIRED_METHODS, _);
994
+ super(L.REQUIRED_METHODS, L);
1019
995
  }
1020
996
  /**
1021
997
  * Retrieves the name of the category.
@@ -1032,7 +1008,7 @@ var fe = class _ extends i {
1032
1008
  * @param {ExternalDisplayConditionSelectedCB} _successCallback - Callback executed with the updated or newly created condition upon success.
1033
1009
  * @param {() => void} _cancelCallback - Callback executed when the dialog is closed without making changes.
1034
1010
  */
1035
- openExternalDisplayConditionsDialog(t, r, s) {
1011
+ openExternalDisplayConditionsDialog(t, n, i) {
1036
1012
  throw new Error("Method openExternalDisplayConditionsDialog() must be implemented by the subclass");
1037
1013
  }
1038
1014
  /**
@@ -1053,19 +1029,19 @@ var fe = class _ extends i {
1053
1029
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
1054
1030
  }
1055
1031
  };
1056
- fe.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
1057
- var Qe = class C extends i {
1032
+ ke.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
1033
+ var Xe = class _ extends a {
1058
1034
  constructor() {
1059
- super(C.REQUIRED_METHODS, C);
1035
+ super(_.REQUIRED_METHODS, _);
1060
1036
  }
1061
- openImageLibrary(t, r, s) {
1037
+ openImageLibrary(t, n, i) {
1062
1038
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
1063
1039
  }
1064
1040
  };
1065
- Qe.REQUIRED_METHODS = ["openImageLibrary"];
1066
- var Ye = class A extends i {
1041
+ Xe.REQUIRED_METHODS = ["openImageLibrary"];
1042
+ var Ge = class C extends a {
1067
1043
  constructor() {
1068
- super(A.REQUIRED_METHODS, A);
1044
+ super(C.REQUIRED_METHODS, C);
1069
1045
  }
1070
1046
  /**
1071
1047
  * @description Returns the translated name/label for the tab
@@ -1080,39 +1056,39 @@ var Ye = class A extends i {
1080
1056
  * @param _onImageSelectCallback - Callback to invoke when an image is selected
1081
1057
  * @param _selectedNode - (Optional) Selected node for which the gallery is being opened
1082
1058
  */
1083
- openImageLibraryTab(t, r, s) {
1059
+ openImageLibraryTab(t, n, i) {
1084
1060
  throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
1085
1061
  }
1086
1062
  };
1087
- Ye.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
1088
- var $e = class N extends i {
1063
+ Ge.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
1064
+ var Ve = class A extends a {
1089
1065
  constructor() {
1090
- super(N.REQUIRED_METHODS, N);
1066
+ super(A.REQUIRED_METHODS, A);
1091
1067
  }
1092
- openSmartElementsLibrary(t, r) {
1068
+ openSmartElementsLibrary(t, n) {
1093
1069
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
1094
1070
  }
1095
1071
  };
1096
- $e.REQUIRED_METHODS = ["openSmartElementsLibrary"];
1097
- var We = class D extends i {
1072
+ Ve.REQUIRED_METHODS = ["openSmartElementsLibrary"];
1073
+ var Qe = class N extends a {
1098
1074
  constructor() {
1099
- super(D.REQUIRED_METHODS, D);
1075
+ super(N.REQUIRED_METHODS, N);
1100
1076
  }
1101
- openExternalVideosLibraryDialog(t, r, s) {
1077
+ openExternalVideosLibraryDialog(t, n, i) {
1102
1078
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
1103
1079
  }
1104
1080
  };
1105
- We.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
1106
- var Q = class S extends i {
1081
+ Qe.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
1082
+ var V = class D extends a {
1107
1083
  constructor() {
1108
- super(S.REQUIRED_METHODS, S);
1084
+ super(D.REQUIRED_METHODS, D);
1109
1085
  }
1110
1086
  registerIconsSvg(t) {
1111
1087
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
1112
1088
  }
1113
1089
  };
1114
- Q.REQUIRED_METHODS = ["registerIconsSvg"];
1115
- var Nt = Q, Dt = class {
1090
+ V.REQUIRED_METHODS = ["registerIconsSvg"];
1091
+ var Lt = V, _t = class {
1116
1092
  constructor(e) {
1117
1093
  this.key = e;
1118
1094
  }
@@ -1125,9 +1101,9 @@ var Nt = Q, Dt = class {
1125
1101
  params: this.params
1126
1102
  };
1127
1103
  }
1128
- }, Y = class M extends i {
1104
+ }, Q = class S extends a {
1129
1105
  constructor() {
1130
- super(M.REQUIRED_METHODS, M);
1106
+ super(S.REQUIRED_METHODS, S);
1131
1107
  }
1132
1108
  /**
1133
1109
  * Called when the UI element should render its content into the provided container.
@@ -1162,7 +1138,7 @@ var Nt = Q, Dt = class {
1162
1138
  * @param name - The name of the attribute that was updated.
1163
1139
  * @param value - The new value of the attribute.
1164
1140
  */
1165
- onAttributeUpdated(t, r) {
1141
+ onAttributeUpdated(t, n) {
1166
1142
  }
1167
1143
  /**
1168
1144
  * Gets the unique identifier for this UI element type.
@@ -1180,64 +1156,64 @@ var Nt = Q, Dt = class {
1180
1156
  throw new Error("Method getTemplate() must be implemented by the subclass");
1181
1157
  }
1182
1158
  };
1183
- Y.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
1184
- var St = Y, $ = class B extends i {
1159
+ Q.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
1160
+ var Ct = Q, f = class M extends a {
1185
1161
  constructor() {
1186
- super(B.REQUIRED_METHODS, B);
1162
+ super(M.REQUIRED_METHODS, M);
1187
1163
  }
1188
1164
  registerUiElements(t) {
1189
1165
  throw new Error("Method registerUiElements() must be implemented by the subclass");
1190
1166
  }
1191
1167
  };
1192
- $.REQUIRED_METHODS = ["registerUiElements"];
1193
- var Mt = $;
1168
+ f.REQUIRED_METHODS = ["registerUiElements"];
1169
+ var At = f;
1194
1170
  export {
1195
- Ze as Block,
1196
- je as BlockAttr,
1197
- z as BlockCompositionType,
1171
+ Ye as Block,
1172
+ We as BlockAttr,
1173
+ $ as BlockCompositionType,
1198
1174
  c as BlockSelector,
1199
- de as BlockType,
1200
- qe as BlocksPanel,
1201
- v as BuiltInControl,
1202
- n as BuiltInControlTypes,
1203
- tt as ButtonAlignBuiltInControl,
1204
- rt as ButtonBackgroundColorBuiltInControl,
1205
- at as ButtonBorderBuiltInControl,
1206
- et as ButtonBorderRadiusBuiltInControl,
1207
- nt as ButtonColorBuiltInControl,
1208
- H as ButtonControls,
1209
- st as ButtonFitToContainerBuiltInControl,
1210
- it as ButtonFontFamilyBuiltInControl,
1211
- lt as ButtonMarginsBuiltInControl,
1212
- Et as ButtonPaddingsBuiltInControl,
1213
- ot as ButtonTextBuiltInControl,
1214
- dt as ButtonTextSizeBuiltInControl,
1215
- ut as ButtonTextStyleAndFontColorBuiltInControl,
1216
- ue as ContainerControls,
1217
- ct as Control,
1218
- ce as EditorStatePropertyType,
1219
- Ge as Extension,
1220
- At as ExtensionBuilder,
1221
- F as GeneralControls,
1222
- Nt as IconsRegistry,
1223
- p as ImageControls,
1224
- Tt as ImageMarginsBuiltInControl,
1225
- It as ImageSizeBuiltInControl,
1226
- Dt as ModificationDescription,
1227
- Te as PreviewDeviceMode,
1228
- bt as SettingsPanelRegistry,
1229
- ht as SettingsPanelTab,
1230
- Ie as SettingsTab,
1231
- mt as TextAlignBuiltInControl,
1232
- gt as TextColorBuiltInControl,
1233
- k as TextControls,
1234
- Ot as TextFontFamilyBuiltInControl,
1235
- Rt as TextLineSpacingBuiltInControl,
1236
- Lt as TextPaddingsBuiltInControl,
1237
- _t as TextSizeBuiltInControl,
1238
- Ct as TextStyleBuiltInControl,
1239
- Je as UEAttr,
1240
- St as UIElement,
1241
- Mt as UIElementTagRegistry,
1242
- ke as UIElementType
1175
+ oe as BlockType,
1176
+ $e as BlocksPanel,
1177
+ x as BuiltInControl,
1178
+ s as BuiltInControlTypes,
1179
+ je as ButtonAlignBuiltInControl,
1180
+ qe as ButtonBackgroundColorBuiltInControl,
1181
+ Je as ButtonBorderBuiltInControl,
1182
+ Ze as ButtonBorderRadiusBuiltInControl,
1183
+ et as ButtonColorBuiltInControl,
1184
+ w as ButtonControls,
1185
+ tt as ButtonFitToContainerBuiltInControl,
1186
+ rt as ButtonFontFamilyBuiltInControl,
1187
+ nt as ButtonMarginsBuiltInControl,
1188
+ st as ButtonPaddingsBuiltInControl,
1189
+ at as ButtonTextBuiltInControl,
1190
+ it as ButtonTextSizeBuiltInControl,
1191
+ lt as ButtonTextStyleAndFontColorBuiltInControl,
1192
+ Ee as ContainerControls,
1193
+ ot as Control,
1194
+ de as EditorStatePropertyType,
1195
+ Fe as Extension,
1196
+ Rt as ExtensionBuilder,
1197
+ U as GeneralControls,
1198
+ Lt as IconsRegistry,
1199
+ F as ImageControls,
1200
+ Et as ImageMarginsBuiltInControl,
1201
+ dt as ImageSizeBuiltInControl,
1202
+ _t as ModificationDescription,
1203
+ ue as PreviewDeviceMode,
1204
+ ut as SettingsPanelRegistry,
1205
+ ct as SettingsPanelTab,
1206
+ ce as SettingsTab,
1207
+ Tt as TextAlignBuiltInControl,
1208
+ It as TextColorBuiltInControl,
1209
+ K as TextControls,
1210
+ bt as TextFontFamilyBuiltInControl,
1211
+ ht as TextLineSpacingBuiltInControl,
1212
+ mt as TextPaddingsBuiltInControl,
1213
+ gt as TextSizeBuiltInControl,
1214
+ Ot as TextStyleBuiltInControl,
1215
+ ze as UEAttr,
1216
+ Ct as UIElement,
1217
+ At as UIElementTagRegistry,
1218
+ Ue as UIElementType
1243
1219
  };