@vuetify/nightly 4.0.0-dev-20230421.0 → 4.0.0-dev-20230422.0
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/CHANGELOG.md +2 -2
- package/dist/json/importMap.json +68 -68
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +43 -43
- package/dist/vuetify-labs.esm.js +8 -7
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +8 -7
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1 -1
- package/dist/vuetify.d.ts +19 -19
- package/dist/vuetify.esm.js +8 -7
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +8 -7
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +718 -718
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VSlider/slider.mjs +2 -5
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.ts +19 -19
- package/package.json +1 -1
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v4.0.0-dev-
|
2
|
+
* Vuetify v4.0.0-dev-20230422.0
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -207,6 +207,10 @@
|
|
207
207
|
let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
208
208
|
return Math.max(min, Math.min(max, value));
|
209
209
|
}
|
210
|
+
function getDecimals(value) {
|
211
|
+
const trimmedStr = value.toString().trim();
|
212
|
+
return trimmedStr.includes('.') ? trimmedStr.length - trimmedStr.indexOf('.') - 1 : 0;
|
213
|
+
}
|
210
214
|
function padEnd(str, length) {
|
211
215
|
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
212
216
|
return str + char.repeat(Math.max(0, length - str.length));
|
@@ -12614,10 +12618,7 @@
|
|
12614
12618
|
const min = vue.computed(() => parseFloat(props.min));
|
12615
12619
|
const max = vue.computed(() => parseFloat(props.max));
|
12616
12620
|
const step = vue.computed(() => +props.step > 0 ? parseFloat(props.step) : 0);
|
12617
|
-
const decimals = vue.computed(() =>
|
12618
|
-
const trimmedStep = step.value.toString().trim();
|
12619
|
-
return trimmedStep.includes('.') ? trimmedStep.length - trimmedStep.indexOf('.') - 1 : 0;
|
12620
|
-
});
|
12621
|
+
const decimals = vue.computed(() => Math.max(getDecimals(step.value), getDecimals(min.value)));
|
12621
12622
|
function roundValue(value) {
|
12622
12623
|
if (step.value <= 0) return value;
|
12623
12624
|
const clamped = clamp(value, min.value, max.value);
|
@@ -19229,7 +19230,7 @@
|
|
19229
19230
|
date
|
19230
19231
|
};
|
19231
19232
|
}
|
19232
|
-
const version$1 = "4.0.0-dev-
|
19233
|
+
const version$1 = "4.0.0-dev-20230422.0";
|
19233
19234
|
createVuetify$1.version = version$1;
|
19234
19235
|
|
19235
19236
|
// Vue's inject() can only be used in setup
|
@@ -19249,7 +19250,7 @@
|
|
19249
19250
|
...options
|
19250
19251
|
});
|
19251
19252
|
};
|
19252
|
-
const version = "4.0.0-dev-
|
19253
|
+
const version = "4.0.0-dev-20230422.0";
|
19253
19254
|
createVuetify.version = version;
|
19254
19255
|
|
19255
19256
|
exports.components = components;
|