@useinsider/guido 1.0.2-beta.3ff43aa → 1.0.2-beta.42b5b4a
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 -43
- package/dist/@types/events.d.ts +0 -6
- package/dist/@types/generic.d.ts +0 -5
- package/dist/components/Guido.vue.d.ts +0 -3
- package/dist/components/Guido.vue.js +10 -10
- package/dist/components/Guido.vue2.js +63 -80
- package/dist/components/organisms/LoadingWrapper.vue.js +1 -1
- package/dist/components/organisms/email-preview/amp/AmpToggle.vue.js +2 -3
- package/dist/components/organisms/email-preview/amp/AmpToggle.vue2.js +15 -14
- package/dist/components/organisms/header/HeaderWrapper.vue.d.ts +1 -3
- package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +9 -15
- package/dist/components/organisms/header/RightSlot.vue.d.ts +1 -3
- package/dist/components/organisms/header/RightSlot.vue.js +3 -5
- package/dist/components/organisms/header/RightSlot.vue2.js +27 -25
- package/dist/components/organisms/header/ViewOptions.vue.js +11 -11
- package/dist/components/organisms/header/ViewOptions.vue2.js +5 -5
- package/dist/components/organisms/header/version-history/ViewOptions.vue.js +11 -11
- package/dist/components/organisms/header/version-history/ViewOptions.vue2.js +5 -5
- package/dist/components/organisms/onboarding/AMPOnboarding.vue.js +13 -13
- package/dist/components/organisms/onboarding/AMPOnboarding.vue2.js +23 -21
- package/dist/components/organisms/onboarding/GenericOnboarding.vue.js +14 -14
- package/dist/components/organisms/onboarding/GenericOnboarding.vue2.js +28 -26
- package/dist/components/organisms/onboarding/NewVersionPopup.vue.js +1 -1
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +9 -11
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +14 -37
- package/dist/components/organisms/onboarding/TextBlockOnboarding.vue.js +13 -13
- package/dist/components/organisms/onboarding/TextBlockOnboarding.vue2.js +28 -38
- package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue.js +14 -14
- package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue2.js +23 -21
- package/dist/components/wrappers/WpDrawer.vue.d.ts +1 -1
- package/dist/components/wrappers/WpModal.vue.d.ts +1 -1
- package/dist/composables/useCustomInterfaceAppearance.js +18 -22
- package/dist/composables/useHtmlCompiler.js +9 -17
- package/dist/composables/useOnboardingApi.d.ts +4 -0
- package/dist/composables/useOnboardingApi.js +23 -0
- package/dist/composables/usePartner.d.ts +0 -1
- package/dist/composables/usePartner.js +9 -16
- package/dist/composables/usePreviewMode.js +15 -14
- package/dist/composables/useStripo.js +31 -32
- package/dist/composables/useStripoEventHandler.js +8 -8
- package/dist/composables/useToaster.js +17 -17
- package/dist/config/compiler/outlookCompilerRules.d.ts +0 -2
- package/dist/enums/defaults.d.ts +1 -6
- package/dist/enums/defaults.js +10 -47
- package/dist/guido.css +1 -1
- package/dist/static/styles/components/alert-message.css.js +2 -32
- package/dist/static/styles/components/button.css.js +2 -32
- package/dist/static/styles/components/wide-panel.css.js +0 -13
- package/dist/static/styles/variables.css.js +0 -10
- package/dist/stores/dynamic-content.d.ts +0 -12
- package/dist/stores/dynamic-content.js +6 -7
- package/dist/stores/onboarding.d.ts +1027 -97
- package/dist/stores/onboarding.js +61 -48
- package/dist/stores/preview.js +14 -6
- package/dist/utils/genericUtil.js +6 -9
- package/dist/utils/templatePreparation.js +14 -21
- package/package.json +2 -4
- package/dist/composables/useHtmlValidator.d.ts +0 -3
- package/dist/composables/useHtmlValidator.js +0 -120
- package/dist/composables/useRecommendation.d.ts +0 -19
- package/dist/composables/useRecommendation.js +0 -27
- package/dist/composables/useSave.d.ts +0 -4
- package/dist/composables/useSave.js +0 -15
- package/dist/config/compiler/outlookCompilerRules.js +0 -36
- package/dist/config/compiler/recommendationCompilerRules.d.ts +0 -2
- package/dist/config/compiler/recommendationCompilerRules.js +0 -83
- package/dist/config/compiler/socialCompilerRules.d.ts +0 -2
- package/dist/config/compiler/socialCompilerRules.js +0 -21
- package/dist/config/compiler/unsubscribeCompilerRules.d.ts +0 -2
- package/dist/config/compiler/unsubscribeCompilerRules.js +0 -64
- package/dist/enums/html-validator.d.ts +0 -6
- package/dist/enums/html-validator.js +0 -7
- package/dist/enums/recommendation.d.ts +0 -54
- package/dist/enums/recommendation.js +0 -56
- package/dist/enums/unsubscribe.d.ts +0 -15
- package/dist/enums/unsubscribe.js +0 -17
- package/dist/mock/api/validator.d.ts +0 -2
- package/dist/services/onboardingApi.d.ts +0 -4
- package/dist/services/onboardingApi.js +0 -23
- package/dist/static/styles/components/notification.css.js +0 -55
- package/dist/static/styles/components/popup.css.js +0 -68
- package/dist/static/styles/customEditorStyle.css.js +0 -24
- package/dist/stores/recommendation.d.ts +0 -10
- package/dist/stores/recommendation.js +0 -9
- package/dist/stores/unsubscribe.d.ts +0 -8
- package/dist/stores/unsubscribe.js +0 -9
|
@@ -1,6 +1,737 @@
|
|
|
1
|
-
import type { OnboardingCardConfig
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import type { OnboardingCardConfig } from '@@/Types/onboarding';
|
|
2
|
+
export type OnboardingType = 'newVersionPopup' | 'genericOnboarding' | 'textBlockOnboarding' | 'versionHistoryOnboarding' | 'ampOnboarding';
|
|
3
|
+
export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboarding", {
|
|
4
|
+
onboardings: {
|
|
5
|
+
newVersionPopup: {
|
|
6
|
+
cardIndex: number;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
config: OnboardingCardConfig[];
|
|
9
|
+
};
|
|
10
|
+
genericOnboarding: {
|
|
11
|
+
cardIndex: number;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
config: OnboardingCardConfig[];
|
|
14
|
+
};
|
|
15
|
+
textBlockOnboarding: {
|
|
16
|
+
cardIndex: number;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
config: OnboardingCardConfig[];
|
|
19
|
+
};
|
|
20
|
+
versionHistoryOnboarding: {
|
|
21
|
+
cardIndex: number;
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
config: OnboardingCardConfig[];
|
|
24
|
+
};
|
|
25
|
+
ampOnboarding: {
|
|
26
|
+
cardIndex: number;
|
|
27
|
+
isActive: boolean;
|
|
28
|
+
config: OnboardingCardConfig[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
32
|
+
isFetched: boolean;
|
|
33
|
+
}, {
|
|
34
|
+
get: (state: {
|
|
35
|
+
onboardings: {
|
|
36
|
+
newVersionPopup: {
|
|
37
|
+
cardIndex: number;
|
|
38
|
+
isActive: boolean;
|
|
39
|
+
config: {
|
|
40
|
+
classes: string;
|
|
41
|
+
position: string;
|
|
42
|
+
left?: string | undefined;
|
|
43
|
+
right?: string | undefined;
|
|
44
|
+
top?: string | undefined;
|
|
45
|
+
bottom?: string | undefined;
|
|
46
|
+
title: string;
|
|
47
|
+
description: string;
|
|
48
|
+
imageSource: string;
|
|
49
|
+
backButtonClick: () => void;
|
|
50
|
+
nextButtonType: string;
|
|
51
|
+
nextButtonText: string;
|
|
52
|
+
nextButtonClick: () => void;
|
|
53
|
+
backButtonType?: string | undefined;
|
|
54
|
+
backButtonText?: string | undefined;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
genericOnboarding: {
|
|
58
|
+
cardIndex: number;
|
|
59
|
+
isActive: boolean;
|
|
60
|
+
config: {
|
|
61
|
+
classes: string;
|
|
62
|
+
position: string;
|
|
63
|
+
left?: string | undefined;
|
|
64
|
+
right?: string | undefined;
|
|
65
|
+
top?: string | undefined;
|
|
66
|
+
bottom?: string | undefined;
|
|
67
|
+
title: string;
|
|
68
|
+
description: string;
|
|
69
|
+
imageSource: string;
|
|
70
|
+
backButtonClick: () => void;
|
|
71
|
+
nextButtonType: string;
|
|
72
|
+
nextButtonText: string;
|
|
73
|
+
nextButtonClick: () => void;
|
|
74
|
+
backButtonType?: string | undefined;
|
|
75
|
+
backButtonText?: string | undefined;
|
|
76
|
+
}[];
|
|
77
|
+
};
|
|
78
|
+
textBlockOnboarding: {
|
|
79
|
+
cardIndex: number;
|
|
80
|
+
isActive: boolean;
|
|
81
|
+
config: {
|
|
82
|
+
classes: string;
|
|
83
|
+
position: string;
|
|
84
|
+
left?: string | undefined;
|
|
85
|
+
right?: string | undefined;
|
|
86
|
+
top?: string | undefined;
|
|
87
|
+
bottom?: string | undefined;
|
|
88
|
+
title: string;
|
|
89
|
+
description: string;
|
|
90
|
+
imageSource: string;
|
|
91
|
+
backButtonClick: () => void;
|
|
92
|
+
nextButtonType: string;
|
|
93
|
+
nextButtonText: string;
|
|
94
|
+
nextButtonClick: () => void;
|
|
95
|
+
backButtonType?: string | undefined;
|
|
96
|
+
backButtonText?: string | undefined;
|
|
97
|
+
}[];
|
|
98
|
+
};
|
|
99
|
+
versionHistoryOnboarding: {
|
|
100
|
+
cardIndex: number;
|
|
101
|
+
isActive: boolean;
|
|
102
|
+
config: {
|
|
103
|
+
classes: string;
|
|
104
|
+
position: string;
|
|
105
|
+
left?: string | undefined;
|
|
106
|
+
right?: string | undefined;
|
|
107
|
+
top?: string | undefined;
|
|
108
|
+
bottom?: string | undefined;
|
|
109
|
+
title: string;
|
|
110
|
+
description: string;
|
|
111
|
+
imageSource: string;
|
|
112
|
+
backButtonClick: () => void;
|
|
113
|
+
nextButtonType: string;
|
|
114
|
+
nextButtonText: string;
|
|
115
|
+
nextButtonClick: () => void;
|
|
116
|
+
backButtonType?: string | undefined;
|
|
117
|
+
backButtonText?: string | undefined;
|
|
118
|
+
}[];
|
|
119
|
+
};
|
|
120
|
+
ampOnboarding: {
|
|
121
|
+
cardIndex: number;
|
|
122
|
+
isActive: boolean;
|
|
123
|
+
config: {
|
|
124
|
+
classes: string;
|
|
125
|
+
position: string;
|
|
126
|
+
left?: string | undefined;
|
|
127
|
+
right?: string | undefined;
|
|
128
|
+
top?: string | undefined;
|
|
129
|
+
bottom?: string | undefined;
|
|
130
|
+
title: string;
|
|
131
|
+
description: string;
|
|
132
|
+
imageSource: string;
|
|
133
|
+
backButtonClick: () => void;
|
|
134
|
+
nextButtonType: string;
|
|
135
|
+
nextButtonText: string;
|
|
136
|
+
nextButtonClick: () => void;
|
|
137
|
+
backButtonType?: string | undefined;
|
|
138
|
+
backButtonText?: string | undefined;
|
|
139
|
+
}[];
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
143
|
+
isFetched: boolean;
|
|
144
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
145
|
+
onboardings: {
|
|
146
|
+
newVersionPopup: {
|
|
147
|
+
cardIndex: number;
|
|
148
|
+
isActive: boolean;
|
|
149
|
+
config: OnboardingCardConfig[];
|
|
150
|
+
};
|
|
151
|
+
genericOnboarding: {
|
|
152
|
+
cardIndex: number;
|
|
153
|
+
isActive: boolean;
|
|
154
|
+
config: OnboardingCardConfig[];
|
|
155
|
+
};
|
|
156
|
+
textBlockOnboarding: {
|
|
157
|
+
cardIndex: number;
|
|
158
|
+
isActive: boolean;
|
|
159
|
+
config: OnboardingCardConfig[];
|
|
160
|
+
};
|
|
161
|
+
versionHistoryOnboarding: {
|
|
162
|
+
cardIndex: number;
|
|
163
|
+
isActive: boolean;
|
|
164
|
+
config: OnboardingCardConfig[];
|
|
165
|
+
};
|
|
166
|
+
ampOnboarding: {
|
|
167
|
+
cardIndex: number;
|
|
168
|
+
isActive: boolean;
|
|
169
|
+
config: OnboardingCardConfig[];
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
173
|
+
isFetched: boolean;
|
|
174
|
+
}>) => (type: OnboardingType) => {
|
|
175
|
+
cardIndex: number;
|
|
176
|
+
isActive: boolean;
|
|
177
|
+
config: {
|
|
178
|
+
classes: string;
|
|
179
|
+
position: string;
|
|
180
|
+
left?: string | undefined;
|
|
181
|
+
right?: string | undefined;
|
|
182
|
+
top?: string | undefined;
|
|
183
|
+
bottom?: string | undefined;
|
|
184
|
+
title: string;
|
|
185
|
+
description: string;
|
|
186
|
+
imageSource: string;
|
|
187
|
+
backButtonClick: () => void;
|
|
188
|
+
nextButtonType: string;
|
|
189
|
+
nextButtonText: string;
|
|
190
|
+
nextButtonClick: () => void;
|
|
191
|
+
backButtonType?: string | undefined;
|
|
192
|
+
backButtonText?: string | undefined;
|
|
193
|
+
}[];
|
|
194
|
+
} | {
|
|
195
|
+
cardIndex: number;
|
|
196
|
+
isActive: boolean;
|
|
197
|
+
config: {
|
|
198
|
+
classes: string;
|
|
199
|
+
position: string;
|
|
200
|
+
left?: string | undefined;
|
|
201
|
+
right?: string | undefined;
|
|
202
|
+
top?: string | undefined;
|
|
203
|
+
bottom?: string | undefined;
|
|
204
|
+
title: string;
|
|
205
|
+
description: string;
|
|
206
|
+
imageSource: string;
|
|
207
|
+
backButtonClick: () => void;
|
|
208
|
+
nextButtonType: string;
|
|
209
|
+
nextButtonText: string;
|
|
210
|
+
nextButtonClick: () => void;
|
|
211
|
+
backButtonType?: string | undefined;
|
|
212
|
+
backButtonText?: string | undefined;
|
|
213
|
+
}[];
|
|
214
|
+
} | {
|
|
215
|
+
cardIndex: number;
|
|
216
|
+
isActive: boolean;
|
|
217
|
+
config: {
|
|
218
|
+
classes: string;
|
|
219
|
+
position: string;
|
|
220
|
+
left?: string | undefined;
|
|
221
|
+
right?: string | undefined;
|
|
222
|
+
top?: string | undefined;
|
|
223
|
+
bottom?: string | undefined;
|
|
224
|
+
title: string;
|
|
225
|
+
description: string;
|
|
226
|
+
imageSource: string;
|
|
227
|
+
backButtonClick: () => void;
|
|
228
|
+
nextButtonType: string;
|
|
229
|
+
nextButtonText: string;
|
|
230
|
+
nextButtonClick: () => void;
|
|
231
|
+
backButtonType?: string | undefined;
|
|
232
|
+
backButtonText?: string | undefined;
|
|
233
|
+
}[];
|
|
234
|
+
} | {
|
|
235
|
+
cardIndex: number;
|
|
236
|
+
isActive: boolean;
|
|
237
|
+
config: {
|
|
238
|
+
classes: string;
|
|
239
|
+
position: string;
|
|
240
|
+
left?: string | undefined;
|
|
241
|
+
right?: string | undefined;
|
|
242
|
+
top?: string | undefined;
|
|
243
|
+
bottom?: string | undefined;
|
|
244
|
+
title: string;
|
|
245
|
+
description: string;
|
|
246
|
+
imageSource: string;
|
|
247
|
+
backButtonClick: () => void;
|
|
248
|
+
nextButtonType: string;
|
|
249
|
+
nextButtonText: string;
|
|
250
|
+
nextButtonClick: () => void;
|
|
251
|
+
backButtonType?: string | undefined;
|
|
252
|
+
backButtonText?: string | undefined;
|
|
253
|
+
}[];
|
|
254
|
+
} | {
|
|
255
|
+
cardIndex: number;
|
|
256
|
+
isActive: boolean;
|
|
257
|
+
config: {
|
|
258
|
+
classes: string;
|
|
259
|
+
position: string;
|
|
260
|
+
left?: string | undefined;
|
|
261
|
+
right?: string | undefined;
|
|
262
|
+
top?: string | undefined;
|
|
263
|
+
bottom?: string | undefined;
|
|
264
|
+
title: string;
|
|
265
|
+
description: string;
|
|
266
|
+
imageSource: string;
|
|
267
|
+
backButtonClick: () => void;
|
|
268
|
+
nextButtonType: string;
|
|
269
|
+
nextButtonText: string;
|
|
270
|
+
nextButtonClick: () => void;
|
|
271
|
+
backButtonType?: string | undefined;
|
|
272
|
+
backButtonText?: string | undefined;
|
|
273
|
+
}[];
|
|
274
|
+
};
|
|
275
|
+
isActive: (state: {
|
|
276
|
+
onboardings: {
|
|
277
|
+
newVersionPopup: {
|
|
278
|
+
cardIndex: number;
|
|
279
|
+
isActive: boolean;
|
|
280
|
+
config: {
|
|
281
|
+
classes: string;
|
|
282
|
+
position: string;
|
|
283
|
+
left?: string | undefined;
|
|
284
|
+
right?: string | undefined;
|
|
285
|
+
top?: string | undefined;
|
|
286
|
+
bottom?: string | undefined;
|
|
287
|
+
title: string;
|
|
288
|
+
description: string;
|
|
289
|
+
imageSource: string;
|
|
290
|
+
backButtonClick: () => void;
|
|
291
|
+
nextButtonType: string;
|
|
292
|
+
nextButtonText: string;
|
|
293
|
+
nextButtonClick: () => void;
|
|
294
|
+
backButtonType?: string | undefined;
|
|
295
|
+
backButtonText?: string | undefined;
|
|
296
|
+
}[];
|
|
297
|
+
};
|
|
298
|
+
genericOnboarding: {
|
|
299
|
+
cardIndex: number;
|
|
300
|
+
isActive: boolean;
|
|
301
|
+
config: {
|
|
302
|
+
classes: string;
|
|
303
|
+
position: string;
|
|
304
|
+
left?: string | undefined;
|
|
305
|
+
right?: string | undefined;
|
|
306
|
+
top?: string | undefined;
|
|
307
|
+
bottom?: string | undefined;
|
|
308
|
+
title: string;
|
|
309
|
+
description: string;
|
|
310
|
+
imageSource: string;
|
|
311
|
+
backButtonClick: () => void;
|
|
312
|
+
nextButtonType: string;
|
|
313
|
+
nextButtonText: string;
|
|
314
|
+
nextButtonClick: () => void;
|
|
315
|
+
backButtonType?: string | undefined;
|
|
316
|
+
backButtonText?: string | undefined;
|
|
317
|
+
}[];
|
|
318
|
+
};
|
|
319
|
+
textBlockOnboarding: {
|
|
320
|
+
cardIndex: number;
|
|
321
|
+
isActive: boolean;
|
|
322
|
+
config: {
|
|
323
|
+
classes: string;
|
|
324
|
+
position: string;
|
|
325
|
+
left?: string | undefined;
|
|
326
|
+
right?: string | undefined;
|
|
327
|
+
top?: string | undefined;
|
|
328
|
+
bottom?: string | undefined;
|
|
329
|
+
title: string;
|
|
330
|
+
description: string;
|
|
331
|
+
imageSource: string;
|
|
332
|
+
backButtonClick: () => void;
|
|
333
|
+
nextButtonType: string;
|
|
334
|
+
nextButtonText: string;
|
|
335
|
+
nextButtonClick: () => void;
|
|
336
|
+
backButtonType?: string | undefined;
|
|
337
|
+
backButtonText?: string | undefined;
|
|
338
|
+
}[];
|
|
339
|
+
};
|
|
340
|
+
versionHistoryOnboarding: {
|
|
341
|
+
cardIndex: number;
|
|
342
|
+
isActive: boolean;
|
|
343
|
+
config: {
|
|
344
|
+
classes: string;
|
|
345
|
+
position: string;
|
|
346
|
+
left?: string | undefined;
|
|
347
|
+
right?: string | undefined;
|
|
348
|
+
top?: string | undefined;
|
|
349
|
+
bottom?: string | undefined;
|
|
350
|
+
title: string;
|
|
351
|
+
description: string;
|
|
352
|
+
imageSource: string;
|
|
353
|
+
backButtonClick: () => void;
|
|
354
|
+
nextButtonType: string;
|
|
355
|
+
nextButtonText: string;
|
|
356
|
+
nextButtonClick: () => void;
|
|
357
|
+
backButtonType?: string | undefined;
|
|
358
|
+
backButtonText?: string | undefined;
|
|
359
|
+
}[];
|
|
360
|
+
};
|
|
361
|
+
ampOnboarding: {
|
|
362
|
+
cardIndex: number;
|
|
363
|
+
isActive: boolean;
|
|
364
|
+
config: {
|
|
365
|
+
classes: string;
|
|
366
|
+
position: string;
|
|
367
|
+
left?: string | undefined;
|
|
368
|
+
right?: string | undefined;
|
|
369
|
+
top?: string | undefined;
|
|
370
|
+
bottom?: string | undefined;
|
|
371
|
+
title: string;
|
|
372
|
+
description: string;
|
|
373
|
+
imageSource: string;
|
|
374
|
+
backButtonClick: () => void;
|
|
375
|
+
nextButtonType: string;
|
|
376
|
+
nextButtonText: string;
|
|
377
|
+
nextButtonClick: () => void;
|
|
378
|
+
backButtonType?: string | undefined;
|
|
379
|
+
backButtonText?: string | undefined;
|
|
380
|
+
}[];
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
384
|
+
isFetched: boolean;
|
|
385
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
386
|
+
onboardings: {
|
|
387
|
+
newVersionPopup: {
|
|
388
|
+
cardIndex: number;
|
|
389
|
+
isActive: boolean;
|
|
390
|
+
config: OnboardingCardConfig[];
|
|
391
|
+
};
|
|
392
|
+
genericOnboarding: {
|
|
393
|
+
cardIndex: number;
|
|
394
|
+
isActive: boolean;
|
|
395
|
+
config: OnboardingCardConfig[];
|
|
396
|
+
};
|
|
397
|
+
textBlockOnboarding: {
|
|
398
|
+
cardIndex: number;
|
|
399
|
+
isActive: boolean;
|
|
400
|
+
config: OnboardingCardConfig[];
|
|
401
|
+
};
|
|
402
|
+
versionHistoryOnboarding: {
|
|
403
|
+
cardIndex: number;
|
|
404
|
+
isActive: boolean;
|
|
405
|
+
config: OnboardingCardConfig[];
|
|
406
|
+
};
|
|
407
|
+
ampOnboarding: {
|
|
408
|
+
cardIndex: number;
|
|
409
|
+
isActive: boolean;
|
|
410
|
+
config: OnboardingCardConfig[];
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
414
|
+
isFetched: boolean;
|
|
415
|
+
}>) => (type: OnboardingType) => boolean;
|
|
416
|
+
getCurrentCard: (state: {
|
|
417
|
+
onboardings: {
|
|
418
|
+
newVersionPopup: {
|
|
419
|
+
cardIndex: number;
|
|
420
|
+
isActive: boolean;
|
|
421
|
+
config: {
|
|
422
|
+
classes: string;
|
|
423
|
+
position: string;
|
|
424
|
+
left?: string | undefined;
|
|
425
|
+
right?: string | undefined;
|
|
426
|
+
top?: string | undefined;
|
|
427
|
+
bottom?: string | undefined;
|
|
428
|
+
title: string;
|
|
429
|
+
description: string;
|
|
430
|
+
imageSource: string;
|
|
431
|
+
backButtonClick: () => void;
|
|
432
|
+
nextButtonType: string;
|
|
433
|
+
nextButtonText: string;
|
|
434
|
+
nextButtonClick: () => void;
|
|
435
|
+
backButtonType?: string | undefined;
|
|
436
|
+
backButtonText?: string | undefined;
|
|
437
|
+
}[];
|
|
438
|
+
};
|
|
439
|
+
genericOnboarding: {
|
|
440
|
+
cardIndex: number;
|
|
441
|
+
isActive: boolean;
|
|
442
|
+
config: {
|
|
443
|
+
classes: string;
|
|
444
|
+
position: string;
|
|
445
|
+
left?: string | undefined;
|
|
446
|
+
right?: string | undefined;
|
|
447
|
+
top?: string | undefined;
|
|
448
|
+
bottom?: string | undefined;
|
|
449
|
+
title: string;
|
|
450
|
+
description: string;
|
|
451
|
+
imageSource: string;
|
|
452
|
+
backButtonClick: () => void;
|
|
453
|
+
nextButtonType: string;
|
|
454
|
+
nextButtonText: string;
|
|
455
|
+
nextButtonClick: () => void;
|
|
456
|
+
backButtonType?: string | undefined;
|
|
457
|
+
backButtonText?: string | undefined;
|
|
458
|
+
}[];
|
|
459
|
+
};
|
|
460
|
+
textBlockOnboarding: {
|
|
461
|
+
cardIndex: number;
|
|
462
|
+
isActive: boolean;
|
|
463
|
+
config: {
|
|
464
|
+
classes: string;
|
|
465
|
+
position: string;
|
|
466
|
+
left?: string | undefined;
|
|
467
|
+
right?: string | undefined;
|
|
468
|
+
top?: string | undefined;
|
|
469
|
+
bottom?: string | undefined;
|
|
470
|
+
title: string;
|
|
471
|
+
description: string;
|
|
472
|
+
imageSource: string;
|
|
473
|
+
backButtonClick: () => void;
|
|
474
|
+
nextButtonType: string;
|
|
475
|
+
nextButtonText: string;
|
|
476
|
+
nextButtonClick: () => void;
|
|
477
|
+
backButtonType?: string | undefined;
|
|
478
|
+
backButtonText?: string | undefined;
|
|
479
|
+
}[];
|
|
480
|
+
};
|
|
481
|
+
versionHistoryOnboarding: {
|
|
482
|
+
cardIndex: number;
|
|
483
|
+
isActive: boolean;
|
|
484
|
+
config: {
|
|
485
|
+
classes: string;
|
|
486
|
+
position: string;
|
|
487
|
+
left?: string | undefined;
|
|
488
|
+
right?: string | undefined;
|
|
489
|
+
top?: string | undefined;
|
|
490
|
+
bottom?: string | undefined;
|
|
491
|
+
title: string;
|
|
492
|
+
description: string;
|
|
493
|
+
imageSource: string;
|
|
494
|
+
backButtonClick: () => void;
|
|
495
|
+
nextButtonType: string;
|
|
496
|
+
nextButtonText: string;
|
|
497
|
+
nextButtonClick: () => void;
|
|
498
|
+
backButtonType?: string | undefined;
|
|
499
|
+
backButtonText?: string | undefined;
|
|
500
|
+
}[];
|
|
501
|
+
};
|
|
502
|
+
ampOnboarding: {
|
|
503
|
+
cardIndex: number;
|
|
504
|
+
isActive: boolean;
|
|
505
|
+
config: {
|
|
506
|
+
classes: string;
|
|
507
|
+
position: string;
|
|
508
|
+
left?: string | undefined;
|
|
509
|
+
right?: string | undefined;
|
|
510
|
+
top?: string | undefined;
|
|
511
|
+
bottom?: string | undefined;
|
|
512
|
+
title: string;
|
|
513
|
+
description: string;
|
|
514
|
+
imageSource: string;
|
|
515
|
+
backButtonClick: () => void;
|
|
516
|
+
nextButtonType: string;
|
|
517
|
+
nextButtonText: string;
|
|
518
|
+
nextButtonClick: () => void;
|
|
519
|
+
backButtonType?: string | undefined;
|
|
520
|
+
backButtonText?: string | undefined;
|
|
521
|
+
}[];
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
525
|
+
isFetched: boolean;
|
|
526
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
527
|
+
onboardings: {
|
|
528
|
+
newVersionPopup: {
|
|
529
|
+
cardIndex: number;
|
|
530
|
+
isActive: boolean;
|
|
531
|
+
config: OnboardingCardConfig[];
|
|
532
|
+
};
|
|
533
|
+
genericOnboarding: {
|
|
534
|
+
cardIndex: number;
|
|
535
|
+
isActive: boolean;
|
|
536
|
+
config: OnboardingCardConfig[];
|
|
537
|
+
};
|
|
538
|
+
textBlockOnboarding: {
|
|
539
|
+
cardIndex: number;
|
|
540
|
+
isActive: boolean;
|
|
541
|
+
config: OnboardingCardConfig[];
|
|
542
|
+
};
|
|
543
|
+
versionHistoryOnboarding: {
|
|
544
|
+
cardIndex: number;
|
|
545
|
+
isActive: boolean;
|
|
546
|
+
config: OnboardingCardConfig[];
|
|
547
|
+
};
|
|
548
|
+
ampOnboarding: {
|
|
549
|
+
cardIndex: number;
|
|
550
|
+
isActive: boolean;
|
|
551
|
+
config: OnboardingCardConfig[];
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
555
|
+
isFetched: boolean;
|
|
556
|
+
}>) => (type: OnboardingType) => {
|
|
557
|
+
classes: string;
|
|
558
|
+
position: string;
|
|
559
|
+
left?: string | undefined;
|
|
560
|
+
right?: string | undefined;
|
|
561
|
+
top?: string | undefined;
|
|
562
|
+
bottom?: string | undefined;
|
|
563
|
+
title: string;
|
|
564
|
+
description: string;
|
|
565
|
+
imageSource: string;
|
|
566
|
+
backButtonClick: () => void;
|
|
567
|
+
nextButtonType: string;
|
|
568
|
+
nextButtonText: string;
|
|
569
|
+
nextButtonClick: () => void;
|
|
570
|
+
backButtonType?: string | undefined;
|
|
571
|
+
backButtonText?: string | undefined;
|
|
572
|
+
};
|
|
573
|
+
genericOnboarding: (state: {
|
|
574
|
+
onboardings: {
|
|
575
|
+
newVersionPopup: {
|
|
576
|
+
cardIndex: number;
|
|
577
|
+
isActive: boolean;
|
|
578
|
+
config: {
|
|
579
|
+
classes: string;
|
|
580
|
+
position: string;
|
|
581
|
+
left?: string | undefined;
|
|
582
|
+
right?: string | undefined;
|
|
583
|
+
top?: string | undefined;
|
|
584
|
+
bottom?: string | undefined;
|
|
585
|
+
title: string;
|
|
586
|
+
description: string;
|
|
587
|
+
imageSource: string;
|
|
588
|
+
backButtonClick: () => void;
|
|
589
|
+
nextButtonType: string;
|
|
590
|
+
nextButtonText: string;
|
|
591
|
+
nextButtonClick: () => void;
|
|
592
|
+
backButtonType?: string | undefined;
|
|
593
|
+
backButtonText?: string | undefined;
|
|
594
|
+
}[];
|
|
595
|
+
};
|
|
596
|
+
genericOnboarding: {
|
|
597
|
+
cardIndex: number;
|
|
598
|
+
isActive: boolean;
|
|
599
|
+
config: {
|
|
600
|
+
classes: string;
|
|
601
|
+
position: string;
|
|
602
|
+
left?: string | undefined;
|
|
603
|
+
right?: string | undefined;
|
|
604
|
+
top?: string | undefined;
|
|
605
|
+
bottom?: string | undefined;
|
|
606
|
+
title: string;
|
|
607
|
+
description: string;
|
|
608
|
+
imageSource: string;
|
|
609
|
+
backButtonClick: () => void;
|
|
610
|
+
nextButtonType: string;
|
|
611
|
+
nextButtonText: string;
|
|
612
|
+
nextButtonClick: () => void;
|
|
613
|
+
backButtonType?: string | undefined;
|
|
614
|
+
backButtonText?: string | undefined;
|
|
615
|
+
}[];
|
|
616
|
+
};
|
|
617
|
+
textBlockOnboarding: {
|
|
618
|
+
cardIndex: number;
|
|
619
|
+
isActive: boolean;
|
|
620
|
+
config: {
|
|
621
|
+
classes: string;
|
|
622
|
+
position: string;
|
|
623
|
+
left?: string | undefined;
|
|
624
|
+
right?: string | undefined;
|
|
625
|
+
top?: string | undefined;
|
|
626
|
+
bottom?: string | undefined;
|
|
627
|
+
title: string;
|
|
628
|
+
description: string;
|
|
629
|
+
imageSource: string;
|
|
630
|
+
backButtonClick: () => void;
|
|
631
|
+
nextButtonType: string;
|
|
632
|
+
nextButtonText: string;
|
|
633
|
+
nextButtonClick: () => void;
|
|
634
|
+
backButtonType?: string | undefined;
|
|
635
|
+
backButtonText?: string | undefined;
|
|
636
|
+
}[];
|
|
637
|
+
};
|
|
638
|
+
versionHistoryOnboarding: {
|
|
639
|
+
cardIndex: number;
|
|
640
|
+
isActive: boolean;
|
|
641
|
+
config: {
|
|
642
|
+
classes: string;
|
|
643
|
+
position: string;
|
|
644
|
+
left?: string | undefined;
|
|
645
|
+
right?: string | undefined;
|
|
646
|
+
top?: string | undefined;
|
|
647
|
+
bottom?: string | undefined;
|
|
648
|
+
title: string;
|
|
649
|
+
description: string;
|
|
650
|
+
imageSource: string;
|
|
651
|
+
backButtonClick: () => void;
|
|
652
|
+
nextButtonType: string;
|
|
653
|
+
nextButtonText: string;
|
|
654
|
+
nextButtonClick: () => void;
|
|
655
|
+
backButtonType?: string | undefined;
|
|
656
|
+
backButtonText?: string | undefined;
|
|
657
|
+
}[];
|
|
658
|
+
};
|
|
659
|
+
ampOnboarding: {
|
|
660
|
+
cardIndex: number;
|
|
661
|
+
isActive: boolean;
|
|
662
|
+
config: {
|
|
663
|
+
classes: string;
|
|
664
|
+
position: string;
|
|
665
|
+
left?: string | undefined;
|
|
666
|
+
right?: string | undefined;
|
|
667
|
+
top?: string | undefined;
|
|
668
|
+
bottom?: string | undefined;
|
|
669
|
+
title: string;
|
|
670
|
+
description: string;
|
|
671
|
+
imageSource: string;
|
|
672
|
+
backButtonClick: () => void;
|
|
673
|
+
nextButtonType: string;
|
|
674
|
+
nextButtonText: string;
|
|
675
|
+
nextButtonClick: () => void;
|
|
676
|
+
backButtonType?: string | undefined;
|
|
677
|
+
backButtonText?: string | undefined;
|
|
678
|
+
}[];
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
682
|
+
isFetched: boolean;
|
|
683
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
684
|
+
onboardings: {
|
|
685
|
+
newVersionPopup: {
|
|
686
|
+
cardIndex: number;
|
|
687
|
+
isActive: boolean;
|
|
688
|
+
config: OnboardingCardConfig[];
|
|
689
|
+
};
|
|
690
|
+
genericOnboarding: {
|
|
691
|
+
cardIndex: number;
|
|
692
|
+
isActive: boolean;
|
|
693
|
+
config: OnboardingCardConfig[];
|
|
694
|
+
};
|
|
695
|
+
textBlockOnboarding: {
|
|
696
|
+
cardIndex: number;
|
|
697
|
+
isActive: boolean;
|
|
698
|
+
config: OnboardingCardConfig[];
|
|
699
|
+
};
|
|
700
|
+
versionHistoryOnboarding: {
|
|
701
|
+
cardIndex: number;
|
|
702
|
+
isActive: boolean;
|
|
703
|
+
config: OnboardingCardConfig[];
|
|
704
|
+
};
|
|
705
|
+
ampOnboarding: {
|
|
706
|
+
cardIndex: number;
|
|
707
|
+
isActive: boolean;
|
|
708
|
+
config: OnboardingCardConfig[];
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
712
|
+
isFetched: boolean;
|
|
713
|
+
}>) => {
|
|
714
|
+
cardIndex: number;
|
|
715
|
+
isActive: boolean;
|
|
716
|
+
config: {
|
|
717
|
+
classes: string;
|
|
718
|
+
position: string;
|
|
719
|
+
left?: string | undefined;
|
|
720
|
+
right?: string | undefined;
|
|
721
|
+
top?: string | undefined;
|
|
722
|
+
bottom?: string | undefined;
|
|
723
|
+
title: string;
|
|
724
|
+
description: string;
|
|
725
|
+
imageSource: string;
|
|
726
|
+
backButtonClick: () => void;
|
|
727
|
+
nextButtonType: string;
|
|
728
|
+
nextButtonText: string;
|
|
729
|
+
nextButtonClick: () => void;
|
|
730
|
+
backButtonType?: string | undefined;
|
|
731
|
+
backButtonText?: string | undefined;
|
|
732
|
+
}[];
|
|
733
|
+
};
|
|
734
|
+
textBlockOnboarding: (state: {
|
|
4
735
|
onboardings: {
|
|
5
736
|
newVersionPopup: {
|
|
6
737
|
cardIndex: number;
|
|
@@ -108,17 +839,39 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
108
839
|
}[];
|
|
109
840
|
};
|
|
110
841
|
};
|
|
111
|
-
userModalState:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
842
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
843
|
+
isFetched: boolean;
|
|
844
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
845
|
+
onboardings: {
|
|
846
|
+
newVersionPopup: {
|
|
847
|
+
cardIndex: number;
|
|
848
|
+
isActive: boolean;
|
|
849
|
+
config: OnboardingCardConfig[];
|
|
850
|
+
};
|
|
851
|
+
genericOnboarding: {
|
|
852
|
+
cardIndex: number;
|
|
853
|
+
isActive: boolean;
|
|
854
|
+
config: OnboardingCardConfig[];
|
|
855
|
+
};
|
|
856
|
+
textBlockOnboarding: {
|
|
857
|
+
cardIndex: number;
|
|
858
|
+
isActive: boolean;
|
|
859
|
+
config: OnboardingCardConfig[];
|
|
860
|
+
};
|
|
861
|
+
versionHistoryOnboarding: {
|
|
862
|
+
cardIndex: number;
|
|
863
|
+
isActive: boolean;
|
|
864
|
+
config: OnboardingCardConfig[];
|
|
865
|
+
};
|
|
866
|
+
ampOnboarding: {
|
|
867
|
+
cardIndex: number;
|
|
868
|
+
isActive: boolean;
|
|
869
|
+
config: OnboardingCardConfig[];
|
|
870
|
+
};
|
|
119
871
|
};
|
|
872
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
120
873
|
isFetched: boolean;
|
|
121
|
-
}
|
|
874
|
+
}>) => {
|
|
122
875
|
cardIndex: number;
|
|
123
876
|
isActive: boolean;
|
|
124
877
|
config: {
|
|
@@ -139,7 +892,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
139
892
|
backButtonText?: string | undefined;
|
|
140
893
|
}[];
|
|
141
894
|
};
|
|
142
|
-
|
|
895
|
+
versionHistoryOnboarding: (state: {
|
|
143
896
|
onboardings: {
|
|
144
897
|
newVersionPopup: {
|
|
145
898
|
cardIndex: number;
|
|
@@ -247,18 +1000,60 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
247
1000
|
}[];
|
|
248
1001
|
};
|
|
249
1002
|
};
|
|
250
|
-
userModalState:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
1003
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1004
|
+
isFetched: boolean;
|
|
1005
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1006
|
+
onboardings: {
|
|
1007
|
+
newVersionPopup: {
|
|
1008
|
+
cardIndex: number;
|
|
1009
|
+
isActive: boolean;
|
|
1010
|
+
config: OnboardingCardConfig[];
|
|
1011
|
+
};
|
|
1012
|
+
genericOnboarding: {
|
|
1013
|
+
cardIndex: number;
|
|
1014
|
+
isActive: boolean;
|
|
1015
|
+
config: OnboardingCardConfig[];
|
|
1016
|
+
};
|
|
1017
|
+
textBlockOnboarding: {
|
|
1018
|
+
cardIndex: number;
|
|
1019
|
+
isActive: boolean;
|
|
1020
|
+
config: OnboardingCardConfig[];
|
|
1021
|
+
};
|
|
1022
|
+
versionHistoryOnboarding: {
|
|
1023
|
+
cardIndex: number;
|
|
1024
|
+
isActive: boolean;
|
|
1025
|
+
config: OnboardingCardConfig[];
|
|
1026
|
+
};
|
|
1027
|
+
ampOnboarding: {
|
|
1028
|
+
cardIndex: number;
|
|
1029
|
+
isActive: boolean;
|
|
1030
|
+
config: OnboardingCardConfig[];
|
|
1031
|
+
};
|
|
258
1032
|
};
|
|
1033
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
259
1034
|
isFetched: boolean;
|
|
260
|
-
}
|
|
261
|
-
|
|
1035
|
+
}>) => {
|
|
1036
|
+
cardIndex: number;
|
|
1037
|
+
isActive: boolean;
|
|
1038
|
+
config: {
|
|
1039
|
+
classes: string;
|
|
1040
|
+
position: string;
|
|
1041
|
+
left?: string | undefined;
|
|
1042
|
+
right?: string | undefined;
|
|
1043
|
+
top?: string | undefined;
|
|
1044
|
+
bottom?: string | undefined;
|
|
1045
|
+
title: string;
|
|
1046
|
+
description: string;
|
|
1047
|
+
imageSource: string;
|
|
1048
|
+
backButtonClick: () => void;
|
|
1049
|
+
nextButtonType: string;
|
|
1050
|
+
nextButtonText: string;
|
|
1051
|
+
nextButtonClick: () => void;
|
|
1052
|
+
backButtonType?: string | undefined;
|
|
1053
|
+
backButtonText?: string | undefined;
|
|
1054
|
+
}[];
|
|
1055
|
+
};
|
|
1056
|
+
ampOnboarding: (state: {
|
|
262
1057
|
onboardings: {
|
|
263
1058
|
newVersionPopup: {
|
|
264
1059
|
cardIndex: number;
|
|
@@ -366,34 +1161,60 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
366
1161
|
}[];
|
|
367
1162
|
};
|
|
368
1163
|
};
|
|
369
|
-
userModalState:
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
1164
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1165
|
+
isFetched: boolean;
|
|
1166
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1167
|
+
onboardings: {
|
|
1168
|
+
newVersionPopup: {
|
|
1169
|
+
cardIndex: number;
|
|
1170
|
+
isActive: boolean;
|
|
1171
|
+
config: OnboardingCardConfig[];
|
|
1172
|
+
};
|
|
1173
|
+
genericOnboarding: {
|
|
1174
|
+
cardIndex: number;
|
|
1175
|
+
isActive: boolean;
|
|
1176
|
+
config: OnboardingCardConfig[];
|
|
1177
|
+
};
|
|
1178
|
+
textBlockOnboarding: {
|
|
1179
|
+
cardIndex: number;
|
|
1180
|
+
isActive: boolean;
|
|
1181
|
+
config: OnboardingCardConfig[];
|
|
1182
|
+
};
|
|
1183
|
+
versionHistoryOnboarding: {
|
|
1184
|
+
cardIndex: number;
|
|
1185
|
+
isActive: boolean;
|
|
1186
|
+
config: OnboardingCardConfig[];
|
|
1187
|
+
};
|
|
1188
|
+
ampOnboarding: {
|
|
1189
|
+
cardIndex: number;
|
|
1190
|
+
isActive: boolean;
|
|
1191
|
+
config: OnboardingCardConfig[];
|
|
1192
|
+
};
|
|
377
1193
|
};
|
|
1194
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
378
1195
|
isFetched: boolean;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
1196
|
+
}>) => {
|
|
1197
|
+
cardIndex: number;
|
|
1198
|
+
isActive: boolean;
|
|
1199
|
+
config: {
|
|
1200
|
+
classes: string;
|
|
1201
|
+
position: string;
|
|
1202
|
+
left?: string | undefined;
|
|
1203
|
+
right?: string | undefined;
|
|
1204
|
+
top?: string | undefined;
|
|
1205
|
+
bottom?: string | undefined;
|
|
1206
|
+
title: string;
|
|
1207
|
+
description: string;
|
|
1208
|
+
imageSource: string;
|
|
1209
|
+
backButtonClick: () => void;
|
|
1210
|
+
nextButtonType: string;
|
|
1211
|
+
nextButtonText: string;
|
|
1212
|
+
nextButtonClick: () => void;
|
|
1213
|
+
backButtonType?: string | undefined;
|
|
1214
|
+
backButtonText?: string | undefined;
|
|
1215
|
+
}[];
|
|
395
1216
|
};
|
|
396
|
-
|
|
1217
|
+
genericCurrentCard: (state: {
|
|
397
1218
|
onboardings: {
|
|
398
1219
|
newVersionPopup: {
|
|
399
1220
|
cardIndex: number;
|
|
@@ -501,17 +1322,39 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
501
1322
|
}[];
|
|
502
1323
|
};
|
|
503
1324
|
};
|
|
504
|
-
userModalState:
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
1325
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1326
|
+
isFetched: boolean;
|
|
1327
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1328
|
+
onboardings: {
|
|
1329
|
+
newVersionPopup: {
|
|
1330
|
+
cardIndex: number;
|
|
1331
|
+
isActive: boolean;
|
|
1332
|
+
config: OnboardingCardConfig[];
|
|
1333
|
+
};
|
|
1334
|
+
genericOnboarding: {
|
|
1335
|
+
cardIndex: number;
|
|
1336
|
+
isActive: boolean;
|
|
1337
|
+
config: OnboardingCardConfig[];
|
|
1338
|
+
};
|
|
1339
|
+
textBlockOnboarding: {
|
|
1340
|
+
cardIndex: number;
|
|
1341
|
+
isActive: boolean;
|
|
1342
|
+
config: OnboardingCardConfig[];
|
|
1343
|
+
};
|
|
1344
|
+
versionHistoryOnboarding: {
|
|
1345
|
+
cardIndex: number;
|
|
1346
|
+
isActive: boolean;
|
|
1347
|
+
config: OnboardingCardConfig[];
|
|
1348
|
+
};
|
|
1349
|
+
ampOnboarding: {
|
|
1350
|
+
cardIndex: number;
|
|
1351
|
+
isActive: boolean;
|
|
1352
|
+
config: OnboardingCardConfig[];
|
|
1353
|
+
};
|
|
512
1354
|
};
|
|
1355
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
513
1356
|
isFetched: boolean;
|
|
514
|
-
}
|
|
1357
|
+
}>) => {
|
|
515
1358
|
classes: string;
|
|
516
1359
|
position: string;
|
|
517
1360
|
left?: string | undefined;
|
|
@@ -528,7 +1371,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
528
1371
|
backButtonType?: string | undefined;
|
|
529
1372
|
backButtonText?: string | undefined;
|
|
530
1373
|
};
|
|
531
|
-
|
|
1374
|
+
textBlockCurrentCard: (state: {
|
|
532
1375
|
onboardings: {
|
|
533
1376
|
newVersionPopup: {
|
|
534
1377
|
cardIndex: number;
|
|
@@ -636,17 +1479,39 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
636
1479
|
}[];
|
|
637
1480
|
};
|
|
638
1481
|
};
|
|
639
|
-
userModalState:
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
1482
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1483
|
+
isFetched: boolean;
|
|
1484
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1485
|
+
onboardings: {
|
|
1486
|
+
newVersionPopup: {
|
|
1487
|
+
cardIndex: number;
|
|
1488
|
+
isActive: boolean;
|
|
1489
|
+
config: OnboardingCardConfig[];
|
|
1490
|
+
};
|
|
1491
|
+
genericOnboarding: {
|
|
1492
|
+
cardIndex: number;
|
|
1493
|
+
isActive: boolean;
|
|
1494
|
+
config: OnboardingCardConfig[];
|
|
1495
|
+
};
|
|
1496
|
+
textBlockOnboarding: {
|
|
1497
|
+
cardIndex: number;
|
|
1498
|
+
isActive: boolean;
|
|
1499
|
+
config: OnboardingCardConfig[];
|
|
1500
|
+
};
|
|
1501
|
+
versionHistoryOnboarding: {
|
|
1502
|
+
cardIndex: number;
|
|
1503
|
+
isActive: boolean;
|
|
1504
|
+
config: OnboardingCardConfig[];
|
|
1505
|
+
};
|
|
1506
|
+
ampOnboarding: {
|
|
1507
|
+
cardIndex: number;
|
|
1508
|
+
isActive: boolean;
|
|
1509
|
+
config: OnboardingCardConfig[];
|
|
1510
|
+
};
|
|
647
1511
|
};
|
|
1512
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
648
1513
|
isFetched: boolean;
|
|
649
|
-
}
|
|
1514
|
+
}>) => {
|
|
650
1515
|
classes: string;
|
|
651
1516
|
position: string;
|
|
652
1517
|
left?: string | undefined;
|
|
@@ -663,7 +1528,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
663
1528
|
backButtonType?: string | undefined;
|
|
664
1529
|
backButtonText?: string | undefined;
|
|
665
1530
|
};
|
|
666
|
-
|
|
1531
|
+
versionHistoryCurrentCard: (state: {
|
|
667
1532
|
onboardings: {
|
|
668
1533
|
newVersionPopup: {
|
|
669
1534
|
cardIndex: number;
|
|
@@ -771,17 +1636,39 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
771
1636
|
}[];
|
|
772
1637
|
};
|
|
773
1638
|
};
|
|
774
|
-
userModalState:
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
1639
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1640
|
+
isFetched: boolean;
|
|
1641
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1642
|
+
onboardings: {
|
|
1643
|
+
newVersionPopup: {
|
|
1644
|
+
cardIndex: number;
|
|
1645
|
+
isActive: boolean;
|
|
1646
|
+
config: OnboardingCardConfig[];
|
|
1647
|
+
};
|
|
1648
|
+
genericOnboarding: {
|
|
1649
|
+
cardIndex: number;
|
|
1650
|
+
isActive: boolean;
|
|
1651
|
+
config: OnboardingCardConfig[];
|
|
1652
|
+
};
|
|
1653
|
+
textBlockOnboarding: {
|
|
1654
|
+
cardIndex: number;
|
|
1655
|
+
isActive: boolean;
|
|
1656
|
+
config: OnboardingCardConfig[];
|
|
1657
|
+
};
|
|
1658
|
+
versionHistoryOnboarding: {
|
|
1659
|
+
cardIndex: number;
|
|
1660
|
+
isActive: boolean;
|
|
1661
|
+
config: OnboardingCardConfig[];
|
|
1662
|
+
};
|
|
1663
|
+
ampOnboarding: {
|
|
1664
|
+
cardIndex: number;
|
|
1665
|
+
isActive: boolean;
|
|
1666
|
+
config: OnboardingCardConfig[];
|
|
1667
|
+
};
|
|
782
1668
|
};
|
|
1669
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
783
1670
|
isFetched: boolean;
|
|
784
|
-
}
|
|
1671
|
+
}>) => {
|
|
785
1672
|
classes: string;
|
|
786
1673
|
position: string;
|
|
787
1674
|
left?: string | undefined;
|
|
@@ -798,7 +1685,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
798
1685
|
backButtonType?: string | undefined;
|
|
799
1686
|
backButtonText?: string | undefined;
|
|
800
1687
|
};
|
|
801
|
-
|
|
1688
|
+
ampCurrentCard: (state: {
|
|
802
1689
|
onboardings: {
|
|
803
1690
|
newVersionPopup: {
|
|
804
1691
|
cardIndex: number;
|
|
@@ -906,17 +1793,39 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
906
1793
|
}[];
|
|
907
1794
|
};
|
|
908
1795
|
};
|
|
909
|
-
userModalState:
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
1796
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1797
|
+
isFetched: boolean;
|
|
1798
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1799
|
+
onboardings: {
|
|
1800
|
+
newVersionPopup: {
|
|
1801
|
+
cardIndex: number;
|
|
1802
|
+
isActive: boolean;
|
|
1803
|
+
config: OnboardingCardConfig[];
|
|
1804
|
+
};
|
|
1805
|
+
genericOnboarding: {
|
|
1806
|
+
cardIndex: number;
|
|
1807
|
+
isActive: boolean;
|
|
1808
|
+
config: OnboardingCardConfig[];
|
|
1809
|
+
};
|
|
1810
|
+
textBlockOnboarding: {
|
|
1811
|
+
cardIndex: number;
|
|
1812
|
+
isActive: boolean;
|
|
1813
|
+
config: OnboardingCardConfig[];
|
|
1814
|
+
};
|
|
1815
|
+
versionHistoryOnboarding: {
|
|
1816
|
+
cardIndex: number;
|
|
1817
|
+
isActive: boolean;
|
|
1818
|
+
config: OnboardingCardConfig[];
|
|
1819
|
+
};
|
|
1820
|
+
ampOnboarding: {
|
|
1821
|
+
cardIndex: number;
|
|
1822
|
+
isActive: boolean;
|
|
1823
|
+
config: OnboardingCardConfig[];
|
|
1824
|
+
};
|
|
917
1825
|
};
|
|
1826
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
918
1827
|
isFetched: boolean;
|
|
919
|
-
}
|
|
1828
|
+
}>) => {
|
|
920
1829
|
classes: string;
|
|
921
1830
|
position: string;
|
|
922
1831
|
left?: string | undefined;
|
|
@@ -1041,19 +1950,40 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"onboar
|
|
|
1041
1950
|
}[];
|
|
1042
1951
|
};
|
|
1043
1952
|
};
|
|
1044
|
-
userModalState:
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1953
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1954
|
+
isFetched: boolean;
|
|
1955
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
1956
|
+
onboardings: {
|
|
1957
|
+
newVersionPopup: {
|
|
1958
|
+
cardIndex: number;
|
|
1959
|
+
isActive: boolean;
|
|
1960
|
+
config: OnboardingCardConfig[];
|
|
1961
|
+
};
|
|
1962
|
+
genericOnboarding: {
|
|
1963
|
+
cardIndex: number;
|
|
1964
|
+
isActive: boolean;
|
|
1965
|
+
config: OnboardingCardConfig[];
|
|
1966
|
+
};
|
|
1967
|
+
textBlockOnboarding: {
|
|
1968
|
+
cardIndex: number;
|
|
1969
|
+
isActive: boolean;
|
|
1970
|
+
config: OnboardingCardConfig[];
|
|
1971
|
+
};
|
|
1972
|
+
versionHistoryOnboarding: {
|
|
1973
|
+
cardIndex: number;
|
|
1974
|
+
isActive: boolean;
|
|
1975
|
+
config: OnboardingCardConfig[];
|
|
1976
|
+
};
|
|
1977
|
+
ampOnboarding: {
|
|
1978
|
+
cardIndex: number;
|
|
1979
|
+
isActive: boolean;
|
|
1980
|
+
config: OnboardingCardConfig[];
|
|
1981
|
+
};
|
|
1052
1982
|
};
|
|
1983
|
+
userModalState: Record<string, Record<string, boolean>>;
|
|
1053
1984
|
isFetched: boolean;
|
|
1054
|
-
}
|
|
1985
|
+
}>) => (type: OnboardingType) => boolean;
|
|
1055
1986
|
}, {
|
|
1056
|
-
closeOtherOnboardings(exceptType: OnboardingType): void;
|
|
1057
1987
|
start(type: OnboardingType): void;
|
|
1058
1988
|
close(type: OnboardingType): Promise<void>;
|
|
1059
1989
|
next(type: OnboardingType): void;
|