vuetify 3.3.17 → 3.3.19
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 +25 -9
- package/dist/json/importMap.json +4 -4
- package/dist/json/tags.json +5 -1
- package/dist/json/web-types.json +322 -750
- package/dist/vuetify-labs.css +6260 -6265
- package/dist/vuetify-labs.d.ts +1175 -2641
- package/dist/vuetify-labs.esm.js +71 -50
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +70 -49
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +5632 -5637
- package/dist/vuetify.d.ts +50 -50
- package/dist/vuetify.esm.js +34 -21
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +34 -21
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +25 -23
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +12 -12
- package/lib/components/VCombobox/VCombobox.mjs +4 -2
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +12 -12
- package/lib/components/VList/VList.mjs +2 -1
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +12 -7
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +10 -10
- package/lib/components/VSelect/VSelect.mjs +3 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +12 -12
- package/lib/components/VTable/VTable.css +4 -2
- package/lib/components/VTable/VTable.sass +3 -1
- package/lib/components/VTable/_variables.scss +1 -1
- package/lib/components/VTextField/VTextField.mjs +2 -2
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +6 -6
- package/lib/components/VTimeline/VTimeline.css +15 -22
- package/lib/components/VTimeline/VTimeline.sass +15 -25
- package/lib/components/index.d.mts +49 -49
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/labs/VBottomSheet/VBottomSheet.mjs +2 -1
- package/lib/labs/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/labs/VDataIterator/index.d.mts +66 -48
- package/lib/labs/VDataTable/VDataTableRow.mjs +8 -6
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +6 -4
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +1 -2
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +1 -2
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/headers.mjs +5 -7
- package/lib/labs/VDataTable/composables/headers.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/items.mjs +1 -1
- package/lib/labs/VDataTable/composables/items.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/select.mjs +14 -8
- package/lib/labs/VDataTable/composables/select.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/sort.mjs +1 -0
- package/lib/labs/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.mts +1135 -2614
- package/lib/labs/VDataTable/types.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/VDatePicker/VDatePicker.mjs +1 -1
- package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/labs/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/labs/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/labs/components.d.mts +1393 -2858
- package/lib/labs/date/adapters/vuetify.mjs +2 -2
- package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
- package/lib/util/helpers.mjs +2 -1
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +2 -2
package/dist/vuetify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.
|
|
2
|
+
* Vuetify v3.3.19
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -127,7 +127,8 @@
|
|
|
127
127
|
return getNestedValue(obj, path.split('.'), fallback);
|
|
128
128
|
}
|
|
129
129
|
function getPropertyFromItem(item, property, fallback) {
|
|
130
|
-
if (property
|
|
130
|
+
if (property === true) return item === undefined ? fallback : item;
|
|
131
|
+
if (property == null || typeof property === 'boolean') return fallback;
|
|
131
132
|
if (item !== Object(item)) {
|
|
132
133
|
if (typeof property !== 'function') return fallback;
|
|
133
134
|
const value = property(item, fallback);
|
|
@@ -7879,7 +7880,8 @@
|
|
|
7879
7880
|
// Types
|
|
7880
7881
|
|
|
7881
7882
|
const makeVListChildrenProps = propsFactory({
|
|
7882
|
-
items: Array
|
|
7883
|
+
items: Array,
|
|
7884
|
+
returnObject: Boolean
|
|
7883
7885
|
}, 'VListChildren');
|
|
7884
7886
|
const VListChildren = genericComponent()({
|
|
7885
7887
|
name: 'VListChildren',
|
|
@@ -7932,19 +7934,23 @@
|
|
|
7932
7934
|
let {
|
|
7933
7935
|
props: activatorProps
|
|
7934
7936
|
} = _ref3;
|
|
7937
|
+
const listItemProps = {
|
|
7938
|
+
...itemProps,
|
|
7939
|
+
...activatorProps,
|
|
7940
|
+
value: props.returnObject ? item : itemProps.value
|
|
7941
|
+
};
|
|
7935
7942
|
return slots.header ? slots.header({
|
|
7936
|
-
props:
|
|
7937
|
-
|
|
7938
|
-
...activatorProps
|
|
7939
|
-
}
|
|
7940
|
-
}) : vue.createVNode(VListItem, vue.mergeProps(itemProps, activatorProps), slotsWithItem);
|
|
7943
|
+
props: listItemProps
|
|
7944
|
+
}) : vue.createVNode(VListItem, listItemProps, slotsWithItem);
|
|
7941
7945
|
},
|
|
7942
7946
|
default: () => vue.createVNode(VListChildren, {
|
|
7943
7947
|
"items": children
|
|
7944
7948
|
}, slots)
|
|
7945
7949
|
}) : slots.item ? slots.item({
|
|
7946
7950
|
props: itemProps
|
|
7947
|
-
}) : vue.createVNode(VListItem, itemProps,
|
|
7951
|
+
}) : vue.createVNode(VListItem, vue.mergeProps(itemProps, {
|
|
7952
|
+
"value": props.returnObject ? item : itemProps.value
|
|
7953
|
+
}), slotsWithItem);
|
|
7948
7954
|
});
|
|
7949
7955
|
}
|
|
7950
7956
|
});
|
|
@@ -8228,7 +8234,8 @@
|
|
|
8228
8234
|
"onKeydown": onKeydown
|
|
8229
8235
|
}, {
|
|
8230
8236
|
default: () => [vue.createVNode(VListChildren, {
|
|
8231
|
-
"items": items.value
|
|
8237
|
+
"items": items.value,
|
|
8238
|
+
"returnObject": props.returnObject
|
|
8232
8239
|
}, slots)]
|
|
8233
8240
|
});
|
|
8234
8241
|
});
|
|
@@ -10345,7 +10352,7 @@
|
|
|
10345
10352
|
const makeVTextFieldProps = propsFactory({
|
|
10346
10353
|
autofocus: Boolean,
|
|
10347
10354
|
counter: [Boolean, Number, String],
|
|
10348
|
-
counterValue: Function,
|
|
10355
|
+
counterValue: [Number, Function],
|
|
10349
10356
|
prefix: String,
|
|
10350
10357
|
placeholder: String,
|
|
10351
10358
|
persistentPlaceholder: Boolean,
|
|
@@ -10386,7 +10393,7 @@
|
|
|
10386
10393
|
blur
|
|
10387
10394
|
} = useFocus(props);
|
|
10388
10395
|
const counterValue = vue.computed(() => {
|
|
10389
|
-
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : (model.value ?? '').toString().length;
|
|
10396
|
+
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : (model.value ?? '').toString().length;
|
|
10390
10397
|
});
|
|
10391
10398
|
const max = vue.computed(() => {
|
|
10392
10399
|
if (attrs.maxlength) return attrs.maxlength;
|
|
@@ -11040,6 +11047,7 @@
|
|
|
11040
11047
|
"focused": isFocused.value,
|
|
11041
11048
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
11042
11049
|
"validationValue": model.externalValue,
|
|
11050
|
+
"counterValue": model.value.length,
|
|
11043
11051
|
"dirty": isDirty,
|
|
11044
11052
|
"class": ['v-select', {
|
|
11045
11053
|
'v-select--active-menu': menu.value,
|
|
@@ -11146,7 +11154,8 @@
|
|
|
11146
11154
|
"key": "chip",
|
|
11147
11155
|
"closable": props.closableChips,
|
|
11148
11156
|
"size": "small",
|
|
11149
|
-
"text": item.title
|
|
11157
|
+
"text": item.title,
|
|
11158
|
+
"disabled": item.props.disabled
|
|
11150
11159
|
}, slotProps), null) : vue.createVNode(VDefaultsProvider, {
|
|
11151
11160
|
"key": "chip-defaults",
|
|
11152
11161
|
"defaults": {
|
|
@@ -11443,7 +11452,7 @@
|
|
|
11443
11452
|
}
|
|
11444
11453
|
const originalSelectionIndex = selectionIndex.value;
|
|
11445
11454
|
const selectedItem = model.value[selectionIndex.value];
|
|
11446
|
-
if (selectedItem) select(selectedItem);
|
|
11455
|
+
if (selectedItem && !selectedItem.props.disabled) select(selectedItem);
|
|
11447
11456
|
selectionIndex.value = originalSelectionIndex >= length - 1 ? length - 2 : originalSelectionIndex;
|
|
11448
11457
|
}
|
|
11449
11458
|
if (e.key === 'ArrowLeft') {
|
|
@@ -11563,6 +11572,7 @@
|
|
|
11563
11572
|
"focused": isFocused.value,
|
|
11564
11573
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
11565
11574
|
"validationValue": model.externalValue,
|
|
11575
|
+
"counterValue": model.value.length,
|
|
11566
11576
|
"dirty": isDirty,
|
|
11567
11577
|
"onInput": onInput,
|
|
11568
11578
|
"onChange": onChange,
|
|
@@ -11673,7 +11683,8 @@
|
|
|
11673
11683
|
"key": "chip",
|
|
11674
11684
|
"closable": props.closableChips,
|
|
11675
11685
|
"size": "small",
|
|
11676
|
-
"text": item.title
|
|
11686
|
+
"text": item.title,
|
|
11687
|
+
"disabled": item.props.disabled
|
|
11677
11688
|
}, slotProps), null) : vue.createVNode(VDefaultsProvider, {
|
|
11678
11689
|
"key": "chip-defaults",
|
|
11679
11690
|
"defaults": {
|
|
@@ -15012,7 +15023,7 @@
|
|
|
15012
15023
|
}
|
|
15013
15024
|
const originalSelectionIndex = selectionIndex.value;
|
|
15014
15025
|
const selectedItem = model.value[selectionIndex.value];
|
|
15015
|
-
if (selectedItem) select(selectedItem);
|
|
15026
|
+
if (selectedItem && !selectedItem.props.disabled) select(selectedItem);
|
|
15016
15027
|
selectionIndex.value = originalSelectionIndex >= length - 1 ? length - 2 : originalSelectionIndex;
|
|
15017
15028
|
}
|
|
15018
15029
|
if (e.key === 'ArrowLeft') {
|
|
@@ -15120,6 +15131,7 @@
|
|
|
15120
15131
|
"focused": isFocused.value,
|
|
15121
15132
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
15122
15133
|
"validationValue": model.externalValue,
|
|
15134
|
+
"counterValue": props.multiple ? model.value.length : search.value.length,
|
|
15123
15135
|
"dirty": isDirty,
|
|
15124
15136
|
"class": ['v-combobox', {
|
|
15125
15137
|
'v-combobox--active-menu': menu.value,
|
|
@@ -15229,7 +15241,8 @@
|
|
|
15229
15241
|
"key": "chip",
|
|
15230
15242
|
"closable": props.closableChips,
|
|
15231
15243
|
"size": "small",
|
|
15232
|
-
"text": item.title
|
|
15244
|
+
"text": item.title,
|
|
15245
|
+
"disabled": item.props.disabled
|
|
15233
15246
|
}, slotProps), null) : vue.createVNode(VDefaultsProvider, {
|
|
15234
15247
|
"key": "chip-defaults",
|
|
15235
15248
|
"defaults": {
|
|
@@ -20004,8 +20017,8 @@
|
|
|
20004
20017
|
let currentWeek = [];
|
|
20005
20018
|
const firstDayOfMonth = startOfMonth(date);
|
|
20006
20019
|
const lastDayOfMonth = endOfMonth(date);
|
|
20007
|
-
const firstDayWeekIndex = firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
20008
|
-
const lastDayWeekIndex = lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
20020
|
+
const firstDayWeekIndex = (firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
|
|
20021
|
+
const lastDayWeekIndex = (lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
|
|
20009
20022
|
for (let i = 0; i < firstDayWeekIndex; i++) {
|
|
20010
20023
|
const adjacentDay = new Date(firstDayOfMonth);
|
|
20011
20024
|
adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
|
|
@@ -20402,7 +20415,7 @@
|
|
|
20402
20415
|
date
|
|
20403
20416
|
};
|
|
20404
20417
|
}
|
|
20405
|
-
const version$1 = "3.3.
|
|
20418
|
+
const version$1 = "3.3.19";
|
|
20406
20419
|
createVuetify$1.version = version$1;
|
|
20407
20420
|
|
|
20408
20421
|
// Vue's inject() can only be used in setup
|
|
@@ -20427,7 +20440,7 @@
|
|
|
20427
20440
|
...options
|
|
20428
20441
|
});
|
|
20429
20442
|
};
|
|
20430
|
-
const version = "3.3.
|
|
20443
|
+
const version = "3.3.19";
|
|
20431
20444
|
createVuetify.version = version;
|
|
20432
20445
|
|
|
20433
20446
|
exports.components = components;
|