@useinsider/guido 1.0.3-beta.391f32c → 1.0.3-beta.3cb36f8

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 (95) hide show
  1. package/dist/@types/generic.d.ts +0 -8
  2. package/dist/components/Guido.vue.d.ts +2 -2
  3. package/dist/components/Guido.vue.js +8 -8
  4. package/dist/components/Guido.vue2.js +64 -68
  5. package/dist/components/wrappers/WpDrawer.vue.d.ts +4 -6
  6. package/dist/components/wrappers/WpDrawer.vue.js +4 -6
  7. package/dist/composables/useStripo.js +25 -31
  8. package/dist/config/compiler/unsubscribeCompilerRules.js +19 -19
  9. package/dist/config/migrator/index.d.ts +1 -1
  10. package/dist/config/migrator/index.js +5 -6
  11. package/dist/enums/defaults.js +3 -6
  12. package/dist/enums/unsubscribe.d.ts +0 -19
  13. package/dist/enums/unsubscribe.js +6 -39
  14. package/dist/extensions/Blocks/Checkbox/block.d.ts +0 -1
  15. package/dist/extensions/Blocks/Checkbox/block.js +24 -15
  16. package/dist/extensions/Blocks/Checkbox/control.js +38 -24
  17. package/dist/extensions/Blocks/Checkbox/extension.js +16 -5
  18. package/dist/extensions/Blocks/Checkbox/settingsPanel.js +25 -12
  19. package/dist/extensions/Blocks/Checkbox/template.js +16 -5
  20. package/dist/extensions/Blocks/RadioButton/block.d.ts +0 -1
  21. package/dist/extensions/Blocks/RadioButton/block.js +22 -13
  22. package/dist/extensions/Blocks/RadioButton/control.js +46 -32
  23. package/dist/extensions/Blocks/RadioButton/extension.js +15 -4
  24. package/dist/extensions/Blocks/RadioButton/settingsPanel.js +26 -13
  25. package/dist/extensions/Blocks/RadioButton/template.js +18 -7
  26. package/dist/extensions/Blocks/_Boilerplate/block.d.ts +0 -1
  27. package/dist/extensions/DynamicContent/dynamic-content.js +45 -31
  28. package/dist/extensions/DynamicContent/extension.js +18 -6
  29. package/dist/guido.css +1 -1
  30. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +75 -0
  31. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +77 -0
  32. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +123 -0
  33. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +7 -0
  34. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +7 -0
  35. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js +12 -0
  36. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +7 -0
  37. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +119 -0
  38. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +7 -0
  39. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +7 -0
  40. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +7 -0
  41. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js +12 -0
  42. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +7 -0
  43. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +7 -0
  44. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +7 -0
  45. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +24 -0
  46. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +24 -0
  47. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +11 -0
  48. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +33 -0
  49. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +22 -0
  50. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +40 -0
  51. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +5 -0
  52. package/dist/stores/unsubscribe.d.ts +5 -183
  53. package/dist/stores/unsubscribe.js +6 -125
  54. package/package.json +2 -2
  55. package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.d.ts +0 -2
  56. package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.js +0 -18
  57. package/dist/components/organisms/unsubscribe/UnsubscribeBreadcrumb.vue2.js +0 -16
  58. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.d.ts +0 -2
  59. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.js +0 -24
  60. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue2.js +0 -64
  61. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.d.ts +0 -2
  62. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +0 -18
  63. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +0 -108
  64. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.d.ts +0 -2
  65. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.js +0 -18
  66. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue2.js +0 -12
  67. package/dist/config/migrator/unsubscribeMigrator.d.ts +0 -1
  68. package/dist/config/migrator/unsubscribeMigrator.js +0 -112
  69. package/dist/extensions/Blocks/Checkbox/iconsRegistry.d.ts +0 -4
  70. package/dist/extensions/Blocks/Checkbox/iconsRegistry.js +0 -18
  71. package/dist/extensions/Blocks/RadioButton/iconsRegistry.d.ts +0 -4
  72. package/dist/extensions/Blocks/RadioButton/iconsRegistry.js +0 -14
  73. package/dist/extensions/Blocks/Unsubscribe/block.d.ts +0 -31
  74. package/dist/extensions/Blocks/Unsubscribe/block.js +0 -131
  75. package/dist/extensions/Blocks/Unsubscribe/control.d.ts +0 -29
  76. package/dist/extensions/Blocks/Unsubscribe/control.js +0 -167
  77. package/dist/extensions/Blocks/Unsubscribe/elements/preview.d.ts +0 -11
  78. package/dist/extensions/Blocks/Unsubscribe/elements/preview.js +0 -42
  79. package/dist/extensions/Blocks/Unsubscribe/extension.d.ts +0 -2
  80. package/dist/extensions/Blocks/Unsubscribe/extension.js +0 -20
  81. package/dist/extensions/Blocks/Unsubscribe/settingsPanel.d.ts +0 -4
  82. package/dist/extensions/Blocks/Unsubscribe/settingsPanel.js +0 -19
  83. package/dist/extensions/Blocks/Unsubscribe/styles.css.js +0 -42
  84. package/dist/extensions/Blocks/Unsubscribe/tagRegistry.d.ts +0 -4
  85. package/dist/extensions/Blocks/Unsubscribe/tagRegistry.js +0 -10
  86. package/dist/extensions/Blocks/Unsubscribe/template.d.ts +0 -12
  87. package/dist/extensions/Blocks/Unsubscribe/template.js +0 -22
  88. package/dist/extensions/Blocks/Unsubscribe/utils/constants.d.ts +0 -9
  89. package/dist/extensions/Blocks/Unsubscribe/utils/constants.js +0 -11
  90. package/dist/extensions/Blocks/Unsubscribe/utils/utils.d.ts +0 -7
  91. package/dist/extensions/Blocks/Unsubscribe/utils/utils.js +0 -6
  92. package/dist/extensions/Blocks/_Boilerplate/iconsRegistry.d.ts +0 -4
  93. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +0 -648
  94. package/dist/services/unsubscribeApi.d.ts +0 -4
  95. package/dist/services/unsubscribeApi.js +0 -16
@@ -1,7 +1,6 @@
1
1
  import { Block, BlockCompositionType } from '@stripoinc/ui-editor-extensions';
2
2
  export declare const BLOCK_ID = "{{your-block}}";
3
3
  export declare class CustomBlock extends Block {
4
- constructor();
5
4
  getId(): string;
6
5
  getIcon(): string;
7
6
  getBlockCompositionType(): BlockCompositionType;
@@ -1,61 +1,75 @@
1
- var o = Object.defineProperty;
2
- var g = (n, t, e) => t in n ? o(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var i = (n, t, e) => g(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { dynamicContentToMergeTags as m } from "../../utils/genericUtil.js";
5
- import { UIElement as c, UIElementType as r, UEAttr as l, UIElementTagRegistry as d } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
6
- import { ExternalMergeTagsLibrary as T } from "./dynamic-content-modal.js";
7
- const a = "external-dynamic-content-ui-element", y = "button-add-dynamic-content";
8
- class p extends d {
9
- registerUiElements(t) {
10
- t[r.MERGETAGS] = a;
1
+ var a = Object.defineProperty;
2
+ var m = (n, e, t) => e in n ? a(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var r = (n, e, t) => m(n, typeof e != "symbol" ? e + "" : e, t);
4
+ import { dynamicContentToMergeTags as g } from "../../utils/genericUtil.js";
5
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js";
6
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js";
7
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js";
8
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js";
9
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js";
10
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js";
11
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js";
12
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js";
13
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js";
14
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js";
15
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js";
16
+ import { UEAttr as c } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js";
17
+ import { UIElementType as i } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js";
18
+ import { UIElement as l } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js";
19
+ import { UIElementTagRegistry as d } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js";
20
+ import { ExternalMergeTagsLibrary as p } from "./dynamic-content-modal.js";
21
+ const s = "external-dynamic-content-ui-element", T = "button-add-dynamic-content";
22
+ class O extends d {
23
+ registerUiElements(e) {
24
+ e[i.MERGETAGS] = s;
11
25
  }
12
26
  }
13
- class C extends c {
27
+ class k extends l {
14
28
  constructor() {
15
29
  super(...arguments);
16
- i(this, "mergeTagsButton", null);
17
- i(this, "listener", () => {
30
+ r(this, "mergeTagsButton", null);
31
+ r(this, "listener", () => {
18
32
  });
19
- i(this, "mergeTagsLibrary", null);
20
- i(this, "selectedDynamicContent", { value: "", text: "" });
33
+ r(this, "mergeTagsLibrary", null);
34
+ r(this, "selectedDynamicContent", { value: "", text: "" });
21
35
  }
22
36
  getId() {
23
- return a;
37
+ return s;
24
38
  }
25
- onRender(e) {
26
- var s;
27
- this.listener = this._onClick.bind(this), this.mergeTagsButton = e.querySelector("#guido__btn-add-dynamic-content"), (s = this.mergeTagsButton) == null || s.addEventListener("click", this.listener);
39
+ onRender(t) {
40
+ var o;
41
+ this.listener = this._onClick.bind(this), this.mergeTagsButton = t.querySelector("#guido__btn-add-dynamic-content"), (o = this.mergeTagsButton) == null || o.addEventListener("click", this.listener);
28
42
  }
29
43
  onDestroy() {
30
- var e;
31
- (e = this.mergeTagsButton) == null || e.removeEventListener("click", this.listener);
44
+ var t;
45
+ (t = this.mergeTagsButton) == null || t.removeEventListener("click", this.listener);
32
46
  }
33
47
  _onClick() {
34
48
  this.openMergeTagLibrary();
35
49
  }
36
50
  openMergeTagLibrary() {
37
- this.mergeTagsLibrary || (this.mergeTagsLibrary = new T()), this.mergeTagsLibrary.openMergeTagsLibrary(
51
+ this.mergeTagsLibrary || (this.mergeTagsLibrary = new p()), this.mergeTagsLibrary.openMergeTagsLibrary(
38
52
  this.selectedDynamicContent,
39
- (e) => {
40
- this.api.onValueChanged(m([e])[0]);
53
+ (t) => {
54
+ this.api.onValueChanged(g([t])[0]);
41
55
  }
42
56
  );
43
57
  }
44
58
  getTemplate() {
45
59
  return `
46
60
  <div>
47
- <${r.BUTTON}
61
+ <${i.BUTTON}
48
62
  id="guido__btn-add-dynamic-content"
49
63
  class="btn btn-primary"
50
- ${l.BUTTON.name}="${y}">
51
- <${r.ICON} src="plus" class="icon icon-button color-primary">
52
- </${r.ICON}>
64
+ ${c.BUTTON.name}="${T}">
65
+ <${i.ICON} src="plus" class="icon icon-button color-primary">
66
+ </${i.ICON}>
53
67
  ${this.api.translate("Add Dynamic Content")}
54
- </${r.BUTTON}>
68
+ </${i.BUTTON}>
55
69
  </div>`;
56
70
  }
57
71
  }
58
72
  export {
59
- p as DynamicContentTagRegistry,
60
- C as DynamicContentUiElementExtension
73
+ O as DynamicContentTagRegistry,
74
+ k as DynamicContentUiElementExtension
61
75
  };
@@ -1,11 +1,23 @@
1
- import { ExtensionBuilder as t } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { DynamicContentUiElementExtension as n, DynamicContentTagRegistry as e } from "./dynamic-content.js";
3
- import i from "./dynamic-content.css.js";
4
- const r = new t().addUiElement(n).withStyles(i).withLocalization({
1
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js";
2
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js";
3
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js";
4
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js";
5
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js";
6
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js";
7
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js";
8
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js";
9
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js";
10
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js";
11
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js";
12
+ import "../../node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js";
13
+ import { ExtensionBuilder as t } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js";
14
+ import { DynamicContentUiElementExtension as i, DynamicContentTagRegistry as o } from "./dynamic-content.js";
15
+ import n from "./dynamic-content.css.js";
16
+ const w = new t().addUiElement(i).withStyles(n).withLocalization({
5
17
  en: {
6
18
  "Add Dynamic Content": "Add Dynamic Content"
7
19
  }
8
- }).withUiElementTagRegistry(e).build();
20
+ }).withUiElementTagRegistry(o).build();
9
21
  export {
10
- r as default
22
+ w as default
11
23
  };
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- [data-v-2c168944] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-85d64228],.guido-editor__container[data-v-85d64228]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-85d64228]{height:calc(100vh - 75px)}[data-v-70835920] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-a86fc486]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-a86fc486]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-a86fc486]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-a86fc486]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-a86fc486]{object-fit:cover;transform:scale(1)}[data-v-dda47b76] .guido__verion-history-view-option-selection-desktop svg,[data-v-dda47b76] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-dda47b76] .in-segments-wrapper__button_selected,[data-v-dda47b76] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
1
+ [data-v-2c168944] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-aca05338],.guido-editor__container[data-v-aca05338]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-aca05338]{height:calc(100vh - 75px)}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
@@ -0,0 +1,75 @@
1
+ var E = Object.defineProperty;
2
+ var L = (r, e, i) => e in r ? E(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i;
3
+ var t = (r, e, i) => L(r, typeof e != "symbol" ? e + "" : e, i);
4
+ class A {
5
+ constructor(e, i, s = [], n, a = [], l, o = [], g = [], y, h, x, u, b, c, m) {
6
+ t(this, "i18n");
7
+ t(this, "styles");
8
+ t(this, "previewStyles");
9
+ t(this, "uiElements", []);
10
+ t(this, "uiElementTagRegistry");
11
+ t(this, "controls", []);
12
+ t(this, "settingsPanelRegistry");
13
+ t(this, "contextActions", []);
14
+ t(this, "blocks", []);
15
+ t(this, "id");
16
+ t(this, "externalSmartElementsLibrary");
17
+ t(this, "externalImageLibrary");
18
+ t(this, "externalAiAssistant");
19
+ t(this, "externalDisplayConditionsLibrary");
20
+ t(this, "externalVideoLibrary");
21
+ t(this, "blocksPanel");
22
+ this.i18n = e, this.styles = i, this.previewStyles = x, this.uiElements = s, this.uiElementTagRegistry = n, this.controls = a, this.settingsPanelRegistry = l, this.contextActions = o, this.blocks = g, this.externalSmartElementsLibrary = y, this.externalImageLibrary = h, this.externalAiAssistant = u, this.externalDisplayConditionsLibrary = b, this.externalVideoLibrary = c, this.blocksPanel = m, this.id = Math.random().toString(36).substring(2);
23
+ }
24
+ getI18n() {
25
+ return this.i18n;
26
+ }
27
+ getStyles() {
28
+ return this.styles;
29
+ }
30
+ getPreviewStyles() {
31
+ return this.previewStyles;
32
+ }
33
+ getUiElements() {
34
+ return this.uiElements;
35
+ }
36
+ getUiElementTagRegistry() {
37
+ return this.uiElementTagRegistry;
38
+ }
39
+ getControls() {
40
+ return this.controls;
41
+ }
42
+ getSettingsPanelRegistry() {
43
+ return this.settingsPanelRegistry;
44
+ }
45
+ getContextActions() {
46
+ return this.contextActions;
47
+ }
48
+ getBlocks() {
49
+ return this.blocks;
50
+ }
51
+ getId() {
52
+ return this.id;
53
+ }
54
+ getExternalSmartElementsLibrary() {
55
+ return this.externalSmartElementsLibrary;
56
+ }
57
+ getExternalImageLibrary() {
58
+ return this.externalImageLibrary;
59
+ }
60
+ getExternalAiAssistant() {
61
+ return this.externalAiAssistant;
62
+ }
63
+ getExternalDisplayConditionsLibrary() {
64
+ return this.externalDisplayConditionsLibrary;
65
+ }
66
+ getExternalVideoLibrary() {
67
+ return this.externalVideoLibrary;
68
+ }
69
+ getBlocksPanel() {
70
+ return this.blocksPanel;
71
+ }
72
+ }
73
+ export {
74
+ A as Extension
75
+ };
@@ -0,0 +1,77 @@
1
+ var r = Object.defineProperty;
2
+ var n = (e, t, s) => t in e ? r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
+ var i = (e, t, s) => n(e, typeof t != "symbol" ? t + "" : t, s);
4
+ import { Extension as a } from "./Extension.js";
5
+ class o {
6
+ constructor() {
7
+ i(this, "i18n");
8
+ i(this, "styles");
9
+ i(this, "previewStyles");
10
+ i(this, "uiElements", []);
11
+ i(this, "uiElementTagRegistry");
12
+ i(this, "controls", []);
13
+ i(this, "settingsPanelRegistry");
14
+ i(this, "contextActions", []);
15
+ i(this, "blocks", []);
16
+ i(this, "externalSmartElementsLibrary");
17
+ i(this, "externalImageLibrary");
18
+ i(this, "externalAiAssistant");
19
+ i(this, "externalDisplayConditionsLibrary");
20
+ i(this, "externalVideoLibrary");
21
+ i(this, "blocksPanel");
22
+ }
23
+ withLocalization(t) {
24
+ return this.i18n = t, this;
25
+ }
26
+ withStyles(t) {
27
+ return this.styles = t, this;
28
+ }
29
+ /**
30
+ * @description defines custom developer styles to use inside the editor document preview
31
+ */
32
+ withPreviewStyles(t) {
33
+ return this.previewStyles = t, this;
34
+ }
35
+ addContextAction(t) {
36
+ return this.contextActions.push(t), this;
37
+ }
38
+ addUiElement(t) {
39
+ return this.uiElements.push(t), this;
40
+ }
41
+ withUiElementTagRegistry(t) {
42
+ return this.uiElementTagRegistry = t, this;
43
+ }
44
+ addControl(t) {
45
+ return this.controls.push(t), this;
46
+ }
47
+ withSettingsPanelRegistry(t) {
48
+ return this.settingsPanelRegistry = t, this;
49
+ }
50
+ withExternalSmartElementsLibrary(t) {
51
+ return this.externalSmartElementsLibrary = t, this;
52
+ }
53
+ withExternalImageLibrary(t) {
54
+ return this.externalImageLibrary = t, this;
55
+ }
56
+ withExternalAiAssistant(t) {
57
+ return this.externalAiAssistant = t, this;
58
+ }
59
+ withExternalDisplayCondition(t) {
60
+ return this.externalDisplayConditionsLibrary = t, this;
61
+ }
62
+ withExternalVideosLibrary(t) {
63
+ return this.externalVideoLibrary = t, this;
64
+ }
65
+ withBlocksPanel(t) {
66
+ return this.blocksPanel = t, this;
67
+ }
68
+ addBlock(t) {
69
+ return this.blocks.push(t), this;
70
+ }
71
+ build() {
72
+ return new a(this.i18n, this.styles, this.uiElements, this.uiElementTagRegistry, this.controls, this.settingsPanelRegistry, this.contextActions, this.blocks, this.externalSmartElementsLibrary, this.externalImageLibrary, this.previewStyles, this.externalAiAssistant, this.externalDisplayConditionsLibrary, this.externalVideoLibrary, this.blocksPanel);
73
+ }
74
+ }
75
+ export {
76
+ o as ExtensionBuilder
77
+ };
@@ -0,0 +1,123 @@
1
+ var t = Object.defineProperty;
2
+ var u = (n, e, o) => e in n ? t(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
3
+ var r = (n, e, o) => u(n, typeof e != "symbol" ? e + "" : e, o);
4
+ import { BlockCompositionType as d } from "../constants/BlockCompositionType.js";
5
+ class s {
6
+ constructor() {
7
+ /** Provides access to editor functionalities specific to this block instance. */
8
+ r(this, "api");
9
+ }
10
+ /**
11
+ * Determines if the block should be available for use in the editor.
12
+ * Override to provide custom logic based on editor state or configuration.
13
+ * @returns True if the block is enabled, false otherwise. Defaults to true.
14
+ */
15
+ isEnabled() {
16
+ return !0;
17
+ }
18
+ /**
19
+ * Determines if the block can be saved as a reusable module by the user.
20
+ * @returns True if the block can be saved as a module, false otherwise. Defaults to false.
21
+ */
22
+ canBeSavedAsModule() {
23
+ return !1;
24
+ }
25
+ /**
26
+ * Specifies the context actions available for this block.
27
+ * If not overridden, the editor might use a default set of actions.
28
+ * Use IDs from {@link ContextActionType} or custom action IDs.
29
+ * @returns An array of context action IDs, or undefined to use defaults (if any).
30
+ */
31
+ getContextActionsIds() {
32
+ }
33
+ /**
34
+ * Provides a custom renderer class for this block, allowing for specialized rendering logic.
35
+ * @returns A constructor for a class extending {@link BlockRenderer}, or undefined to use the default renderer.
36
+ */
37
+ getCustomRenderer() {
38
+ }
39
+ /**
40
+ * Gets a unique CSS class name specifically for this block type.
41
+ * Used for targeting styles.
42
+ * @returns A unique CSS class name. Defaults to `esd-{blockId}`.
43
+ */
44
+ getUniqueBlockClassname() {
45
+ return `esd-${this.getId()}`;
46
+ }
47
+ /**
48
+ * Lifecycle hook called when the editor document is initialized.
49
+ * Useful for performing initial setup or modifications on existing block instances in the template.
50
+ * @returns An optional {@link HtmlNodeModifier} to apply changes to the block's HTML structure.
51
+ */
52
+ onDocumentInit() {
53
+ }
54
+ /**
55
+ * Lifecycle hook called when an instance of this block is selected in the editor.
56
+ * @param node - The immutable HTML node representing the selected block instance.
57
+ * @returns An optional {@link HtmlNodeModifier} to apply changes upon selection.
58
+ */
59
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
60
+ onSelect(e) {
61
+ }
62
+ /**
63
+ * Lifecycle hook called when an instance of this block is copied.
64
+ * @param targetNode - The immutable HTML node where the copy is being inserted relative to.
65
+ * @param sourceNode - The immutable HTML node representing the block instance being copied.
66
+ * @returns An optional {@link HtmlNodeModifier} to apply changes to the copied node.
67
+ */
68
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
69
+ onCopy(e, o) {
70
+ }
71
+ /**
72
+ * Lifecycle hook called when an instance of this block is deleted.
73
+ * @param node - The immutable HTML node representing the block instance being deleted.
74
+ * @returns An optional {@link HtmlNodeModifier} to apply changes before deletion (rarely needed).
75
+ */
76
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
77
+ onDelete(e) {
78
+ }
79
+ /**
80
+ * Lifecycle hook called after a new instance of this block is created and added to the document (e.g., via drag-and-drop).
81
+ * @param node - The immutable HTML node representing the newly created block instance.
82
+ */
83
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
84
+ onCreated(e) {
85
+ }
86
+ /**
87
+ * Lifecycle hook called when any part of the document template has changed.
88
+ * This can be frequent; use cautiously for performance-sensitive operations.
89
+ */
90
+ onDocumentChanged() {
91
+ }
92
+ /**
93
+ * @description Determines if block is atomic or composite.
94
+ * {@link BlockCompositionType.BLOCK} - atomic block which can be inserted inside other container and cannot hold other objects
95
+ * {@link BlockCompositionType.STRUCTURE} - composite block which can serve as a container for another atomic block
96
+ * @returns The type of the block. Defaults to {@link BlockCompositionType.BLOCK}.
97
+ */
98
+ getBlockCompositionType() {
99
+ return d.BLOCK;
100
+ }
101
+ /**
102
+ * @description Determines if block should be included in empty container quick insert actions list.
103
+ * @returns True to show a quick-add icon for this block in empty containers, false otherwise. Defaults to false.
104
+ */
105
+ shouldDisplayQuickAddIcon() {
106
+ return !1;
107
+ }
108
+ /**
109
+ * @description Determines if nested blocks selection allowed in extension of type {@link BlockCompositionType.STRUCTURE}
110
+ */
111
+ allowInnerBlocksSelection() {
112
+ return !0;
113
+ }
114
+ /**
115
+ * @description Determines if nested blocks drag and drop allowed in extension of type {@link BlockCompositionType.STRUCTURE}
116
+ */
117
+ allowInnerBlocksDND() {
118
+ return !0;
119
+ }
120
+ }
121
+ export {
122
+ s as Block
123
+ };
@@ -0,0 +1,7 @@
1
+ var e;
2
+ (function(E) {
3
+ E.SUBJECT = "subject", E.HIDDEN_PREHEADER = "hiddenPreheader", E.TEXT_BLOCK = "textBlock";
4
+ })(e || (e = {}));
5
+ export {
6
+ e as AiAssistantValueType
7
+ };
@@ -0,0 +1,7 @@
1
+ var R;
2
+ (function(C) {
3
+ C.BLOCK = "BLOCK", C.STRUCTURE = "STRUCTURE";
4
+ })(R || (R = {}));
5
+ export {
6
+ R as BlockCompositionType
7
+ };
@@ -0,0 +1,12 @@
1
+ var d;
2
+ (function(s) {
3
+ s.BUTTON = "esd-block-button", s.TEXT = "esd-block-text", s.IMAGE = "esd-block-image", s.STRUCTURE = "esd-structure", s.VIDEO = "esd-block-video", s.SOCIAL = "esd-block-social", s.BANNER = "esd-block-banner", s.TIMER = "esd-block-timer", s.MENU = "esd-block-menu", s.HTML = "esd-block-html", s.SPACER = "esd-block-spacer", s.CONTAINER = "esd-container-frame";
4
+ })(d || (d = {}));
5
+ var b;
6
+ (function(s) {
7
+ s.BUTTON = ".esd-block-button", s.TEXT = ".esd-block-text", s.IMAGE = ".esd-block-image", s.STRUCTURE = ".esd-structure", s.VIDEO = ".esd-block-video", s.SOCIAL = ".esd-block-social", s.BANNER = ".esd-block-banner", s.TIMER = ".esd-block-timer", s.MENU = ".esd-block-menu", s.HTML = ".esd-block-html", s.SPACER = ".esd-block-spacer", s.CONTAINER = ".esd-container-frame", s.STRIPE = ".esd-stripe", s.FORM = ".esd-amp-form";
8
+ })(b || (b = {}));
9
+ export {
10
+ d as BlockName,
11
+ b as BlockSelector
12
+ };
@@ -0,0 +1,7 @@
1
+ var C;
2
+ (function(O) {
3
+ O.BLOCK_IMAGE = "BLOCK_IMAGE", O.BLOCK_TEXT = "BLOCK_TEXT", O.BLOCK_BUTTON = "BLOCK_BUTTON", O.BLOCK_SPACER = "BLOCK_SPACER", O.BLOCK_VIDEO = "BLOCK_VIDEO", O.BLOCK_SOCIAL = "BLOCK_SOCIAL", O.BLOCK_BANNER = "BLOCK_BANNER", O.BLOCK_TIMER = "BLOCK_TIMER", O.BLOCK_MENU = "BLOCK_MENU", O.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", O.BLOCK_HTML = "BLOCK_HTML", O.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", O.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", O.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", O.CONTAINER = "CONTAINER", O.FORM_CONTAINER = "FORM_CONTAINER", O.STRUCTURE = "STRUCTURE", O.STRIPE = "STRIPE", O.EMPTY_CONTAINER = "EMPTY_CONTAINER", O.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", O.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", O.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT";
4
+ })(C || (C = {}));
5
+ export {
6
+ C as BlockType
7
+ };
@@ -0,0 +1,119 @@
1
+ import { BlockType as T } from "./BlockType.js";
2
+ var d;
3
+ (function(E) {
4
+ 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";
5
+ })(d || (d = {}));
6
+ var I;
7
+ (function(E) {
8
+ E.ALIGNMENT = "bannerAlignment", E.ALT_TEXT = "bannerAltText", E.ANCHOR_LINK_CONTAINER = "bannerAnchorLinkContainerForm", E.ASPECT_RATIO = "bannerAspectRatioForm", E.BACKGROUND_COLOR = "bannerBackgroundColor", E.BACKGROUND_IMAGE_CONTAINER = "bannerBackgroundImageContainer", E.SIZE = "bannerBlockBannerSize", E.BLOCK_LINK = "bannerBlockLink", E.CHILD_ROTATION = "bannerChildRotationForm", E.CROP = "bannerCropForm", E.FILTER = "bannerFilter", E.EXTERNAL_INDENTS = "bannerExternalIndents", E.MIME_TYPE = "bannerMimeTypeForm", E.RESPONSIVE_IMAGE = "bannerResponsiveImageForm";
9
+ })(I || (I = {}));
10
+ var p;
11
+ (function(E) {
12
+ E.ADDITIONAL_IMAGE = "bannerAdditionalImageForm", E.ADDITIONAL_IMAGE_ASPECT_RATIO = "bannerAdditionalImageAspectRatioForm", E.CHILD_COLOR = "bannerChildColorForm", E.CHILD_FLIP = "bannerChildFlipForm", E.CHILD_OPACITY = "bannerChildOpacityForm", E.TEXT_ALIGNMENT = "bannerTextAlignmentForm", E.TEXT_FONT = "bannerTextFontContainer", E.TEXT_LETTER_CASE = "bannerTextLetterCaseForm", E.TEXT_STYLE = "bannerTextStyleForm";
13
+ })(p || (p = {}));
14
+ var _;
15
+ (function(E) {
16
+ 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_CONTAINER = "buttonFixedHeightContainerForm", 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";
17
+ })(_ || (_ = {}));
18
+ var N;
19
+ (function(E) {
20
+ 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.FONT_FAMILY = "textBlockFontFamily", E.FONT_SIZE = "textBlockFontSize", E.DIRECTION = "textBlockDirectionForm", E.INSERT_FORM = "textBlockInsertForm", E.LINK_DATA = "textBlockLinkDataForm", E.FORMAT = "textBlockTextFormatForm", E.FIXED_HEIGHT_CONTAINER = "textFixedHeightContainerForm", E.INTERNAL_INDENTS = "textInternalIndents", E.LINE_HEIGHT = "textLineHeightForm", E.LINKS_COLOR = "textLinksFontColorForm", E.MIME_TYPE = "textMimeTypeForm", E.NO_LINE_WRAPS = "textNoLineWrapsForm";
21
+ })(N || (N = {}));
22
+ var O;
23
+ (function(E) {
24
+ E.AMP_FORM_HIDDEN_NODE = "ampFormHiddenNodeForm", E.AMP_FORM_MIME_TYPE = "ampFormMimeTypeForm", E.BACKGROUND_COLOR = "ampFormBackgroundColorForm";
25
+ })(O || (O = {}));
26
+ var A;
27
+ (function(E) {
28
+ E.CUSTOM_THUMBNAIL_CONTAINER = "customThumbnailContainerForm", E.METADATA_LINK = "metadataLink", E.PLAY_BUTTON = "playButton", E.ALIGNMENT = "videoAlignment", E.ALT_TEXT = "videoAltText", E.EXTERNAL_INDENTS = "videoExternalIndents", E.MIME_TYPE = "videoMimeTypeForm", E.RESPONSIVE = "videoResponsive", E.SIZE = "videoSizeContainer";
29
+ })(A || (A = {}));
30
+ var R;
31
+ (function(E) {
32
+ E.ALIGNMENT = "timerAlignment", E.ALT_TEXT = "timerAltText", E.BACKGROUND_COLOR = "timerBackgroundColor", E.DATE_TIME = "timeDateTime", E.DIGITAL_LABELS = "timerDigitalLabels", E.DIGITS_FONT_COLOR_CONTAINER = "timerDigitsFontColorContainer", E.DIGITS_FONT_CONTAINER = "timerDigitsFontContainer", E.DISPLAY_DAYS_SWITCHER = "timerDisplayDaysSwitcher", E.EXPIRATION_IMAGE = "timerExpirationImage", E.EXPIRATION_IMAGE_SWITCHER = "timerExpirationSwitcher", E.EXTERNAL_INDENTS = "timerExternalIndents", E.LABELS_CASE = "timerLabelsCase", E.LABELS_FONT_COLOR_CONTAINER = "timerLabelsFontColorContainer", E.LABELS_FONT_CONTAINER = "timerLabelsFontContainer", E.LABEL_LANGUAGE = "timerLabelsLanguage", E.LINK = "timerLink", E.MIME_TYPE = "timerMimeTypeForm", E.RESPONSIVE = "timerResponsive", E.RETINA_DISPLAY_SUPPORT = "timerRetinaDisplaySupport", E.SEPARATOR = "timerSeparator", E.SEPARATOR_FONT_COLOR = "timerSeparatorFontColor", E.SEPARATOR_FONT_CONTAINER = "timerSeparatorFontContainer", E.SIZE = "timerSize", E.TIME_ZONE = "timerTimeZone";
33
+ })(R || (R = {}));
34
+ var i;
35
+ (function(E) {
36
+ E.ALIGNMENT = "spacerAlignment", E.BORDER = "spacerBorder", E.EXTERNAL_INDENTS = "spacerExternalIndents", E.MIME_TYPE = "spacerMimeTypeForm", E.MODE = "spacerMode", E.SIZE = "spacerSize", E.BACKGROUND_COLOR = "spacerBackgroundColor";
37
+ })(i || (i = {}));
38
+ var m;
39
+ (function(E) {
40
+ 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";
41
+ })(m || (m = {}));
42
+ var e;
43
+ (function(E) {
44
+ E.EXTERNAL_INDENTS = "htmlExternalIndents", E.MIME_TYPE = "htmlMimeTypeForm";
45
+ })(e || (e = {}));
46
+ var L;
47
+ (function(E) {
48
+ E.IMAGE = "customBlockImageForm", E.COLOR_FORM = "customLinkColorForm", E.HREF_FORM = "customLinkHrefForm", E.TEXT_FORM = "customLinkTextForm", E.UNDERLINE_FORM = "customLinkUnderlineForm", E.WORD_BREAK_FORM = "customLinkWordBreakForm";
49
+ })(L || (L = {}));
50
+ var a;
51
+ (function(E) {
52
+ E.ALT_TEXT_FORM = "customBlockImageAltTextForm", E.WITHOUT_LINK_FORM = "customBlockImageWithOutLinkForm";
53
+ })(a || (a = {}));
54
+ var F;
55
+ (function(E) {
56
+ E.ALIGN = "customTextBlockTextAlign", E.FONT_SIZE = "customTextFontSizeController";
57
+ })(F || (F = {}));
58
+ var S;
59
+ (function(E) {
60
+ E.ICON_SIZE = "iconSize", E.EXTERNAL_INDENTS = "socialExternalIndents", E.ICON_SPACER = "socialIconsSpacer", E.ICON_TYPE = "socialIconTypeForm", E.ITEM = "socialItemForm", E.ITEM_TEXT_CUSTOMIZATION = "socialItemTextCustomizationForm", E.MIME_TYPE = "socialMimeTypeForm", E.NETWORK_ALIGNMENT = "socialNetworkAlignment", E.BACKGROUND_COLOR = "socialBackgroundColor";
61
+ })(S || (S = {}));
62
+ var D;
63
+ (function(E) {
64
+ E.EXTERNAL_INDENTS = "menuExternalIndents", E.ALIGNMENT = "menuAlignment", E.RESPONSIVE_MENU = "menuResponsive", E.FIT_TO_CONTAINER = "menuFitToContainer", E.FONT_FAMILY = "menuFontFamily", E.FONT_SIZE = "menuFontSize", E.HIDDEN = "menuHidden", E.ICONS_CONFIGURATION = "menuIconsConfiguration", E.ITEMS = "menuItemsForm", E.ITEMS_COUNT = "menuItemsCount", E.ITEM_INTERNAL_INDENTS = "menuItemInternalIndents", E.MIME_TYPE = "menuMimeTypeForm", E.SEPARATE_ITEMS = "menuSeparateItems", E.SEPARATE_ITEMS_COLOR_SWITCHER = "menuSeparateItemsColorSwitcher", E.SEPARATOR = "menuSeparatorForm", E.STYLES = "menuStylesForm", E.TEXT_STYLE_AND_COLOR = "menuTextStyleAndColor", E.TYPE_CONTAINER = "menuTypeContainerForm";
65
+ })(D || (D = {}));
66
+ var n;
67
+ (function(E) {
68
+ E.MIME_TYPE = "ampAccordionMimeTypeForm", E.ANIMATED_OPENING = "ampAccordionAnimatedOpeningForm", E.AUTO_COLLAPSING = "ampAccordionAutoCollapsingForm", E.BORDER_FORM = "ampAccordionBorderForm", E.FONT_FAMILY = "ampAccordionFontFamily", E.ICON_SIZE = "ampAccordionIconSizeForm", E.SECTIONS_GAP_FORM = "ampAccordionSectionsGapForm", E.SECTIONS_MAIN_FORM = "ampAccordionSectionsMainForm", E.TITLES_BACKGROUND_COLOR = "ampAccordionTitlesBackgroundColor", E.TITLE_ALIGNMENT_FORM = "ampAccordionTitleAlignmentForm", E.TITLE_FONT_SIZE = "AmpAccordionTitleFontSizeController", E.TITLE_ICON_IMAGE = "ampAccordionTitleIconImageForm", E.TITLE_ICON_SWITCHER = "ampAccordionTitleIconSwitcherForm", E.TITLE_TEXT_STYLE_AND_COLOR = "AmpAccordionTitleTextStyleAndColorController";
69
+ })(n || (n = {}));
70
+ var r;
71
+ (function(E) {
72
+ E.MIME_TYPE = "ampCarouselMimeTypeForm", E.AUTOPLAY = "ampCarouselAutoplayForm", E.AUTOPLAY_DELAY = "ampCarouselDelayForm", E.LOOP = "ampCarouselLoopForm", E.SLIDES = "ampSlidesForm", E.SLIDE_ALT_TEXT = "ampSlideAltTextForm", E.SLIDE_IMAGE = "ampSlideImageForm", E.SLIDE_IMAGE_FIT = "ampCarouselSlideImageFitForm", E.SLIDE_LINK = "ampSlideLinkForm", E.SLIDE_RADIUS = "ampCarouselSlideRadiusForm", E.SLIDE_THUMBNAIL_SWITCHER = "ampCarouselSlideThumbnailSwitcherForm", E.THUMBNAIL_BORDER_STYLE = "ampCarouselThumbnailBorderStyleForm", E.THUMBNAIL_CONTAINER = "ampCarouselThumbnailContainerForm", E.THUMBNAIL_CUSTOM_REVIEW = "ampCarouselThumbnailCustomPreviewImageForm", E.THUMBNAIL_RADIUS = "ampCarouselThumbnailRadiusForm", E.AMP_GENERAL_LINK = "AMP_GENERAL_LINK_CONTROLLER", E.AMP_GENERAL_LINK_SWITCHER = "AMP_GENERAL_LINK_SWITCHER";
73
+ })(r || (r = {}));
74
+ var M;
75
+ (function(E) {
76
+ E.BORDER_FORM = "stripeBorderForm", E.COLOR = "stripeColorForm", E.CONTENT_COLOR = "stripeContentColor", E.IMAGE_CONTAINER = "stripeImageContainerForm", E.INTERNAL_INDENTS = "stripeInternalIndents", E.MESSAGE_AREA = "stripeMessageAreaForm", E.MIME_TYPE = "stripeMimeTypeForm";
77
+ })(M || (M = {}));
78
+ var t;
79
+ (function(E) {
80
+ E.RESPONSIVE_STRUCTURE = "responsiveStructure", E.BACKGROUND_COLOR = "structureBackgroundColor", E.BORDER_RADIUS = "structureBorderRadiusForm", E.CONTAINER_GAP = "structureContainerGap", E.CONTAINER_INVERSION = "structureContainerInversion", E.DYNAMIC_CONTAINERS = "structureDynamicContainers", E.EXTERNAL_INDENTS = "structureExternalIndents", E.IMAGE_CONTAINER = "structureImageContainerForm", E.INTERNAL_INDENTS = "structureInternalIndents", E.ITEM = "structureItem", E.MIME_TYPE = "structureMimeType", E.BORDER_FORM = "structureBorderForm";
81
+ })(t || (t = {}));
82
+ var c;
83
+ (function(E) {
84
+ 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";
85
+ })(c || (c = {}));
86
+ var P;
87
+ (function(E) {
88
+ E.DISPLAY_OFFER_BADGE = "displayOfferBadgeForm", E.DISPLAY_PROMO_CODE_BADGE = "displayPromoCodeBadgeForm", E.END_DISCOUNT_OFFER = "endDiscountOfferForm", E.GMAIL_PROMOTIONS_TAB = "gmailPromotionsTabForm", E.HIDDEN_PRE_HEADER = "hiddenPreHeaderForm", E.PROMO_IMAGE_CAROUSEL = "promoImageCarouselForm", E.INCLUDE_SENDER_LOGO = "includeSenderLogoForm", E.SUBJECT_TITLE = "subjectTitleForm", E.UTM_PARAMETERS = "utmParametersForm", E.UTM_PARAMETERS_CAMPAIGN = "utmParameterCampaignForm", E.UTM_PARAMETERS_CUSTOM = "utmParametersCustomForm", E.UTM_PARAMETERS_CUSTOM_ITEM = "utmParametersCustomItemForm";
89
+ })(P || (P = {}));
90
+ var u;
91
+ (function(E) {
92
+ E.BUTTONS_ADJUST_TO_WIDTH_CONTAINER = "buttonsAdjustToWidthFormContainer", E.BUTTONS_BORDER = "buttonsBorder", E.BUTTONS_BORDER_RADIUS_CONTAINER = "buttonsBorderRadiusContainer", E.BUTTONS_COLOR_CONTAINER = "buttonsColorContainer", E.BUTTONS_FONT_FAMILY_CONTAINER = "buttonsFontFamilyContainer", E.BUTTONS_FONT_SIZE_CONTAINER = "buttonsFontSizeFormContainer", E.BUTTONS_HOVERED_BUTTON_STYLE = "buttonsHoveredButtonStyleForm", E.BUTTONS_INTERNAL_INDENTS_CONTAINER = "buttonsInternalIndentsContainer", E.BUTTONS_LETTER_SPACING_CONTAINER = "buttonsLetterSpacingContainer", E.BUTTONS_OUTLOOK_SUPPORT_CONTAINER = "buttonsOutlookSupportContainer", E.BUTTONS_TEXT_STYLE_AND_COLOR_CONTAINER = "buttonsTextStyleAndColorFormContainer", E.DEFAULT_STRUCTURE_INTERNAL_INDENTS = "defaultStructureInternalIndents", E.GENERAL_BACKGROUND_COLOR_CONTAINER = "generalBackgroundColorContainer", E.GENERAL_IMAGE_CONTAINER = "generalImageContainer", E.HEADINGS_FONT_FAMILY_CONTAINER = "headingsFontFamilyContainer", E.HEADINGS_H1_CONTROLS_CONTAINER = "headingH1controlsContainer", E.HEADINGS_H2_CONTROLS_CONTAINER = "headingH2controlsContainer", E.HEADINGS_H3_CONTROLS_CONTAINER = "headingH3controlsContainer", E.HEADINGS_H4_CONTROLS_CONTAINER = "headingH4controlsContainer", E.HEADINGS_H5_CONTROLS_CONTAINER = "headingH5controlsContainer", E.HEADINGS_H6_CONTROLS_CONTAINER = "headingH6controlsContainer", E.HEADINGS_LETTER_SPACING_CONTAINER = "headingsLetterSpacingFormContainer", E.HEADINGS_PARAGRAPH_BOTTOM_MARGIN = "headingsParagraphBottomMarginForm", E.HEADINGS_TYPES_BUTTON_BAR = "headingsTypesButtonBarForm", E.LISTS_STYLES = "listsStyles", E.MARGIN_AROUND_MESSAGE = "marginAroundMessage", E.MESSAGE_ALIGNMENT = "messageAlignment", E.MESSAGE_CONTENT_WIDTH = "messageContentWidth", E.RESPONSIVE_DESIGN = "responsiveDesign", E.RIGHT_TO_LEFT_CONTAINER = "rightToLeftContainer", E.STRIPES_CONTENT_CONTROLS_CONTAINER = "stripesContentControlsContainer", E.STRIPES_FONT_FAMILY_CONTAINER = "stripesFontFamilyFormContainer", E.STRIPES_FOOTER_CONTROLS_CONTAINER = "stripesFooterControlsContainer", E.STRIPES_HEADER_CONTROLS_CONTAINER = "stripesHeaderControlsContainer", E.STRIPES_INFO_AREA_CONTROLS_CONTAINER = "stripesInfoAreaControlsContainer", E.STRIPES_LETTER_SPACING_CONTAINER = "stripesLetterSpacingFormContainer", E.STRIPES_LINE_HEIGHT_CONTAINER = "stripesLineHeightFormContainer", E.STRIPE_TYPES_BUTTON_BAR = "stripeTypesButtonBarForm", E.UNDERLINE_LINKS_CONTAINER = "underlineLinksContainer";
93
+ })(u || (u = {}));
94
+ T.BLOCK_BANNER + "", T.BLOCK_BUTTON + "", T.BLOCK_TEXT + "", T.BLOCK_VIDEO + "", T.BLOCK_TIMER + "", T.BLOCK_SPACER + "", T.BLOCK_IMAGE + "", T.BLOCK_HTML + "", T.BLOCK_SOCIAL + "", T.BLOCK_MENU + "", T.BLOCK_AMP_FORM + "", T.BLOCK_AMP_ACCORDION + "", T.BLOCK_AMP_CAROUSEL + "", T.STRIPE + "", T.STRUCTURE + "", T.CONTAINER + "", T.CUSTOM_BLOCK_LINK + "", T.CUSTOM_BLOCK_IMAGE + "", T.CUSTOM_BLOCK_TEXT + "";
95
+ export {
96
+ n as AccordionControls,
97
+ O as AmpFormControls,
98
+ p as BannerChildControls,
99
+ I as BannerControls,
100
+ _ as ButtonControls,
101
+ r as CarouselControls,
102
+ c as ContainerControls,
103
+ a as CustomImageControls,
104
+ L as CustomLinkControls,
105
+ F as CustomTextControls,
106
+ d as GeneralControls,
107
+ u as GeneralStylesControls,
108
+ e as HTMLControls,
109
+ m as ImageControls,
110
+ D as MenuControls,
111
+ P as MessageSettingsControls,
112
+ S as SocialControls,
113
+ i as SpacerControls,
114
+ M as StripeControls,
115
+ t as StructureControls,
116
+ N as TextControls,
117
+ R as TimerControls,
118
+ A as VideoControls
119
+ };
@@ -0,0 +1,7 @@
1
+ var O;
2
+ (function(E) {
3
+ E.SAVE_AS_MODULE = "saveAsModule", E.UPDATE_MODULE = "updateModule", E.IMPROVE_WITH_AI = "improveWithAI", E.MOVE = "move", E.COPY = "copy", E.REMOVE = "remove", E.CLEAR_CONTAINER = "clearContainer", E.REMOVE_CONTAINER = "removeContainer", E.EXTERNAL_DISPLAY_CONDITION = "externalDisplayCondition";
4
+ })(O || (O = {}));
5
+ export {
6
+ O as ContextActionType
7
+ };
@@ -0,0 +1,7 @@
1
+ var e;
2
+ (function(r) {
3
+ r.previewDeviceMode = "previewDeviceMode";
4
+ })(e || (e = {}));
5
+ export {
6
+ e as EditorStatePropertyType
7
+ };
@@ -0,0 +1,7 @@
1
+ var T;
2
+ (function(S) {
3
+ S.BLOCKS_SETTINGS = "BLOCKS_SETTINGS", S.SETTINGS_BLOCKS = "SETTINGS_BLOCKS";
4
+ })(T || (T = {}));
5
+ export {
6
+ T as PanelPosition
7
+ };