vuetify 3.7.13 → 3.7.15
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/json/attributes.json +2446 -2446
- package/dist/json/importMap-labs.json +28 -28
- package/dist/json/importMap.json +176 -176
- package/dist/json/tags.json +1 -1
- package/dist/json/web-types.json +4783 -4520
- package/dist/vuetify-labs.css +2906 -2897
- package/dist/vuetify-labs.d.ts +234 -15
- package/dist/vuetify-labs.esm.js +156 -67
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +156 -67
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1783 -1784
- package/dist/vuetify.d.ts +66 -66
- package/dist/vuetify.esm.js +47 -37
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +47 -37
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +31 -27
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +19 -10
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +0 -1
- package/lib/components/VFileInput/VFileInput.mjs +11 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +0 -1
- package/lib/components/VList/VListItem.mjs +2 -0
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VSlider/slider.mjs +1 -0
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/composables/date/adapters/vuetify.mjs +9 -21
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/composables/density.mjs +1 -1
- package/lib/composables/density.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +66 -66
- package/lib/labs/VDateInput/VDateInput.mjs +2 -2
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +248 -1
- package/lib/labs/VFileUpload/VFileUpload.css +5 -1
- package/lib/labs/VFileUpload/VFileUpload.sass +4 -0
- package/lib/labs/VFileUpload/_variables.scss +1 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs +57 -21
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/hold.mjs +31 -0
- package/lib/labs/VNumberInput/hold.mjs.map +1 -0
- package/lib/labs/VNumberInput/index.d.mts +1 -7
- package/lib/labs/VTimePicker/VTimePickerControls.sass +16 -16
- package/lib/labs/VTimePicker/_variables.scss +12 -12
- package/lib/labs/VTreeview/VTreeview.mjs +5 -1
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +4 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.css +15 -9
- package/lib/labs/VTreeview/VTreeviewItem.mjs +15 -6
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +16 -10
- package/lib/labs/VTreeview/_variables.scss +2 -5
- package/lib/labs/VTreeview/index.d.mts +23 -8
- package/lib/labs/components.d.mts +295 -76
- package/lib/locale/af.mjs +42 -42
- package/lib/locale/af.mjs.map +1 -1
- package/lib/locale/az.mjs +7 -7
- package/lib/locale/az.mjs.map +1 -1
- package/lib/locale/bg.mjs +7 -7
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/ca.mjs +25 -25
- package/lib/locale/ca.mjs.map +1 -1
- package/lib/locale/ckb.mjs +29 -29
- package/lib/locale/ckb.mjs.map +1 -1
- package/lib/locale/cs.mjs +13 -13
- package/lib/locale/cs.mjs.map +1 -1
- package/lib/locale/da.mjs +22 -22
- package/lib/locale/da.mjs.map +1 -1
- package/lib/locale/el.mjs +41 -41
- package/lib/locale/el.mjs.map +1 -1
- package/lib/locale/es.mjs +26 -26
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/et.mjs +29 -29
- package/lib/locale/et.mjs.map +1 -1
- package/lib/locale/fa.mjs +5 -5
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/locale/fi.mjs +22 -22
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/fr.mjs +6 -6
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/locale/he.mjs +29 -29
- package/lib/locale/he.mjs.map +1 -1
- package/lib/locale/hr.mjs +28 -28
- package/lib/locale/hr.mjs.map +1 -1
- package/lib/locale/hu.mjs +10 -10
- package/lib/locale/hu.mjs.map +1 -1
- package/lib/locale/id.mjs +30 -30
- package/lib/locale/id.mjs.map +1 -1
- package/lib/locale/it.mjs +7 -7
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/ja.mjs +28 -28
- package/lib/locale/ja.mjs.map +1 -1
- package/lib/locale/km.mjs +6 -6
- package/lib/locale/km.mjs.map +1 -1
- package/lib/locale/ko.mjs +27 -27
- package/lib/locale/ko.mjs.map +1 -1
- package/lib/locale/lt.mjs +5 -5
- package/lib/locale/lt.mjs.map +1 -1
- package/lib/locale/lv.mjs +33 -33
- package/lib/locale/lv.mjs.map +1 -1
- package/lib/locale/nl.mjs +10 -10
- package/lib/locale/nl.mjs.map +1 -1
- package/lib/locale/no.mjs +11 -11
- package/lib/locale/no.mjs.map +1 -1
- package/lib/locale/pl.mjs +7 -7
- package/lib/locale/pl.mjs.map +1 -1
- package/lib/locale/pt.mjs +11 -11
- package/lib/locale/pt.mjs.map +1 -1
- package/lib/locale/ro.mjs +9 -9
- package/lib/locale/ro.mjs.map +1 -1
- package/lib/locale/ru.mjs +6 -6
- package/lib/locale/ru.mjs.map +1 -1
- package/lib/locale/sk.mjs +5 -5
- package/lib/locale/sk.mjs.map +1 -1
- package/lib/locale/sl.mjs +4 -4
- package/lib/locale/sl.mjs.map +1 -1
- package/lib/locale/sr-Cyrl.mjs +30 -30
- package/lib/locale/sr-Cyrl.mjs.map +1 -1
- package/lib/locale/sr-Latn.mjs +28 -28
- package/lib/locale/sr-Latn.mjs.map +1 -1
- package/lib/locale/sv.mjs +17 -17
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/locale/th.mjs +30 -30
- package/lib/locale/th.mjs.map +1 -1
- package/lib/locale/tr.mjs +31 -31
- package/lib/locale/tr.mjs.map +1 -1
- package/lib/locale/uk.mjs +29 -29
- package/lib/locale/uk.mjs.map +1 -1
- package/lib/locale/vi.mjs +28 -28
- package/lib/locale/vi.mjs.map +1 -1
- package/lib/locale/zh-Hans.mjs +31 -31
- package/lib/locale/zh-Hans.mjs.map +1 -1
- package/lib/locale/zh-Hant.mjs +31 -31
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/lib/styles/tools/_functions.sass +1 -1
- package/package.json +7 -2
package/dist/vuetify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.7.
|
|
2
|
+
* Vuetify v3.7.15
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4453,7 +4453,7 @@
|
|
|
4453
4453
|
|
|
4454
4454
|
const allowedDensities = [null, 'default', 'comfortable', 'compact'];
|
|
4455
4455
|
|
|
4456
|
-
// typeof allowedDensities[number]
|
|
4456
|
+
// typeof allowedDensities[number] evaluates to any
|
|
4457
4457
|
// when generating api types for whatever reason.
|
|
4458
4458
|
|
|
4459
4459
|
// Composables
|
|
@@ -9293,6 +9293,8 @@
|
|
|
9293
9293
|
}
|
|
9294
9294
|
}
|
|
9295
9295
|
function onKeyDown(e) {
|
|
9296
|
+
const target = e.target;
|
|
9297
|
+
if (['INPUT', 'TEXTAREA'].includes(target.tagName)) return;
|
|
9296
9298
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
9297
9299
|
e.preventDefault();
|
|
9298
9300
|
e.target.dispatchEvent(new MouseEvent('click', e));
|
|
@@ -15918,6 +15920,7 @@
|
|
|
15918
15920
|
});
|
|
15919
15921
|
}
|
|
15920
15922
|
function onSliderMousedown(e) {
|
|
15923
|
+
if (e.button !== 0) return;
|
|
15921
15924
|
e.preventDefault();
|
|
15922
15925
|
handleStart(e);
|
|
15923
15926
|
window.addEventListener('mousemove', onMouseMove, moveListenerOptions);
|
|
@@ -17950,16 +17953,13 @@
|
|
|
17950
17953
|
case 'fullTime':
|
|
17951
17954
|
options = {
|
|
17952
17955
|
hour: 'numeric',
|
|
17953
|
-
minute: 'numeric'
|
|
17954
|
-
second: 'numeric',
|
|
17955
|
-
hour12: true
|
|
17956
|
+
minute: 'numeric'
|
|
17956
17957
|
};
|
|
17957
17958
|
break;
|
|
17958
17959
|
case 'fullTime12h':
|
|
17959
17960
|
options = {
|
|
17960
17961
|
hour: 'numeric',
|
|
17961
17962
|
minute: 'numeric',
|
|
17962
|
-
second: 'numeric',
|
|
17963
17963
|
hour12: true
|
|
17964
17964
|
};
|
|
17965
17965
|
break;
|
|
@@ -17967,40 +17967,35 @@
|
|
|
17967
17967
|
options = {
|
|
17968
17968
|
hour: 'numeric',
|
|
17969
17969
|
minute: 'numeric',
|
|
17970
|
-
second: 'numeric',
|
|
17971
17970
|
hour12: false
|
|
17972
17971
|
};
|
|
17973
17972
|
break;
|
|
17974
17973
|
case 'fullDateTime':
|
|
17975
17974
|
options = {
|
|
17976
17975
|
year: 'numeric',
|
|
17977
|
-
month: '
|
|
17976
|
+
month: 'short',
|
|
17978
17977
|
day: 'numeric',
|
|
17979
17978
|
hour: 'numeric',
|
|
17980
|
-
minute: 'numeric'
|
|
17981
|
-
second: 'numeric',
|
|
17982
|
-
hour12: true
|
|
17979
|
+
minute: 'numeric'
|
|
17983
17980
|
};
|
|
17984
17981
|
break;
|
|
17985
17982
|
case 'fullDateTime12h':
|
|
17986
17983
|
options = {
|
|
17987
17984
|
year: 'numeric',
|
|
17988
|
-
month: '
|
|
17985
|
+
month: 'short',
|
|
17989
17986
|
day: 'numeric',
|
|
17990
17987
|
hour: 'numeric',
|
|
17991
17988
|
minute: 'numeric',
|
|
17992
|
-
second: 'numeric',
|
|
17993
17989
|
hour12: true
|
|
17994
17990
|
};
|
|
17995
17991
|
break;
|
|
17996
17992
|
case 'fullDateTime24h':
|
|
17997
17993
|
options = {
|
|
17998
17994
|
year: 'numeric',
|
|
17999
|
-
month: '
|
|
17995
|
+
month: 'short',
|
|
18000
17996
|
day: 'numeric',
|
|
18001
17997
|
hour: 'numeric',
|
|
18002
17998
|
minute: 'numeric',
|
|
18003
|
-
second: 'numeric',
|
|
18004
17999
|
hour12: false
|
|
18005
18000
|
};
|
|
18006
18001
|
break;
|
|
@@ -18017,11 +18012,9 @@
|
|
|
18017
18012
|
month: '2-digit',
|
|
18018
18013
|
day: '2-digit',
|
|
18019
18014
|
hour: 'numeric',
|
|
18020
|
-
minute: 'numeric'
|
|
18021
|
-
second: 'numeric',
|
|
18022
|
-
hour12: false
|
|
18015
|
+
minute: 'numeric'
|
|
18023
18016
|
};
|
|
18024
|
-
|
|
18017
|
+
return new Intl.DateTimeFormat(locale, options).format(newDate).replace(/, /g, ' ');
|
|
18025
18018
|
case 'keyboardDateTime12h':
|
|
18026
18019
|
options = {
|
|
18027
18020
|
year: 'numeric',
|
|
@@ -18029,10 +18022,9 @@
|
|
|
18029
18022
|
day: '2-digit',
|
|
18030
18023
|
hour: 'numeric',
|
|
18031
18024
|
minute: 'numeric',
|
|
18032
|
-
second: 'numeric',
|
|
18033
18025
|
hour12: true
|
|
18034
18026
|
};
|
|
18035
|
-
|
|
18027
|
+
return new Intl.DateTimeFormat(locale, options).format(newDate).replace(/, /g, ' ');
|
|
18036
18028
|
case 'keyboardDateTime24h':
|
|
18037
18029
|
options = {
|
|
18038
18030
|
year: 'numeric',
|
|
@@ -18040,10 +18032,9 @@
|
|
|
18040
18032
|
day: '2-digit',
|
|
18041
18033
|
hour: 'numeric',
|
|
18042
18034
|
minute: 'numeric',
|
|
18043
|
-
second: 'numeric',
|
|
18044
18035
|
hour12: false
|
|
18045
18036
|
};
|
|
18046
|
-
|
|
18037
|
+
return new Intl.DateTimeFormat(locale, options).format(newDate).replace(/, /g, ' ');
|
|
18047
18038
|
default:
|
|
18048
18039
|
options = customFormat ?? {
|
|
18049
18040
|
timeZone: 'UTC',
|
|
@@ -22482,9 +22473,26 @@
|
|
|
22482
22473
|
const model = useProxiedModel(props, 'modelValue', undefined, v => wrapInArray(v), v => props.multiple ? v : v[0]);
|
|
22483
22474
|
const viewMode = useProxiedModel(props, 'viewMode');
|
|
22484
22475
|
// const inputMode = useProxiedModel(props, 'inputMode')
|
|
22476
|
+
|
|
22477
|
+
const minDate = vue.computed(() => {
|
|
22478
|
+
const date = adapter.date(props.min);
|
|
22479
|
+
return props.min && adapter.isValid(date) ? date : null;
|
|
22480
|
+
});
|
|
22481
|
+
const maxDate = vue.computed(() => {
|
|
22482
|
+
const date = adapter.date(props.max);
|
|
22483
|
+
return props.max && adapter.isValid(date) ? date : null;
|
|
22484
|
+
});
|
|
22485
22485
|
const internal = vue.computed(() => {
|
|
22486
|
-
const
|
|
22487
|
-
|
|
22486
|
+
const today = adapter.date();
|
|
22487
|
+
let value = today;
|
|
22488
|
+
if (model.value?.[0]) {
|
|
22489
|
+
value = adapter.date(model.value[0]);
|
|
22490
|
+
} else if (minDate.value && adapter.isBefore(today, minDate.value)) {
|
|
22491
|
+
value = minDate.value;
|
|
22492
|
+
} else if (maxDate.value && adapter.isAfter(today, maxDate.value)) {
|
|
22493
|
+
value = maxDate.value;
|
|
22494
|
+
}
|
|
22495
|
+
return value && adapter.isValid(value) ? value : today;
|
|
22488
22496
|
});
|
|
22489
22497
|
const month = vue.ref(Number(props.month ?? adapter.getMonth(adapter.startOfMonth(internal.value))));
|
|
22490
22498
|
const year = vue.ref(Number(props.year ?? adapter.getYear(adapter.startOfYear(adapter.setMonth(internal.value, month.value)))));
|
|
@@ -22504,14 +22512,6 @@
|
|
|
22504
22512
|
});
|
|
22505
22513
|
// const headerIcon = computed(() => props.inputMode === 'calendar' ? props.keyboardIcon : props.calendarIcon)
|
|
22506
22514
|
const headerTransition = vue.computed(() => `date-picker-header${isReversing.value ? '-reverse' : ''}-transition`);
|
|
22507
|
-
const minDate = vue.computed(() => {
|
|
22508
|
-
const date = adapter.date(props.min);
|
|
22509
|
-
return props.min && adapter.isValid(date) ? date : null;
|
|
22510
|
-
});
|
|
22511
|
-
const maxDate = vue.computed(() => {
|
|
22512
|
-
const date = adapter.date(props.max);
|
|
22513
|
-
return props.max && adapter.isValid(date) ? date : null;
|
|
22514
|
-
});
|
|
22515
22515
|
const disabled = vue.computed(() => {
|
|
22516
22516
|
if (props.disabled) return true;
|
|
22517
22517
|
const targets = [];
|
|
@@ -23290,6 +23290,14 @@
|
|
|
23290
23290
|
callEvent(props['onClick:clear'], e);
|
|
23291
23291
|
});
|
|
23292
23292
|
}
|
|
23293
|
+
function onDragover(e) {
|
|
23294
|
+
e.preventDefault();
|
|
23295
|
+
}
|
|
23296
|
+
function onDrop(e) {
|
|
23297
|
+
e.preventDefault();
|
|
23298
|
+
if (!e.dataTransfer) return;
|
|
23299
|
+
model.value = [...(e.dataTransfer.files ?? [])];
|
|
23300
|
+
}
|
|
23293
23301
|
vue.watch(model, newValue => {
|
|
23294
23302
|
const hasModelReset = !Array.isArray(newValue) || !newValue.length;
|
|
23295
23303
|
if (hasModelReset && inputRef.value) {
|
|
@@ -23342,7 +23350,9 @@
|
|
|
23342
23350
|
"dirty": isDirty.value || props.dirty,
|
|
23343
23351
|
"disabled": isDisabled.value,
|
|
23344
23352
|
"focused": isFocused.value,
|
|
23345
|
-
"error": isValid.value === false
|
|
23353
|
+
"error": isValid.value === false,
|
|
23354
|
+
"onDragover": onDragover,
|
|
23355
|
+
"onDrop": onDrop
|
|
23346
23356
|
}), {
|
|
23347
23357
|
...slots,
|
|
23348
23358
|
default: _ref4 => {
|
|
@@ -24825,7 +24835,7 @@
|
|
|
24825
24835
|
"disabled": props.disabled,
|
|
24826
24836
|
"inputmode": props.type === 'number' ? 'numeric' : 'text',
|
|
24827
24837
|
"min": props.type === 'number' ? 0 : undefined,
|
|
24828
|
-
"maxlength":
|
|
24838
|
+
"maxlength": i === 0 ? length.value : '1',
|
|
24829
24839
|
"placeholder": props.placeholder,
|
|
24830
24840
|
"type": props.type === 'number' ? 'text' : props.type,
|
|
24831
24841
|
"value": model.value[i],
|
|
@@ -28411,7 +28421,7 @@
|
|
|
28411
28421
|
goTo
|
|
28412
28422
|
};
|
|
28413
28423
|
}
|
|
28414
|
-
const version$1 = "3.7.
|
|
28424
|
+
const version$1 = "3.7.15";
|
|
28415
28425
|
createVuetify$1.version = version$1;
|
|
28416
28426
|
|
|
28417
28427
|
// Vue's inject() can only be used in setup
|
|
@@ -28436,7 +28446,7 @@
|
|
|
28436
28446
|
...options
|
|
28437
28447
|
});
|
|
28438
28448
|
};
|
|
28439
|
-
const version = "3.7.
|
|
28449
|
+
const version = "3.7.15";
|
|
28440
28450
|
createVuetify.version = version;
|
|
28441
28451
|
|
|
28442
28452
|
exports.blueprints = index;
|