vuetify 3.1.10 → 3.1.11
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 +203 -27
- package/dist/json/importMap.json +98 -98
- package/dist/json/tags.json +46 -2
- package/dist/json/web-types.json +481 -49
- package/dist/vuetify-labs.css +224 -204
- package/dist/vuetify-labs.d.ts +56923 -14294
- package/dist/vuetify-labs.esm.js +121 -129
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +121 -129
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +47 -39
- package/dist/vuetify.d.ts +55374 -15927
- package/dist/vuetify.esm.js +118 -129
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +118 -129
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +640 -642
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +6 -9
- package/lib/blueprints/md1.d.ts +6 -9
- package/lib/blueprints/md2.d.ts +6 -9
- package/lib/blueprints/md3.d.ts +6 -9
- package/lib/blueprints/md3.mjs +6 -0
- package/lib/blueprints/md3.mjs.map +1 -1
- package/lib/components/VAlert/index.d.ts +509 -83
- package/lib/components/VApp/VApp.css +1 -0
- package/lib/components/VApp/VApp.sass +1 -0
- package/lib/components/VApp/index.d.ts +158 -20
- package/lib/components/VAppBar/VAppBar.mjs +2 -2
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +616 -110
- package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.ts +1656 -130
- package/lib/components/VAvatar/index.d.ts +205 -29
- package/lib/components/VBadge/index.d.ts +284 -42
- package/lib/components/VBanner/index.d.ts +478 -84
- package/lib/components/VBottomNavigation/index.d.ts +321 -40
- package/lib/components/VBreadcrumbs/index.d.ts +325 -45
- package/lib/components/VBtn/VBtn.css +0 -5
- package/lib/components/VBtn/VBtn.mjs +40 -39
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +0 -7
- package/lib/components/VBtn/_variables.scss +0 -2
- package/lib/components/VBtn/index.d.ts +452 -69
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -7
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +185 -26
- package/lib/components/VBtnToggle/VBtnToggle.mjs +2 -2
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +245 -35
- package/lib/components/VCard/index.d.ts +938 -172
- package/lib/components/VCarousel/index.d.ts +561 -123
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -4
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +831 -147
- package/lib/components/VChip/index.d.ts +473 -75
- package/lib/components/VChipGroup/index.d.ts +227 -32
- package/lib/components/VCode/index.d.ts +109 -16
- package/lib/components/VColorPicker/index.d.ts +284 -20
- package/lib/components/VCombobox/VCombobox.mjs +2 -2
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +1668 -130
- package/lib/components/VCounter/index.d.ts +1894 -87
- package/lib/components/VDefaultsProvider/index.d.ts +131 -22
- package/lib/components/VDialog/VDialog.css +31 -24
- package/lib/components/VDialog/VDialog.mjs +2 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +19 -12
- package/lib/components/VDialog/index.d.ts +2362 -146
- package/lib/components/VDivider/index.d.ts +130 -23
- package/lib/components/VExpansionPanel/index.d.ts +719 -119
- package/lib/components/VField/index.d.ts +163 -21
- package/lib/components/VFileInput/index.d.ts +1038 -104
- package/lib/components/VFooter/index.d.ts +203 -28
- package/lib/components/VForm/index.d.ts +204 -23
- package/lib/components/VGrid/VCol.mjs +6 -5
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +4 -4
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/index.d.ts +733 -76
- package/lib/components/VHover/index.d.ts +182 -35
- package/lib/components/VIcon/index.d.ts +494 -50
- package/lib/components/VImg/index.d.ts +275 -46
- package/lib/components/VInput/index.d.ts +315 -53
- package/lib/components/VItemGroup/index.d.ts +308 -52
- package/lib/components/VKbd/VKbd.css +1 -0
- package/lib/components/VKbd/VKbd.sass +1 -0
- package/lib/components/VKbd/_variables.scss +1 -0
- package/lib/components/VKbd/index.d.ts +109 -16
- package/lib/components/VLabel/index.d.ts +113 -20
- package/lib/components/VLayout/index.d.ts +296 -41
- package/lib/components/VLazy/VLazy.mjs +4 -1
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +219 -30
- package/lib/components/VList/VListChildren.mjs +2 -2
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -4
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +1461 -223
- package/lib/components/VLocaleProvider/index.d.ts +121 -20
- package/lib/components/VMain/index.d.ts +118 -17
- package/lib/components/VMenu/VMenu.css +4 -4
- package/lib/components/VMenu/VMenu.mjs +2 -2
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.sass +1 -1
- package/lib/components/VMenu/index.d.ts +2368 -142
- package/lib/components/VMessages/index.d.ts +1921 -98
- package/lib/components/VNavigationDrawer/index.d.ts +379 -56
- package/lib/components/VOverlay/VOverlay.css +2 -2
- package/lib/components/VOverlay/VOverlay.mjs +1 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +1 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VOverlay/index.d.ts +519 -85
- package/lib/components/VPagination/index.d.ts +502 -68
- package/lib/components/VParallax/VParallax.mjs +3 -3
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +141 -28
- package/lib/components/VProgressCircular/index.d.ts +186 -25
- package/lib/components/VProgressLinear/index.d.ts +319 -48
- package/lib/components/VRadio/index.d.ts +313 -57
- package/lib/components/VRadioGroup/VRadioGroup.mjs +4 -6
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +463 -83
- package/lib/components/VRangeSlider/index.d.ts +528 -80
- package/lib/components/VRating/index.d.ts +305 -43
- package/lib/components/VResponsive/index.d.ts +142 -27
- package/lib/components/VSelect/VSelect.mjs +2 -2
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +3060 -328
- package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -4
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +76 -4
- package/lib/components/VSelectionControlGroup/index.d.ts +242 -38
- package/lib/components/VSheet/VSheet.mjs +1 -7
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.ts +194 -31
- package/lib/components/VSlideGroup/index.d.ts +475 -83
- package/lib/components/VSlider/index.d.ts +521 -79
- package/lib/components/VSlider/slider.mjs +2 -5
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +2 -2
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +1219 -81
- package/lib/components/VSwitch/VSwitch.mjs +2 -2
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +498 -92
- package/lib/components/VSystemBar/index.d.ts +184 -27
- package/lib/components/VTable/index.d.ts +190 -35
- package/lib/components/VTabs/VTab.mjs +7 -23
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/index.d.ts +623 -71
- package/lib/components/VTextField/VTextField.mjs +8 -5
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +1404 -106
- package/lib/components/VTextarea/VTextarea.mjs +7 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +1014 -102
- package/lib/components/VThemeProvider/index.d.ts +124 -19
- package/lib/components/VTimeline/index.d.ts +441 -71
- package/lib/components/VToolbar/VToolbar.mjs +1 -4
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.ts +542 -93
- package/lib/components/VTooltip/VTooltip.css +3 -3
- package/lib/components/VTooltip/VTooltip.mjs +2 -2
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.sass +1 -1
- package/lib/components/VTooltip/index.d.ts +1263 -81
- package/lib/components/VValidation/index.d.ts +201 -30
- package/lib/components/VWindow/index.d.ts +527 -95
- package/lib/components/index.d.ts +55131 -15681
- package/lib/components/transitions/index.d.ts +2097 -308
- package/lib/composables/display.mjs +2 -0
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/form.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.ts +32 -35
- package/lib/labs/VDataTable/VDataTable.css +12 -0
- package/lib/labs/VDataTable/VDataTable.sass +6 -0
- package/lib/labs/VDataTable/VDataTableRow.mjs +2 -0
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +1 -0
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +4176 -1016
- package/lib/labs/VVirtualScroll/index.d.ts +32 -1
- package/lib/labs/components.d.ts +4212 -1026
- package/lib/styles/main.css +4 -0
- package/lib/styles/settings/_utilities.scss +7 -0
- package/lib/util/animation.mjs +8 -1
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +12 -5
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/helpers.mjs +4 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +3 -2
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.1.
|
|
2
|
+
* Vuetify v3.1.11
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -203,6 +203,10 @@ function clamp(value) {
|
|
|
203
203
|
let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
204
204
|
return Math.max(min, Math.min(max, value));
|
|
205
205
|
}
|
|
206
|
+
function getDecimals(value) {
|
|
207
|
+
const trimmedStr = value.toString().trim();
|
|
208
|
+
return trimmedStr.includes('.') ? trimmedStr.length - trimmedStr.indexOf('.') - 1 : 0;
|
|
209
|
+
}
|
|
206
210
|
function padEnd(str, length) {
|
|
207
211
|
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
|
208
212
|
return str + char.repeat(Math.max(0, length - str.length));
|
|
@@ -485,7 +489,14 @@ function animate(el, keyframes, options) {
|
|
|
485
489
|
if (typeof el.animate === 'undefined') return {
|
|
486
490
|
finished: Promise.resolve()
|
|
487
491
|
};
|
|
488
|
-
|
|
492
|
+
let animation;
|
|
493
|
+
try {
|
|
494
|
+
animation = el.animate(keyframes, options);
|
|
495
|
+
} catch (err) {
|
|
496
|
+
return {
|
|
497
|
+
finished: Promise.resolve()
|
|
498
|
+
};
|
|
499
|
+
}
|
|
489
500
|
if (typeof animation.finished === 'undefined') {
|
|
490
501
|
animation.finished = new Promise(resolve => {
|
|
491
502
|
animation.onfinish = () => {
|
|
@@ -1005,15 +1016,22 @@ function useToggleScope(source, fn) {
|
|
|
1005
1016
|
function propIsDefined(vnode, prop) {
|
|
1006
1017
|
return typeof vnode.props?.[prop] !== 'undefined' || typeof vnode.props?.[toKebabCase(prop)] !== 'undefined';
|
|
1007
1018
|
}
|
|
1008
|
-
|
|
1019
|
+
|
|
1020
|
+
// No props
|
|
1021
|
+
|
|
1022
|
+
// Implementation
|
|
1023
|
+
function defineComponent(options) {
|
|
1009
1024
|
options._setup = options._setup ?? options.setup;
|
|
1010
1025
|
if (!options.name) {
|
|
1011
1026
|
consoleWarn('The component is missing an explicit name, unable to generate default prop value');
|
|
1012
1027
|
return options;
|
|
1013
1028
|
}
|
|
1014
1029
|
if (options._setup) {
|
|
1015
|
-
options.props = options.props ?? {};
|
|
1016
|
-
|
|
1030
|
+
options.props = propsFactory(options.props ?? {}, toKebabCase(options.name))();
|
|
1031
|
+
const propKeys = Object.keys(options.props);
|
|
1032
|
+
options.filterProps = function filterProps(props) {
|
|
1033
|
+
return pick(props, propKeys);
|
|
1034
|
+
};
|
|
1017
1035
|
options.props._as = String;
|
|
1018
1036
|
options.setup = function setup(props, ctx) {
|
|
1019
1037
|
const defaults = useDefaults();
|
|
@@ -1053,7 +1071,7 @@ const defineComponent = function defineComponent(options) {
|
|
|
1053
1071
|
};
|
|
1054
1072
|
}
|
|
1055
1073
|
return options;
|
|
1056
|
-
}
|
|
1074
|
+
}
|
|
1057
1075
|
// Implementation
|
|
1058
1076
|
function genericComponent() {
|
|
1059
1077
|
let exposeDefaults = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
|
@@ -3217,9 +3235,6 @@ const VToolbar = genericComponent()({
|
|
|
3217
3235
|
};
|
|
3218
3236
|
}
|
|
3219
3237
|
});
|
|
3220
|
-
function filterToolbarProps(props) {
|
|
3221
|
-
return pick(props, Object.keys(VToolbar?.props ?? {}));
|
|
3222
|
-
}
|
|
3223
3238
|
|
|
3224
3239
|
// Utilities
|
|
3225
3240
|
|
|
@@ -3297,7 +3312,7 @@ const VAppBar = genericComponent()({
|
|
|
3297
3312
|
absolute: toRef(props, 'absolute')
|
|
3298
3313
|
});
|
|
3299
3314
|
useRender(() => {
|
|
3300
|
-
const [toolbarProps] =
|
|
3315
|
+
const [toolbarProps] = VToolbar.filterProps(props);
|
|
3301
3316
|
return createVNode(VToolbar, mergeProps({
|
|
3302
3317
|
"ref": vToolbarRef,
|
|
3303
3318
|
"class": ['v-app-bar', {
|
|
@@ -3388,8 +3403,6 @@ function useVariant(props) {
|
|
|
3388
3403
|
};
|
|
3389
3404
|
}
|
|
3390
3405
|
|
|
3391
|
-
// Types
|
|
3392
|
-
|
|
3393
3406
|
const makeVBtnGroupProps = propsFactory({
|
|
3394
3407
|
divided: Boolean,
|
|
3395
3408
|
...makeBorderProps(),
|
|
@@ -3440,9 +3453,6 @@ const VBtnGroup = genericComponent()({
|
|
|
3440
3453
|
});
|
|
3441
3454
|
}
|
|
3442
3455
|
});
|
|
3443
|
-
function filterVBtnGroupProps(props) {
|
|
3444
|
-
return pick(props, Object.keys(VBtnGroup.props));
|
|
3445
|
-
}
|
|
3446
3456
|
|
|
3447
3457
|
// Composables
|
|
3448
3458
|
|
|
@@ -3669,7 +3679,7 @@ const VBtnToggle = genericComponent()({
|
|
|
3669
3679
|
selected
|
|
3670
3680
|
} = useGroup(props, VBtnToggleSymbol);
|
|
3671
3681
|
useRender(() => {
|
|
3672
|
-
const [btnGroupProps] =
|
|
3682
|
+
const [btnGroupProps] = VBtnGroup.filterProps(props);
|
|
3673
3683
|
return createVNode(VBtnGroup, mergeProps({
|
|
3674
3684
|
"class": "v-btn-toggle"
|
|
3675
3685
|
}, btnGroupProps), {
|
|
@@ -4757,49 +4767,50 @@ function useSelectLink(link, select) {
|
|
|
4757
4767
|
|
|
4758
4768
|
// Types
|
|
4759
4769
|
|
|
4770
|
+
const makeVBtnProps = propsFactory({
|
|
4771
|
+
active: {
|
|
4772
|
+
type: Boolean,
|
|
4773
|
+
default: undefined
|
|
4774
|
+
},
|
|
4775
|
+
symbol: {
|
|
4776
|
+
type: null,
|
|
4777
|
+
default: VBtnToggleSymbol
|
|
4778
|
+
},
|
|
4779
|
+
flat: Boolean,
|
|
4780
|
+
icon: [Boolean, String, Function, Object],
|
|
4781
|
+
prependIcon: IconValue,
|
|
4782
|
+
appendIcon: IconValue,
|
|
4783
|
+
block: Boolean,
|
|
4784
|
+
stacked: Boolean,
|
|
4785
|
+
ripple: {
|
|
4786
|
+
type: Boolean,
|
|
4787
|
+
default: true
|
|
4788
|
+
},
|
|
4789
|
+
...makeBorderProps(),
|
|
4790
|
+
...makeRoundedProps(),
|
|
4791
|
+
...makeDensityProps(),
|
|
4792
|
+
...makeDimensionProps(),
|
|
4793
|
+
...makeElevationProps(),
|
|
4794
|
+
...makeGroupItemProps(),
|
|
4795
|
+
...makeLoaderProps(),
|
|
4796
|
+
...makeLocationProps(),
|
|
4797
|
+
...makePositionProps(),
|
|
4798
|
+
...makeRouterProps(),
|
|
4799
|
+
...makeSizeProps(),
|
|
4800
|
+
...makeTagProps({
|
|
4801
|
+
tag: 'button'
|
|
4802
|
+
}),
|
|
4803
|
+
...makeThemeProps(),
|
|
4804
|
+
...makeVariantProps({
|
|
4805
|
+
variant: 'elevated'
|
|
4806
|
+
})
|
|
4807
|
+
}, 'VBtn');
|
|
4760
4808
|
const VBtn = genericComponent()({
|
|
4761
4809
|
name: 'VBtn',
|
|
4762
4810
|
directives: {
|
|
4763
4811
|
Ripple
|
|
4764
4812
|
},
|
|
4765
|
-
props:
|
|
4766
|
-
active: {
|
|
4767
|
-
type: Boolean,
|
|
4768
|
-
default: undefined
|
|
4769
|
-
},
|
|
4770
|
-
symbol: {
|
|
4771
|
-
type: null,
|
|
4772
|
-
default: VBtnToggleSymbol
|
|
4773
|
-
},
|
|
4774
|
-
flat: Boolean,
|
|
4775
|
-
icon: [Boolean, String, Function, Object],
|
|
4776
|
-
prependIcon: IconValue,
|
|
4777
|
-
appendIcon: IconValue,
|
|
4778
|
-
block: Boolean,
|
|
4779
|
-
stacked: Boolean,
|
|
4780
|
-
ripple: {
|
|
4781
|
-
type: Boolean,
|
|
4782
|
-
default: true
|
|
4783
|
-
},
|
|
4784
|
-
...makeBorderProps(),
|
|
4785
|
-
...makeRoundedProps(),
|
|
4786
|
-
...makeDensityProps(),
|
|
4787
|
-
...makeDimensionProps(),
|
|
4788
|
-
...makeElevationProps(),
|
|
4789
|
-
...makeGroupItemProps(),
|
|
4790
|
-
...makeLoaderProps(),
|
|
4791
|
-
...makeLocationProps(),
|
|
4792
|
-
...makePositionProps(),
|
|
4793
|
-
...makeRouterProps(),
|
|
4794
|
-
...makeSizeProps(),
|
|
4795
|
-
...makeTagProps({
|
|
4796
|
-
tag: 'button'
|
|
4797
|
-
}),
|
|
4798
|
-
...makeThemeProps(),
|
|
4799
|
-
...makeVariantProps({
|
|
4800
|
-
variant: 'elevated'
|
|
4801
|
-
})
|
|
4802
|
-
},
|
|
4813
|
+
props: makeVBtnProps(),
|
|
4803
4814
|
emits: {
|
|
4804
4815
|
'group:selected': val => true
|
|
4805
4816
|
},
|
|
@@ -6151,7 +6162,13 @@ const VTextField = genericComponent()({
|
|
|
6151
6162
|
});
|
|
6152
6163
|
}
|
|
6153
6164
|
function onInput(e) {
|
|
6154
|
-
|
|
6165
|
+
const el = e.target;
|
|
6166
|
+
const caretPosition = [el.selectionStart, el.selectionEnd];
|
|
6167
|
+
model.value = el.value;
|
|
6168
|
+
nextTick(() => {
|
|
6169
|
+
el.selectionStart = caretPosition[0];
|
|
6170
|
+
el.selectionEnd = caretPosition[1];
|
|
6171
|
+
});
|
|
6155
6172
|
}
|
|
6156
6173
|
useRender(() => {
|
|
6157
6174
|
const hasCounter = !!(slots.counter || props.counter || props.counterValue);
|
|
@@ -6251,9 +6268,6 @@ const VTextField = genericComponent()({
|
|
|
6251
6268
|
return forwardRefs({}, vInputRef, vFieldRef, inputRef);
|
|
6252
6269
|
}
|
|
6253
6270
|
});
|
|
6254
|
-
function filterVTextFieldProps(props) {
|
|
6255
|
-
return pick(props, Object.keys(VTextField.props));
|
|
6256
|
-
}
|
|
6257
6271
|
|
|
6258
6272
|
// Types
|
|
6259
6273
|
|
|
@@ -6511,11 +6525,6 @@ const VSelectionControl = genericComponent()({
|
|
|
6511
6525
|
};
|
|
6512
6526
|
}
|
|
6513
6527
|
});
|
|
6514
|
-
function filterControlProps(props) {
|
|
6515
|
-
return pick(props, Object.keys(VSelectionControl.props));
|
|
6516
|
-
}
|
|
6517
|
-
|
|
6518
|
-
// Types
|
|
6519
6528
|
|
|
6520
6529
|
const makeVCheckboxBtnProps = propsFactory({
|
|
6521
6530
|
indeterminate: Boolean,
|
|
@@ -6565,9 +6574,6 @@ const VCheckboxBtn = genericComponent()({
|
|
|
6565
6574
|
return {};
|
|
6566
6575
|
}
|
|
6567
6576
|
});
|
|
6568
|
-
function filterCheckboxBtnProps(props) {
|
|
6569
|
-
return pick(props, Object.keys(VCheckboxBtn.props));
|
|
6570
|
-
}
|
|
6571
6577
|
|
|
6572
6578
|
// Types
|
|
6573
6579
|
|
|
@@ -6596,7 +6602,7 @@ const VCheckbox = genericComponent()({
|
|
|
6596
6602
|
useRender(() => {
|
|
6597
6603
|
const [inputAttrs, controlAttrs] = filterInputAttrs(attrs);
|
|
6598
6604
|
const [inputProps, _1] = filterInputProps(props);
|
|
6599
|
-
const [checkboxProps, _2] =
|
|
6605
|
+
const [checkboxProps, _2] = VCheckboxBtn.filterProps(props);
|
|
6600
6606
|
return createVNode(VInput, mergeProps({
|
|
6601
6607
|
"class": "v-checkbox"
|
|
6602
6608
|
}, inputAttrs, inputProps, {
|
|
@@ -7500,8 +7506,6 @@ const useNestedGroupActivator = () => {
|
|
|
7500
7506
|
});
|
|
7501
7507
|
};
|
|
7502
7508
|
|
|
7503
|
-
// Types
|
|
7504
|
-
|
|
7505
7509
|
const VListGroupActivator = defineComponent({
|
|
7506
7510
|
name: 'VListGroupActivator',
|
|
7507
7511
|
setup(_, _ref) {
|
|
@@ -7594,9 +7598,6 @@ const VListGroup = genericComponent()({
|
|
|
7594
7598
|
return {};
|
|
7595
7599
|
}
|
|
7596
7600
|
});
|
|
7597
|
-
function filterListGroupProps(props) {
|
|
7598
|
-
return pick(props, Object.keys(VListGroup.props));
|
|
7599
|
-
}
|
|
7600
7601
|
|
|
7601
7602
|
const VListItemSubtitle = createSimpleFunctional('v-list-item-subtitle');
|
|
7602
7603
|
|
|
@@ -7924,7 +7925,7 @@ const VListChildren = genericComponent()({
|
|
|
7924
7925
|
item
|
|
7925
7926
|
}) : undefined
|
|
7926
7927
|
};
|
|
7927
|
-
const [listGroupProps, _1] =
|
|
7928
|
+
const [listGroupProps, _1] = VListGroup.filterProps(itemProps);
|
|
7928
7929
|
return children ? createVNode(VListGroup, mergeProps({
|
|
7929
7930
|
"value": itemProps?.value
|
|
7930
7931
|
}, listGroupProps), {
|
|
@@ -9151,6 +9152,8 @@ function bindScroll(el, onScroll) {
|
|
|
9151
9152
|
|
|
9152
9153
|
// Types
|
|
9153
9154
|
|
|
9155
|
+
const breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl']; // no xs
|
|
9156
|
+
|
|
9154
9157
|
const DisplaySymbol = Symbol.for('vuetify:display');
|
|
9155
9158
|
const defaultDisplayOptions = {
|
|
9156
9159
|
mobileBreakpoint: 'lg',
|
|
@@ -9706,9 +9709,6 @@ const VOverlay = genericComponent()({
|
|
|
9706
9709
|
};
|
|
9707
9710
|
}
|
|
9708
9711
|
});
|
|
9709
|
-
function filterVOverlayProps(props) {
|
|
9710
|
-
return pick(props, Object.keys(VOverlay.props));
|
|
9711
|
-
}
|
|
9712
9712
|
|
|
9713
9713
|
// Types
|
|
9714
9714
|
|
|
@@ -9774,7 +9774,7 @@ const VMenu = genericComponent()({
|
|
|
9774
9774
|
'aria-owns': id.value
|
|
9775
9775
|
}, props.activatorProps));
|
|
9776
9776
|
useRender(() => {
|
|
9777
|
-
const [overlayProps] =
|
|
9777
|
+
const [overlayProps] = VOverlay.filterProps(props);
|
|
9778
9778
|
return createVNode(VOverlay, mergeProps({
|
|
9779
9779
|
"ref": overlay,
|
|
9780
9780
|
"class": ['v-menu']
|
|
@@ -9950,7 +9950,7 @@ const VSelect = genericComponent()({
|
|
|
9950
9950
|
useRender(() => {
|
|
9951
9951
|
const hasChips = !!(props.chips || slots.chip);
|
|
9952
9952
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots.prepend || slots.append || slots['no-data']);
|
|
9953
|
-
const [textFieldProps] =
|
|
9953
|
+
const [textFieldProps] = VTextField.filterProps(props);
|
|
9954
9954
|
return createVNode(VTextField, mergeProps({
|
|
9955
9955
|
"ref": vTextFieldRef
|
|
9956
9956
|
}, textFieldProps, {
|
|
@@ -10343,7 +10343,7 @@ const VAutocomplete = genericComponent()({
|
|
|
10343
10343
|
useRender(() => {
|
|
10344
10344
|
const hasChips = !!(props.chips || slots.chip);
|
|
10345
10345
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots.prepend || slots.append || slots['no-data']);
|
|
10346
|
-
const [textFieldProps] =
|
|
10346
|
+
const [textFieldProps] = VTextField.filterProps(props);
|
|
10347
10347
|
return createVNode(VTextField, mergeProps({
|
|
10348
10348
|
"ref": vTextFieldRef
|
|
10349
10349
|
}, textFieldProps, {
|
|
@@ -12291,10 +12291,7 @@ const useSlider = _ref => {
|
|
|
12291
12291
|
const min = computed(() => parseFloat(props.min));
|
|
12292
12292
|
const max = computed(() => parseFloat(props.max));
|
|
12293
12293
|
const step = computed(() => props.step > 0 ? parseFloat(props.step) : 0);
|
|
12294
|
-
const decimals = computed(() =>
|
|
12295
|
-
const trimmedStep = step.value.toString().trim();
|
|
12296
|
-
return trimmedStep.includes('.') ? trimmedStep.length - trimmedStep.indexOf('.') - 1 : 0;
|
|
12297
|
-
});
|
|
12294
|
+
const decimals = computed(() => Math.max(getDecimals(step.value), getDecimals(min.value)));
|
|
12298
12295
|
const thumbSize = computed(() => parseInt(props.thumbSize, 10));
|
|
12299
12296
|
const tickSize = computed(() => parseInt(props.tickSize, 10));
|
|
12300
12297
|
const trackSize = computed(() => parseInt(props.trackSize, 10));
|
|
@@ -13272,8 +13269,6 @@ const VColorPickerSwatches = defineComponent({
|
|
|
13272
13269
|
}
|
|
13273
13270
|
});
|
|
13274
13271
|
|
|
13275
|
-
// Types
|
|
13276
|
-
|
|
13277
13272
|
const makeVSheetProps = propsFactory({
|
|
13278
13273
|
color: String,
|
|
13279
13274
|
...makeBorderProps(),
|
|
@@ -13698,7 +13693,7 @@ const VCombobox = genericComponent()({
|
|
|
13698
13693
|
useRender(() => {
|
|
13699
13694
|
const hasChips = !!(props.chips || slots.chip);
|
|
13700
13695
|
const hasList = !!(!props.hideNoData || displayItems.value.length || slots.prepend || slots.append || slots['no-data']);
|
|
13701
|
-
const [textFieldProps] =
|
|
13696
|
+
const [textFieldProps] = VTextField.filterProps(props);
|
|
13702
13697
|
return createVNode(VTextField, mergeProps({
|
|
13703
13698
|
"ref": vTextFieldRef
|
|
13704
13699
|
}, textFieldProps, {
|
|
@@ -13906,7 +13901,7 @@ const VDialog = genericComponent()({
|
|
|
13906
13901
|
'aria-expanded': String(isActive.value)
|
|
13907
13902
|
}, props.activatorProps));
|
|
13908
13903
|
useRender(() => {
|
|
13909
|
-
const [overlayProps] =
|
|
13904
|
+
const [overlayProps] = VOverlay.filterProps(props);
|
|
13910
13905
|
return createVNode(VOverlay, mergeProps({
|
|
13911
13906
|
"ref": overlay,
|
|
13912
13907
|
"class": ['v-dialog', {
|
|
@@ -14510,10 +14505,8 @@ const VContainer = genericComponent()({
|
|
|
14510
14505
|
|
|
14511
14506
|
// Types
|
|
14512
14507
|
|
|
14513
|
-
const breakpoints$1 = ['sm', 'md', 'lg', 'xl', 'xxl']; // no xs
|
|
14514
|
-
|
|
14515
14508
|
const breakpointProps = (() => {
|
|
14516
|
-
return breakpoints
|
|
14509
|
+
return breakpoints.reduce((props, val) => {
|
|
14517
14510
|
props[val] = {
|
|
14518
14511
|
type: [Boolean, String, Number],
|
|
14519
14512
|
default: false
|
|
@@ -14522,8 +14515,9 @@ const breakpointProps = (() => {
|
|
|
14522
14515
|
}, {});
|
|
14523
14516
|
})();
|
|
14524
14517
|
const offsetProps = (() => {
|
|
14525
|
-
return breakpoints
|
|
14526
|
-
|
|
14518
|
+
return breakpoints.reduce((props, val) => {
|
|
14519
|
+
const offsetKey = 'offset' + capitalize(val);
|
|
14520
|
+
props[offsetKey] = {
|
|
14527
14521
|
type: [String, Number],
|
|
14528
14522
|
default: null
|
|
14529
14523
|
};
|
|
@@ -14531,8 +14525,9 @@ const offsetProps = (() => {
|
|
|
14531
14525
|
}, {});
|
|
14532
14526
|
})();
|
|
14533
14527
|
const orderProps = (() => {
|
|
14534
|
-
return breakpoints
|
|
14535
|
-
|
|
14528
|
+
return breakpoints.reduce((props, val) => {
|
|
14529
|
+
const orderKey = 'order' + capitalize(val);
|
|
14530
|
+
props[orderKey] = {
|
|
14536
14531
|
type: [String, Number],
|
|
14537
14532
|
default: null
|
|
14538
14533
|
};
|
|
@@ -14630,13 +14625,12 @@ const VCol = genericComponent()({
|
|
|
14630
14625
|
|
|
14631
14626
|
// Types
|
|
14632
14627
|
|
|
14633
|
-
const breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl']; // no xs
|
|
14634
|
-
|
|
14635
14628
|
const ALIGNMENT = ['start', 'end', 'center'];
|
|
14636
14629
|
const SPACE = ['space-between', 'space-around', 'space-evenly'];
|
|
14637
14630
|
function makeRowProps(prefix, def) {
|
|
14638
14631
|
return breakpoints.reduce((props, val) => {
|
|
14639
|
-
|
|
14632
|
+
const prefixKey = prefix + capitalize(val);
|
|
14633
|
+
props[prefixKey] = def();
|
|
14640
14634
|
return props;
|
|
14641
14635
|
}, {});
|
|
14642
14636
|
}
|
|
@@ -14966,7 +14960,10 @@ const VLazy = genericComponent()({
|
|
|
14966
14960
|
}, {
|
|
14967
14961
|
default: () => [slots.default?.()]
|
|
14968
14962
|
})]
|
|
14969
|
-
}), [[resolveDirective("intersect"),
|
|
14963
|
+
}), [[resolveDirective("intersect"), {
|
|
14964
|
+
handler: onIntersect,
|
|
14965
|
+
options: props.options
|
|
14966
|
+
}, null]]));
|
|
14970
14967
|
return {};
|
|
14971
14968
|
}
|
|
14972
14969
|
});
|
|
@@ -15943,9 +15940,9 @@ const VParallax = genericComponent()({
|
|
|
15943
15940
|
frame = requestAnimationFrame(() => {
|
|
15944
15941
|
const el = (root.value?.$el).querySelector('.v-img__img');
|
|
15945
15942
|
if (!el) return;
|
|
15946
|
-
const scrollHeight = scrollParent
|
|
15947
|
-
const scrollPos = scrollParent
|
|
15948
|
-
const top = intersectionRef.value.
|
|
15943
|
+
const scrollHeight = scrollParent instanceof Document ? document.documentElement.clientHeight : scrollParent.clientHeight;
|
|
15944
|
+
const scrollPos = scrollParent instanceof Document ? window.scrollY : scrollParent.scrollTop;
|
|
15945
|
+
const top = intersectionRef.value.getBoundingClientRect().top + scrollPos;
|
|
15949
15946
|
const height = contentRect.value.height;
|
|
15950
15947
|
const center = top + (height - scrollHeight) / 2;
|
|
15951
15948
|
const translate = floor((scrollPos - center) * scale.value);
|
|
@@ -16027,10 +16024,7 @@ const VRadioGroup = genericComponent()({
|
|
|
16027
16024
|
useRender(() => {
|
|
16028
16025
|
const [inputAttrs, controlAttrs] = filterInputAttrs(attrs);
|
|
16029
16026
|
const [inputProps, _1] = filterInputProps(props);
|
|
16030
|
-
const [controlProps, _2] =
|
|
16031
|
-
...props,
|
|
16032
|
-
multiple: false
|
|
16033
|
-
});
|
|
16027
|
+
const [controlProps, _2] = VSelectionControl.filterProps(props);
|
|
16034
16028
|
const label = slots.label ? slots.label({
|
|
16035
16029
|
label: props.label,
|
|
16036
16030
|
props: {
|
|
@@ -16065,7 +16059,8 @@ const VRadioGroup = genericComponent()({
|
|
|
16065
16059
|
"type": props.type,
|
|
16066
16060
|
"disabled": isDisabled.value,
|
|
16067
16061
|
"readonly": isReadonly.value,
|
|
16068
|
-
"aria-labelledby": label ? id.value : undefined
|
|
16062
|
+
"aria-labelledby": label ? id.value : undefined,
|
|
16063
|
+
"multiple": false
|
|
16069
16064
|
}, controlAttrs, {
|
|
16070
16065
|
"modelValue": model.value,
|
|
16071
16066
|
"onUpdate:modelValue": $event => model.value = $event
|
|
@@ -16935,7 +16930,7 @@ const VSnackbar = genericComponent()({
|
|
|
16935
16930
|
window.clearTimeout(activeTimeout);
|
|
16936
16931
|
}
|
|
16937
16932
|
useRender(() => {
|
|
16938
|
-
const [overlayProps] =
|
|
16933
|
+
const [overlayProps] = VOverlay.filterProps(props);
|
|
16939
16934
|
return createVNode(VOverlay, mergeProps({
|
|
16940
16935
|
"ref": overlay,
|
|
16941
16936
|
"class": ['v-snackbar', {
|
|
@@ -17030,7 +17025,7 @@ const VSwitch = genericComponent()({
|
|
|
17030
17025
|
useRender(() => {
|
|
17031
17026
|
const [inputAttrs, controlAttrs] = filterInputAttrs(attrs);
|
|
17032
17027
|
const [inputProps, _1] = filterInputProps(props);
|
|
17033
|
-
const [controlProps, _2] =
|
|
17028
|
+
const [controlProps, _2] = VSelectionControl.filterProps(props);
|
|
17034
17029
|
const control = ref();
|
|
17035
17030
|
function onClick() {
|
|
17036
17031
|
control.value?.input?.click();
|
|
@@ -17163,28 +17158,17 @@ const VTab = genericComponent()({
|
|
|
17163
17158
|
name: 'VTab',
|
|
17164
17159
|
props: {
|
|
17165
17160
|
fixed: Boolean,
|
|
17166
|
-
icon: [Boolean, String, Function, Object],
|
|
17167
|
-
prependIcon: IconValue,
|
|
17168
|
-
appendIcon: IconValue,
|
|
17169
|
-
stacked: Boolean,
|
|
17170
17161
|
title: String,
|
|
17171
|
-
ripple: {
|
|
17172
|
-
type: Boolean,
|
|
17173
|
-
default: true
|
|
17174
|
-
},
|
|
17175
|
-
color: String,
|
|
17176
17162
|
sliderColor: String,
|
|
17177
17163
|
hideSlider: Boolean,
|
|
17178
17164
|
direction: {
|
|
17179
17165
|
type: String,
|
|
17180
17166
|
default: 'horizontal'
|
|
17181
17167
|
},
|
|
17182
|
-
...
|
|
17183
|
-
|
|
17184
|
-
|
|
17185
|
-
|
|
17186
|
-
}),
|
|
17187
|
-
...makeThemeProps()
|
|
17168
|
+
...omit(makeVBtnProps({
|
|
17169
|
+
selectedClass: 'v-tab--selected',
|
|
17170
|
+
variant: 'text'
|
|
17171
|
+
}), ['active', 'block', 'flat', 'location', 'position', 'symbol'])
|
|
17188
17172
|
},
|
|
17189
17173
|
setup(props, _ref) {
|
|
17190
17174
|
let {
|
|
@@ -17234,7 +17218,7 @@ const VTab = genericComponent()({
|
|
|
17234
17218
|
}
|
|
17235
17219
|
}
|
|
17236
17220
|
useRender(() => {
|
|
17237
|
-
const [btnProps] =
|
|
17221
|
+
const [btnProps] = VBtn.filterProps(props);
|
|
17238
17222
|
return createVNode(VBtn, mergeProps({
|
|
17239
17223
|
"_as": "VTab",
|
|
17240
17224
|
"symbol": VTabsSymbol,
|
|
@@ -17246,7 +17230,6 @@ const VTab = genericComponent()({
|
|
|
17246
17230
|
"active": false,
|
|
17247
17231
|
"block": props.fixed,
|
|
17248
17232
|
"maxWidth": props.fixed ? 300 : undefined,
|
|
17249
|
-
"variant": "text",
|
|
17250
17233
|
"rounded": 0
|
|
17251
17234
|
}, btnProps, attrs, {
|
|
17252
17235
|
"onGroup:selected": updateSlider
|
|
@@ -17491,7 +17474,13 @@ const VTextarea = genericComponent()({
|
|
|
17491
17474
|
});
|
|
17492
17475
|
}
|
|
17493
17476
|
function onInput(e) {
|
|
17494
|
-
|
|
17477
|
+
const el = e.target;
|
|
17478
|
+
const caretPosition = [el.selectionStart, el.selectionEnd];
|
|
17479
|
+
model.value = el.value;
|
|
17480
|
+
nextTick(() => {
|
|
17481
|
+
el.selectionStart = caretPosition[0];
|
|
17482
|
+
el.selectionEnd = caretPosition[1];
|
|
17483
|
+
});
|
|
17495
17484
|
}
|
|
17496
17485
|
const sizerRef = ref();
|
|
17497
17486
|
function calculateInputHeight() {
|
|
@@ -17931,7 +17920,7 @@ const VTooltip = genericComponent()({
|
|
|
17931
17920
|
'aria-describedby': id.value
|
|
17932
17921
|
}, props.activatorProps));
|
|
17933
17922
|
useRender(() => {
|
|
17934
|
-
const [overlayProps] =
|
|
17923
|
+
const [overlayProps] = VOverlay.filterProps(props);
|
|
17935
17924
|
return createVNode(VOverlay, mergeProps({
|
|
17936
17925
|
"ref": overlay,
|
|
17937
17926
|
"class": ['v-tooltip'],
|
|
@@ -18324,7 +18313,7 @@ function createVuetify$1() {
|
|
|
18324
18313
|
locale
|
|
18325
18314
|
};
|
|
18326
18315
|
}
|
|
18327
|
-
const version$1 = "3.1.
|
|
18316
|
+
const version$1 = "3.1.11";
|
|
18328
18317
|
createVuetify$1.version = version$1;
|
|
18329
18318
|
|
|
18330
18319
|
// Vue's inject() can only be used in setup
|
|
@@ -18344,7 +18333,7 @@ const createVuetify = function () {
|
|
|
18344
18333
|
...options
|
|
18345
18334
|
});
|
|
18346
18335
|
};
|
|
18347
|
-
const version = "3.1.
|
|
18336
|
+
const version = "3.1.11";
|
|
18348
18337
|
createVuetify.version = version;
|
|
18349
18338
|
|
|
18350
18339
|
export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|