vuetify 3.10.10 → 3.10.12
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 +3270 -3310
- package/dist/json/importMap-labs.json +22 -22
- package/dist/json/importMap.json +170 -170
- package/dist/json/tags.json +0 -10
- package/dist/json/web-types.json +6161 -6261
- package/dist/vuetify-labs.cjs +23 -10
- package/dist/vuetify-labs.css +4368 -4362
- package/dist/vuetify-labs.d.ts +465 -653
- package/dist/vuetify-labs.esm.js +23 -10
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +23 -10
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +23 -10
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3098 -3092
- package/dist/vuetify.d.ts +339 -467
- package/dist/vuetify.esm.js +23 -10
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +23 -10
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +25 -25
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +63 -94
- package/lib/components/VCombobox/VCombobox.d.ts +63 -94
- package/lib/components/VField/VField.css +6 -1
- package/lib/components/VField/VField.d.ts +8 -13
- package/lib/components/VField/VField.js +1 -1
- package/lib/components/VField/VField.js.map +1 -1
- package/lib/components/VField/VField.sass +5 -0
- package/lib/components/VFileInput/VFileInput.d.ts +0 -13
- package/lib/components/VNumberInput/VNumberInput.d.ts +63 -89
- package/lib/components/VSelect/VSelect.d.ts +63 -94
- package/lib/components/VSelect/VSelect.js +14 -3
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VTabs/VTab.css +3 -2
- package/lib/components/VTabs/VTab.sass +2 -1
- package/lib/components/VTextField/VTextField.d.ts +18 -31
- package/lib/components/VTextarea/VTextarea.d.ts +0 -13
- package/lib/components/VWindow/VWindow.js +2 -2
- package/lib/components/VWindow/VWindow.js.map +1 -1
- package/lib/composables/autocomplete.js +1 -0
- package/lib/composables/autocomplete.js.map +1 -1
- package/lib/directives/tooltip/index.js +5 -2
- package/lib/directives/tooltip/index.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +61 -61
- package/lib/framework.js +1 -1
- package/lib/labs/VColorInput/VColorInput.d.ts +0 -13
- package/lib/labs/VDateInput/VDateInput.d.ts +63 -94
- package/lib/labs/VMaskInput/VMaskInput.d.ts +63 -94
- package/lib/util/helpers.js +1 -1
- package/lib/util/helpers.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.10.
|
|
2
|
+
* Vuetify v3.10.12
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -296,7 +296,7 @@ function findChildrenWithProvide(key, vnode) {
|
|
|
296
296
|
} else if (Array.isArray(vnode.children)) {
|
|
297
297
|
return vnode.children.map(child => findChildrenWithProvide(key, child)).flat(1);
|
|
298
298
|
} else if (vnode.component) {
|
|
299
|
-
if (Object.
|
|
299
|
+
if (Object.getOwnPropertyDescriptor(vnode.component.provides, key)) {
|
|
300
300
|
return [vnode.component];
|
|
301
301
|
} else if (vnode.component.subTree) {
|
|
302
302
|
return findChildrenWithProvide(key, vnode.component.subTree).flat(1);
|
|
@@ -12654,7 +12654,6 @@ const makeVFieldProps = propsFactory({
|
|
|
12654
12654
|
},
|
|
12655
12655
|
color: String,
|
|
12656
12656
|
baseColor: String,
|
|
12657
|
-
details: Boolean,
|
|
12658
12657
|
dirty: Boolean,
|
|
12659
12658
|
disabled: {
|
|
12660
12659
|
type: Boolean,
|
|
@@ -12687,6 +12686,7 @@ const VField = genericComponent()({
|
|
|
12687
12686
|
inheritAttrs: false,
|
|
12688
12687
|
props: {
|
|
12689
12688
|
id: String,
|
|
12689
|
+
details: Boolean,
|
|
12690
12690
|
...makeFocusProps(),
|
|
12691
12691
|
...makeVFieldProps()
|
|
12692
12692
|
},
|
|
@@ -12959,6 +12959,7 @@ function useAutocomplete(props) {
|
|
|
12959
12959
|
const reloadTrigger = shallowRef(0);
|
|
12960
12960
|
const isSuppressing = toRef(() => props.autocomplete === 'suppress');
|
|
12961
12961
|
const fieldName = toRef(() => {
|
|
12962
|
+
if (!props.name) return undefined;
|
|
12962
12963
|
return isSuppressing.value ? `${props.name}-${uniqueId}-${reloadTrigger.value}` : props.name;
|
|
12963
12964
|
});
|
|
12964
12965
|
const fieldAutocomplete = toRef(() => {
|
|
@@ -13778,6 +13779,7 @@ const VSelect = genericComponent()({
|
|
|
13778
13779
|
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : model.value.length;
|
|
13779
13780
|
});
|
|
13780
13781
|
const form = useForm(props);
|
|
13782
|
+
const autocomplete = useAutocomplete(props);
|
|
13781
13783
|
const selectedValues = computed(() => model.value.map(selection => selection.value));
|
|
13782
13784
|
const isFocused = shallowRef(false);
|
|
13783
13785
|
let keyboardLookupPrefix = '';
|
|
@@ -13970,7 +13972,8 @@ const VSelect = genericComponent()({
|
|
|
13970
13972
|
return createVNode(VTextField, mergeProps({
|
|
13971
13973
|
"ref": vTextFieldRef
|
|
13972
13974
|
}, textFieldProps, {
|
|
13973
|
-
"modelValue": model.value.map(v => v.props.
|
|
13975
|
+
"modelValue": model.value.map(v => v.props.title).join(', '),
|
|
13976
|
+
"name": undefined,
|
|
13974
13977
|
"onUpdate:modelValue": onModelUpdate,
|
|
13975
13978
|
"focused": isFocused.value,
|
|
13976
13979
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
@@ -13997,7 +14000,15 @@ const VSelect = genericComponent()({
|
|
|
13997
14000
|
"title": ariaLabel.value
|
|
13998
14001
|
}), {
|
|
13999
14002
|
...slots,
|
|
14000
|
-
default: () => createElementVNode(Fragment, null, [
|
|
14003
|
+
default: () => createElementVNode(Fragment, null, [createElementVNode("select", {
|
|
14004
|
+
"hidden": true,
|
|
14005
|
+
"multiple": props.multiple,
|
|
14006
|
+
"name": autocomplete.fieldName.value
|
|
14007
|
+
}, [items.value.map(item => createElementVNode("option", {
|
|
14008
|
+
"key": item.value,
|
|
14009
|
+
"value": item.value,
|
|
14010
|
+
"selected": selectedValues.value.includes(item.value)
|
|
14011
|
+
}, null))]), createVNode(VMenu, mergeProps({
|
|
14001
14012
|
"id": menuId.value,
|
|
14002
14013
|
"ref": vMenuRef,
|
|
14003
14014
|
"modelValue": menu.value,
|
|
@@ -16109,9 +16120,9 @@ const VWindow = genericComponent()({
|
|
|
16109
16120
|
if (itemsLength <= 2) {
|
|
16110
16121
|
isReversed.value = newVal < oldVal;
|
|
16111
16122
|
} else if (newVal === lastIndex && oldVal === 0) {
|
|
16112
|
-
isReversed.value = true;
|
|
16113
|
-
} else if (newVal === 0 && oldVal === lastIndex) {
|
|
16114
16123
|
isReversed.value = false;
|
|
16124
|
+
} else if (newVal === 0 && oldVal === lastIndex) {
|
|
16125
|
+
isReversed.value = true;
|
|
16115
16126
|
} else {
|
|
16116
16127
|
isReversed.value = newVal < oldVal;
|
|
16117
16128
|
}
|
|
@@ -32434,8 +32445,10 @@ function findComponentParent(vnode, root) {
|
|
|
32434
32445
|
// Types
|
|
32435
32446
|
|
|
32436
32447
|
const Tooltip = useDirectiveComponent(VTooltip, binding => {
|
|
32448
|
+
const disabled = isObject(binding.value) ? !binding.value.text : ['', false, null].includes(binding.value); // undefined means true
|
|
32449
|
+
|
|
32437
32450
|
return {
|
|
32438
|
-
activator: 'parent',
|
|
32451
|
+
activator: disabled ? null : 'parent',
|
|
32439
32452
|
location: binding.arg?.replace('-', ' '),
|
|
32440
32453
|
text: typeof binding.value === 'boolean' ? undefined : binding.value
|
|
32441
32454
|
};
|
|
@@ -32552,7 +32565,7 @@ function createVuetify$1() {
|
|
|
32552
32565
|
};
|
|
32553
32566
|
});
|
|
32554
32567
|
}
|
|
32555
|
-
const version$1 = "3.10.
|
|
32568
|
+
const version$1 = "3.10.12";
|
|
32556
32569
|
createVuetify$1.version = version$1;
|
|
32557
32570
|
|
|
32558
32571
|
// Vue's inject() can only be used in setup
|
|
@@ -32577,7 +32590,7 @@ const createVuetify = function () {
|
|
|
32577
32590
|
...options
|
|
32578
32591
|
});
|
|
32579
32592
|
};
|
|
32580
|
-
const version = "3.10.
|
|
32593
|
+
const version = "3.10.12";
|
|
32581
32594
|
createVuetify.version = version;
|
|
32582
32595
|
|
|
32583
32596
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useHotkey, useLayout, useLocale, useMask, useRtl, useTheme, version };
|