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
@@ -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
  */
@@ -5623,86 +5623,6 @@
5623
5623
  };
5624
5624
  }
5625
5625
 
5626
- /*!
5627
- * vue-router v4.5.0
5628
- * (c) 2024 Eduardo San Martin Morote
5629
- * @license MIT
5630
- */
5631
- var NavigationType;
5632
- (function (NavigationType) {
5633
- NavigationType["pop"] = "pop";
5634
- NavigationType["push"] = "push";
5635
- })(NavigationType || (NavigationType = {}));
5636
- var NavigationDirection;
5637
- (function (NavigationDirection) {
5638
- NavigationDirection["back"] = "back";
5639
- NavigationDirection["forward"] = "forward";
5640
- NavigationDirection["unknown"] = "";
5641
- })(NavigationDirection || (NavigationDirection = {}));
5642
- const NavigationFailureSymbol = Symbol(process.env.NODE_ENV !== 'production' ? 'navigation failure' : '');
5643
- /**
5644
- * Enumeration with all possible types for navigation failures. Can be passed to
5645
- * {@link isNavigationFailure} to check for specific failures.
5646
- */
5647
- var NavigationFailureType;
5648
- (function (NavigationFailureType) {
5649
- /**
5650
- * An aborted navigation is a navigation that failed because a navigation
5651
- * guard returned `false` or called `next(false)`
5652
- */
5653
- NavigationFailureType[NavigationFailureType["aborted"] = 4] = "aborted";
5654
- /**
5655
- * A cancelled navigation is a navigation that failed because a more recent
5656
- * navigation finished started (not necessarily finished).
5657
- */
5658
- NavigationFailureType[NavigationFailureType["cancelled"] = 8] = "cancelled";
5659
- /**
5660
- * A duplicated navigation is a navigation that failed because it was
5661
- * initiated while already being at the exact same location.
5662
- */
5663
- NavigationFailureType[NavigationFailureType["duplicated"] = 16] = "duplicated";
5664
- })(NavigationFailureType || (NavigationFailureType = {}));
5665
- function isNavigationFailure(error, type) {
5666
- return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
5667
- }
5668
-
5669
- /**
5670
- * RouteRecord being rendered by the closest ancestor Router View. Used for
5671
- * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
5672
- * Location Matched
5673
- *
5674
- * @internal
5675
- */
5676
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view location matched' : '');
5677
- /**
5678
- * Allows overriding the router view depth to control which component in
5679
- * `matched` is rendered. rvd stands for Router View Depth
5680
- *
5681
- * @internal
5682
- */
5683
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view depth' : '');
5684
- /**
5685
- * Allows overriding the router instance returned by `useRouter` in tests. r
5686
- * stands for router
5687
- *
5688
- * @internal
5689
- */
5690
- Symbol(process.env.NODE_ENV !== 'production' ? 'router' : '');
5691
- /**
5692
- * Allows overriding the current route returned by `useRoute` in tests. rl
5693
- * stands for route location
5694
- *
5695
- * @internal
5696
- */
5697
- Symbol(process.env.NODE_ENV !== 'production' ? 'route location' : '');
5698
- /**
5699
- * Allows overriding the current route used by router-view. Internally this is
5700
- * used when the `route` prop is passed.
5701
- *
5702
- * @internal
5703
- */
5704
- Symbol(process.env.NODE_ENV !== 'production' ? 'router view location' : '');
5705
-
5706
5626
  // Utilities
5707
5627
 
5708
5628
  // Types
@@ -5747,17 +5667,12 @@
5747
5667
  return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
5748
5668
  });
5749
5669
  const href = vue.computed(() => props.to ? link.value?.route.value.href : props.href);
5750
- async function navigateWithCheck(e) {
5751
- const result = await link.value?.navigate(e);
5752
- return !isNavigationFailure(result);
5753
- }
5754
5670
  return {
5755
5671
  isLink,
5756
5672
  isClickable,
5757
5673
  isActive,
5758
5674
  route: link.value?.route,
5759
5675
  navigate: link.value?.navigate,
5760
- navigateWithCheck,
5761
5676
  href,
5762
5677
  linkProps: vue.reactive({
5763
5678
  href,
@@ -6237,9 +6152,12 @@
6237
6152
  if (props.value === undefined || typeof props.value === 'symbol') return undefined;
6238
6153
  return Object(props.value) === props.value ? JSON.stringify(props.value, null, 0) : props.value;
6239
6154
  });
6240
- async function onClick(e) {
6155
+ function onClick(e) {
6241
6156
  if (isDisabled.value || link.isLink.value && (e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0 || attrs.target === '_blank')) return;
6242
- if (await (link.navigateWithCheck?.(e) ?? true)) {
6157
+ if (link.isLink.value) {
6158
+ link.navigate?.(e);
6159
+ } else {
6160
+ // Group active state for links is handled by useSelectLink
6243
6161
  group?.toggle();
6244
6162
  }
6245
6163
  }
@@ -8706,12 +8624,11 @@
8706
8624
  variant: props.variant
8707
8625
  };
8708
8626
  });
8709
- async function onClick(e) {
8627
+ function onClick(e) {
8710
8628
  emit('click', e);
8711
8629
  if (!isClickable.value) return;
8712
- if (await (link.navigateWithCheck?.(e) ?? true)) {
8713
- group?.toggle();
8714
- }
8630
+ link.navigate?.(e);
8631
+ group?.toggle();
8715
8632
  }
8716
8633
  function onKeyDown(e) {
8717
8634
  if (e.key === 'Enter' || e.key === ' ') {
@@ -13612,7 +13529,7 @@
13612
13529
  });
13613
13530
  }
13614
13531
  });
13615
- vue.watch(() => props.items, (newVal, oldVal) => {
13532
+ vue.watch(items, (newVal, oldVal) => {
13616
13533
  if (menu.value) return;
13617
13534
  if (isFocused.value && props.hideNoData && !oldVal.length && newVal.length) {
13618
13535
  menu.value = true;
@@ -14260,7 +14177,7 @@
14260
14177
  });
14261
14178
  }
14262
14179
  });
14263
- vue.watch(() => props.items, (newVal, oldVal) => {
14180
+ vue.watch(items, (newVal, oldVal) => {
14264
14181
  if (menu.value) return;
14265
14182
  if (isFocused.value && !oldVal.length && newVal.length) {
14266
14183
  menu.value = true;
@@ -19635,7 +19552,7 @@
19635
19552
  }, {
19636
19553
  immediate: true
19637
19554
  });
19638
- vue.watch(() => props.items, (newVal, oldVal) => {
19555
+ vue.watch(items, (newVal, oldVal) => {
19639
19556
  if (menu.value) return;
19640
19557
  if (isFocused.value && !oldVal.length && newVal.length) {
19641
19558
  menu.value = true;
@@ -37960,7 +37877,7 @@
37960
37877
  };
37961
37878
  });
37962
37879
  }
37963
- const version$1 = "3.10.1";
37880
+ const version$1 = "3.10.2";
37964
37881
  createVuetify$1.version = version$1;
37965
37882
 
37966
37883
  // Vue's inject() can only be used in setup
@@ -38258,7 +38175,7 @@
38258
38175
 
38259
38176
  /* eslint-disable local-rules/sort-imports */
38260
38177
 
38261
- const version = "3.10.1";
38178
+ const version = "3.10.2";
38262
38179
 
38263
38180
  /* eslint-disable local-rules/sort-imports */
38264
38181