@useinsider/guido 3.18.1-beta.2b89365 → 3.18.1-beta.2e195ed
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/dist/components/Guido.vue.js +3 -3
- package/dist/components/Guido.vue2.js +30 -30
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +13 -11
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +65 -53
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +20 -18
- package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.js +21 -0
- package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue2.js +47 -0
- package/dist/composables/useCustomInterfaceAppearance.js +56 -48
- package/dist/composables/useGuidoStateBridge.js +24 -29
- package/dist/composables/useHtmlValidator.js +84 -79
- package/dist/composables/useRecommendation.js +21 -18
- package/dist/composables/useStripo.js +31 -31
- package/dist/enums/extensions/recommendationBlock.js +38 -31
- package/dist/extensions/Blocks/Recommendation/block.js +43 -39
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +62 -57
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +84 -52
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +165 -78
- package/dist/extensions/Blocks/Recommendation/validation/requiredFields.js +21 -12
- package/dist/guido.css +1 -1
- package/dist/library.js +13 -15
- package/dist/src/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.d.ts +2 -0
- package/dist/src/composables/useGuidoStateBridge.d.ts +7 -11
- package/dist/src/enums/extensions/recommendationBlock.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +9 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +74 -0
- package/dist/src/extensions/Blocks/Recommendation/validation/requiredFields.d.ts +4 -0
- package/dist/src/library.d.ts +0 -2
- package/dist/src/public/trackingIds.d.ts +2 -6
- package/dist/src/stores/editor.d.ts +0 -25
- package/dist/src/stores/guido-email-editor.d.ts +27 -27
- package/dist/src/stores/onboarding.d.ts +377 -0
- package/dist/static/styles/components/recommendation-strategy.css.js +51 -4
- package/dist/stores/editor.js +0 -4
- package/dist/stores/guido-email-editor.js +4 -0
- package/dist/stores/onboarding.js +41 -36
- package/dist/utils/templatePreparation.js +50 -50
- package/package.json +1 -5
- package/dist/public/editorState.js +0 -4
- package/dist/src/public/editorState.d.ts +0 -14
|
@@ -1,34 +1,43 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = "strategy", u = [
|
|
2
2
|
{
|
|
3
3
|
key: "locale",
|
|
4
4
|
getValue: (e) => e.language,
|
|
5
5
|
getAvailableOptions: (e) => Object.keys(e.languages)
|
|
6
6
|
},
|
|
7
|
+
{
|
|
8
|
+
// A block feeds from either an assigned strategy (RRS) or an algorithm (legacy).
|
|
9
|
+
// Only a fresh RRS block has neither, and its feed URL would otherwise be built
|
|
10
|
+
// from an empty algorithm path.
|
|
11
|
+
key: o,
|
|
12
|
+
getValue: (e) => e.strategyId || e.strategy
|
|
13
|
+
},
|
|
7
14
|
{
|
|
8
15
|
key: "currency",
|
|
9
16
|
getValue: (e) => e.currencySettings.value,
|
|
10
17
|
getAvailableOptions: (e) => e.currencyList.map((n) => n.text),
|
|
11
18
|
canBeEmpty: !0
|
|
12
19
|
}
|
|
13
|
-
],
|
|
14
|
-
function c(e, n, i =
|
|
20
|
+
], l = "newsletter.recommendation-fill-required-fields", g = "newsletter.recommendation-assign-strategy";
|
|
21
|
+
function c(e, n, i = u) {
|
|
15
22
|
return i.filter((t) => {
|
|
16
|
-
var
|
|
23
|
+
var s;
|
|
17
24
|
if (t.condition && !t.condition(e))
|
|
18
25
|
return !1;
|
|
19
|
-
const
|
|
20
|
-
if (t.canBeEmpty && (
|
|
26
|
+
const a = (s = t.getAvailableOptions) == null ? void 0 : s.call(t, n);
|
|
27
|
+
if (t.canBeEmpty && (a == null ? void 0 : a.length) === 0)
|
|
21
28
|
return !1;
|
|
22
|
-
const
|
|
23
|
-
return
|
|
29
|
+
const r = t.getValue(e);
|
|
30
|
+
return r ? a !== void 0 && !a.includes(r) : !0;
|
|
24
31
|
}).map((t) => t.key);
|
|
25
32
|
}
|
|
26
|
-
function
|
|
33
|
+
function y(e, n) {
|
|
27
34
|
return c(e, n).length === 0;
|
|
28
35
|
}
|
|
29
36
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
37
|
+
u as REQUIRED_RECOMMENDATION_FIELDS,
|
|
38
|
+
g as RecommendationAssignStrategyKey,
|
|
39
|
+
l as RecommendationRequiredFieldsKey,
|
|
40
|
+
o as STRATEGY_FIELD_KEY,
|
|
32
41
|
c as getInvalidFields,
|
|
33
|
-
|
|
42
|
+
y as isConfigValid
|
|
34
43
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .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-1ca6baf0]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-
|
|
1
|
+
@charset "UTF-8";.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .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-1ca6baf0]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-cc5ee925]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-cc5ee925]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-cc5ee925]{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-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-b447f626]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-b447f626] .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}
|
package/dist/library.js
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { MessageType as
|
|
1
|
+
import { default as e } from "./components/Guido.vue.js";
|
|
2
|
+
import { MessageType as f, ProductType as s } from "./@types/config/schemas.js";
|
|
3
3
|
import "./@types/config/defaults.js";
|
|
4
|
-
import { getValidationErrors as
|
|
5
|
-
import { assignTrackingIds as
|
|
6
|
-
import { useGuidoEmailEditorStore as C } from "./stores/guido-email-editor.js";
|
|
4
|
+
import { getValidationErrors as d, isValidConfig as p, parseConfig as g, parseConfigSafe as n, validateConfig as l } from "./@types/config/validator.js";
|
|
5
|
+
import { assignTrackingIds as T, readTrackFloor as c, readTrackSeq as x } from "./utils/linkTrackingIds.js";
|
|
7
6
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
e as Guido,
|
|
8
|
+
f as MessageType,
|
|
9
|
+
s as ProductType,
|
|
10
|
+
T as assignTrackingIds,
|
|
11
|
+
d as getValidationErrors,
|
|
13
12
|
p as isValidConfig,
|
|
14
13
|
g as parseConfig,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
n as validateConfig
|
|
14
|
+
n as parseConfigSafe,
|
|
15
|
+
c as readTrackFloor,
|
|
16
|
+
x as readTrackSeq,
|
|
17
|
+
l as validateConfig
|
|
20
18
|
};
|
|
@@ -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;
|
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Outbound bridge — publishes the current editor's html/css to the shared
|
|
3
|
-
* Pinia store `guidoEmailEditor
|
|
4
|
-
* time and
|
|
3
|
+
* Pinia store `guidoEmailEditor` so cortex-fe can read it at chat-stream
|
|
4
|
+
* submit time and forward it as `clientState.editor`. This is what enables
|
|
5
5
|
* sub-case 1.3 (refine an already-loaded template via the email-agent).
|
|
6
6
|
*
|
|
7
7
|
* The bridge writes on three triggers:
|
|
8
8
|
*
|
|
9
9
|
* 1. Stripo finishes initializing — first snapshot.
|
|
10
|
-
* 2.
|
|
11
|
-
*
|
|
10
|
+
* 2. Editor `hasChanges` flips to true — debounced 500 ms so a streaming
|
|
11
|
+
* Stripo edit doesn't thrash the store.
|
|
12
12
|
* 3. Editor `hasChanges` flips back to false (post-save / autosave) —
|
|
13
13
|
* immediate, since this is the canonical "saved" snapshot.
|
|
14
14
|
*
|
|
15
15
|
* `getTemplateData()` is a Stripo iframe call; it must not run before
|
|
16
16
|
* `isStripoInitialized` is true. The bridge guards against that.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
* and
|
|
20
|
-
*
|
|
21
|
-
* Readers are not optional any more, so treat the publish timing as part of
|
|
22
|
-
* the contract: the store ships as `@useinsider/guido/editor-state`, and
|
|
23
|
-
* email-fe imports it to scan the live html for its Array of Objects lock.
|
|
24
|
-
* Weakening a trigger here silently breaks that lock in the consumer.
|
|
18
|
+
* If cortex-fe isn't loaded the store still gets written — that's fine;
|
|
19
|
+
* the store has zero overhead and any future reader will find consistent
|
|
20
|
+
* state. The bridge is a one-way pipe with no consumer dependency.
|
|
25
21
|
*/
|
|
26
22
|
export declare const useGuidoStateBridge: () => void;
|
|
@@ -5,7 +5,9 @@ export declare const URLS: {
|
|
|
5
5
|
PRODUCT_ATTRIBUTES_PATH: string;
|
|
6
6
|
RECOMMENDATION_STRATEGIES_PATH: string;
|
|
7
7
|
RECOMMENDATION_STRATEGIES_PANEL_PATH: string;
|
|
8
|
+
RECOMMENDATION_STRATEGY_CREATE_PATH: string;
|
|
8
9
|
};
|
|
10
|
+
export declare const strategyEditPath: (strategyId: string | number) => string;
|
|
9
11
|
export declare const QUERY_PARAMS: {
|
|
10
12
|
CLIENT_ID: string;
|
|
11
13
|
};
|
|
@@ -66,6 +66,8 @@ export declare class RecommendationBlockControl extends CommonControl {
|
|
|
66
66
|
* edits are never clobbered (SD-141049).
|
|
67
67
|
*/
|
|
68
68
|
private _syncNodeConfigIfChanged;
|
|
69
|
+
/** Whether the deferred write would move the node's strategyId — see the caller (SD-149916). */
|
|
70
|
+
private _isPendingStrategyIdChange;
|
|
69
71
|
private _capturePendingNodeConfigWrite;
|
|
70
72
|
/**
|
|
71
73
|
* Accumulates the pending write into `documentModifier` without applying, so the
|
|
@@ -2,6 +2,7 @@ import { CommonControl } from '../../../common-control';
|
|
|
2
2
|
export declare const STRATEGY_CONTROL_ID = "recommendation-strategy-control";
|
|
3
3
|
export declare class StrategyControl extends CommonControl {
|
|
4
4
|
private store;
|
|
5
|
+
private onboardingStore;
|
|
5
6
|
private storeUnsubscription;
|
|
6
7
|
private listeners;
|
|
7
8
|
private lastPaintedState;
|
|
@@ -9,6 +10,14 @@ export declare class StrategyControl extends CommonControl {
|
|
|
9
10
|
getTemplate(): string;
|
|
10
11
|
private _strategyAction;
|
|
11
12
|
onRender(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the document itself says this block has no strategy.
|
|
15
|
+
*
|
|
16
|
+
* Read the node, not the store: when the main control cannot resolve the block id off the
|
|
17
|
+
* node it never syncs the persisted config, so the store still holds defaults (empty
|
|
18
|
+
* strategyId) for an assigned block.
|
|
19
|
+
*/
|
|
20
|
+
private _isNodeUnassigned;
|
|
12
21
|
onDestroy(): void;
|
|
13
22
|
private _teardown;
|
|
14
23
|
private _setupButtonListeners;
|
|
@@ -71,8 +71,11 @@ interface StoreState {
|
|
|
71
71
|
strategies: RrsStrategy[];
|
|
72
72
|
strategiesLoading: boolean;
|
|
73
73
|
strategyUrlTemplates: Record<string, string>;
|
|
74
|
+
strategiesFetched: boolean;
|
|
75
|
+
strategiesSettled: boolean;
|
|
74
76
|
blockStates: Record<number, PerBlockState>;
|
|
75
77
|
currentRecommendationId: number | null;
|
|
78
|
+
strategyPanelOpen: boolean;
|
|
76
79
|
configVersion: number;
|
|
77
80
|
}
|
|
78
81
|
export declare const useRecommendationExtensionStore: import("pinia").StoreDefinition<"guidoRecommendationExtension", StoreState, {
|
|
@@ -99,8 +102,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
99
102
|
}[];
|
|
100
103
|
strategiesLoading: boolean;
|
|
101
104
|
strategyUrlTemplates: Record<string, string>;
|
|
105
|
+
strategiesFetched: boolean;
|
|
106
|
+
strategiesSettled: boolean;
|
|
102
107
|
blockStates: Record<number, PerBlockState>;
|
|
103
108
|
currentRecommendationId: number | null;
|
|
109
|
+
strategyPanelOpen: boolean;
|
|
104
110
|
configVersion: number;
|
|
105
111
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): PerBlockConfigs;
|
|
106
112
|
/**
|
|
@@ -125,8 +131,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
125
131
|
}[];
|
|
126
132
|
strategiesLoading: boolean;
|
|
127
133
|
strategyUrlTemplates: Record<string, string>;
|
|
134
|
+
strategiesFetched: boolean;
|
|
135
|
+
strategiesSettled: boolean;
|
|
128
136
|
blockStates: Record<number, PerBlockState>;
|
|
129
137
|
currentRecommendationId: number | null;
|
|
138
|
+
strategyPanelOpen: boolean;
|
|
130
139
|
configVersion: number;
|
|
131
140
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): RecommendationProduct[];
|
|
132
141
|
/**
|
|
@@ -151,8 +160,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
151
160
|
}[];
|
|
152
161
|
strategiesLoading: boolean;
|
|
153
162
|
strategyUrlTemplates: Record<string, string>;
|
|
163
|
+
strategiesFetched: boolean;
|
|
164
|
+
strategiesSettled: boolean;
|
|
154
165
|
blockStates: Record<number, PerBlockState>;
|
|
155
166
|
currentRecommendationId: number | null;
|
|
167
|
+
strategyPanelOpen: boolean;
|
|
156
168
|
configVersion: number;
|
|
157
169
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): boolean;
|
|
158
170
|
assignStrategyDrawerStatus(state: {
|
|
@@ -174,8 +186,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
174
186
|
}[];
|
|
175
187
|
strategiesLoading: boolean;
|
|
176
188
|
strategyUrlTemplates: Record<string, string>;
|
|
189
|
+
strategiesFetched: boolean;
|
|
190
|
+
strategiesSettled: boolean;
|
|
177
191
|
blockStates: Record<number, PerBlockState>;
|
|
178
192
|
currentRecommendationId: number | null;
|
|
193
|
+
strategyPanelOpen: boolean;
|
|
179
194
|
configVersion: number;
|
|
180
195
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): boolean;
|
|
181
196
|
removeStrategyModalStatus(state: {
|
|
@@ -197,8 +212,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
197
212
|
}[];
|
|
198
213
|
strategiesLoading: boolean;
|
|
199
214
|
strategyUrlTemplates: Record<string, string>;
|
|
215
|
+
strategiesFetched: boolean;
|
|
216
|
+
strategiesSettled: boolean;
|
|
200
217
|
blockStates: Record<number, PerBlockState>;
|
|
201
218
|
currentRecommendationId: number | null;
|
|
219
|
+
strategyPanelOpen: boolean;
|
|
202
220
|
configVersion: number;
|
|
203
221
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): boolean;
|
|
204
222
|
assignedStrategy(state: {
|
|
@@ -220,8 +238,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
220
238
|
}[];
|
|
221
239
|
strategiesLoading: boolean;
|
|
222
240
|
strategyUrlTemplates: Record<string, string>;
|
|
241
|
+
strategiesFetched: boolean;
|
|
242
|
+
strategiesSettled: boolean;
|
|
223
243
|
blockStates: Record<number, PerBlockState>;
|
|
224
244
|
currentRecommendationId: number | null;
|
|
245
|
+
strategyPanelOpen: boolean;
|
|
225
246
|
configVersion: number;
|
|
226
247
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): RrsStrategy | null;
|
|
227
248
|
/**
|
|
@@ -246,8 +267,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
246
267
|
}[];
|
|
247
268
|
strategiesLoading: boolean;
|
|
248
269
|
strategyUrlTemplates: Record<string, string>;
|
|
270
|
+
strategiesFetched: boolean;
|
|
271
|
+
strategiesSettled: boolean;
|
|
249
272
|
blockStates: Record<number, PerBlockState>;
|
|
250
273
|
currentRecommendationId: number | null;
|
|
274
|
+
strategyPanelOpen: boolean;
|
|
251
275
|
configVersion: number;
|
|
252
276
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): boolean;
|
|
253
277
|
/**
|
|
@@ -272,8 +296,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
272
296
|
}[];
|
|
273
297
|
strategiesLoading: boolean;
|
|
274
298
|
strategyUrlTemplates: Record<string, string>;
|
|
299
|
+
strategiesFetched: boolean;
|
|
300
|
+
strategiesSettled: boolean;
|
|
275
301
|
blockStates: Record<number, PerBlockState>;
|
|
276
302
|
currentRecommendationId: number | null;
|
|
303
|
+
strategyPanelOpen: boolean;
|
|
277
304
|
configVersion: number;
|
|
278
305
|
} & import("pinia").PiniaCustomStateProperties<StoreState>): number;
|
|
279
306
|
hasFilters(): boolean;
|
|
@@ -299,8 +326,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
299
326
|
}[];
|
|
300
327
|
strategiesLoading: boolean;
|
|
301
328
|
strategyUrlTemplates: Record<string, string>;
|
|
329
|
+
strategiesFetched: boolean;
|
|
330
|
+
strategiesSettled: boolean;
|
|
302
331
|
blockStates: Record<number, PerBlockState>;
|
|
303
332
|
currentRecommendationId: number | null;
|
|
333
|
+
strategyPanelOpen: boolean;
|
|
304
334
|
configVersion: number;
|
|
305
335
|
} & import("pinia").PiniaCustomStateProperties<StoreState>) => {
|
|
306
336
|
text: string;
|
|
@@ -325,8 +355,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
325
355
|
}[];
|
|
326
356
|
strategiesLoading: boolean;
|
|
327
357
|
strategyUrlTemplates: Record<string, string>;
|
|
358
|
+
strategiesFetched: boolean;
|
|
359
|
+
strategiesSettled: boolean;
|
|
328
360
|
blockStates: Record<number, PerBlockState>;
|
|
329
361
|
currentRecommendationId: number | null;
|
|
362
|
+
strategyPanelOpen: boolean;
|
|
330
363
|
configVersion: number;
|
|
331
364
|
} & import("pinia").PiniaCustomStateProperties<StoreState>) => {
|
|
332
365
|
text: string;
|
|
@@ -351,8 +384,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
351
384
|
}[];
|
|
352
385
|
strategiesLoading: boolean;
|
|
353
386
|
strategyUrlTemplates: Record<string, string>;
|
|
387
|
+
strategiesFetched: boolean;
|
|
388
|
+
strategiesSettled: boolean;
|
|
354
389
|
blockStates: Record<number, PerBlockState>;
|
|
355
390
|
currentRecommendationId: number | null;
|
|
391
|
+
strategyPanelOpen: boolean;
|
|
356
392
|
configVersion: number;
|
|
357
393
|
} & import("pinia").PiniaCustomStateProperties<StoreState>) => {
|
|
358
394
|
text: string;
|
|
@@ -433,6 +469,39 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
433
469
|
openRemoveStrategyModal(): void;
|
|
434
470
|
closeRemoveStrategyModal(): void;
|
|
435
471
|
fetchStrategies(): Promise<void>;
|
|
472
|
+
invalidateStrategies(): void;
|
|
473
|
+
/**
|
|
474
|
+
* Opens a Smart Recommender strategy page in a new tab and refreshes the list every time
|
|
475
|
+
* the user comes back. `visibilitychange` covers the tab case; `focus` covers the page
|
|
476
|
+
* landing in a separate window, where this document never goes hidden.
|
|
477
|
+
*
|
|
478
|
+
* Deliberately NOT one-shot: the strategy tab stays open, so a user can create a second
|
|
479
|
+
* strategy in it and come back again — a listener that disarmed on the first return would
|
|
480
|
+
* leave that one missing from the list. It disarms on the first return AFTER that tab is
|
|
481
|
+
* closed instead, so an ordinary alt-tab later in the session costs nothing. Armed only
|
|
482
|
+
* once the user actually opens a strategy page, so anyone who never does pays nothing.
|
|
483
|
+
*/
|
|
484
|
+
_armStrategyPageReturn(url: string): void;
|
|
485
|
+
/**
|
|
486
|
+
* Reloads the products of the block the user is on, so an edit made in the strategy tab
|
|
487
|
+
* lands on the canvas instead of waiting for the assign drawer to be reopened.
|
|
488
|
+
*
|
|
489
|
+
* Only the selected block: the canvas regeneration is driven off the active block's
|
|
490
|
+
* product array, so refreshing an unselected block would fetch without redrawing it.
|
|
491
|
+
*/
|
|
492
|
+
_refreshAssignedStrategyProducts(): Promise<void>;
|
|
493
|
+
/** Lets the editor tear the return listeners down when it unmounts. */
|
|
494
|
+
disposeStrategyPageReturn(): void;
|
|
495
|
+
/**
|
|
496
|
+
* Opens Smart Recommender's strategy creation page. Every return refreshes the list so the
|
|
497
|
+
* new strategy is offered; the user picks it themselves.
|
|
498
|
+
*/
|
|
499
|
+
openStrategyCreation(): void;
|
|
500
|
+
/**
|
|
501
|
+
* Opens the strategy's edit page. Every return refreshes the list so the block reflects the
|
|
502
|
+
* edited configuration.
|
|
503
|
+
*/
|
|
504
|
+
openStrategyEdit(strategyId: string | number): void;
|
|
436
505
|
resolveStrategyUrlTemplate(strategy: RrsStrategy, currency: string): Promise<string>;
|
|
437
506
|
assignStrategy(strategy: RrsStrategy): void;
|
|
438
507
|
removeStrategy(): void;
|
|
@@ -450,6 +519,11 @@ export declare const useRecommendationExtensionStore: import("pinia").StoreDefin
|
|
|
450
519
|
* every block's recommendationConfigs across user edits.
|
|
451
520
|
*/
|
|
452
521
|
hasInvalidBlock(): boolean;
|
|
522
|
+
/**
|
|
523
|
+
* Which required fields are missing across the design's blocks, so the save
|
|
524
|
+
* toaster can name the cause instead of always showing the generic message.
|
|
525
|
+
*/
|
|
526
|
+
invalidBlockFields(): string[];
|
|
453
527
|
fetchRecommendationProducts(): Promise<void>;
|
|
454
528
|
_doFetchProducts(): Promise<void>;
|
|
455
529
|
_doFetchStrategyProducts(blockId: number): Promise<void>;
|
|
@@ -15,7 +15,11 @@ export interface RequiredField {
|
|
|
15
15
|
getAvailableOptions?: (store: ExtensionStoreSlice) => string[];
|
|
16
16
|
condition?: (config: PerBlockConfigs) => boolean;
|
|
17
17
|
}
|
|
18
|
+
/** Field key of the strategy/algorithm descriptor, used to pick the toaster message. */
|
|
19
|
+
export declare const STRATEGY_FIELD_KEY = "strategy";
|
|
18
20
|
export declare const REQUIRED_RECOMMENDATION_FIELDS: RequiredField[];
|
|
19
21
|
export declare const RecommendationRequiredFieldsKey = "newsletter.recommendation-fill-required-fields";
|
|
22
|
+
/** Shown instead of the generic message when the only thing missing is the strategy. */
|
|
23
|
+
export declare const RecommendationAssignStrategyKey = "newsletter.recommendation-assign-strategy";
|
|
20
24
|
export declare function getInvalidFields(config: PerBlockConfigs, store: ExtensionStoreSlice, fields?: RequiredField[]): string[];
|
|
21
25
|
export declare function isConfigValid(config: PerBlockConfigs, store: ExtensionStoreSlice): boolean;
|
package/dist/src/library.d.ts
CHANGED
|
@@ -2,7 +2,5 @@ export { default as Guido } from './components/Guido.vue';
|
|
|
2
2
|
export type { GuidoConfig, GuidoConfigInput, IdentityConfig, PartnerConfig, TemplateConfig, TemplateMigrationConfig, LegacyRecommendationConfig, EditorConfig, UIConfig, FeaturesConfig, BlocksConfig, CompilerConfig, DynamicContent, EmailHeader, DefaultBlockType, CustomBlockType, ValidationResult, ValidationError, } from './@types/config';
|
|
3
3
|
export { validateConfig, parseConfig, parseConfigSafe, isValidConfig, getValidationErrors, MessageType, ProductType, } from './@types/config';
|
|
4
4
|
export { assignTrackingIds, readTrackFloor, readTrackSeq } from './public/trackingIds';
|
|
5
|
-
export { useGuidoEmailEditorStore } from './public/editorState';
|
|
6
|
-
export type { GuidoEmailEditorState } from './public/editorState';
|
|
7
5
|
export type { StripoEventType } from './@types/events';
|
|
8
6
|
export type { PositionData, DynamicContentEvent, MergeTagClickEvent, MergeTag, BaseDynamicContent, DynamicContentNode, DynamicContentList, TooltipOptions, TextValueObject, L10n, } from './@types/generic';
|
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
* Importing from here pulls in nothing else, so the editor never enters a
|
|
5
5
|
* consumer's module graph. Re-export surface only: this is the contract,
|
|
6
6
|
* `utils/linkTrackingIds` is the implementation and stays free to move.
|
|
7
|
-
*
|
|
8
|
-
* Relative, not the `@@/Utils/` alias: vue-tsc copies the specifier into the emitted
|
|
9
|
-
* .d.ts verbatim, and a consumer's TypeScript cannot resolve our alias table. A relative
|
|
10
|
-
* path resolves against dist/src/, so the published types actually load.
|
|
11
7
|
*/
|
|
12
|
-
export { assignTrackingIds, readTrackFloor, readTrackSeq, TRACK_ID_ATTRIBUTE, TRACK_SEQ_ATTRIBUTE, } from '
|
|
13
|
-
export type { TrackingIdResult } from '
|
|
8
|
+
export { assignTrackingIds, readTrackFloor, readTrackSeq, TRACK_ID_ATTRIBUTE, TRACK_SEQ_ATTRIBUTE, } from '@@/Utils/linkTrackingIds';
|
|
9
|
+
export type { TrackingIdResult } from '@@/Utils/linkTrackingIds';
|
|
@@ -6,7 +6,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
6
6
|
isPreviewModeOpen: boolean;
|
|
7
7
|
editorVisualMode: string;
|
|
8
8
|
hasChanges: boolean;
|
|
9
|
-
changeSeq: number;
|
|
10
9
|
isStripoInitialized: boolean;
|
|
11
10
|
templateId: string;
|
|
12
11
|
syncModulesEnabled: boolean;
|
|
@@ -20,7 +19,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
20
19
|
isPreviewModeOpen: boolean;
|
|
21
20
|
editorVisualMode: string;
|
|
22
21
|
hasChanges: boolean;
|
|
23
|
-
changeSeq: number;
|
|
24
22
|
isStripoInitialized: boolean;
|
|
25
23
|
templateId: string;
|
|
26
24
|
syncModulesEnabled: boolean;
|
|
@@ -33,7 +31,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
33
31
|
isPreviewModeOpen: boolean;
|
|
34
32
|
editorVisualMode: string;
|
|
35
33
|
hasChanges: boolean;
|
|
36
|
-
changeSeq: number;
|
|
37
34
|
isStripoInitialized: boolean;
|
|
38
35
|
templateId: string;
|
|
39
36
|
syncModulesEnabled: boolean;
|
|
@@ -47,7 +44,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
47
44
|
isPreviewModeOpen: boolean;
|
|
48
45
|
editorVisualMode: string;
|
|
49
46
|
hasChanges: boolean;
|
|
50
|
-
changeSeq: number;
|
|
51
47
|
isStripoInitialized: boolean;
|
|
52
48
|
templateId: string;
|
|
53
49
|
syncModulesEnabled: boolean;
|
|
@@ -60,7 +56,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
60
56
|
isPreviewModeOpen: boolean;
|
|
61
57
|
editorVisualMode: string;
|
|
62
58
|
hasChanges: boolean;
|
|
63
|
-
changeSeq: number;
|
|
64
59
|
isStripoInitialized: boolean;
|
|
65
60
|
templateId: string;
|
|
66
61
|
syncModulesEnabled: boolean;
|
|
@@ -74,7 +69,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
74
69
|
isPreviewModeOpen: boolean;
|
|
75
70
|
editorVisualMode: string;
|
|
76
71
|
hasChanges: boolean;
|
|
77
|
-
changeSeq: number;
|
|
78
72
|
isStripoInitialized: boolean;
|
|
79
73
|
templateId: string;
|
|
80
74
|
syncModulesEnabled: boolean;
|
|
@@ -87,7 +81,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
87
81
|
isPreviewModeOpen: boolean;
|
|
88
82
|
editorVisualMode: string;
|
|
89
83
|
hasChanges: boolean;
|
|
90
|
-
changeSeq: number;
|
|
91
84
|
isStripoInitialized: boolean;
|
|
92
85
|
templateId: string;
|
|
93
86
|
syncModulesEnabled: boolean;
|
|
@@ -101,7 +94,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
101
94
|
isPreviewModeOpen: boolean;
|
|
102
95
|
editorVisualMode: string;
|
|
103
96
|
hasChanges: boolean;
|
|
104
|
-
changeSeq: number;
|
|
105
97
|
isStripoInitialized: boolean;
|
|
106
98
|
templateId: string;
|
|
107
99
|
syncModulesEnabled: boolean;
|
|
@@ -114,7 +106,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
114
106
|
isPreviewModeOpen: boolean;
|
|
115
107
|
editorVisualMode: string;
|
|
116
108
|
hasChanges: boolean;
|
|
117
|
-
changeSeq: number;
|
|
118
109
|
isStripoInitialized: boolean;
|
|
119
110
|
templateId: string;
|
|
120
111
|
syncModulesEnabled: boolean;
|
|
@@ -128,7 +119,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
128
119
|
isPreviewModeOpen: boolean;
|
|
129
120
|
editorVisualMode: string;
|
|
130
121
|
hasChanges: boolean;
|
|
131
|
-
changeSeq: number;
|
|
132
122
|
isStripoInitialized: boolean;
|
|
133
123
|
templateId: string;
|
|
134
124
|
syncModulesEnabled: boolean;
|
|
@@ -141,7 +131,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
141
131
|
isPreviewModeOpen: boolean;
|
|
142
132
|
editorVisualMode: string;
|
|
143
133
|
hasChanges: boolean;
|
|
144
|
-
changeSeq: number;
|
|
145
134
|
isStripoInitialized: boolean;
|
|
146
135
|
templateId: string;
|
|
147
136
|
syncModulesEnabled: boolean;
|
|
@@ -155,7 +144,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
155
144
|
isPreviewModeOpen: boolean;
|
|
156
145
|
editorVisualMode: string;
|
|
157
146
|
hasChanges: boolean;
|
|
158
|
-
changeSeq: number;
|
|
159
147
|
isStripoInitialized: boolean;
|
|
160
148
|
templateId: string;
|
|
161
149
|
syncModulesEnabled: boolean;
|
|
@@ -168,7 +156,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
168
156
|
isPreviewModeOpen: boolean;
|
|
169
157
|
editorVisualMode: string;
|
|
170
158
|
hasChanges: boolean;
|
|
171
|
-
changeSeq: number;
|
|
172
159
|
isStripoInitialized: boolean;
|
|
173
160
|
templateId: string;
|
|
174
161
|
syncModulesEnabled: boolean;
|
|
@@ -182,7 +169,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
182
169
|
isPreviewModeOpen: boolean;
|
|
183
170
|
editorVisualMode: string;
|
|
184
171
|
hasChanges: boolean;
|
|
185
|
-
changeSeq: number;
|
|
186
172
|
isStripoInitialized: boolean;
|
|
187
173
|
templateId: string;
|
|
188
174
|
syncModulesEnabled: boolean;
|
|
@@ -195,7 +181,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
195
181
|
isPreviewModeOpen: boolean;
|
|
196
182
|
editorVisualMode: string;
|
|
197
183
|
hasChanges: boolean;
|
|
198
|
-
changeSeq: number;
|
|
199
184
|
isStripoInitialized: boolean;
|
|
200
185
|
templateId: string;
|
|
201
186
|
syncModulesEnabled: boolean;
|
|
@@ -209,7 +194,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
209
194
|
isPreviewModeOpen: boolean;
|
|
210
195
|
editorVisualMode: string;
|
|
211
196
|
hasChanges: boolean;
|
|
212
|
-
changeSeq: number;
|
|
213
197
|
isStripoInitialized: boolean;
|
|
214
198
|
templateId: string;
|
|
215
199
|
syncModulesEnabled: boolean;
|
|
@@ -222,7 +206,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
222
206
|
isPreviewModeOpen: boolean;
|
|
223
207
|
editorVisualMode: string;
|
|
224
208
|
hasChanges: boolean;
|
|
225
|
-
changeSeq: number;
|
|
226
209
|
isStripoInitialized: boolean;
|
|
227
210
|
templateId: string;
|
|
228
211
|
syncModulesEnabled: boolean;
|
|
@@ -236,7 +219,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
236
219
|
isPreviewModeOpen: boolean;
|
|
237
220
|
editorVisualMode: string;
|
|
238
221
|
hasChanges: boolean;
|
|
239
|
-
changeSeq: number;
|
|
240
222
|
isStripoInitialized: boolean;
|
|
241
223
|
templateId: string;
|
|
242
224
|
syncModulesEnabled: boolean;
|
|
@@ -249,7 +231,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
249
231
|
isPreviewModeOpen: boolean;
|
|
250
232
|
editorVisualMode: string;
|
|
251
233
|
hasChanges: boolean;
|
|
252
|
-
changeSeq: number;
|
|
253
234
|
isStripoInitialized: boolean;
|
|
254
235
|
templateId: string;
|
|
255
236
|
syncModulesEnabled: boolean;
|
|
@@ -263,7 +244,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
263
244
|
isPreviewModeOpen: boolean;
|
|
264
245
|
editorVisualMode: string;
|
|
265
246
|
hasChanges: boolean;
|
|
266
|
-
changeSeq: number;
|
|
267
247
|
isStripoInitialized: boolean;
|
|
268
248
|
templateId: string;
|
|
269
249
|
syncModulesEnabled: boolean;
|
|
@@ -276,7 +256,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
276
256
|
isPreviewModeOpen: boolean;
|
|
277
257
|
editorVisualMode: string;
|
|
278
258
|
hasChanges: boolean;
|
|
279
|
-
changeSeq: number;
|
|
280
259
|
isStripoInitialized: boolean;
|
|
281
260
|
templateId: string;
|
|
282
261
|
syncModulesEnabled: boolean;
|
|
@@ -290,7 +269,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
290
269
|
isPreviewModeOpen: boolean;
|
|
291
270
|
editorVisualMode: string;
|
|
292
271
|
hasChanges: boolean;
|
|
293
|
-
changeSeq: number;
|
|
294
272
|
isStripoInitialized: boolean;
|
|
295
273
|
templateId: string;
|
|
296
274
|
syncModulesEnabled: boolean;
|
|
@@ -303,7 +281,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
303
281
|
isPreviewModeOpen: boolean;
|
|
304
282
|
editorVisualMode: string;
|
|
305
283
|
hasChanges: boolean;
|
|
306
|
-
changeSeq: number;
|
|
307
284
|
isStripoInitialized: boolean;
|
|
308
285
|
templateId: string;
|
|
309
286
|
syncModulesEnabled: boolean;
|
|
@@ -317,7 +294,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
317
294
|
isPreviewModeOpen: boolean;
|
|
318
295
|
editorVisualMode: string;
|
|
319
296
|
hasChanges: boolean;
|
|
320
|
-
changeSeq: number;
|
|
321
297
|
isStripoInitialized: boolean;
|
|
322
298
|
templateId: string;
|
|
323
299
|
syncModulesEnabled: boolean;
|
|
@@ -330,7 +306,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
330
306
|
isPreviewModeOpen: boolean;
|
|
331
307
|
editorVisualMode: string;
|
|
332
308
|
hasChanges: boolean;
|
|
333
|
-
changeSeq: number;
|
|
334
309
|
isStripoInitialized: boolean;
|
|
335
310
|
templateId: string;
|
|
336
311
|
syncModulesEnabled: boolean;
|