@vuetify/nightly 3.7.5-master.2024-12-17 → 3.7.6-dev.2025-01-06
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 +2037 -2021
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +164 -164
- package/dist/json/tags.json +4 -0
- package/dist/json/web-types.json +4057 -4019
- package/dist/vuetify-labs.css +4809 -4809
- package/dist/vuetify-labs.d.ts +3395 -14377
- package/dist/vuetify-labs.esm.js +81 -62
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +80 -61
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2423 -2423
- package/dist/vuetify.d.ts +3157 -12301
- package/dist/vuetify.esm.js +81 -62
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +80 -61
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +894 -894
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +2 -0
- package/lib/blueprints/md1.d.mts +2 -0
- package/lib/blueprints/md2.d.mts +2 -0
- package/lib/blueprints/md3.d.mts +2 -0
- 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 +3 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +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 +3 -2
- package/lib/components/VCombobox/VCombobox.mjs.map +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 +50 -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 +3 -2
- package/lib/components/VSelect/VSelect.mjs.map +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 +21 -16
- 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 +2975 -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/theme.mjs +18 -7
- package/lib/composables/theme.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 +14 -7
- 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 +63 -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.esm.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.6-dev.2025-01-06
|
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
|
@@ -2802,7 +2785,8 @@ function genDefaults$1() {
|
|
2802
2785
|
'theme-on-code': '#CCCCCC'
|
2803
2786
|
}
|
2804
2787
|
}
|
2805
|
-
}
|
2788
|
+
},
|
2789
|
+
stylesheetId: 'vuetify-theme-stylesheet'
|
2806
2790
|
};
|
2807
2791
|
}
|
2808
2792
|
function parseThemeOptions() {
|
@@ -2859,6 +2843,19 @@ function createTheme(options) {
|
|
2859
2843
|
return acc;
|
2860
2844
|
});
|
2861
2845
|
const current = computed(() => computedThemes.value[name.value]);
|
2846
|
+
function createCssClass(lines, selector, content) {
|
2847
|
+
lines.push(`${getScopedSelector(selector)} {\n`, ...content.map(line => ` ${line};\n`), '}\n');
|
2848
|
+
}
|
2849
|
+
function getScopedSelector(selector) {
|
2850
|
+
if (!parsedOptions.scope) {
|
2851
|
+
return selector;
|
2852
|
+
}
|
2853
|
+
const scopeSelector = `:where(${parsedOptions.scope})`;
|
2854
|
+
if (selector === ':root') {
|
2855
|
+
return scopeSelector;
|
2856
|
+
}
|
2857
|
+
return `${scopeSelector} ${selector}`;
|
2858
|
+
}
|
2862
2859
|
const styles = computed(() => {
|
2863
2860
|
const lines = [];
|
2864
2861
|
if (current.value?.dark) {
|
@@ -2887,7 +2884,7 @@ function createTheme(options) {
|
|
2887
2884
|
return {
|
2888
2885
|
style: [{
|
2889
2886
|
children: styles.value,
|
2890
|
-
id:
|
2887
|
+
id: parsedOptions.stylesheetId,
|
2891
2888
|
nonce: parsedOptions.cspNonce || false
|
2892
2889
|
}]
|
2893
2890
|
};
|
@@ -2912,7 +2909,7 @@ function createTheme(options) {
|
|
2912
2909
|
}
|
2913
2910
|
}
|
2914
2911
|
} else {
|
2915
|
-
let styleEl = IN_BROWSER ? document.getElementById(
|
2912
|
+
let styleEl = IN_BROWSER ? document.getElementById(parsedOptions.stylesheetId) : null;
|
2916
2913
|
if (IN_BROWSER) {
|
2917
2914
|
watch(styles, updateStyles, {
|
2918
2915
|
immediate: true
|
@@ -2924,7 +2921,7 @@ function createTheme(options) {
|
|
2924
2921
|
if (typeof document !== 'undefined' && !styleEl) {
|
2925
2922
|
const el = document.createElement('style');
|
2926
2923
|
el.type = 'text/css';
|
2927
|
-
el.id =
|
2924
|
+
el.id = parsedOptions.stylesheetId;
|
2928
2925
|
if (parsedOptions.cspNonce) el.setAttribute('nonce', parsedOptions.cspNonce);
|
2929
2926
|
styleEl = el;
|
2930
2927
|
document.head.appendChild(styleEl);
|
@@ -2973,9 +2970,6 @@ function useTheme() {
|
|
2973
2970
|
if (!theme) throw new Error('Could not find Vuetify theme injection');
|
2974
2971
|
return theme;
|
2975
2972
|
}
|
2976
|
-
function createCssClass(lines, selector, content) {
|
2977
|
-
lines.push(`${selector} {\n`, ...content.map(line => ` ${line};\n`), '}\n');
|
2978
|
-
}
|
2979
2973
|
function genCssVariables(theme) {
|
2980
2974
|
const lightOverlay = theme.dark ? 2 : 1;
|
2981
2975
|
const darkOverlay = theme.dark ? 1 : 2;
|
@@ -3251,6 +3245,8 @@ function ExpandTransitionGenerator () {
|
|
3251
3245
|
}
|
3252
3246
|
}
|
3253
3247
|
|
3248
|
+
// Utilities
|
3249
|
+
|
3254
3250
|
// Types
|
3255
3251
|
|
3256
3252
|
const makeVDialogTransitionProps = propsFactory({
|
@@ -4597,7 +4593,7 @@ function useGroupItem(props, injectKey) {
|
|
4597
4593
|
if (!vm) {
|
4598
4594
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4599
4595
|
}
|
4600
|
-
const id =
|
4596
|
+
const id = useId();
|
4601
4597
|
provide(Symbol.for(`${injectKey.description}:id`), id);
|
4602
4598
|
const group = inject$1(injectKey, null);
|
4603
4599
|
if (!group) {
|
@@ -6369,7 +6365,7 @@ const VSelectionControlGroup = genericComponent()({
|
|
6369
6365
|
slots
|
6370
6366
|
} = _ref;
|
6371
6367
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6372
|
-
const uid =
|
6368
|
+
const uid = useId();
|
6373
6369
|
const id = computed(() => props.id || `v-selection-control-group-${uid}`);
|
6374
6370
|
const name = computed(() => props.name || id.value);
|
6375
6371
|
const updateHandlers = new Set();
|
@@ -6506,7 +6502,7 @@ const VSelectionControl = genericComponent()({
|
|
6506
6502
|
backgroundColorStyles,
|
6507
6503
|
trueValue
|
6508
6504
|
} = useSelectionControl(props);
|
6509
|
-
const uid =
|
6505
|
+
const uid = useId();
|
6510
6506
|
const isFocused = shallowRef(false);
|
6511
6507
|
const isFocusVisible = shallowRef(false);
|
6512
6508
|
const input = ref();
|
@@ -6951,7 +6947,7 @@ const makeValidationProps = propsFactory({
|
|
6951
6947
|
}, 'validation');
|
6952
6948
|
function useValidation(props) {
|
6953
6949
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6954
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6950
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : useId();
|
6955
6951
|
const model = useProxiedModel(props, 'modelValue');
|
6956
6952
|
const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6957
6953
|
const form = useForm(props);
|
@@ -7143,7 +7139,7 @@ const VInput = genericComponent()({
|
|
7143
7139
|
const {
|
7144
7140
|
InputIcon
|
7145
7141
|
} = useInputIcon(props);
|
7146
|
-
const uid =
|
7142
|
+
const uid = useId();
|
7147
7143
|
const id = computed(() => props.id || `input-${uid}`);
|
7148
7144
|
const messagesId = computed(() => `${id.value}-messages`);
|
7149
7145
|
const {
|
@@ -7251,7 +7247,7 @@ const VCheckbox = genericComponent()({
|
|
7251
7247
|
focus,
|
7252
7248
|
blur
|
7253
7249
|
} = useFocus(props);
|
7254
|
-
const uid =
|
7250
|
+
const uid = useId();
|
7255
7251
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
7256
7252
|
useRender(() => {
|
7257
7253
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -7991,6 +7987,7 @@ const VSlideGroup = genericComponent()({
|
|
7991
7987
|
|
7992
7988
|
const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
|
7993
7989
|
const makeVChipGroupProps = propsFactory({
|
7990
|
+
baseColor: String,
|
7994
7991
|
column: Boolean,
|
7995
7992
|
filter: Boolean,
|
7996
7993
|
valueComparator: {
|
@@ -8030,6 +8027,7 @@ const VChipGroup = genericComponent()({
|
|
8030
8027
|
} = useGroup(props, VChipGroupSymbol);
|
8031
8028
|
provideDefaults({
|
8032
8029
|
VChip: {
|
8030
|
+
baseColor: toRef(props, 'baseColor'),
|
8033
8031
|
color: toRef(props, 'color'),
|
8034
8032
|
disabled: toRef(props, 'disabled'),
|
8035
8033
|
filter: toRef(props, 'filter'),
|
@@ -8063,6 +8061,7 @@ const makeVChipProps = propsFactory({
|
|
8063
8061
|
activeClass: String,
|
8064
8062
|
appendAvatar: String,
|
8065
8063
|
appendIcon: IconValue,
|
8064
|
+
baseColor: String,
|
8066
8065
|
closable: Boolean,
|
8067
8066
|
closeIcon: {
|
8068
8067
|
type: IconValue,
|
@@ -8137,11 +8136,6 @@ const VChip = genericComponent()({
|
|
8137
8136
|
const {
|
8138
8137
|
borderClasses
|
8139
8138
|
} = useBorder(props);
|
8140
|
-
const {
|
8141
|
-
colorClasses,
|
8142
|
-
colorStyles,
|
8143
|
-
variantClasses
|
8144
|
-
} = useVariant(props);
|
8145
8139
|
const {
|
8146
8140
|
densityClasses
|
8147
8141
|
} = useDensity(props);
|
@@ -8171,6 +8165,18 @@ const VChip = genericComponent()({
|
|
8171
8165
|
emit('click:close', e);
|
8172
8166
|
}
|
8173
8167
|
}));
|
8168
|
+
const variantProps = computed(() => {
|
8169
|
+
const showColor = !group || group.isSelected.value;
|
8170
|
+
return {
|
8171
|
+
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
8172
|
+
variant: props.variant
|
8173
|
+
};
|
8174
|
+
});
|
8175
|
+
const {
|
8176
|
+
colorClasses,
|
8177
|
+
colorStyles,
|
8178
|
+
variantClasses
|
8179
|
+
} = useVariant(variantProps);
|
8174
8180
|
function onClick(e) {
|
8175
8181
|
emit('click', e);
|
8176
8182
|
if (!isClickable.value) return;
|
@@ -8191,7 +8197,6 @@ const VChip = genericComponent()({
|
|
8191
8197
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
8192
8198
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
8193
8199
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
8194
|
-
const hasColor = !group || group.isSelected.value;
|
8195
8200
|
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
8196
8201
|
"class": ['v-chip', {
|
8197
8202
|
'v-chip--disabled': props.disabled,
|
@@ -8200,8 +8205,8 @@ const VChip = genericComponent()({
|
|
8200
8205
|
'v-chip--filter': hasFilter,
|
8201
8206
|
'v-chip--pill': props.pill,
|
8202
8207
|
[`${props.activeClass}`]: props.activeClass && link.isActive?.value
|
8203
|
-
}, themeClasses.value, borderClasses.value,
|
8204
|
-
"style": [
|
8208
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
8209
|
+
"style": [colorStyles.value, props.style],
|
8205
8210
|
"disabled": props.disabled || undefined,
|
8206
8211
|
"draggable": props.draggable,
|
8207
8212
|
"tabindex": isClickable.value ? 0 : undefined,
|
@@ -8930,7 +8935,7 @@ const useNested = props => {
|
|
8930
8935
|
};
|
8931
8936
|
const useNestedItem = (id, isGroup) => {
|
8932
8937
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
8933
|
-
const uidSymbol = Symbol(
|
8938
|
+
const uidSymbol = Symbol('nested item');
|
8934
8939
|
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8935
8940
|
const item = {
|
8936
8941
|
...parent,
|
@@ -11440,7 +11445,7 @@ const VMenu = genericComponent()({
|
|
11440
11445
|
const {
|
11441
11446
|
isRtl
|
11442
11447
|
} = useRtl();
|
11443
|
-
const uid =
|
11448
|
+
const uid = useId();
|
11444
11449
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11445
11450
|
const overlay = ref();
|
11446
11451
|
const parent = inject$1(VMenuSymbol, null);
|
@@ -11736,7 +11741,7 @@ const VField = genericComponent()({
|
|
11736
11741
|
} = useRtl();
|
11737
11742
|
const isActive = computed(() => props.dirty || props.active);
|
11738
11743
|
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11739
|
-
const uid =
|
11744
|
+
const uid = useId();
|
11740
11745
|
const id = computed(() => props.id || `input-${uid}`);
|
11741
11746
|
const messagesId = computed(() => `${id.value}-messages`);
|
11742
11747
|
const labelRef = ref();
|
@@ -12202,6 +12207,10 @@ const makeVirtualProps = propsFactory({
|
|
12202
12207
|
type: [Number, String],
|
12203
12208
|
default: null
|
12204
12209
|
},
|
12210
|
+
itemKey: {
|
12211
|
+
type: [String, Array, Function],
|
12212
|
+
default: null
|
12213
|
+
},
|
12205
12214
|
height: [Number, String]
|
12206
12215
|
}, 'virtual');
|
12207
12216
|
function useVirtual(props, items) {
|
@@ -12380,11 +12389,14 @@ function useVirtual(props, items) {
|
|
12380
12389
|
}
|
12381
12390
|
}
|
12382
12391
|
const computedItems = computed(() => {
|
12383
|
-
return items.value.slice(first.value, last.value).map((item, index) =>
|
12384
|
-
|
12385
|
-
|
12386
|
-
|
12387
|
-
|
12392
|
+
return items.value.slice(first.value, last.value).map((item, index) => {
|
12393
|
+
const _index = index + first.value;
|
12394
|
+
return {
|
12395
|
+
raw: item,
|
12396
|
+
index: _index,
|
12397
|
+
key: getPropertyFromItem(item, props.itemKey, _index)
|
12398
|
+
};
|
12399
|
+
});
|
12388
12400
|
});
|
12389
12401
|
watch(items, () => {
|
12390
12402
|
sizes = Array.from({
|
@@ -12396,7 +12408,7 @@ function useVirtual(props, items) {
|
|
12396
12408
|
updateOffsets.immediate();
|
12397
12409
|
calculateVisibleItems();
|
12398
12410
|
}, {
|
12399
|
-
deep:
|
12411
|
+
deep: 1
|
12400
12412
|
});
|
12401
12413
|
return {
|
12402
12414
|
calculateVisibleItems,
|
@@ -12902,7 +12914,8 @@ const VSelect = genericComponent()({
|
|
12902
12914
|
}, null)), createVNode(VVirtualScroll, {
|
12903
12915
|
"ref": vVirtualScrollRef,
|
12904
12916
|
"renderless": true,
|
12905
|
-
"items": displayItems.value
|
12917
|
+
"items": displayItems.value,
|
12918
|
+
"itemKey": "value"
|
12906
12919
|
}, {
|
12907
12920
|
default: _ref2 => {
|
12908
12921
|
let {
|
@@ -13477,7 +13490,8 @@ const VAutocomplete = genericComponent()({
|
|
13477
13490
|
}, null)), createVNode(VVirtualScroll, {
|
13478
13491
|
"ref": vVirtualScrollRef,
|
13479
13492
|
"renderless": true,
|
13480
|
-
"items": displayItems.value
|
13493
|
+
"items": displayItems.value,
|
13494
|
+
"itemKey": "value"
|
13481
13495
|
}, {
|
13482
13496
|
default: _ref4 => {
|
13483
13497
|
let {
|
@@ -17357,7 +17371,8 @@ const VCombobox = genericComponent()({
|
|
17357
17371
|
}, null)), createVNode(VVirtualScroll, {
|
17358
17372
|
"ref": vVirtualScrollRef,
|
17359
17373
|
"renderless": true,
|
17360
|
-
"items": displayItems.value
|
17374
|
+
"items": displayItems.value,
|
17375
|
+
"itemKey": "value"
|
17361
17376
|
}, {
|
17362
17377
|
default: _ref4 => {
|
17363
17378
|
let {
|
@@ -24897,7 +24912,7 @@ const VRadioGroup = genericComponent()({
|
|
24897
24912
|
attrs,
|
24898
24913
|
slots
|
24899
24914
|
} = _ref;
|
24900
|
-
const uid =
|
24915
|
+
const uid = useId();
|
24901
24916
|
const id = computed(() => props.id || `radio-group-${uid}`);
|
24902
24917
|
const model = useProxiedModel(props, 'modelValue');
|
24903
24918
|
useRender(() => {
|
@@ -25260,7 +25275,8 @@ const VRating = genericComponent()({
|
|
25260
25275
|
onClick
|
25261
25276
|
};
|
25262
25277
|
}));
|
25263
|
-
const
|
25278
|
+
const uid = useId();
|
25279
|
+
const name = computed(() => props.name ?? `v-rating-${uid}`);
|
25264
25280
|
function VRatingItem(_ref2) {
|
25265
25281
|
let {
|
25266
25282
|
value,
|
@@ -25784,6 +25800,8 @@ const makeLineProps = propsFactory({
|
|
25784
25800
|
}
|
25785
25801
|
}, 'Line');
|
25786
25802
|
|
25803
|
+
// Utilities
|
25804
|
+
|
25787
25805
|
// Types
|
25788
25806
|
|
25789
25807
|
const makeVBarlineProps = propsFactory({
|
@@ -25797,7 +25815,7 @@ const VBarline = genericComponent()({
|
|
25797
25815
|
let {
|
25798
25816
|
slots
|
25799
25817
|
} = _ref;
|
25800
|
-
const uid =
|
25818
|
+
const uid = useId();
|
25801
25819
|
const id = computed(() => props.id || `barline-${uid}`);
|
25802
25820
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
|
25803
25821
|
const hasLabels = computed(() => {
|
@@ -25980,6 +25998,8 @@ function moveTo(to, from, radius) {
|
|
25980
25998
|
};
|
25981
25999
|
}
|
25982
26000
|
|
26001
|
+
// Utilities
|
26002
|
+
|
25983
26003
|
// Types
|
25984
26004
|
|
25985
26005
|
const makeVTrendlineProps = propsFactory({
|
@@ -25993,7 +26013,7 @@ const VTrendline = genericComponent()({
|
|
25993
26013
|
let {
|
25994
26014
|
slots
|
25995
26015
|
} = _ref;
|
25996
|
-
const uid =
|
26016
|
+
const uid = useId();
|
25997
26017
|
const id = computed(() => props.id || `trendline-${uid}`);
|
25998
26018
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25999
26019
|
const lastLength = ref(0);
|
@@ -26697,7 +26717,7 @@ const VSwitch = genericComponent()({
|
|
26697
26717
|
const loaderColor = computed(() => {
|
26698
26718
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26699
26719
|
});
|
26700
|
-
const uid =
|
26720
|
+
const uid = useId();
|
26701
26721
|
const id = computed(() => props.id || `switch-${uid}`);
|
26702
26722
|
function onChange() {
|
26703
26723
|
if (indeterminate.value) {
|
@@ -27742,7 +27762,7 @@ const VTooltip = genericComponent()({
|
|
27742
27762
|
const {
|
27743
27763
|
scopeId
|
27744
27764
|
} = useScopeId();
|
27745
|
-
const uid =
|
27765
|
+
const uid = useId();
|
27746
27766
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
27747
27767
|
const overlay = ref();
|
27748
27768
|
const location = computed(() => {
|
@@ -28255,7 +28275,6 @@ function createVuetify$1() {
|
|
28255
28275
|
};
|
28256
28276
|
}
|
28257
28277
|
}
|
28258
|
-
getUid.reset();
|
28259
28278
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
28260
28279
|
app.mixin({
|
28261
28280
|
computed: {
|
@@ -28284,7 +28303,7 @@ function createVuetify$1() {
|
|
28284
28303
|
goTo
|
28285
28304
|
};
|
28286
28305
|
}
|
28287
|
-
const version$1 = "3.7.
|
28306
|
+
const version$1 = "3.7.6-dev.2025-01-06";
|
28288
28307
|
createVuetify$1.version = version$1;
|
28289
28308
|
|
28290
28309
|
// Vue's inject() can only be used in setup
|
@@ -28309,7 +28328,7 @@ const createVuetify = function () {
|
|
28309
28328
|
...options
|
28310
28329
|
});
|
28311
28330
|
};
|
28312
|
-
const version = "3.7.
|
28331
|
+
const version = "3.7.6-dev.2025-01-06";
|
28313
28332
|
createVuetify.version = version;
|
28314
28333
|
|
28315
28334
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|