vectis-ui 0.1.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/LICENSE +21 -0
- package/NOTICE +27 -0
- package/README.md +354 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +8 -0
- package/dist/components/VAccordion/VAccordion.css +2 -0
- package/dist/components/VAccordion/VAccordion.d.ts +59 -0
- package/dist/components/VAccordion/VAccordion.js +9 -0
- package/dist/components/VAccordion/VAccordion.js.map +1 -0
- package/dist/components/VAccordion/VAccordion.vue_vue_type_script_setup_true_lang.js +42 -0
- package/dist/components/VAccordion/VAccordion.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VAccordion/VAccordionItem.css +2 -0
- package/dist/components/VAccordion/VAccordionItem.d.ts +64 -0
- package/dist/components/VAccordion/VAccordionItem.js +9 -0
- package/dist/components/VAccordion/VAccordionItem.js.map +1 -0
- package/dist/components/VAccordion/VAccordionItem.vue_vue_type_script_setup_true_lang.js +70 -0
- package/dist/components/VAccordion/VAccordionItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VAccordion/context.d.ts +18 -0
- package/dist/components/VAccordion/context.js +6 -0
- package/dist/components/VAccordion/context.js.map +1 -0
- package/dist/components/VAvatar/VAvatar.css +2 -0
- package/dist/components/VAvatar/VAvatar.d.ts +68 -0
- package/dist/components/VAvatar/VAvatar.js +9 -0
- package/dist/components/VAvatar/VAvatar.js.map +1 -0
- package/dist/components/VAvatar/VAvatar.vue_vue_type_script_setup_true_lang.js +87 -0
- package/dist/components/VAvatar/VAvatar.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VAvatar/VAvatarGroup.css +2 -0
- package/dist/components/VAvatar/VAvatarGroup.d.ts +59 -0
- package/dist/components/VAvatar/VAvatarGroup.js +9 -0
- package/dist/components/VAvatar/VAvatarGroup.js.map +1 -0
- package/dist/components/VAvatar/VAvatarGroup.vue_vue_type_script_setup_true_lang.js +43 -0
- package/dist/components/VAvatar/VAvatarGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VAvatar/context.d.ts +17 -0
- package/dist/components/VAvatar/context.js +6 -0
- package/dist/components/VAvatar/context.js.map +1 -0
- package/dist/components/VBadge/VBadge.css +2 -0
- package/dist/components/VBadge/VBadge.d.ts +74 -0
- package/dist/components/VBadge/VBadge.js +9 -0
- package/dist/components/VBadge/VBadge.js.map +1 -0
- package/dist/components/VBadge/VBadge.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/components/VBadge/VBadge.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VBreadcrumb/VBreadcrumb.css +2 -0
- package/dist/components/VBreadcrumb/VBreadcrumb.d.ts +68 -0
- package/dist/components/VBreadcrumb/VBreadcrumb.js +9 -0
- package/dist/components/VBreadcrumb/VBreadcrumb.js.map +1 -0
- package/dist/components/VBreadcrumb/VBreadcrumb.vue_vue_type_script_setup_true_lang.js +70 -0
- package/dist/components/VBreadcrumb/VBreadcrumb.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VButton/VButton.css +2 -0
- package/dist/components/VButton/VButton.d.ts +88 -0
- package/dist/components/VButton/VButton.js +9 -0
- package/dist/components/VButton/VButton.js.map +1 -0
- package/dist/components/VButton/VButton.vue_vue_type_script_setup_true_lang.js +86 -0
- package/dist/components/VButton/VButton.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VButton/VButtonGroup.css +2 -0
- package/dist/components/VButton/VButtonGroup.d.ts +32 -0
- package/dist/components/VButton/VButtonGroup.js +9 -0
- package/dist/components/VButton/VButtonGroup.js.map +1 -0
- package/dist/components/VButton/VButtonGroup.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/components/VButton/VButtonGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCalendar/VCalendar.css +2 -0
- package/dist/components/VCalendar/VCalendar.d.ts +129 -0
- package/dist/components/VCalendar/VCalendar.js +9 -0
- package/dist/components/VCalendar/VCalendar.js.map +1 -0
- package/dist/components/VCalendar/VCalendar.vue_vue_type_script_setup_true_lang.js +374 -0
- package/dist/components/VCalendar/VCalendar.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCalendar/VCalendarEvent.css +2 -0
- package/dist/components/VCalendar/VCalendarEvent.d.ts +71 -0
- package/dist/components/VCalendar/VCalendarEvent.js +9 -0
- package/dist/components/VCalendar/VCalendarEvent.js.map +1 -0
- package/dist/components/VCalendar/VCalendarEvent.vue_vue_type_script_setup_true_lang.js +106 -0
- package/dist/components/VCalendar/VCalendarEvent.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCalendar/VCalendarMonth.css +2 -0
- package/dist/components/VCalendar/VCalendarMonth.d.ts +60 -0
- package/dist/components/VCalendar/VCalendarMonth.js +9 -0
- package/dist/components/VCalendar/VCalendarMonth.js.map +1 -0
- package/dist/components/VCalendar/VCalendarMonth.vue_vue_type_script_setup_true_lang.js +342 -0
- package/dist/components/VCalendar/VCalendarMonth.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCalendar/VCalendarTimeGrid.css +2 -0
- package/dist/components/VCalendar/VCalendarTimeGrid.d.ts +85 -0
- package/dist/components/VCalendar/VCalendarTimeGrid.js +9 -0
- package/dist/components/VCalendar/VCalendarTimeGrid.js.map +1 -0
- package/dist/components/VCalendar/VCalendarTimeGrid.vue_vue_type_script_setup_true_lang.js +621 -0
- package/dist/components/VCalendar/VCalendarTimeGrid.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCalendar/VCalendarYear.css +2 -0
- package/dist/components/VCalendar/VCalendarYear.d.ts +31 -0
- package/dist/components/VCalendar/VCalendarYear.js +9 -0
- package/dist/components/VCalendar/VCalendarYear.js.map +1 -0
- package/dist/components/VCalendar/VCalendarYear.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/VCalendar/VCalendarYear.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCalendar/color.d.ts +9 -0
- package/dist/components/VCalendar/color.js +9 -0
- package/dist/components/VCalendar/color.js.map +1 -0
- package/dist/components/VCalendar/edgeStep.d.ts +38 -0
- package/dist/components/VCalendar/edgeStep.js +28 -0
- package/dist/components/VCalendar/edgeStep.js.map +1 -0
- package/dist/components/VCalendar/keyboard.d.ts +78 -0
- package/dist/components/VCalendar/keyboard.js +86 -0
- package/dist/components/VCalendar/keyboard.js.map +1 -0
- package/dist/components/VCalendar/layout.d.ts +355 -0
- package/dist/components/VCalendar/layout.js +292 -0
- package/dist/components/VCalendar/layout.js.map +1 -0
- package/dist/components/VCalendar/types.d.ts +78 -0
- package/dist/components/VCarousel/VCarousel.css +2 -0
- package/dist/components/VCarousel/VCarousel.d.ts +241 -0
- package/dist/components/VCarousel/VCarousel.js +9 -0
- package/dist/components/VCarousel/VCarousel.js.map +1 -0
- package/dist/components/VCarousel/VCarousel.vue_vue_type_script_setup_true_lang.js +262 -0
- package/dist/components/VCarousel/VCarousel.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCarousel/VCarouselItem.d.ts +41 -0
- package/dist/components/VCarousel/VCarouselItem.js +7 -0
- package/dist/components/VCarousel/VCarouselItem.js.map +1 -0
- package/dist/components/VCarousel/VCarouselItem.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/components/VCarousel/VCarouselItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCarousel/context.d.ts +23 -0
- package/dist/components/VCarousel/context.js +6 -0
- package/dist/components/VCarousel/context.js.map +1 -0
- package/dist/components/VCheckbox/VCheckbox.css +2 -0
- package/dist/components/VCheckbox/VCheckbox.d.ts +63 -0
- package/dist/components/VCheckbox/VCheckbox.js +9 -0
- package/dist/components/VCheckbox/VCheckbox.js.map +1 -0
- package/dist/components/VCheckbox/VCheckbox.vue_vue_type_script_setup_true_lang.js +83 -0
- package/dist/components/VCheckbox/VCheckbox.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VChip/VChip.css +2 -0
- package/dist/components/VChip/VChip.d.ts +120 -0
- package/dist/components/VChip/VChip.js +9 -0
- package/dist/components/VChip/VChip.js.map +1 -0
- package/dist/components/VChip/VChip.vue_vue_type_script_setup_true_lang.js +118 -0
- package/dist/components/VChip/VChip.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCombobox/VCombobox.css +2 -0
- package/dist/components/VCombobox/VCombobox.d.ts +183 -0
- package/dist/components/VCombobox/VCombobox.js +9 -0
- package/dist/components/VCombobox/VCombobox.js.map +1 -0
- package/dist/components/VCombobox/VCombobox.vue_vue_type_script_setup_true_lang.js +428 -0
- package/dist/components/VCombobox/VCombobox.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCombobox/VComboboxGroup.css +2 -0
- package/dist/components/VCombobox/VComboboxGroup.d.ts +26 -0
- package/dist/components/VCombobox/VComboboxGroup.js +9 -0
- package/dist/components/VCombobox/VComboboxGroup.js.map +1 -0
- package/dist/components/VCombobox/VComboboxGroup.vue_vue_type_script_setup_true_lang.js +21 -0
- package/dist/components/VCombobox/VComboboxGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCombobox/VComboboxOption.css +2 -0
- package/dist/components/VCombobox/VComboboxOption.d.ts +48 -0
- package/dist/components/VCombobox/VComboboxOption.js +9 -0
- package/dist/components/VCombobox/VComboboxOption.js.map +1 -0
- package/dist/components/VCombobox/VComboboxOption.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/VCombobox/VComboboxOption.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCombobox/VComboboxSeparator.css +2 -0
- package/dist/components/VCombobox/VComboboxSeparator.d.ts +3 -0
- package/dist/components/VCombobox/VComboboxSeparator.js +9 -0
- package/dist/components/VCombobox/VComboboxSeparator.js.map +1 -0
- package/dist/components/VCombobox/VComboboxSeparator.vue_vue_type_script_setup_true_lang.js +16 -0
- package/dist/components/VCombobox/VComboboxSeparator.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VCombobox/infiniteScroll.d.ts +22 -0
- package/dist/components/VCombobox/infiniteScroll.js +28 -0
- package/dist/components/VCombobox/infiniteScroll.js.map +1 -0
- package/dist/components/VDataTable/VDataTable.css +2 -0
- package/dist/components/VDataTable/VDataTable.d.ts +214 -0
- package/dist/components/VDataTable/VDataTable.js +9 -0
- package/dist/components/VDataTable/VDataTable.js.map +1 -0
- package/dist/components/VDataTable/VDataTable.vue_vue_type_script_setup_true_lang.js +396 -0
- package/dist/components/VDataTable/VDataTable.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VDateInput/VDateInput.css +2 -0
- package/dist/components/VDateInput/VDateInput.d.ts +152 -0
- package/dist/components/VDateInput/VDateInput.js +9 -0
- package/dist/components/VDateInput/VDateInput.js.map +1 -0
- package/dist/components/VDateInput/VDateInput.vue_vue_type_script_setup_true_lang.js +324 -0
- package/dist/components/VDateInput/VDateInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VDatePicker/VDatePicker.css +2 -0
- package/dist/components/VDatePicker/VDatePicker.d.ts +143 -0
- package/dist/components/VDatePicker/VDatePicker.js +9 -0
- package/dist/components/VDatePicker/VDatePicker.js.map +1 -0
- package/dist/components/VDatePicker/VDatePicker.vue_vue_type_script_setup_true_lang.js +454 -0
- package/dist/components/VDatePicker/VDatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VDatePicker/keyboard.d.ts +56 -0
- package/dist/components/VDatePicker/keyboard.js +26 -0
- package/dist/components/VDatePicker/keyboard.js.map +1 -0
- package/dist/components/VDialog/VDialog.css +2 -0
- package/dist/components/VDialog/VDialog.d.ts +96 -0
- package/dist/components/VDialog/VDialog.js +9 -0
- package/dist/components/VDialog/VDialog.js.map +1 -0
- package/dist/components/VDialog/VDialog.vue_vue_type_script_setup_true_lang.js +134 -0
- package/dist/components/VDialog/VDialog.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VDialog/VDialogAlert.d.ts +67 -0
- package/dist/components/VDialog/VDialogAlert.js +7 -0
- package/dist/components/VDialog/VDialogAlert.js.map +1 -0
- package/dist/components/VDialog/VDialogAlert.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/VDialog/VDialogAlert.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VFileInput/VFileInput.css +2 -0
- package/dist/components/VFileInput/VFileInput.d.ts +156 -0
- package/dist/components/VFileInput/VFileInput.js +9 -0
- package/dist/components/VFileInput/VFileInput.js.map +1 -0
- package/dist/components/VFileInput/VFileInput.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/components/VFileInput/VFileInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VFileInput/truncate.d.ts +29 -0
- package/dist/components/VFileInput/truncate.js +10 -0
- package/dist/components/VFileInput/truncate.js.map +1 -0
- package/dist/components/VFilePicker/VFilePicker.css +2 -0
- package/dist/components/VFilePicker/VFilePicker.d.ts +203 -0
- package/dist/components/VFilePicker/VFilePicker.js +9 -0
- package/dist/components/VFilePicker/VFilePicker.js.map +1 -0
- package/dist/components/VFilePicker/VFilePicker.vue_vue_type_script_setup_true_lang.js +266 -0
- package/dist/components/VFilePicker/VFilePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VFilePicker/fileKind.d.ts +29 -0
- package/dist/components/VFilePicker/fileKind.js +91 -0
- package/dist/components/VFilePicker/fileKind.js.map +1 -0
- package/dist/components/VHotkeys/VHotkeys.css +2 -0
- package/dist/components/VHotkeys/VHotkeys.d.ts +100 -0
- package/dist/components/VHotkeys/VHotkeys.js +9 -0
- package/dist/components/VHotkeys/VHotkeys.js.map +1 -0
- package/dist/components/VHotkeys/VHotkeys.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/VHotkeys/VHotkeys.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VHotkeys/platform.d.ts +82 -0
- package/dist/components/VHotkeys/platform.js +115 -0
- package/dist/components/VHotkeys/platform.js.map +1 -0
- package/dist/components/VIcon/VIcon.css +2 -0
- package/dist/components/VIcon/VIcon.d.ts +57 -0
- package/dist/components/VIcon/VIcon.js +9 -0
- package/dist/components/VIcon/VIcon.js.map +1 -0
- package/dist/components/VIcon/VIcon.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/components/VIcon/VIcon.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VIcon/iconProps.d.ts +30 -0
- package/dist/components/VIcon/iconProps.js +6 -0
- package/dist/components/VIcon/iconProps.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_downward.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_downward.js +9 -0
- package/dist/components/VIcon/icons/arrow_downward.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_downward_alt.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_downward_alt.js +9 -0
- package/dist/components/VIcon/icons/arrow_downward_alt.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_drop_down.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_drop_down.js +9 -0
- package/dist/components/VIcon/icons/arrow_drop_down.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_drop_up.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_drop_up.js +9 -0
- package/dist/components/VIcon/icons/arrow_drop_up.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_left_alt.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_left_alt.js +9 -0
- package/dist/components/VIcon/icons/arrow_left_alt.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_right_alt.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_right_alt.js +9 -0
- package/dist/components/VIcon/icons/arrow_right_alt.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_upward.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_upward.js +9 -0
- package/dist/components/VIcon/icons/arrow_upward.js.map +1 -0
- package/dist/components/VIcon/icons/arrow_upward_alt.d.ts +5 -0
- package/dist/components/VIcon/icons/arrow_upward_alt.js +9 -0
- package/dist/components/VIcon/icons/arrow_upward_alt.js.map +1 -0
- package/dist/components/VIcon/icons/attach_file.d.ts +5 -0
- package/dist/components/VIcon/icons/attach_file.js +9 -0
- package/dist/components/VIcon/icons/attach_file.js.map +1 -0
- package/dist/components/VIcon/icons/audio_file.d.ts +5 -0
- package/dist/components/VIcon/icons/audio_file.js +9 -0
- package/dist/components/VIcon/icons/audio_file.js.map +1 -0
- package/dist/components/VIcon/icons/calendar_today.d.ts +5 -0
- package/dist/components/VIcon/icons/calendar_today.js +9 -0
- package/dist/components/VIcon/icons/calendar_today.js.map +1 -0
- package/dist/components/VIcon/icons/check.d.ts +5 -0
- package/dist/components/VIcon/icons/check.js +9 -0
- package/dist/components/VIcon/icons/check.js.map +1 -0
- package/dist/components/VIcon/icons/check_circle.d.ts +5 -0
- package/dist/components/VIcon/icons/check_circle.js +9 -0
- package/dist/components/VIcon/icons/check_circle.js.map +1 -0
- package/dist/components/VIcon/icons/chevron_left.d.ts +5 -0
- package/dist/components/VIcon/icons/chevron_left.js +9 -0
- package/dist/components/VIcon/icons/chevron_left.js.map +1 -0
- package/dist/components/VIcon/icons/chevron_right.d.ts +5 -0
- package/dist/components/VIcon/icons/chevron_right.js +9 -0
- package/dist/components/VIcon/icons/chevron_right.js.map +1 -0
- package/dist/components/VIcon/icons/close.d.ts +5 -0
- package/dist/components/VIcon/icons/close.js +9 -0
- package/dist/components/VIcon/icons/close.js.map +1 -0
- package/dist/components/VIcon/icons/cloud_upload.d.ts +5 -0
- package/dist/components/VIcon/icons/cloud_upload.js +9 -0
- package/dist/components/VIcon/icons/cloud_upload.js.map +1 -0
- package/dist/components/VIcon/icons/code.d.ts +5 -0
- package/dist/components/VIcon/icons/code.js +9 -0
- package/dist/components/VIcon/icons/code.js.map +1 -0
- package/dist/components/VIcon/icons/description.d.ts +5 -0
- package/dist/components/VIcon/icons/description.js +9 -0
- package/dist/components/VIcon/icons/description.js.map +1 -0
- package/dist/components/VIcon/icons/error.d.ts +5 -0
- package/dist/components/VIcon/icons/error.js +9 -0
- package/dist/components/VIcon/icons/error.js.map +1 -0
- package/dist/components/VIcon/icons/expand_less.d.ts +5 -0
- package/dist/components/VIcon/icons/expand_less.js +9 -0
- package/dist/components/VIcon/icons/expand_less.js.map +1 -0
- package/dist/components/VIcon/icons/expand_more.d.ts +5 -0
- package/dist/components/VIcon/icons/expand_more.js +9 -0
- package/dist/components/VIcon/icons/expand_more.js.map +1 -0
- package/dist/components/VIcon/icons/folder_zip.d.ts +5 -0
- package/dist/components/VIcon/icons/folder_zip.js +9 -0
- package/dist/components/VIcon/icons/folder_zip.js.map +1 -0
- package/dist/components/VIcon/icons/image.d.ts +5 -0
- package/dist/components/VIcon/icons/image.js +9 -0
- package/dist/components/VIcon/icons/image.js.map +1 -0
- package/dist/components/VIcon/icons/index.d.ts +183 -0
- package/dist/components/VIcon/icons/index.js +77 -0
- package/dist/components/VIcon/icons/index.js.map +1 -0
- package/dist/components/VIcon/icons/info.d.ts +5 -0
- package/dist/components/VIcon/icons/info.js +9 -0
- package/dist/components/VIcon/icons/info.js.map +1 -0
- package/dist/components/VIcon/icons/more_horiz.d.ts +5 -0
- package/dist/components/VIcon/icons/more_horiz.js +9 -0
- package/dist/components/VIcon/icons/more_horiz.js.map +1 -0
- package/dist/components/VIcon/icons/names.d.ts +11 -0
- package/dist/components/VIcon/icons/names.js +5 -0
- package/dist/components/VIcon/icons/names.js.map +1 -0
- package/dist/components/VIcon/icons/notifications.d.ts +5 -0
- package/dist/components/VIcon/icons/notifications.js +9 -0
- package/dist/components/VIcon/icons/notifications.js.map +1 -0
- package/dist/components/VIcon/icons/picture_as_pdf.d.ts +5 -0
- package/dist/components/VIcon/icons/picture_as_pdf.js +9 -0
- package/dist/components/VIcon/icons/picture_as_pdf.js.map +1 -0
- package/dist/components/VIcon/icons/schedule.d.ts +5 -0
- package/dist/components/VIcon/icons/schedule.js +9 -0
- package/dist/components/VIcon/icons/schedule.js.map +1 -0
- package/dist/components/VIcon/icons/search.d.ts +5 -0
- package/dist/components/VIcon/icons/search.js +9 -0
- package/dist/components/VIcon/icons/search.js.map +1 -0
- package/dist/components/VIcon/icons/swap_vert.d.ts +5 -0
- package/dist/components/VIcon/icons/swap_vert.js +9 -0
- package/dist/components/VIcon/icons/swap_vert.js.map +1 -0
- package/dist/components/VIcon/icons/table_chart.d.ts +5 -0
- package/dist/components/VIcon/icons/table_chart.js +9 -0
- package/dist/components/VIcon/icons/table_chart.js.map +1 -0
- package/dist/components/VIcon/icons/video_file.d.ts +5 -0
- package/dist/components/VIcon/icons/video_file.js +9 -0
- package/dist/components/VIcon/icons/video_file.js.map +1 -0
- package/dist/components/VIcon/icons/viewBox.d.ts +6 -0
- package/dist/components/VIcon/icons/viewBox.js +6 -0
- package/dist/components/VIcon/icons/viewBox.js.map +1 -0
- package/dist/components/VIcon/icons/warning.d.ts +5 -0
- package/dist/components/VIcon/icons/warning.js +9 -0
- package/dist/components/VIcon/icons/warning.js.map +1 -0
- package/dist/components/VIcon/resolver.d.ts +76 -0
- package/dist/components/VIcon/resolver.js +35 -0
- package/dist/components/VIcon/resolver.js.map +1 -0
- package/dist/components/VIcon/types.d.ts +77 -0
- package/dist/components/VIconButton/VIconButton.css +2 -0
- package/dist/components/VIconButton/VIconButton.d.ts +66 -0
- package/dist/components/VIconButton/VIconButton.js +9 -0
- package/dist/components/VIconButton/VIconButton.js.map +1 -0
- package/dist/components/VIconButton/VIconButton.vue_vue_type_script_setup_true_lang.js +70 -0
- package/dist/components/VIconButton/VIconButton.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VInput/VInput.css +2 -0
- package/dist/components/VInput/VInput.d.ts +152 -0
- package/dist/components/VInput/VInput.js +9 -0
- package/dist/components/VInput/VInput.js.map +1 -0
- package/dist/components/VInput/VInput.vue_vue_type_script_setup_true_lang.js +185 -0
- package/dist/components/VInput/VInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VInputOTP/VInputOTP.css +2 -0
- package/dist/components/VInputOTP/VInputOTP.d.ts +76 -0
- package/dist/components/VInputOTP/VInputOTP.js +9 -0
- package/dist/components/VInputOTP/VInputOTP.js.map +1 -0
- package/dist/components/VInputOTP/VInputOTP.vue_vue_type_script_setup_true_lang.js +149 -0
- package/dist/components/VInputOTP/VInputOTP.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VMenu/VMenu.d.ts +91 -0
- package/dist/components/VMenu/VMenu.js +7 -0
- package/dist/components/VMenu/VMenu.js.map +1 -0
- package/dist/components/VMenu/VMenu.vue_vue_type_script_setup_true_lang.js +73 -0
- package/dist/components/VMenu/VMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VMenu/VMenuGroup.css +2 -0
- package/dist/components/VMenu/VMenuGroup.d.ts +22 -0
- package/dist/components/VMenu/VMenuGroup.js +9 -0
- package/dist/components/VMenu/VMenuGroup.js.map +1 -0
- package/dist/components/VMenu/VMenuGroup.vue_vue_type_script_setup_true_lang.js +21 -0
- package/dist/components/VMenu/VMenuGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VMenu/VMenuItem.css +2 -0
- package/dist/components/VMenu/VMenuItem.d.ts +85 -0
- package/dist/components/VMenu/VMenuItem.js +9 -0
- package/dist/components/VMenu/VMenuItem.js.map +1 -0
- package/dist/components/VMenu/VMenuItem.vue_vue_type_script_setup_true_lang.js +121 -0
- package/dist/components/VMenu/VMenuItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VMenu/VMenuPanel.css +2 -0
- package/dist/components/VMenu/VMenuPanel.d.ts +91 -0
- package/dist/components/VMenu/VMenuPanel.js +9 -0
- package/dist/components/VMenu/VMenuPanel.js.map +1 -0
- package/dist/components/VMenu/VMenuPanel.vue_vue_type_script_setup_true_lang.js +103 -0
- package/dist/components/VMenu/VMenuPanel.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VMenu/VMenuSeparator.css +2 -0
- package/dist/components/VMenu/VMenuSeparator.d.ts +3 -0
- package/dist/components/VMenu/VMenuSeparator.js +9 -0
- package/dist/components/VMenu/VMenuSeparator.js.map +1 -0
- package/dist/components/VMenu/VMenuSeparator.vue_vue_type_script_setup_true_lang.js +13 -0
- package/dist/components/VMenu/VMenuSeparator.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VMenu/context.d.ts +33 -0
- package/dist/components/VMenu/context.js +9 -0
- package/dist/components/VMenu/context.js.map +1 -0
- package/dist/components/VPagination/VPagination.css +2 -0
- package/dist/components/VPagination/VPagination.d.ts +103 -0
- package/dist/components/VPagination/VPagination.js +9 -0
- package/dist/components/VPagination/VPagination.js.map +1 -0
- package/dist/components/VPagination/VPagination.vue_vue_type_script_setup_true_lang.js +270 -0
- package/dist/components/VPagination/VPagination.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VPopover/VPopover.css +2 -0
- package/dist/components/VPopover/VPopover.d.ts +82 -0
- package/dist/components/VPopover/VPopover.js +9 -0
- package/dist/components/VPopover/VPopover.js.map +1 -0
- package/dist/components/VPopover/VPopover.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/VPopover/VPopover.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VProgressCircular/VProgressCircular.css +2 -0
- package/dist/components/VProgressCircular/VProgressCircular.d.ts +60 -0
- package/dist/components/VProgressCircular/VProgressCircular.js +9 -0
- package/dist/components/VProgressCircular/VProgressCircular.js.map +1 -0
- package/dist/components/VProgressCircular/VProgressCircular.vue_vue_type_script_setup_true_lang.js +74 -0
- package/dist/components/VProgressCircular/VProgressCircular.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VProgressLinear/VProgressLinear.css +2 -0
- package/dist/components/VProgressLinear/VProgressLinear.d.ts +74 -0
- package/dist/components/VProgressLinear/VProgressLinear.js +9 -0
- package/dist/components/VProgressLinear/VProgressLinear.js.map +1 -0
- package/dist/components/VProgressLinear/VProgressLinear.vue_vue_type_script_setup_true_lang.js +74 -0
- package/dist/components/VProgressLinear/VProgressLinear.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VRadio/VRadio.css +2 -0
- package/dist/components/VRadio/VRadio.d.ts +58 -0
- package/dist/components/VRadio/VRadio.js +9 -0
- package/dist/components/VRadio/VRadio.js.map +1 -0
- package/dist/components/VRadio/VRadio.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/VRadio/VRadio.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSeparator/VSeparator.css +2 -0
- package/dist/components/VSeparator/VSeparator.d.ts +23 -0
- package/dist/components/VSeparator/VSeparator.js +9 -0
- package/dist/components/VSeparator/VSeparator.js.map +1 -0
- package/dist/components/VSeparator/VSeparator.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/components/VSeparator/VSeparator.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigation.css +2 -0
- package/dist/components/VSideNavigation/VSideNavigation.d.ts +64 -0
- package/dist/components/VSideNavigation/VSideNavigation.js +9 -0
- package/dist/components/VSideNavigation/VSideNavigation.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigation.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/VSideNavigation/VSideNavigation.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigationGroup.css +2 -0
- package/dist/components/VSideNavigation/VSideNavigationGroup.d.ts +33 -0
- package/dist/components/VSideNavigation/VSideNavigationGroup.js +9 -0
- package/dist/components/VSideNavigation/VSideNavigationGroup.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigationGroup.vue_vue_type_script_setup_true_lang.js +20 -0
- package/dist/components/VSideNavigation/VSideNavigationGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigationItem.css +2 -0
- package/dist/components/VSideNavigation/VSideNavigationItem.d.ts +103 -0
- package/dist/components/VSideNavigation/VSideNavigationItem.js +9 -0
- package/dist/components/VSideNavigation/VSideNavigationItem.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigationItem.vue_vue_type_script_setup_true_lang.js +154 -0
- package/dist/components/VSideNavigation/VSideNavigationItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSideNavigation/VSideNavigationSeparator.css +2 -0
- package/dist/components/VSideNavigation/VSideNavigationSeparator.d.ts +3 -0
- package/dist/components/VSideNavigation/VSideNavigationSeparator.js +17 -0
- package/dist/components/VSideNavigation/VSideNavigationSeparator.js.map +1 -0
- package/dist/components/VSideNavigation/context.d.ts +37 -0
- package/dist/components/VSideNavigation/context.js +6 -0
- package/dist/components/VSideNavigation/context.js.map +1 -0
- package/dist/components/VSkeletonLoader/VSkeletonLoader.css +2 -0
- package/dist/components/VSkeletonLoader/VSkeletonLoader.d.ts +75 -0
- package/dist/components/VSkeletonLoader/VSkeletonLoader.js +9 -0
- package/dist/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -0
- package/dist/components/VSkeletonLoader/VSkeletonLoader.vue_vue_type_script_setup_true_lang.js +61 -0
- package/dist/components/VSkeletonLoader/VSkeletonLoader.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSlider/VSlider.css +2 -0
- package/dist/components/VSlider/VSlider.d.ts +82 -0
- package/dist/components/VSlider/VSlider.js +9 -0
- package/dist/components/VSlider/VSlider.js.map +1 -0
- package/dist/components/VSlider/VSlider.vue_vue_type_script_setup_true_lang.js +220 -0
- package/dist/components/VSlider/VSlider.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSnackbar/VSnackbar.css +2 -0
- package/dist/components/VSnackbar/VSnackbar.d.ts +51 -0
- package/dist/components/VSnackbar/VSnackbar.js +9 -0
- package/dist/components/VSnackbar/VSnackbar.js.map +1 -0
- package/dist/components/VSnackbar/VSnackbar.vue_vue_type_script_setup_true_lang.js +83 -0
- package/dist/components/VSnackbar/VSnackbar.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSnackbar/state.d.ts +92 -0
- package/dist/components/VSnackbar/state.js +18 -0
- package/dist/components/VSnackbar/state.js.map +1 -0
- package/dist/components/VSpinner/VSpinner.css +2 -0
- package/dist/components/VSpinner/VSpinner.d.ts +21 -0
- package/dist/components/VSpinner/VSpinner.js +9 -0
- package/dist/components/VSpinner/VSpinner.js.map +1 -0
- package/dist/components/VSpinner/VSpinner.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/components/VSpinner/VSpinner.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VSwitch/VSwitch.css +2 -0
- package/dist/components/VSwitch/VSwitch.d.ts +46 -0
- package/dist/components/VSwitch/VSwitch.js +9 -0
- package/dist/components/VSwitch/VSwitch.js.map +1 -0
- package/dist/components/VSwitch/VSwitch.vue_vue_type_script_setup_true_lang.js +51 -0
- package/dist/components/VSwitch/VSwitch.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTabs/VTab.css +2 -0
- package/dist/components/VTabs/VTab.d.ts +42 -0
- package/dist/components/VTabs/VTab.js +9 -0
- package/dist/components/VTabs/VTab.js.map +1 -0
- package/dist/components/VTabs/VTab.vue_vue_type_script_setup_true_lang.js +66 -0
- package/dist/components/VTabs/VTab.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTabs/VTabPanel.css +2 -0
- package/dist/components/VTabs/VTabPanel.d.ts +34 -0
- package/dist/components/VTabs/VTabPanel.js +9 -0
- package/dist/components/VTabs/VTabPanel.js.map +1 -0
- package/dist/components/VTabs/VTabPanel.vue_vue_type_script_setup_true_lang.js +34 -0
- package/dist/components/VTabs/VTabPanel.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTabs/VTabs.css +2 -0
- package/dist/components/VTabs/VTabs.d.ts +107 -0
- package/dist/components/VTabs/VTabs.js +9 -0
- package/dist/components/VTabs/VTabs.js.map +1 -0
- package/dist/components/VTabs/VTabs.vue_vue_type_script_setup_true_lang.js +199 -0
- package/dist/components/VTabs/VTabs.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTabs/context.d.ts +43 -0
- package/dist/components/VTabs/context.js +6 -0
- package/dist/components/VTabs/context.js.map +1 -0
- package/dist/components/VTextarea/VTextarea.css +2 -0
- package/dist/components/VTextarea/VTextarea.d.ts +140 -0
- package/dist/components/VTextarea/VTextarea.js +9 -0
- package/dist/components/VTextarea/VTextarea.js.map +1 -0
- package/dist/components/VTextarea/VTextarea.vue_vue_type_script_setup_true_lang.js +187 -0
- package/dist/components/VTextarea/VTextarea.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTimeInput/VTimeInput.css +2 -0
- package/dist/components/VTimeInput/VTimeInput.d.ts +112 -0
- package/dist/components/VTimeInput/VTimeInput.js +9 -0
- package/dist/components/VTimeInput/VTimeInput.js.map +1 -0
- package/dist/components/VTimeInput/VTimeInput.vue_vue_type_script_setup_true_lang.js +385 -0
- package/dist/components/VTimeInput/VTimeInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTimePicker/VTimePicker.css +2 -0
- package/dist/components/VTimePicker/VTimePicker.d.ts +89 -0
- package/dist/components/VTimePicker/VTimePicker.js +9 -0
- package/dist/components/VTimePicker/VTimePicker.js.map +1 -0
- package/dist/components/VTimePicker/VTimePicker.vue_vue_type_script_setup_true_lang.js +257 -0
- package/dist/components/VTimePicker/VTimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VToast/VToast.css +2 -0
- package/dist/components/VToast/VToast.d.ts +24 -0
- package/dist/components/VToast/VToast.js +9 -0
- package/dist/components/VToast/VToast.js.map +1 -0
- package/dist/components/VToast/VToast.vue_vue_type_script_setup_true_lang.js +62 -0
- package/dist/components/VToast/VToast.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VToast/VToaster.css +2 -0
- package/dist/components/VToast/VToaster.d.ts +42 -0
- package/dist/components/VToast/VToaster.js +9 -0
- package/dist/components/VToast/VToaster.js.map +1 -0
- package/dist/components/VToast/VToaster.vue_vue_type_script_setup_true_lang.js +112 -0
- package/dist/components/VToast/VToaster.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VToast/state.d.ts +74 -0
- package/dist/components/VToast/state.js +25 -0
- package/dist/components/VToast/state.js.map +1 -0
- package/dist/components/VToggle/VToggle.css +2 -0
- package/dist/components/VToggle/VToggle.d.ts +84 -0
- package/dist/components/VToggle/VToggle.js +9 -0
- package/dist/components/VToggle/VToggle.js.map +1 -0
- package/dist/components/VToggle/VToggle.vue_vue_type_script_setup_true_lang.js +103 -0
- package/dist/components/VToggle/VToggle.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VToggle/VToggleItem.css +2 -0
- package/dist/components/VToggle/VToggleItem.d.ts +35 -0
- package/dist/components/VToggle/VToggleItem.js +9 -0
- package/dist/components/VToggle/VToggleItem.js.map +1 -0
- package/dist/components/VToggle/VToggleItem.vue_vue_type_script_setup_true_lang.js +51 -0
- package/dist/components/VToggle/VToggleItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VToggle/context.d.ts +37 -0
- package/dist/components/VToggle/context.js +6 -0
- package/dist/components/VToggle/context.js.map +1 -0
- package/dist/components/VTooltip/VTooltip.css +2 -0
- package/dist/components/VTooltip/VTooltip.d.ts +76 -0
- package/dist/components/VTooltip/VTooltip.js +9 -0
- package/dist/components/VTooltip/VTooltip.js.map +1 -0
- package/dist/components/VTooltip/VTooltip.vue_vue_type_script_setup_true_lang.js +50 -0
- package/dist/components/VTooltip/VTooltip.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VTypography/VTypography.css +2 -0
- package/dist/components/VTypography/VTypography.d.ts +46 -0
- package/dist/components/VTypography/VTypography.js +9 -0
- package/dist/components/VTypography/VTypography.js.map +1 -0
- package/dist/components/VTypography/VTypography.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/components/VTypography/VTypography.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/composables/useAriaLabel.d.ts +19 -0
- package/dist/composables/useAriaLabel.js +10 -0
- package/dist/composables/useAriaLabel.js.map +1 -0
- package/dist/composables/useFieldIds.d.ts +21 -0
- package/dist/composables/useFieldIds.js +14 -0
- package/dist/composables/useFieldIds.js.map +1 -0
- package/dist/composables/useFieldPanel.d.ts +61 -0
- package/dist/composables/useFieldPanel.js +39 -0
- package/dist/composables/useFieldPanel.js.map +1 -0
- package/dist/composables/useFileDrop.d.ts +30 -0
- package/dist/composables/useFileDrop.js +28 -0
- package/dist/composables/useFileDrop.js.map +1 -0
- package/dist/composables/useFileField.d.ts +36 -0
- package/dist/composables/useFileField.js +45 -0
- package/dist/composables/useFileField.js.map +1 -0
- package/dist/composables/useFocusoutDismiss.d.ts +17 -0
- package/dist/composables/useFocusoutDismiss.js +11 -0
- package/dist/composables/useFocusoutDismiss.js.map +1 -0
- package/dist/composables/useIconClickHandlers.d.ts +27 -0
- package/dist/composables/useIconClickHandlers.js +13 -0
- package/dist/composables/useIconClickHandlers.js.map +1 -0
- package/dist/composables/useMaskedField.d.ts +65 -0
- package/dist/composables/useMaskedField.js +54 -0
- package/dist/composables/useMaskedField.js.map +1 -0
- package/dist/composables/usePopover.d.ts +7 -0
- package/dist/composables/usePopover.js +24 -0
- package/dist/composables/usePopover.js.map +1 -0
- package/dist/composables/useProgressValue.d.ts +13 -0
- package/dist/composables/useProgressValue.js +14 -0
- package/dist/composables/useProgressValue.js.map +1 -0
- package/dist/composables/useRootAttrs.d.ts +34 -0
- package/dist/composables/useRootAttrs.js +15 -0
- package/dist/composables/useRootAttrs.js.map +1 -0
- package/dist/composables/useTextLimit.d.ts +31 -0
- package/dist/composables/useTextLimit.js +19 -0
- package/dist/composables/useTextLimit.js.map +1 -0
- package/dist/composables/useTimer.d.ts +18 -0
- package/dist/composables/useTimer.js +19 -0
- package/dist/composables/useTimer.js.map +1 -0
- package/dist/i18n/en.d.ts +10 -0
- package/dist/i18n/en.js +179 -0
- package/dist/i18n/en.js.map +1 -0
- package/dist/i18n/fr.d.ts +18 -0
- package/dist/i18n/fr.js +179 -0
- package/dist/i18n/fr.js.map +1 -0
- package/dist/i18n/state.d.ts +64 -0
- package/dist/i18n/state.js +40 -0
- package/dist/i18n/state.js.map +1 -0
- package/dist/i18n/types.d.ts +345 -0
- package/dist/icons.d.ts +16 -0
- package/dist/icons.js +38 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.js +64 -0
- package/dist/styles.css +1 -0
- package/dist/tokens/css.d.ts +25 -0
- package/dist/tokens/css.js +29 -0
- package/dist/tokens/css.js.map +1 -0
- package/dist/tokens/index.d.ts +370 -0
- package/dist/tokens/index.js +15 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/primitives.d.ts +101 -0
- package/dist/tokens/primitives.js +166 -0
- package/dist/tokens/primitives.js.map +1 -0
- package/dist/tokens/semantic.d.ts +236 -0
- package/dist/tokens/semantic.js +219 -0
- package/dist/tokens/semantic.js.map +1 -0
- package/dist/tokens/themes/dark.d.ts +49 -0
- package/dist/tokens/themes/dark.js +53 -0
- package/dist/tokens/themes/dark.js.map +1 -0
- package/dist/tokens/types.d.ts +38 -0
- package/dist/tokens/types.js +16 -0
- package/dist/tokens/types.js.map +1 -0
- package/dist/tokens.json +1516 -0
- package/dist/utils/array.d.ts +10 -0
- package/dist/utils/array.js +8 -0
- package/dist/utils/array.js.map +1 -0
- package/dist/utils/arrowNav.d.ts +27 -0
- package/dist/utils/arrowNav.js +26 -0
- package/dist/utils/arrowNav.js.map +1 -0
- package/dist/utils/chip.d.ts +26 -0
- package/dist/utils/chip.js +13 -0
- package/dist/utils/chip.js.map +1 -0
- package/dist/utils/css.d.ts +19 -0
- package/dist/utils/css.js +13 -0
- package/dist/utils/css.js.map +1 -0
- package/dist/utils/date.d.ts +199 -0
- package/dist/utils/date.js +225 -0
- package/dist/utils/date.js.map +1 -0
- package/dist/utils/direction.d.ts +18 -0
- package/dist/utils/direction.js +8 -0
- package/dist/utils/direction.js.map +1 -0
- package/dist/utils/env.d.ts +10 -0
- package/dist/utils/file.d.ts +95 -0
- package/dist/utils/file.js +70 -0
- package/dist/utils/file.js.map +1 -0
- package/dist/utils/focus.d.ts +24 -0
- package/dist/utils/focus.js +13 -0
- package/dist/utils/focus.js.map +1 -0
- package/dist/utils/matcher.d.ts +13 -0
- package/dist/utils/matcher.js +11 -0
- package/dist/utils/matcher.js.map +1 -0
- package/dist/utils/number.d.ts +9 -0
- package/dist/utils/number.js +8 -0
- package/dist/utils/number.js.map +1 -0
- package/dist/utils/text.d.ts +19 -0
- package/dist/utils/text.js +12 -0
- package/dist/utils/text.js.map +1 -0
- package/dist/utils/time.d.ts +138 -0
- package/dist/utils/time.js +123 -0
- package/dist/utils/time.js.map +1 -0
- package/dist/utils/vnode.d.ts +21 -0
- package/dist/utils/vnode.js +14 -0
- package/dist/utils/vnode.js.map +1 -0
- package/package.json +114 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A delay one can re-arm, and which cancels itself when the component goes away.
|
|
3
|
+
*
|
|
4
|
+
* Three things are true of it, and each is there to prevent a specific bug. The handle is
|
|
5
|
+
* held in a plain variable rather than a reactive one, because nothing renders it and
|
|
6
|
+
* making it reactive would cause renders for nothing. Starting a delay always cancels the
|
|
7
|
+
* one before it, or two would run at once — a tooltip armed twice opens, closes and opens
|
|
8
|
+
* again. And it is cancelled before the component is torn down, or the callback would run
|
|
9
|
+
* against a component that no longer exists.
|
|
10
|
+
*
|
|
11
|
+
* A delay of zero runs the callback SYNCHRONOUSLY, which a zero timeout does not: the
|
|
12
|
+
* design system's convention is that zero means no deferral at all. That is what makes a
|
|
13
|
+
* debounce of zero immediate, and a notification given no duration permanent.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useTimer(): {
|
|
16
|
+
start: (fn: () => void, delay: number) => void;
|
|
17
|
+
cancel: () => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { onBeforeUnmount as e } from "vue";
|
|
2
|
+
//#region src/composables/useTimer.ts
|
|
3
|
+
function t() {
|
|
4
|
+
let t;
|
|
5
|
+
function n() {
|
|
6
|
+
clearTimeout(t), t = void 0;
|
|
7
|
+
}
|
|
8
|
+
function r(e, r) {
|
|
9
|
+
n(), r <= 0 ? e() : t = setTimeout(e, r);
|
|
10
|
+
}
|
|
11
|
+
return e(n), {
|
|
12
|
+
start: r,
|
|
13
|
+
cancel: n
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as useTimer };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=useTimer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTimer.js","names":[],"sources":["../../src/composables/useTimer.ts"],"sourcesContent":["import { onBeforeUnmount } from 'vue'\n\n// @core\n/**\n * A delay one can re-arm, and which cancels itself when the component goes away.\n *\n * Three things are true of it, and each is there to prevent a specific bug. The handle is\n * held in a plain variable rather than a reactive one, because nothing renders it and\n * making it reactive would cause renders for nothing. Starting a delay always cancels the\n * one before it, or two would run at once — a tooltip armed twice opens, closes and opens\n * again. And it is cancelled before the component is torn down, or the callback would run\n * against a component that no longer exists.\n *\n * A delay of zero runs the callback SYNCHRONOUSLY, which a zero timeout does not: the\n * design system's convention is that zero means no deferral at all. That is what makes a\n * debounce of zero immediate, and a notification given no duration permanent.\n */\nexport function useTimer(): { start: (fn: () => void, delay: number) => void; cancel: () => void } {\n let timer: ReturnType<typeof setTimeout> | undefined\n\n function cancel() {\n clearTimeout(timer)\n timer = undefined\n }\n\n function start(fn: () => void, delay: number) {\n cancel()\n if (delay <= 0) fn()\n else timer = setTimeout(fn, delay)\n }\n\n onBeforeUnmount(cancel)\n\n return { start, cancel }\n}\n"],"mappings":";;AAiBA,SAAgB,IAAmF;CACjG,IAAI;CAEJ,SAAS,IAAS;EAEhB,AADA,aAAa,CAAK,GAClB,IAAQ,KAAA;CACV;CAEA,SAAS,EAAM,GAAgB,GAAe;EAE5C,AADA,EAAO,GACH,KAAS,IAAG,EAAG,IACd,IAAQ,WAAW,GAAI,CAAK;CACnC;CAIA,OAFA,EAAgB,CAAM,GAEf;EAAE;EAAO;CAAO;AACzB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VectisMessages } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* English, the dictionary the library always carries. Any language with no dictionary of
|
|
4
|
+
* its own falls back to this one, entry by entry, so nothing is ever left unsaid.
|
|
5
|
+
*
|
|
6
|
+
* Take care changing anything here: these words are checked letter for letter by the
|
|
7
|
+
* tests, and they are the names the browser tests reach for when they look a control up.
|
|
8
|
+
* Changing one means changing what expects it.
|
|
9
|
+
*/
|
|
10
|
+
export declare const en: VectisMessages;
|
package/dist/i18n/en.js
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
//#region src/i18n/en.ts
|
|
2
|
+
var e = {
|
|
3
|
+
common: {
|
|
4
|
+
loading: "Loading…",
|
|
5
|
+
clear: "Clear",
|
|
6
|
+
close: "Close",
|
|
7
|
+
dismiss: "Remove",
|
|
8
|
+
cancel: "Cancel",
|
|
9
|
+
confirm: "OK"
|
|
10
|
+
},
|
|
11
|
+
pagination: {
|
|
12
|
+
label: "Pagination",
|
|
13
|
+
previous: "Previous page",
|
|
14
|
+
next: "Next page",
|
|
15
|
+
page: (e) => `Page ${e}`,
|
|
16
|
+
hiddenPages: "Hidden pages"
|
|
17
|
+
},
|
|
18
|
+
tabs: {
|
|
19
|
+
label: "Tabs",
|
|
20
|
+
previous: "Previous tabs",
|
|
21
|
+
next: "Next tabs"
|
|
22
|
+
},
|
|
23
|
+
breadcrumb: {
|
|
24
|
+
label: "Breadcrumb",
|
|
25
|
+
ellipsis: "Show intermediate pages"
|
|
26
|
+
},
|
|
27
|
+
sideNavigation: { label: "Navigation" },
|
|
28
|
+
combobox: {
|
|
29
|
+
empty: "No results",
|
|
30
|
+
clear: "Clear selection",
|
|
31
|
+
remove: (e) => `Remove ${e}`
|
|
32
|
+
},
|
|
33
|
+
dataTable: {
|
|
34
|
+
empty: "No data",
|
|
35
|
+
loading: "Loading data…",
|
|
36
|
+
searchLabel: "Search the table",
|
|
37
|
+
searchPlaceholder: "Search…",
|
|
38
|
+
perPage: "Rows per page",
|
|
39
|
+
perPageValue: (e, t) => `${e}: ${t}`,
|
|
40
|
+
selectAll: "Select all",
|
|
41
|
+
selectRow: (e) => `Select row ${e}`,
|
|
42
|
+
selection: (e) => `${e} item${e === 1 ? "" : "s"} selected`,
|
|
43
|
+
range: ({ start: e, end: t, total: n }) => `${e}–${t} of ${n}`,
|
|
44
|
+
pagination: "Table pagination"
|
|
45
|
+
},
|
|
46
|
+
toaster: { label: "Notifications" },
|
|
47
|
+
snackbar: {
|
|
48
|
+
label: "Confirmation",
|
|
49
|
+
action: "Undo"
|
|
50
|
+
},
|
|
51
|
+
inputOTP: {
|
|
52
|
+
label: "Verification code",
|
|
53
|
+
slot: (e, t) => `Character ${e} of ${t}`
|
|
54
|
+
},
|
|
55
|
+
slider: {
|
|
56
|
+
value: "Value",
|
|
57
|
+
start: "Start",
|
|
58
|
+
end: "End",
|
|
59
|
+
rangeStart: (e) => `${e} (start)`,
|
|
60
|
+
rangeEnd: (e) => `${e} (end)`
|
|
61
|
+
},
|
|
62
|
+
field: { limitExceeded: (e) => `Exceeds the limit of ${e} characters` },
|
|
63
|
+
progress: {
|
|
64
|
+
percent: (e) => `${e}%`,
|
|
65
|
+
label: "Progress"
|
|
66
|
+
},
|
|
67
|
+
hotkeys: {
|
|
68
|
+
command: "Command",
|
|
69
|
+
ctrl: "Ctrl",
|
|
70
|
+
alt: "Alt",
|
|
71
|
+
shift: "Shift",
|
|
72
|
+
windows: "Win",
|
|
73
|
+
super: "Super",
|
|
74
|
+
enter: "Enter",
|
|
75
|
+
escape: "Esc",
|
|
76
|
+
space: "Space",
|
|
77
|
+
backspace: "Backspace",
|
|
78
|
+
delete: "Del",
|
|
79
|
+
tab: "Tab",
|
|
80
|
+
up: "Up arrow",
|
|
81
|
+
down: "Down arrow",
|
|
82
|
+
left: "Left arrow",
|
|
83
|
+
right: "Right arrow",
|
|
84
|
+
label: (e) => `Keyboard shortcut: ${e}`
|
|
85
|
+
},
|
|
86
|
+
datePicker: {
|
|
87
|
+
previousMonth: "Previous month",
|
|
88
|
+
nextMonth: "Next month",
|
|
89
|
+
previousYear: "Previous year",
|
|
90
|
+
nextYear: "Next year",
|
|
91
|
+
monthPicker: "Choose month",
|
|
92
|
+
yearPicker: "Choose year"
|
|
93
|
+
},
|
|
94
|
+
dateInput: {
|
|
95
|
+
clear: "Clear date",
|
|
96
|
+
open: "Open calendar",
|
|
97
|
+
label: "Choose a date"
|
|
98
|
+
},
|
|
99
|
+
timePicker: {
|
|
100
|
+
meridiem: "AM or PM",
|
|
101
|
+
am: "AM",
|
|
102
|
+
pm: "PM",
|
|
103
|
+
selectHour: "Select hour",
|
|
104
|
+
selectMinute: "Select minutes",
|
|
105
|
+
hourStep: "Selecting the hour",
|
|
106
|
+
minuteStep: "Selecting the minutes",
|
|
107
|
+
hour: "Hour",
|
|
108
|
+
minutes: "Minutes",
|
|
109
|
+
hoursValue: (e) => `${e} o'clock`,
|
|
110
|
+
minutesValue: (e) => `${e} minutes`
|
|
111
|
+
},
|
|
112
|
+
timeInput: {
|
|
113
|
+
clear: "Clear time",
|
|
114
|
+
openList: "Open the list of times",
|
|
115
|
+
openPicker: "Open time picker",
|
|
116
|
+
listLabel: "Available times",
|
|
117
|
+
pickerLabel: "Choose a time",
|
|
118
|
+
maskPlaceholder: "hh:mm"
|
|
119
|
+
},
|
|
120
|
+
fileInput: {
|
|
121
|
+
attach: "Choose files",
|
|
122
|
+
clear: "Clear files",
|
|
123
|
+
remove: (e) => `Remove ${e}`,
|
|
124
|
+
files: (e) => `${e} file${e === 1 ? "" : "s"}`,
|
|
125
|
+
placeholder: "No file selected"
|
|
126
|
+
},
|
|
127
|
+
filePicker: {
|
|
128
|
+
browse: "Browse files",
|
|
129
|
+
or: "or",
|
|
130
|
+
remove: (e) => `Remove ${e}`,
|
|
131
|
+
list: "Selected files"
|
|
132
|
+
},
|
|
133
|
+
carousel: {
|
|
134
|
+
label: "Carousel",
|
|
135
|
+
roleDescription: "carousel",
|
|
136
|
+
slideRoleDescription: "slide",
|
|
137
|
+
slides: "Slides",
|
|
138
|
+
slide: (e, t) => `${e} of ${t}`,
|
|
139
|
+
previous: "Previous slide",
|
|
140
|
+
next: "Next slide",
|
|
141
|
+
indicators: "Choose slide to display"
|
|
142
|
+
},
|
|
143
|
+
calendar: {
|
|
144
|
+
label: "Calendar",
|
|
145
|
+
roleDescription: "calendar",
|
|
146
|
+
today: "Today",
|
|
147
|
+
view: "View",
|
|
148
|
+
viewDay: "Day",
|
|
149
|
+
view4Days: "4 days",
|
|
150
|
+
viewWeek: "Week",
|
|
151
|
+
viewMonth: "Month",
|
|
152
|
+
viewYear: "Year",
|
|
153
|
+
viewCustom: (e) => `${e} days`,
|
|
154
|
+
previousDay: "Previous day",
|
|
155
|
+
nextDay: "Next day",
|
|
156
|
+
previousWeek: "Previous week",
|
|
157
|
+
nextWeek: "Next week",
|
|
158
|
+
previousMonth: "Previous month",
|
|
159
|
+
nextMonth: "Next month",
|
|
160
|
+
previousYear: "Previous year",
|
|
161
|
+
nextYear: "Next year",
|
|
162
|
+
previousPeriod: "Previous period",
|
|
163
|
+
nextPeriod: "Next period",
|
|
164
|
+
allDay: "All day",
|
|
165
|
+
moreEvents: (e) => `+${e} more`,
|
|
166
|
+
openDay: (e) => `Open ${e}`,
|
|
167
|
+
newEvent: (e) => `Event #${e}`,
|
|
168
|
+
eventRoleDescription: "event",
|
|
169
|
+
eventHint: "Press Enter to take hold of this event, then the arrow keys to move it and Shift with the arrow keys to change when it ends.",
|
|
170
|
+
grabbed: "Event held. Use the arrow keys to move it, Enter to place it, Escape to cancel.",
|
|
171
|
+
dropped: "Event placed.",
|
|
172
|
+
reverted: "Move cancelled. The event is back where it was.",
|
|
173
|
+
movedTo: (e, t) => `${e} moved to ${t}.`
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
//#endregion
|
|
177
|
+
export { e as en };
|
|
178
|
+
|
|
179
|
+
//# sourceMappingURL=en.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en.js","names":[],"sources":["../../src/i18n/en.ts"],"sourcesContent":["import type { VectisMessages } from './types'\n\n/**\n * English, the dictionary the library always carries. Any language with no dictionary of\n * its own falls back to this one, entry by entry, so nothing is ever left unsaid.\n *\n * Take care changing anything here: these words are checked letter for letter by the\n * tests, and they are the names the browser tests reach for when they look a control up.\n * Changing one means changing what expects it.\n */\nexport const en: VectisMessages = {\n common: {\n loading: 'Loading…',\n clear: 'Clear',\n close: 'Close',\n dismiss: 'Remove',\n cancel: 'Cancel',\n confirm: 'OK',\n },\n pagination: {\n label: 'Pagination',\n previous: 'Previous page',\n next: 'Next page',\n page: (page) => `Page ${page}`,\n hiddenPages: 'Hidden pages',\n },\n tabs: {\n label: 'Tabs',\n previous: 'Previous tabs',\n next: 'Next tabs',\n },\n breadcrumb: {\n label: 'Breadcrumb',\n ellipsis: 'Show intermediate pages',\n },\n sideNavigation: { label: 'Navigation' },\n combobox: {\n empty: 'No results',\n clear: 'Clear selection',\n remove: (label) => `Remove ${label}`,\n },\n dataTable: {\n empty: 'No data',\n loading: 'Loading data…',\n searchLabel: 'Search the table',\n searchPlaceholder: 'Search…',\n perPage: 'Rows per page',\n perPageValue: (label, value) => `${label}: ${value}`,\n selectAll: 'Select all',\n selectRow: (index) => `Select row ${index}`,\n // The plural is chosen right here, in the message itself. That one line is the whole\n // of the design system's handling of plurals, and it is meant to be.\n selection: (count) => `${count} item${count === 1 ? '' : 's'} selected`,\n range: ({ start, end, total }) => `${start}–${end} of ${total}`,\n pagination: 'Table pagination',\n },\n toaster: { label: 'Notifications' },\n snackbar: { label: 'Confirmation', action: 'Undo' },\n inputOTP: {\n label: 'Verification code',\n slot: (index, total) => `Character ${index} of ${total}`,\n },\n slider: {\n value: 'Value',\n start: 'Start',\n end: 'End',\n rangeStart: (label) => `${label} (start)`,\n rangeEnd: (label) => `${label} (end)`,\n },\n field: {\n limitExceeded: (max) => `Exceeds the limit of ${max} characters`,\n },\n progress: { percent: (percent) => `${percent}%`, label: 'Progress' },\n hotkeys: {\n command: 'Command',\n ctrl: 'Ctrl',\n alt: 'Alt',\n shift: 'Shift',\n windows: 'Win',\n super: 'Super',\n enter: 'Enter',\n escape: 'Esc',\n space: 'Space',\n backspace: 'Backspace',\n delete: 'Del',\n tab: 'Tab',\n up: 'Up arrow',\n down: 'Down arrow',\n left: 'Left arrow',\n right: 'Right arrow',\n label: (keys) => `Keyboard shortcut: ${keys}`,\n },\n datePicker: {\n previousMonth: 'Previous month',\n nextMonth: 'Next month',\n previousYear: 'Previous year',\n nextYear: 'Next year',\n monthPicker: 'Choose month',\n yearPicker: 'Choose year',\n },\n dateInput: {\n clear: 'Clear date',\n open: 'Open calendar',\n label: 'Choose a date',\n },\n timePicker: {\n meridiem: 'AM or PM',\n am: 'AM',\n pm: 'PM',\n selectHour: 'Select hour',\n selectMinute: 'Select minutes',\n hourStep: 'Selecting the hour',\n minuteStep: 'Selecting the minutes',\n hour: 'Hour',\n minutes: 'Minutes',\n hoursValue: (hour) => `${hour} o'clock`,\n minutesValue: (minute) => `${minute} minutes`,\n },\n timeInput: {\n clear: 'Clear time',\n openList: 'Open the list of times',\n openPicker: 'Open time picker',\n listLabel: 'Available times',\n pickerLabel: 'Choose a time',\n maskPlaceholder: 'hh:mm',\n },\n fileInput: {\n attach: 'Choose files',\n clear: 'Clear files',\n remove: (name) => `Remove ${name}`,\n files: (count) => `${count} file${count === 1 ? '' : 's'}`,\n placeholder: 'No file selected',\n },\n filePicker: {\n browse: 'Browse files',\n or: 'or',\n remove: (name) => `Remove ${name}`,\n list: 'Selected files',\n },\n carousel: {\n label: 'Carousel',\n roleDescription: 'carousel',\n slideRoleDescription: 'slide',\n slides: 'Slides',\n slide: (index, total) => `${index} of ${total}`,\n previous: 'Previous slide',\n next: 'Next slide',\n indicators: 'Choose slide to display',\n },\n calendar: {\n label: 'Calendar',\n roleDescription: 'calendar',\n today: 'Today',\n view: 'View',\n viewDay: 'Day',\n view4Days: '4 days',\n viewWeek: 'Week',\n viewMonth: 'Month',\n viewYear: 'Year',\n viewCustom: (days) => `${days} days`,\n previousDay: 'Previous day',\n nextDay: 'Next day',\n previousWeek: 'Previous week',\n nextWeek: 'Next week',\n previousMonth: 'Previous month',\n nextMonth: 'Next month',\n previousYear: 'Previous year',\n nextYear: 'Next year',\n previousPeriod: 'Previous period',\n nextPeriod: 'Next period',\n allDay: 'All day',\n moreEvents: (count) => `+${count} more`,\n openDay: (day) => `Open ${day}`,\n newEvent: (index) => `Event #${index}`,\n eventRoleDescription: 'event',\n eventHint:\n 'Press Enter to take hold of this event, then the arrow keys to move it and Shift with the arrow keys to change when it ends.',\n grabbed: 'Event held. Use the arrow keys to move it, Enter to place it, Escape to cancel.',\n dropped: 'Event placed.',\n reverted: 'Move cancelled. The event is back where it was.',\n movedTo: (title, when) => `${title} moved to ${when}.`,\n },\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VectisMessages } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* French. Nothing reaches this file unless it is asked for, so a project that does not
|
|
4
|
+
* use it never carries it: the library is packaged one module at a time, and a module
|
|
5
|
+
* nobody imports is left out.
|
|
6
|
+
*
|
|
7
|
+
* Turning it on and adding a language the library does not ship at all are the SAME
|
|
8
|
+
* gesture. There are deliberately not two kinds of dictionary, one blessed and one added
|
|
9
|
+
* by hand:
|
|
10
|
+
*
|
|
11
|
+
* import { fr, registerMessages, setLocale } from 'vectis-ui'
|
|
12
|
+
* registerMessages('fr', fr)
|
|
13
|
+
* setLocale('fr-FR')
|
|
14
|
+
*
|
|
15
|
+
* The curly apostrophes below are deliberate and are part of the text: some tests check
|
|
16
|
+
* these words letter for letter, and a straight apostrophe is a different letter.
|
|
17
|
+
*/
|
|
18
|
+
export declare const fr: VectisMessages;
|
package/dist/i18n/fr.js
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
//#region src/i18n/fr.ts
|
|
2
|
+
var e = {
|
|
3
|
+
common: {
|
|
4
|
+
loading: "Chargement…",
|
|
5
|
+
clear: "Effacer",
|
|
6
|
+
close: "Fermer",
|
|
7
|
+
dismiss: "Retirer",
|
|
8
|
+
cancel: "Annuler",
|
|
9
|
+
confirm: "OK"
|
|
10
|
+
},
|
|
11
|
+
pagination: {
|
|
12
|
+
label: "Pagination",
|
|
13
|
+
previous: "Page précédente",
|
|
14
|
+
next: "Page suivante",
|
|
15
|
+
page: (e) => `Page ${e}`,
|
|
16
|
+
hiddenPages: "Pages masquées"
|
|
17
|
+
},
|
|
18
|
+
tabs: {
|
|
19
|
+
label: "Onglets",
|
|
20
|
+
previous: "Onglets précédents",
|
|
21
|
+
next: "Onglets suivants"
|
|
22
|
+
},
|
|
23
|
+
breadcrumb: {
|
|
24
|
+
label: "Fil d'Ariane",
|
|
25
|
+
ellipsis: "Afficher les pages intermédiaires"
|
|
26
|
+
},
|
|
27
|
+
sideNavigation: { label: "Navigation" },
|
|
28
|
+
combobox: {
|
|
29
|
+
empty: "Aucun résultat",
|
|
30
|
+
clear: "Effacer la sélection",
|
|
31
|
+
remove: (e) => `Retirer ${e}`
|
|
32
|
+
},
|
|
33
|
+
dataTable: {
|
|
34
|
+
empty: "Aucune donnée",
|
|
35
|
+
loading: "Chargement des données…",
|
|
36
|
+
searchLabel: "Rechercher dans le tableau",
|
|
37
|
+
searchPlaceholder: "Rechercher…",
|
|
38
|
+
perPage: "Lignes par page",
|
|
39
|
+
perPageValue: (e, t) => `${e} : ${t}`,
|
|
40
|
+
selectAll: "Tout sélectionner",
|
|
41
|
+
selectRow: (e) => `Sélectionner la ligne ${e}`,
|
|
42
|
+
selection: (e) => `${e} élément${e > 1 ? "s" : ""} sélectionné${e > 1 ? "s" : ""}`,
|
|
43
|
+
range: ({ start: e, end: t, total: n }) => `${e}–${t} sur ${n}`,
|
|
44
|
+
pagination: "Pagination du tableau"
|
|
45
|
+
},
|
|
46
|
+
toaster: { label: "Notifications" },
|
|
47
|
+
snackbar: {
|
|
48
|
+
label: "Confirmation",
|
|
49
|
+
action: "Annuler"
|
|
50
|
+
},
|
|
51
|
+
inputOTP: {
|
|
52
|
+
label: "Code de vérification",
|
|
53
|
+
slot: (e, t) => `Caractère ${e} sur ${t}`
|
|
54
|
+
},
|
|
55
|
+
slider: {
|
|
56
|
+
value: "Valeur",
|
|
57
|
+
start: "Début",
|
|
58
|
+
end: "Fin",
|
|
59
|
+
rangeStart: (e) => `${e} (début)`,
|
|
60
|
+
rangeEnd: (e) => `${e} (fin)`
|
|
61
|
+
},
|
|
62
|
+
field: { limitExceeded: (e) => `Dépasse la limite de ${e} caractères` },
|
|
63
|
+
progress: {
|
|
64
|
+
percent: (e) => `${e}\u00A0%`,
|
|
65
|
+
label: "Progression"
|
|
66
|
+
},
|
|
67
|
+
hotkeys: {
|
|
68
|
+
command: "Commande",
|
|
69
|
+
ctrl: "Ctrl",
|
|
70
|
+
alt: "Alt",
|
|
71
|
+
shift: "Maj",
|
|
72
|
+
windows: "Win",
|
|
73
|
+
super: "Super",
|
|
74
|
+
enter: "Entrée",
|
|
75
|
+
escape: "Échap",
|
|
76
|
+
space: "Espace",
|
|
77
|
+
backspace: "Retour arrière",
|
|
78
|
+
delete: "Suppr",
|
|
79
|
+
tab: "Tab",
|
|
80
|
+
up: "Flèche haut",
|
|
81
|
+
down: "Flèche bas",
|
|
82
|
+
left: "Flèche gauche",
|
|
83
|
+
right: "Flèche droite",
|
|
84
|
+
label: (e) => `Raccourci clavier : ${e}`
|
|
85
|
+
},
|
|
86
|
+
datePicker: {
|
|
87
|
+
previousMonth: "Mois précédent",
|
|
88
|
+
nextMonth: "Mois suivant",
|
|
89
|
+
previousYear: "Année précédente",
|
|
90
|
+
nextYear: "Année suivante",
|
|
91
|
+
monthPicker: "Choix du mois",
|
|
92
|
+
yearPicker: "Choix de l'année"
|
|
93
|
+
},
|
|
94
|
+
dateInput: {
|
|
95
|
+
clear: "Effacer la date",
|
|
96
|
+
open: "Ouvrir le calendrier",
|
|
97
|
+
label: "Choisir une date"
|
|
98
|
+
},
|
|
99
|
+
timePicker: {
|
|
100
|
+
meridiem: "AM ou PM",
|
|
101
|
+
am: "AM",
|
|
102
|
+
pm: "PM",
|
|
103
|
+
selectHour: "Sélectionner l’heure",
|
|
104
|
+
selectMinute: "Sélectionner les minutes",
|
|
105
|
+
hourStep: "Sélection de l’heure",
|
|
106
|
+
minuteStep: "Sélection des minutes",
|
|
107
|
+
hour: "Heure",
|
|
108
|
+
minutes: "Minutes",
|
|
109
|
+
hoursValue: (e) => `${e} heures`,
|
|
110
|
+
minutesValue: (e) => `${e} minutes`
|
|
111
|
+
},
|
|
112
|
+
timeInput: {
|
|
113
|
+
clear: "Effacer l'heure",
|
|
114
|
+
openList: "Ouvrir la liste des heures",
|
|
115
|
+
openPicker: "Ouvrir le sélecteur d’heure",
|
|
116
|
+
listLabel: "Heures disponibles",
|
|
117
|
+
pickerLabel: "Choisir une heure",
|
|
118
|
+
maskPlaceholder: "hh:mm"
|
|
119
|
+
},
|
|
120
|
+
fileInput: {
|
|
121
|
+
attach: "Choisir des fichiers",
|
|
122
|
+
clear: "Effacer les fichiers",
|
|
123
|
+
remove: (e) => `Retirer ${e}`,
|
|
124
|
+
files: (e) => `${e} fichier${e > 1 ? "s" : ""}`,
|
|
125
|
+
placeholder: "Aucun fichier sélectionné"
|
|
126
|
+
},
|
|
127
|
+
filePicker: {
|
|
128
|
+
browse: "Parcourir les fichiers",
|
|
129
|
+
or: "ou",
|
|
130
|
+
remove: (e) => `Retirer ${e}`,
|
|
131
|
+
list: "Fichiers sélectionnés"
|
|
132
|
+
},
|
|
133
|
+
carousel: {
|
|
134
|
+
label: "Carrousel",
|
|
135
|
+
roleDescription: "carrousel",
|
|
136
|
+
slideRoleDescription: "diapositive",
|
|
137
|
+
slides: "Diapositives",
|
|
138
|
+
slide: (e, t) => `${e} sur ${t}`,
|
|
139
|
+
previous: "Diapositive précédente",
|
|
140
|
+
next: "Diapositive suivante",
|
|
141
|
+
indicators: "Choisir la diapositive à afficher"
|
|
142
|
+
},
|
|
143
|
+
calendar: {
|
|
144
|
+
label: "Calendrier",
|
|
145
|
+
roleDescription: "calendrier",
|
|
146
|
+
today: "Aujourd'hui",
|
|
147
|
+
view: "Affichage",
|
|
148
|
+
viewDay: "Jour",
|
|
149
|
+
view4Days: "4 jours",
|
|
150
|
+
viewWeek: "Semaine",
|
|
151
|
+
viewMonth: "Mois",
|
|
152
|
+
viewYear: "Année",
|
|
153
|
+
viewCustom: (e) => `${e} jours`,
|
|
154
|
+
previousDay: "Jour précédent",
|
|
155
|
+
nextDay: "Jour suivant",
|
|
156
|
+
previousWeek: "Semaine précédente",
|
|
157
|
+
nextWeek: "Semaine suivante",
|
|
158
|
+
previousMonth: "Mois précédent",
|
|
159
|
+
nextMonth: "Mois suivant",
|
|
160
|
+
previousYear: "Année précédente",
|
|
161
|
+
nextYear: "Année suivante",
|
|
162
|
+
previousPeriod: "Période précédente",
|
|
163
|
+
nextPeriod: "Période suivante",
|
|
164
|
+
allDay: "Journée",
|
|
165
|
+
moreEvents: (e) => `+${e} autre${e > 1 ? "s" : ""}`,
|
|
166
|
+
openDay: (e) => `Ouvrir le ${e}`,
|
|
167
|
+
newEvent: (e) => `Évènement n°${e}`,
|
|
168
|
+
eventRoleDescription: "évènement",
|
|
169
|
+
eventHint: "Appuyez sur Entrée pour saisir cet évènement, puis sur les flèches pour le déplacer et sur Maj avec les flèches pour changer son heure de fin.",
|
|
170
|
+
grabbed: "Évènement saisi. Utilisez les flèches pour le déplacer, Entrée pour le poser, Échap pour annuler.",
|
|
171
|
+
dropped: "Évènement posé.",
|
|
172
|
+
reverted: "Déplacement annulé. L'évènement est revenu à sa place.",
|
|
173
|
+
movedTo: (e, t) => `${e} déplacé au ${t}.`
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
//#endregion
|
|
177
|
+
export { e as fr };
|
|
178
|
+
|
|
179
|
+
//# sourceMappingURL=fr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.js","names":[],"sources":["../../src/i18n/fr.ts"],"sourcesContent":["import type { VectisMessages } from './types'\n\n/**\n * French. Nothing reaches this file unless it is asked for, so a project that does not\n * use it never carries it: the library is packaged one module at a time, and a module\n * nobody imports is left out.\n *\n * Turning it on and adding a language the library does not ship at all are the SAME\n * gesture. There are deliberately not two kinds of dictionary, one blessed and one added\n * by hand:\n *\n * import { fr, registerMessages, setLocale } from 'vectis-ui'\n * registerMessages('fr', fr)\n * setLocale('fr-FR')\n *\n * The curly apostrophes below are deliberate and are part of the text: some tests check\n * these words letter for letter, and a straight apostrophe is a different letter.\n */\nexport const fr: VectisMessages = {\n common: {\n loading: 'Chargement…',\n clear: 'Effacer',\n close: 'Fermer',\n dismiss: 'Retirer',\n cancel: 'Annuler',\n confirm: 'OK',\n },\n pagination: {\n label: 'Pagination',\n previous: 'Page précédente',\n next: 'Page suivante',\n page: (page) => `Page ${page}`,\n hiddenPages: 'Pages masquées',\n },\n tabs: {\n label: 'Onglets',\n previous: 'Onglets précédents',\n next: 'Onglets suivants',\n },\n breadcrumb: {\n label: \"Fil d'Ariane\",\n ellipsis: 'Afficher les pages intermédiaires',\n },\n sideNavigation: { label: 'Navigation' },\n combobox: {\n empty: 'Aucun résultat',\n clear: 'Effacer la sélection',\n remove: (label) => `Retirer ${label}`,\n },\n dataTable: {\n empty: 'Aucune donnée',\n loading: 'Chargement des données…',\n searchLabel: 'Rechercher dans le tableau',\n searchPlaceholder: 'Rechercher…',\n perPage: 'Lignes par page',\n perPageValue: (label, value) => `${label} : ${value}`,\n selectAll: 'Tout sélectionner',\n selectRow: (index) => `Sélectionner la ligne ${index}`,\n selection: (count) =>\n `${count} élément${count > 1 ? 's' : ''} sélectionné${count > 1 ? 's' : ''}`,\n range: ({ start, end, total }) => `${start}–${end} sur ${total}`,\n pagination: 'Pagination du tableau',\n },\n toaster: { label: 'Notifications' },\n snackbar: { label: 'Confirmation', action: 'Annuler' },\n inputOTP: {\n label: 'Code de vérification',\n slot: (index, total) => `Caractère ${index} sur ${total}`,\n },\n slider: {\n value: 'Valeur',\n start: 'Début',\n end: 'Fin',\n rangeStart: (label) => `${label} (début)`,\n rangeEnd: (label) => `${label} (fin)`,\n },\n field: {\n limitExceeded: (max) => `Dépasse la limite de ${max} caractères`,\n },\n // The space before the sign is a NON-BREAKING one, as French typography requires and\n // English does not. It is written as an escape rather than typed in: the linter refuses\n // the character itself, and it would be indistinguishable from an ordinary space in a\n // review.\n progress: { percent: (percent) => `${percent}\\u00A0%`, label: 'Progression' },\n hotkeys: {\n command: 'Commande',\n ctrl: 'Ctrl',\n alt: 'Alt',\n shift: 'Maj',\n windows: 'Win',\n super: 'Super',\n enter: 'Entrée',\n escape: 'Échap',\n space: 'Espace',\n backspace: 'Retour arrière',\n delete: 'Suppr',\n tab: 'Tab',\n up: 'Flèche haut',\n down: 'Flèche bas',\n left: 'Flèche gauche',\n right: 'Flèche droite',\n label: (keys) => `Raccourci clavier : ${keys}`,\n },\n datePicker: {\n previousMonth: 'Mois précédent',\n nextMonth: 'Mois suivant',\n previousYear: 'Année précédente',\n nextYear: 'Année suivante',\n monthPicker: 'Choix du mois',\n yearPicker: \"Choix de l'année\",\n },\n dateInput: {\n clear: 'Effacer la date',\n open: 'Ouvrir le calendrier',\n label: 'Choisir une date',\n },\n timePicker: {\n meridiem: 'AM ou PM',\n am: 'AM',\n pm: 'PM',\n selectHour: 'Sélectionner l’heure',\n selectMinute: 'Sélectionner les minutes',\n hourStep: 'Sélection de l’heure',\n minuteStep: 'Sélection des minutes',\n hour: 'Heure',\n minutes: 'Minutes',\n hoursValue: (hour) => `${hour} heures`,\n minutesValue: (minute) => `${minute} minutes`,\n },\n timeInput: {\n clear: \"Effacer l'heure\",\n openList: 'Ouvrir la liste des heures',\n openPicker: 'Ouvrir le sélecteur d’heure',\n listLabel: 'Heures disponibles',\n pickerLabel: 'Choisir une heure',\n maskPlaceholder: 'hh:mm',\n },\n fileInput: {\n attach: 'Choisir des fichiers',\n clear: 'Effacer les fichiers',\n remove: (name) => `Retirer ${name}`,\n // The French plural starts at two, the English one at zero — \"0 fichier\" against\n // \"0 files\". Each language therefore makes the choice on its own, and there is no\n // shared rule for either to inherit.\n files: (count) => `${count} fichier${count > 1 ? 's' : ''}`,\n placeholder: 'Aucun fichier sélectionné',\n },\n filePicker: {\n browse: 'Parcourir les fichiers',\n or: 'ou',\n remove: (name) => `Retirer ${name}`,\n list: 'Fichiers sélectionnés',\n },\n carousel: {\n label: 'Carrousel',\n roleDescription: 'carrousel',\n slideRoleDescription: 'diapositive',\n slides: 'Diapositives',\n slide: (index, total) => `${index} sur ${total}`,\n previous: 'Diapositive précédente',\n next: 'Diapositive suivante',\n indicators: 'Choisir la diapositive à afficher',\n },\n calendar: {\n label: 'Calendrier',\n roleDescription: 'calendrier',\n today: \"Aujourd'hui\",\n view: 'Affichage',\n viewDay: 'Jour',\n view4Days: '4 jours',\n viewWeek: 'Semaine',\n viewMonth: 'Mois',\n viewYear: 'Année',\n viewCustom: (days) => `${days} jours`,\n previousDay: 'Jour précédent',\n nextDay: 'Jour suivant',\n previousWeek: 'Semaine précédente',\n nextWeek: 'Semaine suivante',\n previousMonth: 'Mois précédent',\n nextMonth: 'Mois suivant',\n previousYear: 'Année précédente',\n nextYear: 'Année suivante',\n previousPeriod: 'Période précédente',\n nextPeriod: 'Période suivante',\n allDay: 'Journée',\n moreEvents: (count) => `+${count} autre${count > 1 ? 's' : ''}`,\n openDay: (day) => `Ouvrir le ${day}`,\n newEvent: (index) => `Évènement n°${index}`,\n eventRoleDescription: 'évènement',\n eventHint:\n 'Appuyez sur Entrée pour saisir cet évènement, puis sur les flèches pour le déplacer et sur Maj avec les flèches pour changer son heure de fin.',\n grabbed:\n 'Évènement saisi. Utilisez les flèches pour le déplacer, Entrée pour le poser, Échap pour annuler.',\n dropped: 'Évènement posé.',\n reverted: \"Déplacement annulé. L'évènement est revenu à sa place.\",\n movedTo: (title, when) => `${title} déplacé au ${when}.`,\n },\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ShallowRef } from 'vue';
|
|
2
|
+
import { VectisMessages, VectisMessagesInput } from './types.js';
|
|
3
|
+
/** The language tag assumed until one is chosen. */
|
|
4
|
+
export declare const DEFAULT_LOCALE = "en-US";
|
|
5
|
+
/**
|
|
6
|
+
* Chooses the language the design system speaks.
|
|
7
|
+
*
|
|
8
|
+
* Give it a COMPLETE tag — "fr-FR", "en-GB", "de-DE" — rather than a bare language, since
|
|
9
|
+
* it is put to two uses. It picks the dictionary, for which only the language matters;
|
|
10
|
+
* and it is what the calendar and the two pickers hand to the browser, for which the
|
|
11
|
+
* country matters a great deal. A bare "en" is accepted there but means the conventions
|
|
12
|
+
* of no country in particular: hours running to twelve and weeks starting on Sunday,
|
|
13
|
+
* which is not British English. Those three components also take a language of their own,
|
|
14
|
+
* and it wins over this one.
|
|
15
|
+
*
|
|
16
|
+
* Call it from an ordinary module — a plugin, the file that starts the application — and
|
|
17
|
+
* never from inside a component. On a server this choice lives for as long as the process
|
|
18
|
+
* does, which is right for configuration and wrong for anything belonging to one visitor.
|
|
19
|
+
* Setting it only in the browser is its own trap: the page the server built would then be
|
|
20
|
+
* in another language than the one the browser expects, and the two would visibly fail to
|
|
21
|
+
* line up.
|
|
22
|
+
*/
|
|
23
|
+
export declare function setLocale(locale: string): void;
|
|
24
|
+
/**
|
|
25
|
+
* Adds the words of a LANGUAGE, or adjusts the ones already there. What it is filed under
|
|
26
|
+
* is the language alone — "fr", not "fr-FR".
|
|
27
|
+
*
|
|
28
|
+
* This is the one way in, and deliberately so: turning on the French the library ships
|
|
29
|
+
* with and adding a language it does not ship at all are the very SAME gesture.
|
|
30
|
+
*
|
|
31
|
+
* What is given may be a few words rather than a whole dictionary. Anything left out
|
|
32
|
+
* falls back to whatever was registered for that language before, and failing that to the
|
|
33
|
+
* English the library always carries — never to an empty string. Successive calls for one
|
|
34
|
+
* language ADD UP, so registering the French and then correcting a single word keeps the
|
|
35
|
+
* rest of the French.
|
|
36
|
+
*
|
|
37
|
+
* Passing nothing at all removes what was added, and puts English back as it came.
|
|
38
|
+
*/
|
|
39
|
+
export declare function registerMessages(lang: string, messages: VectisMessagesInput | undefined): void;
|
|
40
|
+
/**
|
|
41
|
+
* The dictionary in force. Internal to the library — the components read it, and it is
|
|
42
|
+
* not part of the public surface.
|
|
43
|
+
*
|
|
44
|
+
* What is handed back is the holder rather than the words inside it, and that is what
|
|
45
|
+
* makes components ALREADY on screen redraw themselves when the language is changed
|
|
46
|
+
* later: reading through the holder is what ties the component to it.
|
|
47
|
+
*
|
|
48
|
+
* TRAP — reading a word out of it once, at the top of a component, FREEZES that word. It
|
|
49
|
+
* must be read where the reading is repeated: inside something derived, or in the
|
|
50
|
+
* template.
|
|
51
|
+
*
|
|
52
|
+
* The shape of a composable is deliberate. The day a language per part of the page, or
|
|
53
|
+
* per visitor on a server, becomes necessary, only the BODY of this function changes and
|
|
54
|
+
* no component is touched. It also stays callable outside any component, since all it
|
|
55
|
+
* does is hand back a holder; a version that looked up the tree would have to check for
|
|
56
|
+
* that case.
|
|
57
|
+
*/
|
|
58
|
+
export declare function useMessages(): ShallowRef<VectisMessages>;
|
|
59
|
+
/**
|
|
60
|
+
* The language tag in force. Internal to the library: it is what the calendar and the two
|
|
61
|
+
* pickers fall back on when they are given no language of their own, and what the table
|
|
62
|
+
* sorts its rows by.
|
|
63
|
+
*/
|
|
64
|
+
export declare function useLocale(): ShallowRef<string>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { en as e } from "./en.js";
|
|
2
|
+
import { shallowRef as t } from "vue";
|
|
3
|
+
//#region src/i18n/state.ts
|
|
4
|
+
var n = "en-US", r = "en", i = /* @__PURE__ */ new Map([[r, e]]), a = t(n), o = t(e);
|
|
5
|
+
function s(e) {
|
|
6
|
+
return e.toLowerCase().split("-")[0] ?? e;
|
|
7
|
+
}
|
|
8
|
+
function c(t) {
|
|
9
|
+
return i.get(s(t)) ?? i.get(r) ?? e;
|
|
10
|
+
}
|
|
11
|
+
var l = /* @__PURE__ */ new Set([
|
|
12
|
+
"__proto__",
|
|
13
|
+
"constructor",
|
|
14
|
+
"prototype"
|
|
15
|
+
]);
|
|
16
|
+
function u(e, t) {
|
|
17
|
+
let n = { ...e };
|
|
18
|
+
for (let [e, r] of Object.entries(t)) l.has(e) || r && (n[e] = {
|
|
19
|
+
...n[e],
|
|
20
|
+
...r
|
|
21
|
+
});
|
|
22
|
+
return n;
|
|
23
|
+
}
|
|
24
|
+
function d(e) {
|
|
25
|
+
s(e), a.value = e, o.value = c(e);
|
|
26
|
+
}
|
|
27
|
+
function f(t, n) {
|
|
28
|
+
let l = s(t);
|
|
29
|
+
n === void 0 ? l === r ? i.set(r, e) : i.delete(l) : i.set(l, u(i.get(l) ?? e, n)), o.value = c(a.value);
|
|
30
|
+
}
|
|
31
|
+
function p() {
|
|
32
|
+
return o;
|
|
33
|
+
}
|
|
34
|
+
function m() {
|
|
35
|
+
return a;
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
export { n as DEFAULT_LOCALE, f as registerMessages, d as setLocale, m as useLocale, p as useMessages };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","names":[],"sources":["../../src/i18n/state.ts"],"sourcesContent":["/**\n * The language the design system speaks, and the words it says. No text a reader will\n * ever see is written inside a component: all of it comes from here.\n *\n * The choice of language is held once for the whole application rather than being handed\n * down through the component tree, because it is CONFIGURATION — the same for everyone\n * looking at the site — and because it must remain settable from an ordinary file, a\n * start-up script or a plugin, without a component being involved.\n *\n * ACCEPTED CONSEQUENCE — one language at a time per running server. A site serving an\n * English page and a French one from the same server cannot let those two pages disagree\n * here; it passes the words to the components explicitly instead, along with the language\n * for the calendar and the two pickers. Lifting that limit would change only the body of\n * the last function in this file, and no component at all.\n */\nimport { shallowRef, type ShallowRef } from 'vue'\n\nimport { isDev } from '../utils/env'\n\nimport { en } from './en'\nimport type { VectisMessages, VectisMessagesInput } from './types'\n\n/** The language tag assumed until one is chosen. */\nexport const DEFAULT_LOCALE = 'en-US'\nconst DEFAULT_LANG = 'en'\n\n/**\n * The dictionaries, filed under the LANGUAGE alone — \"en\", \"fr\", \"de\" — and not under the\n * country as well. British, American and Australian English share every word. What does\n * separate them, the order of the parts of a date, the day a week starts on, whether the\n * hours run to twelve or twenty-four, is worked out by the browser from the complete tag\n * and is never a matter of translation.\n *\n * The collection itself is deliberately inert: what components watch is the current\n * dictionary below, which is recalculated whenever the collection changes.\n */\nconst registry = new Map<string, VectisMessages>([[DEFAULT_LANG, en]])\n\nconst currentLocale = shallowRef<string>(DEFAULT_LOCALE)\nconst currentMessages = shallowRef<VectisMessages>(en)\n\n/**\n * The language part of a tag: British English is filed under English. A tag that makes no\n * sense comes back untouched, and will simply match no dictionary.\n */\nfunction langOf(locale: string): string {\n return locale.toLowerCase().split('-')[0] ?? locale\n}\n\n/**\n * The dictionary a tag resolves to, falling back to the default language.\n *\n * The last `?? en` never fires: `registry` is seeded with `DEFAULT_LANG` and the only path\n * that could remove it — `registerMessages` passing `undefined` — puts `en` straight back\n * instead of deleting. It stays because `Map.get` is typed `T | undefined`, so the compiler\n * demands an exhaustive expression; the alternative is a non-null assertion, which would\n * hide the reasoning rather than record it. Do not read it as a live third case.\n */\nfunction resolve(locale: string): VectisMessages {\n return registry.get(langOf(locale)) ?? registry.get(DEFAULT_LANG) ?? en\n}\n\n/** Names that would reach into an object's own machinery instead of naming a section. */\nconst FORBIDDEN_KEYS = new Set(['__proto__', 'constructor', 'prototype'])\n\n/**\n * Lays a handful of replacement words over a complete dictionary.\n *\n * It descends exactly TWO levels and no further, which the shape of a dictionary\n * guarantees is enough: below a section there are only finished values, a piece of text or\n * a function that builds one. Nothing is walked recursively, so a FUNCTION can never be\n * mistaken for an object and taken apart — which would leave an empty one behind, and a\n * message that renders as nothing.\n */\nfunction mergeMessages(base: VectisMessages, patch: VectisMessagesInput): VectisMessages {\n const out: Record<string, object> = { ...base }\n for (const [namespace, section] of Object.entries(patch)) {\n // A dictionary that came out of a parsed file can carry one of those names as a\n // section of its own, and assigning to it would replace the merged dictionary's\n // machinery rather than adding a section. Nothing outside is affected — the object\n // being built is a fresh copy — but the result is a dictionary in which every single\n // lookup is wrong, and nothing says so.\n if (FORBIDDEN_KEYS.has(namespace)) continue\n if (section) out[namespace] = { ...out[namespace], ...section }\n }\n return out as unknown as VectisMessages\n}\n\n/**\n * Chooses the language the design system speaks.\n *\n * Give it a COMPLETE tag — \"fr-FR\", \"en-GB\", \"de-DE\" — rather than a bare language, since\n * it is put to two uses. It picks the dictionary, for which only the language matters;\n * and it is what the calendar and the two pickers hand to the browser, for which the\n * country matters a great deal. A bare \"en\" is accepted there but means the conventions\n * of no country in particular: hours running to twelve and weeks starting on Sunday,\n * which is not British English. Those three components also take a language of their own,\n * and it wins over this one.\n *\n * Call it from an ordinary module — a plugin, the file that starts the application — and\n * never from inside a component. On a server this choice lives for as long as the process\n * does, which is right for configuration and wrong for anything belonging to one visitor.\n * Setting it only in the browser is its own trap: the page the server built would then be\n * in another language than the one the browser expects, and the two would visibly fail to\n * line up.\n */\nexport function setLocale(locale: string): void {\n const lang = langOf(locale)\n if (isDev && !registry.has(lang)) {\n console.warn(\n `[vectis] No dictionary registered for “${lang}”: the text stays in ` +\n `“${DEFAULT_LANG}”. French is shipped — import { fr } from 'vectis-ui' then ` +\n `registerMessages('fr', fr). For another language: registerMessages('${lang}', { … }).`,\n )\n }\n currentLocale.value = locale\n currentMessages.value = resolve(locale)\n}\n\n/**\n * Adds the words of a LANGUAGE, or adjusts the ones already there. What it is filed under\n * is the language alone — \"fr\", not \"fr-FR\".\n *\n * This is the one way in, and deliberately so: turning on the French the library ships\n * with and adding a language it does not ship at all are the very SAME gesture.\n *\n * What is given may be a few words rather than a whole dictionary. Anything left out\n * falls back to whatever was registered for that language before, and failing that to the\n * English the library always carries — never to an empty string. Successive calls for one\n * language ADD UP, so registering the French and then correcting a single word keeps the\n * rest of the French.\n *\n * Passing nothing at all removes what was added, and puts English back as it came.\n */\nexport function registerMessages(lang: string, messages: VectisMessagesInput | undefined): void {\n const key = langOf(lang)\n if (isDev && key !== lang.toLowerCase()) {\n console.warn(\n `[vectis] registerMessages('${lang}', …): the expected key is a language subtag ` +\n `alone — registered under “${key}”, which covers all its regional variants.`,\n )\n }\n if (messages === undefined) {\n if (key === DEFAULT_LANG) registry.set(DEFAULT_LANG, en)\n else registry.delete(key)\n } else {\n registry.set(key, mergeMessages(registry.get(key) ?? en, messages))\n }\n currentMessages.value = resolve(currentLocale.value)\n}\n\n/**\n * The dictionary in force. Internal to the library — the components read it, and it is\n * not part of the public surface.\n *\n * What is handed back is the holder rather than the words inside it, and that is what\n * makes components ALREADY on screen redraw themselves when the language is changed\n * later: reading through the holder is what ties the component to it.\n *\n * TRAP — reading a word out of it once, at the top of a component, FREEZES that word. It\n * must be read where the reading is repeated: inside something derived, or in the\n * template.\n *\n * The shape of a composable is deliberate. The day a language per part of the page, or\n * per visitor on a server, becomes necessary, only the BODY of this function changes and\n * no component is touched. It also stays callable outside any component, since all it\n * does is hand back a holder; a version that looked up the tree would have to check for\n * that case.\n */\nexport function useMessages(): ShallowRef<VectisMessages> {\n return currentMessages\n}\n\n/**\n * The language tag in force. Internal to the library: it is what the calendar and the two\n * pickers fall back on when they are given no language of their own, and what the table\n * sorts its rows by.\n */\nexport function useLocale(): ShallowRef<string> {\n return currentLocale\n}\n"],"mappings":";;;AAuBA,IAAa,IAAiB,SACxB,IAAe,MAYf,oBAAW,IAAI,IAA4B,CAAC,CAAC,GAAc,CAAE,CAAC,CAAC,GAE/D,IAAgB,EAAmB,CAAc,GACjD,IAAkB,EAA2B,CAAE;AAMrD,SAAS,EAAO,GAAwB;CACtC,OAAO,EAAO,YAAY,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM;AAC/C;AAWA,SAAS,EAAQ,GAAgC;CAC/C,OAAO,EAAS,IAAI,EAAO,CAAM,CAAC,KAAK,EAAS,IAAI,CAAY,KAAK;AACvE;AAGA,IAAM,oBAAiB,IAAI,IAAI;CAAC;CAAa;CAAe;AAAW,CAAC;AAWxE,SAAS,EAAc,GAAsB,GAA4C;CACvF,IAAM,IAA8B,EAAE,GAAG,EAAK;CAC9C,KAAK,IAAM,CAAC,GAAW,MAAY,OAAO,QAAQ,CAAK,GAMjD,EAAe,IAAI,CAAS,KAC5B,MAAS,EAAI,KAAa;EAAE,GAAG,EAAI;EAAY,GAAG;CAAQ;CAEhE,OAAO;AACT;AAoBA,SAAgB,EAAU,GAAsB;CAU9C,AATa,EAAO,CAAM,GAQ1B,EAAc,QAAQ,GACtB,EAAgB,QAAQ,EAAQ,CAAM;AACxC;AAiBA,SAAgB,EAAiB,GAAc,GAAiD;CAC9F,IAAM,IAAM,EAAO,CAAI;CAavB,AANI,MAAa,KAAA,IACX,MAAQ,IAAc,EAAS,IAAI,GAAc,CAAE,IAClD,EAAS,OAAO,CAAG,IAExB,EAAS,IAAI,GAAK,EAAc,EAAS,IAAI,CAAG,KAAK,GAAI,CAAQ,CAAC,GAEpE,EAAgB,QAAQ,EAAQ,EAAc,KAAK;AACrD;AAoBA,SAAgB,IAA0C;CACxD,OAAO;AACT;AAOA,SAAgB,IAAgC;CAC9C,OAAO;AACT"}
|