vuetify 3.3.3 → 3.3.4
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/_component-variables-labs.sass +2 -0
- package/dist/json/attributes.json +452 -12
- package/dist/json/importMap-labs.json +32 -0
- package/dist/json/importMap.json +20 -20
- package/dist/json/tags.json +150 -0
- package/dist/json/web-types.json +1609 -21
- package/dist/vuetify-labs.css +469 -192
- package/dist/vuetify-labs.d.ts +5178 -217
- package/dist/vuetify-labs.esm.js +1902 -990
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +1902 -990
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +210 -203
- package/dist/vuetify.d.ts +60 -45
- package/dist/vuetify.esm.js +142 -104
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +142 -104
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +159 -160
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +32 -25
- package/lib/blueprints/md1.d.mts +32 -25
- package/lib/blueprints/md2.d.mts +32 -25
- package/lib/blueprints/md3.d.mts +32 -25
- package/lib/components/VAppBar/VAppBar.mjs +3 -10
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +4 -22
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +6 -17
- package/lib/components/VBreadcrumbs/index.d.mts +7 -7
- package/lib/components/VBtn/VBtn.css +11 -11
- package/lib/components/VBtn/VBtn.sass +1 -1
- package/lib/components/VBtn/_mixins.scss +1 -1
- package/lib/components/VChip/VChip.css +67 -67
- package/lib/components/VChip/_variables.scss +1 -1
- package/lib/components/VCombobox/VCombobox.css +4 -22
- package/lib/components/VCombobox/VCombobox.sass +6 -17
- package/lib/components/VCombobox/_variables.scss +3 -3
- package/lib/components/VCounter/index.d.mts +8 -8
- package/lib/components/VField/VField.css +71 -8
- package/lib/components/VField/VField.sass +9 -5
- package/lib/components/VField/_mixins.sass +7 -0
- package/lib/components/VFileInput/VFileInput.css +2 -17
- package/lib/components/VFileInput/VFileInput.mjs +0 -2
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +2 -11
- package/lib/components/VFileInput/_variables.scss +3 -3
- package/lib/components/VInput/VInput.css +14 -1
- package/lib/components/VInput/VInput.sass +6 -0
- package/lib/components/VInput/_variables.scss +5 -1
- package/lib/components/VList/VListItem.mjs +1 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +2 -20
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.sass +2 -12
- package/lib/components/VSelect/_variables.scss +3 -3
- package/lib/components/VTabs/VTab.mjs +2 -2
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePickerTitle.mjs +1 -1
- package/lib/components/index.d.mts +15 -15
- package/lib/components/index.mjs +1 -2
- package/lib/components/index.mjs.map +1 -1
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/list-items.mjs +5 -2
- package/lib/composables/list-items.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +1 -1
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/iconsets/fa-svg.d.mts +1 -0
- package/lib/iconsets/fa.d.mts +1 -0
- package/lib/iconsets/fa.mjs +2 -1
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.d.mts +1 -0
- package/lib/iconsets/fa4.mjs +2 -1
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.d.mts +1 -0
- package/lib/iconsets/md.mjs +2 -1
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.d.mts +1 -0
- package/lib/iconsets/mdi-svg.mjs +2 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.d.mts +1 -0
- package/lib/iconsets/mdi.mjs +2 -1
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.mts +45 -30
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +16 -12
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/headers.mjs +2 -5
- package/lib/labs/VDataTable/composables/headers.mjs.map +1 -1
- package/lib/labs/VDateInput/VDateInput.mjs +127 -0
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -0
- package/lib/labs/VDateInput/VDateInput.sass +11 -0
- package/lib/labs/VDateInput/VDateRangeInput.mjs +223 -0
- package/lib/labs/VDateInput/VDateRangeInput.mjs.map +1 -0
- package/lib/labs/VDateInput/VDateRangeInput.sass +10 -0
- package/lib/labs/VDateInput/composables.mjs +59 -0
- package/lib/labs/VDateInput/composables.mjs.map +1 -0
- package/lib/labs/VDateInput/index.d.mts +1352 -0
- package/lib/labs/VDateInput/index.mjs +3 -0
- package/lib/labs/VDateInput/index.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDateCard.css +33 -0
- package/lib/labs/VDatePicker/VDateCard.mjs +112 -0
- package/lib/labs/VDatePicker/VDateCard.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDateCard.sass +32 -0
- package/lib/labs/VDatePicker/VDatePicker.css +23 -0
- package/lib/labs/VDatePicker/VDatePicker.mjs +172 -0
- package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDatePicker.sass +23 -0
- package/lib/labs/VDatePicker/VDatePickerControls.css +15 -0
- package/lib/labs/VDatePicker/VDatePickerControls.mjs +80 -0
- package/lib/labs/VDatePicker/VDatePickerControls.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDatePickerControls.sass +15 -0
- package/lib/labs/VDatePicker/VDatePickerHeader.css +54 -0
- package/lib/labs/VDatePicker/VDatePickerHeader.mjs +75 -0
- package/lib/labs/VDatePicker/VDatePickerHeader.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDatePickerHeader.sass +51 -0
- package/lib/labs/VDatePicker/VDatePickerInput.sass +17 -0
- package/lib/labs/VDatePicker/VDatePickerMonth.css +77 -0
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs +286 -0
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDatePickerMonth.sass +69 -0
- package/lib/{components → labs}/VDatePicker/VDatePickerTitle.mjs +1 -1
- package/lib/labs/VDatePicker/VDatePickerTitle.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDatePickerYears.css +18 -0
- package/lib/labs/VDatePicker/VDatePickerYears.mjs +64 -0
- package/lib/labs/VDatePicker/VDatePickerYears.mjs.map +1 -0
- package/lib/labs/VDatePicker/VDatePickerYears.sass +16 -0
- package/lib/labs/VDatePicker/composables.mjs +33 -0
- package/lib/labs/VDatePicker/composables.mjs.map +1 -0
- package/lib/labs/VDatePicker/index.d.mts +4430 -0
- package/lib/labs/VDatePicker/index.mjs +7 -0
- package/lib/labs/VDatePicker/index.mjs.map +1 -0
- package/lib/labs/VDatePicker/mixins/date-picker-table.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/eventHelpers.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/index.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/isDateAllowed.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/monthChange.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/pad.mjs.map +1 -0
- package/lib/labs/VDatePicker/util/sanitizeDateString.mjs.map +1 -0
- package/lib/labs/VDatePicker/utils.mjs +69 -0
- package/lib/labs/VDatePicker/utils.mjs.map +1 -0
- package/lib/labs/VDateRangePicker/VDateRangeCard.mjs +87 -0
- package/lib/labs/VDateRangePicker/VDateRangeCard.mjs.map +1 -0
- package/lib/labs/VDateRangePicker/VDateRangeCard.sass +33 -0
- package/lib/labs/VDateRangePicker/VDateRangePicker.mjs +131 -0
- package/lib/labs/VDateRangePicker/VDateRangePicker.mjs.map +1 -0
- package/lib/labs/VDateRangePicker/VDateRangePicker.sass +21 -0
- package/lib/labs/VDateRangePicker/VDateRangePickerHeader.mjs +103 -0
- package/lib/labs/VDateRangePicker/VDateRangePickerHeader.mjs.map +1 -0
- package/lib/labs/VDateRangePicker/VDateRangePickerHeader.sass +39 -0
- package/lib/labs/VDateRangePicker/VDateRangePickerMonth.mjs +61 -0
- package/lib/labs/VDateRangePicker/VDateRangePickerMonth.mjs.map +1 -0
- package/lib/labs/VDateRangePicker/VDateRangePickerMonth.sass +12 -0
- package/lib/labs/VDateRangePicker/index.d.mts +1065 -0
- package/lib/labs/VDateRangePicker/index.mjs +3 -0
- package/lib/labs/VDateRangePicker/index.mjs.map +1 -0
- package/lib/labs/VPicker/VPicker.css +57 -0
- package/lib/labs/VPicker/VPicker.mjs +47 -0
- package/lib/labs/VPicker/VPicker.mjs.map +1 -0
- package/lib/labs/VPicker/VPicker.sass +53 -0
- package/lib/labs/VPicker/VPickerTitle.mjs +4 -0
- package/lib/labs/VPicker/VPickerTitle.mjs.map +1 -0
- package/lib/labs/VPicker/index.d.mts +541 -0
- package/lib/labs/VPicker/index.mjs +3 -0
- package/lib/labs/VPicker/index.mjs.map +1 -0
- package/lib/labs/components.d.mts +5136 -198
- package/lib/labs/components.mjs +2 -0
- package/lib/labs/components.mjs.map +1 -1
- package/lib/labs/date/DateAdapter.mjs.map +1 -1
- package/lib/labs/date/adapters/vuetify.d.mts +28 -25
- package/lib/labs/date/adapters/vuetify.mjs +65 -75
- package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
- package/lib/labs/date/date.mjs +82 -11
- package/lib/labs/date/date.mjs.map +1 -1
- package/lib/labs/date/index.d.mts +31 -30
- package/lib/locale/af.mjs +14 -5
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/ar.mjs +14 -5
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/az.mjs +14 -5
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +14 -5
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +14 -5
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +14 -5
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +14 -5
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +14 -5
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/de.mjs +14 -5
- package/lib/locale/de.mjs.map +1 -1
- package/lib/locale/el.mjs +14 -5
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/en.mjs +14 -5
- package/lib/locale/en.mjs.map +1 -1
- package/lib/locale/es.mjs +14 -5
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +14 -5
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +14 -5
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +14 -5
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +14 -5
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +14 -5
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +14 -5
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +14 -5
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +14 -5
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/index.d.mts +588 -210
- package/lib/locale/it.mjs +14 -5
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +14 -5
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/ko.mjs +14 -5
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +14 -5
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +14 -5
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +14 -5
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +14 -5
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +14 -5
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +14 -5
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +14 -5
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +14 -5
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +14 -5
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +14 -5
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +14 -5
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +14 -5
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +14 -5
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +14 -5
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +14 -5
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +14 -5
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +14 -5
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +14 -5
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +14 -5
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/util/dateTimeUtils.mjs +68 -0
- package/lib/util/dateTimeUtils.mjs.map +1 -1
- package/package.json +5 -2
- package/lib/components/VDatePicker/VDatePicker.mjs +0 -475
- package/lib/components/VDatePicker/VDatePicker.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs +0 -120
- package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +0 -136
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerHeader.sass +0 -46
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +0 -48
- package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs +0 -84
- package/lib/components/VDatePicker/VDatePickerYears.mjs.map +0 -1
- package/lib/components/VDatePicker/VDatePickerYears.sass +0 -30
- package/lib/components/VDatePicker/index.mjs +0 -18
- package/lib/components/VDatePicker/index.mjs.map +0 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +0 -1
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
- package/lib/components/VDatePicker/util/index.mjs.map +0 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
- package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
- package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
- package/lib/components/VPicker/VPicker.mjs +0 -86
- package/lib/components/VPicker/VPicker.mjs.map +0 -1
- package/lib/components/VPicker/VPicker.sass +0 -94
- package/lib/components/VPicker/index.mjs +0 -4
- package/lib/components/VPicker/index.mjs.map +0 -1
- /package/lib/{components → labs}/VDatePicker/VDatePickerTable.sass +0 -0
- /package/lib/{components → labs}/VDatePicker/VDatePickerTitle.sass +0 -0
- /package/lib/{components → labs}/VDatePicker/_variables.scss +0 -0
- /package/lib/{components → labs}/VDatePicker/mixins/date-picker-table.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/eventHelpers.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/index.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/isDateAllowed.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/monthChange.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/pad.mjs +0 -0
- /package/lib/{components → labs}/VDatePicker/util/sanitizeDateString.mjs +0 -0
- /package/lib/{components → labs}/VPicker/_variables.scss +0 -0
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.
|
|
2
|
+
* Vuetify v3.3.4
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1639,12 +1639,21 @@ var en = {
|
|
|
1639
1639
|
lastPage: 'Last page',
|
|
1640
1640
|
pageText: '{0}-{1} of {2}'
|
|
1641
1641
|
},
|
|
1642
|
+
dateRangeInput: {
|
|
1643
|
+
divider: 'to'
|
|
1644
|
+
},
|
|
1642
1645
|
datePicker: {
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1646
|
+
ok: 'OK',
|
|
1647
|
+
cancel: 'Cancel',
|
|
1648
|
+
range: {
|
|
1649
|
+
title: 'Select dates',
|
|
1650
|
+
header: 'Enter dates'
|
|
1651
|
+
},
|
|
1652
|
+
title: 'Select date',
|
|
1653
|
+
header: 'Enter date',
|
|
1654
|
+
input: {
|
|
1655
|
+
placeholder: 'Enter date'
|
|
1656
|
+
}
|
|
1648
1657
|
},
|
|
1649
1658
|
noDataText: 'No data available',
|
|
1650
1659
|
carousel: {
|
|
@@ -3627,7 +3636,7 @@ const VAppBar = genericComponent()({
|
|
|
3627
3636
|
const extensionHeight = vToolbarRef.value?.extensionHeight ?? 0;
|
|
3628
3637
|
return height + extensionHeight;
|
|
3629
3638
|
});
|
|
3630
|
-
|
|
3639
|
+
watchEffect(() => {
|
|
3631
3640
|
if (scrollBehavior.value.hide) {
|
|
3632
3641
|
if (scrollBehavior.value.inverted) {
|
|
3633
3642
|
isActive.value = currentScroll.value > scrollThreshold.value;
|
|
@@ -3637,12 +3646,6 @@ const VAppBar = genericComponent()({
|
|
|
3637
3646
|
} else {
|
|
3638
3647
|
isActive.value = true;
|
|
3639
3648
|
}
|
|
3640
|
-
}
|
|
3641
|
-
useToggleScope(() => !!props.scrollBehavior, () => {
|
|
3642
|
-
watch(currentScroll, setActive, {
|
|
3643
|
-
immediate: true
|
|
3644
|
-
});
|
|
3645
|
-
watch(scrollBehavior, setActive);
|
|
3646
3649
|
});
|
|
3647
3650
|
const {
|
|
3648
3651
|
ssrBootStyles
|
|
@@ -4097,7 +4100,8 @@ const aliases = {
|
|
|
4097
4100
|
unfold: 'mdi-unfold-more-horizontal',
|
|
4098
4101
|
file: 'mdi-paperclip',
|
|
4099
4102
|
plus: 'mdi-plus',
|
|
4100
|
-
minus: 'mdi-minus'
|
|
4103
|
+
minus: 'mdi-minus',
|
|
4104
|
+
calendar: 'mdi-calendar'
|
|
4101
4105
|
};
|
|
4102
4106
|
const mdi = {
|
|
4103
4107
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
@@ -7307,7 +7311,7 @@ const useNested = props => {
|
|
|
7307
7311
|
const useNestedItem = (id, isGroup) => {
|
|
7308
7312
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
|
7309
7313
|
const uidSymbol = Symbol(getUid());
|
|
7310
|
-
const computedId = computed(() => id.value
|
|
7314
|
+
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
|
7311
7315
|
const item = {
|
|
7312
7316
|
...parent,
|
|
7313
7317
|
id: computedId,
|
|
@@ -7507,7 +7511,7 @@ const VListItem = genericComponent()({
|
|
|
7507
7511
|
emit
|
|
7508
7512
|
} = _ref;
|
|
7509
7513
|
const link = useLink(props, attrs);
|
|
7510
|
-
const id = computed(() => props.value
|
|
7514
|
+
const id = computed(() => props.value === undefined ? link.href.value : props.value);
|
|
7511
7515
|
const {
|
|
7512
7516
|
select,
|
|
7513
7517
|
isSelected,
|
|
@@ -7904,10 +7908,13 @@ function useItems(props) {
|
|
|
7904
7908
|
}
|
|
7905
7909
|
function useTransformItems(items, transform) {
|
|
7906
7910
|
function transformIn(value) {
|
|
7907
|
-
return value
|
|
7911
|
+
return value
|
|
7912
|
+
// When the model value is null, returns an InternalItem based on null
|
|
7913
|
+
// only if null is one of the items
|
|
7914
|
+
.filter(v => v !== null || items.value.some(item => item.value === null)).map(v => {
|
|
7908
7915
|
const existingItem = items.value.find(item => deepEqual(v, item.value));
|
|
7909
7916
|
// Nullish existingItem means value is a custom input value from combobox
|
|
7910
|
-
// In this case, use transformItem to create an
|
|
7917
|
+
// In this case, use transformItem to create an InternalItem based on value
|
|
7911
7918
|
return existingItem ?? transform(v);
|
|
7912
7919
|
});
|
|
7913
7920
|
}
|
|
@@ -10437,7 +10444,7 @@ const VSelect = genericComponent()({
|
|
|
10437
10444
|
transformIn,
|
|
10438
10445
|
transformOut
|
|
10439
10446
|
} = useItems(props);
|
|
10440
|
-
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
|
|
10447
|
+
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
|
|
10441
10448
|
const transformed = transformOut(v);
|
|
10442
10449
|
return props.multiple ? transformed : transformed[0] ?? null;
|
|
10443
10450
|
});
|
|
@@ -10862,7 +10869,7 @@ const VAutocomplete = genericComponent()({
|
|
|
10862
10869
|
textColorStyles
|
|
10863
10870
|
} = useTextColor(color);
|
|
10864
10871
|
const search = useProxiedModel(props, 'search', '');
|
|
10865
|
-
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
|
|
10872
|
+
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
|
|
10866
10873
|
const transformed = transformOut(v);
|
|
10867
10874
|
return props.multiple ? transformed : transformed[0] ?? null;
|
|
10868
10875
|
});
|
|
@@ -15189,8 +15196,6 @@ const VFileInput = genericComponent()({
|
|
|
15189
15196
|
"modelValue": model.value,
|
|
15190
15197
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
15191
15198
|
"class": ['v-file-input', {
|
|
15192
|
-
'v-file-input--chips': !!props.chips,
|
|
15193
|
-
'v-file-input--selection-slot': !!slots.selection,
|
|
15194
15199
|
'v-text-field--plain-underlined': isPlainOrUnderlined.value
|
|
15195
15200
|
}, props.class],
|
|
15196
15201
|
"style": props.style,
|
|
@@ -18187,8 +18192,8 @@ const VTab = genericComponent()({
|
|
|
18187
18192
|
const initialScale = prevBox[widthHeight] / nextBox[widthHeight];
|
|
18188
18193
|
const sigma = 1.5;
|
|
18189
18194
|
animate(nextEl, {
|
|
18190
|
-
backgroundColor: [color, ''],
|
|
18191
|
-
transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, ''],
|
|
18195
|
+
backgroundColor: [color, 'currentcolor'],
|
|
18196
|
+
transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, 'none'],
|
|
18192
18197
|
transformOrigin: Array(3).fill(origin)
|
|
18193
18198
|
}, {
|
|
18194
18199
|
duration: 225,
|
|
@@ -19473,47 +19478,6 @@ var directives = /*#__PURE__*/Object.freeze({
|
|
|
19473
19478
|
|
|
19474
19479
|
// Types
|
|
19475
19480
|
|
|
19476
|
-
function getWeekArray(date) {
|
|
19477
|
-
let currentWeek = [];
|
|
19478
|
-
const weeks = [];
|
|
19479
|
-
const firstDayOfMonth = startOfMonth(date);
|
|
19480
|
-
const lastDayOfMonth = endOfMonth(date);
|
|
19481
|
-
for (let i = 0; i < firstDayOfMonth.getDay(); i++) {
|
|
19482
|
-
currentWeek.push(null);
|
|
19483
|
-
}
|
|
19484
|
-
for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
|
|
19485
|
-
const day = new Date(date.getFullYear(), date.getMonth(), i);
|
|
19486
|
-
|
|
19487
|
-
// Add the day to the current week
|
|
19488
|
-
currentWeek.push(day);
|
|
19489
|
-
|
|
19490
|
-
// If the current week has 7 days, add it to the weeks array and start a new week
|
|
19491
|
-
if (currentWeek.length === 7) {
|
|
19492
|
-
weeks.push(currentWeek);
|
|
19493
|
-
currentWeek = [];
|
|
19494
|
-
}
|
|
19495
|
-
}
|
|
19496
|
-
for (let i = currentWeek.length; i < 7; i++) {
|
|
19497
|
-
currentWeek.push(null);
|
|
19498
|
-
}
|
|
19499
|
-
weeks.push(currentWeek);
|
|
19500
|
-
return weeks;
|
|
19501
|
-
}
|
|
19502
|
-
function startOfMonth(date) {
|
|
19503
|
-
return new Date(date.getFullYear(), date.getMonth(), 1);
|
|
19504
|
-
}
|
|
19505
|
-
function endOfMonth(date) {
|
|
19506
|
-
return new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
19507
|
-
}
|
|
19508
|
-
function date(value) {
|
|
19509
|
-
if (value == null) return null;
|
|
19510
|
-
if (value instanceof Date) return value;
|
|
19511
|
-
if (typeof value === 'string') {
|
|
19512
|
-
const parsed = Date.parse(value);
|
|
19513
|
-
if (!isNaN(parsed)) return new Date(parsed);
|
|
19514
|
-
}
|
|
19515
|
-
return null;
|
|
19516
|
-
}
|
|
19517
19481
|
const firstDay = {
|
|
19518
19482
|
'001': 1,
|
|
19519
19483
|
AD: 1,
|
|
@@ -19527,7 +19491,7 @@ const firstDay = {
|
|
|
19527
19491
|
AR: 1,
|
|
19528
19492
|
AS: 0,
|
|
19529
19493
|
AT: 1,
|
|
19530
|
-
AU:
|
|
19494
|
+
AU: 1,
|
|
19531
19495
|
AX: 1,
|
|
19532
19496
|
AZ: 1,
|
|
19533
19497
|
BA: 1,
|
|
@@ -19547,7 +19511,7 @@ const firstDay = {
|
|
|
19547
19511
|
CH: 1,
|
|
19548
19512
|
CL: 1,
|
|
19549
19513
|
CM: 1,
|
|
19550
|
-
CN:
|
|
19514
|
+
CN: 1,
|
|
19551
19515
|
CO: 0,
|
|
19552
19516
|
CR: 1,
|
|
19553
19517
|
CY: 1,
|
|
@@ -19667,6 +19631,53 @@ const firstDay = {
|
|
|
19667
19631
|
ZA: 0,
|
|
19668
19632
|
ZW: 0
|
|
19669
19633
|
};
|
|
19634
|
+
function getWeekArray(date, locale) {
|
|
19635
|
+
const weeks = [];
|
|
19636
|
+
let currentWeek = [];
|
|
19637
|
+
const firstDayOfMonth = startOfMonth(date);
|
|
19638
|
+
const lastDayOfMonth = endOfMonth(date);
|
|
19639
|
+
const firstDayWeekIndex = firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
19640
|
+
const lastDayWeekIndex = lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
19641
|
+
for (let i = 0; i < firstDayWeekIndex; i++) {
|
|
19642
|
+
const adjacentDay = new Date(firstDayOfMonth);
|
|
19643
|
+
adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
|
|
19644
|
+
currentWeek.push(adjacentDay);
|
|
19645
|
+
}
|
|
19646
|
+
for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
|
|
19647
|
+
const day = new Date(date.getFullYear(), date.getMonth(), i);
|
|
19648
|
+
|
|
19649
|
+
// Add the day to the current week
|
|
19650
|
+
currentWeek.push(day);
|
|
19651
|
+
|
|
19652
|
+
// If the current week has 7 days, add it to the weeks array and start a new week
|
|
19653
|
+
if (currentWeek.length === 7) {
|
|
19654
|
+
weeks.push(currentWeek);
|
|
19655
|
+
currentWeek = [];
|
|
19656
|
+
}
|
|
19657
|
+
}
|
|
19658
|
+
for (let i = 1; i < 7 - lastDayWeekIndex; i++) {
|
|
19659
|
+
const adjacentDay = new Date(lastDayOfMonth);
|
|
19660
|
+
adjacentDay.setDate(adjacentDay.getDate() + i);
|
|
19661
|
+
currentWeek.push(adjacentDay);
|
|
19662
|
+
}
|
|
19663
|
+
weeks.push(currentWeek);
|
|
19664
|
+
return weeks;
|
|
19665
|
+
}
|
|
19666
|
+
function startOfMonth(date) {
|
|
19667
|
+
return new Date(date.getFullYear(), date.getMonth(), 1);
|
|
19668
|
+
}
|
|
19669
|
+
function endOfMonth(date) {
|
|
19670
|
+
return new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
19671
|
+
}
|
|
19672
|
+
function date(value) {
|
|
19673
|
+
if (value == null) return new Date();
|
|
19674
|
+
if (value instanceof Date) return value;
|
|
19675
|
+
if (typeof value === 'string') {
|
|
19676
|
+
const parsed = Date.parse(value);
|
|
19677
|
+
if (!isNaN(parsed)) return new Date(parsed);
|
|
19678
|
+
}
|
|
19679
|
+
return null;
|
|
19680
|
+
}
|
|
19670
19681
|
const sundayJanuarySecond2000 = new Date(2000, 0, 2);
|
|
19671
19682
|
function getWeekdays(locale) {
|
|
19672
19683
|
const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
|
|
@@ -19674,7 +19685,7 @@ function getWeekdays(locale) {
|
|
|
19674
19685
|
const weekday = new Date(sundayJanuarySecond2000);
|
|
19675
19686
|
weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
|
|
19676
19687
|
return new Intl.DateTimeFormat(locale, {
|
|
19677
|
-
weekday: '
|
|
19688
|
+
weekday: 'short'
|
|
19678
19689
|
}).format(weekday);
|
|
19679
19690
|
});
|
|
19680
19691
|
}
|
|
@@ -19694,8 +19705,7 @@ function format(value, formatString, locale) {
|
|
|
19694
19705
|
options = {
|
|
19695
19706
|
weekday: 'short',
|
|
19696
19707
|
day: 'numeric',
|
|
19697
|
-
month: 'short'
|
|
19698
|
-
year: 'numeric'
|
|
19708
|
+
month: 'short'
|
|
19699
19709
|
};
|
|
19700
19710
|
break;
|
|
19701
19711
|
case 'keyboardDate':
|
|
@@ -19713,6 +19723,11 @@ function format(value, formatString, locale) {
|
|
|
19713
19723
|
year: 'numeric'
|
|
19714
19724
|
};
|
|
19715
19725
|
break;
|
|
19726
|
+
case 'dayOfMonth':
|
|
19727
|
+
options = {
|
|
19728
|
+
day: 'numeric'
|
|
19729
|
+
};
|
|
19730
|
+
break;
|
|
19716
19731
|
default:
|
|
19717
19732
|
options = {
|
|
19718
19733
|
timeZone: 'UTC',
|
|
@@ -19743,28 +19758,6 @@ function startOfYear(date) {
|
|
|
19743
19758
|
function endOfYear(date) {
|
|
19744
19759
|
return new Date(date.getFullYear(), 11, 31);
|
|
19745
19760
|
}
|
|
19746
|
-
function getMondayOfFirstWeekOfYear(year) {
|
|
19747
|
-
return new Date(year, 0, 1);
|
|
19748
|
-
}
|
|
19749
|
-
|
|
19750
|
-
// https://stackoverflow.com/questions/274861/how-do-i-calculate-the-week-number-given-a-date/275024#275024
|
|
19751
|
-
function getWeek(date) {
|
|
19752
|
-
let year = date.getFullYear();
|
|
19753
|
-
let d1w1 = getMondayOfFirstWeekOfYear(year);
|
|
19754
|
-
if (date < d1w1) {
|
|
19755
|
-
year = year - 1;
|
|
19756
|
-
d1w1 = getMondayOfFirstWeekOfYear(year);
|
|
19757
|
-
} else {
|
|
19758
|
-
const tv = getMondayOfFirstWeekOfYear(year + 1);
|
|
19759
|
-
if (date >= tv) {
|
|
19760
|
-
year = year + 1;
|
|
19761
|
-
d1w1 = tv;
|
|
19762
|
-
}
|
|
19763
|
-
}
|
|
19764
|
-
const diffTime = Math.abs(date.getTime() - d1w1.getTime());
|
|
19765
|
-
const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
19766
|
-
return Math.floor(diffDays / 7) + 1;
|
|
19767
|
-
}
|
|
19768
19761
|
function isWithinRange(date, range) {
|
|
19769
19762
|
return isAfter(date, range[0]) && isBefore(date, range[1]);
|
|
19770
19763
|
}
|
|
@@ -19801,13 +19794,15 @@ function setYear(date, year) {
|
|
|
19801
19794
|
return d;
|
|
19802
19795
|
}
|
|
19803
19796
|
class VuetifyDateAdapter {
|
|
19804
|
-
constructor() {
|
|
19805
|
-
|
|
19806
|
-
this.locale = locale;
|
|
19797
|
+
constructor(options) {
|
|
19798
|
+
this.locale = options.locale;
|
|
19807
19799
|
}
|
|
19808
19800
|
date(value) {
|
|
19809
19801
|
return date(value);
|
|
19810
19802
|
}
|
|
19803
|
+
toJsDate(date) {
|
|
19804
|
+
return date;
|
|
19805
|
+
}
|
|
19811
19806
|
addDays(date, amount) {
|
|
19812
19807
|
return addDays(date, amount);
|
|
19813
19808
|
}
|
|
@@ -19815,7 +19810,7 @@ class VuetifyDateAdapter {
|
|
|
19815
19810
|
return addMonths(date, amount);
|
|
19816
19811
|
}
|
|
19817
19812
|
getWeekArray(date) {
|
|
19818
|
-
return getWeekArray(date);
|
|
19813
|
+
return getWeekArray(date, this.locale);
|
|
19819
19814
|
}
|
|
19820
19815
|
startOfMonth(date) {
|
|
19821
19816
|
return startOfMonth(date);
|
|
@@ -19838,6 +19833,9 @@ class VuetifyDateAdapter {
|
|
|
19838
19833
|
isAfter(date, comparing) {
|
|
19839
19834
|
return isAfter(date, comparing);
|
|
19840
19835
|
}
|
|
19836
|
+
isBefore(date, comparing) {
|
|
19837
|
+
return !isAfter(date, comparing) && !isEqual(date, comparing);
|
|
19838
|
+
}
|
|
19841
19839
|
isSameDay(date, comparing) {
|
|
19842
19840
|
return isSameDay(date, comparing);
|
|
19843
19841
|
}
|
|
@@ -19850,9 +19848,6 @@ class VuetifyDateAdapter {
|
|
|
19850
19848
|
getDiff(date, comparing, unit) {
|
|
19851
19849
|
return getDiff(date, comparing, unit);
|
|
19852
19850
|
}
|
|
19853
|
-
getWeek(date) {
|
|
19854
|
-
return getWeek(date);
|
|
19855
|
-
}
|
|
19856
19851
|
getWeekdays() {
|
|
19857
19852
|
return getWeekdays(this.locale);
|
|
19858
19853
|
}
|
|
@@ -19876,9 +19871,52 @@ class VuetifyDateAdapter {
|
|
|
19876
19871
|
|
|
19877
19872
|
const DateAdapterSymbol = Symbol.for('vuetify:date-adapter');
|
|
19878
19873
|
function createDate(options) {
|
|
19879
|
-
return
|
|
19880
|
-
adapter: VuetifyDateAdapter
|
|
19881
|
-
|
|
19874
|
+
return mergeDeep({
|
|
19875
|
+
adapter: VuetifyDateAdapter,
|
|
19876
|
+
locale: {
|
|
19877
|
+
af: 'af-ZA',
|
|
19878
|
+
// ar: '', # not the same value for all variants
|
|
19879
|
+
bg: 'bg-BG',
|
|
19880
|
+
ca: 'ca-ES',
|
|
19881
|
+
ckb: '',
|
|
19882
|
+
cs: '',
|
|
19883
|
+
de: 'de-DE',
|
|
19884
|
+
el: 'el-GR',
|
|
19885
|
+
en: 'en-US',
|
|
19886
|
+
// es: '', # not the same value for all variants
|
|
19887
|
+
et: 'et-EE',
|
|
19888
|
+
fa: 'fa-IR',
|
|
19889
|
+
fi: 'fi-FI',
|
|
19890
|
+
// fr: '', #not the same value for all variants
|
|
19891
|
+
hr: 'hr-HR',
|
|
19892
|
+
hu: 'hu-HU',
|
|
19893
|
+
he: 'he-IL',
|
|
19894
|
+
id: 'id-ID',
|
|
19895
|
+
it: 'it-IT',
|
|
19896
|
+
ja: 'ja-JP',
|
|
19897
|
+
ko: 'ko-KR',
|
|
19898
|
+
lv: 'lv-LV',
|
|
19899
|
+
lt: 'lt-LT',
|
|
19900
|
+
nl: 'nl-NL',
|
|
19901
|
+
no: 'nn-NO',
|
|
19902
|
+
pl: 'pl-PL',
|
|
19903
|
+
pt: 'pt-PT',
|
|
19904
|
+
ro: 'ro-RO',
|
|
19905
|
+
ru: 'ru-RU',
|
|
19906
|
+
sk: 'sk-SK',
|
|
19907
|
+
sl: 'sl-SI',
|
|
19908
|
+
srCyrl: 'sr-SP',
|
|
19909
|
+
srLatn: 'sr-SP',
|
|
19910
|
+
sv: 'sv-SE',
|
|
19911
|
+
th: 'th-TH',
|
|
19912
|
+
tr: 'tr-TR',
|
|
19913
|
+
az: 'az-AZ',
|
|
19914
|
+
uk: 'uk-UA',
|
|
19915
|
+
vi: 'vi-VN',
|
|
19916
|
+
zhHans: 'zh-CN',
|
|
19917
|
+
zhHant: 'zh-TW'
|
|
19918
|
+
}
|
|
19919
|
+
}, options);
|
|
19882
19920
|
}
|
|
19883
19921
|
|
|
19884
19922
|
// Composables
|
|
@@ -19966,7 +20004,7 @@ function createVuetify$1() {
|
|
|
19966
20004
|
date
|
|
19967
20005
|
};
|
|
19968
20006
|
}
|
|
19969
|
-
const version$1 = "3.3.
|
|
20007
|
+
const version$1 = "3.3.4";
|
|
19970
20008
|
createVuetify$1.version = version$1;
|
|
19971
20009
|
|
|
19972
20010
|
// Vue's inject() can only be used in setup
|
|
@@ -19991,7 +20029,7 @@ const createVuetify = function () {
|
|
|
19991
20029
|
...options
|
|
19992
20030
|
});
|
|
19993
20031
|
};
|
|
19994
|
-
const version = "3.3.
|
|
20032
|
+
const version = "3.3.4";
|
|
19995
20033
|
createVuetify.version = version;
|
|
19996
20034
|
|
|
19997
20035
|
export { components, createVuetify, directives, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|