@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-dev.2024-12-16
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 +2853 -2845
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +150 -150
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +5324 -5306
- package/dist/vuetify-labs.css +25135 -23418
- package/dist/vuetify-labs.d.ts +202 -196
- package/dist/vuetify-labs.esm.js +107 -106
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +106 -105
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.css +23838 -22118
- package/dist/vuetify.d.ts +191 -185
- package/dist/vuetify.esm.js +96 -96
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +95 -95
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +884 -889
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +215 -207
- package/lib/components/VApp/VApp.css +15 -16
- package/lib/components/VAppBar/VAppBar.css +12 -14
- package/lib/components/VAppBar/index.d.mts +6 -6
- package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
- package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +22 -22
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +77 -73
- package/lib/components/VBadge/VBadge.sass +4 -0
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBtn/VBtn.css +408 -385
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtn/index.d.mts +7 -7
- package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
- package/lib/components/VBtnToggle/index.d.mts +9 -9
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCarousel/index.d.mts +9 -9
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VCheckbox/VCheckbox.mjs +3 -3
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChip/VChip.mjs +18 -10
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +13 -8
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VChipGroup/VChipGroup.mjs +2 -0
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +20 -15
- package/lib/components/VCode/VCode.css +8 -10
- package/lib/components/VColorPicker/VColorPicker.css +22 -22
- package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
- package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
- package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VCombobox/VCombobox.css +85 -86
- package/lib/components/VCombobox/VCombobox.mjs +4 -4
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +22 -22
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +3 -7
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +10 -20
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDatePicker/index.d.mts +5 -5
- package/lib/components/VDialog/VDialog.css +95 -95
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VEmptyState/VEmptyState.css +67 -62
- package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
- package/lib/components/VExpansionPanel/index.d.mts +7 -7
- package/lib/components/VFab/VFab.css +69 -74
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VFab/index.d.mts +6 -6
- package/lib/components/VField/VField.css +579 -539
- package/lib/components/VField/VField.mjs +5 -4
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +29 -31
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +52 -51
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +142 -131
- package/lib/components/VInput/VInput.mjs +3 -3
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +9 -9
- package/lib/components/VKbd/VKbd.css +11 -13
- package/lib/components/VLabel/VLabel.css +15 -16
- package/lib/components/VLayout/VLayout.css +8 -10
- package/lib/components/VLayout/VLayoutItem.css +7 -8
- package/lib/components/VList/VList.css +108 -104
- package/lib/components/VList/VList.mjs +3 -2
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VList/index.d.mts +10 -10
- package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
- package/lib/components/VMain/VMain.css +30 -32
- package/lib/components/VMenu/VMenu.css +19 -21
- package/lib/components/VMenu/VMenu.mjs +3 -3
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +6 -6
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +63 -60
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- package/lib/components/VPagination/VPagination.css +8 -10
- package/lib/components/VParallax/VParallax.css +6 -8
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
- package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
- package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
- package/lib/components/VRadioGroup/VRadioGroup.mjs +3 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VRating/VRating.mjs +4 -3
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VSelect/VSelect.css +52 -54
- package/lib/components/VSelect/VSelect.mjs +3 -3
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +22 -22
- package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
- package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.css +36 -38
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
- package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
- package/lib/components/VSlideGroup/index.d.mts +10 -10
- package/lib/components/VSlider/VSlider.css +57 -53
- package/lib/components/VSlider/VSliderThumb.css +153 -142
- package/lib/components/VSlider/VSliderTrack.css +174 -155
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSparkline/VBarline.mjs +3 -3
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +3 -3
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepper.mjs +5 -4
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VStepper/VStepperItem.mjs +5 -4
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/index.d.mts +51 -45
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSwitch/VSwitch.mjs +3 -3
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSystemBar/VSystemBar.css +43 -45
- package/lib/components/VTable/VTable.css +141 -140
- package/lib/components/VTable/VTable.sass +2 -4
- package/lib/components/VTabs/VTab.css +29 -30
- package/lib/components/VTabs/VTabs.css +65 -59
- package/lib/components/VTabs/index.d.mts +7 -7
- package/lib/components/VTextField/VTextField.css +68 -65
- package/lib/components/VTextarea/VTextarea.css +39 -47
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +418 -379
- package/lib/components/VToolbar/VToolbar.css +143 -136
- package/lib/components/VTooltip/VTooltip.css +21 -25
- package/lib/components/VTooltip/VTooltip.mjs +3 -3
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.sass +6 -8
- package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
- package/lib/components/VWindow/VWindow.css +70 -73
- package/lib/components/VWindow/index.d.mts +7 -7
- package/lib/components/index.d.mts +138 -132
- package/lib/composables/form.mjs +7 -2
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/group.mjs +3 -3
- package/lib/composables/group.mjs.map +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 +4 -4
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/validation.mjs +13 -15
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- 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 +53 -53
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- package/lib/labs/VCalendar/VCalendarDay.css +32 -33
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
- package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
- package/lib/labs/VDateInput/VDateInput.mjs +1 -1
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/VNumberInput.css +38 -40
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -5
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VPicker/VPicker.css +57 -53
- package/lib/labs/VStepperVertical/index.d.mts +44 -44
- package/lib/labs/VTimePicker/VTimePicker.css +7 -9
- package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
- package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
- package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
- package/lib/labs/VTreeview/VTreeviewItem.mjs +3 -4
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
- package/lib/labs/VTreeview/index.d.mts +20 -20
- package/lib/labs/components.d.mts +64 -64
- package/lib/locale/fr.mjs +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +1 -13
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +16139 -14666
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +2 -1
- package/lib/styles/tools/_bootable.sass +3 -0
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +10 -0
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +2 -0
- package/lib/styles/tools/_layer.scss +2 -4
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_radius.sass +10 -0
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +5 -1
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/lib/util/getCurrentInstance.mjs +1 -15
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.esm.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.5-dev.2024-12-16
|
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
|
|
@@ -2091,7 +2074,7 @@ function useLayout() {
|
|
2091
2074
|
function useLayoutItem(options) {
|
2092
2075
|
const layout = inject$1(VuetifyLayoutKey);
|
2093
2076
|
if (!layout) throw new Error('[Vuetify] Could not find injected layout');
|
2094
|
-
const id = options.id ?? `layout-item-${
|
2077
|
+
const id = options.id ?? `layout-item-${useId()}`;
|
2095
2078
|
const vm = getCurrentInstance('useLayoutItem');
|
2096
2079
|
provide(VuetifyLayoutItemKey, {
|
2097
2080
|
id
|
@@ -2867,15 +2850,15 @@ function createTheme(options) {
|
|
2867
2850
|
const colors = new Set(Object.values(computedThemes.value).flatMap(theme => Object.keys(theme.colors)));
|
2868
2851
|
for (const key of colors) {
|
2869
2852
|
if (/^on-[a-z]/.test(key)) {
|
2870
|
-
createCssClass(fgLines, `.${key}`, [`color: rgb(var(--v-theme-${key}))`]);
|
2853
|
+
createCssClass(fgLines, `.${key}`, [`color: rgb(var(--v-theme-${key})) !important`]);
|
2871
2854
|
} else {
|
2872
|
-
createCssClass(bgLines, `.bg-${key}`, [`--v-theme-overlay-multiplier: var(--v-theme-${key}-overlay-multiplier)`, `background-color: rgb(var(--v-theme-${key}))`, `color: rgb(var(--v-theme-on-${key}))`]);
|
2873
|
-
createCssClass(fgLines, `.text-${key}`, [`color: rgb(var(--v-theme-${key}))`]);
|
2855
|
+
createCssClass(bgLines, `.bg-${key}`, [`--v-theme-overlay-multiplier: var(--v-theme-${key}-overlay-multiplier)`, `background-color: rgb(var(--v-theme-${key})) !important`, `color: rgb(var(--v-theme-on-${key})) !important`]);
|
2856
|
+
createCssClass(fgLines, `.text-${key}`, [`color: rgb(var(--v-theme-${key})) !important`]);
|
2874
2857
|
createCssClass(fgLines, `.border-${key}`, [`--v-border-color: var(--v-theme-${key})`]);
|
2875
2858
|
}
|
2876
2859
|
}
|
2877
2860
|
lines.push(...bgLines, ...fgLines);
|
2878
|
-
return
|
2861
|
+
return lines.map((str, i) => i === 0 ? str : ` ${str}`).join('');
|
2879
2862
|
});
|
2880
2863
|
function getHead() {
|
2881
2864
|
return {
|
@@ -4593,7 +4576,7 @@ function useGroupItem(props, injectKey) {
|
|
4593
4576
|
if (!vm) {
|
4594
4577
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4595
4578
|
}
|
4596
|
-
const id =
|
4579
|
+
const id = useId();
|
4597
4580
|
provide(Symbol.for(`${injectKey.description}:id`), id);
|
4598
4581
|
const group = inject$1(injectKey, null);
|
4599
4582
|
if (!group) {
|
@@ -6365,7 +6348,7 @@ const VSelectionControlGroup = genericComponent()({
|
|
6365
6348
|
slots
|
6366
6349
|
} = _ref;
|
6367
6350
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6368
|
-
const uid =
|
6351
|
+
const uid = useId();
|
6369
6352
|
const id = computed(() => props.id || `v-selection-control-group-${uid}`);
|
6370
6353
|
const name = computed(() => props.name || id.value);
|
6371
6354
|
const updateHandlers = new Set();
|
@@ -6502,7 +6485,7 @@ const VSelectionControl = genericComponent()({
|
|
6502
6485
|
backgroundColorStyles,
|
6503
6486
|
trueValue
|
6504
6487
|
} = useSelectionControl(props);
|
6505
|
-
const uid =
|
6488
|
+
const uid = useId();
|
6506
6489
|
const isFocused = shallowRef(false);
|
6507
6490
|
const isFocusVisible = shallowRef(false);
|
6508
6491
|
const input = ref();
|
@@ -6903,8 +6886,13 @@ function createForm(props) {
|
|
6903
6886
|
resetValidation
|
6904
6887
|
};
|
6905
6888
|
}
|
6906
|
-
function useForm() {
|
6907
|
-
|
6889
|
+
function useForm(props) {
|
6890
|
+
const form = inject$1(FormKey, null);
|
6891
|
+
return {
|
6892
|
+
...form,
|
6893
|
+
isReadonly: computed(() => !!(props?.readonly ?? form?.isReadonly.value)),
|
6894
|
+
isDisabled: computed(() => !!(props?.disabled ?? form?.isDisabled.value))
|
6895
|
+
};
|
6908
6896
|
}
|
6909
6897
|
|
6910
6898
|
// Composables
|
@@ -6942,20 +6930,18 @@ const makeValidationProps = propsFactory({
|
|
6942
6930
|
}, 'validation');
|
6943
6931
|
function useValidation(props) {
|
6944
6932
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6945
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6933
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : useId();
|
6946
6934
|
const model = useProxiedModel(props, 'modelValue');
|
6947
6935
|
const validationModel = computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6948
|
-
const form = useForm();
|
6936
|
+
const form = useForm(props);
|
6949
6937
|
const internalErrorMessages = ref([]);
|
6950
6938
|
const isPristine = shallowRef(true);
|
6951
6939
|
const isDirty = computed(() => !!(wrapInArray(model.value === '' ? null : model.value).length || wrapInArray(validationModel.value === '' ? null : validationModel.value).length));
|
6952
|
-
const isDisabled = computed(() => !!(props.disabled ?? form?.isDisabled.value));
|
6953
|
-
const isReadonly = computed(() => !!(props.readonly ?? form?.isReadonly.value));
|
6954
6940
|
const errorMessages = computed(() => {
|
6955
6941
|
return props.errorMessages?.length ? wrapInArray(props.errorMessages).concat(internalErrorMessages.value).slice(0, Math.max(0, +props.maxErrors)) : internalErrorMessages.value;
|
6956
6942
|
});
|
6957
6943
|
const validateOn = computed(() => {
|
6958
|
-
let value = (props.validateOn ?? form?.
|
6944
|
+
let value = (props.validateOn ?? form.validateOn?.value) || 'input';
|
6959
6945
|
if (value === 'lazy') value = 'input lazy';
|
6960
6946
|
if (value === 'eager') value = 'input eager';
|
6961
6947
|
const set = new Set(value?.split(' ') ?? []);
|
@@ -6981,14 +6967,14 @@ function useValidation(props) {
|
|
6981
6967
|
return {
|
6982
6968
|
[`${name}--error`]: isValid.value === false,
|
6983
6969
|
[`${name}--dirty`]: isDirty.value,
|
6984
|
-
[`${name}--disabled`]: isDisabled.value,
|
6985
|
-
[`${name}--readonly`]: isReadonly.value
|
6970
|
+
[`${name}--disabled`]: form.isDisabled.value,
|
6971
|
+
[`${name}--readonly`]: form.isReadonly.value
|
6986
6972
|
};
|
6987
6973
|
});
|
6988
6974
|
const vm = getCurrentInstance('validation');
|
6989
6975
|
const uid = computed(() => props.name ?? unref(id));
|
6990
6976
|
onBeforeMount(() => {
|
6991
|
-
form?.
|
6977
|
+
form.register?.({
|
6992
6978
|
id: uid.value,
|
6993
6979
|
vm,
|
6994
6980
|
validate,
|
@@ -6997,13 +6983,13 @@ function useValidation(props) {
|
|
6997
6983
|
});
|
6998
6984
|
});
|
6999
6985
|
onBeforeUnmount(() => {
|
7000
|
-
form?.
|
6986
|
+
form.unregister?.(uid.value);
|
7001
6987
|
});
|
7002
6988
|
onMounted(async () => {
|
7003
6989
|
if (!validateOn.value.lazy) {
|
7004
6990
|
await validate(!validateOn.value.eager);
|
7005
6991
|
}
|
7006
|
-
form?.
|
6992
|
+
form.update?.(uid.value, isValid.value, errorMessages.value);
|
7007
6993
|
});
|
7008
6994
|
useToggleScope(() => validateOn.value.input || validateOn.value.invalidInput && isValid.value === false, () => {
|
7009
6995
|
watch(validationModel, () => {
|
@@ -7023,7 +7009,7 @@ function useValidation(props) {
|
|
7023
7009
|
});
|
7024
7010
|
});
|
7025
7011
|
watch([isValid, errorMessages], () => {
|
7026
|
-
form?.
|
7012
|
+
form.update?.(uid.value, isValid.value, errorMessages.value);
|
7027
7013
|
});
|
7028
7014
|
async function reset() {
|
7029
7015
|
model.value = null;
|
@@ -7064,8 +7050,8 @@ function useValidation(props) {
|
|
7064
7050
|
return {
|
7065
7051
|
errorMessages,
|
7066
7052
|
isDirty,
|
7067
|
-
isDisabled,
|
7068
|
-
isReadonly,
|
7053
|
+
isDisabled: form.isDisabled,
|
7054
|
+
isReadonly: form.isReadonly,
|
7069
7055
|
isPristine,
|
7070
7056
|
isValid,
|
7071
7057
|
isValidating,
|
@@ -7136,7 +7122,7 @@ const VInput = genericComponent()({
|
|
7136
7122
|
const {
|
7137
7123
|
InputIcon
|
7138
7124
|
} = useInputIcon(props);
|
7139
|
-
const uid =
|
7125
|
+
const uid = useId();
|
7140
7126
|
const id = computed(() => props.id || `input-${uid}`);
|
7141
7127
|
const messagesId = computed(() => `${id.value}-messages`);
|
7142
7128
|
const {
|
@@ -7244,7 +7230,7 @@ const VCheckbox = genericComponent()({
|
|
7244
7230
|
focus,
|
7245
7231
|
blur
|
7246
7232
|
} = useFocus(props);
|
7247
|
-
const uid =
|
7233
|
+
const uid = useId();
|
7248
7234
|
const id = computed(() => props.id || `checkbox-${uid}`);
|
7249
7235
|
useRender(() => {
|
7250
7236
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -7984,6 +7970,7 @@ const VSlideGroup = genericComponent()({
|
|
7984
7970
|
|
7985
7971
|
const VChipGroupSymbol = Symbol.for('vuetify:v-chip-group');
|
7986
7972
|
const makeVChipGroupProps = propsFactory({
|
7973
|
+
baseColor: String,
|
7987
7974
|
column: Boolean,
|
7988
7975
|
filter: Boolean,
|
7989
7976
|
valueComparator: {
|
@@ -8023,6 +8010,7 @@ const VChipGroup = genericComponent()({
|
|
8023
8010
|
} = useGroup(props, VChipGroupSymbol);
|
8024
8011
|
provideDefaults({
|
8025
8012
|
VChip: {
|
8013
|
+
baseColor: toRef(props, 'baseColor'),
|
8026
8014
|
color: toRef(props, 'color'),
|
8027
8015
|
disabled: toRef(props, 'disabled'),
|
8028
8016
|
filter: toRef(props, 'filter'),
|
@@ -8056,6 +8044,7 @@ const makeVChipProps = propsFactory({
|
|
8056
8044
|
activeClass: String,
|
8057
8045
|
appendAvatar: String,
|
8058
8046
|
appendIcon: IconValue,
|
8047
|
+
baseColor: String,
|
8059
8048
|
closable: Boolean,
|
8060
8049
|
closeIcon: {
|
8061
8050
|
type: IconValue,
|
@@ -8068,7 +8057,7 @@ const makeVChipProps = propsFactory({
|
|
8068
8057
|
draggable: Boolean,
|
8069
8058
|
filter: Boolean,
|
8070
8059
|
filterIcon: {
|
8071
|
-
type:
|
8060
|
+
type: IconValue,
|
8072
8061
|
default: '$complete'
|
8073
8062
|
},
|
8074
8063
|
label: Boolean,
|
@@ -8130,11 +8119,6 @@ const VChip = genericComponent()({
|
|
8130
8119
|
const {
|
8131
8120
|
borderClasses
|
8132
8121
|
} = useBorder(props);
|
8133
|
-
const {
|
8134
|
-
colorClasses,
|
8135
|
-
colorStyles,
|
8136
|
-
variantClasses
|
8137
|
-
} = useVariant(props);
|
8138
8122
|
const {
|
8139
8123
|
densityClasses
|
8140
8124
|
} = useDensity(props);
|
@@ -8164,6 +8148,18 @@ const VChip = genericComponent()({
|
|
8164
8148
|
emit('click:close', e);
|
8165
8149
|
}
|
8166
8150
|
}));
|
8151
|
+
const variantProps = computed(() => {
|
8152
|
+
const showColor = !group || group.isSelected.value;
|
8153
|
+
return {
|
8154
|
+
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
8155
|
+
variant: props.variant
|
8156
|
+
};
|
8157
|
+
});
|
8158
|
+
const {
|
8159
|
+
colorClasses,
|
8160
|
+
colorStyles,
|
8161
|
+
variantClasses
|
8162
|
+
} = useVariant(variantProps);
|
8167
8163
|
function onClick(e) {
|
8168
8164
|
emit('click', e);
|
8169
8165
|
if (!isClickable.value) return;
|
@@ -8184,16 +8180,16 @@ const VChip = genericComponent()({
|
|
8184
8180
|
const hasFilter = !!(slots.filter || props.filter) && group;
|
8185
8181
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
8186
8182
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
8187
|
-
const hasColor = !group || group.isSelected.value;
|
8188
8183
|
return isActive.value && withDirectives(createVNode(Tag, mergeProps({
|
8189
8184
|
"class": ['v-chip', {
|
8190
8185
|
'v-chip--disabled': props.disabled,
|
8191
8186
|
'v-chip--label': props.label,
|
8192
8187
|
'v-chip--link': isClickable.value,
|
8193
8188
|
'v-chip--filter': hasFilter,
|
8194
|
-
'v-chip--pill': props.pill
|
8195
|
-
|
8196
|
-
|
8189
|
+
'v-chip--pill': props.pill,
|
8190
|
+
[`${props.activeClass}`]: props.activeClass && link.isActive?.value
|
8191
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, group?.selectedClass.value, props.class],
|
8192
|
+
"style": [colorStyles.value, props.style],
|
8197
8193
|
"disabled": props.disabled || undefined,
|
8198
8194
|
"draggable": props.draggable,
|
8199
8195
|
"tabindex": isClickable.value ? 0 : undefined,
|
@@ -8922,7 +8918,7 @@ const useNested = props => {
|
|
8922
8918
|
};
|
8923
8919
|
const useNestedItem = (id, isGroup) => {
|
8924
8920
|
const parent = inject$1(VNestedSymbol, emptyNested);
|
8925
|
-
const uidSymbol = Symbol(
|
8921
|
+
const uidSymbol = Symbol('nested item');
|
8926
8922
|
const computedId = computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8927
8923
|
const item = {
|
8928
8924
|
...parent,
|
@@ -9165,7 +9161,8 @@ const VListItem = genericComponent()({
|
|
9165
9161
|
const list = useList();
|
9166
9162
|
const isActive = computed(() => props.active !== false && (props.active || link.isActive?.value || (root.activatable.value ? isActivated.value : isSelected.value)));
|
9167
9163
|
const isLink = computed(() => props.link !== false && link.isLink.value);
|
9168
|
-
const
|
9164
|
+
const isSelectable = computed(() => !!list && (root.selectable.value || root.activatable.value || props.value != null));
|
9165
|
+
const isClickable = computed(() => !props.disabled && props.link !== false && (props.link || link.isClickable.value || isSelectable.value));
|
9169
9166
|
const roundedProps = computed(() => props.rounded || props.nav);
|
9170
9167
|
const color = computed(() => props.color ?? props.activeColor);
|
9171
9168
|
const variantProps = computed(() => ({
|
@@ -9256,7 +9253,7 @@ const VListItem = genericComponent()({
|
|
9256
9253
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
9257
9254
|
"style": [colorStyles.value, dimensionStyles.value, props.style],
|
9258
9255
|
"tabindex": isClickable.value ? list ? -2 : 0 : undefined,
|
9259
|
-
"aria-selected": root.activatable.value ? isActivated.value : isSelected.value,
|
9256
|
+
"aria-selected": isSelectable.value ? root.activatable.value ? isActivated.value : root.selectable.value ? isSelected.value : isActive.value : undefined,
|
9260
9257
|
"onClick": onClick,
|
9261
9258
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
9262
9259
|
}, link.linkProps), {
|
@@ -9673,8 +9670,8 @@ const makeVListProps = propsFactory({
|
|
9673
9670
|
activeClass: String,
|
9674
9671
|
bgColor: String,
|
9675
9672
|
disabled: Boolean,
|
9676
|
-
expandIcon:
|
9677
|
-
collapseIcon:
|
9673
|
+
expandIcon: IconValue,
|
9674
|
+
collapseIcon: IconValue,
|
9678
9675
|
lines: {
|
9679
9676
|
type: [Boolean, String],
|
9680
9677
|
default: 'one'
|
@@ -11423,7 +11420,7 @@ const VMenu = genericComponent()({
|
|
11423
11420
|
const {
|
11424
11421
|
isRtl
|
11425
11422
|
} = useRtl();
|
11426
|
-
const uid =
|
11423
|
+
const uid = useId();
|
11427
11424
|
const id = computed(() => props.id || `v-menu-${uid}`);
|
11428
11425
|
const overlay = ref();
|
11429
11426
|
const parent = inject$1(VMenuSymbol, null);
|
@@ -11719,7 +11716,7 @@ const VField = genericComponent()({
|
|
11719
11716
|
} = useRtl();
|
11720
11717
|
const isActive = computed(() => props.dirty || props.active);
|
11721
11718
|
const hasLabel = computed(() => !props.singleLine && !!(props.label || slots.label));
|
11722
|
-
const uid =
|
11719
|
+
const uid = useId();
|
11723
11720
|
const id = computed(() => props.id || `input-${uid}`);
|
11724
11721
|
const messagesId = computed(() => `${id.value}-messages`);
|
11725
11722
|
const labelRef = ref();
|
@@ -11848,7 +11845,8 @@ const VField = genericComponent()({
|
|
11848
11845
|
"style": textColorStyles.value
|
11849
11846
|
}, {
|
11850
11847
|
default: () => [label()]
|
11851
|
-
}), createVNode(VFieldLabel, {
|
11848
|
+
}), hasLabel.value && createVNode(VFieldLabel, {
|
11849
|
+
"key": "label",
|
11852
11850
|
"ref": labelRef,
|
11853
11851
|
"for": id.value
|
11854
11852
|
}, {
|
@@ -12674,7 +12672,7 @@ const VSelect = genericComponent()({
|
|
12674
12672
|
const counterValue = computed(() => {
|
12675
12673
|
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : model.value.length;
|
12676
12674
|
});
|
12677
|
-
const form = useForm();
|
12675
|
+
const form = useForm(props);
|
12678
12676
|
const selectedValues = computed(() => model.value.map(selection => selection.value));
|
12679
12677
|
const isFocused = shallowRef(false);
|
12680
12678
|
const label = computed(() => menu.value ? props.closeText : props.openText);
|
@@ -12686,7 +12684,7 @@ const VSelect = genericComponent()({
|
|
12686
12684
|
}
|
12687
12685
|
return items.value;
|
12688
12686
|
});
|
12689
|
-
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length ||
|
12687
|
+
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
12690
12688
|
const computedMenuProps = computed(() => {
|
12691
12689
|
return {
|
12692
12690
|
...props.menuProps,
|
@@ -12713,7 +12711,7 @@ const VSelect = genericComponent()({
|
|
12713
12711
|
}
|
12714
12712
|
}
|
12715
12713
|
function onKeydown(e) {
|
12716
|
-
if (!e.key ||
|
12714
|
+
if (!e.key || form.isReadonly.value) return;
|
12717
12715
|
if (['Enter', ' ', 'ArrowDown', 'ArrowUp', 'Home', 'End'].includes(e.key)) {
|
12718
12716
|
e.preventDefault();
|
12719
12717
|
}
|
@@ -13191,7 +13189,7 @@ const VAutocomplete = genericComponent()({
|
|
13191
13189
|
const counterValue = computed(() => {
|
13192
13190
|
return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : model.value.length;
|
13193
13191
|
});
|
13194
|
-
const form = useForm();
|
13192
|
+
const form = useForm(props);
|
13195
13193
|
const {
|
13196
13194
|
filteredItems,
|
13197
13195
|
getMatches
|
@@ -13209,7 +13207,7 @@ const VAutocomplete = genericComponent()({
|
|
13209
13207
|
const selectFirst = props.autoSelectFirst === true || props.autoSelectFirst === 'exact' && search.value === displayItems.value[0]?.title;
|
13210
13208
|
return selectFirst && displayItems.value.length > 0 && !isPristine.value && !listHasFocus.value;
|
13211
13209
|
});
|
13212
|
-
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length ||
|
13210
|
+
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
13213
13211
|
const listRef = ref();
|
13214
13212
|
const listEvents = useScrolling(listRef, vTextFieldRef);
|
13215
13213
|
function onClear(e) {
|
@@ -13236,7 +13234,7 @@ const VAutocomplete = genericComponent()({
|
|
13236
13234
|
}
|
13237
13235
|
}
|
13238
13236
|
function onKeydown(e) {
|
13239
|
-
if (
|
13237
|
+
if (form.isReadonly.value) return;
|
13240
13238
|
const selectionStart = vTextFieldRef.value.selectionStart;
|
13241
13239
|
const length = model.value.length;
|
13242
13240
|
if (selectionIndex.value > -1 || ['Enter', 'ArrowDown', 'ArrowUp'].includes(e.key)) {
|
@@ -13413,7 +13411,7 @@ const VAutocomplete = genericComponent()({
|
|
13413
13411
|
'v-autocomplete--selecting-index': selectionIndex.value > -1
|
13414
13412
|
}, props.class],
|
13415
13413
|
"style": props.style,
|
13416
|
-
"readonly":
|
13414
|
+
"readonly": form.isReadonly.value,
|
13417
13415
|
"placeholder": isDirty ? undefined : props.placeholder,
|
13418
13416
|
"onClick:clear": onClear,
|
13419
13417
|
"onMousedown:control": onMousedownControl,
|
@@ -17032,7 +17030,7 @@ const VCombobox = genericComponent()({
|
|
17032
17030
|
const transformed = transformOut(v);
|
17033
17031
|
return props.multiple ? transformed : transformed[0] ?? null;
|
17034
17032
|
});
|
17035
|
-
const form = useForm();
|
17033
|
+
const form = useForm(props);
|
17036
17034
|
const hasChips = computed(() => !!(props.chips || slots.chip));
|
17037
17035
|
const hasSelectionSlot = computed(() => hasChips.value || !!slots.selection);
|
17038
17036
|
const _search = shallowRef(!props.multiple && !hasSelectionSlot.value ? model.value[0]?.title ?? '' : '');
|
@@ -17092,7 +17090,7 @@ const VCombobox = genericComponent()({
|
|
17092
17090
|
const selectFirst = props.autoSelectFirst === true || props.autoSelectFirst === 'exact' && search.value === displayItems.value[0]?.title;
|
17093
17091
|
return selectFirst && displayItems.value.length > 0 && !isPristine.value && !listHasFocus.value;
|
17094
17092
|
});
|
17095
|
-
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length ||
|
17093
|
+
const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
|
17096
17094
|
const listRef = ref();
|
17097
17095
|
const listEvents = useScrolling(listRef, vTextFieldRef);
|
17098
17096
|
function onClear(e) {
|
@@ -17120,7 +17118,7 @@ const VCombobox = genericComponent()({
|
|
17120
17118
|
}
|
17121
17119
|
// eslint-disable-next-line complexity
|
17122
17120
|
function onKeydown(e) {
|
17123
|
-
if (isComposingIgnoreKey(e) ||
|
17121
|
+
if (isComposingIgnoreKey(e) || form.isReadonly.value) return;
|
17124
17122
|
const selectionStart = vTextFieldRef.value.selectionStart;
|
17125
17123
|
const length = model.value.length;
|
17126
17124
|
if (selectionIndex.value > -1 || ['Enter', 'ArrowDown', 'ArrowUp'].includes(e.key)) {
|
@@ -17292,7 +17290,7 @@ const VCombobox = genericComponent()({
|
|
17292
17290
|
[`v-combobox--${props.multiple ? 'multiple' : 'single'}`]: true
|
17293
17291
|
}, props.class],
|
17294
17292
|
"style": props.style,
|
17295
|
-
"readonly":
|
17293
|
+
"readonly": form.isReadonly.value,
|
17296
17294
|
"placeholder": isDirty ? undefined : props.placeholder,
|
17297
17295
|
"onClick:clear": onClear,
|
17298
17296
|
"onMousedown:control": onMousedownControl,
|
@@ -18336,21 +18334,23 @@ const VConfirmEdit = genericComponent()({
|
|
18336
18334
|
internalModel.value = structuredClone(toRaw(model.value));
|
18337
18335
|
emit('cancel');
|
18338
18336
|
}
|
18339
|
-
|
18340
|
-
|
18341
|
-
const actions = createVNode(Fragment, null, [createVNode(VBtn, {
|
18337
|
+
function actions(actionsProps) {
|
18338
|
+
return createVNode(Fragment, null, [createVNode(VBtn, mergeProps({
|
18342
18339
|
"disabled": isPristine.value,
|
18343
18340
|
"variant": "text",
|
18344
18341
|
"color": props.color,
|
18345
18342
|
"onClick": cancel,
|
18346
18343
|
"text": t(props.cancelText)
|
18347
|
-
}, null), createVNode(VBtn, {
|
18344
|
+
}, actionsProps), null), createVNode(VBtn, mergeProps({
|
18348
18345
|
"disabled": isPristine.value,
|
18349
18346
|
"variant": "text",
|
18350
18347
|
"color": props.color,
|
18351
18348
|
"onClick": save,
|
18352
18349
|
"text": t(props.okText)
|
18353
|
-
}, null)]);
|
18350
|
+
}, actionsProps), null)]);
|
18351
|
+
}
|
18352
|
+
let actionsUsed = false;
|
18353
|
+
useRender(() => {
|
18354
18354
|
return createVNode(Fragment, null, [slots.default?.({
|
18355
18355
|
model: internalModel,
|
18356
18356
|
save,
|
@@ -18360,7 +18360,7 @@ const VConfirmEdit = genericComponent()({
|
|
18360
18360
|
actionsUsed = true;
|
18361
18361
|
return actions;
|
18362
18362
|
}
|
18363
|
-
}), !actionsUsed && actions]);
|
18363
|
+
}), !actionsUsed && actions()]);
|
18364
18364
|
});
|
18365
18365
|
return {
|
18366
18366
|
save,
|
@@ -21650,7 +21650,7 @@ const VDatePickerControls = genericComponent()({
|
|
21650
21650
|
// Types
|
21651
21651
|
|
21652
21652
|
const makeVDatePickerHeaderProps = propsFactory({
|
21653
|
-
appendIcon:
|
21653
|
+
appendIcon: IconValue,
|
21654
21654
|
color: String,
|
21655
21655
|
header: String,
|
21656
21656
|
transition: String,
|
@@ -24869,7 +24869,7 @@ const VRadioGroup = genericComponent()({
|
|
24869
24869
|
attrs,
|
24870
24870
|
slots
|
24871
24871
|
} = _ref;
|
24872
|
-
const uid =
|
24872
|
+
const uid = useId();
|
24873
24873
|
const id = computed(() => props.id || `radio-group-${uid}`);
|
24874
24874
|
const model = useProxiedModel(props, 'modelValue');
|
24875
24875
|
useRender(() => {
|
@@ -25232,7 +25232,8 @@ const VRating = genericComponent()({
|
|
25232
25232
|
onClick
|
25233
25233
|
};
|
25234
25234
|
}));
|
25235
|
-
const
|
25235
|
+
const uid = useId();
|
25236
|
+
const name = computed(() => props.name ?? `v-rating-${uid}`);
|
25236
25237
|
function VRatingItem(_ref2) {
|
25237
25238
|
let {
|
25238
25239
|
value,
|
@@ -25771,7 +25772,7 @@ const VBarline = genericComponent()({
|
|
25771
25772
|
let {
|
25772
25773
|
slots
|
25773
25774
|
} = _ref;
|
25774
|
-
const uid =
|
25775
|
+
const uid = useId();
|
25775
25776
|
const id = computed(() => props.id || `barline-${uid}`);
|
25776
25777
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
|
25777
25778
|
const hasLabels = computed(() => {
|
@@ -25969,7 +25970,7 @@ const VTrendline = genericComponent()({
|
|
25969
25970
|
let {
|
25970
25971
|
slots
|
25971
25972
|
} = _ref;
|
25972
|
-
const uid =
|
25973
|
+
const uid = useId();
|
25973
25974
|
const id = computed(() => props.id || `trendline-${uid}`);
|
25974
25975
|
const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25975
25976
|
const lastLength = ref(0);
|
@@ -26306,20 +26307,20 @@ const makeStepperItemProps = propsFactory({
|
|
26306
26307
|
subtitle: String,
|
26307
26308
|
complete: Boolean,
|
26308
26309
|
completeIcon: {
|
26309
|
-
type:
|
26310
|
+
type: IconValue,
|
26310
26311
|
default: '$complete'
|
26311
26312
|
},
|
26312
26313
|
editable: Boolean,
|
26313
26314
|
editIcon: {
|
26314
|
-
type:
|
26315
|
+
type: IconValue,
|
26315
26316
|
default: '$edit'
|
26316
26317
|
},
|
26317
26318
|
error: Boolean,
|
26318
26319
|
errorIcon: {
|
26319
|
-
type:
|
26320
|
+
type: IconValue,
|
26320
26321
|
default: '$error'
|
26321
26322
|
},
|
26322
|
-
icon:
|
26323
|
+
icon: IconValue,
|
26323
26324
|
ripple: {
|
26324
26325
|
type: [Boolean, Object],
|
26325
26326
|
default: true
|
@@ -26480,10 +26481,10 @@ const VStepperWindowItem = genericComponent()({
|
|
26480
26481
|
const makeStepperProps = propsFactory({
|
26481
26482
|
altLabels: Boolean,
|
26482
26483
|
bgColor: String,
|
26483
|
-
completeIcon:
|
26484
|
-
editIcon:
|
26484
|
+
completeIcon: IconValue,
|
26485
|
+
editIcon: IconValue,
|
26485
26486
|
editable: Boolean,
|
26486
|
-
errorIcon:
|
26487
|
+
errorIcon: IconValue,
|
26487
26488
|
hideActions: Boolean,
|
26488
26489
|
items: {
|
26489
26490
|
type: Array,
|
@@ -26673,7 +26674,7 @@ const VSwitch = genericComponent()({
|
|
26673
26674
|
const loaderColor = computed(() => {
|
26674
26675
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26675
26676
|
});
|
26676
|
-
const uid =
|
26677
|
+
const uid = useId();
|
26677
26678
|
const id = computed(() => props.id || `switch-${uid}`);
|
26678
26679
|
function onChange() {
|
26679
26680
|
if (indeterminate.value) {
|
@@ -27718,7 +27719,7 @@ const VTooltip = genericComponent()({
|
|
27718
27719
|
const {
|
27719
27720
|
scopeId
|
27720
27721
|
} = useScopeId();
|
27721
|
-
const uid =
|
27722
|
+
const uid = useId();
|
27722
27723
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
27723
27724
|
const overlay = ref();
|
27724
27725
|
const location = computed(() => {
|
@@ -28231,7 +28232,6 @@ function createVuetify$1() {
|
|
28231
28232
|
};
|
28232
28233
|
}
|
28233
28234
|
}
|
28234
|
-
getUid.reset();
|
28235
28235
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
28236
28236
|
app.mixin({
|
28237
28237
|
computed: {
|
@@ -28260,7 +28260,7 @@ function createVuetify$1() {
|
|
28260
28260
|
goTo
|
28261
28261
|
};
|
28262
28262
|
}
|
28263
|
-
const version$1 = "3.7.
|
28263
|
+
const version$1 = "3.7.5-dev.2024-12-16";
|
28264
28264
|
createVuetify$1.version = version$1;
|
28265
28265
|
|
28266
28266
|
// Vue's inject() can only be used in setup
|
@@ -28285,7 +28285,7 @@ const createVuetify = function () {
|
|
28285
28285
|
...options
|
28286
28286
|
});
|
28287
28287
|
};
|
28288
|
-
const version = "3.7.
|
28288
|
+
const version = "3.7.5-dev.2024-12-16";
|
28289
28289
|
createVuetify.version = version;
|
28290
28290
|
|
28291
28291
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|