@useinsider/guido 3.18.2-beta.545d1bd → 3.18.2-beta.687c399
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 +14 -13
- package/dist/components/Guido.vue.js +7 -7
- package/dist/components/Guido.vue2.js +75 -74
- package/dist/components/organisms/AutoSaveController.vue2.js +10 -8
- 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 +36 -52
- 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 +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +32 -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 +9 -8
- 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 +54 -36
- package/dist/composables/useAccessibilityApi.js +35 -0
- package/dist/composables/useActionsApi.js +20 -24
- package/dist/composables/useCortexBlueprintBridge.js +54 -115
- package/dist/composables/useCustomInterfaceAppearance.js +29 -28
- package/dist/composables/useEmailTemplateApplier.js +50 -93
- package/dist/config/i18n/en/labels.json.js +36 -4
- package/dist/config/i18n/en/tooltips.json.js +2 -1
- package/dist/guido.css +1 -1
- package/dist/sprite.svg +6 -0
- package/dist/src/@types/config/schemas.d.ts +2 -0
- package/dist/src/components/organisms/AutoSaveController.vue.d.ts +3 -1
- package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +1 -3
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +1 -3
- package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +2 -0
- package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +2 -0
- package/dist/src/composables/useAccessibilityApi.d.ts +15 -0
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +2 -0
- package/dist/src/composables/useCortexBlueprintBridge.d.ts +3 -4
- package/dist/src/composables/useEmailTemplateApplier.d.ts +2 -22
- package/dist/src/stores/config.d.ts +18 -0
- package/dist/src/stores/editor.d.ts +107 -0
- package/dist/src/stores/guido-email-editor.d.ts +7 -29
- package/dist/src/stores/onboarding.d.ts +717 -2
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +5 -0
- package/dist/static/styles/components/accessibility.css.js +234 -0
- package/dist/static/styles/variables.css.js +2 -0
- package/dist/stores/editor.js +7 -4
- package/dist/stores/guido-email-editor.js +1 -5
- package/dist/stores/onboarding.js +68 -46
- package/dist/utils/timeUtil.js +6 -17
- package/package.json +1 -1
- package/dist/components/organisms/header/AutoSaveToggle.vue.js +0 -22
- package/dist/components/organisms/header/AutoSaveToggle.vue2.js +0 -19
- /package/dist/src/components/organisms/header/{AutoSaveToggle.vue.d.ts → AutoSaveStatus.vue.d.ts} +0 -0
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import type { ColorVisionDeficiency } from '@@/Types/api/accessibility-api';
|
|
1
2
|
export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEditor", {
|
|
2
3
|
loadingStatus: boolean;
|
|
3
4
|
isCodeEditorOpen: boolean;
|
|
4
5
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
5
6
|
isVersionHistoryOpen: boolean;
|
|
6
7
|
isPreviewModeOpen: boolean;
|
|
8
|
+
isAccessibilityTestingOpen: boolean;
|
|
9
|
+
imagesHidden: boolean;
|
|
10
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
7
11
|
editorVisualMode: string;
|
|
8
12
|
hasChanges: boolean;
|
|
9
13
|
isStripoInitialized: boolean;
|
|
@@ -17,6 +21,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
17
21
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
18
22
|
isVersionHistoryOpen: boolean;
|
|
19
23
|
isPreviewModeOpen: boolean;
|
|
24
|
+
isAccessibilityTestingOpen: boolean;
|
|
25
|
+
imagesHidden: boolean;
|
|
26
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
20
27
|
editorVisualMode: string;
|
|
21
28
|
hasChanges: boolean;
|
|
22
29
|
isStripoInitialized: boolean;
|
|
@@ -29,6 +36,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
29
36
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
30
37
|
isVersionHistoryOpen: boolean;
|
|
31
38
|
isPreviewModeOpen: boolean;
|
|
39
|
+
isAccessibilityTestingOpen: boolean;
|
|
40
|
+
imagesHidden: boolean;
|
|
41
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
32
42
|
editorVisualMode: string;
|
|
33
43
|
hasChanges: boolean;
|
|
34
44
|
isStripoInitialized: boolean;
|
|
@@ -42,6 +52,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
42
52
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
43
53
|
isVersionHistoryOpen: boolean;
|
|
44
54
|
isPreviewModeOpen: boolean;
|
|
55
|
+
isAccessibilityTestingOpen: boolean;
|
|
56
|
+
imagesHidden: boolean;
|
|
57
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
45
58
|
editorVisualMode: string;
|
|
46
59
|
hasChanges: boolean;
|
|
47
60
|
isStripoInitialized: boolean;
|
|
@@ -54,6 +67,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
54
67
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
55
68
|
isVersionHistoryOpen: boolean;
|
|
56
69
|
isPreviewModeOpen: boolean;
|
|
70
|
+
isAccessibilityTestingOpen: boolean;
|
|
71
|
+
imagesHidden: boolean;
|
|
72
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
57
73
|
editorVisualMode: string;
|
|
58
74
|
hasChanges: boolean;
|
|
59
75
|
isStripoInitialized: boolean;
|
|
@@ -67,6 +83,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
67
83
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
68
84
|
isVersionHistoryOpen: boolean;
|
|
69
85
|
isPreviewModeOpen: boolean;
|
|
86
|
+
isAccessibilityTestingOpen: boolean;
|
|
87
|
+
imagesHidden: boolean;
|
|
88
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
70
89
|
editorVisualMode: string;
|
|
71
90
|
hasChanges: boolean;
|
|
72
91
|
isStripoInitialized: boolean;
|
|
@@ -79,6 +98,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
79
98
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
80
99
|
isVersionHistoryOpen: boolean;
|
|
81
100
|
isPreviewModeOpen: boolean;
|
|
101
|
+
isAccessibilityTestingOpen: boolean;
|
|
102
|
+
imagesHidden: boolean;
|
|
103
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
82
104
|
editorVisualMode: string;
|
|
83
105
|
hasChanges: boolean;
|
|
84
106
|
isStripoInitialized: boolean;
|
|
@@ -92,6 +114,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
92
114
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
93
115
|
isVersionHistoryOpen: boolean;
|
|
94
116
|
isPreviewModeOpen: boolean;
|
|
117
|
+
isAccessibilityTestingOpen: boolean;
|
|
118
|
+
imagesHidden: boolean;
|
|
119
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
95
120
|
editorVisualMode: string;
|
|
96
121
|
hasChanges: boolean;
|
|
97
122
|
isStripoInitialized: boolean;
|
|
@@ -104,6 +129,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
104
129
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
105
130
|
isVersionHistoryOpen: boolean;
|
|
106
131
|
isPreviewModeOpen: boolean;
|
|
132
|
+
isAccessibilityTestingOpen: boolean;
|
|
133
|
+
imagesHidden: boolean;
|
|
134
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
107
135
|
editorVisualMode: string;
|
|
108
136
|
hasChanges: boolean;
|
|
109
137
|
isStripoInitialized: boolean;
|
|
@@ -117,6 +145,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
117
145
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
118
146
|
isVersionHistoryOpen: boolean;
|
|
119
147
|
isPreviewModeOpen: boolean;
|
|
148
|
+
isAccessibilityTestingOpen: boolean;
|
|
149
|
+
imagesHidden: boolean;
|
|
150
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
120
151
|
editorVisualMode: string;
|
|
121
152
|
hasChanges: boolean;
|
|
122
153
|
isStripoInitialized: boolean;
|
|
@@ -129,6 +160,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
129
160
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
130
161
|
isVersionHistoryOpen: boolean;
|
|
131
162
|
isPreviewModeOpen: boolean;
|
|
163
|
+
isAccessibilityTestingOpen: boolean;
|
|
164
|
+
imagesHidden: boolean;
|
|
165
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
132
166
|
editorVisualMode: string;
|
|
133
167
|
hasChanges: boolean;
|
|
134
168
|
isStripoInitialized: boolean;
|
|
@@ -142,6 +176,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
142
176
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
143
177
|
isVersionHistoryOpen: boolean;
|
|
144
178
|
isPreviewModeOpen: boolean;
|
|
179
|
+
isAccessibilityTestingOpen: boolean;
|
|
180
|
+
imagesHidden: boolean;
|
|
181
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
145
182
|
editorVisualMode: string;
|
|
146
183
|
hasChanges: boolean;
|
|
147
184
|
isStripoInitialized: boolean;
|
|
@@ -154,6 +191,40 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
154
191
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
155
192
|
isVersionHistoryOpen: boolean;
|
|
156
193
|
isPreviewModeOpen: boolean;
|
|
194
|
+
isAccessibilityTestingOpen: boolean;
|
|
195
|
+
imagesHidden: boolean;
|
|
196
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
197
|
+
editorVisualMode: string;
|
|
198
|
+
hasChanges: boolean;
|
|
199
|
+
isStripoInitialized: boolean;
|
|
200
|
+
templateId: string;
|
|
201
|
+
syncModulesEnabled: boolean;
|
|
202
|
+
trackIdSessionFloor: number;
|
|
203
|
+
}>) => boolean;
|
|
204
|
+
isNormalMode: (state: {
|
|
205
|
+
loadingStatus: boolean;
|
|
206
|
+
isCodeEditorOpen: boolean;
|
|
207
|
+
isSaveAsTemplateDrawerOpen: boolean;
|
|
208
|
+
isVersionHistoryOpen: boolean;
|
|
209
|
+
isPreviewModeOpen: boolean;
|
|
210
|
+
isAccessibilityTestingOpen: boolean;
|
|
211
|
+
imagesHidden: boolean;
|
|
212
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
213
|
+
editorVisualMode: string;
|
|
214
|
+
hasChanges: boolean;
|
|
215
|
+
isStripoInitialized: boolean;
|
|
216
|
+
templateId: string;
|
|
217
|
+
syncModulesEnabled: boolean;
|
|
218
|
+
trackIdSessionFloor: number;
|
|
219
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
220
|
+
loadingStatus: boolean;
|
|
221
|
+
isCodeEditorOpen: boolean;
|
|
222
|
+
isSaveAsTemplateDrawerOpen: boolean;
|
|
223
|
+
isVersionHistoryOpen: boolean;
|
|
224
|
+
isPreviewModeOpen: boolean;
|
|
225
|
+
isAccessibilityTestingOpen: boolean;
|
|
226
|
+
imagesHidden: boolean;
|
|
227
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
157
228
|
editorVisualMode: string;
|
|
158
229
|
hasChanges: boolean;
|
|
159
230
|
isStripoInitialized: boolean;
|
|
@@ -167,6 +238,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
167
238
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
168
239
|
isVersionHistoryOpen: boolean;
|
|
169
240
|
isPreviewModeOpen: boolean;
|
|
241
|
+
isAccessibilityTestingOpen: boolean;
|
|
242
|
+
imagesHidden: boolean;
|
|
243
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
170
244
|
editorVisualMode: string;
|
|
171
245
|
hasChanges: boolean;
|
|
172
246
|
isStripoInitialized: boolean;
|
|
@@ -179,6 +253,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
179
253
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
180
254
|
isVersionHistoryOpen: boolean;
|
|
181
255
|
isPreviewModeOpen: boolean;
|
|
256
|
+
isAccessibilityTestingOpen: boolean;
|
|
257
|
+
imagesHidden: boolean;
|
|
258
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
182
259
|
editorVisualMode: string;
|
|
183
260
|
hasChanges: boolean;
|
|
184
261
|
isStripoInitialized: boolean;
|
|
@@ -192,6 +269,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
192
269
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
193
270
|
isVersionHistoryOpen: boolean;
|
|
194
271
|
isPreviewModeOpen: boolean;
|
|
272
|
+
isAccessibilityTestingOpen: boolean;
|
|
273
|
+
imagesHidden: boolean;
|
|
274
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
195
275
|
editorVisualMode: string;
|
|
196
276
|
hasChanges: boolean;
|
|
197
277
|
isStripoInitialized: boolean;
|
|
@@ -204,6 +284,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
204
284
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
205
285
|
isVersionHistoryOpen: boolean;
|
|
206
286
|
isPreviewModeOpen: boolean;
|
|
287
|
+
isAccessibilityTestingOpen: boolean;
|
|
288
|
+
imagesHidden: boolean;
|
|
289
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
207
290
|
editorVisualMode: string;
|
|
208
291
|
hasChanges: boolean;
|
|
209
292
|
isStripoInitialized: boolean;
|
|
@@ -217,6 +300,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
217
300
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
218
301
|
isVersionHistoryOpen: boolean;
|
|
219
302
|
isPreviewModeOpen: boolean;
|
|
303
|
+
isAccessibilityTestingOpen: boolean;
|
|
304
|
+
imagesHidden: boolean;
|
|
305
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
220
306
|
editorVisualMode: string;
|
|
221
307
|
hasChanges: boolean;
|
|
222
308
|
isStripoInitialized: boolean;
|
|
@@ -229,6 +315,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
229
315
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
230
316
|
isVersionHistoryOpen: boolean;
|
|
231
317
|
isPreviewModeOpen: boolean;
|
|
318
|
+
isAccessibilityTestingOpen: boolean;
|
|
319
|
+
imagesHidden: boolean;
|
|
320
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
232
321
|
editorVisualMode: string;
|
|
233
322
|
hasChanges: boolean;
|
|
234
323
|
isStripoInitialized: boolean;
|
|
@@ -242,6 +331,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
242
331
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
243
332
|
isVersionHistoryOpen: boolean;
|
|
244
333
|
isPreviewModeOpen: boolean;
|
|
334
|
+
isAccessibilityTestingOpen: boolean;
|
|
335
|
+
imagesHidden: boolean;
|
|
336
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
245
337
|
editorVisualMode: string;
|
|
246
338
|
hasChanges: boolean;
|
|
247
339
|
isStripoInitialized: boolean;
|
|
@@ -254,6 +346,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
254
346
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
255
347
|
isVersionHistoryOpen: boolean;
|
|
256
348
|
isPreviewModeOpen: boolean;
|
|
349
|
+
isAccessibilityTestingOpen: boolean;
|
|
350
|
+
imagesHidden: boolean;
|
|
351
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
257
352
|
editorVisualMode: string;
|
|
258
353
|
hasChanges: boolean;
|
|
259
354
|
isStripoInitialized: boolean;
|
|
@@ -267,6 +362,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
267
362
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
268
363
|
isVersionHistoryOpen: boolean;
|
|
269
364
|
isPreviewModeOpen: boolean;
|
|
365
|
+
isAccessibilityTestingOpen: boolean;
|
|
366
|
+
imagesHidden: boolean;
|
|
367
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
270
368
|
editorVisualMode: string;
|
|
271
369
|
hasChanges: boolean;
|
|
272
370
|
isStripoInitialized: boolean;
|
|
@@ -279,6 +377,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
279
377
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
280
378
|
isVersionHistoryOpen: boolean;
|
|
281
379
|
isPreviewModeOpen: boolean;
|
|
380
|
+
isAccessibilityTestingOpen: boolean;
|
|
381
|
+
imagesHidden: boolean;
|
|
382
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
282
383
|
editorVisualMode: string;
|
|
283
384
|
hasChanges: boolean;
|
|
284
385
|
isStripoInitialized: boolean;
|
|
@@ -292,6 +393,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
292
393
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
293
394
|
isVersionHistoryOpen: boolean;
|
|
294
395
|
isPreviewModeOpen: boolean;
|
|
396
|
+
isAccessibilityTestingOpen: boolean;
|
|
397
|
+
imagesHidden: boolean;
|
|
398
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
295
399
|
editorVisualMode: string;
|
|
296
400
|
hasChanges: boolean;
|
|
297
401
|
isStripoInitialized: boolean;
|
|
@@ -304,6 +408,9 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"guidoEdito
|
|
|
304
408
|
isSaveAsTemplateDrawerOpen: boolean;
|
|
305
409
|
isVersionHistoryOpen: boolean;
|
|
306
410
|
isPreviewModeOpen: boolean;
|
|
411
|
+
isAccessibilityTestingOpen: boolean;
|
|
412
|
+
imagesHidden: boolean;
|
|
413
|
+
colorVisionDeficiency: ColorVisionDeficiency;
|
|
307
414
|
editorVisualMode: string;
|
|
308
415
|
hasChanges: boolean;
|
|
309
416
|
isStripoInitialized: boolean;
|
|
@@ -1,28 +1,16 @@
|
|
|
1
|
-
/** Terminal outcome of an editor write, keyed by `${blueprintId}:${version}`. */
|
|
2
|
-
export interface ApplyAck {
|
|
3
|
-
status: 'applied' | 'failed';
|
|
4
|
-
/** The `applyRequestedAt` of the click this ack answers — lets cortex drop stale acks. */
|
|
5
|
-
requestedAt: number;
|
|
6
|
-
/** Strictly increasing per key, so two acks in the same millisecond still order. */
|
|
7
|
-
ackAt: number;
|
|
8
|
-
/** Stringified — cortex JSON-clones store-derived payloads, an Error would not survive. */
|
|
9
|
-
error?: string;
|
|
10
|
-
}
|
|
11
1
|
/**
|
|
12
2
|
* Outbound contract Guido publishes to the host's shared Pinia singleton so
|
|
13
3
|
* cortex-fe can pick up the current editor state and forward it as
|
|
14
4
|
* `clientState.editor` on the next chat-stream POST.
|
|
15
5
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* view of it. cortex-fe reads it through that public path; adding an action or
|
|
19
|
-
* a getter that cortex needs would silently break that read. Keep it
|
|
20
|
-
* state-only. (`hasSnapshot` stays — cortex does not read it.)
|
|
6
|
+
* State + getters only — `useGuidoStateBridge` writes via `$patch`, no actions
|
|
7
|
+
* live here (architecture invariant).
|
|
21
8
|
*
|
|
22
|
-
* Store id `guidoEmailEditor` is cross-MFE
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
9
|
+
* Store id `guidoEmailEditor` is cross-MFE: cortex-fe reads it via
|
|
10
|
+
* `pinia._s.get('guidoEmailEditor')` at runtime. The internal Guido editor
|
|
11
|
+
* store keeps id `guidoEditor` — these are intentionally separate. The
|
|
12
|
+
* internal store carries UI state that cortex-fe should not see; this public
|
|
13
|
+
* store carries the contract Guido is willing to share.
|
|
26
14
|
*/
|
|
27
15
|
export declare const useGuidoEmailEditorStore: import("pinia").StoreDefinition<"guidoEmailEditor", {
|
|
28
16
|
/** Current Stripo HTML — stripe tables only, no DOCTYPE/wrapper. */
|
|
@@ -33,10 +21,6 @@ export declare const useGuidoEmailEditorStore: import("pinia").StoreDefinition<"
|
|
|
33
21
|
lastUpdatedAt: number;
|
|
34
22
|
/** Template id from the editor config, for cortex-fe to scope per-template. */
|
|
35
23
|
templateId: string;
|
|
36
|
-
/** True while a mounted Guido bridge is consuming the chat store. Gates cortex's Apply button. */
|
|
37
|
-
bridgeActive: boolean;
|
|
38
|
-
/** `${blueprintId}:${version}` → terminal outcome of the editor write, written only after it settles. */
|
|
39
|
-
applyAcks: Record<string, ApplyAck>;
|
|
40
24
|
}, {
|
|
41
25
|
/** True once the bridge has published at least one snapshot. */
|
|
42
26
|
hasSnapshot: (state: {
|
|
@@ -44,8 +28,6 @@ export declare const useGuidoEmailEditorStore: import("pinia").StoreDefinition<"
|
|
|
44
28
|
css: string;
|
|
45
29
|
lastUpdatedAt: number;
|
|
46
30
|
templateId: string;
|
|
47
|
-
bridgeActive: boolean;
|
|
48
|
-
applyAcks: Record<string, ApplyAck>;
|
|
49
31
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
50
32
|
/** Current Stripo HTML — stripe tables only, no DOCTYPE/wrapper. */
|
|
51
33
|
html: string;
|
|
@@ -55,9 +37,5 @@ export declare const useGuidoEmailEditorStore: import("pinia").StoreDefinition<"
|
|
|
55
37
|
lastUpdatedAt: number;
|
|
56
38
|
/** Template id from the editor config, for cortex-fe to scope per-template. */
|
|
57
39
|
templateId: string;
|
|
58
|
-
/** True while a mounted Guido bridge is consuming the chat store. Gates cortex's Apply button. */
|
|
59
|
-
bridgeActive: boolean;
|
|
60
|
-
/** `${blueprintId}:${version}` → terminal outcome of the editor write, written only after it settles. */
|
|
61
|
-
applyAcks: Record<string, ApplyAck>;
|
|
62
40
|
}>) => boolean;
|
|
63
41
|
}, {}>;
|