@vuetify/nightly 3.6.8-master.2024-06-07 → 3.6.9-dev.2024-06-20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -6
- package/dist/json/attributes.json +293 -121
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +164 -164
- package/dist/json/tags.json +49 -6
- package/dist/json/web-types.json +610 -221
- package/dist/vuetify-labs.css +3032 -3016
- package/dist/vuetify-labs.d.ts +1096 -821
- package/dist/vuetify-labs.esm.js +93 -44
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +93 -44
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +928 -912
- package/dist/vuetify.d.ts +905 -708
- package/dist/vuetify.esm.js +81 -38
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +81 -38
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +51 -48
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +58 -56
- package/lib/blueprints/md1.d.mts +58 -56
- package/lib/blueprints/md2.d.mts +58 -56
- package/lib/blueprints/md3.d.mts +58 -56
- package/lib/components/VAppBar/index.d.mts +6 -0
- package/lib/components/VAutocomplete/index.d.mts +49 -49
- package/lib/components/VAvatar/VAvatar.css +7 -0
- package/lib/components/VAvatar/VAvatar.mjs +6 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +1 -0
- package/lib/components/VAvatar/_variables.scss +13 -0
- package/lib/components/VAvatar/index.d.mts +6 -0
- package/lib/components/VBottomSheet/index.d.mts +7 -7
- package/lib/components/VBreadcrumbs/index.d.mts +8 -8
- package/lib/components/VBtn/VBtn.mjs +3 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +6 -0
- package/lib/components/VCarousel/index.d.mts +16 -7
- package/lib/components/VCheckbox/index.d.mts +6 -6
- package/lib/components/VCombobox/index.d.mts +49 -49
- package/lib/components/VDialog/index.d.mts +31 -31
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +23 -11
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +20 -7
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +122 -14
- package/lib/components/VFab/VFab.mjs +4 -7
- package/lib/components/VFab/VFab.mjs.map +1 -1
- package/lib/components/VFab/index.d.mts +52 -49
- package/lib/components/VFileInput/index.d.mts +18 -18
- package/lib/components/VForm/index.d.mts +9 -9
- package/lib/components/VGrid/VContainer.mjs +6 -1
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/index.d.mts +36 -0
- package/lib/components/VImg/VImg.css +9 -0
- package/lib/components/VImg/VImg.mjs +2 -0
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/VImg.sass +9 -0
- package/lib/components/VImg/index.d.mts +16 -7
- package/lib/components/VInput/index.d.mts +6 -6
- package/lib/components/VList/VList.mjs +1 -0
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +14 -12
- package/lib/components/VMenu/VMenu.mjs +1 -1
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +33 -33
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +7 -7
- package/lib/components/VRadioGroup/index.d.mts +6 -6
- package/lib/components/VRangeSlider/index.d.mts +6 -6
- package/lib/components/VSelect/index.d.mts +49 -49
- package/lib/components/VSlider/index.d.mts +6 -6
- package/lib/components/VSnackbar/index.d.mts +33 -33
- package/lib/components/VSpeedDial/index.d.mts +9 -9
- package/lib/components/VSwitch/index.d.mts +6 -6
- package/lib/components/VTabs/index.d.mts +21 -3
- package/lib/components/VTextField/index.d.mts +18 -18
- package/lib/components/VTextarea/index.d.mts +18 -18
- package/lib/components/VTooltip/index.d.mts +39 -39
- package/lib/components/VValidation/index.d.mts +9 -8
- package/lib/components/index.d.mts +707 -509
- package/lib/composables/goto.mjs.map +1 -1
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/scroll.mjs +6 -0
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/composables/validation.mjs +8 -6
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +164 -165
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/VNumberInput/index.d.mts +6 -6
- package/lib/labs/VSnackbarQueue/index.d.mts +42 -42
- package/lib/labs/VStepperVertical/index.d.mts +93 -21
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +3 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +7 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeview.mjs +3 -4
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +22 -16
- package/lib/labs/components.d.mts +166 -88
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.
|
2
|
+
* Vuetify v3.6.9-dev.2024-06-20
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -3252,6 +3252,7 @@
|
|
3252
3252
|
// not intended for public use, this is passed in by vuetify-loader
|
3253
3253
|
|
3254
3254
|
const makeVImgProps = propsFactory({
|
3255
|
+
absolute: Boolean,
|
3255
3256
|
alt: String,
|
3256
3257
|
cover: Boolean,
|
3257
3258
|
color: String,
|
@@ -3508,6 +3509,7 @@
|
|
3508
3509
|
const responsiveProps = VResponsive.filterProps(props);
|
3509
3510
|
return vue.withDirectives(vue.createVNode(VResponsive, vue.mergeProps({
|
3510
3511
|
"class": ['v-img', {
|
3512
|
+
'v-img--absolute': props.absolute,
|
3511
3513
|
'v-img--booting': !isBooted.value
|
3512
3514
|
}, backgroundColorClasses.value, roundedClasses.value, props.class],
|
3513
3515
|
"style": [{
|
@@ -3760,6 +3762,7 @@
|
|
3760
3762
|
canScroll
|
3761
3763
|
} = args;
|
3762
3764
|
let previousScroll = 0;
|
3765
|
+
let previousScrollHeight = 0;
|
3763
3766
|
const target = vue.ref(null);
|
3764
3767
|
const currentScroll = vue.shallowRef(0);
|
3765
3768
|
const savedScroll = vue.shallowRef(0);
|
@@ -3782,6 +3785,11 @@
|
|
3782
3785
|
if (!targetEl || canScroll && !canScroll.value) return;
|
3783
3786
|
previousScroll = currentScroll.value;
|
3784
3787
|
currentScroll.value = 'window' in targetEl ? targetEl.pageYOffset : targetEl.scrollTop;
|
3788
|
+
const currentScrollHeight = targetEl instanceof Window ? document.documentElement.scrollHeight : targetEl.scrollHeight;
|
3789
|
+
if (previousScrollHeight !== currentScrollHeight) {
|
3790
|
+
previousScrollHeight = currentScrollHeight;
|
3791
|
+
return;
|
3792
|
+
}
|
3785
3793
|
isScrollingUp.value = currentScroll.value < previousScroll;
|
3786
3794
|
currentThreshold.value = Math.abs(currentScroll.value - scrollThreshold.value);
|
3787
3795
|
};
|
@@ -5508,6 +5516,7 @@
|
|
5508
5516
|
type: Boolean,
|
5509
5517
|
default: undefined
|
5510
5518
|
},
|
5519
|
+
activeColor: String,
|
5511
5520
|
baseColor: String,
|
5512
5521
|
symbol: {
|
5513
5522
|
type: null,
|
@@ -5599,10 +5608,11 @@
|
|
5599
5608
|
}
|
5600
5609
|
return group?.isSelected.value;
|
5601
5610
|
});
|
5611
|
+
const color = vue.computed(() => isActive.value ? props.activeColor ?? props.color : props.color);
|
5602
5612
|
const variantProps = vue.computed(() => {
|
5603
5613
|
const showColor = group?.isSelected.value && (!link.isLink.value || link.isActive?.value) || !group || link.isActive?.value;
|
5604
5614
|
return {
|
5605
|
-
color: showColor ?
|
5615
|
+
color: showColor ? color.value ?? props.baseColor : props.baseColor,
|
5606
5616
|
variant: props.variant
|
5607
5617
|
};
|
5608
5618
|
});
|
@@ -5943,6 +5953,7 @@
|
|
5943
5953
|
icon: IconValue,
|
5944
5954
|
image: String,
|
5945
5955
|
text: String,
|
5956
|
+
...makeBorderProps(),
|
5946
5957
|
...makeComponentProps(),
|
5947
5958
|
...makeDensityProps(),
|
5948
5959
|
...makeRoundedProps(),
|
@@ -5963,6 +5974,9 @@
|
|
5963
5974
|
const {
|
5964
5975
|
themeClasses
|
5965
5976
|
} = provideTheme(props);
|
5977
|
+
const {
|
5978
|
+
borderClasses
|
5979
|
+
} = useBorder(props);
|
5966
5980
|
const {
|
5967
5981
|
colorClasses,
|
5968
5982
|
colorStyles,
|
@@ -5982,7 +5996,7 @@
|
|
5982
5996
|
"class": ['v-avatar', {
|
5983
5997
|
'v-avatar--start': props.start,
|
5984
5998
|
'v-avatar--end': props.end
|
5985
|
-
}, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
5999
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
5986
6000
|
"style": [colorStyles.value, sizeStyles.value, props.style]
|
5987
6001
|
}, {
|
5988
6002
|
default: () => [!slots.default ? props.image ? vue.createVNode(VImg, {
|
@@ -6682,12 +6696,14 @@
|
|
6682
6696
|
const validateOn = vue.computed(() => {
|
6683
6697
|
let value = (props.validateOn ?? form?.validateOn.value) || 'input';
|
6684
6698
|
if (value === 'lazy') value = 'input lazy';
|
6699
|
+
if (value === 'eager') value = 'input eager';
|
6685
6700
|
const set = new Set(value?.split(' ') ?? []);
|
6686
6701
|
return {
|
6687
|
-
blur: set.has('blur') || set.has('input'),
|
6688
6702
|
input: set.has('input'),
|
6689
|
-
|
6690
|
-
|
6703
|
+
blur: set.has('blur') || set.has('input') || set.has('invalid-input'),
|
6704
|
+
invalidInput: set.has('invalid-input'),
|
6705
|
+
lazy: set.has('lazy'),
|
6706
|
+
eager: set.has('eager')
|
6691
6707
|
};
|
6692
6708
|
});
|
6693
6709
|
const isValid = vue.computed(() => {
|
@@ -6724,11 +6740,11 @@
|
|
6724
6740
|
});
|
6725
6741
|
vue.onMounted(async () => {
|
6726
6742
|
if (!validateOn.value.lazy) {
|
6727
|
-
await validate(
|
6743
|
+
await validate(!validateOn.value.eager);
|
6728
6744
|
}
|
6729
6745
|
form?.update(uid.value, isValid.value, errorMessages.value);
|
6730
6746
|
});
|
6731
|
-
useToggleScope(() => validateOn.value.input, () => {
|
6747
|
+
useToggleScope(() => validateOn.value.input || validateOn.value.invalidInput && isValid.value === false, () => {
|
6732
6748
|
vue.watch(validationModel, () => {
|
6733
6749
|
if (validationModel.value != null) {
|
6734
6750
|
validate();
|
@@ -6756,7 +6772,7 @@
|
|
6756
6772
|
async function resetValidation() {
|
6757
6773
|
isPristine.value = true;
|
6758
6774
|
if (!validateOn.value.lazy) {
|
6759
|
-
await validate(
|
6775
|
+
await validate(!validateOn.value.eager);
|
6760
6776
|
} else {
|
6761
6777
|
internalErrorMessages.value = [];
|
6762
6778
|
}
|
@@ -9388,6 +9404,7 @@
|
|
9388
9404
|
nav: Boolean,
|
9389
9405
|
'onClick:open': EventProp(),
|
9390
9406
|
'onClick:select': EventProp(),
|
9407
|
+
'onUpdate:opened': EventProp(),
|
9391
9408
|
...makeNestedProps({
|
9392
9409
|
selectStrategy: 'single-leaf',
|
9393
9410
|
openStrategy: 'list'
|
@@ -10791,9 +10808,6 @@
|
|
10791
10808
|
if (!(v && props.disabled)) model.value = v;
|
10792
10809
|
}
|
10793
10810
|
});
|
10794
|
-
const {
|
10795
|
-
teleportTarget
|
10796
|
-
} = useTeleport(vue.computed(() => props.attach || props.contained));
|
10797
10811
|
const {
|
10798
10812
|
themeClasses
|
10799
10813
|
} = provideTheme(props);
|
@@ -10826,6 +10840,10 @@
|
|
10826
10840
|
isActive,
|
10827
10841
|
isTop: localTop
|
10828
10842
|
});
|
10843
|
+
const potentialShadowDomRoot = vue.computed(() => activatorEl?.value?.getRootNode());
|
10844
|
+
const {
|
10845
|
+
teleportTarget
|
10846
|
+
} = useTeleport(vue.computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
|
10829
10847
|
const {
|
10830
10848
|
dimensionStyles
|
10831
10849
|
} = useDimension(props);
|
@@ -11168,7 +11186,7 @@
|
|
11168
11186
|
function onKeydown(e) {
|
11169
11187
|
if (props.disabled) return;
|
11170
11188
|
if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
|
11171
|
-
if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
|
11189
|
+
if (e.key === 'Enter' && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && !!e.target.closest('form'))) return;
|
11172
11190
|
if (e.key === 'Enter') e.preventDefault();
|
11173
11191
|
const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
|
11174
11192
|
if (!nextElement) {
|
@@ -20896,6 +20914,7 @@
|
|
20896
20914
|
default: false
|
20897
20915
|
},
|
20898
20916
|
...makeComponentProps(),
|
20917
|
+
...makeDimensionProps(),
|
20899
20918
|
...makeTagProps()
|
20900
20919
|
}, 'VContainer');
|
20901
20920
|
const VContainer = genericComponent()({
|
@@ -20908,11 +20927,14 @@
|
|
20908
20927
|
const {
|
20909
20928
|
rtlClasses
|
20910
20929
|
} = useRtl();
|
20930
|
+
const {
|
20931
|
+
dimensionStyles
|
20932
|
+
} = useDimension(props);
|
20911
20933
|
useRender(() => vue.createVNode(props.tag, {
|
20912
20934
|
"class": ['v-container', {
|
20913
20935
|
'v-container--fluid': props.fluid
|
20914
20936
|
}, rtlClasses.value, props.class],
|
20915
|
-
"style": props.style
|
20937
|
+
"style": [dimensionStyles.value, props.style]
|
20916
20938
|
}, slots));
|
20917
20939
|
return {};
|
20918
20940
|
}
|
@@ -22322,7 +22344,8 @@
|
|
22322
22344
|
default: false
|
22323
22345
|
},
|
22324
22346
|
readonly: Boolean,
|
22325
|
-
...makeComponentProps()
|
22347
|
+
...makeComponentProps(),
|
22348
|
+
...makeDimensionProps()
|
22326
22349
|
}, 'VExpansionPanelTitle');
|
22327
22350
|
const VExpansionPanelTitle = genericComponent()({
|
22328
22351
|
name: 'VExpansionPanelTitle',
|
@@ -22340,6 +22363,9 @@
|
|
22340
22363
|
backgroundColorClasses,
|
22341
22364
|
backgroundColorStyles
|
22342
22365
|
} = useBackgroundColor(props, 'color');
|
22366
|
+
const {
|
22367
|
+
dimensionStyles
|
22368
|
+
} = useDimension(props);
|
22343
22369
|
const slotProps = vue.computed(() => ({
|
22344
22370
|
collapseIcon: props.collapseIcon,
|
22345
22371
|
disabled: expansionPanel.disabled.value,
|
@@ -22347,13 +22373,14 @@
|
|
22347
22373
|
expandIcon: props.expandIcon,
|
22348
22374
|
readonly: props.readonly
|
22349
22375
|
}));
|
22376
|
+
const icon = vue.computed(() => expansionPanel.isSelected.value ? props.collapseIcon : props.expandIcon);
|
22350
22377
|
useRender(() => vue.withDirectives(vue.createVNode("button", {
|
22351
22378
|
"class": ['v-expansion-panel-title', {
|
22352
22379
|
'v-expansion-panel-title--active': expansionPanel.isSelected.value,
|
22353
22380
|
'v-expansion-panel-title--focusable': props.focusable,
|
22354
22381
|
'v-expansion-panel-title--static': props.static
|
22355
22382
|
}, backgroundColorClasses.value, props.class],
|
22356
|
-
"style": [backgroundColorStyles.value, props.style],
|
22383
|
+
"style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
|
22357
22384
|
"type": "button",
|
22358
22385
|
"tabindex": expansionPanel.disabled.value ? -1 : undefined,
|
22359
22386
|
"disabled": expansionPanel.disabled.value,
|
@@ -22361,11 +22388,17 @@
|
|
22361
22388
|
"onClick": !props.readonly ? expansionPanel.toggle : undefined
|
22362
22389
|
}, [vue.createVNode("span", {
|
22363
22390
|
"class": "v-expansion-panel-title__overlay"
|
22364
|
-
}, null), slots.default?.(slotProps.value), !props.hideActions && vue.createVNode(
|
22365
|
-
"
|
22366
|
-
|
22367
|
-
|
22368
|
-
|
22391
|
+
}, null), slots.default?.(slotProps.value), !props.hideActions && vue.createVNode(VDefaultsProvider, {
|
22392
|
+
"defaults": {
|
22393
|
+
VIcon: {
|
22394
|
+
icon: icon.value
|
22395
|
+
}
|
22396
|
+
}
|
22397
|
+
}, {
|
22398
|
+
default: () => [vue.createVNode("span", {
|
22399
|
+
"class": "v-expansion-panel-title__icon"
|
22400
|
+
}, [slots.actions?.(slotProps.value) ?? vue.createVNode(VIcon, null, null)])]
|
22401
|
+
})]), [[vue.resolveDirective("ripple"), props.ripple]]));
|
22369
22402
|
return {};
|
22370
22403
|
}
|
22371
22404
|
});
|
@@ -22432,15 +22465,26 @@
|
|
22432
22465
|
}, {
|
22433
22466
|
default: () => [vue.createVNode("div", {
|
22434
22467
|
"class": ['v-expansion-panel__shadow', ...elevationClasses.value]
|
22435
|
-
}, null),
|
22436
|
-
"
|
22437
|
-
|
22438
|
-
|
22439
|
-
|
22440
|
-
|
22441
|
-
|
22442
|
-
|
22443
|
-
|
22468
|
+
}, null), vue.createVNode(VDefaultsProvider, {
|
22469
|
+
"defaults": {
|
22470
|
+
VExpansionPanelTitle: {
|
22471
|
+
...expansionPanelTitleProps
|
22472
|
+
},
|
22473
|
+
VExpansionPanelText: {
|
22474
|
+
...expansionPanelTextProps
|
22475
|
+
}
|
22476
|
+
}
|
22477
|
+
}, {
|
22478
|
+
default: () => [hasTitle && vue.createVNode(VExpansionPanelTitle, {
|
22479
|
+
"key": "title"
|
22480
|
+
}, {
|
22481
|
+
default: () => [slots.title ? slots.title() : props.title]
|
22482
|
+
}), hasText && vue.createVNode(VExpansionPanelText, {
|
22483
|
+
"key": "text"
|
22484
|
+
}, {
|
22485
|
+
default: () => [slots.text ? slots.text() : props.text]
|
22486
|
+
}), slots.default?.()]
|
22487
|
+
})]
|
22444
22488
|
});
|
22445
22489
|
});
|
22446
22490
|
return {
|
@@ -22516,15 +22560,13 @@
|
|
22516
22560
|
}
|
22517
22561
|
});
|
22518
22562
|
|
22563
|
+
// Types
|
22564
|
+
|
22519
22565
|
const makeVFabProps = propsFactory({
|
22520
22566
|
app: Boolean,
|
22521
22567
|
appear: Boolean,
|
22522
22568
|
extended: Boolean,
|
22523
22569
|
layout: Boolean,
|
22524
|
-
location: {
|
22525
|
-
type: String,
|
22526
|
-
default: 'bottom end'
|
22527
|
-
},
|
22528
22570
|
offset: Boolean,
|
22529
22571
|
modelValue: {
|
22530
22572
|
type: Boolean,
|
@@ -22534,6 +22576,7 @@
|
|
22534
22576
|
active: true
|
22535
22577
|
}), ['location']),
|
22536
22578
|
...makeLayoutItemProps(),
|
22579
|
+
...makeLocationProps(),
|
22537
22580
|
...makeTransitionProps({
|
22538
22581
|
transition: 'fab-transition'
|
22539
22582
|
})
|
@@ -22560,11 +22603,11 @@
|
|
22560
22603
|
const hasPosition = vue.computed(() => props.app || props.absolute);
|
22561
22604
|
const position = vue.computed(() => {
|
22562
22605
|
if (!hasPosition.value) return false;
|
22563
|
-
return props.location
|
22606
|
+
return props.location?.split(' ').shift() ?? 'bottom';
|
22564
22607
|
});
|
22565
22608
|
const orientation = vue.computed(() => {
|
22566
22609
|
if (!hasPosition.value) return false;
|
22567
|
-
return props.location
|
22610
|
+
return props.location?.split(' ')[1] ?? 'end';
|
22568
22611
|
});
|
22569
22612
|
useToggleScope(() => props.app, () => {
|
22570
22613
|
const layout = useLayoutItem({
|
@@ -28764,6 +28807,7 @@
|
|
28764
28807
|
return !props.allowedValues || props.allowedValues(value);
|
28765
28808
|
}
|
28766
28809
|
function wheel(e) {
|
28810
|
+
if (!props.scrollable || props.disabled) return;
|
28767
28811
|
e.preventDefault();
|
28768
28812
|
const delta = Math.sign(-e.deltaY || 1);
|
28769
28813
|
let value = displayedValue.value;
|
@@ -28858,6 +28902,7 @@
|
|
28858
28902
|
}
|
28859
28903
|
}
|
28860
28904
|
function onMouseDown(e) {
|
28905
|
+
if (props.disabled) return;
|
28861
28906
|
e.preventDefault();
|
28862
28907
|
window.addEventListener('mousemove', onDragMove);
|
28863
28908
|
window.addEventListener('touchmove', onDragMove);
|
@@ -28888,7 +28933,7 @@
|
|
28888
28933
|
}],
|
28889
28934
|
"onMousedown": onMouseDown,
|
28890
28935
|
"onTouchstart": onMouseDown,
|
28891
|
-
"onWheel":
|
28936
|
+
"onWheel": wheel,
|
28892
28937
|
"ref": clockRef
|
28893
28938
|
}, [vue.createVNode("div", {
|
28894
28939
|
"class": "v-time-picker-clock__inner",
|
@@ -28990,6 +29035,7 @@
|
|
28990
29035
|
}, [vue.createVNode(VBtn, {
|
28991
29036
|
"active": props.selecting === 1,
|
28992
29037
|
"color": props.selecting === 1 ? props.color : undefined,
|
29038
|
+
"disabled": props.disabled,
|
28993
29039
|
"variant": "tonal",
|
28994
29040
|
"class": {
|
28995
29041
|
'v-time-picker-controls__time__btn': true,
|
@@ -29011,6 +29057,7 @@
|
|
29011
29057
|
'v-time-picker-controls__time--with-ampm__btn': props.ampm,
|
29012
29058
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
29013
29059
|
},
|
29060
|
+
"disabled": props.disabled,
|
29014
29061
|
"variant": "tonal",
|
29015
29062
|
"text": props.minute == null ? '--' : pad(props.minute),
|
29016
29063
|
"onClick": () => emit('update:selecting', SelectingTimes.Minute)
|
@@ -29028,6 +29075,7 @@
|
|
29028
29075
|
'v-time-picker-controls__time__btn__active': props.selecting === 3,
|
29029
29076
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
29030
29077
|
},
|
29078
|
+
"disabled": props.disabled,
|
29031
29079
|
"text": props.second == null ? '--' : pad(props.second)
|
29032
29080
|
}, null), props.ampm && vue.createVNode("div", {
|
29033
29081
|
"class": ['v-time-picker-controls__ampm', {
|
@@ -29041,8 +29089,9 @@
|
|
29041
29089
|
'v-time-picker-controls__ampm__btn': true,
|
29042
29090
|
'v-time-picker-controls__ampm__btn__active': props.period === 'am'
|
29043
29091
|
},
|
29092
|
+
"disabled": props.disabled,
|
29044
29093
|
"text": t('$vuetify.timePicker.am'),
|
29045
|
-
"variant":
|
29094
|
+
"variant": props.disabled && props.period === 'am' ? 'elevated' : 'tonal',
|
29046
29095
|
"onClick": () => props.period !== 'am' ? emit('update:period', 'am') : null
|
29047
29096
|
}, null), vue.createVNode(VBtn, {
|
29048
29097
|
"active": props.period === 'pm',
|
@@ -29052,8 +29101,9 @@
|
|
29052
29101
|
'v-time-picker-controls__ampm__btn': true,
|
29053
29102
|
'v-time-picker-controls__ampm__btn__active': props.period === 'pm'
|
29054
29103
|
},
|
29104
|
+
"disabled": props.disabled,
|
29055
29105
|
"text": t('$vuetify.timePicker.pm'),
|
29056
|
-
"variant":
|
29106
|
+
"variant": props.disabled && props.period === 'pm' ? 'elevated' : 'tonal',
|
29057
29107
|
"onClick": () => props.period !== 'pm' ? emit('update:period', 'pm') : null
|
29058
29108
|
}, null)])])]);
|
29059
29109
|
});
|
@@ -29637,6 +29687,7 @@
|
|
29637
29687
|
let {
|
29638
29688
|
slots
|
29639
29689
|
} = _ref;
|
29690
|
+
const vm = getCurrentInstance('VTreeview');
|
29640
29691
|
const {
|
29641
29692
|
items
|
29642
29693
|
} = useListItems(props);
|
@@ -29719,15 +29770,13 @@
|
|
29719
29770
|
}
|
29720
29771
|
});
|
29721
29772
|
useRender(() => {
|
29722
|
-
const listProps = VList.filterProps(props);
|
29773
|
+
const listProps = VList.filterProps(vm.vnode.props);
|
29723
29774
|
const treeviewChildrenProps = VTreeviewChildren.filterProps(props);
|
29724
29775
|
return vue.createVNode(VList, vue.mergeProps({
|
29725
29776
|
"ref": vListRef
|
29726
29777
|
}, listProps, {
|
29727
29778
|
"class": ['v-treeview', props.class],
|
29728
29779
|
"style": props.style,
|
29729
|
-
"opened": opened.value,
|
29730
|
-
"onUpdate:opened": $event => opened.value = $event,
|
29731
29780
|
"activated": activated.value,
|
29732
29781
|
"onUpdate:activated": $event => activated.value = $event,
|
29733
29782
|
"selected": selected.value,
|
@@ -30239,7 +30288,7 @@
|
|
30239
30288
|
goTo
|
30240
30289
|
};
|
30241
30290
|
}
|
30242
|
-
const version$1 = "3.6.
|
30291
|
+
const version$1 = "3.6.9-dev.2024-06-20";
|
30243
30292
|
createVuetify$1.version = version$1;
|
30244
30293
|
|
30245
30294
|
// Vue's inject() can only be used in setup
|
@@ -30492,7 +30541,7 @@
|
|
30492
30541
|
|
30493
30542
|
/* eslint-disable local-rules/sort-imports */
|
30494
30543
|
|
30495
|
-
const version = "3.6.
|
30544
|
+
const version = "3.6.9-dev.2024-06-20";
|
30496
30545
|
|
30497
30546
|
/* eslint-disable local-rules/sort-imports */
|
30498
30547
|
|