@useinsider/guido 2.1.0-beta.99bedd1 → 2.1.0-beta.9eddc27
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 -37
- package/dist/@types/config/schemas.js +65 -70
- package/dist/components/Guido.vue.js +1 -1
- package/dist/components/Guido.vue2.js +58 -69
- package/dist/composables/useBlocksConfig.js +16 -26
- package/dist/composables/useSave.js +16 -12
- package/dist/composables/useStripo.js +59 -57
- package/dist/composables/useStripoEventHandler.js +27 -12
- package/dist/composables/useSyncModuleExtractor.js +33 -0
- package/dist/composables/useVersionHistoryApi.js +1 -1
- package/dist/enums/defaults.js +4 -8
- package/dist/enums/unsubscribe.js +25 -21
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +95 -163
- package/dist/services/stripoApi.js +50 -14
- package/dist/src/@types/config/schemas.d.ts +0 -8
- package/dist/src/@types/events.d.ts +34 -2
- package/dist/src/composables/useConfig.d.ts +0 -4
- package/dist/src/composables/useSyncModuleExtractor.d.ts +4 -0
- package/dist/src/enums/defaults.d.ts +0 -4
- package/dist/src/enums/unsubscribe.d.ts +3 -0
- package/dist/src/mock/api/settings.d.ts +2 -0
- package/dist/src/services/stripoApi.d.ts +5 -0
- package/dist/src/stores/config.d.ts +0 -36
- package/dist/src/stores/editor.d.ts +23 -0
- package/dist/static/styles/components/notification.css.js +0 -18
- package/dist/static/styles/components/tools.css.js +2 -6
- package/dist/static/styles/variables.css.js +0 -2
- package/dist/stores/editor.js +2 -1
- package/package.json +1 -1
- package/dist/config/i18n/en/index.js +0 -11
- package/dist/config/i18n/en/labels.json.js +0 -7
- package/dist/config/i18n/en/toasters.json.js +0 -56
- package/dist/config/i18n/en/tooltips.json.js +0 -82
- package/dist/config/i18n/index.js +0 -7
- package/dist/extensions/ModulesTabIcons/extension.js +0 -17
- package/dist/src/config/i18n/en/index.d.ts +0 -1
- package/dist/src/config/i18n/index.d.ts +0 -16
- package/dist/src/extensions/ModulesTabIcons/extension.d.ts +0 -2
|
@@ -41,8 +41,6 @@ export declare const useConfig: () => {
|
|
|
41
41
|
senderName: string;
|
|
42
42
|
subject: string;
|
|
43
43
|
};
|
|
44
|
-
savedModulesFolderName: string;
|
|
45
|
-
defaultModulesFolderName: string;
|
|
46
44
|
};
|
|
47
45
|
ui: {
|
|
48
46
|
showHeader: boolean;
|
|
@@ -132,8 +130,6 @@ export declare const useConfig: () => {
|
|
|
132
130
|
senderName: string;
|
|
133
131
|
subject: string;
|
|
134
132
|
};
|
|
135
|
-
savedModulesFolderName: string;
|
|
136
|
-
defaultModulesFolderName: string;
|
|
137
133
|
} | null>;
|
|
138
134
|
ui: import("vue").ComputedRef<{
|
|
139
135
|
showHeader: boolean;
|
|
@@ -9,7 +9,3 @@ export declare const TemplateTypes: {
|
|
|
9
9
|
export declare const EditorType: number;
|
|
10
10
|
export declare const MAX_DEFAULT_TEMPLATE_ID = 13;
|
|
11
11
|
export declare const ProductIds: Record<string, number>;
|
|
12
|
-
export declare const ModuleFolderDefaults: {
|
|
13
|
-
readonly SAVED_MODULES: "savedModules";
|
|
14
|
-
readonly DEFAULT_MODULES: "defaultModules";
|
|
15
|
-
};
|
|
@@ -25,6 +25,9 @@ export declare const PAGE_TYPES: {
|
|
|
25
25
|
SUBSCRIPTION_PREFERENCE_CONFIRMATION: number;
|
|
26
26
|
RESUBSCRIBE: number;
|
|
27
27
|
};
|
|
28
|
+
export declare const UNSUBSCRIBE_SYNC_MODULE_TYPES: {
|
|
29
|
+
[x: number]: string;
|
|
30
|
+
};
|
|
28
31
|
export declare const TYPE_COLLECTIONS: {
|
|
29
32
|
[x: number]: number[];
|
|
30
33
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ModuleUpdatedParams, SyncModuleResponse, SyncModuleUnsubscribePayload } from '@@/Types/events';
|
|
1
2
|
import type { CustomFont, Template } from '@@/Types/stripo';
|
|
2
3
|
export declare const useStripoApi: () => {
|
|
3
4
|
getToken: () => Promise<string>;
|
|
@@ -5,4 +6,8 @@ export declare const useStripoApi: () => {
|
|
|
5
6
|
active: boolean;
|
|
6
7
|
})[]>;
|
|
7
8
|
getDefaultTemplate: () => Promise<Template>;
|
|
9
|
+
getSyncModulesStatus: () => Promise<boolean>;
|
|
10
|
+
updateSyncModule: (params: ModuleUpdatedParams) => Promise<boolean>;
|
|
11
|
+
getSyncModule: (moduleId: number) => Promise<SyncModuleResponse>;
|
|
12
|
+
setSyncModuleUnsubscriptionPages: (payload: SyncModuleUnsubscribePayload[]) => Promise<boolean>;
|
|
8
13
|
};
|
|
@@ -46,8 +46,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
46
46
|
senderName: string;
|
|
47
47
|
subject: string;
|
|
48
48
|
};
|
|
49
|
-
savedModulesFolderName: string;
|
|
50
|
-
defaultModulesFolderName: string;
|
|
51
49
|
};
|
|
52
50
|
ui: {
|
|
53
51
|
showHeader: boolean;
|
|
@@ -143,8 +141,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
143
141
|
senderName: string;
|
|
144
142
|
subject: string;
|
|
145
143
|
};
|
|
146
|
-
savedModulesFolderName: string;
|
|
147
|
-
defaultModulesFolderName: string;
|
|
148
144
|
};
|
|
149
145
|
ui: {
|
|
150
146
|
showHeader: boolean;
|
|
@@ -240,8 +236,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
240
236
|
senderName: string;
|
|
241
237
|
subject: string;
|
|
242
238
|
};
|
|
243
|
-
savedModulesFolderName: string;
|
|
244
|
-
defaultModulesFolderName: string;
|
|
245
239
|
};
|
|
246
240
|
ui: {
|
|
247
241
|
showHeader: boolean;
|
|
@@ -337,8 +331,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
337
331
|
senderName: string;
|
|
338
332
|
subject: string;
|
|
339
333
|
};
|
|
340
|
-
savedModulesFolderName: string;
|
|
341
|
-
defaultModulesFolderName: string;
|
|
342
334
|
};
|
|
343
335
|
ui: {
|
|
344
336
|
showHeader: boolean;
|
|
@@ -434,8 +426,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
434
426
|
senderName: string;
|
|
435
427
|
subject: string;
|
|
436
428
|
};
|
|
437
|
-
savedModulesFolderName: string;
|
|
438
|
-
defaultModulesFolderName: string;
|
|
439
429
|
};
|
|
440
430
|
ui: {
|
|
441
431
|
showHeader: boolean;
|
|
@@ -531,8 +521,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
531
521
|
senderName: string;
|
|
532
522
|
subject: string;
|
|
533
523
|
};
|
|
534
|
-
savedModulesFolderName: string;
|
|
535
|
-
defaultModulesFolderName: string;
|
|
536
524
|
};
|
|
537
525
|
ui: {
|
|
538
526
|
showHeader: boolean;
|
|
@@ -628,8 +616,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
628
616
|
senderName: string;
|
|
629
617
|
subject: string;
|
|
630
618
|
};
|
|
631
|
-
savedModulesFolderName: string;
|
|
632
|
-
defaultModulesFolderName: string;
|
|
633
619
|
};
|
|
634
620
|
ui: {
|
|
635
621
|
showHeader: boolean;
|
|
@@ -725,8 +711,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
725
711
|
senderName: string;
|
|
726
712
|
subject: string;
|
|
727
713
|
};
|
|
728
|
-
savedModulesFolderName: string;
|
|
729
|
-
defaultModulesFolderName: string;
|
|
730
714
|
};
|
|
731
715
|
ui: {
|
|
732
716
|
showHeader: boolean;
|
|
@@ -822,8 +806,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
822
806
|
senderName: string;
|
|
823
807
|
subject: string;
|
|
824
808
|
};
|
|
825
|
-
savedModulesFolderName: string;
|
|
826
|
-
defaultModulesFolderName: string;
|
|
827
809
|
};
|
|
828
810
|
ui: {
|
|
829
811
|
showHeader: boolean;
|
|
@@ -919,8 +901,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
919
901
|
senderName: string;
|
|
920
902
|
subject: string;
|
|
921
903
|
};
|
|
922
|
-
savedModulesFolderName: string;
|
|
923
|
-
defaultModulesFolderName: string;
|
|
924
904
|
};
|
|
925
905
|
ui: {
|
|
926
906
|
showHeader: boolean;
|
|
@@ -1016,8 +996,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1016
996
|
senderName: string;
|
|
1017
997
|
subject: string;
|
|
1018
998
|
};
|
|
1019
|
-
savedModulesFolderName: string;
|
|
1020
|
-
defaultModulesFolderName: string;
|
|
1021
999
|
};
|
|
1022
1000
|
ui: {
|
|
1023
1001
|
showHeader: boolean;
|
|
@@ -1113,8 +1091,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1113
1091
|
senderName: string;
|
|
1114
1092
|
subject: string;
|
|
1115
1093
|
};
|
|
1116
|
-
savedModulesFolderName: string;
|
|
1117
|
-
defaultModulesFolderName: string;
|
|
1118
1094
|
};
|
|
1119
1095
|
ui: {
|
|
1120
1096
|
showHeader: boolean;
|
|
@@ -1210,8 +1186,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1210
1186
|
senderName: string;
|
|
1211
1187
|
subject: string;
|
|
1212
1188
|
};
|
|
1213
|
-
savedModulesFolderName: string;
|
|
1214
|
-
defaultModulesFolderName: string;
|
|
1215
1189
|
};
|
|
1216
1190
|
ui: {
|
|
1217
1191
|
showHeader: boolean;
|
|
@@ -1307,8 +1281,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1307
1281
|
senderName: string;
|
|
1308
1282
|
subject: string;
|
|
1309
1283
|
};
|
|
1310
|
-
savedModulesFolderName: string;
|
|
1311
|
-
defaultModulesFolderName: string;
|
|
1312
1284
|
};
|
|
1313
1285
|
ui: {
|
|
1314
1286
|
showHeader: boolean;
|
|
@@ -1404,8 +1376,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1404
1376
|
senderName: string;
|
|
1405
1377
|
subject: string;
|
|
1406
1378
|
};
|
|
1407
|
-
savedModulesFolderName: string;
|
|
1408
|
-
defaultModulesFolderName: string;
|
|
1409
1379
|
};
|
|
1410
1380
|
ui: {
|
|
1411
1381
|
showHeader: boolean;
|
|
@@ -1501,8 +1471,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1501
1471
|
senderName: string;
|
|
1502
1472
|
subject: string;
|
|
1503
1473
|
};
|
|
1504
|
-
savedModulesFolderName: string;
|
|
1505
|
-
defaultModulesFolderName: string;
|
|
1506
1474
|
};
|
|
1507
1475
|
ui: {
|
|
1508
1476
|
showHeader: boolean;
|
|
@@ -1598,8 +1566,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1598
1566
|
senderName: string;
|
|
1599
1567
|
subject: string;
|
|
1600
1568
|
};
|
|
1601
|
-
savedModulesFolderName: string;
|
|
1602
|
-
defaultModulesFolderName: string;
|
|
1603
1569
|
};
|
|
1604
1570
|
ui: {
|
|
1605
1571
|
showHeader: boolean;
|
|
@@ -1695,8 +1661,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
|
|
|
1695
1661
|
senderName: string;
|
|
1696
1662
|
subject: string;
|
|
1697
1663
|
};
|
|
1698
|
-
savedModulesFolderName: string;
|
|
1699
|
-
defaultModulesFolderName: string;
|
|
1700
1664
|
};
|
|
1701
1665
|
ui: {
|
|
1702
1666
|
showHeader: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
8
8
|
hasChanges: boolean;
|
|
9
9
|
isStripoInitialized: boolean;
|
|
10
10
|
templateId: string;
|
|
11
|
+
syncModulesEnabled: boolean;
|
|
11
12
|
}, {
|
|
12
13
|
isEditorToolbarVisible: (state: {
|
|
13
14
|
loadingStatus: boolean;
|
|
@@ -19,6 +20,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
19
20
|
hasChanges: boolean;
|
|
20
21
|
isStripoInitialized: boolean;
|
|
21
22
|
templateId: string;
|
|
23
|
+
syncModulesEnabled: boolean;
|
|
22
24
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
23
25
|
loadingStatus: boolean;
|
|
24
26
|
isCodeEditorOpen: boolean;
|
|
@@ -29,6 +31,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
29
31
|
hasChanges: boolean;
|
|
30
32
|
isStripoInitialized: boolean;
|
|
31
33
|
templateId: string;
|
|
34
|
+
syncModulesEnabled: boolean;
|
|
32
35
|
}>) => boolean;
|
|
33
36
|
isUndoButtonDisabled: (state: {
|
|
34
37
|
loadingStatus: boolean;
|
|
@@ -40,6 +43,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
40
43
|
hasChanges: boolean;
|
|
41
44
|
isStripoInitialized: boolean;
|
|
42
45
|
templateId: string;
|
|
46
|
+
syncModulesEnabled: boolean;
|
|
43
47
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
44
48
|
loadingStatus: boolean;
|
|
45
49
|
isCodeEditorOpen: boolean;
|
|
@@ -50,6 +54,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
50
54
|
hasChanges: boolean;
|
|
51
55
|
isStripoInitialized: boolean;
|
|
52
56
|
templateId: string;
|
|
57
|
+
syncModulesEnabled: boolean;
|
|
53
58
|
}>) => boolean;
|
|
54
59
|
isRedoButtonDisabled: (state: {
|
|
55
60
|
loadingStatus: boolean;
|
|
@@ -61,6 +66,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
61
66
|
hasChanges: boolean;
|
|
62
67
|
isStripoInitialized: boolean;
|
|
63
68
|
templateId: string;
|
|
69
|
+
syncModulesEnabled: boolean;
|
|
64
70
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
65
71
|
loadingStatus: boolean;
|
|
66
72
|
isCodeEditorOpen: boolean;
|
|
@@ -71,6 +77,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
71
77
|
hasChanges: boolean;
|
|
72
78
|
isStripoInitialized: boolean;
|
|
73
79
|
templateId: string;
|
|
80
|
+
syncModulesEnabled: boolean;
|
|
74
81
|
}>) => boolean;
|
|
75
82
|
isCodeEditorButtonDisabled: (state: {
|
|
76
83
|
loadingStatus: boolean;
|
|
@@ -82,6 +89,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
82
89
|
hasChanges: boolean;
|
|
83
90
|
isStripoInitialized: boolean;
|
|
84
91
|
templateId: string;
|
|
92
|
+
syncModulesEnabled: boolean;
|
|
85
93
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
86
94
|
loadingStatus: boolean;
|
|
87
95
|
isCodeEditorOpen: boolean;
|
|
@@ -92,6 +100,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
92
100
|
hasChanges: boolean;
|
|
93
101
|
isStripoInitialized: boolean;
|
|
94
102
|
templateId: string;
|
|
103
|
+
syncModulesEnabled: boolean;
|
|
95
104
|
}>) => boolean;
|
|
96
105
|
isPreviewButtonDisabled: (state: {
|
|
97
106
|
loadingStatus: boolean;
|
|
@@ -103,6 +112,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
103
112
|
hasChanges: boolean;
|
|
104
113
|
isStripoInitialized: boolean;
|
|
105
114
|
templateId: string;
|
|
115
|
+
syncModulesEnabled: boolean;
|
|
106
116
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
107
117
|
loadingStatus: boolean;
|
|
108
118
|
isCodeEditorOpen: boolean;
|
|
@@ -113,6 +123,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
113
123
|
hasChanges: boolean;
|
|
114
124
|
isStripoInitialized: boolean;
|
|
115
125
|
templateId: string;
|
|
126
|
+
syncModulesEnabled: boolean;
|
|
116
127
|
}>) => boolean;
|
|
117
128
|
isViewOptionsDisabled: (state: {
|
|
118
129
|
loadingStatus: boolean;
|
|
@@ -124,6 +135,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
124
135
|
hasChanges: boolean;
|
|
125
136
|
isStripoInitialized: boolean;
|
|
126
137
|
templateId: string;
|
|
138
|
+
syncModulesEnabled: boolean;
|
|
127
139
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
128
140
|
loadingStatus: boolean;
|
|
129
141
|
isCodeEditorOpen: boolean;
|
|
@@ -134,6 +146,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
134
146
|
hasChanges: boolean;
|
|
135
147
|
isStripoInitialized: boolean;
|
|
136
148
|
templateId: string;
|
|
149
|
+
syncModulesEnabled: boolean;
|
|
137
150
|
}>) => boolean;
|
|
138
151
|
isVersionHistoryButtonDisabled: (state: {
|
|
139
152
|
loadingStatus: boolean;
|
|
@@ -145,6 +158,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
145
158
|
hasChanges: boolean;
|
|
146
159
|
isStripoInitialized: boolean;
|
|
147
160
|
templateId: string;
|
|
161
|
+
syncModulesEnabled: boolean;
|
|
148
162
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
149
163
|
loadingStatus: boolean;
|
|
150
164
|
isCodeEditorOpen: boolean;
|
|
@@ -155,6 +169,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
155
169
|
hasChanges: boolean;
|
|
156
170
|
isStripoInitialized: boolean;
|
|
157
171
|
templateId: string;
|
|
172
|
+
syncModulesEnabled: boolean;
|
|
158
173
|
}>) => boolean;
|
|
159
174
|
isExportButtonDisabled: (state: {
|
|
160
175
|
loadingStatus: boolean;
|
|
@@ -166,6 +181,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
166
181
|
hasChanges: boolean;
|
|
167
182
|
isStripoInitialized: boolean;
|
|
168
183
|
templateId: string;
|
|
184
|
+
syncModulesEnabled: boolean;
|
|
169
185
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
170
186
|
loadingStatus: boolean;
|
|
171
187
|
isCodeEditorOpen: boolean;
|
|
@@ -176,6 +192,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
176
192
|
hasChanges: boolean;
|
|
177
193
|
isStripoInitialized: boolean;
|
|
178
194
|
templateId: string;
|
|
195
|
+
syncModulesEnabled: boolean;
|
|
179
196
|
}>) => boolean;
|
|
180
197
|
isSaveAsButtonDisabled: (state: {
|
|
181
198
|
loadingStatus: boolean;
|
|
@@ -187,6 +204,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
187
204
|
hasChanges: boolean;
|
|
188
205
|
isStripoInitialized: boolean;
|
|
189
206
|
templateId: string;
|
|
207
|
+
syncModulesEnabled: boolean;
|
|
190
208
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
191
209
|
loadingStatus: boolean;
|
|
192
210
|
isCodeEditorOpen: boolean;
|
|
@@ -197,6 +215,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
197
215
|
hasChanges: boolean;
|
|
198
216
|
isStripoInitialized: boolean;
|
|
199
217
|
templateId: string;
|
|
218
|
+
syncModulesEnabled: boolean;
|
|
200
219
|
}>) => boolean;
|
|
201
220
|
isTestButtonDisabled: (state: {
|
|
202
221
|
loadingStatus: boolean;
|
|
@@ -208,6 +227,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
208
227
|
hasChanges: boolean;
|
|
209
228
|
isStripoInitialized: boolean;
|
|
210
229
|
templateId: string;
|
|
230
|
+
syncModulesEnabled: boolean;
|
|
211
231
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
212
232
|
loadingStatus: boolean;
|
|
213
233
|
isCodeEditorOpen: boolean;
|
|
@@ -218,6 +238,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
218
238
|
hasChanges: boolean;
|
|
219
239
|
isStripoInitialized: boolean;
|
|
220
240
|
templateId: string;
|
|
241
|
+
syncModulesEnabled: boolean;
|
|
221
242
|
}>) => boolean;
|
|
222
243
|
isSaveButtonDisabled: (state: {
|
|
223
244
|
loadingStatus: boolean;
|
|
@@ -229,6 +250,7 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
229
250
|
hasChanges: boolean;
|
|
230
251
|
isStripoInitialized: boolean;
|
|
231
252
|
templateId: string;
|
|
253
|
+
syncModulesEnabled: boolean;
|
|
232
254
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
233
255
|
loadingStatus: boolean;
|
|
234
256
|
isCodeEditorOpen: boolean;
|
|
@@ -239,5 +261,6 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
239
261
|
hasChanges: boolean;
|
|
240
262
|
isStripoInitialized: boolean;
|
|
241
263
|
templateId: string;
|
|
264
|
+
syncModulesEnabled: boolean;
|
|
242
265
|
}>) => boolean;
|
|
243
266
|
}, {}>;
|
|
@@ -17,24 +17,6 @@ ue-notifications-container .alert-message-wrapper {
|
|
|
17
17
|
padding: 16px 24px;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
ue-notifications-container .alert-message-wrapper.info,
|
|
21
|
-
ue-notifications-container .alert-message-wrapper.loader {
|
|
22
|
-
background-color: var(--guido-color-background-toaster-info) !important;
|
|
23
|
-
color: inherit;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.alert-message-wrapper .alert-message-main {
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
ue-notifications-container ue-caption .caption {
|
|
31
|
-
color: var(--guido-color-white) !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
ue-block-thumb-hint {
|
|
35
|
-
text-align: left;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
20
|
ue-notifications-container .alert-message-wrapper .alert-message-main .alert-message-content {
|
|
39
21
|
width: calc(100% - 64px);
|
|
40
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = `ue-emoji .emoji-tabs .active-smile-tab {
|
|
2
2
|
border-color: var(--guido-color-primary-500);
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -17,11 +17,7 @@ ue-insert-table .template-cell {
|
|
|
17
17
|
border: 1px solid var(--guido-color-gray-300);
|
|
18
18
|
box-shadow: var(--guido-box-shadow);
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
.ue-popover.dark-tiny {
|
|
22
|
-
text-align: left !important;
|
|
23
|
-
}
|
|
24
20
|
`;
|
|
25
21
|
export {
|
|
26
|
-
|
|
22
|
+
o as default
|
|
27
23
|
};
|
|
@@ -10,7 +10,6 @@ const o = `:host {
|
|
|
10
10
|
--guido-color-gray-1: #F0F0F0;
|
|
11
11
|
--guido-color-gray-0: #F9F9F9;
|
|
12
12
|
--guido-color-neutral-800: #222938;
|
|
13
|
-
--guido-color-neutral-700: #2C3546;
|
|
14
13
|
--guido-color-neutral-200: #DCDFE6;
|
|
15
14
|
--guido-color-neutral-100: #EFF2F4;
|
|
16
15
|
--guido-color-danger-300: #e84342;
|
|
@@ -26,7 +25,6 @@ const o = `:host {
|
|
|
26
25
|
--guido-color-border-onpage-message-error: var(--guido-color-danger-500);
|
|
27
26
|
--guido-color-background-toaster-success: #128745;
|
|
28
27
|
--guido-color-background-toaster-error: var(--guido-color-danger-500);
|
|
29
|
-
--guido-color-background-toaster-info: var(--guido-color-neutral-700);
|
|
30
28
|
--guido-color-background-toaster-warn: #D37400;
|
|
31
29
|
}
|
|
32
30
|
`;
|
package/dist/stores/editor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.9eddc27",
|
|
4
4
|
"description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
|
|
5
5
|
"main": "./dist/guido.umd.cjs",
|
|
6
6
|
"module": "./dist/library.js",
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
const e = "Your version has been restored successfully.", o = "Restore Image", t = "Cancel", a = {
|
|
2
|
-
"The image has been deleted.": "The image has been deleted successfully.",
|
|
3
|
-
"Aim for the drop zone!": "Drag and drop your image inside the upload area to continue.",
|
|
4
|
-
"Image processing": "The image upload is in progress. This may take some time.",
|
|
5
|
-
"Can not get image from an external source.": "The image couldn’t be uploaded from the URL. Check and update your URL to continue.",
|
|
6
|
-
"The selected basic color cannot be added to My Palette. Please choose a different one from the color picker.": "The selected color is already added to My Palette. Pick a different color to add.",
|
|
7
|
-
"Copied to clipboard": "Your Image URL has been copied to clipboard successfully.",
|
|
8
|
-
"The file {fileName} has wrong format {fileFormat}": "Upload a PNG, JPG, JPEG, or GIF image to continue.",
|
|
9
|
-
"The file {fileName} size exceeds the allowed size {maxFileSize}": "Upload an image up to 10 MB to continue.",
|
|
10
|
-
"Image link invalid": "Enter a valid Image Link to continue.",
|
|
11
|
-
"Image upload failed": "Upload a valid image to continue.",
|
|
12
|
-
"Image upload error": "Upload a valid image to continue.",
|
|
13
|
-
"Error message from video service": "The video thumbnail couldn't be loaded. Check and update your Video Link to continue.",
|
|
14
|
-
"Error message from image processing": "The Play Button couldn't be added to the Video Thumbnail right now. You can select another Play Button and try again.",
|
|
15
|
-
"The AI is fine-tuning your result... Please wait! This may take up to 1 minute.": "AI content generation is in progress. This may take some time.",
|
|
16
|
-
"Can not complete AI request. Try again later": "AI content generation couldn't be completed right now. You can reload the editor or wait for a while and try again.",
|
|
17
|
-
"Http failure response for https://plugins.stripo.email/api/v1/documents/v3/documents/link: 400 OK": "Upload a valid image to continue.",
|
|
18
|
-
"Http failure response for https://plugins.stripo.email/api/v1/documents/v3/documents/base64: 400 OK": "The video thumbnail couldn’t be uploaded from the URL. Check and update your URL to continue.",
|
|
19
|
-
"AI is processing your request": "AI content generation is in progress. This may take some time.",
|
|
20
|
-
"Whoops, something went wrong. Our experts are working to resolve this issue. Try again later please": "Your action couldn't be done right now. You can reload the editor or wait for a while and try again.",
|
|
21
|
-
"Unable to paste text. Limit is 256kB. Please trim it down.": "Add a text to Text Block of up to 256KB to continue.",
|
|
22
|
-
"Banner src included merge tag": "The image upload is in progress. This may take some time.",
|
|
23
|
-
"Module deletion error": "The module couldn't be deleted right now. You can wait for a while and try again.",
|
|
24
|
-
"Can`t delete the module": "The module couldn't be deleted right now. You can wait for a while and try again.",
|
|
25
|
-
"Block action error": "Your content couldn't added right now. You can wait for a while and try again.",
|
|
26
|
-
history_revert_to_patch: e,
|
|
27
|
-
"There is no connection to the server. Please reload the page or click 'Reconnect' to continue.": "Your server connection is lost. Reload the page to continue.",
|
|
28
|
-
"Reconnecting...": "Server reconnection is in progress. This may take some time.",
|
|
29
|
-
"Failed to load version history. Contact support for assistance.": "Your version couldn't be restored right now. You can wait for a while and try again.",
|
|
30
|
-
"Connection restored": "Server connection has been restored successfully.",
|
|
31
|
-
"Invalid base64 image format. Please replace the image link.": "This image can’t be edited.",
|
|
32
|
-
"Timer update error": "Your action couldn't be undone right now. You can reload the editor or wait for a while and try again.",
|
|
33
|
-
"Cannot edit base64 images": "This image type can't be edited.",
|
|
34
|
-
"Failed to copy URL": "Your Image Link couldn't be copied to clipboard right now. You can wait for a while and try again.",
|
|
35
|
-
"Error message from image service": "The image couldn’t be uploaded from the URL. Check and update your URL to continue.",
|
|
36
|
-
"Error message from image preload": "The image couldn't be loaded from the URL you entered. Check and update your Image Link to continue.",
|
|
37
|
-
"An error has occurred. Please report the error code to support: {trace_id} and reload the editor. Also, send a bug report with email logs to the development team.": "Your design couldn't be loaded right now. You can reload the page and try again.",
|
|
38
|
-
"The number of requests within your session has been exceeded. Please wait.": "Your requests are being processed. You can wait for a while to take new actions.",
|
|
39
|
-
"An error has occurred. Please report the error code to support.": "Your design couldn't be loaded right now. You can reload the page and try again.",
|
|
40
|
-
"Warning: custom fonts": "Use custom fonts up to 10 to continue.",
|
|
41
|
-
"Image recovery error": "The image couldn't be restored right now. You can wait for a while and try again.",
|
|
42
|
-
"Image moved to trash": "The image has been deleted successfully.",
|
|
43
|
-
Recover: o,
|
|
44
|
-
Stop: t,
|
|
45
|
-
"Can`t delete the image": "The image couldn’t be deleted right now. You can wait for a while and try again.",
|
|
46
|
-
"Can`t restore the image": "The image couldn’t be restored right now. You can wait for a while and try again.",
|
|
47
|
-
"Image delete error": "The image couldn't be deleted right now. You can wait for a while and try again.",
|
|
48
|
-
"The maximum number of users who can simultaneously work with the sheet has been exceeded. Maximum allowed number: {{max_users_per_model}}": "You can’t edit the design right now as the maximum number of users are currently editing it.",
|
|
49
|
-
"The monthly limit of Timer basic block is reached. Please change the subscription pricing plan to activate new quotas": "You have reached your monthly limit of Timer Blocks. You can contact your Account Director for more information."
|
|
50
|
-
};
|
|
51
|
-
export {
|
|
52
|
-
o as Recover,
|
|
53
|
-
t as Stop,
|
|
54
|
-
a as default,
|
|
55
|
-
e as history_revert_to_patch
|
|
56
|
-
};
|