@useinsider/guido 3.21.2-beta.d9d48aa → 3.21.2-beta.eda5c2e

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 (27) hide show
  1. package/README.md +0 -9
  2. package/dist/@types/config/schemas.js +33 -35
  3. package/dist/components/Guido.vue.js +5 -5
  4. package/dist/components/Guido.vue2.js +96 -100
  5. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.js +5 -5
  6. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue2.js +9 -9
  7. package/dist/composables/useModuleRepair.js +23 -32
  8. package/dist/config/migrator/index.js +9 -10
  9. package/dist/enums/academy.js +1 -2
  10. package/dist/guido.css +1 -1
  11. package/dist/src/@types/config/schemas.d.ts +0 -4
  12. package/dist/src/composables/useConfig.d.ts +0 -2
  13. package/dist/src/composables/useModuleRepair.d.ts +11 -2
  14. package/dist/src/enums/academy.d.ts +0 -1
  15. package/dist/src/stores/config.d.ts +0 -20
  16. package/dist/src/stores/editor.d.ts +0 -25
  17. package/dist/src/stores/unsubscribe.d.ts +10 -0
  18. package/dist/stores/editor.js +14 -15
  19. package/dist/stores/unsubscribe.js +28 -24
  20. package/package.json +1 -1
  21. package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.js +0 -17
  22. package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue2.js +0 -30
  23. package/dist/config/migrator/legacyUnsubscribeTextMigrator.js +0 -16
  24. package/dist/src/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.d.ts +0 -2
  25. package/dist/src/config/migrator/legacyUnsubscribeTextMigrator.d.ts +0 -1
  26. package/dist/src/utils/legacyUnsubscribeConversion.d.ts +0 -10
  27. package/dist/utils/legacyUnsubscribeConversion.js +0 -49
@@ -1,42 +1,33 @@
1
- import { useConfig as f } from "./useConfig.js";
2
- import { useToaster as d } from "./useToaster.js";
3
- import { useTranslations as C } from "./useTranslations.js";
4
- import { ToasterTypeOptions as h } from "../enums/toaster.js";
5
- import { useEditorStore as T } from "../stores/editor.js";
6
- import { buildDynamicContentLookup as v, convertModuleDynamicContent as D } from "../utils/dynamicContentConverter.js";
7
- import { flattenDynamicContentList as L } from "../utils/genericUtil.js";
1
+ import { useConfig as C } from "./useConfig.js";
2
+ import { useToaster as T } from "./useToaster.js";
3
+ import { useTranslations as g } from "./useTranslations.js";
4
+ import { ToasterTypeOptions as D } from "../enums/toaster.js";
5
+ import { buildDynamicContentLookup as f, convertModuleDynamicContent as h } from "../utils/dynamicContentConverter.js";
6
+ import { flattenDynamicContentList as O } from "../utils/genericUtil.js";
8
7
  import { repairItemsCurrencyAttributes as M } from "../utils/itemsCurrencyRepair.js";
9
- import { convertLegacyUnsubscribeInModuleHtml as O } from "../utils/legacyUnsubscribeConversion.js";
10
- const E = "dynamic-content.unresolved-attributes-on-drop", Y = () => {
11
- const { template: p, isFeatureEnabled: s } = f(), { showToaster: y } = d(), b = C();
12
- return { handleModuleAdd: (t, r) => {
13
- var c, l, u;
8
+ const N = "dynamic-content.unresolved-attributes-on-drop", R = () => {
9
+ const { template: p, isFeatureEnabled: m } = C(), { showToaster: a } = T(), y = g();
10
+ return { handleModuleAdd: (e, o) => {
11
+ var s, l, u;
14
12
  try {
15
- if ((t == null ? void 0 : t.action) !== "ADD" && (t == null ? void 0 : t.action) !== "COPY")
13
+ if ((e == null ? void 0 : e.action) !== "ADD" && (e == null ? void 0 : e.action) !== "COPY")
16
14
  return;
17
- const e = (c = r == null ? void 0 : r.getTargetNode) == null ? void 0 : c.call(r), n = (l = e == null ? void 0 : e.getOuterHTML) == null ? void 0 : l.call(e);
18
- if (!e || typeof n != "string")
15
+ const t = (s = o == null ? void 0 : o.getTargetNode) == null ? void 0 : s.call(o), r = (l = t == null ? void 0 : t.getOuterHTML) == null ? void 0 : l.call(t);
16
+ if (!t || typeof r != "string")
19
17
  return;
20
- let o = M(n), i = !1;
21
- s("legacyUnsubscribeConversion") && ({ html: o, converted: i } = O(o));
22
- const a = v(L((u = p.value) == null ? void 0 : u.dynamicContentList));
23
- let m = [];
24
- if (a.size > 0 && ({ html: o, unresolved: m } = D(o, a, s("liquidSyntax"))), o !== n && r.modifyHtml(e).replaceWith(o), i)
25
- try {
26
- T().isLegacyUnsubscribeModalRequested = !0;
27
- } catch (g) {
28
- console.error("Failed to request the legacy unsubscribe modal:", g);
29
- }
30
- m.length > 0 && y({
31
- type: h.Warning,
32
- message: b(E)
18
+ let n = M(r);
19
+ const c = f(O((u = p.value) == null ? void 0 : u.dynamicContentList));
20
+ let i = [];
21
+ c.size > 0 && ({ html: n, unresolved: i } = h(n, c, m("liquidSyntax"))), n !== r && o.modifyHtml(t).replaceWith(n), i.length > 0 && a({
22
+ type: D.Warning,
23
+ message: y(N)
33
24
  });
34
- } catch (e) {
35
- console.error("Failed to repair module on add:", e);
25
+ } catch (t) {
26
+ console.error("Failed to repair module on add:", t);
36
27
  }
37
28
  } };
38
29
  };
39
30
  export {
40
- E as UNRESOLVED_DYNAMIC_CONTENT_ON_DROP_KEY,
41
- Y as useModuleRepair
31
+ N as UNRESOLVED_DYNAMIC_CONTENT_ON_DROP_KEY,
32
+ R as useModuleRepair
42
33
  };
@@ -1,18 +1,17 @@
1
1
  import { migrateCheckbox as i } from "./checkboxMigrator.js";
2
2
  import { migrateCouponBlock as e } from "./couponBlockMigrator.js";
3
3
  import { migrateItemsBlock as a } from "./itemsBlockMigrator.js";
4
- import { migrateLegacyUnsubscribeText as n } from "./legacyUnsubscribeTextMigrator.js";
5
- import { migrateProductNameLink as c } from "./productNameLinkMigrator.js";
6
- import { migrateRadioButton as g } from "./radioButtonMigrator.js";
7
- import { migrateRecommendation as f } from "./recommendationMigrator.js";
8
- import { migrateRecommendationPartnerScope as p } from "./recommendationPartnerMigrator.js";
9
- import { migrateRecommendationTitle as s } from "./recommendationTitleMigrator.js";
4
+ import { migrateProductNameLink as n } from "./productNameLinkMigrator.js";
5
+ import { migrateRadioButton as c } from "./radioButtonMigrator.js";
6
+ import { migrateRecommendation as g } from "./recommendationMigrator.js";
7
+ import { migrateRecommendationPartnerScope as f } from "./recommendationPartnerMigrator.js";
8
+ import { migrateRecommendationTitle as p } from "./recommendationTitleMigrator.js";
10
9
  import { migrateSocialIcons as d } from "./socialIconMigrator.js";
11
10
  import { migrateUnsubscribe as l } from "./unsubscribeMigrator.js";
12
- const T = async (o, t = {}, r) => {
13
- let m = o;
14
- return m = i(m), m = g(m), m = n(m), m = await l(m), m = e(m), m = f(m, t), r && (m = p(m, r)), m = s(m), m = a(m), m = c(m), m = d(m), m;
11
+ const h = async (r, t = {}, o) => {
12
+ let m = r;
13
+ return m = i(m), m = c(m), m = await l(m), m = e(m), m = g(m, t), o && (m = f(m, o)), m = p(m), m = a(m), m = n(m), m = d(m), m;
15
14
  };
16
15
  export {
17
- T as migrate
16
+ h as migrate
18
17
  };
@@ -2,8 +2,7 @@ const e = "https://academy.insiderone.com", o = {
2
2
  EMAIL_EDITOR: `${e}/docs/email-drag-and-drop-editor`,
3
3
  GLOBAL_UNSUBSCRIBE: `${e}/docs/global-unsubscribe-preference-center`,
4
4
  AMP_FOR_EMAILS: `${e}/docs/amp-for-emails`,
5
- EMAIL_RECOMMENDATION_BLOCK: `${e}/docs/new-editor-email-recommendation-block`,
6
- LEGACY_UNSUBSCRIBE_MODULE: `${e}/docs/new-editor-add-unsubscribe-pages-into-emails`
5
+ EMAIL_RECOMMENDATION_BLOCK: `${e}/docs/new-editor-email-recommendation-block`
7
6
  };
8
7
  export {
9
8
  o as ACADEMY_LINKS
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-b8f24f34] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-baf7a5dd]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-6cdd5182]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-6cdd5182]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-6cdd5182]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-19d8cb42] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-skeleton{width:100%!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-dropdown-box__container{width:413px}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}
1
+ @charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-b8f24f34] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-baf7a5dd]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-c5146fc5]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-c5146fc5]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-c5146fc5]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-bdc41157]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-bdc41157]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-bdc41157]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-bdc41157]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-bdc41157]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-19d8cb42] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-skeleton{width:100%!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-dropdown-box__container{width:413px}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}
@@ -414,8 +414,6 @@ export declare const FeaturesSchema: v.ObjectSchema<{
414
414
  /** Allow persisting a template that still has validation errors (drawer "Save and Continue" soft-save). Host sets false for transactional + unsubscribe. */
415
415
  readonly allowSaveWithErrors: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
416
416
  readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
417
- /** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
418
- readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
419
417
  }, undefined>;
420
418
  /**
421
419
  * Default block types available in Stripo
@@ -834,8 +832,6 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
834
832
  /** Allow persisting a template that still has validation errors (drawer "Save and Continue" soft-save). Host sets false for transactional + unsubscribe. */
835
833
  readonly allowSaveWithErrors: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
836
834
  readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
837
- /** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
838
- readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
839
835
  }, undefined>, {}>;
840
836
  /** Block configuration */
841
837
  readonly blocks: v.OptionalSchema<v.ObjectSchema<{
@@ -104,7 +104,6 @@ export declare const useConfig: () => {
104
104
  linkTrackingIds: boolean;
105
105
  allowSaveWithErrors: boolean;
106
106
  reusableRecommendationStrategy: boolean;
107
- legacyUnsubscribeConversion: boolean;
108
107
  };
109
108
  blocks: {
110
109
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -244,7 +243,6 @@ export declare const useConfig: () => {
244
243
  linkTrackingIds: boolean;
245
244
  allowSaveWithErrors: boolean;
246
245
  reusableRecommendationStrategy: boolean;
247
- legacyUnsubscribeConversion: boolean;
248
246
  } | null>;
249
247
  blocks: import("vue").ComputedRef<{
250
248
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1,8 +1,17 @@
1
1
  import type { ModuleAddData, ModuleModifier } from '@@/Types/stripo';
2
2
  export declare const UNRESOLVED_DYNAMIC_CONTENT_ON_DROP_KEY = "dynamic-content.unresolved-attributes-on-drop";
3
3
  /**
4
- * Repairs dropped/copied saved modules (items currency, linkless legacy unsubscribe → text block,
5
- * dynamic-content labels → tokens) in one write-back; wired via Stripo's `onModuleAdd` (see `useStripo`).
4
+ * Repairs saved modules as they are dropped or copied into the editor, in one pass
5
+ * over the module HTML. Two independent repairs run through a single write-back:
6
+ *
7
+ * - Dynamic content: saved modules serialize merge-tag chips by their display label
8
+ * (`{{ Phone Number }}`); this maps them back to their canonical token
9
+ * (`{{phone_number}}`) using the account's dynamic-content list.
10
+ * - Items currency: v2 Items blocks can carry price `data-curency` /
11
+ * `data-currency_symbol` attrs that drifted from their `esd-ext-config`; these are
12
+ * healed from config (the export contract reads those exact attrs).
13
+ *
14
+ * Wired into Stripo via the `onModuleAdd` init callback (see `useStripo`).
6
15
  */
7
16
  export declare const useModuleRepair: () => {
8
17
  handleModuleAdd: (data: ModuleAddData, modifier: ModuleModifier) => void;
@@ -9,6 +9,5 @@ export declare const ACADEMY_LINKS: {
9
9
  readonly GLOBAL_UNSUBSCRIBE: "https://academy.insiderone.com/docs/global-unsubscribe-preference-center";
10
10
  readonly AMP_FOR_EMAILS: "https://academy.insiderone.com/docs/amp-for-emails";
11
11
  readonly EMAIL_RECOMMENDATION_BLOCK: "https://academy.insiderone.com/docs/new-editor-email-recommendation-block";
12
- readonly LEGACY_UNSUBSCRIBE_MODULE: "https://academy.insiderone.com/docs/new-editor-add-unsubscribe-pages-into-emails";
13
12
  };
14
13
  export type AcademyLinkKey = keyof typeof ACADEMY_LINKS;
@@ -109,7 +109,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
109
109
  linkTrackingIds: boolean;
110
110
  allowSaveWithErrors: boolean;
111
111
  reusableRecommendationStrategy: boolean;
112
- legacyUnsubscribeConversion: boolean;
113
112
  };
114
113
  blocks: {
115
114
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -255,7 +254,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
255
254
  linkTrackingIds: boolean;
256
255
  allowSaveWithErrors: boolean;
257
256
  reusableRecommendationStrategy: boolean;
258
- legacyUnsubscribeConversion: boolean;
259
257
  };
260
258
  blocks: {
261
259
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -401,7 +399,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
401
399
  linkTrackingIds: boolean;
402
400
  allowSaveWithErrors: boolean;
403
401
  reusableRecommendationStrategy: boolean;
404
- legacyUnsubscribeConversion: boolean;
405
402
  };
406
403
  blocks: {
407
404
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -547,7 +544,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
547
544
  linkTrackingIds: boolean;
548
545
  allowSaveWithErrors: boolean;
549
546
  reusableRecommendationStrategy: boolean;
550
- legacyUnsubscribeConversion: boolean;
551
547
  };
552
548
  blocks: {
553
549
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -693,7 +689,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
693
689
  linkTrackingIds: boolean;
694
690
  allowSaveWithErrors: boolean;
695
691
  reusableRecommendationStrategy: boolean;
696
- legacyUnsubscribeConversion: boolean;
697
692
  };
698
693
  blocks: {
699
694
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -839,7 +834,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
839
834
  linkTrackingIds: boolean;
840
835
  allowSaveWithErrors: boolean;
841
836
  reusableRecommendationStrategy: boolean;
842
- legacyUnsubscribeConversion: boolean;
843
837
  };
844
838
  blocks: {
845
839
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -985,7 +979,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
985
979
  linkTrackingIds: boolean;
986
980
  allowSaveWithErrors: boolean;
987
981
  reusableRecommendationStrategy: boolean;
988
- legacyUnsubscribeConversion: boolean;
989
982
  };
990
983
  blocks: {
991
984
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1131,7 +1124,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1131
1124
  linkTrackingIds: boolean;
1132
1125
  allowSaveWithErrors: boolean;
1133
1126
  reusableRecommendationStrategy: boolean;
1134
- legacyUnsubscribeConversion: boolean;
1135
1127
  };
1136
1128
  blocks: {
1137
1129
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1277,7 +1269,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1277
1269
  linkTrackingIds: boolean;
1278
1270
  allowSaveWithErrors: boolean;
1279
1271
  reusableRecommendationStrategy: boolean;
1280
- legacyUnsubscribeConversion: boolean;
1281
1272
  };
1282
1273
  blocks: {
1283
1274
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1423,7 +1414,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1423
1414
  linkTrackingIds: boolean;
1424
1415
  allowSaveWithErrors: boolean;
1425
1416
  reusableRecommendationStrategy: boolean;
1426
- legacyUnsubscribeConversion: boolean;
1427
1417
  };
1428
1418
  blocks: {
1429
1419
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1569,7 +1559,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1569
1559
  linkTrackingIds: boolean;
1570
1560
  allowSaveWithErrors: boolean;
1571
1561
  reusableRecommendationStrategy: boolean;
1572
- legacyUnsubscribeConversion: boolean;
1573
1562
  };
1574
1563
  blocks: {
1575
1564
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1715,7 +1704,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1715
1704
  linkTrackingIds: boolean;
1716
1705
  allowSaveWithErrors: boolean;
1717
1706
  reusableRecommendationStrategy: boolean;
1718
- legacyUnsubscribeConversion: boolean;
1719
1707
  };
1720
1708
  blocks: {
1721
1709
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1861,7 +1849,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1861
1849
  linkTrackingIds: boolean;
1862
1850
  allowSaveWithErrors: boolean;
1863
1851
  reusableRecommendationStrategy: boolean;
1864
- legacyUnsubscribeConversion: boolean;
1865
1852
  };
1866
1853
  blocks: {
1867
1854
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2007,7 +1994,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2007
1994
  linkTrackingIds: boolean;
2008
1995
  allowSaveWithErrors: boolean;
2009
1996
  reusableRecommendationStrategy: boolean;
2010
- legacyUnsubscribeConversion: boolean;
2011
1997
  };
2012
1998
  blocks: {
2013
1999
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2153,7 +2139,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2153
2139
  linkTrackingIds: boolean;
2154
2140
  allowSaveWithErrors: boolean;
2155
2141
  reusableRecommendationStrategy: boolean;
2156
- legacyUnsubscribeConversion: boolean;
2157
2142
  };
2158
2143
  blocks: {
2159
2144
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2299,7 +2284,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2299
2284
  linkTrackingIds: boolean;
2300
2285
  allowSaveWithErrors: boolean;
2301
2286
  reusableRecommendationStrategy: boolean;
2302
- legacyUnsubscribeConversion: boolean;
2303
2287
  };
2304
2288
  blocks: {
2305
2289
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2445,7 +2429,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2445
2429
  linkTrackingIds: boolean;
2446
2430
  allowSaveWithErrors: boolean;
2447
2431
  reusableRecommendationStrategy: boolean;
2448
- legacyUnsubscribeConversion: boolean;
2449
2432
  };
2450
2433
  blocks: {
2451
2434
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2603,7 +2586,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2603
2586
  linkTrackingIds: boolean;
2604
2587
  allowSaveWithErrors: boolean;
2605
2588
  reusableRecommendationStrategy: boolean;
2606
- legacyUnsubscribeConversion: boolean;
2607
2589
  };
2608
2590
  blocks: {
2609
2591
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2749,7 +2731,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2749
2731
  linkTrackingIds: boolean;
2750
2732
  allowSaveWithErrors: boolean;
2751
2733
  reusableRecommendationStrategy: boolean;
2752
- legacyUnsubscribeConversion: boolean;
2753
2734
  };
2754
2735
  blocks: {
2755
2736
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2897,7 +2878,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2897
2878
  linkTrackingIds: boolean;
2898
2879
  allowSaveWithErrors: boolean;
2899
2880
  reusableRecommendationStrategy: boolean;
2900
- legacyUnsubscribeConversion: boolean;
2901
2881
  };
2902
2882
  blocks: {
2903
2883
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -8,7 +8,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
8
8
  hasChanges: boolean;
9
9
  changeSeq: number;
10
10
  isStripoInitialized: boolean;
11
- isLegacyUnsubscribeModalRequested: boolean;
12
11
  templateId: string;
13
12
  syncModulesEnabled: boolean;
14
13
  trackIdSessionFloor: number;
@@ -23,7 +22,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
23
22
  hasChanges: boolean;
24
23
  changeSeq: number;
25
24
  isStripoInitialized: boolean;
26
- isLegacyUnsubscribeModalRequested: boolean;
27
25
  templateId: string;
28
26
  syncModulesEnabled: boolean;
29
27
  trackIdSessionFloor: number;
@@ -37,7 +35,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
37
35
  hasChanges: boolean;
38
36
  changeSeq: number;
39
37
  isStripoInitialized: boolean;
40
- isLegacyUnsubscribeModalRequested: boolean;
41
38
  templateId: string;
42
39
  syncModulesEnabled: boolean;
43
40
  trackIdSessionFloor: number;
@@ -52,7 +49,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
52
49
  hasChanges: boolean;
53
50
  changeSeq: number;
54
51
  isStripoInitialized: boolean;
55
- isLegacyUnsubscribeModalRequested: boolean;
56
52
  templateId: string;
57
53
  syncModulesEnabled: boolean;
58
54
  trackIdSessionFloor: number;
@@ -66,7 +62,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
66
62
  hasChanges: boolean;
67
63
  changeSeq: number;
68
64
  isStripoInitialized: boolean;
69
- isLegacyUnsubscribeModalRequested: boolean;
70
65
  templateId: string;
71
66
  syncModulesEnabled: boolean;
72
67
  trackIdSessionFloor: number;
@@ -81,7 +76,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
81
76
  hasChanges: boolean;
82
77
  changeSeq: number;
83
78
  isStripoInitialized: boolean;
84
- isLegacyUnsubscribeModalRequested: boolean;
85
79
  templateId: string;
86
80
  syncModulesEnabled: boolean;
87
81
  trackIdSessionFloor: number;
@@ -95,7 +89,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
95
89
  hasChanges: boolean;
96
90
  changeSeq: number;
97
91
  isStripoInitialized: boolean;
98
- isLegacyUnsubscribeModalRequested: boolean;
99
92
  templateId: string;
100
93
  syncModulesEnabled: boolean;
101
94
  trackIdSessionFloor: number;
@@ -110,7 +103,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
110
103
  hasChanges: boolean;
111
104
  changeSeq: number;
112
105
  isStripoInitialized: boolean;
113
- isLegacyUnsubscribeModalRequested: boolean;
114
106
  templateId: string;
115
107
  syncModulesEnabled: boolean;
116
108
  trackIdSessionFloor: number;
@@ -124,7 +116,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
124
116
  hasChanges: boolean;
125
117
  changeSeq: number;
126
118
  isStripoInitialized: boolean;
127
- isLegacyUnsubscribeModalRequested: boolean;
128
119
  templateId: string;
129
120
  syncModulesEnabled: boolean;
130
121
  trackIdSessionFloor: number;
@@ -139,7 +130,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
139
130
  hasChanges: boolean;
140
131
  changeSeq: number;
141
132
  isStripoInitialized: boolean;
142
- isLegacyUnsubscribeModalRequested: boolean;
143
133
  templateId: string;
144
134
  syncModulesEnabled: boolean;
145
135
  trackIdSessionFloor: number;
@@ -153,7 +143,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
153
143
  hasChanges: boolean;
154
144
  changeSeq: number;
155
145
  isStripoInitialized: boolean;
156
- isLegacyUnsubscribeModalRequested: boolean;
157
146
  templateId: string;
158
147
  syncModulesEnabled: boolean;
159
148
  trackIdSessionFloor: number;
@@ -168,7 +157,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
168
157
  hasChanges: boolean;
169
158
  changeSeq: number;
170
159
  isStripoInitialized: boolean;
171
- isLegacyUnsubscribeModalRequested: boolean;
172
160
  templateId: string;
173
161
  syncModulesEnabled: boolean;
174
162
  trackIdSessionFloor: number;
@@ -182,7 +170,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
182
170
  hasChanges: boolean;
183
171
  changeSeq: number;
184
172
  isStripoInitialized: boolean;
185
- isLegacyUnsubscribeModalRequested: boolean;
186
173
  templateId: string;
187
174
  syncModulesEnabled: boolean;
188
175
  trackIdSessionFloor: number;
@@ -197,7 +184,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
197
184
  hasChanges: boolean;
198
185
  changeSeq: number;
199
186
  isStripoInitialized: boolean;
200
- isLegacyUnsubscribeModalRequested: boolean;
201
187
  templateId: string;
202
188
  syncModulesEnabled: boolean;
203
189
  trackIdSessionFloor: number;
@@ -211,7 +197,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
211
197
  hasChanges: boolean;
212
198
  changeSeq: number;
213
199
  isStripoInitialized: boolean;
214
- isLegacyUnsubscribeModalRequested: boolean;
215
200
  templateId: string;
216
201
  syncModulesEnabled: boolean;
217
202
  trackIdSessionFloor: number;
@@ -226,7 +211,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
226
211
  hasChanges: boolean;
227
212
  changeSeq: number;
228
213
  isStripoInitialized: boolean;
229
- isLegacyUnsubscribeModalRequested: boolean;
230
214
  templateId: string;
231
215
  syncModulesEnabled: boolean;
232
216
  trackIdSessionFloor: number;
@@ -240,7 +224,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
240
224
  hasChanges: boolean;
241
225
  changeSeq: number;
242
226
  isStripoInitialized: boolean;
243
- isLegacyUnsubscribeModalRequested: boolean;
244
227
  templateId: string;
245
228
  syncModulesEnabled: boolean;
246
229
  trackIdSessionFloor: number;
@@ -255,7 +238,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
255
238
  hasChanges: boolean;
256
239
  changeSeq: number;
257
240
  isStripoInitialized: boolean;
258
- isLegacyUnsubscribeModalRequested: boolean;
259
241
  templateId: string;
260
242
  syncModulesEnabled: boolean;
261
243
  trackIdSessionFloor: number;
@@ -269,7 +251,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
269
251
  hasChanges: boolean;
270
252
  changeSeq: number;
271
253
  isStripoInitialized: boolean;
272
- isLegacyUnsubscribeModalRequested: boolean;
273
254
  templateId: string;
274
255
  syncModulesEnabled: boolean;
275
256
  trackIdSessionFloor: number;
@@ -284,7 +265,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
284
265
  hasChanges: boolean;
285
266
  changeSeq: number;
286
267
  isStripoInitialized: boolean;
287
- isLegacyUnsubscribeModalRequested: boolean;
288
268
  templateId: string;
289
269
  syncModulesEnabled: boolean;
290
270
  trackIdSessionFloor: number;
@@ -298,7 +278,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
298
278
  hasChanges: boolean;
299
279
  changeSeq: number;
300
280
  isStripoInitialized: boolean;
301
- isLegacyUnsubscribeModalRequested: boolean;
302
281
  templateId: string;
303
282
  syncModulesEnabled: boolean;
304
283
  trackIdSessionFloor: number;
@@ -313,7 +292,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
313
292
  hasChanges: boolean;
314
293
  changeSeq: number;
315
294
  isStripoInitialized: boolean;
316
- isLegacyUnsubscribeModalRequested: boolean;
317
295
  templateId: string;
318
296
  syncModulesEnabled: boolean;
319
297
  trackIdSessionFloor: number;
@@ -327,7 +305,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
327
305
  hasChanges: boolean;
328
306
  changeSeq: number;
329
307
  isStripoInitialized: boolean;
330
- isLegacyUnsubscribeModalRequested: boolean;
331
308
  templateId: string;
332
309
  syncModulesEnabled: boolean;
333
310
  trackIdSessionFloor: number;
@@ -342,7 +319,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
342
319
  hasChanges: boolean;
343
320
  changeSeq: number;
344
321
  isStripoInitialized: boolean;
345
- isLegacyUnsubscribeModalRequested: boolean;
346
322
  templateId: string;
347
323
  syncModulesEnabled: boolean;
348
324
  trackIdSessionFloor: number;
@@ -356,7 +332,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
356
332
  hasChanges: boolean;
357
333
  changeSeq: number;
358
334
  isStripoInitialized: boolean;
359
- isLegacyUnsubscribeModalRequested: boolean;
360
335
  templateId: string;
361
336
  syncModulesEnabled: boolean;
362
337
  trackIdSessionFloor: number;
@@ -26,6 +26,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
28
  status: number;
29
+ isDefault?: boolean | undefined;
29
30
  }[];
30
31
  selectedTemplates: Record<number, number>;
31
32
  selectedUnsubscribePages: number[];
@@ -51,6 +52,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
51
52
  createdAt: string;
52
53
  updatedAt: string;
53
54
  status: number;
55
+ isDefault?: boolean | undefined;
54
56
  }[];
55
57
  selectedTemplates: Record<number, number>;
56
58
  selectedUnsubscribePages: number[];
@@ -76,6 +78,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
76
78
  createdAt: string;
77
79
  updatedAt: string;
78
80
  status: number;
81
+ isDefault?: boolean | undefined;
79
82
  }[];
80
83
  selectedTemplates: Record<number, number>;
81
84
  selectedUnsubscribePages: number[];
@@ -99,6 +102,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
99
102
  createdAt: string;
100
103
  updatedAt: string;
101
104
  status: number;
105
+ isDefault?: boolean | undefined;
102
106
  }[];
103
107
  getThumbnailByTemplateId: (state: {
104
108
  templates: {
@@ -113,6 +117,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
113
117
  createdAt: string;
114
118
  updatedAt: string;
115
119
  status: number;
120
+ isDefault?: boolean | undefined;
116
121
  }[];
117
122
  selectedTemplates: Record<number, number>;
118
123
  selectedUnsubscribePages: number[];
@@ -138,6 +143,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
138
143
  createdAt: string;
139
144
  updatedAt: string;
140
145
  status: number;
146
+ isDefault?: boolean | undefined;
141
147
  }[];
142
148
  selectedTemplates: Record<number, number>;
143
149
  selectedUnsubscribePages: number[];
@@ -163,6 +169,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
163
169
  createdAt: string;
164
170
  updatedAt: string;
165
171
  status: number;
172
+ isDefault?: boolean | undefined;
166
173
  }[];
167
174
  selectedTemplates: Record<number, number>;
168
175
  selectedUnsubscribePages: number[];
@@ -188,6 +195,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
188
195
  createdAt: string;
189
196
  updatedAt: string;
190
197
  status: number;
198
+ isDefault?: boolean | undefined;
191
199
  }[];
192
200
  selectedTemplates: Record<number, number>;
193
201
  selectedUnsubscribePages: number[];
@@ -213,6 +221,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
213
221
  createdAt: string;
214
222
  updatedAt: string;
215
223
  status: number;
224
+ isDefault?: boolean | undefined;
216
225
  }[];
217
226
  selectedTemplates: Record<number, number>;
218
227
  selectedUnsubscribePages: number[];
@@ -238,6 +247,7 @@ export declare const useUnsubscribeStore: import("pinia").StoreDefinition<"guido
238
247
  createdAt: string;
239
248
  updatedAt: string;
240
249
  status: number;
250
+ isDefault?: boolean | undefined;
241
251
  }[];
242
252
  selectedTemplates: Record<number, number>;
243
253
  selectedUnsubscribePages: number[];