@vuetify/nightly 3.7.0-beta.1-dev.2024-08-01 → 3.7.0-beta.1-dev.2024-08-08

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.
@@ -80090,6 +80090,7 @@ declare const VTreeview: {
80090
80090
  disabled: boolean;
80091
80091
  tag: string;
80092
80092
  mandatory: boolean;
80093
+ modelValue: unknown[];
80093
80094
  tile: boolean;
80094
80095
  density: Density;
80095
80096
  slim: boolean;
@@ -80153,6 +80154,7 @@ declare const VTreeview: {
80153
80154
  selectedColor?: string | undefined;
80154
80155
  loadChildren?: ((item: unknown) => Promise<void>) | undefined;
80155
80156
  } & {
80157
+ "onUpdate:modelValue"?: ((val: unknown) => any) | undefined;
80156
80158
  "onUpdate:activated"?: ((val: unknown) => any) | undefined;
80157
80159
  "onUpdate:selected"?: ((val: unknown) => any) | undefined;
80158
80160
  "onUpdate:opened"?: ((val: unknown) => any) | undefined;
@@ -80172,6 +80174,7 @@ declare const VTreeview: {
80172
80174
  'update:opened': (val: unknown) => boolean;
80173
80175
  'update:activated': (val: unknown) => boolean;
80174
80176
  'update:selected': (val: unknown) => boolean;
80177
+ 'update:modelValue': (val: unknown) => boolean;
80175
80178
  'click:open': (value: {
80176
80179
  id: unknown;
80177
80180
  value: boolean;
@@ -80188,6 +80191,7 @@ declare const VTreeview: {
80188
80191
  disabled: boolean;
80189
80192
  tag: string;
80190
80193
  mandatory: boolean;
80194
+ modelValue: unknown[];
80191
80195
  tile: boolean;
80192
80196
  density: Density;
80193
80197
  slim: boolean;
@@ -80251,6 +80255,7 @@ declare const VTreeview: {
80251
80255
  selectedColor?: string | undefined;
80252
80256
  loadChildren?: ((item: unknown) => Promise<void>) | undefined;
80253
80257
  } & {
80258
+ "onUpdate:modelValue"?: ((val: unknown) => any) | undefined;
80254
80259
  "onUpdate:activated"?: ((val: unknown) => any) | undefined;
80255
80260
  "onUpdate:selected"?: ((val: unknown) => any) | undefined;
80256
80261
  "onUpdate:opened"?: ((val: unknown) => any) | undefined;
@@ -80270,6 +80275,7 @@ declare const VTreeview: {
80270
80275
  disabled: boolean;
80271
80276
  tag: string;
80272
80277
  mandatory: boolean;
80278
+ modelValue: unknown[];
80273
80279
  rounded: string | number | boolean;
80274
80280
  tile: boolean;
80275
80281
  density: Density;
@@ -80367,6 +80373,7 @@ declare const VTreeview: {
80367
80373
  disabled: boolean;
80368
80374
  tag: string;
80369
80375
  mandatory: boolean;
80376
+ modelValue: unknown[];
80370
80377
  tile: boolean;
80371
80378
  density: Density;
80372
80379
  slim: boolean;
@@ -80430,6 +80437,7 @@ declare const VTreeview: {
80430
80437
  selectedColor?: string | undefined;
80431
80438
  loadChildren?: ((item: unknown) => Promise<void>) | undefined;
80432
80439
  } & {
80440
+ "onUpdate:modelValue"?: ((val: unknown) => any) | undefined;
80433
80441
  "onUpdate:activated"?: ((val: unknown) => any) | undefined;
80434
80442
  "onUpdate:selected"?: ((val: unknown) => any) | undefined;
80435
80443
  "onUpdate:opened"?: ((val: unknown) => any) | undefined;
@@ -80451,6 +80459,7 @@ declare const VTreeview: {
80451
80459
  disabled: boolean;
80452
80460
  tag: string;
80453
80461
  mandatory: boolean;
80462
+ modelValue: unknown[];
80454
80463
  rounded: string | number | boolean;
80455
80464
  tile: boolean;
80456
80465
  density: Density;
@@ -80485,6 +80494,7 @@ declare const VTreeview: {
80485
80494
  disabled: boolean;
80486
80495
  tag: string;
80487
80496
  mandatory: boolean;
80497
+ modelValue: unknown[];
80488
80498
  tile: boolean;
80489
80499
  density: Density;
80490
80500
  slim: boolean;
@@ -80548,6 +80558,7 @@ declare const VTreeview: {
80548
80558
  selectedColor?: string | undefined;
80549
80559
  loadChildren?: ((item: unknown) => Promise<void>) | undefined;
80550
80560
  } & {
80561
+ "onUpdate:modelValue"?: ((val: unknown) => any) | undefined;
80551
80562
  "onUpdate:activated"?: ((val: unknown) => any) | undefined;
80552
80563
  "onUpdate:selected"?: ((val: unknown) => any) | undefined;
80553
80564
  "onUpdate:opened"?: ((val: unknown) => any) | undefined;
@@ -80567,6 +80578,7 @@ declare const VTreeview: {
80567
80578
  'update:opened': (val: unknown) => boolean;
80568
80579
  'update:activated': (val: unknown) => boolean;
80569
80580
  'update:selected': (val: unknown) => boolean;
80581
+ 'update:modelValue': (val: unknown) => boolean;
80570
80582
  'click:open': (value: {
80571
80583
  id: unknown;
80572
80584
  value: boolean;
@@ -80583,6 +80595,7 @@ declare const VTreeview: {
80583
80595
  disabled: boolean;
80584
80596
  tag: string;
80585
80597
  mandatory: boolean;
80598
+ modelValue: unknown[];
80586
80599
  rounded: string | number | boolean;
80587
80600
  tile: boolean;
80588
80601
  density: Density;
@@ -80672,6 +80685,10 @@ declare const VTreeview: {
80672
80685
  }, slots: VListChildrenSlots<T>) => GenericProps<{
80673
80686
  items?: T[] | undefined;
80674
80687
  }, VListChildrenSlots<T>>) & FilterPropsOptions<{
80688
+ modelValue: {
80689
+ type: ArrayConstructor;
80690
+ default: () => never[];
80691
+ };
80675
80692
  variant: Omit<{
80676
80693
  type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
80677
80694
  default: string;
@@ -80814,6 +80831,10 @@ declare const VTreeview: {
80814
80831
  openAll: BooleanConstructor;
80815
80832
  search: StringConstructor;
80816
80833
  }, vue.ExtractPropTypes<{
80834
+ modelValue: {
80835
+ type: ArrayConstructor;
80836
+ default: () => never[];
80837
+ };
80817
80838
  variant: Omit<{
80818
80839
  type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
80819
80840
  default: string;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.0-beta.1-dev.2024-08-01
2
+ * Vuetify v3.7.0-beta.1-dev.2024-08-08
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -29742,7 +29742,11 @@ const makeVTreeviewProps = propsFactory({
29742
29742
  collapseIcon: '$treeviewCollapse',
29743
29743
  expandIcon: '$treeviewExpand',
29744
29744
  slim: true
29745
- }), ['nav', 'openStrategy'])
29745
+ }), ['nav', 'openStrategy']),
29746
+ modelValue: {
29747
+ type: Array,
29748
+ default: () => []
29749
+ }
29746
29750
  }, 'VTreeview');
29747
29751
  const VTreeview = genericComponent()({
29748
29752
  name: 'VTreeview',
@@ -29751,6 +29755,7 @@ const VTreeview = genericComponent()({
29751
29755
  'update:opened': val => true,
29752
29756
  'update:activated': val => true,
29753
29757
  'update:selected': val => true,
29758
+ 'update:modelValue': val => true,
29754
29759
  'click:open': value => true,
29755
29760
  'click:select': value => true
29756
29761
  },
@@ -29765,7 +29770,15 @@ const VTreeview = genericComponent()({
29765
29770
  const baseColor = toRef(props, 'baseColor');
29766
29771
  const color = toRef(props, 'color');
29767
29772
  const activated = useProxiedModel(props, 'activated');
29768
- const selected = useProxiedModel(props, 'selected');
29773
+ const model = useProxiedModel(props, 'modelValue');
29774
+ const _selected = useProxiedModel(props, 'selected', props.modelValue);
29775
+ const selected = computed({
29776
+ get: () => _selected.value,
29777
+ set(val) {
29778
+ _selected.value = val;
29779
+ model.value = val;
29780
+ }
29781
+ });
29769
29782
  const vListRef = ref();
29770
29783
  const opened = computed(() => props.openAll ? openAll(items.value) : props.opened);
29771
29784
  const flatItems = computed(() => flatten(items.value));
@@ -30356,7 +30369,7 @@ function createVuetify$1() {
30356
30369
  goTo
30357
30370
  };
30358
30371
  }
30359
- const version$1 = "3.7.0-beta.1-dev.2024-08-01";
30372
+ const version$1 = "3.7.0-beta.1-dev.2024-08-08";
30360
30373
  createVuetify$1.version = version$1;
30361
30374
 
30362
30375
  // Vue's inject() can only be used in setup
@@ -30609,7 +30622,7 @@ var index = /*#__PURE__*/Object.freeze({
30609
30622
 
30610
30623
  /* eslint-disable local-rules/sort-imports */
30611
30624
 
30612
- const version = "3.7.0-beta.1-dev.2024-08-01";
30625
+ const version = "3.7.0-beta.1-dev.2024-08-08";
30613
30626
 
30614
30627
  /* eslint-disable local-rules/sort-imports */
30615
30628