@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.
@@ -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
  */
@@ -30509,51 +30509,48 @@
30509
30509
  parentIndentLines: props.parentIndentLines,
30510
30510
  variant: props.indentLinesVariant
30511
30511
  });
30512
- function renderItem(itemProps) {
30513
- return vue.createVNode(VTreeviewItem, itemProps, {
30514
- prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30515
- "key": item.value,
30516
- "modelValue": slotProps.isSelected,
30517
- "disabled": props.disabled,
30518
- "loading": loading,
30519
- "color": props.selectedColor,
30520
- "density": props.density,
30521
- "indeterminate": slotProps.isIndeterminate,
30522
- "indeterminateIcon": props.indeterminateIcon,
30523
- "falseIcon": props.falseIcon,
30524
- "trueIcon": props.trueIcon,
30525
- "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30526
- "onClick": e => e.stopPropagation(),
30527
- "onKeydown": e => {
30528
- if (!['Enter', 'Space'].includes(e.key)) return;
30529
- e.stopPropagation();
30530
- selectItem(slotProps.select, slotProps.isSelected);
30531
- }
30532
- }, null)]), slots.prepend?.({
30533
- ...slotProps,
30534
- ...treeItemProps,
30535
- item: item.raw,
30536
- internalItem: item
30537
- })]),
30538
- append: slots.append ? slotProps => slots.append?.({
30539
- ...slotProps,
30540
- ...treeItemProps,
30541
- item: item.raw,
30542
- internalItem: item
30543
- }) : undefined,
30544
- title: slots.title ? slotProps => slots.title?.({
30545
- ...slotProps,
30546
- item: item.raw,
30547
- internalItem: item
30548
- }) : undefined,
30549
- subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30550
- ...slotProps,
30551
- item: item.raw,
30552
- internalItem: item
30553
- }) : undefined,
30554
- $stable: true
30555
- });
30556
- }
30512
+ const slotsWithItem = {
30513
+ prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30514
+ "key": item.value,
30515
+ "modelValue": slotProps.isSelected,
30516
+ "disabled": props.disabled,
30517
+ "loading": loading,
30518
+ "color": props.selectedColor,
30519
+ "density": props.density,
30520
+ "indeterminate": slotProps.isIndeterminate,
30521
+ "indeterminateIcon": props.indeterminateIcon,
30522
+ "falseIcon": props.falseIcon,
30523
+ "trueIcon": props.trueIcon,
30524
+ "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30525
+ "onClick": e => e.stopPropagation(),
30526
+ "onKeydown": e => {
30527
+ if (!['Enter', 'Space'].includes(e.key)) return;
30528
+ e.stopPropagation();
30529
+ selectItem(slotProps.select, slotProps.isSelected);
30530
+ }
30531
+ }, null)]), slots.prepend?.({
30532
+ ...slotProps,
30533
+ ...treeItemProps,
30534
+ item: item.raw,
30535
+ internalItem: item
30536
+ })]),
30537
+ append: slots.append ? slotProps => slots.append?.({
30538
+ ...slotProps,
30539
+ ...treeItemProps,
30540
+ item: item.raw,
30541
+ internalItem: item
30542
+ }) : undefined,
30543
+ title: slots.title ? slotProps => slots.title?.({
30544
+ ...slotProps,
30545
+ item: item.raw,
30546
+ internalItem: item
30547
+ }) : undefined,
30548
+ subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30549
+ ...slotProps,
30550
+ item: item.raw,
30551
+ internalItem: item
30552
+ }) : undefined
30553
+ };
30557
30554
  const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps);
30558
30555
  const treeviewChildrenProps = VTreeviewChildren.filterProps({
30559
30556
  ...props,
@@ -30567,16 +30564,21 @@
30567
30564
  let {
30568
30565
  props: activatorProps
30569
30566
  } = _ref2;
30570
- return renderItem({
30567
+ const listItemProps = {
30571
30568
  ...itemProps,
30572
30569
  ...activatorProps,
30573
- loading,
30574
- hideActions: props.hideActions,
30575
- indentLines: indentLines.node,
30576
- value: props.returnObject ? item.raw : itemProps.value,
30570
+ value: itemProps?.value,
30577
30571
  onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
30578
30572
  onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
30579
- });
30573
+ };
30574
+ return vue.createVNode(VTreeviewItem, vue.mergeProps({
30575
+ "ref": el => activatorItems.value[index] = el
30576
+ }, listItemProps, {
30577
+ "hideActions": props.hideActions,
30578
+ "indentLines": indentLines.node,
30579
+ "value": props.returnObject ? item.raw : itemProps.value,
30580
+ "loading": loading
30581
+ }), slotsWithItem);
30580
30582
  },
30581
30583
  default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30582
30584
  "items": children,
@@ -30584,8 +30586,7 @@
30584
30586
  "parentIndentLines": indentLines.children,
30585
30587
  "isLastGroup": nextItemHasChildren,
30586
30588
  "returnObject": props.returnObject
30587
- }), slots),
30588
- $stable: true
30589
+ }), slots)
30589
30590
  }) : renderSlot(slots.item, {
30590
30591
  props: itemProps,
30591
30592
  item: item.raw,
@@ -30601,12 +30602,11 @@
30601
30602
  props: item.raw
30602
30603
  }, () => vue.createVNode(VListSubheader, item.props, null));
30603
30604
  }
30604
- return renderItem({
30605
- ...itemProps,
30606
- hideActions: props.hideActions,
30607
- indentLines: indentLines.leaf,
30608
- value: props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30609
- });
30605
+ return vue.createVNode(VTreeviewItem, vue.mergeProps(itemProps, {
30606
+ "hideActions": props.hideActions,
30607
+ "indentLines": indentLines.leaf,
30608
+ "value": props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30609
+ }), slotsWithItem);
30610
30610
  });
30611
30611
  });
30612
30612
  }
@@ -30745,14 +30745,13 @@
30745
30745
  "selected": selected.value,
30746
30746
  "onUpdate:selected": $event => selected.value = $event
30747
30747
  }), {
30748
- default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30748
+ default: () => [vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30749
30749
  "density": props.density,
30750
30750
  "returnObject": props.returnObject,
30751
30751
  "items": items.value,
30752
30752
  "parentIndentLines": props.indentLines ? [] : undefined,
30753
30753
  "indentLinesVariant": indentLinesVariant
30754
- }), slots),
30755
- $stable: true
30754
+ }), slots)]
30756
30755
  });
30757
30756
  });
30758
30757
  return {};
@@ -33882,7 +33881,7 @@
33882
33881
  };
33883
33882
  });
33884
33883
  }
33885
- const version$1 = "3.9.1-dev.2025-07-17";
33884
+ const version$1 = "3.9.2-dev.2025-07-18";
33886
33885
  createVuetify$1.version = version$1;
33887
33886
 
33888
33887
  // Vue's inject() can only be used in setup
@@ -34180,7 +34179,7 @@
34180
34179
 
34181
34180
  /* eslint-disable local-rules/sort-imports */
34182
34181
 
34183
- const version = "3.9.1-dev.2025-07-17";
34182
+ const version = "3.9.2-dev.2025-07-18";
34184
34183
 
34185
34184
  /* eslint-disable local-rules/sort-imports */
34186
34185