@vuetify/nightly 3.7.12-master.2025-02-18 → 3.7.12-master.2025-02-19

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 (46) hide show
  1. package/CHANGELOG.md +12 -3
  2. package/dist/json/attributes.json +2555 -2555
  3. package/dist/json/importMap-labs.json +38 -38
  4. package/dist/json/importMap.json +152 -152
  5. package/dist/json/web-types.json +4785 -4785
  6. package/dist/vuetify-labs.css +4769 -4769
  7. package/dist/vuetify-labs.d.ts +17 -8
  8. package/dist/vuetify-labs.esm.js +23 -30
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +23 -30
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +5007 -5007
  13. package/dist/vuetify.d.ts +74 -65
  14. package/dist/vuetify.esm.js +14 -20
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +14 -20
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +1056 -1057
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VInput/VInput.mjs +2 -2
  22. package/lib/components/VInput/VInput.mjs.map +1 -1
  23. package/lib/components/VList/VList.mjs +1 -1
  24. package/lib/components/VList/VList.mjs.map +1 -1
  25. package/lib/components/VList/VListItem.mjs +2 -1
  26. package/lib/components/VList/VListItem.mjs.map +1 -1
  27. package/lib/components/VList/index.d.mts +13 -1
  28. package/lib/components/VOtpInput/VOtpInput.mjs +2 -2
  29. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  30. package/lib/components/VStepper/VStepper.mjs +2 -2
  31. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  32. package/lib/components/VTimeline/VTimeline.mjs +2 -2
  33. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  34. package/lib/components/index.d.mts +17 -8
  35. package/lib/composables/list-items.mjs +2 -3
  36. package/lib/composables/list-items.mjs.map +1 -1
  37. package/lib/entry-bundler.mjs +1 -1
  38. package/lib/framework.mjs +1 -1
  39. package/lib/index.d.mts +57 -57
  40. package/lib/labs/VFileUpload/VFileUpload.mjs +2 -2
  41. package/lib/labs/VFileUpload/VFileUpload.mjs.map +1 -1
  42. package/lib/labs/VTreeview/VTreeviewItem.mjs +9 -11
  43. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  44. package/lib/util/helpers.mjs +3 -9
  45. package/lib/util/helpers.mjs.map +1 -1
  46. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.12-master.2025-02-18
2
+ * Vuetify v3.7.12-master.2025-02-19
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -230,10 +230,9 @@
230
230
  // Array of keys
231
231
  function pick(obj, paths) {
232
232
  const found = {};
233
- const keys = new Set(Object.keys(obj));
234
- for (const path of paths) {
235
- if (keys.has(path)) {
236
- found[path] = obj[path];
233
+ for (const key of paths) {
234
+ if (Object.hasOwn(obj, key)) {
235
+ found[key] = obj[key];
237
236
  }
238
237
  }
239
238
  return found;
@@ -262,11 +261,6 @@
262
261
  exclude.forEach(prop => delete clone[prop]);
263
262
  return clone;
264
263
  }
265
- function only(obj, include) {
266
- const clone = {};
267
- include.forEach(prop => clone[prop] = obj[prop]);
268
- return clone;
269
- }
270
264
  const onRE = /^on[^a-z]/;
271
265
  const isOn = key => onRE.test(key);
272
266
  const bubblingEvents = ['onAfterscriptexecute', 'onAnimationcancel', 'onAnimationend', 'onAnimationiteration', 'onAnimationstart', 'onAuxclick', 'onBeforeinput', 'onBeforescriptexecute', 'onChange', 'onClick', 'onCompositionend', 'onCompositionstart', 'onCompositionupdate', 'onContextmenu', 'onCopy', 'onCut', 'onDblclick', 'onFocusin', 'onFocusout', 'onFullscreenchange', 'onFullscreenerror', 'onGesturechange', 'onGestureend', 'onGesturestart', 'onGotpointercapture', 'onInput', 'onKeydown', 'onKeypress', 'onKeyup', 'onLostpointercapture', 'onMousedown', 'onMousemove', 'onMouseout', 'onMouseover', 'onMouseup', 'onMousewheel', 'onPaste', 'onPointercancel', 'onPointerdown', 'onPointerenter', 'onPointerleave', 'onPointermove', 'onPointerout', 'onPointerover', 'onPointerup', 'onReset', 'onSelect', 'onSubmit', 'onTouchcancel', 'onTouchend', 'onTouchmove', 'onTouchstart', 'onTransitioncancel', 'onTransitionend', 'onTransitionrun', 'onTransitionstart', 'onWheel'];
@@ -6897,7 +6891,7 @@
6897
6891
  'onClick:append': EventProp(),
6898
6892
  ...makeComponentProps(),
6899
6893
  ...makeDensityProps(),
6900
- ...only(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
6894
+ ...pick(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
6901
6895
  ...makeThemeProps(),
6902
6896
  ...makeValidationProps()
6903
6897
  }, 'VInput');
@@ -9187,7 +9181,8 @@
9187
9181
  list,
9188
9182
  select,
9189
9183
  root,
9190
- id: uid
9184
+ id: uid,
9185
+ link
9191
9186
  };
9192
9187
  }
9193
9188
  });
@@ -9455,7 +9450,6 @@
9455
9450
  function transformIn(value) {
9456
9451
  // Cache unrefed values outside the loop,
9457
9452
  // proxy getters can be slow when you call them a billion times
9458
- const _value = vue.toRaw(value);
9459
9453
  const _items = itemsMap.value;
9460
9454
  const _allItems = items.value;
9461
9455
  const _keylessItems = keylessItems.value;
@@ -9465,7 +9459,7 @@
9465
9459
  const valueComparator = props.valueComparator || deepEqual;
9466
9460
  const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
9467
9461
  const returnValue = [];
9468
- main: for (const v of _value) {
9462
+ main: for (const v of value) {
9469
9463
  // When the model value is null, return an InternalItem
9470
9464
  // based on null only if null is one of the items
9471
9465
  if (!_hasNullItem && v === null) continue;
@@ -9711,7 +9705,7 @@
9711
9705
  'v-list--slim': props.slim
9712
9706
  }, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, props.class],
9713
9707
  "style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
9714
- "tabindex": props.disabled || isFocused.value ? -1 : 0,
9708
+ "tabindex": props.disabled ? -1 : 0,
9715
9709
  "role": "listbox",
9716
9710
  "aria-activedescendant": undefined,
9717
9711
  "onFocusin": onFocusin,
@@ -24442,7 +24436,7 @@
24442
24436
  },
24443
24437
  ...makeDimensionProps(),
24444
24438
  ...makeFocusProps(),
24445
- ...only(makeVFieldProps({
24439
+ ...pick(makeVFieldProps({
24446
24440
  variant: 'outlined'
24447
24441
  }), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'rounded', 'style', 'theme', 'variant'])
24448
24442
  }, 'VOtpInput');
@@ -26430,7 +26424,7 @@
26430
26424
  selectedClass: 'v-stepper-item--selected'
26431
26425
  }),
26432
26426
  ...makeVSheetProps(),
26433
- ...only(makeVStepperActionsProps(), ['prevText', 'nextText'])
26427
+ ...pick(makeVStepperActionsProps(), ['prevText', 'nextText'])
26434
26428
  }, 'VStepper');
26435
26429
  const VStepper = genericComponent()({
26436
26430
  name: 'VStepper',
@@ -27512,7 +27506,7 @@
27512
27506
  type: String,
27513
27507
  validator: v => ['start', 'end', 'both'].includes(v)
27514
27508
  },
27515
- ...only(makeVTimelineItemProps({
27509
+ ...pick(makeVTimelineItemProps({
27516
27510
  lineInset: 0
27517
27511
  }), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
27518
27512
  ...makeComponentProps(),
@@ -28472,7 +28466,7 @@
28472
28466
  name: String,
28473
28467
  ...makeDelayProps(),
28474
28468
  ...makeDensityProps(),
28475
- ...only(makeVDividerProps({
28469
+ ...pick(makeVDividerProps({
28476
28470
  length: 150
28477
28471
  }), ['length', 'thickness', 'opacity']),
28478
28472
  ...makeVSheetProps()
@@ -30143,22 +30137,21 @@
30143
30137
  props: makeVTreeviewItemProps(),
30144
30138
  setup(props, _ref) {
30145
30139
  let {
30146
- attrs,
30147
- slots,
30148
- emit
30140
+ slots
30149
30141
  } = _ref;
30150
- const link = useLink(props, attrs);
30142
+ const visibleIds = vue.inject(VTreeviewSymbol, {
30143
+ visibleIds: vue.ref()
30144
+ }).visibleIds;
30151
30145
  const vListItemRef = vue.ref();
30152
30146
  const isActivatableGroupActivator = vue.computed(() => vListItemRef.value?.root.activatable.value && vListItemRef.value?.isGroupActivator);
30153
- const isClickable = vue.computed(() => !props.disabled && props.link !== false && (props.link || link.isClickable.value || props.value != null && !!vListItemRef.value?.list || isActivatableGroupActivator.value));
30147
+ const vListItemRefIsClickable = vue.computed(() => vListItemRef.value?.link.isClickable.value || props.value != null && !!vListItemRef.value?.list);
30148
+ const isClickable = vue.computed(() => !props.disabled && props.link !== false && (props.link || vListItemRefIsClickable.value || isActivatableGroupActivator.value));
30149
+ const isFiltered = vue.computed(() => visibleIds.value && !visibleIds.value.has(vue.toRaw(vListItemRef.value?.id)));
30154
30150
  function activateGroupActivator(e) {
30155
30151
  if (isClickable.value && isActivatableGroupActivator.value) {
30156
30152
  vListItemRef.value?.activate(!vListItemRef.value?.isActivated, e);
30157
30153
  }
30158
30154
  }
30159
- const visibleIds = vue.inject(VTreeviewSymbol, {
30160
- visibleIds: vue.ref()
30161
- }).visibleIds;
30162
30155
  useRender(() => {
30163
30156
  const listItemProps = omit(VListItem.filterProps(props), ['onClick']);
30164
30157
  const hasPrepend = slots.prepend || props.toggleIcon;
@@ -30168,7 +30161,7 @@
30168
30161
  "active": vListItemRef.value?.isActivated,
30169
30162
  "class": ['v-treeview-item', {
30170
30163
  'v-treeview-item--activatable-group-activator': isActivatableGroupActivator.value,
30171
- 'v-treeview-item--filtered': visibleIds.value && !visibleIds.value.has(vue.toRaw(vListItemRef.value?.id))
30164
+ 'v-treeview-item--filtered': isFiltered.value
30172
30165
  }, props.class],
30173
30166
  "ripple": false,
30174
30167
  "onClick": props.onClick ?? activateGroupActivator
@@ -30970,7 +30963,7 @@
30970
30963
  goTo
30971
30964
  };
30972
30965
  }
30973
- const version$1 = "3.7.12-master.2025-02-18";
30966
+ const version$1 = "3.7.12-master.2025-02-19";
30974
30967
  createVuetify$1.version = version$1;
30975
30968
 
30976
30969
  // Vue's inject() can only be used in setup
@@ -31223,7 +31216,7 @@
31223
31216
 
31224
31217
  /* eslint-disable local-rules/sort-imports */
31225
31218
 
31226
- const version = "3.7.12-master.2025-02-18";
31219
+ const version = "3.7.12-master.2025-02-19";
31227
31220
 
31228
31221
  /* eslint-disable local-rules/sort-imports */
31229
31222