@vuetify/nightly 3.4.0-beta.0-dev.2023-11-07 → 3.4.0-beta.1-dev.2023-11-08
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 -7
- package/dist/json/attributes.json +1809 -1809
- package/dist/json/importMap.json +88 -88
- package/dist/json/web-types.json +3659 -3563
- package/dist/vuetify-labs.css +1247 -1232
- package/dist/vuetify-labs.d.ts +165 -164
- package/dist/vuetify-labs.esm.js +93 -73
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +93 -73
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +693 -678
- package/dist/vuetify.d.ts +190 -189
- package/dist/vuetify.esm.js +93 -73
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +93 -73
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +963 -961
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +1 -1
- package/lib/components/VApp/index.d.mts +1 -1
- package/lib/components/VAppBar/VAppBar.mjs +1 -1
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.mts +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 +1 -1
- package/lib/components/VAvatar/index.d.mts +1 -1
- package/lib/components/VBadge/VBadge.mjs +2 -2
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBadge/index.d.mts +1 -1
- package/lib/components/VBanner/index.d.mts +1 -1
- package/lib/components/VBottomNavigation/index.d.mts +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/components/VBottomSheet/index.d.mts +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +1 -1
- package/lib/components/VBtn/index.d.mts +1 -1
- package/lib/components/VBtnGroup/index.d.mts +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.mts +1 -1
- package/lib/components/VCard/index.d.mts +1 -1
- package/lib/components/VCarousel/VCarousel.mjs +1 -1
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +2 -2
- package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.mts +1 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +1 -1
- package/lib/components/VChip/index.d.mts +1 -1
- package/lib/components/VChipGroup/index.d.mts +1 -1
- package/lib/components/VCode/index.d.mts +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VColorPicker/index.d.mts +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +1 -1
- package/lib/components/VCounter/index.d.mts +1 -1
- package/lib/components/VDataIterator/index.d.mts +1 -1
- package/lib/components/VDataTable/VDataTable.css +6 -1
- package/lib/components/VDataTable/VDataTable.mjs +6 -5
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.sass +5 -1
- package/lib/components/VDataTable/VDataTableHeaders.mjs +3 -2
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +6 -5
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +5 -4
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +165 -164
- package/lib/components/VDatePicker/VDatePicker.mjs +6 -6
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +1 -1
- package/lib/components/VDefaultsProvider/index.d.mts +1 -1
- package/lib/components/VDialog/VDialog.mjs +1 -1
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/index.d.mts +1 -1
- package/lib/components/VDivider/index.d.mts +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +1 -1
- package/lib/components/VField/index.d.mts +1 -1
- package/lib/components/VFileInput/VFileInput.mjs +3 -3
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +1 -1
- package/lib/components/VFooter/index.d.mts +1 -1
- package/lib/components/VForm/index.d.mts +1 -1
- package/lib/components/VGrid/index.d.mts +1 -1
- package/lib/components/VHover/index.d.mts +1 -1
- package/lib/components/VIcon/index.d.mts +1 -1
- package/lib/components/VImg/VImg.mjs +1 -1
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.mts +1 -1
- package/lib/components/VInfiniteScroll/index.d.mts +1 -1
- package/lib/components/VInput/index.d.mts +1 -1
- package/lib/components/VItemGroup/index.d.mts +1 -1
- package/lib/components/VKbd/index.d.mts +1 -1
- package/lib/components/VLabel/index.d.mts +1 -1
- package/lib/components/VLayout/index.d.mts +1 -1
- package/lib/components/VLazy/index.d.mts +1 -1
- package/lib/components/VList/VList.mjs +2 -2
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +1 -1
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +1 -1
- package/lib/components/VLocaleProvider/index.d.mts +1 -1
- package/lib/components/VMain/index.d.mts +1 -1
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +1 -1
- package/lib/components/VMessages/index.d.mts +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +1 -1
- package/lib/components/VOtpInput/index.d.mts +1 -1
- package/lib/components/VOverlay/index.d.mts +1 -1
- package/lib/components/VPagination/index.d.mts +1 -1
- package/lib/components/VParallax/index.d.mts +1 -1
- package/lib/components/VProgressCircular/index.d.mts +1 -1
- package/lib/components/VProgressLinear/index.d.mts +1 -1
- package/lib/components/VRadio/index.d.mts +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.mts +1 -1
- package/lib/components/VRating/index.d.mts +1 -1
- package/lib/components/VResponsive/index.d.mts +1 -1
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +1 -1
- package/lib/components/VSelectionControl/index.d.mts +1 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +1 -1
- package/lib/components/VSheet/index.d.mts +1 -1
- package/lib/components/VSkeletonLoader/index.d.mts +1 -1
- package/lib/components/VSlideGroup/index.d.mts +1 -1
- package/lib/components/VSlider/VSlider.mjs +1 -1
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/index.d.mts +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +1 -1
- package/lib/components/VStepper/VStepper.mjs +1 -1
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperWindow.mjs +1 -1
- package/lib/components/VStepper/VStepperWindow.mjs.map +1 -1
- package/lib/components/VStepper/VStepperWindowItem.mjs +1 -1
- package/lib/components/VStepper/VStepperWindowItem.mjs.map +1 -1
- package/lib/components/VStepper/index.d.mts +1 -1
- package/lib/components/VSwitch/VSwitch.mjs +2 -2
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.mts +1 -1
- package/lib/components/VSystemBar/index.d.mts +1 -1
- package/lib/components/VTable/VTable.css +12 -2
- package/lib/components/VTable/VTable.sass +7 -2
- package/lib/components/VTable/index.d.mts +1 -1
- package/lib/components/VTabs/VTab.mjs +1 -1
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs +1 -1
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/index.d.mts +1 -1
- package/lib/components/VTextField/VTextField.mjs +3 -3
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +5 -3
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +1 -1
- package/lib/components/VThemeProvider/index.d.mts +1 -1
- package/lib/components/VTimeline/index.d.mts +1 -1
- package/lib/components/VToolbar/index.d.mts +1 -1
- package/lib/components/VTooltip/VTooltip.mjs +1 -1
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.mts +1 -1
- package/lib/components/VValidation/index.d.mts +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +1 -1
- package/lib/components/VWindow/index.d.mts +1 -1
- package/lib/components/index.d.mts +165 -164
- package/lib/components/transitions/index.d.mts +1 -1
- package/lib/composables/list-items.mjs +2 -2
- package/lib/composables/list-items.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +25 -25
- package/lib/labs/VConfirmEdit/index.d.mts +1 -1
- package/lib/labs/VPicker/VPicker.mjs +1 -1
- package/lib/labs/VPicker/VPicker.mjs.map +1 -1
- package/lib/labs/VPicker/index.d.mts +1 -1
- package/lib/labs/components.d.mts +1 -1
- package/lib/util/defineComponent.mjs +2 -2
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/helpers.mjs +17 -3
- package/lib/util/helpers.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.4.0-beta.
|
|
2
|
+
* Vuetify v3.4.0-beta.1-dev.2023-11-08
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -215,7 +215,21 @@ function keys(o) {
|
|
|
215
215
|
function has(obj, key) {
|
|
216
216
|
return key.every(k => obj.hasOwnProperty(k));
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
// Array of keys
|
|
219
|
+
function pick(obj, paths) {
|
|
220
|
+
const found = {};
|
|
221
|
+
const keys = new Set(Object.keys(obj));
|
|
222
|
+
for (const path of paths) {
|
|
223
|
+
if (keys.has(path)) {
|
|
224
|
+
found[path] = obj[path];
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return found;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Array of keys
|
|
231
|
+
|
|
232
|
+
function pickWithRest(obj, paths, exclude) {
|
|
219
233
|
const found = Object.create(null);
|
|
220
234
|
const rest = Object.create(null);
|
|
221
235
|
for (const key in obj) {
|
|
@@ -253,9 +267,9 @@ function isComposingIgnoreKey(e) {
|
|
|
253
267
|
* attributes should be passed to the <input> element inside.
|
|
254
268
|
*/
|
|
255
269
|
function filterInputAttrs(attrs) {
|
|
256
|
-
const [events, props] =
|
|
270
|
+
const [events, props] = pickWithRest(attrs, [onRE]);
|
|
257
271
|
const inputEvents = omit(events, bubblingEvents);
|
|
258
|
-
const [rootAttrs, inputAttrs] =
|
|
272
|
+
const [rootAttrs, inputAttrs] = pickWithRest(props, ['class', 'style', 'id', /^data-/]);
|
|
259
273
|
Object.assign(rootAttrs, events);
|
|
260
274
|
Object.assign(inputAttrs, inputEvents);
|
|
261
275
|
return [rootAttrs, inputAttrs];
|
|
@@ -1300,9 +1314,9 @@ function defineComponent(options) {
|
|
|
1300
1314
|
}
|
|
1301
1315
|
if (options._setup) {
|
|
1302
1316
|
options.props = propsFactory(options.props ?? {}, options.name)();
|
|
1303
|
-
const propKeys = Object.keys(options.props);
|
|
1317
|
+
const propKeys = Object.keys(options.props).filter(key => key !== 'class' && key !== 'style');
|
|
1304
1318
|
options.filterProps = function filterProps(props) {
|
|
1305
|
-
return pick(props, propKeys
|
|
1319
|
+
return pick(props, propKeys);
|
|
1306
1320
|
};
|
|
1307
1321
|
options.props._as = String;
|
|
1308
1322
|
options.setup = function setup(props, ctx) {
|
|
@@ -3289,7 +3303,7 @@ const VImg = genericComponent()({
|
|
|
3289
3303
|
});
|
|
3290
3304
|
}
|
|
3291
3305
|
useRender(() => {
|
|
3292
|
-
const
|
|
3306
|
+
const responsiveProps = VResponsive.filterProps(props);
|
|
3293
3307
|
return withDirectives(createVNode(VResponsive, mergeProps({
|
|
3294
3308
|
"class": ['v-img', {
|
|
3295
3309
|
'v-img--booting': !isBooted.value
|
|
@@ -3828,7 +3842,7 @@ const VAppBar = genericComponent()({
|
|
|
3828
3842
|
absolute: toRef(props, 'absolute')
|
|
3829
3843
|
});
|
|
3830
3844
|
useRender(() => {
|
|
3831
|
-
const
|
|
3845
|
+
const toolbarProps = VToolbar.filterProps(props);
|
|
3832
3846
|
return createVNode(VToolbar, mergeProps({
|
|
3833
3847
|
"ref": vToolbarRef,
|
|
3834
3848
|
"class": ['v-app-bar', {
|
|
@@ -4202,7 +4216,7 @@ const VBtnToggle = genericComponent()({
|
|
|
4202
4216
|
selected
|
|
4203
4217
|
} = useGroup(props, VBtnToggleSymbol);
|
|
4204
4218
|
useRender(() => {
|
|
4205
|
-
const
|
|
4219
|
+
const btnGroupProps = VBtnGroup.filterProps(props);
|
|
4206
4220
|
return createVNode(VBtnGroup, mergeProps({
|
|
4207
4221
|
"class": ['v-btn-toggle', props.class]
|
|
4208
4222
|
}, btnGroupProps, {
|
|
@@ -6084,7 +6098,7 @@ const VCheckboxBtn = genericComponent()({
|
|
|
6084
6098
|
return indeterminate.value ? props.indeterminateIcon : props.trueIcon;
|
|
6085
6099
|
});
|
|
6086
6100
|
useRender(() => {
|
|
6087
|
-
const controlProps = omit(VSelectionControl.filterProps(props)
|
|
6101
|
+
const controlProps = omit(VSelectionControl.filterProps(props), ['modelValue']);
|
|
6088
6102
|
return createVNode(VSelectionControl, mergeProps(controlProps, {
|
|
6089
6103
|
"modelValue": model.value,
|
|
6090
6104
|
"onUpdate:modelValue": [$event => model.value = $event, onChange],
|
|
@@ -6664,8 +6678,8 @@ const VCheckbox = genericComponent()({
|
|
|
6664
6678
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
|
6665
6679
|
useRender(() => {
|
|
6666
6680
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
|
6667
|
-
const
|
|
6668
|
-
const
|
|
6681
|
+
const inputProps = VInput.filterProps(props);
|
|
6682
|
+
const checkboxProps = VCheckboxBtn.filterProps(props);
|
|
6669
6683
|
return createVNode(VInput, mergeProps({
|
|
6670
6684
|
"class": ['v-checkbox', props.class]
|
|
6671
6685
|
}, rootAttrs, inputProps, {
|
|
@@ -8033,7 +8047,7 @@ const VListChildren = genericComponent()({
|
|
|
8033
8047
|
item
|
|
8034
8048
|
}) : undefined
|
|
8035
8049
|
};
|
|
8036
|
-
const
|
|
8050
|
+
const listGroupProps = VListGroup.filterProps(itemProps);
|
|
8037
8051
|
return children ? createVNode(VListGroup, mergeProps({
|
|
8038
8052
|
"value": itemProps?.value
|
|
8039
8053
|
}, listGroupProps), {
|
|
@@ -8098,7 +8112,7 @@ function transformItem$3(props, item) {
|
|
|
8098
8112
|
const title = getPropertyFromItem(item, props.itemTitle, item);
|
|
8099
8113
|
const value = getPropertyFromItem(item, props.itemValue, title);
|
|
8100
8114
|
const children = getPropertyFromItem(item, props.itemChildren);
|
|
8101
|
-
const itemProps = props.itemProps === true ? typeof item === 'object' && item != null && !Array.isArray(item) ? 'children' in item ?
|
|
8115
|
+
const itemProps = props.itemProps === true ? typeof item === 'object' && item != null && !Array.isArray(item) ? 'children' in item ? omit(item, ['children']) : item : undefined : getPropertyFromItem(item, props.itemProps);
|
|
8102
8116
|
const _props = {
|
|
8103
8117
|
title,
|
|
8104
8118
|
value,
|
|
@@ -8167,7 +8181,7 @@ function transformItem$2(props, item) {
|
|
|
8167
8181
|
const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle);
|
|
8168
8182
|
const value = getPropertyFromItem(item, props.itemValue, undefined);
|
|
8169
8183
|
const children = getPropertyFromItem(item, props.itemChildren);
|
|
8170
|
-
const itemProps = props.itemProps === true ?
|
|
8184
|
+
const itemProps = props.itemProps === true ? omit(item, ['children']) : getPropertyFromItem(item, props.itemProps);
|
|
8171
8185
|
const _props = {
|
|
8172
8186
|
title,
|
|
8173
8187
|
value,
|
|
@@ -10138,7 +10152,7 @@ const VMenu = genericComponent()({
|
|
|
10138
10152
|
onKeydown: onActivatorKeydown
|
|
10139
10153
|
}, props.activatorProps));
|
|
10140
10154
|
useRender(() => {
|
|
10141
|
-
const
|
|
10155
|
+
const overlayProps = VOverlay.filterProps(props);
|
|
10142
10156
|
return createVNode(VOverlay, mergeProps({
|
|
10143
10157
|
"ref": overlay,
|
|
10144
10158
|
"class": ['v-menu', props.class],
|
|
@@ -10611,11 +10625,11 @@ const VTextField = genericComponent()({
|
|
|
10611
10625
|
const hasCounter = !!(slots.counter || props.counter !== false && props.counter != null);
|
|
10612
10626
|
const hasDetails = !!(hasCounter || slots.details);
|
|
10613
10627
|
const [rootAttrs, inputAttrs] = filterInputAttrs(attrs);
|
|
10614
|
-
const
|
|
10628
|
+
const {
|
|
10615
10629
|
modelValue: _,
|
|
10616
10630
|
...inputProps
|
|
10617
|
-
}
|
|
10618
|
-
const
|
|
10631
|
+
} = VInput.filterProps(props);
|
|
10632
|
+
const fieldProps = filterFieldProps(props);
|
|
10619
10633
|
return createVNode(VInput, mergeProps({
|
|
10620
10634
|
"ref": vInputRef,
|
|
10621
10635
|
"modelValue": model.value,
|
|
@@ -11348,7 +11362,7 @@ const VSelect = genericComponent()({
|
|
|
11348
11362
|
const hasChips = !!(props.chips || slots.chip);
|
|
11349
11363
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots['prepend-item'] || slots['append-item'] || slots['no-data']);
|
|
11350
11364
|
const isDirty = model.value.length > 0;
|
|
11351
|
-
const
|
|
11365
|
+
const textFieldProps = VTextField.filterProps(props);
|
|
11352
11366
|
const placeholder = isDirty || !isFocused.value && props.label && !props.persistentPlaceholder ? undefined : props.placeholder;
|
|
11353
11367
|
return createVNode(VTextField, mergeProps({
|
|
11354
11368
|
"ref": vTextFieldRef
|
|
@@ -11880,7 +11894,7 @@ const VAutocomplete = genericComponent()({
|
|
|
11880
11894
|
const hasChips = !!(props.chips || slots.chip);
|
|
11881
11895
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots['prepend-item'] || slots['append-item'] || slots['no-data']);
|
|
11882
11896
|
const isDirty = model.value.length > 0;
|
|
11883
|
-
const
|
|
11897
|
+
const textFieldProps = VTextField.filterProps(props);
|
|
11884
11898
|
return createVNode(VTextField, mergeProps({
|
|
11885
11899
|
"ref": vTextFieldRef
|
|
11886
11900
|
}, textFieldProps, {
|
|
@@ -12117,7 +12131,7 @@ const VBadge = genericComponent()({
|
|
|
12117
12131
|
useRender(() => {
|
|
12118
12132
|
const value = Number(props.content);
|
|
12119
12133
|
const content = !props.max || isNaN(value) ? props.content : value <= +props.max ? value : `${props.max}+`;
|
|
12120
|
-
const [badgeAttrs, attrs] =
|
|
12134
|
+
const [badgeAttrs, attrs] = pickWithRest(ctx.attrs, ['aria-atomic', 'aria-label', 'aria-live', 'role', 'title']);
|
|
12121
12135
|
return createVNode(props.tag, mergeProps({
|
|
12122
12136
|
"class": ['v-badge', {
|
|
12123
12137
|
'v-badge--bordered': props.bordered,
|
|
@@ -12486,7 +12500,7 @@ const VDialog = genericComponent()({
|
|
|
12486
12500
|
'aria-expanded': String(isActive.value)
|
|
12487
12501
|
}, props.activatorProps));
|
|
12488
12502
|
useRender(() => {
|
|
12489
|
-
const
|
|
12503
|
+
const overlayProps = VOverlay.filterProps(props);
|
|
12490
12504
|
return createVNode(VOverlay, mergeProps({
|
|
12491
12505
|
"ref": overlay,
|
|
12492
12506
|
"class": ['v-dialog', {
|
|
@@ -12538,7 +12552,7 @@ const VBottomSheet = genericComponent()({
|
|
|
12538
12552
|
} = _ref;
|
|
12539
12553
|
const isActive = useProxiedModel(props, 'modelValue');
|
|
12540
12554
|
useRender(() => {
|
|
12541
|
-
const
|
|
12555
|
+
const dialogProps = VDialog.filterProps(props);
|
|
12542
12556
|
return createVNode(VDialog, mergeProps(dialogProps, {
|
|
12543
12557
|
"contentClass": ['v-bottom-sheet__content', props.contentClass],
|
|
12544
12558
|
"modelValue": isActive.value,
|
|
@@ -13345,7 +13359,7 @@ const VCarousel = genericComponent()({
|
|
|
13345
13359
|
window.requestAnimationFrame(startTimeout);
|
|
13346
13360
|
}
|
|
13347
13361
|
useRender(() => {
|
|
13348
|
-
const
|
|
13362
|
+
const windowProps = VWindow.filterProps(props);
|
|
13349
13363
|
return createVNode(VWindow, mergeProps({
|
|
13350
13364
|
"ref": windowRef
|
|
13351
13365
|
}, windowProps, {
|
|
@@ -13535,8 +13549,8 @@ const VCarouselItem = genericComponent()({
|
|
|
13535
13549
|
attrs
|
|
13536
13550
|
} = _ref;
|
|
13537
13551
|
useRender(() => {
|
|
13538
|
-
const
|
|
13539
|
-
const
|
|
13552
|
+
const imgProps = VImg.filterProps(props);
|
|
13553
|
+
const windowItemProps = VWindowItem.filterProps(props);
|
|
13540
13554
|
return createVNode(VWindowItem, mergeProps({
|
|
13541
13555
|
"class": "v-carousel-item"
|
|
13542
13556
|
}, windowItemProps), {
|
|
@@ -14608,7 +14622,7 @@ const VSlider = genericComponent()({
|
|
|
14608
14622
|
} = useFocus(props);
|
|
14609
14623
|
const trackStop = computed(() => position(model.value));
|
|
14610
14624
|
useRender(() => {
|
|
14611
|
-
const
|
|
14625
|
+
const inputProps = VInput.filterProps(props);
|
|
14612
14626
|
const hasPrepend = !!(props.label || slots.label || slots.prepend);
|
|
14613
14627
|
return createVNode(VInput, mergeProps({
|
|
14614
14628
|
"class": ['v-slider', {
|
|
@@ -15279,7 +15293,7 @@ const VColorPicker = defineComponent({
|
|
|
15279
15293
|
}
|
|
15280
15294
|
});
|
|
15281
15295
|
useRender(() => {
|
|
15282
|
-
const
|
|
15296
|
+
const sheetProps = VSheet.filterProps(props);
|
|
15283
15297
|
return createVNode(VSheet, mergeProps({
|
|
15284
15298
|
"rounded": props.rounded,
|
|
15285
15299
|
"elevation": props.elevation,
|
|
@@ -15624,7 +15638,7 @@ const VCombobox = genericComponent()({
|
|
|
15624
15638
|
const hasChips = !!(props.chips || slots.chip);
|
|
15625
15639
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots['prepend-item'] || slots['append-item'] || slots['no-data']);
|
|
15626
15640
|
const isDirty = model.value.length > 0;
|
|
15627
|
-
const
|
|
15641
|
+
const textFieldProps = VTextField.filterProps(props);
|
|
15628
15642
|
return createVNode(VTextField, mergeProps({
|
|
15629
15643
|
"ref": vTextFieldRef
|
|
15630
15644
|
}, textFieldProps, {
|
|
@@ -17730,11 +17744,12 @@ const VDataTableHeaders = genericComponent()({
|
|
|
17730
17744
|
"colspan": column.colspan,
|
|
17731
17745
|
"rowspan": column.rowspan,
|
|
17732
17746
|
"onClick": column.sortable ? () => toggleSort(column) : undefined,
|
|
17747
|
+
"fixed": column.fixed,
|
|
17733
17748
|
"lastFixed": column.lastFixed,
|
|
17734
17749
|
"noPadding": noPadding
|
|
17735
17750
|
}, column.headerProps), {
|
|
17736
17751
|
default: () => {
|
|
17737
|
-
const columnSlotName = `
|
|
17752
|
+
const columnSlotName = `header.${column.key}`;
|
|
17738
17753
|
const columnSlotProps = {
|
|
17739
17754
|
column,
|
|
17740
17755
|
selectAll,
|
|
@@ -17747,7 +17762,7 @@ const VDataTableHeaders = genericComponent()({
|
|
|
17747
17762
|
};
|
|
17748
17763
|
if (slots[columnSlotName]) return slots[columnSlotName](columnSlotProps);
|
|
17749
17764
|
if (column.key === 'data-table-select') {
|
|
17750
|
-
return slots['
|
|
17765
|
+
return slots['header.data-table-select']?.(columnSlotProps) ?? (showSelectAll && createVNode(VCheckboxBtn, {
|
|
17751
17766
|
"modelValue": allSelected.value,
|
|
17752
17767
|
"indeterminate": someSelected.value && !allSelected.value,
|
|
17753
17768
|
"onUpdate:modelValue": selectAll
|
|
@@ -18336,16 +18351,17 @@ const VDataTable = genericComponent()({
|
|
|
18336
18351
|
toggleExpand,
|
|
18337
18352
|
isGroupOpen,
|
|
18338
18353
|
toggleGroup,
|
|
18339
|
-
items: paginatedItemsWithoutGroups.value,
|
|
18354
|
+
items: paginatedItemsWithoutGroups.value.map(item => item.raw),
|
|
18355
|
+
internalItems: paginatedItemsWithoutGroups.value,
|
|
18340
18356
|
groupedItems: paginatedItems.value,
|
|
18341
18357
|
columns: columns.value,
|
|
18342
18358
|
headers: headers.value
|
|
18343
18359
|
}));
|
|
18344
18360
|
useRender(() => {
|
|
18345
|
-
const
|
|
18346
|
-
const
|
|
18347
|
-
const
|
|
18348
|
-
const
|
|
18361
|
+
const dataTableFooterProps = VDataTableFooter.filterProps(props);
|
|
18362
|
+
const dataTableHeadersProps = VDataTableHeaders.filterProps(props);
|
|
18363
|
+
const dataTableRowsProps = VDataTableRows.filterProps(props);
|
|
18364
|
+
const tableProps = VTable.filterProps(props);
|
|
18349
18365
|
return createVNode(VTable, mergeProps({
|
|
18350
18366
|
"class": ['v-data-table', {
|
|
18351
18367
|
'v-data-table--show-select': props.showSelect,
|
|
@@ -18495,15 +18511,16 @@ const VDataTableVirtual = genericComponent()({
|
|
|
18495
18511
|
toggleExpand,
|
|
18496
18512
|
isGroupOpen,
|
|
18497
18513
|
toggleGroup,
|
|
18498
|
-
items: allItems.value,
|
|
18514
|
+
items: allItems.value.map(item => item.raw),
|
|
18515
|
+
internalItems: allItems.value,
|
|
18499
18516
|
groupedItems: flatItems.value,
|
|
18500
18517
|
columns: columns.value,
|
|
18501
18518
|
headers: headers.value
|
|
18502
18519
|
}));
|
|
18503
18520
|
useRender(() => {
|
|
18504
|
-
const
|
|
18505
|
-
const
|
|
18506
|
-
const
|
|
18521
|
+
const dataTableHeadersProps = VDataTableHeaders.filterProps(props);
|
|
18522
|
+
const dataTableRowsProps = VDataTableRows.filterProps(props);
|
|
18523
|
+
const tableProps = VTable.filterProps(props);
|
|
18507
18524
|
return createVNode(VTable, mergeProps({
|
|
18508
18525
|
"class": ['v-data-table', {
|
|
18509
18526
|
'v-data-table--loading': props.loading
|
|
@@ -18705,16 +18722,17 @@ const VDataTableServer = genericComponent()({
|
|
|
18705
18722
|
toggleExpand,
|
|
18706
18723
|
isGroupOpen,
|
|
18707
18724
|
toggleGroup,
|
|
18708
|
-
items: itemsWithoutGroups.value,
|
|
18725
|
+
items: itemsWithoutGroups.value.map(item => item.raw),
|
|
18726
|
+
internalItems: itemsWithoutGroups.value,
|
|
18709
18727
|
groupedItems: flatItems.value,
|
|
18710
18728
|
columns: columns.value,
|
|
18711
18729
|
headers: headers.value
|
|
18712
18730
|
}));
|
|
18713
18731
|
useRender(() => {
|
|
18714
|
-
const
|
|
18715
|
-
const
|
|
18716
|
-
const
|
|
18717
|
-
const
|
|
18732
|
+
const dataTableFooterProps = VDataTableFooter.filterProps(props);
|
|
18733
|
+
const dataTableHeadersProps = VDataTableHeaders.filterProps(props);
|
|
18734
|
+
const dataTableRowsProps = VDataTableRows.filterProps(props);
|
|
18735
|
+
const tableProps = VTable.filterProps(props);
|
|
18718
18736
|
return createVNode(VTable, mergeProps({
|
|
18719
18737
|
"class": ['v-data-table', {
|
|
18720
18738
|
'v-data-table--loading': props.loading
|
|
@@ -19540,7 +19558,7 @@ const VPicker = genericComponent()({
|
|
|
19540
19558
|
backgroundColorStyles
|
|
19541
19559
|
} = useBackgroundColor(toRef(props, 'color'));
|
|
19542
19560
|
useRender(() => {
|
|
19543
|
-
const
|
|
19561
|
+
const sheetProps = VSheet.filterProps(props);
|
|
19544
19562
|
const hasTitle = !!(props.title || slots.title);
|
|
19545
19563
|
return createVNode(VSheet, mergeProps(sheetProps, {
|
|
19546
19564
|
"color": props.bgColor,
|
|
@@ -19727,12 +19745,12 @@ const VDatePicker = genericComponent()({
|
|
|
19727
19745
|
model.value = val;
|
|
19728
19746
|
});
|
|
19729
19747
|
useRender(() => {
|
|
19730
|
-
const
|
|
19731
|
-
const
|
|
19732
|
-
const
|
|
19733
|
-
const
|
|
19734
|
-
const
|
|
19735
|
-
const
|
|
19748
|
+
const pickerProps = VPicker.filterProps(props);
|
|
19749
|
+
const datePickerControlsProps = VDatePickerControls.filterProps(props);
|
|
19750
|
+
const datePickerHeaderProps = VDatePickerHeader.filterProps(props);
|
|
19751
|
+
const datePickerMonthProps = VDatePickerMonth.filterProps(props);
|
|
19752
|
+
const datePickerMonthsProps = omit(VDatePickerMonths.filterProps(props), ['modelValue']);
|
|
19753
|
+
const datePickerYearsProps = omit(VDatePickerYears.filterProps(props), ['modelValue']);
|
|
19736
19754
|
return createVNode(VPicker, mergeProps(pickerProps, {
|
|
19737
19755
|
"class": ['v-date-picker', `v-date-picker--${viewMode.value}`, props.class],
|
|
19738
19756
|
"style": props.style,
|
|
@@ -20148,11 +20166,11 @@ const VFileInput = genericComponent()({
|
|
|
20148
20166
|
const hasCounter = !!(slots.counter || props.counter);
|
|
20149
20167
|
const hasDetails = !!(hasCounter || slots.details);
|
|
20150
20168
|
const [rootAttrs, inputAttrs] = filterInputAttrs(attrs);
|
|
20151
|
-
const
|
|
20169
|
+
const {
|
|
20152
20170
|
modelValue: _,
|
|
20153
20171
|
...inputProps
|
|
20154
|
-
}
|
|
20155
|
-
const
|
|
20172
|
+
} = VInput.filterProps(props);
|
|
20173
|
+
const fieldProps = filterFieldProps(props);
|
|
20156
20174
|
return createVNode(VInput, mergeProps({
|
|
20157
20175
|
"ref": vInputRef,
|
|
20158
20176
|
"modelValue": model.value,
|
|
@@ -22146,8 +22164,8 @@ const VRadioGroup = genericComponent()({
|
|
|
22146
22164
|
const model = useProxiedModel(props, 'modelValue');
|
|
22147
22165
|
useRender(() => {
|
|
22148
22166
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
|
22149
|
-
const
|
|
22150
|
-
const
|
|
22167
|
+
const inputProps = VInput.filterProps(props);
|
|
22168
|
+
const controlProps = VSelectionControl.filterProps(props);
|
|
22151
22169
|
const label = slots.label ? slots.label({
|
|
22152
22170
|
label: props.label,
|
|
22153
22171
|
props: {
|
|
@@ -22292,7 +22310,7 @@ const VRangeSlider = genericComponent()({
|
|
|
22292
22310
|
const trackStart = computed(() => position(model.value[0]));
|
|
22293
22311
|
const trackStop = computed(() => position(model.value[1]));
|
|
22294
22312
|
useRender(() => {
|
|
22295
|
-
const
|
|
22313
|
+
const inputProps = VInput.filterProps(props);
|
|
22296
22314
|
const hasPrepend = !!(props.label || slots.label || slots.prepend);
|
|
22297
22315
|
return createVNode(VInput, mergeProps({
|
|
22298
22316
|
"class": ['v-slider', 'v-range-slider', {
|
|
@@ -23237,7 +23255,7 @@ const VSnackbar = genericComponent()({
|
|
|
23237
23255
|
startTimeout();
|
|
23238
23256
|
}
|
|
23239
23257
|
useRender(() => {
|
|
23240
|
-
const
|
|
23258
|
+
const overlayProps = VOverlay.filterProps(props);
|
|
23241
23259
|
const hasContent = !!(slots.default || slots.text || props.text);
|
|
23242
23260
|
return createVNode(VOverlay, mergeProps({
|
|
23243
23261
|
"ref": overlay,
|
|
@@ -23517,7 +23535,7 @@ const VStepperWindow = genericComponent()({
|
|
|
23517
23535
|
}
|
|
23518
23536
|
});
|
|
23519
23537
|
useRender(() => {
|
|
23520
|
-
const
|
|
23538
|
+
const windowProps = VWindow.filterProps(props);
|
|
23521
23539
|
return createVNode(VWindow, mergeProps(windowProps, {
|
|
23522
23540
|
"modelValue": model.value,
|
|
23523
23541
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
@@ -23539,7 +23557,7 @@ const VStepperWindowItem = genericComponent()({
|
|
|
23539
23557
|
slots
|
|
23540
23558
|
} = _ref;
|
|
23541
23559
|
useRender(() => {
|
|
23542
|
-
const
|
|
23560
|
+
const windowItemProps = VWindowItem.filterProps(props);
|
|
23543
23561
|
return createVNode(VWindowItem, mergeProps(windowItemProps, {
|
|
23544
23562
|
"class": "v-stepper-window-item"
|
|
23545
23563
|
}), slots);
|
|
@@ -23632,7 +23650,7 @@ const VStepper = genericComponent()({
|
|
|
23632
23650
|
}
|
|
23633
23651
|
});
|
|
23634
23652
|
useRender(() => {
|
|
23635
|
-
const
|
|
23653
|
+
const sheetProps = VSheet.filterProps(props);
|
|
23636
23654
|
const hasHeader = !!(slots.header || props.items.length);
|
|
23637
23655
|
const hasWindow = props.items.length > 0;
|
|
23638
23656
|
const hasActions = !props.hideActions && !!(hasWindow || slots.actions);
|
|
@@ -23738,8 +23756,8 @@ const VSwitch = genericComponent()({
|
|
|
23738
23756
|
}
|
|
23739
23757
|
useRender(() => {
|
|
23740
23758
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
|
23741
|
-
const
|
|
23742
|
-
const
|
|
23759
|
+
const inputProps = VInput.filterProps(props);
|
|
23760
|
+
const controlProps = VSelectionControl.filterProps(props);
|
|
23743
23761
|
return createVNode(VInput, mergeProps({
|
|
23744
23762
|
"class": ['v-switch', {
|
|
23745
23763
|
'v-switch--inset': props.inset
|
|
@@ -23952,7 +23970,7 @@ const VTab = genericComponent()({
|
|
|
23952
23970
|
}
|
|
23953
23971
|
}
|
|
23954
23972
|
useRender(() => {
|
|
23955
|
-
const
|
|
23973
|
+
const btnProps = VBtn.filterProps(props);
|
|
23956
23974
|
return createVNode(VBtn, mergeProps({
|
|
23957
23975
|
"symbol": VTabsSymbol,
|
|
23958
23976
|
"ref": rootEl,
|
|
@@ -24044,7 +24062,7 @@ const VTabs = genericComponent()({
|
|
|
24044
24062
|
}
|
|
24045
24063
|
});
|
|
24046
24064
|
useRender(() => {
|
|
24047
|
-
const
|
|
24065
|
+
const slideGroupProps = VSlideGroup.filterProps(props);
|
|
24048
24066
|
return createVNode(VSlideGroup, mergeProps(slideGroupProps, {
|
|
24049
24067
|
"modelValue": model.value,
|
|
24050
24068
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
@@ -24211,11 +24229,11 @@ const VTextarea = genericComponent()({
|
|
|
24211
24229
|
const hasCounter = !!(slots.counter || props.counter || props.counterValue);
|
|
24212
24230
|
const hasDetails = !!(hasCounter || slots.details);
|
|
24213
24231
|
const [rootAttrs, inputAttrs] = filterInputAttrs(attrs);
|
|
24214
|
-
const
|
|
24232
|
+
const {
|
|
24215
24233
|
modelValue: _,
|
|
24216
24234
|
...inputProps
|
|
24217
|
-
}
|
|
24218
|
-
const
|
|
24235
|
+
} = VInput.filterProps(props);
|
|
24236
|
+
const fieldProps = filterFieldProps(props);
|
|
24219
24237
|
return createVNode(VInput, mergeProps({
|
|
24220
24238
|
"ref": vInputRef,
|
|
24221
24239
|
"modelValue": model.value,
|
|
@@ -24237,6 +24255,7 @@ const VTextarea = genericComponent()({
|
|
|
24237
24255
|
...slots,
|
|
24238
24256
|
default: _ref2 => {
|
|
24239
24257
|
let {
|
|
24258
|
+
id,
|
|
24240
24259
|
isDisabled,
|
|
24241
24260
|
isDirty,
|
|
24242
24261
|
isReadonly,
|
|
@@ -24253,6 +24272,7 @@ const VTextarea = genericComponent()({
|
|
|
24253
24272
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
24254
24273
|
"onClick:appendInner": props['onClick:appendInner']
|
|
24255
24274
|
}, fieldProps, {
|
|
24275
|
+
"id": id.value,
|
|
24256
24276
|
"active": isActive.value || isDirty.value,
|
|
24257
24277
|
"centerAffix": rows.value === 1 && !isPlainOrUnderlined.value,
|
|
24258
24278
|
"dirty": isDirty.value || props.dirty,
|
|
@@ -24656,7 +24676,7 @@ const VTooltip = genericComponent()({
|
|
|
24656
24676
|
'aria-describedby': id.value
|
|
24657
24677
|
}, props.activatorProps));
|
|
24658
24678
|
useRender(() => {
|
|
24659
|
-
const
|
|
24679
|
+
const overlayProps = VOverlay.filterProps(props);
|
|
24660
24680
|
return createVNode(VOverlay, mergeProps({
|
|
24661
24681
|
"ref": overlay,
|
|
24662
24682
|
"class": ['v-tooltip', props.class],
|
|
@@ -25154,7 +25174,7 @@ function createVuetify$1() {
|
|
|
25154
25174
|
date
|
|
25155
25175
|
};
|
|
25156
25176
|
}
|
|
25157
|
-
const version$1 = "3.4.0-beta.
|
|
25177
|
+
const version$1 = "3.4.0-beta.1-dev.2023-11-08";
|
|
25158
25178
|
createVuetify$1.version = version$1;
|
|
25159
25179
|
|
|
25160
25180
|
// Vue's inject() can only be used in setup
|
|
@@ -25168,7 +25188,7 @@ function inject(key) {
|
|
|
25168
25188
|
|
|
25169
25189
|
/* eslint-disable local-rules/sort-imports */
|
|
25170
25190
|
|
|
25171
|
-
const version = "3.4.0-beta.
|
|
25191
|
+
const version = "3.4.0-beta.1-dev.2023-11-08";
|
|
25172
25192
|
|
|
25173
25193
|
/* eslint-disable local-rules/sort-imports */
|
|
25174
25194
|
|