@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-labs.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, 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
|
@@ -2361,7 +2344,8 @@ function genDefaults$2() {
|
|
2361
2344
|
'theme-on-code': '#CCCCCC'
|
2362
2345
|
}
|
2363
2346
|
}
|
2364
|
-
}
|
2347
|
+
},
|
2348
|
+
stylesheetId: 'vuetify-theme-stylesheet'
|
2365
2349
|
};
|
2366
2350
|
}
|
2367
2351
|
function parseThemeOptions() {
|
@@ -2418,6 +2402,19 @@ function createTheme(options) {
|
|
2418
2402
|
return acc;
|
2419
2403
|
});
|
2420
2404
|
const current = computed(() => computedThemes.value[name.value]);
|
2405
|
+
function createCssClass(lines, selector, content) {
|
2406
|
+
lines.push(`${getScopedSelector(selector)} {\n`, ...content.map(line => ` ${line};\n`), '}\n');
|
2407
|
+
}
|
2408
|
+
function getScopedSelector(selector) {
|
2409
|
+
if (!parsedOptions.scope) {
|
2410
|
+
return selector;
|
2411
|
+
}
|
2412
|
+
const scopeSelector = `:where(${parsedOptions.scope})`;
|
2413
|
+
if (selector === ':root') {
|
2414
|
+
return scopeSelector;
|
2415
|
+
}
|
2416
|
+
return `${scopeSelector} ${selector}`;
|
2417
|
+
}
|
2421
2418
|
const styles = computed(() => {
|
2422
2419
|
const lines = [];
|
2423
2420
|
if (current.value?.dark) {
|
@@ -2446,7 +2443,7 @@ function createTheme(options) {
|
|
2446
2443
|
return {
|
2447
2444
|
style: [{
|
2448
2445
|
children: styles.value,
|
2449
|
-
id:
|
2446
|
+
id: parsedOptions.stylesheetId,
|
2450
2447
|
nonce: parsedOptions.cspNonce || false
|
2451
2448
|
}]
|
2452
2449
|
};
|
@@ -2471,7 +2468,7 @@ function createTheme(options) {
|
|
2471
2468
|
}
|
2472
2469
|
}
|
2473
2470
|
} else {
|
2474
|
-
let styleEl = IN_BROWSER ? document.getElementById(
|
2471
|
+
let styleEl = IN_BROWSER ? document.getElementById(parsedOptions.stylesheetId) : null;
|
2475
2472
|
if (IN_BROWSER) {
|
2476
2473
|
watch(styles, updateStyles, {
|
2477
2474
|
immediate: true
|
@@ -2483,7 +2480,7 @@ function createTheme(options) {
|
|
2483
2480
|
if (typeof document !== 'undefined' && !styleEl) {
|
2484
2481
|
const el = document.createElement('style');
|
2485
2482
|
el.type = 'text/css';
|
2486
|
-
el.id =
|
2483
|
+
el.id = parsedOptions.stylesheetId;
|
2487
2484
|
if (parsedOptions.cspNonce) el.setAttribute('nonce', parsedOptions.cspNonce);
|
2488
2485
|
styleEl = el;
|
2489
2486
|
document.head.appendChild(styleEl);
|
@@ -2532,9 +2529,6 @@ function useTheme() {
|
|
2532
2529
|
if (!theme) throw new Error('Could not find Vuetify theme injection');
|
2533
2530
|
return theme;
|
2534
2531
|
}
|
2535
|
-
function createCssClass(lines, selector, content) {
|
2536
|
-
lines.push(`${selector} {\n`, ...content.map(line => ` ${line};\n`), '}\n');
|
2537
|
-
}
|
2538
2532
|
function genCssVariables(theme) {
|
2539
2533
|
const lightOverlay = theme.dark ? 2 : 1;
|
2540
2534
|
const darkOverlay = theme.dark ? 1 : 2;
|
@@ -2810,6 +2804,8 @@ function ExpandTransitionGenerator () {
|
|
2810
2804
|
}
|
2811
2805
|
}
|
2812
2806
|
|
2807
|
+
// Utilities
|
2808
|
+
|
2813
2809
|
// Types
|
2814
2810
|
|
2815
2811
|
const makeVDialogTransitionProps = propsFactory({
|
@@ -4156,7 +4152,7 @@ function useGroupItem(props, injectKey) {
|
|
4156
4152
|
if (!vm) {
|
4157
4153
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4158
4154
|
}
|
4159
|
-
const id =
|
4155
|
+
const id = useId();
|
4160
4156
|
provide(Symbol.for(`${injectKey.description}:id`), id);
|
4161
4157
|
const group = inject$1(injectKey, null);
|
4162
4158
|
if (!group) {
|
@@ -6136,7 +6132,7 @@ const VSelectionControlGroup = genericComponent()({
|
|
6136
6132
|
slots
|
6137
6133
|
} = _ref;
|
6138
6134
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6139
|
-
const uid =
|
6135
|
+
const uid = useId();
|
6140
6136
|
const id = computed(() => props.id || `v-selection-control-group-${uid}`);
|
6141
6137
|
const name = computed(() => props.name || id.value);
|
6142
6138
|
const updateHandlers = new Set();
|
@@ -6273,7 +6269,7 @@ const VSelectionControl = genericComponent()({
|
|
6273
6269
|
backgroundColorStyles,
|
6274
6270
|
trueValue
|
6275
6271
|
} = useSelectionControl(props);
|
6276
|
-
const uid =
|
6272
|
+
const uid = useId();
|
6277
6273
|
const isFocused = shallowRef(false);
|
6278
6274
|
const isFocusVisible = shallowRef(false);
|
6279
6275
|
const input = ref();
|
@@ -6718,7 +6714,7 @@ const makeValidationProps = propsFactory({
|
|
6718
6714
|
}, 'validation');
|
6719
6715
|
function useValidation(props) {
|
6720
6716
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6721
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6717
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : useId();
|
6722
6718
|
const model = useProxiedModel(props, 'modelValue');
|
6723
6719
|
const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6724
6720
|
const form = useForm(props);
|
@@ -6910,7 +6906,7 @@ const VInput = genericComponent()({
|
|
6910
6906
|
const {
|
6911
6907
|
InputIcon
|
6912
6908
|
} = useInputIcon(props);
|
6913
|
-
const uid =
|
6909
|
+
const uid = useId();
|
6914
6910
|
const id = computed(() => props.id || `input-${uid}`);
|
6915
6911
|
const messagesId = computed(() => `${id.value}-messages`);
|
6916
6912
|
const {
|
@@ -7018,7 +7014,7 @@ const VCheckbox = genericComponent()({
|
|
7018
7014
|
focus,
|
7019
7015
|
blur
|
7020
7016
|
} = useFocus(props);
|
7021
|
-
const uid =
|
7017
|
+
const uid = useId();
|
7022
7018
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
7023
7019
|
useRender(() => {
|
7024
7020
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -7758,6 +7754,7 @@ const VSlideGroup = genericComponent()({
|
|
7758
7754
|
|
7759
7755
|
const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
|
7760
7756
|
const makeVChipGroupProps = propsFactory({
|
7757
|
+
baseColor: String,
|
7761
7758
|
column: Boolean,
|
7762
7759
|
filter: Boolean,
|
7763
7760
|
valueComparator: {
|
@@ -7797,6 +7794,7 @@ const VChipGroup = genericComponent()({
|
|
7797
7794
|
} = useGroup(props, VChipGroupSymbol);
|
7798
7795
|
provideDefaults({
|
7799
7796
|
VChip: {
|
7797
|
+
baseColor: toRef(props, 'baseColor'),
|
7800
7798
|
color: toRef(props, 'color'),
|
7801
7799
|
disabled: toRef(props, 'disabled'),
|
7802
7800
|
filter: toRef(props, 'filter'),
|
@@ -7830,6 +7828,7 @@ const makeVChipProps = propsFactory({
|
|
7830
7828
|
activeClass: String,
|
7831
7829
|
appendAvatar: String,
|
7832
7830
|
appendIcon: IconValue,
|
7831
|
+
baseColor: String,
|
7833
7832
|
closable: Boolean,
|
7834
7833
|
closeIcon: {
|
7835
7834
|
type: IconValue,
|
@@ -7904,11 +7903,6 @@ const VChip = genericComponent()({
|
|
7904
7903
|
const {
|
7905
7904
|
borderClasses
|
7906
7905
|
} = useBorder(props);
|
7907
|
-
const {
|
7908
|
-
colorClasses,
|
7909
|
-
colorStyles,
|
7910
|
-
variantClasses
|
7911
|
-
} = useVariant(props);
|
7912
7906
|
const {
|
7913
7907
|
densityClasses
|
7914
7908
|
} = useDensity(props);
|
@@ -7938,6 +7932,18 @@ const VChip = genericComponent()({
|
|
7938
7932
|
emit('click:close', e);
|
7939
7933
|
}
|
7940
7934
|
}));
|
7935
|
+
const variantProps = computed(() => {
|
7936
|
+
const showColor = !group || group.isSelected.value;
|
7937
|
+
return {
|
7938
|
+
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
7939
|
+
variant: props.variant
|
7940
|
+
};
|
7941
|
+
});
|
7942
|
+
const {
|
7943
|
+
colorClasses,
|
7944
|
+
colorStyles,
|
7945
|
+
variantClasses
|
7946
|
+
} = useVariant(variantProps);
|
7941
7947
|
function onClick(e) {
|
7942
7948
|
emit('click', e);
|
7943
7949
|
if (!isClickable.value) return;
|
@@ -7958,7 +7964,6 @@ const VChip = genericComponent()({
|
|
7958
7964
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
7959
7965
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
7960
7966
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
7961
|
-
const hasColor = !group || group.isSelected.value;
|
7962
7967
|
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
7963
7968
|
"class": ['v-chip', {
|
7964
7969
|
'v-chip--disabled': props.disabled,
|
@@ -7967,8 +7972,8 @@ const VChip = genericComponent()({
|
|
7967
7972
|
'v-chip--filter': hasFilter,
|
7968
7973
|
'v-chip--pill': props.pill,
|
7969
7974
|
[`${props.activeClass}`]: props.activeClass && link.isActive?.value
|
7970
|
-
}, themeClasses.value, borderClasses.value,
|
7971
|
-
"style": [
|
7975
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
7976
|
+
"style": [colorStyles.value, props.style],
|
7972
7977
|
"disabled": props.disabled || undefined,
|
7973
7978
|
"draggable": props.draggable,
|
7974
7979
|
"tabindex": isClickable.value ? 0 : undefined,
|
@@ -8697,7 +8702,7 @@ const useNested = props => {
|
|
8697
8702
|
};
|
8698
8703
|
const useNestedItem = (id, isGroup) => {
|
8699
8704
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
8700
|
-
const uidSymbol = Symbol(
|
8705
|
+
const uidSymbol = Symbol('nested item');
|
8701
8706
|
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8702
8707
|
const item = {
|
8703
8708
|
...parent,
|
@@ -11207,7 +11212,7 @@ const VMenu = genericComponent()({
|
|
11207
11212
|
const {
|
11208
11213
|
isRtl
|
11209
11214
|
} = useRtl();
|
11210
|
-
const uid =
|
11215
|
+
const uid = useId();
|
11211
11216
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11212
11217
|
const overlay = ref();
|
11213
11218
|
const parent = inject$1(VMenuSymbol, null);
|
@@ -11503,7 +11508,7 @@ const VField = genericComponent()({
|
|
11503
11508
|
} = useRtl();
|
11504
11509
|
const isActive = computed(() => props.dirty || props.active);
|
11505
11510
|
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11506
|
-
const uid =
|
11511
|
+
const uid = useId();
|
11507
11512
|
const id = computed(() => props.id || `input-${uid}`);
|
11508
11513
|
const messagesId = computed(() => `${id.value}-messages`);
|
11509
11514
|
const labelRef = ref();
|
@@ -11969,6 +11974,10 @@ const makeVirtualProps = propsFactory({
|
|
11969
11974
|
type: [Number, String],
|
11970
11975
|
default: null
|
11971
11976
|
},
|
11977
|
+
itemKey: {
|
11978
|
+
type: [String, Array, Function],
|
11979
|
+
default: null
|
11980
|
+
},
|
11972
11981
|
height: [Number, String]
|
11973
11982
|
}, 'virtual');
|
11974
11983
|
function useVirtual(props, items) {
|
@@ -12147,11 +12156,14 @@ function useVirtual(props, items) {
|
|
12147
12156
|
}
|
12148
12157
|
}
|
12149
12158
|
const computedItems = computed(() => {
|
12150
|
-
return items.value.slice(first.value, last.value).map((item, index) =>
|
12151
|
-
|
12152
|
-
|
12153
|
-
|
12154
|
-
|
12159
|
+
return items.value.slice(first.value, last.value).map((item, index) => {
|
12160
|
+
const _index = index + first.value;
|
12161
|
+
return {
|
12162
|
+
raw: item,
|
12163
|
+
index: _index,
|
12164
|
+
key: getPropertyFromItem(item, props.itemKey, _index)
|
12165
|
+
};
|
12166
|
+
});
|
12155
12167
|
});
|
12156
12168
|
watch(items, () => {
|
12157
12169
|
sizes = Array.from({
|
@@ -12163,7 +12175,7 @@ function useVirtual(props, items) {
|
|
12163
12175
|
updateOffsets.immediate();
|
12164
12176
|
calculateVisibleItems();
|
12165
12177
|
}, {
|
12166
|
-
deep:
|
12178
|
+
deep: 1
|
12167
12179
|
});
|
12168
12180
|
return {
|
12169
12181
|
calculateVisibleItems,
|
@@ -12669,7 +12681,8 @@ const VSelect = genericComponent()({
|
|
12669
12681
|
}, null)), createVNode(VVirtualScroll, {
|
12670
12682
|
"ref": vVirtualScrollRef,
|
12671
12683
|
"renderless": true,
|
12672
|
-
"items": displayItems.value
|
12684
|
+
"items": displayItems.value,
|
12685
|
+
"itemKey": "value"
|
12673
12686
|
}, {
|
12674
12687
|
default: _ref2 => {
|
12675
12688
|
let {
|
@@ -13244,7 +13257,8 @@ const VAutocomplete = genericComponent()({
|
|
13244
13257
|
}, null)), createVNode(VVirtualScroll, {
|
13245
13258
|
"ref": vVirtualScrollRef,
|
13246
13259
|
"renderless": true,
|
13247
|
-
"items": displayItems.value
|
13260
|
+
"items": displayItems.value,
|
13261
|
+
"itemKey": "value"
|
13248
13262
|
}, {
|
13249
13263
|
default: _ref4 => {
|
13250
13264
|
let {
|
@@ -17124,7 +17138,8 @@ const VCombobox = genericComponent()({
|
|
17124
17138
|
}, null)), createVNode(VVirtualScroll, {
|
17125
17139
|
"ref": vVirtualScrollRef,
|
17126
17140
|
"renderless": true,
|
17127
|
-
"items": displayItems.value
|
17141
|
+
"items": displayItems.value,
|
17142
|
+
"itemKey": "value"
|
17128
17143
|
}, {
|
17129
17144
|
default: _ref4 => {
|
17130
17145
|
let {
|
@@ -24664,7 +24679,7 @@ const VRadioGroup = genericComponent()({
|
|
24664
24679
|
attrs,
|
24665
24680
|
slots
|
24666
24681
|
} = _ref;
|
24667
|
-
const uid =
|
24682
|
+
const uid = useId();
|
24668
24683
|
const id = computed(() => props.id || `radio-group-${uid}`);
|
24669
24684
|
const model = useProxiedModel(props, 'modelValue');
|
24670
24685
|
useRender(() => {
|
@@ -25027,7 +25042,8 @@ const VRating = genericComponent()({
|
|
25027
25042
|
onClick
|
25028
25043
|
};
|
25029
25044
|
}));
|
25030
|
-
const
|
25045
|
+
const uid = useId();
|
25046
|
+
const name = computed(() => props.name ?? `v-rating-${uid}`);
|
25031
25047
|
function VRatingItem(_ref2) {
|
25032
25048
|
let {
|
25033
25049
|
value,
|
@@ -25551,6 +25567,8 @@ const makeLineProps = propsFactory({
|
|
25551
25567
|
}
|
25552
25568
|
}, 'Line');
|
25553
25569
|
|
25570
|
+
// Utilities
|
25571
|
+
|
25554
25572
|
// Types
|
25555
25573
|
|
25556
25574
|
const makeVBarlineProps = propsFactory({
|
@@ -25564,7 +25582,7 @@ const VBarline = genericComponent()({
|
|
25564
25582
|
let {
|
25565
25583
|
slots
|
25566
25584
|
} = _ref;
|
25567
|
-
const uid =
|
25585
|
+
const uid = useId();
|
25568
25586
|
const id = computed(() => props.id || `barline-${uid}`);
|
25569
25587
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
|
25570
25588
|
const hasLabels = computed(() => {
|
@@ -25747,6 +25765,8 @@ function moveTo(to, from, radius) {
|
|
25747
25765
|
};
|
25748
25766
|
}
|
25749
25767
|
|
25768
|
+
// Utilities
|
25769
|
+
|
25750
25770
|
// Types
|
25751
25771
|
|
25752
25772
|
const makeVTrendlineProps = propsFactory({
|
@@ -25760,7 +25780,7 @@ const VTrendline = genericComponent()({
|
|
25760
25780
|
let {
|
25761
25781
|
slots
|
25762
25782
|
} = _ref;
|
25763
|
-
const uid =
|
25783
|
+
const uid = useId();
|
25764
25784
|
const id = computed(() => props.id || `trendline-${uid}`);
|
25765
25785
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25766
25786
|
const lastLength = ref(0);
|
@@ -26464,7 +26484,7 @@ const VSwitch = genericComponent()({
|
|
26464
26484
|
const loaderColor = computed(() => {
|
26465
26485
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26466
26486
|
});
|
26467
|
-
const uid =
|
26487
|
+
const uid = useId();
|
26468
26488
|
const id = computed(() => props.id || `switch-${uid}`);
|
26469
26489
|
function onChange() {
|
26470
26490
|
if (indeterminate.value) {
|
@@ -27509,7 +27529,7 @@ const VTooltip = genericComponent()({
|
|
27509
27529
|
const {
|
27510
27530
|
scopeId
|
27511
27531
|
} = useScopeId();
|
27512
|
-
const uid =
|
27532
|
+
const uid = useId();
|
27513
27533
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
27514
27534
|
const overlay = ref();
|
27515
27535
|
const location = computed(() => {
|
@@ -30717,7 +30737,6 @@ function createVuetify$1() {
|
|
30717
30737
|
};
|
30718
30738
|
}
|
30719
30739
|
}
|
30720
|
-
getUid.reset();
|
30721
30740
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
30722
30741
|
app.mixin({
|
30723
30742
|
computed: {
|
@@ -30746,7 +30765,7 @@ function createVuetify$1() {
|
|
30746
30765
|
goTo
|
30747
30766
|
};
|
30748
30767
|
}
|
30749
|
-
const version$1 = "3.7.
|
30768
|
+
const version$1 = "3.7.6-dev.2025-01-06";
|
30750
30769
|
createVuetify$1.version = version$1;
|
30751
30770
|
|
30752
30771
|
// Vue's inject() can only be used in setup
|
@@ -30999,7 +31018,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30999
31018
|
|
31000
31019
|
/* eslint-disable local-rules/sort-imports */
|
31001
31020
|
|
31002
|
-
const version = "3.7.
|
31021
|
+
const version = "3.7.6-dev.2025-01-06";
|
31003
31022
|
|
31004
31023
|
/* eslint-disable local-rules/sort-imports */
|
31005
31024
|
|