@vuetify/nightly 3.7.1-master.2024-09-02 → 3.7.1-master.2024-09-04
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/importMap-labs.json +14 -14
- package/dist/json/importMap.json +118 -118
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +4238 -4235
- package/dist/vuetify-labs.d.ts +999 -999
- package/dist/vuetify-labs.esm.js +42 -55
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +42 -55
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +731 -728
- package/dist/vuetify.d.ts +851 -851
- package/dist/vuetify.esm.js +34 -31
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +34 -31
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +267 -267
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.mts +10 -10
- package/lib/components/VAppBar/index.d.mts +18 -18
- package/lib/components/VAutocomplete/index.d.mts +109 -109
- package/lib/components/VAvatar/index.d.mts +4 -4
- package/lib/components/VBadge/index.d.mts +4 -4
- package/lib/components/VBanner/index.d.mts +14 -14
- package/lib/components/VBottomNavigation/index.d.mts +4 -4
- package/lib/components/VBottomSheet/index.d.mts +11 -11
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +3 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +4 -4
- package/lib/components/VBtn/VBtn.mjs +3 -4
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +14 -14
- package/lib/components/VBtnGroup/index.d.mts +4 -4
- package/lib/components/VBtnToggle/index.d.mts +4 -4
- package/lib/components/VCard/VCard.mjs +3 -4
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/index.d.mts +14 -14
- package/lib/components/VCarousel/index.d.mts +13 -13
- package/lib/components/VCheckbox/index.d.mts +4 -4
- package/lib/components/VChip/VChip.mjs +2 -3
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +8 -8
- package/lib/components/VChipGroup/index.d.mts +4 -4
- package/lib/components/VColorPicker/index.d.mts +22 -22
- package/lib/components/VCombobox/index.d.mts +109 -109
- package/lib/components/VDataTable/index.d.mts +14 -14
- package/lib/components/VDatePicker/index.d.mts +12 -12
- package/lib/components/VDialog/VDialog.css +4 -1
- package/lib/components/VDialog/VDialog.mjs +1 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +2 -1
- package/lib/components/VDialog/index.d.mts +50 -50
- package/lib/components/VEmptyState/index.d.mts +8 -8
- package/lib/components/VExpansionPanel/index.d.mts +4 -4
- package/lib/components/VFab/index.d.mts +18 -18
- package/lib/components/VFileInput/index.d.mts +6 -6
- package/lib/components/VFooter/index.d.mts +4 -4
- package/lib/components/VIcon/index.d.mts +4 -4
- package/lib/components/VInput/index.d.mts +2 -2
- package/lib/components/VItemGroup/index.d.mts +4 -4
- package/lib/components/VLabel/index.d.mts +4 -4
- package/lib/components/VList/VListItem.mjs +3 -4
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +23 -23
- package/lib/components/VMenu/index.d.mts +50 -50
- package/lib/components/VMessages/index.d.mts +8 -8
- package/lib/components/VNavigationDrawer/index.d.mts +18 -18
- package/lib/components/VOtpInput/index.d.mts +4 -4
- package/lib/components/VOverlay/index.d.mts +11 -11
- package/lib/components/VPagination/index.d.mts +4 -4
- package/lib/components/VProgressCircular/index.d.mts +4 -4
- package/lib/components/VRadioGroup/index.d.mts +2 -2
- package/lib/components/VRangeSlider/index.d.mts +8 -8
- package/lib/components/VSelect/index.d.mts +109 -109
- package/lib/components/VSheet/index.d.mts +10 -10
- package/lib/components/VSkeletonLoader/index.d.mts +4 -4
- package/lib/components/VSlider/index.d.mts +8 -8
- package/lib/components/VSnackbar/index.d.mts +62 -62
- package/lib/components/VSpeedDial/index.d.mts +11 -11
- package/lib/components/VStepper/index.d.mts +12 -12
- package/lib/components/VSwitch/index.d.mts +2 -2
- package/lib/components/VSystemBar/index.d.mts +4 -4
- package/lib/components/VTabs/index.d.mts +53 -53
- package/lib/components/VTextField/index.d.mts +13 -13
- package/lib/components/VTextarea/index.d.mts +10 -10
- package/lib/components/VTimeline/index.d.mts +4 -4
- package/lib/components/VToolbar/index.d.mts +4 -4
- package/lib/components/VTooltip/index.d.mts +45 -45
- package/lib/components/VWindow/index.d.mts +6 -6
- package/lib/components/index.d.mts +810 -810
- package/lib/composables/directiveComponent.mjs +1 -1
- package/lib/composables/directiveComponent.mjs.map +1 -1
- package/lib/composables/router.mjs +19 -9
- package/lib/composables/router.mjs.map +1 -1
- package/lib/directives/tooltip/index.mjs +1 -1
- package/lib/directives/tooltip/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +41 -41
- package/lib/labs/VDateInput/index.d.mts +12 -12
- package/lib/labs/VNumberInput/index.d.mts +67 -67
- package/lib/labs/VPicker/index.d.mts +10 -10
- package/lib/labs/VSnackbarQueue/index.d.mts +95 -95
- package/lib/labs/VStepperVertical/index.d.mts +6 -6
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +26 -26
- package/lib/labs/VTimePicker/util.mjs +5 -0
- package/lib/labs/VTimePicker/util.mjs.map +1 -0
- package/lib/labs/VTreeview/index.d.mts +40 -40
- package/lib/labs/components.d.mts +256 -256
- package/package.json +6 -8
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -21
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs +0 -22
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
- package/lib/components/VDatePicker/util/index.mjs +0 -9
- package/lib/components/VDatePicker/util/index.mjs.map +0 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs +0 -7
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
- package/lib/components/VDatePicker/util/monthChange.mjs +0 -18
- package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
- package/lib/components/VDatePicker/util/pad.mjs +0 -21
- package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs +0 -12
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
- package/lib/services/goto/easing-patterns.mjs +0 -27
- package/lib/services/goto/easing-patterns.mjs.map +0 -1
- package/lib/services/goto/index.mjs +0 -73
- package/lib/services/goto/index.mjs.map +0 -1
- package/lib/services/goto/util.mjs +0 -39
- package/lib/services/goto/util.mjs.map +0 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.1-master.2024-09-
|
2
|
+
* Vuetify v3.7.1-master.2024-09-04
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -319,7 +319,7 @@
|
|
319
319
|
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
320
320
|
return str + char.repeat(Math.max(0, length - str.length));
|
321
321
|
}
|
322
|
-
function padStart
|
322
|
+
function padStart(str, length) {
|
323
323
|
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
324
324
|
return char.repeat(Math.max(0, length - str.length)) + str;
|
325
325
|
}
|
@@ -5160,10 +5160,14 @@
|
|
5160
5160
|
return isLink?.value || hasEvent(attrs, 'click') || hasEvent(props, 'click');
|
5161
5161
|
});
|
5162
5162
|
if (typeof RouterLink === 'string' || !('useLink' in RouterLink)) {
|
5163
|
+
const href = vue.toRef(props, 'href');
|
5163
5164
|
return {
|
5164
5165
|
isLink,
|
5165
5166
|
isClickable,
|
5166
|
-
href
|
5167
|
+
href,
|
5168
|
+
linkProps: vue.reactive({
|
5169
|
+
href
|
5170
|
+
})
|
5167
5171
|
};
|
5168
5172
|
}
|
5169
5173
|
// vue-router useLink `to` prop needs to be reactive and useLink will crash if undefined
|
@@ -5175,18 +5179,24 @@
|
|
5175
5179
|
// Actual link needs to be undefined when to prop is not used
|
5176
5180
|
const link = vue.computed(() => props.to ? routerLink : undefined);
|
5177
5181
|
const route = useRoute();
|
5182
|
+
const isActive = vue.computed(() => {
|
5183
|
+
if (!link.value) return false;
|
5184
|
+
if (!props.exact) return link.value.isActive?.value ?? false;
|
5185
|
+
if (!route.value) return link.value.isExactActive?.value ?? false;
|
5186
|
+
return link.value.isExactActive?.value && deepEqual(link.value.route.value.query, route.value.query);
|
5187
|
+
});
|
5188
|
+
const href = vue.computed(() => props.to ? link.value?.route.value.href : props.href);
|
5178
5189
|
return {
|
5179
5190
|
isLink,
|
5180
5191
|
isClickable,
|
5192
|
+
isActive,
|
5181
5193
|
route: link.value?.route,
|
5182
5194
|
navigate: link.value?.navigate,
|
5183
|
-
|
5184
|
-
|
5185
|
-
|
5186
|
-
|
5187
|
-
|
5188
|
-
}),
|
5189
|
-
href: vue.computed(() => props.to ? link.value?.route.value.href : props.href)
|
5195
|
+
href,
|
5196
|
+
linkProps: vue.reactive({
|
5197
|
+
href,
|
5198
|
+
'aria-current': vue.computed(() => isActive.value ? 'page' : undefined)
|
5199
|
+
})
|
5190
5200
|
};
|
5191
5201
|
}
|
5192
5202
|
const makeRouterProps = propsFactory({
|
@@ -5661,7 +5671,7 @@
|
|
5661
5671
|
const hasPrepend = !!(props.prependIcon || slots.prepend);
|
5662
5672
|
const hasAppend = !!(props.appendIcon || slots.append);
|
5663
5673
|
const hasIcon = !!(props.icon && props.icon !== true);
|
5664
|
-
return vue.withDirectives(vue.createVNode(Tag, {
|
5674
|
+
return vue.withDirectives(vue.createVNode(Tag, vue.mergeProps({
|
5665
5675
|
"type": Tag === 'a' ? undefined : 'button',
|
5666
5676
|
"class": ['v-btn', group?.selectedClass.value, {
|
5667
5677
|
'v-btn--active': isActive.value,
|
@@ -5678,11 +5688,10 @@
|
|
5678
5688
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, sizeStyles.value, props.style],
|
5679
5689
|
"aria-busy": props.loading ? true : undefined,
|
5680
5690
|
"disabled": isDisabled.value || undefined,
|
5681
|
-
"href": link.href.value,
|
5682
5691
|
"tabindex": props.loading || props.readonly ? -1 : undefined,
|
5683
5692
|
"onClick": onClick,
|
5684
5693
|
"value": valueAttr.value
|
5685
|
-
}, {
|
5694
|
+
}, link.linkProps), {
|
5686
5695
|
default: () => [genOverlays(true, 'v-btn'), !props.icon && hasPrepend && vue.createVNode("span", {
|
5687
5696
|
"key": "prepend",
|
5688
5697
|
"class": "v-btn__prepend"
|
@@ -7945,7 +7954,7 @@
|
|
7945
7954
|
const hasPrependMedia = !!(props.prependIcon || props.prependAvatar);
|
7946
7955
|
const hasPrepend = !!(hasPrependMedia || slots.prepend);
|
7947
7956
|
const hasColor = !group || group.isSelected.value;
|
7948
|
-
return isActive.value && vue.withDirectives(vue.createVNode(Tag, {
|
7957
|
+
return isActive.value && vue.withDirectives(vue.createVNode(Tag, vue.mergeProps({
|
7949
7958
|
"class": ['v-chip', {
|
7950
7959
|
'v-chip--disabled': props.disabled,
|
7951
7960
|
'v-chip--label': props.label,
|
@@ -7956,11 +7965,10 @@
|
|
7956
7965
|
"style": [hasColor ? colorStyles.value : undefined, props.style],
|
7957
7966
|
"disabled": props.disabled || undefined,
|
7958
7967
|
"draggable": props.draggable,
|
7959
|
-
"href": link.href.value,
|
7960
7968
|
"tabindex": isClickable.value ? 0 : undefined,
|
7961
7969
|
"onClick": onClick,
|
7962
7970
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
7963
|
-
}, {
|
7971
|
+
}, link.linkProps), {
|
7964
7972
|
default: () => [genOverlays(isClickable.value, 'v-chip'), hasFilter && vue.createVNode(VExpandXTransition, {
|
7965
7973
|
"key": "filter"
|
7966
7974
|
}, {
|
@@ -9005,7 +9013,7 @@
|
|
9005
9013
|
if (props.activeColor) {
|
9006
9014
|
deprecate('active-color', ['color', 'base-color']);
|
9007
9015
|
}
|
9008
|
-
return vue.withDirectives(vue.createVNode(Tag, {
|
9016
|
+
return vue.withDirectives(vue.createVNode(Tag, vue.mergeProps({
|
9009
9017
|
"class": ['v-list-item', {
|
9010
9018
|
'v-list-item--active': isActive.value,
|
9011
9019
|
'v-list-item--disabled': props.disabled,
|
@@ -9016,11 +9024,10 @@
|
|
9016
9024
|
[`${props.activeClass}`]: props.activeClass && isActive.value
|
9017
9025
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
9018
9026
|
"style": [colorStyles.value, dimensionStyles.value, props.style],
|
9019
|
-
"href": link.href.value,
|
9020
9027
|
"tabindex": isClickable.value ? list ? -2 : 0 : undefined,
|
9021
9028
|
"onClick": onClick,
|
9022
9029
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
9023
|
-
}, {
|
9030
|
+
}, link.linkProps), {
|
9024
9031
|
default: () => [genOverlays(isClickable.value || isActive.value, 'v-list-item'), hasPrepend && vue.createVNode("div", {
|
9025
9032
|
"key": "prepend",
|
9026
9033
|
"class": "v-list-item__prepend"
|
@@ -13776,8 +13783,7 @@
|
|
13776
13783
|
useRender(() => {
|
13777
13784
|
const overlayProps = VOverlay.filterProps(props);
|
13778
13785
|
const activatorProps = vue.mergeProps({
|
13779
|
-
'aria-haspopup': 'dialog'
|
13780
|
-
'aria-expanded': String(isActive.value)
|
13786
|
+
'aria-haspopup': 'dialog'
|
13781
13787
|
}, props.activatorProps);
|
13782
13788
|
const contentProps = vue.mergeProps({
|
13783
13789
|
tabindex: -1
|
@@ -13908,12 +13914,10 @@
|
|
13908
13914
|
"style": [textColorStyles.value, props.style],
|
13909
13915
|
"aria-current": isActive.value ? 'page' : undefined
|
13910
13916
|
}, {
|
13911
|
-
default: () => [!link.isLink.value ? slots.default?.() ?? props.title : vue.createVNode("a", {
|
13917
|
+
default: () => [!link.isLink.value ? slots.default?.() ?? props.title : vue.createVNode("a", vue.mergeProps({
|
13912
13918
|
"class": "v-breadcrumbs-item--link",
|
13913
|
-
"href": link.href.value,
|
13914
|
-
"aria-current": isActive.value ? 'page' : undefined,
|
13915
13919
|
"onClick": link.navigate
|
13916
|
-
}, [slots.default?.() ?? props.title])]
|
13920
|
+
}, link.linkProps), [slots.default?.() ?? props.title])]
|
13917
13921
|
});
|
13918
13922
|
});
|
13919
13923
|
return {};
|
@@ -14289,7 +14293,7 @@
|
|
14289
14293
|
const hasImage = !!(slots.image || props.image);
|
14290
14294
|
const hasCardItem = hasHeader || hasPrepend || hasAppend;
|
14291
14295
|
const hasText = !!(slots.text || props.text != null);
|
14292
|
-
return vue.withDirectives(vue.createVNode(Tag, {
|
14296
|
+
return vue.withDirectives(vue.createVNode(Tag, vue.mergeProps({
|
14293
14297
|
"class": ['v-card', {
|
14294
14298
|
'v-card--disabled': props.disabled,
|
14295
14299
|
'v-card--flat': props.flat,
|
@@ -14297,10 +14301,9 @@
|
|
14297
14301
|
'v-card--link': isClickable.value
|
14298
14302
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, loaderClasses.value, positionClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
14299
14303
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, props.style],
|
14300
|
-
"href": link.href.value,
|
14301
14304
|
"onClick": isClickable.value && link.navigate,
|
14302
14305
|
"tabindex": props.disabled ? -1 : undefined
|
14303
|
-
}, {
|
14306
|
+
}, link.linkProps), {
|
14304
14307
|
default: () => [hasImage && vue.createVNode("div", {
|
14305
14308
|
"key": "image",
|
14306
14309
|
"class": "v-card__image"
|
@@ -17666,8 +17669,8 @@
|
|
17666
17669
|
function toISO(adapter, value) {
|
17667
17670
|
const date = adapter.toJsDate(value);
|
17668
17671
|
const year = date.getFullYear();
|
17669
|
-
const month = padStart
|
17670
|
-
const day = padStart
|
17672
|
+
const month = padStart(String(date.getMonth() + 1), 2, '0');
|
17673
|
+
const day = padStart(String(date.getDate()), 2, '0');
|
17671
17674
|
return `${year}-${month}-${day}`;
|
17672
17675
|
}
|
17673
17676
|
function parseISO(value) {
|
@@ -28873,6 +28876,11 @@
|
|
28873
28876
|
}
|
28874
28877
|
});
|
28875
28878
|
|
28879
|
+
function pad(n) {
|
28880
|
+
let length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
28881
|
+
return String(n).padStart(length, '0');
|
28882
|
+
}
|
28883
|
+
|
28876
28884
|
// Types
|
28877
28885
|
|
28878
28886
|
const makeVTimePickerClockProps = propsFactory({
|
@@ -29113,27 +29121,6 @@
|
|
29113
29121
|
}
|
29114
29122
|
});
|
29115
29123
|
|
29116
|
-
// @ts-nocheck
|
29117
|
-
/* eslint-disable */
|
29118
|
-
|
29119
|
-
const padStart = (string, targetLength, padString) => {
|
29120
|
-
targetLength = targetLength >> 0;
|
29121
|
-
string = String(string);
|
29122
|
-
padString = String(padString);
|
29123
|
-
if (string.length > targetLength) {
|
29124
|
-
return String(string);
|
29125
|
-
}
|
29126
|
-
targetLength = targetLength - string.length;
|
29127
|
-
if (targetLength > padString.length) {
|
29128
|
-
padString += padString.repeat(targetLength / padString.length);
|
29129
|
-
}
|
29130
|
-
return padString.slice(0, targetLength) + String(string);
|
29131
|
-
};
|
29132
|
-
var pad = (function (n) {
|
29133
|
-
let length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
29134
|
-
return padStart(n, length, '0');
|
29135
|
-
});
|
29136
|
-
|
29137
29124
|
// @ts-nocheck
|
29138
29125
|
/* eslint-disable */
|
29139
29126
|
var SelectingTimes = /*#__PURE__*/function (SelectingTimes) {
|
@@ -30228,7 +30215,7 @@
|
|
30228
30215
|
const value = isObject(binding.value) ? binding.value : {};
|
30229
30216
|
|
30230
30217
|
// Get the children from the props or directive value, or the element's children
|
30231
|
-
const children = () => text ?? el.
|
30218
|
+
const children = () => text ?? el.textContent;
|
30232
30219
|
|
30233
30220
|
// If vnode.ctx is the same as the instance, then we're bound to a plain element
|
30234
30221
|
// and need to find the nearest parent component instance to inherit provides from
|
@@ -30286,7 +30273,7 @@
|
|
30286
30273
|
const Tooltip = useDirectiveComponent(VTooltip, binding => {
|
30287
30274
|
return {
|
30288
30275
|
activator: 'parent',
|
30289
|
-
location: binding.arg?.replace('-', ' ')
|
30276
|
+
location: binding.arg?.replace('-', ' '),
|
30290
30277
|
text: typeof binding.value === 'boolean' ? undefined : binding.value
|
30291
30278
|
};
|
30292
30279
|
});
|
@@ -30392,7 +30379,7 @@
|
|
30392
30379
|
goTo
|
30393
30380
|
};
|
30394
30381
|
}
|
30395
|
-
const version$1 = "3.7.1-master.2024-09-
|
30382
|
+
const version$1 = "3.7.1-master.2024-09-04";
|
30396
30383
|
createVuetify$1.version = version$1;
|
30397
30384
|
|
30398
30385
|
// Vue's inject() can only be used in setup
|
@@ -30645,7 +30632,7 @@
|
|
30645
30632
|
|
30646
30633
|
/* eslint-disable local-rules/sort-imports */
|
30647
30634
|
|
30648
|
-
const version = "3.7.1-master.2024-09-
|
30635
|
+
const version = "3.7.1-master.2024-09-04";
|
30649
30636
|
|
30650
30637
|
/* eslint-disable local-rules/sort-imports */
|
30651
30638
|
|