@useinsider/guido 3.25.0 → 3.26.0
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.
- package/README.md +10 -0
- package/dist/@types/config/schemas.js +24 -20
- package/dist/components/Guido.vue.js +4 -4
- package/dist/components/Guido.vue2.js +94 -90
- package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.js +17 -0
- package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue2.js +30 -0
- package/dist/composables/useModuleRepair.js +33 -24
- package/dist/composables/useSave.js +57 -52
- package/dist/composables/useSaveValidation.js +118 -110
- package/dist/composables/validators/useUnsubscribeBlockValidator.js +48 -33
- package/dist/config/migrator/index.js +8 -7
- package/dist/config/migrator/legacyUnsubscribeTextMigrator.js +16 -0
- package/dist/enums/academy.js +2 -1
- package/dist/enums/save-validation.js +1 -1
- package/dist/guido.css +1 -1
- package/dist/package.json.js +1 -1
- package/dist/src/@types/config/schemas.d.ts +8 -0
- package/dist/src/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.d.ts +2 -0
- package/dist/src/composables/useConfig.d.ts +4 -0
- package/dist/src/composables/useModuleRepair.d.ts +2 -11
- package/dist/src/composables/useSaveValidation.d.ts +1 -1
- package/dist/src/composables/validators/useUnsubscribeBlockValidator.d.ts +4 -0
- package/dist/src/config/migrator/legacyUnsubscribeTextMigrator.d.ts +1 -0
- package/dist/src/enums/academy.d.ts +1 -0
- package/dist/src/enums/save-validation.d.ts +2 -1
- package/dist/src/stores/config.d.ts +40 -0
- package/dist/src/stores/editor.d.ts +27 -0
- package/dist/src/utils/legacyUnsubscribeConversion.d.ts +10 -0
- package/dist/stores/editor.js +1 -0
- package/dist/utils/legacyUnsubscribeConversion.js +49 -0
- package/package.json +1 -1
|
@@ -3,17 +3,18 @@ import { migrateCouponBlock as a } from "./couponBlockMigrator.js";
|
|
|
3
3
|
import { migrateFullStoryScripts as c } from "./fullStoryScriptMigrator.js";
|
|
4
4
|
import { migrateItemsBlock as g } from "./itemsBlockMigrator.js";
|
|
5
5
|
import { migrateItemsPriceFormat as n } from "./itemsPriceFormatMigrator.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { migrateLegacyUnsubscribeText as p } from "./legacyUnsubscribeTextMigrator.js";
|
|
7
|
+
import { migrateProductNameLink as f } from "./productNameLinkMigrator.js";
|
|
8
|
+
import { migrateRadioButton as l } from "./radioButtonMigrator.js";
|
|
9
|
+
import { migrateRecommendation as s } from "./recommendationMigrator.js";
|
|
9
10
|
import { migrateRecommendationPartnerScope as d } from "./recommendationPartnerMigrator.js";
|
|
10
|
-
import { migrateRecommendationTitle as
|
|
11
|
+
import { migrateRecommendationTitle as b } from "./recommendationTitleMigrator.js";
|
|
11
12
|
import { migrateSocialIcons as k } from "./socialIconMigrator.js";
|
|
12
13
|
import { migrateUnsubscribe as P } from "./unsubscribeMigrator.js";
|
|
13
|
-
const
|
|
14
|
+
const w = async (t, i = {}, o, r) => {
|
|
14
15
|
let m = t;
|
|
15
|
-
return m = e(m), m =
|
|
16
|
+
return m = e(m), m = l(m), m = p(m), m = await P(m), m = a(m), m = s(m, i), o && (m = d(m, o)), m = b(m), m = g(m), r != null && r.itemsPriceFormatting && (m = n(m)), m = f(m), m = k(m), m = c(m), m;
|
|
16
17
|
};
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
w as migrate
|
|
19
20
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useConfigStore as o } from "../../stores/config.js";
|
|
2
|
+
import { useEditorStore as s } from "../../stores/editor.js";
|
|
3
|
+
import { hasLegacyUnsubscribeClass as c, convertLegacyUnsubscribeInDocumentHtml as i } from "../../utils/legacyUnsubscribeConversion.js";
|
|
4
|
+
const b = (e) => {
|
|
5
|
+
try {
|
|
6
|
+
if (!c(e) || !o().isFeatureEnabled("legacyUnsubscribeConversion"))
|
|
7
|
+
return e;
|
|
8
|
+
const { html: r, converted: t } = i(e);
|
|
9
|
+
return t && (s().isLegacyUnsubscribeModalRequested = !0), r;
|
|
10
|
+
} catch (r) {
|
|
11
|
+
return console.error("LegacyUnsubscribeTextMigrator failed:", r), e;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
b as migrateLegacyUnsubscribeText
|
|
16
|
+
};
|
package/dist/enums/academy.js
CHANGED
|
@@ -2,7 +2,8 @@ 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
|
|
5
|
+
EMAIL_RECOMMENDATION_BLOCK: `${e}/docs/new-editor-email-recommendation-block`,
|
|
6
|
+
LEGACY_UNSUBSCRIBE_MODULE: `${e}/docs/new-editor-add-unsubscribe-pages-into-emails`
|
|
6
7
|
};
|
|
7
8
|
export {
|
|
8
9
|
o as ACADEMY_LINKS
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var n = /* @__PURE__ */ ((s) => (s.CouponTagModified = "coupon-tag-modified", s.DuplicateUnsubBlock = "duplicate-unsub-block", s.UnsubBlockMissingTemplate = "unsub-block-missing-template", s.LiquidSyntax = "liquid-syntax", s.InvalidLinks = "invalid-links", s.LinkCheckInProgress = "link-check-in-progress", s.CustomFieldScript = "custom-field-script", s.EmptyHtml = "empty-html", s.MismatchedBraces = "mismatched-braces", s.InvalidDynamicTag = "invalid-dynamic-tag", s.InvalidCustomField = "invalid-custom-field", s.ConditionsSyntax = "conditions-syntax", s.WrongEqualityOperator = "wrong-equality-operator", s.MissingIfEndif = "missing-if-endif", s.ConditionTagSpacing = "condition-tag-spacing", s.BracesInsideIfTag = "braces-inside-if-tag", s.RecommendationRequiredFields = "recommendation-required-fields", s.RecommendationFilters = "recommendation-filters", s.InvalidImageType = "invalid-image-type", s.CheckboxUnsubGroup = "checkbox-unsub-group", s.RadioButtonUnsubGroup = "radio-button-unsub-group", s))(n || {});
|
|
1
|
+
var n = /* @__PURE__ */ ((s) => (s.CouponTagModified = "coupon-tag-modified", s.DuplicateUnsubBlock = "duplicate-unsub-block", s.UnsubBlockMissingTemplate = "unsub-block-missing-template", s.LiquidSyntax = "liquid-syntax", s.InvalidLinks = "invalid-links", s.LinkCheckInProgress = "link-check-in-progress", s.CustomFieldScript = "custom-field-script", s.EmptyHtml = "empty-html", s.MismatchedBraces = "mismatched-braces", s.InvalidDynamicTag = "invalid-dynamic-tag", s.InvalidCustomField = "invalid-custom-field", s.ConditionsSyntax = "conditions-syntax", s.WrongEqualityOperator = "wrong-equality-operator", s.MissingIfEndif = "missing-if-endif", s.ConditionTagSpacing = "condition-tag-spacing", s.BracesInsideIfTag = "braces-inside-if-tag", s.RecommendationRequiredFields = "recommendation-required-fields", s.RecommendationFilters = "recommendation-filters", s.InvalidImageType = "invalid-image-type", s.CheckboxUnsubGroup = "checkbox-unsub-group", s.RadioButtonUnsubGroup = "radio-button-unsub-group", s.ExternallyManagedUnsubscribe = "externally-managed-unsubscribe", s))(n || {});
|
|
2
2
|
export {
|
|
3
3
|
n as SaveValidationRule
|
|
4
4
|
};
|
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-9d988e4b] .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}.color-vision-select__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.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}.editor-actions-menu__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{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-
|
|
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-9d988e4b] .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}.color-vision-select__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.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}.editor-actions-menu__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{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-415cfac1]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-415cfac1]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-415cfac1]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-eaf8e461]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-eaf8e461]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-eaf8e461]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-eaf8e461]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-eaf8e461]{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}.guido-tab-bar-onboarding[data-v-219b4f7c]{z-index:21}[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}
|
package/dist/package.json.js
CHANGED
|
@@ -415,8 +415,12 @@ export declare const FeaturesSchema: v.ObjectSchema<{
|
|
|
415
415
|
/** Allow persisting a template that still has validation errors (drawer "Save and Continue" soft-save). Host sets false for transactional + unsubscribe. */
|
|
416
416
|
readonly allowSaveWithErrors: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
417
417
|
readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
418
|
+
/** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
|
|
419
|
+
readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
418
420
|
/** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
|
|
419
421
|
readonly itemsPriceFormatting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
422
|
+
/** Warn on save when the design carries an Insider unsubscribe link or code (host sets true for SFMC accounts) */
|
|
423
|
+
readonly blockUnsubscribeLinks: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
420
424
|
}, undefined>;
|
|
421
425
|
/**
|
|
422
426
|
* Default block types available in Stripo
|
|
@@ -836,8 +840,12 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
|
|
|
836
840
|
/** Allow persisting a template that still has validation errors (drawer "Save and Continue" soft-save). Host sets false for transactional + unsubscribe. */
|
|
837
841
|
readonly allowSaveWithErrors: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
838
842
|
readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
843
|
+
/** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
|
|
844
|
+
readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
839
845
|
/** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
|
|
840
846
|
readonly itemsPriceFormatting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
847
|
+
/** Warn on save when the design carries an Insider unsubscribe link or code (host sets true for SFMC accounts) */
|
|
848
|
+
readonly blockUnsubscribeLinks: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
841
849
|
}, undefined>, {}>;
|
|
842
850
|
/** Block configuration */
|
|
843
851
|
readonly blocks: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -105,7 +105,9 @@ export declare const useConfig: () => {
|
|
|
105
105
|
linkTrackingIds: boolean;
|
|
106
106
|
allowSaveWithErrors: boolean;
|
|
107
107
|
reusableRecommendationStrategy: boolean;
|
|
108
|
+
legacyUnsubscribeConversion: boolean;
|
|
108
109
|
itemsPriceFormatting: boolean;
|
|
110
|
+
blockUnsubscribeLinks: boolean;
|
|
109
111
|
};
|
|
110
112
|
blocks: {
|
|
111
113
|
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")[];
|
|
@@ -246,7 +248,9 @@ export declare const useConfig: () => {
|
|
|
246
248
|
linkTrackingIds: boolean;
|
|
247
249
|
allowSaveWithErrors: boolean;
|
|
248
250
|
reusableRecommendationStrategy: boolean;
|
|
251
|
+
legacyUnsubscribeConversion: boolean;
|
|
249
252
|
itemsPriceFormatting: boolean;
|
|
253
|
+
blockUnsubscribeLinks: boolean;
|
|
250
254
|
} | null>;
|
|
251
255
|
blocks: import("vue").ComputedRef<{
|
|
252
256
|
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,17 +1,8 @@
|
|
|
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 saved modules
|
|
5
|
-
*
|
|
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`).
|
|
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`).
|
|
15
6
|
*/
|
|
16
7
|
export declare const useModuleRepair: () => {
|
|
17
8
|
handleModuleAdd: (data: ModuleAddData, modifier: ModuleModifier) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DynamicContent } from '@@/Types/generic';
|
|
2
2
|
import type { SaveValidationError } from '@@/Types/save-validation';
|
|
3
3
|
export declare const useSaveValidation: () => {
|
|
4
|
-
collectSaveValidationErrors: (compiledHtml: string, dynamicContentList: DynamicContent[]) => Promise<SaveValidationError[]>;
|
|
4
|
+
collectSaveValidationErrors: (compiledHtml: string, dynamicContentList: DynamicContent[], rawHtml: string) => Promise<SaveValidationError[]>;
|
|
5
5
|
validateCurrentTemplate: () => Promise<SaveValidationError[]>;
|
|
6
6
|
};
|
|
@@ -3,6 +3,9 @@ declare const SINGLETON_BLOCK_RULES: {
|
|
|
3
3
|
messageKey: string;
|
|
4
4
|
}[];
|
|
5
5
|
export declare const EMPTY_BLOCK_KEY = "unsubscription-preference.select-page-to-continue";
|
|
6
|
+
export declare const EXTERNALLY_MANAGED_UNSUBSCRIBE_KEY = "newsletter.sfmc-remove-unsubscribe-link";
|
|
7
|
+
/** Pure core: whether the html carries an Insider unsubscribe merge tag or ASM unsubscribe code. */
|
|
8
|
+
export declare function hasInsiderUnsubscribeCode(html: string): boolean;
|
|
6
9
|
/** Pure core: the singleton rules whose page type appears more than once. */
|
|
7
10
|
export declare function findDuplicateUnsubPageTypes(html: string): typeof SINGLETON_BLOCK_RULES;
|
|
8
11
|
/** Pure core: count of unsubscribe blocks with no page type or page list chosen. */
|
|
@@ -10,5 +13,6 @@ export declare function countUnsubBlocksWithoutPage(html: string): number;
|
|
|
10
13
|
export declare const useUnsubscribeBlockValidator: () => {
|
|
11
14
|
validateUnsubscribeBlockUniqueness: (html: string) => boolean;
|
|
12
15
|
validateUnsubscribeBlockHasTemplate: (html: string) => boolean;
|
|
16
|
+
validateNoInsiderUnsubscribeCode: (html: string, silent?: boolean) => boolean;
|
|
13
17
|
};
|
|
14
18
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const migrateLegacyUnsubscribeText: (html: string) => string;
|
|
@@ -9,5 +9,6 @@ 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";
|
|
12
13
|
};
|
|
13
14
|
export type AcademyLinkKey = keyof typeof ACADEMY_LINKS;
|
|
@@ -23,5 +23,6 @@ export declare enum SaveValidationRule {
|
|
|
23
23
|
RecommendationFilters = "recommendation-filters",
|
|
24
24
|
InvalidImageType = "invalid-image-type",
|
|
25
25
|
CheckboxUnsubGroup = "checkbox-unsub-group",
|
|
26
|
-
RadioButtonUnsubGroup = "radio-button-unsub-group"
|
|
26
|
+
RadioButtonUnsubGroup = "radio-button-unsub-group",
|
|
27
|
+
ExternallyManagedUnsubscribe = "externally-managed-unsubscribe"
|
|
27
28
|
}
|
|
@@ -110,7 +110,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
110
110
|
linkTrackingIds: boolean;
|
|
111
111
|
allowSaveWithErrors: boolean;
|
|
112
112
|
reusableRecommendationStrategy: boolean;
|
|
113
|
+
legacyUnsubscribeConversion: boolean;
|
|
113
114
|
itemsPriceFormatting: boolean;
|
|
115
|
+
blockUnsubscribeLinks: boolean;
|
|
114
116
|
};
|
|
115
117
|
blocks: {
|
|
116
118
|
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")[];
|
|
@@ -257,7 +259,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
257
259
|
linkTrackingIds: boolean;
|
|
258
260
|
allowSaveWithErrors: boolean;
|
|
259
261
|
reusableRecommendationStrategy: boolean;
|
|
262
|
+
legacyUnsubscribeConversion: boolean;
|
|
260
263
|
itemsPriceFormatting: boolean;
|
|
264
|
+
blockUnsubscribeLinks: boolean;
|
|
261
265
|
};
|
|
262
266
|
blocks: {
|
|
263
267
|
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")[];
|
|
@@ -404,7 +408,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
404
408
|
linkTrackingIds: boolean;
|
|
405
409
|
allowSaveWithErrors: boolean;
|
|
406
410
|
reusableRecommendationStrategy: boolean;
|
|
411
|
+
legacyUnsubscribeConversion: boolean;
|
|
407
412
|
itemsPriceFormatting: boolean;
|
|
413
|
+
blockUnsubscribeLinks: boolean;
|
|
408
414
|
};
|
|
409
415
|
blocks: {
|
|
410
416
|
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")[];
|
|
@@ -551,7 +557,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
551
557
|
linkTrackingIds: boolean;
|
|
552
558
|
allowSaveWithErrors: boolean;
|
|
553
559
|
reusableRecommendationStrategy: boolean;
|
|
560
|
+
legacyUnsubscribeConversion: boolean;
|
|
554
561
|
itemsPriceFormatting: boolean;
|
|
562
|
+
blockUnsubscribeLinks: boolean;
|
|
555
563
|
};
|
|
556
564
|
blocks: {
|
|
557
565
|
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")[];
|
|
@@ -698,7 +706,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
698
706
|
linkTrackingIds: boolean;
|
|
699
707
|
allowSaveWithErrors: boolean;
|
|
700
708
|
reusableRecommendationStrategy: boolean;
|
|
709
|
+
legacyUnsubscribeConversion: boolean;
|
|
701
710
|
itemsPriceFormatting: boolean;
|
|
711
|
+
blockUnsubscribeLinks: boolean;
|
|
702
712
|
};
|
|
703
713
|
blocks: {
|
|
704
714
|
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")[];
|
|
@@ -845,7 +855,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
845
855
|
linkTrackingIds: boolean;
|
|
846
856
|
allowSaveWithErrors: boolean;
|
|
847
857
|
reusableRecommendationStrategy: boolean;
|
|
858
|
+
legacyUnsubscribeConversion: boolean;
|
|
848
859
|
itemsPriceFormatting: boolean;
|
|
860
|
+
blockUnsubscribeLinks: boolean;
|
|
849
861
|
};
|
|
850
862
|
blocks: {
|
|
851
863
|
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")[];
|
|
@@ -992,7 +1004,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
992
1004
|
linkTrackingIds: boolean;
|
|
993
1005
|
allowSaveWithErrors: boolean;
|
|
994
1006
|
reusableRecommendationStrategy: boolean;
|
|
1007
|
+
legacyUnsubscribeConversion: boolean;
|
|
995
1008
|
itemsPriceFormatting: boolean;
|
|
1009
|
+
blockUnsubscribeLinks: boolean;
|
|
996
1010
|
};
|
|
997
1011
|
blocks: {
|
|
998
1012
|
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")[];
|
|
@@ -1139,7 +1153,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1139
1153
|
linkTrackingIds: boolean;
|
|
1140
1154
|
allowSaveWithErrors: boolean;
|
|
1141
1155
|
reusableRecommendationStrategy: boolean;
|
|
1156
|
+
legacyUnsubscribeConversion: boolean;
|
|
1142
1157
|
itemsPriceFormatting: boolean;
|
|
1158
|
+
blockUnsubscribeLinks: boolean;
|
|
1143
1159
|
};
|
|
1144
1160
|
blocks: {
|
|
1145
1161
|
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")[];
|
|
@@ -1286,7 +1302,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1286
1302
|
linkTrackingIds: boolean;
|
|
1287
1303
|
allowSaveWithErrors: boolean;
|
|
1288
1304
|
reusableRecommendationStrategy: boolean;
|
|
1305
|
+
legacyUnsubscribeConversion: boolean;
|
|
1289
1306
|
itemsPriceFormatting: boolean;
|
|
1307
|
+
blockUnsubscribeLinks: boolean;
|
|
1290
1308
|
};
|
|
1291
1309
|
blocks: {
|
|
1292
1310
|
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")[];
|
|
@@ -1433,7 +1451,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1433
1451
|
linkTrackingIds: boolean;
|
|
1434
1452
|
allowSaveWithErrors: boolean;
|
|
1435
1453
|
reusableRecommendationStrategy: boolean;
|
|
1454
|
+
legacyUnsubscribeConversion: boolean;
|
|
1436
1455
|
itemsPriceFormatting: boolean;
|
|
1456
|
+
blockUnsubscribeLinks: boolean;
|
|
1437
1457
|
};
|
|
1438
1458
|
blocks: {
|
|
1439
1459
|
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")[];
|
|
@@ -1580,7 +1600,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1580
1600
|
linkTrackingIds: boolean;
|
|
1581
1601
|
allowSaveWithErrors: boolean;
|
|
1582
1602
|
reusableRecommendationStrategy: boolean;
|
|
1603
|
+
legacyUnsubscribeConversion: boolean;
|
|
1583
1604
|
itemsPriceFormatting: boolean;
|
|
1605
|
+
blockUnsubscribeLinks: boolean;
|
|
1584
1606
|
};
|
|
1585
1607
|
blocks: {
|
|
1586
1608
|
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")[];
|
|
@@ -1727,7 +1749,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1727
1749
|
linkTrackingIds: boolean;
|
|
1728
1750
|
allowSaveWithErrors: boolean;
|
|
1729
1751
|
reusableRecommendationStrategy: boolean;
|
|
1752
|
+
legacyUnsubscribeConversion: boolean;
|
|
1730
1753
|
itemsPriceFormatting: boolean;
|
|
1754
|
+
blockUnsubscribeLinks: boolean;
|
|
1731
1755
|
};
|
|
1732
1756
|
blocks: {
|
|
1733
1757
|
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")[];
|
|
@@ -1874,7 +1898,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1874
1898
|
linkTrackingIds: boolean;
|
|
1875
1899
|
allowSaveWithErrors: boolean;
|
|
1876
1900
|
reusableRecommendationStrategy: boolean;
|
|
1901
|
+
legacyUnsubscribeConversion: boolean;
|
|
1877
1902
|
itemsPriceFormatting: boolean;
|
|
1903
|
+
blockUnsubscribeLinks: boolean;
|
|
1878
1904
|
};
|
|
1879
1905
|
blocks: {
|
|
1880
1906
|
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")[];
|
|
@@ -2021,7 +2047,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2021
2047
|
linkTrackingIds: boolean;
|
|
2022
2048
|
allowSaveWithErrors: boolean;
|
|
2023
2049
|
reusableRecommendationStrategy: boolean;
|
|
2050
|
+
legacyUnsubscribeConversion: boolean;
|
|
2024
2051
|
itemsPriceFormatting: boolean;
|
|
2052
|
+
blockUnsubscribeLinks: boolean;
|
|
2025
2053
|
};
|
|
2026
2054
|
blocks: {
|
|
2027
2055
|
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")[];
|
|
@@ -2168,7 +2196,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2168
2196
|
linkTrackingIds: boolean;
|
|
2169
2197
|
allowSaveWithErrors: boolean;
|
|
2170
2198
|
reusableRecommendationStrategy: boolean;
|
|
2199
|
+
legacyUnsubscribeConversion: boolean;
|
|
2171
2200
|
itemsPriceFormatting: boolean;
|
|
2201
|
+
blockUnsubscribeLinks: boolean;
|
|
2172
2202
|
};
|
|
2173
2203
|
blocks: {
|
|
2174
2204
|
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")[];
|
|
@@ -2315,7 +2345,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2315
2345
|
linkTrackingIds: boolean;
|
|
2316
2346
|
allowSaveWithErrors: boolean;
|
|
2317
2347
|
reusableRecommendationStrategy: boolean;
|
|
2348
|
+
legacyUnsubscribeConversion: boolean;
|
|
2318
2349
|
itemsPriceFormatting: boolean;
|
|
2350
|
+
blockUnsubscribeLinks: boolean;
|
|
2319
2351
|
};
|
|
2320
2352
|
blocks: {
|
|
2321
2353
|
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")[];
|
|
@@ -2462,7 +2494,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2462
2494
|
linkTrackingIds: boolean;
|
|
2463
2495
|
allowSaveWithErrors: boolean;
|
|
2464
2496
|
reusableRecommendationStrategy: boolean;
|
|
2497
|
+
legacyUnsubscribeConversion: boolean;
|
|
2465
2498
|
itemsPriceFormatting: boolean;
|
|
2499
|
+
blockUnsubscribeLinks: boolean;
|
|
2466
2500
|
};
|
|
2467
2501
|
blocks: {
|
|
2468
2502
|
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")[];
|
|
@@ -2621,7 +2655,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2621
2655
|
linkTrackingIds: boolean;
|
|
2622
2656
|
allowSaveWithErrors: boolean;
|
|
2623
2657
|
reusableRecommendationStrategy: boolean;
|
|
2658
|
+
legacyUnsubscribeConversion: boolean;
|
|
2624
2659
|
itemsPriceFormatting: boolean;
|
|
2660
|
+
blockUnsubscribeLinks: boolean;
|
|
2625
2661
|
};
|
|
2626
2662
|
blocks: {
|
|
2627
2663
|
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")[];
|
|
@@ -2768,7 +2804,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2768
2804
|
linkTrackingIds: boolean;
|
|
2769
2805
|
allowSaveWithErrors: boolean;
|
|
2770
2806
|
reusableRecommendationStrategy: boolean;
|
|
2807
|
+
legacyUnsubscribeConversion: boolean;
|
|
2771
2808
|
itemsPriceFormatting: boolean;
|
|
2809
|
+
blockUnsubscribeLinks: boolean;
|
|
2772
2810
|
};
|
|
2773
2811
|
blocks: {
|
|
2774
2812
|
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")[];
|
|
@@ -2917,7 +2955,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2917
2955
|
linkTrackingIds: boolean;
|
|
2918
2956
|
allowSaveWithErrors: boolean;
|
|
2919
2957
|
reusableRecommendationStrategy: boolean;
|
|
2958
|
+
legacyUnsubscribeConversion: boolean;
|
|
2920
2959
|
itemsPriceFormatting: boolean;
|
|
2960
|
+
blockUnsubscribeLinks: boolean;
|
|
2921
2961
|
};
|
|
2922
2962
|
blocks: {
|
|
2923
2963
|
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")[];
|
|
@@ -12,6 +12,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
12
12
|
hasChanges: boolean;
|
|
13
13
|
changeSeq: number;
|
|
14
14
|
isStripoInitialized: boolean;
|
|
15
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
15
16
|
templateId: string;
|
|
16
17
|
syncModulesEnabled: boolean;
|
|
17
18
|
trackIdSessionFloor: number;
|
|
@@ -29,6 +30,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
29
30
|
hasChanges: boolean;
|
|
30
31
|
changeSeq: number;
|
|
31
32
|
isStripoInitialized: boolean;
|
|
33
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
32
34
|
templateId: string;
|
|
33
35
|
syncModulesEnabled: boolean;
|
|
34
36
|
trackIdSessionFloor: number;
|
|
@@ -45,6 +47,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
45
47
|
hasChanges: boolean;
|
|
46
48
|
changeSeq: number;
|
|
47
49
|
isStripoInitialized: boolean;
|
|
50
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
48
51
|
templateId: string;
|
|
49
52
|
syncModulesEnabled: boolean;
|
|
50
53
|
trackIdSessionFloor: number;
|
|
@@ -62,6 +65,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
62
65
|
hasChanges: boolean;
|
|
63
66
|
changeSeq: number;
|
|
64
67
|
isStripoInitialized: boolean;
|
|
68
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
65
69
|
templateId: string;
|
|
66
70
|
syncModulesEnabled: boolean;
|
|
67
71
|
trackIdSessionFloor: number;
|
|
@@ -78,6 +82,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
78
82
|
hasChanges: boolean;
|
|
79
83
|
changeSeq: number;
|
|
80
84
|
isStripoInitialized: boolean;
|
|
85
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
81
86
|
templateId: string;
|
|
82
87
|
syncModulesEnabled: boolean;
|
|
83
88
|
trackIdSessionFloor: number;
|
|
@@ -95,6 +100,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
95
100
|
hasChanges: boolean;
|
|
96
101
|
changeSeq: number;
|
|
97
102
|
isStripoInitialized: boolean;
|
|
103
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
98
104
|
templateId: string;
|
|
99
105
|
syncModulesEnabled: boolean;
|
|
100
106
|
trackIdSessionFloor: number;
|
|
@@ -111,6 +117,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
111
117
|
hasChanges: boolean;
|
|
112
118
|
changeSeq: number;
|
|
113
119
|
isStripoInitialized: boolean;
|
|
120
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
114
121
|
templateId: string;
|
|
115
122
|
syncModulesEnabled: boolean;
|
|
116
123
|
trackIdSessionFloor: number;
|
|
@@ -128,6 +135,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
128
135
|
hasChanges: boolean;
|
|
129
136
|
changeSeq: number;
|
|
130
137
|
isStripoInitialized: boolean;
|
|
138
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
131
139
|
templateId: string;
|
|
132
140
|
syncModulesEnabled: boolean;
|
|
133
141
|
trackIdSessionFloor: number;
|
|
@@ -144,6 +152,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
144
152
|
hasChanges: boolean;
|
|
145
153
|
changeSeq: number;
|
|
146
154
|
isStripoInitialized: boolean;
|
|
155
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
147
156
|
templateId: string;
|
|
148
157
|
syncModulesEnabled: boolean;
|
|
149
158
|
trackIdSessionFloor: number;
|
|
@@ -161,6 +170,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
161
170
|
hasChanges: boolean;
|
|
162
171
|
changeSeq: number;
|
|
163
172
|
isStripoInitialized: boolean;
|
|
173
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
164
174
|
templateId: string;
|
|
165
175
|
syncModulesEnabled: boolean;
|
|
166
176
|
trackIdSessionFloor: number;
|
|
@@ -177,6 +187,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
177
187
|
hasChanges: boolean;
|
|
178
188
|
changeSeq: number;
|
|
179
189
|
isStripoInitialized: boolean;
|
|
190
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
180
191
|
templateId: string;
|
|
181
192
|
syncModulesEnabled: boolean;
|
|
182
193
|
trackIdSessionFloor: number;
|
|
@@ -194,6 +205,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
194
205
|
hasChanges: boolean;
|
|
195
206
|
changeSeq: number;
|
|
196
207
|
isStripoInitialized: boolean;
|
|
208
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
197
209
|
templateId: string;
|
|
198
210
|
syncModulesEnabled: boolean;
|
|
199
211
|
trackIdSessionFloor: number;
|
|
@@ -210,6 +222,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
210
222
|
hasChanges: boolean;
|
|
211
223
|
changeSeq: number;
|
|
212
224
|
isStripoInitialized: boolean;
|
|
225
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
213
226
|
templateId: string;
|
|
214
227
|
syncModulesEnabled: boolean;
|
|
215
228
|
trackIdSessionFloor: number;
|
|
@@ -227,6 +240,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
227
240
|
hasChanges: boolean;
|
|
228
241
|
changeSeq: number;
|
|
229
242
|
isStripoInitialized: boolean;
|
|
243
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
230
244
|
templateId: string;
|
|
231
245
|
syncModulesEnabled: boolean;
|
|
232
246
|
trackIdSessionFloor: number;
|
|
@@ -243,6 +257,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
243
257
|
hasChanges: boolean;
|
|
244
258
|
changeSeq: number;
|
|
245
259
|
isStripoInitialized: boolean;
|
|
260
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
246
261
|
templateId: string;
|
|
247
262
|
syncModulesEnabled: boolean;
|
|
248
263
|
trackIdSessionFloor: number;
|
|
@@ -260,6 +275,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
260
275
|
hasChanges: boolean;
|
|
261
276
|
changeSeq: number;
|
|
262
277
|
isStripoInitialized: boolean;
|
|
278
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
263
279
|
templateId: string;
|
|
264
280
|
syncModulesEnabled: boolean;
|
|
265
281
|
trackIdSessionFloor: number;
|
|
@@ -276,6 +292,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
276
292
|
hasChanges: boolean;
|
|
277
293
|
changeSeq: number;
|
|
278
294
|
isStripoInitialized: boolean;
|
|
295
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
279
296
|
templateId: string;
|
|
280
297
|
syncModulesEnabled: boolean;
|
|
281
298
|
trackIdSessionFloor: number;
|
|
@@ -293,6 +310,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
293
310
|
hasChanges: boolean;
|
|
294
311
|
changeSeq: number;
|
|
295
312
|
isStripoInitialized: boolean;
|
|
313
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
296
314
|
templateId: string;
|
|
297
315
|
syncModulesEnabled: boolean;
|
|
298
316
|
trackIdSessionFloor: number;
|
|
@@ -309,6 +327,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
309
327
|
hasChanges: boolean;
|
|
310
328
|
changeSeq: number;
|
|
311
329
|
isStripoInitialized: boolean;
|
|
330
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
312
331
|
templateId: string;
|
|
313
332
|
syncModulesEnabled: boolean;
|
|
314
333
|
trackIdSessionFloor: number;
|
|
@@ -326,6 +345,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
326
345
|
hasChanges: boolean;
|
|
327
346
|
changeSeq: number;
|
|
328
347
|
isStripoInitialized: boolean;
|
|
348
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
329
349
|
templateId: string;
|
|
330
350
|
syncModulesEnabled: boolean;
|
|
331
351
|
trackIdSessionFloor: number;
|
|
@@ -342,6 +362,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
342
362
|
hasChanges: boolean;
|
|
343
363
|
changeSeq: number;
|
|
344
364
|
isStripoInitialized: boolean;
|
|
365
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
345
366
|
templateId: string;
|
|
346
367
|
syncModulesEnabled: boolean;
|
|
347
368
|
trackIdSessionFloor: number;
|
|
@@ -359,6 +380,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
359
380
|
hasChanges: boolean;
|
|
360
381
|
changeSeq: number;
|
|
361
382
|
isStripoInitialized: boolean;
|
|
383
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
362
384
|
templateId: string;
|
|
363
385
|
syncModulesEnabled: boolean;
|
|
364
386
|
trackIdSessionFloor: number;
|
|
@@ -375,6 +397,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
375
397
|
hasChanges: boolean;
|
|
376
398
|
changeSeq: number;
|
|
377
399
|
isStripoInitialized: boolean;
|
|
400
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
378
401
|
templateId: string;
|
|
379
402
|
syncModulesEnabled: boolean;
|
|
380
403
|
trackIdSessionFloor: number;
|
|
@@ -392,6 +415,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
392
415
|
hasChanges: boolean;
|
|
393
416
|
changeSeq: number;
|
|
394
417
|
isStripoInitialized: boolean;
|
|
418
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
395
419
|
templateId: string;
|
|
396
420
|
syncModulesEnabled: boolean;
|
|
397
421
|
trackIdSessionFloor: number;
|
|
@@ -408,6 +432,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
408
432
|
hasChanges: boolean;
|
|
409
433
|
changeSeq: number;
|
|
410
434
|
isStripoInitialized: boolean;
|
|
435
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
411
436
|
templateId: string;
|
|
412
437
|
syncModulesEnabled: boolean;
|
|
413
438
|
trackIdSessionFloor: number;
|
|
@@ -425,6 +450,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
425
450
|
hasChanges: boolean;
|
|
426
451
|
changeSeq: number;
|
|
427
452
|
isStripoInitialized: boolean;
|
|
453
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
428
454
|
templateId: string;
|
|
429
455
|
syncModulesEnabled: boolean;
|
|
430
456
|
trackIdSessionFloor: number;
|
|
@@ -441,6 +467,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
441
467
|
hasChanges: boolean;
|
|
442
468
|
changeSeq: number;
|
|
443
469
|
isStripoInitialized: boolean;
|
|
470
|
+
isLegacyUnsubscribeModalRequested: boolean;
|
|
444
471
|
templateId: string;
|
|
445
472
|
syncModulesEnabled: boolean;
|
|
446
473
|
trackIdSessionFloor: number;
|