@vuetify/nightly 3.8.0-master.2025-04-01 → 3.8.0-master.2025-04-03
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 +13 -3
- package/dist/json/attributes.json +1509 -1509
- package/dist/json/importMap-labs.json +38 -38
- package/dist/json/importMap.json +168 -168
- package/dist/json/web-types.json +3070 -3070
- package/dist/vuetify-labs.cjs +51 -44
- package/dist/vuetify-labs.css +4644 -4630
- package/dist/vuetify-labs.d.ts +119 -80
- package/dist/vuetify-labs.esm.js +51 -44
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +51 -44
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +51 -44
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2263 -2249
- package/dist/vuetify.d.ts +119 -80
- package/dist/vuetify.esm.js +51 -44
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +51 -44
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +83 -83
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +0 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +11 -9
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +0 -1
- package/lib/components/VCombobox/VCombobox.css +0 -1
- package/lib/components/VCombobox/VCombobox.js +22 -20
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.sass +0 -1
- package/lib/components/VField/VField.d.ts +3 -0
- package/lib/components/VField/VField.js +3 -2
- package/lib/components/VField/VField.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +2 -2
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VNumberInput/VNumberInput.d.ts +39 -12
- package/lib/components/VSelect/VSelect.css +0 -1
- package/lib/components/VSelect/VSelect.js +11 -9
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelect.sass +0 -1
- package/lib/components/VTextField/VTextField.css +21 -4
- package/lib/components/VTextField/VTextField.d.ts +12 -3
- package/lib/components/VTextField/VTextField.sass +22 -7
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +65 -65
- package/lib/framework.js +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.8.0-master.2025-04-
|
2
|
+
* Vuetify v3.8.0-master.2025-04-03
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -11732,7 +11732,7 @@ const VField = genericComponent()({
|
|
11732
11732
|
return props.error || props.disabled ? undefined : isActive.value && isFocused.value ? props.color : props.baseColor;
|
11733
11733
|
});
|
11734
11734
|
const iconColor = computed(() => {
|
11735
|
-
if (!props.iconColor) return undefined;
|
11735
|
+
if (!props.iconColor || props.glow && !isFocused.value) return undefined;
|
11736
11736
|
return props.iconColor === true ? color.value : props.iconColor;
|
11737
11737
|
});
|
11738
11738
|
const {
|
@@ -11930,7 +11930,8 @@ const VField = genericComponent()({
|
|
11930
11930
|
})])]);
|
11931
11931
|
});
|
11932
11932
|
return {
|
11933
|
-
controlRef
|
11933
|
+
controlRef,
|
11934
|
+
fieldIconColor: iconColor
|
11934
11935
|
};
|
11935
11936
|
}
|
11936
11937
|
});
|
@@ -12668,14 +12669,6 @@ const VSelect = genericComponent()({
|
|
12668
12669
|
const vTextFieldRef = ref();
|
12669
12670
|
const vMenuRef = ref();
|
12670
12671
|
const vVirtualScrollRef = ref();
|
12671
|
-
const _menu = useProxiedModel(props, 'menu');
|
12672
|
-
const menu = computed({
|
12673
|
-
get: () => _menu.value,
|
12674
|
-
set: v => {
|
12675
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
12676
|
-
_menu.value = v;
|
12677
|
-
}
|
12678
|
-
});
|
12679
12672
|
const {
|
12680
12673
|
items,
|
12681
12674
|
transformIn,
|
@@ -12691,7 +12684,6 @@ const VSelect = genericComponent()({
|
|
12691
12684
|
const form = useForm(props);
|
12692
12685
|
const selectedValues = computed(() => model.value.map(selection => selection.value));
|
12693
12686
|
const isFocused = shallowRef(false);
|
12694
|
-
const label = computed(() => menu.value ? props.closeText : props.openText);
|
12695
12687
|
let keyboardLookupPrefix = '';
|
12696
12688
|
let keyboardLookupLastTime;
|
12697
12689
|
const displayItems = computed(() => {
|
@@ -12701,6 +12693,16 @@ const VSelect = genericComponent()({
|
|
12701
12693
|
return items.value;
|
12702
12694
|
});
|
12703
12695
|
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
12696
|
+
const _menu = useProxiedModel(props, 'menu');
|
12697
|
+
const menu = computed({
|
12698
|
+
get: () => _menu.value,
|
12699
|
+
set: v => {
|
12700
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
12701
|
+
if (v && menuDisabled.value) return;
|
12702
|
+
_menu.value = v;
|
12703
|
+
}
|
12704
|
+
});
|
12705
|
+
const label = computed(() => menu.value ? props.closeText : props.openText);
|
12704
12706
|
const computedMenuProps = computed(() => {
|
12705
12707
|
return {
|
12706
12708
|
...props.menuProps,
|
@@ -12996,6 +12998,7 @@ const VSelect = genericComponent()({
|
|
12996
12998
|
}
|
12997
12999
|
return createVNode(Fragment, null, [slots['append-inner']?.(...args), props.menuIcon ? createVNode(VIcon, {
|
12998
13000
|
"class": "v-select__menu-icon",
|
13001
|
+
"color": vTextFieldRef.value?.fieldIconColor,
|
12999
13002
|
"icon": props.menuIcon
|
13000
13003
|
}, null) : undefined]);
|
13001
13004
|
}
|
@@ -13199,17 +13202,8 @@ const VAutocomplete = genericComponent()({
|
|
13199
13202
|
const listHasFocus = shallowRef(false);
|
13200
13203
|
const vMenuRef = ref();
|
13201
13204
|
const vVirtualScrollRef = ref();
|
13202
|
-
const _menu = useProxiedModel(props, 'menu');
|
13203
|
-
const menu = computed({
|
13204
|
-
get: () => _menu.value,
|
13205
|
-
set: v => {
|
13206
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
13207
|
-
_menu.value = v;
|
13208
|
-
}
|
13209
|
-
});
|
13210
13205
|
const selectionIndex = shallowRef(-1);
|
13211
13206
|
const color = computed(() => vTextFieldRef.value?.color);
|
13212
|
-
const label = computed(() => menu.value ? props.closeText : props.openText);
|
13213
13207
|
const {
|
13214
13208
|
items,
|
13215
13209
|
transformIn,
|
@@ -13246,6 +13240,16 @@ const VAutocomplete = genericComponent()({
|
|
13246
13240
|
return selectFirst && displayItems.value.length > 0 && !isPristine.value && !listHasFocus.value;
|
13247
13241
|
});
|
13248
13242
|
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
13243
|
+
const _menu = useProxiedModel(props, 'menu');
|
13244
|
+
const menu = computed({
|
13245
|
+
get: () => _menu.value,
|
13246
|
+
set: v => {
|
13247
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
13248
|
+
if (v && menuDisabled.value) return;
|
13249
|
+
_menu.value = v;
|
13250
|
+
}
|
13251
|
+
});
|
13252
|
+
const label = computed(() => menu.value ? props.closeText : props.openText);
|
13249
13253
|
const listRef = ref();
|
13250
13254
|
const listEvents = useScrolling(listRef, vTextFieldRef);
|
13251
13255
|
function onClear(e) {
|
@@ -13595,6 +13599,7 @@ const VAutocomplete = genericComponent()({
|
|
13595
13599
|
}
|
13596
13600
|
return createVNode(Fragment, null, [slots['append-inner']?.(...args), props.menuIcon ? createVNode(VIcon, {
|
13597
13601
|
"class": "v-autocomplete__menu-icon",
|
13602
|
+
"color": vTextFieldRef.value?.fieldIconColor,
|
13598
13603
|
"icon": props.menuIcon,
|
13599
13604
|
"onMousedown": onMousedownMenuIcon,
|
13600
13605
|
"onClick": noop,
|
@@ -17964,18 +17969,9 @@ const VCombobox = genericComponent()({
|
|
17964
17969
|
const listHasFocus = shallowRef(false);
|
17965
17970
|
const vMenuRef = ref();
|
17966
17971
|
const vVirtualScrollRef = ref();
|
17967
|
-
const _menu = useProxiedModel(props, 'menu');
|
17968
|
-
const menu = computed({
|
17969
|
-
get: () => _menu.value,
|
17970
|
-
set: v => {
|
17971
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
17972
|
-
_menu.value = v;
|
17973
|
-
}
|
17974
|
-
});
|
17975
17972
|
const selectionIndex = shallowRef(-1);
|
17976
17973
|
let cleared = false;
|
17977
17974
|
const color = computed(() => vTextFieldRef.value?.color);
|
17978
|
-
const label = computed(() => menu.value ? props.closeText : props.openText);
|
17979
17975
|
const {
|
17980
17976
|
items,
|
17981
17977
|
transformIn,
|
@@ -18019,6 +18015,27 @@ const VCombobox = genericComponent()({
|
|
18019
18015
|
const counterValue = computed(() => {
|
18020
18016
|
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : props.multiple ? model.value.length : search.value.length;
|
18021
18017
|
});
|
18018
|
+
const {
|
18019
|
+
filteredItems,
|
18020
|
+
getMatches
|
18021
|
+
} = useFilter(props, items, () => isPristine.value ? '' : search.value);
|
18022
|
+
const displayItems = computed(() => {
|
18023
|
+
if (props.hideSelected) {
|
18024
|
+
return filteredItems.value.filter(filteredItem => !model.value.some(s => s.value === filteredItem.value));
|
18025
|
+
}
|
18026
|
+
return filteredItems.value;
|
18027
|
+
});
|
18028
|
+
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
18029
|
+
const _menu = useProxiedModel(props, 'menu');
|
18030
|
+
const menu = computed({
|
18031
|
+
get: () => _menu.value,
|
18032
|
+
set: v => {
|
18033
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return;
|
18034
|
+
if (v && menuDisabled.value) return;
|
18035
|
+
_menu.value = v;
|
18036
|
+
}
|
18037
|
+
});
|
18038
|
+
const label = computed(() => menu.value ? props.closeText : props.openText);
|
18022
18039
|
watch(_search, value => {
|
18023
18040
|
if (cleared) {
|
18024
18041
|
// wait for clear to finish, VTextField sets _search to null
|
@@ -18034,22 +18051,11 @@ const VCombobox = genericComponent()({
|
|
18034
18051
|
_search.value = value[0]?.title ?? '';
|
18035
18052
|
}
|
18036
18053
|
});
|
18037
|
-
const {
|
18038
|
-
filteredItems,
|
18039
|
-
getMatches
|
18040
|
-
} = useFilter(props, items, () => isPristine.value ? '' : search.value);
|
18041
|
-
const displayItems = computed(() => {
|
18042
|
-
if (props.hideSelected) {
|
18043
|
-
return filteredItems.value.filter(filteredItem => !model.value.some(s => s.value === filteredItem.value));
|
18044
|
-
}
|
18045
|
-
return filteredItems.value;
|
18046
|
-
});
|
18047
18054
|
const selectedValues = computed(() => model.value.map(selection => selection.value));
|
18048
18055
|
const highlightFirst = computed(() => {
|
18049
18056
|
const selectFirst = props.autoSelectFirst === true || props.autoSelectFirst === 'exact' && search.value === displayItems.value[0]?.title;
|
18050
18057
|
return selectFirst && displayItems.value.length > 0 && !isPristine.value && !listHasFocus.value;
|
18051
18058
|
});
|
18052
|
-
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
18053
18059
|
const listRef = ref();
|
18054
18060
|
const listEvents = useScrolling(listRef, vTextFieldRef);
|
18055
18061
|
function onClear(e) {
|
@@ -18400,6 +18406,7 @@ const VCombobox = genericComponent()({
|
|
18400
18406
|
}
|
18401
18407
|
return createVNode(Fragment, null, [slots['append-inner']?.(...args), (!props.hideNoData || props.items.length) && props.menuIcon ? createVNode(VIcon, {
|
18402
18408
|
"class": "v-combobox__menu-icon",
|
18409
|
+
"color": vTextFieldRef.value?.fieldIconColor,
|
18403
18410
|
"icon": props.menuIcon,
|
18404
18411
|
"onMousedown": onMousedownMenuIcon,
|
18405
18412
|
"onClick": noop,
|
@@ -24549,7 +24556,7 @@ const VNavigationDrawer = genericComponent()({
|
|
24549
24556
|
position: location,
|
24550
24557
|
layoutSize,
|
24551
24558
|
elementSize: width,
|
24552
|
-
active:
|
24559
|
+
active: readonly(isActive),
|
24553
24560
|
disableTransitions: computed(() => isDragging.value),
|
24554
24561
|
absolute: computed(() =>
|
24555
24562
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
@@ -31530,7 +31537,7 @@ function createVuetify$1() {
|
|
31530
31537
|
};
|
31531
31538
|
});
|
31532
31539
|
}
|
31533
|
-
const version$1 = "3.8.0-master.2025-04-
|
31540
|
+
const version$1 = "3.8.0-master.2025-04-03";
|
31534
31541
|
createVuetify$1.version = version$1;
|
31535
31542
|
|
31536
31543
|
// Vue's inject() can only be used in setup
|
@@ -31815,7 +31822,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
31815
31822
|
|
31816
31823
|
/* eslint-disable local-rules/sort-imports */
|
31817
31824
|
|
31818
|
-
const version = "3.8.0-master.2025-04-
|
31825
|
+
const version = "3.8.0-master.2025-04-03";
|
31819
31826
|
|
31820
31827
|
/* eslint-disable local-rules/sort-imports */
|
31821
31828
|
|