@club-employes/utopia 4.429.0 → 4.431.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/CartStepperRing/CartStepperRing.d.ts +13 -0
- package/dist/components/molecules/CartStepperRing/__tests__/CartStepperRing.spec.d.ts +1 -0
- package/dist/components/molecules/CartStepperRing/index.d.ts +2 -0
- package/dist/components/molecules/CartStepperRing/types.d.ts +19 -0
- package/dist/components/molecules/index.d.ts +1 -0
- package/dist/components/organisms/CampaignAncvCard/CampaignAncvCard.d.ts +18 -0
- package/dist/components/organisms/CampaignAncvCard/index.d.ts +2 -0
- package/dist/components/organisms/CampaignAncvCard/types.d.ts +35 -0
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/i18n/messages/fr.d.ts +9 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5683 -5425
- package/dist/{light-YU236Pnz.js → light-CILHz3qI.js} +1 -1
- package/dist/{light-CoV6TlAz.js → light-D_4caKqP.js} +1 -1
- package/dist/tokens/club-employes/light.css +3 -3
- package/dist/tokens/club-employes/light.js +3 -3
- package/dist/tokens/gifteo/light.css +3 -3
- package/dist/tokens/gifteo/light.js +3 -3
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
- package/scripts/check-tokens.mjs +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CartStepperRingProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<CartStepperRingProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
"previous-click": () => any;
|
|
5
|
+
}, string, PublicProps, Readonly<CartStepperRingProps> & Readonly<{
|
|
6
|
+
"onPrevious-click"?: (() => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
stepLabel: string;
|
|
9
|
+
returnHomeLabel: string;
|
|
10
|
+
nextLabel: string;
|
|
11
|
+
lastStepLabel: string;
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CartStepperStep } from '../CartStepper/types';
|
|
2
|
+
/**
|
|
3
|
+
* CartStepperRing — variante mobile compacte du CartStepper : une seule
|
|
4
|
+
* rangée [bouton retour · anneau de progression avec l'icône de l'étape ·
|
|
5
|
+
* titre + « Étape n/N · Ensuite : … »]. Même contrat de données que
|
|
6
|
+
* CartStepper (steps/currentStepKey/previous-click) pour un swap trivial.
|
|
7
|
+
*/
|
|
8
|
+
export interface CartStepperRingProps {
|
|
9
|
+
steps: CartStepperStep[];
|
|
10
|
+
currentStepKey: string;
|
|
11
|
+
/** Surcharge du « Étape » de la ligne méta (défaut : i18n interne). */
|
|
12
|
+
stepLabel?: string;
|
|
13
|
+
/** Surcharge du « Ensuite : » (défaut : i18n interne). */
|
|
14
|
+
nextLabel?: string;
|
|
15
|
+
/** Surcharge du « Dernière étape » (défaut : i18n interne). */
|
|
16
|
+
lastStepLabel?: string;
|
|
17
|
+
/** aria-label du bouton retour (défaut : returnHomeLabel i18n interne). */
|
|
18
|
+
returnHomeLabel?: string;
|
|
19
|
+
}
|
|
@@ -63,6 +63,7 @@ export { TromboItem, TromboItemEmptyState, type TromboItemProps } from './Trombo
|
|
|
63
63
|
export { CountryDropDown, countriesToDropDownOptions, countryDisplayName, countryLabelForCode, countryToDropDownOption, filterCountriesByCodes, orderedCountriesForPicker, type CountryDropDownProps, type CountryDropDownPassthroughProps, type CountryDropDownBaseProps } from './CountryDropDown';
|
|
64
64
|
export { GrantSelect, GrantSelectTree, type GrantSelectItemProps } from './GrantSelect';
|
|
65
65
|
export { CartStepper, type CartStepperProps, type CartStepperStep } from './CartStepper';
|
|
66
|
+
export { CartStepperRing, type CartStepperRingProps } from './CartStepperRing';
|
|
66
67
|
export { CartPreviewItem, type CartPreviewItemProps } from './CartPreviewItem';
|
|
67
68
|
export { DateRange, type DateRangeProps, type DateRangeValue, type DateRangeTrigger } from './DateRange';
|
|
68
69
|
export { DeliveryMethodCard, type DeliveryMethodCardProps } from './DeliveryMethodCard';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CampaignAncvCardProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { IconName, IconSize, Icon3DName } from '../..';
|
|
4
|
+
declare const _default: DefineComponent<CampaignAncvCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
pay: () => any;
|
|
6
|
+
}, string, PublicProps, Readonly<CampaignAncvCardProps> & Readonly<{
|
|
7
|
+
onPay?: (() => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
icon: IconName;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
iconSize: IconSize;
|
|
12
|
+
iconColor: string;
|
|
13
|
+
iconBgColor: string;
|
|
14
|
+
iconType: "3d" | "default";
|
|
15
|
+
icon3D: Icon3DName;
|
|
16
|
+
icon3DSize: number;
|
|
17
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Icon3DName, IconName, IconSize } from '../../atoms';
|
|
2
|
+
export interface CampaignAncvCardProps {
|
|
3
|
+
/** Type d'icône affichée : "3d" (illustration Icon3D, ex: logo ANCV) ou "default" (icône simple Icon) */
|
|
4
|
+
iconType?: '3d' | 'default';
|
|
5
|
+
/** Icône simple (2D), utilisée quand iconType="default" */
|
|
6
|
+
icon?: IconName;
|
|
7
|
+
/** Taille de l'icône simple */
|
|
8
|
+
iconSize?: IconSize;
|
|
9
|
+
/** Couleur de l'icône simple (token de couleur) */
|
|
10
|
+
iconColor?: string;
|
|
11
|
+
/** Couleur de fond du chip carré affiché derrière l'icône simple */
|
|
12
|
+
iconBgColor?: string;
|
|
13
|
+
/** Icône 3D illustrée, utilisée quand iconType="3d" (ex: logo ANCV) */
|
|
14
|
+
icon3D?: Icon3DName;
|
|
15
|
+
/** Taille de l'icône 3D en pixels */
|
|
16
|
+
icon3DSize?: number;
|
|
17
|
+
/** Libellé de la campagne */
|
|
18
|
+
label: string;
|
|
19
|
+
/** Référence de la campagne, valeur brute déjà formatée (ex: "ANCVC6a2a791ece9f7") */
|
|
20
|
+
reference: string;
|
|
21
|
+
/** Montant à payer par le salarié, déjà formaté (ex: "30 €") */
|
|
22
|
+
amount: string;
|
|
23
|
+
/** Valeur faciale de la campagne, déjà formatée (ex: "50 €") */
|
|
24
|
+
faceValue: string;
|
|
25
|
+
/** Date de lancement, déjà formatée (ex: "22-07-2024") */
|
|
26
|
+
launchDate: string;
|
|
27
|
+
/** Date de fin, déjà formatée (ex: "22-07-2024") */
|
|
28
|
+
endDate: string;
|
|
29
|
+
/** Désactive la carte : masque le bouton Payer et grise icône/textes */
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/** Libellé du bouton d'action, surcharge le libellé i18n par défaut ("Payer") */
|
|
32
|
+
payLabel?: string;
|
|
33
|
+
/** Langue des libellés internes (Référence, Valeur faciale, dates, Payer) : prop > locale globale Utopia > 'fr' */
|
|
34
|
+
language?: 'fr' | 'en';
|
|
35
|
+
}
|
|
@@ -46,3 +46,5 @@ export { ContestCard } from './ContestCard';
|
|
|
46
46
|
export type { ContestCardProps } from './ContestCard';
|
|
47
47
|
export { ExplanationStepper } from './ExplanationStepper';
|
|
48
48
|
export type { ExplanationStepperProps } from './ExplanationStepper';
|
|
49
|
+
export { CampaignAncvCard } from './CampaignAncvCard';
|
|
50
|
+
export type { CampaignAncvCardProps } from './CampaignAncvCard';
|
|
@@ -80,6 +80,13 @@ declare const _default: {
|
|
|
80
80
|
showMore: string;
|
|
81
81
|
showLess: string;
|
|
82
82
|
};
|
|
83
|
+
campaignAncvCard: {
|
|
84
|
+
reference: string;
|
|
85
|
+
faceValue: string;
|
|
86
|
+
launchDate: string;
|
|
87
|
+
endDate: string;
|
|
88
|
+
pay: string;
|
|
89
|
+
};
|
|
83
90
|
cartPreview: {
|
|
84
91
|
title: string;
|
|
85
92
|
buttonLabel: string;
|
|
@@ -91,6 +98,8 @@ declare const _default: {
|
|
|
91
98
|
cartStepper: {
|
|
92
99
|
stepLabel: string;
|
|
93
100
|
returnHomeLabel: string;
|
|
101
|
+
nextLabel: string;
|
|
102
|
+
lastStepLabel: string;
|
|
94
103
|
};
|
|
95
104
|
countryDropDown: {
|
|
96
105
|
placeholder: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ export type { CartConfirmationProps, CartConfirmationSavingColor } from './compo
|
|
|
105
105
|
export type { UserSelectionProps } from './components/organisms/UserSelection/types';
|
|
106
106
|
export type { ContestCardProps } from './components/organisms/ContestCard/types';
|
|
107
107
|
export type { ExplanationStepperProps } from './components/organisms/ExplanationStepper/types';
|
|
108
|
+
export type { CampaignAncvCardProps } from './components/organisms/CampaignAncvCard/types';
|
|
108
109
|
export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
|
|
109
110
|
export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
|
|
110
111
|
export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';
|