@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/dist/vuetify.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.9.0-beta.0-dev.2025-06-24
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
  */
@@ -9299,9 +9299,9 @@
9299
9299
  }, 'nested');
9300
9300
  const useNested = props => {
9301
9301
  let isUnmounted = false;
9302
- const children = vue.ref(new Map());
9303
- const parents = vue.ref(new Map());
9304
- const opened = useProxiedModel(props, 'opened', props.opened, v => new Set(v), v => [...v.values()]);
9302
+ const children = vue.shallowRef(new Map());
9303
+ const parents = vue.shallowRef(new Map());
9304
+ const opened = useProxiedModel(props, 'opened', props.opened, v => new Set(Array.isArray(v) ? v.map(i => vue.toRaw(i)) : v), v => [...v.values()]);
9305
9305
  const activeStrategy = vue.computed(() => {
9306
9306
  if (typeof props.activeStrategy === 'object') return props.activeStrategy;
9307
9307
  if (typeof props.activeStrategy === 'function') return props.activeStrategy(props.mandatory);
@@ -9355,7 +9355,7 @@
9355
9355
  });
9356
9356
  function getPath(id) {
9357
9357
  const path = [];
9358
- let parent = id;
9358
+ let parent = vue.toRaw(id);
9359
9359
  while (parent != null) {
9360
9360
  path.unshift(parent);
9361
9361
  parent = parents.value.get(parent);
@@ -9498,7 +9498,7 @@
9498
9498
  const useNestedItem = (id, isGroup) => {
9499
9499
  const parent = vue.inject(VNestedSymbol, emptyNested);
9500
9500
  const uidSymbol = Symbol('nested item');
9501
- const computedId = vue.computed(() => vue.toValue(id) ?? uidSymbol);
9501
+ const computedId = vue.computed(() => vue.toRaw(vue.toValue(id)) ?? uidSymbol);
9502
9502
  const item = {
9503
9503
  ...parent,
9504
9504
  id: computedId,
@@ -9507,10 +9507,10 @@
9507
9507
  isOpen: vue.computed(() => parent.root.opened.value.has(computedId.value)),
9508
9508
  parent: vue.computed(() => parent.root.parents.value.get(computedId.value)),
9509
9509
  activate: (activated, e) => parent.root.activate(computedId.value, activated, e),
9510
- isActivated: vue.computed(() => parent.root.activated.value.has(vue.toRaw(computedId.value))),
9510
+ isActivated: vue.computed(() => parent.root.activated.value.has(computedId.value)),
9511
9511
  select: (selected, e) => parent.root.select(computedId.value, selected, e),
9512
- isSelected: vue.computed(() => parent.root.selected.value.get(vue.toRaw(computedId.value)) === 'on'),
9513
- isIndeterminate: vue.computed(() => parent.root.selected.value.get(vue.toRaw(computedId.value)) === 'indeterminate'),
9512
+ isSelected: vue.computed(() => parent.root.selected.value.get(computedId.value) === 'on'),
9513
+ isIndeterminate: vue.computed(() => parent.root.selected.value.get(computedId.value) === 'indeterminate'),
9514
9514
  isLeaf: vue.computed(() => !parent.root.children.value.get(computedId.value)),
9515
9515
  isGroupActivator: parent.isGroupActivator
9516
9516
  };
@@ -30044,7 +30044,7 @@
30044
30044
  emit('toggleExpand', e);
30045
30045
  }
30046
30046
  useRender(() => {
30047
- const listItemProps = omit(VListItem.filterProps(props), ['onClick']);
30047
+ const listItemProps = VListItem.filterProps(props);
30048
30048
  const hasPrepend = slots.prepend || props.toggleIcon;
30049
30049
  return vue.createVNode(VListItem, vue.mergeProps({
30050
30050
  "ref": vListItemRef
@@ -30055,7 +30055,7 @@
30055
30055
  'v-treeview-item--filtered': isFiltered.value
30056
30056
  }, props.class],
30057
30057
  "ripple": false,
30058
- "onClick": props.onClick ?? activateGroupActivator
30058
+ "onClick": activateGroupActivator
30059
30059
  }), {
30060
30060
  ...slots,
30061
30061
  prepend: hasPrepend ? slotProps => {
@@ -30106,6 +30106,7 @@
30106
30106
  falseIcon: IconValue,
30107
30107
  trueIcon: IconValue,
30108
30108
  returnObject: Boolean,
30109
+ activatable: Boolean,
30109
30110
  selectable: Boolean,
30110
30111
  selectedColor: String,
30111
30112
  selectStrategy: [String, Function, Object],
@@ -30125,7 +30126,7 @@
30125
30126
  } = _ref;
30126
30127
  const isLoading = vue.reactive(new Set());
30127
30128
  const activatorItems = vue.ref([]);
30128
- const isClickOnOpen = vue.computed(() => !props.disabled && (props.openOnClick != null ? props.openOnClick : props.selectable));
30129
+ const isClickOnOpen = vue.computed(() => !props.disabled && (props.openOnClick != null ? props.openOnClick : props.selectable && !props.activatable));
30129
30130
  async function checkChildren(item) {
30130
30131
  try {
30131
30132
  if (!props.items?.length || !props.loadChildren) return;
@@ -30896,7 +30897,7 @@
30896
30897
  };
30897
30898
  });
30898
30899
  }
30899
- const version$1 = "3.9.0-beta.0-dev.2025-06-24";
30900
+ const version$1 = "3.9.0-beta.1-dev.2025-06-26";
30900
30901
  createVuetify$1.version = version$1;
30901
30902
 
30902
30903
  // Vue's inject() can only be used in setup
@@ -30921,7 +30922,7 @@
30921
30922
  ...options
30922
30923
  });
30923
30924
  };
30924
- const version = "3.9.0-beta.0-dev.2025-06-24";
30925
+ const version = "3.9.0-beta.1-dev.2025-06-26";
30925
30926
  createVuetify.version = version;
30926
30927
 
30927
30928
  exports.blueprints = index;