@vuetify/nightly 3.7.12-master.2025-02-17 → 3.7.12-master.2025-02-19
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/CHANGELOG.md +22 -3
- package/dist/json/attributes.json +2926 -2926
- package/dist/json/importMap-labs.json +40 -40
- package/dist/json/importMap.json +104 -104
- package/dist/json/web-types.json +5491 -5491
- package/dist/vuetify-labs.css +3727 -3730
- package/dist/vuetify-labs.d.ts +127 -118
- package/dist/vuetify-labs.esm.js +49 -56
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +48 -55
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3799 -3802
- package/dist/vuetify.d.ts +142 -133
- package/dist/vuetify.esm.js +30 -41
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +29 -40
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1060 -1061
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +1 -1
- package/lib/blueprints/md1.d.mts +1 -1
- package/lib/blueprints/md2.d.mts +1 -1
- package/lib/blueprints/md3.d.mts +1 -1
- package/lib/components/VAlert/VAlert.mjs +1 -1
- package/lib/components/VAlert/index.d.mts +1 -1
- 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 +5 -5
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/index.d.mts +4 -4
- package/lib/components/VAvatar/index.d.mts +1 -1
- package/lib/components/VBadge/VBadge.mjs +1 -1
- package/lib/components/VBadge/index.d.mts +1 -1
- package/lib/components/VBanner/VBanner.mjs +1 -1
- package/lib/components/VBanner/index.d.mts +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.css +1 -0
- package/lib/components/VBottomNavigation/VBottomNavigation.sass +1 -0
- package/lib/components/VBottomNavigation/index.d.mts +1 -1
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +5 -5
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/index.d.mts +5 -5
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -1
- package/lib/components/VBtnToggle/index.d.mts +1 -1
- 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 +5 -5
- package/lib/components/VCarousel/VCarousel.mjs +1 -1
- package/lib/components/VCarousel/VCarouselItem.mjs +1 -1
- package/lib/components/VCarousel/index.d.mts +1 -1
- package/lib/components/VCheckbox/VCheckbox.mjs +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -1
- package/lib/components/VCheckbox/index.d.mts +1 -1
- package/lib/components/VChip/VChip.mjs +1 -1
- package/lib/components/VChip/index.d.mts +5 -5
- package/lib/components/VChipGroup/VChipGroup.mjs +1 -1
- package/lib/components/VChipGroup/index.d.mts +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs +1 -1
- package/lib/components/VColorPicker/index.d.mts +10 -10
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/index.d.mts +4 -4
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +5 -5
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +1 -1
- package/lib/components/VCounter/VCounter.mjs +1 -1
- package/lib/components/VDataIterator/index.d.mts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- package/lib/components/VEmptyState/VEmptyState.mjs +1 -1
- package/lib/components/VEmptyState/index.d.mts +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +1 -1
- package/lib/components/VFab/VFab.mjs +1 -1
- package/lib/components/VFab/index.d.mts +5 -5
- package/lib/components/VField/VField.mjs +1 -1
- package/lib/components/VField/VFieldLabel.mjs +1 -1
- package/lib/components/VField/index.d.mts +1 -1
- package/lib/components/VFileInput/VFileInput.mjs +2 -3
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +4 -4
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VGrid/VContainer.mjs +1 -1
- package/lib/components/VIcon/index.d.mts +1 -1
- package/lib/components/VImg/VImg.mjs +1 -1
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +1 -1
- package/lib/components/VInput/VInput.mjs +3 -3
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.mts +1 -1
- package/lib/components/VItemGroup/index.d.mts +1 -1
- package/lib/components/VLazy/VLazy.mjs +1 -1
- package/lib/components/VList/VList.mjs +2 -2
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListChildren.mjs +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -1
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +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 +17 -5
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/index.d.mts +3 -3
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +0 -4
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +3 -6
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +0 -5
- package/lib/components/VOtpInput/VOtpInput.mjs +3 -3
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +1 -1
- package/lib/components/VPagination/VPagination.mjs +1 -1
- package/lib/components/VPagination/index.d.mts +1 -1
- package/lib/components/VParallax/VParallax.mjs +1 -1
- package/lib/components/VRadio/VRadio.mjs +1 -1
- package/lib/components/VRadio/index.d.mts +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs +1 -1
- package/lib/components/VRadioGroup/index.d.mts +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +1 -1
- package/lib/components/VRating/VRating.mjs +1 -1
- package/lib/components/VRating/index.d.mts +1 -1
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/index.d.mts +4 -4
- package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -1
- package/lib/components/VSelectionControl/index.d.mts +1 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +1 -1
- package/lib/components/VSheet/VSheet.mjs +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +1 -1
- package/lib/components/VSlideGroup/index.d.mts +1 -1
- package/lib/components/VSlider/VSlider.mjs +1 -1
- package/lib/components/VSlider/VSliderThumb.mjs +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +1 -1
- package/lib/components/VSnackbar/index.d.mts +3 -3
- package/lib/components/VSparkline/VBarline.mjs +1 -2
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VSparkline.mjs +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +1 -2
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
- package/lib/components/VStepper/VStepper.mjs +3 -3
- package/lib/components/VStepper/VStepper.mjs.map +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 +1 -1
- package/lib/components/VSwitch/VSwitch.mjs +1 -1
- package/lib/components/VSwitch/index.d.mts +1 -1
- package/lib/components/VSystemBar/VSystemBar.mjs +1 -1
- 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 +20 -20
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/index.d.mts +7 -7
- package/lib/components/VTextarea/VTextarea.mjs +1 -1
- package/lib/components/VTextarea/index.d.mts +4 -4
- package/lib/components/VTimeline/VTimeline.mjs +3 -3
- package/lib/components/VTimeline/VTimeline.mjs.map +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 +1 -1
- package/lib/components/VToolbar/VToolbar.mjs +1 -1
- package/lib/components/VTooltip/VTooltip.mjs +1 -1
- package/lib/components/VTooltip/index.d.mts +3 -3
- package/lib/components/VValidation/index.d.mts +1 -1
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +1 -1
- package/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +1 -1
- package/lib/components/VWindow/VWindow.mjs +1 -1
- package/lib/components/VWindow/VWindowItem.mjs +1 -1
- package/lib/components/VWindow/index.d.mts +1 -1
- package/lib/components/index.d.mts +99 -90
- package/lib/components/transitions/dialog-transition.mjs +1 -2
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/composables/icons.mjs +1 -1
- package/lib/composables/list-items.mjs +2 -3
- package/lib/composables/list-items.mjs.map +1 -1
- package/lib/composables/variant.mjs +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/iconsets/fa-svg.d.mts +1 -1
- package/lib/iconsets/fa.d.mts +1 -1
- package/lib/iconsets/fa4.d.mts +1 -1
- package/lib/iconsets/md.d.mts +1 -1
- package/lib/iconsets/mdi-svg.d.mts +1 -1
- package/lib/iconsets/mdi.d.mts +1 -1
- package/lib/index.d.mts +44 -44
- package/lib/labs/VCalendar/VCalendar.mjs +1 -1
- package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
- package/lib/labs/VDateInput/VDateInput.mjs +4 -3
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VFileUpload/VFileUpload.mjs +3 -3
- package/lib/labs/VFileUpload/VFileUpload.mjs.map +1 -1
- package/lib/labs/VFileUpload/VFileUploadItem.mjs +1 -1
- package/lib/labs/VFileUpload/index.d.mts +5 -5
- package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
- package/lib/labs/VNumberInput/index.d.mts +22 -22
- package/lib/labs/VPicker/VPicker.mjs +1 -1
- package/lib/labs/VSnackbarQueue/VSnackbarQueue.mjs +1 -1
- package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
- 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 +1 -1
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +1 -1
- 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 +10 -12
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +5 -5
- package/lib/labs/components.d.mts +32 -32
- package/lib/locale/adapters/vue-i18n.mjs +0 -1
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/util/helpers.mjs +3 -9
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +16 -15
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.12-master.2025-02-
|
2
|
+
* Vuetify v3.7.12-master.2025-02-19
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { shallowRef,
|
7
|
+
import { shallowRef, reactive, computed, watchEffect, toRefs, capitalize, unref, Fragment, isVNode, Comment, warn, getCurrentInstance as getCurrentInstance$1, ref, provide, inject as inject$1, defineComponent as defineComponent$1, h, camelize, onBeforeUnmount, watch, readonly, onMounted, onDeactivated, onActivated, 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
|
@@ -226,10 +226,9 @@ function has(obj, key) {
|
|
226
226
|
// Array of keys
|
227
227
|
function pick(obj, paths) {
|
228
228
|
const found = {};
|
229
|
-
const
|
230
|
-
|
231
|
-
|
232
|
-
found[path] = obj[path];
|
229
|
+
for (const key of paths) {
|
230
|
+
if (Object.hasOwn(obj, key)) {
|
231
|
+
found[key] = obj[key];
|
233
232
|
}
|
234
233
|
}
|
235
234
|
return found;
|
@@ -243,7 +242,7 @@ function pickWithRest(obj, paths, exclude) {
|
|
243
242
|
const found = Object.create(null);
|
244
243
|
const rest = Object.create(null);
|
245
244
|
for (const key in obj) {
|
246
|
-
if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) &&
|
245
|
+
if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) && true) {
|
247
246
|
found[key] = obj[key];
|
248
247
|
} else {
|
249
248
|
rest[key] = obj[key];
|
@@ -258,11 +257,6 @@ function omit(obj, exclude) {
|
|
258
257
|
exclude.forEach(prop => delete clone[prop]);
|
259
258
|
return clone;
|
260
259
|
}
|
261
|
-
function only(obj, include) {
|
262
|
-
const clone = {};
|
263
|
-
include.forEach(prop => clone[prop] = obj[prop]);
|
264
|
-
return clone;
|
265
|
-
}
|
266
260
|
const onRE = /^on[^a-z]/;
|
267
261
|
const isOn = key => onRE.test(key);
|
268
262
|
const bubblingEvents = ['onAfterscriptexecute', 'onAnimationcancel', 'onAnimationend', 'onAnimationiteration', 'onAnimationstart', 'onAuxclick', 'onBeforeinput', 'onBeforescriptexecute', 'onChange', 'onClick', 'onCompositionend', 'onCompositionstart', 'onCompositionupdate', 'onContextmenu', 'onCopy', 'onCut', 'onDblclick', 'onFocusin', 'onFocusout', 'onFullscreenchange', 'onFullscreenerror', 'onGesturechange', 'onGestureend', 'onGesturestart', 'onGotpointercapture', 'onInput', 'onKeydown', 'onKeypress', 'onKeyup', 'onLostpointercapture', 'onMousedown', 'onMousemove', 'onMouseout', 'onMouseover', 'onMouseup', 'onMousewheel', 'onPaste', 'onPointercancel', 'onPointerdown', 'onPointerenter', 'onPointerleave', 'onPointermove', 'onPointerout', 'onPointerover', 'onPointerup', 'onReset', 'onSelect', 'onSubmit', 'onTouchcancel', 'onTouchend', 'onTouchmove', 'onTouchstart', 'onTransitioncancel', 'onTransitionend', 'onTransitionrun', 'onTransitionstart', 'onWheel'];
|
@@ -877,7 +871,7 @@ function APCAcontrast(text, background) {
|
|
877
871
|
// WoB should always return negative value.
|
878
872
|
|
879
873
|
const SAPC = (Ybg ** revBG - Ytxt ** revTXT) * scaleWoB;
|
880
|
-
outputContrast = SAPC > -
|
874
|
+
outputContrast = SAPC > -1e-3 ? 0.0 : SAPC > -0.078 ? SAPC - SAPC * loConFactor * loConOffset : SAPC + loConOffset;
|
881
875
|
}
|
882
876
|
return outputContrast * 100;
|
883
877
|
}
|
@@ -917,7 +911,7 @@ function toXYZ$1(lab) {
|
|
917
911
|
// Types
|
918
912
|
|
919
913
|
// For converting XYZ to sRGB
|
920
|
-
const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.
|
914
|
+
const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.204, 1.0570]];
|
921
915
|
|
922
916
|
// Forward gamma adjust
|
923
917
|
const srgbForwardTransform = C => C <= 0.0031308 ? C * 12.92 : 1.055 * C ** (1 / 2.4) - 0.055;
|
@@ -1265,7 +1259,7 @@ function getForeground(color) {
|
|
1265
1259
|
function getCurrentInstance(name, message) {
|
1266
1260
|
const vm = getCurrentInstance$1();
|
1267
1261
|
if (!vm) {
|
1268
|
-
throw new Error(`[Vuetify] ${name} ${
|
1262
|
+
throw new Error(`[Vuetify] ${name} ${'must be called from inside a setup function'}`);
|
1269
1263
|
}
|
1270
1264
|
return vm;
|
1271
1265
|
}
|
@@ -2818,6 +2812,8 @@ function ExpandTransitionGenerator () {
|
|
2818
2812
|
}
|
2819
2813
|
}
|
2820
2814
|
|
2815
|
+
// Utilities
|
2816
|
+
|
2821
2817
|
// Types
|
2822
2818
|
|
2823
2819
|
const makeVDialogTransitionProps = propsFactory({
|
@@ -4720,7 +4716,6 @@ function useIntersectionObserver(callback, options) {
|
|
4720
4716
|
const isIntersecting = shallowRef(false);
|
4721
4717
|
if (SUPPORTS_INTERSECTION) {
|
4722
4718
|
const observer = new IntersectionObserver(entries => {
|
4723
|
-
callback?.(entries, observer);
|
4724
4719
|
isIntersecting.value = !!entries.find(entry => entry.isIntersecting);
|
4725
4720
|
}, options);
|
4726
4721
|
onBeforeUnmount(() => {
|
@@ -6892,7 +6887,7 @@ const makeVInputProps = propsFactory({
|
|
6892
6887
|
'onClick:append': EventProp(),
|
6893
6888
|
...makeComponentProps(),
|
6894
6889
|
...makeDensityProps(),
|
6895
|
-
...
|
6890
|
+
...pick(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
|
6896
6891
|
...makeThemeProps(),
|
6897
6892
|
...makeValidationProps()
|
6898
6893
|
}, 'VInput');
|
@@ -9182,7 +9177,8 @@ const VListItem = genericComponent()({
|
|
9182
9177
|
list,
|
9183
9178
|
select,
|
9184
9179
|
root,
|
9185
|
-
id: uid
|
9180
|
+
id: uid,
|
9181
|
+
link
|
9186
9182
|
};
|
9187
9183
|
}
|
9188
9184
|
});
|
@@ -9450,7 +9446,6 @@ function useItems(props) {
|
|
9450
9446
|
function transformIn(value) {
|
9451
9447
|
// Cache unrefed values outside the loop,
|
9452
9448
|
// proxy getters can be slow when you call them a billion times
|
9453
|
-
const _value = toRaw(value);
|
9454
9449
|
const _items = itemsMap.value;
|
9455
9450
|
const _allItems = items.value;
|
9456
9451
|
const _keylessItems = keylessItems.value;
|
@@ -9460,7 +9455,7 @@ function useItems(props) {
|
|
9460
9455
|
const valueComparator = props.valueComparator || deepEqual;
|
9461
9456
|
const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
|
9462
9457
|
const returnValue = [];
|
9463
|
-
main: for (const v of
|
9458
|
+
main: for (const v of value) {
|
9464
9459
|
// When the model value is null, return an InternalItem
|
9465
9460
|
// based on null only if null is one of the items
|
9466
9461
|
if (!_hasNullItem && v === null) continue;
|
@@ -9706,7 +9701,7 @@ const VList = genericComponent()({
|
|
9706
9701
|
'v-list--slim': props.slim
|
9707
9702
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, props.class],
|
9708
9703
|
"style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
|
9709
|
-
"tabindex": props.disabled
|
9704
|
+
"tabindex": props.disabled ? -1 : 0,
|
9710
9705
|
"role": "listbox",
|
9711
9706
|
"aria-activedescendant": undefined,
|
9712
9707
|
"onFocusin": onFocusin,
|
@@ -18380,13 +18375,7 @@ function provideGroupBy(options) {
|
|
18380
18375
|
return [...new Set(arr)];
|
18381
18376
|
}
|
18382
18377
|
return dive({
|
18383
|
-
|
18384
|
-
items,
|
18385
|
-
id: 'dummy',
|
18386
|
-
key: 'dummy',
|
18387
|
-
value: 'dummy',
|
18388
|
-
depth: 0
|
18389
|
-
});
|
18378
|
+
items});
|
18390
18379
|
}
|
18391
18380
|
|
18392
18381
|
// onBeforeMount(() => {
|
@@ -23081,8 +23070,7 @@ const VFileInput = genericComponent()({
|
|
23081
23070
|
const fieldProps = filterFieldProps(props);
|
23082
23071
|
return createVNode(VInput, mergeProps({
|
23083
23072
|
"ref": vInputRef,
|
23084
|
-
"modelValue": model.value,
|
23085
|
-
"onUpdate:modelValue": $event => model.value = $event,
|
23073
|
+
"modelValue": props.multiple ? model.value : model.value[0],
|
23086
23074
|
"class": ['v-file-input', {
|
23087
23075
|
'v-file-input--chips': !!props.chips,
|
23088
23076
|
'v-file-input--hide': props.hideInput,
|
@@ -23921,7 +23909,7 @@ const HISTORY = 20; // number of samples to keep
|
|
23921
23909
|
/** @see https://android.googlesource.com/platform/frameworks/native/+/master/libs/input/VelocityTracker.cpp */
|
23922
23910
|
function kineticEnergyToVelocity(work) {
|
23923
23911
|
const sqrt2 = 1.41421356237;
|
23924
|
-
return (work < 0 ? -1
|
23912
|
+
return (work < 0 ? -1 : 1.0) * Math.sqrt(Math.abs(work)) * sqrt2;
|
23925
23913
|
}
|
23926
23914
|
|
23927
23915
|
/**
|
@@ -24303,7 +24291,6 @@ const VNavigationDrawer = genericComponent()({
|
|
24303
24291
|
const size = isTemporary.value ? 0 : props.rail && props.expandOnHover ? Number(props.railWidth) : width.value;
|
24304
24292
|
return isDragging.value ? size * dragProgress.value : size;
|
24305
24293
|
});
|
24306
|
-
const elementSize = computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value);
|
24307
24294
|
const {
|
24308
24295
|
layoutItemStyles,
|
24309
24296
|
layoutItemScrimStyles
|
@@ -24312,7 +24299,7 @@ const VNavigationDrawer = genericComponent()({
|
|
24312
24299
|
order: computed(() => parseInt(props.order, 10)),
|
24313
24300
|
position: location,
|
24314
24301
|
layoutSize,
|
24315
|
-
elementSize,
|
24302
|
+
elementSize: width,
|
24316
24303
|
active: computed(() => isActive.value || isDragging.value),
|
24317
24304
|
disableTransitions: computed(() => isDragging.value),
|
24318
24305
|
absolute: computed(() =>
|
@@ -24358,9 +24345,7 @@ const VNavigationDrawer = genericComponent()({
|
|
24358
24345
|
'v-navigation-drawer--active': isActive.value,
|
24359
24346
|
'v-navigation-drawer--sticky': isSticky.value
|
24360
24347
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, displayClasses.value, elevationClasses.value, roundedClasses.value, props.class],
|
24361
|
-
"style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style
|
24362
|
-
height: 'auto'
|
24363
|
-
} : {}]
|
24348
|
+
"style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style]
|
24364
24349
|
}, scopeId, attrs), {
|
24365
24350
|
default: () => [hasImage && createVNode("div", {
|
24366
24351
|
"key": "image",
|
@@ -24447,7 +24432,7 @@ const makeVOtpInputProps = propsFactory({
|
|
24447
24432
|
},
|
24448
24433
|
...makeDimensionProps(),
|
24449
24434
|
...makeFocusProps(),
|
24450
|
-
...
|
24435
|
+
...pick(makeVFieldProps({
|
24451
24436
|
variant: 'outlined'
|
24452
24437
|
}), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'rounded', 'style', 'theme', 'variant'])
|
24453
24438
|
}, 'VOtpInput');
|
@@ -25680,6 +25665,8 @@ const makeLineProps = propsFactory({
|
|
25680
25665
|
}
|
25681
25666
|
}, 'Line');
|
25682
25667
|
|
25668
|
+
// Utilities
|
25669
|
+
|
25683
25670
|
// Types
|
25684
25671
|
|
25685
25672
|
const makeVBarlineProps = propsFactory({
|
@@ -25877,6 +25864,8 @@ function moveTo(to, from, radius) {
|
|
25877
25864
|
};
|
25878
25865
|
}
|
25879
25866
|
|
25867
|
+
// Utilities
|
25868
|
+
|
25880
25869
|
// Types
|
25881
25870
|
|
25882
25871
|
const makeVTrendlineProps = propsFactory({
|
@@ -26431,7 +26420,7 @@ const makeVStepperProps = propsFactory({
|
|
26431
26420
|
selectedClass: 'v-stepper-item--selected'
|
26432
26421
|
}),
|
26433
26422
|
...makeVSheetProps(),
|
26434
|
-
...
|
26423
|
+
...pick(makeVStepperActionsProps(), ['prevText', 'nextText'])
|
26435
26424
|
}, 'VStepper');
|
26436
26425
|
const VStepper = genericComponent()({
|
26437
26426
|
name: 'VStepper',
|
@@ -27513,7 +27502,7 @@ const makeVTimelineProps = propsFactory({
|
|
27513
27502
|
type: String,
|
27514
27503
|
validator: v => ['start', 'end', 'both'].includes(v)
|
27515
27504
|
},
|
27516
|
-
...
|
27505
|
+
...pick(makeVTimelineItemProps({
|
27517
27506
|
lineInset: 0
|
27518
27507
|
}), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
|
27519
27508
|
...makeComponentProps(),
|
@@ -27819,6 +27808,10 @@ const VCalendarInterval = genericComponent()({
|
|
27819
27808
|
...makeVCalendarIntervalProps()
|
27820
27809
|
},
|
27821
27810
|
setup(props, _ref) {
|
27811
|
+
let {
|
27812
|
+
emit,
|
27813
|
+
slots
|
27814
|
+
} = _ref;
|
27822
27815
|
const adapter = useDate();
|
27823
27816
|
const interval = computed(() => {
|
27824
27817
|
const start = adapter.addMinutes(adapter.startOfDay(props.day.date), props.intervalDuration * (props.index + props.intervalStart));
|
@@ -28290,7 +28283,8 @@ const VDateInput = genericComponent()({
|
|
28290
28283
|
"onClick:prepend": isInteractive.value ? onClick : undefined,
|
28291
28284
|
"onUpdate:modelValue": onUpdateModel
|
28292
28285
|
}), {
|
28293
|
-
|
28286
|
+
...slots,
|
28287
|
+
default: () => createVNode(Fragment, null, [createVNode(VMenu, {
|
28294
28288
|
"modelValue": menu.value,
|
28295
28289
|
"onUpdate:modelValue": $event => menu.value = $event,
|
28296
28290
|
"activator": "parent",
|
@@ -28333,7 +28327,7 @@ const VDateInput = genericComponent()({
|
|
28333
28327
|
});
|
28334
28328
|
}
|
28335
28329
|
})]
|
28336
|
-
}), slots.default?.()]
|
28330
|
+
}), slots.default?.()])
|
28337
28331
|
});
|
28338
28332
|
});
|
28339
28333
|
return forwardRefs({}, vDateInputRef);
|
@@ -28468,7 +28462,7 @@ const makeVFileUploadProps = propsFactory({
|
|
28468
28462
|
name: String,
|
28469
28463
|
...makeDelayProps(),
|
28470
28464
|
...makeDensityProps(),
|
28471
|
-
...
|
28465
|
+
...pick(makeVDividerProps({
|
28472
28466
|
length: 150
|
28473
28467
|
}), ['length', 'thickness', 'opacity']),
|
28474
28468
|
...makeVSheetProps()
|
@@ -29832,7 +29826,7 @@ const VTimePickerControls = genericComponent()({
|
|
29832
29826
|
const rangeHours24 = createRange(24);
|
29833
29827
|
const rangeHours12am = createRange(12);
|
29834
29828
|
const rangeHours12pm = rangeHours12am.map(v => v + 12);
|
29835
|
-
|
29829
|
+
createRange(60);
|
29836
29830
|
const selectingNames = {
|
29837
29831
|
1: 'hour',
|
29838
29832
|
2: 'minute',
|
@@ -29982,11 +29976,11 @@ const VTimePicker = genericComponent()({
|
|
29982
29976
|
period.value = inputHour.value == null || inputHour.value < 12 ? 'am' : 'pm';
|
29983
29977
|
}
|
29984
29978
|
function firstAllowed(type, value) {
|
29985
|
-
const allowedFn =
|
29979
|
+
const allowedFn = isAllowedHourCb.value ;
|
29986
29980
|
if (!allowedFn) return value;
|
29987
29981
|
|
29988
29982
|
// TODO: clean up (Note from V2 code)
|
29989
|
-
const range =
|
29983
|
+
const range = isAmPm.value ? value < 12 ? rangeHours12am : rangeHours12pm : rangeHours24;
|
29990
29984
|
const first = range.find(v => allowedFn((v + value) % range.length + range[0]));
|
29991
29985
|
return ((first || 0) + value) % range.length + range[0];
|
29992
29986
|
}
|
@@ -30139,22 +30133,21 @@ const VTreeviewItem = genericComponent()({
|
|
30139
30133
|
props: makeVTreeviewItemProps(),
|
30140
30134
|
setup(props, _ref) {
|
30141
30135
|
let {
|
30142
|
-
|
30143
|
-
slots,
|
30144
|
-
emit
|
30136
|
+
slots
|
30145
30137
|
} = _ref;
|
30146
|
-
const
|
30138
|
+
const visibleIds = inject$1(VTreeviewSymbol, {
|
30139
|
+
visibleIds: ref()
|
30140
|
+
}).visibleIds;
|
30147
30141
|
const vListItemRef = ref();
|
30148
30142
|
const isActivatableGroupActivator = computed(() => vListItemRef.value?.root.activatable.value && vListItemRef.value?.isGroupActivator);
|
30149
|
-
const
|
30143
|
+
const vListItemRefIsClickable = computed(() => vListItemRef.value?.link.isClickable.value || props.value != null && !!vListItemRef.value?.list);
|
30144
|
+
const isClickable = computed(() => !props.disabled && props.link !== false && (props.link || vListItemRefIsClickable.value || isActivatableGroupActivator.value));
|
30145
|
+
const isFiltered = computed(() => visibleIds.value && !visibleIds.value.has(toRaw(vListItemRef.value?.id)));
|
30150
30146
|
function activateGroupActivator(e) {
|
30151
30147
|
if (isClickable.value && isActivatableGroupActivator.value) {
|
30152
30148
|
vListItemRef.value?.activate(!vListItemRef.value?.isActivated, e);
|
30153
30149
|
}
|
30154
30150
|
}
|
30155
|
-
const visibleIds = inject$1(VTreeviewSymbol, {
|
30156
|
-
visibleIds: ref()
|
30157
|
-
}).visibleIds;
|
30158
30151
|
useRender(() => {
|
30159
30152
|
const listItemProps = omit(VListItem.filterProps(props), ['onClick']);
|
30160
30153
|
const hasPrepend = slots.prepend || props.toggleIcon;
|
@@ -30164,7 +30157,7 @@ const VTreeviewItem = genericComponent()({
|
|
30164
30157
|
"active": vListItemRef.value?.isActivated,
|
30165
30158
|
"class": ['v-treeview-item', {
|
30166
30159
|
'v-treeview-item--activatable-group-activator': isActivatableGroupActivator.value,
|
30167
|
-
'v-treeview-item--filtered':
|
30160
|
+
'v-treeview-item--filtered': isFiltered.value
|
30168
30161
|
}, props.class],
|
30169
30162
|
"ripple": false,
|
30170
30163
|
"onClick": props.onClick ?? activateGroupActivator
|
@@ -30966,7 +30959,7 @@ function createVuetify$1() {
|
|
30966
30959
|
goTo
|
30967
30960
|
};
|
30968
30961
|
}
|
30969
|
-
const version$1 = "3.7.12-master.2025-02-
|
30962
|
+
const version$1 = "3.7.12-master.2025-02-19";
|
30970
30963
|
createVuetify$1.version = version$1;
|
30971
30964
|
|
30972
30965
|
// Vue's inject() can only be used in setup
|
@@ -31219,7 +31212,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
31219
31212
|
|
31220
31213
|
/* eslint-disable local-rules/sort-imports */
|
31221
31214
|
|
31222
|
-
const version = "3.7.12-master.2025-02-
|
31215
|
+
const version = "3.7.12-master.2025-02-19";
|
31223
31216
|
|
31224
31217
|
/* eslint-disable local-rules/sort-imports */
|
31225
31218
|
|