@useinsider/guido 3.19.0 → 3.20.0-beta.0849ec7
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 +22 -3
- package/dist/@types/config/schemas.js +76 -53
- package/dist/components/Guido.vue.js +4 -4
- package/dist/components/Guido.vue2.js +102 -86
- package/dist/components/organisms/AutoSaveController.vue2.js +9 -8
- package/dist/components/organisms/base/AuthErrorModal.vue.js +18 -0
- package/dist/components/organisms/base/AuthErrorModal.vue2.js +42 -0
- package/dist/components/organisms/base/Toaster.vue2.js +13 -12
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +13 -11
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +78 -57
- package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.js +18 -0
- package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue2.js +25 -0
- package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue2.js +28 -42
- package/dist/components/organisms/header/EditorActions.vue.js +5 -5
- package/dist/components/organisms/header/EditorActions.vue2.js +90 -57
- package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +16 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +28 -24
- package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue.js +21 -0
- package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue2.js +46 -0
- package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.js +21 -0
- package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue2.js +47 -0
- package/dist/components/organisms/validation/ValidationErrorDrawer.vue.js +20 -0
- package/dist/components/organisms/validation/ValidationErrorDrawer.vue2.js +49 -0
- package/dist/components/wrappers/WpDrawer.vue.js +9 -7
- package/dist/components/wrappers/WpDrawer.vue2.js +1 -1
- package/dist/components/wrappers/WpModal.vue.js +1 -1
- package/dist/components/wrappers/WpModal.vue2.js +4 -3
- package/dist/composables/useActionsApi.js +52 -47
- package/dist/composables/useAuthError.js +52 -0
- package/dist/composables/useAutoSave.js +11 -11
- package/dist/composables/useCodeEditorApi.js +23 -9
- package/dist/composables/useCortexBlueprintBridge.js +122 -54
- package/dist/composables/useCustomInterfaceAppearance.js +65 -51
- package/dist/composables/useEmailTemplateApplier.js +111 -50
- package/dist/composables/useHtmlCompiler.js +37 -26
- package/dist/composables/useHtmlValidator.js +89 -82
- package/dist/composables/useHttp.js +64 -54
- package/dist/composables/useLegacyStrategyConversion.js +65 -0
- package/dist/composables/useRecommendation.js +40 -35
- package/dist/composables/useSave.js +90 -45
- package/dist/composables/useSaveValidation.js +282 -0
- package/dist/composables/useSaveValidationRollout.js +9 -0
- package/dist/composables/useStripo.js +43 -39
- package/dist/composables/useToaster.js +18 -22
- package/dist/composables/useTranslations.js +3 -2
- package/dist/composables/useVersionHistoryApi.js +33 -24
- package/dist/composables/validators/useCouponBlockValidator.js +24 -21
- package/dist/composables/validators/useLiquidValidator.js +15 -15
- package/dist/composables/validators/useUnsubscribeBlockValidator.js +34 -27
- package/dist/config/migrator/index.js +14 -13
- package/dist/config/migrator/itemsBlockMigrator.js +236 -248
- package/dist/config/migrator/recommendationMigrator.js +28 -21
- package/dist/config/migrator/recommendationPartnerMigrator.js +56 -0
- package/dist/enums/extensions/recommendationBlock.js +51 -34
- package/dist/enums/save-validation.js +4 -0
- package/dist/extensions/Blocks/Items/constants/cardLayout.js +20 -0
- package/dist/extensions/Blocks/Items/controls/name/trimming.js +18 -17
- package/dist/extensions/Blocks/Items/controls/settingsControl.js +114 -105
- package/dist/extensions/Blocks/Items/enums/productEnums.js +14 -9
- package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +11 -9
- package/dist/extensions/Blocks/Items/template.js +219 -204
- package/dist/extensions/Blocks/Recommendation/block.js +65 -45
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +21 -20
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +103 -90
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +150 -52
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +74 -74
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +274 -92
- package/dist/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.js +42 -0
- package/dist/extensions/Blocks/Recommendation/utils/nodeConfigWriter.js +26 -16
- package/dist/extensions/Blocks/Recommendation/utils/partnerCustomizations.js +3 -1
- package/dist/extensions/Blocks/Recommendation/utils/partnerScope.js +25 -0
- package/dist/extensions/Blocks/Recommendation/utils/productIds.js +5 -3
- package/dist/extensions/Blocks/Recommendation/utils/strategyCommit.js +24 -0
- package/dist/extensions/Blocks/Recommendation/validation/requiredFields.js +21 -12
- package/dist/guido.css +1 -1
- package/dist/services/recommendationApi.js +46 -37
- package/dist/src/@types/config/schemas.d.ts +36 -0
- package/dist/src/@types/save-validation.d.ts +19 -0
- package/dist/src/components/Guido.vue.d.ts +17 -1
- package/dist/src/components/organisms/base/AuthErrorModal.vue.d.ts +2 -0
- package/dist/src/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/EditorActions.vue.d.ts +17 -1
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +17 -1
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +17 -1
- package/dist/src/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue.d.ts +2 -0
- package/dist/src/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.d.ts +2 -0
- package/dist/src/components/organisms/validation/ValidationErrorDrawer.vue.d.ts +2 -0
- package/dist/src/components/wrappers/WpDrawer.vue.d.ts +4 -3
- package/dist/src/components/wrappers/WpModal.vue.d.ts +5 -1
- package/dist/src/composables/useAuthError.d.ts +12 -0
- package/dist/src/composables/useConfig.d.ts +8 -0
- package/dist/src/composables/useCortexBlueprintBridge.d.ts +2 -3
- package/dist/src/composables/useEmailTemplateApplier.d.ts +18 -5
- package/dist/src/composables/useGuidoActions.d.ts +2 -0
- package/dist/src/composables/useHtmlValidator.d.ts +21 -0
- package/dist/src/composables/useHttp.d.ts +2 -0
- package/dist/src/composables/useLegacyStrategyConversion.d.ts +3 -0
- package/dist/src/composables/useSave.d.ts +6 -1
- package/dist/src/composables/useSaveValidation.d.ts +6 -0
- package/dist/src/composables/useSaveValidationRollout.d.ts +3 -0
- package/dist/src/composables/validators/useCouponBlockValidator.d.ts +3 -0
- package/dist/src/composables/validators/useUnsubscribeBlockValidator.d.ts +10 -0
- package/dist/src/config/migrator/index.d.ts +2 -1
- package/dist/src/config/migrator/recommendationPartnerMigrator.d.ts +19 -0
- package/dist/src/enums/extensions/recommendationBlock.d.ts +7 -1
- package/dist/src/enums/save-validation.d.ts +27 -0
- package/dist/src/extensions/Blocks/Items/constants/cardLayout.d.ts +44 -0
- package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +3 -0
- package/dist/src/extensions/Blocks/Items/template.d.ts +19 -0
- package/dist/src/extensions/Blocks/Recommendation/block.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +7 -2
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +162 -1
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +6 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.d.ts +32 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/partnerScope.d.ts +33 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/productIds.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/strategyCommit.d.ts +14 -0
- package/dist/src/extensions/Blocks/Recommendation/validation/requiredFields.d.ts +4 -0
- package/dist/src/mock/cortexChatStore.d.ts +12 -0
- package/dist/src/services/recommendationApi.d.ts +2 -1
- package/dist/src/stores/config.d.ts +374 -0
- package/dist/src/stores/guido-email-editor.d.ts +20 -10
- package/dist/src/stores/onboarding.d.ts +812 -10
- package/dist/src/stores/recommendation.d.ts +5 -0
- package/dist/src/stores/save-validation.d.ts +22 -0
- package/dist/src/utils/dateUtil.d.ts +10 -0
- package/dist/src/utils/genericUtil.d.ts +3 -0
- package/dist/src/utils/stripoEditorApi.d.ts +4 -0
- package/dist/src/utils/templatePreparation.d.ts +30 -0
- package/dist/static/assets/icons/filled-arrow-rising.svg.js +5 -0
- package/dist/static/assets/icons/line-info.svg.js +5 -0
- package/dist/static/styles/components/recommendation-strategy.css.js +113 -9
- package/dist/static/styles/components/skeleton.css.js +23 -0
- package/dist/static/styles/components/version-history.css.js +2 -6
- package/dist/stores/config.js +55 -24
- package/dist/stores/guido-email-editor.js +3 -1
- package/dist/stores/onboarding.js +50 -36
- package/dist/stores/save-validation.js +30 -0
- package/dist/stores/unsubscribe.js +3 -3
- package/dist/utils/pairProductVariables.js +71 -71
- package/dist/utils/stripoEditorApi.js +11 -0
- package/dist/utils/templatePreparation.js +54 -51
- package/package.json +2 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnboardingCardConfig, OnboardingType, OnboardingStoreState } from '@@/Types/onboarding';
|
|
2
2
|
export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoOnboarding", OnboardingStoreState, {
|
|
3
|
+
/** @deprecated Components use the type-specific getters. Slated for deletion, see the SD-667788 dead-code ledger. */
|
|
3
4
|
getOnboarding: (state: {
|
|
4
5
|
onboardings: {
|
|
5
6
|
newVersionPopup: {
|
|
@@ -128,6 +129,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
128
129
|
backButtonText?: string | undefined;
|
|
129
130
|
}[];
|
|
130
131
|
};
|
|
132
|
+
recommendationStrategyOnboarding: {
|
|
133
|
+
cardIndex: number;
|
|
134
|
+
isActive: boolean;
|
|
135
|
+
config: {
|
|
136
|
+
classes: string;
|
|
137
|
+
position: string;
|
|
138
|
+
left?: string | undefined;
|
|
139
|
+
right?: string | undefined;
|
|
140
|
+
top?: string | undefined;
|
|
141
|
+
bottom?: string | undefined;
|
|
142
|
+
title: string;
|
|
143
|
+
description: string;
|
|
144
|
+
imageSource: string;
|
|
145
|
+
backButtonClick: () => void;
|
|
146
|
+
nextButtonType: string;
|
|
147
|
+
nextButtonText: string;
|
|
148
|
+
nextButtonClick: () => void;
|
|
149
|
+
backButtonType?: string | undefined;
|
|
150
|
+
backButtonText?: string | undefined;
|
|
151
|
+
}[];
|
|
152
|
+
};
|
|
153
|
+
recommendationLegacyStrategyOnboarding: {
|
|
154
|
+
cardIndex: number;
|
|
155
|
+
isActive: boolean;
|
|
156
|
+
config: {
|
|
157
|
+
classes: string;
|
|
158
|
+
position: string;
|
|
159
|
+
left?: string | undefined;
|
|
160
|
+
right?: string | undefined;
|
|
161
|
+
top?: string | undefined;
|
|
162
|
+
bottom?: string | undefined;
|
|
163
|
+
title: string;
|
|
164
|
+
description: string;
|
|
165
|
+
imageSource: string;
|
|
166
|
+
backButtonClick: () => void;
|
|
167
|
+
nextButtonType: string;
|
|
168
|
+
nextButtonText: string;
|
|
169
|
+
nextButtonClick: () => void;
|
|
170
|
+
backButtonType?: string | undefined;
|
|
171
|
+
backButtonText?: string | undefined;
|
|
172
|
+
}[];
|
|
173
|
+
};
|
|
131
174
|
};
|
|
132
175
|
userModalState: {
|
|
133
176
|
Guido?: {
|
|
@@ -137,6 +180,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
137
180
|
versionHistoryOnboarding?: boolean | undefined;
|
|
138
181
|
ampOnboarding?: boolean | undefined;
|
|
139
182
|
itemsOnboarding?: boolean | undefined;
|
|
183
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
184
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
140
185
|
} | undefined;
|
|
141
186
|
};
|
|
142
187
|
isFetched: boolean;
|
|
@@ -289,6 +334,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
289
334
|
backButtonText?: string | undefined;
|
|
290
335
|
}[];
|
|
291
336
|
};
|
|
337
|
+
recommendationStrategyOnboarding: {
|
|
338
|
+
cardIndex: number;
|
|
339
|
+
isActive: boolean;
|
|
340
|
+
config: {
|
|
341
|
+
classes: string;
|
|
342
|
+
position: string;
|
|
343
|
+
left?: string | undefined;
|
|
344
|
+
right?: string | undefined;
|
|
345
|
+
top?: string | undefined;
|
|
346
|
+
bottom?: string | undefined;
|
|
347
|
+
title: string;
|
|
348
|
+
description: string;
|
|
349
|
+
imageSource: string;
|
|
350
|
+
backButtonClick: () => void;
|
|
351
|
+
nextButtonType: string;
|
|
352
|
+
nextButtonText: string;
|
|
353
|
+
nextButtonClick: () => void;
|
|
354
|
+
backButtonType?: string | undefined;
|
|
355
|
+
backButtonText?: string | undefined;
|
|
356
|
+
}[];
|
|
357
|
+
};
|
|
358
|
+
recommendationLegacyStrategyOnboarding: {
|
|
359
|
+
cardIndex: number;
|
|
360
|
+
isActive: boolean;
|
|
361
|
+
config: {
|
|
362
|
+
classes: string;
|
|
363
|
+
position: string;
|
|
364
|
+
left?: string | undefined;
|
|
365
|
+
right?: string | undefined;
|
|
366
|
+
top?: string | undefined;
|
|
367
|
+
bottom?: string | undefined;
|
|
368
|
+
title: string;
|
|
369
|
+
description: string;
|
|
370
|
+
imageSource: string;
|
|
371
|
+
backButtonClick: () => void;
|
|
372
|
+
nextButtonType: string;
|
|
373
|
+
nextButtonText: string;
|
|
374
|
+
nextButtonClick: () => void;
|
|
375
|
+
backButtonType?: string | undefined;
|
|
376
|
+
backButtonText?: string | undefined;
|
|
377
|
+
}[];
|
|
378
|
+
};
|
|
292
379
|
};
|
|
293
380
|
userModalState: {
|
|
294
381
|
Guido?: {
|
|
@@ -298,10 +385,13 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
298
385
|
versionHistoryOnboarding?: boolean | undefined;
|
|
299
386
|
ampOnboarding?: boolean | undefined;
|
|
300
387
|
itemsOnboarding?: boolean | undefined;
|
|
388
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
389
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
301
390
|
} | undefined;
|
|
302
391
|
};
|
|
303
392
|
isFetched: boolean;
|
|
304
393
|
} & import("pinia").PiniaCustomStateProperties<OnboardingStoreState>) => (type: OnboardingType) => boolean;
|
|
394
|
+
/** @deprecated Components use getGenericCurrentCard / getTextBlockCurrentCard. Slated for deletion, see the SD-667788 dead-code ledger. */
|
|
305
395
|
getCurrentCard: (state: {
|
|
306
396
|
onboardings: {
|
|
307
397
|
newVersionPopup: {
|
|
@@ -346,7 +436,451 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
346
436
|
backButtonText?: string | undefined;
|
|
347
437
|
}[];
|
|
348
438
|
};
|
|
349
|
-
textBlockOnboarding: {
|
|
439
|
+
textBlockOnboarding: {
|
|
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
|
+
versionHistoryOnboarding: {
|
|
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
|
+
ampOnboarding: {
|
|
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
|
+
itemsOnboarding: {
|
|
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
|
+
recommendationStrategyOnboarding: {
|
|
524
|
+
cardIndex: number;
|
|
525
|
+
isActive: boolean;
|
|
526
|
+
config: {
|
|
527
|
+
classes: string;
|
|
528
|
+
position: string;
|
|
529
|
+
left?: string | undefined;
|
|
530
|
+
right?: string | undefined;
|
|
531
|
+
top?: string | undefined;
|
|
532
|
+
bottom?: string | undefined;
|
|
533
|
+
title: string;
|
|
534
|
+
description: string;
|
|
535
|
+
imageSource: string;
|
|
536
|
+
backButtonClick: () => void;
|
|
537
|
+
nextButtonType: string;
|
|
538
|
+
nextButtonText: string;
|
|
539
|
+
nextButtonClick: () => void;
|
|
540
|
+
backButtonType?: string | undefined;
|
|
541
|
+
backButtonText?: string | undefined;
|
|
542
|
+
}[];
|
|
543
|
+
};
|
|
544
|
+
recommendationLegacyStrategyOnboarding: {
|
|
545
|
+
cardIndex: number;
|
|
546
|
+
isActive: boolean;
|
|
547
|
+
config: {
|
|
548
|
+
classes: string;
|
|
549
|
+
position: string;
|
|
550
|
+
left?: string | undefined;
|
|
551
|
+
right?: string | undefined;
|
|
552
|
+
top?: string | undefined;
|
|
553
|
+
bottom?: string | undefined;
|
|
554
|
+
title: string;
|
|
555
|
+
description: string;
|
|
556
|
+
imageSource: string;
|
|
557
|
+
backButtonClick: () => void;
|
|
558
|
+
nextButtonType: string;
|
|
559
|
+
nextButtonText: string;
|
|
560
|
+
nextButtonClick: () => void;
|
|
561
|
+
backButtonType?: string | undefined;
|
|
562
|
+
backButtonText?: string | undefined;
|
|
563
|
+
}[];
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
userModalState: {
|
|
567
|
+
Guido?: {
|
|
568
|
+
newVersionPopup?: boolean | undefined;
|
|
569
|
+
genericOnboarding?: boolean | undefined;
|
|
570
|
+
textBlockOnboarding?: boolean | undefined;
|
|
571
|
+
versionHistoryOnboarding?: boolean | undefined;
|
|
572
|
+
ampOnboarding?: boolean | undefined;
|
|
573
|
+
itemsOnboarding?: boolean | undefined;
|
|
574
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
575
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
576
|
+
} | undefined;
|
|
577
|
+
};
|
|
578
|
+
isFetched: boolean;
|
|
579
|
+
} & import("pinia").PiniaCustomStateProperties<OnboardingStoreState>) => (type: OnboardingType) => {
|
|
580
|
+
classes: string;
|
|
581
|
+
position: string;
|
|
582
|
+
left?: string | undefined;
|
|
583
|
+
right?: string | undefined;
|
|
584
|
+
top?: string | undefined;
|
|
585
|
+
bottom?: string | undefined;
|
|
586
|
+
title: string;
|
|
587
|
+
description: string;
|
|
588
|
+
imageSource: string;
|
|
589
|
+
backButtonClick: () => void;
|
|
590
|
+
nextButtonType: string;
|
|
591
|
+
nextButtonText: string;
|
|
592
|
+
nextButtonClick: () => void;
|
|
593
|
+
backButtonType?: string | undefined;
|
|
594
|
+
backButtonText?: string | undefined;
|
|
595
|
+
};
|
|
596
|
+
getGenericCurrentCard: (state: {
|
|
597
|
+
onboardings: {
|
|
598
|
+
newVersionPopup: {
|
|
599
|
+
cardIndex: number;
|
|
600
|
+
isActive: boolean;
|
|
601
|
+
config: {
|
|
602
|
+
classes: string;
|
|
603
|
+
position: string;
|
|
604
|
+
left?: string | undefined;
|
|
605
|
+
right?: string | undefined;
|
|
606
|
+
top?: string | undefined;
|
|
607
|
+
bottom?: string | undefined;
|
|
608
|
+
title: string;
|
|
609
|
+
description: string;
|
|
610
|
+
imageSource: string;
|
|
611
|
+
backButtonClick: () => void;
|
|
612
|
+
nextButtonType: string;
|
|
613
|
+
nextButtonText: string;
|
|
614
|
+
nextButtonClick: () => void;
|
|
615
|
+
backButtonType?: string | undefined;
|
|
616
|
+
backButtonText?: string | undefined;
|
|
617
|
+
}[];
|
|
618
|
+
};
|
|
619
|
+
genericOnboarding: {
|
|
620
|
+
cardIndex: number;
|
|
621
|
+
isActive: boolean;
|
|
622
|
+
config: {
|
|
623
|
+
classes: string;
|
|
624
|
+
position: string;
|
|
625
|
+
left?: string | undefined;
|
|
626
|
+
right?: string | undefined;
|
|
627
|
+
top?: string | undefined;
|
|
628
|
+
bottom?: string | undefined;
|
|
629
|
+
title: string;
|
|
630
|
+
description: string;
|
|
631
|
+
imageSource: string;
|
|
632
|
+
backButtonClick: () => void;
|
|
633
|
+
nextButtonType: string;
|
|
634
|
+
nextButtonText: string;
|
|
635
|
+
nextButtonClick: () => void;
|
|
636
|
+
backButtonType?: string | undefined;
|
|
637
|
+
backButtonText?: string | undefined;
|
|
638
|
+
}[];
|
|
639
|
+
};
|
|
640
|
+
textBlockOnboarding: {
|
|
641
|
+
cardIndex: number;
|
|
642
|
+
isActive: boolean;
|
|
643
|
+
config: {
|
|
644
|
+
classes: string;
|
|
645
|
+
position: string;
|
|
646
|
+
left?: string | undefined;
|
|
647
|
+
right?: string | undefined;
|
|
648
|
+
top?: string | undefined;
|
|
649
|
+
bottom?: string | undefined;
|
|
650
|
+
title: string;
|
|
651
|
+
description: string;
|
|
652
|
+
imageSource: string;
|
|
653
|
+
backButtonClick: () => void;
|
|
654
|
+
nextButtonType: string;
|
|
655
|
+
nextButtonText: string;
|
|
656
|
+
nextButtonClick: () => void;
|
|
657
|
+
backButtonType?: string | undefined;
|
|
658
|
+
backButtonText?: string | undefined;
|
|
659
|
+
}[];
|
|
660
|
+
};
|
|
661
|
+
versionHistoryOnboarding: {
|
|
662
|
+
cardIndex: number;
|
|
663
|
+
isActive: boolean;
|
|
664
|
+
config: {
|
|
665
|
+
classes: string;
|
|
666
|
+
position: string;
|
|
667
|
+
left?: string | undefined;
|
|
668
|
+
right?: string | undefined;
|
|
669
|
+
top?: string | undefined;
|
|
670
|
+
bottom?: string | undefined;
|
|
671
|
+
title: string;
|
|
672
|
+
description: string;
|
|
673
|
+
imageSource: string;
|
|
674
|
+
backButtonClick: () => void;
|
|
675
|
+
nextButtonType: string;
|
|
676
|
+
nextButtonText: string;
|
|
677
|
+
nextButtonClick: () => void;
|
|
678
|
+
backButtonType?: string | undefined;
|
|
679
|
+
backButtonText?: string | undefined;
|
|
680
|
+
}[];
|
|
681
|
+
};
|
|
682
|
+
ampOnboarding: {
|
|
683
|
+
cardIndex: number;
|
|
684
|
+
isActive: boolean;
|
|
685
|
+
config: {
|
|
686
|
+
classes: string;
|
|
687
|
+
position: string;
|
|
688
|
+
left?: string | undefined;
|
|
689
|
+
right?: string | undefined;
|
|
690
|
+
top?: string | undefined;
|
|
691
|
+
bottom?: string | undefined;
|
|
692
|
+
title: string;
|
|
693
|
+
description: string;
|
|
694
|
+
imageSource: string;
|
|
695
|
+
backButtonClick: () => void;
|
|
696
|
+
nextButtonType: string;
|
|
697
|
+
nextButtonText: string;
|
|
698
|
+
nextButtonClick: () => void;
|
|
699
|
+
backButtonType?: string | undefined;
|
|
700
|
+
backButtonText?: string | undefined;
|
|
701
|
+
}[];
|
|
702
|
+
};
|
|
703
|
+
itemsOnboarding: {
|
|
704
|
+
cardIndex: number;
|
|
705
|
+
isActive: boolean;
|
|
706
|
+
config: {
|
|
707
|
+
classes: string;
|
|
708
|
+
position: string;
|
|
709
|
+
left?: string | undefined;
|
|
710
|
+
right?: string | undefined;
|
|
711
|
+
top?: string | undefined;
|
|
712
|
+
bottom?: string | undefined;
|
|
713
|
+
title: string;
|
|
714
|
+
description: string;
|
|
715
|
+
imageSource: string;
|
|
716
|
+
backButtonClick: () => void;
|
|
717
|
+
nextButtonType: string;
|
|
718
|
+
nextButtonText: string;
|
|
719
|
+
nextButtonClick: () => void;
|
|
720
|
+
backButtonType?: string | undefined;
|
|
721
|
+
backButtonText?: string | undefined;
|
|
722
|
+
}[];
|
|
723
|
+
};
|
|
724
|
+
recommendationStrategyOnboarding: {
|
|
725
|
+
cardIndex: number;
|
|
726
|
+
isActive: boolean;
|
|
727
|
+
config: {
|
|
728
|
+
classes: string;
|
|
729
|
+
position: string;
|
|
730
|
+
left?: string | undefined;
|
|
731
|
+
right?: string | undefined;
|
|
732
|
+
top?: string | undefined;
|
|
733
|
+
bottom?: string | undefined;
|
|
734
|
+
title: string;
|
|
735
|
+
description: string;
|
|
736
|
+
imageSource: string;
|
|
737
|
+
backButtonClick: () => void;
|
|
738
|
+
nextButtonType: string;
|
|
739
|
+
nextButtonText: string;
|
|
740
|
+
nextButtonClick: () => void;
|
|
741
|
+
backButtonType?: string | undefined;
|
|
742
|
+
backButtonText?: string | undefined;
|
|
743
|
+
}[];
|
|
744
|
+
};
|
|
745
|
+
recommendationLegacyStrategyOnboarding: {
|
|
746
|
+
cardIndex: number;
|
|
747
|
+
isActive: boolean;
|
|
748
|
+
config: {
|
|
749
|
+
classes: string;
|
|
750
|
+
position: string;
|
|
751
|
+
left?: string | undefined;
|
|
752
|
+
right?: string | undefined;
|
|
753
|
+
top?: string | undefined;
|
|
754
|
+
bottom?: string | undefined;
|
|
755
|
+
title: string;
|
|
756
|
+
description: string;
|
|
757
|
+
imageSource: string;
|
|
758
|
+
backButtonClick: () => void;
|
|
759
|
+
nextButtonType: string;
|
|
760
|
+
nextButtonText: string;
|
|
761
|
+
nextButtonClick: () => void;
|
|
762
|
+
backButtonType?: string | undefined;
|
|
763
|
+
backButtonText?: string | undefined;
|
|
764
|
+
}[];
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
userModalState: {
|
|
768
|
+
Guido?: {
|
|
769
|
+
newVersionPopup?: boolean | undefined;
|
|
770
|
+
genericOnboarding?: boolean | undefined;
|
|
771
|
+
textBlockOnboarding?: boolean | undefined;
|
|
772
|
+
versionHistoryOnboarding?: boolean | undefined;
|
|
773
|
+
ampOnboarding?: boolean | undefined;
|
|
774
|
+
itemsOnboarding?: boolean | undefined;
|
|
775
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
776
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
777
|
+
} | undefined;
|
|
778
|
+
};
|
|
779
|
+
isFetched: boolean;
|
|
780
|
+
} & import("pinia").PiniaCustomStateProperties<OnboardingStoreState>) => {
|
|
781
|
+
classes: string;
|
|
782
|
+
position: string;
|
|
783
|
+
left?: string | undefined;
|
|
784
|
+
right?: string | undefined;
|
|
785
|
+
top?: string | undefined;
|
|
786
|
+
bottom?: string | undefined;
|
|
787
|
+
title: string;
|
|
788
|
+
description: string;
|
|
789
|
+
imageSource: string;
|
|
790
|
+
backButtonClick: () => void;
|
|
791
|
+
nextButtonType: string;
|
|
792
|
+
nextButtonText: string;
|
|
793
|
+
nextButtonClick: () => void;
|
|
794
|
+
backButtonType?: string | undefined;
|
|
795
|
+
backButtonText?: string | undefined;
|
|
796
|
+
};
|
|
797
|
+
getTextBlockCurrentCard: (state: {
|
|
798
|
+
onboardings: {
|
|
799
|
+
newVersionPopup: {
|
|
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
|
+
genericOnboarding: {
|
|
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
|
+
textBlockOnboarding: {
|
|
842
|
+
cardIndex: number;
|
|
843
|
+
isActive: boolean;
|
|
844
|
+
config: {
|
|
845
|
+
classes: string;
|
|
846
|
+
position: string;
|
|
847
|
+
left?: string | undefined;
|
|
848
|
+
right?: string | undefined;
|
|
849
|
+
top?: string | undefined;
|
|
850
|
+
bottom?: string | undefined;
|
|
851
|
+
title: string;
|
|
852
|
+
description: string;
|
|
853
|
+
imageSource: string;
|
|
854
|
+
backButtonClick: () => void;
|
|
855
|
+
nextButtonType: string;
|
|
856
|
+
nextButtonText: string;
|
|
857
|
+
nextButtonClick: () => void;
|
|
858
|
+
backButtonType?: string | undefined;
|
|
859
|
+
backButtonText?: string | undefined;
|
|
860
|
+
}[];
|
|
861
|
+
};
|
|
862
|
+
versionHistoryOnboarding: {
|
|
863
|
+
cardIndex: number;
|
|
864
|
+
isActive: boolean;
|
|
865
|
+
config: {
|
|
866
|
+
classes: string;
|
|
867
|
+
position: string;
|
|
868
|
+
left?: string | undefined;
|
|
869
|
+
right?: string | undefined;
|
|
870
|
+
top?: string | undefined;
|
|
871
|
+
bottom?: string | undefined;
|
|
872
|
+
title: string;
|
|
873
|
+
description: string;
|
|
874
|
+
imageSource: string;
|
|
875
|
+
backButtonClick: () => void;
|
|
876
|
+
nextButtonType: string;
|
|
877
|
+
nextButtonText: string;
|
|
878
|
+
nextButtonClick: () => void;
|
|
879
|
+
backButtonType?: string | undefined;
|
|
880
|
+
backButtonText?: string | undefined;
|
|
881
|
+
}[];
|
|
882
|
+
};
|
|
883
|
+
ampOnboarding: {
|
|
350
884
|
cardIndex: number;
|
|
351
885
|
isActive: boolean;
|
|
352
886
|
config: {
|
|
@@ -367,7 +901,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
367
901
|
backButtonText?: string | undefined;
|
|
368
902
|
}[];
|
|
369
903
|
};
|
|
370
|
-
|
|
904
|
+
itemsOnboarding: {
|
|
371
905
|
cardIndex: number;
|
|
372
906
|
isActive: boolean;
|
|
373
907
|
config: {
|
|
@@ -388,7 +922,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
388
922
|
backButtonText?: string | undefined;
|
|
389
923
|
}[];
|
|
390
924
|
};
|
|
391
|
-
|
|
925
|
+
recommendationStrategyOnboarding: {
|
|
392
926
|
cardIndex: number;
|
|
393
927
|
isActive: boolean;
|
|
394
928
|
config: {
|
|
@@ -409,7 +943,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
409
943
|
backButtonText?: string | undefined;
|
|
410
944
|
}[];
|
|
411
945
|
};
|
|
412
|
-
|
|
946
|
+
recommendationLegacyStrategyOnboarding: {
|
|
413
947
|
cardIndex: number;
|
|
414
948
|
isActive: boolean;
|
|
415
949
|
config: {
|
|
@@ -439,10 +973,12 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
439
973
|
versionHistoryOnboarding?: boolean | undefined;
|
|
440
974
|
ampOnboarding?: boolean | undefined;
|
|
441
975
|
itemsOnboarding?: boolean | undefined;
|
|
976
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
977
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
442
978
|
} | undefined;
|
|
443
979
|
};
|
|
444
980
|
isFetched: boolean;
|
|
445
|
-
} & import("pinia").PiniaCustomStateProperties<OnboardingStoreState>) =>
|
|
981
|
+
} & import("pinia").PiniaCustomStateProperties<OnboardingStoreState>) => {
|
|
446
982
|
classes: string;
|
|
447
983
|
position: string;
|
|
448
984
|
left?: string | undefined;
|
|
@@ -459,7 +995,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
459
995
|
backButtonType?: string | undefined;
|
|
460
996
|
backButtonText?: string | undefined;
|
|
461
997
|
};
|
|
462
|
-
|
|
998
|
+
getVersionHistoryCurrentCard: (state: {
|
|
463
999
|
onboardings: {
|
|
464
1000
|
newVersionPopup: {
|
|
465
1001
|
cardIndex: number;
|
|
@@ -587,6 +1123,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
587
1123
|
backButtonText?: string | undefined;
|
|
588
1124
|
}[];
|
|
589
1125
|
};
|
|
1126
|
+
recommendationStrategyOnboarding: {
|
|
1127
|
+
cardIndex: number;
|
|
1128
|
+
isActive: boolean;
|
|
1129
|
+
config: {
|
|
1130
|
+
classes: string;
|
|
1131
|
+
position: string;
|
|
1132
|
+
left?: string | undefined;
|
|
1133
|
+
right?: string | undefined;
|
|
1134
|
+
top?: string | undefined;
|
|
1135
|
+
bottom?: string | undefined;
|
|
1136
|
+
title: string;
|
|
1137
|
+
description: string;
|
|
1138
|
+
imageSource: string;
|
|
1139
|
+
backButtonClick: () => void;
|
|
1140
|
+
nextButtonType: string;
|
|
1141
|
+
nextButtonText: string;
|
|
1142
|
+
nextButtonClick: () => void;
|
|
1143
|
+
backButtonType?: string | undefined;
|
|
1144
|
+
backButtonText?: string | undefined;
|
|
1145
|
+
}[];
|
|
1146
|
+
};
|
|
1147
|
+
recommendationLegacyStrategyOnboarding: {
|
|
1148
|
+
cardIndex: number;
|
|
1149
|
+
isActive: boolean;
|
|
1150
|
+
config: {
|
|
1151
|
+
classes: string;
|
|
1152
|
+
position: string;
|
|
1153
|
+
left?: string | undefined;
|
|
1154
|
+
right?: string | undefined;
|
|
1155
|
+
top?: string | undefined;
|
|
1156
|
+
bottom?: string | undefined;
|
|
1157
|
+
title: string;
|
|
1158
|
+
description: string;
|
|
1159
|
+
imageSource: string;
|
|
1160
|
+
backButtonClick: () => void;
|
|
1161
|
+
nextButtonType: string;
|
|
1162
|
+
nextButtonText: string;
|
|
1163
|
+
nextButtonClick: () => void;
|
|
1164
|
+
backButtonType?: string | undefined;
|
|
1165
|
+
backButtonText?: string | undefined;
|
|
1166
|
+
}[];
|
|
1167
|
+
};
|
|
590
1168
|
};
|
|
591
1169
|
userModalState: {
|
|
592
1170
|
Guido?: {
|
|
@@ -596,6 +1174,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
596
1174
|
versionHistoryOnboarding?: boolean | undefined;
|
|
597
1175
|
ampOnboarding?: boolean | undefined;
|
|
598
1176
|
itemsOnboarding?: boolean | undefined;
|
|
1177
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
1178
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
599
1179
|
} | undefined;
|
|
600
1180
|
};
|
|
601
1181
|
isFetched: boolean;
|
|
@@ -616,7 +1196,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
616
1196
|
backButtonType?: string | undefined;
|
|
617
1197
|
backButtonText?: string | undefined;
|
|
618
1198
|
};
|
|
619
|
-
|
|
1199
|
+
getAmpCurrentCard: (state: {
|
|
620
1200
|
onboardings: {
|
|
621
1201
|
newVersionPopup: {
|
|
622
1202
|
cardIndex: number;
|
|
@@ -744,6 +1324,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
744
1324
|
backButtonText?: string | undefined;
|
|
745
1325
|
}[];
|
|
746
1326
|
};
|
|
1327
|
+
recommendationStrategyOnboarding: {
|
|
1328
|
+
cardIndex: number;
|
|
1329
|
+
isActive: boolean;
|
|
1330
|
+
config: {
|
|
1331
|
+
classes: string;
|
|
1332
|
+
position: string;
|
|
1333
|
+
left?: string | undefined;
|
|
1334
|
+
right?: string | undefined;
|
|
1335
|
+
top?: string | undefined;
|
|
1336
|
+
bottom?: string | undefined;
|
|
1337
|
+
title: string;
|
|
1338
|
+
description: string;
|
|
1339
|
+
imageSource: string;
|
|
1340
|
+
backButtonClick: () => void;
|
|
1341
|
+
nextButtonType: string;
|
|
1342
|
+
nextButtonText: string;
|
|
1343
|
+
nextButtonClick: () => void;
|
|
1344
|
+
backButtonType?: string | undefined;
|
|
1345
|
+
backButtonText?: string | undefined;
|
|
1346
|
+
}[];
|
|
1347
|
+
};
|
|
1348
|
+
recommendationLegacyStrategyOnboarding: {
|
|
1349
|
+
cardIndex: number;
|
|
1350
|
+
isActive: boolean;
|
|
1351
|
+
config: {
|
|
1352
|
+
classes: string;
|
|
1353
|
+
position: string;
|
|
1354
|
+
left?: string | undefined;
|
|
1355
|
+
right?: string | undefined;
|
|
1356
|
+
top?: string | undefined;
|
|
1357
|
+
bottom?: string | undefined;
|
|
1358
|
+
title: string;
|
|
1359
|
+
description: string;
|
|
1360
|
+
imageSource: string;
|
|
1361
|
+
backButtonClick: () => void;
|
|
1362
|
+
nextButtonType: string;
|
|
1363
|
+
nextButtonText: string;
|
|
1364
|
+
nextButtonClick: () => void;
|
|
1365
|
+
backButtonType?: string | undefined;
|
|
1366
|
+
backButtonText?: string | undefined;
|
|
1367
|
+
}[];
|
|
1368
|
+
};
|
|
747
1369
|
};
|
|
748
1370
|
userModalState: {
|
|
749
1371
|
Guido?: {
|
|
@@ -753,6 +1375,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
753
1375
|
versionHistoryOnboarding?: boolean | undefined;
|
|
754
1376
|
ampOnboarding?: boolean | undefined;
|
|
755
1377
|
itemsOnboarding?: boolean | undefined;
|
|
1378
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
1379
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
756
1380
|
} | undefined;
|
|
757
1381
|
};
|
|
758
1382
|
isFetched: boolean;
|
|
@@ -773,7 +1397,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
773
1397
|
backButtonType?: string | undefined;
|
|
774
1398
|
backButtonText?: string | undefined;
|
|
775
1399
|
};
|
|
776
|
-
|
|
1400
|
+
getItemsCurrentCard: (state: {
|
|
777
1401
|
onboardings: {
|
|
778
1402
|
newVersionPopup: {
|
|
779
1403
|
cardIndex: number;
|
|
@@ -901,6 +1525,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
901
1525
|
backButtonText?: string | undefined;
|
|
902
1526
|
}[];
|
|
903
1527
|
};
|
|
1528
|
+
recommendationStrategyOnboarding: {
|
|
1529
|
+
cardIndex: number;
|
|
1530
|
+
isActive: boolean;
|
|
1531
|
+
config: {
|
|
1532
|
+
classes: string;
|
|
1533
|
+
position: string;
|
|
1534
|
+
left?: string | undefined;
|
|
1535
|
+
right?: string | undefined;
|
|
1536
|
+
top?: string | undefined;
|
|
1537
|
+
bottom?: string | undefined;
|
|
1538
|
+
title: string;
|
|
1539
|
+
description: string;
|
|
1540
|
+
imageSource: string;
|
|
1541
|
+
backButtonClick: () => void;
|
|
1542
|
+
nextButtonType: string;
|
|
1543
|
+
nextButtonText: string;
|
|
1544
|
+
nextButtonClick: () => void;
|
|
1545
|
+
backButtonType?: string | undefined;
|
|
1546
|
+
backButtonText?: string | undefined;
|
|
1547
|
+
}[];
|
|
1548
|
+
};
|
|
1549
|
+
recommendationLegacyStrategyOnboarding: {
|
|
1550
|
+
cardIndex: number;
|
|
1551
|
+
isActive: boolean;
|
|
1552
|
+
config: {
|
|
1553
|
+
classes: string;
|
|
1554
|
+
position: string;
|
|
1555
|
+
left?: string | undefined;
|
|
1556
|
+
right?: string | undefined;
|
|
1557
|
+
top?: string | undefined;
|
|
1558
|
+
bottom?: string | undefined;
|
|
1559
|
+
title: string;
|
|
1560
|
+
description: string;
|
|
1561
|
+
imageSource: string;
|
|
1562
|
+
backButtonClick: () => void;
|
|
1563
|
+
nextButtonType: string;
|
|
1564
|
+
nextButtonText: string;
|
|
1565
|
+
nextButtonClick: () => void;
|
|
1566
|
+
backButtonType?: string | undefined;
|
|
1567
|
+
backButtonText?: string | undefined;
|
|
1568
|
+
}[];
|
|
1569
|
+
};
|
|
904
1570
|
};
|
|
905
1571
|
userModalState: {
|
|
906
1572
|
Guido?: {
|
|
@@ -910,6 +1576,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
910
1576
|
versionHistoryOnboarding?: boolean | undefined;
|
|
911
1577
|
ampOnboarding?: boolean | undefined;
|
|
912
1578
|
itemsOnboarding?: boolean | undefined;
|
|
1579
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
1580
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
913
1581
|
} | undefined;
|
|
914
1582
|
};
|
|
915
1583
|
isFetched: boolean;
|
|
@@ -930,7 +1598,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
930
1598
|
backButtonType?: string | undefined;
|
|
931
1599
|
backButtonText?: string | undefined;
|
|
932
1600
|
};
|
|
933
|
-
|
|
1601
|
+
getRecommendationStrategyCurrentCard: (state: {
|
|
934
1602
|
onboardings: {
|
|
935
1603
|
newVersionPopup: {
|
|
936
1604
|
cardIndex: number;
|
|
@@ -1058,6 +1726,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1058
1726
|
backButtonText?: string | undefined;
|
|
1059
1727
|
}[];
|
|
1060
1728
|
};
|
|
1729
|
+
recommendationStrategyOnboarding: {
|
|
1730
|
+
cardIndex: number;
|
|
1731
|
+
isActive: boolean;
|
|
1732
|
+
config: {
|
|
1733
|
+
classes: string;
|
|
1734
|
+
position: string;
|
|
1735
|
+
left?: string | undefined;
|
|
1736
|
+
right?: string | undefined;
|
|
1737
|
+
top?: string | undefined;
|
|
1738
|
+
bottom?: string | undefined;
|
|
1739
|
+
title: string;
|
|
1740
|
+
description: string;
|
|
1741
|
+
imageSource: string;
|
|
1742
|
+
backButtonClick: () => void;
|
|
1743
|
+
nextButtonType: string;
|
|
1744
|
+
nextButtonText: string;
|
|
1745
|
+
nextButtonClick: () => void;
|
|
1746
|
+
backButtonType?: string | undefined;
|
|
1747
|
+
backButtonText?: string | undefined;
|
|
1748
|
+
}[];
|
|
1749
|
+
};
|
|
1750
|
+
recommendationLegacyStrategyOnboarding: {
|
|
1751
|
+
cardIndex: number;
|
|
1752
|
+
isActive: boolean;
|
|
1753
|
+
config: {
|
|
1754
|
+
classes: string;
|
|
1755
|
+
position: string;
|
|
1756
|
+
left?: string | undefined;
|
|
1757
|
+
right?: string | undefined;
|
|
1758
|
+
top?: string | undefined;
|
|
1759
|
+
bottom?: string | undefined;
|
|
1760
|
+
title: string;
|
|
1761
|
+
description: string;
|
|
1762
|
+
imageSource: string;
|
|
1763
|
+
backButtonClick: () => void;
|
|
1764
|
+
nextButtonType: string;
|
|
1765
|
+
nextButtonText: string;
|
|
1766
|
+
nextButtonClick: () => void;
|
|
1767
|
+
backButtonType?: string | undefined;
|
|
1768
|
+
backButtonText?: string | undefined;
|
|
1769
|
+
}[];
|
|
1770
|
+
};
|
|
1061
1771
|
};
|
|
1062
1772
|
userModalState: {
|
|
1063
1773
|
Guido?: {
|
|
@@ -1067,6 +1777,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1067
1777
|
versionHistoryOnboarding?: boolean | undefined;
|
|
1068
1778
|
ampOnboarding?: boolean | undefined;
|
|
1069
1779
|
itemsOnboarding?: boolean | undefined;
|
|
1780
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
1781
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
1070
1782
|
} | undefined;
|
|
1071
1783
|
};
|
|
1072
1784
|
isFetched: boolean;
|
|
@@ -1087,7 +1799,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1087
1799
|
backButtonType?: string | undefined;
|
|
1088
1800
|
backButtonText?: string | undefined;
|
|
1089
1801
|
};
|
|
1090
|
-
|
|
1802
|
+
getRecommendationLegacyStrategyCurrentCard: (state: {
|
|
1091
1803
|
onboardings: {
|
|
1092
1804
|
newVersionPopup: {
|
|
1093
1805
|
cardIndex: number;
|
|
@@ -1215,6 +1927,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1215
1927
|
backButtonText?: string | undefined;
|
|
1216
1928
|
}[];
|
|
1217
1929
|
};
|
|
1930
|
+
recommendationStrategyOnboarding: {
|
|
1931
|
+
cardIndex: number;
|
|
1932
|
+
isActive: boolean;
|
|
1933
|
+
config: {
|
|
1934
|
+
classes: string;
|
|
1935
|
+
position: string;
|
|
1936
|
+
left?: string | undefined;
|
|
1937
|
+
right?: string | undefined;
|
|
1938
|
+
top?: string | undefined;
|
|
1939
|
+
bottom?: string | undefined;
|
|
1940
|
+
title: string;
|
|
1941
|
+
description: string;
|
|
1942
|
+
imageSource: string;
|
|
1943
|
+
backButtonClick: () => void;
|
|
1944
|
+
nextButtonType: string;
|
|
1945
|
+
nextButtonText: string;
|
|
1946
|
+
nextButtonClick: () => void;
|
|
1947
|
+
backButtonType?: string | undefined;
|
|
1948
|
+
backButtonText?: string | undefined;
|
|
1949
|
+
}[];
|
|
1950
|
+
};
|
|
1951
|
+
recommendationLegacyStrategyOnboarding: {
|
|
1952
|
+
cardIndex: number;
|
|
1953
|
+
isActive: boolean;
|
|
1954
|
+
config: {
|
|
1955
|
+
classes: string;
|
|
1956
|
+
position: string;
|
|
1957
|
+
left?: string | undefined;
|
|
1958
|
+
right?: string | undefined;
|
|
1959
|
+
top?: string | undefined;
|
|
1960
|
+
bottom?: string | undefined;
|
|
1961
|
+
title: string;
|
|
1962
|
+
description: string;
|
|
1963
|
+
imageSource: string;
|
|
1964
|
+
backButtonClick: () => void;
|
|
1965
|
+
nextButtonType: string;
|
|
1966
|
+
nextButtonText: string;
|
|
1967
|
+
nextButtonClick: () => void;
|
|
1968
|
+
backButtonType?: string | undefined;
|
|
1969
|
+
backButtonText?: string | undefined;
|
|
1970
|
+
}[];
|
|
1971
|
+
};
|
|
1218
1972
|
};
|
|
1219
1973
|
userModalState: {
|
|
1220
1974
|
Guido?: {
|
|
@@ -1224,6 +1978,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1224
1978
|
versionHistoryOnboarding?: boolean | undefined;
|
|
1225
1979
|
ampOnboarding?: boolean | undefined;
|
|
1226
1980
|
itemsOnboarding?: boolean | undefined;
|
|
1981
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
1982
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
1227
1983
|
} | undefined;
|
|
1228
1984
|
};
|
|
1229
1985
|
isFetched: boolean;
|
|
@@ -1372,6 +2128,48 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1372
2128
|
backButtonText?: string | undefined;
|
|
1373
2129
|
}[];
|
|
1374
2130
|
};
|
|
2131
|
+
recommendationStrategyOnboarding: {
|
|
2132
|
+
cardIndex: number;
|
|
2133
|
+
isActive: boolean;
|
|
2134
|
+
config: {
|
|
2135
|
+
classes: string;
|
|
2136
|
+
position: string;
|
|
2137
|
+
left?: string | undefined;
|
|
2138
|
+
right?: string | undefined;
|
|
2139
|
+
top?: string | undefined;
|
|
2140
|
+
bottom?: string | undefined;
|
|
2141
|
+
title: string;
|
|
2142
|
+
description: string;
|
|
2143
|
+
imageSource: string;
|
|
2144
|
+
backButtonClick: () => void;
|
|
2145
|
+
nextButtonType: string;
|
|
2146
|
+
nextButtonText: string;
|
|
2147
|
+
nextButtonClick: () => void;
|
|
2148
|
+
backButtonType?: string | undefined;
|
|
2149
|
+
backButtonText?: string | undefined;
|
|
2150
|
+
}[];
|
|
2151
|
+
};
|
|
2152
|
+
recommendationLegacyStrategyOnboarding: {
|
|
2153
|
+
cardIndex: number;
|
|
2154
|
+
isActive: boolean;
|
|
2155
|
+
config: {
|
|
2156
|
+
classes: string;
|
|
2157
|
+
position: string;
|
|
2158
|
+
left?: string | undefined;
|
|
2159
|
+
right?: string | undefined;
|
|
2160
|
+
top?: string | undefined;
|
|
2161
|
+
bottom?: string | undefined;
|
|
2162
|
+
title: string;
|
|
2163
|
+
description: string;
|
|
2164
|
+
imageSource: string;
|
|
2165
|
+
backButtonClick: () => void;
|
|
2166
|
+
nextButtonType: string;
|
|
2167
|
+
nextButtonText: string;
|
|
2168
|
+
nextButtonClick: () => void;
|
|
2169
|
+
backButtonType?: string | undefined;
|
|
2170
|
+
backButtonText?: string | undefined;
|
|
2171
|
+
}[];
|
|
2172
|
+
};
|
|
1375
2173
|
};
|
|
1376
2174
|
userModalState: {
|
|
1377
2175
|
Guido?: {
|
|
@@ -1381,6 +2179,8 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1381
2179
|
versionHistoryOnboarding?: boolean | undefined;
|
|
1382
2180
|
ampOnboarding?: boolean | undefined;
|
|
1383
2181
|
itemsOnboarding?: boolean | undefined;
|
|
2182
|
+
recommendationStrategyOnboarding?: boolean | undefined;
|
|
2183
|
+
recommendationLegacyStrategyOnboarding?: boolean | undefined;
|
|
1384
2184
|
} | undefined;
|
|
1385
2185
|
};
|
|
1386
2186
|
isFetched: boolean;
|
|
@@ -1392,6 +2192,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1392
2192
|
close(type: OnboardingType): Promise<void>;
|
|
1393
2193
|
next(type: OnboardingType): void;
|
|
1394
2194
|
previous(type: OnboardingType): void;
|
|
2195
|
+
/** @deprecated No caller in src/. Slated for deletion, see the SD-667788 dead-code ledger. */
|
|
1395
2196
|
updateCardPosition(type: OnboardingType, cardIndex: number, position: {
|
|
1396
2197
|
top: string;
|
|
1397
2198
|
position: string;
|
|
@@ -1400,6 +2201,7 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1400
2201
|
onDiscoverNowClicked(): Promise<void>;
|
|
1401
2202
|
onRemindMeLater(): void;
|
|
1402
2203
|
onNewVersionPopupClose(): Promise<void>;
|
|
2204
|
+
/** @deprecated No caller in src/. Slated for deletion, see the SD-667788 dead-code ledger. */
|
|
1403
2205
|
isOnboardingActive(): boolean;
|
|
1404
2206
|
fetchUserModalState(): Promise<void>;
|
|
1405
2207
|
setUserModalState(modal: string, state: string, page: string): Promise<void>;
|