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.
Files changed (54) hide show
  1. package/dist/json/attributes.json +3270 -3310
  2. package/dist/json/importMap-labs.json +22 -22
  3. package/dist/json/importMap.json +170 -170
  4. package/dist/json/tags.json +0 -10
  5. package/dist/json/web-types.json +6161 -6261
  6. package/dist/vuetify-labs.cjs +23 -10
  7. package/dist/vuetify-labs.css +4368 -4362
  8. package/dist/vuetify-labs.d.ts +465 -653
  9. package/dist/vuetify-labs.esm.js +23 -10
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +23 -10
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +23 -10
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +3098 -3092
  16. package/dist/vuetify.d.ts +339 -467
  17. package/dist/vuetify.esm.js +23 -10
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +23 -10
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +25 -25
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VAutocomplete/VAutocomplete.d.ts +63 -94
  25. package/lib/components/VCombobox/VCombobox.d.ts +63 -94
  26. package/lib/components/VField/VField.css +6 -1
  27. package/lib/components/VField/VField.d.ts +8 -13
  28. package/lib/components/VField/VField.js +1 -1
  29. package/lib/components/VField/VField.js.map +1 -1
  30. package/lib/components/VField/VField.sass +5 -0
  31. package/lib/components/VFileInput/VFileInput.d.ts +0 -13
  32. package/lib/components/VNumberInput/VNumberInput.d.ts +63 -89
  33. package/lib/components/VSelect/VSelect.d.ts +63 -94
  34. package/lib/components/VSelect/VSelect.js +14 -3
  35. package/lib/components/VSelect/VSelect.js.map +1 -1
  36. package/lib/components/VTabs/VTab.css +3 -2
  37. package/lib/components/VTabs/VTab.sass +2 -1
  38. package/lib/components/VTextField/VTextField.d.ts +18 -31
  39. package/lib/components/VTextarea/VTextarea.d.ts +0 -13
  40. package/lib/components/VWindow/VWindow.js +2 -2
  41. package/lib/components/VWindow/VWindow.js.map +1 -1
  42. package/lib/composables/autocomplete.js +1 -0
  43. package/lib/composables/autocomplete.js.map +1 -1
  44. package/lib/directives/tooltip/index.js +5 -2
  45. package/lib/directives/tooltip/index.js.map +1 -1
  46. package/lib/entry-bundler.js +1 -1
  47. package/lib/framework.d.ts +61 -61
  48. package/lib/framework.js +1 -1
  49. package/lib/labs/VColorInput/VColorInput.d.ts +0 -13
  50. package/lib/labs/VDateInput/VDateInput.d.ts +63 -94
  51. package/lib/labs/VMaskInput/VMaskInput.d.ts +63 -94
  52. package/lib/util/helpers.js +1 -1
  53. package/lib/util/helpers.js.map +1 -1
  54. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.10.10
2
+ * Vuetify v3.10.12
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -367,7 +367,7 @@ function findChildrenWithProvide(key, vnode) {
367
367
  } else if (Array.isArray(vnode.children)) {
368
368
  return vnode.children.map(child => findChildrenWithProvide(key, child)).flat(1);
369
369
  } else if (vnode.component) {
370
- if (Object.getOwnPropertySymbols(vnode.component.provides).includes(key)) {
370
+ if (Object.getOwnPropertyDescriptor(vnode.component.provides, key)) {
371
371
  return [vnode.component];
372
372
  } else if (vnode.component.subTree) {
373
373
  return findChildrenWithProvide(key, vnode.component.subTree).flat(1);
@@ -12408,7 +12408,6 @@ const makeVFieldProps = propsFactory({
12408
12408
  },
12409
12409
  color: String,
12410
12410
  baseColor: String,
12411
- details: Boolean,
12412
12411
  dirty: Boolean,
12413
12412
  disabled: {
12414
12413
  type: Boolean,
@@ -12441,6 +12440,7 @@ const VField = genericComponent()({
12441
12440
  inheritAttrs: false,
12442
12441
  props: {
12443
12442
  id: String,
12443
+ details: Boolean,
12444
12444
  ...makeFocusProps(),
12445
12445
  ...makeVFieldProps()
12446
12446
  },
@@ -12713,6 +12713,7 @@ function useAutocomplete(props) {
12713
12713
  const reloadTrigger = shallowRef(0);
12714
12714
  const isSuppressing = toRef(() => props.autocomplete === 'suppress');
12715
12715
  const fieldName = toRef(() => {
12716
+ if (!props.name) return undefined;
12716
12717
  return isSuppressing.value ? `${props.name}-${uniqueId}-${reloadTrigger.value}` : props.name;
12717
12718
  });
12718
12719
  const fieldAutocomplete = toRef(() => {
@@ -13532,6 +13533,7 @@ const VSelect = genericComponent()({
13532
13533
  return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : model.value.length;
13533
13534
  });
13534
13535
  const form = useForm(props);
13536
+ const autocomplete = useAutocomplete(props);
13535
13537
  const selectedValues = computed(() => model.value.map(selection => selection.value));
13536
13538
  const isFocused = shallowRef(false);
13537
13539
  let keyboardLookupPrefix = '';
@@ -13724,7 +13726,8 @@ const VSelect = genericComponent()({
13724
13726
  return createVNode(VTextField, mergeProps({
13725
13727
  "ref": vTextFieldRef
13726
13728
  }, textFieldProps, {
13727
- "modelValue": model.value.map(v => v.props.value).join(', '),
13729
+ "modelValue": model.value.map(v => v.props.title).join(', '),
13730
+ "name": undefined,
13728
13731
  "onUpdate:modelValue": onModelUpdate,
13729
13732
  "focused": isFocused.value,
13730
13733
  "onUpdate:focused": $event => isFocused.value = $event,
@@ -13751,7 +13754,15 @@ const VSelect = genericComponent()({
13751
13754
  "title": ariaLabel.value
13752
13755
  }), {
13753
13756
  ...slots,
13754
- default: () => createElementVNode(Fragment, null, [createVNode(VMenu, mergeProps({
13757
+ default: () => createElementVNode(Fragment, null, [createElementVNode("select", {
13758
+ "hidden": true,
13759
+ "multiple": props.multiple,
13760
+ "name": autocomplete.fieldName.value
13761
+ }, [items.value.map(item => createElementVNode("option", {
13762
+ "key": item.value,
13763
+ "value": item.value,
13764
+ "selected": selectedValues.value.includes(item.value)
13765
+ }, null))]), createVNode(VMenu, mergeProps({
13755
13766
  "id": menuId.value,
13756
13767
  "ref": vMenuRef,
13757
13768
  "modelValue": menu.value,
@@ -15863,9 +15874,9 @@ const VWindow = genericComponent()({
15863
15874
  if (itemsLength <= 2) {
15864
15875
  isReversed.value = newVal < oldVal;
15865
15876
  } else if (newVal === lastIndex && oldVal === 0) {
15866
- isReversed.value = true;
15867
- } else if (newVal === 0 && oldVal === lastIndex) {
15868
15877
  isReversed.value = false;
15878
+ } else if (newVal === 0 && oldVal === lastIndex) {
15879
+ isReversed.value = true;
15869
15880
  } else {
15870
15881
  isReversed.value = newVal < oldVal;
15871
15882
  }
@@ -37016,8 +37027,10 @@ function findComponentParent(vnode, root) {
37016
37027
  // Types
37017
37028
 
37018
37029
  const Tooltip = useDirectiveComponent(VTooltip, binding => {
37030
+ const disabled = isObject(binding.value) ? !binding.value.text : ['', false, null].includes(binding.value); // undefined means true
37031
+
37019
37032
  return {
37020
- activator: 'parent',
37033
+ activator: disabled ? null : 'parent',
37021
37034
  location: binding.arg?.replace('-', ' '),
37022
37035
  text: typeof binding.value === 'boolean' ? undefined : binding.value
37023
37036
  };
@@ -38139,7 +38152,7 @@ function createVuetify$1() {
38139
38152
  };
38140
38153
  });
38141
38154
  }
38142
- const version$1 = "3.10.10";
38155
+ const version$1 = "3.10.12";
38143
38156
  createVuetify$1.version = version$1;
38144
38157
 
38145
38158
  // Vue's inject() can only be used in setup
@@ -38437,7 +38450,7 @@ var index = /*#__PURE__*/Object.freeze({
38437
38450
 
38438
38451
  /* eslint-disable local-rules/sort-imports */
38439
38452
 
38440
- const version = "3.10.10";
38453
+ const version = "3.10.12";
38441
38454
 
38442
38455
  /* eslint-disable local-rules/sort-imports */
38443
38456