@vuetify/nightly 3.6.7-master.2024-05-27 → 3.6.7-master.2024-05-29
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 +8 -2
- package/dist/json/attributes.json +39 -7
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +146 -146
- package/dist/json/tags.json +8 -0
- package/dist/json/web-types.json +84 -12
- package/dist/vuetify-labs.css +2617 -2614
- package/dist/vuetify-labs.d.ts +78 -18
- package/dist/vuetify-labs.esm.js +27 -8
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +27 -8
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +723 -720
- package/dist/vuetify.d.ts +85 -55
- package/dist/vuetify.esm.js +21 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +21 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +9 -9
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDivider/VDivider.mjs +1 -1
- package/lib/components/VDivider/VDivider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +1 -1
- package/lib/components/VSnackbar/VSnackbar.sass +1 -1
- package/lib/components/VStepper/VStepper.mjs +18 -4
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +3 -0
- package/lib/components/VStepper/VStepperItem.sass +3 -0
- package/lib/components/VStepper/index.d.mts +43 -9
- package/lib/components/index.d.mts +39 -9
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +46 -46
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -0
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VStepperVertical/index.d.mts +43 -9
- package/lib/labs/components.d.mts +3752 -3718
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.7-master.2024-05-
|
2
|
+
* Vuetify v3.6.7-master.2024-05-29
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -9114,7 +9114,7 @@
|
|
9114
9114
|
const dividerStyles = vue.computed(() => {
|
9115
9115
|
const styles = {};
|
9116
9116
|
if (props.length) {
|
9117
|
-
styles[props.vertical ? '
|
9117
|
+
styles[props.vertical ? 'height' : 'width'] = convertToUnit(props.length);
|
9118
9118
|
}
|
9119
9119
|
if (props.thickness) {
|
9120
9120
|
styles[props.vertical ? 'borderRightWidth' : 'borderTopWidth'] = convertToUnit(props.thickness);
|
@@ -26044,7 +26044,10 @@
|
|
26044
26044
|
const makeStepperProps = propsFactory({
|
26045
26045
|
altLabels: Boolean,
|
26046
26046
|
bgColor: String,
|
26047
|
+
completeIcon: String,
|
26048
|
+
editIcon: String,
|
26047
26049
|
editable: Boolean,
|
26050
|
+
errorIcon: String,
|
26048
26051
|
hideActions: Boolean,
|
26049
26052
|
items: {
|
26050
26053
|
type: Array,
|
@@ -26058,9 +26061,9 @@
|
|
26058
26061
|
type: String,
|
26059
26062
|
default: 'value'
|
26060
26063
|
},
|
26061
|
-
mobile: Boolean,
|
26062
26064
|
nonLinear: Boolean,
|
26063
|
-
flat: Boolean
|
26065
|
+
flat: Boolean,
|
26066
|
+
...makeDisplayProps()
|
26064
26067
|
}, 'Stepper');
|
26065
26068
|
const makeVStepperProps = propsFactory({
|
26066
26069
|
...makeStepperProps(),
|
@@ -26088,6 +26091,13 @@
|
|
26088
26091
|
selected
|
26089
26092
|
} = useGroup(props, VStepperSymbol);
|
26090
26093
|
const {
|
26094
|
+
displayClasses,
|
26095
|
+
mobile
|
26096
|
+
} = useDisplay(props);
|
26097
|
+
const {
|
26098
|
+
completeIcon,
|
26099
|
+
editIcon,
|
26100
|
+
errorIcon,
|
26091
26101
|
color,
|
26092
26102
|
editable,
|
26093
26103
|
prevText,
|
@@ -26114,6 +26124,9 @@
|
|
26114
26124
|
provideDefaults({
|
26115
26125
|
VStepperItem: {
|
26116
26126
|
editable,
|
26127
|
+
errorIcon,
|
26128
|
+
completeIcon,
|
26129
|
+
editIcon,
|
26117
26130
|
prevText,
|
26118
26131
|
nextText
|
26119
26132
|
},
|
@@ -26135,8 +26148,8 @@
|
|
26135
26148
|
'v-stepper--alt-labels': props.altLabels,
|
26136
26149
|
'v-stepper--flat': props.flat,
|
26137
26150
|
'v-stepper--non-linear': props.nonLinear,
|
26138
|
-
'v-stepper--mobile':
|
26139
|
-
}, props.class],
|
26151
|
+
'v-stepper--mobile': mobile.value
|
26152
|
+
}, displayClasses.value, props.class],
|
26140
26153
|
"style": props.style
|
26141
26154
|
}), {
|
26142
26155
|
default: () => [hasHeader && vue.createVNode(VStepperHeader, {
|
@@ -27979,15 +27992,20 @@
|
|
27979
27992
|
const model = useProxiedModel(props, 'modelValue');
|
27980
27993
|
const stepDecimals = vue.computed(() => getDecimals(props.step));
|
27981
27994
|
const modelDecimals = vue.computed(() => model.value != null ? getDecimals(model.value) : 0);
|
27995
|
+
const form = useForm();
|
27996
|
+
const controlsDisabled = vue.computed(() => props.disabled || props.readonly || form?.isReadonly.value);
|
27982
27997
|
const canIncrease = vue.computed(() => {
|
27998
|
+
if (controlsDisabled.value) return false;
|
27983
27999
|
if (model.value == null) return true;
|
27984
28000
|
return model.value + props.step <= props.max;
|
27985
28001
|
});
|
27986
28002
|
const canDecrease = vue.computed(() => {
|
28003
|
+
if (controlsDisabled.value) return false;
|
27987
28004
|
if (model.value == null) return true;
|
27988
28005
|
return model.value - props.step >= props.min;
|
27989
28006
|
});
|
27990
28007
|
vue.watchEffect(() => {
|
28008
|
+
if (controlsDisabled.value) return;
|
27991
28009
|
if (model.value != null && (model.value < props.min || model.value > props.max)) {
|
27992
28010
|
model.value = clamp(model.value, props.min, props.max);
|
27993
28011
|
}
|
@@ -28003,6 +28021,7 @@
|
|
28003
28021
|
}));
|
28004
28022
|
function toggleUpDown() {
|
28005
28023
|
let increment = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
28024
|
+
if (controlsDisabled.value) return;
|
28006
28025
|
if (model.value == null) {
|
28007
28026
|
model.value = 0;
|
28008
28027
|
return;
|
@@ -30133,7 +30152,7 @@
|
|
30133
30152
|
goTo
|
30134
30153
|
};
|
30135
30154
|
}
|
30136
|
-
const version$1 = "3.6.7-master.2024-05-
|
30155
|
+
const version$1 = "3.6.7-master.2024-05-29";
|
30137
30156
|
createVuetify$1.version = version$1;
|
30138
30157
|
|
30139
30158
|
// Vue's inject() can only be used in setup
|
@@ -30386,7 +30405,7 @@
|
|
30386
30405
|
|
30387
30406
|
/* eslint-disable local-rules/sort-imports */
|
30388
30407
|
|
30389
|
-
const version = "3.6.7-master.2024-05-
|
30408
|
+
const version = "3.6.7-master.2024-05-29";
|
30390
30409
|
|
30391
30410
|
/* eslint-disable local-rules/sort-imports */
|
30392
30411
|
|