@vuetify/nightly 3.8.3-master.2025-04-29 → 3.8.3-master.2025-05-01
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 +24 -3
- package/dist/json/attributes.json +1686 -1682
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +128 -128
- package/dist/json/tags.json +1 -0
- package/dist/json/web-types.json +3486 -3476
- package/dist/vuetify-labs.cjs +47 -24
- package/dist/vuetify-labs.css +3884 -3888
- package/dist/vuetify-labs.d.ts +4043 -859
- package/dist/vuetify-labs.esm.js +47 -24
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +47 -24
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +20 -17
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2938 -2942
- package/dist/vuetify.d.ts +4021 -857
- package/dist/vuetify.esm.js +20 -17
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +20 -17
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +10 -10
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +792 -74
- package/lib/components/VBadge/VBadge.d.ts +22 -46
- package/lib/components/VBottomSheet/VBottomSheet.d.ts +1434 -80
- package/lib/components/VCombobox/VCombobox.d.ts +792 -74
- package/lib/components/VCounter/VCounter.d.ts +22 -46
- package/lib/components/VDataIterator/VDataIterator.d.ts +22 -46
- package/lib/components/VDataTable/composables/select.js +1 -1
- package/lib/components/VDataTable/composables/select.js.map +1 -1
- package/lib/components/VDialog/VDialog.d.ts +1048 -146
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VFab/VFab.d.ts +22 -46
- package/lib/components/VImg/VImg.d.ts +22 -49
- package/lib/components/VLazy/VLazy.d.ts +22 -46
- package/lib/components/VMenu/VMenu.d.ts +1048 -146
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VMessages/VMessages.d.ts +22 -46
- package/lib/components/VOverlay/VOverlay.d.ts +22 -49
- package/lib/components/VSelect/VSelect.d.ts +1232 -90
- package/lib/components/VSnackbar/VSnackbar.d.ts +58 -109
- package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +22 -46
- package/lib/components/VSpeedDial/VSpeedDial.d.ts +1434 -80
- package/lib/components/VTable/VTable.css +2 -6
- package/lib/components/VTable/VTable.sass +4 -22
- package/lib/components/VTooltip/VTooltip.d.ts +58 -109
- package/lib/components/VTooltip/VTooltip.js +2 -2
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/composables/transition.d.ts +10 -20
- package/lib/composables/transition.js +15 -12
- package/lib/composables/transition.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +93 -132
- package/lib/framework.js +1 -1
- package/lib/labs/VDateInput/VDateInput.d.ts +41 -4
- package/lib/labs/VDateInput/VDateInput.js +27 -7
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.8.3-master.2025-
|
2
|
+
* Vuetify v3.8.3-master.2025-05-01
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -3251,7 +3251,7 @@ function useRounded(props) {
|
|
3251
3251
|
|
3252
3252
|
const makeTransitionProps = propsFactory({
|
3253
3253
|
transition: {
|
3254
|
-
type:
|
3254
|
+
type: null,
|
3255
3255
|
default: 'fade-transition',
|
3256
3256
|
validator: val => val !== true
|
3257
3257
|
}
|
@@ -3269,16 +3269,19 @@ const MaybeTransition = (props, _ref) => {
|
|
3269
3269
|
const {
|
3270
3270
|
component = group ? TransitionGroup : Transition,
|
3271
3271
|
...customProps
|
3272
|
-
} =
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3279
|
-
|
3280
|
-
|
3281
|
-
|
3272
|
+
} = isObject(transition) ? transition : {};
|
3273
|
+
let transitionProps;
|
3274
|
+
if (isObject(transition)) {
|
3275
|
+
transitionProps = mergeProps(customProps, JSON.parse(JSON.stringify({
|
3276
|
+
disabled,
|
3277
|
+
group
|
3278
|
+
})), rest);
|
3279
|
+
} else {
|
3280
|
+
transitionProps = mergeProps({
|
3281
|
+
name: disabled || !transition ? '' : transition
|
3282
|
+
}, rest);
|
3283
|
+
}
|
3284
|
+
return h(component, transitionProps, slots);
|
3282
3285
|
};
|
3283
3286
|
|
3284
3287
|
// Utilities
|
@@ -18988,7 +18991,7 @@ function provideSelection(props, _ref9) {
|
|
18988
18991
|
index = index ?? currentPage.value.findIndex(i => i.value === item.value);
|
18989
18992
|
if (props.selectStrategy !== 'single' && event?.shiftKey && lastSelectedIndex.value !== null) {
|
18990
18993
|
const [start, end] = [lastSelectedIndex.value, index].sort((a, b) => a - b);
|
18991
|
-
items.push(...currentPage.value.slice(start, end + 1));
|
18994
|
+
items.push(...currentPage.value.slice(start, end + 1).filter(item => item.selectable));
|
18992
18995
|
} else {
|
18993
18996
|
items.push(item);
|
18994
18997
|
lastSelectedIndex.value = index;
|
@@ -28360,7 +28363,7 @@ const makeVTooltipProps = propsFactory({
|
|
28360
28363
|
origin: 'auto',
|
28361
28364
|
scrim: false,
|
28362
28365
|
scrollStrategy: 'reposition',
|
28363
|
-
transition:
|
28366
|
+
transition: null
|
28364
28367
|
}), ['absolute', 'persistent'])
|
28365
28368
|
}, 'VTooltip');
|
28366
28369
|
const VTooltip = genericComponent()({
|
@@ -28387,7 +28390,7 @@ const VTooltip = genericComponent()({
|
|
28387
28390
|
return props.origin === 'auto' || props.origin === 'overlap' || props.origin.split(' ').length > 1 || props.location.split(' ').length > 1 ? props.origin : props.origin + ' center';
|
28388
28391
|
});
|
28389
28392
|
const transition = toRef(() => {
|
28390
|
-
if (props.transition) return props.transition;
|
28393
|
+
if (props.transition != null) return props.transition;
|
28391
28394
|
return isActive.value ? 'scale-transition' : 'fade-transition';
|
28392
28395
|
});
|
28393
28396
|
const activatorProps = computed(() => mergeProps({
|
@@ -29058,7 +29061,13 @@ const makeVDateInputProps = propsFactory({
|
|
29058
29061
|
type: String,
|
29059
29062
|
default: 'bottom start'
|
29060
29063
|
},
|
29061
|
-
|
29064
|
+
updateOn: {
|
29065
|
+
type: Array,
|
29066
|
+
default: () => ['blur', 'enter']
|
29067
|
+
},
|
29068
|
+
...makeDisplayProps({
|
29069
|
+
mobile: null
|
29070
|
+
}),
|
29062
29071
|
...makeFocusProps(),
|
29063
29072
|
...makeVConfirmEditProps({
|
29064
29073
|
hideActions: true
|
@@ -29128,7 +29137,10 @@ const VDateInput = genericComponent()({
|
|
29128
29137
|
return 'none';
|
29129
29138
|
});
|
29130
29139
|
const isInteractive = computed(() => !props.disabled && !props.readonly);
|
29131
|
-
const isReadonly = computed(() =>
|
29140
|
+
const isReadonly = computed(() => {
|
29141
|
+
if (!props.updateOn.length) return true;
|
29142
|
+
return !(mobile.value && isEditingInput.value) && props.readonly;
|
29143
|
+
});
|
29132
29144
|
watch(menu, val => {
|
29133
29145
|
if (val) return;
|
29134
29146
|
isEditingInput.value = false;
|
@@ -29140,8 +29152,9 @@ const VDateInput = genericComponent()({
|
|
29140
29152
|
menu.value = true;
|
29141
29153
|
return;
|
29142
29154
|
}
|
29143
|
-
|
29144
|
-
|
29155
|
+
if (props.updateOn.includes('enter')) {
|
29156
|
+
onUserInput(e.target);
|
29157
|
+
}
|
29145
29158
|
}
|
29146
29159
|
function onClick(e) {
|
29147
29160
|
e.preventDefault();
|
@@ -29165,7 +29178,10 @@ const VDateInput = genericComponent()({
|
|
29165
29178
|
if (value != null) return;
|
29166
29179
|
model.value = null;
|
29167
29180
|
}
|
29168
|
-
function onBlur() {
|
29181
|
+
function onBlur(e) {
|
29182
|
+
if (props.updateOn.includes('blur')) {
|
29183
|
+
onUserInput(e.target);
|
29184
|
+
}
|
29169
29185
|
blur();
|
29170
29186
|
|
29171
29187
|
// When in mobile mode and editing is done (due to keyboard dismissal), close the menu
|
@@ -29174,6 +29190,13 @@ const VDateInput = genericComponent()({
|
|
29174
29190
|
isEditingInput.value = false;
|
29175
29191
|
}
|
29176
29192
|
}
|
29193
|
+
function onUserInput(_ref2) {
|
29194
|
+
let {
|
29195
|
+
value
|
29196
|
+
} = _ref2;
|
29197
|
+
if (value && !adapter.isValid(value)) return;
|
29198
|
+
model.value = !value ? null : value;
|
29199
|
+
}
|
29177
29200
|
useRender(() => {
|
29178
29201
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
29179
29202
|
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location', 'rounded']));
|
@@ -29212,14 +29235,14 @@ const VDateInput = genericComponent()({
|
|
29212
29235
|
"onSave": onSave,
|
29213
29236
|
"onCancel": onCancel
|
29214
29237
|
}), {
|
29215
|
-
default:
|
29238
|
+
default: _ref3 => {
|
29216
29239
|
let {
|
29217
29240
|
actions,
|
29218
29241
|
model: proxyModel,
|
29219
29242
|
save,
|
29220
29243
|
cancel,
|
29221
29244
|
isPristine
|
29222
|
-
} =
|
29245
|
+
} = _ref3;
|
29223
29246
|
function onUpdateModel(value) {
|
29224
29247
|
if (!props.hideActions) {
|
29225
29248
|
proxyModel.value = value;
|
@@ -31634,7 +31657,7 @@ function createVuetify$1() {
|
|
31634
31657
|
};
|
31635
31658
|
});
|
31636
31659
|
}
|
31637
|
-
const version$1 = "3.8.3-master.2025-
|
31660
|
+
const version$1 = "3.8.3-master.2025-05-01";
|
31638
31661
|
createVuetify$1.version = version$1;
|
31639
31662
|
|
31640
31663
|
// Vue's inject() can only be used in setup
|
@@ -31932,7 +31955,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
31932
31955
|
|
31933
31956
|
/* eslint-disable local-rules/sort-imports */
|
31934
31957
|
|
31935
|
-
const version = "3.8.3-master.2025-
|
31958
|
+
const version = "3.8.3-master.2025-05-01";
|
31936
31959
|
|
31937
31960
|
/* eslint-disable local-rules/sort-imports */
|
31938
31961
|
|