@vuetify/nightly 3.6.13-3.7.0-beta.0.0-dev.2024-07-12 → 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 -13
- package/dist/json/attributes.json +30 -22
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +152 -152
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +53 -42
- package/dist/vuetify-labs.css +2433 -2435
- 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 +738 -740
- package/dist/vuetify.d.ts +10490 -10401
- 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 +81 -80
- 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/index.d.mts +199 -199
- package/lib/labs/components.d.mts +1754 -1733
- package/package.json +9 -4
package/dist/vuetify.esm.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
|
*/
|
@@ -7050,7 +7050,10 @@ function useValidation(props) {
|
|
7050
7050
|
const makeVInputProps = propsFactory({
|
7051
7051
|
id: String,
|
7052
7052
|
appendIcon: IconValue,
|
7053
|
-
centerAffix:
|
7053
|
+
centerAffix: {
|
7054
|
+
type: Boolean,
|
7055
|
+
default: true
|
7056
|
+
},
|
7054
7057
|
prependIcon: IconValue,
|
7055
7058
|
hideDetails: [Boolean, String],
|
7056
7059
|
hideSpinButtons: Boolean,
|
@@ -8800,7 +8803,6 @@ const useNested = props => {
|
|
8800
8803
|
children.value.set(parent, list.filter(child => child !== id));
|
8801
8804
|
}
|
8802
8805
|
parents.value.delete(id);
|
8803
|
-
opened.value.delete(id);
|
8804
8806
|
},
|
8805
8807
|
open: (id, value, event) => {
|
8806
8808
|
vm.emit('click:open', {
|
@@ -11570,7 +11572,10 @@ const makeVFieldProps = propsFactory({
|
|
11570
11572
|
default: '$clear'
|
11571
11573
|
},
|
11572
11574
|
active: Boolean,
|
11573
|
-
centerAffix:
|
11575
|
+
centerAffix: {
|
11576
|
+
type: Boolean,
|
11577
|
+
default: undefined
|
11578
|
+
},
|
11574
11579
|
color: String,
|
11575
11580
|
baseColor: String,
|
11576
11581
|
dirty: Boolean,
|
@@ -11637,9 +11642,8 @@ const VField = genericComponent()({
|
|
11637
11642
|
const {
|
11638
11643
|
rtlClasses
|
11639
11644
|
} = useRtl();
|
11640
|
-
const isSingleLine = computed(() => props.singleLine || props.centerAffix);
|
11641
11645
|
const isActive = computed(() => props.dirty || props.active);
|
11642
|
-
const hasLabel = computed(() => !
|
11646
|
+
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11643
11647
|
const uid = getUid();
|
11644
11648
|
const id = computed(() => props.id || `input-${uid}`);
|
11645
11649
|
const messagesId = computed(() => `${id.value}-messages`);
|
@@ -11728,7 +11732,7 @@ const VField = genericComponent()({
|
|
11728
11732
|
"class": ['v-field', {
|
11729
11733
|
'v-field--active': isActive.value,
|
11730
11734
|
'v-field--appended': hasAppend,
|
11731
|
-
'v-field--center-affix': props.centerAffix,
|
11735
|
+
'v-field--center-affix': props.centerAffix ?? !isPlainOrUnderlined.value,
|
11732
11736
|
'v-field--disabled': props.disabled,
|
11733
11737
|
'v-field--dirty': props.dirty,
|
11734
11738
|
'v-field--error': props.error,
|
@@ -11737,7 +11741,7 @@ const VField = genericComponent()({
|
|
11737
11741
|
'v-field--persistent-clear': props.persistentClear,
|
11738
11742
|
'v-field--prepended': hasPrepend,
|
11739
11743
|
'v-field--reverse': props.reverse,
|
11740
|
-
'v-field--single-line':
|
11744
|
+
'v-field--single-line': props.singleLine,
|
11741
11745
|
'v-field--no-label': !label(),
|
11742
11746
|
[`v-field--variant-${props.variant}`]: true
|
11743
11747
|
}, themeClasses.value, backgroundColorClasses.value, focusClasses.value, loaderClasses.value, roundedClasses.value, rtlClasses.value, props.class],
|
@@ -11972,6 +11976,7 @@ const VTextField = genericComponent()({
|
|
11972
11976
|
}, props.class],
|
11973
11977
|
"style": props.style
|
11974
11978
|
}, rootAttrs, inputProps, {
|
11979
|
+
"centerAffix": !isPlainOrUnderlined.value,
|
11975
11980
|
"focused": isFocused.value
|
11976
11981
|
}), {
|
11977
11982
|
...slots,
|
@@ -11997,7 +12002,6 @@ const VTextField = genericComponent()({
|
|
11997
12002
|
"dirty": isDirty.value || props.dirty,
|
11998
12003
|
"disabled": isDisabled.value,
|
11999
12004
|
"focused": isFocused.value,
|
12000
|
-
"centerAffix": props.centerAffix,
|
12001
12005
|
"error": isValid.value === false
|
12002
12006
|
}), {
|
12003
12007
|
...slots,
|
@@ -18338,6 +18342,7 @@ function createGroupBy(props) {
|
|
18338
18342
|
}
|
18339
18343
|
function provideGroupBy(options) {
|
18340
18344
|
const {
|
18345
|
+
disableSort,
|
18341
18346
|
groupBy,
|
18342
18347
|
sortBy
|
18343
18348
|
} = options;
|
@@ -18346,7 +18351,7 @@ function provideGroupBy(options) {
|
|
18346
18351
|
return groupBy.value.map(val => ({
|
18347
18352
|
...val,
|
18348
18353
|
order: val.order ?? false
|
18349
|
-
})).concat(sortBy.value);
|
18354
|
+
})).concat(disableSort?.value ? [] : sortBy.value);
|
18350
18355
|
});
|
18351
18356
|
function isGroupOpen(group) {
|
18352
18357
|
return opened.value.has(group.id);
|
@@ -18855,7 +18860,7 @@ function useSort() {
|
|
18855
18860
|
function useSortedItems(props, items, sortBy, options) {
|
18856
18861
|
const locale = useLocale();
|
18857
18862
|
const sortedItems = computed(() => {
|
18858
|
-
if (!sortBy.value.length
|
18863
|
+
if (!sortBy.value.length) return items.value;
|
18859
18864
|
return sortItems(items.value, sortBy.value, locale.current.value, {
|
18860
18865
|
transform: options?.transform,
|
18861
18866
|
sortFunctions: {
|
@@ -18881,8 +18886,8 @@ function sortItems(items, sortByItems, locale, options) {
|
|
18881
18886
|
const sortKey = sortByItems[i].key;
|
18882
18887
|
const sortOrder = sortByItems[i].order ?? 'asc';
|
18883
18888
|
if (sortOrder === false) continue;
|
18884
|
-
let sortA = a[1]
|
18885
|
-
let sortB = b[1]
|
18889
|
+
let sortA = getObjectValueByPath(a[1], sortKey);
|
18890
|
+
let sortB = getObjectValueByPath(b[1], sortKey);
|
18886
18891
|
let sortARaw = a[0].raw;
|
18887
18892
|
let sortBRaw = b[0].raw;
|
18888
18893
|
if (sortOrder === 'desc') {
|
@@ -20607,6 +20612,9 @@ const VDataTable = genericComponent()({
|
|
20607
20612
|
page,
|
20608
20613
|
itemsPerPage
|
20609
20614
|
} = createPagination(props);
|
20615
|
+
const {
|
20616
|
+
disableSort
|
20617
|
+
} = toRefs(props);
|
20610
20618
|
const {
|
20611
20619
|
columns,
|
20612
20620
|
headers,
|
@@ -20644,12 +20652,16 @@ const VDataTable = genericComponent()({
|
|
20644
20652
|
toggleGroup
|
20645
20653
|
} = provideGroupBy({
|
20646
20654
|
groupBy,
|
20647
|
-
sortBy
|
20655
|
+
sortBy,
|
20656
|
+
disableSort
|
20648
20657
|
});
|
20649
20658
|
const {
|
20650
20659
|
sortedItems
|
20651
20660
|
} = useSortedItems(props, filteredItems, sortByWithGroups, {
|
20652
|
-
transform: item =>
|
20661
|
+
transform: item => ({
|
20662
|
+
...item.raw,
|
20663
|
+
...item.columns
|
20664
|
+
}),
|
20653
20665
|
sortFunctions,
|
20654
20666
|
sortRawFunctions
|
20655
20667
|
});
|
@@ -20787,6 +20799,9 @@ const VDataTableVirtual = genericComponent()({
|
|
20787
20799
|
multiSort,
|
20788
20800
|
mustSort
|
20789
20801
|
} = createSort(props);
|
20802
|
+
const {
|
20803
|
+
disableSort
|
20804
|
+
} = toRefs(props);
|
20790
20805
|
const {
|
20791
20806
|
columns,
|
20792
20807
|
headers,
|
@@ -20823,12 +20838,16 @@ const VDataTableVirtual = genericComponent()({
|
|
20823
20838
|
toggleGroup
|
20824
20839
|
} = provideGroupBy({
|
20825
20840
|
groupBy,
|
20826
|
-
sortBy
|
20841
|
+
sortBy,
|
20842
|
+
disableSort
|
20827
20843
|
});
|
20828
20844
|
const {
|
20829
20845
|
sortedItems
|
20830
20846
|
} = useSortedItems(props, filteredItems, sortByWithGroups, {
|
20831
|
-
transform: item =>
|
20847
|
+
transform: item => ({
|
20848
|
+
...item.raw,
|
20849
|
+
...item.columns
|
20850
|
+
}),
|
20832
20851
|
sortFunctions,
|
20833
20852
|
sortRawFunctions
|
20834
20853
|
});
|
@@ -21012,6 +21031,9 @@ const VDataTableServer = genericComponent()({
|
|
21012
21031
|
page,
|
21013
21032
|
itemsPerPage
|
21014
21033
|
} = createPagination(props);
|
21034
|
+
const {
|
21035
|
+
disableSort
|
21036
|
+
} = toRefs(props);
|
21015
21037
|
const itemsLength = computed(() => parseInt(props.itemsLength, 10));
|
21016
21038
|
const {
|
21017
21039
|
columns,
|
@@ -21039,7 +21061,8 @@ const VDataTableServer = genericComponent()({
|
|
21039
21061
|
extractRows
|
21040
21062
|
} = provideGroupBy({
|
21041
21063
|
groupBy,
|
21042
|
-
sortBy
|
21064
|
+
sortBy,
|
21065
|
+
disableSort
|
21043
21066
|
});
|
21044
21067
|
const {
|
21045
21068
|
pageCount,
|
@@ -21803,6 +21826,9 @@ const VDatePickerMonth = genericComponent()({
|
|
21803
21826
|
const _value = adapter.startOfDay(value);
|
21804
21827
|
if (model.value.length === 0) {
|
21805
21828
|
rangeStart.value = undefined;
|
21829
|
+
} else if (model.value.length === 1) {
|
21830
|
+
rangeStart.value = model.value[0];
|
21831
|
+
rangeStop.value = undefined;
|
21806
21832
|
}
|
21807
21833
|
if (!rangeStart.value) {
|
21808
21834
|
rangeStart.value = _value;
|
@@ -24487,7 +24513,7 @@ const VOtpInput = genericComponent()({
|
|
24487
24513
|
function onPaste(index, e) {
|
24488
24514
|
e.preventDefault();
|
24489
24515
|
e.stopPropagation();
|
24490
|
-
const clipboardText = e?.clipboardData?.getData('Text') ?? '';
|
24516
|
+
const clipboardText = e?.clipboardData?.getData('Text').slice(0, length.value) ?? '';
|
24491
24517
|
if (isValidNumber(clipboardText)) return;
|
24492
24518
|
model.value = clipboardText.split('');
|
24493
24519
|
inputRef.value?.[index].blur();
|
@@ -27032,8 +27058,8 @@ const makeVTextareaProps = propsFactory({
|
|
27032
27058
|
},
|
27033
27059
|
suffix: String,
|
27034
27060
|
modelModifiers: Object,
|
27035
|
-
...
|
27036
|
-
...
|
27061
|
+
...makeVInputProps(),
|
27062
|
+
...makeVFieldProps()
|
27037
27063
|
}, 'VTextarea');
|
27038
27064
|
const VTextarea = genericComponent()({
|
27039
27065
|
name: 'VTextarea',
|
@@ -27172,7 +27198,7 @@ const VTextarea = genericComponent()({
|
|
27172
27198
|
}, props.class],
|
27173
27199
|
"style": props.style
|
27174
27200
|
}, rootAttrs, inputProps, {
|
27175
|
-
"centerAffix":
|
27201
|
+
"centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
|
27176
27202
|
"focused": isFocused.value
|
27177
27203
|
}), {
|
27178
27204
|
...slots,
|
@@ -27197,7 +27223,7 @@ const VTextarea = genericComponent()({
|
|
27197
27223
|
}, fieldProps, {
|
27198
27224
|
"id": id.value,
|
27199
27225
|
"active": isActive.value || isDirty.value,
|
27200
|
-
"centerAffix":
|
27226
|
+
"centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
|
27201
27227
|
"dirty": isDirty.value || props.dirty,
|
27202
27228
|
"disabled": isDisabled.value,
|
27203
27229
|
"focused": isFocused.value,
|
@@ -28129,7 +28155,7 @@ function createVuetify$1() {
|
|
28129
28155
|
goTo
|
28130
28156
|
};
|
28131
28157
|
}
|
28132
|
-
const version$1 = "3.6.13-3.7.0-beta.0.0-dev.2024-07-
|
28158
|
+
const version$1 = "3.6.13-3.7.0-beta.0.0-dev.2024-07-24";
|
28133
28159
|
createVuetify$1.version = version$1;
|
28134
28160
|
|
28135
28161
|
// Vue's inject() can only be used in setup
|
@@ -28154,7 +28180,7 @@ const createVuetify = function () {
|
|
28154
28180
|
...options
|
28155
28181
|
});
|
28156
28182
|
};
|
28157
|
-
const version = "3.6.13-3.7.0-beta.0.0-dev.2024-07-
|
28183
|
+
const version = "3.6.13-3.7.0-beta.0.0-dev.2024-07-24";
|
28158
28184
|
createVuetify.version = version;
|
28159
28185
|
|
28160
28186
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|