@useinsider/guido 3.21.1-beta.f5fb7ac → 3.21.2-beta.066adbf
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 +35 -13
- package/dist/@types/config/schemas.js +33 -35
- package/dist/components/Guido.vue.js +5 -5
- package/dist/components/Guido.vue2.js +121 -115
- package/dist/composables/useEditorOpenMetrics.js +167 -0
- package/dist/composables/useModuleRepair.js +23 -32
- package/dist/composables/useStripo.js +93 -82
- package/dist/config/compiler/utils/recommendationCompilerUtils.js +55 -53
- package/dist/config/migrator/index.js +9 -10
- package/dist/enums/academy.js +1 -2
- package/dist/extensions/Blocks/Recommendation/block.js +52 -37
- package/dist/extensions/Blocks/Recommendation/controls/image/index.js +76 -16
- package/dist/extensions/Blocks/Recommendation/utils/captureStyleTemplates.js +16 -15
- package/dist/guido.css +1 -1
- package/dist/library.js +12 -10
- package/dist/package.json.js +6 -4
- package/dist/public/prefetchRuntime.js +4 -0
- package/dist/src/@types/config/schemas.d.ts +0 -4
- package/dist/src/composables/useConfig.d.ts +0 -2
- package/dist/src/composables/useEditorOpenMetrics.d.ts +27 -0
- package/dist/src/composables/useModuleRepair.d.ts +11 -2
- package/dist/src/composables/useStripo.d.ts +2 -1
- package/dist/src/enums/academy.d.ts +0 -1
- package/dist/src/extensions/Blocks/Recommendation/block.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/image/index.d.ts +31 -17
- package/dist/src/library.d.ts +1 -0
- package/dist/src/public/prefetchRuntime.d.ts +1 -0
- package/dist/src/stores/config.d.ts +0 -20
- package/dist/src/stores/editor.d.ts +0 -25
- package/dist/src/utils/runtimePrefetch.d.ts +4 -0
- package/dist/src/utils/stripoRuntime.d.ts +3 -0
- package/dist/static/stripo-runtime-manifest.json.js +9 -0
- package/dist/stores/editor.js +14 -15
- package/dist/utils/runtimePrefetch.js +26 -0
- package/dist/utils/stripoRuntime.js +13 -0
- package/package.json +6 -1
- package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.js +0 -17
- package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue2.js +0 -30
- package/dist/config/migrator/legacyUnsubscribeTextMigrator.js +0 -16
- package/dist/src/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.d.ts +0 -2
- package/dist/src/config/migrator/legacyUnsubscribeTextMigrator.d.ts +0 -1
- package/dist/src/utils/legacyUnsubscribeConversion.d.ts +0 -10
- package/dist/utils/legacyUnsubscribeConversion.js +0 -49
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { extractWrapperTags as A } from "../../../../utils/preserveTextStyles.js";
|
|
2
2
|
import { RecommendationBlockId as c } from "../constants/blockIds.js";
|
|
3
|
-
import { DESKTOP_CONTAINER_SELECTOR as
|
|
3
|
+
import { DESKTOP_CONTAINER_SELECTOR as g, ATTR_PRODUCT_NAME as k, ATTR_PRODUCT_PRICE as y, ATTR_PRODUCT_OLD_PRICE as p, ATTR_PRODUCT_OMNIBUS_PRICE as R, ATTR_PRODUCT_OMNIBUS_DISCOUNT as _, ATTR_PRODUCT_BUTTON as x, ATTR_PRODUCT_IMAGE as q, ATTR_PRODUCT_ATTR as v } from "../constants/selectors.js";
|
|
4
4
|
import { CSS_CLASS_TEXT_TRIM as B } from "../controls/shared/textTrimCssRules.js";
|
|
5
5
|
import { toCustomCompositionKey as U } from "../templates/utils.js";
|
|
6
6
|
import { resolveRowVisibilityKeys as N, isMergedInlinePriceRow as C } from "./compositionKeys.js";
|
|
7
|
-
import { hasQuerySelectorAll as I, hasGetAttribute as l, hasGetStyle as
|
|
7
|
+
import { hasQuerySelectorAll as I, hasGetAttribute as l, hasGetStyle as h, hasGetComputedStyle as M } from "./tagName.js";
|
|
8
8
|
const s = [
|
|
9
9
|
"font-size",
|
|
10
10
|
"font-family",
|
|
@@ -37,9 +37,10 @@ const s = [
|
|
|
37
37
|
"width",
|
|
38
38
|
"height",
|
|
39
39
|
"max-width",
|
|
40
|
+
"max-height",
|
|
40
41
|
"border-radius",
|
|
41
42
|
"margin"
|
|
42
|
-
],
|
|
43
|
+
], b = /* @__PURE__ */ new Set(["transparent", "rgba(0, 0, 0, 0)"]), L = [
|
|
43
44
|
{ attrKey: k, blockId: c.NAME, kind: "text" },
|
|
44
45
|
{ attrKey: y, blockId: c.PRICE, kind: "text" },
|
|
45
46
|
{ attrKey: p, blockId: c.OLD_PRICE, kind: "text" },
|
|
@@ -48,14 +49,14 @@ const s = [
|
|
|
48
49
|
{ attrKey: x, blockId: c.BUTTON, kind: "button" },
|
|
49
50
|
{ attrKey: q, blockId: c.IMAGE, kind: "image" }
|
|
50
51
|
];
|
|
51
|
-
function
|
|
52
|
+
function O(t) {
|
|
52
53
|
return t && "getInnerHTML" in t && typeof t.getInnerHTML == "function" ? t.getInnerHTML().trim() : "";
|
|
53
54
|
}
|
|
54
55
|
function K(t) {
|
|
55
56
|
return t && "getInnerText" in t && typeof t.getInnerText == "function" ? t.getInnerText().trim() : "";
|
|
56
57
|
}
|
|
57
58
|
function a(t, e, r) {
|
|
58
|
-
!e || !
|
|
59
|
+
!e || !h(e) || r.forEach((n) => {
|
|
59
60
|
const o = e.getStyle(n);
|
|
60
61
|
o && o !== "inherit" && o !== "initial" && (t[n] = o);
|
|
61
62
|
});
|
|
@@ -64,10 +65,10 @@ function E(t) {
|
|
|
64
65
|
return Object.entries(t).map(([e, r]) => `${e}: ${r};`).join(" ");
|
|
65
66
|
}
|
|
66
67
|
function P(t) {
|
|
67
|
-
if (!t || !
|
|
68
|
+
if (!t || !h(t))
|
|
68
69
|
return;
|
|
69
70
|
const e = t.getStyle("background-color") || t.getStyle("background");
|
|
70
|
-
return e && !
|
|
71
|
+
return e && !b.has(e) ? e : void 0;
|
|
71
72
|
}
|
|
72
73
|
function S(t, e) {
|
|
73
74
|
const r = {};
|
|
@@ -76,11 +77,11 @@ function S(t, e) {
|
|
|
76
77
|
function $(t) {
|
|
77
78
|
const e = t.querySelector("p"), r = {};
|
|
78
79
|
a(r, t, s), a(r, e, s), a(r, t.querySelector("strong"), s), a(r, t.querySelector("em"), s), a(r, t.querySelector("s"), s);
|
|
79
|
-
const n = E(r), { openTags: o, closeTags: i } = A(
|
|
80
|
+
const n = E(r), { openTags: o, closeTags: i } = A(O(e));
|
|
80
81
|
return !n && !o ? null : { pStyle: n || void 0, openTags: o, closeTags: i };
|
|
81
82
|
}
|
|
82
83
|
function H(t) {
|
|
83
|
-
const e = t.querySelector(".es-button-border"), r = t.querySelector("a.es-button") ?? t.querySelector("a"), n = S(e, D), o = S(r, w), i = e && "getAttribute" in e ? e.getAttribute("class") ?? "" : "", u = /\bes-fw\b/.test(i), { openTags: T, closeTags: d } = A(
|
|
84
|
+
const e = t.querySelector(".es-button-border"), r = t.querySelector("a.es-button") ?? t.querySelector("a"), n = S(e, D), o = S(r, w), i = e && "getAttribute" in e ? e.getAttribute("class") ?? "" : "", u = /\bes-fw\b/.test(i), { openTags: T, closeTags: d } = A(O(r)), m = K(r);
|
|
84
85
|
return !n && !o && !u && !T && !m ? null : {
|
|
85
86
|
buttonBorderStyle: n || void 0,
|
|
86
87
|
buttonAnchorStyle: o || void 0,
|
|
@@ -100,7 +101,7 @@ function j(t, e) {
|
|
|
100
101
|
function f(t, e) {
|
|
101
102
|
if (!t || !("querySelector" in t))
|
|
102
103
|
return;
|
|
103
|
-
const r = t.querySelector(
|
|
104
|
+
const r = t.querySelector(g) ?? t;
|
|
104
105
|
if (L.forEach(({ attrKey: i, blockId: u, kind: T }) => {
|
|
105
106
|
const d = r.querySelector(`[esd-extension-block-id="${u}"]`);
|
|
106
107
|
d && e(d, i, T);
|
|
@@ -126,20 +127,20 @@ function V(t) {
|
|
|
126
127
|
function X(t) {
|
|
127
128
|
if (!t || !("querySelector" in t))
|
|
128
129
|
return;
|
|
129
|
-
const e = t.querySelector(
|
|
130
|
+
const e = t.querySelector(g) ?? t, r = e.querySelector(".product-card-segment") ?? e.querySelector(".product-card-wrapper");
|
|
130
131
|
return P(r);
|
|
131
132
|
}
|
|
132
133
|
function z(t) {
|
|
133
134
|
if (!t)
|
|
134
135
|
return;
|
|
135
136
|
const e = l(t) ? t.getAttribute("bgcolor") : null;
|
|
136
|
-
if (e && !
|
|
137
|
+
if (e && !b.has(e))
|
|
137
138
|
return e;
|
|
138
139
|
const r = P(t);
|
|
139
140
|
if (r)
|
|
140
141
|
return r;
|
|
141
142
|
const n = M(t) ? t.getComputedStyle("background-color") : void 0;
|
|
142
|
-
return n && !
|
|
143
|
+
return n && !b.has(n) ? n : void 0;
|
|
143
144
|
}
|
|
144
145
|
function Q(t) {
|
|
145
146
|
const e = {};
|
|
@@ -170,7 +171,7 @@ function J(t) {
|
|
|
170
171
|
function Z(t) {
|
|
171
172
|
if (!t || !("querySelector" in t))
|
|
172
173
|
return !1;
|
|
173
|
-
const e = t.querySelector(
|
|
174
|
+
const e = t.querySelector(g) ?? t;
|
|
174
175
|
return C(e.querySelector(`[data-attribute-type="${y}"]`)) || C(e.querySelector(`[data-attribute-type="${p}"]`));
|
|
175
176
|
}
|
|
176
177
|
function tt(t) {
|
|
@@ -195,7 +196,7 @@ function rt(t) {
|
|
|
195
196
|
const e = {};
|
|
196
197
|
if (!t || !("querySelector" in t))
|
|
197
198
|
return e;
|
|
198
|
-
const r = t.querySelector(
|
|
199
|
+
const r = t.querySelector(g) ?? t;
|
|
199
200
|
return I(r) && r.querySelectorAll(".recommendation-attribute-row").forEach((n) => {
|
|
200
201
|
if (!l(n))
|
|
201
202
|
return;
|
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-
|
|
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-f2154cb6]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-f2154cb6]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-f2154cb6]{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}
|
package/dist/library.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { default as a } from "./components/Guido.vue.js";
|
|
2
|
-
import { MessageType as t, ProductType as
|
|
2
|
+
import { MessageType as t, ProductType as f } from "./@types/config/schemas.js";
|
|
3
3
|
import "./@types/config/defaults.js";
|
|
4
|
-
import { getValidationErrors as
|
|
5
|
-
import { assignTrackingIds as
|
|
4
|
+
import { getValidationErrors as p, isValidConfig as s, parseConfig as m, parseConfigSafe as g, validateConfig as n } from "./@types/config/validator.js";
|
|
5
|
+
import { assignTrackingIds as l, readTrackFloor as x, readTrackSeq as c } from "./utils/linkTrackingIds.js";
|
|
6
6
|
import { useGuidoEmailEditorStore as C } from "./stores/guido-email-editor.js";
|
|
7
|
+
import { prefetchGuidoRuntime as E } from "./utils/runtimePrefetch.js";
|
|
7
8
|
export {
|
|
8
9
|
a as Guido,
|
|
9
10
|
t as MessageType,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
f as ProductType,
|
|
12
|
+
l as assignTrackingIds,
|
|
13
|
+
p as getValidationErrors,
|
|
14
|
+
s as isValidConfig,
|
|
15
|
+
m as parseConfig,
|
|
16
|
+
g as parseConfigSafe,
|
|
17
|
+
E as prefetchGuidoRuntime,
|
|
16
18
|
x as readTrackFloor,
|
|
17
|
-
|
|
19
|
+
c as readTrackSeq,
|
|
18
20
|
C as useGuidoEmailEditorStore,
|
|
19
21
|
n as validateConfig
|
|
20
22
|
};
|
package/dist/package.json.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
const o = { stripo: { version: "2.81.1" } },
|
|
2
|
-
|
|
1
|
+
const o = "3.21.2-beta.066adbf", s = { stripo: { version: "2.81.1" } }, t = {
|
|
2
|
+
version: o,
|
|
3
|
+
guido: s
|
|
3
4
|
};
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
t as default,
|
|
7
|
+
s as guido,
|
|
8
|
+
o as version
|
|
7
9
|
};
|
|
@@ -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")[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type TimedOpenPhase = 'migration' | 'default_template' | 'timer_clone';
|
|
2
|
+
declare const PHASES: readonly ["setup", "host_ready", "migration_start", "migration_end", "default_template_start", "default_template_end", "timer_clone_start", "timer_clone_end", "plugin_start", "script_ready", "fonts_sync_ready", "blocks_config_ready", "init_editor", "token_start", "token_end", "ready"];
|
|
3
|
+
export type OpenPhase = typeof PHASES[number];
|
|
4
|
+
export type OpenOutcome = 'ready' | 'error' | 'abandoned';
|
|
5
|
+
export interface OpenContext {
|
|
6
|
+
partnerName: string;
|
|
7
|
+
productType: number;
|
|
8
|
+
templateId: string;
|
|
9
|
+
variationId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface OpenTemplate {
|
|
12
|
+
html: string;
|
|
13
|
+
css: string;
|
|
14
|
+
forceRecreate: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface EditorOpenMetrics {
|
|
17
|
+
mark: (phase: OpenPhase) => void;
|
|
18
|
+
timed: <T>(phase: TimedOpenPhase, task: () => Promise<T>) => Promise<T>;
|
|
19
|
+
setContext: (context: OpenContext) => void;
|
|
20
|
+
setTemplate: (template: OpenTemplate) => void;
|
|
21
|
+
setScriptPreloaded: (preloaded: boolean) => void;
|
|
22
|
+
markReady: () => void;
|
|
23
|
+
markFailed: () => void;
|
|
24
|
+
dispose: () => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const startEditorOpenMetrics: () => EditorOpenMetrics;
|
|
27
|
+
export {};
|
|
@@ -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
|
|
5
|
-
*
|
|
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;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { EditorOpenMetrics } from '@@/Composables/useEditorOpenMetrics';
|
|
1
2
|
import type { Metadata, Options, Template } from '@@/Types/stripo';
|
|
2
|
-
export declare const useStripo: () => {
|
|
3
|
+
export declare const useStripo: (openMetrics: EditorOpenMetrics) => {
|
|
3
4
|
initPlugin: (template: Template, metadata: Metadata, options: Options) => Promise<void>;
|
|
4
5
|
preloadRuntime: () => void;
|
|
5
6
|
};
|
|
@@ -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;
|
|
@@ -64,6 +64,8 @@ export declare class RecommendationBlock extends Block {
|
|
|
64
64
|
* @param node - The block node being deleted
|
|
65
65
|
*/
|
|
66
66
|
onDelete(node: ImmutableHtmlNode): void;
|
|
67
|
+
private _ensureMobileFitRule;
|
|
68
|
+
private _syncHeightBound;
|
|
67
69
|
/**
|
|
68
70
|
* Warns (dark advisory toaster) when the design holds more than one live
|
|
69
71
|
* recommendation block. Triggered from the user-add paths only (fresh drop
|
|
@@ -3,35 +3,49 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Controls for styling the product image element in recommendation cards.
|
|
5
5
|
*/
|
|
6
|
+
import type { CssNodeModifier, HtmlNodeModifier, ImmutableCssNode, ImmutableHtmlNode, TemplateModifier } from '@stripoinc/ui-editor-extensions';
|
|
7
|
+
import { ModificationDescription } from '@stripoinc/ui-editor-extensions';
|
|
8
|
+
interface FitRuleApi {
|
|
9
|
+
getDocumentRootCssNode: () => ImmutableCssNode | null;
|
|
10
|
+
getDocumentModifier: () => TemplateModifier<HtmlNodeModifier, CssNodeModifier>;
|
|
11
|
+
}
|
|
12
|
+
export declare function ensureMobileFitRule(api: FitRuleApi, block: ImmutableHtmlNode): void;
|
|
13
|
+
export declare function syncHeightBound(api: Pick<FitRuleApi, 'getDocumentModifier'>, block: ImmutableHtmlNode): void;
|
|
14
|
+
declare const SizeControl_base: {
|
|
15
|
+
new (): {
|
|
16
|
+
getId(): string;
|
|
17
|
+
getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
|
|
18
|
+
getParentControlId(): string;
|
|
19
|
+
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
20
|
+
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
21
|
+
getModificationDescription(): ModificationDescription | undefined;
|
|
22
|
+
getAdditionalModifications(_root: ImmutableHtmlNode): TemplateModifier<HtmlNodeModifier, CssNodeModifier> | undefined;
|
|
23
|
+
isVisible(_node: ImmutableHtmlNode): boolean;
|
|
24
|
+
getElementLockCategory(): import("@stripoinc/ui-editor-extensions").ElementLockCategory | undefined;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
declare class SizeControl extends SizeControl_base {
|
|
28
|
+
getAdditionalModifications(root: ImmutableHtmlNode): TemplateModifier<HtmlNodeModifier, CssNodeModifier> | undefined;
|
|
29
|
+
private getFitStyles;
|
|
30
|
+
}
|
|
6
31
|
/**
|
|
7
32
|
* Grouped Image Controls
|
|
8
33
|
* Use this object for cleaner imports in extension.ts
|
|
9
34
|
*/
|
|
10
35
|
export declare const ImageControls: {
|
|
11
|
-
readonly size:
|
|
12
|
-
new (): {
|
|
13
|
-
getId(): string;
|
|
14
|
-
getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
|
|
15
|
-
getParentControlId(): string;
|
|
16
|
-
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
17
|
-
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
18
|
-
getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
|
|
19
|
-
getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
|
|
20
|
-
isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
|
|
21
|
-
getElementLockCategory(): import("@stripoinc/ui-editor-extensions").ElementLockCategory | undefined;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
36
|
+
readonly size: typeof SizeControl;
|
|
24
37
|
readonly margins: {
|
|
25
38
|
new (): {
|
|
26
39
|
getId(): string;
|
|
27
|
-
getTargetNodes(root:
|
|
40
|
+
getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
|
|
28
41
|
getParentControlId(): string;
|
|
29
42
|
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
30
43
|
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
31
|
-
getModificationDescription():
|
|
32
|
-
getAdditionalModifications(_root:
|
|
33
|
-
isVisible(_node:
|
|
44
|
+
getModificationDescription(): ModificationDescription | undefined;
|
|
45
|
+
getAdditionalModifications(_root: ImmutableHtmlNode): TemplateModifier<HtmlNodeModifier, CssNodeModifier> | undefined;
|
|
46
|
+
isVisible(_node: ImmutableHtmlNode): boolean;
|
|
34
47
|
getElementLockCategory(): import("@stripoinc/ui-editor-extensions").ElementLockCategory | undefined;
|
|
35
48
|
};
|
|
36
49
|
};
|
|
37
50
|
};
|
|
51
|
+
export {};
|
package/dist/src/library.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export { validateConfig, parseConfig, parseConfigSafe, isValidConfig, getValidat
|
|
|
4
4
|
export { assignTrackingIds, readTrackFloor, readTrackSeq } from './public/trackingIds';
|
|
5
5
|
export { useGuidoEmailEditorStore } from './public/editorState';
|
|
6
6
|
export type { GuidoEmailEditorState } from './public/editorState';
|
|
7
|
+
export { prefetchGuidoRuntime } from './public/prefetchRuntime';
|
|
7
8
|
export type { StripoEventType } from './@types/events';
|
|
8
9
|
export type { PositionData, DynamicContentEvent, MergeTagClickEvent, MergeTag, BaseDynamicContent, DynamicContentNode, DynamicContentList, TooltipOptions, TextValueObject, L10n, } from './@types/generic';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { prefetchGuidoRuntime } from '../utils/runtimePrefetch';
|
|
@@ -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")[];
|