vuetify 3.10.2 → 3.10.3
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/dist/json/attributes.json +1022 -1022
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +148 -148
- package/dist/json/web-types.json +1827 -1813
- package/dist/vuetify-labs.cjs +36 -50
- package/dist/vuetify-labs.css +5911 -5911
- package/dist/vuetify-labs.d.ts +1488 -1486
- package/dist/vuetify-labs.esm.js +36 -50
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +36 -50
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +36 -49
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +6147 -6147
- package/dist/vuetify.d.ts +1112 -1110
- package/dist/vuetify.esm.js +36 -49
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +36 -49
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1421 -1419
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.d.ts +3 -3
- package/lib/components/VAlert/VAlertTitle.d.ts +3 -3
- package/lib/components/VApp/VApp.d.ts +3 -3
- package/lib/components/VAppBar/VAppBar.d.ts +3 -3
- package/lib/components/VAppBar/VAppBarNavIcon.d.ts +6 -6
- package/lib/components/VAppBar/VAppBarTitle.d.ts +3 -3
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +116 -116
- package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.d.ts +3 -3
- package/lib/components/VBadge/VBadge.d.ts +3 -3
- package/lib/components/VBanner/VBanner.d.ts +3 -3
- package/lib/components/VBanner/VBannerActions.d.ts +3 -3
- package/lib/components/VBanner/VBannerText.d.ts +3 -3
- package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +3 -3
- package/lib/components/VBottomSheet/VBottomSheet.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbs.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.d.ts +3 -3
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.d.ts +3 -3
- package/lib/components/VBtn/VBtn.d.ts +6 -6
- package/lib/components/VBtn/VBtn.js +4 -4
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +3 -3
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +3 -3
- package/lib/components/VCard/VCard.d.ts +6 -6
- package/lib/components/VCard/VCard.js +2 -2
- package/lib/components/VCard/VCard.js.map +1 -1
- package/lib/components/VCard/VCardActions.d.ts +3 -3
- package/lib/components/VCard/VCardItem.d.ts +3 -3
- package/lib/components/VCard/VCardSubtitle.d.ts +3 -3
- package/lib/components/VCard/VCardText.d.ts +3 -3
- package/lib/components/VCard/VCardTitle.d.ts +3 -3
- package/lib/components/VCarousel/VCarousel.d.ts +3 -3
- package/lib/components/VCarousel/VCarouselItem.d.ts +3 -3
- package/lib/components/VCheckbox/VCheckbox.d.ts +15 -15
- package/lib/components/VCheckbox/VCheckboxBtn.d.ts +6 -6
- package/lib/components/VChip/VChip.d.ts +6 -6
- package/lib/components/VChip/VChip.js +2 -2
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.d.ts +3 -3
- package/lib/components/VCode/index.d.ts +3 -3
- package/lib/components/VCombobox/VCombobox.d.ts +116 -116
- package/lib/components/VCombobox/VCombobox.js +6 -25
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.d.ts +3 -3
- package/lib/components/VDataIterator/VDataIterator.d.ts +9 -9
- package/lib/components/VDataTable/VDataTable.d.ts +3 -3
- package/lib/components/VDataTable/VDataTableServer.d.ts +3 -3
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +6 -6
- package/lib/components/VDataTable/composables/expand.js +8 -8
- package/lib/components/VDataTable/composables/expand.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +3 -3
- package/lib/components/VDialog/VDialog.d.ts +12 -12
- package/lib/components/VDivider/VDivider.d.ts +3 -3
- package/lib/components/VEmptyState/VEmptyState.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanelText.d.ts +3 -3
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +6 -6
- package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +6 -6
- package/lib/components/VFab/VFab.d.ts +6 -6
- package/lib/components/VField/VField.d.ts +3 -3
- package/lib/components/VField/VFieldLabel.d.ts +3 -3
- package/lib/components/VFileInput/VFileInput.d.ts +12 -12
- package/lib/components/VFooter/VFooter.d.ts +3 -3
- package/lib/components/VForm/VForm.d.ts +6 -6
- package/lib/components/VGrid/VCol.d.ts +3 -3
- package/lib/components/VGrid/VContainer.d.ts +3 -3
- package/lib/components/VGrid/VRow.d.ts +3 -3
- package/lib/components/VGrid/VSpacer.d.ts +3 -3
- package/lib/components/VIcon/VIcon.d.ts +3 -3
- package/lib/components/VImg/VImg.d.ts +3 -3
- package/lib/components/VInput/VInput.d.ts +3 -3
- package/lib/components/VItemGroup/VItemGroup.d.ts +3 -3
- package/lib/components/VKbd/VKbd.d.ts +3 -3
- package/lib/components/VLabel/VLabel.d.ts +3 -3
- package/lib/components/VLayout/VLayout.d.ts +3 -3
- package/lib/components/VLayout/VLayoutItem.d.ts +3 -3
- package/lib/components/VLazy/VLazy.d.ts +3 -3
- package/lib/components/VList/VList.d.ts +11 -11
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListGroup.d.ts +3 -3
- package/lib/components/VList/VListImg.d.ts +3 -3
- package/lib/components/VList/VListItem.d.ts +6 -6
- package/lib/components/VList/VListItem.js +2 -2
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/VListItemAction.d.ts +3 -3
- package/lib/components/VList/VListItemMedia.d.ts +3 -3
- package/lib/components/VList/VListItemSubtitle.d.ts +3 -3
- package/lib/components/VList/VListItemTitle.d.ts +3 -3
- package/lib/components/VList/VListSubheader.d.ts +3 -3
- package/lib/components/VLocaleProvider/VLocaleProvider.d.ts +3 -3
- package/lib/components/VMain/VMain.d.ts +3 -3
- package/lib/components/VMenu/VMenu.d.ts +15 -15
- package/lib/components/VMessages/VMessages.d.ts +3 -3
- package/lib/components/VNavigationDrawer/VNavigationDrawer.d.ts +3 -3
- package/lib/components/VNumberInput/VNumberInput.d.ts +66 -66
- package/lib/components/VNumberInput/VNumberInput.js +1 -0
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.d.ts +3 -3
- package/lib/components/VOverlay/VOverlay.d.ts +3 -3
- package/lib/components/VPagination/VPagination.d.ts +3 -3
- package/lib/components/VParallax/VParallax.d.ts +3 -3
- package/lib/components/VProgressCircular/VProgressCircular.d.ts +3 -3
- package/lib/components/VProgressLinear/VProgressLinear.d.ts +3 -3
- package/lib/components/VRadio/VRadio.d.ts +6 -6
- package/lib/components/VRadioGroup/VRadioGroup.d.ts +15 -15
- package/lib/components/VRangeSlider/VRangeSlider.d.ts +12 -12
- package/lib/components/VRating/VRating.d.ts +3 -3
- package/lib/components/VResponsive/VResponsive.d.ts +3 -3
- package/lib/components/VSelect/VSelect.d.ts +140 -140
- package/lib/components/VSelectionControl/VSelectionControl.d.ts +6 -6
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +6 -6
- package/lib/components/VSheet/VSheet.d.ts +3 -3
- package/lib/components/VSlideGroup/VSlideGroup.d.ts +3 -3
- package/lib/components/VSlider/VSlider.d.ts +12 -12
- package/lib/components/VSlider/VSliderThumb.d.ts +6 -6
- package/lib/components/VSlider/VSliderTrack.d.ts +3 -3
- package/lib/components/VSnackbar/VSnackbar.d.ts +12 -12
- package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +3 -3
- package/lib/components/VSpeedDial/VSpeedDial.d.ts +9 -9
- package/lib/components/VStepper/VStepper.d.ts +3 -3
- package/lib/components/VStepper/VStepperHeader.d.ts +3 -3
- package/lib/components/VStepper/VStepperItem.d.ts +3 -3
- package/lib/components/VStepper/VStepperWindow.d.ts +3 -3
- package/lib/components/VStepper/VStepperWindowItem.d.ts +3 -3
- package/lib/components/VSwitch/VSwitch.d.ts +15 -15
- package/lib/components/VSwitch/VSwitch.js +2 -2
- package/lib/components/VSwitch/VSwitch.js.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.d.ts +3 -3
- package/lib/components/VTable/VTable.d.ts +3 -3
- package/lib/components/VTabs/VTab.d.ts +24 -24
- package/lib/components/VTabs/VTabs.d.ts +3 -3
- package/lib/components/VTabs/VTabsWindow.d.ts +3 -3
- package/lib/components/VTabs/VTabsWindowItem.d.ts +3 -3
- package/lib/components/VTextField/VTextField.d.ts +21 -21
- package/lib/components/VTextarea/VTextarea.d.ts +12 -12
- package/lib/components/VThemeProvider/VThemeProvider.d.ts +3 -3
- package/lib/components/VTimePicker/VTimePicker.d.ts +3 -3
- package/lib/components/VTimeline/VTimeline.d.ts +3 -3
- package/lib/components/VTimeline/VTimelineDivider.d.ts +3 -3
- package/lib/components/VTimeline/VTimelineItem.d.ts +3 -3
- package/lib/components/VToolbar/VToolbar.d.ts +3 -3
- package/lib/components/VToolbar/VToolbarItems.d.ts +3 -3
- package/lib/components/VToolbar/VToolbarTitle.d.ts +3 -3
- package/lib/components/VTooltip/VTooltip.d.ts +15 -15
- package/lib/components/VTreeview/VTreeview.d.ts +26 -26
- package/lib/components/VTreeview/VTreeviewGroup.d.ts +3 -3
- package/lib/components/VTreeview/VTreeviewItem.d.ts +24 -24
- package/lib/components/VVirtualScroll/VVirtualScroll.d.ts +6 -6
- package/lib/components/VVirtualScroll/VVirtualScrollItem.d.ts +3 -3
- package/lib/components/VWindow/VWindow.d.ts +3 -3
- package/lib/components/VWindow/VWindowItem.d.ts +3 -3
- package/lib/components/transitions/createTransition.d.ts +6 -6
- package/lib/components/transitions/index.d.ts +78 -78
- package/lib/composables/goto.js +2 -2
- package/lib/composables/goto.js.map +1 -1
- package/lib/composables/router.d.ts +2 -0
- package/lib/composables/router.js +6 -1
- package/lib/composables/router.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +65 -65
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.js +0 -1
- package/lib/labs/VCalendar/VCalendar.js.map +1 -1
- package/lib/labs/VColorInput/VColorInput.d.ts +6 -6
- package/lib/labs/VDateInput/VDateInput.d.ts +66 -66
- package/lib/labs/VFileUpload/VFileUpload.d.ts +3 -3
- package/lib/labs/VFileUpload/VFileUploadItem.d.ts +6 -6
- package/lib/labs/VHotkey/VHotkey.d.ts +3 -3
- package/lib/labs/VIconBtn/VIconBtn.d.ts +3 -3
- package/lib/labs/VMaskInput/VMaskInput.d.ts +66 -66
- package/lib/labs/VPicker/VPicker.d.ts +3 -3
- package/lib/labs/VPicker/VPickerTitle.d.ts +3 -3
- package/lib/labs/VPie/VPieTooltip.d.ts +3 -3
- package/lib/labs/VStepperVertical/VStepperVertical.d.ts +6 -6
- package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +6 -6
- package/lib/labs/VVideo/VVideo.d.ts +87 -87
- package/lib/labs/VVideo/VVideoControls.d.ts +40 -40
- package/lib/labs/VVideo/VVideoVolume.d.ts +33 -33
- package/lib/util/createSimpleFunctional.d.ts +3 -3
- package/lib/util/events.js +2 -2
- package/lib/util/events.js.map +1 -1
- package/package.json +9 -9
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.10.
|
|
2
|
+
* Vuetify v3.10.3
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1619,7 +1619,7 @@ function useTransition(source, options) {
|
|
|
1619
1619
|
// Utilities
|
|
1620
1620
|
function getPrefixedEventHandlers(attrs, suffix, getData) {
|
|
1621
1621
|
return Object.keys(attrs).filter(key => isOn(key) && key.endsWith(suffix)).reduce((acc, key) => {
|
|
1622
|
-
acc[key.slice(0, -suffix.length)] = event => attrs[key]
|
|
1622
|
+
acc[key.slice(0, -suffix.length)] = event => callEvent(attrs[key], event, getData(event));
|
|
1623
1623
|
return acc;
|
|
1624
1624
|
}, {});
|
|
1625
1625
|
}
|
|
@@ -5640,6 +5640,7 @@ function useLink(props, attrs) {
|
|
|
5640
5640
|
const href = toRef(() => props.href);
|
|
5641
5641
|
return {
|
|
5642
5642
|
isLink,
|
|
5643
|
+
isRouterLink: toRef(() => false),
|
|
5643
5644
|
isClickable,
|
|
5644
5645
|
href,
|
|
5645
5646
|
linkProps: reactive({
|
|
@@ -5663,8 +5664,10 @@ function useLink(props, attrs) {
|
|
|
5663
5664
|
return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
|
|
5664
5665
|
});
|
|
5665
5666
|
const href = computed(() => props.to ? link.value?.route.value.href : props.href);
|
|
5667
|
+
const isRouterLink = toRef(() => !!props.to);
|
|
5666
5668
|
return {
|
|
5667
5669
|
isLink,
|
|
5670
|
+
isRouterLink,
|
|
5668
5671
|
isClickable,
|
|
5669
5672
|
isActive,
|
|
5670
5673
|
route: link.value?.route,
|
|
@@ -5672,7 +5675,9 @@ function useLink(props, attrs) {
|
|
|
5672
5675
|
href,
|
|
5673
5676
|
linkProps: reactive({
|
|
5674
5677
|
href,
|
|
5675
|
-
'aria-current': toRef(() => isActive.value ? 'page' : undefined)
|
|
5678
|
+
'aria-current': toRef(() => isActive.value ? 'page' : undefined),
|
|
5679
|
+
'aria-disabled': toRef(() => props.disabled && isLink.value ? 'true' : undefined),
|
|
5680
|
+
tabindex: toRef(() => props.disabled && isLink.value ? '-1' : undefined)
|
|
5676
5681
|
})
|
|
5677
5682
|
};
|
|
5678
5683
|
}
|
|
@@ -6122,7 +6127,7 @@ const VBtn = genericComponent()({
|
|
|
6122
6127
|
if (props.active !== undefined) {
|
|
6123
6128
|
return props.active;
|
|
6124
6129
|
}
|
|
6125
|
-
if (link.
|
|
6130
|
+
if (link.isRouterLink.value) {
|
|
6126
6131
|
return link.isActive?.value;
|
|
6127
6132
|
}
|
|
6128
6133
|
return group?.isSelected.value;
|
|
@@ -6163,7 +6168,7 @@ const VBtn = genericComponent()({
|
|
|
6163
6168
|
const hasPrepend = !!(props.prependIcon || slots.prepend);
|
|
6164
6169
|
const hasAppend = !!(props.appendIcon || slots.append);
|
|
6165
6170
|
const hasIcon = !!(props.icon && props.icon !== true);
|
|
6166
|
-
return withDirectives(createVNode(Tag, mergeProps({
|
|
6171
|
+
return withDirectives(createVNode(Tag, mergeProps(link.linkProps, {
|
|
6167
6172
|
"type": Tag === 'a' ? undefined : 'button',
|
|
6168
6173
|
"class": ['v-btn', group?.selectedClass.value, {
|
|
6169
6174
|
'v-btn--active': isActive.value,
|
|
@@ -6179,11 +6184,11 @@ const VBtn = genericComponent()({
|
|
|
6179
6184
|
}, props.spaced ? ['v-btn--spaced', `v-btn--spaced-${props.spaced}`] : [], themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, loaderClasses.value, positionClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
|
6180
6185
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, sizeStyles.value, props.style],
|
|
6181
6186
|
"aria-busy": props.loading ? true : undefined,
|
|
6182
|
-
"disabled": isDisabled.value || undefined,
|
|
6187
|
+
"disabled": isDisabled.value && Tag !== 'a' || undefined,
|
|
6183
6188
|
"tabindex": props.loading || props.readonly ? -1 : undefined,
|
|
6184
6189
|
"onClick": onClick,
|
|
6185
6190
|
"value": valueAttr.value
|
|
6186
|
-
}
|
|
6191
|
+
}), {
|
|
6187
6192
|
default: () => [genOverlays(true, 'v-btn'), !props.icon && hasPrepend && createElementVNode("span", {
|
|
6188
6193
|
"key": "prepend",
|
|
6189
6194
|
"class": "v-btn__prepend"
|
|
@@ -7928,7 +7933,7 @@ async function scrollTo(_target, _options, horizontal, goTo) {
|
|
|
7928
7933
|
const rtl = goTo?.rtl.value;
|
|
7929
7934
|
const target = (typeof _target === 'number' ? _target : getTarget$1(_target)) ?? 0;
|
|
7930
7935
|
const container = options.container === 'parent' && target instanceof HTMLElement ? target.parentElement : getContainer(options.container);
|
|
7931
|
-
const ease =
|
|
7936
|
+
const ease = PREFERS_REDUCED_MOTION() ? options.patterns.instant : typeof options.easing === 'function' ? options.easing : options.patterns[options.easing];
|
|
7932
7937
|
if (!ease) throw new TypeError(`Easing function "${options.easing}" not found.`);
|
|
7933
7938
|
let targetLocation;
|
|
7934
7939
|
if (typeof target === 'number') {
|
|
@@ -8640,7 +8645,7 @@ const VChip = genericComponent()({
|
|
|
8640
8645
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
|
8641
8646
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
|
8642
8647
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
|
8643
|
-
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
|
8648
|
+
return isActive.value && withDirectives(createVNode(Tag, mergeProps(link.linkProps, {
|
|
8644
8649
|
"class": ['v-chip', {
|
|
8645
8650
|
'v-chip--disabled': props.disabled,
|
|
8646
8651
|
'v-chip--label': props.label,
|
|
@@ -8655,7 +8660,7 @@ const VChip = genericComponent()({
|
|
|
8655
8660
|
"tabindex": isClickable.value ? 0 : undefined,
|
|
8656
8661
|
"onClick": onClick,
|
|
8657
8662
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
|
8658
|
-
}
|
|
8663
|
+
}), {
|
|
8659
8664
|
default: () => [genOverlays(isClickable.value, 'v-chip'), hasFilter && createVNode(VExpandXTransition, {
|
|
8660
8665
|
"key": "filter"
|
|
8661
8666
|
}, {
|
|
@@ -9858,7 +9863,7 @@ const VListItem = genericComponent()({
|
|
|
9858
9863
|
if (props.activeColor) {
|
|
9859
9864
|
deprecate('active-color', ['color', 'base-color']);
|
|
9860
9865
|
}
|
|
9861
|
-
return withDirectives(createVNode(Tag, mergeProps({
|
|
9866
|
+
return withDirectives(createVNode(Tag, mergeProps(link.linkProps, {
|
|
9862
9867
|
"class": ['v-list-item', {
|
|
9863
9868
|
'v-list-item--active': isActive.value,
|
|
9864
9869
|
'v-list-item--disabled': props.disabled,
|
|
@@ -9874,7 +9879,7 @@ const VListItem = genericComponent()({
|
|
|
9874
9879
|
"role": role.value,
|
|
9875
9880
|
"onClick": onClick,
|
|
9876
9881
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
|
9877
|
-
}
|
|
9882
|
+
}), {
|
|
9878
9883
|
default: () => [genOverlays(isClickable.value || isActive.value, 'v-list-item'), hasPrepend && createElementVNode("div", {
|
|
9879
9884
|
"key": "prepend",
|
|
9880
9885
|
"class": "v-list-item__prepend"
|
|
@@ -14156,7 +14161,7 @@ const VAutocomplete = genericComponent()({
|
|
|
14156
14161
|
} else {
|
|
14157
14162
|
if (!props.multiple && search.value == null) model.value = [];
|
|
14158
14163
|
menu.value = false;
|
|
14159
|
-
|
|
14164
|
+
search.value = '';
|
|
14160
14165
|
selectionIndex.value = -1;
|
|
14161
14166
|
}
|
|
14162
14167
|
});
|
|
@@ -15379,7 +15384,7 @@ const VCard = genericComponent()({
|
|
|
15379
15384
|
const hasImage = !!(slots.image || props.image);
|
|
15380
15385
|
const hasCardItem = hasHeader || hasPrepend || hasAppend;
|
|
15381
15386
|
const hasText = !!(slots.text || props.text != null);
|
|
15382
|
-
return withDirectives(createVNode(Tag, mergeProps({
|
|
15387
|
+
return withDirectives(createVNode(Tag, mergeProps(link.linkProps, {
|
|
15383
15388
|
"class": ['v-card', {
|
|
15384
15389
|
'v-card--disabled': props.disabled,
|
|
15385
15390
|
'v-card--flat': props.flat,
|
|
@@ -15389,7 +15394,7 @@ const VCard = genericComponent()({
|
|
|
15389
15394
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, props.style],
|
|
15390
15395
|
"onClick": isClickable && link.navigate,
|
|
15391
15396
|
"tabindex": props.disabled ? -1 : undefined
|
|
15392
|
-
}
|
|
15397
|
+
}), {
|
|
15393
15398
|
default: () => [hasImage && createElementVNode("div", {
|
|
15394
15399
|
"key": "image",
|
|
15395
15400
|
"class": "v-card__image"
|
|
@@ -19257,7 +19262,6 @@ const VCombobox = genericComponent()({
|
|
|
19257
19262
|
const isFocused = shallowRef(false);
|
|
19258
19263
|
const isPristine = shallowRef(true);
|
|
19259
19264
|
const listHasFocus = shallowRef(false);
|
|
19260
|
-
const showAllItemsForNoMatch = shallowRef(false);
|
|
19261
19265
|
const vMenuRef = ref();
|
|
19262
19266
|
const vVirtualScrollRef = ref();
|
|
19263
19267
|
const selectionIndex = shallowRef(-1);
|
|
@@ -19313,22 +19317,14 @@ const VCombobox = genericComponent()({
|
|
|
19313
19317
|
const {
|
|
19314
19318
|
filteredItems,
|
|
19315
19319
|
getMatches
|
|
19316
|
-
} = useFilter(props, items, search);
|
|
19317
|
-
const hasMatchingItems = computed(() => {
|
|
19318
|
-
return props.hideSelected ? filteredItems.value.some(filteredItem => !model.value.some(s => s.value === filteredItem.value)) : filteredItems.value.length > 0;
|
|
19319
|
-
});
|
|
19320
|
+
} = useFilter(props, items, () => isPristine.value ? '' : search.value);
|
|
19320
19321
|
const displayItems = computed(() => {
|
|
19321
19322
|
if (props.hideSelected) {
|
|
19322
19323
|
return filteredItems.value.filter(filteredItem => !model.value.some(s => s.value === filteredItem.value));
|
|
19323
19324
|
}
|
|
19324
|
-
if (filteredItems.value.length === 0 && showAllItemsForNoMatch.value) {
|
|
19325
|
-
return items.value;
|
|
19326
|
-
}
|
|
19327
19325
|
return filteredItems.value;
|
|
19328
19326
|
});
|
|
19329
|
-
const menuDisabled = computed(() =>
|
|
19330
|
-
return form.isReadonly.value || form.isDisabled.value;
|
|
19331
|
-
});
|
|
19327
|
+
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
|
19332
19328
|
const _menu = useProxiedModel(props, 'menu');
|
|
19333
19329
|
const menu = computed({
|
|
19334
19330
|
get: () => _menu.value,
|
|
@@ -19345,17 +19341,13 @@ const VCombobox = genericComponent()({
|
|
|
19345
19341
|
ariaLabel
|
|
19346
19342
|
} = useMenuActivator(props, menu);
|
|
19347
19343
|
watch(_search, value => {
|
|
19348
|
-
showAllItemsForNoMatch.value = false;
|
|
19349
19344
|
if (cleared) {
|
|
19350
19345
|
// wait for clear to finish, VTextField sets _search to null
|
|
19351
19346
|
// then search computed triggers and updates _search to ''
|
|
19352
19347
|
nextTick(() => cleared = false);
|
|
19353
19348
|
} else if (isFocused.value && !menu.value) {
|
|
19354
|
-
menu.value =
|
|
19355
|
-
} else if (isFocused.value && menu.value && !hasMatchingItems.value && props.hideNoData) {
|
|
19356
|
-
menu.value = false;
|
|
19349
|
+
menu.value = true;
|
|
19357
19350
|
}
|
|
19358
|
-
isPristine.value = !value;
|
|
19359
19351
|
emit('update:search', value);
|
|
19360
19352
|
});
|
|
19361
19353
|
watch(model, value => {
|
|
@@ -19534,19 +19526,13 @@ const VCombobox = genericComponent()({
|
|
|
19534
19526
|
}
|
|
19535
19527
|
}
|
|
19536
19528
|
});
|
|
19537
|
-
watch(menu,
|
|
19538
|
-
if (!props.hideSelected &&
|
|
19529
|
+
watch(menu, () => {
|
|
19530
|
+
if (!props.hideSelected && menu.value && model.value.length) {
|
|
19539
19531
|
const index = displayItems.value.findIndex(item => model.value.some(s => (props.valueComparator || deepEqual)(s.value, item.value)));
|
|
19540
19532
|
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
19541
19533
|
index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
|
|
19542
19534
|
});
|
|
19543
19535
|
}
|
|
19544
|
-
if (val && search.value && !hasMatchingItems.value) {
|
|
19545
|
-
showAllItemsForNoMatch.value = true;
|
|
19546
|
-
}
|
|
19547
|
-
isPristine.value = !search.value;
|
|
19548
|
-
}, {
|
|
19549
|
-
immediate: true
|
|
19550
19536
|
});
|
|
19551
19537
|
watch(items, (newVal, oldVal) => {
|
|
19552
19538
|
if (menu.value) return;
|
|
@@ -19743,7 +19729,7 @@ const VCombobox = genericComponent()({
|
|
|
19743
19729
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
19744
19730
|
args[_key] = arguments[_key];
|
|
19745
19731
|
}
|
|
19746
|
-
return createElementVNode(Fragment, null, [slots['append-inner']?.(...args), props.menuIcon ? createVNode(VIcon, {
|
|
19732
|
+
return createElementVNode(Fragment, null, [slots['append-inner']?.(...args), (!props.hideNoData || props.items.length) && props.menuIcon ? createVNode(VIcon, {
|
|
19747
19733
|
"class": "v-combobox__menu-icon",
|
|
19748
19734
|
"color": vTextFieldRef.value?.fieldIconColor,
|
|
19749
19735
|
"icon": props.menuIcon,
|
|
@@ -19886,20 +19872,20 @@ function provideExpanded(props) {
|
|
|
19886
19872
|
}, v => {
|
|
19887
19873
|
return [...v.values()];
|
|
19888
19874
|
});
|
|
19889
|
-
function getItemKey(item) {
|
|
19890
|
-
return isObject(item.value) ? item.key : item.value;
|
|
19891
|
-
}
|
|
19892
19875
|
function expand(item, value) {
|
|
19893
19876
|
const newExpanded = new Set(expanded.value);
|
|
19877
|
+
const rawValue = toRaw(item.value);
|
|
19894
19878
|
if (!value) {
|
|
19895
|
-
|
|
19879
|
+
const item = [...expanded.value].find(x => toRaw(x) === rawValue);
|
|
19880
|
+
newExpanded.delete(item);
|
|
19896
19881
|
} else {
|
|
19897
|
-
newExpanded.add(
|
|
19882
|
+
newExpanded.add(rawValue);
|
|
19898
19883
|
}
|
|
19899
19884
|
expanded.value = newExpanded;
|
|
19900
19885
|
}
|
|
19901
19886
|
function isExpanded(item) {
|
|
19902
|
-
|
|
19887
|
+
const rawValue = toRaw(item.value);
|
|
19888
|
+
return [...expanded.value].some(x => toRaw(x) === rawValue);
|
|
19903
19889
|
}
|
|
19904
19890
|
function toggleExpand(item) {
|
|
19905
19891
|
expand(item, !isExpanded(item));
|
|
@@ -26762,6 +26748,7 @@ const VNumberInput = genericComponent()({
|
|
|
26762
26748
|
useRender(() => {
|
|
26763
26749
|
const {
|
|
26764
26750
|
modelValue: _,
|
|
26751
|
+
type,
|
|
26765
26752
|
...textFieldProps
|
|
26766
26753
|
} = VTextField.filterProps(props);
|
|
26767
26754
|
function incrementControlNode() {
|
|
@@ -29211,7 +29198,7 @@ const VSwitch = genericComponent()({
|
|
|
29211
29198
|
} = useFocus(props);
|
|
29212
29199
|
const control = ref();
|
|
29213
29200
|
const inputRef = ref();
|
|
29214
|
-
const isForcedColorsModeActive =
|
|
29201
|
+
const isForcedColorsModeActive = SUPPORTS_MATCH_MEDIA && window.matchMedia('(forced-colors: active)').matches;
|
|
29215
29202
|
const loaderColor = toRef(() => {
|
|
29216
29203
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
|
29217
29204
|
});
|
|
@@ -34235,7 +34222,6 @@ const VCalendar = genericComponent()({
|
|
|
34235
34222
|
"categories": categories,
|
|
34236
34223
|
"onClick:date": (e, day) => {
|
|
34237
34224
|
if (attrs['onUpdate:modelValue']) emit('update:modelValue', day.date);
|
|
34238
|
-
if (attrs['onClick:date']) emit('click:date', e, day);
|
|
34239
34225
|
}
|
|
34240
34226
|
}), base.getScopedSlots()), [[resolveDirective("resize"), base.updateEventVisibility, void 0, {
|
|
34241
34227
|
quiet: true
|
|
@@ -37873,7 +37859,7 @@ function createVuetify$1() {
|
|
|
37873
37859
|
};
|
|
37874
37860
|
});
|
|
37875
37861
|
}
|
|
37876
|
-
const version$1 = "3.10.
|
|
37862
|
+
const version$1 = "3.10.3";
|
|
37877
37863
|
createVuetify$1.version = version$1;
|
|
37878
37864
|
|
|
37879
37865
|
// Vue's inject() can only be used in setup
|
|
@@ -38171,7 +38157,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
38171
38157
|
|
|
38172
38158
|
/* eslint-disable local-rules/sort-imports */
|
|
38173
38159
|
|
|
38174
|
-
const version = "3.10.
|
|
38160
|
+
const version = "3.10.3";
|
|
38175
38161
|
|
|
38176
38162
|
/* eslint-disable local-rules/sort-imports */
|
|
38177
38163
|
|