@cnamts/synapse 1.0.22 → 1.0.23
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/{DateFilter-B5n-ZkLi.js → DateFilter-Dc-gSGwk.js} +1 -1
- package/dist/{NumberFilter-CtiZ9uj8.js → NumberFilter-vP38Wp6j.js} +1 -1
- package/dist/{PeriodFilter-DzqiMb-b.js → PeriodFilter-Ba1uYUnT.js} +1 -1
- package/dist/{SelectFilter-BOYlF7rX.js → SelectFilter-BioGT6Nn.js} +1 -1
- package/dist/{TextFilter-BOFRNfcX.js → TextFilter-B84dpnoq.js} +1 -1
- package/dist/components/Accordion/Accordion.d.ts +13 -2
- package/dist/components/Accordion/composables/useAccordionState.d.ts +2 -1
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +7 -7
- package/dist/components/Amelipro/AmeliproCheckbox/AmeliproCheckbox.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +7 -7
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +16 -16
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +1 -1
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +22 -1
- package/dist/components/Customs/Selects/SyAutocomplete/locales.d.ts +5 -0
- package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +1 -1
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +1 -1
- package/dist/components/Customs/Selects/SySelect/locales.d.ts +1 -0
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +1 -1
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +1 -1
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +1 -1
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +5 -2
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +13 -9
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +7 -5
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +2 -1
- package/dist/components/ErrorPage/ErrorPage.d.ts +3 -1
- package/dist/components/FileList/UploadItem/UploadItem.d.ts +6 -0
- package/dist/components/FileList/UploadItem/locales.d.ts +1 -4
- package/dist/components/FileUpload/FileUploadContent.d.ts +2 -0
- package/dist/components/FileUpload/validateFiles.d.ts +2 -1
- package/dist/components/HeaderBar/HeaderBar.d.ts +2 -1
- package/dist/components/HeaderBar/HeaderLogo/HeaderLogo.d.ts +2 -1
- package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +2 -1
- package/dist/components/MonthPicker/MonthPicker.d.ts +1939 -0
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +1899 -0
- package/dist/components/MonthPicker/MonthPickerText/useTextField.d.ts +21 -0
- package/dist/components/MonthPicker/MonthPickerVisual/MonthPickerVisual.d.ts +21 -0
- package/dist/components/MonthPicker/MonthPickerVisual/MonthPickerVisualProps.d.ts +12 -0
- package/dist/components/MonthPicker/MonthPickerVisual/MonthSelector.d.ts +11 -0
- package/dist/components/MonthPicker/MonthPickerVisual/VisualPickerFooter.d.ts +6 -0
- package/dist/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.d.ts +14 -0
- package/dist/components/MonthPicker/MonthPickerVisual/YearSelector.d.ts +14 -0
- package/dist/components/MonthPicker/MonthPickerVisual/useMonthGrid.d.ts +9 -0
- package/dist/components/MonthPicker/MonthPickerVisual/useYearGrid.d.ts +8 -0
- package/dist/components/MonthPicker/MonthPickerVisual/utils.d.ts +8 -0
- package/dist/components/MonthPicker/locales.d.ts +12 -0
- package/dist/components/MonthPicker/useMonthPickerValidation.d.ts +25 -0
- package/dist/components/NirField/NirField.d.ts +3 -1
- package/dist/components/NotificationBar/Notification/Notification.d.ts +3 -0
- package/dist/components/PasswordField/PasswordField.d.ts +1 -1
- package/dist/components/PeriodField/PeriodField.d.ts +29 -21
- package/dist/components/PhoneField/PhoneField.d.ts +2 -1
- package/dist/components/SyBtnMenu/SyBtnMenu.d.ts +1 -1
- package/dist/components/SyHeading/SyHeading.a11y.test.d.ts +1 -0
- package/dist/components/SyHeading/SyHeading.d.ts +4 -2
- package/dist/components/SyHeading/SyHeading.test.d.ts +1 -0
- package/dist/components/SyTextArea/SyTextArea.d.ts +1 -1
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +4 -4
- package/dist/components/Tables/SyTable/SyTable.d.ts +4 -4
- package/dist/components/Tables/common/SyTablePagination.d.ts +6 -6
- package/dist/components/index.d.ts +1 -0
- package/dist/design-system-v3.js +102 -99
- package/dist/design-system-v3.umd.cjs +126 -126
- package/dist/designTokens/tokens/cnam/cnamContextual.d.ts +5 -0
- package/dist/{main-CEl4J8_T.js → main-aLKwdMi1.js} +11167 -10522
- package/dist/main.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +10 -4
- package/src/assets/apTokens.scss +2 -2
- package/src/assets/overrides/_btns.scss +8 -0
- package/src/assets/overrides/_forms.scss +9 -0
- package/src/assets/overrides/_icons.scss +38 -9
- package/src/assets/overrides/_tables.scss +19 -0
- package/src/components/Accordion/Accordion.mdx +23 -9
- package/src/components/Accordion/Accordion.stories.ts +153 -3
- package/src/components/Accordion/Accordion.vue +7 -6
- package/src/components/Accordion/composables/__tests__/useAccordionState.spec.ts +40 -12
- package/src/components/Accordion/composables/useAccordionState.ts +3 -4
- package/src/components/Accordion/tests/accordion.spec.ts +131 -19
- package/src/components/Amelipro/AmeliproPagination/AmeliproPagination.mdx +3 -1
- package/src/components/Amelipro/AmeliproPagination/AmeliproPagination.stories.ts +8 -0
- package/src/components/BackBtn/accessibilite/Accessibility.mdx +62 -10
- package/src/components/BackToTopBtn/BackToTopBtn.stories.ts +9 -3
- package/src/components/BackToTopBtn/accessibilite/Accessibility.mdx +86 -6
- package/src/components/Captcha/tests/Captcha.spec.ts +0 -29
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +2 -110
- package/src/components/Customs/Selects/SelectBtnField/accessibilite/Accessibility.mdx +133 -10
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.stories.ts +379 -93
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +144 -83
- package/src/components/Customs/Selects/SyAutocomplete/accessibilite/Accessibilite.stories.ts +40 -1
- package/src/components/Customs/Selects/SyAutocomplete/accessibilite/Accessibility.mdx +7 -1
- package/src/components/Customs/Selects/SyAutocomplete/locales.ts +5 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.a11y.spec.ts +96 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +234 -9
- package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +13 -3
- package/src/components/Customs/Selects/SyAutocomplete/utils/useSelectionLogic.ts +9 -10
- package/src/components/Customs/Selects/SySelect/SySelect.vue +46 -3
- package/src/components/Customs/Selects/SySelect/locales.ts +1 -0
- package/src/components/Customs/SyIcon/SyIcon.vue +1 -1
- package/src/components/Customs/SyIcon/tests/SyIcon.a11y.spec.ts +20 -0
- package/src/components/Customs/SyIconButton/SyIconButton.mdx +46 -0
- package/src/components/Customs/SyIconButton/SyIconButton.stories.ts +184 -0
- package/src/components/Customs/SyIconButton/SyIconButton.vue +38 -0
- package/src/components/Customs/SyIconButton/accessibilite/Accessibility.mdx +64 -0
- package/src/components/Customs/SyIconButton/tests/SyIconButton.a11y.spec.ts +87 -0
- package/src/components/Customs/SyIconButton/tests/SyIconButton.spec.ts +152 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/SyIconButton.spec.ts.snap +61 -0
- package/src/components/Customs/SyPagination/SyPagination.vue +5 -5
- package/src/components/Customs/SyTextField/SyTextField.vue +20 -2
- package/src/components/Customs/SyTextField/accessibilite/Accessibility.mdx +67 -9
- package/src/components/Customs/SyTextField/tests/SyTextField.a11y.spec.ts +15 -0
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +36 -0
- package/src/components/DataList/accessibilite/Accessibility.mdx +79 -11
- package/src/components/DataListGroup/accessibilite/Accessibility.mdx +80 -11
- package/src/components/DownloadBtn/tests/DownloadBtn.a11y.spec.ts +25 -0
- package/src/components/ErrorPage/ErrorPage.stories.ts +113 -19
- package/src/components/ErrorPage/ErrorPage.vue +17 -2
- package/src/components/ErrorPage/tests/ErrorPage.a11y.spec.ts +17 -0
- package/src/components/ErrorPage/tests/ErrorPage.spec.ts +21 -1
- package/src/components/ErrorPage/tests/__snapshots__/ErrorPage.spec.ts.snap +0 -1
- package/src/components/ExternalLinks/tests/ExternalLinks.a11y.spec.ts +23 -0
- package/src/components/FileList/FileList.stories.ts +51 -1
- package/src/components/FileList/UploadItem/UploadItem.vue +13 -6
- package/src/components/FileList/UploadItem/locales.ts +3 -12
- package/src/components/FileList/accessibilite/Accessibility.mdx +3 -0
- package/src/components/FileUpload/FileUpload.vue +2 -1
- package/src/components/FileUpload/FileUploadContent.vue +2 -1
- package/src/components/FileUpload/tests/FileUpload.spec.ts +47 -0
- package/src/components/FileUpload/validateFiles.ts +5 -2
- package/src/components/FranceConnectBtn/accessibilite/Accessibility.mdx +62 -9
- package/src/components/HeaderBar/HeaderBar.vue +2 -1
- package/src/components/HeaderBar/HeaderLogo/HeaderLogo.vue +2 -1
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.vue +2 -1
- package/src/components/LunarCalendar/accessibilite/Accessibility.mdx +74 -8
- package/src/components/LunarCalendar/tests/LunarCalendar.a11y.spec.ts +163 -0
- package/src/components/MaintenancePage/MaintenancePage.vue +1 -1
- package/src/components/MaintenancePage/tests/MaintenancePage.spec.ts +4 -5
- package/src/components/MaintenancePage/tests/__snapshots__/MaintenancePage.spec.ts.snap +0 -1
- package/src/components/MonthPicker/MonthPicker.mdx +35 -0
- package/src/components/MonthPicker/MonthPicker.stories.ts +527 -0
- package/src/components/MonthPicker/MonthPicker.vue +79 -0
- package/src/components/MonthPicker/MonthPickerText/MonthPickerInput.vue +89 -0
- package/src/components/MonthPicker/MonthPickerText/useTextField.ts +27 -0
- package/src/components/MonthPicker/MonthPickerVisual/MonthPickerVisual.vue +154 -0
- package/src/components/MonthPicker/MonthPickerVisual/MonthPickerVisualProps.ts +13 -0
- package/src/components/MonthPicker/MonthPickerVisual/MonthSelector.vue +137 -0
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerFooter.vue +60 -0
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.vue +149 -0
- package/src/components/MonthPicker/MonthPickerVisual/YearSelector.vue +143 -0
- package/src/components/MonthPicker/MonthPickerVisual/useMonthGrid.ts +45 -0
- package/src/components/MonthPicker/MonthPickerVisual/useYearGrid.ts +45 -0
- package/src/components/MonthPicker/MonthPickerVisual/utils.ts +17 -0
- package/src/components/MonthPicker/accessibilite/Accessibility.mdx +59 -0
- package/src/components/MonthPicker/locales.ts +12 -0
- package/src/components/MonthPicker/tests/MonthPicker.a11y.spec.ts +71 -0
- package/src/components/MonthPicker/tests/MonthPicker.spec.ts +1248 -0
- package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +2545 -0
- package/src/components/MonthPicker/useMonthPickerValidation.ts +30 -0
- package/src/components/NirField/NirField.mdx +1 -2
- package/src/components/NirField/NirField.stories.ts +66 -6
- package/src/components/NotFoundPage/tests/NotFoundPage.spec.ts +2 -3
- package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +22 -14
- package/src/components/NotificationBar/Notification/Notification.vue +3 -1
- package/src/components/NotificationBar/NotificationBar.stories.ts +154 -0
- package/src/components/NotificationBar/tests/NotificationBar.a11y.spec.ts +26 -0
- package/src/components/NotificationBar/tests/NotificationBar.spec.ts +60 -0
- package/src/components/RangeField/accessibilite/Accessibility.mdx +79 -11
- package/src/components/SkipLink/tests/SkipLink.a11y.spec.ts +23 -0
- package/src/components/StatusPage/StatusPage.stories.ts +118 -0
- package/src/components/StatusPage/StatusPage.vue +5 -3
- package/src/components/StatusPage/tests/StatusPage.a11y.spec.ts +22 -0
- package/src/components/StatusPage/tests/StatusPage.spec.ts +22 -0
- package/src/components/StatusPage/tests/__snapshots__/StatusPage.spec.ts.snap +22 -14
- package/src/components/SubHeader/tests/SubHeader.a11y.spec.ts +20 -0
- package/src/components/SyAlert/SyAlert.vue +1 -0
- package/src/components/SyAlert/accessibilite/Accessibility.mdx +79 -9
- package/src/components/SyAlert/tests/SyAlert.a11y.spec.ts +23 -0
- package/src/components/SyHeading/SyHeading.a11y.test.ts +149 -0
- package/src/components/SyHeading/SyHeading.test.ts +115 -0
- package/src/components/SyHeading/SyHeading.vue +5 -3
- package/src/components/SyTextArea/accessibilite/Accessibility.mdx +80 -8
- package/src/components/SyTextArea/tests/SyTextArea.a11y.spec.ts +151 -0
- package/src/components/ToolbarContainer/tests/ToolbarContainer.a11y.spec.ts +126 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +2 -2
- package/src/components/index.ts +1 -0
- package/src/composables/useFormFieldErrorHandling.ts +11 -2
- package/src/designTokens/tokens/cnam/cnamContextual.ts +6 -1
- package/src/main.ts +2 -0
|
@@ -58,9 +58,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
58
58
|
id: string;
|
|
59
59
|
name: string;
|
|
60
60
|
options: Option[];
|
|
61
|
-
required: boolean;
|
|
62
61
|
modelValue: (string | number) | (string | number)[] | null;
|
|
63
62
|
multiple: boolean;
|
|
63
|
+
required: boolean;
|
|
64
64
|
ariaLabelledby: string;
|
|
65
65
|
errorMessages: string[] | null;
|
|
66
66
|
warningMessages: string[] | null;
|
|
@@ -905,8 +905,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
905
905
|
readonly: boolean;
|
|
906
906
|
id: string;
|
|
907
907
|
name: string;
|
|
908
|
-
required: boolean;
|
|
909
908
|
modelValue: boolean | null;
|
|
909
|
+
required: boolean;
|
|
910
910
|
ariaLabelledby: string;
|
|
911
911
|
indeterminate: boolean;
|
|
912
912
|
errorMessages: string[] | null;
|
|
@@ -875,8 +875,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
875
875
|
label: string;
|
|
876
876
|
value: PropertyKey;
|
|
877
877
|
}>;
|
|
878
|
-
required: boolean;
|
|
879
878
|
modelValue: PropertyKey | null;
|
|
879
|
+
required: boolean;
|
|
880
880
|
ariaLabelledby: string;
|
|
881
881
|
errorMessages: string[] | null;
|
|
882
882
|
warningMessages: string[] | null;
|
|
@@ -80,6 +80,7 @@ declare function __VLS_template(): {
|
|
|
80
80
|
slots: {
|
|
81
81
|
prepend?(_: {}): any;
|
|
82
82
|
append?(_: {}): any;
|
|
83
|
+
default?(_: {}): any;
|
|
83
84
|
'prepend-inner'?(_: {}): any;
|
|
84
85
|
'append-inner'?(_: {}): any;
|
|
85
86
|
details?(_: {}): any;
|
|
@@ -595,7 +596,8 @@ declare function __VLS_template(): {
|
|
|
595
596
|
id?: string | undefined;
|
|
596
597
|
labelId?: string | undefined;
|
|
597
598
|
} & {
|
|
598
|
-
"onUpdate:focused"
|
|
599
|
+
"onUpdate:focused"
|
|
600
|
+
/** @type { [typeof __VLS_components.VBtn, ] } */ ? /** @type { [typeof __VLS_components.VBtn, ] } */: ((focused: boolean) => any) | undefined;
|
|
599
601
|
}, {
|
|
600
602
|
controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
601
603
|
fieldIconColor: import('vue').ComputedRef<string | undefined>;
|
|
@@ -2120,7 +2122,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2120
2122
|
id?: string | undefined;
|
|
2121
2123
|
labelId?: string | undefined;
|
|
2122
2124
|
} & {
|
|
2123
|
-
"onUpdate:focused"
|
|
2125
|
+
"onUpdate:focused"
|
|
2126
|
+
/** @type { [typeof __VLS_components.VBtn, ] } */ ? /** @type { [typeof __VLS_components.VBtn, ] } */: ((focused: boolean) => any) | undefined;
|
|
2124
2127
|
}, {
|
|
2125
2128
|
controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2126
2129
|
fieldIconColor: import('vue').ComputedRef<string | undefined>;
|
|
@@ -84,9 +84,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
84
84
|
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
85
85
|
density: "default" | "comfortable" | "compact";
|
|
86
86
|
readonly: boolean;
|
|
87
|
-
required: boolean;
|
|
88
87
|
modelValue: DateInput;
|
|
89
88
|
bgColor: string;
|
|
89
|
+
required: boolean;
|
|
90
90
|
hint: string;
|
|
91
91
|
displayAsterisk: boolean;
|
|
92
92
|
noIcon: boolean;
|
|
@@ -175,9 +175,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
175
175
|
placeholder: string;
|
|
176
176
|
density: "default" | "comfortable" | "compact";
|
|
177
177
|
readonly: boolean;
|
|
178
|
-
required: boolean;
|
|
179
178
|
modelValue: DateValue;
|
|
180
179
|
bgColor: string;
|
|
180
|
+
required: boolean;
|
|
181
181
|
hint: string;
|
|
182
182
|
noIcon: boolean;
|
|
183
183
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -2073,6 +2073,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2073
2073
|
$slots: {
|
|
2074
2074
|
prepend?(_: {}): any;
|
|
2075
2075
|
append?(_: {}): any;
|
|
2076
|
+
default?(_: {}): any;
|
|
2076
2077
|
'prepend-inner'?(_: {}): any;
|
|
2077
2078
|
'append-inner'?(_: {}): any;
|
|
2078
2079
|
details?(_: {}): any;
|
|
@@ -2129,9 +2130,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2129
2130
|
placeholder: string;
|
|
2130
2131
|
density: "default" | "comfortable" | "compact";
|
|
2131
2132
|
readonly: boolean;
|
|
2132
|
-
required: boolean;
|
|
2133
2133
|
modelValue: DateValue;
|
|
2134
2134
|
bgColor: string;
|
|
2135
|
+
required: boolean;
|
|
2135
2136
|
hint: string;
|
|
2136
2137
|
noIcon: boolean;
|
|
2137
2138
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -2249,9 +2250,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2249
2250
|
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2250
2251
|
density: "default" | "comfortable" | "compact";
|
|
2251
2252
|
readonly: boolean;
|
|
2252
|
-
required: boolean;
|
|
2253
2253
|
modelValue: DateInput;
|
|
2254
2254
|
bgColor: string;
|
|
2255
|
+
required: boolean;
|
|
2255
2256
|
hint: string;
|
|
2256
2257
|
displayAsterisk: boolean;
|
|
2257
2258
|
noIcon: boolean;
|
|
@@ -2339,9 +2340,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2339
2340
|
placeholder: string;
|
|
2340
2341
|
density: "default" | "comfortable" | "compact";
|
|
2341
2342
|
readonly: boolean;
|
|
2342
|
-
required: boolean;
|
|
2343
2343
|
modelValue: DateValue;
|
|
2344
2344
|
bgColor: string;
|
|
2345
|
+
required: boolean;
|
|
2345
2346
|
hint: string;
|
|
2346
2347
|
noIcon: boolean;
|
|
2347
2348
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -4237,6 +4238,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4237
4238
|
$slots: {
|
|
4238
4239
|
prepend?(_: {}): any;
|
|
4239
4240
|
append?(_: {}): any;
|
|
4241
|
+
default?(_: {}): any;
|
|
4240
4242
|
'prepend-inner'?(_: {}): any;
|
|
4241
4243
|
'append-inner'?(_: {}): any;
|
|
4242
4244
|
details?(_: {}): any;
|
|
@@ -4293,9 +4295,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4293
4295
|
placeholder: string;
|
|
4294
4296
|
density: "default" | "comfortable" | "compact";
|
|
4295
4297
|
readonly: boolean;
|
|
4296
|
-
required: boolean;
|
|
4297
4298
|
modelValue: DateValue;
|
|
4298
4299
|
bgColor: string;
|
|
4300
|
+
required: boolean;
|
|
4299
4301
|
hint: string;
|
|
4300
4302
|
noIcon: boolean;
|
|
4301
4303
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -4365,9 +4367,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4365
4367
|
placeholder: string;
|
|
4366
4368
|
density: "default" | "comfortable" | "compact";
|
|
4367
4369
|
readonly: boolean;
|
|
4368
|
-
required: boolean;
|
|
4369
4370
|
modelValue: DateValue;
|
|
4370
4371
|
bgColor: string;
|
|
4372
|
+
required: boolean;
|
|
4371
4373
|
hint: string;
|
|
4372
4374
|
noIcon: boolean;
|
|
4373
4375
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -6263,6 +6265,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
6263
6265
|
$slots: {
|
|
6264
6266
|
prepend?(_: {}): any;
|
|
6265
6267
|
append?(_: {}): any;
|
|
6268
|
+
default?(_: {}): any;
|
|
6266
6269
|
'prepend-inner'?(_: {}): any;
|
|
6267
6270
|
'append-inner'?(_: {}): any;
|
|
6268
6271
|
details?(_: {}): any;
|
|
@@ -6319,9 +6322,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
6319
6322
|
placeholder: string;
|
|
6320
6323
|
density: "default" | "comfortable" | "compact";
|
|
6321
6324
|
readonly: boolean;
|
|
6322
|
-
required: boolean;
|
|
6323
6325
|
modelValue: DateValue;
|
|
6324
6326
|
bgColor: string;
|
|
6327
|
+
required: boolean;
|
|
6325
6328
|
hint: string;
|
|
6326
6329
|
noIcon: boolean;
|
|
6327
6330
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -6880,9 +6883,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
6880
6883
|
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
6881
6884
|
density: "default" | "comfortable" | "compact";
|
|
6882
6885
|
readonly: boolean;
|
|
6883
|
-
required: boolean;
|
|
6884
6886
|
modelValue: DateInput;
|
|
6885
6887
|
bgColor: string;
|
|
6888
|
+
required: boolean;
|
|
6886
6889
|
hint: string;
|
|
6887
6890
|
displayAsterisk: boolean;
|
|
6888
6891
|
noIcon: boolean;
|
|
@@ -8796,6 +8799,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
8796
8799
|
$slots: {
|
|
8797
8800
|
prepend?(_: {}): any;
|
|
8798
8801
|
append?(_: {}): any;
|
|
8802
|
+
default?(_: {}): any;
|
|
8799
8803
|
'prepend-inner'?(_: {}): any;
|
|
8800
8804
|
'append-inner'?(_: {}): any;
|
|
8801
8805
|
details?(_: {}): any;
|
|
@@ -103,9 +103,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
103
103
|
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
104
104
|
density: "default" | "comfortable" | "compact";
|
|
105
105
|
readonly: boolean;
|
|
106
|
-
required: boolean;
|
|
107
106
|
modelValue: DateInput;
|
|
108
107
|
bgColor: string;
|
|
108
|
+
required: boolean;
|
|
109
109
|
hint: string;
|
|
110
110
|
displayAsterisk: boolean;
|
|
111
111
|
noIcon: boolean;
|
|
@@ -193,9 +193,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
193
193
|
placeholder: string;
|
|
194
194
|
density: "default" | "comfortable" | "compact";
|
|
195
195
|
readonly: boolean;
|
|
196
|
-
required: boolean;
|
|
197
196
|
modelValue: DateValue;
|
|
198
197
|
bgColor: string;
|
|
198
|
+
required: boolean;
|
|
199
199
|
hint: string;
|
|
200
200
|
noIcon: boolean;
|
|
201
201
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -2097,6 +2097,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2097
2097
|
$slots: {
|
|
2098
2098
|
prepend?(_: {}): any;
|
|
2099
2099
|
append?(_: {}): any;
|
|
2100
|
+
default?(_: {}): any;
|
|
2100
2101
|
'prepend-inner'?(_: {}): any;
|
|
2101
2102
|
'append-inner'?(_: {}): any;
|
|
2102
2103
|
details?(_: {}): any;
|
|
@@ -2153,9 +2154,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2153
2154
|
placeholder: string;
|
|
2154
2155
|
density: "default" | "comfortable" | "compact";
|
|
2155
2156
|
readonly: boolean;
|
|
2156
|
-
required: boolean;
|
|
2157
2157
|
modelValue: DateValue;
|
|
2158
2158
|
bgColor: string;
|
|
2159
|
+
required: boolean;
|
|
2159
2160
|
hint: string;
|
|
2160
2161
|
noIcon: boolean;
|
|
2161
2162
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -2225,9 +2226,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2225
2226
|
placeholder: string;
|
|
2226
2227
|
density: "default" | "comfortable" | "compact";
|
|
2227
2228
|
readonly: boolean;
|
|
2228
|
-
required: boolean;
|
|
2229
2229
|
modelValue: DateValue;
|
|
2230
2230
|
bgColor: string;
|
|
2231
|
+
required: boolean;
|
|
2231
2232
|
hint: string;
|
|
2232
2233
|
noIcon: boolean;
|
|
2233
2234
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -4129,6 +4130,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4129
4130
|
$slots: {
|
|
4130
4131
|
prepend?(_: {}): any;
|
|
4131
4132
|
append?(_: {}): any;
|
|
4133
|
+
default?(_: {}): any;
|
|
4132
4134
|
'prepend-inner'?(_: {}): any;
|
|
4133
4135
|
'append-inner'?(_: {}): any;
|
|
4134
4136
|
details?(_: {}): any;
|
|
@@ -4185,9 +4187,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4185
4187
|
placeholder: string;
|
|
4186
4188
|
density: "default" | "comfortable" | "compact";
|
|
4187
4189
|
readonly: boolean;
|
|
4188
|
-
required: boolean;
|
|
4189
4190
|
modelValue: DateValue;
|
|
4190
4191
|
bgColor: string;
|
|
4192
|
+
required: boolean;
|
|
4191
4193
|
hint: string;
|
|
4192
4194
|
noIcon: boolean;
|
|
4193
4195
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
@@ -57,9 +57,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
57
57
|
placeholder: string;
|
|
58
58
|
density: "default" | "comfortable" | "compact";
|
|
59
59
|
readonly: boolean;
|
|
60
|
-
required: boolean;
|
|
61
60
|
modelValue: DateValue;
|
|
62
61
|
bgColor: string;
|
|
62
|
+
required: boolean;
|
|
63
63
|
hint: string;
|
|
64
64
|
noIcon: boolean;
|
|
65
65
|
customRules: ValidationRule[];
|
|
@@ -1957,6 +1957,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1957
1957
|
$slots: {
|
|
1958
1958
|
prepend?(_: {}): any;
|
|
1959
1959
|
append?(_: {}): any;
|
|
1960
|
+
default?(_: {}): any;
|
|
1960
1961
|
'prepend-inner'?(_: {}): any;
|
|
1961
1962
|
'append-inner'?(_: {}): any;
|
|
1962
1963
|
details?(_: {}): any;
|
|
@@ -9,7 +9,7 @@ type __VLS_Props = {
|
|
|
9
9
|
btnHref?: string;
|
|
10
10
|
btnLink?: RouteRecordRaw | string;
|
|
11
11
|
hideBtn?: boolean;
|
|
12
|
-
headingLevel
|
|
12
|
+
headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
13
13
|
uniqueId?: string;
|
|
14
14
|
role?: PageAriaRole;
|
|
15
15
|
};
|
|
@@ -17,6 +17,8 @@ declare function __VLS_template(): {
|
|
|
17
17
|
attrs: Partial<{}>;
|
|
18
18
|
slots: {
|
|
19
19
|
illustration?(_: {}): any;
|
|
20
|
+
action?(_: {}): any;
|
|
21
|
+
'additional-content'?(_: {}): any;
|
|
20
22
|
};
|
|
21
23
|
refs: {};
|
|
22
24
|
rootEl: HTMLDivElement;
|
|
@@ -13,6 +13,9 @@ type __VLS_Props = {
|
|
|
13
13
|
showPreviewBtn?: boolean;
|
|
14
14
|
tag?: string;
|
|
15
15
|
locales?: typeof defaultLocales;
|
|
16
|
+
seeLabel?: string;
|
|
17
|
+
deleteLabel?: string;
|
|
18
|
+
importLabel?: string;
|
|
16
19
|
};
|
|
17
20
|
declare function __VLS_template(): {
|
|
18
21
|
attrs: Partial<{}>;
|
|
@@ -48,6 +51,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
48
51
|
showUploadBtn: boolean;
|
|
49
52
|
showDeleteBtn: boolean;
|
|
50
53
|
showPreviewBtn: boolean;
|
|
54
|
+
seeLabel: string;
|
|
55
|
+
deleteLabel: string;
|
|
56
|
+
importLabel: string;
|
|
51
57
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
58
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
59
|
export default _default;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
export declare const locales: {
|
|
2
2
|
optionalDocument: string;
|
|
3
|
-
import: string;
|
|
4
3
|
see: string;
|
|
5
4
|
delete: string;
|
|
6
|
-
|
|
7
|
-
seeLabel(title: string): string;
|
|
8
|
-
deleteLabel(title: string): string;
|
|
5
|
+
import: string;
|
|
9
6
|
uploading: string;
|
|
10
7
|
success: string;
|
|
11
8
|
error: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
allowedExtensions: string[];
|
|
3
4
|
fileSizeUnits: Array<string>;
|
|
4
5
|
fileSizeMax: number;
|
|
5
6
|
multiple: boolean;
|
|
7
|
+
locales: typeof defaultLocales;
|
|
6
8
|
};
|
|
7
9
|
export interface FileUploadContentSlots {
|
|
8
10
|
'icon'(): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
2
|
+
export default function validateFiles(files: File[], maxFileSize: number, allowedExtensions: string[], fileSizeUnits: string[], locales?: typeof defaultLocales): {
|
|
2
3
|
errors: string[];
|
|
3
4
|
validFiles: File[];
|
|
4
5
|
};
|
|
@@ -11,7 +11,7 @@ type LogoProps = {
|
|
|
11
11
|
to?: RouteLocationRaw;
|
|
12
12
|
href?: string;
|
|
13
13
|
};
|
|
14
|
-
headingLevelTitle
|
|
14
|
+
headingLevelTitle?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_Props = {
|
|
17
17
|
/** Keep the header visible */
|
|
@@ -66,6 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
66
66
|
to?: RouteLocationRaw;
|
|
67
67
|
href?: string;
|
|
68
68
|
};
|
|
69
|
+
headingLevelTitle: 1 | 2 | 3 | 4 | 5 | 6;
|
|
69
70
|
hideWhenDown: boolean;
|
|
70
71
|
homeAriaLabel: string;
|
|
71
72
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
to?: RouteLocationRaw;
|
|
9
9
|
href?: string;
|
|
10
10
|
};
|
|
11
|
-
headingLevelTitle
|
|
11
|
+
headingLevelTitle?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
12
|
};
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
14
|
attrs: Partial<{}>;
|
|
@@ -30,6 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
30
30
|
to?: RouteLocationRaw;
|
|
31
31
|
href?: string;
|
|
32
32
|
};
|
|
33
|
+
headingLevelTitle: 1 | 2 | 3 | 4 | 5 | 6;
|
|
33
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
36
|
export default _default;
|
|
@@ -32,7 +32,7 @@ type __VLS_Props = CustomizableOptions & {
|
|
|
32
32
|
confirmationMessage?: boolean;
|
|
33
33
|
/** Largeur interne */
|
|
34
34
|
width?: string;
|
|
35
|
-
headingLevelTitle
|
|
35
|
+
headingLevelTitle?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
36
36
|
};
|
|
37
37
|
type SlotProps = {
|
|
38
38
|
menuOpen: boolean | undefined;
|
|
@@ -193,6 +193,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
193
193
|
to?: RouteLocationRaw;
|
|
194
194
|
href?: string;
|
|
195
195
|
};
|
|
196
|
+
headingLevelTitle: 1 | 2 | 3 | 4 | 5 | 6;
|
|
196
197
|
hideWhenDown: boolean;
|
|
197
198
|
homeAriaLabel: string;
|
|
198
199
|
confirmTabChange: boolean;
|