@useinsider/guido 1.0.3-beta.2cf8046 → 1.0.3-beta.2dd7b80
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 +0 -32
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +18 -20
- package/dist/composables/useBlocksConfig.js +2 -1
- package/dist/composables/useStripo.js +9 -9
- package/dist/enums/extensions/recommendationBlock.js +2 -2
- package/dist/enums/onboarding.js +3 -7
- package/dist/enums/unsubscribe.js +27 -26
- package/dist/extensions/Blocks/Checkbox/block.js +2 -5
- package/dist/extensions/Blocks/RadioButton/block.js +2 -5
- package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +43 -43
- package/dist/extensions/Blocks/common-control.js +110 -174
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +168 -213
- package/dist/package.json.js +1 -1
- package/dist/services/recommendationApi.js +19 -13
- package/dist/src/enums/onboarding.d.ts +0 -4
- package/dist/src/extensions/Blocks/Checkbox/block.d.ts +0 -1
- package/dist/src/extensions/Blocks/RadioButton/block.d.ts +0 -1
- package/dist/src/extensions/Blocks/common-control.d.ts +7 -44
- package/dist/src/stores/onboarding.d.ts +0 -334
- package/dist/src/utils/environmentUtil.d.ts +5 -0
- package/dist/static/styles/customEditorStyle.css.js +1 -1
- package/dist/stores/onboarding.js +12 -20
- package/dist/utils/environmentUtil.js +4 -0
- package/dist/utils/genericUtil.js +17 -16
- package/package.json +5 -12
- package/dist/components/organisms/onboarding/ItemsOnboarding.vue.js +0 -21
- package/dist/components/organisms/onboarding/ItemsOnboarding.vue2.js +0 -99
- package/dist/extensions/Blocks/Items/block.js +0 -67
- package/dist/extensions/Blocks/Items/controls/button/link.js +0 -68
- package/dist/extensions/Blocks/Items/controls/cardComposition.js +0 -193
- package/dist/extensions/Blocks/Items/controls/image/link.js +0 -68
- package/dist/extensions/Blocks/Items/controls/index.js +0 -217
- package/dist/extensions/Blocks/Items/controls/name/trimming.js +0 -70
- package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +0 -107
- package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +0 -123
- package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +0 -76
- package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +0 -61
- package/dist/extensions/Blocks/Items/controls/settingsControl.js +0 -280
- package/dist/extensions/Blocks/Items/enums/controlEnums.js +0 -5
- package/dist/extensions/Blocks/Items/enums/productEnums.js +0 -201
- package/dist/extensions/Blocks/Items/enums/settingsEnums.js +0 -76
- package/dist/extensions/Blocks/Items/extension.js +0 -19
- package/dist/extensions/Blocks/Items/iconsRegistry.js +0 -32
- package/dist/extensions/Blocks/Items/items.css.js +0 -23
- package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +0 -61
- package/dist/extensions/Blocks/Items/layouts/vertical.html.js +0 -61
- package/dist/extensions/Blocks/Items/settingsPanel.js +0 -106
- package/dist/extensions/Blocks/Items/store/items-block.js +0 -71
- package/dist/extensions/Blocks/Items/template.js +0 -110
- package/dist/extensions/Blocks/Items/utils/configBlockUtils.js +0 -17
- package/dist/extensions/Blocks/Items/utils/syncAttributeFromConfigBlock.js +0 -28
- package/dist/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.js +0 -67
- package/dist/extensions/Blocks/Items/utils/updateAttributes.js +0 -44
- package/dist/extensions/Blocks/controlFactories.js +0 -223
- package/dist/src/components/organisms/onboarding/ItemsOnboarding.vue.d.ts +0 -2
- package/dist/src/extensions/Blocks/Items/block.d.ts +0 -13
- package/dist/src/extensions/Blocks/Items/controls/button/link.d.ts +0 -14
- package/dist/src/extensions/Blocks/Items/controls/cardComposition.d.ts +0 -33
- package/dist/src/extensions/Blocks/Items/controls/image/link.d.ts +0 -14
- package/dist/src/extensions/Blocks/Items/controls/index.d.ts +0 -501
- package/dist/src/extensions/Blocks/Items/controls/name/trimming.d.ts +0 -14
- package/dist/src/extensions/Blocks/Items/controls/price/currencyLocation.d.ts +0 -19
- package/dist/src/extensions/Blocks/Items/controls/price/currencySymbol.d.ts +0 -21
- package/dist/src/extensions/Blocks/Items/controls/price/formattedPrice.d.ts +0 -14
- package/dist/src/extensions/Blocks/Items/controls/price/hideDiscount.d.ts +0 -13
- package/dist/src/extensions/Blocks/Items/controls/settingsControl.d.ts +0 -42
- package/dist/src/extensions/Blocks/Items/enums/controlEnums.d.ts +0 -61
- package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +0 -160
- package/dist/src/extensions/Blocks/Items/enums/settingsEnums.d.ts +0 -49
- package/dist/src/extensions/Blocks/Items/extension.d.ts +0 -2
- package/dist/src/extensions/Blocks/Items/iconsRegistry.d.ts +0 -4
- package/dist/src/extensions/Blocks/Items/settingsPanel.d.ts +0 -4
- package/dist/src/extensions/Blocks/Items/store/items-block.d.ts +0 -41
- package/dist/src/extensions/Blocks/Items/template.d.ts +0 -16
- package/dist/src/extensions/Blocks/Items/utils/configBlockUtils.d.ts +0 -23
- package/dist/src/extensions/Blocks/Items/utils/syncAttributeFromConfigBlock.d.ts +0 -32
- package/dist/src/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.d.ts +0 -44
- package/dist/src/extensions/Blocks/Items/utils/updateAttributes.d.ts +0 -8
- package/dist/src/extensions/Blocks/controlFactories.d.ts +0 -312
package/dist/package.json.js
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { useHttp as c } from "../composables/useHttp.js";
|
|
2
2
|
import { URLS as a } from "../enums/extensions/recommendationBlock.js";
|
|
3
|
-
|
|
3
|
+
import { useEditorStore as m } from "../stores/editor.js";
|
|
4
|
+
import { replaceString as s } from "../utils/genericUtil.js";
|
|
5
|
+
const l = () => {
|
|
4
6
|
const { get: o } = c();
|
|
5
7
|
return {
|
|
6
8
|
fetchRecommendationCreateData: async () => {
|
|
9
|
+
const e = m();
|
|
7
10
|
try {
|
|
8
|
-
return (await o(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
return (await o(s(
|
|
12
|
+
"/newsletter/{id}/recommendations/get-campaign-create-data",
|
|
13
|
+
{ id: e.templateId }
|
|
14
|
+
))).data;
|
|
15
|
+
} catch (t) {
|
|
16
|
+
throw console.error("fetchUserModalState error:", t), t;
|
|
11
17
|
}
|
|
12
18
|
},
|
|
13
19
|
fetchRecommendationFilters: async () => {
|
|
@@ -18,20 +24,20 @@ const R = () => {
|
|
|
18
24
|
throw console.error("fetchRecommendationFilters error:", e), e;
|
|
19
25
|
}
|
|
20
26
|
},
|
|
21
|
-
fetchRecommendationProducts: async (e,
|
|
27
|
+
fetchRecommendationProducts: async (e, t) => {
|
|
22
28
|
try {
|
|
23
|
-
const
|
|
24
|
-
console.debug("🏁 Recommendation API Query:",
|
|
25
|
-
const
|
|
26
|
-
`${a.RECOMMENDATION_API_URL}/v2/${e}?${
|
|
29
|
+
const r = decodeURIComponent(new URLSearchParams(Object.entries(t)).toString());
|
|
30
|
+
console.debug("🏁 Recommendation API Query:", r);
|
|
31
|
+
const n = await o(
|
|
32
|
+
`${a.RECOMMENDATION_API_URL}/v2/${e}?${r}`
|
|
27
33
|
);
|
|
28
|
-
return (
|
|
29
|
-
} catch (
|
|
30
|
-
throw console.error("fetchRecommendationProducts error:",
|
|
34
|
+
return (n == null ? void 0 : n.data) ?? [];
|
|
35
|
+
} catch (r) {
|
|
36
|
+
throw console.error("fetchRecommendationProducts error:", r), r;
|
|
31
37
|
}
|
|
32
38
|
}
|
|
33
39
|
};
|
|
34
40
|
};
|
|
35
41
|
export {
|
|
36
|
-
|
|
42
|
+
l as useRecommendationApi
|
|
37
43
|
};
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
export declare const SERVICE_HOVER_SELECTORS: string[];
|
|
2
|
-
export declare const UI_EDITOR_SELECTOR = "ui-editor";
|
|
3
|
-
export declare const CARD_COMPOSITION_TAB_SELECTOR = "button[role=\"tab\"][aria-label=\"Card Composition\"]";
|
|
4
|
-
export declare const SETTINGS_TAB_SELECTOR = "button[role=\"tab\"][aria-label=\"Settings\"]";
|
|
5
|
-
export declare const RIBBON_SELECTOR = ".in-ribbons-wrapper";
|
|
6
2
|
export declare const ACADEMY_LINK = "https://academy.useinsider.com/docs/email-drag-drop-editor";
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Control, ImmutableHtmlElementNode, ImmutableHtmlNode } from '@stripoinc/ui-editor-extensions';
|
|
1
|
+
import { Control, ImmutableHtmlNode } from '@stripoinc/ui-editor-extensions';
|
|
3
2
|
interface TextInputProps {
|
|
4
3
|
name: string;
|
|
5
4
|
placeholder?: string;
|
|
6
5
|
className?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
6
|
}
|
|
9
7
|
interface LabelProps {
|
|
10
8
|
text: string;
|
|
@@ -19,7 +17,10 @@ interface IconButtonProps {
|
|
|
19
17
|
interface SelectProps {
|
|
20
18
|
name: string;
|
|
21
19
|
placeholder: string;
|
|
22
|
-
options:
|
|
20
|
+
options: {
|
|
21
|
+
text: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}[];
|
|
23
24
|
className?: string;
|
|
24
25
|
}
|
|
25
26
|
interface CounterProps {
|
|
@@ -28,15 +29,6 @@ interface CounterProps {
|
|
|
28
29
|
minValue?: number;
|
|
29
30
|
step?: number;
|
|
30
31
|
}
|
|
31
|
-
interface RadioButtonProps {
|
|
32
|
-
name: string;
|
|
33
|
-
buttons: {
|
|
34
|
-
text?: string;
|
|
35
|
-
value: string;
|
|
36
|
-
icon?: string;
|
|
37
|
-
}[];
|
|
38
|
-
id?: string;
|
|
39
|
-
}
|
|
40
32
|
interface ButtonProps {
|
|
41
33
|
name: string;
|
|
42
34
|
label: string;
|
|
@@ -48,33 +40,11 @@ interface ButtonProps {
|
|
|
48
40
|
*/
|
|
49
41
|
export declare abstract class CommonControl extends Control {
|
|
50
42
|
currentNode?: ImmutableHtmlNode;
|
|
51
|
-
protected lastBlockInstanceId: string | null;
|
|
52
43
|
abstract getId(): string;
|
|
53
44
|
abstract getTemplate(): string;
|
|
54
45
|
abstract onRender(): Promise<void> | void;
|
|
55
46
|
getContainer(): ShadowRoot;
|
|
56
47
|
onTemplateNodeUpdated(node: ImmutableHtmlNode): void;
|
|
57
|
-
onDestroy(): void;
|
|
58
|
-
/**
|
|
59
|
-
* Gets the config block element from the current node.
|
|
60
|
-
* @returns The config block element or null if not found
|
|
61
|
-
*/
|
|
62
|
-
protected getConfigBlock(): ImmutableHtmlElementNode | null;
|
|
63
|
-
/**
|
|
64
|
-
* Gets the current block instance ID from the config block.
|
|
65
|
-
* @param blockInstanceIdAttribute - The attribute name for block instance ID (default: 'data-block-instance-id')
|
|
66
|
-
* @returns The block instance ID or null if not found
|
|
67
|
-
*/
|
|
68
|
-
protected getBlockInstanceId(blockInstanceIdAttribute?: string): string | null;
|
|
69
|
-
/**
|
|
70
|
-
* Handles block instance change detection and syncing.
|
|
71
|
-
* This is a helper method for controls that need to sync attributes when switching between block instances.
|
|
72
|
-
* @param syncFunction - Function to call when block instance changes (to sync from attributes)
|
|
73
|
-
* @param updateUI - Function to call to update the UI (called both on change and when same block)
|
|
74
|
-
* @param blockInstanceIdAttribute - The attribute name for block instance ID (default: 'data-block-instance-id')
|
|
75
|
-
* @returns true if block instance changed, false otherwise
|
|
76
|
-
*/
|
|
77
|
-
protected handleBlockInstanceChange(syncFunction: (node: ImmutableHtmlNode) => void, updateUI: () => void, blockInstanceIdAttribute?: string): boolean;
|
|
78
48
|
_GuLabel({ text, name, position }: LabelProps): string;
|
|
79
49
|
_GuToggle(name: string): string;
|
|
80
50
|
_GuSelectItem({ text, value }: {
|
|
@@ -82,14 +52,8 @@ export declare abstract class CommonControl extends Control {
|
|
|
82
52
|
value: string;
|
|
83
53
|
}): string;
|
|
84
54
|
_GuSelect({ name, placeholder, options, className }: SelectProps): string;
|
|
85
|
-
_GuTextInput({ name, placeholder, className
|
|
55
|
+
_GuTextInput({ name, placeholder, className }: TextInputProps): string;
|
|
86
56
|
_GuCounter({ name, maxValue, minValue, step }: CounterProps): string;
|
|
87
|
-
_GuRadioButtonItem({ text, value, icon }: {
|
|
88
|
-
text?: string;
|
|
89
|
-
value: string;
|
|
90
|
-
icon?: string;
|
|
91
|
-
}): string;
|
|
92
|
-
_GuRadioButton({ name, buttons, id }: RadioButtonProps): string;
|
|
93
57
|
_GuButton({ name, label, id }: ButtonProps): string;
|
|
94
58
|
/**
|
|
95
59
|
*
|
|
@@ -97,8 +61,7 @@ export declare abstract class CommonControl extends Control {
|
|
|
97
61
|
* @returns It returns a button with an icon.
|
|
98
62
|
*/
|
|
99
63
|
_GuIconButton({ name, icon, className }: IconButtonProps): string;
|
|
100
|
-
|
|
101
|
-
_GuTwoColumns(children: string[], className?: string): string;
|
|
64
|
+
_GuTwoColumns(children: string[]): string;
|
|
102
65
|
/**
|
|
103
66
|
* Creates an orderable (sortable) list control
|
|
104
67
|
* @param name - The control name for value binding
|
|
@@ -107,27 +107,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
107
107
|
backButtonText?: string | undefined;
|
|
108
108
|
}[];
|
|
109
109
|
};
|
|
110
|
-
itemsOnboarding: {
|
|
111
|
-
cardIndex: number;
|
|
112
|
-
isActive: boolean;
|
|
113
|
-
config: {
|
|
114
|
-
classes: string;
|
|
115
|
-
position: string;
|
|
116
|
-
left?: string | undefined;
|
|
117
|
-
right?: string | undefined;
|
|
118
|
-
top?: string | undefined;
|
|
119
|
-
bottom?: string | undefined;
|
|
120
|
-
title: string;
|
|
121
|
-
description: string;
|
|
122
|
-
imageSource: string;
|
|
123
|
-
backButtonClick: () => void;
|
|
124
|
-
nextButtonType: string;
|
|
125
|
-
nextButtonText: string;
|
|
126
|
-
nextButtonClick: () => void;
|
|
127
|
-
backButtonType?: string | undefined;
|
|
128
|
-
backButtonText?: string | undefined;
|
|
129
|
-
}[];
|
|
130
|
-
};
|
|
131
110
|
};
|
|
132
111
|
userModalState: {
|
|
133
112
|
Guido?: {
|
|
@@ -136,7 +115,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
136
115
|
textBlockOnboarding?: boolean | undefined;
|
|
137
116
|
versionHistoryOnboarding?: boolean | undefined;
|
|
138
117
|
ampOnboarding?: boolean | undefined;
|
|
139
|
-
itemsOnboarding?: boolean | undefined;
|
|
140
118
|
} | undefined;
|
|
141
119
|
};
|
|
142
120
|
isFetched: boolean;
|
|
@@ -268,27 +246,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
268
246
|
backButtonText?: string | undefined;
|
|
269
247
|
}[];
|
|
270
248
|
};
|
|
271
|
-
itemsOnboarding: {
|
|
272
|
-
cardIndex: number;
|
|
273
|
-
isActive: boolean;
|
|
274
|
-
config: {
|
|
275
|
-
classes: string;
|
|
276
|
-
position: string;
|
|
277
|
-
left?: string | undefined;
|
|
278
|
-
right?: string | undefined;
|
|
279
|
-
top?: string | undefined;
|
|
280
|
-
bottom?: string | undefined;
|
|
281
|
-
title: string;
|
|
282
|
-
description: string;
|
|
283
|
-
imageSource: string;
|
|
284
|
-
backButtonClick: () => void;
|
|
285
|
-
nextButtonType: string;
|
|
286
|
-
nextButtonText: string;
|
|
287
|
-
nextButtonClick: () => void;
|
|
288
|
-
backButtonType?: string | undefined;
|
|
289
|
-
backButtonText?: string | undefined;
|
|
290
|
-
}[];
|
|
291
|
-
};
|
|
292
249
|
};
|
|
293
250
|
userModalState: {
|
|
294
251
|
Guido?: {
|
|
@@ -297,7 +254,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
297
254
|
textBlockOnboarding?: boolean | undefined;
|
|
298
255
|
versionHistoryOnboarding?: boolean | undefined;
|
|
299
256
|
ampOnboarding?: boolean | undefined;
|
|
300
|
-
itemsOnboarding?: boolean | undefined;
|
|
301
257
|
} | undefined;
|
|
302
258
|
};
|
|
303
259
|
isFetched: boolean;
|
|
@@ -409,27 +365,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
409
365
|
backButtonText?: string | undefined;
|
|
410
366
|
}[];
|
|
411
367
|
};
|
|
412
|
-
itemsOnboarding: {
|
|
413
|
-
cardIndex: number;
|
|
414
|
-
isActive: boolean;
|
|
415
|
-
config: {
|
|
416
|
-
classes: string;
|
|
417
|
-
position: string;
|
|
418
|
-
left?: string | undefined;
|
|
419
|
-
right?: string | undefined;
|
|
420
|
-
top?: string | undefined;
|
|
421
|
-
bottom?: string | undefined;
|
|
422
|
-
title: string;
|
|
423
|
-
description: string;
|
|
424
|
-
imageSource: string;
|
|
425
|
-
backButtonClick: () => void;
|
|
426
|
-
nextButtonType: string;
|
|
427
|
-
nextButtonText: string;
|
|
428
|
-
nextButtonClick: () => void;
|
|
429
|
-
backButtonType?: string | undefined;
|
|
430
|
-
backButtonText?: string | undefined;
|
|
431
|
-
}[];
|
|
432
|
-
};
|
|
433
368
|
};
|
|
434
369
|
userModalState: {
|
|
435
370
|
Guido?: {
|
|
@@ -438,7 +373,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
438
373
|
textBlockOnboarding?: boolean | undefined;
|
|
439
374
|
versionHistoryOnboarding?: boolean | undefined;
|
|
440
375
|
ampOnboarding?: boolean | undefined;
|
|
441
|
-
itemsOnboarding?: boolean | undefined;
|
|
442
376
|
} | undefined;
|
|
443
377
|
};
|
|
444
378
|
isFetched: boolean;
|
|
@@ -566,27 +500,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
566
500
|
backButtonText?: string | undefined;
|
|
567
501
|
}[];
|
|
568
502
|
};
|
|
569
|
-
itemsOnboarding: {
|
|
570
|
-
cardIndex: number;
|
|
571
|
-
isActive: boolean;
|
|
572
|
-
config: {
|
|
573
|
-
classes: string;
|
|
574
|
-
position: string;
|
|
575
|
-
left?: string | undefined;
|
|
576
|
-
right?: string | undefined;
|
|
577
|
-
top?: string | undefined;
|
|
578
|
-
bottom?: string | undefined;
|
|
579
|
-
title: string;
|
|
580
|
-
description: string;
|
|
581
|
-
imageSource: string;
|
|
582
|
-
backButtonClick: () => void;
|
|
583
|
-
nextButtonType: string;
|
|
584
|
-
nextButtonText: string;
|
|
585
|
-
nextButtonClick: () => void;
|
|
586
|
-
backButtonType?: string | undefined;
|
|
587
|
-
backButtonText?: string | undefined;
|
|
588
|
-
}[];
|
|
589
|
-
};
|
|
590
503
|
};
|
|
591
504
|
userModalState: {
|
|
592
505
|
Guido?: {
|
|
@@ -595,7 +508,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
595
508
|
textBlockOnboarding?: boolean | undefined;
|
|
596
509
|
versionHistoryOnboarding?: boolean | undefined;
|
|
597
510
|
ampOnboarding?: boolean | undefined;
|
|
598
|
-
itemsOnboarding?: boolean | undefined;
|
|
599
511
|
} | undefined;
|
|
600
512
|
};
|
|
601
513
|
isFetched: boolean;
|
|
@@ -723,27 +635,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
723
635
|
backButtonText?: string | undefined;
|
|
724
636
|
}[];
|
|
725
637
|
};
|
|
726
|
-
itemsOnboarding: {
|
|
727
|
-
cardIndex: number;
|
|
728
|
-
isActive: boolean;
|
|
729
|
-
config: {
|
|
730
|
-
classes: string;
|
|
731
|
-
position: string;
|
|
732
|
-
left?: string | undefined;
|
|
733
|
-
right?: string | undefined;
|
|
734
|
-
top?: string | undefined;
|
|
735
|
-
bottom?: string | undefined;
|
|
736
|
-
title: string;
|
|
737
|
-
description: string;
|
|
738
|
-
imageSource: string;
|
|
739
|
-
backButtonClick: () => void;
|
|
740
|
-
nextButtonType: string;
|
|
741
|
-
nextButtonText: string;
|
|
742
|
-
nextButtonClick: () => void;
|
|
743
|
-
backButtonType?: string | undefined;
|
|
744
|
-
backButtonText?: string | undefined;
|
|
745
|
-
}[];
|
|
746
|
-
};
|
|
747
638
|
};
|
|
748
639
|
userModalState: {
|
|
749
640
|
Guido?: {
|
|
@@ -752,7 +643,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
752
643
|
textBlockOnboarding?: boolean | undefined;
|
|
753
644
|
versionHistoryOnboarding?: boolean | undefined;
|
|
754
645
|
ampOnboarding?: boolean | undefined;
|
|
755
|
-
itemsOnboarding?: boolean | undefined;
|
|
756
646
|
} | undefined;
|
|
757
647
|
};
|
|
758
648
|
isFetched: boolean;
|
|
@@ -880,27 +770,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
880
770
|
backButtonText?: string | undefined;
|
|
881
771
|
}[];
|
|
882
772
|
};
|
|
883
|
-
itemsOnboarding: {
|
|
884
|
-
cardIndex: number;
|
|
885
|
-
isActive: boolean;
|
|
886
|
-
config: {
|
|
887
|
-
classes: string;
|
|
888
|
-
position: string;
|
|
889
|
-
left?: string | undefined;
|
|
890
|
-
right?: string | undefined;
|
|
891
|
-
top?: string | undefined;
|
|
892
|
-
bottom?: string | undefined;
|
|
893
|
-
title: string;
|
|
894
|
-
description: string;
|
|
895
|
-
imageSource: string;
|
|
896
|
-
backButtonClick: () => void;
|
|
897
|
-
nextButtonType: string;
|
|
898
|
-
nextButtonText: string;
|
|
899
|
-
nextButtonClick: () => void;
|
|
900
|
-
backButtonType?: string | undefined;
|
|
901
|
-
backButtonText?: string | undefined;
|
|
902
|
-
}[];
|
|
903
|
-
};
|
|
904
773
|
};
|
|
905
774
|
userModalState: {
|
|
906
775
|
Guido?: {
|
|
@@ -909,7 +778,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
909
778
|
textBlockOnboarding?: boolean | undefined;
|
|
910
779
|
versionHistoryOnboarding?: boolean | undefined;
|
|
911
780
|
ampOnboarding?: boolean | undefined;
|
|
912
|
-
itemsOnboarding?: boolean | undefined;
|
|
913
781
|
} | undefined;
|
|
914
782
|
};
|
|
915
783
|
isFetched: boolean;
|
|
@@ -1037,184 +905,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1037
905
|
backButtonText?: string | undefined;
|
|
1038
906
|
}[];
|
|
1039
907
|
};
|
|
1040
|
-
itemsOnboarding: {
|
|
1041
|
-
cardIndex: number;
|
|
1042
|
-
isActive: boolean;
|
|
1043
|
-
config: {
|
|
1044
|
-
classes: string;
|
|
1045
|
-
position: string;
|
|
1046
|
-
left?: string | undefined;
|
|
1047
|
-
right?: string | undefined;
|
|
1048
|
-
top?: string | undefined;
|
|
1049
|
-
bottom?: string | undefined;
|
|
1050
|
-
title: string;
|
|
1051
|
-
description: string;
|
|
1052
|
-
imageSource: string;
|
|
1053
|
-
backButtonClick: () => void;
|
|
1054
|
-
nextButtonType: string;
|
|
1055
|
-
nextButtonText: string;
|
|
1056
|
-
nextButtonClick: () => void;
|
|
1057
|
-
backButtonType?: string | undefined;
|
|
1058
|
-
backButtonText?: string | undefined;
|
|
1059
|
-
}[];
|
|
1060
|
-
};
|
|
1061
|
-
};
|
|
1062
|
-
userModalState: {
|
|
1063
|
-
Guido?: {
|
|
1064
|
-
newVersionPopup?: boolean | undefined;
|
|
1065
|
-
genericOnboarding?: boolean | undefined;
|
|
1066
|
-
textBlockOnboarding?: boolean | undefined;
|
|
1067
|
-
versionHistoryOnboarding?: boolean | undefined;
|
|
1068
|
-
ampOnboarding?: boolean | undefined;
|
|
1069
|
-
itemsOnboarding?: boolean | undefined;
|
|
1070
|
-
} | undefined;
|
|
1071
|
-
};
|
|
1072
|
-
isFetched: boolean;
|
|
1073
|
-
} & import("pinia").PiniaCustomStateProperties<OnboardingStoreState>) => {
|
|
1074
|
-
classes: string;
|
|
1075
|
-
position: string;
|
|
1076
|
-
left?: string | undefined;
|
|
1077
|
-
right?: string | undefined;
|
|
1078
|
-
top?: string | undefined;
|
|
1079
|
-
bottom?: string | undefined;
|
|
1080
|
-
title: string;
|
|
1081
|
-
description: string;
|
|
1082
|
-
imageSource: string;
|
|
1083
|
-
backButtonClick: () => void;
|
|
1084
|
-
nextButtonType: string;
|
|
1085
|
-
nextButtonText: string;
|
|
1086
|
-
nextButtonClick: () => void;
|
|
1087
|
-
backButtonType?: string | undefined;
|
|
1088
|
-
backButtonText?: string | undefined;
|
|
1089
|
-
};
|
|
1090
|
-
getItemsCurrentCard: (state: {
|
|
1091
|
-
onboardings: {
|
|
1092
|
-
newVersionPopup: {
|
|
1093
|
-
cardIndex: number;
|
|
1094
|
-
isActive: boolean;
|
|
1095
|
-
config: {
|
|
1096
|
-
classes: string;
|
|
1097
|
-
position: string;
|
|
1098
|
-
left?: string | undefined;
|
|
1099
|
-
right?: string | undefined;
|
|
1100
|
-
top?: string | undefined;
|
|
1101
|
-
bottom?: string | undefined;
|
|
1102
|
-
title: string;
|
|
1103
|
-
description: string;
|
|
1104
|
-
imageSource: string;
|
|
1105
|
-
backButtonClick: () => void;
|
|
1106
|
-
nextButtonType: string;
|
|
1107
|
-
nextButtonText: string;
|
|
1108
|
-
nextButtonClick: () => void;
|
|
1109
|
-
backButtonType?: string | undefined;
|
|
1110
|
-
backButtonText?: string | undefined;
|
|
1111
|
-
}[];
|
|
1112
|
-
};
|
|
1113
|
-
genericOnboarding: {
|
|
1114
|
-
cardIndex: number;
|
|
1115
|
-
isActive: boolean;
|
|
1116
|
-
config: {
|
|
1117
|
-
classes: string;
|
|
1118
|
-
position: string;
|
|
1119
|
-
left?: string | undefined;
|
|
1120
|
-
right?: string | undefined;
|
|
1121
|
-
top?: string | undefined;
|
|
1122
|
-
bottom?: string | undefined;
|
|
1123
|
-
title: string;
|
|
1124
|
-
description: string;
|
|
1125
|
-
imageSource: string;
|
|
1126
|
-
backButtonClick: () => void;
|
|
1127
|
-
nextButtonType: string;
|
|
1128
|
-
nextButtonText: string;
|
|
1129
|
-
nextButtonClick: () => void;
|
|
1130
|
-
backButtonType?: string | undefined;
|
|
1131
|
-
backButtonText?: string | undefined;
|
|
1132
|
-
}[];
|
|
1133
|
-
};
|
|
1134
|
-
textBlockOnboarding: {
|
|
1135
|
-
cardIndex: number;
|
|
1136
|
-
isActive: boolean;
|
|
1137
|
-
config: {
|
|
1138
|
-
classes: string;
|
|
1139
|
-
position: string;
|
|
1140
|
-
left?: string | undefined;
|
|
1141
|
-
right?: string | undefined;
|
|
1142
|
-
top?: string | undefined;
|
|
1143
|
-
bottom?: string | undefined;
|
|
1144
|
-
title: string;
|
|
1145
|
-
description: string;
|
|
1146
|
-
imageSource: string;
|
|
1147
|
-
backButtonClick: () => void;
|
|
1148
|
-
nextButtonType: string;
|
|
1149
|
-
nextButtonText: string;
|
|
1150
|
-
nextButtonClick: () => void;
|
|
1151
|
-
backButtonType?: string | undefined;
|
|
1152
|
-
backButtonText?: string | undefined;
|
|
1153
|
-
}[];
|
|
1154
|
-
};
|
|
1155
|
-
versionHistoryOnboarding: {
|
|
1156
|
-
cardIndex: number;
|
|
1157
|
-
isActive: boolean;
|
|
1158
|
-
config: {
|
|
1159
|
-
classes: string;
|
|
1160
|
-
position: string;
|
|
1161
|
-
left?: string | undefined;
|
|
1162
|
-
right?: string | undefined;
|
|
1163
|
-
top?: string | undefined;
|
|
1164
|
-
bottom?: string | undefined;
|
|
1165
|
-
title: string;
|
|
1166
|
-
description: string;
|
|
1167
|
-
imageSource: string;
|
|
1168
|
-
backButtonClick: () => void;
|
|
1169
|
-
nextButtonType: string;
|
|
1170
|
-
nextButtonText: string;
|
|
1171
|
-
nextButtonClick: () => void;
|
|
1172
|
-
backButtonType?: string | undefined;
|
|
1173
|
-
backButtonText?: string | undefined;
|
|
1174
|
-
}[];
|
|
1175
|
-
};
|
|
1176
|
-
ampOnboarding: {
|
|
1177
|
-
cardIndex: number;
|
|
1178
|
-
isActive: boolean;
|
|
1179
|
-
config: {
|
|
1180
|
-
classes: string;
|
|
1181
|
-
position: string;
|
|
1182
|
-
left?: string | undefined;
|
|
1183
|
-
right?: string | undefined;
|
|
1184
|
-
top?: string | undefined;
|
|
1185
|
-
bottom?: string | undefined;
|
|
1186
|
-
title: string;
|
|
1187
|
-
description: string;
|
|
1188
|
-
imageSource: string;
|
|
1189
|
-
backButtonClick: () => void;
|
|
1190
|
-
nextButtonType: string;
|
|
1191
|
-
nextButtonText: string;
|
|
1192
|
-
nextButtonClick: () => void;
|
|
1193
|
-
backButtonType?: string | undefined;
|
|
1194
|
-
backButtonText?: string | undefined;
|
|
1195
|
-
}[];
|
|
1196
|
-
};
|
|
1197
|
-
itemsOnboarding: {
|
|
1198
|
-
cardIndex: number;
|
|
1199
|
-
isActive: boolean;
|
|
1200
|
-
config: {
|
|
1201
|
-
classes: string;
|
|
1202
|
-
position: string;
|
|
1203
|
-
left?: string | undefined;
|
|
1204
|
-
right?: string | undefined;
|
|
1205
|
-
top?: string | undefined;
|
|
1206
|
-
bottom?: string | undefined;
|
|
1207
|
-
title: string;
|
|
1208
|
-
description: string;
|
|
1209
|
-
imageSource: string;
|
|
1210
|
-
backButtonClick: () => void;
|
|
1211
|
-
nextButtonType: string;
|
|
1212
|
-
nextButtonText: string;
|
|
1213
|
-
nextButtonClick: () => void;
|
|
1214
|
-
backButtonType?: string | undefined;
|
|
1215
|
-
backButtonText?: string | undefined;
|
|
1216
|
-
}[];
|
|
1217
|
-
};
|
|
1218
908
|
};
|
|
1219
909
|
userModalState: {
|
|
1220
910
|
Guido?: {
|
|
@@ -1223,7 +913,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1223
913
|
textBlockOnboarding?: boolean | undefined;
|
|
1224
914
|
versionHistoryOnboarding?: boolean | undefined;
|
|
1225
915
|
ampOnboarding?: boolean | undefined;
|
|
1226
|
-
itemsOnboarding?: boolean | undefined;
|
|
1227
916
|
} | undefined;
|
|
1228
917
|
};
|
|
1229
918
|
isFetched: boolean;
|
|
@@ -1351,27 +1040,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1351
1040
|
backButtonText?: string | undefined;
|
|
1352
1041
|
}[];
|
|
1353
1042
|
};
|
|
1354
|
-
itemsOnboarding: {
|
|
1355
|
-
cardIndex: number;
|
|
1356
|
-
isActive: boolean;
|
|
1357
|
-
config: {
|
|
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
|
-
};
|
|
1375
1043
|
};
|
|
1376
1044
|
userModalState: {
|
|
1377
1045
|
Guido?: {
|
|
@@ -1380,7 +1048,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1380
1048
|
textBlockOnboarding?: boolean | undefined;
|
|
1381
1049
|
versionHistoryOnboarding?: boolean | undefined;
|
|
1382
1050
|
ampOnboarding?: boolean | undefined;
|
|
1383
|
-
itemsOnboarding?: boolean | undefined;
|
|
1384
1051
|
} | undefined;
|
|
1385
1052
|
};
|
|
1386
1053
|
isFetched: boolean;
|
|
@@ -1388,7 +1055,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
1388
1055
|
}, {
|
|
1389
1056
|
closeOtherOnboardings(exceptType: OnboardingType): void;
|
|
1390
1057
|
start(type: OnboardingType): void;
|
|
1391
|
-
startOnboarding(type: OnboardingType): void;
|
|
1392
1058
|
close(type: OnboardingType): Promise<void>;
|
|
1393
1059
|
next(type: OnboardingType): void;
|
|
1394
1060
|
previous(type: OnboardingType): void;
|
|
@@ -18,7 +18,7 @@ const n = `.esd-x,
|
|
|
18
18
|
border-radius: 0;
|
|
19
19
|
box-shadow: none;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
.ins-recommendation-v3-block-v2 .product-attribute-cell ue-node-actions,
|
|
23
23
|
.ins-recommendation-v3-block-v2 .product-attribute-cell ue-node-panel {
|
|
24
24
|
display: none !important;
|