@vuetify/nightly 3.1.7-dev-20230224.0 → 3.1.7
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 +6 -4
- package/dist/json/attributes.json +561 -33
- package/dist/json/importMap.json +52 -52
- package/dist/json/tags.json +136 -2
- package/dist/json/web-types.json +2160 -86
- package/dist/vuetify-labs.css +235 -231
- package/dist/vuetify-labs.d.ts +3453 -145
- package/dist/vuetify-labs.esm.js +56 -16
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +56 -16
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +5 -1
- package/dist/vuetify.d.ts +1931 -81
- package/dist/vuetify.esm.js +38 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +38 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +12 -9
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/index.d.ts +22 -0
- package/lib/components/VApp/index.d.ts +6 -0
- package/lib/components/VAppBar/index.d.ts +36 -0
- package/lib/components/VAutocomplete/index.d.ts +117 -6
- package/lib/components/VAvatar/index.d.ts +6 -0
- package/lib/components/VBadge/index.d.ts +8 -0
- package/lib/components/VBanner/index.d.ts +24 -0
- package/lib/components/VBottomNavigation/index.d.ts +6 -0
- package/lib/components/VBreadcrumbs/index.d.ts +28 -4
- package/lib/components/VBtn/index.d.ts +12 -0
- package/lib/components/VBtnGroup/index.d.ts +6 -0
- package/lib/components/VBtnToggle/index.d.ts +6 -0
- package/lib/components/VCard/index.d.ts +60 -0
- package/lib/components/VCarousel/index.d.ts +60 -0
- package/lib/components/VCheckbox/index.d.ts +38 -0
- package/lib/components/VChip/index.d.ts +12 -0
- package/lib/components/VChipGroup/index.d.ts +6 -0
- package/lib/components/VCode/index.d.ts +6 -0
- package/lib/components/VCombobox/index.d.ts +117 -6
- package/lib/components/VCounter/index.d.ts +24 -0
- package/lib/components/VDefaultsProvider/index.d.ts +6 -0
- package/lib/components/VDialog/index.d.ts +64 -1
- package/lib/components/VDivider/index.d.ts +6 -0
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.ts +49 -12
- package/lib/components/VField/index.d.ts +20 -6
- package/lib/components/VFileInput/index.d.ts +43 -1
- package/lib/components/VFooter/index.d.ts +6 -0
- package/lib/components/VForm/index.d.ts +6 -0
- package/lib/components/VGrid/index.d.ts +24 -0
- package/lib/components/VHover/index.d.ts +12 -0
- package/lib/components/VIcon/index.d.ts +12 -0
- package/lib/components/VImg/index.d.ts +12 -0
- package/lib/components/VInput/index.d.ts +12 -0
- package/lib/components/VItemGroup/index.d.ts +12 -0
- package/lib/components/VKbd/index.d.ts +6 -0
- package/lib/components/VLabel/index.d.ts +6 -0
- package/lib/components/VLayout/index.d.ts +12 -0
- package/lib/components/VLazy/index.d.ts +6 -0
- package/lib/components/VList/index.d.ts +77 -6
- package/lib/components/VLocaleProvider/index.d.ts +6 -0
- package/lib/components/VMain/index.d.ts +6 -0
- package/lib/components/VMenu/index.d.ts +64 -1
- package/lib/components/VMessages/index.d.ts +24 -0
- package/lib/components/VNavigationDrawer/index.d.ts +12 -0
- package/lib/components/VNoSsr/index.d.ts +6 -0
- package/lib/components/VOverlay/index.d.ts +18 -0
- package/lib/components/VPagination/index.d.ts +14 -0
- package/lib/components/VParallax/index.d.ts +12 -0
- package/lib/components/VProgressCircular/index.d.ts +6 -0
- package/lib/components/VProgressLinear/index.d.ts +12 -0
- package/lib/components/VRadio/index.d.ts +16 -0
- package/lib/components/VRadioGroup/index.d.ts +22 -0
- package/lib/components/VRangeSlider/index.d.ts +16 -0
- package/lib/components/VRating/VRating.css +4 -0
- package/lib/components/VRating/VRating.mjs +35 -6
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VRating/VRating.sass +5 -0
- package/lib/components/VRating/index.d.ts +8 -1
- package/lib/components/VResponsive/index.d.ts +8 -0
- package/lib/components/VSelect/index.d.ts +183 -6
- package/lib/components/VSelectionControl/index.d.ts +14 -6
- package/lib/components/VSelectionControlGroup/index.d.ts +6 -0
- package/lib/components/VSheet/index.d.ts +6 -0
- package/lib/components/VSlideGroup/index.d.ts +26 -0
- package/lib/components/VSlider/index.d.ts +16 -0
- package/lib/components/VSnackbar/index.d.ts +44 -1
- package/lib/components/VSwitch/index.d.ts +22 -0
- package/lib/components/VSystemBar/index.d.ts +6 -0
- package/lib/components/VTable/index.d.ts +12 -0
- package/lib/components/VTabs/index.d.ts +12 -0
- package/lib/components/VTextField/index.d.ts +54 -6
- package/lib/components/VTextarea/index.d.ts +39 -1
- package/lib/components/VThemeProvider/index.d.ts +6 -0
- package/lib/components/VTimeline/index.d.ts +16 -0
- package/lib/components/VToolbar/index.d.ts +30 -0
- package/lib/components/VTooltip/index.d.ts +46 -1
- package/lib/components/VValidation/index.d.ts +6 -0
- package/lib/components/VWindow/index.d.ts +34 -0
- package/lib/components/index.d.ts +1916 -66
- package/lib/components/transitions/index.d.ts +96 -0
- 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.ts +15 -15
- package/lib/labs/VDataTable/VDataTableRows.mjs +4 -6
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +1503 -48
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +15 -2
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/index.d.ts +9 -6
- package/lib/labs/components.d.ts +1512 -54
- package/lib/util/defineComponent.mjs.map +1 -1
- package/package.json +2 -1
package/dist/vuetify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.1.7
|
|
2
|
+
* Vuetify v3.1.7
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -16236,6 +16236,9 @@
|
|
|
16236
16236
|
const range = vue.computed(() => createRange(Number(props.length), 1));
|
|
16237
16237
|
const increments = vue.computed(() => range.value.flatMap(v => props.halfIncrements ? [v - 0.5, v] : [v]));
|
|
16238
16238
|
const hoverIndex = vue.ref(-1);
|
|
16239
|
+
const focusIndex = vue.ref(-1);
|
|
16240
|
+
const firstRef = vue.ref();
|
|
16241
|
+
let isClicking = false;
|
|
16239
16242
|
const itemState = vue.computed(() => increments.value.map(value => {
|
|
16240
16243
|
const isHovering = props.hover && hoverIndex.value > -1;
|
|
16241
16244
|
const isFilled = normalizedValue.value >= value;
|
|
@@ -16258,6 +16261,16 @@
|
|
|
16258
16261
|
function onMouseleave() {
|
|
16259
16262
|
hoverIndex.value = -1;
|
|
16260
16263
|
}
|
|
16264
|
+
function onFocus() {
|
|
16265
|
+
if (value === 0 && normalizedValue.value === 0) {
|
|
16266
|
+
firstRef.value?.focus();
|
|
16267
|
+
} else {
|
|
16268
|
+
focusIndex.value = value;
|
|
16269
|
+
}
|
|
16270
|
+
}
|
|
16271
|
+
function onBlur() {
|
|
16272
|
+
if (!isClicking) focusIndex.value = -1;
|
|
16273
|
+
}
|
|
16261
16274
|
function onClick() {
|
|
16262
16275
|
if (props.disabled || props.readonly) return;
|
|
16263
16276
|
rating.value = normalizedValue.value === value && props.clearable ? 0 : value;
|
|
@@ -16265,9 +16278,17 @@
|
|
|
16265
16278
|
return {
|
|
16266
16279
|
onMouseenter: props.hover ? onMouseenter : undefined,
|
|
16267
16280
|
onMouseleave: props.hover ? onMouseleave : undefined,
|
|
16281
|
+
onFocus,
|
|
16282
|
+
onBlur,
|
|
16268
16283
|
onClick
|
|
16269
16284
|
};
|
|
16270
16285
|
}));
|
|
16286
|
+
function onMousedown() {
|
|
16287
|
+
isClicking = true;
|
|
16288
|
+
}
|
|
16289
|
+
function onMouseup() {
|
|
16290
|
+
isClicking = false;
|
|
16291
|
+
}
|
|
16271
16292
|
const name = vue.computed(() => props.name ?? `v-rating-${getUid()}`);
|
|
16272
16293
|
function VRatingItem(_ref2) {
|
|
16273
16294
|
let {
|
|
@@ -16278,6 +16299,8 @@
|
|
|
16278
16299
|
const {
|
|
16279
16300
|
onMouseenter,
|
|
16280
16301
|
onMouseleave,
|
|
16302
|
+
onFocus,
|
|
16303
|
+
onBlur,
|
|
16281
16304
|
onClick
|
|
16282
16305
|
} = eventState.value[index + 1];
|
|
16283
16306
|
const id = `${name.value}-${String(value).replace('.', '-')}`;
|
|
@@ -16288,6 +16311,7 @@
|
|
|
16288
16311
|
icon: itemState.value[index]?.icon,
|
|
16289
16312
|
ripple: props.ripple,
|
|
16290
16313
|
size: props.size,
|
|
16314
|
+
tag: 'span',
|
|
16291
16315
|
variant: 'plain'
|
|
16292
16316
|
};
|
|
16293
16317
|
return vue.createVNode(vue.Fragment, null, [vue.createVNode("label", {
|
|
@@ -16296,17 +16320,17 @@
|
|
|
16296
16320
|
'v-rating__item--half': props.halfIncrements && value % 1 > 0,
|
|
16297
16321
|
'v-rating__item--full': props.halfIncrements && value % 1 === 0
|
|
16298
16322
|
},
|
|
16323
|
+
"onMousedown": onMousedown,
|
|
16324
|
+
"onMouseup": onMouseup,
|
|
16299
16325
|
"onMouseenter": onMouseenter,
|
|
16300
|
-
"onMouseleave": onMouseleave
|
|
16301
|
-
"onClick": onClick
|
|
16326
|
+
"onMouseleave": onMouseleave
|
|
16302
16327
|
}, [vue.createVNode("span", {
|
|
16303
16328
|
"class": "v-rating__hidden"
|
|
16304
16329
|
}, [t(props.itemAriaLabel, value, props.length)]), !showStar ? undefined : slots.item ? slots.item({
|
|
16305
16330
|
...itemState.value[index],
|
|
16306
16331
|
props: btnProps,
|
|
16307
16332
|
value,
|
|
16308
|
-
index
|
|
16309
|
-
rating: normalizedValue.value
|
|
16333
|
+
index
|
|
16310
16334
|
}) : vue.createVNode(VBtn, btnProps, null)]), vue.createVNode("input", {
|
|
16311
16335
|
"class": "v-rating__hidden",
|
|
16312
16336
|
"name": name.value,
|
|
@@ -16314,7 +16338,10 @@
|
|
|
16314
16338
|
"type": "radio",
|
|
16315
16339
|
"value": value,
|
|
16316
16340
|
"checked": normalizedValue.value === value,
|
|
16317
|
-
"
|
|
16341
|
+
"onClick": onClick,
|
|
16342
|
+
"onFocus": onFocus,
|
|
16343
|
+
"onBlur": onBlur,
|
|
16344
|
+
"ref": index === 0 ? firstRef : undefined,
|
|
16318
16345
|
"readonly": props.readonly,
|
|
16319
16346
|
"disabled": props.disabled
|
|
16320
16347
|
}, null)]);
|
|
@@ -16343,7 +16370,9 @@
|
|
|
16343
16370
|
index: i,
|
|
16344
16371
|
label: props.itemLabels?.[i]
|
|
16345
16372
|
}) : undefined, vue.createVNode("div", {
|
|
16346
|
-
"class":
|
|
16373
|
+
"class": ['v-rating__item', {
|
|
16374
|
+
'v-rating__item--focused': Math.ceil(focusIndex.value) === value
|
|
16375
|
+
}]
|
|
16347
16376
|
}, [props.halfIncrements ? vue.createVNode(vue.Fragment, null, [vue.createVNode(VRatingItem, {
|
|
16348
16377
|
"value": value - 0.5,
|
|
16349
16378
|
"index": i * 2
|
|
@@ -18193,7 +18222,7 @@
|
|
|
18193
18222
|
locale
|
|
18194
18223
|
};
|
|
18195
18224
|
}
|
|
18196
|
-
const version$1 = "3.1.7
|
|
18225
|
+
const version$1 = "3.1.7";
|
|
18197
18226
|
createVuetify$1.version = version$1;
|
|
18198
18227
|
|
|
18199
18228
|
// Vue's inject() can only be used in setup
|
|
@@ -18213,7 +18242,7 @@
|
|
|
18213
18242
|
...options
|
|
18214
18243
|
});
|
|
18215
18244
|
};
|
|
18216
|
-
const version = "3.1.7
|
|
18245
|
+
const version = "3.1.7";
|
|
18217
18246
|
createVuetify.version = version;
|
|
18218
18247
|
|
|
18219
18248
|
exports.components = components;
|