@cnamts/synapse 1.0.25 → 1.0.27
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/{AutocompleteFilter-D7qBuCAP.js → AutocompleteFilter-C9eLKyW8.js} +3 -3
- package/dist/{DateFilter-BitMWrMU.js → DateFilter-y-GLkAkn.js} +9 -9
- package/dist/{NumberFilter-BTLUxw0a.js → NumberFilter-DN6hIBS7.js} +1 -1
- package/dist/{PeriodFilter-B5rUIPAC.js → PeriodFilter-MoUUp9qS.js} +1 -1
- package/dist/{SelectFilter-l4QnRcuk.js → SelectFilter-bCbrdLmu.js} +1 -1
- package/dist/{TextFilter-C9hj6Qrp.js → TextFilter-CvjgEaoM.js} +4 -4
- package/dist/apLightTheme2026-ug4Y23ns.js +611 -0
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +2369 -351
- package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +18 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/ariaManager.d.ts +1 -1
- package/dist/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.d.ts +3 -1
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +58 -288
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +1 -0
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +15 -0
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +4 -3
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +4 -3
- package/dist/components/Customs/SyIconButton/SyIconButton.d.ts +18 -0
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +20 -37
- package/dist/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.d.ts +50 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +8 -10
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +197 -185
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +91 -82
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +35 -32
- package/dist/components/DatePicker/composables/index.d.ts +1 -0
- package/dist/components/DatePicker/composables/useDatePickerState.d.ts +3 -3
- package/dist/components/DatePicker/composables/useDatePickerValidationBridge.d.ts +51 -0
- package/dist/components/DatePicker/composables/useDateTextField.d.ts +2 -2
- package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
- package/dist/components/DatePicker/types.d.ts +1 -2
- package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +1 -0
- package/dist/components/MonthPicker/MonthPicker.d.ts +24 -24
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +24 -24
- package/dist/components/NirField/NirField.d.ts +64 -60
- package/dist/components/NirField/useNirValidation.d.ts +6 -2
- package/dist/components/PasswordField/PasswordField.d.ts +3 -3
- package/dist/components/PeriodField/PeriodField.d.ts +338 -314
- package/dist/components/PhoneField/PhoneField.d.ts +34 -24
- package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +0 -3
- package/dist/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +3 -1
- package/dist/components/RatingPicker/NumberPicker/NumberPicker.d.ts +4 -3
- package/dist/components/RatingPicker/RatingPicker.d.ts +18 -5
- package/dist/components/RatingPicker/StarsPicker/StarsPicker.d.ts +3 -1
- package/dist/components/RatingPicker/useRatingFocus.d.ts +18 -0
- package/dist/components/SyTextArea/SyTextArea.d.ts +25 -15
- package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +20 -0
- package/dist/components/SyTextArea/locales.d.ts +1 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +5 -4
- package/dist/components/Tables/SyTable/SyTable.d.ts +5 -4
- package/dist/components/Tables/common/SyTablePagination.d.ts +152 -364
- package/dist/components/Tables/common/TableHeader.d.ts +1 -1
- package/dist/components/Tables/common/filters/DateFilter.d.ts +4 -4
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/date/useDateInitializationDayjs.d.ts +3 -1
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +160 -160
- package/dist/composables/unifyValidation/useCustomValidation.d.ts +3 -1
- package/dist/composables/unifyValidation/useValidation.d.ts +27 -19
- package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +1 -1
- package/dist/composables/validation/useValidation.d.ts +1 -0
- package/dist/design-system-v3.js +81 -80
- package/dist/designTokens/tokens/amelipro/apContextual.d.ts +6 -6
- package/dist/designTokens/tokens/amelipro/apDarkTheme.d.ts +3 -1
- package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +53 -98
- package/dist/designTokens/tokens/baseContextualTokens.d.ts +0 -6
- package/dist/designTokens/tokens/baseTokens.d.ts +232 -0
- package/dist/designTokens/tokens/cnam/cnamContextual.d.ts +6 -6
- package/dist/designTokens/tokens/cnam/cnamDarkTheme.d.ts +1 -1
- package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +57 -99
- package/dist/designTokens/tokens/pa/paContextual.d.ts +0 -6
- package/dist/designTokens/tokens/pa/paDarkTheme.d.ts +1 -1
- package/dist/designTokens/tokens/pa/paLightTheme.d.ts +53 -97
- package/dist/designTokens/tokens/pa/paSemantic.d.ts +1 -0
- package/dist/designTokens/tokens/semanticTokens.d.ts +112 -0
- package/dist/{main-Cpx8Co6H.js → main-CI6Q9nmO.js} +13843 -13478
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +208 -72
- package/package.json +10 -7
- package/src/assets/overrides/_icons.scss +5 -17
- package/src/assets/overrides/_otp.scss +4 -5
- package/src/assets/overrides/_typography.scss +2 -1
- package/src/assets/overrides/_utilities.scss +1 -42
- package/src/components/Accordion/Accordion.vue +2 -0
- package/src/components/ChipList/ChipList.vue +30 -18
- package/src/components/ChipList/tests/chipList.spec.ts +4 -4
- package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -1
- package/src/components/CookiesSelection/CookiesSelection.vue +2 -1
- package/src/components/CopyBtn/CopyBtn.vue +9 -0
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +4 -0
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +7 -6
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +223 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.stories.ts +283 -351
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +183 -219
- package/src/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.ts +101 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +761 -1
- package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +3 -1
- package/src/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.ts +79 -5
- package/src/components/Customs/Selects/SyAutocomplete/validation/Validation.stories.ts +1029 -0
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +52 -217
- package/src/components/Customs/Selects/SySelect/SySelect.vue +248 -236
- package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +3 -0
- package/src/components/Customs/Selects/SySelect/composables/useSySelectValidation.ts +64 -0
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +440 -5
- package/src/components/Customs/Selects/SySelect/validation/Validation.stories.ts +1026 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +18 -7
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +5 -5
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +8 -8
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +27 -6
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +1 -1
- package/src/components/Customs/SyIcon/accessibilite/Accessibility.mdx +0 -6
- package/src/components/Customs/SyIcon/utils/tests/iconUtils.spec.ts +107 -0
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.mdx +2 -2
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +395 -200
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +100 -127
- package/src/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.ts +127 -0
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.a11y.spec.ts +93 -1
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.spec.ts +146 -9
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.visual.cy.ts +165 -0
- package/src/components/Customs/SyRadioGroup/validation/Validation.stories.ts +773 -0
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +5 -5
- package/src/components/Customs/SyTabs/config.ts +3 -3
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +265 -0
- package/src/components/Customs/SyTabs/tests/useTabTransition.spec.ts +188 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +10 -29
- package/src/components/Customs/SyTextField/SyTextField.vue +52 -17
- package/src/components/DataList/DataList.stories.ts +1 -1
- package/src/components/DataListItem/tests/DataListItem.spec.ts +3 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +1 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +52 -154
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.coverage.spec.ts +156 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.spec.ts +495 -4
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +1 -1
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +55 -73
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +207 -1
- package/src/components/DatePicker/ComplexDatePicker/tests/bridge-integration.regression.spec.ts +210 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/calendar-navigation.regression.spec.ts +214 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/validation-cross.regression.spec.ts +194 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/validation-success-messages.regression.spec.ts +83 -0
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +169 -60
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +320 -0
- package/src/components/DatePicker/composables/index.ts +1 -0
- package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +360 -0
- package/src/components/DatePicker/composables/tests/useDatePickerValidationBridge.spec.ts +129 -0
- package/src/components/DatePicker/composables/useDatePickerState.ts +33 -14
- package/src/components/DatePicker/composables/useDatePickerValidationBridge.ts +205 -0
- package/src/components/DatePicker/composables/useDateRangeInput.ts +2 -1
- package/src/components/DatePicker/composables/useDateSelection.ts +2 -1
- package/src/components/DatePicker/composables/useDateTextField.ts +2 -2
- package/src/components/DatePicker/composables/useInputBlurHandler.ts +2 -2
- package/src/components/DatePicker/docExamples/BidirectionalComplexValidation.vue +1 -1
- package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +1 -1
- package/src/components/DatePicker/tests/exposed-methods.coverage.spec.ts +75 -0
- package/src/components/DatePicker/types.ts +1 -2
- package/src/components/DialogBox/DialogBox.stories.ts +8 -8
- package/src/components/DialogBox/DialogBox.vue +1 -1
- package/src/components/DialogBox/accessibilite/Accessibility.mdx +86 -22
- package/src/components/FileList/UploadItem/UploadItem.vue +4 -4
- package/src/components/FileUpload/FileUpload.vue +2 -2
- package/src/components/FileUpload/FileUploadContent.vue +1 -1
- package/src/components/FilterInline/FilterInline.mdx +2 -2
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +1 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +4 -3
- package/src/components/FooterBar/FooterBar.vue +7 -7
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +1 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +2 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +7 -7
- package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +2 -2
- package/src/components/HeaderLoading/tests/HeaderLoading.spec.ts +87 -8
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +3 -3
- package/src/components/HeaderNavigationBar/HorizontalNavbar/tests/HorizontalNavbar.spec.ts +589 -0
- package/src/components/HeaderToolbar/tests/HeaderToolBar.spec.ts +153 -1
- package/src/components/HeaderToolbar/tests/useMobileRightMenu.spec.ts +258 -0
- package/src/components/LangBtn/LangBtn.vue +2 -1
- package/src/components/LogoBrandSection/tests/LogoBrandSection.spec.ts +2 -2
- package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +1 -1
- package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +184 -0
- package/src/components/MonthPicker/MonthPickerVisual/MonthSelector.vue +3 -3
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerFooter.vue +1 -1
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.vue +2 -2
- package/src/components/MonthPicker/MonthPickerVisual/YearSelector.vue +1 -1
- package/src/components/NirField/NirField.vue +3 -3
- package/src/components/NotificationBar/Notification/Notification.vue +12 -12
- package/src/components/NotificationBar/NotificationBar.stories.ts +8 -8
- package/src/components/PaginatedTable/PaginatedTable.vue +1 -1
- package/src/components/PaginatedTable/Pagination.vue +3 -3
- package/src/components/PasswordField/PasswordField.vue +15 -11
- package/src/components/PasswordField/tests/PasswordField.spec.ts +3 -3
- package/src/components/PhoneField/PhoneField.vue +4 -2
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +11 -18
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -1
- package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +32 -48
- package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +5 -0
- package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +48 -53
- package/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.ts +2 -1
- package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +40 -13
- package/src/components/RatingPicker/RatingPicker.stories.ts +65 -88
- package/src/components/RatingPicker/RatingPicker.vue +71 -15
- package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +28 -37
- package/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.ts +1 -1
- package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +5 -0
- package/src/components/RatingPicker/accessibilite/Accessibility.mdx +137 -9
- package/src/components/RatingPicker/tests/RatingPicker.a11y.spec.ts +123 -0
- package/src/components/RatingPicker/tests/RatingPicker.spec.ts +3 -2
- package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +40 -11
- package/src/components/RatingPicker/useRatingFocus.ts +97 -0
- package/src/components/StatusPage/tests/StatusPage.spec.ts +149 -0
- package/src/components/SubHeader/SubHeader.vue +1 -1
- package/src/components/SyAlert/SyAlert.vue +23 -23
- package/src/components/SyTextArea/SyTextArea.stories.ts +177 -131
- package/src/components/SyTextArea/SyTextArea.vue +257 -74
- package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +81 -0
- package/src/components/SyTextArea/locales.ts +1 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +449 -1
- package/src/components/SyTextArea/useDefaultValidationRules.ts +2 -7
- package/src/components/SyTextArea/validation/Validation.stories.ts +856 -0
- package/src/components/TableToolbar/TableToolbar.vue +6 -6
- package/src/components/TableToolbar/accessibilite/Accessibility.mdx +81 -7
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +163 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +3 -2
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +94 -0
- package/src/components/Tables/SyTable/SyTable.vue +3 -2
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +64 -0
- package/src/components/Tables/common/SyTableFilter.vue +4 -4
- package/src/components/Tables/common/SyTablePagination.vue +1 -0
- package/src/components/Tables/common/TableHeader.vue +3 -3
- package/src/components/Tables/common/filters/DateFilter.vue +2 -2
- package/src/components/Tables/common/filters/logics/tests/NumberFilterLogic.spec.ts +176 -0
- package/src/components/Tables/common/filters/logics/tests/SelectFilterLogic.spec.ts +111 -0
- package/src/components/Tables/common/tableStyles.scss +6 -6
- package/src/components/Tables/common/types.ts +2 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/composables/date/tests/useDateFormatDayjs.spec.ts +112 -0
- package/src/composables/date/tests/{useDateInitialization.spec.ts → useDateInitializationDayjs.spec.ts} +39 -3
- package/src/composables/date/tests/useHolidayDay.spec.ts +109 -0
- package/src/composables/date/useDateInitializationDayjs.ts +4 -1
- package/src/composables/rules/tests/useFieldValidation.spec.ts +374 -0
- package/src/composables/tests/useError.spec.ts +30 -0
- package/src/composables/tests/useFormFieldErrorHandling.spec.ts +234 -0
- package/src/composables/unifyValidation/documentationValidationProps.ts +12 -12
- package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +177 -0
- package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +32 -1
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +28 -2
- package/src/composables/unifyValidation/useCustomValidation.ts +34 -12
- package/src/composables/unifyValidation/useValidation.ts +55 -27
- package/src/composables/unifyValidation/useVuetifyValidation.ts +2 -2
- package/src/composables/useFilterable/useFilterable.spec.ts +42 -0
- package/src/composables/useFilterable/useFilterable.ts +11 -7
- package/src/composables/useFormFieldErrorHandling.ts +6 -3
- package/src/composables/validation/tests/useValidation.spec.ts +2 -2
- package/src/composables/validation/useValidation.ts +15 -3
- package/src/composantsVuetify/VBtn/VBtn.mdx +9 -39
- package/src/composantsVuetify/VBtn/v-btn.stories.ts +26 -86
- package/src/composantsVuetify/VCard/VCard.mdx +59 -0
- package/src/composantsVuetify/VCard/v-card.stories.ts +279 -0
- package/src/designTokens/tokens/amelipro/apColors2026.ts +1 -1
- package/src/designTokens/tokens/amelipro/apContextual.ts +6 -0
- package/src/designTokens/tokens/amelipro/apDarkTheme.ts +2 -2
- package/src/designTokens/tokens/amelipro/apLightTheme.ts +72 -100
- package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
- package/src/designTokens/tokens/baseContextualTokens.ts +1 -6
- package/src/designTokens/tokens/baseTokens.ts +232 -0
- package/src/designTokens/tokens/cnam/cnamContextual.ts +6 -0
- package/src/designTokens/tokens/cnam/cnamDarkTheme.ts +2 -2
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +76 -101
- package/src/designTokens/tokens/pa/paDarkTheme.ts +2 -2
- package/src/designTokens/tokens/pa/paLightTheme.ts +73 -99
- package/src/designTokens/tokens/pa/paSemantic.ts +2 -0
- package/src/designTokens/tokens/semanticTokens.ts +114 -0
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +61 -91
- package/src/stories/Accessibilite/AuditDesignSystem.mdx +5 -8
- package/src/stories/Accessibilite/AuditEtContreAudit/Exemptions-derogations.mdx +1 -1
- package/src/stories/Accessibilite/AuditEtContreAudit/Introduction.mdx +11 -8
- package/src/stories/Accessibilite/AuditEtContreAudit/RGAA.mdx +6 -7
- package/src/stories/Accessibilite/Introduction.mdx +30 -30
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +168 -78
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +13 -6
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +66 -45
- package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +23 -49
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.stories.ts +6 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/Utilisation.mdx +7 -19
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +18 -20
- package/src/stories/Components/Components.stories.ts +59 -6
- package/src/stories/DesignTokens/ColorIntegrationExample.vue +2 -3
- package/src/stories/DesignTokens/Colors.mdx +6 -8
- package/src/stories/DesignTokens/colors.stories.ts +244 -1081
- package/src/utils/amelipro/toKebabCase/tests/toKebabCase.spec.ts +52 -0
- package/src/utils/formatNir/tests/formatNir.spec.ts +34 -0
- package/src/utils/tests/insertAt.spec.ts +44 -0
- package/dist/AutocompleteFilter-Df9i5mAl.cjs +0 -1
- package/dist/DateFilter-BJD6FMev.cjs +0 -1
- package/dist/NumberFilter-DGCzCXzI.cjs +0 -1
- package/dist/PeriodFilter-DO_ecTZW.cjs +0 -1
- package/dist/SelectFilter-CGwcKWLm.cjs +0 -1
- package/dist/TextFilter-B8nf7xoK.cjs +0 -1
- package/dist/apLightTheme-CEK4iY3f.cjs +0 -1
- package/dist/apLightTheme-DnIM24Lv.js +0 -950
- package/dist/composables/date/useDateFormat.d.ts +0 -26
- package/dist/composables/date/useDateInitialization.d.ts +0 -18
- package/dist/design-system-v3.umd.cjs +0 -1
- package/dist/main-ByDPHpae.cjs +0 -1067
- package/dist/tooth-11-D3sLWv2n.cjs +0 -1
- package/dist/tooth-12-CXrLuH03.cjs +0 -1
- package/dist/tooth-13-BSfo5fpT.cjs +0 -1
- package/dist/tooth-14-DMzulx0h.cjs +0 -1
- package/dist/tooth-15-BKRFVi-9.cjs +0 -1
- package/dist/tooth-16-CpuxAbuM.cjs +0 -1
- package/dist/tooth-17-BPoahUdg.cjs +0 -1
- package/dist/tooth-18-DhHJz8sy.cjs +0 -1
- package/dist/tooth-21-Dgd5hn_X.cjs +0 -1
- package/dist/tooth-22-C2Tn19sB.cjs +0 -1
- package/dist/tooth-23-C9uaaSGb.cjs +0 -1
- package/dist/tooth-24-BrK9UGpf.cjs +0 -1
- package/dist/tooth-25-CE_EfGNp.cjs +0 -1
- package/dist/tooth-26-Ctv4i9Fy.cjs +0 -1
- package/dist/tooth-27-C5J7JkWM.cjs +0 -1
- package/dist/tooth-28-Z9oWqjo0.cjs +0 -1
- package/dist/tooth-31-BrYqmkTi.cjs +0 -1
- package/dist/tooth-32-BNNR0oCZ.cjs +0 -1
- package/dist/tooth-33-DuxvqO2J.cjs +0 -1
- package/dist/tooth-34-BCSCXMB6.cjs +0 -1
- package/dist/tooth-35-BLUXkX88.cjs +0 -1
- package/dist/tooth-36-IrKHYqlA.cjs +0 -1
- package/dist/tooth-37-BYqpdMwo.cjs +0 -1
- package/dist/tooth-38-B_eNXXdu.cjs +0 -1
- package/dist/tooth-41-Ddva4Ot8.cjs +0 -1
- package/dist/tooth-42-szcDqlM0.cjs +0 -1
- package/dist/tooth-43-B3ka6rQm.cjs +0 -1
- package/dist/tooth-44-CazyQucj.cjs +0 -1
- package/dist/tooth-45-B4HQtc8n.cjs +0 -1
- package/dist/tooth-46-BPM40gbG.cjs +0 -1
- package/dist/tooth-47-Dvr20dlh.cjs +0 -1
- package/dist/tooth-48-Bd8ljGsF.cjs +0 -1
- package/dist/tooth-51-OBpwCOF3.cjs +0 -1
- package/dist/tooth-52-aKxyHcmq.cjs +0 -1
- package/dist/tooth-53-vCwJjTOc.cjs +0 -1
- package/dist/tooth-54-DsWu2iFy.cjs +0 -1
- package/dist/tooth-55-BxC1X2Dn.cjs +0 -1
- package/dist/tooth-61-BbLvxMQi.cjs +0 -1
- package/dist/tooth-62-CmTkWczP.cjs +0 -1
- package/dist/tooth-63-DI7l_2qI.cjs +0 -1
- package/dist/tooth-64-B21sOsJh.cjs +0 -1
- package/dist/tooth-65-D2ZC2VEr.cjs +0 -1
- package/dist/tooth-71-D473PPO5.cjs +0 -1
- package/dist/tooth-72-Drh1wnNu.cjs +0 -1
- package/dist/tooth-73-DzlwYI23.cjs +0 -1
- package/dist/tooth-74-8aGvcZPg.cjs +0 -1
- package/dist/tooth-75-BFK7At_r.cjs +0 -1
- package/dist/tooth-81-BZmR-I0M.cjs +0 -1
- package/dist/tooth-82-euVfUUZV.cjs +0 -1
- package/dist/tooth-83-KV010j64.cjs +0 -1
- package/dist/tooth-84-BBg1RjhZ.cjs +0 -1
- package/dist/tooth-85-Cr-kc1wM.cjs +0 -1
- package/dist/vuetifyConfig.umd.cjs +0 -1
- package/src/components/BackBtn/tests/__snapshots__/back-btn-custom-bg.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-dark-mode.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-default.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-no-icon.snap.png +0 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.events.spec.ts +0 -178
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-custom-texts.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-default.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-no-actions.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated-submenu-open.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-custom-width.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-default.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-no-sticky.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-prepend.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-side.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-subtitle.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-avatar.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-dark.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-default.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-organism.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-signature.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-risque-pro.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-bg.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-range.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-default.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-step.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-with-label.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-closable.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-error.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-info.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-success.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-outlined.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-tonal.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-warning.snap.png +0 -0
- package/src/composables/date/tests/useDateFormat.spec.ts +0 -67
- package/src/composables/date/useDateFormat.ts +0 -110
- package/src/composables/date/useDateInitialization.ts +0 -92
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DateInput,
|
|
1
|
+
import { ComponentPublicInstance, nextTick, Ref } from 'vue';
|
|
2
|
+
import { DateInput, DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
autoClamp?: boolean;
|
|
5
5
|
bgColor?: string;
|
|
6
|
+
/** @deprecated Utilisez isBirthDate à la place */
|
|
6
7
|
birthDate?: boolean;
|
|
7
8
|
customRules?: {
|
|
8
9
|
type: string;
|
|
@@ -62,9 +63,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
62
63
|
currentMonth: Ref<string | null, string | null>;
|
|
63
64
|
currentMonthName: Ref<string | null, string | null>;
|
|
64
65
|
toggleDatePicker: () => void;
|
|
65
|
-
validateField: (value: unknown, rules?: import('../../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../../composables/validation/useValidation').ValidationRule[]) => import('../../../composables/validation/useValidation').ValidationResult |
|
|
66
|
+
validateField: (value: unknown, rules?: import('../../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../../composables/validation/useValidation').ValidationRule[]) => Promise<import('../../../composables/validation/useValidation').ValidationResult> | import('../../../composables/validation/useValidation').ValidationResult;
|
|
66
67
|
clearValidation: () => void;
|
|
67
|
-
validateDates: (forceValidation?: boolean) => import('../../../composables/validation/useValidation').ValidationResult | Promise<import('../../../composables/validation/useValidation').ValidationResult>;
|
|
68
|
+
validateDates: (forceValidation?: boolean) => import('../../../composables/validation/useValidation').ValidationResult | Promise<import('../../../composables/validation/useValidation').ValidationResult | undefined>;
|
|
68
69
|
formatDateInput: (input: string, cursorPosition?: number) => {
|
|
69
70
|
formatted: string;
|
|
70
71
|
cursorPos: number;
|
|
@@ -75,22 +76,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
75
76
|
message: string;
|
|
76
77
|
};
|
|
77
78
|
displayFormattedDate: Ref<string, string>;
|
|
78
|
-
handleDateSelected: (value:
|
|
79
|
+
handleDateSelected: (value: DateModelValue) => void;
|
|
79
80
|
resetViewMode: () => void;
|
|
80
81
|
reset: () => void;
|
|
81
82
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
82
83
|
input: (value: string) => any;
|
|
83
84
|
blur: () => any;
|
|
84
85
|
focus: () => any;
|
|
85
|
-
"update:modelValue": (value:
|
|
86
|
-
"date-selected": (value:
|
|
86
|
+
"update:modelValue": (value: DateModelValue) => any;
|
|
87
|
+
"date-selected": (value: DateModelValue) => any;
|
|
87
88
|
closed: () => any;
|
|
88
89
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
89
90
|
onInput?: ((value: string) => any) | undefined;
|
|
90
91
|
onBlur?: (() => any) | undefined;
|
|
91
92
|
onFocus?: (() => any) | undefined;
|
|
92
|
-
"onUpdate:modelValue"?: ((value:
|
|
93
|
-
"onDate-selected"?: ((value:
|
|
93
|
+
"onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
|
|
94
|
+
"onDate-selected"?: ((value: DateModelValue) => any) | undefined;
|
|
94
95
|
onClosed?: (() => any) | undefined;
|
|
95
96
|
}>, {
|
|
96
97
|
title: string | false;
|
|
@@ -108,7 +109,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
108
109
|
hint: string;
|
|
109
110
|
displayAsterisk: boolean;
|
|
110
111
|
noIcon: boolean;
|
|
111
|
-
isValidateOnBlur: boolean;
|
|
112
112
|
customRules: {
|
|
113
113
|
type: string;
|
|
114
114
|
options: any;
|
|
@@ -117,6 +117,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
117
117
|
type: string;
|
|
118
118
|
options: any;
|
|
119
119
|
}[];
|
|
120
|
+
isValidateOnBlur: boolean;
|
|
120
121
|
persistentHint: boolean;
|
|
121
122
|
format: string;
|
|
122
123
|
autoClamp: boolean;
|
|
@@ -159,7 +160,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
159
160
|
isOutlined?: boolean;
|
|
160
161
|
isValidateOnBlur?: boolean;
|
|
161
162
|
label: string;
|
|
162
|
-
modelValue?:
|
|
163
|
+
modelValue?: DateModelValue;
|
|
163
164
|
noIcon?: boolean;
|
|
164
165
|
persistentHint?: boolean;
|
|
165
166
|
placeholder?: string;
|
|
@@ -167,12 +168,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
167
168
|
required?: boolean;
|
|
168
169
|
showSuccessMessages?: boolean;
|
|
169
170
|
title?: string | false;
|
|
171
|
+
skipInternalValidation?: boolean;
|
|
170
172
|
}> & Readonly<{
|
|
171
173
|
onInput?: ((value: string) => any) | undefined;
|
|
172
174
|
onBlur?: (() => any) | undefined;
|
|
173
175
|
onFocus?: (() => any) | undefined;
|
|
174
|
-
"onUpdate:model-value"?: ((value:
|
|
175
|
-
"onDate-selected"?: ((value:
|
|
176
|
+
"onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
|
|
177
|
+
"onDate-selected"?: ((value: DateModelValue) => any) | undefined;
|
|
176
178
|
}>, {
|
|
177
179
|
validateOnSubmit: () => Promise<boolean>;
|
|
178
180
|
reset: () => void;
|
|
@@ -182,24 +184,24 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
182
184
|
input: (value: string) => any;
|
|
183
185
|
blur: () => any;
|
|
184
186
|
focus: () => any;
|
|
185
|
-
"update:model-value": (value:
|
|
186
|
-
"date-selected": (value:
|
|
187
|
+
"update:model-value": (value: DateModelValue) => any;
|
|
188
|
+
"date-selected": (value: DateModelValue) => any;
|
|
187
189
|
}, import('vue').PublicProps, {
|
|
188
190
|
title: string | false;
|
|
189
191
|
disabled: boolean;
|
|
190
192
|
placeholder: string;
|
|
191
193
|
density: "default" | "comfortable" | "compact";
|
|
192
194
|
readonly: boolean;
|
|
193
|
-
modelValue:
|
|
195
|
+
modelValue: DateModelValue;
|
|
194
196
|
bgColor: string;
|
|
195
197
|
required: boolean;
|
|
196
198
|
showSuccessMessages: boolean;
|
|
197
199
|
disableErrorHandling: boolean;
|
|
198
200
|
hint: string;
|
|
199
201
|
noIcon: boolean;
|
|
200
|
-
isValidateOnBlur: boolean;
|
|
201
202
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
202
203
|
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
204
|
+
isValidateOnBlur: boolean;
|
|
203
205
|
persistentHint: boolean;
|
|
204
206
|
format: string;
|
|
205
207
|
autoClamp: boolean;
|
|
@@ -210,6 +212,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
210
212
|
displayPrependIcon: boolean;
|
|
211
213
|
externalErrorMessages: string[];
|
|
212
214
|
isOutlined: boolean;
|
|
215
|
+
skipInternalValidation: boolean;
|
|
213
216
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
214
217
|
inputRef: ({
|
|
215
218
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -227,7 +230,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
227
230
|
readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
|
|
228
231
|
readonly isClearable?: boolean | undefined;
|
|
229
232
|
readonly showDivider?: boolean | undefined;
|
|
230
|
-
readonly label
|
|
233
|
+
readonly label?: string | undefined;
|
|
231
234
|
readonly readonly?: boolean | undefined;
|
|
232
235
|
readonly isActive?: boolean | undefined;
|
|
233
236
|
readonly baseColor?: string | undefined;
|
|
@@ -272,22 +275,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
272
275
|
readonly helpText?: string | undefined;
|
|
273
276
|
readonly maxlength?: string | number | undefined;
|
|
274
277
|
readonly title?: string | false | undefined;
|
|
275
|
-
readonly required?: boolean | undefined;
|
|
276
|
-
readonly isValidateOnBlur?: boolean | undefined;
|
|
277
|
-
readonly showSuccessMessages?: boolean | undefined;
|
|
278
|
-
readonly disableErrorHandling?: boolean | undefined;
|
|
279
|
-
readonly useVuetifyValidation?: boolean | undefined;
|
|
280
|
-
readonly rules?: import('vuetify').ValidationRule[] | undefined;
|
|
281
278
|
readonly customRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
282
|
-
readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
283
279
|
readonly customSuccessRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
280
|
+
readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
281
|
+
readonly disableErrorHandling?: boolean | undefined;
|
|
284
282
|
readonly errorMessages?: string[] | null | undefined;
|
|
285
|
-
readonly warningMessages?: string[] | null | undefined;
|
|
286
|
-
readonly successMessages?: string[] | null | undefined;
|
|
287
283
|
readonly hasError?: boolean | undefined;
|
|
288
|
-
readonly hasWarning?: boolean | undefined;
|
|
289
284
|
readonly hasSuccess?: boolean | undefined;
|
|
285
|
+
readonly hasWarning?: boolean | undefined;
|
|
286
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
290
287
|
readonly maxErrors?: number | undefined;
|
|
288
|
+
readonly required?: boolean | undefined;
|
|
289
|
+
readonly rules?: import('vuetify').ValidationRule[] | undefined;
|
|
290
|
+
readonly showSuccessMessages?: boolean | undefined;
|
|
291
|
+
readonly successMessages?: string[] | null | undefined;
|
|
292
|
+
readonly useVuetifyValidation?: boolean | undefined;
|
|
293
|
+
readonly warningMessages?: string[] | null | undefined;
|
|
291
294
|
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
292
295
|
readonly onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
296
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -1872,16 +1875,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1872
1875
|
autocomplete: string;
|
|
1873
1876
|
helpText: string;
|
|
1874
1877
|
maxlength: string | number;
|
|
1875
|
-
isValidateOnBlur: boolean;
|
|
1876
|
-
useVuetifyValidation: boolean;
|
|
1877
1878
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1878
|
-
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1879
1879
|
customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1880
|
-
|
|
1881
|
-
successMessages: string[] | null;
|
|
1880
|
+
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1882
1881
|
hasError: boolean;
|
|
1883
|
-
hasWarning: boolean;
|
|
1884
1882
|
hasSuccess: boolean;
|
|
1883
|
+
hasWarning: boolean;
|
|
1884
|
+
isValidateOnBlur: boolean;
|
|
1885
|
+
successMessages: string[] | null;
|
|
1886
|
+
useVuetifyValidation: boolean;
|
|
1887
|
+
warningMessages: string[] | null;
|
|
1885
1888
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1886
1889
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1887
1890
|
created?: (() => void) | (() => void)[];
|
|
@@ -1964,16 +1967,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1964
1967
|
autocomplete: string;
|
|
1965
1968
|
helpText: string;
|
|
1966
1969
|
maxlength: string | number;
|
|
1967
|
-
isValidateOnBlur: boolean;
|
|
1968
|
-
useVuetifyValidation: boolean;
|
|
1969
1970
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1970
|
-
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1971
1971
|
customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1972
|
-
|
|
1973
|
-
successMessages: string[] | null;
|
|
1972
|
+
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
1974
1973
|
hasError: boolean;
|
|
1975
|
-
hasWarning: boolean;
|
|
1976
1974
|
hasSuccess: boolean;
|
|
1975
|
+
hasWarning: boolean;
|
|
1976
|
+
isValidateOnBlur: boolean;
|
|
1977
|
+
successMessages: string[] | null;
|
|
1978
|
+
useVuetifyValidation: boolean;
|
|
1979
|
+
warningMessages: string[] | null;
|
|
1977
1980
|
}> & Omit<Readonly<{
|
|
1978
1981
|
modelValue?: string | number | null | undefined;
|
|
1979
1982
|
prependIcon?: import('../../../types/vuetifyTypes').IconType;
|
|
@@ -2041,7 +2044,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2041
2044
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
2042
2045
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
2043
2046
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
2044
|
-
}>, "validateOnSubmit" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "required" | "prefix" | "showSuccessMessages" | "disableErrorHandling" | "errorMessages" | "maxErrors" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "
|
|
2047
|
+
}>, "validateOnSubmit" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "required" | "prefix" | "showSuccessMessages" | "disableErrorHandling" | "errorMessages" | "maxErrors" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "customRules" | "customSuccessRules" | "customWarningRules" | "hasError" | "hasSuccess" | "hasWarning" | "isValidateOnBlur" | "successMessages" | "useVuetifyValidation" | "warningMessages")> & {
|
|
2045
2048
|
validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
|
|
2046
2049
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
2047
2050
|
$slots: {
|
|
@@ -2079,7 +2082,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2079
2082
|
isOutlined?: boolean;
|
|
2080
2083
|
isValidateOnBlur?: boolean;
|
|
2081
2084
|
label: string;
|
|
2082
|
-
modelValue?:
|
|
2085
|
+
modelValue?: DateModelValue;
|
|
2083
2086
|
noIcon?: boolean;
|
|
2084
2087
|
persistentHint?: boolean;
|
|
2085
2088
|
placeholder?: string;
|
|
@@ -2087,12 +2090,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2087
2090
|
required?: boolean;
|
|
2088
2091
|
showSuccessMessages?: boolean;
|
|
2089
2092
|
title?: string | false;
|
|
2093
|
+
skipInternalValidation?: boolean;
|
|
2090
2094
|
}> & Readonly<{
|
|
2091
2095
|
onInput?: ((value: string) => any) | undefined;
|
|
2092
2096
|
onBlur?: (() => any) | undefined;
|
|
2093
2097
|
onFocus?: (() => any) | undefined;
|
|
2094
|
-
"onUpdate:model-value"?: ((value:
|
|
2095
|
-
"onDate-selected"?: ((value:
|
|
2098
|
+
"onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
|
|
2099
|
+
"onDate-selected"?: ((value: DateModelValue) => any) | undefined;
|
|
2096
2100
|
}>, {
|
|
2097
2101
|
validateOnSubmit: () => Promise<boolean>;
|
|
2098
2102
|
reset: () => void;
|
|
@@ -2104,16 +2108,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2104
2108
|
placeholder: string;
|
|
2105
2109
|
density: "default" | "comfortable" | "compact";
|
|
2106
2110
|
readonly: boolean;
|
|
2107
|
-
modelValue:
|
|
2111
|
+
modelValue: DateModelValue;
|
|
2108
2112
|
bgColor: string;
|
|
2109
2113
|
required: boolean;
|
|
2110
2114
|
showSuccessMessages: boolean;
|
|
2111
2115
|
disableErrorHandling: boolean;
|
|
2112
2116
|
hint: string;
|
|
2113
2117
|
noIcon: boolean;
|
|
2114
|
-
isValidateOnBlur: boolean;
|
|
2115
2118
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
2116
2119
|
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
2120
|
+
isValidateOnBlur: boolean;
|
|
2117
2121
|
persistentHint: boolean;
|
|
2118
2122
|
format: string;
|
|
2119
2123
|
autoClamp: boolean;
|
|
@@ -2124,6 +2128,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2124
2128
|
displayPrependIcon: boolean;
|
|
2125
2129
|
externalErrorMessages: string[];
|
|
2126
2130
|
isOutlined: boolean;
|
|
2131
|
+
skipInternalValidation: boolean;
|
|
2127
2132
|
}> | null;
|
|
2128
2133
|
menuActivatorRef: HTMLDivElement;
|
|
2129
2134
|
dateCalendarTextInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -2145,7 +2150,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2145
2150
|
isOutlined?: boolean;
|
|
2146
2151
|
isValidateOnBlur?: boolean;
|
|
2147
2152
|
label: string;
|
|
2148
|
-
modelValue?:
|
|
2153
|
+
modelValue?: DateModelValue;
|
|
2149
2154
|
noIcon?: boolean;
|
|
2150
2155
|
persistentHint?: boolean;
|
|
2151
2156
|
placeholder?: string;
|
|
@@ -2153,12 +2158,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2153
2158
|
required?: boolean;
|
|
2154
2159
|
showSuccessMessages?: boolean;
|
|
2155
2160
|
title?: string | false;
|
|
2161
|
+
skipInternalValidation?: boolean;
|
|
2156
2162
|
}> & Readonly<{
|
|
2157
2163
|
onInput?: ((value: string) => any) | undefined;
|
|
2158
2164
|
onBlur?: (() => any) | undefined;
|
|
2159
2165
|
onFocus?: (() => any) | undefined;
|
|
2160
|
-
"onUpdate:model-value"?: ((value:
|
|
2161
|
-
"onDate-selected"?: ((value:
|
|
2166
|
+
"onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
|
|
2167
|
+
"onDate-selected"?: ((value: DateModelValue) => any) | undefined;
|
|
2162
2168
|
}>, {
|
|
2163
2169
|
validateOnSubmit: () => Promise<boolean>;
|
|
2164
2170
|
reset: () => void;
|
|
@@ -2168,24 +2174,24 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2168
2174
|
input: (value: string) => any;
|
|
2169
2175
|
blur: () => any;
|
|
2170
2176
|
focus: () => any;
|
|
2171
|
-
"update:model-value": (value:
|
|
2172
|
-
"date-selected": (value:
|
|
2177
|
+
"update:model-value": (value: DateModelValue) => any;
|
|
2178
|
+
"date-selected": (value: DateModelValue) => any;
|
|
2173
2179
|
}, import('vue').PublicProps, {
|
|
2174
2180
|
title: string | false;
|
|
2175
2181
|
disabled: boolean;
|
|
2176
2182
|
placeholder: string;
|
|
2177
2183
|
density: "default" | "comfortable" | "compact";
|
|
2178
2184
|
readonly: boolean;
|
|
2179
|
-
modelValue:
|
|
2185
|
+
modelValue: DateModelValue;
|
|
2180
2186
|
bgColor: string;
|
|
2181
2187
|
required: boolean;
|
|
2182
2188
|
showSuccessMessages: boolean;
|
|
2183
2189
|
disableErrorHandling: boolean;
|
|
2184
2190
|
hint: string;
|
|
2185
2191
|
noIcon: boolean;
|
|
2186
|
-
isValidateOnBlur: boolean;
|
|
2187
2192
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
2188
2193
|
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
2194
|
+
isValidateOnBlur: boolean;
|
|
2189
2195
|
persistentHint: boolean;
|
|
2190
2196
|
format: string;
|
|
2191
2197
|
autoClamp: boolean;
|
|
@@ -2196,6 +2202,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2196
2202
|
displayPrependIcon: boolean;
|
|
2197
2203
|
externalErrorMessages: string[];
|
|
2198
2204
|
isOutlined: boolean;
|
|
2205
|
+
skipInternalValidation: boolean;
|
|
2199
2206
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2200
2207
|
inputRef: ({
|
|
2201
2208
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -2213,7 +2220,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2213
2220
|
readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
|
|
2214
2221
|
readonly isClearable?: boolean | undefined;
|
|
2215
2222
|
readonly showDivider?: boolean | undefined;
|
|
2216
|
-
readonly label
|
|
2223
|
+
readonly label?: string | undefined;
|
|
2217
2224
|
readonly readonly?: boolean | undefined;
|
|
2218
2225
|
readonly isActive?: boolean | undefined;
|
|
2219
2226
|
readonly baseColor?: string | undefined;
|
|
@@ -2258,22 +2265,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
2258
2265
|
readonly helpText?: string | undefined;
|
|
2259
2266
|
readonly maxlength?: string | number | undefined;
|
|
2260
2267
|
readonly title?: string | false | undefined;
|
|
2261
|
-
readonly required?: boolean | undefined;
|
|
2262
|
-
readonly isValidateOnBlur?: boolean | undefined;
|
|
2263
|
-
readonly showSuccessMessages?: boolean | undefined;
|
|
2264
|
-
readonly disableErrorHandling?: boolean | undefined;
|
|
2265
|
-
readonly useVuetifyValidation?: boolean | undefined;
|
|
2266
|
-
readonly rules?: import('vuetify').ValidationRule[] | undefined;
|
|
2267
2268
|
readonly customRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
2268
|
-
readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
2269
2269
|
readonly customSuccessRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
2270
|
+
readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
2271
|
+
readonly disableErrorHandling?: boolean | undefined;
|
|
2270
2272
|
readonly errorMessages?: string[] | null | undefined;
|
|
2271
|
-
readonly warningMessages?: string[] | null | undefined;
|
|
2272
|
-
readonly successMessages?: string[] | null | undefined;
|
|
2273
2273
|
readonly hasError?: boolean | undefined;
|
|
2274
|
-
readonly hasWarning?: boolean | undefined;
|
|
2275
2274
|
readonly hasSuccess?: boolean | undefined;
|
|
2275
|
+
readonly hasWarning?: boolean | undefined;
|
|
2276
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
2276
2277
|
readonly maxErrors?: number | undefined;
|
|
2278
|
+
readonly required?: boolean | undefined;
|
|
2279
|
+
readonly rules?: import('vuetify').ValidationRule[] | undefined;
|
|
2280
|
+
readonly showSuccessMessages?: boolean | undefined;
|
|
2281
|
+
readonly successMessages?: string[] | null | undefined;
|
|
2282
|
+
readonly useVuetifyValidation?: boolean | undefined;
|
|
2283
|
+
readonly warningMessages?: string[] | null | undefined;
|
|
2277
2284
|
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
2278
2285
|
readonly onBlur?: ((...args: any[]) => any) | undefined;
|
|
2279
2286
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -3858,16 +3865,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
3858
3865
|
autocomplete: string;
|
|
3859
3866
|
helpText: string;
|
|
3860
3867
|
maxlength: string | number;
|
|
3861
|
-
isValidateOnBlur: boolean;
|
|
3862
|
-
useVuetifyValidation: boolean;
|
|
3863
3868
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3864
|
-
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3865
3869
|
customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3866
|
-
|
|
3867
|
-
successMessages: string[] | null;
|
|
3870
|
+
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3868
3871
|
hasError: boolean;
|
|
3869
|
-
hasWarning: boolean;
|
|
3870
3872
|
hasSuccess: boolean;
|
|
3873
|
+
hasWarning: boolean;
|
|
3874
|
+
isValidateOnBlur: boolean;
|
|
3875
|
+
successMessages: string[] | null;
|
|
3876
|
+
useVuetifyValidation: boolean;
|
|
3877
|
+
warningMessages: string[] | null;
|
|
3871
3878
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
3872
3879
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3873
3880
|
created?: (() => void) | (() => void)[];
|
|
@@ -3950,16 +3957,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
3950
3957
|
autocomplete: string;
|
|
3951
3958
|
helpText: string;
|
|
3952
3959
|
maxlength: string | number;
|
|
3953
|
-
isValidateOnBlur: boolean;
|
|
3954
|
-
useVuetifyValidation: boolean;
|
|
3955
3960
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3956
|
-
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3957
3961
|
customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3958
|
-
|
|
3959
|
-
successMessages: string[] | null;
|
|
3962
|
+
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
3960
3963
|
hasError: boolean;
|
|
3961
|
-
hasWarning: boolean;
|
|
3962
3964
|
hasSuccess: boolean;
|
|
3965
|
+
hasWarning: boolean;
|
|
3966
|
+
isValidateOnBlur: boolean;
|
|
3967
|
+
successMessages: string[] | null;
|
|
3968
|
+
useVuetifyValidation: boolean;
|
|
3969
|
+
warningMessages: string[] | null;
|
|
3963
3970
|
}> & Omit<Readonly<{
|
|
3964
3971
|
modelValue?: string | number | null | undefined;
|
|
3965
3972
|
prependIcon?: import('../../../types/vuetifyTypes').IconType;
|
|
@@ -4027,7 +4034,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4027
4034
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
4028
4035
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
4029
4036
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
4030
|
-
}>, "validateOnSubmit" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "required" | "prefix" | "showSuccessMessages" | "disableErrorHandling" | "errorMessages" | "maxErrors" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "
|
|
4037
|
+
}>, "validateOnSubmit" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "required" | "prefix" | "showSuccessMessages" | "disableErrorHandling" | "errorMessages" | "maxErrors" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "customRules" | "customSuccessRules" | "customWarningRules" | "hasError" | "hasSuccess" | "hasWarning" | "isValidateOnBlur" | "successMessages" | "useVuetifyValidation" | "warningMessages")> & {
|
|
4031
4038
|
validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
|
|
4032
4039
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
4033
4040
|
$slots: {
|
|
@@ -4065,7 +4072,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4065
4072
|
isOutlined?: boolean;
|
|
4066
4073
|
isValidateOnBlur?: boolean;
|
|
4067
4074
|
label: string;
|
|
4068
|
-
modelValue?:
|
|
4075
|
+
modelValue?: DateModelValue;
|
|
4069
4076
|
noIcon?: boolean;
|
|
4070
4077
|
persistentHint?: boolean;
|
|
4071
4078
|
placeholder?: string;
|
|
@@ -4073,12 +4080,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4073
4080
|
required?: boolean;
|
|
4074
4081
|
showSuccessMessages?: boolean;
|
|
4075
4082
|
title?: string | false;
|
|
4083
|
+
skipInternalValidation?: boolean;
|
|
4076
4084
|
}> & Readonly<{
|
|
4077
4085
|
onInput?: ((value: string) => any) | undefined;
|
|
4078
4086
|
onBlur?: (() => any) | undefined;
|
|
4079
4087
|
onFocus?: (() => any) | undefined;
|
|
4080
|
-
"onUpdate:model-value"?: ((value:
|
|
4081
|
-
"onDate-selected"?: ((value:
|
|
4088
|
+
"onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
|
|
4089
|
+
"onDate-selected"?: ((value: DateModelValue) => any) | undefined;
|
|
4082
4090
|
}>, {
|
|
4083
4091
|
validateOnSubmit: () => Promise<boolean>;
|
|
4084
4092
|
reset: () => void;
|
|
@@ -4090,16 +4098,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4090
4098
|
placeholder: string;
|
|
4091
4099
|
density: "default" | "comfortable" | "compact";
|
|
4092
4100
|
readonly: boolean;
|
|
4093
|
-
modelValue:
|
|
4101
|
+
modelValue: DateModelValue;
|
|
4094
4102
|
bgColor: string;
|
|
4095
4103
|
required: boolean;
|
|
4096
4104
|
showSuccessMessages: boolean;
|
|
4097
4105
|
disableErrorHandling: boolean;
|
|
4098
4106
|
hint: string;
|
|
4099
4107
|
noIcon: boolean;
|
|
4100
|
-
isValidateOnBlur: boolean;
|
|
4101
4108
|
customRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
4102
4109
|
customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
|
|
4110
|
+
isValidateOnBlur: boolean;
|
|
4103
4111
|
persistentHint: boolean;
|
|
4104
4112
|
format: string;
|
|
4105
4113
|
autoClamp: boolean;
|
|
@@ -4110,6 +4118,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
4110
4118
|
displayPrependIcon: boolean;
|
|
4111
4119
|
externalErrorMessages: string[];
|
|
4112
4120
|
isOutlined: boolean;
|
|
4121
|
+
skipInternalValidation: boolean;
|
|
4113
4122
|
}> | null;
|
|
4114
4123
|
datePickerRef: ({
|
|
4115
4124
|
$: import('vue').ComponentInternalInstance;
|