@vuetify/nightly 3.7.5-master.2024-12-12 → 3.7.5-master.2024-12-15

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.5-master.2024-12-12
2
+ * Vuetify v3.7.5-master.2024-12-15
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -28529,13 +28529,16 @@
28529
28529
  const _model = useProxiedModel(props, 'modelValue');
28530
28530
  const model = vue.computed({
28531
28531
  get: () => _model.value,
28532
+ // model.value could be empty string from VTextField
28533
+ // but _model.value should be eventually kept in type Number | null
28532
28534
  set(val) {
28533
- if (val === null) {
28535
+ if (val === null || val === '') {
28534
28536
  _model.value = null;
28535
28537
  return;
28536
28538
  }
28537
- if (!isNaN(+val) && +val <= props.max && +val >= props.min) {
28538
- _model.value = +val;
28539
+ const value = Number(val);
28540
+ if (!isNaN(value) && value <= props.max && value >= props.min) {
28541
+ _model.value = value;
28539
28542
  }
28540
28543
  }
28541
28544
  });
@@ -28708,7 +28711,7 @@
28708
28711
  "class": "v-number-input__control"
28709
28712
  }, [vue.createVNode(VDivider, {
28710
28713
  "vertical": true
28711
- }, null), incrementControlNode()]) : !props.reverse ? vue.createVNode(vue.Fragment, null, [dividerNode(), controlNode()]) : undefined;
28714
+ }, null), incrementControlNode()]) : props.reverse ? undefined : vue.createVNode(vue.Fragment, null, [dividerNode(), controlNode()]);
28712
28715
  const hasAppendInner = slots['append-inner'] || appendInnerControl;
28713
28716
  const prependInnerControl = controlVariant.value === 'split' ? vue.createVNode("div", {
28714
28717
  "class": "v-number-input__control"
@@ -30735,7 +30738,7 @@
30735
30738
  goTo
30736
30739
  };
30737
30740
  }
30738
- const version$1 = "3.7.5-master.2024-12-12";
30741
+ const version$1 = "3.7.5-master.2024-12-15";
30739
30742
  createVuetify$1.version = version$1;
30740
30743
 
30741
30744
  // Vue's inject() can only be used in setup
@@ -30988,7 +30991,7 @@
30988
30991
 
30989
30992
  /* eslint-disable local-rules/sort-imports */
30990
30993
 
30991
- const version = "3.7.5-master.2024-12-12";
30994
+ const version = "3.7.5-master.2024-12-15";
30992
30995
 
30993
30996
  /* eslint-disable local-rules/sort-imports */
30994
30997