@vuetify/nightly 3.7.5-master.2024-12-17 → 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 +3385 -3377
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +154 -154
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +6391 -6373
- package/dist/vuetify-labs.css +3014 -3014
- package/dist/vuetify-labs.d.ts +3365 -14377
- package/dist/vuetify-labs.esm.js +45 -47
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +44 -46
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4326 -4326
- package/dist/vuetify.d.ts +3127 -12301
- package/dist/vuetify.esm.js +45 -47
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +44 -46
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +878 -883
- 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 +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 +61 -61
- 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-labs.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, onBeforeUnmount, watch, readonly, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, createVNode, TransitionGroup, Transition, mergeProps, 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, onBeforeUnmount, watch, readonly, useId, onDeactivated, onActivated, onMounted, onScopeDispose, effectScope, toRaw, createVNode, TransitionGroup, Transition, mergeProps, 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
|
// Types
|
10
10
|
// eslint-disable-line vue/prefer-import-from-vue
|
@@ -1253,9 +1253,6 @@ function getForeground(color) {
|
|
1253
1253
|
}
|
1254
1254
|
|
1255
1255
|
// Utilities
|
1256
|
-
|
1257
|
-
// Types
|
1258
|
-
|
1259
1256
|
function getCurrentInstance(name, message) {
|
1260
1257
|
const vm = getCurrentInstance$1();
|
1261
1258
|
if (!vm) {
|
@@ -1268,20 +1265,6 @@ function getCurrentInstanceName() {
|
|
1268
1265
|
const vm = getCurrentInstance(name).type;
|
1269
1266
|
return toKebabCase(vm?.aliasName || vm?.name);
|
1270
1267
|
}
|
1271
|
-
let _uid = 0;
|
1272
|
-
let _map = new WeakMap();
|
1273
|
-
function getUid() {
|
1274
|
-
const vm = getCurrentInstance('getUid');
|
1275
|
-
if (_map.has(vm)) return _map.get(vm);else {
|
1276
|
-
const uid = _uid++;
|
1277
|
-
_map.set(vm, uid);
|
1278
|
-
return uid;
|
1279
|
-
}
|
1280
|
-
}
|
1281
|
-
getUid.reset = () => {
|
1282
|
-
_uid = 0;
|
1283
|
-
_map = new WeakMap();
|
1284
|
-
};
|
1285
1268
|
|
1286
1269
|
// Utilities
|
1287
1270
|
|
@@ -1651,7 +1634,7 @@ function useLayout() {
|
|
1651
1634
|
function useLayoutItem(options) {
|
1652
1635
|
const layout = inject$1(VuetifyLayoutKey);
|
1653
1636
|
if (!layout) throw new Error('[Vuetify] Could not find injected layout');
|
1654
|
-
const id = options.id ?? `layout-item-${
|
1637
|
+
const id = options.id ?? `layout-item-${useId()}`;
|
1655
1638
|
const vm = getCurrentInstance('useLayoutItem');
|
1656
1639
|
provide(VuetifyLayoutItemKey, {
|
1657
1640
|
id
|
@@ -2810,6 +2793,8 @@ function ExpandTransitionGenerator () {
|
|
2810
2793
|
}
|
2811
2794
|
}
|
2812
2795
|
|
2796
|
+
// Utilities
|
2797
|
+
|
2813
2798
|
// Types
|
2814
2799
|
|
2815
2800
|
const makeVDialogTransitionProps = propsFactory({
|
@@ -4156,7 +4141,7 @@ function useGroupItem(props, injectKey) {
|
|
4156
4141
|
if (!vm) {
|
4157
4142
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4158
4143
|
}
|
4159
|
-
const id =
|
4144
|
+
const id = useId();
|
4160
4145
|
provide(Symbol.for(`${injectKey.description}:id`), id);
|
4161
4146
|
const group = inject$1(injectKey, null);
|
4162
4147
|
if (!group) {
|
@@ -6136,7 +6121,7 @@ const VSelectionControlGroup = genericComponent()({
|
|
6136
6121
|
slots
|
6137
6122
|
} = _ref;
|
6138
6123
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6139
|
-
const uid =
|
6124
|
+
const uid = useId();
|
6140
6125
|
const id = computed(() => props.id || `v-selection-control-group-${uid}`);
|
6141
6126
|
const name = computed(() => props.name || id.value);
|
6142
6127
|
const updateHandlers = new Set();
|
@@ -6273,7 +6258,7 @@ const VSelectionControl = genericComponent()({
|
|
6273
6258
|
backgroundColorStyles,
|
6274
6259
|
trueValue
|
6275
6260
|
} = useSelectionControl(props);
|
6276
|
-
const uid =
|
6261
|
+
const uid = useId();
|
6277
6262
|
const isFocused = shallowRef(false);
|
6278
6263
|
const isFocusVisible = shallowRef(false);
|
6279
6264
|
const input = ref();
|
@@ -6718,7 +6703,7 @@ const makeValidationProps = propsFactory({
|
|
6718
6703
|
}, 'validation');
|
6719
6704
|
function useValidation(props) {
|
6720
6705
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6721
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6706
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : useId();
|
6722
6707
|
const model = useProxiedModel(props, 'modelValue');
|
6723
6708
|
const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6724
6709
|
const form = useForm(props);
|
@@ -6910,7 +6895,7 @@ const VInput = genericComponent()({
|
|
6910
6895
|
const {
|
6911
6896
|
InputIcon
|
6912
6897
|
} = useInputIcon(props);
|
6913
|
-
const uid =
|
6898
|
+
const uid = useId();
|
6914
6899
|
const id = computed(() => props.id || `input-${uid}`);
|
6915
6900
|
const messagesId = computed(() => `${id.value}-messages`);
|
6916
6901
|
const {
|
@@ -7018,7 +7003,7 @@ const VCheckbox = genericComponent()({
|
|
7018
7003
|
focus,
|
7019
7004
|
blur
|
7020
7005
|
} = useFocus(props);
|
7021
|
-
const uid =
|
7006
|
+
const uid = useId();
|
7022
7007
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
7023
7008
|
useRender(() => {
|
7024
7009
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -7758,6 +7743,7 @@ const VSlideGroup = genericComponent()({
|
|
7758
7743
|
|
7759
7744
|
const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
|
7760
7745
|
const makeVChipGroupProps = propsFactory({
|
7746
|
+
baseColor: String,
|
7761
7747
|
column: Boolean,
|
7762
7748
|
filter: Boolean,
|
7763
7749
|
valueComparator: {
|
@@ -7797,6 +7783,7 @@ const VChipGroup = genericComponent()({
|
|
7797
7783
|
} = useGroup(props, VChipGroupSymbol);
|
7798
7784
|
provideDefaults({
|
7799
7785
|
VChip: {
|
7786
|
+
baseColor: toRef(props, 'baseColor'),
|
7800
7787
|
color: toRef(props, 'color'),
|
7801
7788
|
disabled: toRef(props, 'disabled'),
|
7802
7789
|
filter: toRef(props, 'filter'),
|
@@ -7830,6 +7817,7 @@ const makeVChipProps = propsFactory({
|
|
7830
7817
|
activeClass: String,
|
7831
7818
|
appendAvatar: String,
|
7832
7819
|
appendIcon: IconValue,
|
7820
|
+
baseColor: String,
|
7833
7821
|
closable: Boolean,
|
7834
7822
|
closeIcon: {
|
7835
7823
|
type: IconValue,
|
@@ -7904,11 +7892,6 @@ const VChip = genericComponent()({
|
|
7904
7892
|
const {
|
7905
7893
|
borderClasses
|
7906
7894
|
} = useBorder(props);
|
7907
|
-
const {
|
7908
|
-
colorClasses,
|
7909
|
-
colorStyles,
|
7910
|
-
variantClasses
|
7911
|
-
} = useVariant(props);
|
7912
7895
|
const {
|
7913
7896
|
densityClasses
|
7914
7897
|
} = useDensity(props);
|
@@ -7938,6 +7921,18 @@ const VChip = genericComponent()({
|
|
7938
7921
|
emit('click:close', e);
|
7939
7922
|
}
|
7940
7923
|
}));
|
7924
|
+
const variantProps = computed(() => {
|
7925
|
+
const showColor = !group || group.isSelected.value;
|
7926
|
+
return {
|
7927
|
+
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
7928
|
+
variant: props.variant
|
7929
|
+
};
|
7930
|
+
});
|
7931
|
+
const {
|
7932
|
+
colorClasses,
|
7933
|
+
colorStyles,
|
7934
|
+
variantClasses
|
7935
|
+
} = useVariant(variantProps);
|
7941
7936
|
function onClick(e) {
|
7942
7937
|
emit('click', e);
|
7943
7938
|
if (!isClickable.value) return;
|
@@ -7958,7 +7953,6 @@ const VChip = genericComponent()({
|
|
7958
7953
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
7959
7954
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
7960
7955
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
7961
|
-
const hasColor = !group || group.isSelected.value;
|
7962
7956
|
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
7963
7957
|
"class": ['v-chip', {
|
7964
7958
|
'v-chip--disabled': props.disabled,
|
@@ -7967,8 +7961,8 @@ const VChip = genericComponent()({
|
|
7967
7961
|
'v-chip--filter': hasFilter,
|
7968
7962
|
'v-chip--pill': props.pill,
|
7969
7963
|
[`${props.activeClass}`]: props.activeClass && link.isActive?.value
|
7970
|
-
}, themeClasses.value, borderClasses.value,
|
7971
|
-
"style": [
|
7964
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
7965
|
+
"style": [colorStyles.value, props.style],
|
7972
7966
|
"disabled": props.disabled || undefined,
|
7973
7967
|
"draggable": props.draggable,
|
7974
7968
|
"tabindex": isClickable.value ? 0 : undefined,
|
@@ -8697,7 +8691,7 @@ const useNested = props => {
|
|
8697
8691
|
};
|
8698
8692
|
const useNestedItem = (id, isGroup) => {
|
8699
8693
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
8700
|
-
const uidSymbol = Symbol(
|
8694
|
+
const uidSymbol = Symbol('nested item');
|
8701
8695
|
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8702
8696
|
const item = {
|
8703
8697
|
...parent,
|
@@ -11207,7 +11201,7 @@ const VMenu = genericComponent()({
|
|
11207
11201
|
const {
|
11208
11202
|
isRtl
|
11209
11203
|
} = useRtl();
|
11210
|
-
const uid =
|
11204
|
+
const uid = useId();
|
11211
11205
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11212
11206
|
const overlay = ref();
|
11213
11207
|
const parent = inject$1(VMenuSymbol, null);
|
@@ -11503,7 +11497,7 @@ const VField = genericComponent()({
|
|
11503
11497
|
} = useRtl();
|
11504
11498
|
const isActive = computed(() => props.dirty || props.active);
|
11505
11499
|
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11506
|
-
const uid =
|
11500
|
+
const uid = useId();
|
11507
11501
|
const id = computed(() => props.id || `input-${uid}`);
|
11508
11502
|
const messagesId = computed(() => `${id.value}-messages`);
|
11509
11503
|
const labelRef = ref();
|
@@ -12163,7 +12157,7 @@ function useVirtual(props, items) {
|
|
12163
12157
|
updateOffsets.immediate();
|
12164
12158
|
calculateVisibleItems();
|
12165
12159
|
}, {
|
12166
|
-
deep:
|
12160
|
+
deep: 1
|
12167
12161
|
});
|
12168
12162
|
return {
|
12169
12163
|
calculateVisibleItems,
|
@@ -24664,7 +24658,7 @@ const VRadioGroup = genericComponent()({
|
|
24664
24658
|
attrs,
|
24665
24659
|
slots
|
24666
24660
|
} = _ref;
|
24667
|
-
const uid =
|
24661
|
+
const uid = useId();
|
24668
24662
|
const id = computed(() => props.id || `radio-group-${uid}`);
|
24669
24663
|
const model = useProxiedModel(props, 'modelValue');
|
24670
24664
|
useRender(() => {
|
@@ -25027,7 +25021,8 @@ const VRating = genericComponent()({
|
|
25027
25021
|
onClick
|
25028
25022
|
};
|
25029
25023
|
}));
|
25030
|
-
const
|
25024
|
+
const uid = useId();
|
25025
|
+
const name = computed(() => props.name ?? `v-rating-${uid}`);
|
25031
25026
|
function VRatingItem(_ref2) {
|
25032
25027
|
let {
|
25033
25028
|
value,
|
@@ -25551,6 +25546,8 @@ const makeLineProps = propsFactory({
|
|
25551
25546
|
}
|
25552
25547
|
}, 'Line');
|
25553
25548
|
|
25549
|
+
// Utilities
|
25550
|
+
|
25554
25551
|
// Types
|
25555
25552
|
|
25556
25553
|
const makeVBarlineProps = propsFactory({
|
@@ -25564,7 +25561,7 @@ const VBarline = genericComponent()({
|
|
25564
25561
|
let {
|
25565
25562
|
slots
|
25566
25563
|
} = _ref;
|
25567
|
-
const uid =
|
25564
|
+
const uid = useId();
|
25568
25565
|
const id = computed(() => props.id || `barline-${uid}`);
|
25569
25566
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
|
25570
25567
|
const hasLabels = computed(() => {
|
@@ -25747,6 +25744,8 @@ function moveTo(to, from, radius) {
|
|
25747
25744
|
};
|
25748
25745
|
}
|
25749
25746
|
|
25747
|
+
// Utilities
|
25748
|
+
|
25750
25749
|
// Types
|
25751
25750
|
|
25752
25751
|
const makeVTrendlineProps = propsFactory({
|
@@ -25760,7 +25759,7 @@ const VTrendline = genericComponent()({
|
|
25760
25759
|
let {
|
25761
25760
|
slots
|
25762
25761
|
} = _ref;
|
25763
|
-
const uid =
|
25762
|
+
const uid = useId();
|
25764
25763
|
const id = computed(() => props.id || `trendline-${uid}`);
|
25765
25764
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25766
25765
|
const lastLength = ref(0);
|
@@ -26464,7 +26463,7 @@ const VSwitch = genericComponent()({
|
|
26464
26463
|
const loaderColor = computed(() => {
|
26465
26464
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26466
26465
|
});
|
26467
|
-
const uid =
|
26466
|
+
const uid = useId();
|
26468
26467
|
const id = computed(() => props.id || `switch-${uid}`);
|
26469
26468
|
function onChange() {
|
26470
26469
|
if (indeterminate.value) {
|
@@ -27509,7 +27508,7 @@ const VTooltip = genericComponent()({
|
|
27509
27508
|
const {
|
27510
27509
|
scopeId
|
27511
27510
|
} = useScopeId();
|
27512
|
-
const uid =
|
27511
|
+
const uid = useId();
|
27513
27512
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
27514
27513
|
const overlay = ref();
|
27515
27514
|
const location = computed(() => {
|
@@ -30717,7 +30716,6 @@ function createVuetify$1() {
|
|
30717
30716
|
};
|
30718
30717
|
}
|
30719
30718
|
}
|
30720
|
-
getUid.reset();
|
30721
30719
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
30722
30720
|
app.mixin({
|
30723
30721
|
computed: {
|
@@ -30746,7 +30744,7 @@ function createVuetify$1() {
|
|
30746
30744
|
goTo
|
30747
30745
|
};
|
30748
30746
|
}
|
30749
|
-
const version$1 = "3.7.
|
30747
|
+
const version$1 = "3.7.6-dev.2024-12-18";
|
30750
30748
|
createVuetify$1.version = version$1;
|
30751
30749
|
|
30752
30750
|
// Vue's inject() can only be used in setup
|
@@ -30999,7 +30997,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30999
30997
|
|
31000
30998
|
/* eslint-disable local-rules/sort-imports */
|
31001
30999
|
|
31002
|
-
const version = "3.7.
|
31000
|
+
const version = "3.7.6-dev.2024-12-18";
|
31003
31001
|
|
31004
31002
|
/* eslint-disable local-rules/sort-imports */
|
31005
31003
|
|