@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.
- package/dist/json/attributes.json +3105 -3105
- package/dist/json/importMap-labs.json +28 -28
- package/dist/json/importMap.json +162 -162
- package/dist/json/web-types.json +5667 -5667
- package/dist/vuetify-labs.css +3271 -3271
- package/dist/vuetify-labs.esm.js +10 -7
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +10 -7
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2789 -2789
- package/dist/vuetify.d.ts +56 -56
- package/dist/vuetify.esm.js +3 -3
- package/dist/vuetify.js +3 -3
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +3 -3
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +56 -56
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -4
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.5-master.2024-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
|
*/
|
@@ -28525,13 +28525,16 @@ const VNumberInput = genericComponent()({
|
|
28525
28525
|
const _model = useProxiedModel(props, 'modelValue');
|
28526
28526
|
const model = computed({
|
28527
28527
|
get: () => _model.value,
|
28528
|
+
// model.value could be empty string from VTextField
|
28529
|
+
// but _model.value should be eventually kept in type Number | null
|
28528
28530
|
set(val) {
|
28529
|
-
if (val === null) {
|
28531
|
+
if (val === null || val === '') {
|
28530
28532
|
_model.value = null;
|
28531
28533
|
return;
|
28532
28534
|
}
|
28533
|
-
|
28534
|
-
|
28535
|
+
const value = Number(val);
|
28536
|
+
if (!isNaN(value) && value <= props.max && value >= props.min) {
|
28537
|
+
_model.value = value;
|
28535
28538
|
}
|
28536
28539
|
}
|
28537
28540
|
});
|
@@ -28704,7 +28707,7 @@ const VNumberInput = genericComponent()({
|
|
28704
28707
|
"class": "v-number-input__control"
|
28705
28708
|
}, [createVNode(VDivider, {
|
28706
28709
|
"vertical": true
|
28707
|
-
}, null), incrementControlNode()]) :
|
28710
|
+
}, null), incrementControlNode()]) : props.reverse ? undefined : createVNode(Fragment, null, [dividerNode(), controlNode()]);
|
28708
28711
|
const hasAppendInner = slots['append-inner'] || appendInnerControl;
|
28709
28712
|
const prependInnerControl = controlVariant.value === 'split' ? createVNode("div", {
|
28710
28713
|
"class": "v-number-input__control"
|
@@ -30731,7 +30734,7 @@ function createVuetify$1() {
|
|
30731
30734
|
goTo
|
30732
30735
|
};
|
30733
30736
|
}
|
30734
|
-
const version$1 = "3.7.5-master.2024-12-
|
30737
|
+
const version$1 = "3.7.5-master.2024-12-15";
|
30735
30738
|
createVuetify$1.version = version$1;
|
30736
30739
|
|
30737
30740
|
// Vue's inject() can only be used in setup
|
@@ -30984,7 +30987,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30984
30987
|
|
30985
30988
|
/* eslint-disable local-rules/sort-imports */
|
30986
30989
|
|
30987
|
-
const version = "3.7.5-master.2024-12-
|
30990
|
+
const version = "3.7.5-master.2024-12-15";
|
30988
30991
|
|
30989
30992
|
/* eslint-disable local-rules/sort-imports */
|
30990
30993
|
|