@vuetify/nightly 3.9.2-master.2025-07-26 → 3.9.2-master.2025-07-28

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.2-master.2025-07-26
2
+ * Vuetify v3.9.2-master.2025-07-28
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -25857,7 +25857,7 @@
25857
25857
  return fixed.replace('.', decimalSeparator.value);
25858
25858
  }
25859
25859
  let [baseDigits, fractionDigits] = fixed.split('.');
25860
- fractionDigits = (fractionDigits ?? '').padEnd(props.minFractionDigits, '0').replace(new RegExp(`(?<=\\d{${props.minFractionDigits}})0`, 'g'), '');
25860
+ fractionDigits = (fractionDigits ?? '').padEnd(props.minFractionDigits, '0').replace(new RegExp(`(?<=\\d{${props.minFractionDigits}})0+$`, 'g'), '');
25861
25861
  return [baseDigits, fractionDigits].filter(Boolean).join(decimalSeparator.value);
25862
25862
  }
25863
25863
  const model = useProxiedModel(props, 'modelValue', null, val => val ?? null, val => val == null ? val ?? null : clamp(Number(val), props.min, props.max));
@@ -25965,6 +25965,8 @@
25965
25965
  if (potentialNewInputVal.split(decimalSeparator.value)[1]?.length > props.precision) {
25966
25966
  e.preventDefault();
25967
25967
  inputElement.value = potentialNewNumber;
25968
+ const cursorPosition = (selectionStart ?? 0) + e.data.length;
25969
+ inputElement.setSelectionRange(cursorPosition, cursorPosition);
25968
25970
  }
25969
25971
  // Ignore decimal separator when precision = 0
25970
25972
  if (props.precision === 0 && potentialNewInputVal.includes(decimalSeparator.value)) {
@@ -33015,7 +33017,7 @@
33015
33017
  };
33016
33018
  const tooltipDefaults = {
33017
33019
  VAvatar: {
33018
- size: 28
33020
+ size: typeof props.tooltip === 'object' ? props.tooltip.avatarSize : 28
33019
33021
  }
33020
33022
  };
33021
33023
  const avatarSlot = _ref2 => {
@@ -33081,7 +33083,8 @@
33081
33083
  }, [slots.legend?.({
33082
33084
  isActive,
33083
33085
  toggle,
33084
- items: arcs.value
33086
+ items: arcs.value,
33087
+ total: total.value
33085
33088
  }) ?? vue.createVNode(VChipGroup, {
33086
33089
  "column": true,
33087
33090
  "multiple": true,
@@ -33097,7 +33100,8 @@
33097
33100
  default: () => vue.createElementVNode("div", {
33098
33101
  "class": "v-pie__legend__text"
33099
33102
  }, [slots['legend-text']?.({
33100
- item
33103
+ item,
33104
+ total: total.value
33101
33105
  }) ?? legendTextFormatFunction.value(item)])
33102
33106
  }))]
33103
33107
  })])]
@@ -33105,7 +33109,10 @@
33105
33109
  "defaults": tooltipDefaults
33106
33110
  }, {
33107
33111
  default: () => [vue.createVNode(VPieTooltip, tooltipProps, {
33108
- default: slots.tooltip,
33112
+ default: slots.tooltip ? slotProps => slots.tooltip?.({
33113
+ ...slotProps,
33114
+ total: total.value
33115
+ }) : undefined,
33109
33116
  prepend: avatarSlot
33110
33117
  })]
33111
33118
  })]);
@@ -35097,7 +35104,7 @@
35097
35104
  };
35098
35105
  });
35099
35106
  }
35100
- const version$1 = "3.9.2-master.2025-07-26";
35107
+ const version$1 = "3.9.2-master.2025-07-28";
35101
35108
  createVuetify$1.version = version$1;
35102
35109
 
35103
35110
  // Vue's inject() can only be used in setup
@@ -35395,7 +35402,7 @@
35395
35402
 
35396
35403
  /* eslint-disable local-rules/sort-imports */
35397
35404
 
35398
- const version = "3.9.2-master.2025-07-26";
35405
+ const version = "3.9.2-master.2025-07-28";
35399
35406
 
35400
35407
  /* eslint-disable local-rules/sort-imports */
35401
35408