@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.
@@ -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
  */
@@ -30349,51 +30349,48 @@
30349
30349
  parentIndentLines: props.parentIndentLines,
30350
30350
  variant: props.indentLinesVariant
30351
30351
  });
30352
- function renderItem(itemProps) {
30353
- return vue.createVNode(VTreeviewItem, itemProps, {
30354
- prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30355
- "key": item.value,
30356
- "modelValue": slotProps.isSelected,
30357
- "disabled": props.disabled,
30358
- "loading": loading,
30359
- "color": props.selectedColor,
30360
- "density": props.density,
30361
- "indeterminate": slotProps.isIndeterminate,
30362
- "indeterminateIcon": props.indeterminateIcon,
30363
- "falseIcon": props.falseIcon,
30364
- "trueIcon": props.trueIcon,
30365
- "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30366
- "onClick": e => e.stopPropagation(),
30367
- "onKeydown": e => {
30368
- if (!['Enter', 'Space'].includes(e.key)) return;
30369
- e.stopPropagation();
30370
- selectItem(slotProps.select, slotProps.isSelected);
30371
- }
30372
- }, null)]), slots.prepend?.({
30373
- ...slotProps,
30374
- ...treeItemProps,
30375
- item: item.raw,
30376
- internalItem: item
30377
- })]),
30378
- append: slots.append ? slotProps => slots.append?.({
30379
- ...slotProps,
30380
- ...treeItemProps,
30381
- item: item.raw,
30382
- internalItem: item
30383
- }) : undefined,
30384
- title: slots.title ? slotProps => slots.title?.({
30385
- ...slotProps,
30386
- item: item.raw,
30387
- internalItem: item
30388
- }) : undefined,
30389
- subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30390
- ...slotProps,
30391
- item: item.raw,
30392
- internalItem: item
30393
- }) : undefined,
30394
- $stable: true
30395
- });
30396
- }
30352
+ const slotsWithItem = {
30353
+ prepend: slotProps => vue.createElementVNode(vue.Fragment, null, [props.selectable && (!children || children && !['leaf', 'single-leaf'].includes(props.selectStrategy)) && vue.createElementVNode("div", null, [vue.createVNode(VCheckboxBtn, {
30354
+ "key": item.value,
30355
+ "modelValue": slotProps.isSelected,
30356
+ "disabled": props.disabled,
30357
+ "loading": loading,
30358
+ "color": props.selectedColor,
30359
+ "density": props.density,
30360
+ "indeterminate": slotProps.isIndeterminate,
30361
+ "indeterminateIcon": props.indeterminateIcon,
30362
+ "falseIcon": props.falseIcon,
30363
+ "trueIcon": props.trueIcon,
30364
+ "onUpdate:modelValue": v => selectItem(slotProps.select, v),
30365
+ "onClick": e => e.stopPropagation(),
30366
+ "onKeydown": e => {
30367
+ if (!['Enter', 'Space'].includes(e.key)) return;
30368
+ e.stopPropagation();
30369
+ selectItem(slotProps.select, slotProps.isSelected);
30370
+ }
30371
+ }, null)]), slots.prepend?.({
30372
+ ...slotProps,
30373
+ ...treeItemProps,
30374
+ item: item.raw,
30375
+ internalItem: item
30376
+ })]),
30377
+ append: slots.append ? slotProps => slots.append?.({
30378
+ ...slotProps,
30379
+ ...treeItemProps,
30380
+ item: item.raw,
30381
+ internalItem: item
30382
+ }) : undefined,
30383
+ title: slots.title ? slotProps => slots.title?.({
30384
+ ...slotProps,
30385
+ item: item.raw,
30386
+ internalItem: item
30387
+ }) : undefined,
30388
+ subtitle: slots.subtitle ? slotProps => slots.subtitle?.({
30389
+ ...slotProps,
30390
+ item: item.raw,
30391
+ internalItem: item
30392
+ }) : undefined
30393
+ };
30397
30394
  const treeviewGroupProps = VTreeviewGroup.filterProps(itemProps);
30398
30395
  const treeviewChildrenProps = VTreeviewChildren.filterProps({
30399
30396
  ...props,
@@ -30407,16 +30404,21 @@
30407
30404
  let {
30408
30405
  props: activatorProps
30409
30406
  } = _ref2;
30410
- return renderItem({
30407
+ const listItemProps = {
30411
30408
  ...itemProps,
30412
30409
  ...activatorProps,
30413
- loading,
30414
- hideActions: props.hideActions,
30415
- indentLines: indentLines.node,
30416
- value: props.returnObject ? item.raw : itemProps.value,
30410
+ value: itemProps?.value,
30417
30411
  onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
30418
30412
  onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
30419
- });
30413
+ };
30414
+ return vue.createVNode(VTreeviewItem, vue.mergeProps({
30415
+ "ref": el => activatorItems.value[index] = el
30416
+ }, listItemProps, {
30417
+ "hideActions": props.hideActions,
30418
+ "indentLines": indentLines.node,
30419
+ "value": props.returnObject ? item.raw : itemProps.value,
30420
+ "loading": loading
30421
+ }), slotsWithItem);
30420
30422
  },
30421
30423
  default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30422
30424
  "items": children,
@@ -30424,8 +30426,7 @@
30424
30426
  "parentIndentLines": indentLines.children,
30425
30427
  "isLastGroup": nextItemHasChildren,
30426
30428
  "returnObject": props.returnObject
30427
- }), slots),
30428
- $stable: true
30429
+ }), slots)
30429
30430
  }) : renderSlot(slots.item, {
30430
30431
  props: itemProps,
30431
30432
  item: item.raw,
@@ -30441,12 +30442,11 @@
30441
30442
  props: item.raw
30442
30443
  }, () => vue.createVNode(VListSubheader, item.props, null));
30443
30444
  }
30444
- return renderItem({
30445
- ...itemProps,
30446
- hideActions: props.hideActions,
30447
- indentLines: indentLines.leaf,
30448
- value: props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30449
- });
30445
+ return vue.createVNode(VTreeviewItem, vue.mergeProps(itemProps, {
30446
+ "hideActions": props.hideActions,
30447
+ "indentLines": indentLines.leaf,
30448
+ "value": props.returnObject ? vue.toRaw(item.raw) : itemProps.value
30449
+ }), slotsWithItem);
30450
30450
  });
30451
30451
  });
30452
30452
  }
@@ -30585,14 +30585,13 @@
30585
30585
  "selected": selected.value,
30586
30586
  "onUpdate:selected": $event => selected.value = $event
30587
30587
  }), {
30588
- default: () => vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30588
+ default: () => [vue.createVNode(VTreeviewChildren, vue.mergeProps(treeviewChildrenProps, {
30589
30589
  "density": props.density,
30590
30590
  "returnObject": props.returnObject,
30591
30591
  "items": items.value,
30592
30592
  "parentIndentLines": props.indentLines ? [] : undefined,
30593
30593
  "indentLinesVariant": indentLinesVariant
30594
- }), slots),
30595
- $stable: true
30594
+ }), slots)]
30596
30595
  });
30597
30596
  });
30598
30597
  return {};
@@ -33693,7 +33692,7 @@
33693
33692
  };
33694
33693
  });
33695
33694
  }
33696
- const version$1 = "3.9.1-master.2025-07-17";
33695
+ const version$1 = "3.9.2-master.2025-07-18";
33697
33696
  createVuetify$1.version = version$1;
33698
33697
 
33699
33698
  // Vue's inject() can only be used in setup
@@ -33991,7 +33990,7 @@
33991
33990
 
33992
33991
  /* eslint-disable local-rules/sort-imports */
33993
33992
 
33994
- const version = "3.9.1-master.2025-07-17";
33993
+ const version = "3.9.2-master.2025-07-18";
33995
33994
 
33996
33995
  /* eslint-disable local-rules/sort-imports */
33997
33996