@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
  */
@@ -9400,7 +9400,7 @@ function transformItem$3(props, item) {
9400
9400
  };
9401
9401
  }
9402
9402
  function transformItems$3(props, items) {
9403
- const _props = toRaw(props);
9403
+ const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
9404
9404
  const array = [];
9405
9405
  for (const item of items) {
9406
9406
  array.push(transformItem$3(_props, item));
@@ -9443,7 +9443,7 @@ function useItems(props) {
9443
9443
  const _returnObject = props.returnObject;
9444
9444
  const hasValueComparator = !!props.valueComparator;
9445
9445
  const valueComparator = props.valueComparator || deepEqual;
9446
- const _props = toRaw(props);
9446
+ const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
9447
9447
  const returnValue = [];
9448
9448
  main: for (const v of _value) {
9449
9449
  // When the model value is null, return an InternalItem
@@ -15590,6 +15590,8 @@ const useSlider = _ref => {
15590
15590
  const trackContainerRef = ref();
15591
15591
  const activeThumbRef = ref();
15592
15592
  function parseMouseMove(e) {
15593
+ const el = trackContainerRef.value?.$el;
15594
+ if (!el) return;
15593
15595
  const vertical = props.direction === 'vertical';
15594
15596
  const start = vertical ? 'top' : 'left';
15595
15597
  const length = vertical ? 'height' : 'width';
@@ -15597,7 +15599,7 @@ const useSlider = _ref => {
15597
15599
  const {
15598
15600
  [start]: trackStart,
15599
15601
  [length]: trackLength
15600
- } = trackContainerRef.value?.$el.getBoundingClientRect();
15602
+ } = el.getBoundingClientRect();
15601
15603
  const clickOffset = getPosition(e, position);
15602
15604
 
15603
15605
  // It is possible for left to be NaN, force to number
@@ -15606,13 +15608,17 @@ const useSlider = _ref => {
15606
15608
  return roundValue(min.value + clickPos * (max.value - min.value));
15607
15609
  }
15608
15610
  const handleStop = e => {
15609
- onSliderEnd({
15610
- value: parseMouseMove(e)
15611
- });
15611
+ const value = parseMouseMove(e);
15612
+ if (value != null) {
15613
+ onSliderEnd({
15614
+ value
15615
+ });
15616
+ }
15612
15617
  mousePressed.value = false;
15613
15618
  startOffset.value = 0;
15614
15619
  };
15615
15620
  const handleStart = e => {
15621
+ const value = parseMouseMove(e);
15616
15622
  activeThumbRef.value = getActiveThumb(e);
15617
15623
  if (!activeThumbRef.value) return;
15618
15624
  mousePressed.value = true;
@@ -15620,13 +15626,17 @@ const useSlider = _ref => {
15620
15626
  startOffset.value = getOffset(e, activeThumbRef.value, props.direction);
15621
15627
  } else {
15622
15628
  startOffset.value = 0;
15623
- onSliderMove({
15624
- value: parseMouseMove(e)
15629
+ if (value != null) {
15630
+ onSliderMove({
15631
+ value
15632
+ });
15633
+ }
15634
+ }
15635
+ if (value != null) {
15636
+ onSliderStart({
15637
+ value
15625
15638
  });
15626
15639
  }
15627
- onSliderStart({
15628
- value: parseMouseMove(e)
15629
- });
15630
15640
  nextTick(() => activeThumbRef.value?.focus());
15631
15641
  };
15632
15642
  const moveListenerOptions = {
@@ -15634,9 +15644,12 @@ const useSlider = _ref => {
15634
15644
  capture: true
15635
15645
  };
15636
15646
  function onMouseMove(e) {
15637
- onSliderMove({
15638
- value: parseMouseMove(e)
15639
- });
15647
+ const value = parseMouseMove(e);
15648
+ if (value != null) {
15649
+ onSliderMove({
15650
+ value
15651
+ });
15652
+ }
15640
15653
  }
15641
15654
  function onSliderMouseUp(e) {
15642
15655
  e.stopPropagation();
@@ -30880,7 +30893,7 @@ function createVuetify$1() {
30880
30893
  goTo
30881
30894
  };
30882
30895
  }
30883
- const version$1 = "3.7.11-master.2025-02-07";
30896
+ const version$1 = "3.7.11-master.2025-02-10";
30884
30897
  createVuetify$1.version = version$1;
30885
30898
 
30886
30899
  // Vue's inject() can only be used in setup
@@ -31133,7 +31146,7 @@ var index = /*#__PURE__*/Object.freeze({
31133
31146
 
31134
31147
  /* eslint-disable local-rules/sort-imports */
31135
31148
 
31136
- const version = "3.7.11-master.2025-02-07";
31149
+ const version = "3.7.11-master.2025-02-10";
31137
31150
 
31138
31151
  /* eslint-disable local-rules/sort-imports */
31139
31152