@vuetify/nightly 3.7.5-dev.2024-12-03 → 3.7.5-dev.2024-12-16

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 (77) hide show
  1. package/dist/json/attributes.json +3779 -3779
  2. package/dist/json/importMap-labs.json +20 -20
  3. package/dist/json/importMap.json +136 -136
  4. package/dist/json/web-types.json +7026 -7026
  5. package/dist/vuetify-labs.css +4372 -4372
  6. package/dist/vuetify-labs.d.ts +40 -40
  7. package/dist/vuetify-labs.esm.js +21 -38
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +20 -37
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +4189 -4189
  12. package/dist/vuetify.d.ts +92 -92
  13. package/dist/vuetify.esm.js +21 -38
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +20 -37
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +876 -881
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VAppBar/index.d.mts +6 -6
  21. package/lib/components/VAutocomplete/index.d.mts +6 -6
  22. package/lib/components/VBtn/index.d.mts +7 -7
  23. package/lib/components/VBtnToggle/index.d.mts +9 -9
  24. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  25. package/lib/components/VCarousel/index.d.mts +9 -9
  26. package/lib/components/VCheckbox/VCheckbox.mjs +3 -3
  27. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  28. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  29. package/lib/components/VChipGroup/index.d.mts +15 -15
  30. package/lib/components/VCombobox/index.d.mts +6 -6
  31. package/lib/components/VExpansionPanel/index.d.mts +7 -7
  32. package/lib/components/VFab/index.d.mts +6 -6
  33. package/lib/components/VField/VField.mjs +3 -3
  34. package/lib/components/VField/VField.mjs.map +1 -1
  35. package/lib/components/VInput/VInput.mjs +3 -3
  36. package/lib/components/VInput/VInput.mjs.map +1 -1
  37. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  38. package/lib/components/VItemGroup/index.d.mts +9 -9
  39. package/lib/components/VMenu/VMenu.mjs +3 -3
  40. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  41. package/lib/components/VMenu/index.d.mts +6 -6
  42. package/lib/components/VRadioGroup/VRadioGroup.mjs +3 -3
  43. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  44. package/lib/components/VRating/VRating.mjs +4 -3
  45. package/lib/components/VRating/VRating.mjs.map +1 -1
  46. package/lib/components/VSelect/index.d.mts +6 -6
  47. package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
  48. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  49. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
  50. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  51. package/lib/components/VSlideGroup/index.d.mts +10 -10
  52. package/lib/components/VSparkline/VBarline.mjs +3 -3
  53. package/lib/components/VSparkline/VBarline.mjs.map +1 -1
  54. package/lib/components/VSparkline/VTrendline.mjs +3 -3
  55. package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
  56. package/lib/components/VSwitch/VSwitch.mjs +3 -3
  57. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  58. package/lib/components/VTabs/index.d.mts +7 -7
  59. package/lib/components/VTooltip/VTooltip.mjs +3 -3
  60. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  61. package/lib/components/VWindow/index.d.mts +7 -7
  62. package/lib/components/index.d.mts +40 -40
  63. package/lib/composables/group.mjs +3 -3
  64. package/lib/composables/group.mjs.map +1 -1
  65. package/lib/composables/layout.mjs +3 -3
  66. package/lib/composables/layout.mjs.map +1 -1
  67. package/lib/composables/nested/nested.mjs +2 -2
  68. package/lib/composables/nested/nested.mjs.map +1 -1
  69. package/lib/composables/validation.mjs +3 -3
  70. package/lib/composables/validation.mjs.map +1 -1
  71. package/lib/entry-bundler.mjs +1 -1
  72. package/lib/framework.mjs +2 -3
  73. package/lib/framework.mjs.map +1 -1
  74. package/lib/index.d.mts +52 -52
  75. package/lib/util/getCurrentInstance.mjs +1 -15
  76. package/lib/util/getCurrentInstance.mjs.map +1 -1
  77. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * Vuetify v3.7.5-dev.2024-12-03
2
+ * Vuetify v3.7.5-dev.2024-12-16
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
6
6
 
7
- import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, unref, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, createVNode, mergeProps, onBeforeUnmount, watch, readonly, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, TransitionGroup, Transition, isRef, toRef, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, onUpdated, Text, resolveDynamicComponent, markRaw, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText, resolveComponent, render } from 'vue';
7
+ import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, unref, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, createVNode, mergeProps, onBeforeUnmount, watch, readonly, useId, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, TransitionGroup, Transition, isRef, toRef, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, onUpdated, Text, resolveDynamicComponent, markRaw, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText, resolveComponent, render } from 'vue';
8
8
 
9
9
  const IN_BROWSER = typeof window !== 'undefined';
10
10
  const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
@@ -1247,9 +1247,6 @@ const makeComponentProps = propsFactory({
1247
1247
  }, 'component');
1248
1248
 
1249
1249
  // Utilities
1250
-
1251
- // Types
1252
-
1253
1250
  function getCurrentInstance(name, message) {
1254
1251
  const vm = getCurrentInstance$1();
1255
1252
  if (!vm) {
@@ -1262,20 +1259,6 @@ function getCurrentInstanceName() {
1262
1259
  const vm = getCurrentInstance(name).type;
1263
1260
  return toKebabCase(vm?.aliasName || vm?.name);
1264
1261
  }
1265
- let _uid = 0;
1266
- let _map = new WeakMap();
1267
- function getUid() {
1268
- const vm = getCurrentInstance('getUid');
1269
- if (_map.has(vm)) return _map.get(vm);else {
1270
- const uid = _uid++;
1271
- _map.set(vm, uid);
1272
- return uid;
1273
- }
1274
- }
1275
- getUid.reset = () => {
1276
- _uid = 0;
1277
- _map = new WeakMap();
1278
- };
1279
1262
 
1280
1263
  // Utilities
1281
1264
 
@@ -2091,7 +2074,7 @@ function useLayout() {
2091
2074
  function useLayoutItem(options) {
2092
2075
  const layout = inject$1(VuetifyLayoutKey);
2093
2076
  if (!layout) throw new Error('[Vuetify] Could not find injected layout');
2094
- const id = options.id ?? `layout-item-${getUid()}`;
2077
+ const id = options.id ?? `layout-item-${useId()}`;
2095
2078
  const vm = getCurrentInstance('useLayoutItem');
2096
2079
  provide(VuetifyLayoutItemKey, {
2097
2080
  id
@@ -4593,7 +4576,7 @@ function useGroupItem(props, injectKey) {
4593
4576
  if (!vm) {
4594
4577
  throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
4595
4578
  }
4596
- const id = getUid();
4579
+ const id = useId();
4597
4580
  provide(Symbol.for(`${injectKey.description}:id`), id);
4598
4581
  const group = inject$1(injectKey, null);
4599
4582
  if (!group) {
@@ -6365,7 +6348,7 @@ const VSelectionControlGroup = genericComponent()({
6365
6348
  slots
6366
6349
  } = _ref;
6367
6350
  const modelValue = useProxiedModel(props, 'modelValue');
6368
- const uid = getUid();
6351
+ const uid = useId();
6369
6352
  const id = computed(() => props.id || `v-selection-control-group-${uid}`);
6370
6353
  const name = computed(() => props.name || id.value);
6371
6354
  const updateHandlers = new Set();
@@ -6502,7 +6485,7 @@ const VSelectionControl = genericComponent()({
6502
6485
  backgroundColorStyles,
6503
6486
  trueValue
6504
6487
  } = useSelectionControl(props);
6505
- const uid = getUid();
6488
+ const uid = useId();
6506
6489
  const isFocused = shallowRef(false);
6507
6490
  const isFocusVisible = shallowRef(false);
6508
6491
  const input = ref();
@@ -6947,7 +6930,7 @@ const makeValidationProps = propsFactory({
6947
6930
  }, 'validation');
6948
6931
  function useValidation(props) {
6949
6932
  let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
6950
- let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : getUid();
6933
+ let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : useId();
6951
6934
  const model = useProxiedModel(props, 'modelValue');
6952
6935
  const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
6953
6936
  const form = useForm(props);
@@ -7139,7 +7122,7 @@ const VInput = genericComponent()({
7139
7122
  const {
7140
7123
  InputIcon
7141
7124
  } = useInputIcon(props);
7142
- const uid = getUid();
7125
+ const uid = useId();
7143
7126
  const id = computed(() => props.id || `input-${uid}`);
7144
7127
  const messagesId = computed(() => `${id.value}-messages`);
7145
7128
  const {
@@ -7247,7 +7230,7 @@ const VCheckbox = genericComponent()({
7247
7230
  focus,
7248
7231
  blur
7249
7232
  } = useFocus(props);
7250
- const uid = getUid();
7233
+ const uid = useId();
7251
7234
  const id = computed(() => props.id || `checkbox-${uid}`);
7252
7235
  useRender(() => {
7253
7236
  const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
@@ -8935,7 +8918,7 @@ const useNested = props => {
8935
8918
  };
8936
8919
  const useNestedItem = (id, isGroup) => {
8937
8920
  const parent = inject$1(VNestedSymbol, emptyNested);
8938
- const uidSymbol = Symbol(getUid());
8921
+ const uidSymbol = Symbol('nested item');
8939
8922
  const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
8940
8923
  const item = {
8941
8924
  ...parent,
@@ -11437,7 +11420,7 @@ const VMenu = genericComponent()({
11437
11420
  const {
11438
11421
  isRtl
11439
11422
  } = useRtl();
11440
- const uid = getUid();
11423
+ const uid = useId();
11441
11424
  const id = computed(() => props.id || `v-menu-${uid}`);
11442
11425
  const overlay = ref();
11443
11426
  const parent = inject$1(VMenuSymbol, null);
@@ -11733,7 +11716,7 @@ const VField = genericComponent()({
11733
11716
  } = useRtl();
11734
11717
  const isActive = computed(() => props.dirty || props.active);
11735
11718
  const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
11736
- const uid = getUid();
11719
+ const uid = useId();
11737
11720
  const id = computed(() => props.id || `input-${uid}`);
11738
11721
  const messagesId = computed(() => `${id.value}-messages`);
11739
11722
  const labelRef = ref();
@@ -24886,7 +24869,7 @@ const VRadioGroup = genericComponent()({
24886
24869
  attrs,
24887
24870
  slots
24888
24871
  } = _ref;
24889
- const uid = getUid();
24872
+ const uid = useId();
24890
24873
  const id = computed(() => props.id || `radio-group-${uid}`);
24891
24874
  const model = useProxiedModel(props, 'modelValue');
24892
24875
  useRender(() => {
@@ -25249,7 +25232,8 @@ const VRating = genericComponent()({
25249
25232
  onClick
25250
25233
  };
25251
25234
  }));
25252
- const name = computed(() => props.name ?? `v-rating-${getUid()}`);
25235
+ const uid = useId();
25236
+ const name = computed(() => props.name ?? `v-rating-${uid}`);
25253
25237
  function VRatingItem(_ref2) {
25254
25238
  let {
25255
25239
  value,
@@ -25788,7 +25772,7 @@ const VBarline = genericComponent()({
25788
25772
  let {
25789
25773
  slots
25790
25774
  } = _ref;
25791
- const uid = getUid();
25775
+ const uid = useId();
25792
25776
  const id = computed(() => props.id || `barline-${uid}`);
25793
25777
  const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
25794
25778
  const hasLabels = computed(() => {
@@ -25986,7 +25970,7 @@ const VTrendline = genericComponent()({
25986
25970
  let {
25987
25971
  slots
25988
25972
  } = _ref;
25989
- const uid = getUid();
25973
+ const uid = useId();
25990
25974
  const id = computed(() => props.id || `trendline-${uid}`);
25991
25975
  const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
25992
25976
  const lastLength = ref(0);
@@ -26690,7 +26674,7 @@ const VSwitch = genericComponent()({
26690
26674
  const loaderColor = computed(() => {
26691
26675
  return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
26692
26676
  });
26693
- const uid = getUid();
26677
+ const uid = useId();
26694
26678
  const id = computed(() => props.id || `switch-${uid}`);
26695
26679
  function onChange() {
26696
26680
  if (indeterminate.value) {
@@ -27735,7 +27719,7 @@ const VTooltip = genericComponent()({
27735
27719
  const {
27736
27720
  scopeId
27737
27721
  } = useScopeId();
27738
- const uid = getUid();
27722
+ const uid = useId();
27739
27723
  const id = computed(() => props.id || `v-tooltip-${uid}`);
27740
27724
  const overlay = ref();
27741
27725
  const location = computed(() => {
@@ -28248,7 +28232,6 @@ function createVuetify$1() {
28248
28232
  };
28249
28233
  }
28250
28234
  }
28251
- getUid.reset();
28252
28235
  if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
28253
28236
  app.mixin({
28254
28237
  computed: {
@@ -28277,7 +28260,7 @@ function createVuetify$1() {
28277
28260
  goTo
28278
28261
  };
28279
28262
  }
28280
- const version$1 = "3.7.5-dev.2024-12-03";
28263
+ const version$1 = "3.7.5-dev.2024-12-16";
28281
28264
  createVuetify$1.version = version$1;
28282
28265
 
28283
28266
  // Vue's inject() can only be used in setup
@@ -28302,7 +28285,7 @@ const createVuetify = function () {
28302
28285
  ...options
28303
28286
  });
28304
28287
  };
28305
- const version = "3.7.5-dev.2024-12-03";
28288
+ const version = "3.7.5-dev.2024-12-16";
28306
28289
  createVuetify.version = version;
28307
28290
 
28308
28291
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };