@vuetify/nightly 3.7.5-master.2024-12-16 → 3.7.6-dev.2024-12-18
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 +925 -917
- package/dist/json/importMap-labs.json +42 -42
- package/dist/json/importMap.json +162 -162
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +2000 -1982
- package/dist/vuetify-labs.css +4432 -4432
- package/dist/vuetify-labs.d.ts +3365 -14377
- package/dist/vuetify-labs.esm.js +58 -54
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +57 -53
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2655 -2655
- package/dist/vuetify.d.ts +2726 -11900
- package/dist/vuetify.esm.js +58 -54
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +57 -53
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +879 -884
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.mjs +1 -1
- package/lib/components/VAlert/index.d.mts +8 -86
- package/lib/components/VApp/index.d.mts +4 -20
- package/lib/components/VAppBar/VAppBar.mjs +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +1 -1
- package/lib/components/VAppBar/index.d.mts +18 -154
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/index.d.mts +201 -1360
- package/lib/components/VAvatar/index.d.mts +4 -31
- package/lib/components/VBadge/VBadge.mjs +1 -1
- package/lib/components/VBadge/index.d.mts +4 -41
- package/lib/components/VBanner/VBanner.mjs +1 -1
- package/lib/components/VBanner/index.d.mts +12 -88
- package/lib/components/VBottomNavigation/index.d.mts +4 -32
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
- package/lib/components/VBottomSheet/index.d.mts +4 -88
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +12 -65
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/index.d.mts +11 -79
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
- package/lib/components/VBtnGroup/index.d.mts +4 -28
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
- package/lib/components/VBtnToggle/index.d.mts +13 -33
- package/lib/components/VCard/VCard.mjs +1 -1
- package/lib/components/VCard/VCardItem.mjs +1 -1
- package/lib/components/VCard/VCardSubtitle.mjs +1 -1
- package/lib/components/VCard/VCardText.mjs +1 -1
- package/lib/components/VCard/index.d.mts +24 -190
- package/lib/components/VCarousel/VCarousel.mjs +1 -1
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
- package/lib/components/VCarousel/index.d.mts +17 -95
- package/lib/components/VCheckbox/VCheckbox.mjs +4 -4
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
- package/lib/components/VCheckbox/index.d.mts +8 -90
- package/lib/components/VChip/VChip.mjs +16 -9
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +9 -105
- package/lib/components/VChipGroup/VChipGroup.mjs +3 -1
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +24 -43
- package/lib/components/VCode/index.d.mts +4 -18
- package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
- package/lib/components/VColorPicker/index.d.mts +4 -68
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/index.d.mts +201 -1360
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +6 -13
- package/lib/components/VCounter/VCounter.mjs +1 -1
- package/lib/components/VCounter/index.d.mts +9 -31
- package/lib/components/VDataIterator/index.d.mts +12 -56
- package/lib/components/VDataTable/VDataTable.mjs +1 -1
- package/lib/components/VDataTable/VDataTableFooter.mjs +1 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.mjs +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.mjs +1 -1
- package/lib/components/VDataTable/VDataTableRow.mjs +1 -1
- package/lib/components/VDataTable/VDataTableRows.mjs +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
- package/lib/components/VDataTable/index.d.mts +36 -388
- package/lib/components/VDatePicker/VDatePicker.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.mjs +1 -1
- package/lib/components/VDatePicker/index.d.mts +24 -276
- package/lib/components/VDefaultsProvider/index.d.mts +4 -20
- package/lib/components/VDialog/VDialog.mjs +1 -1
- package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +1 -1
- package/lib/components/VDialog/index.d.mts +143 -389
- package/lib/components/VDivider/index.d.mts +4 -24
- package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
- package/lib/components/VEmptyState/index.d.mts +4 -66
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +23 -159
- package/lib/components/VFab/VFab.mjs +1 -1
- package/lib/components/VFab/index.d.mts +15 -84
- package/lib/components/VField/VField.mjs +4 -4
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VFieldLabel.mjs +1 -1
- package/lib/components/VField/index.d.mts +11 -59
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/index.d.mts +71 -256
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VFooter/index.d.mts +4 -29
- package/lib/components/VForm/index.d.mts +267 -175
- package/lib/components/VGrid/VContainer.mjs +1 -1
- package/lib/components/VGrid/index.d.mts +16 -118
- package/lib/components/VHover/index.d.mts +4 -33
- package/lib/components/VIcon/index.d.mts +17 -75
- package/lib/components/VImg/VImg.mjs +1 -1
- package/lib/components/VImg/index.d.mts +19 -74
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
- package/lib/components/VInfiniteScroll/index.d.mts +4 -46
- package/lib/components/VInput/VInput.mjs +4 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.mts +4 -37
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +17 -74
- package/lib/components/VKbd/index.d.mts +4 -18
- package/lib/components/VLabel/index.d.mts +4 -20
- package/lib/components/VLayout/index.d.mts +8 -48
- package/lib/components/VLazy/VLazy.mjs +1 -1
- package/lib/components/VLazy/index.d.mts +4 -31
- package/lib/components/VList/VList.mjs +1 -1
- package/lib/components/VList/VListChildren.mjs +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -1
- package/lib/components/VList/VListItem.mjs +15 -9
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItemAction.mjs +1 -1
- package/lib/components/VList/VListItemMedia.mjs +1 -1
- package/lib/components/VList/VListItemSubtitle.mjs +1 -1
- package/lib/components/VList/index.d.mts +48 -291
- package/lib/components/VLocaleProvider/index.d.mts +4 -21
- package/lib/components/VMain/index.d.mts +4 -25
- package/lib/components/VMenu/VMenu.mjs +4 -4
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +155 -397
- package/lib/components/VMessages/index.d.mts +4 -27
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +7 -62
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/index.d.mts +7 -52
- package/lib/components/VOverlay/VOverlay.mjs +1 -1
- package/lib/components/VOverlay/index.d.mts +19 -101
- package/lib/components/VPagination/VPagination.mjs +1 -1
- package/lib/components/VPagination/index.d.mts +4 -64
- package/lib/components/VParallax/VParallax.mjs +1 -1
- package/lib/components/VParallax/index.d.mts +4 -27
- package/lib/components/VProgressCircular/index.d.mts +4 -34
- package/lib/components/VProgressLinear/index.d.mts +4 -54
- package/lib/components/VRadio/VRadio.mjs +1 -1
- package/lib/components/VRadio/index.d.mts +4 -68
- package/lib/components/VRadioGroup/VRadioGroup.mjs +4 -4
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +4 -48
- package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
- package/lib/components/VRangeSlider/index.d.mts +4 -107
- package/lib/components/VRating/VRating.mjs +5 -4
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.mts +4 -42
- package/lib/components/VResponsive/index.d.mts +4 -29
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/index.d.mts +200 -1352
- package/lib/components/VSelectionControl/VSelectionControl.mjs +4 -4
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +10 -37
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +4 -26
- package/lib/components/VSheet/VSheet.mjs +1 -1
- package/lib/components/VSheet/index.d.mts +4 -32
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
- package/lib/components/VSkeletonLoader/index.d.mts +4 -28
- package/lib/components/VSlideGroup/index.d.mts +21 -77
- package/lib/components/VSlider/VSlider.mjs +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +1 -1
- package/lib/components/VSlider/index.d.mts +4 -106
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
- package/lib/components/VSnackbar/index.d.mts +152 -398
- package/lib/components/VSparkline/VBarline.mjs +3 -4
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +3 -4
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSparkline/index.d.mts +4 -49
- package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
- package/lib/components/VSpeedDial/index.d.mts +4 -85
- package/lib/components/VStepper/VStepper.mjs +1 -1
- package/lib/components/VStepper/VStepperItem.mjs +1 -1
- package/lib/components/VStepper/VStepperWindow.mjs +1 -1
- package/lib/components/VStepper/VStepperWindowItem.mjs +1 -1
- package/lib/components/VStepper/index.d.mts +24 -250
- package/lib/components/VSwitch/VSwitch.mjs +4 -4
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.mts +4 -59
- package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
- package/lib/components/VSystemBar/index.d.mts +4 -28
- package/lib/components/VTable/index.d.mts +4 -33
- package/lib/components/VTabs/VTab.mjs +1 -1
- package/lib/components/VTabs/VTabs.mjs +1 -1
- package/lib/components/VTabs/VTabsWindow.mjs +1 -1
- package/lib/components/VTabs/VTabsWindowItem.mjs +1 -1
- package/lib/components/VTabs/index.d.mts +105 -401
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/index.d.mts +152 -374
- package/lib/components/VTextarea/VTextarea.mjs +1 -1
- package/lib/components/VTextarea/index.d.mts +71 -244
- package/lib/components/VThemeProvider/index.d.mts +4 -20
- package/lib/components/VTimeline/VTimeline.mjs +1 -1
- package/lib/components/VTimeline/VTimelineDivider.mjs +1 -1
- package/lib/components/VTimeline/VTimelineItem.mjs +1 -1
- package/lib/components/VTimeline/index.d.mts +8 -75
- package/lib/components/VToolbar/VToolbar.mjs +1 -1
- package/lib/components/VToolbar/index.d.mts +12 -90
- package/lib/components/VTooltip/VTooltip.mjs +4 -4
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.mts +147 -386
- package/lib/components/VValidation/index.d.mts +10 -24
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +4 -15
- package/lib/components/VWindow/VWindow.mjs +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +1 -1
- package/lib/components/VWindow/index.d.mts +15 -54
- package/lib/components/index.d.mts +2947 -12121
- package/lib/components/transitions/dialog-transition.mjs +1 -2
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.mts +64 -309
- package/lib/composables/group.mjs +3 -3
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/icons.mjs +1 -1
- package/lib/composables/layout.mjs +3 -3
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +2 -2
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/validation.mjs +3 -3
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/variant.mjs +1 -1
- package/lib/composables/virtual.mjs +1 -1
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +2 -3
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +65 -65
- package/lib/labs/VCalendar/VCalendar.mjs +1 -1
- package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
- package/lib/labs/VCalendar/index.d.mts +24 -211
- package/lib/labs/VDateInput/VDateInput.mjs +1 -1
- package/lib/labs/VDateInput/index.d.mts +4 -115
- package/lib/labs/VFileUpload/VFileUpload.mjs +1 -1
- package/lib/labs/VFileUpload/VFileUploadItem.mjs +1 -1
- package/lib/labs/VFileUpload/index.d.mts +8 -195
- package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
- package/lib/labs/VNumberInput/index.d.mts +577 -1280
- package/lib/labs/VPicker/VPicker.mjs +1 -1
- package/lib/labs/VPicker/index.d.mts +8 -63
- package/lib/labs/VPullToRefresh/index.d.mts +4 -35
- package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
- package/lib/labs/VSnackbarQueue/index.d.mts +156 -453
- package/lib/labs/VStepperVertical/VStepperVertical.mjs +1 -1
- package/lib/labs/VStepperVertical/VStepperVerticalActions.mjs +1 -1
- package/lib/labs/VStepperVertical/VStepperVerticalItem.mjs +1 -1
- package/lib/labs/VStepperVertical/index.d.mts +12 -227
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
- package/lib/labs/VTimePicker/index.d.mts +12 -122
- package/lib/labs/VTreeview/VTreeview.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewGroup.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +1 -1
- package/lib/labs/VTreeview/index.d.mts +18 -205
- package/lib/labs/components.d.mts +1116 -3200
- package/lib/util/getCurrentInstance.mjs +1 -15
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/package.json +5 -4
package/dist/vuetify.esm.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.6-dev.2024-12-18
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, unref, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, createVNode, mergeProps, onBeforeUnmount, watch, readonly, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, TransitionGroup, Transition, isRef, toRef, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, onUpdated, Text, resolveDynamicComponent, markRaw, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText, resolveComponent, render } from 'vue';
|
7
|
+
import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, unref, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, createVNode, mergeProps, onBeforeUnmount, watch, readonly, useId, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, TransitionGroup, Transition, isRef, toRef, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, onUpdated, Text, resolveDynamicComponent, markRaw, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, withModifiers, toDisplayString, vModelText, resolveComponent, render } from 'vue';
|
8
8
|
|
9
9
|
const IN_BROWSER = typeof window !== 'undefined';
|
10
10
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
@@ -1247,9 +1247,6 @@ const makeComponentProps = propsFactory({
|
|
1247
1247
|
}, 'component');
|
1248
1248
|
|
1249
1249
|
// Utilities
|
1250
|
-
|
1251
|
-
// Types
|
1252
|
-
|
1253
1250
|
function getCurrentInstance(name, message) {
|
1254
1251
|
const vm = getCurrentInstance$1();
|
1255
1252
|
if (!vm) {
|
@@ -1262,20 +1259,6 @@ function getCurrentInstanceName() {
|
|
1262
1259
|
const vm = getCurrentInstance(name).type;
|
1263
1260
|
return toKebabCase(vm?.aliasName || vm?.name);
|
1264
1261
|
}
|
1265
|
-
let _uid = 0;
|
1266
|
-
let _map = new WeakMap();
|
1267
|
-
function getUid() {
|
1268
|
-
const vm = getCurrentInstance('getUid');
|
1269
|
-
if (_map.has(vm)) return _map.get(vm);else {
|
1270
|
-
const uid = _uid++;
|
1271
|
-
_map.set(vm, uid);
|
1272
|
-
return uid;
|
1273
|
-
}
|
1274
|
-
}
|
1275
|
-
getUid.reset = () => {
|
1276
|
-
_uid = 0;
|
1277
|
-
_map = new WeakMap();
|
1278
|
-
};
|
1279
1262
|
|
1280
1263
|
// Utilities
|
1281
1264
|
|
@@ -2092,7 +2075,7 @@ function useLayout() {
|
|
2092
2075
|
function useLayoutItem(options) {
|
2093
2076
|
const layout = inject$1(VuetifyLayoutKey);
|
2094
2077
|
if (!layout) throw new Error('[Vuetify] Could not find injected layout');
|
2095
|
-
const id = options.id ?? `layout-item-${
|
2078
|
+
const id = options.id ?? `layout-item-${useId()}`;
|
2096
2079
|
const vm = getCurrentInstance('useLayoutItem');
|
2097
2080
|
provide(VuetifyLayoutItemKey, {
|
2098
2081
|
id
|
@@ -3251,6 +3234,8 @@ function ExpandTransitionGenerator () {
|
|
3251
3234
|
}
|
3252
3235
|
}
|
3253
3236
|
|
3237
|
+
// Utilities
|
3238
|
+
|
3254
3239
|
// Types
|
3255
3240
|
|
3256
3241
|
const makeVDialogTransitionProps = propsFactory({
|
@@ -4597,7 +4582,7 @@ function useGroupItem(props, injectKey) {
|
|
4597
4582
|
if (!vm) {
|
4598
4583
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4599
4584
|
}
|
4600
|
-
const id =
|
4585
|
+
const id = useId();
|
4601
4586
|
provide(Symbol.for(`${injectKey.description}:id`), id);
|
4602
4587
|
const group = inject$1(injectKey, null);
|
4603
4588
|
if (!group) {
|
@@ -6369,7 +6354,7 @@ const VSelectionControlGroup = genericComponent()({
|
|
6369
6354
|
slots
|
6370
6355
|
} = _ref;
|
6371
6356
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6372
|
-
const uid =
|
6357
|
+
const uid = useId();
|
6373
6358
|
const id = computed(() => props.id || `v-selection-control-group-${uid}`);
|
6374
6359
|
const name = computed(() => props.name || id.value);
|
6375
6360
|
const updateHandlers = new Set();
|
@@ -6506,7 +6491,7 @@ const VSelectionControl = genericComponent()({
|
|
6506
6491
|
backgroundColorStyles,
|
6507
6492
|
trueValue
|
6508
6493
|
} = useSelectionControl(props);
|
6509
|
-
const uid =
|
6494
|
+
const uid = useId();
|
6510
6495
|
const isFocused = shallowRef(false);
|
6511
6496
|
const isFocusVisible = shallowRef(false);
|
6512
6497
|
const input = ref();
|
@@ -6951,7 +6936,7 @@ const makeValidationProps = propsFactory({
|
|
6951
6936
|
}, 'validation');
|
6952
6937
|
function useValidation(props) {
|
6953
6938
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6954
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6939
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : useId();
|
6955
6940
|
const model = useProxiedModel(props, 'modelValue');
|
6956
6941
|
const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6957
6942
|
const form = useForm(props);
|
@@ -7143,7 +7128,7 @@ const VInput = genericComponent()({
|
|
7143
7128
|
const {
|
7144
7129
|
InputIcon
|
7145
7130
|
} = useInputIcon(props);
|
7146
|
-
const uid =
|
7131
|
+
const uid = useId();
|
7147
7132
|
const id = computed(() => props.id || `input-${uid}`);
|
7148
7133
|
const messagesId = computed(() => `${id.value}-messages`);
|
7149
7134
|
const {
|
@@ -7251,7 +7236,7 @@ const VCheckbox = genericComponent()({
|
|
7251
7236
|
focus,
|
7252
7237
|
blur
|
7253
7238
|
} = useFocus(props);
|
7254
|
-
const uid =
|
7239
|
+
const uid = useId();
|
7255
7240
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
7256
7241
|
useRender(() => {
|
7257
7242
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -7991,6 +7976,7 @@ const VSlideGroup = genericComponent()({
|
|
7991
7976
|
|
7992
7977
|
const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
|
7993
7978
|
const makeVChipGroupProps = propsFactory({
|
7979
|
+
baseColor: String,
|
7994
7980
|
column: Boolean,
|
7995
7981
|
filter: Boolean,
|
7996
7982
|
valueComparator: {
|
@@ -8030,6 +8016,7 @@ const VChipGroup = genericComponent()({
|
|
8030
8016
|
} = useGroup(props, VChipGroupSymbol);
|
8031
8017
|
provideDefaults({
|
8032
8018
|
VChip: {
|
8019
|
+
baseColor: toRef(props, 'baseColor'),
|
8033
8020
|
color: toRef(props, 'color'),
|
8034
8021
|
disabled: toRef(props, 'disabled'),
|
8035
8022
|
filter: toRef(props, 'filter'),
|
@@ -8063,6 +8050,7 @@ const makeVChipProps = propsFactory({
|
|
8063
8050
|
activeClass: String,
|
8064
8051
|
appendAvatar: String,
|
8065
8052
|
appendIcon: IconValue,
|
8053
|
+
baseColor: String,
|
8066
8054
|
closable: Boolean,
|
8067
8055
|
closeIcon: {
|
8068
8056
|
type: IconValue,
|
@@ -8137,11 +8125,6 @@ const VChip = genericComponent()({
|
|
8137
8125
|
const {
|
8138
8126
|
borderClasses
|
8139
8127
|
} = useBorder(props);
|
8140
|
-
const {
|
8141
|
-
colorClasses,
|
8142
|
-
colorStyles,
|
8143
|
-
variantClasses
|
8144
|
-
} = useVariant(props);
|
8145
8128
|
const {
|
8146
8129
|
densityClasses
|
8147
8130
|
} = useDensity(props);
|
@@ -8171,6 +8154,18 @@ const VChip = genericComponent()({
|
|
8171
8154
|
emit('click:close', e);
|
8172
8155
|
}
|
8173
8156
|
}));
|
8157
|
+
const variantProps = computed(() => {
|
8158
|
+
const showColor = !group || group.isSelected.value;
|
8159
|
+
return {
|
8160
|
+
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
8161
|
+
variant: props.variant
|
8162
|
+
};
|
8163
|
+
});
|
8164
|
+
const {
|
8165
|
+
colorClasses,
|
8166
|
+
colorStyles,
|
8167
|
+
variantClasses
|
8168
|
+
} = useVariant(variantProps);
|
8174
8169
|
function onClick(e) {
|
8175
8170
|
emit('click', e);
|
8176
8171
|
if (!isClickable.value) return;
|
@@ -8191,7 +8186,6 @@ const VChip = genericComponent()({
|
|
8191
8186
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
8192
8187
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
8193
8188
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
8194
|
-
const hasColor = !group || group.isSelected.value;
|
8195
8189
|
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
8196
8190
|
"class": ['v-chip', {
|
8197
8191
|
'v-chip--disabled': props.disabled,
|
@@ -8200,8 +8194,8 @@ const VChip = genericComponent()({
|
|
8200
8194
|
'v-chip--filter': hasFilter,
|
8201
8195
|
'v-chip--pill': props.pill,
|
8202
8196
|
[`${props.activeClass}`]: props.activeClass && link.isActive?.value
|
8203
|
-
}, themeClasses.value, borderClasses.value,
|
8204
|
-
"style": [
|
8197
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
8198
|
+
"style": [colorStyles.value, props.style],
|
8205
8199
|
"disabled": props.disabled || undefined,
|
8206
8200
|
"draggable": props.draggable,
|
8207
8201
|
"tabindex": isClickable.value ? 0 : undefined,
|
@@ -8930,7 +8924,7 @@ const useNested = props => {
|
|
8930
8924
|
};
|
8931
8925
|
const useNestedItem = (id, isGroup) => {
|
8932
8926
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
8933
|
-
const uidSymbol = Symbol(
|
8927
|
+
const uidSymbol = Symbol('nested item');
|
8934
8928
|
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8935
8929
|
const item = {
|
8936
8930
|
...parent,
|
@@ -9183,16 +9177,22 @@ const VListItem = genericComponent()({
|
|
9183
9177
|
color: isActive.value ? color.value ?? props.baseColor : props.baseColor,
|
9184
9178
|
variant: props.variant
|
9185
9179
|
}));
|
9180
|
+
|
9181
|
+
// useNestedItem doesn't call register until beforeMount,
|
9182
|
+
// so this can't be an immediate watcher as we don't know parent yet
|
9186
9183
|
watch(() => link.isActive?.value, val => {
|
9187
|
-
if (val
|
9184
|
+
if (!val) return;
|
9185
|
+
handleActiveLink();
|
9186
|
+
});
|
9187
|
+
onBeforeMount(() => {
|
9188
|
+
if (link.isActive?.value) handleActiveLink();
|
9189
|
+
});
|
9190
|
+
function handleActiveLink() {
|
9191
|
+
if (parent.value != null) {
|
9188
9192
|
root.open(parent.value, true);
|
9189
9193
|
}
|
9190
|
-
|
9191
|
-
|
9192
|
-
}
|
9193
|
-
}, {
|
9194
|
-
immediate: true
|
9195
|
-
});
|
9194
|
+
openOnSelect(true);
|
9195
|
+
}
|
9196
9196
|
const {
|
9197
9197
|
themeClasses
|
9198
9198
|
} = provideTheme(props);
|
@@ -11434,7 +11434,7 @@ const VMenu = genericComponent()({
|
|
11434
11434
|
const {
|
11435
11435
|
isRtl
|
11436
11436
|
} = useRtl();
|
11437
|
-
const uid =
|
11437
|
+
const uid = useId();
|
11438
11438
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11439
11439
|
const overlay = ref();
|
11440
11440
|
const parent = inject$1(VMenuSymbol, null);
|
@@ -11730,7 +11730,7 @@ const VField = genericComponent()({
|
|
11730
11730
|
} = useRtl();
|
11731
11731
|
const isActive = computed(() => props.dirty || props.active);
|
11732
11732
|
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11733
|
-
const uid =
|
11733
|
+
const uid = useId();
|
11734
11734
|
const id = computed(() => props.id || `input-${uid}`);
|
11735
11735
|
const messagesId = computed(() => `${id.value}-messages`);
|
11736
11736
|
const labelRef = ref();
|
@@ -12390,7 +12390,7 @@ function useVirtual(props, items) {
|
|
12390
12390
|
updateOffsets.immediate();
|
12391
12391
|
calculateVisibleItems();
|
12392
12392
|
}, {
|
12393
|
-
deep:
|
12393
|
+
deep: 1
|
12394
12394
|
});
|
12395
12395
|
return {
|
12396
12396
|
calculateVisibleItems,
|
@@ -24891,7 +24891,7 @@ const VRadioGroup = genericComponent()({
|
|
24891
24891
|
attrs,
|
24892
24892
|
slots
|
24893
24893
|
} = _ref;
|
24894
|
-
const uid =
|
24894
|
+
const uid = useId();
|
24895
24895
|
const id = computed(() => props.id || `radio-group-${uid}`);
|
24896
24896
|
const model = useProxiedModel(props, 'modelValue');
|
24897
24897
|
useRender(() => {
|
@@ -25254,7 +25254,8 @@ const VRating = genericComponent()({
|
|
25254
25254
|
onClick
|
25255
25255
|
};
|
25256
25256
|
}));
|
25257
|
-
const
|
25257
|
+
const uid = useId();
|
25258
|
+
const name = computed(() => props.name ?? `v-rating-${uid}`);
|
25258
25259
|
function VRatingItem(_ref2) {
|
25259
25260
|
let {
|
25260
25261
|
value,
|
@@ -25778,6 +25779,8 @@ const makeLineProps = propsFactory({
|
|
25778
25779
|
}
|
25779
25780
|
}, 'Line');
|
25780
25781
|
|
25782
|
+
// Utilities
|
25783
|
+
|
25781
25784
|
// Types
|
25782
25785
|
|
25783
25786
|
const makeVBarlineProps = propsFactory({
|
@@ -25791,7 +25794,7 @@ const VBarline = genericComponent()({
|
|
25791
25794
|
let {
|
25792
25795
|
slots
|
25793
25796
|
} = _ref;
|
25794
|
-
const uid =
|
25797
|
+
const uid = useId();
|
25795
25798
|
const id = computed(() => props.id || `barline-${uid}`);
|
25796
25799
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
|
25797
25800
|
const hasLabels = computed(() => {
|
@@ -25974,6 +25977,8 @@ function moveTo(to, from, radius) {
|
|
25974
25977
|
};
|
25975
25978
|
}
|
25976
25979
|
|
25980
|
+
// Utilities
|
25981
|
+
|
25977
25982
|
// Types
|
25978
25983
|
|
25979
25984
|
const makeVTrendlineProps = propsFactory({
|
@@ -25987,7 +25992,7 @@ const VTrendline = genericComponent()({
|
|
25987
25992
|
let {
|
25988
25993
|
slots
|
25989
25994
|
} = _ref;
|
25990
|
-
const uid =
|
25995
|
+
const uid = useId();
|
25991
25996
|
const id = computed(() => props.id || `trendline-${uid}`);
|
25992
25997
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25993
25998
|
const lastLength = ref(0);
|
@@ -26691,7 +26696,7 @@ const VSwitch = genericComponent()({
|
|
26691
26696
|
const loaderColor = computed(() => {
|
26692
26697
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26693
26698
|
});
|
26694
|
-
const uid =
|
26699
|
+
const uid = useId();
|
26695
26700
|
const id = computed(() => props.id || `switch-${uid}`);
|
26696
26701
|
function onChange() {
|
26697
26702
|
if (indeterminate.value) {
|
@@ -27736,7 +27741,7 @@ const VTooltip = genericComponent()({
|
|
27736
27741
|
const {
|
27737
27742
|
scopeId
|
27738
27743
|
} = useScopeId();
|
27739
|
-
const uid =
|
27744
|
+
const uid = useId();
|
27740
27745
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
27741
27746
|
const overlay = ref();
|
27742
27747
|
const location = computed(() => {
|
@@ -28249,7 +28254,6 @@ function createVuetify$1() {
|
|
28249
28254
|
};
|
28250
28255
|
}
|
28251
28256
|
}
|
28252
|
-
getUid.reset();
|
28253
28257
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
28254
28258
|
app.mixin({
|
28255
28259
|
computed: {
|
@@ -28278,7 +28282,7 @@ function createVuetify$1() {
|
|
28278
28282
|
goTo
|
28279
28283
|
};
|
28280
28284
|
}
|
28281
|
-
const version$1 = "3.7.
|
28285
|
+
const version$1 = "3.7.6-dev.2024-12-18";
|
28282
28286
|
createVuetify$1.version = version$1;
|
28283
28287
|
|
28284
28288
|
// Vue's inject() can only be used in setup
|
@@ -28303,7 +28307,7 @@ const createVuetify = function () {
|
|
28303
28307
|
...options
|
28304
28308
|
});
|
28305
28309
|
};
|
28306
|
-
const version = "3.7.
|
28310
|
+
const version = "3.7.6-dev.2024-12-18";
|
28307
28311
|
createVuetify.version = version;
|
28308
28312
|
|
28309
28313
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|