@useinsider/guido 3.2.0-beta.bbb580a → 3.2.0-beta.bbfbc6f

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 (29) hide show
  1. package/dist/components/organisms/extensions/recommendation/FilterItem.vue.js +10 -8
  2. package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +35 -71
  3. package/dist/components/organisms/onboarding/AMPOnboarding.vue2.js +51 -31
  4. package/dist/components/organisms/onboarding/GenericOnboarding.vue.js +1 -1
  5. package/dist/components/organisms/onboarding/GenericOnboarding.vue2.js +23 -22
  6. package/dist/components/organisms/onboarding/ItemsOnboarding.vue.js +1 -1
  7. package/dist/components/organisms/onboarding/ItemsOnboarding.vue2.js +37 -39
  8. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue.js +3 -3
  9. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue2.js +30 -41
  10. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue2.js +15 -14
  11. package/dist/composables/useRibbonOffset.js +21 -0
  12. package/dist/config/compiler/unsubscribeCompilerRules.js +40 -37
  13. package/dist/enums/date.js +3 -3
  14. package/dist/enums/extensions/recommendationBlock.js +27 -28
  15. package/dist/enums/onboarding.js +7 -2
  16. package/dist/enums/unsubscribe.js +34 -27
  17. package/dist/extensions/Blocks/Items/template.js +46 -48
  18. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +5 -6
  19. package/dist/guido.css +1 -1
  20. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +258 -236
  21. package/dist/package.json.js +1 -1
  22. package/dist/src/composables/useRibbonOffset.d.ts +4 -0
  23. package/dist/src/enums/date.d.ts +1 -1
  24. package/dist/src/enums/extensions/recommendationBlock.d.ts +0 -1
  25. package/dist/src/enums/onboarding.d.ts +6 -0
  26. package/dist/src/enums/unsubscribe.d.ts +5 -0
  27. package/dist/src/stores/onboarding.d.ts +4 -0
  28. package/dist/stores/onboarding.js +4 -0
  29. package/package.json +3 -3
@@ -1,17 +1,17 @@
1
- var B = class d {
1
+ var x = class d {
2
2
  /**
3
3
  * Validates that all required methods are properly implemented in the subclass.
4
4
  * @param requiredMethods - Array of method names that must be implemented
5
5
  * @param classRef - Reference to the class constructor for validation caching
6
6
  */
7
- constructor(t, 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)
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)
12
12
  throw new Error(
13
- `${a.name} has validation errors:
14
- ${i.map((o) => ` - ${o}`).join(`
13
+ `${r.name} has validation errors:
14
+ ${s.map((o) => ` - ${o}`).join(`
15
15
  `)}`
16
16
  );
17
17
  }
@@ -20,16 +20,16 @@ ${i.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, a) {
24
- var v;
25
- const i = [], o = a.name, $ = Object.getPrototypeOf(this);
23
+ validateImplementation(t, r) {
24
+ var y;
25
+ const s = [], o = r.name, W = Object.getPrototypeOf(this);
26
26
  t.forEach((u) => {
27
27
  if (typeof this[u] != "function") {
28
- i.push(`Method ${u}() is not defined`);
28
+ s.push(`Method ${u}() is not defined`);
29
29
  return;
30
30
  }
31
- $[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" && ((v = process.env) == null ? void 0 : v.NODE_ENV) === "development" && console.log(`[${o} Validation] ✅ ${o} validated successfully`);
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`);
33
33
  }
34
34
  /**
35
35
  * Lifecycle method for cleaning up resources (e.g., removing DOM artifacts from document.body).
@@ -39,9 +39,9 @@ ${i.map((o) => ` - ${o}`).join(`
39
39
  destroy() {
40
40
  }
41
41
  };
42
- B.validatedClasses = /* @__PURE__ */ new Set();
43
- B.validationErrors = /* @__PURE__ */ new Map();
44
- var s = B, W = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e))(W || {}), y = class T extends s {
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 {
45
45
  constructor() {
46
46
  super(T.REQUIRED_METHODS, T);
47
47
  }
@@ -160,6 +160,9 @@ var s = B, W = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAI
160
160
  allowInnerBlocksDND() {
161
161
  return !0;
162
162
  }
163
+ allowInteractWithAMPWhenSelected() {
164
+ return !0;
165
+ }
163
166
  /**
164
167
  * Gets the unique identifier for this block type.
165
168
  * This ID is used for registration and referencing the block.
@@ -218,15 +221,14 @@ var s = B, W = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAI
218
221
  throw new Error("Method getDescription() must be implemented by the subclass");
219
222
  }
220
223
  };
221
- y.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
222
- var $e = y, z = class I extends s {
224
+ P.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
225
+ var Ze = P, Z = class I extends i {
223
226
  constructor() {
224
227
  super(I.REQUIRED_METHODS, I);
225
228
  }
226
229
  /**
227
230
  * @deprecated - use {@link getPreviewInnerHtml} instead
228
231
  */
229
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
230
232
  getPreviewHtml(t) {
231
233
  }
232
234
  /**
@@ -236,8 +238,8 @@ var $e = y, z = class I extends s {
236
238
  throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
237
239
  }
238
240
  };
239
- z.REQUIRED_METHODS = ["getPreviewInnerHtml"];
240
- var We = class {
241
+ Z.REQUIRED_METHODS = ["getPreviewInnerHtml"];
242
+ var qe = class {
241
243
  /**
242
244
  * Generates HTML representation for a block item
243
245
  * @param block - The block item to generate HTML for
@@ -311,7 +313,7 @@ var We = class {
311
313
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
312
314
  getModulesTabIconName(e) {
313
315
  }
314
- }, Z = class b extends s {
316
+ }, q = class b extends i {
315
317
  constructor() {
316
318
  super(b.REQUIRED_METHODS, b);
317
319
  }
@@ -328,86 +330,85 @@ var We = class {
328
330
  throw new Error("Method onClick() must be implemented by the subclass");
329
331
  }
330
332
  };
331
- Z.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
333
+ q.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
332
334
  var j = {
333
335
  src: "src",
334
- alt: "alt",
335
336
  href: "href",
336
337
  width: "width",
337
338
  height: "height"
338
- }, ze = {
339
+ }, je = {
339
340
  BLOCK_IMAGE: j
340
- }, P = "esd-block-button", U = "esd-block-text", w = "esd-block-image", q = "esd-structure", J = "esd-block-video", ee = "esd-block-social", te = "esd-block-banner", re = "esd-block-timer", ae = "esd-block-menu", ne = "esd-block-html", se = "esd-block-spacer", ie = "esd-container-frame", le = "esd-stripe", Ee = "esd-amp-form", c = ((e) => (e.BUTTON = `.${P}`, e.TEXT = `.${U}`, e.IMAGE = `.${w}`, e.STRUCTURE = `.${q}`, e.VIDEO = `.${J}`, e.SOCIAL = `.${ee}`, e.BANNER = `.${te}`, e.TIMER = `.${re}`, e.MENU = `.${ae}`, e.HTML = `.${ne}`, e.SPACER = `.${se}`, e.CONTAINER = `.${ie}`, e.STRIPE = `.${le}`, e.FORM = `.${Ee}`, 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 || {}), K = /* @__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))(K || {}), F = /* @__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))(F || {}), H = /* @__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))(H || {}), k = /* @__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))(k || {}), de = /* @__PURE__ */ ((e) => (e.BACKGROUND_COLOR = "containerBackgroundColorForm", e.BORDER_FORM = "containerBorderForm", e.BORDER_RADIUS = "containerBorderRadiusForm", e.EXTERNAL_INDENTS = "containerExternalIndentsForm", e.IMAGE_CONTAINER = "containerImageContainerForm", e.MIME_TYPE = "containerMimeTypeForm", e.DISPLAY_CONDITIONS = "displayConditions", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(de || {}), n = {
341
- BLOCK_BUTTON: F,
342
- BLOCK_TEXT: H,
343
- BLOCK_IMAGE: k,
344
- GENERAL: K
345
- }, ue = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e))(ue || {}), ce = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(ce || {}), Te = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(Te || {}), r = {
341
+ }, 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 = {
342
+ BLOCK_BUTTON: H,
343
+ BLOCK_TEXT: k,
344
+ BLOCK_IMAGE: p,
345
+ GENERAL: F
346
+ }, 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 = {
346
347
  name: "name",
347
348
  disabled: "disabled"
348
- }, Ie = {
349
- ...r,
349
+ }, be = {
350
+ ...a,
350
351
  caption: "caption",
351
352
  icon: "icon"
352
- }, be = {
353
- ...r,
354
- caption: "caption"
355
353
  }, he = {
356
- ...r,
354
+ ...a,
355
+ caption: "caption"
356
+ }, me = {
357
+ ...a,
357
358
  minValue: "min-value",
358
359
  maxValue: "max-value",
359
360
  step: "step"
360
- }, me = {
361
- ...r,
361
+ }, ge = {
362
+ ...a,
362
363
  placeholder: "placeholder",
363
364
  minDate: "min-date"
364
- }, ge = {
365
- ...r,
365
+ }, Oe = {
366
+ ...a,
366
367
  text: "text",
367
368
  hint: "hint"
368
- }, Oe = {
369
- ...r,
370
- type: "type"
371
369
  }, Re = {
372
- ...r,
370
+ ...a,
371
+ type: "type"
372
+ }, Le = {
373
+ ...a,
373
374
  buttons: "buttons"
374
- }, p = {
375
- ...r,
375
+ }, X = {
376
+ ...a,
376
377
  searchable: "searchable",
377
378
  multiSelect: "multi-select",
378
379
  placeholder: "placeholder",
379
380
  items: "items"
380
- }, Le = {
381
- ...p,
382
- addCustomFontOption: "add-custom-font-option"
383
381
  }, _e = {
384
- ...r,
382
+ ...X,
383
+ addCustomFontOption: "add-custom-font-option"
384
+ }, Ce = {
385
+ ...a,
385
386
  text: "text",
386
387
  value: "value"
387
- }, Ce = {
388
- ...r,
388
+ }, Ae = {
389
+ ...a,
389
390
  text: "text",
390
391
  hint: "hint",
391
392
  icon: "icon",
392
393
  value: "value"
393
- }, Ae = {
394
- ...r,
395
- buttons: "buttons"
396
394
  }, Ne = {
397
- ...r,
395
+ ...a,
396
+ buttons: "buttons"
397
+ }, De = {
398
+ ...a,
398
399
  text: "text",
399
400
  hint: "hint",
400
401
  icon: "icon",
401
402
  value: "value"
402
- }, De = {
403
- ...r,
404
- placeholder: "placeholder"
405
403
  }, Se = {
406
- ...r,
407
- resizable: "resizable",
404
+ ...a,
408
405
  placeholder: "placeholder"
409
406
  }, Me = {
410
- ...r,
407
+ ...a,
408
+ resizable: "resizable",
409
+ placeholder: "placeholder"
410
+ }, Be = {
411
+ ...a,
411
412
  img: "img",
412
413
  src: "src",
413
414
  title: "title",
@@ -417,54 +418,61 @@ var j = {
417
418
  isActive: "is-active",
418
419
  visibility: "visibility",
419
420
  transform: "transform"
420
- }, Be = {
421
- ...r,
422
- controlId: "control-id"
423
421
  }, xe = {
424
- ...r,
425
- expanded: "expanded"
422
+ ...a,
423
+ controlId: "control-id"
426
424
  }, ve = {
427
- ...r,
425
+ ...a,
426
+ expanded: "expanded"
427
+ }, ye = {
428
+ ...a,
428
429
  icon: "icon",
429
430
  position: "position"
430
- }, ye = {
431
- ...r
432
431
  }, Pe = {
433
- ...r,
434
- icon: "icon"
432
+ ...a
435
433
  }, Ue = {
436
- ...r
434
+ ...a,
435
+ icon: "icon"
437
436
  }, we = {
438
- ...r,
437
+ ...a
438
+ }, Ke = {
439
+ ...a,
439
440
  blockId: "block-id"
440
- }, Ze = {
441
- DEFAULT: r,
442
- BUTTON: Ie,
443
- CHECKBOX: be,
444
- CHECK_BUTTONS: Ae,
445
- COLOR: r,
446
- COUNTER: he,
447
- DATEPICKER: me,
448
- LABEL: ge,
449
- MESSAGE: Oe,
450
- RADIO_BUTTONS: Re,
451
- SELECTPICKER: p,
452
- FONT_FAMILY_SELECT: Le,
453
- SWITCHER: r,
454
- TEXT: De,
455
- TEXTAREA: Se,
456
- ICON: Me,
457
- CHECK_ITEM: Ce,
458
- SELECT_ITEM: _e,
459
- RADIO_ITEM: Ne,
460
- NESTED_CONTROL: Be,
461
- EXPANDABLE: xe,
462
- ORDERABLE: ve,
463
- ORDERABLE_ITEM: ye,
464
- ORDERABLE_ICON: Pe,
465
- REPEATABLE: Ue,
466
- DRAGGABLE_BLOCK: we
467
- }, 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))(Ke || {}), x = class {
441
+ }, Fe = {
442
+ ...a
443
+ }, He = {
444
+ ...a,
445
+ placeholder: "placeholder"
446
+ }, Je = {
447
+ DEFAULT: a,
448
+ BUTTON: be,
449
+ CHECKBOX: he,
450
+ CHECK_BUTTONS: Ne,
451
+ COLOR: a,
452
+ COUNTER: me,
453
+ DATEPICKER: ge,
454
+ LABEL: Oe,
455
+ MESSAGE: Re,
456
+ RADIO_BUTTONS: Le,
457
+ SELECTPICKER: X,
458
+ FONT_FAMILY_SELECT: _e,
459
+ SWITCHER: a,
460
+ TEXT: Se,
461
+ TEXTAREA: Me,
462
+ ICON: Be,
463
+ CHECK_ITEM: Ae,
464
+ SELECT_ITEM: Ce,
465
+ RADIO_ITEM: De,
466
+ NESTED_CONTROL: xe,
467
+ EXPANDABLE: ve,
468
+ ORDERABLE: ye,
469
+ ORDERABLE_ITEM: Pe,
470
+ ORDERABLE_ICON: Ue,
471
+ REPEATABLE: we,
472
+ DRAGGABLE_BLOCK: Ke,
473
+ AMP_FORM_SERVICE_PICKER: Fe,
474
+ MULTIPLE_SELECT: He
475
+ }, 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 {
468
476
  /**
469
477
  * @description returns map of nodes parent control operates on
470
478
  */
@@ -495,66 +503,66 @@ var j = {
495
503
  isVisible(e) {
496
504
  return !0;
497
505
  }
498
- }, l = class extends x {
506
+ }, l = class extends v {
499
507
  getTargetNodes(e) {
500
- const t = e.querySelectorAll(c.BUTTON), a = e.asElement().hasClass(P) ? [e] : [];
501
- return t.length ? t : a;
508
+ const t = e.querySelectorAll(c.BUTTON), r = e.asElement().hasClass(U) ? [e] : [];
509
+ return t.length ? t : r;
502
510
  }
503
- }, je = class extends l {
511
+ }, et = class extends l {
504
512
  getParentControlId() {
505
513
  return n.BLOCK_BUTTON.BORDER_RADIUS;
506
514
  }
507
515
  getLabels() {
508
516
  }
509
- }, qe = class extends l {
517
+ }, tt = class extends l {
510
518
  getParentControlId() {
511
519
  return n.BLOCK_BUTTON.ALIGNMENT;
512
520
  }
513
- }, Je = class extends l {
521
+ }, rt = class extends l {
514
522
  getParentControlId() {
515
523
  return n.GENERAL.BACKGROUND_COLOR;
516
524
  }
517
- }, et = class extends l {
525
+ }, at = class extends l {
518
526
  getParentControlId() {
519
527
  return n.BLOCK_BUTTON.BORDER;
520
528
  }
521
529
  getLabels() {
522
530
  }
523
- }, tt = class extends l {
531
+ }, nt = class extends l {
524
532
  getParentControlId() {
525
533
  return n.BLOCK_BUTTON.COLOR;
526
534
  }
527
- }, rt = class extends l {
535
+ }, st = class extends l {
528
536
  getParentControlId() {
529
537
  return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
530
538
  }
531
- }, at = class extends l {
539
+ }, it = class extends l {
532
540
  getParentControlId() {
533
541
  return n.BLOCK_BUTTON.FONT_FAMILY;
534
542
  }
535
- }, nt = class extends l {
543
+ }, lt = class extends l {
536
544
  getParentControlId() {
537
545
  return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
538
546
  }
539
- }, st = class extends l {
547
+ }, Et = class extends l {
540
548
  getParentControlId() {
541
549
  return n.BLOCK_BUTTON.INTERNAL_INDENTS;
542
550
  }
543
- }, it = class extends l {
551
+ }, ot = class extends l {
544
552
  getParentControlId() {
545
553
  return n.BLOCK_BUTTON.TEXT;
546
554
  }
547
- }, lt = class extends l {
555
+ }, dt = class extends l {
548
556
  getParentControlId() {
549
557
  return n.BLOCK_BUTTON.FONT_SIZE;
550
558
  }
551
- }, Et = class extends l {
559
+ }, ut = class extends l {
552
560
  getParentControlId() {
553
561
  return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
554
562
  }
555
563
  getLabels() {
556
564
  }
557
- }, X = class h extends s {
565
+ }, G = class h extends i {
558
566
  constructor() {
559
567
  super(h.REQUIRED_METHODS, h);
560
568
  }
@@ -609,8 +617,8 @@ var j = {
609
617
  onDocumentChanged(t) {
610
618
  }
611
619
  };
612
- X.REQUIRED_METHODS = ["getId", "getTemplate"];
613
- var ot = X, Fe = class m extends s {
620
+ G.REQUIRED_METHODS = ["getId", "getTemplate"];
621
+ var ct = G, pe = class m extends i {
614
622
  constructor() {
615
623
  super(m.REQUIRED_METHODS, m);
616
624
  }
@@ -679,21 +687,21 @@ var ot = X, Fe = class m extends s {
679
687
  onDestroy() {
680
688
  }
681
689
  };
682
- Fe.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
683
- var G = class extends x {
690
+ pe.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
691
+ var V = class extends v {
684
692
  getTargetNodes(e) {
685
- const t = e.querySelectorAll(c.IMAGE), a = e.asElement().hasClass(w) ? [e] : [];
686
- return t.length ? t : a;
693
+ const t = e.querySelectorAll(c.IMAGE), r = e.asElement().hasClass(K) ? [e] : [];
694
+ return t.length ? t : r;
687
695
  }
688
- }, dt = class extends G {
696
+ }, Tt = class extends V {
689
697
  getParentControlId() {
690
698
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
691
699
  }
692
- }, ut = class extends G {
700
+ }, It = class extends V {
693
701
  getParentControlId() {
694
702
  return n.BLOCK_IMAGE.SIZE;
695
703
  }
696
- }, He = class g extends s {
704
+ }, Xe = class g extends i {
697
705
  constructor() {
698
706
  super(g.REQUIRED_METHODS, g);
699
707
  }
@@ -757,8 +765,8 @@ var G = class extends x {
757
765
  onDocumentChanged() {
758
766
  }
759
767
  };
760
- He.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
761
- var V = class O extends s {
768
+ Xe.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
769
+ var f = class O extends i {
762
770
  constructor() {
763
771
  super(O.REQUIRED_METHODS, O);
764
772
  }
@@ -766,10 +774,10 @@ var V = class O extends s {
766
774
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
767
775
  }
768
776
  };
769
- V.REQUIRED_METHODS = ["registerBlockControls"];
770
- var ct = V, Tt = class {
771
- constructor(e, t) {
772
- this.tabId = e, this.controlsIds = t;
777
+ f.REQUIRED_METHODS = ["registerBlockControls"];
778
+ var bt = f, ht = class R {
779
+ constructor(t, r) {
780
+ this.tabId = t, this.controls = r.map(R.normalizeControl);
773
781
  }
774
782
  getTabId() {
775
783
  return this.tabId;
@@ -778,52 +786,66 @@ var ct = V, Tt = class {
778
786
  return this.label;
779
787
  }
780
788
  getControlsIds() {
781
- return this.controlsIds;
789
+ return this.controls.map((t) => t.id);
790
+ }
791
+ getControls() {
792
+ return this.controls;
782
793
  }
783
- withLabel(e) {
784
- return this.label = e, this;
794
+ withLabel(t) {
795
+ return this.label = t, this;
785
796
  }
786
- addControl(e, t) {
787
- return t < 0 ? this.controlsIds.unshift(e) : t > this.controlsIds.length ? this.controlsIds.push(e) : this.controlsIds.splice(t, 0, e), this;
797
+ addControl(t, r) {
798
+ const s = R.normalizeControl(t);
799
+ return r < 0 ? this.controls.unshift(s) : r > this.controls.length ? this.controls.push(s) : this.controls.splice(r, 0, s), this;
788
800
  }
789
- deleteControl(e) {
790
- const t = this.controlsIds.indexOf(e);
791
- t !== -1 && this.controlsIds.splice(t, 1);
801
+ deleteControl(t) {
802
+ const r = this.controls.findIndex((s) => s.id === t);
803
+ r !== -1 && this.controls.splice(r, 1);
792
804
  }
793
- }, E = class extends x {
805
+ static normalizeControl(t) {
806
+ if (typeof t == "string")
807
+ return { id: t };
808
+ if (!t.id)
809
+ throw new Error("SettingsPanelTabControlConfig.id is required");
810
+ return {
811
+ ...t,
812
+ id: t.id
813
+ };
814
+ }
815
+ }, E = class extends v {
794
816
  getTargetNodes(e) {
795
- const t = e.querySelectorAll(c.TEXT), a = e.asElement().hasClass(U) ? [e] : [];
796
- return t.length ? t : a;
817
+ const t = e.querySelectorAll(c.TEXT), r = e.asElement().hasClass(w) ? [e] : [];
818
+ return t.length ? t : r;
797
819
  }
798
- }, It = class extends E {
820
+ }, mt = class extends E {
799
821
  getParentControlId() {
800
822
  return n.GENERAL.TEXT_ALIGN;
801
823
  }
802
- }, bt = class extends E {
824
+ }, gt = class extends E {
803
825
  getParentControlId() {
804
826
  return n.GENERAL.TEXT_COLOR;
805
827
  }
806
- }, ht = class extends E {
828
+ }, Ot = class extends E {
807
829
  getParentControlId() {
808
830
  return n.BLOCK_TEXT.FONT_FAMILY;
809
831
  }
810
- }, mt = class extends E {
832
+ }, Rt = class extends E {
811
833
  getParentControlId() {
812
834
  return n.GENERAL.TEXT_LINE_SPACING;
813
835
  }
814
- }, gt = class extends E {
836
+ }, Lt = class extends E {
815
837
  getParentControlId() {
816
838
  return n.BLOCK_TEXT.INTERNAL_INDENTS;
817
839
  }
818
- }, Ot = class extends E {
840
+ }, _t = class extends E {
819
841
  getParentControlId() {
820
842
  return n.GENERAL.TEXT_SIZE;
821
843
  }
822
- }, Rt = class extends E {
844
+ }, Ct = class extends E {
823
845
  getParentControlId() {
824
846
  return n.GENERAL.TEXT_STYLE;
825
847
  }
826
- }, ke = class {
848
+ }, Ge = class {
827
849
  constructor(e) {
828
850
  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);
829
851
  }
@@ -887,7 +909,7 @@ var ct = V, Tt = class {
887
909
  getModulesPanelTabs() {
888
910
  return this.modulesPanelTabs;
889
911
  }
890
- }, Lt = class {
912
+ }, At = class {
891
913
  constructor() {
892
914
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [], this.modulesPanelTabs = [];
893
915
  }
@@ -958,7 +980,7 @@ var ct = V, Tt = class {
958
980
  return this.modulesPanelTabs.push(e), this;
959
981
  }
960
982
  build() {
961
- return new ke({
983
+ return new Ge({
962
984
  i18n: this.i18n,
963
985
  styles: this.styles.map((e) => e.trim()).join(`
964
986
  `),
@@ -981,18 +1003,18 @@ var ct = V, Tt = class {
981
1003
  modulesPanelTabs: this.modulesPanelTabs
982
1004
  });
983
1005
  }
984
- }, pe = class R extends s {
1006
+ }, Ve = class L extends i {
985
1007
  constructor() {
986
- super(R.REQUIRED_METHODS, R);
1008
+ super(L.REQUIRED_METHODS, L);
987
1009
  }
988
1010
  openAiAssistant(t) {
989
1011
  throw new Error("Method openAiAssistant() must be implemented by the subclass");
990
1012
  }
991
1013
  };
992
- pe.REQUIRED_METHODS = ["openAiAssistant"];
993
- var Xe = class L extends s {
1014
+ Ve.REQUIRED_METHODS = ["openAiAssistant"];
1015
+ var fe = class _ extends i {
994
1016
  constructor() {
995
- super(L.REQUIRED_METHODS, L);
1017
+ super(_.REQUIRED_METHODS, _);
996
1018
  }
997
1019
  /**
998
1020
  * Retrieves the name of the category.
@@ -1009,7 +1031,7 @@ var Xe = class L extends s {
1009
1031
  * @param {ExternalDisplayConditionSelectedCB} _successCallback - Callback executed with the updated or newly created condition upon success.
1010
1032
  * @param {() => void} _cancelCallback - Callback executed when the dialog is closed without making changes.
1011
1033
  */
1012
- openExternalDisplayConditionsDialog(t, a, i) {
1034
+ openExternalDisplayConditionsDialog(t, r, s) {
1013
1035
  throw new Error("Method openExternalDisplayConditionsDialog() must be implemented by the subclass");
1014
1036
  }
1015
1037
  /**
@@ -1030,19 +1052,19 @@ var Xe = class L extends s {
1030
1052
  throw new Error("Method getContextActionIndex() must be implemented by the subclass");
1031
1053
  }
1032
1054
  };
1033
- Xe.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
1034
- var Ge = class _ extends s {
1055
+ fe.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
1056
+ var Qe = class C extends i {
1035
1057
  constructor() {
1036
- super(_.REQUIRED_METHODS, _);
1058
+ super(C.REQUIRED_METHODS, C);
1037
1059
  }
1038
- openImageLibrary(t, a, i) {
1060
+ openImageLibrary(t, r, s) {
1039
1061
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
1040
1062
  }
1041
1063
  };
1042
- Ge.REQUIRED_METHODS = ["openImageLibrary"];
1043
- var Ve = class C extends s {
1064
+ Qe.REQUIRED_METHODS = ["openImageLibrary"];
1065
+ var Ye = class A extends i {
1044
1066
  constructor() {
1045
- super(C.REQUIRED_METHODS, C);
1067
+ super(A.REQUIRED_METHODS, A);
1046
1068
  }
1047
1069
  /**
1048
1070
  * @description Returns the translated name/label for the tab
@@ -1057,39 +1079,39 @@ var Ve = class C extends s {
1057
1079
  * @param _onImageSelectCallback - Callback to invoke when an image is selected
1058
1080
  * @param _selectedNode - (Optional) Selected node for which the gallery is being opened
1059
1081
  */
1060
- openImageLibraryTab(t, a, i) {
1082
+ openImageLibraryTab(t, r, s) {
1061
1083
  throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
1062
1084
  }
1063
1085
  };
1064
- Ve.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
1065
- var Qe = class A extends s {
1086
+ Ye.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
1087
+ var $e = class N extends i {
1066
1088
  constructor() {
1067
- super(A.REQUIRED_METHODS, A);
1089
+ super(N.REQUIRED_METHODS, N);
1068
1090
  }
1069
- openSmartElementsLibrary(t, a) {
1091
+ openSmartElementsLibrary(t, r) {
1070
1092
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
1071
1093
  }
1072
1094
  };
1073
- Qe.REQUIRED_METHODS = ["openSmartElementsLibrary"];
1074
- var fe = class N extends s {
1095
+ $e.REQUIRED_METHODS = ["openSmartElementsLibrary"];
1096
+ var We = class D extends i {
1075
1097
  constructor() {
1076
- super(N.REQUIRED_METHODS, N);
1098
+ super(D.REQUIRED_METHODS, D);
1077
1099
  }
1078
- openExternalVideosLibraryDialog(t, a, i) {
1100
+ openExternalVideosLibraryDialog(t, r, s) {
1079
1101
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
1080
1102
  }
1081
1103
  };
1082
- fe.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
1083
- var Q = class D extends s {
1104
+ We.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
1105
+ var Q = class S extends i {
1084
1106
  constructor() {
1085
- super(D.REQUIRED_METHODS, D);
1107
+ super(S.REQUIRED_METHODS, S);
1086
1108
  }
1087
1109
  registerIconsSvg(t) {
1088
1110
  throw new Error("Method registerIconsSvg() must be implemented by the subclass");
1089
1111
  }
1090
1112
  };
1091
1113
  Q.REQUIRED_METHODS = ["registerIconsSvg"];
1092
- var _t = Q, Ct = class {
1114
+ var Nt = Q, Dt = class {
1093
1115
  constructor(e) {
1094
1116
  this.key = e;
1095
1117
  }
@@ -1102,9 +1124,9 @@ var _t = Q, Ct = class {
1102
1124
  params: this.params
1103
1125
  };
1104
1126
  }
1105
- }, f = class S extends s {
1127
+ }, Y = class M extends i {
1106
1128
  constructor() {
1107
- super(S.REQUIRED_METHODS, S);
1129
+ super(M.REQUIRED_METHODS, M);
1108
1130
  }
1109
1131
  /**
1110
1132
  * Called when the UI element should render its content into the provided container.
@@ -1139,7 +1161,7 @@ var _t = Q, Ct = class {
1139
1161
  * @param name - The name of the attribute that was updated.
1140
1162
  * @param value - The new value of the attribute.
1141
1163
  */
1142
- onAttributeUpdated(t, a) {
1164
+ onAttributeUpdated(t, r) {
1143
1165
  }
1144
1166
  /**
1145
1167
  * Gets the unique identifier for this UI element type.
@@ -1157,64 +1179,64 @@ var _t = Q, Ct = class {
1157
1179
  throw new Error("Method getTemplate() must be implemented by the subclass");
1158
1180
  }
1159
1181
  };
1160
- f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
1161
- var At = f, Y = class M extends s {
1182
+ Y.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
1183
+ var St = Y, $ = class B extends i {
1162
1184
  constructor() {
1163
- super(M.REQUIRED_METHODS, M);
1185
+ super(B.REQUIRED_METHODS, B);
1164
1186
  }
1165
1187
  registerUiElements(t) {
1166
1188
  throw new Error("Method registerUiElements() must be implemented by the subclass");
1167
1189
  }
1168
1190
  };
1169
- Y.REQUIRED_METHODS = ["registerUiElements"];
1170
- var Nt = Y;
1191
+ $.REQUIRED_METHODS = ["registerUiElements"];
1192
+ var Mt = $;
1171
1193
  export {
1172
- $e as Block,
1173
- ze as BlockAttr,
1174
- W as BlockCompositionType,
1194
+ Ze as Block,
1195
+ je as BlockAttr,
1196
+ z as BlockCompositionType,
1175
1197
  c as BlockSelector,
1176
- oe as BlockType,
1177
- We as BlocksPanel,
1178
- x as BuiltInControl,
1198
+ de as BlockType,
1199
+ qe as BlocksPanel,
1200
+ v as BuiltInControl,
1179
1201
  n as BuiltInControlTypes,
1180
- qe as ButtonAlignBuiltInControl,
1181
- Je as ButtonBackgroundColorBuiltInControl,
1182
- et as ButtonBorderBuiltInControl,
1183
- je as ButtonBorderRadiusBuiltInControl,
1184
- tt as ButtonColorBuiltInControl,
1185
- F as ButtonControls,
1186
- rt as ButtonFitToContainerBuiltInControl,
1187
- at as ButtonFontFamilyBuiltInControl,
1188
- nt as ButtonMarginsBuiltInControl,
1189
- st as ButtonPaddingsBuiltInControl,
1190
- it as ButtonTextBuiltInControl,
1191
- lt as ButtonTextSizeBuiltInControl,
1192
- Et as ButtonTextStyleAndFontColorBuiltInControl,
1193
- de as ContainerControls,
1194
- ot as Control,
1195
- ue as EditorStatePropertyType,
1196
- ke as Extension,
1197
- Lt as ExtensionBuilder,
1198
- K as GeneralControls,
1199
- _t as IconsRegistry,
1200
- k as ImageControls,
1201
- dt as ImageMarginsBuiltInControl,
1202
- ut as ImageSizeBuiltInControl,
1203
- Ct as ModificationDescription,
1204
- ce as PreviewDeviceMode,
1205
- ct as SettingsPanelRegistry,
1206
- Tt as SettingsPanelTab,
1207
- Te as SettingsTab,
1208
- It as TextAlignBuiltInControl,
1209
- bt as TextColorBuiltInControl,
1210
- H as TextControls,
1211
- ht as TextFontFamilyBuiltInControl,
1212
- mt as TextLineSpacingBuiltInControl,
1213
- gt as TextPaddingsBuiltInControl,
1214
- Ot as TextSizeBuiltInControl,
1215
- Rt as TextStyleBuiltInControl,
1216
- Ze as UEAttr,
1217
- At as UIElement,
1218
- Nt as UIElementTagRegistry,
1219
- Ke as UIElementType
1202
+ tt as ButtonAlignBuiltInControl,
1203
+ rt as ButtonBackgroundColorBuiltInControl,
1204
+ at as ButtonBorderBuiltInControl,
1205
+ et as ButtonBorderRadiusBuiltInControl,
1206
+ nt as ButtonColorBuiltInControl,
1207
+ H as ButtonControls,
1208
+ st as ButtonFitToContainerBuiltInControl,
1209
+ it as ButtonFontFamilyBuiltInControl,
1210
+ lt as ButtonMarginsBuiltInControl,
1211
+ Et as ButtonPaddingsBuiltInControl,
1212
+ ot as ButtonTextBuiltInControl,
1213
+ dt as ButtonTextSizeBuiltInControl,
1214
+ ut as ButtonTextStyleAndFontColorBuiltInControl,
1215
+ ue as ContainerControls,
1216
+ ct as Control,
1217
+ ce as EditorStatePropertyType,
1218
+ Ge as Extension,
1219
+ At as ExtensionBuilder,
1220
+ F as GeneralControls,
1221
+ Nt as IconsRegistry,
1222
+ p as ImageControls,
1223
+ Tt as ImageMarginsBuiltInControl,
1224
+ It as ImageSizeBuiltInControl,
1225
+ Dt as ModificationDescription,
1226
+ Te as PreviewDeviceMode,
1227
+ bt as SettingsPanelRegistry,
1228
+ ht as SettingsPanelTab,
1229
+ Ie as SettingsTab,
1230
+ mt as TextAlignBuiltInControl,
1231
+ gt as TextColorBuiltInControl,
1232
+ k as TextControls,
1233
+ Ot as TextFontFamilyBuiltInControl,
1234
+ Rt as TextLineSpacingBuiltInControl,
1235
+ Lt as TextPaddingsBuiltInControl,
1236
+ _t as TextSizeBuiltInControl,
1237
+ Ct as TextStyleBuiltInControl,
1238
+ Je as UEAttr,
1239
+ St as UIElement,
1240
+ Mt as UIElementTagRegistry,
1241
+ ke as UIElementType
1220
1242
  };