@vuetify/nightly 3.6.3-master.2024-05-06 → 3.6.3-master.2024-05-07
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 +148 -8
- package/dist/json/importMap-labs.json +4 -4
- package/dist/json/importMap.json +112 -112
- package/dist/json/tags.json +36 -1
- package/dist/json/web-types.json +433 -23
- package/dist/vuetify-labs.css +1744 -1744
- package/dist/vuetify-labs.d.ts +631 -317
- package/dist/vuetify-labs.esm.js +65 -89
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +65 -89
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4507 -4507
- package/dist/vuetify.d.ts +273 -315
- package/dist/vuetify.esm.js +12 -14
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +12 -14
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +11 -11
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +18 -18
- package/lib/components/VBottomSheet/index.d.mts +9 -15
- package/lib/components/VCarousel/index.d.mts +6 -6
- package/lib/components/VCombobox/index.d.mts +18 -18
- package/lib/components/VDialog/index.d.mts +27 -33
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +9 -9
- package/lib/components/VImg/index.d.mts +6 -6
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +6 -6
- package/lib/components/VMenu/index.d.mts +27 -33
- package/lib/components/VOverlay/VOverlay.mjs +2 -5
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +9 -15
- package/lib/components/VResponsive/VResponsive.mjs +1 -1
- package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
- package/lib/components/VResponsive/index.d.mts +6 -6
- package/lib/components/VSelect/index.d.mts +18 -18
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +41 -47
- package/lib/components/VSpeedDial/index.d.mts +9 -15
- package/lib/components/VTooltip/index.d.mts +27 -33
- package/lib/components/index.d.mts +236 -278
- package/lib/composables/component.mjs +1 -1
- package/lib/composables/component.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +37 -37
- package/lib/labs/VNumberInput/VNumberInput.mjs +57 -81
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +402 -34
- package/lib/labs/VSnackbarQueue/index.d.mts +41 -47
- package/lib/labs/VTreeview/index.d.mts +6 -6
- package/lib/labs/components.d.mts +442 -86
- package/package.json +2 -2
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.3-master.2024-05-
|
2
|
+
* Vuetify v3.6.3-master.2024-05-07
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -70,7 +70,7 @@ function propsFactory(props, source) {
|
|
70
70
|
|
71
71
|
// Composables
|
72
72
|
const makeComponentProps = propsFactory({
|
73
|
-
class: [String, Array],
|
73
|
+
class: [String, Array, Object],
|
74
74
|
style: {
|
75
75
|
type: [String, Array, Object],
|
76
76
|
default: null
|
@@ -3001,7 +3001,7 @@ function useAspectStyles(props) {
|
|
3001
3001
|
}
|
3002
3002
|
const makeVResponsiveProps = propsFactory({
|
3003
3003
|
aspectRatio: [String, Number],
|
3004
|
-
contentClass:
|
3004
|
+
contentClass: null,
|
3005
3005
|
inline: Boolean,
|
3006
3006
|
...makeComponentProps(),
|
3007
3007
|
...makeDimensionProps()
|
@@ -8755,7 +8755,7 @@ const makeVListItemProps = propsFactory({
|
|
8755
8755
|
appendIcon: IconValue,
|
8756
8756
|
baseColor: String,
|
8757
8757
|
disabled: Boolean,
|
8758
|
-
lines: String,
|
8758
|
+
lines: [Boolean, String],
|
8759
8759
|
link: {
|
8760
8760
|
type: Boolean,
|
8761
8761
|
default: undefined
|
@@ -8866,8 +8866,9 @@ const VListItem = genericComponent()({
|
|
8866
8866
|
}));
|
8867
8867
|
function onClick(e) {
|
8868
8868
|
emit('click', e);
|
8869
|
-
if (
|
8869
|
+
if (!isClickable.value) return;
|
8870
8870
|
link.navigate?.(e);
|
8871
|
+
if (isGroupActivator) return;
|
8871
8872
|
if (root.activatable.value) {
|
8872
8873
|
activate(!isActivated.value, e);
|
8873
8874
|
} else if (root.selectable.value) {
|
@@ -10681,10 +10682,7 @@ const makeVOverlayProps = propsFactory({
|
|
10681
10682
|
disabled: Boolean,
|
10682
10683
|
opacity: [Number, String],
|
10683
10684
|
noClickAnimation: Boolean,
|
10684
|
-
modelValue:
|
10685
|
-
type: Boolean,
|
10686
|
-
default: null
|
10687
|
-
},
|
10685
|
+
modelValue: Boolean,
|
10688
10686
|
persistent: Boolean,
|
10689
10687
|
scrim: {
|
10690
10688
|
type: [Boolean, String],
|
@@ -10727,7 +10725,7 @@ const VOverlay = genericComponent()({
|
|
10727
10725
|
} = _ref;
|
10728
10726
|
const model = useProxiedModel(props, 'modelValue');
|
10729
10727
|
const isActive = computed({
|
10730
|
-
get: () =>
|
10728
|
+
get: () => model.value,
|
10731
10729
|
set: v => {
|
10732
10730
|
if (!(v && props.disabled)) model.value = v;
|
10733
10731
|
}
|
@@ -12964,7 +12962,7 @@ const VAutocomplete = genericComponent()({
|
|
12964
12962
|
select(displayItems.value[0]);
|
12965
12963
|
}
|
12966
12964
|
menu.value = false;
|
12967
|
-
search.value = '';
|
12965
|
+
if (props.multiple || hasSelectionSlot.value) search.value = '';
|
12968
12966
|
selectionIndex.value = -1;
|
12969
12967
|
}
|
12970
12968
|
});
|
@@ -22559,7 +22557,7 @@ const VFileInput = genericComponent()({
|
|
22559
22557
|
const {
|
22560
22558
|
t
|
22561
22559
|
} = useLocale();
|
22562
|
-
const model = useProxiedModel(props, 'modelValue', props.modelValue, val => wrapInArray(val), val => props.multiple || Array.isArray(props.modelValue) ? val : val[0]);
|
22560
|
+
const model = useProxiedModel(props, 'modelValue', props.modelValue, val => wrapInArray(val), val => props.multiple || Array.isArray(props.modelValue) ? val : val[0] ?? null);
|
22563
22561
|
const {
|
22564
22562
|
isFocused,
|
22565
22563
|
focus,
|
@@ -27844,19 +27842,13 @@ const makeVNumberInputProps = propsFactory({
|
|
27844
27842
|
type: Number,
|
27845
27843
|
default: 1
|
27846
27844
|
},
|
27847
|
-
...
|
27848
|
-
...only(makeVFieldProps(), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'reverse', 'rounded', 'style', 'theme', 'variant']),
|
27849
|
-
...makeFocusProps()
|
27845
|
+
...omit(makeVTextFieldProps(), ['appendInnerIcon', 'prependInnerIcon'])
|
27850
27846
|
}, 'VNumberInput');
|
27851
27847
|
const VNumberInput = genericComponent()({
|
27852
27848
|
name: 'VNumberInput',
|
27853
27849
|
inheritAttrs: false,
|
27854
27850
|
props: {
|
27855
|
-
...makeVNumberInputProps()
|
27856
|
-
modelValue: {
|
27857
|
-
type: Number,
|
27858
|
-
default: undefined
|
27859
|
-
}
|
27851
|
+
...makeVNumberInputProps()
|
27860
27852
|
},
|
27861
27853
|
emits: {
|
27862
27854
|
'update:modelValue': val => true
|
@@ -27868,12 +27860,6 @@ const VNumberInput = genericComponent()({
|
|
27868
27860
|
slots
|
27869
27861
|
} = _ref;
|
27870
27862
|
const model = useProxiedModel(props, 'modelValue');
|
27871
|
-
const {
|
27872
|
-
isFocused,
|
27873
|
-
focus,
|
27874
|
-
blur
|
27875
|
-
} = useFocus(props);
|
27876
|
-
const inputRef = ref();
|
27877
27863
|
const stepDecimals = computed(() => getDecimals(props.step));
|
27878
27864
|
const modelDecimals = computed(() => model.value != null ? getDecimals(model.value) : 0);
|
27879
27865
|
const canIncrease = computed(() => {
|
@@ -27889,9 +27875,6 @@ const VNumberInput = genericComponent()({
|
|
27889
27875
|
model.value = clamp(model.value, props.min, props.max);
|
27890
27876
|
}
|
27891
27877
|
});
|
27892
|
-
function onFocus() {
|
27893
|
-
if (!isFocused.value) focus();
|
27894
|
-
}
|
27895
27878
|
const controlVariant = computed(() => {
|
27896
27879
|
return props.hideInput ? 'stacked' : props.controlVariant;
|
27897
27880
|
});
|
@@ -27921,7 +27904,7 @@ const VNumberInput = genericComponent()({
|
|
27921
27904
|
toggleUpDown(false);
|
27922
27905
|
}
|
27923
27906
|
function onKeydown(e) {
|
27924
|
-
if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace'].includes(e.key) || e.ctrlKey) return;
|
27907
|
+
if (['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Tab'].includes(e.key) || e.ctrlKey) return;
|
27925
27908
|
if (['ArrowDown'].includes(e.key)) {
|
27926
27909
|
e.preventDefault();
|
27927
27910
|
toggleUpDown(false);
|
@@ -27938,17 +27921,14 @@ const VNumberInput = genericComponent()({
|
|
27938
27921
|
e.preventDefault();
|
27939
27922
|
}
|
27940
27923
|
}
|
27941
|
-
function
|
27942
|
-
|
27943
|
-
model.value = el.value ? +el.value : undefined;
|
27924
|
+
function onModelUpdate(v) {
|
27925
|
+
model.value = v ? +v : undefined;
|
27944
27926
|
}
|
27945
27927
|
useRender(() => {
|
27946
|
-
const fieldProps = filterFieldProps(props);
|
27947
|
-
const [rootAttrs, inputAttrs] = filterInputAttrs(attrs);
|
27948
27928
|
const {
|
27949
27929
|
modelValue: _,
|
27950
|
-
...
|
27951
|
-
} =
|
27930
|
+
...textFieldProps
|
27931
|
+
} = VTextField.filterProps(props);
|
27952
27932
|
function controlNode() {
|
27953
27933
|
const defaultHeight = controlVariant.value === 'stacked' ? 'auto' : '100%';
|
27954
27934
|
return createVNode("div", {
|
@@ -27961,6 +27941,7 @@ const VNumberInput = genericComponent()({
|
|
27961
27941
|
"name": "decrement-btn",
|
27962
27942
|
"icon": "$expand",
|
27963
27943
|
"size": "small",
|
27944
|
+
"tabindex": "-1",
|
27964
27945
|
"onClick": onClickDown
|
27965
27946
|
}, null) : createVNode(VDefaultsProvider, {
|
27966
27947
|
"key": "decrement-defaults",
|
@@ -27985,7 +27966,8 @@ const VNumberInput = genericComponent()({
|
|
27985
27966
|
"name": "increment-btn",
|
27986
27967
|
"icon": "$collapse",
|
27987
27968
|
"onClick": onClickUp,
|
27988
|
-
"size": "small"
|
27969
|
+
"size": "small",
|
27970
|
+
"tabindex": "-1"
|
27989
27971
|
}, null) : createVNode(VDefaultsProvider, {
|
27990
27972
|
"key": "increment-defaults",
|
27991
27973
|
"defaults": {
|
@@ -28006,7 +27988,36 @@ const VNumberInput = genericComponent()({
|
|
28006
27988
|
"vertical": true
|
28007
27989
|
}, null) : undefined;
|
28008
27990
|
}
|
28009
|
-
|
27991
|
+
const appendInnerControl = controlVariant.value === 'split' ? createVNode("div", {
|
27992
|
+
"class": "v-number-input__control"
|
27993
|
+
}, [createVNode(VDivider, {
|
27994
|
+
"vertical": true
|
27995
|
+
}, null), createVNode(VBtn, {
|
27996
|
+
"flat": true,
|
27997
|
+
"height": "100%",
|
27998
|
+
"icon": "$plus",
|
27999
|
+
"tile": true,
|
28000
|
+
"tabindex": "-1",
|
28001
|
+
"onClick": onClickUp
|
28002
|
+
}, null)]) : !props.reverse ? createVNode(Fragment, null, [dividerNode(), controlNode()]) : undefined;
|
28003
|
+
const hasAppendInner = slots['append-inner'] || appendInnerControl;
|
28004
|
+
const prependInnerControl = controlVariant.value === 'split' ? createVNode("div", {
|
28005
|
+
"class": "v-number-input__control"
|
28006
|
+
}, [createVNode(VBtn, {
|
28007
|
+
"flat": true,
|
28008
|
+
"height": "100%",
|
28009
|
+
"icon": "$minus",
|
28010
|
+
"tile": true,
|
28011
|
+
"tabindex": "-1",
|
28012
|
+
"onClick": onClickDown
|
28013
|
+
}, null), createVNode(VDivider, {
|
28014
|
+
"vertical": true
|
28015
|
+
}, null)]) : props.reverse ? createVNode(Fragment, null, [controlNode(), dividerNode()]) : undefined;
|
28016
|
+
const hasPrependInner = slots['prepend-inner'] || prependInnerControl;
|
28017
|
+
return createVNode(VTextField, mergeProps({
|
28018
|
+
"modelValue": model.value,
|
28019
|
+
"onUpdate:modelValue": onModelUpdate,
|
28020
|
+
"onKeydown": onKeydown,
|
28010
28021
|
"class": ['v-number-input', {
|
28011
28022
|
'v-number-input--default': controlVariant.value === 'default',
|
28012
28023
|
'v-number-input--hide-input': props.hideInput,
|
@@ -28015,57 +28026,22 @@ const VNumberInput = genericComponent()({
|
|
28015
28026
|
'v-number-input--split': controlVariant.value === 'split',
|
28016
28027
|
'v-number-input--stacked': controlVariant.value === 'stacked'
|
28017
28028
|
}, props.class]
|
28018
|
-
},
|
28019
|
-
"focused": isFocused.value,
|
28029
|
+
}, textFieldProps, {
|
28020
28030
|
"style": props.style
|
28021
28031
|
}), {
|
28022
28032
|
...slots,
|
28023
|
-
|
28024
|
-
|
28025
|
-
|
28026
|
-
|
28027
|
-
...
|
28028
|
-
|
28029
|
-
|
28030
|
-
|
28031
|
-
|
28032
|
-
|
28033
|
-
|
28034
|
-
|
28035
|
-
return createVNode("input", mergeProps({
|
28036
|
-
"ref": inputRef,
|
28037
|
-
"type": "text",
|
28038
|
-
"value": model.value,
|
28039
|
-
"onInput": onInput,
|
28040
|
-
"onKeydown": onKeydown,
|
28041
|
-
"class": fieldClass,
|
28042
|
-
"onFocus": onFocus,
|
28043
|
-
"onBlur": blur
|
28044
|
-
}, inputAttrs), null);
|
28045
|
-
},
|
28046
|
-
'append-inner': controlVariant.value === 'split' ? () => createVNode("div", {
|
28047
|
-
"class": "v-number-input__control"
|
28048
|
-
}, [createVNode(VDivider, {
|
28049
|
-
"vertical": true
|
28050
|
-
}, null), createVNode(VBtn, {
|
28051
|
-
"flat": true,
|
28052
|
-
"height": "100%",
|
28053
|
-
"icon": "$plus",
|
28054
|
-
"tile": true,
|
28055
|
-
"onClick": onClickUp
|
28056
|
-
}, null)]) : !props.reverse ? () => createVNode(Fragment, null, [dividerNode(), controlNode()]) : undefined,
|
28057
|
-
'prepend-inner': controlVariant.value === 'split' ? () => createVNode("div", {
|
28058
|
-
"class": "v-number-input__control"
|
28059
|
-
}, [createVNode(VBtn, {
|
28060
|
-
"flat": true,
|
28061
|
-
"height": "100%",
|
28062
|
-
"icon": "$minus",
|
28063
|
-
"tile": true,
|
28064
|
-
"onClick": onClickDown
|
28065
|
-
}, null), createVNode(VDivider, {
|
28066
|
-
"vertical": true
|
28067
|
-
}, null)]) : props.reverse ? () => createVNode(Fragment, null, [controlNode(), dividerNode()]) : undefined
|
28068
|
-
})
|
28033
|
+
'append-inner': hasAppendInner ? function () {
|
28034
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
28035
|
+
args[_key] = arguments[_key];
|
28036
|
+
}
|
28037
|
+
return createVNode(Fragment, null, [slots['append-inner']?.(...args), appendInnerControl]);
|
28038
|
+
} : undefined,
|
28039
|
+
'prepend-inner': hasPrependInner ? function () {
|
28040
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
28041
|
+
args[_key2] = arguments[_key2];
|
28042
|
+
}
|
28043
|
+
return createVNode(Fragment, null, [prependInnerControl, slots['prepend-inner']?.(...args)]);
|
28044
|
+
} : undefined
|
28069
28045
|
});
|
28070
28046
|
});
|
28071
28047
|
}
|
@@ -29768,7 +29744,7 @@ function createVuetify$1() {
|
|
29768
29744
|
goTo
|
29769
29745
|
};
|
29770
29746
|
}
|
29771
|
-
const version$1 = "3.6.3-master.2024-05-
|
29747
|
+
const version$1 = "3.6.3-master.2024-05-07";
|
29772
29748
|
createVuetify$1.version = version$1;
|
29773
29749
|
|
29774
29750
|
// Vue's inject() can only be used in setup
|
@@ -30021,7 +29997,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30021
29997
|
|
30022
29998
|
/* eslint-disable local-rules/sort-imports */
|
30023
29999
|
|
30024
|
-
const version = "3.6.3-master.2024-05-
|
30000
|
+
const version = "3.6.3-master.2024-05-07";
|
30025
30001
|
|
30026
30002
|
/* eslint-disable local-rules/sort-imports */
|
30027
30003
|
|