@useinsider/guido 2.1.0-beta.bc18abc → 2.1.0-beta.bf5c6f2

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 (65) hide show
  1. package/README.md +36 -0
  2. package/dist/@types/config/schemas.js +70 -65
  3. package/dist/components/Guido.vue.js +1 -1
  4. package/dist/components/Guido.vue2.js +69 -58
  5. package/dist/components/organisms/header/HeaderWrapper.vue.js +9 -9
  6. package/dist/composables/useActionsApi.js +15 -13
  7. package/dist/composables/useBlocksConfig.js +26 -16
  8. package/dist/composables/useStripo.js +25 -23
  9. package/dist/composables/useVersionHistoryApi.js +1 -1
  10. package/dist/config/localePatch/index.js +13 -0
  11. package/dist/config/localePatch/labels.json.js +7 -0
  12. package/dist/config/localePatch/toasters.json.js +56 -0
  13. package/dist/config/localePatch/tooltips.json.js +82 -0
  14. package/dist/config/migrator/itemsBlockMigrator.js +140 -123
  15. package/dist/enums/defaults.js +8 -4
  16. package/dist/extensions/Blocks/Items/block.js +19 -28
  17. package/dist/extensions/Blocks/Items/controls/button/link.js +19 -31
  18. package/dist/extensions/Blocks/Items/controls/cardComposition.js +124 -85
  19. package/dist/extensions/Blocks/Items/controls/image/link.js +19 -31
  20. package/dist/extensions/Blocks/Items/controls/name/trimming.js +28 -40
  21. package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +35 -47
  22. package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +49 -54
  23. package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +42 -51
  24. package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +23 -36
  25. package/dist/extensions/Blocks/Items/controls/price/priceOrientation.js +45 -57
  26. package/dist/extensions/Blocks/Items/controls/price/singlePrice.js +42 -60
  27. package/dist/extensions/Blocks/Items/controls/settingsControl.js +189 -196
  28. package/dist/extensions/Blocks/Items/enums/settingsEnums.js +0 -2
  29. package/dist/extensions/Blocks/Items/extension.js +8 -9
  30. package/dist/extensions/Blocks/Items/settingsPanel.js +10 -15
  31. package/dist/extensions/Blocks/Items/template.js +181 -175
  32. package/dist/extensions/Blocks/Items/utils/nodeConfigUtils.js +65 -65
  33. package/dist/extensions/Blocks/Recommendation/utils/preserveTextStyles.js +3 -3
  34. package/dist/extensions/Blocks/common-control.js +91 -92
  35. package/dist/extensions/ModulesTabIcons/extension.js +17 -0
  36. package/dist/guido.css +1 -1
  37. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +163 -95
  38. package/dist/src/@types/config/schemas.d.ts +8 -0
  39. package/dist/src/composables/useConfig.d.ts +4 -0
  40. package/dist/src/config/localePatch/index.d.ts +144 -0
  41. package/dist/src/enums/defaults.d.ts +4 -0
  42. package/dist/src/extensions/Blocks/Items/block.d.ts +0 -1
  43. package/dist/src/extensions/Blocks/Items/controls/button/link.d.ts +0 -1
  44. package/dist/src/extensions/Blocks/Items/controls/cardComposition.d.ts +5 -5
  45. package/dist/src/extensions/Blocks/Items/controls/image/link.d.ts +0 -1
  46. package/dist/src/extensions/Blocks/Items/controls/name/trimming.d.ts +0 -1
  47. package/dist/src/extensions/Blocks/Items/controls/price/currencyLocation.d.ts +0 -1
  48. package/dist/src/extensions/Blocks/Items/controls/price/currencySymbol.d.ts +0 -1
  49. package/dist/src/extensions/Blocks/Items/controls/price/formattedPrice.d.ts +0 -1
  50. package/dist/src/extensions/Blocks/Items/controls/price/hideDiscount.d.ts +0 -1
  51. package/dist/src/extensions/Blocks/Items/controls/price/priceOrientation.d.ts +0 -1
  52. package/dist/src/extensions/Blocks/Items/controls/price/singlePrice.d.ts +0 -5
  53. package/dist/src/extensions/Blocks/Items/controls/settingsControl.d.ts +10 -12
  54. package/dist/src/extensions/Blocks/Items/utils/nodeConfigUtils.d.ts +2 -1
  55. package/dist/src/extensions/Blocks/common-control.d.ts +4 -5
  56. package/dist/src/extensions/ModulesTabIcons/extension.d.ts +2 -0
  57. package/dist/src/stores/config.d.ts +36 -0
  58. package/dist/static/styles/components/notification.css.js +19 -0
  59. package/dist/static/styles/components/tools.css.js +6 -2
  60. package/dist/static/styles/components/version-history.css.js +10 -2
  61. package/dist/static/styles/components/wide-panel.css.js +18 -2
  62. package/dist/static/styles/variables.css.js +1 -0
  63. package/package.json +1 -1
  64. package/dist/extensions/Blocks/Items/store/items-block.js +0 -79
  65. package/dist/src/extensions/Blocks/Items/store/items-block.d.ts +0 -45
@@ -34,7 +34,7 @@ ${s.map((o) => ` - ${o}`).join(`
34
34
  };
35
35
  B.validatedClasses = /* @__PURE__ */ new Set();
36
36
  B.validationErrors = /* @__PURE__ */ new Map();
37
- var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), y = class T extends a {
37
+ var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCTURE", e.CONTAINER = "CONTAINER", e))($ || {}), v = class T extends a {
38
38
  constructor() {
39
39
  super(T.REQUIRED_METHODS, T);
40
40
  }
@@ -195,8 +195,8 @@ var a = B, $ = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.STRUCTURE = "STRUCT
195
195
  throw new Error("Method getDescription() must be implemented by the subclass");
196
196
  }
197
197
  };
198
- y.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
- var we = y, W = class c extends a {
198
+ v.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
199
+ var Pe = v, W = class c extends a {
200
200
  constructor() {
201
201
  super(c.REQUIRED_METHODS, c);
202
202
  }
@@ -214,7 +214,74 @@ var we = y, W = class c extends a {
214
214
  }
215
215
  };
216
216
  W.REQUIRED_METHODS = ["getPreviewInnerHtml"];
217
- var z = class O extends a {
217
+ var we = class {
218
+ /**
219
+ * Generates HTML representation for a block item
220
+ * @param block - The block item to generate HTML for
221
+ * @returns HTML string representation of the block or undefined if default representation should be used
222
+ */
223
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
224
+ getBlockItemHtml(e) {
225
+ }
226
+ /**
227
+ * Determines whether a hint should be displayed for the block
228
+ * @param block - The block item to check hint visibility for
229
+ * @returns True if the hint should be visible, false otherwise
230
+ */
231
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
232
+ isBlockHintVisible(e) {
233
+ return !0;
234
+ }
235
+ /**
236
+ * Gets the hint text for a block
237
+ * @param block - The block item to get hint for
238
+ * @returns The hint text for the block or undefined if default hint should be used
239
+ */
240
+ getBlockHint(e) {
241
+ return {
242
+ title: e.title,
243
+ description: e.description
244
+ };
245
+ }
246
+ /**
247
+ * Generates HTML representation for the blocks panel header
248
+ * @returns HTML string representation of the blocks panel header or undefined if header should not be shown
249
+ */
250
+ getBlocksPanelHeaderHtml() {
251
+ }
252
+ /**
253
+ * Generates HTML representation for the modules panel in collapsed state
254
+ * @returns HTML string representation of the collapsed modules panel or undefined if default representation should be used
255
+ */
256
+ getModulesPanelCollapsedHtml() {
257
+ }
258
+ /**
259
+ * Determines whether a hint should be displayed for the collapsed modules panel
260
+ * @returns True if the hint should be visible, false otherwise
261
+ */
262
+ isModulesPanelCollapsedHintVisible() {
263
+ return !0;
264
+ }
265
+ /**
266
+ * Gets the custom delay for showing hints
267
+ * @returns The delay in milliseconds or undefined to use the default delay
268
+ */
269
+ getHintDelay() {
270
+ }
271
+ /**
272
+ * Gets the hint text for a modules panel block
273
+ * @returns The hint text for the modules panel or undefined if default hint should be used
274
+ */
275
+ getModulesPanelHint() {
276
+ }
277
+ /**
278
+ * Gets the icon name for the modules tab
279
+ * @returns The icon name for the modules tab or undefined if default icon or text should be used
280
+ */
281
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
282
+ getModulesTabIconName(e) {
283
+ }
284
+ }, z = class O extends a {
218
285
  constructor() {
219
286
  super(O.REQUIRED_METHODS, O);
220
287
  }
@@ -240,42 +307,42 @@ var Z = {
240
307
  height: "height"
241
308
  }, j = {
242
309
  href: "href"
243
- }, Pe = {
310
+ }, Ke = {
244
311
  BLOCK_IMAGE: Z,
245
312
  BLOCK_BUTTON: j
246
- }, v = "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", ne = "esd-block-menu", ae = "esd-block-html", se = "esd-block-spacer", ie = "esd-container-frame", Ee = "esd-stripe", le = "esd-amp-form", I = ((e) => (e.BUTTON = `.${v}`, e.TEXT = `.${U}`, e.IMAGE = `.${w}`, e.STRUCTURE = `.${q}`, e.VIDEO = `.${J}`, e.SOCIAL = `.${ee}`, e.BANNER = `.${te}`, e.TIMER = `.${re}`, e.MENU = `.${ne}`, e.HTML = `.${ae}`, e.SPACER = `.${se}`, e.CONTAINER = `.${ie}`, e.STRIPE = `.${Ee}`, e.FORM = `.${le}`, e))(I || {}), 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 || {}), P = /* @__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))(P || {}), K = /* @__PURE__ */ ((e) => (e.ADJUST_TO_WIDTH = "adjustToWidth", e.ALIGNMENT = "buttonAlignment", e.BORDER = "buttonBorder", e.BORDER_RADIUS = "buttonBorderRadius", e.COLOR = "buttonColor", e.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", e.EXTERNAL_INDENTS = "buttonExternalIndents", e.FIXED_HEIGHT = "buttonFixedHeightForm", e.FONT_COLOR = "buttonFontColor", e.FONT_FAMILY = "buttonFontFamily", e.FONT_SIZE = "buttonFontSize", e.ICON = "buttonIconContainer", e.ICON_ALIGN = "buttonIconAlign", e.ICON_INDENT = "buttonIconIndent", e.ICON_WIDTH = "buttonIconWidth", e.IMAGE = "buttonImageForm", e.INTERNAL_INDENTS = "buttonInternalIndents", e.LINK = "buttonLink", e.MIME_TYPE = "buttonMimeTypeForm", e.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", e.TEXT = "buttonText", e.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", e.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", e.HOVERED_COLOR = "hoveredButtonColorForm", e.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", e))(K || {}), F = /* @__PURE__ */ ((e) => (e.HIDDEN_NODE = "hiddenNodeText", e.PARAGRAPH_STYLE = "paragraphStyleForm", e.ALIGN = "textAlignmentForm", e.ANCHOR_CONTAINER = "textAnchorForm", e.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", e.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", e.FONT_COLOR = "textBlockFontColor", e.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.LINKS_COLOR = "textLinksFontColorForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(F || {}), H = /* @__PURE__ */ ((e) => (e.ALT_TEXT = "altText", e.LINK = "blockLink", e.ALIGNMENT = "imageAlignment", e.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", e.BORDER_RADIUS = "imageBorderRadiusForm", e.IMAGE = "imageImageForm", e.EXTERNAL_INDENTS = "imageExternalIndents", e.MIME_TYPE = "imageMimeTypeForm", e.RESPONSIVE = "imageResponsive", e.ROLLOVER_IMAGE = "imageRolloverImageForm", e.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", e.SIZE = "imageSizeContainer", e))(H || {}), 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 = {
313
+ }, y = "esd-block-button", U = "esd-block-text", P = "esd-block-image", q = "esd-structure", J = "esd-block-video", ee = "esd-block-social", te = "esd-block-banner", re = "esd-block-timer", ne = "esd-block-menu", ae = "esd-block-html", se = "esd-block-spacer", ie = "esd-container-frame", le = "esd-stripe", Ee = "esd-amp-form", I = ((e) => (e.BUTTON = `.${y}`, e.TEXT = `.${U}`, e.IMAGE = `.${P}`, e.STRUCTURE = `.${q}`, e.VIDEO = `.${J}`, e.SOCIAL = `.${ee}`, e.BANNER = `.${te}`, e.TIMER = `.${re}`, e.MENU = `.${ne}`, e.HTML = `.${ae}`, e.SPACER = `.${se}`, e.CONTAINER = `.${ie}`, e.STRIPE = `.${le}`, e.FORM = `.${Ee}`, e))(I || {}), 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 || {}), w = /* @__PURE__ */ ((e) => (e.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", e.APPLY_CONDITION = "applyCondition", e.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", e.BACKGROUND_COLOR = "backgroundColor", e.BACKGROUND_IMAGE = "generalImageContainer", e.TEXT_COLOR = "textColor", e.TEXT_STYLE = "textStyle", e.TEXT_SIZE = "textSize", e.TEXT_LINE_SPACING = "textLineSpacing", e.TEXT_ALIGN = "textAlign", e.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", e.HIDDEN_NODE = "hiddenNode", e.SMART_BLOCK = "smartBlock", e.SYNCHRONIZED_MODULE = "synchronizedModuleForm", e.FONT_FAMILY = "generalFontFamilyForm", e.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", e.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", e))(w || {}), K = /* @__PURE__ */ ((e) => (e.ADJUST_TO_WIDTH = "adjustToWidth", e.ALIGNMENT = "buttonAlignment", e.BORDER = "buttonBorder", e.BORDER_RADIUS = "buttonBorderRadius", e.COLOR = "buttonColor", e.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", e.EXTERNAL_INDENTS = "buttonExternalIndents", e.FIXED_HEIGHT = "buttonFixedHeightForm", e.FONT_COLOR = "buttonFontColor", e.FONT_FAMILY = "buttonFontFamily", e.FONT_SIZE = "buttonFontSize", e.ICON = "buttonIconContainer", e.ICON_ALIGN = "buttonIconAlign", e.ICON_INDENT = "buttonIconIndent", e.ICON_WIDTH = "buttonIconWidth", e.IMAGE = "buttonImageForm", e.INTERNAL_INDENTS = "buttonInternalIndents", e.LINK = "buttonLink", e.MIME_TYPE = "buttonMimeTypeForm", e.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", e.TEXT = "buttonText", e.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", e.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", e.HOVERED_COLOR = "hoveredButtonColorForm", e.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", e))(K || {}), F = /* @__PURE__ */ ((e) => (e.HIDDEN_NODE = "hiddenNodeText", e.PARAGRAPH_STYLE = "paragraphStyleForm", e.ALIGN = "textAlignmentForm", e.ANCHOR_CONTAINER = "textAnchorForm", e.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", e.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", e.FONT_COLOR = "textBlockFontColor", e.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.LINKS_COLOR = "textLinksFontColorForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(F || {}), H = /* @__PURE__ */ ((e) => (e.ALT_TEXT = "altText", e.LINK = "blockLink", e.ALIGNMENT = "imageAlignment", e.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", e.BORDER_RADIUS = "imageBorderRadiusForm", e.IMAGE = "imageImageForm", e.EXTERNAL_INDENTS = "imageExternalIndents", e.MIME_TYPE = "imageMimeTypeForm", e.RESPONSIVE = "imageResponsive", e.ROLLOVER_IMAGE = "imageRolloverImageForm", e.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", e.SIZE = "imageSizeContainer", e))(H || {}), 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 = {
247
314
  BLOCK_BUTTON: K,
248
315
  BLOCK_TEXT: F,
249
316
  BLOCK_IMAGE: H,
250
- GENERAL: P
251
- }, ue = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(ue || {}), E = {
317
+ GENERAL: w
318
+ }, ue = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(ue || {}), l = {
252
319
  name: "name",
253
320
  disabled: "disabled"
254
321
  }, Ie = {
255
- ...E,
322
+ ...l,
256
323
  caption: "caption",
257
324
  icon: "icon"
258
325
  }, Te = {
259
- ...E,
326
+ ...l,
260
327
  caption: "caption"
261
328
  }, ce = {
262
- ...E,
329
+ ...l,
263
330
  minValue: "min-value",
264
331
  maxValue: "max-value",
265
332
  step: "step"
266
333
  }, Oe = {
267
- ...E,
334
+ ...l,
268
335
  text: "text"
269
- }, he = {
270
- ...E
271
- }, X = {
272
- ...E,
336
+ }, ge = {
337
+ ...l
338
+ }, k = {
339
+ ...l,
273
340
  searchable: "searchable",
274
341
  multiSelect: "multi-select",
275
342
  placeholder: "placeholder",
276
343
  items: "items"
277
- }, ge = {
278
- ...X
344
+ }, he = {
345
+ ...k
279
346
  }, be = {
280
347
  text: "text",
281
348
  value: "value"
@@ -284,25 +351,25 @@ var Z = {
284
351
  icon: "icon",
285
352
  value: "value"
286
353
  }, Re = {
287
- ...E
354
+ ...l
288
355
  }, _e = {
289
356
  controlId: "control-id"
290
357
  }, Le = {
291
- ...E,
358
+ ...l,
292
359
  icon: "icon",
293
360
  position: "position"
294
361
  }, Ce = {
295
- ...E
296
- }, Ke = {
362
+ ...l
363
+ }, Fe = {
297
364
  BUTTON: Ie,
298
365
  CHECKBOX: Te,
299
- COLOR: E,
366
+ COLOR: l,
300
367
  COUNTER: ce,
301
368
  LABEL: Oe,
302
- RADIO_BUTTONS: he,
303
- SELECTPICKER: X,
304
- FONT_FAMILY_SELECT: ge,
305
- SWITCHER: E,
369
+ RADIO_BUTTONS: ge,
370
+ SELECTPICKER: k,
371
+ FONT_FAMILY_SELECT: he,
372
+ SWITCHER: l,
306
373
  TEXT: Re,
307
374
  SELECT_ITEM: be,
308
375
  RADIO_ITEM: me,
@@ -342,16 +409,16 @@ var Z = {
342
409
  }
343
410
  }, i = class extends M {
344
411
  getTargetNodes(e) {
345
- const t = e.querySelectorAll(I.BUTTON), r = e.asElement().hasClass(v) ? [e] : [];
412
+ const t = e.querySelectorAll(I.BUTTON), r = e.asElement().hasClass(y) ? [e] : [];
346
413
  return t.length ? t : r;
347
414
  }
348
- }, Fe = class extends i {
415
+ }, He = class extends i {
349
416
  getParentControlId() {
350
417
  return n.BLOCK_BUTTON.BORDER_RADIUS;
351
418
  }
352
419
  getLabels() {
353
420
  }
354
- }, He = class extends i {
421
+ }, ke = class extends i {
355
422
  getParentControlId() {
356
423
  return n.BLOCK_BUTTON.ALIGNMENT;
357
424
  }
@@ -359,7 +426,7 @@ var Z = {
359
426
  getParentControlId() {
360
427
  return n.GENERAL.BACKGROUND_COLOR;
361
428
  }
362
- }, ke = class extends i {
429
+ }, Ve = class extends i {
363
430
  getParentControlId() {
364
431
  return n.BLOCK_BUTTON.BORDER;
365
432
  }
@@ -369,39 +436,39 @@ var Z = {
369
436
  getParentControlId() {
370
437
  return n.BLOCK_BUTTON.COLOR;
371
438
  }
372
- }, Ve = class extends i {
439
+ }, pe = class extends i {
373
440
  getParentControlId() {
374
441
  return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
375
442
  }
376
- }, pe = class extends i {
443
+ }, Qe = class extends i {
377
444
  getParentControlId() {
378
445
  return n.BLOCK_BUTTON.FONT_FAMILY;
379
446
  }
380
- }, Qe = class extends i {
447
+ }, fe = class extends i {
381
448
  getParentControlId() {
382
449
  return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
383
450
  }
384
- }, fe = class extends i {
451
+ }, Ye = class extends i {
385
452
  getParentControlId() {
386
453
  return n.BLOCK_BUTTON.INTERNAL_INDENTS;
387
454
  }
388
- }, Ye = class extends i {
455
+ }, $e = class extends i {
389
456
  getParentControlId() {
390
457
  return n.BLOCK_BUTTON.TEXT;
391
458
  }
392
- }, $e = class extends i {
459
+ }, We = class extends i {
393
460
  getParentControlId() {
394
461
  return n.BLOCK_BUTTON.FONT_SIZE;
395
462
  }
396
- }, We = class extends i {
463
+ }, ze = class extends i {
397
464
  getParentControlId() {
398
465
  return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
399
466
  }
400
467
  getLabels() {
401
468
  }
402
- }, k = class h extends a {
469
+ }, X = class g extends a {
403
470
  constructor() {
404
- super(h.REQUIRED_METHODS, h);
471
+ super(g.REQUIRED_METHODS, g);
405
472
  }
406
473
  /**
407
474
  * @description Allows to determine if control should be visible or hidden in control panel.
@@ -454,10 +521,10 @@ var Z = {
454
521
  onDocumentChanged(t) {
455
522
  }
456
523
  };
457
- k.REQUIRED_METHODS = ["getId", "getTemplate"];
458
- var ze = k, Ne = class g extends a {
524
+ X.REQUIRED_METHODS = ["getId", "getTemplate"];
525
+ var Ze = X, Ne = class h extends a {
459
526
  constructor() {
460
- super(g.REQUIRED_METHODS, g);
527
+ super(h.REQUIRED_METHODS, h);
461
528
  }
462
529
  /**
463
530
  * Gets the unique identifier for this tab.
@@ -525,20 +592,20 @@ var ze = k, Ne = class g extends a {
525
592
  }
526
593
  };
527
594
  Ne.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
528
- var G = class extends M {
595
+ var V = class extends M {
529
596
  getTargetNodes(e) {
530
- const t = e.querySelectorAll(I.IMAGE), r = e.asElement().hasClass(w) ? [e] : [];
597
+ const t = e.querySelectorAll(I.IMAGE), r = e.asElement().hasClass(P) ? [e] : [];
531
598
  return t.length ? t : r;
532
599
  }
533
- }, Ze = class extends G {
600
+ }, je = class extends V {
534
601
  getParentControlId() {
535
602
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
536
603
  }
537
- }, je = class extends G {
604
+ }, qe = class extends V {
538
605
  getParentControlId() {
539
606
  return n.BLOCK_IMAGE.SIZE;
540
607
  }
541
- }, V = class b extends a {
608
+ }, G = class b extends a {
542
609
  constructor() {
543
610
  super(b.REQUIRED_METHODS, b);
544
611
  }
@@ -546,8 +613,8 @@ var G = class extends M {
546
613
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
547
614
  }
548
615
  };
549
- V.REQUIRED_METHODS = ["registerBlockControls"];
550
- var qe = V, Je = class {
616
+ G.REQUIRED_METHODS = ["registerBlockControls"];
617
+ var Je = G, et = class {
551
618
  constructor(e, t) {
552
619
  this.tabId = e, this.controlsIds = t;
553
620
  }
@@ -570,36 +637,36 @@ var qe = V, Je = class {
570
637
  const t = this.controlsIds.indexOf(e);
571
638
  t !== -1 && this.controlsIds.splice(t, 1);
572
639
  }
573
- }, l = class extends M {
640
+ }, E = class extends M {
574
641
  getTargetNodes(e) {
575
642
  const t = e.querySelectorAll(I.TEXT), r = e.asElement().hasClass(U) ? [e] : [];
576
643
  return t.length ? t : r;
577
644
  }
578
- }, et = class extends l {
645
+ }, tt = class extends E {
579
646
  getParentControlId() {
580
647
  return n.GENERAL.TEXT_ALIGN;
581
648
  }
582
- }, tt = class extends l {
649
+ }, rt = class extends E {
583
650
  getParentControlId() {
584
651
  return n.GENERAL.TEXT_COLOR;
585
652
  }
586
- }, rt = class extends l {
653
+ }, nt = class extends E {
587
654
  getParentControlId() {
588
655
  return n.BLOCK_TEXT.FONT_FAMILY;
589
656
  }
590
- }, nt = class extends l {
657
+ }, at = class extends E {
591
658
  getParentControlId() {
592
659
  return n.GENERAL.TEXT_LINE_SPACING;
593
660
  }
594
- }, at = class extends l {
661
+ }, st = class extends E {
595
662
  getParentControlId() {
596
663
  return n.BLOCK_TEXT.INTERNAL_INDENTS;
597
664
  }
598
- }, st = class extends l {
665
+ }, it = class extends E {
599
666
  getParentControlId() {
600
667
  return n.GENERAL.TEXT_SIZE;
601
668
  }
602
- }, it = class extends l {
669
+ }, lt = class extends E {
603
670
  getParentControlId() {
604
671
  return n.GENERAL.TEXT_STYLE;
605
672
  }
@@ -835,7 +902,7 @@ var xe = class L extends a {
835
902
  }
836
903
  };
837
904
  xe.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
838
- var ye = class C extends a {
905
+ var ve = class C extends a {
839
906
  constructor() {
840
907
  super(C.REQUIRED_METHODS, C);
841
908
  }
@@ -843,8 +910,8 @@ var ye = class C extends a {
843
910
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
844
911
  }
845
912
  };
846
- ye.REQUIRED_METHODS = ["openSmartElementsLibrary"];
847
- var ve = class A extends a {
913
+ ve.REQUIRED_METHODS = ["openSmartElementsLibrary"];
914
+ var ye = class A extends a {
848
915
  constructor() {
849
916
  super(A.REQUIRED_METHODS, A);
850
917
  }
@@ -852,7 +919,7 @@ var ve = class A extends a {
852
919
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
853
920
  }
854
921
  };
855
- ve.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
922
+ ye.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
856
923
  var p = class N extends a {
857
924
  constructor() {
858
925
  super(N.REQUIRED_METHODS, N);
@@ -862,7 +929,7 @@ var p = class N extends a {
862
929
  }
863
930
  };
864
931
  p.REQUIRED_METHODS = ["registerIconsSvg"];
865
- var lt = p, ot = class {
932
+ var ot = p, dt = class {
866
933
  constructor(e) {
867
934
  this.key = e;
868
935
  }
@@ -931,7 +998,7 @@ var lt = p, ot = class {
931
998
  }
932
999
  };
933
1000
  Q.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
934
- var dt = Q, f = class S extends a {
1001
+ var ut = Q, f = class S extends a {
935
1002
  constructor() {
936
1003
  super(S.REQUIRED_METHODS, S);
937
1004
  }
@@ -940,51 +1007,52 @@ var dt = Q, f = class S extends a {
940
1007
  }
941
1008
  };
942
1009
  f.REQUIRED_METHODS = ["registerUiElements"];
943
- var ut = f;
1010
+ var It = f;
944
1011
  export {
945
- we as Block,
946
- Pe as BlockAttr,
1012
+ Pe as Block,
1013
+ Ke as BlockAttr,
947
1014
  $ as BlockCompositionType,
948
1015
  I as BlockSelector,
949
1016
  oe as BlockType,
1017
+ we as BlocksPanel,
950
1018
  M as BuiltInControl,
951
1019
  n as BuiltInControlTypes,
952
- He as ButtonAlignBuiltInControl,
1020
+ ke as ButtonAlignBuiltInControl,
953
1021
  Xe as ButtonBackgroundColorBuiltInControl,
954
- ke as ButtonBorderBuiltInControl,
955
- Fe as ButtonBorderRadiusBuiltInControl,
1022
+ Ve as ButtonBorderBuiltInControl,
1023
+ He as ButtonBorderRadiusBuiltInControl,
956
1024
  Ge as ButtonColorBuiltInControl,
957
1025
  K as ButtonControls,
958
- Ve as ButtonFitToContainerBuiltInControl,
959
- pe as ButtonFontFamilyBuiltInControl,
960
- Qe as ButtonMarginsBuiltInControl,
961
- fe as ButtonPaddingsBuiltInControl,
962
- Ye as ButtonTextBuiltInControl,
963
- $e as ButtonTextSizeBuiltInControl,
964
- We as ButtonTextStyleAndFontColorBuiltInControl,
1026
+ pe as ButtonFitToContainerBuiltInControl,
1027
+ Qe as ButtonFontFamilyBuiltInControl,
1028
+ fe as ButtonMarginsBuiltInControl,
1029
+ Ye as ButtonPaddingsBuiltInControl,
1030
+ $e as ButtonTextBuiltInControl,
1031
+ We as ButtonTextSizeBuiltInControl,
1032
+ ze as ButtonTextStyleAndFontColorBuiltInControl,
965
1033
  de as ContainerControls,
966
- ze as Control,
1034
+ Ze as Control,
967
1035
  De as Extension,
968
1036
  Et as ExtensionBuilder,
969
- P as GeneralControls,
970
- lt as IconsRegistry,
1037
+ w as GeneralControls,
1038
+ ot as IconsRegistry,
971
1039
  H as ImageControls,
972
- Ze as ImageMarginsBuiltInControl,
973
- je as ImageSizeBuiltInControl,
974
- ot as ModificationDescription,
975
- qe as SettingsPanelRegistry,
976
- Je as SettingsPanelTab,
1040
+ je as ImageMarginsBuiltInControl,
1041
+ qe as ImageSizeBuiltInControl,
1042
+ dt as ModificationDescription,
1043
+ Je as SettingsPanelRegistry,
1044
+ et as SettingsPanelTab,
977
1045
  ue as SettingsTab,
978
- et as TextAlignBuiltInControl,
979
- tt as TextColorBuiltInControl,
1046
+ tt as TextAlignBuiltInControl,
1047
+ rt as TextColorBuiltInControl,
980
1048
  F as TextControls,
981
- rt as TextFontFamilyBuiltInControl,
982
- nt as TextLineSpacingBuiltInControl,
983
- at as TextPaddingsBuiltInControl,
984
- st as TextSizeBuiltInControl,
985
- it as TextStyleBuiltInControl,
986
- Ke as UEAttr,
987
- dt as UIElement,
988
- ut as UIElementTagRegistry,
1049
+ nt as TextFontFamilyBuiltInControl,
1050
+ at as TextLineSpacingBuiltInControl,
1051
+ st as TextPaddingsBuiltInControl,
1052
+ it as TextSizeBuiltInControl,
1053
+ lt as TextStyleBuiltInControl,
1054
+ Fe as UEAttr,
1055
+ ut as UIElement,
1056
+ It as UIElementTagRegistry,
989
1057
  Ae as UIElementType
990
1058
  };
@@ -129,6 +129,10 @@ export declare const EditorSchema: v.ObjectSchema<{
129
129
  readonly senderName: "";
130
130
  readonly subject: "";
131
131
  }>;
132
+ /** Folder name for user-saved modules (used by Stripo plugin panel for path construction) */
133
+ readonly savedModulesFolderName: v.OptionalSchema<v.StringSchema<undefined>, "savedModules">;
134
+ /** Folder name for default/prebuilt modules (used by Stripo plugin panel for path construction) */
135
+ readonly defaultModulesFolderName: v.OptionalSchema<v.StringSchema<undefined>, "defaultModules">;
132
136
  }, undefined>;
133
137
  /**
134
138
  * UI configuration - visual elements and layout
@@ -441,6 +445,10 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
441
445
  readonly senderName: "";
442
446
  readonly subject: "";
443
447
  }>;
448
+ /** Folder name for user-saved modules (used by Stripo plugin panel for path construction) */
449
+ readonly savedModulesFolderName: v.OptionalSchema<v.StringSchema<undefined>, "savedModules">;
450
+ /** Folder name for default/prebuilt modules (used by Stripo plugin panel for path construction) */
451
+ readonly defaultModulesFolderName: v.OptionalSchema<v.StringSchema<undefined>, "defaultModules">;
444
452
  }, undefined>, {}>;
445
453
  /** UI configuration */
446
454
  readonly ui: v.OptionalSchema<v.ObjectSchema<{
@@ -41,6 +41,8 @@ export declare const useConfig: () => {
41
41
  senderName: string;
42
42
  subject: string;
43
43
  };
44
+ savedModulesFolderName: string;
45
+ defaultModulesFolderName: string;
44
46
  };
45
47
  ui: {
46
48
  showHeader: boolean;
@@ -130,6 +132,8 @@ export declare const useConfig: () => {
130
132
  senderName: string;
131
133
  subject: string;
132
134
  };
135
+ savedModulesFolderName: string;
136
+ defaultModulesFolderName: string;
133
137
  } | null>;
134
138
  ui: import("vue").ComputedRef<{
135
139
  showHeader: boolean;