@vuetify/nightly 3.6.13-3.7.0-beta.0.0-pr-20092.a834b18 → 3.6.14-master.2024-08-01
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 +127 -275
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +130 -130
- package/dist/json/tags.json +5 -42
- package/dist/json/web-types.json +241 -612
- package/dist/vuetify-labs.css +3861 -3156
- package/dist/vuetify-labs.d.ts +368 -697
- package/dist/vuetify-labs.esm.js +238 -240
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +238 -240
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1162 -457
- package/dist/vuetify.d.ts +348 -611
- package/dist/vuetify.esm.js +99 -159
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +99 -159
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1038 -1037
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +5 -1
- package/lib/components/VAppBar/index.d.mts +0 -6
- package/lib/components/VAutocomplete/VAutocomplete.css +4 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +8 -15
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +42 -61
- package/lib/components/VAvatar/VAvatar.css +2 -7
- package/lib/components/VAvatar/VAvatar.mjs +2 -7
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +0 -1
- package/lib/components/VAvatar/_variables.scss +0 -13
- package/lib/components/VAvatar/index.d.mts +0 -6
- package/lib/components/VBadge/VBadge.css +2 -0
- package/lib/components/VBanner/VBanner.css +12 -4
- package/lib/components/VBottomNavigation/VBottomNavigation.css +11 -3
- package/lib/components/VBottomSheet/VBottomSheet.css +2 -0
- package/lib/components/VBreadcrumbs/index.d.mts +8 -8
- package/lib/components/VBtn/VBtn.css +16 -9
- package/lib/components/VBtn/VBtn.mjs +2 -4
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtn/index.d.mts +0 -6
- package/lib/components/VBtnGroup/VBtnGroup.css +12 -4
- package/lib/components/VCard/VCard.css +9 -1
- package/lib/components/VCarousel/VCarousel.css +2 -0
- package/lib/components/VCarousel/index.d.mts +0 -9
- package/lib/components/VCheckbox/index.d.mts +6 -6
- package/lib/components/VChip/VChip.css +15 -9
- package/lib/components/VChip/VChip.sass +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +2 -0
- package/lib/components/VColorPicker/VColorPicker.sass +4 -4
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -4
- package/lib/components/VCombobox/VCombobox.css +4 -0
- package/lib/components/VCombobox/VCombobox.mjs +8 -15
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +42 -61
- package/lib/components/VDialog/VDialog.css +5 -0
- package/lib/components/VDialog/index.d.mts +3 -3
- package/lib/components/VDivider/VDivider.css +2 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -5
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +3 -3
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +2 -7
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +0 -72
- package/lib/components/VFab/index.d.mts +0 -6
- package/lib/components/VField/VField.css +13 -1
- package/lib/components/VField/VField.sass +5 -8
- package/lib/components/VFileInput/index.d.mts +18 -18
- package/lib/components/VFooter/VFooter.css +12 -4
- package/lib/components/VFooter/VFooter.mjs +20 -14
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.mts +3 -3
- package/lib/components/VForm/index.d.mts +9 -9
- package/lib/components/VGrid/VContainer.mjs +1 -6
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/VGrid.sass +1 -1
- package/lib/components/VGrid/_mixins.sass +4 -4
- package/lib/components/VGrid/index.d.mts +0 -36
- package/lib/components/VImg/VImg.css +6 -9
- package/lib/components/VImg/VImg.mjs +0 -2
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/VImg.sass +0 -9
- package/lib/components/VImg/index.d.mts +0 -9
- package/lib/components/VInput/index.d.mts +6 -6
- package/lib/components/VKbd/VKbd.css +2 -0
- package/lib/components/VList/VList.css +12 -4
- package/lib/components/VList/VListItem.css +23 -13
- package/lib/components/VList/VListItem.mjs +1 -3
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +2 -2
- package/lib/components/VList/index.d.mts +18 -19
- package/lib/components/VMain/VMain.css +2 -0
- package/lib/components/VMenu/VMenu.css +6 -0
- package/lib/components/VMenu/VMenu.mjs +8 -26
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +15 -30
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +9 -3
- package/lib/components/VOtpInput/VOtpInput.css +3 -1
- package/lib/components/VOtpInput/VOtpInput.sass +1 -2
- package/lib/components/VOverflowBtn/VOverflowBtn.sass +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +4 -5
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +2 -3
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +6 -6
- package/lib/components/VRangeSlider/index.d.mts +6 -6
- package/lib/components/VSelect/VSelect.css +4 -0
- package/lib/components/VSelect/VSelect.mjs +13 -15
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +42 -61
- package/lib/components/VSelect/useScrolling.mjs +3 -3
- package/lib/components/VSelect/useScrolling.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +6 -4
- package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
- package/lib/components/VSheet/VSheet.css +12 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +6 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +9 -8
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -2
- package/lib/components/VSlideGroup/VSlideGroup.mjs +1 -3
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +0 -6
- package/lib/components/VSlider/VSliderThumb.sass +2 -2
- package/lib/components/VSlider/index.d.mts +6 -6
- package/lib/components/VSnackbar/VSnackbar.css +2 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +4 -4
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +3 -3
- package/lib/components/VSpeedDial/index.d.mts +13 -28
- package/lib/components/VStepper/VStepper.css +8 -2
- package/lib/components/VStepper/VStepper.sass +2 -4
- package/lib/components/VStepper/VStepperItem.css +4 -1
- package/lib/components/VStepper/VStepperItem.sass +1 -1
- package/lib/components/VSwitch/VSwitch.css +2 -0
- package/lib/components/VSwitch/VSwitch.sass +10 -10
- package/lib/components/VSwitch/index.d.mts +6 -6
- package/lib/components/VSystemBar/VSystemBar.css +14 -8
- package/lib/components/VTable/VTable.css +8 -4
- package/lib/components/VTable/VTable.sass +2 -3
- package/lib/components/VTabs/index.d.mts +3 -21
- package/lib/components/VTextField/index.d.mts +18 -18
- package/lib/components/VTextarea/index.d.mts +18 -18
- package/lib/components/VTimeline/VTimeline.css +2 -0
- package/lib/components/VToolbar/VToolbar.css +21 -7
- package/lib/components/VToolbar/VToolbar.sass +1 -2
- package/lib/components/VTooltip/index.d.mts +3 -3
- package/lib/components/VTreeview/VTreeview.sass +9 -9
- package/lib/components/VValidation/index.d.mts +8 -9
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs +0 -2
- package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +0 -3
- package/lib/components/index.d.mts +302 -565
- package/lib/composables/nested/nested.mjs +3 -3
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +2 -4
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/nested/selectStrategies.mjs +5 -5
- package/lib/composables/nested/selectStrategies.mjs.map +1 -1
- package/lib/composables/validation.mjs +6 -8
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/virtual.mjs +0 -1
- package/lib/composables/virtual.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 +46 -46
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/VNumberInput/VNumberInput.mjs +60 -36
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +23 -14
- package/lib/labs/VPicker/VPicker.css +6 -2
- package/lib/labs/VPicker/VPicker.sass +2 -3
- package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
- package/lib/labs/VStepperVertical/index.d.mts +0 -36
- package/lib/labs/VTreeview/VTreeview.mjs +5 -7
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +10 -33
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.css +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +74 -14
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +5 -2
- package/lib/labs/VTreeview/index.d.mts +60 -77
- package/lib/labs/components.d.mts +92 -136
- package/lib/styles/generic/_colors.scss +9 -3
- package/lib/styles/main.css +520 -0
- package/lib/styles/tools/_absolute.sass +8 -7
- package/lib/styles/tools/_border.sass +4 -3
- package/lib/styles/tools/_display.sass +8 -7
- package/lib/styles/tools/_elevation.sass +4 -2
- package/lib/styles/tools/_index.sass +0 -1
- package/lib/styles/tools/_radius.sass +6 -5
- package/lib/styles/tools/_rounded.sass +2 -1
- package/lib/styles/tools/_theme.sass +3 -2
- package/lib/styles/tools/_typography.sass +6 -5
- package/lib/styles/tools/_utilities.sass +5 -5
- package/lib/styles/utilities/_index.sass +7 -7
- package/lib/util/helpers.mjs +0 -5
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/styles/tools/_sheet.sass +0 -14
package/dist/vuetify.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.
|
2
|
+
* Vuetify v3.6.14-master.2024-08-01
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -502,11 +502,6 @@
|
|
502
502
|
});
|
503
503
|
return fn;
|
504
504
|
}
|
505
|
-
function checkPrintable(e) {
|
506
|
-
const isPrintableChar = e.key.length === 1;
|
507
|
-
const noModifier = !e.ctrlKey && !e.metaKey && !e.altKey;
|
508
|
-
return isPrintableChar && noModifier;
|
509
|
-
}
|
510
505
|
|
511
506
|
// Utilities
|
512
507
|
const block = ['top', 'bottom'];
|
@@ -3697,7 +3692,6 @@
|
|
3697
3692
|
// not intended for public use, this is passed in by vuetify-loader
|
3698
3693
|
|
3699
3694
|
const makeVImgProps = propsFactory({
|
3700
|
-
absolute: Boolean,
|
3701
3695
|
alt: String,
|
3702
3696
|
cover: Boolean,
|
3703
3697
|
color: String,
|
@@ -3954,7 +3948,6 @@
|
|
3954
3948
|
const responsiveProps = VResponsive.filterProps(props);
|
3955
3949
|
return vue.withDirectives(vue.createVNode(VResponsive, vue.mergeProps({
|
3956
3950
|
"class": ['v-img', {
|
3957
|
-
'v-img--absolute': props.absolute,
|
3958
3951
|
'v-img--booting': !isBooted.value
|
3959
3952
|
}, backgroundColorClasses.value, roundedClasses.value, props.class],
|
3960
3953
|
"style": [{
|
@@ -5755,7 +5748,6 @@
|
|
5755
5748
|
type: Boolean,
|
5756
5749
|
default: undefined
|
5757
5750
|
},
|
5758
|
-
activeColor: String,
|
5759
5751
|
baseColor: String,
|
5760
5752
|
symbol: {
|
5761
5753
|
type: null,
|
@@ -5847,11 +5839,10 @@
|
|
5847
5839
|
}
|
5848
5840
|
return group?.isSelected.value;
|
5849
5841
|
});
|
5850
|
-
const color = vue.computed(() => isActive.value ? props.activeColor ?? props.color : props.color);
|
5851
5842
|
const variantProps = vue.computed(() => {
|
5852
5843
|
const showColor = group?.isSelected.value && (!link.isLink.value || link.isActive?.value) || !group || link.isActive?.value;
|
5853
5844
|
return {
|
5854
|
-
color: showColor ? color
|
5845
|
+
color: showColor ? props.color ?? props.baseColor : props.baseColor,
|
5855
5846
|
variant: props.variant
|
5856
5847
|
};
|
5857
5848
|
});
|
@@ -5953,7 +5944,7 @@
|
|
5953
5944
|
"indeterminate": true,
|
5954
5945
|
"width": "2"
|
5955
5946
|
}, null)])]
|
5956
|
-
}), [[Ripple, !isDisabled.value &&
|
5947
|
+
}), [[Ripple, !isDisabled.value && props.ripple, '', {
|
5957
5948
|
center: !!props.icon
|
5958
5949
|
}]]);
|
5959
5950
|
});
|
@@ -6192,7 +6183,6 @@
|
|
6192
6183
|
icon: IconValue,
|
6193
6184
|
image: String,
|
6194
6185
|
text: String,
|
6195
|
-
...makeBorderProps(),
|
6196
6186
|
...makeComponentProps(),
|
6197
6187
|
...makeDensityProps(),
|
6198
6188
|
...makeRoundedProps(),
|
@@ -6213,9 +6203,6 @@
|
|
6213
6203
|
const {
|
6214
6204
|
themeClasses
|
6215
6205
|
} = provideTheme(props);
|
6216
|
-
const {
|
6217
|
-
borderClasses
|
6218
|
-
} = useBorder(props);
|
6219
6206
|
const {
|
6220
6207
|
colorClasses,
|
6221
6208
|
colorStyles,
|
@@ -6235,7 +6222,7 @@
|
|
6235
6222
|
"class": ['v-avatar', {
|
6236
6223
|
'v-avatar--start': props.start,
|
6237
6224
|
'v-avatar--end': props.end
|
6238
|
-
}, themeClasses.value,
|
6225
|
+
}, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
|
6239
6226
|
"style": [colorStyles.value, sizeStyles.value, props.style]
|
6240
6227
|
}, {
|
6241
6228
|
default: () => [!slots.default ? props.image ? vue.createVNode(VImg, {
|
@@ -6251,7 +6238,7 @@
|
|
6251
6238
|
"defaults": {
|
6252
6239
|
VImg: {
|
6253
6240
|
cover: true,
|
6254
|
-
|
6241
|
+
src: props.image
|
6255
6242
|
},
|
6256
6243
|
VIcon: {
|
6257
6244
|
icon: props.icon
|
@@ -6935,14 +6922,12 @@
|
|
6935
6922
|
const validateOn = vue.computed(() => {
|
6936
6923
|
let value = (props.validateOn ?? form?.validateOn.value) || 'input';
|
6937
6924
|
if (value === 'lazy') value = 'input lazy';
|
6938
|
-
if (value === 'eager') value = 'input eager';
|
6939
6925
|
const set = new Set(value?.split(' ') ?? []);
|
6940
6926
|
return {
|
6927
|
+
blur: set.has('blur') || set.has('input'),
|
6941
6928
|
input: set.has('input'),
|
6942
|
-
|
6943
|
-
|
6944
|
-
lazy: set.has('lazy'),
|
6945
|
-
eager: set.has('eager')
|
6929
|
+
submit: set.has('submit'),
|
6930
|
+
lazy: set.has('lazy')
|
6946
6931
|
};
|
6947
6932
|
});
|
6948
6933
|
const isValid = vue.computed(() => {
|
@@ -6979,11 +6964,11 @@
|
|
6979
6964
|
});
|
6980
6965
|
vue.onMounted(async () => {
|
6981
6966
|
if (!validateOn.value.lazy) {
|
6982
|
-
await validate(
|
6967
|
+
await validate(true);
|
6983
6968
|
}
|
6984
6969
|
form?.update(uid.value, isValid.value, errorMessages.value);
|
6985
6970
|
});
|
6986
|
-
useToggleScope(() => validateOn.value.input
|
6971
|
+
useToggleScope(() => validateOn.value.input, () => {
|
6987
6972
|
vue.watch(validationModel, () => {
|
6988
6973
|
if (validationModel.value != null) {
|
6989
6974
|
validate();
|
@@ -7011,7 +6996,7 @@
|
|
7011
6996
|
async function resetValidation() {
|
7012
6997
|
isPristine.value = true;
|
7013
6998
|
if (!validateOn.value.lazy) {
|
7014
|
-
await validate(
|
6999
|
+
await validate(true);
|
7015
7000
|
} else {
|
7016
7001
|
internalErrorMessages.value = [];
|
7017
7002
|
}
|
@@ -7951,9 +7936,7 @@
|
|
7951
7936
|
selected: group.selected,
|
7952
7937
|
scrollTo,
|
7953
7938
|
scrollOffset,
|
7954
|
-
focus
|
7955
|
-
hasPrev,
|
7956
|
-
hasNext
|
7939
|
+
focus
|
7957
7940
|
};
|
7958
7941
|
}
|
7959
7942
|
});
|
@@ -8423,7 +8406,6 @@
|
|
8423
8406
|
return strategy;
|
8424
8407
|
};
|
8425
8408
|
|
8426
|
-
// Utilities
|
8427
8409
|
const singleOpenStrategy = {
|
8428
8410
|
open: _ref => {
|
8429
8411
|
let {
|
@@ -8457,11 +8439,11 @@
|
|
8457
8439
|
parents
|
8458
8440
|
} = _ref2;
|
8459
8441
|
if (value) {
|
8460
|
-
let parent =
|
8442
|
+
let parent = parents.get(id);
|
8461
8443
|
opened.add(id);
|
8462
8444
|
while (parent != null && parent !== id) {
|
8463
8445
|
opened.add(parent);
|
8464
|
-
parent =
|
8446
|
+
parent = parents.get(parent);
|
8465
8447
|
}
|
8466
8448
|
return opened;
|
8467
8449
|
} else {
|
@@ -8632,18 +8614,18 @@
|
|
8632
8614
|
const items = [id];
|
8633
8615
|
while (items.length) {
|
8634
8616
|
const item = items.shift();
|
8635
|
-
selected.set(
|
8617
|
+
selected.set(item, value ? 'on' : 'off');
|
8636
8618
|
if (children.has(item)) {
|
8637
8619
|
items.push(...children.get(item));
|
8638
8620
|
}
|
8639
8621
|
}
|
8640
|
-
let parent =
|
8622
|
+
let parent = parents.get(id);
|
8641
8623
|
while (parent) {
|
8642
8624
|
const childrenIds = children.get(parent);
|
8643
|
-
const everySelected = childrenIds.every(cid => selected.get(
|
8644
|
-
const noneSelected = childrenIds.every(cid => !selected.has(
|
8625
|
+
const everySelected = childrenIds.every(cid => selected.get(cid) === 'on');
|
8626
|
+
const noneSelected = childrenIds.every(cid => !selected.has(cid) || selected.get(cid) === 'off');
|
8645
8627
|
selected.set(parent, everySelected ? 'on' : noneSelected ? 'off' : 'indeterminate');
|
8646
|
-
parent =
|
8628
|
+
parent = parents.get(parent);
|
8647
8629
|
}
|
8648
8630
|
|
8649
8631
|
// If mandatory and planned deselect results in no selected
|
@@ -8721,7 +8703,7 @@
|
|
8721
8703
|
let isUnmounted = false;
|
8722
8704
|
const children = vue.ref(new Map());
|
8723
8705
|
const parents = vue.ref(new Map());
|
8724
|
-
const opened = useProxiedModel(props, 'opened', props.opened, v => new Set(
|
8706
|
+
const opened = useProxiedModel(props, 'opened', props.opened, v => new Set(v), v => [...v.values()]);
|
8725
8707
|
const activeStrategy = vue.computed(() => {
|
8726
8708
|
if (typeof props.activeStrategy === 'object') return props.activeStrategy;
|
8727
8709
|
if (typeof props.activeStrategy === 'function') return props.activeStrategy(props.mandatory);
|
@@ -8894,9 +8876,9 @@
|
|
8894
8876
|
const item = {
|
8895
8877
|
...parent,
|
8896
8878
|
id: computedId,
|
8897
|
-
open: (open, e) => parent.root.open(
|
8879
|
+
open: (open, e) => parent.root.open(computedId.value, open, e),
|
8898
8880
|
openOnSelect: (open, e) => parent.root.openOnSelect(computedId.value, open, e),
|
8899
|
-
isOpen: vue.computed(() => parent.root.opened.value.has(
|
8881
|
+
isOpen: vue.computed(() => parent.root.opened.value.has(computedId.value)),
|
8900
8882
|
parent: vue.computed(() => parent.root.parents.value.get(computedId.value)),
|
8901
8883
|
activate: (activated, e) => parent.root.activate(computedId.value, activated, e),
|
8902
8884
|
isActivated: vue.computed(() => parent.root.activated.value.has(vue.toRaw(computedId.value))),
|
@@ -9120,7 +9102,6 @@
|
|
9120
9102
|
activate,
|
9121
9103
|
isActivated,
|
9122
9104
|
select,
|
9123
|
-
isOpen,
|
9124
9105
|
isSelected,
|
9125
9106
|
isIndeterminate,
|
9126
9107
|
isGroupActivator,
|
@@ -9175,7 +9156,6 @@
|
|
9175
9156
|
const slotProps = vue.computed(() => ({
|
9176
9157
|
isActive: isActive.value,
|
9177
9158
|
select,
|
9178
|
-
isOpen: isOpen.value,
|
9179
9159
|
isSelected: isSelected.value,
|
9180
9160
|
isIndeterminate: isIndeterminate.value
|
9181
9161
|
}));
|
@@ -9195,7 +9175,7 @@
|
|
9195
9175
|
function onKeyDown(e) {
|
9196
9176
|
if (e.key === 'Enter' || e.key === ' ') {
|
9197
9177
|
e.preventDefault();
|
9198
|
-
|
9178
|
+
onClick(e);
|
9199
9179
|
}
|
9200
9180
|
}
|
9201
9181
|
useRender(() => {
|
@@ -10518,8 +10498,7 @@
|
|
10518
10498
|
function useActivator(props, _ref) {
|
10519
10499
|
let {
|
10520
10500
|
isActive,
|
10521
|
-
isTop
|
10522
|
-
contentEl
|
10501
|
+
isTop
|
10523
10502
|
} = _ref;
|
10524
10503
|
const vm = getCurrentInstance('useActivator');
|
10525
10504
|
const activatorEl = vue.ref();
|
@@ -10636,7 +10615,7 @@
|
|
10636
10615
|
return events;
|
10637
10616
|
});
|
10638
10617
|
vue.watch(isTop, val => {
|
10639
|
-
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))
|
10618
|
+
if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
|
10640
10619
|
isActive.value = false;
|
10641
10620
|
}
|
10642
10621
|
});
|
@@ -11042,9 +11021,6 @@
|
|
11042
11021
|
attrs,
|
11043
11022
|
emit
|
11044
11023
|
} = _ref;
|
11045
|
-
const root = vue.ref();
|
11046
|
-
const scrimEl = vue.ref();
|
11047
|
-
const contentEl = vue.ref();
|
11048
11024
|
const model = useProxiedModel(props, 'modelValue');
|
11049
11025
|
const isActive = vue.computed({
|
11050
11026
|
get: () => model.value,
|
@@ -11082,8 +11058,7 @@
|
|
11082
11058
|
scrimEvents
|
11083
11059
|
} = useActivator(props, {
|
11084
11060
|
isActive,
|
11085
|
-
isTop: localTop
|
11086
|
-
contentEl
|
11061
|
+
isTop: localTop
|
11087
11062
|
});
|
11088
11063
|
const {
|
11089
11064
|
teleportTarget
|
@@ -11104,6 +11079,9 @@
|
|
11104
11079
|
vue.watch(() => props.disabled, v => {
|
11105
11080
|
if (v) isActive.value = false;
|
11106
11081
|
});
|
11082
|
+
const root = vue.ref();
|
11083
|
+
const scrimEl = vue.ref();
|
11084
|
+
const contentEl = vue.ref();
|
11107
11085
|
const {
|
11108
11086
|
contentStyles,
|
11109
11087
|
updateLocation
|
@@ -11354,12 +11332,10 @@
|
|
11354
11332
|
// TODO
|
11355
11333
|
// disableKeys: Boolean,
|
11356
11334
|
id: String,
|
11357
|
-
submenu: Boolean,
|
11358
11335
|
...omit(makeVOverlayProps({
|
11359
11336
|
closeDelay: 250,
|
11360
11337
|
closeOnContentClick: true,
|
11361
11338
|
locationStrategy: 'connected',
|
11362
|
-
location: undefined,
|
11363
11339
|
openDelay: 300,
|
11364
11340
|
scrim: false,
|
11365
11341
|
scrollStrategy: 'reposition',
|
@@ -11382,32 +11358,27 @@
|
|
11382
11358
|
const {
|
11383
11359
|
scopeId
|
11384
11360
|
} = useScopeId();
|
11385
|
-
const {
|
11386
|
-
isRtl
|
11387
|
-
} = useRtl();
|
11388
11361
|
const uid = getUid();
|
11389
11362
|
const id = vue.computed(() => props.id || `v-menu-${uid}`);
|
11390
11363
|
const overlay = vue.ref();
|
11391
11364
|
const parent = vue.inject(VMenuSymbol, null);
|
11392
|
-
const openChildren = vue.shallowRef(
|
11365
|
+
const openChildren = vue.shallowRef(0);
|
11393
11366
|
vue.provide(VMenuSymbol, {
|
11394
11367
|
register() {
|
11395
|
-
openChildren.value
|
11368
|
+
++openChildren.value;
|
11396
11369
|
},
|
11397
11370
|
unregister() {
|
11398
|
-
openChildren.value
|
11371
|
+
--openChildren.value;
|
11399
11372
|
},
|
11400
11373
|
closeParents(e) {
|
11401
11374
|
setTimeout(() => {
|
11402
|
-
if (!openChildren.value
|
11375
|
+
if (!openChildren.value && !props.persistent && (e == null || overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl))) {
|
11403
11376
|
isActive.value = false;
|
11404
11377
|
parent?.closeParents();
|
11405
11378
|
}
|
11406
11379
|
}, 40);
|
11407
11380
|
}
|
11408
11381
|
});
|
11409
|
-
vue.onBeforeUnmount(() => parent?.unregister());
|
11410
|
-
vue.onDeactivated(() => isActive.value = false);
|
11411
11382
|
async function onFocusIn(e) {
|
11412
11383
|
const before = e.relatedTarget;
|
11413
11384
|
const after = e.target;
|
@@ -11447,9 +11418,9 @@
|
|
11447
11418
|
isActive.value = false;
|
11448
11419
|
overlay.value?.activatorEl?.focus();
|
11449
11420
|
}
|
11450
|
-
} else if (
|
11421
|
+
} else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
|
11451
11422
|
isActive.value = false;
|
11452
|
-
|
11423
|
+
parent?.closeParents();
|
11453
11424
|
}
|
11454
11425
|
}
|
11455
11426
|
function onActivatorKeydown(e) {
|
@@ -11458,21 +11429,12 @@
|
|
11458
11429
|
if (el && isActive.value) {
|
11459
11430
|
if (e.key === 'ArrowDown') {
|
11460
11431
|
e.preventDefault();
|
11461
|
-
e.stopImmediatePropagation();
|
11462
11432
|
focusChild(el, 'next');
|
11463
11433
|
} else if (e.key === 'ArrowUp') {
|
11464
11434
|
e.preventDefault();
|
11465
|
-
e.stopImmediatePropagation();
|
11466
11435
|
focusChild(el, 'prev');
|
11467
|
-
} else if (props.submenu) {
|
11468
|
-
if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
|
11469
|
-
isActive.value = false;
|
11470
|
-
} else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
|
11471
|
-
e.preventDefault();
|
11472
|
-
focusChild(el, 'first');
|
11473
|
-
}
|
11474
11436
|
}
|
11475
|
-
} else if (
|
11437
|
+
} else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
|
11476
11438
|
isActive.value = true;
|
11477
11439
|
e.preventDefault();
|
11478
11440
|
setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
|
@@ -11496,7 +11458,6 @@
|
|
11496
11458
|
"onUpdate:modelValue": $event => isActive.value = $event,
|
11497
11459
|
"absolute": true,
|
11498
11460
|
"activatorProps": activatorProps.value,
|
11499
|
-
"location": props.location ?? (props.submenu ? 'end' : 'bottom'),
|
11500
11461
|
"onClick:outside": onClickOutside,
|
11501
11462
|
"onKeydown": onKeydown
|
11502
11463
|
}, scopeId), {
|
@@ -12329,7 +12290,6 @@
|
|
12329
12290
|
deep: true
|
12330
12291
|
});
|
12331
12292
|
return {
|
12332
|
-
calculateVisibleItems,
|
12333
12293
|
containerRef,
|
12334
12294
|
markerRef,
|
12335
12295
|
computedItems,
|
@@ -12393,7 +12353,6 @@
|
|
12393
12353
|
dimensionStyles
|
12394
12354
|
} = useDimension(props);
|
12395
12355
|
const {
|
12396
|
-
calculateVisibleItems,
|
12397
12356
|
containerRef,
|
12398
12357
|
markerRef,
|
12399
12358
|
handleScroll,
|
@@ -12465,7 +12424,6 @@
|
|
12465
12424
|
}, [children])]);
|
12466
12425
|
});
|
12467
12426
|
return {
|
12468
|
-
calculateVisibleItems,
|
12469
12427
|
scrollToIndex
|
12470
12428
|
};
|
12471
12429
|
}
|
@@ -12534,9 +12492,9 @@
|
|
12534
12492
|
}
|
12535
12493
|
}
|
12536
12494
|
return {
|
12537
|
-
|
12538
|
-
|
12539
|
-
};
|
12495
|
+
onListScroll,
|
12496
|
+
onListKeydown
|
12497
|
+
};
|
12540
12498
|
}
|
12541
12499
|
|
12542
12500
|
// Types
|
@@ -12611,7 +12569,7 @@
|
|
12611
12569
|
const menu = vue.computed({
|
12612
12570
|
get: () => _menu.value,
|
12613
12571
|
set: v => {
|
12614
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren
|
12572
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren) return;
|
12615
12573
|
_menu.value = v;
|
12616
12574
|
}
|
12617
12575
|
});
|
@@ -12650,7 +12608,10 @@
|
|
12650
12608
|
};
|
12651
12609
|
});
|
12652
12610
|
const listRef = vue.ref();
|
12653
|
-
const
|
12611
|
+
const {
|
12612
|
+
onListScroll,
|
12613
|
+
onListKeydown
|
12614
|
+
} = useScrolling(listRef, vTextFieldRef);
|
12654
12615
|
function onClear(e) {
|
12655
12616
|
if (props.openOnClear) {
|
12656
12617
|
menu.value = true;
|
@@ -12660,11 +12621,6 @@
|
|
12660
12621
|
if (menuDisabled.value) return;
|
12661
12622
|
menu.value = !menu.value;
|
12662
12623
|
}
|
12663
|
-
function onListKeydown(e) {
|
12664
|
-
if (checkPrintable(e)) {
|
12665
|
-
onKeydown(e);
|
12666
|
-
}
|
12667
|
-
}
|
12668
12624
|
function onKeydown(e) {
|
12669
12625
|
if (!e.key || props.readonly || form?.isReadonly.value) return;
|
12670
12626
|
if (['Enter', ' ', 'ArrowDown', 'ArrowUp', 'Home', 'End'].includes(e.key)) {
|
@@ -12685,6 +12641,11 @@
|
|
12685
12641
|
// html select hotkeys
|
12686
12642
|
const KEYBOARD_LOOKUP_THRESHOLD = 1000; // milliseconds
|
12687
12643
|
|
12644
|
+
function checkPrintable(e) {
|
12645
|
+
const isPrintableChar = e.key.length === 1;
|
12646
|
+
const noModifier = !e.ctrlKey && !e.metaKey && !e.altKey;
|
12647
|
+
return isPrintableChar && noModifier;
|
12648
|
+
}
|
12688
12649
|
if (props.multiple || !checkPrintable(e)) return;
|
12689
12650
|
const now = performance.now();
|
12690
12651
|
if (now - keyboardLookupLastTime > KEYBOARD_LOOKUP_THRESHOLD) {
|
@@ -12729,11 +12690,6 @@
|
|
12729
12690
|
menu.value = false;
|
12730
12691
|
}
|
12731
12692
|
}
|
12732
|
-
function onAfterEnter() {
|
12733
|
-
if (props.eager) {
|
12734
|
-
vVirtualScrollRef.value?.calculateVisibleItems();
|
12735
|
-
}
|
12736
|
-
}
|
12737
12693
|
function onAfterLeave() {
|
12738
12694
|
if (isFocused.value) {
|
12739
12695
|
vTextFieldRef.value?.focus();
|
@@ -12812,7 +12768,6 @@
|
|
12812
12768
|
"openOnClick": false,
|
12813
12769
|
"closeOnContentClick": false,
|
12814
12770
|
"transition": props.transition,
|
12815
|
-
"onAfterEnter": onAfterEnter,
|
12816
12771
|
"onAfterLeave": onAfterLeave
|
12817
12772
|
}, computedMenuProps.value), {
|
12818
12773
|
default: () => [hasList && vue.createVNode(VList, vue.mergeProps({
|
@@ -12822,10 +12777,11 @@
|
|
12822
12777
|
"onMousedown": e => e.preventDefault(),
|
12823
12778
|
"onKeydown": onListKeydown,
|
12824
12779
|
"onFocusin": onFocusin,
|
12780
|
+
"onScrollPassive": onListScroll,
|
12825
12781
|
"tabindex": "-1",
|
12826
12782
|
"aria-live": "polite",
|
12827
12783
|
"color": props.itemColor ?? props.color
|
12828
|
-
},
|
12784
|
+
}, props.listProps), {
|
12829
12785
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
|
12830
12786
|
"title": t(props.noDataText)
|
12831
12787
|
}, null)), vue.createVNode(VVirtualScroll, {
|
@@ -13120,7 +13076,7 @@
|
|
13120
13076
|
const menu = vue.computed({
|
13121
13077
|
get: () => _menu.value,
|
13122
13078
|
set: v => {
|
13123
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren
|
13079
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren) return;
|
13124
13080
|
_menu.value = v;
|
13125
13081
|
}
|
13126
13082
|
});
|
@@ -13164,7 +13120,10 @@
|
|
13164
13120
|
});
|
13165
13121
|
const menuDisabled = vue.computed(() => props.hideNoData && !displayItems.value.length || props.readonly || form?.isReadonly.value);
|
13166
13122
|
const listRef = vue.ref();
|
13167
|
-
const
|
13123
|
+
const {
|
13124
|
+
onListScroll,
|
13125
|
+
onListKeydown
|
13126
|
+
} = useScrolling(listRef, vTextFieldRef);
|
13168
13127
|
function onClear(e) {
|
13169
13128
|
if (props.openOnClear) {
|
13170
13129
|
menu.value = true;
|
@@ -13183,11 +13142,6 @@
|
|
13183
13142
|
}
|
13184
13143
|
menu.value = !menu.value;
|
13185
13144
|
}
|
13186
|
-
function onListKeydown(e) {
|
13187
|
-
if (checkPrintable(e)) {
|
13188
|
-
vTextFieldRef.value?.focus();
|
13189
|
-
}
|
13190
|
-
}
|
13191
13145
|
function onKeydown(e) {
|
13192
13146
|
if (props.readonly || form?.isReadonly.value) return;
|
13193
13147
|
const selectionStart = vTextFieldRef.value.selectionStart;
|
@@ -13252,11 +13206,6 @@
|
|
13252
13206
|
}
|
13253
13207
|
}
|
13254
13208
|
}
|
13255
|
-
function onAfterEnter() {
|
13256
|
-
if (props.eager) {
|
13257
|
-
vVirtualScrollRef.value?.calculateVisibleItems();
|
13258
|
-
}
|
13259
|
-
}
|
13260
13209
|
function onAfterLeave() {
|
13261
13210
|
if (isFocused.value) {
|
13262
13211
|
isPristine.value = true;
|
@@ -13385,7 +13334,6 @@
|
|
13385
13334
|
"openOnClick": false,
|
13386
13335
|
"closeOnContentClick": false,
|
13387
13336
|
"transition": props.transition,
|
13388
|
-
"onAfterEnter": onAfterEnter,
|
13389
13337
|
"onAfterLeave": onAfterLeave
|
13390
13338
|
}, props.menuProps), {
|
13391
13339
|
default: () => [hasList && vue.createVNode(VList, vue.mergeProps({
|
@@ -13396,10 +13344,11 @@
|
|
13396
13344
|
"onKeydown": onListKeydown,
|
13397
13345
|
"onFocusin": onFocusin,
|
13398
13346
|
"onFocusout": onFocusout,
|
13347
|
+
"onScrollPassive": onListScroll,
|
13399
13348
|
"tabindex": "-1",
|
13400
13349
|
"aria-live": "polite",
|
13401
13350
|
"color": props.itemColor ?? props.color
|
13402
|
-
},
|
13351
|
+
}, props.listProps), {
|
13403
13352
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
|
13404
13353
|
"title": t(props.noDataText)
|
13405
13354
|
}, null)), vue.createVNode(VVirtualScroll, {
|
@@ -16960,7 +16909,7 @@
|
|
16960
16909
|
const menu = vue.computed({
|
16961
16910
|
get: () => _menu.value,
|
16962
16911
|
set: v => {
|
16963
|
-
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren
|
16912
|
+
if (_menu.value && !v && vMenuRef.value?.ΨopenChildren) return;
|
16964
16913
|
_menu.value = v;
|
16965
16914
|
}
|
16966
16915
|
});
|
@@ -17043,7 +16992,10 @@
|
|
17043
16992
|
});
|
17044
16993
|
const menuDisabled = vue.computed(() => props.hideNoData && !displayItems.value.length || props.readonly || form?.isReadonly.value);
|
17045
16994
|
const listRef = vue.ref();
|
17046
|
-
const
|
16995
|
+
const {
|
16996
|
+
onListScroll,
|
16997
|
+
onListKeydown
|
16998
|
+
} = useScrolling(listRef, vTextFieldRef);
|
17047
16999
|
function onClear(e) {
|
17048
17000
|
cleared = true;
|
17049
17001
|
if (props.openOnClear) {
|
@@ -17062,11 +17014,6 @@
|
|
17062
17014
|
}
|
17063
17015
|
menu.value = !menu.value;
|
17064
17016
|
}
|
17065
|
-
function onListKeydown(e) {
|
17066
|
-
if (checkPrintable(e)) {
|
17067
|
-
vTextFieldRef.value?.focus();
|
17068
|
-
}
|
17069
|
-
}
|
17070
17017
|
// eslint-disable-next-line complexity
|
17071
17018
|
function onKeydown(e) {
|
17072
17019
|
if (isComposingIgnoreKey(e) || props.readonly || form?.isReadonly.value) return;
|
@@ -17131,11 +17078,6 @@
|
|
17131
17078
|
}
|
17132
17079
|
}
|
17133
17080
|
}
|
17134
|
-
function onAfterEnter() {
|
17135
|
-
if (props.eager) {
|
17136
|
-
vVirtualScrollRef.value?.calculateVisibleItems();
|
17137
|
-
}
|
17138
|
-
}
|
17139
17081
|
function onAfterLeave() {
|
17140
17082
|
if (isFocused.value) {
|
17141
17083
|
isPristine.value = true;
|
@@ -17260,7 +17202,6 @@
|
|
17260
17202
|
"openOnClick": false,
|
17261
17203
|
"closeOnContentClick": false,
|
17262
17204
|
"transition": props.transition,
|
17263
|
-
"onAfterEnter": onAfterEnter,
|
17264
17205
|
"onAfterLeave": onAfterLeave
|
17265
17206
|
}, props.menuProps), {
|
17266
17207
|
default: () => [hasList && vue.createVNode(VList, vue.mergeProps({
|
@@ -17271,10 +17212,11 @@
|
|
17271
17212
|
"onKeydown": onListKeydown,
|
17272
17213
|
"onFocusin": onFocusin,
|
17273
17214
|
"onFocusout": onFocusout,
|
17215
|
+
"onScrollPassive": onListScroll,
|
17274
17216
|
"tabindex": "-1",
|
17275
17217
|
"aria-live": "polite",
|
17276
17218
|
"color": props.itemColor ?? props.color
|
17277
|
-
},
|
17219
|
+
}, props.listProps), {
|
17278
17220
|
default: () => [slots['prepend-item']?.(), !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? vue.createVNode(VListItem, {
|
17279
17221
|
"title": t(props.noDataText)
|
17280
17222
|
}, null)), vue.createVNode(VVirtualScroll, {
|
@@ -21218,7 +21160,6 @@
|
|
21218
21160
|
default: false
|
21219
21161
|
},
|
21220
21162
|
...makeComponentProps(),
|
21221
|
-
...makeDimensionProps(),
|
21222
21163
|
...makeTagProps()
|
21223
21164
|
}, 'VContainer');
|
21224
21165
|
const VContainer = genericComponent()({
|
@@ -21231,14 +21172,11 @@
|
|
21231
21172
|
const {
|
21232
21173
|
rtlClasses
|
21233
21174
|
} = useRtl();
|
21234
|
-
const {
|
21235
|
-
dimensionStyles
|
21236
|
-
} = useDimension(props);
|
21237
21175
|
useRender(() => vue.createVNode(props.tag, {
|
21238
21176
|
"class": ['v-container', {
|
21239
21177
|
'v-container--fluid': props.fluid
|
21240
21178
|
}, rtlClasses.value, props.class],
|
21241
|
-
"style":
|
21179
|
+
"style": props.style
|
21242
21180
|
}, slots));
|
21243
21181
|
return {};
|
21244
21182
|
}
|
@@ -22660,8 +22598,7 @@
|
|
22660
22598
|
default: false
|
22661
22599
|
},
|
22662
22600
|
readonly: Boolean,
|
22663
|
-
...makeComponentProps()
|
22664
|
-
...makeDimensionProps()
|
22601
|
+
...makeComponentProps()
|
22665
22602
|
}, 'VExpansionPanelTitle');
|
22666
22603
|
const VExpansionPanelTitle = genericComponent()({
|
22667
22604
|
name: 'VExpansionPanelTitle',
|
@@ -22679,9 +22616,6 @@
|
|
22679
22616
|
backgroundColorClasses,
|
22680
22617
|
backgroundColorStyles
|
22681
22618
|
} = useBackgroundColor(props, 'color');
|
22682
|
-
const {
|
22683
|
-
dimensionStyles
|
22684
|
-
} = useDimension(props);
|
22685
22619
|
const slotProps = vue.computed(() => ({
|
22686
22620
|
collapseIcon: props.collapseIcon,
|
22687
22621
|
disabled: expansionPanel.disabled.value,
|
@@ -22696,7 +22630,7 @@
|
|
22696
22630
|
'v-expansion-panel-title--focusable': props.focusable,
|
22697
22631
|
'v-expansion-panel-title--static': props.static
|
22698
22632
|
}, backgroundColorClasses.value, props.class],
|
22699
|
-
"style": [backgroundColorStyles.value,
|
22633
|
+
"style": [backgroundColorStyles.value, props.style],
|
22700
22634
|
"type": "button",
|
22701
22635
|
"tabindex": expansionPanel.disabled.value ? -1 : undefined,
|
22702
22636
|
"disabled": expansionPanel.disabled.value,
|
@@ -23218,6 +23152,8 @@
|
|
23218
23152
|
let {
|
23219
23153
|
slots
|
23220
23154
|
} = _ref;
|
23155
|
+
const layoutItemStyles = vue.ref();
|
23156
|
+
const layoutIsReady = vue.shallowRef();
|
23221
23157
|
const {
|
23222
23158
|
themeClasses
|
23223
23159
|
} = provideTheme(props);
|
@@ -23242,17 +23178,20 @@
|
|
23242
23178
|
autoHeight.value = entries[0].target.clientHeight;
|
23243
23179
|
});
|
23244
23180
|
const height = vue.computed(() => props.height === 'auto' ? autoHeight.value : parseInt(props.height, 10));
|
23245
|
-
|
23246
|
-
|
23247
|
-
|
23248
|
-
|
23249
|
-
|
23250
|
-
|
23251
|
-
|
23252
|
-
|
23253
|
-
|
23254
|
-
|
23255
|
-
|
23181
|
+
useToggleScope(() => props.app, () => {
|
23182
|
+
const layout = useLayoutItem({
|
23183
|
+
id: props.name,
|
23184
|
+
order: vue.computed(() => parseInt(props.order, 10)),
|
23185
|
+
position: vue.computed(() => 'bottom'),
|
23186
|
+
layoutSize: height,
|
23187
|
+
elementSize: vue.computed(() => props.height === 'auto' ? undefined : height.value),
|
23188
|
+
active: vue.computed(() => props.app),
|
23189
|
+
absolute: vue.toRef(props, 'absolute')
|
23190
|
+
});
|
23191
|
+
vue.watchEffect(() => {
|
23192
|
+
layoutItemStyles.value = layout.layoutItemStyles.value;
|
23193
|
+
layoutIsReady.value = layout.layoutIsReady;
|
23194
|
+
});
|
23256
23195
|
});
|
23257
23196
|
useRender(() => vue.createVNode(props.tag, {
|
23258
23197
|
"ref": resizeRef,
|
@@ -23261,7 +23200,7 @@
|
|
23261
23200
|
height: convertToUnit(props.height)
|
23262
23201
|
}, props.style]
|
23263
23202
|
}, slots));
|
23264
|
-
return props.app ? layoutIsReady : {};
|
23203
|
+
return props.app ? layoutIsReady.value : {};
|
23265
23204
|
}
|
23266
23205
|
});
|
23267
23206
|
|
@@ -25402,16 +25341,17 @@
|
|
25402
25341
|
const items = vue.computed(() => genStructure(wrapInArray(props.type).join(',')));
|
25403
25342
|
useRender(() => {
|
25404
25343
|
const isLoading = !slots.default || props.loading;
|
25405
|
-
|
25344
|
+
const loadingProps = props.boilerplate || !isLoading ? {} : {
|
25345
|
+
ariaLive: 'polite',
|
25346
|
+
ariaLabel: t(props.loadingText),
|
25347
|
+
role: 'alert'
|
25348
|
+
};
|
25349
|
+
return vue.createVNode("div", vue.mergeProps({
|
25406
25350
|
"class": ['v-skeleton-loader', {
|
25407
25351
|
'v-skeleton-loader--boilerplate': props.boilerplate
|
25408
25352
|
}, themeClasses.value, backgroundColorClasses.value, elevationClasses.value],
|
25409
|
-
"style": [backgroundColorStyles.value, isLoading ? dimensionStyles.value : {}]
|
25410
|
-
|
25411
|
-
"aria-live": !props.boilerplate ? 'polite' : undefined,
|
25412
|
-
"aria-label": !props.boilerplate ? t(props.loadingText) : undefined,
|
25413
|
-
"role": !props.boilerplate ? 'alert' : undefined
|
25414
|
-
}, [isLoading ? items.value : slots.default?.()]);
|
25353
|
+
"style": [backgroundColorStyles.value, isLoading ? dimensionStyles.value : {}]
|
25354
|
+
}, loadingProps), [isLoading ? items.value : slots.default?.()]);
|
25415
25355
|
});
|
25416
25356
|
return {};
|
25417
25357
|
}
|
@@ -25444,14 +25384,14 @@
|
|
25444
25384
|
// Types
|
25445
25385
|
|
25446
25386
|
function useCountdown(milliseconds) {
|
25447
|
-
const time = vue.shallowRef(milliseconds);
|
25387
|
+
const time = vue.shallowRef(milliseconds());
|
25448
25388
|
let timer = -1;
|
25449
25389
|
function clear() {
|
25450
25390
|
clearInterval(timer);
|
25451
25391
|
}
|
25452
25392
|
function reset() {
|
25453
25393
|
clear();
|
25454
|
-
vue.nextTick(() => time.value = milliseconds);
|
25394
|
+
vue.nextTick(() => time.value = milliseconds());
|
25455
25395
|
}
|
25456
25396
|
function start(el) {
|
25457
25397
|
const style = el ? getComputedStyle(el) : {
|
@@ -25463,7 +25403,7 @@
|
|
25463
25403
|
const startTime = performance.now();
|
25464
25404
|
timer = window.setInterval(() => {
|
25465
25405
|
const elapsed = performance.now() - startTime + interval;
|
25466
|
-
time.value = Math.max(milliseconds - elapsed, 0);
|
25406
|
+
time.value = Math.max(milliseconds() - elapsed, 0);
|
25467
25407
|
if (time.value <= 0) clear();
|
25468
25408
|
}, interval);
|
25469
25409
|
}
|
@@ -25523,7 +25463,7 @@
|
|
25523
25463
|
const {
|
25524
25464
|
roundedClasses
|
25525
25465
|
} = useRounded(props);
|
25526
|
-
const countdown = useCountdown(Number(props.timeout));
|
25466
|
+
const countdown = useCountdown(() => Number(props.timeout));
|
25527
25467
|
const overlay = vue.ref();
|
25528
25468
|
const timerRef = vue.ref();
|
25529
25469
|
const isHovering = vue.shallowRef(false);
|
@@ -28202,7 +28142,7 @@
|
|
28202
28142
|
goTo
|
28203
28143
|
};
|
28204
28144
|
}
|
28205
|
-
const version$1 = "3.6.
|
28145
|
+
const version$1 = "3.6.14-master.2024-08-01";
|
28206
28146
|
createVuetify$1.version = version$1;
|
28207
28147
|
|
28208
28148
|
// Vue's inject() can only be used in setup
|
@@ -28227,7 +28167,7 @@
|
|
28227
28167
|
...options
|
28228
28168
|
});
|
28229
28169
|
};
|
28230
|
-
const version = "3.6.
|
28170
|
+
const version = "3.6.14-master.2024-08-01";
|
28231
28171
|
createVuetify.version = version;
|
28232
28172
|
|
28233
28173
|
exports.blueprints = index;
|