@vuetify/nightly 3.7.6-dev.2024-12-18 → 3.7.6-master.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 +2045 -2053
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +174 -174
- package/dist/json/tags.json +0 -2
- package/dist/json/web-types.json +4154 -4172
- package/dist/vuetify-labs.css +3035 -3035
- package/dist/vuetify-labs.d.ts +14357 -3345
- package/dist/vuetify-labs.esm.js +47 -45
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +46 -44
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3397 -3397
- package/dist/vuetify.d.ts +11515 -2341
- package/dist/vuetify.esm.js +47 -45
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +46 -44
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +883 -878
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.mjs +1 -1
- package/lib/components/VAlert/index.d.mts +86 -8
- package/lib/components/VApp/index.d.mts +20 -4
- 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 +154 -18
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/index.d.mts +1380 -221
- package/lib/components/VAvatar/index.d.mts +31 -4
- package/lib/components/VBadge/VBadge.mjs +1 -1
- package/lib/components/VBadge/index.d.mts +41 -4
- package/lib/components/VBanner/VBanner.mjs +1 -1
- package/lib/components/VBanner/index.d.mts +88 -12
- package/lib/components/VBottomNavigation/index.d.mts +32 -4
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
- package/lib/components/VBottomSheet/index.d.mts +88 -4
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +65 -12
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/index.d.mts +79 -11
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
- package/lib/components/VBtnGroup/index.d.mts +28 -4
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
- package/lib/components/VBtnToggle/index.d.mts +33 -13
- 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 +190 -24
- 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 +95 -17
- 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 +90 -8
- package/lib/components/VChip/VChip.mjs +9 -16
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +105 -9
- package/lib/components/VChipGroup/VChipGroup.mjs +1 -3
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +43 -24
- package/lib/components/VCode/index.d.mts +18 -4
- package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
- package/lib/components/VColorPicker/index.d.mts +68 -4
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/index.d.mts +1380 -221
- 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 +13 -6
- package/lib/components/VCounter/VCounter.mjs +1 -1
- package/lib/components/VCounter/index.d.mts +31 -9
- package/lib/components/VDataIterator/index.d.mts +56 -12
- 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 +388 -36
- 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 +276 -24
- package/lib/components/VDefaultsProvider/index.d.mts +20 -4
- 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 +389 -143
- package/lib/components/VDivider/index.d.mts +24 -4
- package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
- package/lib/components/VEmptyState/index.d.mts +66 -4
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +159 -23
- package/lib/components/VFab/VFab.mjs +1 -1
- package/lib/components/VFab/index.d.mts +84 -15
- 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 +59 -11
- package/lib/components/VFileInput/VFileInput.mjs +1 -1
- package/lib/components/VFileInput/index.d.mts +256 -71
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VFooter/index.d.mts +29 -4
- package/lib/components/VForm/index.d.mts +175 -267
- package/lib/components/VGrid/VContainer.mjs +1 -1
- package/lib/components/VGrid/index.d.mts +118 -16
- package/lib/components/VHover/index.d.mts +33 -4
- package/lib/components/VIcon/index.d.mts +75 -17
- package/lib/components/VImg/VImg.mjs +1 -1
- package/lib/components/VImg/index.d.mts +74 -19
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
- package/lib/components/VInfiniteScroll/index.d.mts +46 -4
- package/lib/components/VInput/VInput.mjs +4 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.mts +37 -4
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +74 -17
- package/lib/components/VKbd/index.d.mts +18 -4
- package/lib/components/VLabel/index.d.mts +20 -4
- package/lib/components/VLayout/index.d.mts +48 -8
- package/lib/components/VLazy/VLazy.mjs +1 -1
- package/lib/components/VLazy/index.d.mts +31 -4
- 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 +291 -48
- package/lib/components/VLocaleProvider/index.d.mts +21 -4
- package/lib/components/VMain/index.d.mts +25 -4
- package/lib/components/VMenu/VMenu.mjs +4 -4
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +397 -155
- package/lib/components/VMessages/index.d.mts +27 -4
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +1 -1
- package/lib/components/VNavigationDrawer/index.d.mts +62 -7
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/index.d.mts +52 -7
- package/lib/components/VOverlay/VOverlay.mjs +1 -1
- package/lib/components/VOverlay/index.d.mts +101 -19
- package/lib/components/VPagination/VPagination.mjs +1 -1
- package/lib/components/VPagination/index.d.mts +64 -4
- package/lib/components/VParallax/VParallax.mjs +1 -1
- package/lib/components/VParallax/index.d.mts +27 -4
- package/lib/components/VProgressCircular/index.d.mts +34 -4
- package/lib/components/VProgressLinear/index.d.mts +54 -4
- package/lib/components/VRadio/VRadio.mjs +1 -1
- package/lib/components/VRadio/index.d.mts +68 -4
- package/lib/components/VRadioGroup/VRadioGroup.mjs +4 -4
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +48 -4
- package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
- package/lib/components/VRangeSlider/index.d.mts +107 -4
- package/lib/components/VRating/VRating.mjs +4 -5
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/index.d.mts +42 -4
- package/lib/components/VResponsive/index.d.mts +29 -4
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/index.d.mts +1372 -220
- package/lib/components/VSelectionControl/VSelectionControl.mjs +4 -4
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +37 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +26 -4
- package/lib/components/VSheet/VSheet.mjs +1 -1
- package/lib/components/VSheet/index.d.mts +32 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
- package/lib/components/VSkeletonLoader/index.d.mts +28 -4
- package/lib/components/VSlideGroup/index.d.mts +77 -21
- package/lib/components/VSlider/VSlider.mjs +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +1 -1
- package/lib/components/VSlider/index.d.mts +106 -4
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
- package/lib/components/VSnackbar/index.d.mts +398 -152
- package/lib/components/VSparkline/VBarline.mjs +4 -3
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +4 -3
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSparkline/index.d.mts +49 -4
- package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
- package/lib/components/VSpeedDial/index.d.mts +85 -4
- 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 +250 -24
- package/lib/components/VSwitch/VSwitch.mjs +4 -4
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.mts +59 -4
- package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
- package/lib/components/VSystemBar/index.d.mts +28 -4
- package/lib/components/VTable/index.d.mts +33 -4
- 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 +401 -105
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/index.d.mts +374 -152
- package/lib/components/VTextarea/VTextarea.mjs +1 -1
- package/lib/components/VTextarea/index.d.mts +244 -71
- package/lib/components/VThemeProvider/index.d.mts +20 -4
- 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 +75 -8
- package/lib/components/VToolbar/VToolbar.mjs +1 -1
- package/lib/components/VToolbar/index.d.mts +90 -12
- package/lib/components/VTooltip/VTooltip.mjs +4 -4
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.mts +386 -147
- package/lib/components/VValidation/index.d.mts +24 -10
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +15 -4
- package/lib/components/VWindow/VWindow.mjs +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +1 -1
- package/lib/components/VWindow/index.d.mts +54 -15
- package/lib/components/index.d.mts +11736 -2562
- package/lib/components/transitions/dialog-transition.mjs +2 -1
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/components/transitions/index.d.mts +309 -64
- 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 +3 -2
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +65 -65
- package/lib/labs/VCalendar/VCalendar.mjs +1 -1
- package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
- package/lib/labs/VCalendar/index.d.mts +211 -24
- package/lib/labs/VDateInput/VDateInput.mjs +1 -1
- package/lib/labs/VDateInput/index.d.mts +115 -4
- package/lib/labs/VFileUpload/VFileUpload.mjs +1 -1
- package/lib/labs/VFileUpload/VFileUploadItem.mjs +1 -1
- package/lib/labs/VFileUpload/index.d.mts +195 -8
- package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
- package/lib/labs/VNumberInput/index.d.mts +1267 -564
- package/lib/labs/VPicker/VPicker.mjs +1 -1
- package/lib/labs/VPicker/index.d.mts +63 -8
- package/lib/labs/VPullToRefresh/index.d.mts +35 -4
- package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
- package/lib/labs/VSnackbarQueue/index.d.mts +453 -156
- 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 +227 -12
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
- package/lib/labs/VTimePicker/index.d.mts +122 -12
- 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 +205 -18
- package/lib/labs/components.d.mts +3056 -972
- package/lib/util/getCurrentInstance.mjs +15 -1
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/package.json +4 -5
package/dist/vuetify.esm.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.6-
|
2
|
+
* Vuetify v3.7.6-master.2024-12-18
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { shallowRef, Fragment, reactive, computed, watchEffect, toRefs, capitalize, isVNode, Comment, unref, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, camelize, h, createVNode, mergeProps, onBeforeUnmount, watch, readonly,
|
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';
|
8
8
|
|
9
9
|
const IN_BROWSER = typeof window !== 'undefined';
|
10
10
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
@@ -1247,6 +1247,9 @@ const makeComponentProps = propsFactory({
|
|
1247
1247
|
}, 'component');
|
1248
1248
|
|
1249
1249
|
// Utilities
|
1250
|
+
|
1251
|
+
// Types
|
1252
|
+
|
1250
1253
|
function getCurrentInstance(name, message) {
|
1251
1254
|
const vm = getCurrentInstance$1();
|
1252
1255
|
if (!vm) {
|
@@ -1259,6 +1262,20 @@ function getCurrentInstanceName() {
|
|
1259
1262
|
const vm = getCurrentInstance(name).type;
|
1260
1263
|
return toKebabCase(vm?.aliasName || vm?.name);
|
1261
1264
|
}
|
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
|
+
};
|
1262
1279
|
|
1263
1280
|
// Utilities
|
1264
1281
|
|
@@ -2075,7 +2092,7 @@ function useLayout() {
|
|
2075
2092
|
function useLayoutItem(options) {
|
2076
2093
|
const layout = inject$1(VuetifyLayoutKey);
|
2077
2094
|
if (!layout) throw new Error('[Vuetify] Could not find injected layout');
|
2078
|
-
const id = options.id ?? `layout-item-${
|
2095
|
+
const id = options.id ?? `layout-item-${getUid()}`;
|
2079
2096
|
const vm = getCurrentInstance('useLayoutItem');
|
2080
2097
|
provide(VuetifyLayoutItemKey, {
|
2081
2098
|
id
|
@@ -3234,8 +3251,6 @@ function ExpandTransitionGenerator () {
|
|
3234
3251
|
}
|
3235
3252
|
}
|
3236
3253
|
|
3237
|
-
// Utilities
|
3238
|
-
|
3239
3254
|
// Types
|
3240
3255
|
|
3241
3256
|
const makeVDialogTransitionProps = propsFactory({
|
@@ -4582,7 +4597,7 @@ function useGroupItem(props, injectKey) {
|
|
4582
4597
|
if (!vm) {
|
4583
4598
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4584
4599
|
}
|
4585
|
-
const id =
|
4600
|
+
const id = getUid();
|
4586
4601
|
provide(Symbol.for(`${injectKey.description}:id`), id);
|
4587
4602
|
const group = inject$1(injectKey, null);
|
4588
4603
|
if (!group) {
|
@@ -6354,7 +6369,7 @@ const VSelectionControlGroup = genericComponent()({
|
|
6354
6369
|
slots
|
6355
6370
|
} = _ref;
|
6356
6371
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6357
|
-
const uid =
|
6372
|
+
const uid = getUid();
|
6358
6373
|
const id = computed(() => props.id || `v-selection-control-group-${uid}`);
|
6359
6374
|
const name = computed(() => props.name || id.value);
|
6360
6375
|
const updateHandlers = new Set();
|
@@ -6491,7 +6506,7 @@ const VSelectionControl = genericComponent()({
|
|
6491
6506
|
backgroundColorStyles,
|
6492
6507
|
trueValue
|
6493
6508
|
} = useSelectionControl(props);
|
6494
|
-
const uid =
|
6509
|
+
const uid = getUid();
|
6495
6510
|
const isFocused = shallowRef(false);
|
6496
6511
|
const isFocusVisible = shallowRef(false);
|
6497
6512
|
const input = ref();
|
@@ -6936,7 +6951,7 @@ const makeValidationProps = propsFactory({
|
|
6936
6951
|
}, 'validation');
|
6937
6952
|
function useValidation(props) {
|
6938
6953
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6939
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6954
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : getUid();
|
6940
6955
|
const model = useProxiedModel(props, 'modelValue');
|
6941
6956
|
const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6942
6957
|
const form = useForm(props);
|
@@ -7128,7 +7143,7 @@ const VInput = genericComponent()({
|
|
7128
7143
|
const {
|
7129
7144
|
InputIcon
|
7130
7145
|
} = useInputIcon(props);
|
7131
|
-
const uid =
|
7146
|
+
const uid = getUid();
|
7132
7147
|
const id = computed(() => props.id || `input-${uid}`);
|
7133
7148
|
const messagesId = computed(() => `${id.value}-messages`);
|
7134
7149
|
const {
|
@@ -7236,7 +7251,7 @@ const VCheckbox = genericComponent()({
|
|
7236
7251
|
focus,
|
7237
7252
|
blur
|
7238
7253
|
} = useFocus(props);
|
7239
|
-
const uid =
|
7254
|
+
const uid = getUid();
|
7240
7255
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
7241
7256
|
useRender(() => {
|
7242
7257
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -7976,7 +7991,6 @@ const VSlideGroup = genericComponent()({
|
|
7976
7991
|
|
7977
7992
|
const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
|
7978
7993
|
const makeVChipGroupProps = propsFactory({
|
7979
|
-
baseColor: String,
|
7980
7994
|
column: Boolean,
|
7981
7995
|
filter: Boolean,
|
7982
7996
|
valueComparator: {
|
@@ -8016,7 +8030,6 @@ const VChipGroup = genericComponent()({
|
|
8016
8030
|
} = useGroup(props, VChipGroupSymbol);
|
8017
8031
|
provideDefaults({
|
8018
8032
|
VChip: {
|
8019
|
-
baseColor: toRef(props, 'baseColor'),
|
8020
8033
|
color: toRef(props, 'color'),
|
8021
8034
|
disabled: toRef(props, 'disabled'),
|
8022
8035
|
filter: toRef(props, 'filter'),
|
@@ -8050,7 +8063,6 @@ const makeVChipProps = propsFactory({
|
|
8050
8063
|
activeClass: String,
|
8051
8064
|
appendAvatar: String,
|
8052
8065
|
appendIcon: IconValue,
|
8053
|
-
baseColor: String,
|
8054
8066
|
closable: Boolean,
|
8055
8067
|
closeIcon: {
|
8056
8068
|
type: IconValue,
|
@@ -8125,6 +8137,11 @@ const VChip = genericComponent()({
|
|
8125
8137
|
const {
|
8126
8138
|
borderClasses
|
8127
8139
|
} = useBorder(props);
|
8140
|
+
const {
|
8141
|
+
colorClasses,
|
8142
|
+
colorStyles,
|
8143
|
+
variantClasses
|
8144
|
+
} = useVariant(props);
|
8128
8145
|
const {
|
8129
8146
|
densityClasses
|
8130
8147
|
} = useDensity(props);
|
@@ -8154,18 +8171,6 @@ const VChip = genericComponent()({
|
|
8154
8171
|
emit('click:close', e);
|
8155
8172
|
}
|
8156
8173
|
}));
|
8157
|
-
const variantProps = computed(() => {
|
8158
|
-
const showColor = !group || group.isSelected.value;
|
8159
|
-
return {
|
8160
|
-
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
8161
|
-
variant: props.variant
|
8162
|
-
};
|
8163
|
-
});
|
8164
|
-
const {
|
8165
|
-
colorClasses,
|
8166
|
-
colorStyles,
|
8167
|
-
variantClasses
|
8168
|
-
} = useVariant(variantProps);
|
8169
8174
|
function onClick(e) {
|
8170
8175
|
emit('click', e);
|
8171
8176
|
if (!isClickable.value) return;
|
@@ -8186,6 +8191,7 @@ const VChip = genericComponent()({
|
|
8186
8191
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
8187
8192
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
8188
8193
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
8194
|
+
const hasColor = !group || group.isSelected.value;
|
8189
8195
|
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
8190
8196
|
"class": ['v-chip', {
|
8191
8197
|
'v-chip--disabled': props.disabled,
|
@@ -8194,8 +8200,8 @@ const VChip = genericComponent()({
|
|
8194
8200
|
'v-chip--filter': hasFilter,
|
8195
8201
|
'v-chip--pill': props.pill,
|
8196
8202
|
[`${props.activeClass}`]: props.activeClass && link.isActive?.value
|
8197
|
-
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
8198
|
-
"style": [colorStyles.value, props.style],
|
8203
|
+
}, themeClasses.value, borderClasses.value, hasColor ? colorClasses.value : undefined, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
8204
|
+
"style": [hasColor ? colorStyles.value : undefined, props.style],
|
8199
8205
|
"disabled": props.disabled || undefined,
|
8200
8206
|
"draggable": props.draggable,
|
8201
8207
|
"tabindex": isClickable.value ? 0 : undefined,
|
@@ -8924,7 +8930,7 @@ const useNested = props => {
|
|
8924
8930
|
};
|
8925
8931
|
const useNestedItem = (id, isGroup) => {
|
8926
8932
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
8927
|
-
const uidSymbol = Symbol(
|
8933
|
+
const uidSymbol = Symbol(getUid());
|
8928
8934
|
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8929
8935
|
const item = {
|
8930
8936
|
...parent,
|
@@ -11434,7 +11440,7 @@ const VMenu = genericComponent()({
|
|
11434
11440
|
const {
|
11435
11441
|
isRtl
|
11436
11442
|
} = useRtl();
|
11437
|
-
const uid =
|
11443
|
+
const uid = getUid();
|
11438
11444
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11439
11445
|
const overlay = ref();
|
11440
11446
|
const parent = inject$1(VMenuSymbol, null);
|
@@ -11730,7 +11736,7 @@ const VField = genericComponent()({
|
|
11730
11736
|
} = useRtl();
|
11731
11737
|
const isActive = computed(() => props.dirty || props.active);
|
11732
11738
|
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11733
|
-
const uid =
|
11739
|
+
const uid = getUid();
|
11734
11740
|
const id = computed(() => props.id || `input-${uid}`);
|
11735
11741
|
const messagesId = computed(() => `${id.value}-messages`);
|
11736
11742
|
const labelRef = ref();
|
@@ -12390,7 +12396,7 @@ function useVirtual(props, items) {
|
|
12390
12396
|
updateOffsets.immediate();
|
12391
12397
|
calculateVisibleItems();
|
12392
12398
|
}, {
|
12393
|
-
deep:
|
12399
|
+
deep: true
|
12394
12400
|
});
|
12395
12401
|
return {
|
12396
12402
|
calculateVisibleItems,
|
@@ -24891,7 +24897,7 @@ const VRadioGroup = genericComponent()({
|
|
24891
24897
|
attrs,
|
24892
24898
|
slots
|
24893
24899
|
} = _ref;
|
24894
|
-
const uid =
|
24900
|
+
const uid = getUid();
|
24895
24901
|
const id = computed(() => props.id || `radio-group-${uid}`);
|
24896
24902
|
const model = useProxiedModel(props, 'modelValue');
|
24897
24903
|
useRender(() => {
|
@@ -25254,8 +25260,7 @@ const VRating = genericComponent()({
|
|
25254
25260
|
onClick
|
25255
25261
|
};
|
25256
25262
|
}));
|
25257
|
-
const
|
25258
|
-
const name = computed(() => props.name ?? `v-rating-${uid}`);
|
25263
|
+
const name = computed(() => props.name ?? `v-rating-${getUid()}`);
|
25259
25264
|
function VRatingItem(_ref2) {
|
25260
25265
|
let {
|
25261
25266
|
value,
|
@@ -25779,8 +25784,6 @@ const makeLineProps = propsFactory({
|
|
25779
25784
|
}
|
25780
25785
|
}, 'Line');
|
25781
25786
|
|
25782
|
-
// Utilities
|
25783
|
-
|
25784
25787
|
// Types
|
25785
25788
|
|
25786
25789
|
const makeVBarlineProps = propsFactory({
|
@@ -25794,7 +25797,7 @@ const VBarline = genericComponent()({
|
|
25794
25797
|
let {
|
25795
25798
|
slots
|
25796
25799
|
} = _ref;
|
25797
|
-
const uid =
|
25800
|
+
const uid = getUid();
|
25798
25801
|
const id = computed(() => props.id || `barline-${uid}`);
|
25799
25802
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
|
25800
25803
|
const hasLabels = computed(() => {
|
@@ -25977,8 +25980,6 @@ function moveTo(to, from, radius) {
|
|
25977
25980
|
};
|
25978
25981
|
}
|
25979
25982
|
|
25980
|
-
// Utilities
|
25981
|
-
|
25982
25983
|
// Types
|
25983
25984
|
|
25984
25985
|
const makeVTrendlineProps = propsFactory({
|
@@ -25992,7 +25993,7 @@ const VTrendline = genericComponent()({
|
|
25992
25993
|
let {
|
25993
25994
|
slots
|
25994
25995
|
} = _ref;
|
25995
|
-
const uid =
|
25996
|
+
const uid = getUid();
|
25996
25997
|
const id = computed(() => props.id || `trendline-${uid}`);
|
25997
25998
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25998
25999
|
const lastLength = ref(0);
|
@@ -26696,7 +26697,7 @@ const VSwitch = genericComponent()({
|
|
26696
26697
|
const loaderColor = computed(() => {
|
26697
26698
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26698
26699
|
});
|
26699
|
-
const uid =
|
26700
|
+
const uid = getUid();
|
26700
26701
|
const id = computed(() => props.id || `switch-${uid}`);
|
26701
26702
|
function onChange() {
|
26702
26703
|
if (indeterminate.value) {
|
@@ -27741,7 +27742,7 @@ const VTooltip = genericComponent()({
|
|
27741
27742
|
const {
|
27742
27743
|
scopeId
|
27743
27744
|
} = useScopeId();
|
27744
|
-
const uid =
|
27745
|
+
const uid = getUid();
|
27745
27746
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
27746
27747
|
const overlay = ref();
|
27747
27748
|
const location = computed(() => {
|
@@ -28254,6 +28255,7 @@ function createVuetify$1() {
|
|
28254
28255
|
};
|
28255
28256
|
}
|
28256
28257
|
}
|
28258
|
+
getUid.reset();
|
28257
28259
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
28258
28260
|
app.mixin({
|
28259
28261
|
computed: {
|
@@ -28282,7 +28284,7 @@ function createVuetify$1() {
|
|
28282
28284
|
goTo
|
28283
28285
|
};
|
28284
28286
|
}
|
28285
|
-
const version$1 = "3.7.6-
|
28287
|
+
const version$1 = "3.7.6-master.2024-12-18";
|
28286
28288
|
createVuetify$1.version = version$1;
|
28287
28289
|
|
28288
28290
|
// Vue's inject() can only be used in setup
|
@@ -28307,7 +28309,7 @@ const createVuetify = function () {
|
|
28307
28309
|
...options
|
28308
28310
|
});
|
28309
28311
|
};
|
28310
|
-
const version = "3.7.6-
|
28312
|
+
const version = "3.7.6-master.2024-12-18";
|
28311
28313
|
createVuetify.version = version;
|
28312
28314
|
|
28313
28315
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|