@vuetify/nightly 3.7.11-master.2025-02-07 → 3.7.11-master.2025-02-10

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.11-master.2025-02-07
2
+ * Vuetify v3.7.11-master.2025-02-10
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -9404,7 +9404,7 @@
9404
9404
  };
9405
9405
  }
9406
9406
  function transformItems$3(props, items) {
9407
- const _props = vue.toRaw(props);
9407
+ const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
9408
9408
  const array = [];
9409
9409
  for (const item of items) {
9410
9410
  array.push(transformItem$3(_props, item));
@@ -9447,7 +9447,7 @@
9447
9447
  const _returnObject = props.returnObject;
9448
9448
  const hasValueComparator = !!props.valueComparator;
9449
9449
  const valueComparator = props.valueComparator || deepEqual;
9450
- const _props = vue.toRaw(props);
9450
+ const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
9451
9451
  const returnValue = [];
9452
9452
  main: for (const v of _value) {
9453
9453
  // When the model value is null, return an InternalItem
@@ -15594,6 +15594,8 @@
15594
15594
  const trackContainerRef = vue.ref();
15595
15595
  const activeThumbRef = vue.ref();
15596
15596
  function parseMouseMove(e) {
15597
+ const el = trackContainerRef.value?.$el;
15598
+ if (!el) return;
15597
15599
  const vertical = props.direction === 'vertical';
15598
15600
  const start = vertical ? 'top' : 'left';
15599
15601
  const length = vertical ? 'height' : 'width';
@@ -15601,7 +15603,7 @@
15601
15603
  const {
15602
15604
  [start]: trackStart,
15603
15605
  [length]: trackLength
15604
- } = trackContainerRef.value?.$el.getBoundingClientRect();
15606
+ } = el.getBoundingClientRect();
15605
15607
  const clickOffset = getPosition(e, position);
15606
15608
 
15607
15609
  // It is possible for left to be NaN, force to number
@@ -15610,13 +15612,17 @@
15610
15612
  return roundValue(min.value + clickPos * (max.value - min.value));
15611
15613
  }
15612
15614
  const handleStop = e => {
15613
- onSliderEnd({
15614
- value: parseMouseMove(e)
15615
- });
15615
+ const value = parseMouseMove(e);
15616
+ if (value != null) {
15617
+ onSliderEnd({
15618
+ value
15619
+ });
15620
+ }
15616
15621
  mousePressed.value = false;
15617
15622
  startOffset.value = 0;
15618
15623
  };
15619
15624
  const handleStart = e => {
15625
+ const value = parseMouseMove(e);
15620
15626
  activeThumbRef.value = getActiveThumb(e);
15621
15627
  if (!activeThumbRef.value) return;
15622
15628
  mousePressed.value = true;
@@ -15624,13 +15630,17 @@
15624
15630
  startOffset.value = getOffset(e, activeThumbRef.value, props.direction);
15625
15631
  } else {
15626
15632
  startOffset.value = 0;
15627
- onSliderMove({
15628
- value: parseMouseMove(e)
15633
+ if (value != null) {
15634
+ onSliderMove({
15635
+ value
15636
+ });
15637
+ }
15638
+ }
15639
+ if (value != null) {
15640
+ onSliderStart({
15641
+ value
15629
15642
  });
15630
15643
  }
15631
- onSliderStart({
15632
- value: parseMouseMove(e)
15633
- });
15634
15644
  vue.nextTick(() => activeThumbRef.value?.focus());
15635
15645
  };
15636
15646
  const moveListenerOptions = {
@@ -15638,9 +15648,12 @@
15638
15648
  capture: true
15639
15649
  };
15640
15650
  function onMouseMove(e) {
15641
- onSliderMove({
15642
- value: parseMouseMove(e)
15643
- });
15651
+ const value = parseMouseMove(e);
15652
+ if (value != null) {
15653
+ onSliderMove({
15654
+ value
15655
+ });
15656
+ }
15644
15657
  }
15645
15658
  function onSliderMouseUp(e) {
15646
15659
  e.stopPropagation();
@@ -30884,7 +30897,7 @@
30884
30897
  goTo
30885
30898
  };
30886
30899
  }
30887
- const version$1 = "3.7.11-master.2025-02-07";
30900
+ const version$1 = "3.7.11-master.2025-02-10";
30888
30901
  createVuetify$1.version = version$1;
30889
30902
 
30890
30903
  // Vue's inject() can only be used in setup
@@ -31137,7 +31150,7 @@
31137
31150
 
31138
31151
  /* eslint-disable local-rules/sort-imports */
31139
31152
 
31140
- const version = "3.7.11-master.2025-02-07";
31153
+ const version = "3.7.11-master.2025-02-10";
31141
31154
 
31142
31155
  /* eslint-disable local-rules/sort-imports */
31143
31156