@useinsider/guido 3.19.0-beta.c604f7d → 3.19.0-beta.cac604e
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/@types/config/schemas.js +104 -92
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +47 -54
- package/dist/components/organisms/AutoSaveController.vue2.js +8 -10
- package/dist/components/organisms/header/AutoSaveToggle.vue.js +22 -0
- package/dist/components/organisms/header/AutoSaveToggle.vue2.js +19 -0
- package/dist/components/organisms/header/EditorActions.vue.js +13 -13
- package/dist/components/organisms/header/EditorActions.vue2.js +51 -37
- package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +17 -9
- package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +23 -32
- package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
- package/dist/components/organisms/header/MiddleSlot.vue2.js +7 -8
- package/dist/components/organisms/header/RightSlot.vue.js +8 -9
- package/dist/components/organisms/header/RightSlot.vue2.js +18 -13
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +12 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +38 -56
- package/dist/composables/useActionsApi.js +52 -47
- package/dist/composables/useCodeEditorApi.js +23 -9
- package/dist/composables/useCustomInterfaceAppearance.js +41 -42
- package/dist/composables/useTranslations.js +3 -2
- package/dist/composables/useVersionHistoryApi.js +33 -24
- package/dist/config/i18n/en/labels.json.js +4 -36
- package/dist/config/i18n/en/tooltips.json.js +1 -2
- package/dist/extensions/Blocks/Recommendation/block.js +88 -53
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +45 -38
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +72 -49
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +42 -22
- package/dist/extensions/Blocks/Recommendation/utils/partnerScope.js +26 -0
- package/dist/guido.css +1 -1
- package/dist/sprite.svg +0 -6
- package/dist/src/@types/config/schemas.d.ts +16 -2
- package/dist/src/components/organisms/AutoSaveController.vue.d.ts +1 -3
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +3 -1
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +3 -1
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +2 -2
- package/dist/src/extensions/Blocks/Recommendation/block.d.ts +6 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +5 -0
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +6 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/partnerScope.d.ts +27 -0
- package/dist/src/stores/config.d.ts +20 -20
- package/dist/src/stores/editor.d.ts +0 -109
- package/dist/src/stores/onboarding.d.ts +21 -952
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/stripoEditorApi.d.ts +4 -0
- package/dist/src/utils/timeUtil.d.ts +0 -5
- package/dist/static/styles/components/recommendation-strategy.css.js +9 -0
- package/dist/static/styles/variables.css.js +0 -2
- package/dist/stores/editor.js +4 -7
- package/dist/stores/onboarding.js +21 -43
- package/dist/stores/unsubscribe.js +3 -3
- package/dist/utils/stripoEditorApi.js +11 -0
- package/dist/utils/timeUtil.js +17 -6
- package/package.json +2 -1
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +0 -17
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +0 -25
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +0 -20
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +0 -98
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +0 -18
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +0 -37
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +0 -22
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +0 -48
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +0 -19
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +0 -90
- package/dist/composables/useAccessibilityApi.js +0 -35
- package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +0 -2
- package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +0 -2
- package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +0 -2
- package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +0 -2
- package/dist/src/composables/useAccessibilityApi.d.ts +0 -15
- package/dist/static/styles/components/accessibility.css.js +0 -234
- /package/dist/src/components/organisms/header/{AutoSaveStatus.vue.d.ts → AutoSaveToggle.vue.d.ts} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { RecommendationNodeConfig } from '../types/nodeConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Mirrors the backend's `RecommendationCampaignUrls::isDefined`: a legacy feed URL
|
|
4
|
+
* string or an entry that names a strategy.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isDefinedCampaignUrl(value: unknown): boolean;
|
|
7
|
+
/** Recommendation block ids present in the HTML the host loaded the editor with. */
|
|
8
|
+
export declare function loadedRecommendationIds(html: string): Set<number>;
|
|
9
|
+
export interface PartnerScopeInputs {
|
|
10
|
+
config: Pick<RecommendationNodeConfig, 'strategyId' | 'partnerName'>;
|
|
11
|
+
blockId: number;
|
|
12
|
+
partnerName: string;
|
|
13
|
+
/** `undefined` when the host does not pass the map — the unstamped check is then off. */
|
|
14
|
+
campaignUrls: Record<string, unknown> | undefined;
|
|
15
|
+
loadedIds: Set<number>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Whether a block carries another account's strategy config (SD-151945).
|
|
19
|
+
*
|
|
20
|
+
* A stamped block is judged by its stamp. An unstamped one predates the stamp, so it
|
|
21
|
+
* falls back to the backend's own signal: a cross-account duplicate drops the block's
|
|
22
|
+
* strategy entry from the campaign URL map but leaves the HTML untouched. That check
|
|
23
|
+
* only holds for blocks the host loaded, whose map entry the host actually sent — a
|
|
24
|
+
* saved module or a clone arrives under an id the map never had.
|
|
25
|
+
*/
|
|
26
|
+
export declare function carriesForeignPartnerConfig({ config, blockId, partnerName, campaignUrls, loadedIds }: PartnerScopeInputs): boolean;
|
|
27
|
+
export declare function withoutCustomAttributes(composition: string[]): string[];
|
|
@@ -48,6 +48,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
48
48
|
selectedUnsubscribePages: number[];
|
|
49
49
|
forceRecreate: boolean;
|
|
50
50
|
trackIdCounter: number;
|
|
51
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
51
52
|
migration: {
|
|
52
53
|
recommendationConfigs: {
|
|
53
54
|
[x: string]: {
|
|
@@ -104,7 +105,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
104
105
|
modulesDisabled: boolean;
|
|
105
106
|
liquidSyntax: boolean;
|
|
106
107
|
autosave: boolean;
|
|
107
|
-
accessibilityTesting: boolean;
|
|
108
108
|
allowlistEnabled: boolean;
|
|
109
109
|
linkTrackingIds: boolean;
|
|
110
110
|
reusableRecommendationStrategy: boolean;
|
|
@@ -192,6 +192,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
192
192
|
selectedUnsubscribePages: number[];
|
|
193
193
|
forceRecreate: boolean;
|
|
194
194
|
trackIdCounter: number;
|
|
195
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
195
196
|
migration: {
|
|
196
197
|
recommendationConfigs: {
|
|
197
198
|
[x: string]: {
|
|
@@ -248,7 +249,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
248
249
|
modulesDisabled: boolean;
|
|
249
250
|
liquidSyntax: boolean;
|
|
250
251
|
autosave: boolean;
|
|
251
|
-
accessibilityTesting: boolean;
|
|
252
252
|
allowlistEnabled: boolean;
|
|
253
253
|
linkTrackingIds: boolean;
|
|
254
254
|
reusableRecommendationStrategy: boolean;
|
|
@@ -336,6 +336,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
336
336
|
selectedUnsubscribePages: number[];
|
|
337
337
|
forceRecreate: boolean;
|
|
338
338
|
trackIdCounter: number;
|
|
339
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
339
340
|
migration: {
|
|
340
341
|
recommendationConfigs: {
|
|
341
342
|
[x: string]: {
|
|
@@ -392,7 +393,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
392
393
|
modulesDisabled: boolean;
|
|
393
394
|
liquidSyntax: boolean;
|
|
394
395
|
autosave: boolean;
|
|
395
|
-
accessibilityTesting: boolean;
|
|
396
396
|
allowlistEnabled: boolean;
|
|
397
397
|
linkTrackingIds: boolean;
|
|
398
398
|
reusableRecommendationStrategy: boolean;
|
|
@@ -480,6 +480,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
480
480
|
selectedUnsubscribePages: number[];
|
|
481
481
|
forceRecreate: boolean;
|
|
482
482
|
trackIdCounter: number;
|
|
483
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
483
484
|
migration: {
|
|
484
485
|
recommendationConfigs: {
|
|
485
486
|
[x: string]: {
|
|
@@ -536,7 +537,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
536
537
|
modulesDisabled: boolean;
|
|
537
538
|
liquidSyntax: boolean;
|
|
538
539
|
autosave: boolean;
|
|
539
|
-
accessibilityTesting: boolean;
|
|
540
540
|
allowlistEnabled: boolean;
|
|
541
541
|
linkTrackingIds: boolean;
|
|
542
542
|
reusableRecommendationStrategy: boolean;
|
|
@@ -624,6 +624,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
624
624
|
selectedUnsubscribePages: number[];
|
|
625
625
|
forceRecreate: boolean;
|
|
626
626
|
trackIdCounter: number;
|
|
627
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
627
628
|
migration: {
|
|
628
629
|
recommendationConfigs: {
|
|
629
630
|
[x: string]: {
|
|
@@ -680,7 +681,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
680
681
|
modulesDisabled: boolean;
|
|
681
682
|
liquidSyntax: boolean;
|
|
682
683
|
autosave: boolean;
|
|
683
|
-
accessibilityTesting: boolean;
|
|
684
684
|
allowlistEnabled: boolean;
|
|
685
685
|
linkTrackingIds: boolean;
|
|
686
686
|
reusableRecommendationStrategy: boolean;
|
|
@@ -768,6 +768,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
768
768
|
selectedUnsubscribePages: number[];
|
|
769
769
|
forceRecreate: boolean;
|
|
770
770
|
trackIdCounter: number;
|
|
771
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
771
772
|
migration: {
|
|
772
773
|
recommendationConfigs: {
|
|
773
774
|
[x: string]: {
|
|
@@ -824,7 +825,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
824
825
|
modulesDisabled: boolean;
|
|
825
826
|
liquidSyntax: boolean;
|
|
826
827
|
autosave: boolean;
|
|
827
|
-
accessibilityTesting: boolean;
|
|
828
828
|
allowlistEnabled: boolean;
|
|
829
829
|
linkTrackingIds: boolean;
|
|
830
830
|
reusableRecommendationStrategy: boolean;
|
|
@@ -912,6 +912,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
912
912
|
selectedUnsubscribePages: number[];
|
|
913
913
|
forceRecreate: boolean;
|
|
914
914
|
trackIdCounter: number;
|
|
915
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
915
916
|
migration: {
|
|
916
917
|
recommendationConfigs: {
|
|
917
918
|
[x: string]: {
|
|
@@ -968,7 +969,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
968
969
|
modulesDisabled: boolean;
|
|
969
970
|
liquidSyntax: boolean;
|
|
970
971
|
autosave: boolean;
|
|
971
|
-
accessibilityTesting: boolean;
|
|
972
972
|
allowlistEnabled: boolean;
|
|
973
973
|
linkTrackingIds: boolean;
|
|
974
974
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1056,6 +1056,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1056
1056
|
selectedUnsubscribePages: number[];
|
|
1057
1057
|
forceRecreate: boolean;
|
|
1058
1058
|
trackIdCounter: number;
|
|
1059
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1059
1060
|
migration: {
|
|
1060
1061
|
recommendationConfigs: {
|
|
1061
1062
|
[x: string]: {
|
|
@@ -1112,7 +1113,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1112
1113
|
modulesDisabled: boolean;
|
|
1113
1114
|
liquidSyntax: boolean;
|
|
1114
1115
|
autosave: boolean;
|
|
1115
|
-
accessibilityTesting: boolean;
|
|
1116
1116
|
allowlistEnabled: boolean;
|
|
1117
1117
|
linkTrackingIds: boolean;
|
|
1118
1118
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1200,6 +1200,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1200
1200
|
selectedUnsubscribePages: number[];
|
|
1201
1201
|
forceRecreate: boolean;
|
|
1202
1202
|
trackIdCounter: number;
|
|
1203
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1203
1204
|
migration: {
|
|
1204
1205
|
recommendationConfigs: {
|
|
1205
1206
|
[x: string]: {
|
|
@@ -1256,7 +1257,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1256
1257
|
modulesDisabled: boolean;
|
|
1257
1258
|
liquidSyntax: boolean;
|
|
1258
1259
|
autosave: boolean;
|
|
1259
|
-
accessibilityTesting: boolean;
|
|
1260
1260
|
allowlistEnabled: boolean;
|
|
1261
1261
|
linkTrackingIds: boolean;
|
|
1262
1262
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1344,6 +1344,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1344
1344
|
selectedUnsubscribePages: number[];
|
|
1345
1345
|
forceRecreate: boolean;
|
|
1346
1346
|
trackIdCounter: number;
|
|
1347
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1347
1348
|
migration: {
|
|
1348
1349
|
recommendationConfigs: {
|
|
1349
1350
|
[x: string]: {
|
|
@@ -1400,7 +1401,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1400
1401
|
modulesDisabled: boolean;
|
|
1401
1402
|
liquidSyntax: boolean;
|
|
1402
1403
|
autosave: boolean;
|
|
1403
|
-
accessibilityTesting: boolean;
|
|
1404
1404
|
allowlistEnabled: boolean;
|
|
1405
1405
|
linkTrackingIds: boolean;
|
|
1406
1406
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1488,6 +1488,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1488
1488
|
selectedUnsubscribePages: number[];
|
|
1489
1489
|
forceRecreate: boolean;
|
|
1490
1490
|
trackIdCounter: number;
|
|
1491
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1491
1492
|
migration: {
|
|
1492
1493
|
recommendationConfigs: {
|
|
1493
1494
|
[x: string]: {
|
|
@@ -1544,7 +1545,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1544
1545
|
modulesDisabled: boolean;
|
|
1545
1546
|
liquidSyntax: boolean;
|
|
1546
1547
|
autosave: boolean;
|
|
1547
|
-
accessibilityTesting: boolean;
|
|
1548
1548
|
allowlistEnabled: boolean;
|
|
1549
1549
|
linkTrackingIds: boolean;
|
|
1550
1550
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1632,6 +1632,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1632
1632
|
selectedUnsubscribePages: number[];
|
|
1633
1633
|
forceRecreate: boolean;
|
|
1634
1634
|
trackIdCounter: number;
|
|
1635
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1635
1636
|
migration: {
|
|
1636
1637
|
recommendationConfigs: {
|
|
1637
1638
|
[x: string]: {
|
|
@@ -1688,7 +1689,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1688
1689
|
modulesDisabled: boolean;
|
|
1689
1690
|
liquidSyntax: boolean;
|
|
1690
1691
|
autosave: boolean;
|
|
1691
|
-
accessibilityTesting: boolean;
|
|
1692
1692
|
allowlistEnabled: boolean;
|
|
1693
1693
|
linkTrackingIds: boolean;
|
|
1694
1694
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1776,6 +1776,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1776
1776
|
selectedUnsubscribePages: number[];
|
|
1777
1777
|
forceRecreate: boolean;
|
|
1778
1778
|
trackIdCounter: number;
|
|
1779
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1779
1780
|
migration: {
|
|
1780
1781
|
recommendationConfigs: {
|
|
1781
1782
|
[x: string]: {
|
|
@@ -1832,7 +1833,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1832
1833
|
modulesDisabled: boolean;
|
|
1833
1834
|
liquidSyntax: boolean;
|
|
1834
1835
|
autosave: boolean;
|
|
1835
|
-
accessibilityTesting: boolean;
|
|
1836
1836
|
allowlistEnabled: boolean;
|
|
1837
1837
|
linkTrackingIds: boolean;
|
|
1838
1838
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1920,6 +1920,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1920
1920
|
selectedUnsubscribePages: number[];
|
|
1921
1921
|
forceRecreate: boolean;
|
|
1922
1922
|
trackIdCounter: number;
|
|
1923
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
1923
1924
|
migration: {
|
|
1924
1925
|
recommendationConfigs: {
|
|
1925
1926
|
[x: string]: {
|
|
@@ -1976,7 +1977,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1976
1977
|
modulesDisabled: boolean;
|
|
1977
1978
|
liquidSyntax: boolean;
|
|
1978
1979
|
autosave: boolean;
|
|
1979
|
-
accessibilityTesting: boolean;
|
|
1980
1980
|
allowlistEnabled: boolean;
|
|
1981
1981
|
linkTrackingIds: boolean;
|
|
1982
1982
|
reusableRecommendationStrategy: boolean;
|
|
@@ -2064,6 +2064,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2064
2064
|
selectedUnsubscribePages: number[];
|
|
2065
2065
|
forceRecreate: boolean;
|
|
2066
2066
|
trackIdCounter: number;
|
|
2067
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2067
2068
|
migration: {
|
|
2068
2069
|
recommendationConfigs: {
|
|
2069
2070
|
[x: string]: {
|
|
@@ -2120,7 +2121,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2120
2121
|
modulesDisabled: boolean;
|
|
2121
2122
|
liquidSyntax: boolean;
|
|
2122
2123
|
autosave: boolean;
|
|
2123
|
-
accessibilityTesting: boolean;
|
|
2124
2124
|
allowlistEnabled: boolean;
|
|
2125
2125
|
linkTrackingIds: boolean;
|
|
2126
2126
|
reusableRecommendationStrategy: boolean;
|
|
@@ -2208,6 +2208,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2208
2208
|
selectedUnsubscribePages: number[];
|
|
2209
2209
|
forceRecreate: boolean;
|
|
2210
2210
|
trackIdCounter: number;
|
|
2211
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2211
2212
|
migration: {
|
|
2212
2213
|
recommendationConfigs: {
|
|
2213
2214
|
[x: string]: {
|
|
@@ -2264,7 +2265,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2264
2265
|
modulesDisabled: boolean;
|
|
2265
2266
|
liquidSyntax: boolean;
|
|
2266
2267
|
autosave: boolean;
|
|
2267
|
-
accessibilityTesting: boolean;
|
|
2268
2268
|
allowlistEnabled: boolean;
|
|
2269
2269
|
linkTrackingIds: boolean;
|
|
2270
2270
|
reusableRecommendationStrategy: boolean;
|
|
@@ -2352,6 +2352,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2352
2352
|
selectedUnsubscribePages: number[];
|
|
2353
2353
|
forceRecreate: boolean;
|
|
2354
2354
|
trackIdCounter: number;
|
|
2355
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2355
2356
|
migration: {
|
|
2356
2357
|
recommendationConfigs: {
|
|
2357
2358
|
[x: string]: {
|
|
@@ -2408,7 +2409,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2408
2409
|
modulesDisabled: boolean;
|
|
2409
2410
|
liquidSyntax: boolean;
|
|
2410
2411
|
autosave: boolean;
|
|
2411
|
-
accessibilityTesting: boolean;
|
|
2412
2412
|
allowlistEnabled: boolean;
|
|
2413
2413
|
linkTrackingIds: boolean;
|
|
2414
2414
|
reusableRecommendationStrategy: boolean;
|
|
@@ -2496,6 +2496,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2496
2496
|
selectedUnsubscribePages: number[];
|
|
2497
2497
|
forceRecreate: boolean;
|
|
2498
2498
|
trackIdCounter: number;
|
|
2499
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2499
2500
|
migration: {
|
|
2500
2501
|
recommendationConfigs: {
|
|
2501
2502
|
[x: string]: {
|
|
@@ -2552,7 +2553,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2552
2553
|
modulesDisabled: boolean;
|
|
2553
2554
|
liquidSyntax: boolean;
|
|
2554
2555
|
autosave: boolean;
|
|
2555
|
-
accessibilityTesting: boolean;
|
|
2556
2556
|
allowlistEnabled: boolean;
|
|
2557
2557
|
linkTrackingIds: boolean;
|
|
2558
2558
|
reusableRecommendationStrategy: boolean;
|
|
@@ -2640,6 +2640,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2640
2640
|
selectedUnsubscribePages: number[];
|
|
2641
2641
|
forceRecreate: boolean;
|
|
2642
2642
|
trackIdCounter: number;
|
|
2643
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2643
2644
|
migration: {
|
|
2644
2645
|
recommendationConfigs: {
|
|
2645
2646
|
[x: string]: {
|
|
@@ -2696,7 +2697,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2696
2697
|
modulesDisabled: boolean;
|
|
2697
2698
|
liquidSyntax: boolean;
|
|
2698
2699
|
autosave: boolean;
|
|
2699
|
-
accessibilityTesting: boolean;
|
|
2700
2700
|
allowlistEnabled: boolean;
|
|
2701
2701
|
linkTrackingIds: boolean;
|
|
2702
2702
|
reusableRecommendationStrategy: boolean;
|
|
@@ -2786,6 +2786,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2786
2786
|
selectedUnsubscribePages: number[];
|
|
2787
2787
|
forceRecreate: boolean;
|
|
2788
2788
|
trackIdCounter: number;
|
|
2789
|
+
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2789
2790
|
migration: {
|
|
2790
2791
|
recommendationConfigs: {
|
|
2791
2792
|
[x: string]: {
|
|
@@ -2842,7 +2843,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2842
2843
|
modulesDisabled: boolean;
|
|
2843
2844
|
liquidSyntax: boolean;
|
|
2844
2845
|
autosave: boolean;
|
|
2845
|
-
accessibilityTesting: boolean;
|
|
2846
2846
|
allowlistEnabled: boolean;
|
|
2847
2847
|
linkTrackingIds: boolean;
|
|
2848
2848
|
reusableRecommendationStrategy: boolean;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import type { ColorVisionDeficiency } from '@@/Types/api/accessibility-api';
|
|
2
1
|
export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEditor", {
|
|
3
2
|
loadingStatus: boolean;
|
|
4
3
|
isCodeEditorOpen: boolean;
|
|
5
4
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
6
5
|
isVersionHistoryOpen: boolean;
|
|
7
6
|
isPreviewModeOpen: boolean;
|
|
8
|
-
isAccessibilityTestingOpen: boolean;
|
|
9
|
-
imagesHidden: boolean;
|
|
10
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
11
7
|
editorVisualMode: string;
|
|
12
8
|
hasChanges: boolean;
|
|
13
9
|
changeSeq: number;
|
|
@@ -22,9 +18,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
22
18
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
23
19
|
isVersionHistoryOpen: boolean;
|
|
24
20
|
isPreviewModeOpen: boolean;
|
|
25
|
-
isAccessibilityTestingOpen: boolean;
|
|
26
|
-
imagesHidden: boolean;
|
|
27
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
28
21
|
editorVisualMode: string;
|
|
29
22
|
hasChanges: boolean;
|
|
30
23
|
changeSeq: number;
|
|
@@ -38,9 +31,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
38
31
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
39
32
|
isVersionHistoryOpen: boolean;
|
|
40
33
|
isPreviewModeOpen: boolean;
|
|
41
|
-
isAccessibilityTestingOpen: boolean;
|
|
42
|
-
imagesHidden: boolean;
|
|
43
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
44
34
|
editorVisualMode: string;
|
|
45
35
|
hasChanges: boolean;
|
|
46
36
|
changeSeq: number;
|
|
@@ -55,9 +45,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
55
45
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
56
46
|
isVersionHistoryOpen: boolean;
|
|
57
47
|
isPreviewModeOpen: boolean;
|
|
58
|
-
isAccessibilityTestingOpen: boolean;
|
|
59
|
-
imagesHidden: boolean;
|
|
60
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
61
48
|
editorVisualMode: string;
|
|
62
49
|
hasChanges: boolean;
|
|
63
50
|
changeSeq: number;
|
|
@@ -71,9 +58,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
71
58
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
72
59
|
isVersionHistoryOpen: boolean;
|
|
73
60
|
isPreviewModeOpen: boolean;
|
|
74
|
-
isAccessibilityTestingOpen: boolean;
|
|
75
|
-
imagesHidden: boolean;
|
|
76
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
77
61
|
editorVisualMode: string;
|
|
78
62
|
hasChanges: boolean;
|
|
79
63
|
changeSeq: number;
|
|
@@ -88,9 +72,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
88
72
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
89
73
|
isVersionHistoryOpen: boolean;
|
|
90
74
|
isPreviewModeOpen: boolean;
|
|
91
|
-
isAccessibilityTestingOpen: boolean;
|
|
92
|
-
imagesHidden: boolean;
|
|
93
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
94
75
|
editorVisualMode: string;
|
|
95
76
|
hasChanges: boolean;
|
|
96
77
|
changeSeq: number;
|
|
@@ -104,9 +85,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
104
85
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
105
86
|
isVersionHistoryOpen: boolean;
|
|
106
87
|
isPreviewModeOpen: boolean;
|
|
107
|
-
isAccessibilityTestingOpen: boolean;
|
|
108
|
-
imagesHidden: boolean;
|
|
109
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
110
88
|
editorVisualMode: string;
|
|
111
89
|
hasChanges: boolean;
|
|
112
90
|
changeSeq: number;
|
|
@@ -121,9 +99,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
121
99
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
122
100
|
isVersionHistoryOpen: boolean;
|
|
123
101
|
isPreviewModeOpen: boolean;
|
|
124
|
-
isAccessibilityTestingOpen: boolean;
|
|
125
|
-
imagesHidden: boolean;
|
|
126
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
127
102
|
editorVisualMode: string;
|
|
128
103
|
hasChanges: boolean;
|
|
129
104
|
changeSeq: number;
|
|
@@ -137,9 +112,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
137
112
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
138
113
|
isVersionHistoryOpen: boolean;
|
|
139
114
|
isPreviewModeOpen: boolean;
|
|
140
|
-
isAccessibilityTestingOpen: boolean;
|
|
141
|
-
imagesHidden: boolean;
|
|
142
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
143
115
|
editorVisualMode: string;
|
|
144
116
|
hasChanges: boolean;
|
|
145
117
|
changeSeq: number;
|
|
@@ -154,9 +126,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
154
126
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
155
127
|
isVersionHistoryOpen: boolean;
|
|
156
128
|
isPreviewModeOpen: boolean;
|
|
157
|
-
isAccessibilityTestingOpen: boolean;
|
|
158
|
-
imagesHidden: boolean;
|
|
159
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
160
129
|
editorVisualMode: string;
|
|
161
130
|
hasChanges: boolean;
|
|
162
131
|
changeSeq: number;
|
|
@@ -170,9 +139,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
170
139
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
171
140
|
isVersionHistoryOpen: boolean;
|
|
172
141
|
isPreviewModeOpen: boolean;
|
|
173
|
-
isAccessibilityTestingOpen: boolean;
|
|
174
|
-
imagesHidden: boolean;
|
|
175
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
176
142
|
editorVisualMode: string;
|
|
177
143
|
hasChanges: boolean;
|
|
178
144
|
changeSeq: number;
|
|
@@ -187,9 +153,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
187
153
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
188
154
|
isVersionHistoryOpen: boolean;
|
|
189
155
|
isPreviewModeOpen: boolean;
|
|
190
|
-
isAccessibilityTestingOpen: boolean;
|
|
191
|
-
imagesHidden: boolean;
|
|
192
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
193
156
|
editorVisualMode: string;
|
|
194
157
|
hasChanges: boolean;
|
|
195
158
|
changeSeq: number;
|
|
@@ -203,42 +166,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
203
166
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
204
167
|
isVersionHistoryOpen: boolean;
|
|
205
168
|
isPreviewModeOpen: boolean;
|
|
206
|
-
isAccessibilityTestingOpen: boolean;
|
|
207
|
-
imagesHidden: boolean;
|
|
208
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
209
|
-
editorVisualMode: string;
|
|
210
|
-
hasChanges: boolean;
|
|
211
|
-
changeSeq: number;
|
|
212
|
-
isStripoInitialized: boolean;
|
|
213
|
-
templateId: string;
|
|
214
|
-
syncModulesEnabled: boolean;
|
|
215
|
-
trackIdSessionFloor: number;
|
|
216
|
-
}>) => boolean;
|
|
217
|
-
isNormalMode: (state: {
|
|
218
|
-
loadingStatus: boolean;
|
|
219
|
-
isCodeEditorOpen: boolean;
|
|
220
|
-
isSaveAsTemplateDrawerOpen: boolean;
|
|
221
|
-
isVersionHistoryOpen: boolean;
|
|
222
|
-
isPreviewModeOpen: boolean;
|
|
223
|
-
isAccessibilityTestingOpen: boolean;
|
|
224
|
-
imagesHidden: boolean;
|
|
225
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
226
|
-
editorVisualMode: string;
|
|
227
|
-
hasChanges: boolean;
|
|
228
|
-
changeSeq: number;
|
|
229
|
-
isStripoInitialized: boolean;
|
|
230
|
-
templateId: string;
|
|
231
|
-
syncModulesEnabled: boolean;
|
|
232
|
-
trackIdSessionFloor: number;
|
|
233
|
-
} & import("pinia").PiniaCustomStateProperties<{
|
|
234
|
-
loadingStatus: boolean;
|
|
235
|
-
isCodeEditorOpen: boolean;
|
|
236
|
-
isSaveAsTemplateDrawerOpen: boolean;
|
|
237
|
-
isVersionHistoryOpen: boolean;
|
|
238
|
-
isPreviewModeOpen: boolean;
|
|
239
|
-
isAccessibilityTestingOpen: boolean;
|
|
240
|
-
imagesHidden: boolean;
|
|
241
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
242
169
|
editorVisualMode: string;
|
|
243
170
|
hasChanges: boolean;
|
|
244
171
|
changeSeq: number;
|
|
@@ -253,9 +180,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
253
180
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
254
181
|
isVersionHistoryOpen: boolean;
|
|
255
182
|
isPreviewModeOpen: boolean;
|
|
256
|
-
isAccessibilityTestingOpen: boolean;
|
|
257
|
-
imagesHidden: boolean;
|
|
258
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
259
183
|
editorVisualMode: string;
|
|
260
184
|
hasChanges: boolean;
|
|
261
185
|
changeSeq: number;
|
|
@@ -269,9 +193,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
269
193
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
270
194
|
isVersionHistoryOpen: boolean;
|
|
271
195
|
isPreviewModeOpen: boolean;
|
|
272
|
-
isAccessibilityTestingOpen: boolean;
|
|
273
|
-
imagesHidden: boolean;
|
|
274
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
275
196
|
editorVisualMode: string;
|
|
276
197
|
hasChanges: boolean;
|
|
277
198
|
changeSeq: number;
|
|
@@ -286,9 +207,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
286
207
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
287
208
|
isVersionHistoryOpen: boolean;
|
|
288
209
|
isPreviewModeOpen: boolean;
|
|
289
|
-
isAccessibilityTestingOpen: boolean;
|
|
290
|
-
imagesHidden: boolean;
|
|
291
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
292
210
|
editorVisualMode: string;
|
|
293
211
|
hasChanges: boolean;
|
|
294
212
|
changeSeq: number;
|
|
@@ -302,9 +220,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
302
220
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
303
221
|
isVersionHistoryOpen: boolean;
|
|
304
222
|
isPreviewModeOpen: boolean;
|
|
305
|
-
isAccessibilityTestingOpen: boolean;
|
|
306
|
-
imagesHidden: boolean;
|
|
307
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
308
223
|
editorVisualMode: string;
|
|
309
224
|
hasChanges: boolean;
|
|
310
225
|
changeSeq: number;
|
|
@@ -319,9 +234,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
319
234
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
320
235
|
isVersionHistoryOpen: boolean;
|
|
321
236
|
isPreviewModeOpen: boolean;
|
|
322
|
-
isAccessibilityTestingOpen: boolean;
|
|
323
|
-
imagesHidden: boolean;
|
|
324
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
325
237
|
editorVisualMode: string;
|
|
326
238
|
hasChanges: boolean;
|
|
327
239
|
changeSeq: number;
|
|
@@ -335,9 +247,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
335
247
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
336
248
|
isVersionHistoryOpen: boolean;
|
|
337
249
|
isPreviewModeOpen: boolean;
|
|
338
|
-
isAccessibilityTestingOpen: boolean;
|
|
339
|
-
imagesHidden: boolean;
|
|
340
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
341
250
|
editorVisualMode: string;
|
|
342
251
|
hasChanges: boolean;
|
|
343
252
|
changeSeq: number;
|
|
@@ -352,9 +261,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
352
261
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
353
262
|
isVersionHistoryOpen: boolean;
|
|
354
263
|
isPreviewModeOpen: boolean;
|
|
355
|
-
isAccessibilityTestingOpen: boolean;
|
|
356
|
-
imagesHidden: boolean;
|
|
357
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
358
264
|
editorVisualMode: string;
|
|
359
265
|
hasChanges: boolean;
|
|
360
266
|
changeSeq: number;
|
|
@@ -368,9 +274,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
368
274
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
369
275
|
isVersionHistoryOpen: boolean;
|
|
370
276
|
isPreviewModeOpen: boolean;
|
|
371
|
-
isAccessibilityTestingOpen: boolean;
|
|
372
|
-
imagesHidden: boolean;
|
|
373
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
374
277
|
editorVisualMode: string;
|
|
375
278
|
hasChanges: boolean;
|
|
376
279
|
changeSeq: number;
|
|
@@ -385,9 +288,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
385
288
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
386
289
|
isVersionHistoryOpen: boolean;
|
|
387
290
|
isPreviewModeOpen: boolean;
|
|
388
|
-
isAccessibilityTestingOpen: boolean;
|
|
389
|
-
imagesHidden: boolean;
|
|
390
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
391
291
|
editorVisualMode: string;
|
|
392
292
|
hasChanges: boolean;
|
|
393
293
|
changeSeq: number;
|
|
@@ -401,9 +301,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
401
301
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
402
302
|
isVersionHistoryOpen: boolean;
|
|
403
303
|
isPreviewModeOpen: boolean;
|
|
404
|
-
isAccessibilityTestingOpen: boolean;
|
|
405
|
-
imagesHidden: boolean;
|
|
406
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
407
304
|
editorVisualMode: string;
|
|
408
305
|
hasChanges: boolean;
|
|
409
306
|
changeSeq: number;
|
|
@@ -418,9 +315,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
418
315
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
419
316
|
isVersionHistoryOpen: boolean;
|
|
420
317
|
isPreviewModeOpen: boolean;
|
|
421
|
-
isAccessibilityTestingOpen: boolean;
|
|
422
|
-
imagesHidden: boolean;
|
|
423
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
424
318
|
editorVisualMode: string;
|
|
425
319
|
hasChanges: boolean;
|
|
426
320
|
changeSeq: number;
|
|
@@ -434,9 +328,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
434
328
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
435
329
|
isVersionHistoryOpen: boolean;
|
|
436
330
|
isPreviewModeOpen: boolean;
|
|
437
|
-
isAccessibilityTestingOpen: boolean;
|
|
438
|
-
imagesHidden: boolean;
|
|
439
|
-
colorVisionDeficiency: ColorVisionDeficiency;
|
|
440
331
|
editorVisualMode: string;
|
|
441
332
|
hasChanges: boolean;
|
|
442
333
|
changeSeq: number;
|