@vuetify/nightly 3.9.1-master.2025-07-17 → 3.9.2-master.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-master.2025-07-17
2
+ * Vuetify v3.9.2-master.2025-07-18
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -30627,51 +30627,48 @@
30627
30627
  parentIndentLines: props.parentIndentLines,
30628
30628
  variant: props.indentLinesVariant
30629
30629
  });
30630
- function renderItem(itemProps) {
30631
- return vue.createVNode(VTreeviewItem, itemProps, {
30632
- prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30633
- "key": item.value,
30634
- "modelValue": slotProps.isSelected,
30635
- "disabled": props.disabled,
30636
- "loading": loading,
30637
- "color": props.selectedColor,
30638
- "density": props.density,
30639
- "indeterminate": slotProps.isIndeterminate,
30640
- "indeterminateIcon": props.indeterminateIcon,
30641
- "falseIcon": props.falseIcon,
30642
- "trueIcon": props.trueIcon,
30643
- "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30644
- "onClick": e => e.stopPropagation(),
30645
- "onKeydown": e => {
30646
- if (!['Enter', 'Space'].includes(e.key)) return;
30647
- e.stopPropagation();
30648
- selectItem(slotProps.select, slotProps.isSelected);
30649
- }
30650
- }, null)]), slots.prepend?.({
30651
- ...slotProps,
30652
- ...treeItemProps,
30653
- item: item.raw,
30654
- internalItem: item
30655
- })]),
30656
- append: slots.append ? slotProps => slots.append?.({
30657
- ...slotProps,
30658
- ...treeItemProps,
30659
- item: item.raw,
30660
- internalItem: item
30661
- }) : undefined,
30662
- title: slots.title ? slotProps => slots.title?.({
30663
- ...slotProps,
30664
- item: item.raw,
30665
- internalItem: item
30666
- }) : undefined,
30667
- subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30668
- ...slotProps,
30669
- item: item.raw,
30670
- internalItem: item
30671
- }) : undefined,
30672
- $stable: true
30673
- });
30674
- }
30630
+ const slotsWithItem = {
30631
+ prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30632
+ "key": item.value,
30633
+ "modelValue": slotProps.isSelected,
30634
+ "disabled": props.disabled,
30635
+ "loading": loading,
30636
+ "color": props.selectedColor,
30637
+ "density": props.density,
30638
+ "indeterminate": slotProps.isIndeterminate,
30639
+ "indeterminateIcon": props.indeterminateIcon,
30640
+ "falseIcon": props.falseIcon,
30641
+ "trueIcon": props.trueIcon,
30642
+ "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30643
+ "onClick": e => e.stopPropagation(),
30644
+ "onKeydown": e => {
30645
+ if (!['Enter', 'Space'].includes(e.key)) return;
30646
+ e.stopPropagation();
30647
+ selectItem(slotProps.select, slotProps.isSelected);
30648
+ }
30649
+ }, null)]), slots.prepend?.({
30650
+ ...slotProps,
30651
+ ...treeItemProps,
30652
+ item: item.raw,
30653
+ internalItem: item
30654
+ })]),
30655
+ append: slots.append ? slotProps => slots.append?.({
30656
+ ...slotProps,
30657
+ ...treeItemProps,
30658
+ item: item.raw,
30659
+ internalItem: item
30660
+ }) : undefined,
30661
+ title: slots.title ? slotProps => slots.title?.({
30662
+ ...slotProps,
30663
+ item: item.raw,
30664
+ internalItem: item
30665
+ }) : undefined,
30666
+ subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30667
+ ...slotProps,
30668
+ item: item.raw,
30669
+ internalItem: item
30670
+ }) : undefined
30671
+ };
30675
30672
  const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps);
30676
30673
  const treeviewChildrenProps = VTreeviewChildren.filterProps({
30677
30674
  ...props,
@@ -30685,16 +30682,21 @@
30685
30682
  let {
30686
30683
  props: activatorProps
30687
30684
  } = _ref2;
30688
- return renderItem({
30685
+ const listItemProps = {
30689
30686
  ...itemProps,
30690
30687
  ...activatorProps,
30691
- loading,
30692
- hideActions: props.hideActions,
30693
- indentLines: indentLines.node,
30694
- value: props.returnObject ? item.raw : itemProps.value,
30688
+ value: itemProps?.value,
30695
30689
  onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
30696
30690
  onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
30697
- });
30691
+ };
30692
+ return vue.createVNode(VTreeviewItem, vue.mergeProps({
30693
+ "ref": el => activatorItems.value[index] = el
30694
+ }, listItemProps, {
30695
+ "hideActions": props.hideActions,
30696
+ "indentLines": indentLines.node,
30697
+ "value": props.returnObject ? item.raw : itemProps.value,
30698
+ "loading": loading
30699
+ }), slotsWithItem);
30698
30700
  },
30699
30701
  default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30700
30702
  "items": children,
@@ -30702,8 +30704,7 @@
30702
30704
  "parentIndentLines": indentLines.children,
30703
30705
  "isLastGroup": nextItemHasChildren,
30704
30706
  "returnObject": props.returnObject
30705
- }), slots),
30706
- $stable: true
30707
+ }), slots)
30707
30708
  }) : renderSlot(slots.item, {
30708
30709
  props: itemProps,
30709
30710
  item: item.raw,
@@ -30719,12 +30720,11 @@
30719
30720
  props: item.raw
30720
30721
  }, () => vue.createVNode(VListSubheader, item.props, null));
30721
30722
  }
30722
- return renderItem({
30723
- ...itemProps,
30724
- hideActions: props.hideActions,
30725
- indentLines: indentLines.leaf,
30726
- value: props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30727
- });
30723
+ return vue.createVNode(VTreeviewItem, vue.mergeProps(itemProps, {
30724
+ "hideActions": props.hideActions,
30725
+ "indentLines": indentLines.leaf,
30726
+ "value": props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30727
+ }), slotsWithItem);
30728
30728
  });
30729
30729
  });
30730
30730
  }
@@ -30863,14 +30863,13 @@
30863
30863
  "selected": selected.value,
30864
30864
  "onUpdate:selected": $event => selected.value = $event
30865
30865
  }), {
30866
- default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30866
+ default: () => [vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30867
30867
  "density": props.density,
30868
30868
  "returnObject": props.returnObject,
30869
30869
  "items": items.value,
30870
30870
  "parentIndentLines": props.indentLines ? [] : undefined,
30871
30871
  "indentLinesVariant": indentLinesVariant
30872
- }), slots),
30873
- $stable: true
30872
+ }), slots)]
30874
30873
  });
30875
30874
  });
30876
30875
  return {};
@@ -31389,7 +31388,7 @@
31389
31388
  };
31390
31389
  });
31391
31390
  }
31392
- const version$1 = "3.9.1-master.2025-07-17";
31391
+ const version$1 = "3.9.2-master.2025-07-18";
31393
31392
  createVuetify$1.version = version$1;
31394
31393
 
31395
31394
  // Vue's inject() can only be used in setup
@@ -31414,7 +31413,7 @@
31414
31413
  ...options
31415
31414
  });
31416
31415
  };
31417
- const version = "3.9.1-master.2025-07-17";
31416
+ const version = "3.9.2-master.2025-07-18";
31418
31417
  createVuetify.version = version;
31419
31418
 
31420
31419
  exports.blueprints = index;