@vuetify/nightly 3.7.1-master.2024-08-29 → 3.7.1-master.2024-09-01

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.
Files changed (37) hide show
  1. package/dist/json/importMap-labs.json +20 -20
  2. package/dist/json/importMap.json +134 -134
  3. package/dist/json/web-types.json +1 -1
  4. package/dist/vuetify-labs.css +4938 -4938
  5. package/dist/vuetify-labs.d.ts +57 -0
  6. package/dist/vuetify-labs.esm.js +38 -40
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +38 -40
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +1481 -1481
  11. package/dist/vuetify.d.ts +104 -47
  12. package/dist/vuetify.esm.js +26 -9
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +26 -9
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +22 -22
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/components/VAutocomplete/index.d.mts +3 -0
  20. package/lib/components/VCombobox/index.d.mts +3 -0
  21. package/lib/components/VList/VList.mjs +4 -2
  22. package/lib/components/VList/VList.mjs.map +1 -1
  23. package/lib/components/VList/VListItem.mjs +5 -2
  24. package/lib/components/VList/VListItem.mjs.map +1 -1
  25. package/lib/components/VList/index.d.mts +57 -0
  26. package/lib/components/VSelect/index.d.mts +3 -0
  27. package/lib/components/index.d.mts +57 -0
  28. package/lib/composables/nested/nested.mjs +15 -3
  29. package/lib/composables/nested/nested.mjs.map +1 -1
  30. package/lib/entry-bundler.mjs +1 -1
  31. package/lib/framework.mjs +1 -1
  32. package/lib/index.d.mts +47 -47
  33. package/lib/labs/VTreeview/VTreeview.mjs +3 -12
  34. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  35. package/lib/labs/VTreeview/VTreeviewItem.mjs +9 -20
  36. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  37. package/package.json +1 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.1-master.2024-08-29
2
+ * Vuetify v3.7.1-master.2024-09-01
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -8718,7 +8718,8 @@
8718
8718
  opened: vue.ref(new Set()),
8719
8719
  activated: vue.ref(new Set()),
8720
8720
  selected: vue.ref(new Map()),
8721
- selectedValues: vue.ref([])
8721
+ selectedValues: vue.ref([]),
8722
+ getPath: () => []
8722
8723
  }
8723
8724
  };
8724
8725
  const makeNestedProps = propsFactory({
@@ -8796,6 +8797,7 @@
8796
8797
  return path;
8797
8798
  }
8798
8799
  const vm = getCurrentInstance('nested');
8800
+ const nodeIds = new Set();
8799
8801
  const nested = {
8800
8802
  id: vue.shallowRef(),
8801
8803
  root: {
@@ -8812,6 +8814,14 @@
8812
8814
  return arr;
8813
8815
  }),
8814
8816
  register: (id, parentId, isGroup) => {
8817
+ if (nodeIds.has(id)) {
8818
+ const path = getPath(id).join(' -> ');
8819
+ const newPath = getPath(parentId).concat(id).join(' -> ');
8820
+ consoleError(`Multiple nodes with the same ID\n\t${path}\n\t${newPath}`);
8821
+ return;
8822
+ } else {
8823
+ nodeIds.add(id);
8824
+ }
8815
8825
  parentId && id !== parentId && parents.value.set(id, parentId);
8816
8826
  isGroup && children.value.set(id, []);
8817
8827
  if (parentId != null) {
@@ -8820,6 +8830,7 @@
8820
8830
  },
8821
8831
  unregister: id => {
8822
8832
  if (isUnmounted) return;
8833
+ nodeIds.delete(id);
8823
8834
  children.value.delete(id);
8824
8835
  const parent = parents.value.get(id);
8825
8836
  if (parent) {
@@ -8896,7 +8907,8 @@
8896
8907
  newActivated && (activated.value = newActivated);
8897
8908
  },
8898
8909
  children,
8899
- parents
8910
+ parents,
8911
+ getPath
8900
8912
  }
8901
8913
  };
8902
8914
  vue.provide(VNestedSymbol, nested);
@@ -9141,7 +9153,8 @@
9141
9153
  isGroupActivator,
9142
9154
  root,
9143
9155
  parent,
9144
- openOnSelect
9156
+ openOnSelect,
9157
+ id: uid
9145
9158
  } = useNestedItem(id, false);
9146
9159
  const list = useList();
9147
9160
  const isActive = vue.computed(() => props.active !== false && (props.active || link.isActive?.value || (root.activatable.value ? isActivated.value : isSelected.value)));
@@ -9327,7 +9340,9 @@
9327
9340
  isGroupActivator,
9328
9341
  isSelected,
9329
9342
  list,
9330
- select
9343
+ select,
9344
+ root,
9345
+ id: uid
9331
9346
  };
9332
9347
  }
9333
9348
  });
@@ -9728,7 +9743,8 @@
9728
9743
  children,
9729
9744
  open,
9730
9745
  parents,
9731
- select
9746
+ select,
9747
+ getPath
9732
9748
  } = useNested(props);
9733
9749
  const lineClasses = vue.computed(() => props.lines ? `v-list--${props.lines}-line` : undefined);
9734
9750
  const activeColor = vue.toRef(props, 'activeColor');
@@ -9820,7 +9836,8 @@
9820
9836
  select,
9821
9837
  focus,
9822
9838
  children,
9823
- parents
9839
+ parents,
9840
+ getPath
9824
9841
  };
9825
9842
  }
9826
9843
  });
@@ -28218,7 +28235,7 @@
28218
28235
  goTo
28219
28236
  };
28220
28237
  }
28221
- const version$1 = "3.7.1-master.2024-08-29";
28238
+ const version$1 = "3.7.1-master.2024-09-01";
28222
28239
  createVuetify$1.version = version$1;
28223
28240
 
28224
28241
  // Vue's inject() can only be used in setup
@@ -28243,7 +28260,7 @@
28243
28260
  ...options
28244
28261
  });
28245
28262
  };
28246
- const version = "3.7.1-master.2024-08-29";
28263
+ const version = "3.7.1-master.2024-09-01";
28247
28264
  createVuetify.version = version;
28248
28265
 
28249
28266
  exports.blueprints = index;