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.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
|
*/
|
|
@@ -1643,12 +1643,21 @@
|
|
|
1643
1643
|
lastPage: 'Last page',
|
|
1644
1644
|
pageText: '{0}-{1} of {2}'
|
|
1645
1645
|
},
|
|
1646
|
+
dateRangeInput: {
|
|
1647
|
+
divider: 'to'
|
|
1648
|
+
},
|
|
1646
1649
|
datePicker: {
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1650
|
+
ok: 'OK',
|
|
1651
|
+
cancel: 'Cancel',
|
|
1652
|
+
range: {
|
|
1653
|
+
title: 'Select dates',
|
|
1654
|
+
header: 'Enter dates'
|
|
1655
|
+
},
|
|
1656
|
+
title: 'Select date',
|
|
1657
|
+
header: 'Enter date',
|
|
1658
|
+
input: {
|
|
1659
|
+
placeholder: 'Enter date'
|
|
1660
|
+
}
|
|
1652
1661
|
},
|
|
1653
1662
|
noDataText: 'No data available',
|
|
1654
1663
|
carousel: {
|
|
@@ -3631,7 +3640,7 @@
|
|
|
3631
3640
|
const extensionHeight = vToolbarRef.value?.extensionHeight ?? 0;
|
|
3632
3641
|
return height + extensionHeight;
|
|
3633
3642
|
});
|
|
3634
|
-
|
|
3643
|
+
vue.watchEffect(() => {
|
|
3635
3644
|
if (scrollBehavior.value.hide) {
|
|
3636
3645
|
if (scrollBehavior.value.inverted) {
|
|
3637
3646
|
isActive.value = currentScroll.value > scrollThreshold.value;
|
|
@@ -3641,12 +3650,6 @@
|
|
|
3641
3650
|
} else {
|
|
3642
3651
|
isActive.value = true;
|
|
3643
3652
|
}
|
|
3644
|
-
}
|
|
3645
|
-
useToggleScope(() => !!props.scrollBehavior, () => {
|
|
3646
|
-
vue.watch(currentScroll, setActive, {
|
|
3647
|
-
immediate: true
|
|
3648
|
-
});
|
|
3649
|
-
vue.watch(scrollBehavior, setActive);
|
|
3650
3653
|
});
|
|
3651
3654
|
const {
|
|
3652
3655
|
ssrBootStyles
|
|
@@ -4101,7 +4104,8 @@
|
|
|
4101
4104
|
unfold: 'mdi-unfold-more-horizontal',
|
|
4102
4105
|
file: 'mdi-paperclip',
|
|
4103
4106
|
plus: 'mdi-plus',
|
|
4104
|
-
minus: 'mdi-minus'
|
|
4107
|
+
minus: 'mdi-minus',
|
|
4108
|
+
calendar: 'mdi-calendar'
|
|
4105
4109
|
};
|
|
4106
4110
|
const mdi = {
|
|
4107
4111
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
@@ -7311,7 +7315,7 @@
|
|
|
7311
7315
|
const useNestedItem = (id, isGroup) => {
|
|
7312
7316
|
const parent = vue.inject(VNestedSymbol, emptyNested);
|
|
7313
7317
|
const uidSymbol = Symbol(getUid());
|
|
7314
|
-
const computedId = vue.computed(() => id.value
|
|
7318
|
+
const computedId = vue.computed(() => id.value !== undefined ? id.value : uidSymbol);
|
|
7315
7319
|
const item = {
|
|
7316
7320
|
...parent,
|
|
7317
7321
|
id: computedId,
|
|
@@ -7511,7 +7515,7 @@
|
|
|
7511
7515
|
emit
|
|
7512
7516
|
} = _ref;
|
|
7513
7517
|
const link = useLink(props, attrs);
|
|
7514
|
-
const id = vue.computed(() => props.value
|
|
7518
|
+
const id = vue.computed(() => props.value === undefined ? link.href.value : props.value);
|
|
7515
7519
|
const {
|
|
7516
7520
|
select,
|
|
7517
7521
|
isSelected,
|
|
@@ -7908,10 +7912,13 @@
|
|
|
7908
7912
|
}
|
|
7909
7913
|
function useTransformItems(items, transform) {
|
|
7910
7914
|
function transformIn(value) {
|
|
7911
|
-
return value
|
|
7915
|
+
return value
|
|
7916
|
+
// When the model value is null, returns an InternalItem based on null
|
|
7917
|
+
// only if null is one of the items
|
|
7918
|
+
.filter(v => v !== null || items.value.some(item => item.value === null)).map(v => {
|
|
7912
7919
|
const existingItem = items.value.find(item => deepEqual(v, item.value));
|
|
7913
7920
|
// Nullish existingItem means value is a custom input value from combobox
|
|
7914
|
-
// In this case, use transformItem to create an
|
|
7921
|
+
// In this case, use transformItem to create an InternalItem based on value
|
|
7915
7922
|
return existingItem ?? transform(v);
|
|
7916
7923
|
});
|
|
7917
7924
|
}
|
|
@@ -10441,7 +10448,7 @@
|
|
|
10441
10448
|
transformIn,
|
|
10442
10449
|
transformOut
|
|
10443
10450
|
} = useItems(props);
|
|
10444
|
-
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
|
|
10451
|
+
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
|
|
10445
10452
|
const transformed = transformOut(v);
|
|
10446
10453
|
return props.multiple ? transformed : transformed[0] ?? null;
|
|
10447
10454
|
});
|
|
@@ -10866,7 +10873,7 @@
|
|
|
10866
10873
|
textColorStyles
|
|
10867
10874
|
} = useTextColor(color);
|
|
10868
10875
|
const search = useProxiedModel(props, 'search', '');
|
|
10869
|
-
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(wrapInArray(v)), v => {
|
|
10876
|
+
const model = useProxiedModel(props, 'modelValue', [], v => transformIn(v === null ? [null] : wrapInArray(v)), v => {
|
|
10870
10877
|
const transformed = transformOut(v);
|
|
10871
10878
|
return props.multiple ? transformed : transformed[0] ?? null;
|
|
10872
10879
|
});
|
|
@@ -15193,8 +15200,6 @@
|
|
|
15193
15200
|
"modelValue": model.value,
|
|
15194
15201
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
15195
15202
|
"class": ['v-file-input', {
|
|
15196
|
-
'v-file-input--chips': !!props.chips,
|
|
15197
|
-
'v-file-input--selection-slot': !!slots.selection,
|
|
15198
15203
|
'v-text-field--plain-underlined': isPlainOrUnderlined.value
|
|
15199
15204
|
}, props.class],
|
|
15200
15205
|
"style": props.style,
|
|
@@ -18191,8 +18196,8 @@
|
|
|
18191
18196
|
const initialScale = prevBox[widthHeight] / nextBox[widthHeight];
|
|
18192
18197
|
const sigma = 1.5;
|
|
18193
18198
|
animate(nextEl, {
|
|
18194
|
-
backgroundColor: [color, ''],
|
|
18195
|
-
transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, ''],
|
|
18199
|
+
backgroundColor: [color, 'currentcolor'],
|
|
18200
|
+
transform: [`translate${XY}(${delta}px) scale${XY}(${initialScale})`, `translate${XY}(${delta / sigma}px) scale${XY}(${(scale - 1) / sigma + 1})`, 'none'],
|
|
18196
18201
|
transformOrigin: Array(3).fill(origin)
|
|
18197
18202
|
}, {
|
|
18198
18203
|
duration: 225,
|
|
@@ -19477,47 +19482,6 @@
|
|
|
19477
19482
|
|
|
19478
19483
|
// Types
|
|
19479
19484
|
|
|
19480
|
-
function getWeekArray(date) {
|
|
19481
|
-
let currentWeek = [];
|
|
19482
|
-
const weeks = [];
|
|
19483
|
-
const firstDayOfMonth = startOfMonth(date);
|
|
19484
|
-
const lastDayOfMonth = endOfMonth(date);
|
|
19485
|
-
for (let i = 0; i < firstDayOfMonth.getDay(); i++) {
|
|
19486
|
-
currentWeek.push(null);
|
|
19487
|
-
}
|
|
19488
|
-
for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
|
|
19489
|
-
const day = new Date(date.getFullYear(), date.getMonth(), i);
|
|
19490
|
-
|
|
19491
|
-
// Add the day to the current week
|
|
19492
|
-
currentWeek.push(day);
|
|
19493
|
-
|
|
19494
|
-
// If the current week has 7 days, add it to the weeks array and start a new week
|
|
19495
|
-
if (currentWeek.length === 7) {
|
|
19496
|
-
weeks.push(currentWeek);
|
|
19497
|
-
currentWeek = [];
|
|
19498
|
-
}
|
|
19499
|
-
}
|
|
19500
|
-
for (let i = currentWeek.length; i < 7; i++) {
|
|
19501
|
-
currentWeek.push(null);
|
|
19502
|
-
}
|
|
19503
|
-
weeks.push(currentWeek);
|
|
19504
|
-
return weeks;
|
|
19505
|
-
}
|
|
19506
|
-
function startOfMonth(date) {
|
|
19507
|
-
return new Date(date.getFullYear(), date.getMonth(), 1);
|
|
19508
|
-
}
|
|
19509
|
-
function endOfMonth(date) {
|
|
19510
|
-
return new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
19511
|
-
}
|
|
19512
|
-
function date(value) {
|
|
19513
|
-
if (value == null) return null;
|
|
19514
|
-
if (value instanceof Date) return value;
|
|
19515
|
-
if (typeof value === 'string') {
|
|
19516
|
-
const parsed = Date.parse(value);
|
|
19517
|
-
if (!isNaN(parsed)) return new Date(parsed);
|
|
19518
|
-
}
|
|
19519
|
-
return null;
|
|
19520
|
-
}
|
|
19521
19485
|
const firstDay = {
|
|
19522
19486
|
'001': 1,
|
|
19523
19487
|
AD: 1,
|
|
@@ -19531,7 +19495,7 @@
|
|
|
19531
19495
|
AR: 1,
|
|
19532
19496
|
AS: 0,
|
|
19533
19497
|
AT: 1,
|
|
19534
|
-
AU:
|
|
19498
|
+
AU: 1,
|
|
19535
19499
|
AX: 1,
|
|
19536
19500
|
AZ: 1,
|
|
19537
19501
|
BA: 1,
|
|
@@ -19551,7 +19515,7 @@
|
|
|
19551
19515
|
CH: 1,
|
|
19552
19516
|
CL: 1,
|
|
19553
19517
|
CM: 1,
|
|
19554
|
-
CN:
|
|
19518
|
+
CN: 1,
|
|
19555
19519
|
CO: 0,
|
|
19556
19520
|
CR: 1,
|
|
19557
19521
|
CY: 1,
|
|
@@ -19671,6 +19635,53 @@
|
|
|
19671
19635
|
ZA: 0,
|
|
19672
19636
|
ZW: 0
|
|
19673
19637
|
};
|
|
19638
|
+
function getWeekArray(date, locale) {
|
|
19639
|
+
const weeks = [];
|
|
19640
|
+
let currentWeek = [];
|
|
19641
|
+
const firstDayOfMonth = startOfMonth(date);
|
|
19642
|
+
const lastDayOfMonth = endOfMonth(date);
|
|
19643
|
+
const firstDayWeekIndex = firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
19644
|
+
const lastDayWeekIndex = lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
19645
|
+
for (let i = 0; i < firstDayWeekIndex; i++) {
|
|
19646
|
+
const adjacentDay = new Date(firstDayOfMonth);
|
|
19647
|
+
adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
|
|
19648
|
+
currentWeek.push(adjacentDay);
|
|
19649
|
+
}
|
|
19650
|
+
for (let i = 1; i <= lastDayOfMonth.getDate(); i++) {
|
|
19651
|
+
const day = new Date(date.getFullYear(), date.getMonth(), i);
|
|
19652
|
+
|
|
19653
|
+
// Add the day to the current week
|
|
19654
|
+
currentWeek.push(day);
|
|
19655
|
+
|
|
19656
|
+
// If the current week has 7 days, add it to the weeks array and start a new week
|
|
19657
|
+
if (currentWeek.length === 7) {
|
|
19658
|
+
weeks.push(currentWeek);
|
|
19659
|
+
currentWeek = [];
|
|
19660
|
+
}
|
|
19661
|
+
}
|
|
19662
|
+
for (let i = 1; i < 7 - lastDayWeekIndex; i++) {
|
|
19663
|
+
const adjacentDay = new Date(lastDayOfMonth);
|
|
19664
|
+
adjacentDay.setDate(adjacentDay.getDate() + i);
|
|
19665
|
+
currentWeek.push(adjacentDay);
|
|
19666
|
+
}
|
|
19667
|
+
weeks.push(currentWeek);
|
|
19668
|
+
return weeks;
|
|
19669
|
+
}
|
|
19670
|
+
function startOfMonth(date) {
|
|
19671
|
+
return new Date(date.getFullYear(), date.getMonth(), 1);
|
|
19672
|
+
}
|
|
19673
|
+
function endOfMonth(date) {
|
|
19674
|
+
return new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
19675
|
+
}
|
|
19676
|
+
function date(value) {
|
|
19677
|
+
if (value == null) return new Date();
|
|
19678
|
+
if (value instanceof Date) return value;
|
|
19679
|
+
if (typeof value === 'string') {
|
|
19680
|
+
const parsed = Date.parse(value);
|
|
19681
|
+
if (!isNaN(parsed)) return new Date(parsed);
|
|
19682
|
+
}
|
|
19683
|
+
return null;
|
|
19684
|
+
}
|
|
19674
19685
|
const sundayJanuarySecond2000 = new Date(2000, 0, 2);
|
|
19675
19686
|
function getWeekdays(locale) {
|
|
19676
19687
|
const daysFromSunday = firstDay[locale.slice(-2).toUpperCase()];
|
|
@@ -19678,7 +19689,7 @@
|
|
|
19678
19689
|
const weekday = new Date(sundayJanuarySecond2000);
|
|
19679
19690
|
weekday.setDate(sundayJanuarySecond2000.getDate() + daysFromSunday + i);
|
|
19680
19691
|
return new Intl.DateTimeFormat(locale, {
|
|
19681
|
-
weekday: '
|
|
19692
|
+
weekday: 'short'
|
|
19682
19693
|
}).format(weekday);
|
|
19683
19694
|
});
|
|
19684
19695
|
}
|
|
@@ -19698,8 +19709,7 @@
|
|
|
19698
19709
|
options = {
|
|
19699
19710
|
weekday: 'short',
|
|
19700
19711
|
day: 'numeric',
|
|
19701
|
-
month: 'short'
|
|
19702
|
-
year: 'numeric'
|
|
19712
|
+
month: 'short'
|
|
19703
19713
|
};
|
|
19704
19714
|
break;
|
|
19705
19715
|
case 'keyboardDate':
|
|
@@ -19717,6 +19727,11 @@
|
|
|
19717
19727
|
year: 'numeric'
|
|
19718
19728
|
};
|
|
19719
19729
|
break;
|
|
19730
|
+
case 'dayOfMonth':
|
|
19731
|
+
options = {
|
|
19732
|
+
day: 'numeric'
|
|
19733
|
+
};
|
|
19734
|
+
break;
|
|
19720
19735
|
default:
|
|
19721
19736
|
options = {
|
|
19722
19737
|
timeZone: 'UTC',
|
|
@@ -19747,28 +19762,6 @@
|
|
|
19747
19762
|
function endOfYear(date) {
|
|
19748
19763
|
return new Date(date.getFullYear(), 11, 31);
|
|
19749
19764
|
}
|
|
19750
|
-
function getMondayOfFirstWeekOfYear(year) {
|
|
19751
|
-
return new Date(year, 0, 1);
|
|
19752
|
-
}
|
|
19753
|
-
|
|
19754
|
-
// https://stackoverflow.com/questions/274861/how-do-i-calculate-the-week-number-given-a-date/275024#275024
|
|
19755
|
-
function getWeek(date) {
|
|
19756
|
-
let year = date.getFullYear();
|
|
19757
|
-
let d1w1 = getMondayOfFirstWeekOfYear(year);
|
|
19758
|
-
if (date < d1w1) {
|
|
19759
|
-
year = year - 1;
|
|
19760
|
-
d1w1 = getMondayOfFirstWeekOfYear(year);
|
|
19761
|
-
} else {
|
|
19762
|
-
const tv = getMondayOfFirstWeekOfYear(year + 1);
|
|
19763
|
-
if (date >= tv) {
|
|
19764
|
-
year = year + 1;
|
|
19765
|
-
d1w1 = tv;
|
|
19766
|
-
}
|
|
19767
|
-
}
|
|
19768
|
-
const diffTime = Math.abs(date.getTime() - d1w1.getTime());
|
|
19769
|
-
const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
19770
|
-
return Math.floor(diffDays / 7) + 1;
|
|
19771
|
-
}
|
|
19772
19765
|
function isWithinRange(date, range) {
|
|
19773
19766
|
return isAfter(date, range[0]) && isBefore(date, range[1]);
|
|
19774
19767
|
}
|
|
@@ -19805,13 +19798,15 @@
|
|
|
19805
19798
|
return d;
|
|
19806
19799
|
}
|
|
19807
19800
|
class VuetifyDateAdapter {
|
|
19808
|
-
constructor() {
|
|
19809
|
-
|
|
19810
|
-
this.locale = locale;
|
|
19801
|
+
constructor(options) {
|
|
19802
|
+
this.locale = options.locale;
|
|
19811
19803
|
}
|
|
19812
19804
|
date(value) {
|
|
19813
19805
|
return date(value);
|
|
19814
19806
|
}
|
|
19807
|
+
toJsDate(date) {
|
|
19808
|
+
return date;
|
|
19809
|
+
}
|
|
19815
19810
|
addDays(date, amount) {
|
|
19816
19811
|
return addDays(date, amount);
|
|
19817
19812
|
}
|
|
@@ -19819,7 +19814,7 @@
|
|
|
19819
19814
|
return addMonths(date, amount);
|
|
19820
19815
|
}
|
|
19821
19816
|
getWeekArray(date) {
|
|
19822
|
-
return getWeekArray(date);
|
|
19817
|
+
return getWeekArray(date, this.locale);
|
|
19823
19818
|
}
|
|
19824
19819
|
startOfMonth(date) {
|
|
19825
19820
|
return startOfMonth(date);
|
|
@@ -19842,6 +19837,9 @@
|
|
|
19842
19837
|
isAfter(date, comparing) {
|
|
19843
19838
|
return isAfter(date, comparing);
|
|
19844
19839
|
}
|
|
19840
|
+
isBefore(date, comparing) {
|
|
19841
|
+
return !isAfter(date, comparing) && !isEqual(date, comparing);
|
|
19842
|
+
}
|
|
19845
19843
|
isSameDay(date, comparing) {
|
|
19846
19844
|
return isSameDay(date, comparing);
|
|
19847
19845
|
}
|
|
@@ -19854,9 +19852,6 @@
|
|
|
19854
19852
|
getDiff(date, comparing, unit) {
|
|
19855
19853
|
return getDiff(date, comparing, unit);
|
|
19856
19854
|
}
|
|
19857
|
-
getWeek(date) {
|
|
19858
|
-
return getWeek(date);
|
|
19859
|
-
}
|
|
19860
19855
|
getWeekdays() {
|
|
19861
19856
|
return getWeekdays(this.locale);
|
|
19862
19857
|
}
|
|
@@ -19880,9 +19875,52 @@
|
|
|
19880
19875
|
|
|
19881
19876
|
const DateAdapterSymbol = Symbol.for('vuetify:date-adapter');
|
|
19882
19877
|
function createDate(options) {
|
|
19883
|
-
return
|
|
19884
|
-
adapter: VuetifyDateAdapter
|
|
19885
|
-
|
|
19878
|
+
return mergeDeep({
|
|
19879
|
+
adapter: VuetifyDateAdapter,
|
|
19880
|
+
locale: {
|
|
19881
|
+
af: 'af-ZA',
|
|
19882
|
+
// ar: '', # not the same value for all variants
|
|
19883
|
+
bg: 'bg-BG',
|
|
19884
|
+
ca: 'ca-ES',
|
|
19885
|
+
ckb: '',
|
|
19886
|
+
cs: '',
|
|
19887
|
+
de: 'de-DE',
|
|
19888
|
+
el: 'el-GR',
|
|
19889
|
+
en: 'en-US',
|
|
19890
|
+
// es: '', # not the same value for all variants
|
|
19891
|
+
et: 'et-EE',
|
|
19892
|
+
fa: 'fa-IR',
|
|
19893
|
+
fi: 'fi-FI',
|
|
19894
|
+
// fr: '', #not the same value for all variants
|
|
19895
|
+
hr: 'hr-HR',
|
|
19896
|
+
hu: 'hu-HU',
|
|
19897
|
+
he: 'he-IL',
|
|
19898
|
+
id: 'id-ID',
|
|
19899
|
+
it: 'it-IT',
|
|
19900
|
+
ja: 'ja-JP',
|
|
19901
|
+
ko: 'ko-KR',
|
|
19902
|
+
lv: 'lv-LV',
|
|
19903
|
+
lt: 'lt-LT',
|
|
19904
|
+
nl: 'nl-NL',
|
|
19905
|
+
no: 'nn-NO',
|
|
19906
|
+
pl: 'pl-PL',
|
|
19907
|
+
pt: 'pt-PT',
|
|
19908
|
+
ro: 'ro-RO',
|
|
19909
|
+
ru: 'ru-RU',
|
|
19910
|
+
sk: 'sk-SK',
|
|
19911
|
+
sl: 'sl-SI',
|
|
19912
|
+
srCyrl: 'sr-SP',
|
|
19913
|
+
srLatn: 'sr-SP',
|
|
19914
|
+
sv: 'sv-SE',
|
|
19915
|
+
th: 'th-TH',
|
|
19916
|
+
tr: 'tr-TR',
|
|
19917
|
+
az: 'az-AZ',
|
|
19918
|
+
uk: 'uk-UA',
|
|
19919
|
+
vi: 'vi-VN',
|
|
19920
|
+
zhHans: 'zh-CN',
|
|
19921
|
+
zhHant: 'zh-TW'
|
|
19922
|
+
}
|
|
19923
|
+
}, options);
|
|
19886
19924
|
}
|
|
19887
19925
|
|
|
19888
19926
|
// Composables
|
|
@@ -19970,7 +20008,7 @@
|
|
|
19970
20008
|
date
|
|
19971
20009
|
};
|
|
19972
20010
|
}
|
|
19973
|
-
const version$1 = "3.3.
|
|
20011
|
+
const version$1 = "3.3.4";
|
|
19974
20012
|
createVuetify$1.version = version$1;
|
|
19975
20013
|
|
|
19976
20014
|
// Vue's inject() can only be used in setup
|
|
@@ -19995,7 +20033,7 @@
|
|
|
19995
20033
|
...options
|
|
19996
20034
|
});
|
|
19997
20035
|
};
|
|
19998
|
-
const version = "3.3.
|
|
20036
|
+
const version = "3.3.4";
|
|
19999
20037
|
createVuetify.version = version;
|
|
20000
20038
|
|
|
20001
20039
|
exports.components = components;
|