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-labs.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
|
*/
|
|
6
6
|
|
|
7
|
-
import { Fragment, reactive, computed, watchEffect, toRefs, capitalize, warn, ref, unref, provide, shallowRef, inject as inject$1, defineComponent as defineComponent$1, camelize, h, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount, watch, readonly, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, isRef, toRef, Text, resolveDynamicComponent, Teleport, cloneVNode, createTextVNode, onBeforeUpdate, vModelText, withModifiers } from 'vue';
|
|
7
|
+
import { Fragment, reactive, computed, watchEffect, toRefs, capitalize, warn, ref, unref, provide, shallowRef, inject as inject$1, defineComponent as defineComponent$1, camelize, h, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount, watch, readonly, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, isRef, toRef, Text, resolveDynamicComponent, Teleport, cloneVNode, createTextVNode, onBeforeUpdate, vModelText, withModifiers, toDisplayString } from 'vue';
|
|
8
8
|
|
|
9
9
|
// Types
|
|
10
10
|
// eslint-disable-line vue/prefer-import-from-vue
|
|
@@ -123,7 +123,8 @@ function getObjectValueByPath(obj, path, fallback) {
|
|
|
123
123
|
return getNestedValue(obj, path.split('.'), fallback);
|
|
124
124
|
}
|
|
125
125
|
function getPropertyFromItem(item, property, fallback) {
|
|
126
|
-
if (property
|
|
126
|
+
if (property === true) return item === undefined ? fallback : item;
|
|
127
|
+
if (property == null || typeof property === 'boolean') return fallback;
|
|
127
128
|
if (item !== Object(item)) {
|
|
128
129
|
if (typeof property !== 'function') return fallback;
|
|
129
130
|
const value = property(item, fallback);
|
|
@@ -7887,7 +7888,8 @@ const VDivider = genericComponent()({
|
|
|
7887
7888
|
// Types
|
|
7888
7889
|
|
|
7889
7890
|
const makeVListChildrenProps = propsFactory({
|
|
7890
|
-
items: Array
|
|
7891
|
+
items: Array,
|
|
7892
|
+
returnObject: Boolean
|
|
7891
7893
|
}, 'VListChildren');
|
|
7892
7894
|
const VListChildren = genericComponent()({
|
|
7893
7895
|
name: 'VListChildren',
|
|
@@ -7940,19 +7942,23 @@ const VListChildren = genericComponent()({
|
|
|
7940
7942
|
let {
|
|
7941
7943
|
props: activatorProps
|
|
7942
7944
|
} = _ref3;
|
|
7945
|
+
const listItemProps = {
|
|
7946
|
+
...itemProps,
|
|
7947
|
+
...activatorProps,
|
|
7948
|
+
value: props.returnObject ? item : itemProps.value
|
|
7949
|
+
};
|
|
7943
7950
|
return slots.header ? slots.header({
|
|
7944
|
-
props:
|
|
7945
|
-
|
|
7946
|
-
...activatorProps
|
|
7947
|
-
}
|
|
7948
|
-
}) : createVNode(VListItem, mergeProps(itemProps, activatorProps), slotsWithItem);
|
|
7951
|
+
props: listItemProps
|
|
7952
|
+
}) : createVNode(VListItem, listItemProps, slotsWithItem);
|
|
7949
7953
|
},
|
|
7950
7954
|
default: () => createVNode(VListChildren, {
|
|
7951
7955
|
"items": children
|
|
7952
7956
|
}, slots)
|
|
7953
7957
|
}) : slots.item ? slots.item({
|
|
7954
7958
|
props: itemProps
|
|
7955
|
-
}) : createVNode(VListItem, itemProps,
|
|
7959
|
+
}) : createVNode(VListItem, mergeProps(itemProps, {
|
|
7960
|
+
"value": props.returnObject ? item : itemProps.value
|
|
7961
|
+
}), slotsWithItem);
|
|
7956
7962
|
});
|
|
7957
7963
|
}
|
|
7958
7964
|
});
|
|
@@ -8236,7 +8242,8 @@ const VList = genericComponent()({
|
|
|
8236
8242
|
"onKeydown": onKeydown
|
|
8237
8243
|
}, {
|
|
8238
8244
|
default: () => [createVNode(VListChildren, {
|
|
8239
|
-
"items": items.value
|
|
8245
|
+
"items": items.value,
|
|
8246
|
+
"returnObject": props.returnObject
|
|
8240
8247
|
}, slots)]
|
|
8241
8248
|
});
|
|
8242
8249
|
});
|
|
@@ -10353,7 +10360,7 @@ const activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week',
|
|
|
10353
10360
|
const makeVTextFieldProps = propsFactory({
|
|
10354
10361
|
autofocus: Boolean,
|
|
10355
10362
|
counter: [Boolean, Number, String],
|
|
10356
|
-
counterValue: Function,
|
|
10363
|
+
counterValue: [Number, Function],
|
|
10357
10364
|
prefix: String,
|
|
10358
10365
|
placeholder: String,
|
|
10359
10366
|
persistentPlaceholder: Boolean,
|
|
@@ -10394,7 +10401,7 @@ const VTextField = genericComponent()({
|
|
|
10394
10401
|
blur
|
|
10395
10402
|
} = useFocus(props);
|
|
10396
10403
|
const counterValue = computed(() => {
|
|
10397
|
-
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : (model.value ?? '').toString().length;
|
|
10404
|
+
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : (model.value ?? '').toString().length;
|
|
10398
10405
|
});
|
|
10399
10406
|
const max = computed(() => {
|
|
10400
10407
|
if (attrs.maxlength) return attrs.maxlength;
|
|
@@ -11048,6 +11055,7 @@ const VSelect = genericComponent()({
|
|
|
11048
11055
|
"focused": isFocused.value,
|
|
11049
11056
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
11050
11057
|
"validationValue": model.externalValue,
|
|
11058
|
+
"counterValue": model.value.length,
|
|
11051
11059
|
"dirty": isDirty,
|
|
11052
11060
|
"class": ['v-select', {
|
|
11053
11061
|
'v-select--active-menu': menu.value,
|
|
@@ -11154,7 +11162,8 @@ const VSelect = genericComponent()({
|
|
|
11154
11162
|
"key": "chip",
|
|
11155
11163
|
"closable": props.closableChips,
|
|
11156
11164
|
"size": "small",
|
|
11157
|
-
"text": item.title
|
|
11165
|
+
"text": item.title,
|
|
11166
|
+
"disabled": item.props.disabled
|
|
11158
11167
|
}, slotProps), null) : createVNode(VDefaultsProvider, {
|
|
11159
11168
|
"key": "chip-defaults",
|
|
11160
11169
|
"defaults": {
|
|
@@ -11451,7 +11460,7 @@ const VAutocomplete = genericComponent()({
|
|
|
11451
11460
|
}
|
|
11452
11461
|
const originalSelectionIndex = selectionIndex.value;
|
|
11453
11462
|
const selectedItem = model.value[selectionIndex.value];
|
|
11454
|
-
if (selectedItem) select(selectedItem);
|
|
11463
|
+
if (selectedItem && !selectedItem.props.disabled) select(selectedItem);
|
|
11455
11464
|
selectionIndex.value = originalSelectionIndex >= length - 1 ? length - 2 : originalSelectionIndex;
|
|
11456
11465
|
}
|
|
11457
11466
|
if (e.key === 'ArrowLeft') {
|
|
@@ -11571,6 +11580,7 @@ const VAutocomplete = genericComponent()({
|
|
|
11571
11580
|
"focused": isFocused.value,
|
|
11572
11581
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
11573
11582
|
"validationValue": model.externalValue,
|
|
11583
|
+
"counterValue": model.value.length,
|
|
11574
11584
|
"dirty": isDirty,
|
|
11575
11585
|
"onInput": onInput,
|
|
11576
11586
|
"onChange": onChange,
|
|
@@ -11681,7 +11691,8 @@ const VAutocomplete = genericComponent()({
|
|
|
11681
11691
|
"key": "chip",
|
|
11682
11692
|
"closable": props.closableChips,
|
|
11683
11693
|
"size": "small",
|
|
11684
|
-
"text": item.title
|
|
11694
|
+
"text": item.title,
|
|
11695
|
+
"disabled": item.props.disabled
|
|
11685
11696
|
}, slotProps), null) : createVNode(VDefaultsProvider, {
|
|
11686
11697
|
"key": "chip-defaults",
|
|
11687
11698
|
"defaults": {
|
|
@@ -15020,7 +15031,7 @@ const VCombobox = genericComponent()({
|
|
|
15020
15031
|
}
|
|
15021
15032
|
const originalSelectionIndex = selectionIndex.value;
|
|
15022
15033
|
const selectedItem = model.value[selectionIndex.value];
|
|
15023
|
-
if (selectedItem) select(selectedItem);
|
|
15034
|
+
if (selectedItem && !selectedItem.props.disabled) select(selectedItem);
|
|
15024
15035
|
selectionIndex.value = originalSelectionIndex >= length - 1 ? length - 2 : originalSelectionIndex;
|
|
15025
15036
|
}
|
|
15026
15037
|
if (e.key === 'ArrowLeft') {
|
|
@@ -15128,6 +15139,7 @@ const VCombobox = genericComponent()({
|
|
|
15128
15139
|
"focused": isFocused.value,
|
|
15129
15140
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
15130
15141
|
"validationValue": model.externalValue,
|
|
15142
|
+
"counterValue": props.multiple ? model.value.length : search.value.length,
|
|
15131
15143
|
"dirty": isDirty,
|
|
15132
15144
|
"class": ['v-combobox', {
|
|
15133
15145
|
'v-combobox--active-menu': menu.value,
|
|
@@ -15237,7 +15249,8 @@ const VCombobox = genericComponent()({
|
|
|
15237
15249
|
"key": "chip",
|
|
15238
15250
|
"closable": props.closableChips,
|
|
15239
15251
|
"size": "small",
|
|
15240
|
-
"text": item.title
|
|
15252
|
+
"text": item.title,
|
|
15253
|
+
"disabled": item.props.disabled
|
|
15241
15254
|
}, slotProps), null) : createVNode(VDefaultsProvider, {
|
|
15242
15255
|
"key": "chip-defaults",
|
|
15243
15256
|
"defaults": {
|
|
@@ -19609,7 +19622,8 @@ const VBottomSheet = genericComponent()({
|
|
|
19609
19622
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
|
19610
19623
|
"class": ['v-bottom-sheet', {
|
|
19611
19624
|
'v-bottom-sheet--inset': props.inset
|
|
19612
|
-
}]
|
|
19625
|
+
}, props.class],
|
|
19626
|
+
"style": props.style
|
|
19613
19627
|
}), slots);
|
|
19614
19628
|
});
|
|
19615
19629
|
return {};
|
|
@@ -19996,7 +20010,7 @@ const singleSelectStrategy = {
|
|
|
19996
20010
|
items,
|
|
19997
20011
|
value
|
|
19998
20012
|
} = _ref;
|
|
19999
|
-
return new Set(value ? [items[0]?.value] : []);
|
|
20013
|
+
return new Set(value ? [toRaw(items[0]?.value)] : []);
|
|
20000
20014
|
},
|
|
20001
20015
|
selectAll: _ref2 => {
|
|
20002
20016
|
let {
|
|
@@ -20020,7 +20034,7 @@ const pageSelectStrategy = {
|
|
|
20020
20034
|
selected
|
|
20021
20035
|
} = _ref4;
|
|
20022
20036
|
for (const item of items) {
|
|
20023
|
-
if (value) selected.add(item.value);else selected.delete(item.value);
|
|
20037
|
+
if (value) selected.add(toRaw(item.value));else selected.delete(toRaw(item.value));
|
|
20024
20038
|
}
|
|
20025
20039
|
return selected;
|
|
20026
20040
|
},
|
|
@@ -20052,7 +20066,7 @@ const allSelectStrategy = {
|
|
|
20052
20066
|
selected
|
|
20053
20067
|
} = _ref7;
|
|
20054
20068
|
for (const item of items) {
|
|
20055
|
-
if (value) selected.add(item.value);else selected.delete(item.value);
|
|
20069
|
+
if (value) selected.add(toRaw(item.value));else selected.delete(toRaw(item.value));
|
|
20056
20070
|
}
|
|
20057
20071
|
return selected;
|
|
20058
20072
|
},
|
|
@@ -20078,6 +20092,10 @@ const makeDataTableSelectProps = propsFactory({
|
|
|
20078
20092
|
modelValue: {
|
|
20079
20093
|
type: Array,
|
|
20080
20094
|
default: () => []
|
|
20095
|
+
},
|
|
20096
|
+
valueComparator: {
|
|
20097
|
+
type: Function,
|
|
20098
|
+
default: deepEqual
|
|
20081
20099
|
}
|
|
20082
20100
|
}, 'DataTable-select');
|
|
20083
20101
|
const VDataTableSelectionSymbol = Symbol.for('vuetify:data-table-selection');
|
|
@@ -20087,7 +20105,9 @@ function provideSelection(props, _ref9) {
|
|
|
20087
20105
|
currentPage
|
|
20088
20106
|
} = _ref9;
|
|
20089
20107
|
const selected = useProxiedModel(props, 'modelValue', props.modelValue, v => {
|
|
20090
|
-
return new Set(v)
|
|
20108
|
+
return new Set(wrapInArray(v).map(v => {
|
|
20109
|
+
return allItems.value.find(item => props.valueComparator(v, item.value))?.value ?? v;
|
|
20110
|
+
}));
|
|
20091
20111
|
}, v => {
|
|
20092
20112
|
return [...v.values()];
|
|
20093
20113
|
});
|
|
@@ -20106,10 +20126,10 @@ function provideSelection(props, _ref9) {
|
|
|
20106
20126
|
}
|
|
20107
20127
|
});
|
|
20108
20128
|
function isSelected(items) {
|
|
20109
|
-
return wrapInArray(items).every(item => selected.value.has(item.value));
|
|
20129
|
+
return wrapInArray(items).every(item => selected.value.has(toRaw(item.value)));
|
|
20110
20130
|
}
|
|
20111
20131
|
function isSomeSelected(items) {
|
|
20112
|
-
return wrapInArray(items).some(item => selected.value.has(item.value));
|
|
20132
|
+
return wrapInArray(items).some(item => selected.value.has(toRaw(item.value)));
|
|
20113
20133
|
}
|
|
20114
20134
|
function select(items, value) {
|
|
20115
20135
|
const newSelected = selectStrategy.value.select({
|
|
@@ -20190,6 +20210,7 @@ function provideSort(options) {
|
|
|
20190
20210
|
page
|
|
20191
20211
|
} = options;
|
|
20192
20212
|
const toggleSort = column => {
|
|
20213
|
+
if (column.key == null) return;
|
|
20193
20214
|
let newSortBy = sortBy.value.map(x => ({
|
|
20194
20215
|
...x
|
|
20195
20216
|
})) ?? [];
|
|
@@ -20700,17 +20721,15 @@ function createHeaders(props, options) {
|
|
|
20700
20721
|
column,
|
|
20701
20722
|
row
|
|
20702
20723
|
} = _ref4;
|
|
20703
|
-
|
|
20704
|
-
|
|
20705
|
-
consoleWarn('The header key value must not be null or undefined');
|
|
20706
|
-
key = '';
|
|
20707
|
-
}
|
|
20724
|
+
const key = column.key ?? (typeof column.value === 'string' ? column.value : null);
|
|
20725
|
+
const value = column.value ?? column.key ?? null;
|
|
20708
20726
|
for (let i = row; i <= row + (column.rowspan ?? 1) - 1; i++) {
|
|
20709
20727
|
fixedRows[i].push({
|
|
20710
20728
|
...column,
|
|
20711
20729
|
key,
|
|
20730
|
+
value,
|
|
20712
20731
|
fixedOffset: fixedOffsets[i],
|
|
20713
|
-
sortable: column.sortable ??
|
|
20732
|
+
sortable: column.sortable ?? key != null
|
|
20714
20733
|
});
|
|
20715
20734
|
fixedOffsets[i] += Number(column.width ?? 0);
|
|
20716
20735
|
}
|
|
@@ -20989,7 +21008,7 @@ const makeVDataTableRowProps = propsFactory({
|
|
|
20989
21008
|
item: Object,
|
|
20990
21009
|
onClick: Function
|
|
20991
21010
|
}, 'VDataTableRow');
|
|
20992
|
-
const VDataTableRow =
|
|
21011
|
+
const VDataTableRow = genericComponent()({
|
|
20993
21012
|
name: 'VDataTableRow',
|
|
20994
21013
|
props: makeVDataTableRowProps(),
|
|
20995
21014
|
setup(props, _ref) {
|
|
@@ -21025,8 +21044,10 @@ const VDataTableRow = defineComponent({
|
|
|
21025
21044
|
const slotName = `item.${column.key}`;
|
|
21026
21045
|
const slotProps = {
|
|
21027
21046
|
index: props.index,
|
|
21028
|
-
item:
|
|
21029
|
-
|
|
21047
|
+
item: item.raw,
|
|
21048
|
+
internalItem: item,
|
|
21049
|
+
value: getObjectValueByPath(item.columns, column.key),
|
|
21050
|
+
column,
|
|
21030
21051
|
isSelected,
|
|
21031
21052
|
toggleSelect,
|
|
21032
21053
|
isExpanded,
|
|
@@ -21048,7 +21069,7 @@ const VDataTableRow = defineComponent({
|
|
|
21048
21069
|
"onClick": withModifiers(() => toggleExpand(item), ['stop'])
|
|
21049
21070
|
}, null);
|
|
21050
21071
|
}
|
|
21051
|
-
return
|
|
21072
|
+
return toDisplayString(slotProps.value);
|
|
21052
21073
|
}
|
|
21053
21074
|
}))]));
|
|
21054
21075
|
}
|
|
@@ -21102,13 +21123,13 @@ const VDataTableRows = genericComponent()({
|
|
|
21102
21123
|
t
|
|
21103
21124
|
} = useLocale();
|
|
21104
21125
|
useRender(() => {
|
|
21105
|
-
if (props.loading
|
|
21126
|
+
if (props.loading) {
|
|
21106
21127
|
return createVNode("tr", {
|
|
21107
21128
|
"class": "v-data-table-rows-loading",
|
|
21108
21129
|
"key": "loading"
|
|
21109
21130
|
}, [createVNode("td", {
|
|
21110
21131
|
"colspan": columns.value.length
|
|
21111
|
-
}, [slots.loading()])]);
|
|
21132
|
+
}, [slots.loading?.() ?? t(props.loadingText)])]);
|
|
21112
21133
|
}
|
|
21113
21134
|
if (!props.loading && !props.items.length && !props.hideNoData) {
|
|
21114
21135
|
return createVNode("tr", {
|
|
@@ -21137,7 +21158,8 @@ const VDataTableRows = genericComponent()({
|
|
|
21137
21158
|
}
|
|
21138
21159
|
const slotProps = {
|
|
21139
21160
|
index,
|
|
21140
|
-
item,
|
|
21161
|
+
item: item.raw,
|
|
21162
|
+
internalItem: item,
|
|
21141
21163
|
columns: columns.value,
|
|
21142
21164
|
isExpanded,
|
|
21143
21165
|
toggleExpand,
|
|
@@ -21153,7 +21175,8 @@ const VDataTableRows = genericComponent()({
|
|
|
21153
21175
|
toggleExpand(item);
|
|
21154
21176
|
}
|
|
21155
21177
|
props['onClick:row']?.(event, {
|
|
21156
|
-
item
|
|
21178
|
+
item: item.raw,
|
|
21179
|
+
internalItem: item
|
|
21157
21180
|
});
|
|
21158
21181
|
} : undefined,
|
|
21159
21182
|
index,
|
|
@@ -21191,7 +21214,7 @@ function transformItem(props, item, index, columns) {
|
|
|
21191
21214
|
const value = props.returnObject ? item : getPropertyFromItem(item, props.itemValue);
|
|
21192
21215
|
const selectable = getPropertyFromItem(item, props.itemSelectable, true);
|
|
21193
21216
|
const itemColumns = columns.reduce((obj, column) => {
|
|
21194
|
-
obj[column.key] = getPropertyFromItem(item, column.value
|
|
21217
|
+
if (column.key != null) obj[column.key] = getPropertyFromItem(item, column.value);
|
|
21195
21218
|
return obj;
|
|
21196
21219
|
}, {});
|
|
21197
21220
|
return {
|
|
@@ -21418,8 +21441,7 @@ const VDataTableVirtual = genericComponent()({
|
|
|
21418
21441
|
'update:sortBy': value => true,
|
|
21419
21442
|
'update:options': value => true,
|
|
21420
21443
|
'update:groupBy': value => true,
|
|
21421
|
-
'update:expanded': value => true
|
|
21422
|
-
'click:row': (e, value) => true
|
|
21444
|
+
'update:expanded': value => true
|
|
21423
21445
|
},
|
|
21424
21446
|
setup(props, _ref) {
|
|
21425
21447
|
let {
|
|
@@ -21625,8 +21647,7 @@ const VDataTableServer = genericComponent()({
|
|
|
21625
21647
|
'update:sortBy': sortBy => true,
|
|
21626
21648
|
'update:options': options => true,
|
|
21627
21649
|
'update:expanded': options => true,
|
|
21628
|
-
'update:groupBy': value => true
|
|
21629
|
-
'click:row': (e, value) => true
|
|
21650
|
+
'update:groupBy': value => true
|
|
21630
21651
|
},
|
|
21631
21652
|
setup(props, _ref) {
|
|
21632
21653
|
let {
|
|
@@ -22028,8 +22049,8 @@ function getWeekArray(date, locale) {
|
|
|
22028
22049
|
let currentWeek = [];
|
|
22029
22050
|
const firstDayOfMonth = startOfMonth(date);
|
|
22030
22051
|
const lastDayOfMonth = endOfMonth(date);
|
|
22031
|
-
const firstDayWeekIndex = firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
22032
|
-
const lastDayWeekIndex = lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()];
|
|
22052
|
+
const firstDayWeekIndex = (firstDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
|
|
22053
|
+
const lastDayWeekIndex = (lastDayOfMonth.getDay() - firstDay[locale.slice(-2).toUpperCase()] + 7) % 7;
|
|
22033
22054
|
for (let i = 0; i < firstDayWeekIndex; i++) {
|
|
22034
22055
|
const adjacentDay = new Date(firstDayOfMonth);
|
|
22035
22056
|
adjacentDay.setDate(adjacentDay.getDate() - (firstDayWeekIndex - i));
|
|
@@ -23260,7 +23281,7 @@ const VDatePicker = genericComponent()({
|
|
|
23260
23281
|
"label": t(props.inputText),
|
|
23261
23282
|
"placeholder": props.inputPlaceholder
|
|
23262
23283
|
}, null)]),
|
|
23263
|
-
actions: () => !props.hideActions ? createVNode("div", null, [createVNode(VBtn, {
|
|
23284
|
+
actions: () => !props.hideActions ? slots.actions?.() ?? createVNode("div", null, [createVNode(VBtn, {
|
|
23264
23285
|
"variant": "text",
|
|
23265
23286
|
"color": props.color,
|
|
23266
23287
|
"onClick": onClickCancel,
|
|
@@ -23635,7 +23656,7 @@ const VOtpInput = genericComponent()({
|
|
|
23635
23656
|
scoped: true
|
|
23636
23657
|
});
|
|
23637
23658
|
watch(model, val => {
|
|
23638
|
-
if (val.length === props.length) emit('finish', val.join(''));
|
|
23659
|
+
if (val.length === Number(props.length)) emit('finish', val.join(''));
|
|
23639
23660
|
}, {
|
|
23640
23661
|
deep: true
|
|
23641
23662
|
});
|
|
@@ -24593,7 +24614,7 @@ function createVuetify$1() {
|
|
|
24593
24614
|
date
|
|
24594
24615
|
};
|
|
24595
24616
|
}
|
|
24596
|
-
const version$1 = "3.3.
|
|
24617
|
+
const version$1 = "3.3.19";
|
|
24597
24618
|
createVuetify$1.version = version$1;
|
|
24598
24619
|
|
|
24599
24620
|
// Vue's inject() can only be used in setup
|
|
@@ -24607,7 +24628,7 @@ function inject(key) {
|
|
|
24607
24628
|
|
|
24608
24629
|
/* eslint-disable local-rules/sort-imports */
|
|
24609
24630
|
|
|
24610
|
-
const version = "3.3.
|
|
24631
|
+
const version = "3.3.19";
|
|
24611
24632
|
|
|
24612
24633
|
/* eslint-disable local-rules/sort-imports */
|
|
24613
24634
|
|