@vuetify/nightly 3.9.0-beta.0-dev.2025-06-24 → 3.9.0-beta.1-dev.2025-06-26
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 +3 -87
- package/dist/json/attributes.json +795 -795
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +194 -194
- package/dist/json/web-types.json +1361 -1361
- package/dist/vuetify-labs.cjs +15 -14
- package/dist/vuetify-labs.css +3056 -3056
- package/dist/vuetify-labs.d.ts +65 -65
- package/dist/vuetify-labs.esm.js +15 -14
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +15 -14
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +15 -14
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3279 -3279
- package/dist/vuetify.d.ts +65 -65
- package/dist/vuetify.esm.js +15 -14
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +15 -14
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +12 -12
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewChildren.d.ts +13 -0
- package/lib/components/VTreeview/VTreeviewChildren.js +2 -1
- package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewItem.js +3 -3
- package/lib/components/VTreeview/VTreeviewItem.js.map +1 -1
- package/lib/composables/nested/nested.js +8 -8
- package/lib/composables/nested/nested.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +65 -65
- package/lib/framework.js +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.9.0-beta.
|
2
|
+
* Vuetify v3.9.0-beta.1-dev.2025-06-26
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -9021,9 +9021,9 @@
|
|
9021
9021
|
}, 'nested');
|
9022
9022
|
const useNested = props => {
|
9023
9023
|
let isUnmounted = false;
|
9024
|
-
const children = vue.
|
9025
|
-
const parents = vue.
|
9026
|
-
const opened = useProxiedModel(props, 'opened', props.opened, v => new Set(v), v => [...v.values()]);
|
9024
|
+
const children = vue.shallowRef(new Map());
|
9025
|
+
const parents = vue.shallowRef(new Map());
|
9026
|
+
const opened = useProxiedModel(props, 'opened', props.opened, v => new Set(Array.isArray(v) ? v.map(i => vue.toRaw(i)) : v), v => [...v.values()]);
|
9027
9027
|
const activeStrategy = vue.computed(() => {
|
9028
9028
|
if (typeof props.activeStrategy === 'object') return props.activeStrategy;
|
9029
9029
|
if (typeof props.activeStrategy === 'function') return props.activeStrategy(props.mandatory);
|
@@ -9077,7 +9077,7 @@
|
|
9077
9077
|
});
|
9078
9078
|
function getPath(id) {
|
9079
9079
|
const path = [];
|
9080
|
-
let parent = id;
|
9080
|
+
let parent = vue.toRaw(id);
|
9081
9081
|
while (parent != null) {
|
9082
9082
|
path.unshift(parent);
|
9083
9083
|
parent = parents.value.get(parent);
|
@@ -9220,7 +9220,7 @@
|
|
9220
9220
|
const useNestedItem = (id, isGroup) => {
|
9221
9221
|
const parent = vue.inject(VNestedSymbol, emptyNested);
|
9222
9222
|
const uidSymbol = Symbol('nested item');
|
9223
|
-
const computedId = vue.computed(() => vue.toValue(id) ?? uidSymbol);
|
9223
|
+
const computedId = vue.computed(() => vue.toRaw(vue.toValue(id)) ?? uidSymbol);
|
9224
9224
|
const item = {
|
9225
9225
|
...parent,
|
9226
9226
|
id: computedId,
|
@@ -9229,10 +9229,10 @@
|
|
9229
9229
|
isOpen: vue.computed(() => parent.root.opened.value.has(computedId.value)),
|
9230
9230
|
parent: vue.computed(() => parent.root.parents.value.get(computedId.value)),
|
9231
9231
|
activate: (activated, e) => parent.root.activate(computedId.value, activated, e),
|
9232
|
-
isActivated: vue.computed(() => parent.root.activated.value.has(
|
9232
|
+
isActivated: vue.computed(() => parent.root.activated.value.has(computedId.value)),
|
9233
9233
|
select: (selected, e) => parent.root.select(computedId.value, selected, e),
|
9234
|
-
isSelected: vue.computed(() => parent.root.selected.value.get(
|
9235
|
-
isIndeterminate: vue.computed(() => parent.root.selected.value.get(
|
9234
|
+
isSelected: vue.computed(() => parent.root.selected.value.get(computedId.value) === 'on'),
|
9235
|
+
isIndeterminate: vue.computed(() => parent.root.selected.value.get(computedId.value) === 'indeterminate'),
|
9236
9236
|
isLeaf: vue.computed(() => !parent.root.children.value.get(computedId.value)),
|
9237
9237
|
isGroupActivator: parent.isGroupActivator
|
9238
9238
|
};
|
@@ -29766,7 +29766,7 @@
|
|
29766
29766
|
emit('toggleExpand', e);
|
29767
29767
|
}
|
29768
29768
|
useRender(() => {
|
29769
|
-
const listItemProps =
|
29769
|
+
const listItemProps = VListItem.filterProps(props);
|
29770
29770
|
const hasPrepend = slots.prepend || props.toggleIcon;
|
29771
29771
|
return vue.createVNode(VListItem, vue.mergeProps({
|
29772
29772
|
"ref": vListItemRef
|
@@ -29777,7 +29777,7 @@
|
|
29777
29777
|
'v-treeview-item--filtered': isFiltered.value
|
29778
29778
|
}, props.class],
|
29779
29779
|
"ripple": false,
|
29780
|
-
"onClick":
|
29780
|
+
"onClick": activateGroupActivator
|
29781
29781
|
}), {
|
29782
29782
|
...slots,
|
29783
29783
|
prepend: hasPrepend ? slotProps => {
|
@@ -29828,6 +29828,7 @@
|
|
29828
29828
|
falseIcon: IconValue,
|
29829
29829
|
trueIcon: IconValue,
|
29830
29830
|
returnObject: Boolean,
|
29831
|
+
activatable: Boolean,
|
29831
29832
|
selectable: Boolean,
|
29832
29833
|
selectedColor: String,
|
29833
29834
|
selectStrategy: [String, Function, Object],
|
@@ -29847,7 +29848,7 @@
|
|
29847
29848
|
} = _ref;
|
29848
29849
|
const isLoading = vue.reactive(new Set());
|
29849
29850
|
const activatorItems = vue.ref([]);
|
29850
|
-
const isClickOnOpen = vue.computed(() => !props.disabled && (props.openOnClick != null ? props.openOnClick : props.selectable));
|
29851
|
+
const isClickOnOpen = vue.computed(() => !props.disabled && (props.openOnClick != null ? props.openOnClick : props.selectable && !props.activatable));
|
29851
29852
|
async function checkChildren(item) {
|
29852
29853
|
try {
|
29853
29854
|
if (!props.items?.length || !props.loadChildren) return;
|
@@ -32792,7 +32793,7 @@
|
|
32792
32793
|
};
|
32793
32794
|
});
|
32794
32795
|
}
|
32795
|
-
const version$1 = "3.9.0-beta.
|
32796
|
+
const version$1 = "3.9.0-beta.1-dev.2025-06-26";
|
32796
32797
|
createVuetify$1.version = version$1;
|
32797
32798
|
|
32798
32799
|
// Vue's inject() can only be used in setup
|
@@ -33090,7 +33091,7 @@
|
|
33090
33091
|
|
33091
33092
|
/* eslint-disable local-rules/sort-imports */
|
33092
33093
|
|
33093
|
-
const version = "3.9.0-beta.
|
33094
|
+
const version = "3.9.0-beta.1-dev.2025-06-26";
|
33094
33095
|
|
33095
33096
|
/* eslint-disable local-rules/sort-imports */
|
33096
33097
|
|