@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
@@ -1,17 +0,0 @@
1
- import o from "./FilterSelectionDrawer.vue2.js";
2
- import n from "../../../../_virtual/_plugin-vue2_normalizer.js";
3
- var l = function() {
4
- var e = this, r = e._self._c, t = e._self._setupProxy;
5
- return r(t.WpDrawer, { attrs: { id: "recommendation-filter-drawer", "title-text": "Filter Selection", "footer-button-group-options": t.footerButtonGroupOptions, status: t.store.filterSelectionDrawerStatus }, on: { cancelOrBackButtonEvent: t.closeModal, onCloseEvent: t.closeModal, primaryButtonEvent: t.applyFilter } }, [r(t.Filters)], 1);
6
- }, s = [], a = /* @__PURE__ */ n(
7
- o,
8
- l,
9
- s,
10
- !1,
11
- null,
12
- null
13
- );
14
- const p = a.exports;
15
- export {
16
- p as default
17
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as n, ref as a, computed as l } from "vue";
2
- import i from "../../../wrappers/WpDrawer.vue.js";
3
- import { useTranslations as p } from "../../../../composables/useTranslations.js";
4
- import { useRecommendationExtensionStore as c } from "../../../../extensions/Blocks/Recommendation/store/recommendation.js";
5
- import u from "./Filters.vue.js";
6
- const b = /* @__PURE__ */ n({
7
- __name: "FilterSelectionDrawer",
8
- setup(m) {
9
- const t = p(), o = c(), e = a(!1), s = l(() => ({
10
- primaryButton: {
11
- styling: "solid",
12
- type: "primary",
13
- labelText: t(
14
- e.value ? "unsubscription-preference.selecting-type" : "products.select-and-continue"
15
- ),
16
- loadingStatus: e.value,
17
- disabledStatus: !1
18
- },
19
- cancelOrBackButton: {
20
- styling: "ghost",
21
- type: "secondary",
22
- labelText: t("products.cancel"),
23
- disabledStatus: e.value
24
- }
25
- })), r = () => {
26
- o.filterSelectionDrawerStatus = !1;
27
- };
28
- return { __sfc: !0, trans: t, store: o, isApplying: e, footerButtonGroupOptions: s, closeModal: r, applyFilter: () => {
29
- e.value = !0, setTimeout(() => {
30
- console.debug("Filter applied!"), r(), o.generateFilterQuery();
31
- }, 2e3);
32
- }, WpDrawer: i, Filters: u };
33
- }
34
- });
35
- export {
36
- b as default
37
- };
@@ -1,20 +0,0 @@
1
- import s from "./Filters.vue2.js";
2
- /* empty css */
3
- import a from "../../../../_virtual/_plugin-vue2_normalizer.js";
4
- var o = function() {
5
- var i = this, e = i._self._c, t = i._self._setupProxy;
6
- return e("div", { staticClass: "d-f f-d-c gap-16" }, [e("div", { staticClass: "d-f a-i-c j-c-s-b gap-16" }, [e(t.InSegments, { staticClass: "f-g-1 w-1", attrs: { id: "guido__filter-group-segments", "segment-list": t.filterGroupList, selected: t.selectedFilterGroup, "with-icon": !1 }, on: { click: t.changeFilterGroup } }), e(t.InButtonV2, { staticClass: "w-20-s f-g-1", attrs: { id: "guido__add-filter-group-button", "left-icon": "line-plus-netural", type: "secondary", "disabled-status": t.isMaxFilterGroupCount, "label-text": t.trans("smart-recommender.add-filter-group"), "tooltip-text": t.isMaxFilterGroupCount ? t.trans("email-editor.add-filter-tooltip") : "" }, on: { click: t.handleAddFilterGroup } })], 1), e("div", { staticClass: "d-f a-i-c j-c-s-b gap-16" }, [e("div", { staticClass: "d-f a-i-c" }, [t.selectedFilterGroup > 1 ? e(t.LogicAdapter, { staticClass: "mr-2" }) : i._e(), e("p", [i._v(" " + i._s(t.trans("email-editor.filter-group")) + " " + i._s(t.selectedFilterGroup) + " ")])], 1), t.hasRemoveFilterButton ? e(t.InButtonV2, { attrs: { id: "guido__delete-filter-group-button", "left-icon": "line-delete", styling: "text", type: "danger", "label-text-status": !1 }, on: { click: t.handleDeleteFilterGroup } }) : i._e()], 1), e("div", { staticClass: "d-f a-i-c j-c-s-b f-d-c" }, i._l(t.selectedFilterGroupFilters, function(l, r) {
7
- return e(t.FilterItem, { key: r, attrs: { filter: l, "has-logic-adapter": t.hasLogicAdapter && r !== t.selectedFilterGroupFilters.length - 1, index: r }, on: { "delete-filter": t.handleDeleteFilter } });
8
- }), 1), e("div", { staticClass: "d-f a-i-c j-c-c mt-3" }, [e(t.InButtonV2, { staticClass: "w-11-s", attrs: { id: "filter-group--add-filter-button", "left-icon": "line-plus-netural", type: "subtle-primary", "label-text": t.trans("smart-recommender.add-filter-condition") }, on: { click: t.handleAddFilter } })], 1)]);
9
- }, d = [], n = /* @__PURE__ */ a(
10
- s,
11
- o,
12
- d,
13
- !1,
14
- null,
15
- "1ccb6d4a"
16
- );
17
- const _ = n.exports;
18
- export {
19
- _ as default
20
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as m, computed as o, ref as h } from "vue";
2
- import { useTranslations as G } from "../../../../composables/useTranslations.js";
3
- import { useRecommendationExtensionStore as g } from "../../../../extensions/Blocks/Recommendation/store/recommendation.js";
4
- import { InButtonV2 as v, InSegments as f } from "@useinsider/design-system-vue";
5
- import _ from "./FilterItem.vue.js";
6
- import A from "./LogicAdapter.vue.js";
7
- const E = /* @__PURE__ */ m({
8
- __name: "Filters",
9
- setup(R) {
10
- const i = G(), l = g(), u = o(() => l.getFilterGroupCount), t = o(() => Array.from({ length: u.value }, (e, a) => ({
11
- text: (a + 1).toString(),
12
- value: a + 1
13
- }))), r = h(1), s = (e) => {
14
- r.value = e;
15
- }, d = () => {
16
- const e = t.value.length + 1;
17
- console.debug("handleAddFilterGroup", e), t.value.push({
18
- text: e.toString(),
19
- value: e
20
- }), l.addFilterGroup(e);
21
- }, p = o(() => t.value.length >= 3), n = o(() => l.getSelectedFilterGroup(r.value)), c = o(() => n.value.length > 1), F = o(() => t.value.length > 1);
22
- return { __sfc: !0, MAX_FILTER_GROUP_COUNT: 3, trans: i, store: l, filterGroupCount: u, filterGroupList: t, selectedFilterGroup: r, changeFilterGroup: s, handleAddFilterGroup: d, isMaxFilterGroupCount: p, selectedFilterGroupFilters: n, hasLogicAdapter: c, hasRemoveFilterButton: F, handleAddFilter: () => {
23
- l.addFilter({
24
- type: "standardFilter",
25
- attribute: "",
26
- operatorReplace: "",
27
- operator: "",
28
- innerGroupOperator: "*",
29
- outerGroupOperator: "*",
30
- filterNumber: n.value.length + 1,
31
- filterGroup: r.value,
32
- isValid: !1,
33
- value: ""
34
- }), console.debug("handleAddFilter");
35
- }, handleDeleteFilter: (e) => {
36
- console.debug("handleDeleteFilter: ", e), l.deleteFilter(e);
37
- }, handleDeleteFilterGroup: () => {
38
- t.value.length !== 1 && (console.debug("handleDeleteFilterGroup"), t.value.splice(r.value - 1, 1), r.value > 1 && r.value--);
39
- }, InSegments: f, InButtonV2: v, FilterItem: _, LogicAdapter: A };
40
- }
41
- });
42
- export {
43
- E as default
44
- };
@@ -1,17 +0,0 @@
1
- import s from "./LogicAdapter.vue2.js";
2
- import n from "../../../../_virtual/_plugin-vue2_normalizer.js";
3
- var o = function() {
4
- var t = this, r = t._self._c, e = t._self._setupProxy;
5
- return r(e.InSegments, { staticClass: "guido__logic-adapter f-g-1", attrs: { "segment-list": e.logicAdapterList, selected: e.selectedLogicAdapter, "with-icon": !1 }, on: { click: e.changeLogicAdapter } });
6
- }, a = [], c = /* @__PURE__ */ n(
7
- s,
8
- o,
9
- a,
10
- !1,
11
- null,
12
- null
13
- );
14
- const p = c.exports;
15
- export {
16
- p as default
17
- };
@@ -1,27 +0,0 @@
1
- import { defineComponent as s, ref as n } from "vue";
2
- import { InSegments as p } from "@useinsider/design-system-vue";
3
- const l = /* @__PURE__ */ s({
4
- __name: "LogicAdapter",
5
- props: {
6
- logic: null
7
- },
8
- emits: ["change"],
9
- setup(r, { emit: e }) {
10
- const t = r, a = n([
11
- {
12
- text: "and",
13
- value: "*"
14
- },
15
- {
16
- text: "or",
17
- value: "|"
18
- }
19
- ]), o = n(t.logic || "*");
20
- return { __sfc: !0, logicAdapterList: a, emit: e, props: t, selectedLogicAdapter: o, changeLogicAdapter: (c) => {
21
- o.value = c, e("change", c);
22
- }, InSegments: p };
23
- }
24
- });
25
- export {
26
- l as default
27
- };
@@ -1,67 +0,0 @@
1
- var k = Object.defineProperty;
2
- var m = (o, t, e) => t in o ? k(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
- var x = (o, t, e) => m(o, typeof t != "symbol" ? t + "" : t, e);
4
- import h from "../../extensions/Blocks/CouponBlock/template.js";
5
- class y {
6
- constructor() {
7
- x(this, "parser");
8
- this.parser = new DOMParser();
9
- }
10
- migrate(t) {
11
- try {
12
- const e = this.parser.parseFromString(t, "text/html"), n = e.querySelectorAll("td.coupon-block.ins-coupon-code:not([esd-extension-block-id])");
13
- return n.length === 0 ? t : (n.forEach((s) => {
14
- const i = this.extractText(s), c = this.extractAttributes(s), l = h.replace("{@COUPON_CODE}", i).replace(
15
- 'class="coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block"',
16
- c.class
17
- ).replace(
18
- 'esd-extension-block-id="coupon-block"',
19
- `esd-extension-block-id="coupon-block"${c.block}`
20
- ).replace(
21
- '<p class="ins-title"',
22
- `<p class="ins-title"${c.text}`
23
- );
24
- s.outerHTML = l;
25
- }), e.documentElement.outerHTML);
26
- } catch (e) {
27
- return console.error("CouponBlockMigrator failed:", e), t;
28
- }
29
- }
30
- extractText(t) {
31
- var g;
32
- const e = t.querySelector(".ins-title");
33
- if (!e)
34
- return "{@COUPON_CODE}";
35
- const n = ((g = e.textContent) == null ? void 0 : g.trim()) || "{@COUPON_CODE}", s = e.getAttribute("style") || "", i = /font-weight\s*:\s*bold/i.test(s), c = /font-style\s*:\s*italic/i.test(s), l = /text-decoration[^;]*underline/i.test(s), u = /text-decoration[^;]*line-through/i.test(s), a = /vertical-align\s*:\s*sub/i.test(s), p = /vertical-align\s*:\s*super/i.test(s);
36
- return [
37
- [i, "strong"],
38
- [c, "em"],
39
- [l, "u"],
40
- [u, "s"],
41
- [a, "sub"],
42
- [p, "sup"]
43
- ].reduce((b, [f, d]) => f ? `<${d}>${b}</${d}>` : b, n);
44
- }
45
- extractAttributes(t) {
46
- const e = t.querySelector(".ins-title"), n = t.className.split(" ").filter((r) => r.startsWith("es-")), s = t.getAttribute("align"), i = t.getAttribute("bgcolor"), c = t.getAttribute("style"), l = e == null ? void 0 : e.getAttribute("style");
47
- let u = 'class="coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block';
48
- n.length && (u += ` ${n.join(" ")}`), u += '"';
49
- let a = "";
50
- if (s && (a += ` align="${s}"`), i && (a += ` bgcolor="${i}"`), c) {
51
- const r = c.replace(/background-color[^;]+;?/gi, "").replace(/;+/g, ";").trim();
52
- r && (a += ` style="${r.replace(/"/g, "'")}"`);
53
- }
54
- let p = "";
55
- if (l) {
56
- const r = l.replace(/&quot;/g, '"').replace(/font-weight\s*:\s*[^;]+;?/gi, "").replace(/font-style\s*:\s*[^;]+;?/gi, "").replace(/text-decoration\s*:\s*[^;]+;?/gi, "").replace(/vertical-align\s*:\s*[^;]+;?/gi, "").replace(/;+/g, ";").replace(/^;|;$/g, "").trim().replace(/"/g, "'");
57
- r && (p = ` style="${r}"`);
58
- }
59
- return { class: u, block: a, text: p };
60
- }
61
- }
62
- function C(o) {
63
- return new y().migrate(o);
64
- }
65
- export {
66
- C as migrateCouponBlock
67
- };
@@ -1,80 +0,0 @@
1
- const s = {
2
- RECOMMENDATION_API_URL: "http://recommendationv2.api.useinsider.com"
3
- }, i = [
4
- { id: 11, key: "similarViewed", name: "Viewed Together", path: "viewed-together" },
5
- { id: 12, key: "similarBought", name: "Purchased Together", path: "purchased-together" },
6
- { id: 13, key: "userBased", name: "User Based", path: "user-based" },
7
- { id: 36, key: "highestDiscounted", name: "Highest Discounted Items", path: "highest-discounted" },
8
- { id: 38, key: "manualMerchandising", name: "Manual Merchandising", path: "manual-merchandising" },
9
- { id: 39, key: "newArrivals", name: "New Arrivals", path: "new-arrivals" },
10
- { id: 40, key: "trendingProducts", name: "Trending Products", path: "trending" },
11
- { id: 46, key: "mostValuableOfPartner", name: "Most Valuable Products", path: "most-valuable" },
12
- { id: 61, key: "mostPopular", name: "Most Popular Items", path: "most-popular" },
13
- { id: 62, key: "mostPurchased", name: "Top Sellers", path: "top-sellers" }
14
- ], u = ["discount", "omnibus_price", "omnibus_discount", "price", "original_price"], l = [
15
- { text: "after the amount", value: "1" },
16
- { text: "before the amount", value: "0" }
17
- ], c = [
18
- { text: "dot(.)", value: "." },
19
- { text: "comma(,)", value: "," }
20
- ], d = [
21
- { text: "0", value: "0" },
22
- { text: "1", value: "1" },
23
- { text: "2", value: "2" },
24
- { text: "3", value: "3" },
25
- { text: "4", value: "4" },
26
- { text: "5", value: "5" }
27
- ], e = [
28
- { text: "is exactly", value: "=" },
29
- { text: "contains", value: "~" },
30
- { text: "does not contain", value: "!~" },
31
- { text: "any of", value: "||" }
32
- ], a = [
33
- { text: "is exactly", value: "=" },
34
- { text: "is not exactly", value: "!==" },
35
- { text: "contains", value: "~" },
36
- { text: "does not contain", value: "!~" },
37
- { text: "any of", value: "||" }
38
- ], r = [
39
- { text: "is equal to", value: "=" },
40
- { text: "is greater than", value: ">" },
41
- { text: "is less than", value: "<" }
42
- ], o = [
43
- { text: "is equal to", value: "=" },
44
- { text: "after", value: ">" },
45
- { text: "before", value: "<" }
46
- ], n = [
47
- { text: "true", value: "==" },
48
- { text: "false", value: "!=" }
49
- ], p = (t) => {
50
- if (!t)
51
- return e;
52
- switch (t) {
53
- case "Boolean":
54
- return n;
55
- case "Date":
56
- return o;
57
- case "Number":
58
- return r;
59
- case "String":
60
- return e;
61
- case "Strings":
62
- return a;
63
- default:
64
- return e;
65
- }
66
- };
67
- export {
68
- u as PriceAttributes,
69
- i as RecommendationFeedSourceMaps,
70
- s as URLS,
71
- d as currencyDecimalCounts,
72
- l as currencyLocationMaps,
73
- c as currencyOperators,
74
- p as getOperatorOptions,
75
- a as operatorOptionsForArrayOfStrings,
76
- n as operatorOptionsForBooleans,
77
- o as operatorOptionsForDates,
78
- r as operatorOptionsForNumbers,
79
- e as operatorOptionsForStrings
80
- };
@@ -1,18 +0,0 @@
1
- import { IconsRegistry as s } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- class t extends s {
3
- registerIconsSvg(e) {
4
- e["checkbox-icon"] = `
5
- <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
6
- <path d="M16 0C17.1046 0 18 0.895431 18 2L18 16C18 17.1046 17.1046 18 16 18L2 18C0.895431 18 8.05333e-09
7
- 17.1046 0 16L0 2C0 0.895431 0.895431 8.05319e-09 2 0L16 0ZM2 16L16 16L16 2L2 2L2 16ZM11.3672
8
- 6.28125C11.7407 5.9061 12.3462 5.90614 12.7197 6.28125C13.0933 6.65659 13.0933 7.26528 12.7197
9
- 7.64062L8.66211 11.7187C8.31189 12.0707 7.75752 12.0922 7.38184 11.7842L7.30957 11.7187L5.28027
10
- 9.67969C4.90674 9.30434 4.90674 8.69566 5.28027 8.32031C5.6538 7.94508 6.25931 7.94504 6.63281
11
- 8.32031L7.98535 9.67969L11.3672 6.28125Z" fill="#666666"/>
12
- </svg>
13
- `;
14
- }
15
- }
16
- export {
17
- t as CheckboxIconsRegistry
18
- };
@@ -1,33 +0,0 @@
1
- import { Block as o, BlockCompositionType as e, BlockType as t } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { getDefaultTemplate as r } from "./template.js";
3
- const n = "coupon-block";
4
- class s extends o {
5
- constructor() {
6
- super();
7
- }
8
- getId() {
9
- return n;
10
- }
11
- getIcon() {
12
- return "coupon-icon";
13
- }
14
- getBlockCompositionType() {
15
- return e.BLOCK;
16
- }
17
- getName() {
18
- return this.api.translate("Coupon Block");
19
- }
20
- getDescription() {
21
- return this.api.translate("Coupon lets you add a coupon code to your message design.");
22
- }
23
- getBlockType() {
24
- return t.BLOCK_TEXT;
25
- }
26
- getTemplate() {
27
- return r();
28
- }
29
- }
30
- export {
31
- n as COUPON_BLOCK_ID,
32
- s as CouponBlock
33
- };
@@ -1,8 +0,0 @@
1
- import { ExtensionBuilder as o } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { CouponBlock as t } from "./block.js";
3
- import { CouponIconsRegistry as i } from "./iconsRegistry.js";
4
- import { CouponBlockSettings as n } from "./settingsPanel.js";
5
- const m = new o().addBlock(t).withSettingsPanelRegistry(n).withIconsRegistry(i).build();
6
- export {
7
- m as default
8
- };
@@ -1,33 +0,0 @@
1
- import { IconsRegistry as L } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- class t extends L {
3
- registerIconsSvg(C) {
4
- C["coupon-icon"] = `
5
- <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
6
- <path d="M7.87939 0C8.56714 0.0576002 9.26998 0.793636 9.82275 1.37305L9.83057
7
- 1.38184C9.93483 1.49112 10.0343 1.5944 10.1265 1.68652L17.2573 8.79492C18.2493
8
- 9.7872 18.2493 11.3954 17.2573 12.3877L12.396 17.2471C11.9169 17.726 11.2659 17.9999
9
- 10.6157 18C9.96563 17.9999 9.31551 17.76 8.83643 17.2471L1.68896 10.1221C1.58907 10.0222
10
- 1.47548 9.91523 1.35596 9.80273C0.77939 9.26006 0.0584135 8.58144 0.00146484 7.87305L0.00439453
11
- 2.15625C-0.0298299 1.57462 0.209988 1.02683 0.620605 0.616211C1.03135 0.20572 1.57981 0 2.16162
12
- 0L7.87939 0ZM2.16162 2C2.10648 2 2.07333 2.01007 2.05908 2.01562C2.04707 2.02035 2.04069 2.02432
13
- 2.03467 2.03027C2.01884 2.04611 2.00915 2.05957 2.00342 2.06836L2.00439 2.09766L2.00146 7.59277C2.01413
14
- 7.61029 2.02975 7.63092 2.04834 7.6543C2.20264 7.84819 2.41884 8.05659 2.72705 8.34668L2.73682
15
- 8.35645C2.84844 8.46149 2.9808 8.58586 3.10205 8.70703L3.10303 8.70801L10.2739 15.8564L10.2983
16
- 15.8818C10.3564 15.9439 10.4539 15.9999 10.6157 16C10.7155 15.9998 10.8635 15.9513 10.9819
17
- 15.833L15.8433 10.9736C16.054 10.7626 16.0536 10.4212 15.8433 10.21L8.71436 3.10352L8.7124
18
- 3.10156C8.60329 2.99248 8.49054 2.8737 8.39209 2.77051L8.37549 2.75391C8.08113 2.44536 7.86049
19
- 2.21875 7.65479 2.05469C7.62752 2.03295 7.6037 2.01461 7.5835 2L2.16162 2ZM8.16748 9.83301C8.81172
20
- 9.18878 9.8571 9.18898 10.5015 9.83301L10.6265 9.71973C11.2745 9.19135 12.2304 9.22915 12.8345
21
- 9.83301C13.4787 10.4772 13.4795 11.5226 12.8354 12.167C12.8312 12.1713 12.8251 12.1745 12.8208
22
- 12.1787L11.2085 13.792C10.818 14.1825 10.185 14.1824 9.79443 13.792L8.18115 12.1797C8.1768 12.1755
23
- 8.17178 12.1713 8.16748 12.167C7.52346 11.5226 7.52325 10.4772 8.16748 9.83301ZM5.00146 4C5.55353
24
- 4.00025 6.00146 4.44787 6.00146 5C6.00146 5.55213 5.55353 5.99975 5.00146 6C4.44918 6 4.00146 5.55228
25
- 4.00146 5C4.00146 4.44772 4.44918 4 5.00146 4Z" fill="#666666"/>
26
- </svg>
27
-
28
- `;
29
- }
30
- }
31
- export {
32
- t as CouponIconsRegistry
33
- };
@@ -1,24 +0,0 @@
1
- import { SettingsPanelRegistry as T, SettingsPanelTab as o, SettingsTab as O, TextControls as t } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { COUPON_BLOCK_ID as N } from "./block.js";
3
- class _ extends T {
4
- registerBlockControls(e) {
5
- e[N] = [
6
- new o(
7
- O.SETTINGS,
8
- [
9
- t.FONT_FAMILY,
10
- t.FONT_SIZE,
11
- t.FORMAT,
12
- t.FONT_COLOR,
13
- t.TEXT_BLOCK_BACKGROUND_COLOR,
14
- t.ALIGN,
15
- t.LINE_HEIGHT,
16
- t.INTERNAL_INDENTS
17
- ]
18
- )
19
- ];
20
- }
21
- }
22
- export {
23
- _ as CouponBlockSettings
24
- };
@@ -1,18 +0,0 @@
1
- const o = `
2
- <td class="coupon-block ins-coupon-code esd-block-text coupon-block-v2">
3
- <p class="ins-title" contenteditable="false">{@COUPON_CODE}</p>
4
- </td>`, e = `
5
- <td
6
- class="coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block"
7
- esd-extension-block-id="coupon-block"
8
- >
9
- <p class="ins-title" contenteditable="false">{@COUPON_CODE}</p>
10
- </td>
11
- `;
12
- function t() {
13
- return o;
14
- }
15
- export {
16
- e as default,
17
- t as getDefaultTemplate
18
- };
@@ -1,14 +0,0 @@
1
- import { IconsRegistry as i } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- class s extends i {
3
- registerIconsSvg(t) {
4
- t["radio-button-icon"] = `
5
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
6
- <circle cx="10" cy="10" r="9" stroke="#666666" fill="#FFFFFF" stroke-width="2"/>
7
- <circle cx="10" cy="10" r="3" fill="#666666"/>
8
- </svg>
9
- `;
10
- }
11
- }
12
- export {
13
- s as RadioButtonIconsRegistry
14
- };
@@ -1,27 +0,0 @@
1
- import { Block as e, BlockCompositionType as t } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { getDefaultTemplate as o } from "./template.js";
3
- const n = "recommendation-block";
4
- class c extends e {
5
- getId() {
6
- return n;
7
- }
8
- getIcon() {
9
- return "recommendation-icon";
10
- }
11
- getBlockCompositionType() {
12
- return t.CONTAINER;
13
- }
14
- getName() {
15
- return this.api.translate("Recommendation Block");
16
- }
17
- getDescription() {
18
- return this.api.translate("Recommendation Block Title Description");
19
- }
20
- getTemplate() {
21
- return o();
22
- }
23
- }
24
- export {
25
- n as BLOCK_ID,
26
- c as RecommendationBlock
27
- };