@vuetify/nightly 3.7.12-master.2025-02-18 → 3.7.12-master.2025-02-19
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 +12 -3
- package/dist/json/attributes.json +2555 -2555
- package/dist/json/importMap-labs.json +38 -38
- package/dist/json/importMap.json +152 -152
- package/dist/json/web-types.json +4785 -4785
- package/dist/vuetify-labs.css +4769 -4769
- package/dist/vuetify-labs.d.ts +17 -8
- package/dist/vuetify-labs.esm.js +23 -30
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +23 -30
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +5007 -5007
- package/dist/vuetify.d.ts +74 -65
- package/dist/vuetify.esm.js +14 -20
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +14 -20
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1056 -1057
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VInput/VInput.mjs +2 -2
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VList/VList.mjs +1 -1
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +2 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +13 -1
- package/lib/components/VOtpInput/VOtpInput.mjs +2 -2
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VStepper/VStepper.mjs +2 -2
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.mjs +2 -2
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/index.d.mts +17 -8
- package/lib/composables/list-items.mjs +2 -3
- package/lib/composables/list-items.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +57 -57
- package/lib/labs/VFileUpload/VFileUpload.mjs +2 -2
- package/lib/labs/VFileUpload/VFileUpload.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +9 -11
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/util/helpers.mjs +3 -9
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.12-master.2025-02-
|
2
|
+
* Vuetify v3.7.12-master.2025-02-19
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -230,10 +230,9 @@
|
|
230
230
|
// Array of keys
|
231
231
|
function pick(obj, paths) {
|
232
232
|
const found = {};
|
233
|
-
const
|
234
|
-
|
235
|
-
|
236
|
-
found[path] = obj[path];
|
233
|
+
for (const key of paths) {
|
234
|
+
if (Object.hasOwn(obj, key)) {
|
235
|
+
found[key] = obj[key];
|
237
236
|
}
|
238
237
|
}
|
239
238
|
return found;
|
@@ -262,11 +261,6 @@
|
|
262
261
|
exclude.forEach(prop => delete clone[prop]);
|
263
262
|
return clone;
|
264
263
|
}
|
265
|
-
function only(obj, include) {
|
266
|
-
const clone = {};
|
267
|
-
include.forEach(prop => clone[prop] = obj[prop]);
|
268
|
-
return clone;
|
269
|
-
}
|
270
264
|
const onRE = /^on[^a-z]/;
|
271
265
|
const isOn = key => onRE.test(key);
|
272
266
|
const bubblingEvents = ['onAfterscriptexecute', 'onAnimationcancel', 'onAnimationend', 'onAnimationiteration', 'onAnimationstart', 'onAuxclick', 'onBeforeinput', 'onBeforescriptexecute', 'onChange', 'onClick', 'onCompositionend', 'onCompositionstart', 'onCompositionupdate', 'onContextmenu', 'onCopy', 'onCut', 'onDblclick', 'onFocusin', 'onFocusout', 'onFullscreenchange', 'onFullscreenerror', 'onGesturechange', 'onGestureend', 'onGesturestart', 'onGotpointercapture', 'onInput', 'onKeydown', 'onKeypress', 'onKeyup', 'onLostpointercapture', 'onMousedown', 'onMousemove', 'onMouseout', 'onMouseover', 'onMouseup', 'onMousewheel', 'onPaste', 'onPointercancel', 'onPointerdown', 'onPointerenter', 'onPointerleave', 'onPointermove', 'onPointerout', 'onPointerover', 'onPointerup', 'onReset', 'onSelect', 'onSubmit', 'onTouchcancel', 'onTouchend', 'onTouchmove', 'onTouchstart', 'onTransitioncancel', 'onTransitionend', 'onTransitionrun', 'onTransitionstart', 'onWheel'];
|
@@ -6897,7 +6891,7 @@
|
|
6897
6891
|
'onClick:append': EventProp(),
|
6898
6892
|
...makeComponentProps(),
|
6899
6893
|
...makeDensityProps(),
|
6900
|
-
...
|
6894
|
+
...pick(makeDimensionProps(), ['maxWidth', 'minWidth', 'width']),
|
6901
6895
|
...makeThemeProps(),
|
6902
6896
|
...makeValidationProps()
|
6903
6897
|
}, 'VInput');
|
@@ -9187,7 +9181,8 @@
|
|
9187
9181
|
list,
|
9188
9182
|
select,
|
9189
9183
|
root,
|
9190
|
-
id: uid
|
9184
|
+
id: uid,
|
9185
|
+
link
|
9191
9186
|
};
|
9192
9187
|
}
|
9193
9188
|
});
|
@@ -9455,7 +9450,6 @@
|
|
9455
9450
|
function transformIn(value) {
|
9456
9451
|
// Cache unrefed values outside the loop,
|
9457
9452
|
// proxy getters can be slow when you call them a billion times
|
9458
|
-
const _value = vue.toRaw(value);
|
9459
9453
|
const _items = itemsMap.value;
|
9460
9454
|
const _allItems = items.value;
|
9461
9455
|
const _keylessItems = keylessItems.value;
|
@@ -9465,7 +9459,7 @@
|
|
9465
9459
|
const valueComparator = props.valueComparator || deepEqual;
|
9466
9460
|
const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'returnObject', 'valueComparator']);
|
9467
9461
|
const returnValue = [];
|
9468
|
-
main: for (const v of
|
9462
|
+
main: for (const v of value) {
|
9469
9463
|
// When the model value is null, return an InternalItem
|
9470
9464
|
// based on null only if null is one of the items
|
9471
9465
|
if (!_hasNullItem && v === null) continue;
|
@@ -9711,7 +9705,7 @@
|
|
9711
9705
|
'v-list--slim': props.slim
|
9712
9706
|
}, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, props.class],
|
9713
9707
|
"style": [backgroundColorStyles.value, dimensionStyles.value, props.style],
|
9714
|
-
"tabindex": props.disabled
|
9708
|
+
"tabindex": props.disabled ? -1 : 0,
|
9715
9709
|
"role": "listbox",
|
9716
9710
|
"aria-activedescendant": undefined,
|
9717
9711
|
"onFocusin": onFocusin,
|
@@ -24442,7 +24436,7 @@
|
|
24442
24436
|
},
|
24443
24437
|
...makeDimensionProps(),
|
24444
24438
|
...makeFocusProps(),
|
24445
|
-
...
|
24439
|
+
...pick(makeVFieldProps({
|
24446
24440
|
variant: 'outlined'
|
24447
24441
|
}), ['baseColor', 'bgColor', 'class', 'color', 'disabled', 'error', 'loading', 'rounded', 'style', 'theme', 'variant'])
|
24448
24442
|
}, 'VOtpInput');
|
@@ -26430,7 +26424,7 @@
|
|
26430
26424
|
selectedClass: 'v-stepper-item--selected'
|
26431
26425
|
}),
|
26432
26426
|
...makeVSheetProps(),
|
26433
|
-
...
|
26427
|
+
...pick(makeVStepperActionsProps(), ['prevText', 'nextText'])
|
26434
26428
|
}, 'VStepper');
|
26435
26429
|
const VStepper = genericComponent()({
|
26436
26430
|
name: 'VStepper',
|
@@ -27512,7 +27506,7 @@
|
|
27512
27506
|
type: String,
|
27513
27507
|
validator: v => ['start', 'end', 'both'].includes(v)
|
27514
27508
|
},
|
27515
|
-
...
|
27509
|
+
...pick(makeVTimelineItemProps({
|
27516
27510
|
lineInset: 0
|
27517
27511
|
}), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
|
27518
27512
|
...makeComponentProps(),
|
@@ -28472,7 +28466,7 @@
|
|
28472
28466
|
name: String,
|
28473
28467
|
...makeDelayProps(),
|
28474
28468
|
...makeDensityProps(),
|
28475
|
-
...
|
28469
|
+
...pick(makeVDividerProps({
|
28476
28470
|
length: 150
|
28477
28471
|
}), ['length', 'thickness', 'opacity']),
|
28478
28472
|
...makeVSheetProps()
|
@@ -30143,22 +30137,21 @@
|
|
30143
30137
|
props: makeVTreeviewItemProps(),
|
30144
30138
|
setup(props, _ref) {
|
30145
30139
|
let {
|
30146
|
-
|
30147
|
-
slots,
|
30148
|
-
emit
|
30140
|
+
slots
|
30149
30141
|
} = _ref;
|
30150
|
-
const
|
30142
|
+
const visibleIds = vue.inject(VTreeviewSymbol, {
|
30143
|
+
visibleIds: vue.ref()
|
30144
|
+
}).visibleIds;
|
30151
30145
|
const vListItemRef = vue.ref();
|
30152
30146
|
const isActivatableGroupActivator = vue.computed(() => vListItemRef.value?.root.activatable.value && vListItemRef.value?.isGroupActivator);
|
30153
|
-
const
|
30147
|
+
const vListItemRefIsClickable = vue.computed(() => vListItemRef.value?.link.isClickable.value || props.value != null && !!vListItemRef.value?.list);
|
30148
|
+
const isClickable = vue.computed(() => !props.disabled && props.link !== false && (props.link || vListItemRefIsClickable.value || isActivatableGroupActivator.value));
|
30149
|
+
const isFiltered = vue.computed(() => visibleIds.value && !visibleIds.value.has(vue.toRaw(vListItemRef.value?.id)));
|
30154
30150
|
function activateGroupActivator(e) {
|
30155
30151
|
if (isClickable.value && isActivatableGroupActivator.value) {
|
30156
30152
|
vListItemRef.value?.activate(!vListItemRef.value?.isActivated, e);
|
30157
30153
|
}
|
30158
30154
|
}
|
30159
|
-
const visibleIds = vue.inject(VTreeviewSymbol, {
|
30160
|
-
visibleIds: vue.ref()
|
30161
|
-
}).visibleIds;
|
30162
30155
|
useRender(() => {
|
30163
30156
|
const listItemProps = omit(VListItem.filterProps(props), ['onClick']);
|
30164
30157
|
const hasPrepend = slots.prepend || props.toggleIcon;
|
@@ -30168,7 +30161,7 @@
|
|
30168
30161
|
"active": vListItemRef.value?.isActivated,
|
30169
30162
|
"class": ['v-treeview-item', {
|
30170
30163
|
'v-treeview-item--activatable-group-activator': isActivatableGroupActivator.value,
|
30171
|
-
'v-treeview-item--filtered':
|
30164
|
+
'v-treeview-item--filtered': isFiltered.value
|
30172
30165
|
}, props.class],
|
30173
30166
|
"ripple": false,
|
30174
30167
|
"onClick": props.onClick ?? activateGroupActivator
|
@@ -30970,7 +30963,7 @@
|
|
30970
30963
|
goTo
|
30971
30964
|
};
|
30972
30965
|
}
|
30973
|
-
const version$1 = "3.7.12-master.2025-02-
|
30966
|
+
const version$1 = "3.7.12-master.2025-02-19";
|
30974
30967
|
createVuetify$1.version = version$1;
|
30975
30968
|
|
30976
30969
|
// Vue's inject() can only be used in setup
|
@@ -31223,7 +31216,7 @@
|
|
31223
31216
|
|
31224
31217
|
/* eslint-disable local-rules/sort-imports */
|
31225
31218
|
|
31226
|
-
const version = "3.7.12-master.2025-02-
|
31219
|
+
const version = "3.7.12-master.2025-02-19";
|
31227
31220
|
|
31228
31221
|
/* eslint-disable local-rules/sort-imports */
|
31229
31222
|
|