@club-employes/utopia 4.387.0 → 4.389.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/atoms/InputText/InputText.d.ts +1 -1
- package/dist/components/atoms/ProgressBar/ProgressBar.d.ts +1 -2
- package/dist/components/layouts/AuthLayout/AuthLayout.d.ts +2 -2
- package/dist/components/molecules/ArticlePreview/ArticlePreview.d.ts +2 -2
- package/dist/components/molecules/CountryDropDown/CountryDropDown.d.ts +0 -1
- package/dist/components/molecules/DatePicker/DatePicker.d.ts +0 -1
- package/dist/components/molecules/DateRange/DateRange.d.ts +0 -1
- package/dist/components/molecules/DownloadList/DownloadList.d.ts +1 -1
- package/dist/components/molecules/DropDown/DropDown.d.ts +3 -4
- package/dist/components/molecules/EmptyState/EmptyState.d.ts +2 -2
- package/dist/components/molecules/FormGroup/FormGroup.d.ts +1 -1
- package/dist/components/molecules/GrantSelect/GrantSelect.d.ts +1 -1
- package/dist/components/molecules/InputPhone/InputPhone.d.ts +8 -11
- package/dist/components/molecules/LoadingBanner/LoadingBanner.d.ts +1 -1
- package/dist/components/molecules/MyUserGroups/MyUserGroups.d.ts +2 -2
- package/dist/components/molecules/PostalCodeInput/PostalCodeInput.d.ts +2 -3
- package/dist/components/molecules/RadioCard/RadioCard.d.ts +1 -1
- package/dist/components/molecules/RepeatableGroup/RepeatableGroup.d.ts +6 -6
- package/dist/components/molecules/Toast/Toast.d.ts +1 -1
- package/dist/components/organisms/BalanceCard/BalanceCard.d.ts +0 -1
- package/dist/components/organisms/BalanceCardGroup/BalanceCardGroup.d.ts +0 -1
- package/dist/components/organisms/CartPreview/CartPreview.d.ts +3 -3
- package/dist/components/organisms/CustomCriteriaSection/CustomCriteriaSection.d.ts +1 -1
- package/dist/components/organisms/DeliveryMethodSelector/DeliveryMethodSelector.d.ts +1 -1
- package/dist/components/organisms/DropFile/DropFile.d.ts +4 -4
- package/dist/components/organisms/ImageEditor/ImageEditor.d.ts +2 -2
- package/dist/components/organisms/InputSearch/InputSearch.d.ts +0 -1
- package/dist/components/organisms/MenuSection/MenuSection.d.ts +4 -4
- package/dist/components/organisms/MyEditor/editorLabels.d.ts +10 -9
- package/dist/components/organisms/ProductSummary/ProductSummary.d.ts +6 -6
- package/dist/components/organisms/Table/TableEmptyState.d.ts +1 -1
- package/dist/composables/useCurrencyFormat.d.ts +3 -2
- package/dist/composables/useDateFormatters.d.ts +4 -2
- package/dist/i18n/__tests__/ecommerceLayouts.spec.d.ts +1 -0
- package/dist/i18n/__tests__/editors.spec.d.ts +1 -0
- package/dist/i18n/__tests__/formComponents.spec.d.ts +1 -0
- package/dist/i18n/__tests__/formats.spec.d.ts +1 -0
- package/dist/i18n/__tests__/heavyOrganisms.spec.d.ts +1 -0
- package/dist/i18n/__tests__/stateNavComponents.spec.d.ts +1 -0
- package/dist/i18n/__tests__/tableDates.spec.d.ts +1 -0
- package/dist/i18n/messages/fr.d.ts +412 -0
- package/dist/i18n/types.d.ts +4 -3
- package/dist/i18n/useUtopiaI18n.d.ts +4 -3
- package/dist/index.js +16301 -15636
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -32,11 +32,11 @@ declare const _default: DefineComponent<InputTextProps, {}, {}, {}, {}, Componen
|
|
|
32
32
|
disabled: boolean;
|
|
33
33
|
iconPosition: "left" | "right";
|
|
34
34
|
modelValue: string | number;
|
|
35
|
+
step: number;
|
|
35
36
|
placeholder: string;
|
|
36
37
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
37
38
|
readonly: boolean;
|
|
38
39
|
iconClickable: boolean;
|
|
39
|
-
step: number;
|
|
40
40
|
isCode: boolean;
|
|
41
41
|
forceModelValueOnBlur: boolean;
|
|
42
42
|
showNumberStepper: boolean;
|
|
@@ -3,10 +3,9 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
declare const _default: DefineComponent<ProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
4
4
|
label: string;
|
|
5
5
|
size: "medium" | "large";
|
|
6
|
+
value: number;
|
|
6
7
|
min: number;
|
|
7
8
|
unit: string;
|
|
8
|
-
language: "fr" | "en";
|
|
9
|
-
value: number;
|
|
10
9
|
hideValue: boolean;
|
|
11
10
|
hideMax: boolean;
|
|
12
11
|
showPercentage: boolean;
|
|
@@ -39,13 +39,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
39
39
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
40
40
|
title: string;
|
|
41
41
|
subtitle: string;
|
|
42
|
+
tipsTitle: string;
|
|
43
|
+
tipsText: string;
|
|
42
44
|
slides: Slide[];
|
|
43
45
|
autoplay: boolean;
|
|
44
46
|
autoplayDelay: number;
|
|
45
47
|
showWaveEmoji: boolean;
|
|
46
48
|
showTips: boolean;
|
|
47
|
-
tipsTitle: string;
|
|
48
|
-
tipsText: string;
|
|
49
49
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
50
50
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
51
|
export default _default;
|
|
@@ -23,10 +23,10 @@ declare const __VLS_component: DefineComponent<ArticlePreviewProps, {}, {}, {},
|
|
|
23
23
|
onBack?: (() => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
backText: string;
|
|
26
|
-
showBackButton: boolean;
|
|
27
26
|
publishedAtPrefix: string;
|
|
28
|
-
showPublishedAtPrefix: boolean;
|
|
29
27
|
downloadsTitle: string;
|
|
28
|
+
showBackButton: boolean;
|
|
29
|
+
showPublishedAtPrefix: boolean;
|
|
30
30
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
32
|
export default _default;
|
|
@@ -35,7 +35,6 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
35
35
|
placeholder: string;
|
|
36
36
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
37
37
|
readonly: boolean;
|
|
38
|
-
language: string;
|
|
39
38
|
searchable: boolean;
|
|
40
39
|
clearable: boolean;
|
|
41
40
|
maxHeight: string;
|
|
@@ -13,7 +13,6 @@ declare const _default: DefineComponent<DateRangeProps, {}, {}, {}, {}, Componen
|
|
|
13
13
|
teleport: boolean;
|
|
14
14
|
state: "default" | "valid" | "error";
|
|
15
15
|
readonly: boolean;
|
|
16
|
-
language: "fr" | "en";
|
|
17
16
|
format: string;
|
|
18
17
|
clearable: boolean;
|
|
19
18
|
trigger: DateRangeTrigger;
|
|
@@ -7,9 +7,9 @@ declare const _default: DefineComponent<DownloadListProps, {}, {}, {}, {}, Compo
|
|
|
7
7
|
onDownload?: ((item: DownloadListItem) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
title: string;
|
|
10
|
+
linkText: string;
|
|
10
11
|
icon3d: Icon3DName;
|
|
11
12
|
items: DownloadListItem[];
|
|
12
|
-
linkText: string;
|
|
13
13
|
skipWindowOpen: boolean;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
15
|
export default _default;
|
|
@@ -29,11 +29,10 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
|
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
loading: boolean;
|
|
31
31
|
modelValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
32
|
-
options: DropDownOption[];
|
|
33
32
|
placeholder: string;
|
|
33
|
+
options: DropDownOption[];
|
|
34
34
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
35
35
|
readonly: boolean;
|
|
36
|
-
language: string;
|
|
37
36
|
multiple: boolean;
|
|
38
37
|
searchable: boolean;
|
|
39
38
|
clearable: boolean;
|
|
@@ -79,11 +78,11 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
|
|
|
79
78
|
disabled: boolean;
|
|
80
79
|
iconPosition: "left" | "right";
|
|
81
80
|
modelValue: string | number;
|
|
81
|
+
step: number;
|
|
82
82
|
placeholder: string;
|
|
83
83
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
84
84
|
readonly: boolean;
|
|
85
85
|
iconClickable: boolean;
|
|
86
|
-
step: number;
|
|
87
86
|
isCode: boolean;
|
|
88
87
|
forceModelValueOnBlur: boolean;
|
|
89
88
|
showNumberStepper: boolean;
|
|
@@ -117,11 +116,11 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
|
|
|
117
116
|
disabled: boolean;
|
|
118
117
|
iconPosition: "left" | "right";
|
|
119
118
|
modelValue: string | number;
|
|
119
|
+
step: number;
|
|
120
120
|
placeholder: string;
|
|
121
121
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
122
122
|
readonly: boolean;
|
|
123
123
|
iconClickable: boolean;
|
|
124
|
-
step: number;
|
|
125
124
|
isCode: boolean;
|
|
126
125
|
forceModelValueOnBlur: boolean;
|
|
127
126
|
showNumberStepper: boolean;
|
|
@@ -4,10 +4,10 @@ import { IconName, IconSize } from '../..';
|
|
|
4
4
|
declare const _default: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {
|
|
5
5
|
title: string;
|
|
6
6
|
icon: IconName;
|
|
7
|
-
|
|
7
|
+
buttonLabel: string;
|
|
8
8
|
description: string;
|
|
9
|
+
iconSize: IconSize;
|
|
9
10
|
iconColor: string;
|
|
10
|
-
buttonLabel: string;
|
|
11
11
|
buttonAction: () => void;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
13
|
export default _default;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_component: DefineComponent<FormGroupProps, {
|
|
|
23
23
|
error: string;
|
|
24
24
|
icon: string;
|
|
25
25
|
disabled: boolean;
|
|
26
|
-
id: string;
|
|
27
26
|
description: string;
|
|
27
|
+
id: string;
|
|
28
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
29
29
|
groupRef: HTMLDivElement;
|
|
30
30
|
}, HTMLDivElement>;
|
|
@@ -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
|
+
dropdownPlaceholder: string;
|
|
9
10
|
options: GrantSelectOption[];
|
|
10
11
|
empty: boolean;
|
|
11
|
-
dropdownPlaceholder: string;
|
|
12
12
|
amountLabel: string;
|
|
13
13
|
accordionTitle: string;
|
|
14
14
|
categoryLabel: string;
|
|
@@ -25,13 +25,12 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
25
25
|
success: boolean;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
modelValue: string | null;
|
|
28
|
-
id: string;
|
|
29
28
|
placeholder: string;
|
|
30
|
-
|
|
29
|
+
example: boolean;
|
|
30
|
+
id: string;
|
|
31
31
|
defaultCountry: string;
|
|
32
32
|
preferredCountries: string[];
|
|
33
33
|
helperText: string;
|
|
34
|
-
example: boolean;
|
|
35
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
36
35
|
containerRef: HTMLDivElement;
|
|
37
36
|
controlRef: HTMLDivElement;
|
|
@@ -67,11 +66,11 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
67
66
|
disabled: boolean;
|
|
68
67
|
iconPosition: "left" | "right";
|
|
69
68
|
modelValue: string | number;
|
|
69
|
+
step: number;
|
|
70
70
|
placeholder: string;
|
|
71
71
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
72
72
|
readonly: boolean;
|
|
73
73
|
iconClickable: boolean;
|
|
74
|
-
step: number;
|
|
75
74
|
isCode: boolean;
|
|
76
75
|
forceModelValueOnBlur: boolean;
|
|
77
76
|
showNumberStepper: boolean;
|
|
@@ -105,11 +104,11 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
105
104
|
disabled: boolean;
|
|
106
105
|
iconPosition: "left" | "right";
|
|
107
106
|
modelValue: string | number;
|
|
107
|
+
step: number;
|
|
108
108
|
placeholder: string;
|
|
109
109
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
110
110
|
readonly: boolean;
|
|
111
111
|
iconClickable: boolean;
|
|
112
|
-
step: number;
|
|
113
112
|
isCode: boolean;
|
|
114
113
|
forceModelValueOnBlur: boolean;
|
|
115
114
|
showNumberStepper: boolean;
|
|
@@ -142,11 +141,10 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
142
141
|
disabled: boolean;
|
|
143
142
|
loading: boolean;
|
|
144
143
|
modelValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
145
|
-
options: DropDownOption[];
|
|
146
144
|
placeholder: string;
|
|
145
|
+
options: DropDownOption[];
|
|
147
146
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
148
147
|
readonly: boolean;
|
|
149
|
-
language: string;
|
|
150
148
|
multiple: boolean;
|
|
151
149
|
searchable: boolean;
|
|
152
150
|
clearable: boolean;
|
|
@@ -192,11 +190,11 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
192
190
|
disabled: boolean;
|
|
193
191
|
iconPosition: "left" | "right";
|
|
194
192
|
modelValue: string | number;
|
|
193
|
+
step: number;
|
|
195
194
|
placeholder: string;
|
|
196
195
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
197
196
|
readonly: boolean;
|
|
198
197
|
iconClickable: boolean;
|
|
199
|
-
step: number;
|
|
200
198
|
isCode: boolean;
|
|
201
199
|
forceModelValueOnBlur: boolean;
|
|
202
200
|
showNumberStepper: boolean;
|
|
@@ -230,11 +228,11 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
230
228
|
disabled: boolean;
|
|
231
229
|
iconPosition: "left" | "right";
|
|
232
230
|
modelValue: string | number;
|
|
231
|
+
step: number;
|
|
233
232
|
placeholder: string;
|
|
234
233
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
235
234
|
readonly: boolean;
|
|
236
235
|
iconClickable: boolean;
|
|
237
|
-
step: number;
|
|
238
236
|
isCode: boolean;
|
|
239
237
|
forceModelValueOnBlur: boolean;
|
|
240
238
|
showNumberStepper: boolean;
|
|
@@ -264,11 +262,10 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
264
262
|
disabled: boolean;
|
|
265
263
|
loading: boolean;
|
|
266
264
|
modelValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
267
|
-
options: DropDownOption[];
|
|
268
265
|
placeholder: string;
|
|
266
|
+
options: DropDownOption[];
|
|
269
267
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
270
268
|
readonly: boolean;
|
|
271
|
-
language: string;
|
|
272
269
|
multiple: boolean;
|
|
273
270
|
searchable: boolean;
|
|
274
271
|
clearable: boolean;
|
|
@@ -5,9 +5,9 @@ declare const _default: DefineComponent<LoadingBannerProps, {}, {}, {}, {}, Comp
|
|
|
5
5
|
}, string, PublicProps, Readonly<LoadingBannerProps> & Readonly<{
|
|
6
6
|
onClose?: ((id?: string | undefined) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
progressBar: "top" | "bottom" | false;
|
|
8
9
|
floating: boolean;
|
|
9
10
|
duration: number;
|
|
10
|
-
progressBar: "top" | "bottom" | false;
|
|
11
11
|
tone: LoadingBannerTone;
|
|
12
12
|
loadingProgress: LoadingBannerProgress;
|
|
13
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -9,9 +9,9 @@ declare const _default: DefineComponent<MyUserGroupsProps, {}, {}, {}, {}, Compo
|
|
|
9
9
|
}>, {
|
|
10
10
|
showMoreLabel: string;
|
|
11
11
|
peopleLabel: string;
|
|
12
|
-
criteria: UserGroupCriterion[];
|
|
13
12
|
criteriaLabel: string;
|
|
14
|
-
maxVisibleCriteria: number;
|
|
15
13
|
showLessLabel: string;
|
|
14
|
+
criteria: UserGroupCriterion[];
|
|
15
|
+
maxVisibleCriteria: number;
|
|
16
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
17
|
export default _default;
|
|
@@ -20,14 +20,13 @@ declare const _default: DefineComponent<PostalCodeInputProps, {}, {}, {}, {}, Co
|
|
|
20
20
|
success: boolean;
|
|
21
21
|
disabled: boolean;
|
|
22
22
|
modelValue: string | null;
|
|
23
|
+
countryPlaceholder: string;
|
|
23
24
|
placeholder: string;
|
|
24
|
-
|
|
25
|
+
invalidPostalCodeMessage: string;
|
|
25
26
|
helperText: string;
|
|
26
27
|
selectedFlagOnly: boolean;
|
|
27
28
|
countryName: string;
|
|
28
29
|
countryCode: string | null;
|
|
29
|
-
countryPlaceholder: string;
|
|
30
|
-
invalidPostalCodeMessage: string;
|
|
31
30
|
hideCountryDropdown: boolean;
|
|
32
31
|
validateOnBlurOnly: boolean;
|
|
33
32
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_component: DefineComponent<RadioCardProps, {}, {}, {}, {}, C
|
|
|
23
23
|
color: "primary" | "subvention" | "echeque";
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
modelValue: any;
|
|
26
|
-
readonly: boolean;
|
|
27
26
|
value: any;
|
|
27
|
+
readonly: boolean;
|
|
28
28
|
icon3dSize: number;
|
|
29
29
|
iconAlignment: "start" | "center" | "end";
|
|
30
30
|
bigPicto: boolean;
|
|
@@ -32,24 +32,24 @@ declare function __VLS_template(): {
|
|
|
32
32
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
33
|
declare const __VLS_component: DefineComponent<RepeatableGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
34
|
"update:modelValue": (value: any[]) => any;
|
|
35
|
-
remove: (index: number) => any;
|
|
36
35
|
add: (index: number) => any;
|
|
36
|
+
remove: (index: number) => any;
|
|
37
37
|
}, string, PublicProps, Readonly<RepeatableGroupProps> & Readonly<{
|
|
38
38
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
39
|
-
onRemove?: ((index: number) => any) | undefined;
|
|
40
39
|
onAdd?: ((index: number) => any) | undefined;
|
|
40
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
removeIcon: string;
|
|
44
|
-
minItems: number;
|
|
45
|
-
maxItems: number;
|
|
46
44
|
addLabel: string;
|
|
47
45
|
removeLabel: string;
|
|
46
|
+
groupLabel: string;
|
|
47
|
+
itemLabel: string;
|
|
48
|
+
minItems: number;
|
|
49
|
+
maxItems: number;
|
|
48
50
|
addIcon: string;
|
|
49
51
|
showIndex: boolean;
|
|
50
52
|
styled: boolean;
|
|
51
|
-
groupLabel: string;
|
|
52
|
-
itemLabel: string;
|
|
53
53
|
groupDescription: string;
|
|
54
54
|
getItemKey: (item: any, index: number) => string | number;
|
|
55
55
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -7,9 +7,9 @@ declare const _default: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOpt
|
|
|
7
7
|
}>, {
|
|
8
8
|
variant: ToastVariant;
|
|
9
9
|
size: ToastSize;
|
|
10
|
+
progressBar: "top" | "bottom" | false;
|
|
10
11
|
floating: boolean;
|
|
11
12
|
duration: number;
|
|
12
|
-
progressBar: "top" | "bottom" | false;
|
|
13
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
14
14
|
progressRef: HTMLDivElement;
|
|
15
15
|
}, HTMLDivElement>;
|
|
@@ -21,7 +21,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
21
21
|
variant: "default" | "primary" | "secondary";
|
|
22
22
|
size: "small" | "medium" | "large";
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
language: "fr" | "en";
|
|
25
24
|
currency: string;
|
|
26
25
|
expiredLabel: string;
|
|
27
26
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BalanceCardGroupProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<BalanceCardGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BalanceCardGroupProps> & Readonly<{}>, {
|
|
4
|
-
language: "fr" | "en";
|
|
5
4
|
currency: string;
|
|
6
5
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
6
|
export default _default;
|
|
@@ -12,13 +12,13 @@ declare const _default: DefineComponent<CartPreviewProps, {}, {}, {}, {}, Compon
|
|
|
12
12
|
}>, {
|
|
13
13
|
title: string;
|
|
14
14
|
right: number;
|
|
15
|
-
top: number;
|
|
16
|
-
items: CartPreviewItemProps[];
|
|
17
|
-
toast: boolean;
|
|
18
15
|
buttonLabel: string;
|
|
19
16
|
emptyTitle: string;
|
|
20
17
|
emptyDescription: string;
|
|
21
18
|
toastLabel: string;
|
|
19
|
+
top: number;
|
|
20
|
+
items: CartPreviewItemProps[];
|
|
21
|
+
toast: boolean;
|
|
22
22
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
23
23
|
cartPreviewRef: HTMLDivElement;
|
|
24
24
|
progressRef: HTMLDivElement;
|
|
@@ -10,10 +10,10 @@ declare const _default: DefineComponent<CustomCriteriaSectionProps, {}, {}, {},
|
|
|
10
10
|
onCreate?: (() => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
title: string;
|
|
13
|
-
availableCriteria: CustomCriterion[];
|
|
14
13
|
emptyText: string;
|
|
15
14
|
dropdownPlaceholder: string;
|
|
16
15
|
addButtonLabel: string;
|
|
17
16
|
createLabel: string;
|
|
17
|
+
availableCriteria: CustomCriterion[];
|
|
18
18
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
19
|
export default _default;
|
|
@@ -6,8 +6,8 @@ declare const _default: DefineComponent<DeliveryMethodSelectorProps, {}, {}, {},
|
|
|
6
6
|
"onSelect-method"?: ((id: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
loading: boolean;
|
|
9
|
+
showMoreLabel: string;
|
|
9
10
|
products: DeliveryMethodProductRecap[];
|
|
10
11
|
methods: DeliveryMethod[];
|
|
11
|
-
showMoreLabel: string;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
13
|
export default _default;
|
|
@@ -191,11 +191,11 @@ declare function __VLS_template(): {
|
|
|
191
191
|
disabled: boolean;
|
|
192
192
|
iconPosition: "left" | "right";
|
|
193
193
|
modelValue: string | number;
|
|
194
|
+
step: number;
|
|
194
195
|
placeholder: string;
|
|
195
196
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
196
197
|
readonly: boolean;
|
|
197
198
|
iconClickable: boolean;
|
|
198
|
-
step: number;
|
|
199
199
|
isCode: boolean;
|
|
200
200
|
forceModelValueOnBlur: boolean;
|
|
201
201
|
showNumberStepper: boolean;
|
|
@@ -229,11 +229,11 @@ declare function __VLS_template(): {
|
|
|
229
229
|
disabled: boolean;
|
|
230
230
|
iconPosition: "left" | "right";
|
|
231
231
|
modelValue: string | number;
|
|
232
|
+
step: number;
|
|
232
233
|
placeholder: string;
|
|
233
234
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
234
235
|
readonly: boolean;
|
|
235
236
|
iconClickable: boolean;
|
|
236
|
-
step: number;
|
|
237
237
|
isCode: boolean;
|
|
238
238
|
forceModelValueOnBlur: boolean;
|
|
239
239
|
showNumberStepper: boolean;
|
|
@@ -311,11 +311,11 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
311
311
|
disabled: boolean;
|
|
312
312
|
iconPosition: "left" | "right";
|
|
313
313
|
modelValue: string | number;
|
|
314
|
+
step: number;
|
|
314
315
|
placeholder: string;
|
|
315
316
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
316
317
|
readonly: boolean;
|
|
317
318
|
iconClickable: boolean;
|
|
318
|
-
step: number;
|
|
319
319
|
isCode: boolean;
|
|
320
320
|
forceModelValueOnBlur: boolean;
|
|
321
321
|
showNumberStepper: boolean;
|
|
@@ -349,11 +349,11 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
349
349
|
disabled: boolean;
|
|
350
350
|
iconPosition: "left" | "right";
|
|
351
351
|
modelValue: string | number;
|
|
352
|
+
step: number;
|
|
352
353
|
placeholder: string;
|
|
353
354
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
354
355
|
readonly: boolean;
|
|
355
356
|
iconClickable: boolean;
|
|
356
|
-
step: number;
|
|
357
357
|
isCode: boolean;
|
|
358
358
|
forceModelValueOnBlur: boolean;
|
|
359
359
|
showNumberStepper: boolean;
|
|
@@ -3,13 +3,13 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
declare const _default: DefineComponent<ImageEditorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
4
|
cancel: () => any;
|
|
5
5
|
close: () => any;
|
|
6
|
-
"update:open": (value: boolean) => any;
|
|
7
6
|
save: (dataURL: string) => any;
|
|
7
|
+
"update:open": (value: boolean) => any;
|
|
8
8
|
}, string, PublicProps, Readonly<ImageEditorProps> & Readonly<{
|
|
9
9
|
onCancel?: (() => any) | undefined;
|
|
10
10
|
onClose?: (() => any) | undefined;
|
|
11
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
11
|
onSave?: ((dataURL: string) => any) | undefined;
|
|
12
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
title: string;
|
|
15
15
|
open: boolean;
|
|
@@ -26,7 +26,6 @@ declare const __VLS_component: DefineComponent<InputSearchProps, {}, {}, {}, {},
|
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
modelValue: string;
|
|
28
28
|
state: "default" | "error" | "valid";
|
|
29
|
-
language: "fr" | "en";
|
|
30
29
|
fieldValue: string | number | boolean;
|
|
31
30
|
fieldOptions: DropDownOption[];
|
|
32
31
|
totalResults: number;
|
|
@@ -83,18 +83,18 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
83
83
|
}) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
icon: string;
|
|
86
|
+
emptyTitle: string;
|
|
87
|
+
emptyDescription: string;
|
|
88
|
+
editIcon: string;
|
|
86
89
|
activeLabel: string;
|
|
87
90
|
settingsLabel: string;
|
|
88
91
|
deleteLabel: string;
|
|
89
92
|
toggleLabel: string;
|
|
90
93
|
itemsLabel: string;
|
|
91
|
-
|
|
94
|
+
addItemLabel: string;
|
|
92
95
|
deleteIcon: string;
|
|
93
96
|
editTooltip: string;
|
|
94
97
|
deleteTooltip: string;
|
|
95
|
-
addItemLabel: string;
|
|
96
|
-
emptyTitle: string;
|
|
97
|
-
emptyDescription: string;
|
|
98
98
|
emptyIcon: string;
|
|
99
99
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
100
100
|
export default _default;
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface de tous les textes affichés dans MyEditor.
|
|
3
|
-
* Passez une prop `labels` pour surcharger n'importe quel texte.
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```vue
|
|
7
|
-
* <MyEditor v-model="content" :labels="{ columnPlaceholder: 'Write here…' }" />
|
|
8
|
-
* ```
|
|
9
|
-
*/
|
|
10
1
|
export interface EditorLabels {
|
|
11
2
|
blockParagraph: string;
|
|
12
3
|
blockHeading1: string;
|
|
@@ -50,6 +41,7 @@ export interface EditorLabels {
|
|
|
50
41
|
tooltipExpandable: string;
|
|
51
42
|
expandableTitlePlaceholder: string;
|
|
52
43
|
expandableContentPlaceholder: string;
|
|
44
|
+
expandableToggleAria: string;
|
|
53
45
|
linkPopoverEdit: string;
|
|
54
46
|
linkPopoverOpen: string;
|
|
55
47
|
linkPopoverRemove: string;
|
|
@@ -61,6 +53,10 @@ export interface EditorLabels {
|
|
|
61
53
|
linkModalPlaceholderUrl: string;
|
|
62
54
|
linkModalCancel: string;
|
|
63
55
|
linkModalApply: string;
|
|
56
|
+
imageTitleLabel: string;
|
|
57
|
+
imageTitlePlaceholder: string;
|
|
58
|
+
previewAria: string;
|
|
59
|
+
previewRenderTab: string;
|
|
64
60
|
imagePopoverEdit: string;
|
|
65
61
|
imagePopoverReplace: string;
|
|
66
62
|
imagePopoverCopy: string;
|
|
@@ -79,4 +75,9 @@ export interface EditorLabels {
|
|
|
79
75
|
imageEditorCancel: string;
|
|
80
76
|
imageEditorSave: string;
|
|
81
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated Labels FR par défaut — désormais servis par le socle i18n
|
|
80
|
+
* (`fr.ts` → `myEditor`, valeurs historiques copiées verbatim). Export conservé
|
|
81
|
+
* pour rétro-compatibilité ; les composants utilisent `useUtopiaI18n('myEditor')`.
|
|
82
|
+
*/
|
|
82
83
|
export declare const defaultEditorLabels: EditorLabels;
|
|
@@ -19,18 +19,18 @@ declare const _default: DefineComponent<ProductSummaryProps, {}, {}, {}, {}, Com
|
|
|
19
19
|
"onUpdate:subventionActive"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
loading: boolean;
|
|
22
|
-
options: OptionSelectProps[];
|
|
23
|
-
pending: boolean;
|
|
24
22
|
outOfStock: boolean;
|
|
25
23
|
outOfStockChipLabel: string;
|
|
26
|
-
outOfStockDescription: string;
|
|
27
24
|
outOfStockOptionLabel: string;
|
|
28
|
-
|
|
29
|
-
additionalInfo: ProductSummaryAdditionalInfo[];
|
|
25
|
+
outOfStockDescription: string;
|
|
30
26
|
shippingLabel: string;
|
|
31
|
-
shippingOptions: ProductSummaryShipping[];
|
|
32
27
|
seeMoreLabel: string;
|
|
33
28
|
seeLessLabel: string;
|
|
29
|
+
options: OptionSelectProps[];
|
|
30
|
+
pending: boolean;
|
|
31
|
+
displayTotalPrice: boolean;
|
|
32
|
+
additionalInfo: ProductSummaryAdditionalInfo[];
|
|
33
|
+
shippingOptions: ProductSummaryShipping[];
|
|
34
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
35
35
|
tipsContentRef: HTMLDivElement;
|
|
36
36
|
shortDescriptionContentRef: HTMLDivElement;
|
|
@@ -8,9 +8,9 @@ declare const _default: DefineComponent<TableEmptyStateProps, {}, {}, {}, {}, Co
|
|
|
8
8
|
title: string;
|
|
9
9
|
icon: string;
|
|
10
10
|
loading: boolean;
|
|
11
|
-
state: "NO_RESULTS_FOR_SEARCH" | "NO_DATA";
|
|
12
11
|
description: string;
|
|
13
12
|
actionLabel: string;
|
|
13
|
+
state: "NO_RESULTS_FOR_SEARCH" | "NO_DATA";
|
|
14
14
|
context: "USERS" | "CAMPAIGNS" | "RESTAURANTS" | "OTHER";
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
16
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
export interface UseCurrencyFormatOptions {
|
|
3
3
|
unit?: string;
|
|
4
|
-
|
|
4
|
+
/** Langue explicite — sinon locale globale Utopia (défaut fr). Accepte valeur, ref ou getter. */
|
|
5
|
+
language?: MaybeRefOrGetter<'fr' | 'en' | undefined>;
|
|
5
6
|
}
|
|
6
7
|
export interface UseCurrencyFormatReturn {
|
|
7
8
|
isCurrency: ComputedRef<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { DateContentType } from '../components/organisms/Table/types';
|
|
3
3
|
export interface DateFormatters {
|
|
4
4
|
data: (val: string) => string | number | boolean | null | undefined;
|
|
@@ -9,4 +9,6 @@ export interface DateFormatters {
|
|
|
9
9
|
time: string;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export declare function useDateFormatters(dateConfig: ComputedRef<DateContentType | undefined
|
|
12
|
+
export declare function useDateFormatters(dateConfig: ComputedRef<DateContentType | undefined>,
|
|
13
|
+
/** Langue explicite ('fr' | 'en') — sinon locale globale Utopia, défaut fr → 'fr-FR'. */
|
|
14
|
+
language?: MaybeRefOrGetter<string | undefined>): DateFormatters;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|