@useinsider/guido 1.0.2-beta.3acb77d → 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.
Files changed (78) hide show
  1. package/README.md +0 -12
  2. package/dist/@types/generic.d.ts +0 -5
  3. package/dist/components/Guido.vue.d.ts +0 -1
  4. package/dist/components/Guido.vue.js +8 -8
  5. package/dist/components/Guido.vue2.js +52 -56
  6. package/dist/components/organisms/email-preview/amp/AmpToggle.vue2.js +15 -14
  7. package/dist/components/organisms/header/RightSlot.vue.js +1 -1
  8. package/dist/components/organisms/header/RightSlot.vue2.js +27 -21
  9. package/dist/components/organisms/onboarding/AMPOnboarding.vue.d.ts +2 -0
  10. package/dist/components/organisms/onboarding/AMPOnboarding.vue.js +20 -0
  11. package/dist/components/organisms/onboarding/AMPOnboarding.vue2.js +39 -0
  12. package/dist/components/organisms/onboarding/GenericOnboarding.vue.d.ts +2 -0
  13. package/dist/components/organisms/onboarding/GenericOnboarding.vue.js +21 -0
  14. package/dist/components/organisms/onboarding/GenericOnboarding.vue2.js +85 -0
  15. package/dist/components/organisms/onboarding/NewVersionPopup.vue.d.ts +2 -0
  16. package/dist/components/organisms/onboarding/NewVersionPopup.vue.js +17 -0
  17. package/dist/components/organisms/onboarding/NewVersionPopup.vue2.js +30 -0
  18. package/dist/components/organisms/onboarding/OnboardingWrapper.vue.d.ts +2 -0
  19. package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +17 -0
  20. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +20 -0
  21. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue.d.ts +2 -0
  22. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue.js +21 -0
  23. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue2.js +64 -0
  24. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue.d.ts +2 -0
  25. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue.js +20 -0
  26. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue2.js +39 -0
  27. package/dist/components/wrappers/WpDrawer.vue.d.ts +1 -1
  28. package/dist/components/wrappers/WpModal.vue.d.ts +1 -1
  29. package/dist/composables/useHtmlCompiler.js +9 -17
  30. package/dist/composables/useOnboardingApi.d.ts +4 -0
  31. package/dist/composables/useOnboardingApi.js +23 -0
  32. package/dist/composables/usePreviewMode.js +15 -14
  33. package/dist/composables/useStripo.js +36 -33
  34. package/dist/composables/useStripoEventHandler.d.ts +3 -0
  35. package/dist/composables/useStripoEventHandler.js +20 -0
  36. package/dist/config/compiler/outlookCompilerRules.d.ts +0 -2
  37. package/dist/enums/defaults.d.ts +1 -5
  38. package/dist/enums/defaults.js +8 -13
  39. package/dist/enums/onboarding.d.ts +1 -0
  40. package/dist/enums/onboarding.js +8 -0
  41. package/dist/guido.css +1 -1
  42. package/dist/static/assets/onboarding-img.svg.js +4 -0
  43. package/dist/static/styles/components/wide-panel.css.js +0 -9
  44. package/dist/stores/dynamic-content.d.ts +0 -12
  45. package/dist/stores/dynamic-content.js +6 -7
  46. package/dist/stores/editor.d.ts +21 -0
  47. package/dist/stores/editor.js +2 -1
  48. package/dist/stores/onboarding.d.ts +1998 -0
  49. package/dist/stores/onboarding.js +108 -0
  50. package/dist/stores/preview.js +14 -6
  51. package/dist/utils/genericUtil.js +6 -9
  52. package/dist/utils/templatePreparation.js +14 -21
  53. package/package.json +2 -4
  54. package/dist/composables/useHtmlValidator.d.ts +0 -3
  55. package/dist/composables/useHtmlValidator.js +0 -120
  56. package/dist/composables/useRecommendation.d.ts +0 -19
  57. package/dist/composables/useRecommendation.js +0 -27
  58. package/dist/composables/useSave.d.ts +0 -3
  59. package/dist/composables/useSave.js +0 -14
  60. package/dist/config/compiler/outlookCompilerRules.js +0 -36
  61. package/dist/config/compiler/recommendationCompilerRules.d.ts +0 -2
  62. package/dist/config/compiler/recommendationCompilerRules.js +0 -83
  63. package/dist/config/compiler/socialCompilerRules.d.ts +0 -2
  64. package/dist/config/compiler/socialCompilerRules.js +0 -21
  65. package/dist/config/compiler/unsubscribeCompilerRules.d.ts +0 -2
  66. package/dist/config/compiler/unsubscribeCompilerRules.js +0 -64
  67. package/dist/enums/html-validator.d.ts +0 -6
  68. package/dist/enums/html-validator.js +0 -7
  69. package/dist/enums/recommendation.d.ts +0 -54
  70. package/dist/enums/recommendation.js +0 -56
  71. package/dist/enums/unsubscribe.d.ts +0 -15
  72. package/dist/enums/unsubscribe.js +0 -17
  73. package/dist/static/styles/customEditorStyle.css.js +0 -18
  74. package/dist/stores/recommendation.d.ts +0 -10
  75. package/dist/stores/recommendation.js +0 -9
  76. package/dist/stores/unsubscribe.d.ts +0 -8
  77. package/dist/stores/unsubscribe.js +0 -9
  78. /package/dist/mock/api/{validator.d.ts → user-modal-state.d.ts} +0 -0
@@ -0,0 +1,1998 @@
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: {
735
+ onboardings: {
736
+ newVersionPopup: {
737
+ cardIndex: number;
738
+ isActive: boolean;
739
+ config: {
740
+ classes: string;
741
+ position: string;
742
+ left?: string | undefined;
743
+ right?: string | undefined;
744
+ top?: string | undefined;
745
+ bottom?: string | undefined;
746
+ title: string;
747
+ description: string;
748
+ imageSource: string;
749
+ backButtonClick: () => void;
750
+ nextButtonType: string;
751
+ nextButtonText: string;
752
+ nextButtonClick: () => void;
753
+ backButtonType?: string | undefined;
754
+ backButtonText?: string | undefined;
755
+ }[];
756
+ };
757
+ genericOnboarding: {
758
+ cardIndex: number;
759
+ isActive: boolean;
760
+ config: {
761
+ classes: string;
762
+ position: string;
763
+ left?: string | undefined;
764
+ right?: string | undefined;
765
+ top?: string | undefined;
766
+ bottom?: string | undefined;
767
+ title: string;
768
+ description: string;
769
+ imageSource: string;
770
+ backButtonClick: () => void;
771
+ nextButtonType: string;
772
+ nextButtonText: string;
773
+ nextButtonClick: () => void;
774
+ backButtonType?: string | undefined;
775
+ backButtonText?: string | undefined;
776
+ }[];
777
+ };
778
+ textBlockOnboarding: {
779
+ cardIndex: number;
780
+ isActive: boolean;
781
+ config: {
782
+ classes: string;
783
+ position: string;
784
+ left?: string | undefined;
785
+ right?: string | undefined;
786
+ top?: string | undefined;
787
+ bottom?: string | undefined;
788
+ title: string;
789
+ description: string;
790
+ imageSource: string;
791
+ backButtonClick: () => void;
792
+ nextButtonType: string;
793
+ nextButtonText: string;
794
+ nextButtonClick: () => void;
795
+ backButtonType?: string | undefined;
796
+ backButtonText?: string | undefined;
797
+ }[];
798
+ };
799
+ versionHistoryOnboarding: {
800
+ cardIndex: number;
801
+ isActive: boolean;
802
+ config: {
803
+ classes: string;
804
+ position: string;
805
+ left?: string | undefined;
806
+ right?: string | undefined;
807
+ top?: string | undefined;
808
+ bottom?: string | undefined;
809
+ title: string;
810
+ description: string;
811
+ imageSource: string;
812
+ backButtonClick: () => void;
813
+ nextButtonType: string;
814
+ nextButtonText: string;
815
+ nextButtonClick: () => void;
816
+ backButtonType?: string | undefined;
817
+ backButtonText?: string | undefined;
818
+ }[];
819
+ };
820
+ ampOnboarding: {
821
+ cardIndex: number;
822
+ isActive: boolean;
823
+ config: {
824
+ classes: string;
825
+ position: string;
826
+ left?: string | undefined;
827
+ right?: string | undefined;
828
+ top?: string | undefined;
829
+ bottom?: string | undefined;
830
+ title: string;
831
+ description: string;
832
+ imageSource: string;
833
+ backButtonClick: () => void;
834
+ nextButtonType: string;
835
+ nextButtonText: string;
836
+ nextButtonClick: () => void;
837
+ backButtonType?: string | undefined;
838
+ backButtonText?: string | undefined;
839
+ }[];
840
+ };
841
+ };
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
+ };
871
+ };
872
+ userModalState: Record<string, Record<string, boolean>>;
873
+ isFetched: boolean;
874
+ }>) => {
875
+ cardIndex: number;
876
+ isActive: boolean;
877
+ config: {
878
+ classes: string;
879
+ position: string;
880
+ left?: string | undefined;
881
+ right?: string | undefined;
882
+ top?: string | undefined;
883
+ bottom?: string | undefined;
884
+ title: string;
885
+ description: string;
886
+ imageSource: string;
887
+ backButtonClick: () => void;
888
+ nextButtonType: string;
889
+ nextButtonText: string;
890
+ nextButtonClick: () => void;
891
+ backButtonType?: string | undefined;
892
+ backButtonText?: string | undefined;
893
+ }[];
894
+ };
895
+ versionHistoryOnboarding: (state: {
896
+ onboardings: {
897
+ newVersionPopup: {
898
+ cardIndex: number;
899
+ isActive: boolean;
900
+ config: {
901
+ classes: string;
902
+ position: string;
903
+ left?: string | undefined;
904
+ right?: string | undefined;
905
+ top?: string | undefined;
906
+ bottom?: string | undefined;
907
+ title: string;
908
+ description: string;
909
+ imageSource: string;
910
+ backButtonClick: () => void;
911
+ nextButtonType: string;
912
+ nextButtonText: string;
913
+ nextButtonClick: () => void;
914
+ backButtonType?: string | undefined;
915
+ backButtonText?: string | undefined;
916
+ }[];
917
+ };
918
+ genericOnboarding: {
919
+ cardIndex: number;
920
+ isActive: boolean;
921
+ config: {
922
+ classes: string;
923
+ position: string;
924
+ left?: string | undefined;
925
+ right?: string | undefined;
926
+ top?: string | undefined;
927
+ bottom?: string | undefined;
928
+ title: string;
929
+ description: string;
930
+ imageSource: string;
931
+ backButtonClick: () => void;
932
+ nextButtonType: string;
933
+ nextButtonText: string;
934
+ nextButtonClick: () => void;
935
+ backButtonType?: string | undefined;
936
+ backButtonText?: string | undefined;
937
+ }[];
938
+ };
939
+ textBlockOnboarding: {
940
+ cardIndex: number;
941
+ isActive: boolean;
942
+ config: {
943
+ classes: string;
944
+ position: string;
945
+ left?: string | undefined;
946
+ right?: string | undefined;
947
+ top?: string | undefined;
948
+ bottom?: string | undefined;
949
+ title: string;
950
+ description: string;
951
+ imageSource: string;
952
+ backButtonClick: () => void;
953
+ nextButtonType: string;
954
+ nextButtonText: string;
955
+ nextButtonClick: () => void;
956
+ backButtonType?: string | undefined;
957
+ backButtonText?: string | undefined;
958
+ }[];
959
+ };
960
+ versionHistoryOnboarding: {
961
+ cardIndex: number;
962
+ isActive: boolean;
963
+ config: {
964
+ classes: string;
965
+ position: string;
966
+ left?: string | undefined;
967
+ right?: string | undefined;
968
+ top?: string | undefined;
969
+ bottom?: string | undefined;
970
+ title: string;
971
+ description: string;
972
+ imageSource: string;
973
+ backButtonClick: () => void;
974
+ nextButtonType: string;
975
+ nextButtonText: string;
976
+ nextButtonClick: () => void;
977
+ backButtonType?: string | undefined;
978
+ backButtonText?: string | undefined;
979
+ }[];
980
+ };
981
+ ampOnboarding: {
982
+ cardIndex: number;
983
+ isActive: boolean;
984
+ config: {
985
+ classes: string;
986
+ position: string;
987
+ left?: string | undefined;
988
+ right?: string | undefined;
989
+ top?: string | undefined;
990
+ bottom?: string | undefined;
991
+ title: string;
992
+ description: string;
993
+ imageSource: string;
994
+ backButtonClick: () => void;
995
+ nextButtonType: string;
996
+ nextButtonText: string;
997
+ nextButtonClick: () => void;
998
+ backButtonType?: string | undefined;
999
+ backButtonText?: string | undefined;
1000
+ }[];
1001
+ };
1002
+ };
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
+ };
1032
+ };
1033
+ userModalState: Record<string, Record<string, boolean>>;
1034
+ isFetched: boolean;
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: {
1057
+ onboardings: {
1058
+ newVersionPopup: {
1059
+ cardIndex: number;
1060
+ isActive: boolean;
1061
+ config: {
1062
+ classes: string;
1063
+ position: string;
1064
+ left?: string | undefined;
1065
+ right?: string | undefined;
1066
+ top?: string | undefined;
1067
+ bottom?: string | undefined;
1068
+ title: string;
1069
+ description: string;
1070
+ imageSource: string;
1071
+ backButtonClick: () => void;
1072
+ nextButtonType: string;
1073
+ nextButtonText: string;
1074
+ nextButtonClick: () => void;
1075
+ backButtonType?: string | undefined;
1076
+ backButtonText?: string | undefined;
1077
+ }[];
1078
+ };
1079
+ genericOnboarding: {
1080
+ cardIndex: number;
1081
+ isActive: boolean;
1082
+ config: {
1083
+ classes: string;
1084
+ position: string;
1085
+ left?: string | undefined;
1086
+ right?: string | undefined;
1087
+ top?: string | undefined;
1088
+ bottom?: string | undefined;
1089
+ title: string;
1090
+ description: string;
1091
+ imageSource: string;
1092
+ backButtonClick: () => void;
1093
+ nextButtonType: string;
1094
+ nextButtonText: string;
1095
+ nextButtonClick: () => void;
1096
+ backButtonType?: string | undefined;
1097
+ backButtonText?: string | undefined;
1098
+ }[];
1099
+ };
1100
+ textBlockOnboarding: {
1101
+ cardIndex: number;
1102
+ isActive: boolean;
1103
+ config: {
1104
+ classes: string;
1105
+ position: string;
1106
+ left?: string | undefined;
1107
+ right?: string | undefined;
1108
+ top?: string | undefined;
1109
+ bottom?: string | undefined;
1110
+ title: string;
1111
+ description: string;
1112
+ imageSource: string;
1113
+ backButtonClick: () => void;
1114
+ nextButtonType: string;
1115
+ nextButtonText: string;
1116
+ nextButtonClick: () => void;
1117
+ backButtonType?: string | undefined;
1118
+ backButtonText?: string | undefined;
1119
+ }[];
1120
+ };
1121
+ versionHistoryOnboarding: {
1122
+ cardIndex: number;
1123
+ isActive: boolean;
1124
+ config: {
1125
+ classes: string;
1126
+ position: string;
1127
+ left?: string | undefined;
1128
+ right?: string | undefined;
1129
+ top?: string | undefined;
1130
+ bottom?: string | undefined;
1131
+ title: string;
1132
+ description: string;
1133
+ imageSource: string;
1134
+ backButtonClick: () => void;
1135
+ nextButtonType: string;
1136
+ nextButtonText: string;
1137
+ nextButtonClick: () => void;
1138
+ backButtonType?: string | undefined;
1139
+ backButtonText?: string | undefined;
1140
+ }[];
1141
+ };
1142
+ ampOnboarding: {
1143
+ cardIndex: number;
1144
+ isActive: boolean;
1145
+ config: {
1146
+ classes: string;
1147
+ position: string;
1148
+ left?: string | undefined;
1149
+ right?: string | undefined;
1150
+ top?: string | undefined;
1151
+ bottom?: string | undefined;
1152
+ title: string;
1153
+ description: string;
1154
+ imageSource: string;
1155
+ backButtonClick: () => void;
1156
+ nextButtonType: string;
1157
+ nextButtonText: string;
1158
+ nextButtonClick: () => void;
1159
+ backButtonType?: string | undefined;
1160
+ backButtonText?: string | undefined;
1161
+ }[];
1162
+ };
1163
+ };
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
+ };
1193
+ };
1194
+ userModalState: Record<string, Record<string, boolean>>;
1195
+ isFetched: boolean;
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
+ }[];
1216
+ };
1217
+ genericCurrentCard: (state: {
1218
+ onboardings: {
1219
+ newVersionPopup: {
1220
+ cardIndex: number;
1221
+ isActive: boolean;
1222
+ config: {
1223
+ classes: string;
1224
+ position: string;
1225
+ left?: string | undefined;
1226
+ right?: string | undefined;
1227
+ top?: string | undefined;
1228
+ bottom?: string | undefined;
1229
+ title: string;
1230
+ description: string;
1231
+ imageSource: string;
1232
+ backButtonClick: () => void;
1233
+ nextButtonType: string;
1234
+ nextButtonText: string;
1235
+ nextButtonClick: () => void;
1236
+ backButtonType?: string | undefined;
1237
+ backButtonText?: string | undefined;
1238
+ }[];
1239
+ };
1240
+ genericOnboarding: {
1241
+ cardIndex: number;
1242
+ isActive: boolean;
1243
+ config: {
1244
+ classes: string;
1245
+ position: string;
1246
+ left?: string | undefined;
1247
+ right?: string | undefined;
1248
+ top?: string | undefined;
1249
+ bottom?: string | undefined;
1250
+ title: string;
1251
+ description: string;
1252
+ imageSource: string;
1253
+ backButtonClick: () => void;
1254
+ nextButtonType: string;
1255
+ nextButtonText: string;
1256
+ nextButtonClick: () => void;
1257
+ backButtonType?: string | undefined;
1258
+ backButtonText?: string | undefined;
1259
+ }[];
1260
+ };
1261
+ textBlockOnboarding: {
1262
+ cardIndex: number;
1263
+ isActive: boolean;
1264
+ config: {
1265
+ classes: string;
1266
+ position: string;
1267
+ left?: string | undefined;
1268
+ right?: string | undefined;
1269
+ top?: string | undefined;
1270
+ bottom?: string | undefined;
1271
+ title: string;
1272
+ description: string;
1273
+ imageSource: string;
1274
+ backButtonClick: () => void;
1275
+ nextButtonType: string;
1276
+ nextButtonText: string;
1277
+ nextButtonClick: () => void;
1278
+ backButtonType?: string | undefined;
1279
+ backButtonText?: string | undefined;
1280
+ }[];
1281
+ };
1282
+ versionHistoryOnboarding: {
1283
+ cardIndex: number;
1284
+ isActive: boolean;
1285
+ config: {
1286
+ classes: string;
1287
+ position: string;
1288
+ left?: string | undefined;
1289
+ right?: string | undefined;
1290
+ top?: string | undefined;
1291
+ bottom?: string | undefined;
1292
+ title: string;
1293
+ description: string;
1294
+ imageSource: string;
1295
+ backButtonClick: () => void;
1296
+ nextButtonType: string;
1297
+ nextButtonText: string;
1298
+ nextButtonClick: () => void;
1299
+ backButtonType?: string | undefined;
1300
+ backButtonText?: string | undefined;
1301
+ }[];
1302
+ };
1303
+ ampOnboarding: {
1304
+ cardIndex: number;
1305
+ isActive: boolean;
1306
+ config: {
1307
+ classes: string;
1308
+ position: string;
1309
+ left?: string | undefined;
1310
+ right?: string | undefined;
1311
+ top?: string | undefined;
1312
+ bottom?: string | undefined;
1313
+ title: string;
1314
+ description: string;
1315
+ imageSource: string;
1316
+ backButtonClick: () => void;
1317
+ nextButtonType: string;
1318
+ nextButtonText: string;
1319
+ nextButtonClick: () => void;
1320
+ backButtonType?: string | undefined;
1321
+ backButtonText?: string | undefined;
1322
+ }[];
1323
+ };
1324
+ };
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
+ };
1354
+ };
1355
+ userModalState: Record<string, Record<string, boolean>>;
1356
+ isFetched: boolean;
1357
+ }>) => {
1358
+ classes: string;
1359
+ position: string;
1360
+ left?: string | undefined;
1361
+ right?: string | undefined;
1362
+ top?: string | undefined;
1363
+ bottom?: string | undefined;
1364
+ title: string;
1365
+ description: string;
1366
+ imageSource: string;
1367
+ backButtonClick: () => void;
1368
+ nextButtonType: string;
1369
+ nextButtonText: string;
1370
+ nextButtonClick: () => void;
1371
+ backButtonType?: string | undefined;
1372
+ backButtonText?: string | undefined;
1373
+ };
1374
+ textBlockCurrentCard: (state: {
1375
+ onboardings: {
1376
+ newVersionPopup: {
1377
+ cardIndex: number;
1378
+ isActive: boolean;
1379
+ config: {
1380
+ classes: string;
1381
+ position: string;
1382
+ left?: string | undefined;
1383
+ right?: string | undefined;
1384
+ top?: string | undefined;
1385
+ bottom?: string | undefined;
1386
+ title: string;
1387
+ description: string;
1388
+ imageSource: string;
1389
+ backButtonClick: () => void;
1390
+ nextButtonType: string;
1391
+ nextButtonText: string;
1392
+ nextButtonClick: () => void;
1393
+ backButtonType?: string | undefined;
1394
+ backButtonText?: string | undefined;
1395
+ }[];
1396
+ };
1397
+ genericOnboarding: {
1398
+ cardIndex: number;
1399
+ isActive: boolean;
1400
+ config: {
1401
+ classes: string;
1402
+ position: string;
1403
+ left?: string | undefined;
1404
+ right?: string | undefined;
1405
+ top?: string | undefined;
1406
+ bottom?: string | undefined;
1407
+ title: string;
1408
+ description: string;
1409
+ imageSource: string;
1410
+ backButtonClick: () => void;
1411
+ nextButtonType: string;
1412
+ nextButtonText: string;
1413
+ nextButtonClick: () => void;
1414
+ backButtonType?: string | undefined;
1415
+ backButtonText?: string | undefined;
1416
+ }[];
1417
+ };
1418
+ textBlockOnboarding: {
1419
+ cardIndex: number;
1420
+ isActive: boolean;
1421
+ config: {
1422
+ classes: string;
1423
+ position: string;
1424
+ left?: string | undefined;
1425
+ right?: string | undefined;
1426
+ top?: string | undefined;
1427
+ bottom?: string | undefined;
1428
+ title: string;
1429
+ description: string;
1430
+ imageSource: string;
1431
+ backButtonClick: () => void;
1432
+ nextButtonType: string;
1433
+ nextButtonText: string;
1434
+ nextButtonClick: () => void;
1435
+ backButtonType?: string | undefined;
1436
+ backButtonText?: string | undefined;
1437
+ }[];
1438
+ };
1439
+ versionHistoryOnboarding: {
1440
+ cardIndex: number;
1441
+ isActive: boolean;
1442
+ config: {
1443
+ classes: string;
1444
+ position: string;
1445
+ left?: string | undefined;
1446
+ right?: string | undefined;
1447
+ top?: string | undefined;
1448
+ bottom?: string | undefined;
1449
+ title: string;
1450
+ description: string;
1451
+ imageSource: string;
1452
+ backButtonClick: () => void;
1453
+ nextButtonType: string;
1454
+ nextButtonText: string;
1455
+ nextButtonClick: () => void;
1456
+ backButtonType?: string | undefined;
1457
+ backButtonText?: string | undefined;
1458
+ }[];
1459
+ };
1460
+ ampOnboarding: {
1461
+ cardIndex: number;
1462
+ isActive: boolean;
1463
+ config: {
1464
+ classes: string;
1465
+ position: string;
1466
+ left?: string | undefined;
1467
+ right?: string | undefined;
1468
+ top?: string | undefined;
1469
+ bottom?: string | undefined;
1470
+ title: string;
1471
+ description: string;
1472
+ imageSource: string;
1473
+ backButtonClick: () => void;
1474
+ nextButtonType: string;
1475
+ nextButtonText: string;
1476
+ nextButtonClick: () => void;
1477
+ backButtonType?: string | undefined;
1478
+ backButtonText?: string | undefined;
1479
+ }[];
1480
+ };
1481
+ };
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
+ };
1511
+ };
1512
+ userModalState: Record<string, Record<string, boolean>>;
1513
+ isFetched: boolean;
1514
+ }>) => {
1515
+ classes: string;
1516
+ position: string;
1517
+ left?: string | undefined;
1518
+ right?: string | undefined;
1519
+ top?: string | undefined;
1520
+ bottom?: string | undefined;
1521
+ title: string;
1522
+ description: string;
1523
+ imageSource: string;
1524
+ backButtonClick: () => void;
1525
+ nextButtonType: string;
1526
+ nextButtonText: string;
1527
+ nextButtonClick: () => void;
1528
+ backButtonType?: string | undefined;
1529
+ backButtonText?: string | undefined;
1530
+ };
1531
+ versionHistoryCurrentCard: (state: {
1532
+ onboardings: {
1533
+ newVersionPopup: {
1534
+ cardIndex: number;
1535
+ isActive: boolean;
1536
+ config: {
1537
+ classes: string;
1538
+ position: string;
1539
+ left?: string | undefined;
1540
+ right?: string | undefined;
1541
+ top?: string | undefined;
1542
+ bottom?: string | undefined;
1543
+ title: string;
1544
+ description: string;
1545
+ imageSource: string;
1546
+ backButtonClick: () => void;
1547
+ nextButtonType: string;
1548
+ nextButtonText: string;
1549
+ nextButtonClick: () => void;
1550
+ backButtonType?: string | undefined;
1551
+ backButtonText?: string | undefined;
1552
+ }[];
1553
+ };
1554
+ genericOnboarding: {
1555
+ cardIndex: number;
1556
+ isActive: boolean;
1557
+ config: {
1558
+ classes: string;
1559
+ position: string;
1560
+ left?: string | undefined;
1561
+ right?: string | undefined;
1562
+ top?: string | undefined;
1563
+ bottom?: string | undefined;
1564
+ title: string;
1565
+ description: string;
1566
+ imageSource: string;
1567
+ backButtonClick: () => void;
1568
+ nextButtonType: string;
1569
+ nextButtonText: string;
1570
+ nextButtonClick: () => void;
1571
+ backButtonType?: string | undefined;
1572
+ backButtonText?: string | undefined;
1573
+ }[];
1574
+ };
1575
+ textBlockOnboarding: {
1576
+ cardIndex: number;
1577
+ isActive: boolean;
1578
+ config: {
1579
+ classes: string;
1580
+ position: string;
1581
+ left?: string | undefined;
1582
+ right?: string | undefined;
1583
+ top?: string | undefined;
1584
+ bottom?: string | undefined;
1585
+ title: string;
1586
+ description: string;
1587
+ imageSource: string;
1588
+ backButtonClick: () => void;
1589
+ nextButtonType: string;
1590
+ nextButtonText: string;
1591
+ nextButtonClick: () => void;
1592
+ backButtonType?: string | undefined;
1593
+ backButtonText?: string | undefined;
1594
+ }[];
1595
+ };
1596
+ versionHistoryOnboarding: {
1597
+ cardIndex: number;
1598
+ isActive: boolean;
1599
+ config: {
1600
+ classes: string;
1601
+ position: string;
1602
+ left?: string | undefined;
1603
+ right?: string | undefined;
1604
+ top?: string | undefined;
1605
+ bottom?: string | undefined;
1606
+ title: string;
1607
+ description: string;
1608
+ imageSource: string;
1609
+ backButtonClick: () => void;
1610
+ nextButtonType: string;
1611
+ nextButtonText: string;
1612
+ nextButtonClick: () => void;
1613
+ backButtonType?: string | undefined;
1614
+ backButtonText?: string | undefined;
1615
+ }[];
1616
+ };
1617
+ ampOnboarding: {
1618
+ cardIndex: number;
1619
+ isActive: boolean;
1620
+ config: {
1621
+ classes: string;
1622
+ position: string;
1623
+ left?: string | undefined;
1624
+ right?: string | undefined;
1625
+ top?: string | undefined;
1626
+ bottom?: string | undefined;
1627
+ title: string;
1628
+ description: string;
1629
+ imageSource: string;
1630
+ backButtonClick: () => void;
1631
+ nextButtonType: string;
1632
+ nextButtonText: string;
1633
+ nextButtonClick: () => void;
1634
+ backButtonType?: string | undefined;
1635
+ backButtonText?: string | undefined;
1636
+ }[];
1637
+ };
1638
+ };
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
+ };
1668
+ };
1669
+ userModalState: Record<string, Record<string, boolean>>;
1670
+ isFetched: boolean;
1671
+ }>) => {
1672
+ classes: string;
1673
+ position: string;
1674
+ left?: string | undefined;
1675
+ right?: string | undefined;
1676
+ top?: string | undefined;
1677
+ bottom?: string | undefined;
1678
+ title: string;
1679
+ description: string;
1680
+ imageSource: string;
1681
+ backButtonClick: () => void;
1682
+ nextButtonType: string;
1683
+ nextButtonText: string;
1684
+ nextButtonClick: () => void;
1685
+ backButtonType?: string | undefined;
1686
+ backButtonText?: string | undefined;
1687
+ };
1688
+ ampCurrentCard: (state: {
1689
+ onboardings: {
1690
+ newVersionPopup: {
1691
+ cardIndex: number;
1692
+ isActive: boolean;
1693
+ config: {
1694
+ classes: string;
1695
+ position: string;
1696
+ left?: string | undefined;
1697
+ right?: string | undefined;
1698
+ top?: string | undefined;
1699
+ bottom?: string | undefined;
1700
+ title: string;
1701
+ description: string;
1702
+ imageSource: string;
1703
+ backButtonClick: () => void;
1704
+ nextButtonType: string;
1705
+ nextButtonText: string;
1706
+ nextButtonClick: () => void;
1707
+ backButtonType?: string | undefined;
1708
+ backButtonText?: string | undefined;
1709
+ }[];
1710
+ };
1711
+ genericOnboarding: {
1712
+ cardIndex: number;
1713
+ isActive: boolean;
1714
+ config: {
1715
+ classes: string;
1716
+ position: string;
1717
+ left?: string | undefined;
1718
+ right?: string | undefined;
1719
+ top?: string | undefined;
1720
+ bottom?: string | undefined;
1721
+ title: string;
1722
+ description: string;
1723
+ imageSource: string;
1724
+ backButtonClick: () => void;
1725
+ nextButtonType: string;
1726
+ nextButtonText: string;
1727
+ nextButtonClick: () => void;
1728
+ backButtonType?: string | undefined;
1729
+ backButtonText?: string | undefined;
1730
+ }[];
1731
+ };
1732
+ textBlockOnboarding: {
1733
+ cardIndex: number;
1734
+ isActive: boolean;
1735
+ config: {
1736
+ classes: string;
1737
+ position: string;
1738
+ left?: string | undefined;
1739
+ right?: string | undefined;
1740
+ top?: string | undefined;
1741
+ bottom?: string | undefined;
1742
+ title: string;
1743
+ description: string;
1744
+ imageSource: string;
1745
+ backButtonClick: () => void;
1746
+ nextButtonType: string;
1747
+ nextButtonText: string;
1748
+ nextButtonClick: () => void;
1749
+ backButtonType?: string | undefined;
1750
+ backButtonText?: string | undefined;
1751
+ }[];
1752
+ };
1753
+ versionHistoryOnboarding: {
1754
+ cardIndex: number;
1755
+ isActive: boolean;
1756
+ config: {
1757
+ classes: string;
1758
+ position: string;
1759
+ left?: string | undefined;
1760
+ right?: string | undefined;
1761
+ top?: string | undefined;
1762
+ bottom?: string | undefined;
1763
+ title: string;
1764
+ description: string;
1765
+ imageSource: string;
1766
+ backButtonClick: () => void;
1767
+ nextButtonType: string;
1768
+ nextButtonText: string;
1769
+ nextButtonClick: () => void;
1770
+ backButtonType?: string | undefined;
1771
+ backButtonText?: string | undefined;
1772
+ }[];
1773
+ };
1774
+ ampOnboarding: {
1775
+ cardIndex: number;
1776
+ isActive: boolean;
1777
+ config: {
1778
+ classes: string;
1779
+ position: string;
1780
+ left?: string | undefined;
1781
+ right?: string | undefined;
1782
+ top?: string | undefined;
1783
+ bottom?: string | undefined;
1784
+ title: string;
1785
+ description: string;
1786
+ imageSource: string;
1787
+ backButtonClick: () => void;
1788
+ nextButtonType: string;
1789
+ nextButtonText: string;
1790
+ nextButtonClick: () => void;
1791
+ backButtonType?: string | undefined;
1792
+ backButtonText?: string | undefined;
1793
+ }[];
1794
+ };
1795
+ };
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
+ };
1825
+ };
1826
+ userModalState: Record<string, Record<string, boolean>>;
1827
+ isFetched: boolean;
1828
+ }>) => {
1829
+ classes: string;
1830
+ position: string;
1831
+ left?: string | undefined;
1832
+ right?: string | undefined;
1833
+ top?: string | undefined;
1834
+ bottom?: string | undefined;
1835
+ title: string;
1836
+ description: string;
1837
+ imageSource: string;
1838
+ backButtonClick: () => void;
1839
+ nextButtonType: string;
1840
+ nextButtonText: string;
1841
+ nextButtonClick: () => void;
1842
+ backButtonType?: string | undefined;
1843
+ backButtonText?: string | undefined;
1844
+ };
1845
+ shouldShowOnboarding: (state: {
1846
+ onboardings: {
1847
+ newVersionPopup: {
1848
+ cardIndex: number;
1849
+ isActive: boolean;
1850
+ config: {
1851
+ classes: string;
1852
+ position: string;
1853
+ left?: string | undefined;
1854
+ right?: string | undefined;
1855
+ top?: string | undefined;
1856
+ bottom?: string | undefined;
1857
+ title: string;
1858
+ description: string;
1859
+ imageSource: string;
1860
+ backButtonClick: () => void;
1861
+ nextButtonType: string;
1862
+ nextButtonText: string;
1863
+ nextButtonClick: () => void;
1864
+ backButtonType?: string | undefined;
1865
+ backButtonText?: string | undefined;
1866
+ }[];
1867
+ };
1868
+ genericOnboarding: {
1869
+ cardIndex: number;
1870
+ isActive: boolean;
1871
+ config: {
1872
+ classes: string;
1873
+ position: string;
1874
+ left?: string | undefined;
1875
+ right?: string | undefined;
1876
+ top?: string | undefined;
1877
+ bottom?: string | undefined;
1878
+ title: string;
1879
+ description: string;
1880
+ imageSource: string;
1881
+ backButtonClick: () => void;
1882
+ nextButtonType: string;
1883
+ nextButtonText: string;
1884
+ nextButtonClick: () => void;
1885
+ backButtonType?: string | undefined;
1886
+ backButtonText?: string | undefined;
1887
+ }[];
1888
+ };
1889
+ textBlockOnboarding: {
1890
+ cardIndex: number;
1891
+ isActive: boolean;
1892
+ config: {
1893
+ classes: string;
1894
+ position: string;
1895
+ left?: string | undefined;
1896
+ right?: string | undefined;
1897
+ top?: string | undefined;
1898
+ bottom?: string | undefined;
1899
+ title: string;
1900
+ description: string;
1901
+ imageSource: string;
1902
+ backButtonClick: () => void;
1903
+ nextButtonType: string;
1904
+ nextButtonText: string;
1905
+ nextButtonClick: () => void;
1906
+ backButtonType?: string | undefined;
1907
+ backButtonText?: string | undefined;
1908
+ }[];
1909
+ };
1910
+ versionHistoryOnboarding: {
1911
+ cardIndex: number;
1912
+ isActive: boolean;
1913
+ config: {
1914
+ classes: string;
1915
+ position: string;
1916
+ left?: string | undefined;
1917
+ right?: string | undefined;
1918
+ top?: string | undefined;
1919
+ bottom?: string | undefined;
1920
+ title: string;
1921
+ description: string;
1922
+ imageSource: string;
1923
+ backButtonClick: () => void;
1924
+ nextButtonType: string;
1925
+ nextButtonText: string;
1926
+ nextButtonClick: () => void;
1927
+ backButtonType?: string | undefined;
1928
+ backButtonText?: string | undefined;
1929
+ }[];
1930
+ };
1931
+ ampOnboarding: {
1932
+ cardIndex: number;
1933
+ isActive: boolean;
1934
+ config: {
1935
+ classes: string;
1936
+ position: string;
1937
+ left?: string | undefined;
1938
+ right?: string | undefined;
1939
+ top?: string | undefined;
1940
+ bottom?: string | undefined;
1941
+ title: string;
1942
+ description: string;
1943
+ imageSource: string;
1944
+ backButtonClick: () => void;
1945
+ nextButtonType: string;
1946
+ nextButtonText: string;
1947
+ nextButtonClick: () => void;
1948
+ backButtonType?: string | undefined;
1949
+ backButtonText?: string | undefined;
1950
+ }[];
1951
+ };
1952
+ };
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
+ };
1982
+ };
1983
+ userModalState: Record<string, Record<string, boolean>>;
1984
+ isFetched: boolean;
1985
+ }>) => (type: OnboardingType) => boolean;
1986
+ }, {
1987
+ start(type: OnboardingType): void;
1988
+ close(type: OnboardingType): Promise<void>;
1989
+ next(type: OnboardingType): void;
1990
+ previous(type: OnboardingType): void;
1991
+ setConfig(type: OnboardingType, config: OnboardingCardConfig[]): void;
1992
+ onDiscoverNowClicked(): Promise<void>;
1993
+ onRemindMeLater(): void;
1994
+ onNewVersionPopupClose(): Promise<void>;
1995
+ isOnboardingActive(): boolean;
1996
+ fetchUserModalState(): Promise<void>;
1997
+ setUserModalState(modal: string, state: string, page: string): Promise<void>;
1998
+ }>;