@useinsider/guido 1.0.3-beta.63633cd → 1.0.3-beta.63e6005

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 (252) hide show
  1. package/dist/{src/@types → @types}/generic.d.ts +1 -6
  2. package/dist/components/Guido.vue.js +7 -7
  3. package/dist/components/Guido.vue2.js +67 -69
  4. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +1 -1
  5. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +13 -12
  6. package/dist/composables/useStripo.js +39 -44
  7. package/dist/config/compiler/unsubscribeCompilerRules.js +26 -39
  8. package/dist/config/migrator/index.js +6 -7
  9. package/dist/config/migrator/unsubscribeMigrator.js +49 -61
  10. package/dist/{src/enums → enums}/unsubscribe.d.ts +0 -4
  11. package/dist/enums/unsubscribe.js +11 -15
  12. package/dist/{src/extensions → extensions}/Blocks/Checkbox/block.d.ts +0 -1
  13. package/dist/extensions/Blocks/Checkbox/block.js +24 -15
  14. package/dist/extensions/Blocks/Checkbox/control.js +67 -55
  15. package/dist/extensions/Blocks/Checkbox/extension.js +16 -5
  16. package/dist/extensions/Blocks/Checkbox/settingsPanel.js +25 -12
  17. package/dist/extensions/Blocks/Checkbox/template.js +16 -5
  18. package/dist/{src/extensions → extensions}/Blocks/RadioButton/block.d.ts +0 -1
  19. package/dist/extensions/Blocks/RadioButton/block.js +22 -13
  20. package/dist/extensions/Blocks/RadioButton/control.js +52 -40
  21. package/dist/extensions/Blocks/RadioButton/extension.js +15 -4
  22. package/dist/extensions/Blocks/RadioButton/settingsPanel.js +26 -13
  23. package/dist/extensions/Blocks/RadioButton/template.js +24 -13
  24. package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/block.d.ts +0 -1
  25. package/dist/extensions/Blocks/Unsubscribe/block.js +41 -28
  26. package/dist/extensions/Blocks/Unsubscribe/control.js +56 -43
  27. package/dist/extensions/Blocks/Unsubscribe/elements/preview.js +24 -12
  28. package/dist/extensions/Blocks/Unsubscribe/extension.js +21 -10
  29. package/dist/extensions/Blocks/Unsubscribe/settingsPanel.js +24 -27
  30. package/dist/extensions/Blocks/Unsubscribe/tagRegistry.js +18 -6
  31. package/dist/extensions/Blocks/Unsubscribe/template.js +20 -9
  32. package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/block.d.ts +0 -1
  33. package/dist/extensions/DynamicContent/dynamic-content.js +45 -31
  34. package/dist/extensions/DynamicContent/extension.js +18 -6
  35. package/dist/guido.css +1 -1
  36. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +75 -0
  37. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +77 -0
  38. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +123 -0
  39. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +7 -0
  40. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +7 -0
  41. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js +12 -0
  42. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +7 -0
  43. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +119 -0
  44. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +7 -0
  45. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +7 -0
  46. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +7 -0
  47. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js +12 -0
  48. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +7 -0
  49. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +7 -0
  50. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +7 -0
  51. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +25 -0
  52. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +24 -0
  53. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +11 -0
  54. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +33 -0
  55. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +22 -0
  56. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +40 -0
  57. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +5 -0
  58. package/dist/{src/stores → stores}/editor.d.ts +0 -21
  59. package/dist/stores/editor.js +1 -2
  60. package/dist/{src/stores → stores}/unsubscribe.d.ts +2 -72
  61. package/dist/stores/unsubscribe.js +42 -43
  62. package/dist/{src/utils → utils}/genericUtil.d.ts +0 -1
  63. package/dist/utils/genericUtil.js +7 -8
  64. package/dist/utils/templatePreparation.js +16 -17
  65. package/package.json +3 -8
  66. package/dist/components/organisms/extensions/recommendation/FilterItem.vue.js +0 -28
  67. package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +0 -38
  68. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue.js +0 -17
  69. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +0 -37
  70. package/dist/components/organisms/extensions/recommendation/Filters.vue.js +0 -20
  71. package/dist/components/organisms/extensions/recommendation/Filters.vue2.js +0 -44
  72. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue.js +0 -17
  73. package/dist/components/organisms/extensions/recommendation/LogicAdapter.vue2.js +0 -27
  74. package/dist/config/migrator/couponBlockMigrator.js +0 -67
  75. package/dist/enums/extensions/recommendationBlock.js +0 -80
  76. package/dist/extensions/Blocks/Checkbox/iconsRegistry.js +0 -18
  77. package/dist/extensions/Blocks/CouponBlock/block.js +0 -33
  78. package/dist/extensions/Blocks/CouponBlock/extension.js +0 -8
  79. package/dist/extensions/Blocks/CouponBlock/iconsRegistry.js +0 -33
  80. package/dist/extensions/Blocks/CouponBlock/settingsPanel.js +0 -24
  81. package/dist/extensions/Blocks/CouponBlock/template.js +0 -18
  82. package/dist/extensions/Blocks/RadioButton/iconsRegistry.js +0 -14
  83. package/dist/extensions/Blocks/Recommendation/block.js +0 -27
  84. package/dist/extensions/Blocks/Recommendation/control.js +0 -277
  85. package/dist/extensions/Blocks/Recommendation/extension.js +0 -10
  86. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +0 -51
  87. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +0 -19
  88. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +0 -32
  89. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +0 -266
  90. package/dist/extensions/Blocks/Recommendation/template.js +0 -200
  91. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +0 -28
  92. package/dist/extensions/Blocks/Unsubscribe/iconsRegistry.js +0 -21
  93. package/dist/extensions/Blocks/common-control.js +0 -102
  94. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +0 -659
  95. package/dist/package.json.js +0 -7
  96. package/dist/services/recommendationApi.js +0 -43
  97. package/dist/src/components/organisms/extensions/recommendation/FilterItem.vue.d.ts +0 -19
  98. package/dist/src/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue.d.ts +0 -2
  99. package/dist/src/components/organisms/extensions/recommendation/Filters.vue.d.ts +0 -2
  100. package/dist/src/components/organisms/extensions/recommendation/LogicAdapter.vue.d.ts +0 -16
  101. package/dist/src/config/migrator/couponBlockMigrator.d.ts +0 -1
  102. package/dist/src/enums/extensions/recommendationBlock.d.ts +0 -16
  103. package/dist/src/extensions/Blocks/Checkbox/iconsRegistry.d.ts +0 -4
  104. package/dist/src/extensions/Blocks/CouponBlock/block.d.ts +0 -12
  105. package/dist/src/extensions/Blocks/CouponBlock/iconsRegistry.d.ts +0 -4
  106. package/dist/src/extensions/Blocks/CouponBlock/settingsPanel.d.ts +0 -4
  107. package/dist/src/extensions/Blocks/CouponBlock/template.d.ts +0 -3
  108. package/dist/src/extensions/Blocks/RadioButton/iconsRegistry.d.ts +0 -4
  109. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +0 -10
  110. package/dist/src/extensions/Blocks/Recommendation/control.d.ts +0 -29
  111. package/dist/src/extensions/Blocks/Recommendation/iconsRegistry.d.ts +0 -4
  112. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +0 -555
  113. package/dist/src/extensions/Blocks/Recommendation/template.d.ts +0 -6
  114. package/dist/src/extensions/Blocks/Recommendation/utils/filterUtil.d.ts +0 -7
  115. package/dist/src/extensions/Blocks/Unsubscribe/iconsRegistry.d.ts +0 -4
  116. package/dist/src/extensions/Blocks/_Boilerplate/extension.d.ts +0 -2
  117. package/dist/src/extensions/Blocks/_Boilerplate/iconsRegistry.d.ts +0 -4
  118. package/dist/src/extensions/Blocks/_Boilerplate/settingsPanel.d.ts +0 -4
  119. package/dist/src/extensions/Blocks/common-control.d.ts +0 -66
  120. package/dist/src/extensions/DynamicContent/extension.d.ts +0 -2
  121. package/dist/src/mock/api/recommendation.d.ts +0 -2
  122. package/dist/src/services/recommendationApi.d.ts +0 -6
  123. package/dist/src/stores/config.d.ts +0 -96
  124. package/dist/stores/config.js +0 -17
  125. /package/dist/{src/@types → @types}/events.d.ts +0 -0
  126. /package/dist/{src/@types → @types}/save-as-template.d.ts +0 -0
  127. /package/dist/{src/App.vue.d.ts → App.vue.d.ts} +0 -0
  128. /package/dist/{src/components → components}/Guido.vue.d.ts +0 -0
  129. /package/dist/{src/components → components}/organisms/LoadingWrapper.vue.d.ts +0 -0
  130. /package/dist/{src/components → components}/organisms/base/Toaster.vue.d.ts +0 -0
  131. /package/dist/{src/components → components}/organisms/email-preview/PreviewContainer.vue.d.ts +0 -0
  132. /package/dist/{src/components → components}/organisms/email-preview/amp/AmpErrorModal.vue.d.ts +0 -0
  133. /package/dist/{src/components → components}/organisms/email-preview/amp/AmpToggle.vue.d.ts +0 -0
  134. /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/DesktopPreview.vue.d.ts +0 -0
  135. /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/EmailHeaderInfo.vue.d.ts +0 -0
  136. /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue.d.ts +0 -0
  137. /package/dist/{src/components → components}/organisms/email-preview/mobile-preview/ContentView.vue.d.ts +0 -0
  138. /package/dist/{src/components → components}/organisms/email-preview/mobile-preview/InboxView.vue.d.ts +0 -0
  139. /package/dist/{src/components → components}/organisms/email-preview/mobile-preview/MobilePreview.vue.d.ts +0 -0
  140. /package/dist/{src/components → components}/organisms/header/HeaderWrapper.vue.d.ts +0 -0
  141. /package/dist/{src/components → components}/organisms/header/LeftSlot.vue.d.ts +0 -0
  142. /package/dist/{src/components → components}/organisms/header/MiddleSlot.vue.d.ts +0 -0
  143. /package/dist/{src/components → components}/organisms/header/RightSlot.vue.d.ts +0 -0
  144. /package/dist/{src/components → components}/organisms/header/ViewOptions.vue.d.ts +0 -0
  145. /package/dist/{src/components → components}/organisms/header/version-history/RestoreButton.vue.d.ts +0 -0
  146. /package/dist/{src/components → components}/organisms/header/version-history/VersionHistory.vue.d.ts +0 -0
  147. /package/dist/{src/components → components}/organisms/header/version-history/VersionHistoryItem.vue.d.ts +0 -0
  148. /package/dist/{src/components → components}/organisms/header/version-history/ViewOptions.vue.d.ts +0 -0
  149. /package/dist/{src/components → components}/organisms/onboarding/AMPOnboarding.vue.d.ts +0 -0
  150. /package/dist/{src/components → components}/organisms/onboarding/GenericOnboarding.vue.d.ts +0 -0
  151. /package/dist/{src/components → components}/organisms/onboarding/NewVersionPopup.vue.d.ts +0 -0
  152. /package/dist/{src/components → components}/organisms/onboarding/OnboardingWrapper.vue.d.ts +0 -0
  153. /package/dist/{src/components → components}/organisms/onboarding/TextBlockOnboarding.vue.d.ts +0 -0
  154. /package/dist/{src/components → components}/organisms/onboarding/VersionHistoryOnboarding.vue.d.ts +0 -0
  155. /package/dist/{src/components → components}/organisms/save-as-template/SaveAsTemplateDrawer.vue.d.ts +0 -0
  156. /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.d.ts +0 -0
  157. /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribePageSelection.vue.d.ts +0 -0
  158. /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribeTypeSelection.vue.d.ts +0 -0
  159. /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribeWrapper.vue.d.ts +0 -0
  160. /package/dist/{src/components → components}/wrappers/WpDrawer.vue.d.ts +0 -0
  161. /package/dist/{src/components → components}/wrappers/WpModal.vue.d.ts +0 -0
  162. /package/dist/{src/composables → composables}/useActionsApi.d.ts +0 -0
  163. /package/dist/{src/composables → composables}/useApiExample.d.ts +0 -0
  164. /package/dist/{src/composables → composables}/useCodeEditorApi.d.ts +0 -0
  165. /package/dist/{src/composables → composables}/useConfig.d.ts +0 -0
  166. /package/dist/{src/composables → composables}/useCustomInterfaceAppearance.d.ts +0 -0
  167. /package/dist/{src/composables → composables}/useDebounce.d.ts +0 -0
  168. /package/dist/{src/composables → composables}/useExport.d.ts +0 -0
  169. /package/dist/{src/composables → composables}/useGuidoActions.d.ts +0 -0
  170. /package/dist/{src/composables → composables}/useHtmlCompiler.d.ts +0 -0
  171. /package/dist/{src/composables → composables}/useHtmlValidator.d.ts +0 -0
  172. /package/dist/{src/composables → composables}/useHttp.d.ts +0 -0
  173. /package/dist/{src/composables → composables}/usePartner.d.ts +0 -0
  174. /package/dist/{src/composables → composables}/usePreviewMode.d.ts +0 -0
  175. /package/dist/{src/composables → composables}/useProvideInject.d.ts +0 -0
  176. /package/dist/{src/composables → composables}/useRecommendation.d.ts +0 -0
  177. /package/dist/{src/composables → composables}/useResponsivePreview.d.ts +0 -0
  178. /package/dist/{src/composables → composables}/useSave.d.ts +0 -0
  179. /package/dist/{src/composables → composables}/useStripo.d.ts +0 -0
  180. /package/dist/{src/composables → composables}/useStripoEventHandler.d.ts +0 -0
  181. /package/dist/{src/composables → composables}/useToaster.d.ts +0 -0
  182. /package/dist/{src/composables → composables}/useTranslations.d.ts +0 -0
  183. /package/dist/{src/composables → composables}/useValidation.d.ts +0 -0
  184. /package/dist/{src/composables → composables}/useVersionHistoryApi.d.ts +0 -0
  185. /package/dist/{src/composables → composables}/validators/saveAsTemplate.d.ts +0 -0
  186. /package/dist/{src/config → config}/compiler/htmlCompilerRules.d.ts +0 -0
  187. /package/dist/{src/config → config}/compiler/outlookCompilerRules.d.ts +0 -0
  188. /package/dist/{src/config → config}/compiler/recommendationCompilerRules.d.ts +0 -0
  189. /package/dist/{src/config → config}/compiler/socialCompilerRules.d.ts +0 -0
  190. /package/dist/{src/config → config}/compiler/unsubscribeCompilerRules.d.ts +0 -0
  191. /package/dist/{src/config → config}/migrator/checkboxMigrator.d.ts +0 -0
  192. /package/dist/{src/config → config}/migrator/index.d.ts +0 -0
  193. /package/dist/{src/config → config}/migrator/radioButtonMigrator.d.ts +0 -0
  194. /package/dist/{src/config → config}/migrator/unsubscribeMigrator.d.ts +0 -0
  195. /package/dist/{src/enums → enums}/defaults.d.ts +0 -0
  196. /package/dist/{src/enums → enums}/displayConditions.d.ts +0 -0
  197. /package/dist/{src/enums → enums}/html-validator.d.ts +0 -0
  198. /package/dist/{src/enums → enums}/onboarding.d.ts +0 -0
  199. /package/dist/{src/enums → enums}/preview.d.ts +0 -0
  200. /package/dist/{src/enums → enums}/recommendation.d.ts +0 -0
  201. /package/dist/{src/enums → enums}/toaster.d.ts +0 -0
  202. /package/dist/{src/extensions → extensions}/Blocks/Checkbox/control.d.ts +0 -0
  203. /package/dist/{src/extensions → extensions}/Blocks/Checkbox/extension.d.ts +0 -0
  204. /package/dist/{src/extensions → extensions}/Blocks/Checkbox/settingsPanel.d.ts +0 -0
  205. /package/dist/{src/extensions → extensions}/Blocks/Checkbox/template.d.ts +0 -0
  206. /package/dist/{src/extensions → extensions}/Blocks/RadioButton/control.d.ts +0 -0
  207. /package/dist/{src/extensions/Blocks/CouponBlock → extensions/Blocks/RadioButton}/extension.d.ts +0 -0
  208. /package/dist/{src/extensions → extensions}/Blocks/RadioButton/settingsPanel.d.ts +0 -0
  209. /package/dist/{src/extensions → extensions}/Blocks/RadioButton/template.d.ts +0 -0
  210. /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/control.d.ts +0 -0
  211. /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/elements/preview.d.ts +0 -0
  212. /package/dist/{src/extensions/Blocks/RadioButton → extensions/Blocks/Unsubscribe}/extension.d.ts +0 -0
  213. /package/dist/{src/extensions/Blocks/Recommendation → extensions/Blocks/Unsubscribe}/settingsPanel.d.ts +0 -0
  214. /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/tagRegistry.d.ts +0 -0
  215. /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/template.d.ts +0 -0
  216. /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/utils/constants.d.ts +0 -0
  217. /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/utils/utils.d.ts +0 -0
  218. /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/control.d.ts +0 -0
  219. /package/dist/{src/extensions/Blocks/Recommendation → extensions/Blocks/_Boilerplate}/extension.d.ts +0 -0
  220. /package/dist/{src/extensions/Blocks/Unsubscribe → extensions/Blocks/_Boilerplate}/settingsPanel.d.ts +0 -0
  221. /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/template.d.ts +0 -0
  222. /package/dist/{src/extensions → extensions}/DynamicContent/dynamic-content-modal.d.ts +0 -0
  223. /package/dist/{src/extensions → extensions}/DynamicContent/dynamic-content.d.ts +0 -0
  224. /package/dist/{src/extensions/Blocks/Unsubscribe → extensions/DynamicContent}/extension.d.ts +0 -0
  225. /package/dist/{src/library.d.ts → library.d.ts} +0 -0
  226. /package/dist/{src/main.d.ts → main.d.ts} +0 -0
  227. /package/dist/{src/mock → mock}/api/auth.d.ts +0 -0
  228. /package/dist/{src/mock → mock}/api/custom-fonts.d.ts +0 -0
  229. /package/dist/{src/mock → mock}/api/default-template.d.ts +0 -0
  230. /package/dist/{src/mock → mock}/api/template-library.d.ts +0 -0
  231. /package/dist/{src/mock → mock}/api/unsubscribe.d.ts +0 -0
  232. /package/dist/{src/mock → mock}/api/user-modal-state.d.ts +0 -0
  233. /package/dist/{src/mock → mock}/api/validator.d.ts +0 -0
  234. /package/dist/{src/mock → mock}/browser.d.ts +0 -0
  235. /package/dist/{src/mock → mock}/handlers.d.ts +0 -0
  236. /package/dist/{src/services → services}/onboardingApi.d.ts +0 -0
  237. /package/dist/{src/services → services}/stripoApi.d.ts +0 -0
  238. /package/dist/{src/services → services}/templateLibraryApi.d.ts +0 -0
  239. /package/dist/{src/services → services}/unsubscribeApi.d.ts +0 -0
  240. /package/dist/{src/stores → stores}/dynamic-content.d.ts +0 -0
  241. /package/dist/{src/stores → stores}/onboarding.d.ts +0 -0
  242. /package/dist/{src/stores → stores}/preview.d.ts +0 -0
  243. /package/dist/{src/stores → stores}/recommendation.d.ts +0 -0
  244. /package/dist/{src/stores → stores}/save-as-template.d.ts +0 -0
  245. /package/dist/{src/stores → stores}/toaster.d.ts +0 -0
  246. /package/dist/{src/stores → stores}/version-history.d.ts +0 -0
  247. /package/dist/{src/utils → utils}/arrayUtil.d.ts +0 -0
  248. /package/dist/{src/utils → utils}/base64.d.ts +0 -0
  249. /package/dist/{src/utils → utils}/dateUtil.d.ts +0 -0
  250. /package/dist/{src/utils → utils}/htmlCompiler.d.ts +0 -0
  251. /package/dist/{src/utils → utils}/templatePreparation.d.ts +0 -0
  252. /package/dist/{src/utils → utils}/tooltipUtils.d.ts +0 -0
@@ -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
+ };
@@ -0,0 +1,12 @@
1
+ var T;
2
+ (function(t) {
3
+ t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left";
4
+ })(T || (T = {}));
5
+ var a;
6
+ (function(t) {
7
+ t.AI_HIDDEN_PREHEADER = "aiHiddenPreheader", t.AI_SUBJECT = "aiSubject", t.AI_TEXT = "aiText";
8
+ })(a || (a = {}));
9
+ export {
10
+ a as ExtensionPopoverType,
11
+ T as PopoverSide
12
+ };
@@ -0,0 +1,7 @@
1
+ var O;
2
+ (function(E) {
3
+ E.DESKTOP = "DESKTOP", E.MOBILE = "MOBILE";
4
+ })(O || (O = {}));
5
+ export {
6
+ O as PreviewDeviceMode
7
+ };
@@ -0,0 +1,7 @@
1
+ var s;
2
+ (function(t) {
3
+ t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data";
4
+ })(s || (s = {}));
5
+ export {
6
+ s as SettingsTab
7
+ };
@@ -0,0 +1,7 @@
1
+ var C;
2
+ (function(E) {
3
+ 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";
4
+ })(C || (C = {}));
5
+ export {
6
+ C as UIElementType
7
+ };
@@ -0,0 +1,25 @@
1
+ const t = {
2
+ name: "name",
3
+ disabled: "disabled"
4
+ }, e = {
5
+ ...t,
6
+ caption: "caption"
7
+ }, s = {
8
+ ...t,
9
+ text: "text"
10
+ }, l = {
11
+ ...t,
12
+ placeholder: "placeholder",
13
+ items: "items"
14
+ }, c = {
15
+ text: "text",
16
+ value: "value"
17
+ }, n = {
18
+ BUTTON: e,
19
+ LABEL: s,
20
+ SELECTPICKER: l,
21
+ SELECT_ITEM: c
22
+ };
23
+ export {
24
+ n as UEAttr
25
+ };
@@ -0,0 +1,24 @@
1
+ var s = Object.defineProperty;
2
+ var t = (e, o, n) => o in e ? s(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n;
3
+ var r = (e, o, n) => t(e, typeof o != "symbol" ? o + "" : o, n);
4
+ class l {
5
+ constructor() {
6
+ /** Provides access to editor functionalities specific to this UI control instance. */
7
+ r(this, "api");
8
+ }
9
+ /**
10
+ * Optional hook called when the control is initially rendered.
11
+ * Use this for setup tasks like attaching event listeners to the control's template elements.
12
+ */
13
+ onRender() {
14
+ }
15
+ /**
16
+ * Optional cleanup hook called when the control is being destroyed.
17
+ * Use this to remove event listeners or perform other cleanup tasks.
18
+ */
19
+ onDestroy() {
20
+ }
21
+ }
22
+ export {
23
+ l as Control
24
+ };
@@ -0,0 +1,11 @@
1
+ var i = Object.defineProperty;
2
+ var g = (s, e, t) => e in s ? i(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var a = (s, e, t) => g(s, typeof e != "symbol" ? e + "" : e, t);
4
+ class n {
5
+ constructor() {
6
+ a(this, "api");
7
+ }
8
+ }
9
+ export {
10
+ n as SettingsPanelRegistry
11
+ };
@@ -0,0 +1,33 @@
1
+ var r = Object.defineProperty;
2
+ var n = (e, s, t) => s in e ? r(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
3
+ var l = (e, s, t) => n(e, typeof s != "symbol" ? s + "" : s, t);
4
+ class o {
5
+ constructor(s, t) {
6
+ l(this, "tabId");
7
+ l(this, "label");
8
+ l(this, "controlsIds");
9
+ this.tabId = s, this.controlsIds = t;
10
+ }
11
+ getTabId() {
12
+ return this.tabId;
13
+ }
14
+ getLabel() {
15
+ return this.label;
16
+ }
17
+ getControlsIds() {
18
+ return this.controlsIds;
19
+ }
20
+ withLabel(s) {
21
+ return this.label = s, this;
22
+ }
23
+ addControl(s, t) {
24
+ return t < 0 ? this.controlsIds.unshift(s) : t > this.controlsIds.length ? this.controlsIds.push(s) : this.controlsIds.splice(t, 0, s), this;
25
+ }
26
+ deleteControl(s) {
27
+ const t = this.controlsIds.indexOf(s);
28
+ t !== -1 && this.controlsIds.splice(t, 1);
29
+ }
30
+ }
31
+ export {
32
+ o as SettingsPanelTab
33
+ };
@@ -0,0 +1,22 @@
1
+ var i = Object.defineProperty;
2
+ var e = (t, s, a) => s in t ? i(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a;
3
+ var r = (t, s, a) => e(t, typeof s != "symbol" ? s + "" : s, a);
4
+ class o {
5
+ constructor(s) {
6
+ r(this, "key");
7
+ r(this, "params");
8
+ this.key = s;
9
+ }
10
+ withParams(s) {
11
+ return this.params = s, this;
12
+ }
13
+ getValue() {
14
+ return {
15
+ key: this.key,
16
+ params: this.params
17
+ };
18
+ }
19
+ }
20
+ export {
21
+ o as ModificationDescription
22
+ };