@club-employes/utopia 4.433.0 → 4.434.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/molecules/EmptyState/EmptyState.d.ts +1 -1
- package/dist/components/molecules/GrantSelect/GrantSelect.d.ts +1 -1
- package/dist/components/molecules/IconPicker/IconPicker.d.ts +1 -1
- package/dist/components/organisms/BenefitsPreview/BenefitsCollapse.d.ts +27 -0
- package/dist/components/organisms/BenefitsPreview/BenefitsLineItem.d.ts +11 -0
- package/dist/components/organisms/BenefitsPreview/BenefitsPanel.d.ts +18 -0
- package/dist/components/organisms/BenefitsPreview/BenefitsPreview.d.ts +35 -0
- package/dist/components/organisms/BenefitsPreview/BenefitsVoucherCard.d.ts +18 -0
- package/dist/components/organisms/BenefitsPreview/__tests__/BenefitsPanel.spec.d.ts +1 -0
- package/dist/components/organisms/BenefitsPreview/__tests__/BenefitsPreview.spec.d.ts +1 -0
- package/dist/components/organisms/BenefitsPreview/__tests__/fixtures.d.ts +4 -0
- package/dist/components/organisms/BenefitsPreview/index.d.ts +3 -0
- package/dist/components/organisms/BenefitsPreview/types.d.ts +157 -0
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/i18n/messages/fr.d.ts +32 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12138 -11246
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ import { ButtonColor } from '../../atoms/Button/types';
|
|
|
5
5
|
declare const _default: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {
|
|
6
6
|
title: string;
|
|
7
7
|
icon: IconName;
|
|
8
|
-
buttonLabel: string;
|
|
9
8
|
description: string;
|
|
9
|
+
buttonLabel: string;
|
|
10
10
|
iconSize: IconSize;
|
|
11
11
|
iconColor: string;
|
|
12
12
|
buttonAction: () => void;
|
|
@@ -6,9 +6,9 @@ declare const _default: DefineComponent<GrantSelectItemProps, {}, {}, {}, {}, Co
|
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string | number | boolean | undefined) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
disabled: boolean;
|
|
9
|
+
empty: boolean;
|
|
9
10
|
dropdownPlaceholder: string;
|
|
10
11
|
options: GrantSelectOption[];
|
|
11
|
-
empty: boolean;
|
|
12
12
|
amountLabel: string;
|
|
13
13
|
accordionTitle: string;
|
|
14
14
|
categoryLabel: string;
|
|
@@ -10,7 +10,7 @@ declare const _default: DefineComponent<IconPickerProps, {}, {}, {}, {}, Compone
|
|
|
10
10
|
size: "small" | "medium" | "large";
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
modelValue: string;
|
|
13
|
-
placeholder: string;
|
|
14
13
|
description: string;
|
|
14
|
+
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
16
|
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Id référencé par l'`aria-controls` du bouton de bascule. */
|
|
4
|
+
id: string;
|
|
5
|
+
expanded: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
contentEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
19
|
+
contentEl: HTMLDivElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BenefitsLine } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
line: BenefitsLine;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
activate: (event: MouseEvent) => any;
|
|
8
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onActivate?: ((event: MouseEvent) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BenefitsLine, BenefitsPanelProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = BenefitsPanelProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'expanded'?: string[];
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
toggle: (id: string, expanded: boolean) => any;
|
|
9
|
+
action: (id: string, event: MouseEvent) => any;
|
|
10
|
+
"line-click": (line: BenefitsLine, groupId: string, event: MouseEvent) => any;
|
|
11
|
+
"update:expanded": (value: string[]) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
onToggle?: ((id: string, expanded: boolean) => any) | undefined;
|
|
14
|
+
onAction?: ((id: string, event: MouseEvent) => any) | undefined;
|
|
15
|
+
"onLine-click"?: ((line: BenefitsLine, groupId: string, event: MouseEvent) => any) | undefined;
|
|
16
|
+
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BenefitsLine, BenefitsPreviewProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type OpenSource = 'hover' | 'click' | 'keyboard';
|
|
4
|
+
type __VLS_Props = BenefitsPreviewProps;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
'open'?: boolean;
|
|
7
|
+
'expanded'?: string[];
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
toggle: (id: string, expanded: boolean) => any;
|
|
11
|
+
action: (id: string, event: MouseEvent) => any;
|
|
12
|
+
opened: (source: OpenSource) => any;
|
|
13
|
+
"update:open": (value: boolean) => any;
|
|
14
|
+
"line-click": (line: BenefitsLine, groupId: string, event: MouseEvent) => any;
|
|
15
|
+
"update:expanded": (value: string[]) => any;
|
|
16
|
+
"first-open": () => any;
|
|
17
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
onToggle?: ((id: string, expanded: boolean) => any) | undefined;
|
|
19
|
+
onAction?: ((id: string, event: MouseEvent) => any) | undefined;
|
|
20
|
+
onOpened?: ((source: OpenSource) => any) | undefined;
|
|
21
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
"onLine-click"?: ((line: BenefitsLine, groupId: string, event: MouseEvent) => any) | undefined;
|
|
23
|
+
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
24
|
+
"onFirst-open"?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
openDelay: number;
|
|
27
|
+
closeDelay: number;
|
|
28
|
+
triggerIcon: string;
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
30
|
+
rootEl: HTMLDivElement;
|
|
31
|
+
triggerEl: HTMLButtonElement;
|
|
32
|
+
panelEl: HTMLDivElement;
|
|
33
|
+
sheetEl: HTMLDivElement;
|
|
34
|
+
}, HTMLDivElement>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BenefitsCard } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
card: BenefitsCard;
|
|
5
|
+
expanded: boolean;
|
|
6
|
+
/** Préfixe d'ids unique (aria-controls / aria-describedby). */
|
|
7
|
+
idPrefix: string;
|
|
8
|
+
showDetailsLabel: string;
|
|
9
|
+
hideDetailsLabel: string;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
toggle: () => any;
|
|
13
|
+
action: (id: string, event: MouseEvent) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onToggle?: (() => any) | undefined;
|
|
16
|
+
onAction?: ((id: string, event: MouseEvent) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as BenefitsPreview } from './BenefitsPreview';
|
|
2
|
+
export { default as BenefitsPanel } from './BenefitsPanel';
|
|
3
|
+
export type { BenefitsCard, BenefitsCardLine, BenefitsGroup, BenefitsHelpId, BenefitsHelpItem, BenefitsHero, BenefitsLine, BenefitsLineBadge, BenefitsLink, BenefitsPanelProps, BenefitsPreviewProps, BenefitsSection } from './types';
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BenefitsPreview / BenefitsPanel — aperçu « Mes avantages » du header
|
|
3
|
+
* (subventions, cagnottes, titres-restaurant).
|
|
4
|
+
*
|
|
5
|
+
* Organisme « bête » : toutes les valeurs (montants, dates, compteurs…)
|
|
6
|
+
* arrivent PRÉ-FORMATÉES du consommateur, le DS ne fait aucun calcul métier.
|
|
7
|
+
* Les `id` sont opaques et stables : ils sont réémis tels quels (`action`,
|
|
8
|
+
* `toggle`, `line-click`) et alimentent l'analytics côté consommateur.
|
|
9
|
+
*/
|
|
10
|
+
/** Identifiants des explications par défaut du bloc « Comment ça marche ? » (dictionnaire i18n du DS). */
|
|
11
|
+
export type BenefitsHelpId = 'product-grant' | 'cart-grant' | 'jackpot' | 'refund' | 'meal-voucher';
|
|
12
|
+
/** Encart de synthèse en tête de panneau (« Disponible sur la plateforme »). */
|
|
13
|
+
export interface BenefitsHero {
|
|
14
|
+
label: string;
|
|
15
|
+
/** Montant pré-formaté (« 440,00 € »). */
|
|
16
|
+
amount: string;
|
|
17
|
+
/** Détail du montant (« Cagnottes 440,00 € »), une puce par ligne. */
|
|
18
|
+
breakdown?: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
}
|
|
23
|
+
/** Une explication du bloc « Comment ça marche ? ». */
|
|
24
|
+
export interface BenefitsHelpItem {
|
|
25
|
+
id: string;
|
|
26
|
+
/** Nom d'icône Utopia (ex. 'Tag', 'Piggy-bank'). */
|
|
27
|
+
icon: string;
|
|
28
|
+
title: string;
|
|
29
|
+
description: string;
|
|
30
|
+
/** Fond de la tuile d'icône (défaut 'primary'). */
|
|
31
|
+
tone?: 'primary' | 'warning' | 'neutral';
|
|
32
|
+
}
|
|
33
|
+
/** Pastille au-dessus du titre d'une ligne (« CAMPAGNE », « REMB. SUR FACTURE »). */
|
|
34
|
+
export interface BenefitsLineBadge {
|
|
35
|
+
label: string;
|
|
36
|
+
icon?: string;
|
|
37
|
+
/** Défaut 'primary'. */
|
|
38
|
+
tone?: 'primary' | 'warning';
|
|
39
|
+
}
|
|
40
|
+
/** Une ligne (subvention, remboursement…) dans un groupe déplié. */
|
|
41
|
+
export interface BenefitsLine {
|
|
42
|
+
id: string;
|
|
43
|
+
title: string;
|
|
44
|
+
/** « CAMPAGNE » / « REMB. SUR FACTURE » */
|
|
45
|
+
badge?: BenefitsLineBadge;
|
|
46
|
+
/** Valeur à droite du titre : « 140,00 € restants » / « 45,00 € ». */
|
|
47
|
+
value?: string;
|
|
48
|
+
/** Compteur en pastille à droite du titre : « 3/4 achats ». */
|
|
49
|
+
counter?: string;
|
|
50
|
+
/** Règle de prise en charge : icône + libellé (« -30 % sur le prix du produit »). */
|
|
51
|
+
rule?: {
|
|
52
|
+
icon: string;
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
/** Barre de progression (le consommateur fournit les deux bornes). */
|
|
56
|
+
progress?: {
|
|
57
|
+
value: number;
|
|
58
|
+
max: number;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Ligne de temporalité — icône selon `kind` :
|
|
62
|
+
* 'renewal' → Repeat, 'expiration' → Calendar-clock, 'validated' → Calendar-check.
|
|
63
|
+
*/
|
|
64
|
+
timing?: {
|
|
65
|
+
kind: 'renewal' | 'expiration' | 'validated';
|
|
66
|
+
label: string;
|
|
67
|
+
};
|
|
68
|
+
/** Complément ajouté après la temporalité (« sur 320,00 € »). */
|
|
69
|
+
meta?: string;
|
|
70
|
+
/** Ligne cliquable : émet `line-click` (le titre devient un bouton couvrant la carte). */
|
|
71
|
+
interactive?: boolean;
|
|
72
|
+
}
|
|
73
|
+
/** Lien d'action (rendu en bouton, émet `action` avec son `id` — la navigation appartient au consommateur). */
|
|
74
|
+
export interface BenefitsLink {
|
|
75
|
+
id: string;
|
|
76
|
+
label: string;
|
|
77
|
+
icon?: string;
|
|
78
|
+
}
|
|
79
|
+
/** Groupe repliable (Subventions, Cagnottes). */
|
|
80
|
+
export interface BenefitsGroup {
|
|
81
|
+
id: string;
|
|
82
|
+
/** Nom d'icône Utopia de la tuile (ex. 'Wallet', 'Piggy-bank'). */
|
|
83
|
+
icon: string;
|
|
84
|
+
title: string;
|
|
85
|
+
subtitle?: string;
|
|
86
|
+
/** Résumé à droite : « 4 subventions » (accent) | « 440,00 € » (default). */
|
|
87
|
+
summary: string;
|
|
88
|
+
/** 'accent' = couleur de marque, 'default' = texte fort (défaut). */
|
|
89
|
+
summaryTone?: 'accent' | 'default';
|
|
90
|
+
lines: BenefitsLine[];
|
|
91
|
+
/** Libellé quand `lines` est vide (défaut i18n). */
|
|
92
|
+
emptyLabel?: string;
|
|
93
|
+
/** Lien affiché en bas du groupe déplié, émet `action`. */
|
|
94
|
+
link?: BenefitsLink;
|
|
95
|
+
}
|
|
96
|
+
/** Ligne de détail d'une carte (« Dotation de juin 2026 » / « + 180,00 € »). */
|
|
97
|
+
export interface BenefitsCardLine {
|
|
98
|
+
id: string;
|
|
99
|
+
label: string;
|
|
100
|
+
value: string;
|
|
101
|
+
}
|
|
102
|
+
/** Carte sombre « Titres-restaurant » avec bascule Détails / Masquer. */
|
|
103
|
+
export interface BenefitsCard {
|
|
104
|
+
id: string;
|
|
105
|
+
title: string;
|
|
106
|
+
/** Montant pré-formaté (« 214,56 € »). */
|
|
107
|
+
amount: string;
|
|
108
|
+
/** Légende sous le montant (« Réseau Mastercard »). */
|
|
109
|
+
caption?: string;
|
|
110
|
+
/** Détails (révélés par la bascule, masquée si aucun détail). */
|
|
111
|
+
description?: string;
|
|
112
|
+
lines?: BenefitsCardLine[];
|
|
113
|
+
/** « Voir ma carte » — émet `action`. */
|
|
114
|
+
action?: BenefitsLink;
|
|
115
|
+
}
|
|
116
|
+
/** Section surmontée d'un sur-titre (« UTILISABLE SUR LA PLATEFORME »). */
|
|
117
|
+
export interface BenefitsSection {
|
|
118
|
+
id: string;
|
|
119
|
+
label: string;
|
|
120
|
+
/** Pastille du sur-titre : 'success' (vert) | 'neutral' (gris). Aucune si absent. */
|
|
121
|
+
dot?: 'success' | 'neutral';
|
|
122
|
+
groups?: BenefitsGroup[];
|
|
123
|
+
cards?: BenefitsCard[];
|
|
124
|
+
}
|
|
125
|
+
export interface BenefitsPanelProps {
|
|
126
|
+
hero?: BenefitsHero;
|
|
127
|
+
sections: BenefitsSection[];
|
|
128
|
+
/** Remplace les explications par défaut du DS. */
|
|
129
|
+
helpItems?: BenefitsHelpItem[];
|
|
130
|
+
/** Filtre les explications par défaut (ordre canonique conservé ; ignoré si `helpItems` est fourni). */
|
|
131
|
+
helpIds?: BenefitsHelpId[];
|
|
132
|
+
/** Masque le bloc « Comment ça marche ? ». */
|
|
133
|
+
hideHelp?: boolean;
|
|
134
|
+
/** Titre du bloc d'aide (défaut i18n « Comment ça marche ? »). */
|
|
135
|
+
helpTitle?: string;
|
|
136
|
+
/** Squelettes à la place de l'encart et des sections. */
|
|
137
|
+
loading?: boolean;
|
|
138
|
+
/** Message d'erreur global (remplace l'encart et les sections). */
|
|
139
|
+
error?: string;
|
|
140
|
+
/** Force la langue des libellés internes (sinon locale Utopia globale). */
|
|
141
|
+
language?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface BenefitsPreviewProps extends BenefitsPanelProps {
|
|
144
|
+
/** Libellé du trigger pill (« 4 subventions »). */
|
|
145
|
+
triggerLabel: string;
|
|
146
|
+
/** Icône Utopia du trigger (défaut 'Badge-percent'). */
|
|
147
|
+
triggerIcon?: string;
|
|
148
|
+
/** Nom accessible du trigger (doit contenir le libellé visible). */
|
|
149
|
+
triggerAriaLabel?: string;
|
|
150
|
+
/** Nom accessible du dialog (défaut i18n « Mes avantages »). */
|
|
151
|
+
title?: string;
|
|
152
|
+
/** Délai d'ouverture au survol, en ms (défaut 150). */
|
|
153
|
+
openDelay?: number;
|
|
154
|
+
/** Délai de fermeture à la sortie du survol, en ms (défaut 300). */
|
|
155
|
+
closeDelay?: number;
|
|
156
|
+
disabled?: boolean;
|
|
157
|
+
}
|
|
@@ -50,3 +50,5 @@ export { CampaignAncvCard } from './CampaignAncvCard';
|
|
|
50
50
|
export type { CampaignAncvCardProps } from './CampaignAncvCard';
|
|
51
51
|
export { OrderCard } from './OrderCard';
|
|
52
52
|
export type { OrderCardProps, OrderCardImage, OrderCardAddress, OrderCardItem, OrderCardItemStatus, OrderCardItemAction, OrderCardItemDelivery, OrderCardItemTracking, OrderCardLink, OrderCardActionPayload } from './OrderCard';
|
|
53
|
+
export { BenefitsPreview, BenefitsPanel } from './BenefitsPreview';
|
|
54
|
+
export type { BenefitsPreviewProps, BenefitsPanelProps, BenefitsHelpId, BenefitsHero, BenefitsHelpItem, BenefitsLineBadge, BenefitsLine, BenefitsLink, BenefitsGroup, BenefitsCardLine, BenefitsCard, BenefitsSection } from './BenefitsPreview';
|
|
@@ -80,6 +80,38 @@ declare const _default: {
|
|
|
80
80
|
showMore: string;
|
|
81
81
|
showLess: string;
|
|
82
82
|
};
|
|
83
|
+
benefitsPreview: {
|
|
84
|
+
title: string;
|
|
85
|
+
helpTitle: string;
|
|
86
|
+
showDetails: string;
|
|
87
|
+
hideDetails: string;
|
|
88
|
+
emptyGroup: string;
|
|
89
|
+
empty: string;
|
|
90
|
+
loading: string;
|
|
91
|
+
close: string;
|
|
92
|
+
help: {
|
|
93
|
+
productGrant: {
|
|
94
|
+
title: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
cartGrant: {
|
|
98
|
+
title: string;
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
jackpot: {
|
|
102
|
+
title: string;
|
|
103
|
+
description: string;
|
|
104
|
+
};
|
|
105
|
+
refund: {
|
|
106
|
+
title: string;
|
|
107
|
+
description: string;
|
|
108
|
+
};
|
|
109
|
+
mealVoucher: {
|
|
110
|
+
title: string;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
83
115
|
campaignAncvCard: {
|
|
84
116
|
reference: string;
|
|
85
117
|
faceValue: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export type { OrderCardProps, OrderCardImage, OrderCardAddress, OrderCardItem, O
|
|
|
110
110
|
export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
|
|
111
111
|
export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
|
|
112
112
|
export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';
|
|
113
|
+
export type { BenefitsPreviewProps, BenefitsPanelProps, BenefitsHelpId, BenefitsHero, BenefitsHelpItem, BenefitsLineBadge, BenefitsLine, BenefitsLink, BenefitsGroup, BenefitsCardLine, BenefitsCard, BenefitsSection } from './components/organisms/BenefitsPreview/types';
|
|
113
114
|
export { MyUserGroups } from './components/molecules/MyUserGroups';
|
|
114
115
|
export type { MyUserGroupsProps, UserGroupCriterion } from './components/molecules/MyUserGroups/types';
|
|
115
116
|
export type { TreeProps, TreeNode, TreeSelectionKey } from './components/molecules/Tree/types';
|