@vuetify/nightly 3.9.0-master.2025-07-09 → 3.9.0-master.2025-07-10

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.0-master.2025-07-09
2
+ * Vuetify v3.9.0-master.2025-07-10
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1935,7 +1935,7 @@
1935
1935
  };
1936
1936
  if (!isMounted.value) return styles;
1937
1937
  const item = items.value[index.value];
1938
- if (!item) throw new Error(`[Vuetify] Could not find layout item "${id}"`);
1938
+ if (!item) consoleWarn(`[Vuetify] Could not find layout item "${id}"`);
1939
1939
  const overlap = computedOverlaps.value.get(id);
1940
1940
  if (overlap) {
1941
1941
  item[overlap.position] += overlap.amount;
@@ -9915,12 +9915,16 @@
9915
9915
  returnObject: Boolean,
9916
9916
  valueComparator: Function
9917
9917
  }, 'list-items');
9918
+ const itemTypes$1 = new Set(['item', 'divider', 'subheader']);
9918
9919
  function transformItem$3(props, item) {
9919
9920
  const title = getPropertyFromItem(item, props.itemTitle, item);
9920
9921
  const value = getPropertyFromItem(item, props.itemValue, title);
9921
9922
  const children = getPropertyFromItem(item, props.itemChildren);
9922
- const type = getPropertyFromItem(item, props.itemType, 'item');
9923
9923
  const itemProps = props.itemProps === true ? typeof item === 'object' && item != null && !Array.isArray(item) ? 'children' in item ? omit(item, ['children']) : item : undefined : getPropertyFromItem(item, props.itemProps);
9924
+ let type = getPropertyFromItem(item, props.itemType, 'item');
9925
+ if (!itemTypes$1.has(type)) {
9926
+ type = 'item';
9927
+ }
9924
9928
  const _props = {
9925
9929
  title,
9926
9930
  value,
@@ -9935,8 +9939,10 @@
9935
9939
  raw: item
9936
9940
  };
9937
9941
  }
9942
+ transformItem$3.neededProps = ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'itemType'];
9938
9943
  function transformItems$3(props, items) {
9939
- const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'itemType', 'returnObject', 'valueComparator']);
9944
+ // avoid reactive access in the loop
9945
+ const _props = pick(props, transformItem$3.neededProps);
9940
9946
  const array = [];
9941
9947
  for (const item of items) {
9942
9948
  array.push(transformItem$3(_props, item));
@@ -9978,7 +9984,7 @@
9978
9984
  const _returnObject = props.returnObject;
9979
9985
  const hasValueComparator = !!props.valueComparator;
9980
9986
  const valueComparator = props.valueComparator || deepEqual;
9981
- const _props = pick(props, ['itemTitle', 'itemValue', 'itemChildren', 'itemProps', 'itemType', 'returnObject', 'valueComparator']);
9987
+ const _props = pick(props, transformItem$3.neededProps);
9982
9988
  const returnValue = [];
9983
9989
  main: for (const v of value) {
9984
9990
  // When the model value is null, return an InternalItem
@@ -10037,12 +10043,16 @@
10037
10043
 
10038
10044
  // Types
10039
10045
 
10046
+ const itemTypes = new Set(['item', 'divider', 'subheader']);
10040
10047
  function transformItem$2(props, item) {
10041
- const type = getPropertyFromItem(item, props.itemType, 'item');
10042
10048
  const title = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemTitle);
10043
10049
  const value = isPrimitive(item) ? item : getPropertyFromItem(item, props.itemValue, undefined);
10044
10050
  const children = getPropertyFromItem(item, props.itemChildren);
10045
10051
  const itemProps = props.itemProps === true ? omit(item, ['children']) : getPropertyFromItem(item, props.itemProps);
10052
+ let type = getPropertyFromItem(item, props.itemType, 'item');
10053
+ if (!itemTypes.has(type)) {
10054
+ type = 'item';
10055
+ }
10046
10056
  const _props = {
10047
10057
  title,
10048
10058
  value,
@@ -33676,7 +33686,7 @@
33676
33686
  };
33677
33687
  });
33678
33688
  }
33679
- const version$1 = "3.9.0-master.2025-07-09";
33689
+ const version$1 = "3.9.0-master.2025-07-10";
33680
33690
  createVuetify$1.version = version$1;
33681
33691
 
33682
33692
  // Vue's inject() can only be used in setup
@@ -33974,7 +33984,7 @@
33974
33984
 
33975
33985
  /* eslint-disable local-rules/sort-imports */
33976
33986
 
33977
- const version = "3.9.0-master.2025-07-09";
33987
+ const version = "3.9.0-master.2025-07-10";
33978
33988
 
33979
33989
  /* eslint-disable local-rules/sort-imports */
33980
33990