@vuetify/nightly 3.6.13-3.7.0-beta.0.0-dev.2024-07-10 → 3.6.13-3.7.0-beta.0.0-dev.2024-07-24
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/CHANGELOG.md +0 -8
- package/dist/json/attributes.json +30 -22
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +120 -120
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +53 -42
- package/dist/vuetify-labs.css +2160 -2162
- package/dist/vuetify-labs.d.ts +12298 -12189
- package/dist/vuetify-labs.esm.js +59 -29
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +59 -29
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +871 -873
- package/dist/vuetify.d.ts +10357 -10268
- package/dist/vuetify.esm.js +51 -25
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +51 -25
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1043 -1044
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +55 -55
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +169 -169
- package/lib/components/VAutocomplete/index.d.mts +615 -609
- package/lib/components/VAvatar/index.d.mts +36 -36
- package/lib/components/VBadge/index.d.mts +58 -58
- package/lib/components/VBanner/index.d.mts +59 -59
- package/lib/components/VBottomNavigation/index.d.mts +58 -58
- package/lib/components/VBottomSheet/index.d.mts +118 -118
- package/lib/components/VBreadcrumbs/index.d.mts +34 -34
- package/lib/components/VBtn/VBtn.css +3 -0
- package/lib/components/VBtn/VBtn.sass +3 -0
- package/lib/components/VBtn/index.d.mts +107 -107
- package/lib/components/VBtnGroup/index.d.mts +23 -23
- package/lib/components/VBtnToggle/index.d.mts +40 -40
- package/lib/components/VCard/index.d.mts +93 -93
- package/lib/components/VCarousel/index.d.mts +128 -128
- package/lib/components/VCheckbox/index.d.mts +174 -168
- package/lib/components/VChip/index.d.mts +86 -86
- package/lib/components/VChipGroup/index.d.mts +46 -46
- package/lib/components/VColorPicker/index.d.mts +96 -96
- package/lib/components/VCombobox/index.d.mts +615 -609
- package/lib/components/VConfirmEdit/index.d.mts +2 -2
- package/lib/components/VCounter/index.d.mts +27 -27
- package/lib/components/VDataIterator/index.d.mts +51 -50
- package/lib/components/VDataTable/VDataTable.mjs +10 -3
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +6 -2
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +10 -3
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/composables/group.mjs +2 -1
- package/lib/components/VDataTable/composables/group.mjs.map +1 -1
- package/lib/components/VDataTable/composables/sort.mjs +4 -4
- package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +275 -274
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +3 -0
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +134 -134
- package/lib/components/VDialog/index.d.mts +353 -353
- package/lib/components/VDivider/index.d.mts +15 -15
- package/lib/components/VEmptyState/index.d.mts +47 -47
- package/lib/components/VExpansionPanel/index.d.mts +134 -134
- package/lib/components/VFab/index.d.mts +227 -227
- package/lib/components/VField/VField.css +6 -11
- package/lib/components/VField/VField.mjs +7 -5
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +2 -6
- package/lib/components/VField/index.d.mts +58 -52
- package/lib/components/VFileInput/index.d.mts +255 -249
- package/lib/components/VFooter/index.d.mts +50 -50
- package/lib/components/VForm/index.d.mts +9 -9
- package/lib/components/VGrid/index.d.mts +150 -150
- package/lib/components/VIcon/index.d.mts +24 -24
- package/lib/components/VImg/index.d.mts +85 -85
- package/lib/components/VInfiniteScroll/index.d.mts +22 -22
- package/lib/components/VInput/VInput.css +5 -5
- package/lib/components/VInput/VInput.mjs +4 -1
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +1 -1
- package/lib/components/VInput/index.d.mts +61 -55
- package/lib/components/VItemGroup/index.d.mts +17 -17
- package/lib/components/VLabel/index.d.mts +8 -8
- package/lib/components/VLayout/index.d.mts +36 -36
- package/lib/components/VLazy/index.d.mts +31 -31
- package/lib/components/VList/index.d.mts +178 -178
- package/lib/components/VLocaleProvider/index.d.mts +7 -7
- package/lib/components/VMain/index.d.mts +10 -10
- package/lib/components/VMenu/index.d.mts +393 -393
- package/lib/components/VMessages/index.d.mts +20 -20
- package/lib/components/VNavigationDrawer/index.d.mts +72 -72
- package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOtpInput/index.d.mts +88 -88
- package/lib/components/VOverlay/index.d.mts +97 -97
- package/lib/components/VPagination/index.d.mts +55 -55
- package/lib/components/VParallax/index.d.mts +7 -7
- package/lib/components/VProgressCircular/index.d.mts +24 -24
- package/lib/components/VProgressLinear/index.d.mts +52 -52
- package/lib/components/VRadio/index.d.mts +41 -41
- package/lib/components/VRadioGroup/index.d.mts +105 -99
- package/lib/components/VRangeSlider/index.d.mts +102 -96
- package/lib/components/VRating/index.d.mts +22 -22
- package/lib/components/VResponsive/index.d.mts +23 -23
- package/lib/components/VSelect/index.d.mts +615 -609
- package/lib/components/VSelectionControl/index.d.mts +43 -43
- package/lib/components/VSelectionControlGroup/index.d.mts +39 -39
- package/lib/components/VSheet/index.d.mts +34 -34
- package/lib/components/VSkeletonLoader/index.d.mts +17 -17
- package/lib/components/VSlideGroup/index.d.mts +33 -33
- package/lib/components/VSlider/index.d.mts +95 -89
- package/lib/components/VSnackbar/index.d.mts +411 -411
- package/lib/components/VSparkline/index.d.mts +38 -38
- package/lib/components/VSpeedDial/index.d.mts +176 -176
- package/lib/components/VStepper/index.d.mts +119 -119
- package/lib/components/VSwitch/index.d.mts +108 -102
- package/lib/components/VSystemBar/index.d.mts +39 -39
- package/lib/components/VTable/index.d.mts +4 -4
- package/lib/components/VTabs/index.d.mts +512 -512
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +421 -415
- package/lib/components/VTextarea/VTextarea.mjs +5 -5
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +359 -344
- package/lib/components/VTimeline/index.d.mts +26 -26
- package/lib/components/VToolbar/index.d.mts +53 -53
- package/lib/components/VTooltip/index.d.mts +424 -424
- package/lib/components/VValidation/index.d.mts +19 -19
- package/lib/components/VVirtualScroll/index.d.mts +10 -10
- package/lib/components/VWindow/index.d.mts +31 -31
- package/lib/components/index.d.mts +10651 -10563
- package/lib/components/transitions/index.d.mts +200 -200
- package/lib/composables/nested/nested.mjs +0 -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/index.d.mts +69 -68
- package/lib/labs/VCalendar/index.d.mts +52 -52
- package/lib/labs/VDateInput/VDateInput.mjs +6 -3
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +256 -250
- package/lib/labs/VNumberInput/index.d.mts +247 -241
- package/lib/labs/VPicker/index.d.mts +45 -45
- package/lib/labs/VSnackbarQueue/index.d.mts +611 -611
- package/lib/labs/VStepperVertical/index.d.mts +212 -212
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +0 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +131 -122
- package/lib/labs/VTreeview/VTreeviewItem.css +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +2 -5
- package/lib/labs/VTreeview/index.d.mts +199 -199
- package/lib/labs/components.d.mts +1754 -1733
- package/package.json +9 -4
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.13-3.7.0-beta.0.0-dev.2024-07-
|
2
|
+
* Vuetify v3.6.13-3.7.0-beta.0.0-dev.2024-07-24
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -7054,7 +7054,10 @@
|
|
7054
7054
|
const makeVInputProps = propsFactory({
|
7055
7055
|
id: String,
|
7056
7056
|
appendIcon: IconValue,
|
7057
|
-
centerAffix:
|
7057
|
+
centerAffix: {
|
7058
|
+
type: Boolean,
|
7059
|
+
default: true
|
7060
|
+
},
|
7058
7061
|
prependIcon: IconValue,
|
7059
7062
|
hideDetails: [Boolean, String],
|
7060
7063
|
hideSpinButtons: Boolean,
|
@@ -8804,7 +8807,6 @@
|
|
8804
8807
|
children.value.set(parent, list.filter(child => child !== id));
|
8805
8808
|
}
|
8806
8809
|
parents.value.delete(id);
|
8807
|
-
opened.value.delete(id);
|
8808
8810
|
},
|
8809
8811
|
open: (id, value, event) => {
|
8810
8812
|
vm.emit('click:open', {
|
@@ -11574,7 +11576,10 @@
|
|
11574
11576
|
default: '$clear'
|
11575
11577
|
},
|
11576
11578
|
active: Boolean,
|
11577
|
-
centerAffix:
|
11579
|
+
centerAffix: {
|
11580
|
+
type: Boolean,
|
11581
|
+
default: undefined
|
11582
|
+
},
|
11578
11583
|
color: String,
|
11579
11584
|
baseColor: String,
|
11580
11585
|
dirty: Boolean,
|
@@ -11641,9 +11646,8 @@
|
|
11641
11646
|
const {
|
11642
11647
|
rtlClasses
|
11643
11648
|
} = useRtl();
|
11644
|
-
const isSingleLine = vue.computed(() => props.singleLine || props.centerAffix);
|
11645
11649
|
const isActive = vue.computed(() => props.dirty || props.active);
|
11646
|
-
const hasLabel = vue.computed(() => !
|
11650
|
+
const hasLabel = vue.computed(() => !props.singleLine && !!(props.label || slots.label));
|
11647
11651
|
const uid = getUid();
|
11648
11652
|
const id = vue.computed(() => props.id || `input-${uid}`);
|
11649
11653
|
const messagesId = vue.computed(() => `${id.value}-messages`);
|
@@ -11732,7 +11736,7 @@
|
|
11732
11736
|
"class": ['v-field', {
|
11733
11737
|
'v-field--active': isActive.value,
|
11734
11738
|
'v-field--appended': hasAppend,
|
11735
|
-
'v-field--center-affix': props.centerAffix,
|
11739
|
+
'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,
|
11736
11740
|
'v-field--disabled': props.disabled,
|
11737
11741
|
'v-field--dirty': props.dirty,
|
11738
11742
|
'v-field--error': props.error,
|
@@ -11741,7 +11745,7 @@
|
|
11741
11745
|
'v-field--persistent-clear': props.persistentClear,
|
11742
11746
|
'v-field--prepended': hasPrepend,
|
11743
11747
|
'v-field--reverse': props.reverse,
|
11744
|
-
'v-field--single-line':
|
11748
|
+
'v-field--single-line': props.singleLine,
|
11745
11749
|
'v-field--no-label': !label(),
|
11746
11750
|
[`v-field--variant-${props.variant}`]: true
|
11747
11751
|
}, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
|
@@ -11976,6 +11980,7 @@
|
|
11976
11980
|
}, props.class],
|
11977
11981
|
"style": props.style
|
11978
11982
|
}, rootAttrs, inputProps, {
|
11983
|
+
"centerAffix": !isPlainOrUnderlined.value,
|
11979
11984
|
"focused": isFocused.value
|
11980
11985
|
}), {
|
11981
11986
|
...slots,
|
@@ -12001,7 +12006,6 @@
|
|
12001
12006
|
"dirty": isDirty.value || props.dirty,
|
12002
12007
|
"disabled": isDisabled.value,
|
12003
12008
|
"focused": isFocused.value,
|
12004
|
-
"centerAffix": props.centerAffix,
|
12005
12009
|
"error": isValid.value === false
|
12006
12010
|
}), {
|
12007
12011
|
...slots,
|
@@ -18342,6 +18346,7 @@
|
|
18342
18346
|
}
|
18343
18347
|
function provideGroupBy(options) {
|
18344
18348
|
const {
|
18349
|
+
disableSort,
|
18345
18350
|
groupBy,
|
18346
18351
|
sortBy
|
18347
18352
|
} = options;
|
@@ -18350,7 +18355,7 @@
|
|
18350
18355
|
return groupBy.value.map(val => ({
|
18351
18356
|
...val,
|
18352
18357
|
order: val.order ?? false
|
18353
|
-
})).concat(sortBy.value);
|
18358
|
+
})).concat(disableSort?.value ? [] : sortBy.value);
|
18354
18359
|
});
|
18355
18360
|
function isGroupOpen(group) {
|
18356
18361
|
return opened.value.has(group.id);
|
@@ -18859,7 +18864,7 @@
|
|
18859
18864
|
function useSortedItems(props, items, sortBy, options) {
|
18860
18865
|
const locale = useLocale();
|
18861
18866
|
const sortedItems = vue.computed(() => {
|
18862
|
-
if (!sortBy.value.length
|
18867
|
+
if (!sortBy.value.length) return items.value;
|
18863
18868
|
return sortItems(items.value, sortBy.value, locale.current.value, {
|
18864
18869
|
transform: options?.transform,
|
18865
18870
|
sortFunctions: {
|
@@ -18885,8 +18890,8 @@
|
|
18885
18890
|
const sortKey = sortByItems[i].key;
|
18886
18891
|
const sortOrder = sortByItems[i].order ?? 'asc';
|
18887
18892
|
if (sortOrder === false) continue;
|
18888
|
-
let sortA = a[1]
|
18889
|
-
let sortB = b[1]
|
18893
|
+
let sortA = getObjectValueByPath(a[1], sortKey);
|
18894
|
+
let sortB = getObjectValueByPath(b[1], sortKey);
|
18890
18895
|
let sortARaw = a[0].raw;
|
18891
18896
|
let sortBRaw = b[0].raw;
|
18892
18897
|
if (sortOrder === 'desc') {
|
@@ -20611,6 +20616,9 @@
|
|
20611
20616
|
page,
|
20612
20617
|
itemsPerPage
|
20613
20618
|
} = createPagination(props);
|
20619
|
+
const {
|
20620
|
+
disableSort
|
20621
|
+
} = vue.toRefs(props);
|
20614
20622
|
const {
|
20615
20623
|
columns,
|
20616
20624
|
headers,
|
@@ -20648,12 +20656,16 @@
|
|
20648
20656
|
toggleGroup
|
20649
20657
|
} = provideGroupBy({
|
20650
20658
|
groupBy,
|
20651
|
-
sortBy
|
20659
|
+
sortBy,
|
20660
|
+
disableSort
|
20652
20661
|
});
|
20653
20662
|
const {
|
20654
20663
|
sortedItems
|
20655
20664
|
} = useSortedItems(props, filteredItems, sortByWithGroups, {
|
20656
|
-
transform: item =>
|
20665
|
+
transform: item => ({
|
20666
|
+
...item.raw,
|
20667
|
+
...item.columns
|
20668
|
+
}),
|
20657
20669
|
sortFunctions,
|
20658
20670
|
sortRawFunctions
|
20659
20671
|
});
|
@@ -20791,6 +20803,9 @@
|
|
20791
20803
|
multiSort,
|
20792
20804
|
mustSort
|
20793
20805
|
} = createSort(props);
|
20806
|
+
const {
|
20807
|
+
disableSort
|
20808
|
+
} = vue.toRefs(props);
|
20794
20809
|
const {
|
20795
20810
|
columns,
|
20796
20811
|
headers,
|
@@ -20827,12 +20842,16 @@
|
|
20827
20842
|
toggleGroup
|
20828
20843
|
} = provideGroupBy({
|
20829
20844
|
groupBy,
|
20830
|
-
sortBy
|
20845
|
+
sortBy,
|
20846
|
+
disableSort
|
20831
20847
|
});
|
20832
20848
|
const {
|
20833
20849
|
sortedItems
|
20834
20850
|
} = useSortedItems(props, filteredItems, sortByWithGroups, {
|
20835
|
-
transform: item =>
|
20851
|
+
transform: item => ({
|
20852
|
+
...item.raw,
|
20853
|
+
...item.columns
|
20854
|
+
}),
|
20836
20855
|
sortFunctions,
|
20837
20856
|
sortRawFunctions
|
20838
20857
|
});
|
@@ -21016,6 +21035,9 @@
|
|
21016
21035
|
page,
|
21017
21036
|
itemsPerPage
|
21018
21037
|
} = createPagination(props);
|
21038
|
+
const {
|
21039
|
+
disableSort
|
21040
|
+
} = vue.toRefs(props);
|
21019
21041
|
const itemsLength = vue.computed(() => parseInt(props.itemsLength, 10));
|
21020
21042
|
const {
|
21021
21043
|
columns,
|
@@ -21043,7 +21065,8 @@
|
|
21043
21065
|
extractRows
|
21044
21066
|
} = provideGroupBy({
|
21045
21067
|
groupBy,
|
21046
|
-
sortBy
|
21068
|
+
sortBy,
|
21069
|
+
disableSort
|
21047
21070
|
});
|
21048
21071
|
const {
|
21049
21072
|
pageCount,
|
@@ -21807,6 +21830,9 @@
|
|
21807
21830
|
const _value = adapter.startOfDay(value);
|
21808
21831
|
if (model.value.length === 0) {
|
21809
21832
|
rangeStart.value = undefined;
|
21833
|
+
} else if (model.value.length === 1) {
|
21834
|
+
rangeStart.value = model.value[0];
|
21835
|
+
rangeStop.value = undefined;
|
21810
21836
|
}
|
21811
21837
|
if (!rangeStart.value) {
|
21812
21838
|
rangeStart.value = _value;
|
@@ -24491,7 +24517,7 @@
|
|
24491
24517
|
function onPaste(index, e) {
|
24492
24518
|
e.preventDefault();
|
24493
24519
|
e.stopPropagation();
|
24494
|
-
const clipboardText = e?.clipboardData?.getData('Text') ?? '';
|
24520
|
+
const clipboardText = e?.clipboardData?.getData('Text').slice(0, length.value) ?? '';
|
24495
24521
|
if (isValidNumber(clipboardText)) return;
|
24496
24522
|
model.value = clipboardText.split('');
|
24497
24523
|
inputRef.value?.[index].blur();
|
@@ -27036,8 +27062,8 @@
|
|
27036
27062
|
},
|
27037
27063
|
suffix: String,
|
27038
27064
|
modelModifiers: Object,
|
27039
|
-
...
|
27040
|
-
...
|
27065
|
+
...makeVInputProps(),
|
27066
|
+
...makeVFieldProps()
|
27041
27067
|
}, 'VTextarea');
|
27042
27068
|
const VTextarea = genericComponent()({
|
27043
27069
|
name: 'VTextarea',
|
@@ -27176,7 +27202,7 @@
|
|
27176
27202
|
}, props.class],
|
27177
27203
|
"style": props.style
|
27178
27204
|
}, rootAttrs, inputProps, {
|
27179
|
-
"centerAffix":
|
27205
|
+
"centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
|
27180
27206
|
"focused": isFocused.value
|
27181
27207
|
}), {
|
27182
27208
|
...slots,
|
@@ -27201,7 +27227,7 @@
|
|
27201
27227
|
}, fieldProps, {
|
27202
27228
|
"id": id.value,
|
27203
27229
|
"active": isActive.value || isDirty.value,
|
27204
|
-
"centerAffix":
|
27230
|
+
"centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
|
27205
27231
|
"dirty": isDirty.value || props.dirty,
|
27206
27232
|
"disabled": isDisabled.value,
|
27207
27233
|
"focused": isFocused.value,
|
@@ -28133,7 +28159,7 @@
|
|
28133
28159
|
goTo
|
28134
28160
|
};
|
28135
28161
|
}
|
28136
|
-
const version$1 = "3.6.13-3.7.0-beta.0.0-dev.2024-07-
|
28162
|
+
const version$1 = "3.6.13-3.7.0-beta.0.0-dev.2024-07-24";
|
28137
28163
|
createVuetify$1.version = version$1;
|
28138
28164
|
|
28139
28165
|
// Vue's inject() can only be used in setup
|
@@ -28158,7 +28184,7 @@
|
|
28158
28184
|
...options
|
28159
28185
|
});
|
28160
28186
|
};
|
28161
|
-
const version = "3.6.13-3.7.0-beta.0.0-dev.2024-07-
|
28187
|
+
const version = "3.6.13-3.7.0-beta.0.0-dev.2024-07-24";
|
28162
28188
|
createVuetify.version = version;
|
28163
28189
|
|
28164
28190
|
exports.blueprints = index;
|