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.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
*/
|
|
@@ -159,10 +159,9 @@
|
|
|
159
159
|
// Array of keys
|
|
160
160
|
function pick(obj, paths) {
|
|
161
161
|
const found = {};
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
found[path] = obj[path];
|
|
162
|
+
for (const key of paths) {
|
|
163
|
+
if (Object.hasOwn(obj, key)) {
|
|
164
|
+
found[key] = obj[key];
|
|
166
165
|
}
|
|
167
166
|
}
|
|
168
167
|
return found;
|
|
@@ -176,7 +175,7 @@
|
|
|
176
175
|
const found = Object.create(null);
|
|
177
176
|
const rest = Object.create(null);
|
|
178
177
|
for (const key in obj) {
|
|
179
|
-
if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) &&
|
|
178
|
+
if (paths.some(path => path instanceof RegExp ? path.test(key) : path === key) && true) {
|
|
180
179
|
found[key] = obj[key];
|
|
181
180
|
} else {
|
|
182
181
|
rest[key] = obj[key];
|
|
@@ -191,11 +190,6 @@
|
|
|
191
190
|
exclude.forEach(prop => delete clone[prop]);
|
|
192
191
|
return clone;
|
|
193
192
|
}
|
|
194
|
-
function only(obj, include) {
|
|
195
|
-
const clone = {};
|
|
196
|
-
include.forEach(prop => clone[prop] = obj[prop]);
|
|
197
|
-
return clone;
|
|
198
|
-
}
|
|
199
193
|
const onRE = /^on[^a-z]/;
|
|
200
194
|
const isOn = key => onRE.test(key);
|
|
201
195
|
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'];
|
|
@@ -504,6 +498,9 @@
|
|
|
504
498
|
const noModifier = !e.ctrlKey && !e.metaKey && !e.altKey;
|
|
505
499
|
return isPrintableChar && noModifier;
|
|
506
500
|
}
|
|
501
|
+
function isPrimitive(value) {
|
|
502
|
+
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint';
|
|
503
|
+
}
|
|
507
504
|
|
|
508
505
|
// Utilities
|
|
509
506
|
const block = ['top', 'bottom'];
|
|
@@ -801,7 +798,7 @@
|
|
|
801
798
|
// WoB should always return negative value.
|
|
802
799
|
|
|
803
800
|
const SAPC = (Ybg ** revBG - Ytxt ** revTXT) * scaleWoB;
|
|
804
|
-
outputContrast = SAPC > -
|
|
801
|
+
outputContrast = SAPC > -1e-3 ? 0.0 : SAPC > -0.078 ? SAPC - SAPC * loConFactor * loConOffset : SAPC + loConOffset;
|
|
805
802
|
}
|
|
806
803
|
return outputContrast * 100;
|
|
807
804
|
}
|
|
@@ -841,7 +838,7 @@
|
|
|
841
838
|
// Types
|
|
842
839
|
|
|
843
840
|
// For converting XYZ to sRGB
|
|
844
|
-
const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.
|
|
841
|
+
const srgbForwardMatrix = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.204, 1.0570]];
|
|
845
842
|
|
|
846
843
|
// Forward gamma adjust
|
|
847
844
|
const srgbForwardTransform = C => C <= 0.0031308 ? C * 12.92 : 1.055 * C ** (1 / 2.4) - 0.055;
|
|
@@ -1260,7 +1257,7 @@
|
|
|
1260
1257
|
function getCurrentInstance(name, message) {
|
|
1261
1258
|
const vm = vue.getCurrentInstance();
|
|
1262
1259
|
if (!vm) {
|
|
1263
|
-
throw new Error(`[Vuetify] ${name} ${
|
|
1260
|
+
throw new Error(`[Vuetify] ${name} ${'must be called from inside a setup function'}`);
|
|
1264
1261
|
}
|
|
1265
1262
|
return vm;
|
|
1266
1263
|
}
|
|
@@ -3260,6 +3257,8 @@
|
|
|
3260
3257
|
}
|
|
3261
3258
|
}
|
|
3262
3259
|
|
|
3260
|
+
// Utilities
|
|
3261
|
+
|
|
3263
3262
|
// Types
|
|
3264
3263
|
|
|
3265
3264
|
const makeVDialogTransitionProps = propsFactory({
|
|
@@ -4954,7 +4953,6 @@
|
|
|
4954
4953
|
const isIntersecting = vue.shallowRef(false);
|
|
4955
4954
|
if (SUPPORTS_INTERSECTION) {
|
|
4956
4955
|
const observer = new IntersectionObserver(entries => {
|
|
4957
|
-
callback?.(entries, observer);
|
|
4958
4956
|
isIntersecting.value = !!entries.find(entry => entry.isIntersecting);
|
|
4959
4957
|
}, options);
|
|
4960
4958
|
vue.onBeforeUnmount(() => {
|
|
@@ -5582,11 +5580,13 @@
|
|
|
5582
5580
|
animation.classList.add('v-ripple__animation--visible');
|
|
5583
5581
|
transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
|
|
5584
5582
|
animation.dataset.activated = String(performance.now());
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5583
|
+
requestAnimationFrame(() => {
|
|
5584
|
+
requestAnimationFrame(() => {
|
|
5585
|
+
animation.classList.remove('v-ripple__animation--enter');
|
|
5586
|
+
animation.classList.add('v-ripple__animation--in');
|
|
5587
|
+
transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
|
|
5588
|
+
});
|
|
5589
|
+
});
|
|
5590
5590
|
},
|
|
5591
5591
|
hide(el) {
|
|
5592
5592
|
if (!el?._ripple?.enabled) return;
|
|
@@ -7124,7 +7124,7 @@
|
|
|
7124
7124
|
'onClick:append': EventProp(),
|
|
7125
7125
|
...makeComponentProps(),
|
|
7126
7126
|
...makeDensityProps(),
|
|
7127
|
-
...
|
|
7127
|
+
...pick(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
|
|
7128
7128
|
...makeThemeProps(),
|
|
7129
7129
|
...makeValidationProps()
|
|
7130
7130
|
}, 'VInput');
|
|
@@ -8581,12 +8581,12 @@
|
|
|
8581
8581
|
return selected;
|
|
8582
8582
|
},
|
|
8583
8583
|
in: (v, children, parents) => {
|
|
8584
|
-
|
|
8584
|
+
const map = new Map();
|
|
8585
8585
|
for (const id of v || []) {
|
|
8586
|
-
|
|
8586
|
+
strategy.select({
|
|
8587
8587
|
id,
|
|
8588
8588
|
value: true,
|
|
8589
|
-
selected:
|
|
8589
|
+
selected: map,
|
|
8590
8590
|
children,
|
|
8591
8591
|
parents
|
|
8592
8592
|
});
|
|
@@ -8621,11 +8621,10 @@
|
|
|
8621
8621
|
});
|
|
8622
8622
|
},
|
|
8623
8623
|
in: (v, children, parents) => {
|
|
8624
|
-
let map = new Map();
|
|
8625
8624
|
if (v?.length) {
|
|
8626
|
-
|
|
8625
|
+
return parentStrategy.in(v.slice(0, 1), children, parents);
|
|
8627
8626
|
}
|
|
8628
|
-
return
|
|
8627
|
+
return new Map();
|
|
8629
8628
|
},
|
|
8630
8629
|
out: (v, children, parents) => {
|
|
8631
8630
|
return parentStrategy.out(v, children, parents);
|
|
@@ -8728,7 +8727,7 @@
|
|
|
8728
8727
|
map = strategy.select({
|
|
8729
8728
|
id,
|
|
8730
8729
|
value: true,
|
|
8731
|
-
selected:
|
|
8730
|
+
selected: map,
|
|
8732
8731
|
children,
|
|
8733
8732
|
parents
|
|
8734
8733
|
});
|
|
@@ -8953,7 +8952,22 @@
|
|
|
8953
8952
|
parents: parents.value,
|
|
8954
8953
|
event
|
|
8955
8954
|
});
|
|
8956
|
-
newActivated
|
|
8955
|
+
if (newActivated.size !== activated.value.size) {
|
|
8956
|
+
activated.value = newActivated;
|
|
8957
|
+
} else {
|
|
8958
|
+
for (const value of newActivated) {
|
|
8959
|
+
if (!activated.value.has(value)) {
|
|
8960
|
+
activated.value = newActivated;
|
|
8961
|
+
return;
|
|
8962
|
+
}
|
|
8963
|
+
}
|
|
8964
|
+
for (const value of activated.value) {
|
|
8965
|
+
if (!newActivated.has(value)) {
|
|
8966
|
+
activated.value = newActivated;
|
|
8967
|
+
return;
|
|
8968
|
+
}
|
|
8969
|
+
}
|
|
8970
|
+
}
|
|
8957
8971
|
},
|
|
8958
8972
|
children,
|
|
8959
8973
|
parents,
|
|
@@ -9400,7 +9414,8 @@
|
|
|
9400
9414
|
list,
|
|
9401
9415
|
select,
|
|
9402
9416
|
root,
|
|
9403
|
-
id: uid
|
|
9417
|
+
id: uid,
|
|
9418
|
+
link
|
|
9404
9419
|
};
|
|
9405
9420
|
}
|
|
9406
9421
|
});
|
|
@@ -9612,10 +9627,7 @@
|
|
|
9612
9627
|
default: 'props'
|
|
9613
9628
|
},
|
|
9614
9629
|
returnObject: Boolean,
|
|
9615
|
-
valueComparator:
|
|
9616
|
-
type: Function,
|
|
9617
|
-
default: deepEqual
|
|
9618
|
-
}
|
|
9630
|
+
valueComparator: Function
|
|
9619
9631
|
}, 'list-items');
|
|
9620
9632
|
function transformItem$3(props, item) {
|
|
9621
9633
|
const title = getPropertyFromItem(item, props.itemTitle, item);
|
|
@@ -9636,29 +9648,84 @@
|
|
|
9636
9648
|
};
|
|
9637
9649
|
}
|
|
9638
9650
|
function transformItems$3(props, items) {
|
|
9651
|
+
const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
|
|
9639
9652
|
const array = [];
|
|
9640
9653
|
for (const item of items) {
|
|
9641
|
-
array.push(transformItem$3(
|
|
9654
|
+
array.push(transformItem$3(_props, item));
|
|
9642
9655
|
}
|
|
9643
9656
|
return array;
|
|
9644
9657
|
}
|
|
9645
9658
|
function useItems(props) {
|
|
9646
9659
|
const items = vue.computed(() => transformItems$3(props, props.items));
|
|
9647
9660
|
const hasNullItem = vue.computed(() => items.value.some(item => item.value === null));
|
|
9661
|
+
const itemsMap = vue.shallowRef(new Map());
|
|
9662
|
+
const keylessItems = vue.shallowRef([]);
|
|
9663
|
+
vue.watchEffect(() => {
|
|
9664
|
+
const _items = items.value;
|
|
9665
|
+
const map = new Map();
|
|
9666
|
+
const keyless = [];
|
|
9667
|
+
for (let i = 0; i < _items.length; i++) {
|
|
9668
|
+
const item = _items[i];
|
|
9669
|
+
if (isPrimitive(item.value) || item.value === null) {
|
|
9670
|
+
let values = map.get(item.value);
|
|
9671
|
+
if (!values) {
|
|
9672
|
+
values = [];
|
|
9673
|
+
map.set(item.value, values);
|
|
9674
|
+
}
|
|
9675
|
+
values.push(item);
|
|
9676
|
+
} else {
|
|
9677
|
+
keyless.push(item);
|
|
9678
|
+
}
|
|
9679
|
+
}
|
|
9680
|
+
itemsMap.value = map;
|
|
9681
|
+
keylessItems.value = keyless;
|
|
9682
|
+
});
|
|
9648
9683
|
function transformIn(value) {
|
|
9649
|
-
|
|
9684
|
+
// Cache unrefed values outside the loop,
|
|
9685
|
+
// proxy getters can be slow when you call them a billion times
|
|
9686
|
+
const _items = itemsMap.value;
|
|
9687
|
+
const _allItems = items.value;
|
|
9688
|
+
const _keylessItems = keylessItems.value;
|
|
9689
|
+
const _hasNullItem = hasNullItem.value;
|
|
9690
|
+
const _returnObject = props.returnObject;
|
|
9691
|
+
const hasValueComparator = !!props.valueComparator;
|
|
9692
|
+
const valueComparator = props.valueComparator || deepEqual;
|
|
9693
|
+
const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
|
|
9694
|
+
const returnValue = [];
|
|
9695
|
+
main: for (const v of value) {
|
|
9650
9696
|
// When the model value is null, return an InternalItem
|
|
9651
9697
|
// based on null only if null is one of the items
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
if
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9698
|
+
if (!_hasNullItem && v === null) continue;
|
|
9699
|
+
|
|
9700
|
+
// String model value means value is a custom input value from combobox
|
|
9701
|
+
// Don't look up existing items if the model value is a string
|
|
9702
|
+
if (_returnObject && typeof v === 'string') {
|
|
9703
|
+
returnValue.push(transformItem$3(_props, v));
|
|
9704
|
+
continue;
|
|
9659
9705
|
}
|
|
9660
|
-
|
|
9661
|
-
|
|
9706
|
+
|
|
9707
|
+
// Fast path, items with primitive values and no
|
|
9708
|
+
// custom valueComparator can use a constant-time
|
|
9709
|
+
// map lookup instead of searching the items array
|
|
9710
|
+
const fastItems = _items.get(v);
|
|
9711
|
+
|
|
9712
|
+
// Slow path, always use valueComparator.
|
|
9713
|
+
// This is O(n^2) so we really don't want to
|
|
9714
|
+
// do it for more than a couple hundred items.
|
|
9715
|
+
if (hasValueComparator || !fastItems) {
|
|
9716
|
+
for (const item of hasValueComparator ? _allItems : _keylessItems) {
|
|
9717
|
+
if (valueComparator(v, item.value)) {
|
|
9718
|
+
returnValue.push(item);
|
|
9719
|
+
continue main;
|
|
9720
|
+
}
|
|
9721
|
+
}
|
|
9722
|
+
// Not an existing item, construct it from the model (#4000)
|
|
9723
|
+
returnValue.push(transformItem$3(_props, v));
|
|
9724
|
+
continue;
|
|
9725
|
+
}
|
|
9726
|
+
returnValue.push(...fastItems);
|
|
9727
|
+
}
|
|
9728
|
+
return returnValue;
|
|
9662
9729
|
}
|
|
9663
9730
|
function transformOut(value) {
|
|
9664
9731
|
return props.returnObject ? value.map(_ref => {
|
|
@@ -9682,9 +9749,6 @@
|
|
|
9682
9749
|
|
|
9683
9750
|
// Types
|
|
9684
9751
|
|
|
9685
|
-
function isPrimitive(value) {
|
|
9686
|
-
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean';
|
|
9687
|
-
}
|
|
9688
9752
|
function transformItem$2(props, item) {
|
|
9689
9753
|
const type = getPropertyFromItem(item, props.itemType, 'item');
|
|
9690
9754
|
const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle);
|
|
@@ -9874,7 +9938,7 @@
|
|
|
9874
9938
|
'v-list--slim': props.slim
|
|
9875
9939
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, props.class],
|
|
9876
9940
|
"style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
|
|
9877
|
-
"tabindex": props.disabled
|
|
9941
|
+
"tabindex": props.disabled ? -1 : 0,
|
|
9878
9942
|
"role": "listbox",
|
|
9879
9943
|
"aria-activedescendant": undefined,
|
|
9880
9944
|
"onFocusin": onFocusin,
|
|
@@ -12733,7 +12797,7 @@
|
|
|
12733
12797
|
let keyboardLookupLastTime;
|
|
12734
12798
|
const displayItems = vue.computed(() => {
|
|
12735
12799
|
if (props.hideSelected) {
|
|
12736
|
-
return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)));
|
|
12800
|
+
return items.value.filter(item => !model.value.some(s => (props.valueComparator || deepEqual)(s, item)));
|
|
12737
12801
|
}
|
|
12738
12802
|
return items.value;
|
|
12739
12803
|
});
|
|
@@ -12805,7 +12869,7 @@
|
|
|
12805
12869
|
let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
12806
12870
|
if (item.props.disabled) return;
|
|
12807
12871
|
if (props.multiple) {
|
|
12808
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
12872
|
+
const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
|
|
12809
12873
|
const add = set == null ? !~index : set;
|
|
12810
12874
|
if (~index) {
|
|
12811
12875
|
const value = add ? [...model.value, item] : [...model.value];
|
|
@@ -12852,7 +12916,7 @@
|
|
|
12852
12916
|
}
|
|
12853
12917
|
vue.watch(menu, () => {
|
|
12854
12918
|
if (!props.hideSelected && menu.value && model.value.length) {
|
|
12855
|
-
const index = displayItems.value.findIndex(item => model.value.some(s => props.valueComparator(s.value, item.value)));
|
|
12919
|
+
const index = displayItems.value.findIndex(item => model.value.some(s => (props.valueComparator || deepEqual)(s.value, item.value)));
|
|
12856
12920
|
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
12857
12921
|
index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
|
|
12858
12922
|
});
|
|
@@ -13384,7 +13448,7 @@
|
|
|
13384
13448
|
let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
13385
13449
|
if (!item || item.props.disabled) return;
|
|
13386
13450
|
if (props.multiple) {
|
|
13387
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
13451
|
+
const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
|
|
13388
13452
|
const add = set == null ? !~index : set;
|
|
13389
13453
|
if (~index) {
|
|
13390
13454
|
const value = add ? [...model.value, item] : [...model.value];
|
|
@@ -15773,6 +15837,8 @@
|
|
|
15773
15837
|
const trackContainerRef = vue.ref();
|
|
15774
15838
|
const activeThumbRef = vue.ref();
|
|
15775
15839
|
function parseMouseMove(e) {
|
|
15840
|
+
const el = trackContainerRef.value?.$el;
|
|
15841
|
+
if (!el) return;
|
|
15776
15842
|
const vertical = props.direction === 'vertical';
|
|
15777
15843
|
const start = vertical ? 'top' : 'left';
|
|
15778
15844
|
const length = vertical ? 'height' : 'width';
|
|
@@ -15780,7 +15846,7 @@
|
|
|
15780
15846
|
const {
|
|
15781
15847
|
[start]: trackStart,
|
|
15782
15848
|
[length]: trackLength
|
|
15783
|
-
} =
|
|
15849
|
+
} = el.getBoundingClientRect();
|
|
15784
15850
|
const clickOffset = getPosition(e, position);
|
|
15785
15851
|
|
|
15786
15852
|
// It is possible for left to be NaN, force to number
|
|
@@ -15789,13 +15855,17 @@
|
|
|
15789
15855
|
return roundValue(min.value + clickPos * (max.value - min.value));
|
|
15790
15856
|
}
|
|
15791
15857
|
const handleStop = e => {
|
|
15792
|
-
|
|
15793
|
-
|
|
15794
|
-
|
|
15858
|
+
const value = parseMouseMove(e);
|
|
15859
|
+
if (value != null) {
|
|
15860
|
+
onSliderEnd({
|
|
15861
|
+
value
|
|
15862
|
+
});
|
|
15863
|
+
}
|
|
15795
15864
|
mousePressed.value = false;
|
|
15796
15865
|
startOffset.value = 0;
|
|
15797
15866
|
};
|
|
15798
15867
|
const handleStart = e => {
|
|
15868
|
+
const value = parseMouseMove(e);
|
|
15799
15869
|
activeThumbRef.value = getActiveThumb(e);
|
|
15800
15870
|
if (!activeThumbRef.value) return;
|
|
15801
15871
|
mousePressed.value = true;
|
|
@@ -15803,13 +15873,17 @@
|
|
|
15803
15873
|
startOffset.value = getOffset(e, activeThumbRef.value, props.direction);
|
|
15804
15874
|
} else {
|
|
15805
15875
|
startOffset.value = 0;
|
|
15806
|
-
|
|
15807
|
-
|
|
15876
|
+
if (value != null) {
|
|
15877
|
+
onSliderMove({
|
|
15878
|
+
value
|
|
15879
|
+
});
|
|
15880
|
+
}
|
|
15881
|
+
}
|
|
15882
|
+
if (value != null) {
|
|
15883
|
+
onSliderStart({
|
|
15884
|
+
value
|
|
15808
15885
|
});
|
|
15809
15886
|
}
|
|
15810
|
-
onSliderStart({
|
|
15811
|
-
value: parseMouseMove(e)
|
|
15812
|
-
});
|
|
15813
15887
|
vue.nextTick(() => activeThumbRef.value?.focus());
|
|
15814
15888
|
};
|
|
15815
15889
|
const moveListenerOptions = {
|
|
@@ -15817,9 +15891,12 @@
|
|
|
15817
15891
|
capture: true
|
|
15818
15892
|
};
|
|
15819
15893
|
function onMouseMove(e) {
|
|
15820
|
-
|
|
15821
|
-
|
|
15822
|
-
|
|
15894
|
+
const value = parseMouseMove(e);
|
|
15895
|
+
if (value != null) {
|
|
15896
|
+
onSliderMove({
|
|
15897
|
+
value
|
|
15898
|
+
});
|
|
15899
|
+
}
|
|
15823
15900
|
}
|
|
15824
15901
|
function onSliderMouseUp(e) {
|
|
15825
15902
|
e.stopPropagation();
|
|
@@ -17258,7 +17335,7 @@
|
|
|
17258
17335
|
let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
17259
17336
|
if (!item || item.props.disabled) return;
|
|
17260
17337
|
if (props.multiple) {
|
|
17261
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
17338
|
+
const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
|
|
17262
17339
|
const add = set == null ? !~index : set;
|
|
17263
17340
|
if (~index) {
|
|
17264
17341
|
const value = add ? [...model.value, item] : [...model.value];
|
|
@@ -17318,7 +17395,7 @@
|
|
|
17318
17395
|
});
|
|
17319
17396
|
vue.watch(menu, () => {
|
|
17320
17397
|
if (!props.hideSelected && menu.value && model.value.length) {
|
|
17321
|
-
const index = displayItems.value.findIndex(item => model.value.some(s => props.valueComparator(s.value, item.value)));
|
|
17398
|
+
const index = displayItems.value.findIndex(item => model.value.some(s => (props.valueComparator || deepEqual)(s.value, item.value)));
|
|
17322
17399
|
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
17323
17400
|
index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
|
|
17324
17401
|
});
|
|
@@ -18535,13 +18612,7 @@
|
|
|
18535
18612
|
return [...new Set(arr)];
|
|
18536
18613
|
}
|
|
18537
18614
|
return dive({
|
|
18538
|
-
|
|
18539
|
-
items,
|
|
18540
|
-
id: 'dummy',
|
|
18541
|
-
key: 'dummy',
|
|
18542
|
-
value: 'dummy',
|
|
18543
|
-
depth: 0
|
|
18544
|
-
});
|
|
18615
|
+
items});
|
|
18545
18616
|
}
|
|
18546
18617
|
|
|
18547
18618
|
// onBeforeMount(() => {
|
|
@@ -18985,15 +19056,19 @@
|
|
|
18985
19056
|
})) ?? [];
|
|
18986
19057
|
const item = newSortBy.find(x => x.key === column.key);
|
|
18987
19058
|
if (!item) {
|
|
18988
|
-
if (multiSort.value)
|
|
18989
|
-
|
|
18990
|
-
|
|
18991
|
-
|
|
18992
|
-
|
|
18993
|
-
|
|
18994
|
-
|
|
19059
|
+
if (multiSort.value) {
|
|
19060
|
+
newSortBy.push({
|
|
19061
|
+
key: column.key,
|
|
19062
|
+
order: 'asc'
|
|
19063
|
+
});
|
|
19064
|
+
} else {
|
|
19065
|
+
newSortBy = [{
|
|
19066
|
+
key: column.key,
|
|
19067
|
+
order: 'asc'
|
|
19068
|
+
}];
|
|
19069
|
+
}
|
|
18995
19070
|
} else if (item.order === 'desc') {
|
|
18996
|
-
if (mustSort.value) {
|
|
19071
|
+
if (mustSort.value && newSortBy.length === 1) {
|
|
18997
19072
|
item.order = 'asc';
|
|
18998
19073
|
} else {
|
|
18999
19074
|
newSortBy = newSortBy.filter(x => x.key !== column.key);
|
|
@@ -21618,7 +21693,7 @@
|
|
|
21618
21693
|
},
|
|
21619
21694
|
disabled: {
|
|
21620
21695
|
type: [Boolean, String, Array],
|
|
21621
|
-
default:
|
|
21696
|
+
default: null
|
|
21622
21697
|
},
|
|
21623
21698
|
nextIcon: {
|
|
21624
21699
|
type: IconValue,
|
|
@@ -21800,7 +21875,10 @@
|
|
|
21800
21875
|
// Composables
|
|
21801
21876
|
const makeCalendarProps = propsFactory({
|
|
21802
21877
|
allowedDates: [Array, Function],
|
|
21803
|
-
disabled:
|
|
21878
|
+
disabled: {
|
|
21879
|
+
type: Boolean,
|
|
21880
|
+
default: null
|
|
21881
|
+
},
|
|
21804
21882
|
displayValue: null,
|
|
21805
21883
|
modelValue: Array,
|
|
21806
21884
|
month: [Number, String],
|
|
@@ -21952,7 +22030,7 @@
|
|
|
21952
22030
|
type: String,
|
|
21953
22031
|
default: 'picker-reverse-transition'
|
|
21954
22032
|
},
|
|
21955
|
-
...makeCalendarProps()
|
|
22033
|
+
...omit(makeCalendarProps(), ['displayValue'])
|
|
21956
22034
|
}, 'VDatePickerMonth');
|
|
21957
22035
|
const VDatePickerMonth = genericComponent()({
|
|
21958
22036
|
name: 'VDatePickerMonth',
|
|
@@ -23229,8 +23307,7 @@
|
|
|
23229
23307
|
const fieldProps = filterFieldProps(props);
|
|
23230
23308
|
return vue.createVNode(VInput, vue.mergeProps({
|
|
23231
23309
|
"ref": vInputRef,
|
|
23232
|
-
"modelValue": model.value,
|
|
23233
|
-
"onUpdate:modelValue": $event => model.value = $event,
|
|
23310
|
+
"modelValue": props.multiple ? model.value : model.value[0],
|
|
23234
23311
|
"class": ['v-file-input', {
|
|
23235
23312
|
'v-file-input--chips': !!props.chips,
|
|
23236
23313
|
'v-file-input--hide': props.hideInput,
|
|
@@ -24069,7 +24146,7 @@
|
|
|
24069
24146
|
/** @see https://android.googlesource.com/platform/frameworks/native/+/master/libs/input/VelocityTracker.cpp */
|
|
24070
24147
|
function kineticEnergyToVelocity(work) {
|
|
24071
24148
|
const sqrt2 = 1.41421356237;
|
|
24072
|
-
return (work < 0 ? -1
|
|
24149
|
+
return (work < 0 ? -1 : 1.0) * Math.sqrt(Math.abs(work)) * sqrt2;
|
|
24073
24150
|
}
|
|
24074
24151
|
|
|
24075
24152
|
/**
|
|
@@ -24451,7 +24528,6 @@
|
|
|
24451
24528
|
const size = isTemporary.value ? 0 : props.rail && props.expandOnHover ? Number(props.railWidth) : width.value;
|
|
24452
24529
|
return isDragging.value ? size * dragProgress.value : size;
|
|
24453
24530
|
});
|
|
24454
|
-
const elementSize = vue.computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value);
|
|
24455
24531
|
const {
|
|
24456
24532
|
layoutItemStyles,
|
|
24457
24533
|
layoutItemScrimStyles
|
|
@@ -24460,7 +24536,7 @@
|
|
|
24460
24536
|
order: vue.computed(() => parseInt(props.order, 10)),
|
|
24461
24537
|
position: location,
|
|
24462
24538
|
layoutSize,
|
|
24463
|
-
elementSize,
|
|
24539
|
+
elementSize: width,
|
|
24464
24540
|
active: vue.computed(() => isActive.value || isDragging.value),
|
|
24465
24541
|
disableTransitions: vue.computed(() => isDragging.value),
|
|
24466
24542
|
absolute: vue.computed(() =>
|
|
@@ -24506,9 +24582,7 @@
|
|
|
24506
24582
|
'v-navigation-drawer--active': isActive.value,
|
|
24507
24583
|
'v-navigation-drawer--sticky': isSticky.value
|
|
24508
24584
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, displayClasses.value, elevationClasses.value, roundedClasses.value, props.class],
|
|
24509
|
-
"style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style
|
|
24510
|
-
height: 'auto'
|
|
24511
|
-
} : {}]
|
|
24585
|
+
"style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style]
|
|
24512
24586
|
}, scopeId, attrs), {
|
|
24513
24587
|
default: () => [hasImage && vue.createVNode("div", {
|
|
24514
24588
|
"key": "image",
|
|
@@ -24595,7 +24669,7 @@
|
|
|
24595
24669
|
},
|
|
24596
24670
|
...makeDimensionProps(),
|
|
24597
24671
|
...makeFocusProps(),
|
|
24598
|
-
...
|
|
24672
|
+
...pick(makeVFieldProps({
|
|
24599
24673
|
variant: 'outlined'
|
|
24600
24674
|
}), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'rounded', 'style', 'theme', 'variant'])
|
|
24601
24675
|
}, 'VOtpInput');
|
|
@@ -25828,6 +25902,8 @@
|
|
|
25828
25902
|
}
|
|
25829
25903
|
}, 'Line');
|
|
25830
25904
|
|
|
25905
|
+
// Utilities
|
|
25906
|
+
|
|
25831
25907
|
// Types
|
|
25832
25908
|
|
|
25833
25909
|
const makeVBarlineProps = propsFactory({
|
|
@@ -26025,6 +26101,8 @@
|
|
|
26025
26101
|
};
|
|
26026
26102
|
}
|
|
26027
26103
|
|
|
26104
|
+
// Utilities
|
|
26105
|
+
|
|
26028
26106
|
// Types
|
|
26029
26107
|
|
|
26030
26108
|
const makeVTrendlineProps = propsFactory({
|
|
@@ -26579,7 +26657,7 @@
|
|
|
26579
26657
|
selectedClass: 'v-stepper-item--selected'
|
|
26580
26658
|
}),
|
|
26581
26659
|
...makeVSheetProps(),
|
|
26582
|
-
...
|
|
26660
|
+
...pick(makeVStepperActionsProps(), ['prevText', 'nextText'])
|
|
26583
26661
|
}, 'VStepper');
|
|
26584
26662
|
const VStepper = genericComponent()({
|
|
26585
26663
|
name: 'VStepper',
|
|
@@ -27661,7 +27739,7 @@
|
|
|
27661
27739
|
type: String,
|
|
27662
27740
|
validator: v => ['start', 'end', 'both'].includes(v)
|
|
27663
27741
|
},
|
|
27664
|
-
...
|
|
27742
|
+
...pick(makeVTimelineItemProps({
|
|
27665
27743
|
lineInset: 0
|
|
27666
27744
|
}), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
|
|
27667
27745
|
...makeComponentProps(),
|
|
@@ -28333,7 +28411,7 @@
|
|
|
28333
28411
|
goTo
|
|
28334
28412
|
};
|
|
28335
28413
|
}
|
|
28336
|
-
const version$1 = "3.7.
|
|
28414
|
+
const version$1 = "3.7.13";
|
|
28337
28415
|
createVuetify$1.version = version$1;
|
|
28338
28416
|
|
|
28339
28417
|
// Vue's inject() can only be used in setup
|
|
@@ -28358,7 +28436,7 @@
|
|
|
28358
28436
|
...options
|
|
28359
28437
|
});
|
|
28360
28438
|
};
|
|
28361
|
-
const version = "3.7.
|
|
28439
|
+
const version = "3.7.13";
|
|
28362
28440
|
createVuetify.version = version;
|
|
28363
28441
|
|
|
28364
28442
|
exports.blueprints = index;
|