vuetify 3.7.11 → 3.7.13
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 +2699 -2703
- package/dist/json/importMap-labs.json +28 -28
- package/dist/json/importMap.json +166 -166
- package/dist/json/tags.json +3 -4
- package/dist/json/web-types.json +5312 -5321
- package/dist/vuetify-labs.css +3272 -3266
- package/dist/vuetify-labs.d.ts +296 -326
- package/dist/vuetify-labs.esm.js +301 -159
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +300 -158
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2292 -2294
- package/dist/vuetify.d.ts +258 -297
- package/dist/vuetify.esm.js +177 -99
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +176 -98
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +266 -252
- 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 +3 -3
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +29 -51
- 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 +4 -4
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +29 -51
- 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/composables/sort.mjs +12 -8
- package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerControls.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +3 -3
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +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 +38 -38
- 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 +3 -6
- 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 +24 -21
- 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.css +2 -1
- package/lib/components/VOverlay/VOverlay.mjs +1 -1
- package/lib/components/VOverlay/VOverlay.sass +2 -1
- package/lib/components/VOverlay/_variables.scss +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 +5 -5
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +29 -51
- 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/VSlider/slider.mjs +25 -12
- package/lib/components/VSlider/slider.mjs.map +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/VTabs.mjs.map +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 +21 -21
- 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 +198 -237
- package/lib/components/transitions/dialog-transition.mjs +1 -2
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/composables/calendar.mjs +4 -1
- package/lib/composables/calendar.mjs.map +1 -1
- package/lib/composables/icons.mjs +1 -1
- package/lib/composables/list-items.mjs +69 -17
- package/lib/composables/list-items.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +16 -1
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +6 -7
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/variant.mjs +1 -1
- package/lib/directives/ripple/index.mjs +7 -5
- package/lib/directives/ripple/index.mjs.map +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 +61 -61
- package/lib/labs/VCalendar/VCalendar.mjs +1 -1
- package/lib/labs/VCalendar/VCalendarDay.mjs +1 -1
- package/lib/labs/VCalendar/index.d.mts +8 -2
- package/lib/labs/VDateInput/VDateInput.mjs +21 -10
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +19 -19
- 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.css +10 -2
- package/lib/labs/VNumberInput/VNumberInput.mjs +94 -36
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/VNumberInput.sass +12 -2
- package/lib/labs/VNumberInput/index.d.mts +59 -32
- 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 +2 -2
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +2 -8
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +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 +12 -36
- package/lib/labs/components.d.mts +103 -94
- package/lib/locale/adapters/vue-i18n.mjs +0 -1
- package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
- package/lib/util/helpers.mjs +6 -9
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +17 -16
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.7.
|
|
2
|
+
* Vuetify v3.7.13
|
|
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, createVNode, mergeProps, onBeforeUnmount, watch, readonly, onMounted, onDeactivated, onActivated, 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;
|
|
@@ -155,10 +155,9 @@ function has(obj, key) {
|
|
|
155
155
|
// Array of keys
|
|
156
156
|
function pick(obj, paths) {
|
|
157
157
|
const found = {};
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
found[path] = obj[path];
|
|
158
|
+
for (const key of paths) {
|
|
159
|
+
if (Object.hasOwn(obj, key)) {
|
|
160
|
+
found[key] = obj[key];
|
|
162
161
|
}
|
|
163
162
|
}
|
|
164
163
|
return found;
|
|
@@ -172,7 +171,7 @@ function pickWithRest(obj, paths, exclude) {
|
|
|
172
171
|
const found = Object.create(null);
|
|
173
172
|
const rest = Object.create(null);
|
|
174
173
|
for (const key in obj) {
|
|
175
|
-
if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) &&
|
|
174
|
+
if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) && true) {
|
|
176
175
|
found[key] = obj[key];
|
|
177
176
|
} else {
|
|
178
177
|
rest[key] = obj[key];
|
|
@@ -187,11 +186,6 @@ function omit(obj, exclude) {
|
|
|
187
186
|
exclude.forEach(prop => delete clone[prop]);
|
|
188
187
|
return clone;
|
|
189
188
|
}
|
|
190
|
-
function only(obj, include) {
|
|
191
|
-
const clone = {};
|
|
192
|
-
include.forEach(prop => clone[prop] = obj[prop]);
|
|
193
|
-
return clone;
|
|
194
|
-
}
|
|
195
189
|
const onRE = /^on[^a-z]/;
|
|
196
190
|
const isOn = key => onRE.test(key);
|
|
197
191
|
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'];
|
|
@@ -500,6 +494,9 @@ function checkPrintable(e) {
|
|
|
500
494
|
const noModifier = !e.ctrlKey && !e.metaKey && !e.altKey;
|
|
501
495
|
return isPrintableChar && noModifier;
|
|
502
496
|
}
|
|
497
|
+
function isPrimitive(value) {
|
|
498
|
+
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint';
|
|
499
|
+
}
|
|
503
500
|
|
|
504
501
|
// Utilities
|
|
505
502
|
const block = ['top', 'bottom'];
|
|
@@ -797,7 +794,7 @@ function APCAcontrast(text, background) {
|
|
|
797
794
|
// WoB should always return negative value.
|
|
798
795
|
|
|
799
796
|
const SAPC = (Ybg ** revBG - Ytxt ** revTXT) * scaleWoB;
|
|
800
|
-
outputContrast = SAPC > -
|
|
797
|
+
outputContrast = SAPC > -1e-3 ? 0.0 : SAPC > -0.078 ? SAPC - SAPC * loConFactor * loConOffset : SAPC + loConOffset;
|
|
801
798
|
}
|
|
802
799
|
return outputContrast * 100;
|
|
803
800
|
}
|
|
@@ -837,7 +834,7 @@ function toXYZ$1(lab) {
|
|
|
837
834
|
// Types
|
|
838
835
|
|
|
839
836
|
// For converting XYZ to sRGB
|
|
840
|
-
const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.
|
|
837
|
+
const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.204, 1.0570]];
|
|
841
838
|
|
|
842
839
|
// Forward gamma adjust
|
|
843
840
|
const srgbForwardTransform = C => C <= 0.0031308 ? C * 12.92 : 1.055 * C ** (1 / 2.4) - 0.055;
|
|
@@ -1256,7 +1253,7 @@ const makeComponentProps = propsFactory({
|
|
|
1256
1253
|
function getCurrentInstance(name, message) {
|
|
1257
1254
|
const vm = getCurrentInstance$1();
|
|
1258
1255
|
if (!vm) {
|
|
1259
|
-
throw new Error(`[Vuetify] ${name} ${
|
|
1256
|
+
throw new Error(`[Vuetify] ${name} ${'must be called from inside a setup function'}`);
|
|
1260
1257
|
}
|
|
1261
1258
|
return vm;
|
|
1262
1259
|
}
|
|
@@ -3256,6 +3253,8 @@ function ExpandTransitionGenerator () {
|
|
|
3256
3253
|
}
|
|
3257
3254
|
}
|
|
3258
3255
|
|
|
3256
|
+
// Utilities
|
|
3257
|
+
|
|
3259
3258
|
// Types
|
|
3260
3259
|
|
|
3261
3260
|
const makeVDialogTransitionProps = propsFactory({
|
|
@@ -4950,7 +4949,6 @@ function useIntersectionObserver(callback, options) {
|
|
|
4950
4949
|
const isIntersecting = shallowRef(false);
|
|
4951
4950
|
if (SUPPORTS_INTERSECTION) {
|
|
4952
4951
|
const observer = new IntersectionObserver(entries => {
|
|
4953
|
-
callback?.(entries, observer);
|
|
4954
4952
|
isIntersecting.value = !!entries.find(entry => entry.isIntersecting);
|
|
4955
4953
|
}, options);
|
|
4956
4954
|
onBeforeUnmount(() => {
|
|
@@ -5578,11 +5576,13 @@ const ripples = {
|
|
|
5578
5576
|
animation.classList.add('v-ripple__animation--visible');
|
|
5579
5577
|
transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
|
|
5580
5578
|
animation.dataset.activated = String(performance.now());
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5579
|
+
requestAnimationFrame(() => {
|
|
5580
|
+
requestAnimationFrame(() => {
|
|
5581
|
+
animation.classList.remove('v-ripple__animation--enter');
|
|
5582
|
+
animation.classList.add('v-ripple__animation--in');
|
|
5583
|
+
transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
|
|
5584
|
+
});
|
|
5585
|
+
});
|
|
5586
5586
|
},
|
|
5587
5587
|
hide(el) {
|
|
5588
5588
|
if (!el?._ripple?.enabled) return;
|
|
@@ -7120,7 +7120,7 @@ const makeVInputProps = propsFactory({
|
|
|
7120
7120
|
'onClick:append': EventProp(),
|
|
7121
7121
|
...makeComponentProps(),
|
|
7122
7122
|
...makeDensityProps(),
|
|
7123
|
-
...
|
|
7123
|
+
...pick(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
|
|
7124
7124
|
...makeThemeProps(),
|
|
7125
7125
|
...makeValidationProps()
|
|
7126
7126
|
}, 'VInput');
|
|
@@ -8577,12 +8577,12 @@ const independentSelectStrategy = mandatory => {
|
|
|
8577
8577
|
return selected;
|
|
8578
8578
|
},
|
|
8579
8579
|
in: (v, children, parents) => {
|
|
8580
|
-
|
|
8580
|
+
const map = new Map();
|
|
8581
8581
|
for (const id of v || []) {
|
|
8582
|
-
|
|
8582
|
+
strategy.select({
|
|
8583
8583
|
id,
|
|
8584
8584
|
value: true,
|
|
8585
|
-
selected:
|
|
8585
|
+
selected: map,
|
|
8586
8586
|
children,
|
|
8587
8587
|
parents
|
|
8588
8588
|
});
|
|
@@ -8617,11 +8617,10 @@ const independentSingleSelectStrategy = mandatory => {
|
|
|
8617
8617
|
});
|
|
8618
8618
|
},
|
|
8619
8619
|
in: (v, children, parents) => {
|
|
8620
|
-
let map = new Map();
|
|
8621
8620
|
if (v?.length) {
|
|
8622
|
-
|
|
8621
|
+
return parentStrategy.in(v.slice(0, 1), children, parents);
|
|
8623
8622
|
}
|
|
8624
|
-
return
|
|
8623
|
+
return new Map();
|
|
8625
8624
|
},
|
|
8626
8625
|
out: (v, children, parents) => {
|
|
8627
8626
|
return parentStrategy.out(v, children, parents);
|
|
@@ -8724,7 +8723,7 @@ const classicSelectStrategy = mandatory => {
|
|
|
8724
8723
|
map = strategy.select({
|
|
8725
8724
|
id,
|
|
8726
8725
|
value: true,
|
|
8727
|
-
selected:
|
|
8726
|
+
selected: map,
|
|
8728
8727
|
children,
|
|
8729
8728
|
parents
|
|
8730
8729
|
});
|
|
@@ -8949,7 +8948,22 @@ const useNested = props => {
|
|
|
8949
8948
|
parents: parents.value,
|
|
8950
8949
|
event
|
|
8951
8950
|
});
|
|
8952
|
-
newActivated
|
|
8951
|
+
if (newActivated.size !== activated.value.size) {
|
|
8952
|
+
activated.value = newActivated;
|
|
8953
|
+
} else {
|
|
8954
|
+
for (const value of newActivated) {
|
|
8955
|
+
if (!activated.value.has(value)) {
|
|
8956
|
+
activated.value = newActivated;
|
|
8957
|
+
return;
|
|
8958
|
+
}
|
|
8959
|
+
}
|
|
8960
|
+
for (const value of activated.value) {
|
|
8961
|
+
if (!newActivated.has(value)) {
|
|
8962
|
+
activated.value = newActivated;
|
|
8963
|
+
return;
|
|
8964
|
+
}
|
|
8965
|
+
}
|
|
8966
|
+
}
|
|
8953
8967
|
},
|
|
8954
8968
|
children,
|
|
8955
8969
|
parents,
|
|
@@ -9396,7 +9410,8 @@ const VListItem = genericComponent()({
|
|
|
9396
9410
|
list,
|
|
9397
9411
|
select,
|
|
9398
9412
|
root,
|
|
9399
|
-
id: uid
|
|
9413
|
+
id: uid,
|
|
9414
|
+
link
|
|
9400
9415
|
};
|
|
9401
9416
|
}
|
|
9402
9417
|
});
|
|
@@ -9608,10 +9623,7 @@ const makeItemsProps = propsFactory({
|
|
|
9608
9623
|
default: 'props'
|
|
9609
9624
|
},
|
|
9610
9625
|
returnObject: Boolean,
|
|
9611
|
-
valueComparator:
|
|
9612
|
-
type: Function,
|
|
9613
|
-
default: deepEqual
|
|
9614
|
-
}
|
|
9626
|
+
valueComparator: Function
|
|
9615
9627
|
}, 'list-items');
|
|
9616
9628
|
function transformItem$3(props, item) {
|
|
9617
9629
|
const title = getPropertyFromItem(item, props.itemTitle, item);
|
|
@@ -9632,29 +9644,84 @@ function transformItem$3(props, item) {
|
|
|
9632
9644
|
};
|
|
9633
9645
|
}
|
|
9634
9646
|
function transformItems$3(props, items) {
|
|
9647
|
+
const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
|
|
9635
9648
|
const array = [];
|
|
9636
9649
|
for (const item of items) {
|
|
9637
|
-
array.push(transformItem$3(
|
|
9650
|
+
array.push(transformItem$3(_props, item));
|
|
9638
9651
|
}
|
|
9639
9652
|
return array;
|
|
9640
9653
|
}
|
|
9641
9654
|
function useItems(props) {
|
|
9642
9655
|
const items = computed(() => transformItems$3(props, props.items));
|
|
9643
9656
|
const hasNullItem = computed(() => items.value.some(item => item.value === null));
|
|
9657
|
+
const itemsMap = shallowRef(new Map());
|
|
9658
|
+
const keylessItems = shallowRef([]);
|
|
9659
|
+
watchEffect(() => {
|
|
9660
|
+
const _items = items.value;
|
|
9661
|
+
const map = new Map();
|
|
9662
|
+
const keyless = [];
|
|
9663
|
+
for (let i = 0; i < _items.length; i++) {
|
|
9664
|
+
const item = _items[i];
|
|
9665
|
+
if (isPrimitive(item.value) || item.value === null) {
|
|
9666
|
+
let values = map.get(item.value);
|
|
9667
|
+
if (!values) {
|
|
9668
|
+
values = [];
|
|
9669
|
+
map.set(item.value, values);
|
|
9670
|
+
}
|
|
9671
|
+
values.push(item);
|
|
9672
|
+
} else {
|
|
9673
|
+
keyless.push(item);
|
|
9674
|
+
}
|
|
9675
|
+
}
|
|
9676
|
+
itemsMap.value = map;
|
|
9677
|
+
keylessItems.value = keyless;
|
|
9678
|
+
});
|
|
9644
9679
|
function transformIn(value) {
|
|
9645
|
-
|
|
9680
|
+
// Cache unrefed values outside the loop,
|
|
9681
|
+
// proxy getters can be slow when you call them a billion times
|
|
9682
|
+
const _items = itemsMap.value;
|
|
9683
|
+
const _allItems = items.value;
|
|
9684
|
+
const _keylessItems = keylessItems.value;
|
|
9685
|
+
const _hasNullItem = hasNullItem.value;
|
|
9686
|
+
const _returnObject = props.returnObject;
|
|
9687
|
+
const hasValueComparator = !!props.valueComparator;
|
|
9688
|
+
const valueComparator = props.valueComparator || deepEqual;
|
|
9689
|
+
const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
|
|
9690
|
+
const returnValue = [];
|
|
9691
|
+
main: for (const v of value) {
|
|
9646
9692
|
// When the model value is null, return an InternalItem
|
|
9647
9693
|
// based on null only if null is one of the items
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
if
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9694
|
+
if (!_hasNullItem && v === null) continue;
|
|
9695
|
+
|
|
9696
|
+
// String model value means value is a custom input value from combobox
|
|
9697
|
+
// Don't look up existing items if the model value is a string
|
|
9698
|
+
if (_returnObject && typeof v === 'string') {
|
|
9699
|
+
returnValue.push(transformItem$3(_props, v));
|
|
9700
|
+
continue;
|
|
9655
9701
|
}
|
|
9656
|
-
|
|
9657
|
-
|
|
9702
|
+
|
|
9703
|
+
// Fast path, items with primitive values and no
|
|
9704
|
+
// custom valueComparator can use a constant-time
|
|
9705
|
+
// map lookup instead of searching the items array
|
|
9706
|
+
const fastItems = _items.get(v);
|
|
9707
|
+
|
|
9708
|
+
// Slow path, always use valueComparator.
|
|
9709
|
+
// This is O(n^2) so we really don't want to
|
|
9710
|
+
// do it for more than a couple hundred items.
|
|
9711
|
+
if (hasValueComparator || !fastItems) {
|
|
9712
|
+
for (const item of hasValueComparator ? _allItems : _keylessItems) {
|
|
9713
|
+
if (valueComparator(v, item.value)) {
|
|
9714
|
+
returnValue.push(item);
|
|
9715
|
+
continue main;
|
|
9716
|
+
}
|
|
9717
|
+
}
|
|
9718
|
+
// Not an existing item, construct it from the model (#4000)
|
|
9719
|
+
returnValue.push(transformItem$3(_props, v));
|
|
9720
|
+
continue;
|
|
9721
|
+
}
|
|
9722
|
+
returnValue.push(...fastItems);
|
|
9723
|
+
}
|
|
9724
|
+
return returnValue;
|
|
9658
9725
|
}
|
|
9659
9726
|
function transformOut(value) {
|
|
9660
9727
|
return props.returnObject ? value.map(_ref => {
|
|
@@ -9678,9 +9745,6 @@ function useItems(props) {
|
|
|
9678
9745
|
|
|
9679
9746
|
// Types
|
|
9680
9747
|
|
|
9681
|
-
function isPrimitive(value) {
|
|
9682
|
-
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean';
|
|
9683
|
-
}
|
|
9684
9748
|
function transformItem$2(props, item) {
|
|
9685
9749
|
const type = getPropertyFromItem(item, props.itemType, 'item');
|
|
9686
9750
|
const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle);
|
|
@@ -9870,7 +9934,7 @@ const VList = genericComponent()({
|
|
|
9870
9934
|
'v-list--slim': props.slim
|
|
9871
9935
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, props.class],
|
|
9872
9936
|
"style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
|
|
9873
|
-
"tabindex": props.disabled
|
|
9937
|
+
"tabindex": props.disabled ? -1 : 0,
|
|
9874
9938
|
"role": "listbox",
|
|
9875
9939
|
"aria-activedescendant": undefined,
|
|
9876
9940
|
"onFocusin": onFocusin,
|
|
@@ -12729,7 +12793,7 @@ const VSelect = genericComponent()({
|
|
|
12729
12793
|
let keyboardLookupLastTime;
|
|
12730
12794
|
const displayItems = computed(() => {
|
|
12731
12795
|
if (props.hideSelected) {
|
|
12732
|
-
return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)));
|
|
12796
|
+
return items.value.filter(item => !model.value.some(s => (props.valueComparator || deepEqual)(s, item)));
|
|
12733
12797
|
}
|
|
12734
12798
|
return items.value;
|
|
12735
12799
|
});
|
|
@@ -12801,7 +12865,7 @@ const VSelect = genericComponent()({
|
|
|
12801
12865
|
let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
12802
12866
|
if (item.props.disabled) return;
|
|
12803
12867
|
if (props.multiple) {
|
|
12804
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
12868
|
+
const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
|
|
12805
12869
|
const add = set == null ? !~index : set;
|
|
12806
12870
|
if (~index) {
|
|
12807
12871
|
const value = add ? [...model.value, item] : [...model.value];
|
|
@@ -12848,7 +12912,7 @@ const VSelect = genericComponent()({
|
|
|
12848
12912
|
}
|
|
12849
12913
|
watch(menu, () => {
|
|
12850
12914
|
if (!props.hideSelected && menu.value && model.value.length) {
|
|
12851
|
-
const index = displayItems.value.findIndex(item => model.value.some(s => props.valueComparator(s.value, item.value)));
|
|
12915
|
+
const index = displayItems.value.findIndex(item => model.value.some(s => (props.valueComparator || deepEqual)(s.value, item.value)));
|
|
12852
12916
|
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
12853
12917
|
index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
|
|
12854
12918
|
});
|
|
@@ -13380,7 +13444,7 @@ const VAutocomplete = genericComponent()({
|
|
|
13380
13444
|
let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
13381
13445
|
if (!item || item.props.disabled) return;
|
|
13382
13446
|
if (props.multiple) {
|
|
13383
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
13447
|
+
const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
|
|
13384
13448
|
const add = set == null ? !~index : set;
|
|
13385
13449
|
if (~index) {
|
|
13386
13450
|
const value = add ? [...model.value, item] : [...model.value];
|
|
@@ -15769,6 +15833,8 @@ const useSlider = _ref => {
|
|
|
15769
15833
|
const trackContainerRef = ref();
|
|
15770
15834
|
const activeThumbRef = ref();
|
|
15771
15835
|
function parseMouseMove(e) {
|
|
15836
|
+
const el = trackContainerRef.value?.$el;
|
|
15837
|
+
if (!el) return;
|
|
15772
15838
|
const vertical = props.direction === 'vertical';
|
|
15773
15839
|
const start = vertical ? 'top' : 'left';
|
|
15774
15840
|
const length = vertical ? 'height' : 'width';
|
|
@@ -15776,7 +15842,7 @@ const useSlider = _ref => {
|
|
|
15776
15842
|
const {
|
|
15777
15843
|
[start]: trackStart,
|
|
15778
15844
|
[length]: trackLength
|
|
15779
|
-
} =
|
|
15845
|
+
} = el.getBoundingClientRect();
|
|
15780
15846
|
const clickOffset = getPosition(e, position);
|
|
15781
15847
|
|
|
15782
15848
|
// It is possible for left to be NaN, force to number
|
|
@@ -15785,13 +15851,17 @@ const useSlider = _ref => {
|
|
|
15785
15851
|
return roundValue(min.value + clickPos * (max.value - min.value));
|
|
15786
15852
|
}
|
|
15787
15853
|
const handleStop = e => {
|
|
15788
|
-
|
|
15789
|
-
|
|
15790
|
-
|
|
15854
|
+
const value = parseMouseMove(e);
|
|
15855
|
+
if (value != null) {
|
|
15856
|
+
onSliderEnd({
|
|
15857
|
+
value
|
|
15858
|
+
});
|
|
15859
|
+
}
|
|
15791
15860
|
mousePressed.value = false;
|
|
15792
15861
|
startOffset.value = 0;
|
|
15793
15862
|
};
|
|
15794
15863
|
const handleStart = e => {
|
|
15864
|
+
const value = parseMouseMove(e);
|
|
15795
15865
|
activeThumbRef.value = getActiveThumb(e);
|
|
15796
15866
|
if (!activeThumbRef.value) return;
|
|
15797
15867
|
mousePressed.value = true;
|
|
@@ -15799,13 +15869,17 @@ const useSlider = _ref => {
|
|
|
15799
15869
|
startOffset.value = getOffset(e, activeThumbRef.value, props.direction);
|
|
15800
15870
|
} else {
|
|
15801
15871
|
startOffset.value = 0;
|
|
15802
|
-
|
|
15803
|
-
|
|
15872
|
+
if (value != null) {
|
|
15873
|
+
onSliderMove({
|
|
15874
|
+
value
|
|
15875
|
+
});
|
|
15876
|
+
}
|
|
15877
|
+
}
|
|
15878
|
+
if (value != null) {
|
|
15879
|
+
onSliderStart({
|
|
15880
|
+
value
|
|
15804
15881
|
});
|
|
15805
15882
|
}
|
|
15806
|
-
onSliderStart({
|
|
15807
|
-
value: parseMouseMove(e)
|
|
15808
|
-
});
|
|
15809
15883
|
nextTick(() => activeThumbRef.value?.focus());
|
|
15810
15884
|
};
|
|
15811
15885
|
const moveListenerOptions = {
|
|
@@ -15813,9 +15887,12 @@ const useSlider = _ref => {
|
|
|
15813
15887
|
capture: true
|
|
15814
15888
|
};
|
|
15815
15889
|
function onMouseMove(e) {
|
|
15816
|
-
|
|
15817
|
-
|
|
15818
|
-
|
|
15890
|
+
const value = parseMouseMove(e);
|
|
15891
|
+
if (value != null) {
|
|
15892
|
+
onSliderMove({
|
|
15893
|
+
value
|
|
15894
|
+
});
|
|
15895
|
+
}
|
|
15819
15896
|
}
|
|
15820
15897
|
function onSliderMouseUp(e) {
|
|
15821
15898
|
e.stopPropagation();
|
|
@@ -17254,7 +17331,7 @@ const VCombobox = genericComponent()({
|
|
|
17254
17331
|
let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
17255
17332
|
if (!item || item.props.disabled) return;
|
|
17256
17333
|
if (props.multiple) {
|
|
17257
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
17334
|
+
const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
|
|
17258
17335
|
const add = set == null ? !~index : set;
|
|
17259
17336
|
if (~index) {
|
|
17260
17337
|
const value = add ? [...model.value, item] : [...model.value];
|
|
@@ -17314,7 +17391,7 @@ const VCombobox = genericComponent()({
|
|
|
17314
17391
|
});
|
|
17315
17392
|
watch(menu, () => {
|
|
17316
17393
|
if (!props.hideSelected && menu.value && model.value.length) {
|
|
17317
|
-
const index = displayItems.value.findIndex(item => model.value.some(s => props.valueComparator(s.value, item.value)));
|
|
17394
|
+
const index = displayItems.value.findIndex(item => model.value.some(s => (props.valueComparator || deepEqual)(s.value, item.value)));
|
|
17318
17395
|
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
17319
17396
|
index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
|
|
17320
17397
|
});
|
|
@@ -18531,13 +18608,7 @@ function provideGroupBy(options) {
|
|
|
18531
18608
|
return [...new Set(arr)];
|
|
18532
18609
|
}
|
|
18533
18610
|
return dive({
|
|
18534
|
-
|
|
18535
|
-
items,
|
|
18536
|
-
id: 'dummy',
|
|
18537
|
-
key: 'dummy',
|
|
18538
|
-
value: 'dummy',
|
|
18539
|
-
depth: 0
|
|
18540
|
-
});
|
|
18611
|
+
items});
|
|
18541
18612
|
}
|
|
18542
18613
|
|
|
18543
18614
|
// onBeforeMount(() => {
|
|
@@ -18981,15 +19052,19 @@ function provideSort(options) {
|
|
|
18981
19052
|
})) ?? [];
|
|
18982
19053
|
const item = newSortBy.find(x => x.key === column.key);
|
|
18983
19054
|
if (!item) {
|
|
18984
|
-
if (multiSort.value)
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
18989
|
-
|
|
18990
|
-
|
|
19055
|
+
if (multiSort.value) {
|
|
19056
|
+
newSortBy.push({
|
|
19057
|
+
key: column.key,
|
|
19058
|
+
order: 'asc'
|
|
19059
|
+
});
|
|
19060
|
+
} else {
|
|
19061
|
+
newSortBy = [{
|
|
19062
|
+
key: column.key,
|
|
19063
|
+
order: 'asc'
|
|
19064
|
+
}];
|
|
19065
|
+
}
|
|
18991
19066
|
} else if (item.order === 'desc') {
|
|
18992
|
-
if (mustSort.value) {
|
|
19067
|
+
if (mustSort.value && newSortBy.length === 1) {
|
|
18993
19068
|
item.order = 'asc';
|
|
18994
19069
|
} else {
|
|
18995
19070
|
newSortBy = newSortBy.filter(x => x.key !== column.key);
|
|
@@ -21614,7 +21689,7 @@ const makeVDatePickerControlsProps = propsFactory({
|
|
|
21614
21689
|
},
|
|
21615
21690
|
disabled: {
|
|
21616
21691
|
type: [Boolean, String, Array],
|
|
21617
|
-
default:
|
|
21692
|
+
default: null
|
|
21618
21693
|
},
|
|
21619
21694
|
nextIcon: {
|
|
21620
21695
|
type: IconValue,
|
|
@@ -21796,7 +21871,10 @@ const VDatePickerHeader = genericComponent()({
|
|
|
21796
21871
|
// Composables
|
|
21797
21872
|
const makeCalendarProps = propsFactory({
|
|
21798
21873
|
allowedDates: [Array, Function],
|
|
21799
|
-
disabled:
|
|
21874
|
+
disabled: {
|
|
21875
|
+
type: Boolean,
|
|
21876
|
+
default: null
|
|
21877
|
+
},
|
|
21800
21878
|
displayValue: null,
|
|
21801
21879
|
modelValue: Array,
|
|
21802
21880
|
month: [Number, String],
|
|
@@ -21948,7 +22026,7 @@ const makeVDatePickerMonthProps = propsFactory({
|
|
|
21948
22026
|
type: String,
|
|
21949
22027
|
default: 'picker-reverse-transition'
|
|
21950
22028
|
},
|
|
21951
|
-
...makeCalendarProps()
|
|
22029
|
+
...omit(makeCalendarProps(), ['displayValue'])
|
|
21952
22030
|
}, 'VDatePickerMonth');
|
|
21953
22031
|
const VDatePickerMonth = genericComponent()({
|
|
21954
22032
|
name: 'VDatePickerMonth',
|
|
@@ -23225,8 +23303,7 @@ const VFileInput = genericComponent()({
|
|
|
23225
23303
|
const fieldProps = filterFieldProps(props);
|
|
23226
23304
|
return createVNode(VInput, mergeProps({
|
|
23227
23305
|
"ref": vInputRef,
|
|
23228
|
-
"modelValue": model.value,
|
|
23229
|
-
"onUpdate:modelValue": $event => model.value = $event,
|
|
23306
|
+
"modelValue": props.multiple ? model.value : model.value[0],
|
|
23230
23307
|
"class": ['v-file-input', {
|
|
23231
23308
|
'v-file-input--chips': !!props.chips,
|
|
23232
23309
|
'v-file-input--hide': props.hideInput,
|
|
@@ -24065,7 +24142,7 @@ const HISTORY = 20; // number of samples to keep
|
|
|
24065
24142
|
/** @see https://android.googlesource.com/platform/frameworks/native/+/master/libs/input/VelocityTracker.cpp */
|
|
24066
24143
|
function kineticEnergyToVelocity(work) {
|
|
24067
24144
|
const sqrt2 = 1.41421356237;
|
|
24068
|
-
return (work < 0 ? -1
|
|
24145
|
+
return (work < 0 ? -1 : 1.0) * Math.sqrt(Math.abs(work)) * sqrt2;
|
|
24069
24146
|
}
|
|
24070
24147
|
|
|
24071
24148
|
/**
|
|
@@ -24447,7 +24524,6 @@ const VNavigationDrawer = genericComponent()({
|
|
|
24447
24524
|
const size = isTemporary.value ? 0 : props.rail && props.expandOnHover ? Number(props.railWidth) : width.value;
|
|
24448
24525
|
return isDragging.value ? size * dragProgress.value : size;
|
|
24449
24526
|
});
|
|
24450
|
-
const elementSize = computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value);
|
|
24451
24527
|
const {
|
|
24452
24528
|
layoutItemStyles,
|
|
24453
24529
|
layoutItemScrimStyles
|
|
@@ -24456,7 +24532,7 @@ const VNavigationDrawer = genericComponent()({
|
|
|
24456
24532
|
order: computed(() => parseInt(props.order, 10)),
|
|
24457
24533
|
position: location,
|
|
24458
24534
|
layoutSize,
|
|
24459
|
-
elementSize,
|
|
24535
|
+
elementSize: width,
|
|
24460
24536
|
active: computed(() => isActive.value || isDragging.value),
|
|
24461
24537
|
disableTransitions: computed(() => isDragging.value),
|
|
24462
24538
|
absolute: computed(() =>
|
|
@@ -24502,9 +24578,7 @@ const VNavigationDrawer = genericComponent()({
|
|
|
24502
24578
|
'v-navigation-drawer--active': isActive.value,
|
|
24503
24579
|
'v-navigation-drawer--sticky': isSticky.value
|
|
24504
24580
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, displayClasses.value, elevationClasses.value, roundedClasses.value, props.class],
|
|
24505
|
-
"style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style
|
|
24506
|
-
height: 'auto'
|
|
24507
|
-
} : {}]
|
|
24581
|
+
"style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style]
|
|
24508
24582
|
}, scopeId, attrs), {
|
|
24509
24583
|
default: () => [hasImage && createVNode("div", {
|
|
24510
24584
|
"key": "image",
|
|
@@ -24591,7 +24665,7 @@ const makeVOtpInputProps = propsFactory({
|
|
|
24591
24665
|
},
|
|
24592
24666
|
...makeDimensionProps(),
|
|
24593
24667
|
...makeFocusProps(),
|
|
24594
|
-
...
|
|
24668
|
+
...pick(makeVFieldProps({
|
|
24595
24669
|
variant: 'outlined'
|
|
24596
24670
|
}), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'rounded', 'style', 'theme', 'variant'])
|
|
24597
24671
|
}, 'VOtpInput');
|
|
@@ -25824,6 +25898,8 @@ const makeLineProps = propsFactory({
|
|
|
25824
25898
|
}
|
|
25825
25899
|
}, 'Line');
|
|
25826
25900
|
|
|
25901
|
+
// Utilities
|
|
25902
|
+
|
|
25827
25903
|
// Types
|
|
25828
25904
|
|
|
25829
25905
|
const makeVBarlineProps = propsFactory({
|
|
@@ -26021,6 +26097,8 @@ function moveTo(to, from, radius) {
|
|
|
26021
26097
|
};
|
|
26022
26098
|
}
|
|
26023
26099
|
|
|
26100
|
+
// Utilities
|
|
26101
|
+
|
|
26024
26102
|
// Types
|
|
26025
26103
|
|
|
26026
26104
|
const makeVTrendlineProps = propsFactory({
|
|
@@ -26575,7 +26653,7 @@ const makeVStepperProps = propsFactory({
|
|
|
26575
26653
|
selectedClass: 'v-stepper-item--selected'
|
|
26576
26654
|
}),
|
|
26577
26655
|
...makeVSheetProps(),
|
|
26578
|
-
...
|
|
26656
|
+
...pick(makeVStepperActionsProps(), ['prevText', 'nextText'])
|
|
26579
26657
|
}, 'VStepper');
|
|
26580
26658
|
const VStepper = genericComponent()({
|
|
26581
26659
|
name: 'VStepper',
|
|
@@ -27657,7 +27735,7 @@ const makeVTimelineProps = propsFactory({
|
|
|
27657
27735
|
type: String,
|
|
27658
27736
|
validator: v => ['start', 'end', 'both'].includes(v)
|
|
27659
27737
|
},
|
|
27660
|
-
...
|
|
27738
|
+
...pick(makeVTimelineItemProps({
|
|
27661
27739
|
lineInset: 0
|
|
27662
27740
|
}), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
|
|
27663
27741
|
...makeComponentProps(),
|
|
@@ -28329,7 +28407,7 @@ function createVuetify$1() {
|
|
|
28329
28407
|
goTo
|
|
28330
28408
|
};
|
|
28331
28409
|
}
|
|
28332
|
-
const version$1 = "3.7.
|
|
28410
|
+
const version$1 = "3.7.13";
|
|
28333
28411
|
createVuetify$1.version = version$1;
|
|
28334
28412
|
|
|
28335
28413
|
// Vue's inject() can only be used in setup
|
|
@@ -28354,7 +28432,7 @@ const createVuetify = function () {
|
|
|
28354
28432
|
...options
|
|
28355
28433
|
});
|
|
28356
28434
|
};
|
|
28357
|
-
const version = "3.7.
|
|
28435
|
+
const version = "3.7.13";
|
|
28358
28436
|
createVuetify.version = version;
|
|
28359
28437
|
|
|
28360
28438
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|