vuetify 3.10.1 → 3.10.2

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 (41) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +331 -0
  3. package/dist/json/attributes.json +3758 -3758
  4. package/dist/json/importMap-labs.json +14 -14
  5. package/dist/json/importMap.json +162 -162
  6. package/dist/json/web-types.json +6612 -6612
  7. package/dist/vuetify-labs.cjs +14 -97
  8. package/dist/vuetify-labs.css +4544 -4544
  9. package/dist/vuetify-labs.d.ts +49 -50
  10. package/dist/vuetify-labs.esm.js +14 -97
  11. package/dist/vuetify-labs.esm.js.map +1 -1
  12. package/dist/vuetify-labs.js +14 -97
  13. package/dist/vuetify-labs.min.css +2 -2
  14. package/dist/vuetify.cjs +14 -97
  15. package/dist/vuetify.cjs.map +1 -1
  16. package/dist/vuetify.css +6241 -6241
  17. package/dist/vuetify.d.ts +49 -50
  18. package/dist/vuetify.esm.js +14 -97
  19. package/dist/vuetify.esm.js.map +1 -1
  20. package/dist/vuetify.js +14 -97
  21. package/dist/vuetify.js.map +1 -1
  22. package/dist/vuetify.min.css +2 -2
  23. package/dist/vuetify.min.js +692 -704
  24. package/dist/vuetify.min.js.map +1 -1
  25. package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
  26. package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
  27. package/lib/components/VBtn/VBtn.js +5 -2
  28. package/lib/components/VBtn/VBtn.js.map +1 -1
  29. package/lib/components/VChip/VChip.js +3 -4
  30. package/lib/components/VChip/VChip.js.map +1 -1
  31. package/lib/components/VCombobox/VCombobox.js +1 -1
  32. package/lib/components/VCombobox/VCombobox.js.map +1 -1
  33. package/lib/components/VSelect/VSelect.js +1 -1
  34. package/lib/components/VSelect/VSelect.js.map +1 -1
  35. package/lib/composables/router.d.ts +0 -1
  36. package/lib/composables/router.js +0 -6
  37. package/lib/composables/router.js.map +1 -1
  38. package/lib/entry-bundler.js +1 -1
  39. package/lib/framework.d.ts +49 -49
  40. package/lib/framework.js +1 -1
  41. package/package.json +1 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.10.1
2
+ * Vuetify v3.10.2
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -5869,86 +5869,6 @@
5869
5869
  };
5870
5870
  }
5871
5871
 
5872
- /*!
5873
- * vue-router v4.5.0
5874
- * (c) 2024 Eduardo San Martin Morote
5875
- * @license MIT
5876
- */
5877
- var NavigationType;
5878
- (function (NavigationType) {
5879
- NavigationType["pop"] = "pop";
5880
- NavigationType["push"] = "push";
5881
- })(NavigationType || (NavigationType = {}));
5882
- var NavigationDirection;
5883
- (function (NavigationDirection) {
5884
- NavigationDirection["back"] = "back";
5885
- NavigationDirection["forward"] = "forward";
5886
- NavigationDirection["unknown"] = "";
5887
- })(NavigationDirection || (NavigationDirection = {}));
5888
- const NavigationFailureSymbol = Symbol(process.env.NODE_ENV !== 'production' ? 'navigation failure' : '');
5889
- /**
5890
- * Enumeration with all possible types for navigation failures. Can be passed to
5891
- * {@link isNavigationFailure} to check for specific failures.
5892
- */
5893
- var NavigationFailureType;
5894
- (function (NavigationFailureType) {
5895
- /**
5896
- * An aborted navigation is a navigation that failed because a navigation
5897
- * guard returned `false` or called `next(false)`
5898
- */
5899
- NavigationFailureType[NavigationFailureType["aborted"] = 4] = "aborted";
5900
- /**
5901
- * A cancelled navigation is a navigation that failed because a more recent
5902
- * navigation finished started (not necessarily finished).
5903
- */
5904
- NavigationFailureType[NavigationFailureType["cancelled"] = 8] = "cancelled";
5905
- /**
5906
- * A duplicated navigation is a navigation that failed because it was
5907
- * initiated while already being at the exact same location.
5908
- */
5909
- NavigationFailureType[NavigationFailureType["duplicated"] = 16] = "duplicated";
5910
- })(NavigationFailureType || (NavigationFailureType = {}));
5911
- function isNavigationFailure(error, type) {
5912
- return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
5913
- }
5914
-
5915
- /**
5916
- * RouteRecord being rendered by the closest ancestor Router View. Used for
5917
- * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
5918
- * Location Matched
5919
- *
5920
- * @internal
5921
- */
5922
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view location matched' : '');
5923
- /**
5924
- * Allows overriding the router view depth to control which component in
5925
- * `matched` is rendered. rvd stands for Router View Depth
5926
- *
5927
- * @internal
5928
- */
5929
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view depth' : '');
5930
- /**
5931
- * Allows overriding the router instance returned by `useRouter` in tests. r
5932
- * stands for router
5933
- *
5934
- * @internal
5935
- */
5936
- Symbol(process.env.NODE_ENV !== 'production' ? 'router' : '');
5937
- /**
5938
- * Allows overriding the current route returned by `useRoute` in tests. rl
5939
- * stands for route location
5940
- *
5941
- * @internal
5942
- */
5943
- Symbol(process.env.NODE_ENV !== 'production' ? 'route location' : '');
5944
- /**
5945
- * Allows overriding the current route used by router-view. Internally this is
5946
- * used when the `route` prop is passed.
5947
- *
5948
- * @internal
5949
- */
5950
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view location' : '');
5951
-
5952
5872
  // Utilities
5953
5873
 
5954
5874
  // Types
@@ -5993,17 +5913,12 @@
5993
5913
  return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
5994
5914
  });
5995
5915
  const href = vue.computed(() => props.to ? link.value?.route.value.href : props.href);
5996
- async function navigateWithCheck(e) {
5997
- const result = await link.value?.navigate(e);
5998
- return !isNavigationFailure(result);
5999
- }
6000
5916
  return {
6001
5917
  isLink,
6002
5918
  isClickable,
6003
5919
  isActive,
6004
5920
  route: link.value?.route,
6005
5921
  navigate: link.value?.navigate,
6006
- navigateWithCheck,
6007
5922
  href,
6008
5923
  linkProps: vue.reactive({
6009
5924
  href,
@@ -6483,9 +6398,12 @@
6483
6398
  if (props.value === undefined || typeof props.value === 'symbol') return undefined;
6484
6399
  return Object(props.value) === props.value ? JSON.stringify(props.value, null, 0) : props.value;
6485
6400
  });
6486
- async function onClick(e) {
6401
+ function onClick(e) {
6487
6402
  if (isDisabled.value || link.isLink.value && (e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0 || attrs.target === '_blank')) return;
6488
- if (await (link.navigateWithCheck?.(e) ?? true)) {
6403
+ if (link.isLink.value) {
6404
+ link.navigate?.(e);
6405
+ } else {
6406
+ // Group active state for links is handled by useSelectLink
6489
6407
  group?.toggle();
6490
6408
  }
6491
6409
  }
@@ -8952,12 +8870,11 @@
8952
8870
  variant: props.variant
8953
8871
  };
8954
8872
  });
8955
- async function onClick(e) {
8873
+ function onClick(e) {
8956
8874
  emit('click', e);
8957
8875
  if (!isClickable.value) return;
8958
- if (await (link.navigateWithCheck?.(e) ?? true)) {
8959
- group?.toggle();
8960
- }
8876
+ link.navigate?.(e);
8877
+ group?.toggle();
8961
8878
  }
8962
8879
  function onKeyDown(e) {
8963
8880
  if (e.key === 'Enter' || e.key === ' ') {
@@ -13858,7 +13775,7 @@
13858
13775
  });
13859
13776
  }
13860
13777
  });
13861
- vue.watch(() => props.items, (newVal, oldVal) => {
13778
+ vue.watch(items, (newVal, oldVal) => {
13862
13779
  if (menu.value) return;
13863
13780
  if (isFocused.value && props.hideNoData && !oldVal.length && newVal.length) {
13864
13781
  menu.value = true;
@@ -14506,7 +14423,7 @@
14506
14423
  });
14507
14424
  }
14508
14425
  });
14509
- vue.watch(() => props.items, (newVal, oldVal) => {
14426
+ vue.watch(items, (newVal, oldVal) => {
14510
14427
  if (menu.value) return;
14511
14428
  if (isFocused.value && !oldVal.length && newVal.length) {
14512
14429
  menu.value = true;
@@ -19872,7 +19789,7 @@
19872
19789
  }, {
19873
19790
  immediate: true
19874
19791
  });
19875
- vue.watch(() => props.items, (newVal, oldVal) => {
19792
+ vue.watch(items, (newVal, oldVal) => {
19876
19793
  if (menu.value) return;
19877
19794
  if (isFocused.value && !oldVal.length && newVal.length) {
19878
19795
  menu.value = true;
@@ -32337,7 +32254,7 @@
32337
32254
  };
32338
32255
  });
32339
32256
  }
32340
- const version$1 = "3.10.1";
32257
+ const version$1 = "3.10.2";
32341
32258
  createVuetify$1.version = version$1;
32342
32259
 
32343
32260
  // Vue's inject() can only be used in setup
@@ -32362,7 +32279,7 @@
32362
32279
  ...options
32363
32280
  });
32364
32281
  };
32365
- const version = "3.10.1";
32282
+ const version = "3.10.2";
32366
32283
  createVuetify.version = version;
32367
32284
 
32368
32285
  exports.blueprints = index;