@vuetify/nightly 3.9.1-dev.2025-07-17 → 3.9.2-dev.2025-07-18

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.1-dev.2025-07-17
2
+ * Vuetify v3.9.2-dev.2025-07-18
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -30787,51 +30787,48 @@
30787
30787
  parentIndentLines: props.parentIndentLines,
30788
30788
  variant: props.indentLinesVariant
30789
30789
  });
30790
- function renderItem(itemProps) {
30791
- return vue.createVNode(VTreeviewItem, itemProps, {
30792
- prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30793
- "key": item.value,
30794
- "modelValue": slotProps.isSelected,
30795
- "disabled": props.disabled,
30796
- "loading": loading,
30797
- "color": props.selectedColor,
30798
- "density": props.density,
30799
- "indeterminate": slotProps.isIndeterminate,
30800
- "indeterminateIcon": props.indeterminateIcon,
30801
- "falseIcon": props.falseIcon,
30802
- "trueIcon": props.trueIcon,
30803
- "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30804
- "onClick": e => e.stopPropagation(),
30805
- "onKeydown": e => {
30806
- if (!['Enter', 'Space'].includes(e.key)) return;
30807
- e.stopPropagation();
30808
- selectItem(slotProps.select, slotProps.isSelected);
30809
- }
30810
- }, null)]), slots.prepend?.({
30811
- ...slotProps,
30812
- ...treeItemProps,
30813
- item: item.raw,
30814
- internalItem: item
30815
- })]),
30816
- append: slots.append ? slotProps => slots.append?.({
30817
- ...slotProps,
30818
- ...treeItemProps,
30819
- item: item.raw,
30820
- internalItem: item
30821
- }) : undefined,
30822
- title: slots.title ? slotProps => slots.title?.({
30823
- ...slotProps,
30824
- item: item.raw,
30825
- internalItem: item
30826
- }) : undefined,
30827
- subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30828
- ...slotProps,
30829
- item: item.raw,
30830
- internalItem: item
30831
- }) : undefined,
30832
- $stable: true
30833
- });
30834
- }
30790
+ const slotsWithItem = {
30791
+ prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30792
+ "key": item.value,
30793
+ "modelValue": slotProps.isSelected,
30794
+ "disabled": props.disabled,
30795
+ "loading": loading,
30796
+ "color": props.selectedColor,
30797
+ "density": props.density,
30798
+ "indeterminate": slotProps.isIndeterminate,
30799
+ "indeterminateIcon": props.indeterminateIcon,
30800
+ "falseIcon": props.falseIcon,
30801
+ "trueIcon": props.trueIcon,
30802
+ "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30803
+ "onClick": e => e.stopPropagation(),
30804
+ "onKeydown": e => {
30805
+ if (!['Enter', 'Space'].includes(e.key)) return;
30806
+ e.stopPropagation();
30807
+ selectItem(slotProps.select, slotProps.isSelected);
30808
+ }
30809
+ }, null)]), slots.prepend?.({
30810
+ ...slotProps,
30811
+ ...treeItemProps,
30812
+ item: item.raw,
30813
+ internalItem: item
30814
+ })]),
30815
+ append: slots.append ? slotProps => slots.append?.({
30816
+ ...slotProps,
30817
+ ...treeItemProps,
30818
+ item: item.raw,
30819
+ internalItem: item
30820
+ }) : undefined,
30821
+ title: slots.title ? slotProps => slots.title?.({
30822
+ ...slotProps,
30823
+ item: item.raw,
30824
+ internalItem: item
30825
+ }) : undefined,
30826
+ subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30827
+ ...slotProps,
30828
+ item: item.raw,
30829
+ internalItem: item
30830
+ }) : undefined
30831
+ };
30835
30832
  const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps);
30836
30833
  const treeviewChildrenProps = VTreeviewChildren.filterProps({
30837
30834
  ...props,
@@ -30845,16 +30842,21 @@
30845
30842
  let {
30846
30843
  props: activatorProps
30847
30844
  } = _ref2;
30848
- return renderItem({
30845
+ const listItemProps = {
30849
30846
  ...itemProps,
30850
30847
  ...activatorProps,
30851
- loading,
30852
- hideActions: props.hideActions,
30853
- indentLines: indentLines.node,
30854
- value: props.returnObject ? item.raw : itemProps.value,
30848
+ value: itemProps?.value,
30855
30849
  onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
30856
30850
  onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
30857
- });
30851
+ };
30852
+ return vue.createVNode(VTreeviewItem, vue.mergeProps({
30853
+ "ref": el => activatorItems.value[index] = el
30854
+ }, listItemProps, {
30855
+ "hideActions": props.hideActions,
30856
+ "indentLines": indentLines.node,
30857
+ "value": props.returnObject ? item.raw : itemProps.value,
30858
+ "loading": loading
30859
+ }), slotsWithItem);
30858
30860
  },
30859
30861
  default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30860
30862
  "items": children,
@@ -30862,8 +30864,7 @@
30862
30864
  "parentIndentLines": indentLines.children,
30863
30865
  "isLastGroup": nextItemHasChildren,
30864
30866
  "returnObject": props.returnObject
30865
- }), slots),
30866
- $stable: true
30867
+ }), slots)
30867
30868
  }) : renderSlot(slots.item, {
30868
30869
  props: itemProps,
30869
30870
  item: item.raw,
@@ -30879,12 +30880,11 @@
30879
30880
  props: item.raw
30880
30881
  }, () => vue.createVNode(VListSubheader, item.props, null));
30881
30882
  }
30882
- return renderItem({
30883
- ...itemProps,
30884
- hideActions: props.hideActions,
30885
- indentLines: indentLines.leaf,
30886
- value: props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30887
- });
30883
+ return vue.createVNode(VTreeviewItem, vue.mergeProps(itemProps, {
30884
+ "hideActions": props.hideActions,
30885
+ "indentLines": indentLines.leaf,
30886
+ "value": props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30887
+ }), slotsWithItem);
30888
30888
  });
30889
30889
  });
30890
30890
  }
@@ -31023,14 +31023,13 @@
31023
31023
  "selected": selected.value,
31024
31024
  "onUpdate:selected": $event => selected.value = $event
31025
31025
  }), {
31026
- default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
31026
+ default: () => [vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
31027
31027
  "density": props.density,
31028
31028
  "returnObject": props.returnObject,
31029
31029
  "items": items.value,
31030
31030
  "parentIndentLines": props.indentLines ? [] : undefined,
31031
31031
  "indentLinesVariant": indentLinesVariant
31032
- }), slots),
31033
- $stable: true
31032
+ }), slots)]
31034
31033
  });
31035
31034
  });
31036
31035
  return {};
@@ -31549,7 +31548,7 @@
31549
31548
  };
31550
31549
  });
31551
31550
  }
31552
- const version$1 = "3.9.1-dev.2025-07-17";
31551
+ const version$1 = "3.9.2-dev.2025-07-18";
31553
31552
  createVuetify$1.version = version$1;
31554
31553
 
31555
31554
  // Vue's inject() can only be used in setup
@@ -31574,7 +31573,7 @@
31574
31573
  ...options
31575
31574
  });
31576
31575
  };
31577
- const version = "3.9.1-dev.2025-07-17";
31576
+ const version = "3.9.2-dev.2025-07-18";
31578
31577
  createVuetify.version = version;
31579
31578
 
31580
31579
  exports.blueprints = index;