@vuetify/nightly 3.6.8-master.2024-06-11 → 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 +22 -22
- package/dist/json/importMap.json +158 -158
- package/dist/json/tags.json +49 -6
- package/dist/json/web-types.json +610 -221
- package/dist/vuetify-labs.css +3356 -3340
- package/dist/vuetify-labs.d.ts +840 -564
- 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 +551 -535
- package/dist/vuetify.d.ts +763 -565
- 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/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/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 +56 -56
- 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 +90 -18
- 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.esm.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
|
*/
|
@@ -3248,6 +3248,7 @@ const Intersect = {
|
|
3248
3248
|
// not intended for public use, this is passed in by vuetify-loader
|
3249
3249
|
|
3250
3250
|
const makeVImgProps = propsFactory({
|
3251
|
+
absolute: Boolean,
|
3251
3252
|
alt: String,
|
3252
3253
|
cover: Boolean,
|
3253
3254
|
color: String,
|
@@ -3504,6 +3505,7 @@ const VImg = genericComponent()({
|
|
3504
3505
|
const responsiveProps = VResponsive.filterProps(props);
|
3505
3506
|
return withDirectives(createVNode(VResponsive, mergeProps({
|
3506
3507
|
"class": ['v-img', {
|
3508
|
+
'v-img--absolute': props.absolute,
|
3507
3509
|
'v-img--booting': !isBooted.value
|
3508
3510
|
}, backgroundColorClasses.value, roundedClasses.value, props.class],
|
3509
3511
|
"style": [{
|
@@ -3756,6 +3758,7 @@ function useScroll(props) {
|
|
3756
3758
|
canScroll
|
3757
3759
|
} = args;
|
3758
3760
|
let previousScroll = 0;
|
3761
|
+
let previousScrollHeight = 0;
|
3759
3762
|
const target = ref(null);
|
3760
3763
|
const currentScroll = shallowRef(0);
|
3761
3764
|
const savedScroll = shallowRef(0);
|
@@ -3778,6 +3781,11 @@ function useScroll(props) {
|
|
3778
3781
|
if (!targetEl || canScroll && !canScroll.value) return;
|
3779
3782
|
previousScroll = currentScroll.value;
|
3780
3783
|
currentScroll.value = 'window' in targetEl ? targetEl.pageYOffset : targetEl.scrollTop;
|
3784
|
+
const currentScrollHeight = targetEl instanceof Window ? document.documentElement.scrollHeight : targetEl.scrollHeight;
|
3785
|
+
if (previousScrollHeight !== currentScrollHeight) {
|
3786
|
+
previousScrollHeight = currentScrollHeight;
|
3787
|
+
return;
|
3788
|
+
}
|
3781
3789
|
isScrollingUp.value = currentScroll.value < previousScroll;
|
3782
3790
|
currentThreshold.value = Math.abs(currentScroll.value - scrollThreshold.value);
|
3783
3791
|
};
|
@@ -5504,6 +5512,7 @@ const makeVBtnProps = propsFactory({
|
|
5504
5512
|
type: Boolean,
|
5505
5513
|
default: undefined
|
5506
5514
|
},
|
5515
|
+
activeColor: String,
|
5507
5516
|
baseColor: String,
|
5508
5517
|
symbol: {
|
5509
5518
|
type: null,
|
@@ -5595,10 +5604,11 @@ const VBtn = genericComponent()({
|
|
5595
5604
|
}
|
5596
5605
|
return group?.isSelected.value;
|
5597
5606
|
});
|
5607
|
+
const color = computed(() => isActive.value ? props.activeColor ?? props.color : props.color);
|
5598
5608
|
const variantProps = computed(() => {
|
5599
5609
|
const showColor = group?.isSelected.value && (!link.isLink.value || link.isActive?.value) || !group || link.isActive?.value;
|
5600
5610
|
return {
|
5601
|
-
color: showColor ?
|
5611
|
+
color: showColor ? color.value ?? props.baseColor : props.baseColor,
|
5602
5612
|
variant: props.variant
|
5603
5613
|
};
|
5604
5614
|
});
|
@@ -5939,6 +5949,7 @@ const makeVAvatarProps = propsFactory({
|
|
5939
5949
|
icon: IconValue,
|
5940
5950
|
image: String,
|
5941
5951
|
text: String,
|
5952
|
+
...makeBorderProps(),
|
5942
5953
|
...makeComponentProps(),
|
5943
5954
|
...makeDensityProps(),
|
5944
5955
|
...makeRoundedProps(),
|
@@ -5959,6 +5970,9 @@ const VAvatar = genericComponent()({
|
|
5959
5970
|
const {
|
5960
5971
|
themeClasses
|
5961
5972
|
} = provideTheme(props);
|
5973
|
+
const {
|
5974
|
+
borderClasses
|
5975
|
+
} = useBorder(props);
|
5962
5976
|
const {
|
5963
5977
|
colorClasses,
|
5964
5978
|
colorStyles,
|
@@ -5978,7 +5992,7 @@ const VAvatar = genericComponent()({
|
|
5978
5992
|
"class": ['v-avatar', {
|
5979
5993
|
'v-avatar--start': props.start,
|
5980
5994
|
'v-avatar--end': props.end
|
5981
|
-
}, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
5995
|
+
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
5982
5996
|
"style": [colorStyles.value, sizeStyles.value, props.style]
|
5983
5997
|
}, {
|
5984
5998
|
default: () => [!slots.default ? props.image ? createVNode(VImg, {
|
@@ -6678,12 +6692,14 @@ function useValidation(props) {
|
|
6678
6692
|
const validateOn = computed(() => {
|
6679
6693
|
let value = (props.validateOn ?? form?.validateOn.value) || 'input';
|
6680
6694
|
if (value === 'lazy') value = 'input lazy';
|
6695
|
+
if (value === 'eager') value = 'input eager';
|
6681
6696
|
const set = new Set(value?.split(' ') ?? []);
|
6682
6697
|
return {
|
6683
|
-
blur: set.has('blur') || set.has('input'),
|
6684
6698
|
input: set.has('input'),
|
6685
|
-
|
6686
|
-
|
6699
|
+
blur: set.has('blur') || set.has('input') || set.has('invalid-input'),
|
6700
|
+
invalidInput: set.has('invalid-input'),
|
6701
|
+
lazy: set.has('lazy'),
|
6702
|
+
eager: set.has('eager')
|
6687
6703
|
};
|
6688
6704
|
});
|
6689
6705
|
const isValid = computed(() => {
|
@@ -6720,11 +6736,11 @@ function useValidation(props) {
|
|
6720
6736
|
});
|
6721
6737
|
onMounted(async () => {
|
6722
6738
|
if (!validateOn.value.lazy) {
|
6723
|
-
await validate(
|
6739
|
+
await validate(!validateOn.value.eager);
|
6724
6740
|
}
|
6725
6741
|
form?.update(uid.value, isValid.value, errorMessages.value);
|
6726
6742
|
});
|
6727
|
-
useToggleScope(() => validateOn.value.input, () => {
|
6743
|
+
useToggleScope(() => validateOn.value.input || validateOn.value.invalidInput && isValid.value === false, () => {
|
6728
6744
|
watch(validationModel, () => {
|
6729
6745
|
if (validationModel.value != null) {
|
6730
6746
|
validate();
|
@@ -6752,7 +6768,7 @@ function useValidation(props) {
|
|
6752
6768
|
async function resetValidation() {
|
6753
6769
|
isPristine.value = true;
|
6754
6770
|
if (!validateOn.value.lazy) {
|
6755
|
-
await validate(
|
6771
|
+
await validate(!validateOn.value.eager);
|
6756
6772
|
} else {
|
6757
6773
|
internalErrorMessages.value = [];
|
6758
6774
|
}
|
@@ -9384,6 +9400,7 @@ const makeVListProps = propsFactory({
|
|
9384
9400
|
nav: Boolean,
|
9385
9401
|
'onClick:open': EventProp(),
|
9386
9402
|
'onClick:select': EventProp(),
|
9403
|
+
'onUpdate:opened': EventProp(),
|
9387
9404
|
...makeNestedProps({
|
9388
9405
|
selectStrategy: 'single-leaf',
|
9389
9406
|
openStrategy: 'list'
|
@@ -10787,9 +10804,6 @@ const VOverlay = genericComponent()({
|
|
10787
10804
|
if (!(v && props.disabled)) model.value = v;
|
10788
10805
|
}
|
10789
10806
|
});
|
10790
|
-
const {
|
10791
|
-
teleportTarget
|
10792
|
-
} = useTeleport(computed(() => props.attach || props.contained));
|
10793
10807
|
const {
|
10794
10808
|
themeClasses
|
10795
10809
|
} = provideTheme(props);
|
@@ -10822,6 +10836,10 @@ const VOverlay = genericComponent()({
|
|
10822
10836
|
isActive,
|
10823
10837
|
isTop: localTop
|
10824
10838
|
});
|
10839
|
+
const potentialShadowDomRoot = computed(() => activatorEl?.value?.getRootNode());
|
10840
|
+
const {
|
10841
|
+
teleportTarget
|
10842
|
+
} = useTeleport(computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
|
10825
10843
|
const {
|
10826
10844
|
dimensionStyles
|
10827
10845
|
} = useDimension(props);
|
@@ -11164,7 +11182,7 @@ const VMenu = genericComponent()({
|
|
11164
11182
|
function onKeydown(e) {
|
11165
11183
|
if (props.disabled) return;
|
11166
11184
|
if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
|
11167
|
-
if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
|
11185
|
+
if (e.key === 'Enter' && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && !!e.target.closest('form'))) return;
|
11168
11186
|
if (e.key === 'Enter') e.preventDefault();
|
11169
11187
|
const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
|
11170
11188
|
if (!nextElement) {
|
@@ -20892,6 +20910,7 @@ const makeVContainerProps = propsFactory({
|
|
20892
20910
|
default: false
|
20893
20911
|
},
|
20894
20912
|
...makeComponentProps(),
|
20913
|
+
...makeDimensionProps(),
|
20895
20914
|
...makeTagProps()
|
20896
20915
|
}, 'VContainer');
|
20897
20916
|
const VContainer = genericComponent()({
|
@@ -20904,11 +20923,14 @@ const VContainer = genericComponent()({
|
|
20904
20923
|
const {
|
20905
20924
|
rtlClasses
|
20906
20925
|
} = useRtl();
|
20926
|
+
const {
|
20927
|
+
dimensionStyles
|
20928
|
+
} = useDimension(props);
|
20907
20929
|
useRender(() => createVNode(props.tag, {
|
20908
20930
|
"class": ['v-container', {
|
20909
20931
|
'v-container--fluid': props.fluid
|
20910
20932
|
}, rtlClasses.value, props.class],
|
20911
|
-
"style": props.style
|
20933
|
+
"style": [dimensionStyles.value, props.style]
|
20912
20934
|
}, slots));
|
20913
20935
|
return {};
|
20914
20936
|
}
|
@@ -22318,7 +22340,8 @@ const makeVExpansionPanelTitleProps = propsFactory({
|
|
22318
22340
|
default: false
|
22319
22341
|
},
|
22320
22342
|
readonly: Boolean,
|
22321
|
-
...makeComponentProps()
|
22343
|
+
...makeComponentProps(),
|
22344
|
+
...makeDimensionProps()
|
22322
22345
|
}, 'VExpansionPanelTitle');
|
22323
22346
|
const VExpansionPanelTitle = genericComponent()({
|
22324
22347
|
name: 'VExpansionPanelTitle',
|
@@ -22336,6 +22359,9 @@ const VExpansionPanelTitle = genericComponent()({
|
|
22336
22359
|
backgroundColorClasses,
|
22337
22360
|
backgroundColorStyles
|
22338
22361
|
} = useBackgroundColor(props, 'color');
|
22362
|
+
const {
|
22363
|
+
dimensionStyles
|
22364
|
+
} = useDimension(props);
|
22339
22365
|
const slotProps = computed(() => ({
|
22340
22366
|
collapseIcon: props.collapseIcon,
|
22341
22367
|
disabled: expansionPanel.disabled.value,
|
@@ -22343,13 +22369,14 @@ const VExpansionPanelTitle = genericComponent()({
|
|
22343
22369
|
expandIcon: props.expandIcon,
|
22344
22370
|
readonly: props.readonly
|
22345
22371
|
}));
|
22372
|
+
const icon = computed(() => expansionPanel.isSelected.value ? props.collapseIcon : props.expandIcon);
|
22346
22373
|
useRender(() => withDirectives(createVNode("button", {
|
22347
22374
|
"class": ['v-expansion-panel-title', {
|
22348
22375
|
'v-expansion-panel-title--active': expansionPanel.isSelected.value,
|
22349
22376
|
'v-expansion-panel-title--focusable': props.focusable,
|
22350
22377
|
'v-expansion-panel-title--static': props.static
|
22351
22378
|
}, backgroundColorClasses.value, props.class],
|
22352
|
-
"style": [backgroundColorStyles.value, props.style],
|
22379
|
+
"style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
|
22353
22380
|
"type": "button",
|
22354
22381
|
"tabindex": expansionPanel.disabled.value ? -1 : undefined,
|
22355
22382
|
"disabled": expansionPanel.disabled.value,
|
@@ -22357,11 +22384,17 @@ const VExpansionPanelTitle = genericComponent()({
|
|
22357
22384
|
"onClick": !props.readonly ? expansionPanel.toggle : undefined
|
22358
22385
|
}, [createVNode("span", {
|
22359
22386
|
"class": "v-expansion-panel-title__overlay"
|
22360
|
-
}, null), slots.default?.(slotProps.value), !props.hideActions && createVNode(
|
22361
|
-
"
|
22362
|
-
|
22363
|
-
|
22364
|
-
|
22387
|
+
}, null), slots.default?.(slotProps.value), !props.hideActions && createVNode(VDefaultsProvider, {
|
22388
|
+
"defaults": {
|
22389
|
+
VIcon: {
|
22390
|
+
icon: icon.value
|
22391
|
+
}
|
22392
|
+
}
|
22393
|
+
}, {
|
22394
|
+
default: () => [createVNode("span", {
|
22395
|
+
"class": "v-expansion-panel-title__icon"
|
22396
|
+
}, [slots.actions?.(slotProps.value) ?? createVNode(VIcon, null, null)])]
|
22397
|
+
})]), [[resolveDirective("ripple"), props.ripple]]));
|
22365
22398
|
return {};
|
22366
22399
|
}
|
22367
22400
|
});
|
@@ -22428,15 +22461,26 @@ const VExpansionPanel = genericComponent()({
|
|
22428
22461
|
}, {
|
22429
22462
|
default: () => [createVNode("div", {
|
22430
22463
|
"class": ['v-expansion-panel__shadow', ...elevationClasses.value]
|
22431
|
-
}, null),
|
22432
|
-
"
|
22433
|
-
|
22434
|
-
|
22435
|
-
|
22436
|
-
|
22437
|
-
|
22438
|
-
|
22439
|
-
|
22464
|
+
}, null), createVNode(VDefaultsProvider, {
|
22465
|
+
"defaults": {
|
22466
|
+
VExpansionPanelTitle: {
|
22467
|
+
...expansionPanelTitleProps
|
22468
|
+
},
|
22469
|
+
VExpansionPanelText: {
|
22470
|
+
...expansionPanelTextProps
|
22471
|
+
}
|
22472
|
+
}
|
22473
|
+
}, {
|
22474
|
+
default: () => [hasTitle && createVNode(VExpansionPanelTitle, {
|
22475
|
+
"key": "title"
|
22476
|
+
}, {
|
22477
|
+
default: () => [slots.title ? slots.title() : props.title]
|
22478
|
+
}), hasText && createVNode(VExpansionPanelText, {
|
22479
|
+
"key": "text"
|
22480
|
+
}, {
|
22481
|
+
default: () => [slots.text ? slots.text() : props.text]
|
22482
|
+
}), slots.default?.()]
|
22483
|
+
})]
|
22440
22484
|
});
|
22441
22485
|
});
|
22442
22486
|
return {
|
@@ -22512,15 +22556,13 @@ const VExpansionPanels = genericComponent()({
|
|
22512
22556
|
}
|
22513
22557
|
});
|
22514
22558
|
|
22559
|
+
// Types
|
22560
|
+
|
22515
22561
|
const makeVFabProps = propsFactory({
|
22516
22562
|
app: Boolean,
|
22517
22563
|
appear: Boolean,
|
22518
22564
|
extended: Boolean,
|
22519
22565
|
layout: Boolean,
|
22520
|
-
location: {
|
22521
|
-
type: String,
|
22522
|
-
default: 'bottom end'
|
22523
|
-
},
|
22524
22566
|
offset: Boolean,
|
22525
22567
|
modelValue: {
|
22526
22568
|
type: Boolean,
|
@@ -22530,6 +22572,7 @@ const makeVFabProps = propsFactory({
|
|
22530
22572
|
active: true
|
22531
22573
|
}), ['location']),
|
22532
22574
|
...makeLayoutItemProps(),
|
22575
|
+
...makeLocationProps(),
|
22533
22576
|
...makeTransitionProps({
|
22534
22577
|
transition: 'fab-transition'
|
22535
22578
|
})
|
@@ -22556,11 +22599,11 @@ const VFab = genericComponent()({
|
|
22556
22599
|
const hasPosition = computed(() => props.app || props.absolute);
|
22557
22600
|
const position = computed(() => {
|
22558
22601
|
if (!hasPosition.value) return false;
|
22559
|
-
return props.location
|
22602
|
+
return props.location?.split(' ').shift() ?? 'bottom';
|
22560
22603
|
});
|
22561
22604
|
const orientation = computed(() => {
|
22562
22605
|
if (!hasPosition.value) return false;
|
22563
|
-
return props.location
|
22606
|
+
return props.location?.split(' ')[1] ?? 'end';
|
22564
22607
|
});
|
22565
22608
|
useToggleScope(() => props.app, () => {
|
22566
22609
|
const layout = useLayoutItem({
|
@@ -28760,6 +28803,7 @@ const VTimePickerClock = genericComponent()({
|
|
28760
28803
|
return !props.allowedValues || props.allowedValues(value);
|
28761
28804
|
}
|
28762
28805
|
function wheel(e) {
|
28806
|
+
if (!props.scrollable || props.disabled) return;
|
28763
28807
|
e.preventDefault();
|
28764
28808
|
const delta = Math.sign(-e.deltaY || 1);
|
28765
28809
|
let value = displayedValue.value;
|
@@ -28854,6 +28898,7 @@ const VTimePickerClock = genericComponent()({
|
|
28854
28898
|
}
|
28855
28899
|
}
|
28856
28900
|
function onMouseDown(e) {
|
28901
|
+
if (props.disabled) return;
|
28857
28902
|
e.preventDefault();
|
28858
28903
|
window.addEventListener('mousemove', onDragMove);
|
28859
28904
|
window.addEventListener('touchmove', onDragMove);
|
@@ -28884,7 +28929,7 @@ const VTimePickerClock = genericComponent()({
|
|
28884
28929
|
}],
|
28885
28930
|
"onMousedown": onMouseDown,
|
28886
28931
|
"onTouchstart": onMouseDown,
|
28887
|
-
"onWheel":
|
28932
|
+
"onWheel": wheel,
|
28888
28933
|
"ref": clockRef
|
28889
28934
|
}, [createVNode("div", {
|
28890
28935
|
"class": "v-time-picker-clock__inner",
|
@@ -28986,6 +29031,7 @@ const VTimePickerControls = genericComponent()({
|
|
28986
29031
|
}, [createVNode(VBtn, {
|
28987
29032
|
"active": props.selecting === 1,
|
28988
29033
|
"color": props.selecting === 1 ? props.color : undefined,
|
29034
|
+
"disabled": props.disabled,
|
28989
29035
|
"variant": "tonal",
|
28990
29036
|
"class": {
|
28991
29037
|
'v-time-picker-controls__time__btn': true,
|
@@ -29007,6 +29053,7 @@ const VTimePickerControls = genericComponent()({
|
|
29007
29053
|
'v-time-picker-controls__time--with-ampm__btn': props.ampm,
|
29008
29054
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
29009
29055
|
},
|
29056
|
+
"disabled": props.disabled,
|
29010
29057
|
"variant": "tonal",
|
29011
29058
|
"text": props.minute == null ? '--' : pad(props.minute),
|
29012
29059
|
"onClick": () => emit('update:selecting', SelectingTimes.Minute)
|
@@ -29024,6 +29071,7 @@ const VTimePickerControls = genericComponent()({
|
|
29024
29071
|
'v-time-picker-controls__time__btn__active': props.selecting === 3,
|
29025
29072
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
29026
29073
|
},
|
29074
|
+
"disabled": props.disabled,
|
29027
29075
|
"text": props.second == null ? '--' : pad(props.second)
|
29028
29076
|
}, null), props.ampm && createVNode("div", {
|
29029
29077
|
"class": ['v-time-picker-controls__ampm', {
|
@@ -29037,8 +29085,9 @@ const VTimePickerControls = genericComponent()({
|
|
29037
29085
|
'v-time-picker-controls__ampm__btn': true,
|
29038
29086
|
'v-time-picker-controls__ampm__btn__active': props.period === 'am'
|
29039
29087
|
},
|
29088
|
+
"disabled": props.disabled,
|
29040
29089
|
"text": t('$vuetify.timePicker.am'),
|
29041
|
-
"variant":
|
29090
|
+
"variant": props.disabled && props.period === 'am' ? 'elevated' : 'tonal',
|
29042
29091
|
"onClick": () => props.period !== 'am' ? emit('update:period', 'am') : null
|
29043
29092
|
}, null), createVNode(VBtn, {
|
29044
29093
|
"active": props.period === 'pm',
|
@@ -29048,8 +29097,9 @@ const VTimePickerControls = genericComponent()({
|
|
29048
29097
|
'v-time-picker-controls__ampm__btn': true,
|
29049
29098
|
'v-time-picker-controls__ampm__btn__active': props.period === 'pm'
|
29050
29099
|
},
|
29100
|
+
"disabled": props.disabled,
|
29051
29101
|
"text": t('$vuetify.timePicker.pm'),
|
29052
|
-
"variant":
|
29102
|
+
"variant": props.disabled && props.period === 'pm' ? 'elevated' : 'tonal',
|
29053
29103
|
"onClick": () => props.period !== 'pm' ? emit('update:period', 'pm') : null
|
29054
29104
|
}, null)])])]);
|
29055
29105
|
});
|
@@ -29633,6 +29683,7 @@ const VTreeview = genericComponent()({
|
|
29633
29683
|
let {
|
29634
29684
|
slots
|
29635
29685
|
} = _ref;
|
29686
|
+
const vm = getCurrentInstance('VTreeview');
|
29636
29687
|
const {
|
29637
29688
|
items
|
29638
29689
|
} = useListItems(props);
|
@@ -29715,15 +29766,13 @@ const VTreeview = genericComponent()({
|
|
29715
29766
|
}
|
29716
29767
|
});
|
29717
29768
|
useRender(() => {
|
29718
|
-
const listProps = VList.filterProps(props);
|
29769
|
+
const listProps = VList.filterProps(vm.vnode.props);
|
29719
29770
|
const treeviewChildrenProps = VTreeviewChildren.filterProps(props);
|
29720
29771
|
return createVNode(VList, mergeProps({
|
29721
29772
|
"ref": vListRef
|
29722
29773
|
}, listProps, {
|
29723
29774
|
"class": ['v-treeview', props.class],
|
29724
29775
|
"style": props.style,
|
29725
|
-
"opened": opened.value,
|
29726
|
-
"onUpdate:opened": $event => opened.value = $event,
|
29727
29776
|
"activated": activated.value,
|
29728
29777
|
"onUpdate:activated": $event => activated.value = $event,
|
29729
29778
|
"selected": selected.value,
|
@@ -30235,7 +30284,7 @@ function createVuetify$1() {
|
|
30235
30284
|
goTo
|
30236
30285
|
};
|
30237
30286
|
}
|
30238
|
-
const version$1 = "3.6.
|
30287
|
+
const version$1 = "3.6.9-dev.2024-06-20";
|
30239
30288
|
createVuetify$1.version = version$1;
|
30240
30289
|
|
30241
30290
|
// Vue's inject() can only be used in setup
|
@@ -30488,7 +30537,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30488
30537
|
|
30489
30538
|
/* eslint-disable local-rules/sort-imports */
|
30490
30539
|
|
30491
|
-
const version = "3.6.
|
30540
|
+
const version = "3.6.9-dev.2024-06-20";
|
30492
30541
|
|
30493
30542
|
/* eslint-disable local-rules/sort-imports */
|
30494
30543
|
|