@useinsider/guido 3.21.0-beta.1bd7edd → 3.21.0-beta.c433290
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 +1 -1
- package/dist/@types/config/schemas.js +37 -38
- package/dist/components/Guido.vue.js +6 -6
- package/dist/components/Guido.vue2.js +112 -103
- package/dist/components/organisms/AutoSaveController.vue2.js +20 -10
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +17 -0
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +25 -0
- package/dist/components/organisms/header/EditorActions.vue.js +13 -13
- package/dist/components/organisms/header/EditorActions.vue2.js +58 -73
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +20 -0
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +98 -0
- package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +9 -17
- package/dist/components/organisms/header/LeftSlot.vue.js +1 -1
- package/dist/components/organisms/header/LeftSlot.vue2.js +28 -23
- package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
- package/dist/components/organisms/header/MiddleSlot.vue2.js +8 -7
- package/dist/components/organisms/header/RightSlot.vue.js +11 -10
- package/dist/components/organisms/header/RightSlot.vue2.js +13 -18
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +18 -0
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +37 -0
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +22 -0
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +48 -0
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +19 -0
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +90 -0
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +12 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +60 -35
- package/dist/composables/useAccessibilityApi.js +51 -0
- package/dist/composables/useBlocksConfig.js +24 -32
- package/dist/composables/useCustomInterfaceAppearance.js +42 -41
- package/dist/config/i18n/en/labels.json.js +36 -4
- package/dist/config/i18n/en/tooltips.json.js +2 -1
- package/dist/enums/academy.js +0 -1
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +92 -93
- package/dist/node_modules/valibot/dist/index.js +261 -297
- package/dist/sprite.svg +10 -0
- package/dist/src/@types/config/schemas.d.ts +2 -4
- package/dist/src/components/organisms/AutoSaveController.vue.d.ts +19 -1
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +1 -19
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +1 -19
- package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +2 -0
- package/dist/src/composables/useAccessibilityApi.d.ts +13 -0
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +2 -2
- package/dist/src/enums/academy.d.ts +0 -1
- package/dist/src/stores/autosave.d.ts +73 -1
- package/dist/src/stores/config.d.ts +20 -166
- package/dist/src/stores/editor.d.ts +109 -0
- package/dist/src/stores/onboarding.d.ts +966 -35
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +5 -8
- package/dist/static/styles/components/accessibility.css.js +234 -0
- package/dist/static/styles/variables.css.js +2 -0
- package/dist/stores/autosave.js +12 -7
- package/dist/stores/config.js +6 -13
- package/dist/stores/editor.js +8 -3
- package/dist/stores/onboarding.js +48 -22
- package/dist/utils/pairProductVariables.js +14 -15
- package/dist/utils/timeUtil.js +6 -17
- package/package.json +1 -1
- package/dist/@types/display-condition.js +0 -25
- package/dist/components/organisms/display-conditions/CodeEditorField.vue.js +0 -20
- package/dist/components/organisms/display-conditions/CodeEditorField.vue2.js +0 -30
- package/dist/components/organisms/display-conditions/DisplayConditionCreateDrawer.vue.js +0 -30
- package/dist/components/organisms/display-conditions/DisplayConditionCreateDrawer.vue2.js +0 -71
- package/dist/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue.js +0 -34
- package/dist/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue2.js +0 -57
- package/dist/components/organisms/display-conditions/DisplayConditionsHost.vue.js +0 -17
- package/dist/components/organisms/display-conditions/DisplayConditionsHost.vue2.js +0 -22
- package/dist/components/organisms/header/AutoSaveToggle.vue.js +0 -22
- package/dist/components/organisms/header/AutoSaveToggle.vue2.js +0 -19
- package/dist/composables/useDisplayConditions.js +0 -102
- package/dist/enums/display-condition.js +0 -12
- package/dist/extensions/DisplayConditions/bridge.js +0 -17
- package/dist/extensions/DisplayConditions/constants.js +0 -17
- package/dist/extensions/DisplayConditions/control.js +0 -178
- package/dist/extensions/DisplayConditions/display-conditions.css.js +0 -201
- package/dist/extensions/DisplayConditions/extension.js +0 -28
- package/dist/extensions/DisplayConditions/iconsRegistry.js +0 -20
- package/dist/extensions/DisplayConditions/library.js +0 -27
- package/dist/extensions/DisplayConditions/settingsPanel.js +0 -17
- package/dist/services/displayConditionApi.js +0 -39
- package/dist/src/@types/display-condition.d.ts +0 -59
- package/dist/src/components/organisms/display-conditions/CodeEditorField.vue.d.ts +0 -43
- package/dist/src/composables/useDisplayConditions.d.ts +0 -16
- package/dist/src/enums/display-condition.d.ts +0 -15
- package/dist/src/extensions/DisplayConditions/bridge.d.ts +0 -6
- package/dist/src/extensions/DisplayConditions/constants.d.ts +0 -14
- package/dist/src/extensions/DisplayConditions/control.d.ts +0 -23
- package/dist/src/extensions/DisplayConditions/extension.d.ts +0 -2
- package/dist/src/extensions/DisplayConditions/iconsRegistry.d.ts +0 -4
- package/dist/src/extensions/DisplayConditions/library.d.ts +0 -8
- package/dist/src/extensions/DisplayConditions/settingsPanel.d.ts +0 -5
- package/dist/src/mock/api/display-conditions.d.ts +0 -2
- package/dist/src/services/displayConditionApi.d.ts +0 -8
- package/dist/src/stores/display-condition.d.ts +0 -81
- package/dist/src/utils/displayCondition.d.ts +0 -10
- package/dist/src/utils/protectTableText.d.ts +0 -2
- package/dist/stores/display-condition.js +0 -28
- package/dist/utils/displayCondition.js +0 -26
- package/dist/utils/protectTableText.js +0 -22
- /package/dist/src/components/organisms/{display-conditions/DisplayConditionCreateDrawer.vue.d.ts → header/AutoSaveStatus.vue.d.ts} +0 -0
- /package/dist/src/components/organisms/{display-conditions/DisplayConditionSelectDrawer.vue.d.ts → header/EditorActionsMenu.vue.d.ts} +0 -0
- /package/dist/src/components/organisms/{display-conditions/DisplayConditionsHost.vue.d.ts → header/accessibility/AccessibilityToolbar.vue.d.ts} +0 -0
- /package/dist/src/components/organisms/header/{AutoSaveToggle.vue.d.ts → accessibility/ColorVisionSelect.vue.d.ts} +0 -0
|
@@ -94,7 +94,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
94
94
|
ui: {
|
|
95
95
|
showHeader: boolean;
|
|
96
96
|
backButtonLabel?: string | undefined;
|
|
97
|
-
externalDisplayConditions: boolean;
|
|
98
97
|
};
|
|
99
98
|
features: {
|
|
100
99
|
dynamicContent: boolean;
|
|
@@ -106,6 +105,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
106
105
|
modulesDisabled: boolean;
|
|
107
106
|
liquidSyntax: boolean;
|
|
108
107
|
autosave: boolean;
|
|
108
|
+
accessibilityTesting: boolean;
|
|
109
109
|
allowlistEnabled: boolean;
|
|
110
110
|
linkTrackingIds: boolean;
|
|
111
111
|
allowSaveWithErrors: boolean;
|
|
@@ -240,7 +240,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
240
240
|
ui: {
|
|
241
241
|
showHeader: boolean;
|
|
242
242
|
backButtonLabel?: string | undefined;
|
|
243
|
-
externalDisplayConditions: boolean;
|
|
244
243
|
};
|
|
245
244
|
features: {
|
|
246
245
|
dynamicContent: boolean;
|
|
@@ -252,6 +251,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
252
251
|
modulesDisabled: boolean;
|
|
253
252
|
liquidSyntax: boolean;
|
|
254
253
|
autosave: boolean;
|
|
254
|
+
accessibilityTesting: boolean;
|
|
255
255
|
allowlistEnabled: boolean;
|
|
256
256
|
linkTrackingIds: boolean;
|
|
257
257
|
allowSaveWithErrors: boolean;
|
|
@@ -386,7 +386,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
386
386
|
ui: {
|
|
387
387
|
showHeader: boolean;
|
|
388
388
|
backButtonLabel?: string | undefined;
|
|
389
|
-
externalDisplayConditions: boolean;
|
|
390
389
|
};
|
|
391
390
|
features: {
|
|
392
391
|
dynamicContent: boolean;
|
|
@@ -398,6 +397,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
398
397
|
modulesDisabled: boolean;
|
|
399
398
|
liquidSyntax: boolean;
|
|
400
399
|
autosave: boolean;
|
|
400
|
+
accessibilityTesting: boolean;
|
|
401
401
|
allowlistEnabled: boolean;
|
|
402
402
|
linkTrackingIds: boolean;
|
|
403
403
|
allowSaveWithErrors: boolean;
|
|
@@ -532,7 +532,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
532
532
|
ui: {
|
|
533
533
|
showHeader: boolean;
|
|
534
534
|
backButtonLabel?: string | undefined;
|
|
535
|
-
externalDisplayConditions: boolean;
|
|
536
535
|
};
|
|
537
536
|
features: {
|
|
538
537
|
dynamicContent: boolean;
|
|
@@ -544,6 +543,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
544
543
|
modulesDisabled: boolean;
|
|
545
544
|
liquidSyntax: boolean;
|
|
546
545
|
autosave: boolean;
|
|
546
|
+
accessibilityTesting: boolean;
|
|
547
547
|
allowlistEnabled: boolean;
|
|
548
548
|
linkTrackingIds: boolean;
|
|
549
549
|
allowSaveWithErrors: boolean;
|
|
@@ -678,7 +678,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
678
678
|
ui: {
|
|
679
679
|
showHeader: boolean;
|
|
680
680
|
backButtonLabel?: string | undefined;
|
|
681
|
-
externalDisplayConditions: boolean;
|
|
682
681
|
};
|
|
683
682
|
features: {
|
|
684
683
|
dynamicContent: boolean;
|
|
@@ -690,6 +689,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
690
689
|
modulesDisabled: boolean;
|
|
691
690
|
liquidSyntax: boolean;
|
|
692
691
|
autosave: boolean;
|
|
692
|
+
accessibilityTesting: boolean;
|
|
693
693
|
allowlistEnabled: boolean;
|
|
694
694
|
linkTrackingIds: boolean;
|
|
695
695
|
allowSaveWithErrors: boolean;
|
|
@@ -824,7 +824,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
824
824
|
ui: {
|
|
825
825
|
showHeader: boolean;
|
|
826
826
|
backButtonLabel?: string | undefined;
|
|
827
|
-
externalDisplayConditions: boolean;
|
|
828
827
|
};
|
|
829
828
|
features: {
|
|
830
829
|
dynamicContent: boolean;
|
|
@@ -836,6 +835,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
836
835
|
modulesDisabled: boolean;
|
|
837
836
|
liquidSyntax: boolean;
|
|
838
837
|
autosave: boolean;
|
|
838
|
+
accessibilityTesting: boolean;
|
|
839
839
|
allowlistEnabled: boolean;
|
|
840
840
|
linkTrackingIds: boolean;
|
|
841
841
|
allowSaveWithErrors: boolean;
|
|
@@ -970,7 +970,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
970
970
|
ui: {
|
|
971
971
|
showHeader: boolean;
|
|
972
972
|
backButtonLabel?: string | undefined;
|
|
973
|
-
externalDisplayConditions: boolean;
|
|
974
973
|
};
|
|
975
974
|
features: {
|
|
976
975
|
dynamicContent: boolean;
|
|
@@ -982,6 +981,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
982
981
|
modulesDisabled: boolean;
|
|
983
982
|
liquidSyntax: boolean;
|
|
984
983
|
autosave: boolean;
|
|
984
|
+
accessibilityTesting: boolean;
|
|
985
985
|
allowlistEnabled: boolean;
|
|
986
986
|
linkTrackingIds: boolean;
|
|
987
987
|
allowSaveWithErrors: boolean;
|
|
@@ -1116,7 +1116,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1116
1116
|
ui: {
|
|
1117
1117
|
showHeader: boolean;
|
|
1118
1118
|
backButtonLabel?: string | undefined;
|
|
1119
|
-
externalDisplayConditions: boolean;
|
|
1120
1119
|
};
|
|
1121
1120
|
features: {
|
|
1122
1121
|
dynamicContent: boolean;
|
|
@@ -1128,6 +1127,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1128
1127
|
modulesDisabled: boolean;
|
|
1129
1128
|
liquidSyntax: boolean;
|
|
1130
1129
|
autosave: boolean;
|
|
1130
|
+
accessibilityTesting: boolean;
|
|
1131
1131
|
allowlistEnabled: boolean;
|
|
1132
1132
|
linkTrackingIds: boolean;
|
|
1133
1133
|
allowSaveWithErrors: boolean;
|
|
@@ -1262,7 +1262,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1262
1262
|
ui: {
|
|
1263
1263
|
showHeader: boolean;
|
|
1264
1264
|
backButtonLabel?: string | undefined;
|
|
1265
|
-
externalDisplayConditions: boolean;
|
|
1266
1265
|
};
|
|
1267
1266
|
features: {
|
|
1268
1267
|
dynamicContent: boolean;
|
|
@@ -1274,6 +1273,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1274
1273
|
modulesDisabled: boolean;
|
|
1275
1274
|
liquidSyntax: boolean;
|
|
1276
1275
|
autosave: boolean;
|
|
1276
|
+
accessibilityTesting: boolean;
|
|
1277
1277
|
allowlistEnabled: boolean;
|
|
1278
1278
|
linkTrackingIds: boolean;
|
|
1279
1279
|
allowSaveWithErrors: boolean;
|
|
@@ -1408,7 +1408,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1408
1408
|
ui: {
|
|
1409
1409
|
showHeader: boolean;
|
|
1410
1410
|
backButtonLabel?: string | undefined;
|
|
1411
|
-
externalDisplayConditions: boolean;
|
|
1412
1411
|
};
|
|
1413
1412
|
features: {
|
|
1414
1413
|
dynamicContent: boolean;
|
|
@@ -1420,6 +1419,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1420
1419
|
modulesDisabled: boolean;
|
|
1421
1420
|
liquidSyntax: boolean;
|
|
1422
1421
|
autosave: boolean;
|
|
1422
|
+
accessibilityTesting: boolean;
|
|
1423
1423
|
allowlistEnabled: boolean;
|
|
1424
1424
|
linkTrackingIds: boolean;
|
|
1425
1425
|
allowSaveWithErrors: boolean;
|
|
@@ -1554,7 +1554,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1554
1554
|
ui: {
|
|
1555
1555
|
showHeader: boolean;
|
|
1556
1556
|
backButtonLabel?: string | undefined;
|
|
1557
|
-
externalDisplayConditions: boolean;
|
|
1558
1557
|
};
|
|
1559
1558
|
features: {
|
|
1560
1559
|
dynamicContent: boolean;
|
|
@@ -1566,6 +1565,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1566
1565
|
modulesDisabled: boolean;
|
|
1567
1566
|
liquidSyntax: boolean;
|
|
1568
1567
|
autosave: boolean;
|
|
1568
|
+
accessibilityTesting: boolean;
|
|
1569
1569
|
allowlistEnabled: boolean;
|
|
1570
1570
|
linkTrackingIds: boolean;
|
|
1571
1571
|
allowSaveWithErrors: boolean;
|
|
@@ -1700,7 +1700,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1700
1700
|
ui: {
|
|
1701
1701
|
showHeader: boolean;
|
|
1702
1702
|
backButtonLabel?: string | undefined;
|
|
1703
|
-
externalDisplayConditions: boolean;
|
|
1704
1703
|
};
|
|
1705
1704
|
features: {
|
|
1706
1705
|
dynamicContent: boolean;
|
|
@@ -1712,6 +1711,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1712
1711
|
modulesDisabled: boolean;
|
|
1713
1712
|
liquidSyntax: boolean;
|
|
1714
1713
|
autosave: boolean;
|
|
1714
|
+
accessibilityTesting: boolean;
|
|
1715
1715
|
allowlistEnabled: boolean;
|
|
1716
1716
|
linkTrackingIds: boolean;
|
|
1717
1717
|
allowSaveWithErrors: boolean;
|
|
@@ -1846,7 +1846,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1846
1846
|
ui: {
|
|
1847
1847
|
showHeader: boolean;
|
|
1848
1848
|
backButtonLabel?: string | undefined;
|
|
1849
|
-
externalDisplayConditions: boolean;
|
|
1850
1849
|
};
|
|
1851
1850
|
features: {
|
|
1852
1851
|
dynamicContent: boolean;
|
|
@@ -1858,6 +1857,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1858
1857
|
modulesDisabled: boolean;
|
|
1859
1858
|
liquidSyntax: boolean;
|
|
1860
1859
|
autosave: boolean;
|
|
1860
|
+
accessibilityTesting: boolean;
|
|
1861
1861
|
allowlistEnabled: boolean;
|
|
1862
1862
|
linkTrackingIds: boolean;
|
|
1863
1863
|
allowSaveWithErrors: boolean;
|
|
@@ -1992,7 +1992,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1992
1992
|
ui: {
|
|
1993
1993
|
showHeader: boolean;
|
|
1994
1994
|
backButtonLabel?: string | undefined;
|
|
1995
|
-
externalDisplayConditions: boolean;
|
|
1996
1995
|
};
|
|
1997
1996
|
features: {
|
|
1998
1997
|
dynamicContent: boolean;
|
|
@@ -2004,6 +2003,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2004
2003
|
modulesDisabled: boolean;
|
|
2005
2004
|
liquidSyntax: boolean;
|
|
2006
2005
|
autosave: boolean;
|
|
2006
|
+
accessibilityTesting: boolean;
|
|
2007
2007
|
allowlistEnabled: boolean;
|
|
2008
2008
|
linkTrackingIds: boolean;
|
|
2009
2009
|
allowSaveWithErrors: boolean;
|
|
@@ -2138,7 +2138,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2138
2138
|
ui: {
|
|
2139
2139
|
showHeader: boolean;
|
|
2140
2140
|
backButtonLabel?: string | undefined;
|
|
2141
|
-
externalDisplayConditions: boolean;
|
|
2142
2141
|
};
|
|
2143
2142
|
features: {
|
|
2144
2143
|
dynamicContent: boolean;
|
|
@@ -2150,6 +2149,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2150
2149
|
modulesDisabled: boolean;
|
|
2151
2150
|
liquidSyntax: boolean;
|
|
2152
2151
|
autosave: boolean;
|
|
2152
|
+
accessibilityTesting: boolean;
|
|
2153
2153
|
allowlistEnabled: boolean;
|
|
2154
2154
|
linkTrackingIds: boolean;
|
|
2155
2155
|
allowSaveWithErrors: boolean;
|
|
@@ -2284,7 +2284,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2284
2284
|
ui: {
|
|
2285
2285
|
showHeader: boolean;
|
|
2286
2286
|
backButtonLabel?: string | undefined;
|
|
2287
|
-
externalDisplayConditions: boolean;
|
|
2288
2287
|
};
|
|
2289
2288
|
features: {
|
|
2290
2289
|
dynamicContent: boolean;
|
|
@@ -2296,6 +2295,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2296
2295
|
modulesDisabled: boolean;
|
|
2297
2296
|
liquidSyntax: boolean;
|
|
2298
2297
|
autosave: boolean;
|
|
2298
|
+
accessibilityTesting: boolean;
|
|
2299
2299
|
allowlistEnabled: boolean;
|
|
2300
2300
|
linkTrackingIds: boolean;
|
|
2301
2301
|
allowSaveWithErrors: boolean;
|
|
@@ -2430,7 +2430,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2430
2430
|
ui: {
|
|
2431
2431
|
showHeader: boolean;
|
|
2432
2432
|
backButtonLabel?: string | undefined;
|
|
2433
|
-
externalDisplayConditions: boolean;
|
|
2434
2433
|
};
|
|
2435
2434
|
features: {
|
|
2436
2435
|
dynamicContent: boolean;
|
|
@@ -2442,6 +2441,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2442
2441
|
modulesDisabled: boolean;
|
|
2443
2442
|
liquidSyntax: boolean;
|
|
2444
2443
|
autosave: boolean;
|
|
2444
|
+
accessibilityTesting: boolean;
|
|
2445
2445
|
allowlistEnabled: boolean;
|
|
2446
2446
|
linkTrackingIds: boolean;
|
|
2447
2447
|
allowSaveWithErrors: boolean;
|
|
@@ -2588,7 +2588,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2588
2588
|
ui: {
|
|
2589
2589
|
showHeader: boolean;
|
|
2590
2590
|
backButtonLabel?: string | undefined;
|
|
2591
|
-
externalDisplayConditions: boolean;
|
|
2592
2591
|
};
|
|
2593
2592
|
features: {
|
|
2594
2593
|
dynamicContent: boolean;
|
|
@@ -2600,6 +2599,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2600
2599
|
modulesDisabled: boolean;
|
|
2601
2600
|
liquidSyntax: boolean;
|
|
2602
2601
|
autosave: boolean;
|
|
2602
|
+
accessibilityTesting: boolean;
|
|
2603
2603
|
allowlistEnabled: boolean;
|
|
2604
2604
|
linkTrackingIds: boolean;
|
|
2605
2605
|
allowSaveWithErrors: boolean;
|
|
@@ -2734,153 +2734,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2734
2734
|
ui: {
|
|
2735
2735
|
showHeader: boolean;
|
|
2736
2736
|
backButtonLabel?: string | undefined;
|
|
2737
|
-
externalDisplayConditions: boolean;
|
|
2738
|
-
};
|
|
2739
|
-
features: {
|
|
2740
|
-
dynamicContent: boolean;
|
|
2741
|
-
saveAsTemplate: boolean;
|
|
2742
|
-
versionHistory: boolean;
|
|
2743
|
-
testMessage: boolean;
|
|
2744
|
-
displayConditions: boolean;
|
|
2745
|
-
unsubscribe: boolean;
|
|
2746
|
-
modulesDisabled: boolean;
|
|
2747
|
-
liquidSyntax: boolean;
|
|
2748
|
-
autosave: boolean;
|
|
2749
|
-
allowlistEnabled: boolean;
|
|
2750
|
-
linkTrackingIds: boolean;
|
|
2751
|
-
allowSaveWithErrors: boolean;
|
|
2752
|
-
reusableRecommendationStrategy: boolean;
|
|
2753
|
-
};
|
|
2754
|
-
blocks: {
|
|
2755
|
-
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")[];
|
|
2756
|
-
includeCustoms: ("dynamic-content" | "checkbox-block" | "radio-button-block" | "recommendation-block" | "unsubscribe-block" | "coupon-block" | "items-block")[];
|
|
2757
|
-
};
|
|
2758
|
-
compiler: {
|
|
2759
|
-
customRules: ({
|
|
2760
|
-
type: "replace";
|
|
2761
|
-
search: string;
|
|
2762
|
-
replacement: string;
|
|
2763
|
-
replaceAll?: boolean | undefined;
|
|
2764
|
-
id: string;
|
|
2765
|
-
description?: string | undefined;
|
|
2766
|
-
priority: number;
|
|
2767
|
-
} | {
|
|
2768
|
-
type: "regex";
|
|
2769
|
-
pattern: string;
|
|
2770
|
-
replacement: string;
|
|
2771
|
-
flags?: string | undefined;
|
|
2772
|
-
id: string;
|
|
2773
|
-
description?: string | undefined;
|
|
2774
|
-
priority: number;
|
|
2775
|
-
} | {
|
|
2776
|
-
type: "remove";
|
|
2777
|
-
targets: string[];
|
|
2778
|
-
id: string;
|
|
2779
|
-
description?: string | undefined;
|
|
2780
|
-
priority: number;
|
|
2781
|
-
} | {
|
|
2782
|
-
type: "custom";
|
|
2783
|
-
processor: (html: string) => string;
|
|
2784
|
-
id: string;
|
|
2785
|
-
description?: string | undefined;
|
|
2786
|
-
priority: number;
|
|
2787
|
-
})[];
|
|
2788
|
-
ignoreDefaultRules: boolean;
|
|
2789
|
-
};
|
|
2790
|
-
callbacks: {
|
|
2791
|
-
externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
|
|
2792
|
-
};
|
|
2793
|
-
} | null;
|
|
2794
|
-
} & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => boolean;
|
|
2795
|
-
/**
|
|
2796
|
-
* Check if the Insider display-condition UI replaces Stripo's
|
|
2797
|
-
*/
|
|
2798
|
-
externalDisplayConditions: (state: {
|
|
2799
|
-
initialized: boolean;
|
|
2800
|
-
config: {
|
|
2801
|
-
identity: {
|
|
2802
|
-
templateId: string;
|
|
2803
|
-
userId: string;
|
|
2804
|
-
variationId?: string | undefined;
|
|
2805
|
-
campaignId?: string | undefined;
|
|
2806
|
-
templateLibraryId?: string | undefined;
|
|
2807
|
-
};
|
|
2808
|
-
partner: {
|
|
2809
|
-
name: string;
|
|
2810
|
-
productType: 60 | 49 | 97;
|
|
2811
|
-
messageType: 1 | 2;
|
|
2812
|
-
username: string;
|
|
2813
|
-
fallbackFont?: {
|
|
2814
|
-
name: string;
|
|
2815
|
-
family: string;
|
|
2816
|
-
} | undefined;
|
|
2817
|
-
};
|
|
2818
|
-
template: {
|
|
2819
|
-
html: string;
|
|
2820
|
-
css: string;
|
|
2821
|
-
preselectedDynamicContent: {
|
|
2822
|
-
text: string;
|
|
2823
|
-
value: string;
|
|
2824
|
-
fallback?: string | undefined;
|
|
2825
|
-
format?: {
|
|
2826
|
-
key: string;
|
|
2827
|
-
value: string;
|
|
2828
|
-
} | undefined;
|
|
2829
|
-
}[];
|
|
2830
|
-
dynamicContentList: {
|
|
2831
|
-
[x: string]: import("../library").DynamicContentNode[];
|
|
2832
|
-
};
|
|
2833
|
-
customFieldAttributes: string[];
|
|
2834
|
-
selectedUnsubscribePages: number[];
|
|
2835
|
-
forceRecreate: boolean;
|
|
2836
|
-
trackIdCounter: number;
|
|
2837
|
-
recommendationCampaignUrls?: Record<string, unknown> | undefined;
|
|
2838
|
-
migration: {
|
|
2839
|
-
recommendationConfigs: {
|
|
2840
|
-
[x: string]: {
|
|
2841
|
-
id?: number | undefined;
|
|
2842
|
-
decimalCount?: string | number | undefined;
|
|
2843
|
-
productIds?: unknown[] | undefined;
|
|
2844
|
-
sendProductRequestFlag?: boolean | undefined;
|
|
2845
|
-
shuffleProducts?: boolean | undefined;
|
|
2846
|
-
filters?: unknown[] | undefined;
|
|
2847
|
-
currency?: string | undefined;
|
|
2848
|
-
currencySettings?: unknown;
|
|
2849
|
-
language?: string | undefined;
|
|
2850
|
-
strategy?: string | undefined;
|
|
2851
|
-
recommendedProducts?: unknown[] | undefined;
|
|
2852
|
-
cardsInRow?: number | undefined;
|
|
2853
|
-
mobileRightPadding?: number | undefined;
|
|
2854
|
-
mobileLeftPadding?: number | undefined;
|
|
2855
|
-
unresponsive?: boolean | undefined;
|
|
2856
|
-
orientation?: string | undefined;
|
|
2857
|
-
textTrimming?: boolean | undefined;
|
|
2858
|
-
blockType?: string | undefined;
|
|
2859
|
-
size?: string | number | undefined;
|
|
2860
|
-
verticalResponsiveness?: boolean | undefined;
|
|
2861
|
-
isPriceMovedToNextLine?: boolean | undefined;
|
|
2862
|
-
isPriceDeletedForZeroSale?: boolean | undefined;
|
|
2863
|
-
} & {
|
|
2864
|
-
[key: string]: unknown;
|
|
2865
|
-
};
|
|
2866
|
-
};
|
|
2867
|
-
};
|
|
2868
|
-
};
|
|
2869
|
-
editor: {
|
|
2870
|
-
locale: string;
|
|
2871
|
-
translationsPath: string;
|
|
2872
|
-
migrationDate: number;
|
|
2873
|
-
emailHeader: {
|
|
2874
|
-
senderName: string;
|
|
2875
|
-
subject: string;
|
|
2876
|
-
};
|
|
2877
|
-
savedModulesFolderName: string;
|
|
2878
|
-
defaultModulesFolderName: string;
|
|
2879
|
-
};
|
|
2880
|
-
ui: {
|
|
2881
|
-
showHeader: boolean;
|
|
2882
|
-
backButtonLabel?: string | undefined;
|
|
2883
|
-
externalDisplayConditions: boolean;
|
|
2884
2737
|
};
|
|
2885
2738
|
features: {
|
|
2886
2739
|
dynamicContent: boolean;
|
|
@@ -2892,6 +2745,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
2892
2745
|
modulesDisabled: boolean;
|
|
2893
2746
|
liquidSyntax: boolean;
|
|
2894
2747
|
autosave: boolean;
|
|
2748
|
+
accessibilityTesting: boolean;
|
|
2895
2749
|
allowlistEnabled: boolean;
|
|
2896
2750
|
linkTrackingIds: boolean;
|
|
2897
2751
|
allowSaveWithErrors: boolean;
|
|
@@ -3028,7 +2882,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
3028
2882
|
ui: {
|
|
3029
2883
|
showHeader: boolean;
|
|
3030
2884
|
backButtonLabel?: string | undefined;
|
|
3031
|
-
externalDisplayConditions: boolean;
|
|
3032
2885
|
};
|
|
3033
2886
|
features: {
|
|
3034
2887
|
dynamicContent: boolean;
|
|
@@ -3040,6 +2893,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
3040
2893
|
modulesDisabled: boolean;
|
|
3041
2894
|
liquidSyntax: boolean;
|
|
3042
2895
|
autosave: boolean;
|
|
2896
|
+
accessibilityTesting: boolean;
|
|
3043
2897
|
allowlistEnabled: boolean;
|
|
3044
2898
|
linkTrackingIds: boolean;
|
|
3045
2899
|
allowSaveWithErrors: boolean;
|