@vuetify/nightly 3.1.0-dev-20230104.0 → 3.1.0

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 (36) hide show
  1. package/CHANGELOG.md +14 -14
  2. package/dist/json/importMap.json +74 -74
  3. package/dist/vuetify-labs.d.ts +28 -2
  4. package/dist/vuetify-labs.js +31 -8
  5. package/dist/vuetify.css +952 -956
  6. package/dist/vuetify.d.ts +21 -21
  7. package/dist/vuetify.esm.js +19 -16
  8. package/dist/vuetify.esm.js.map +1 -1
  9. package/dist/vuetify.js +19 -16
  10. package/dist/vuetify.js.map +1 -1
  11. package/dist/vuetify.min.css +2 -2
  12. package/dist/vuetify.min.js +103 -103
  13. package/dist/vuetify.min.js.map +1 -1
  14. package/lib/components/VAvatar/VAvatar.mjs +2 -1
  15. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  16. package/lib/components/VDivider/VDivider.css +1 -1
  17. package/lib/components/VDivider/VDivider.sass +1 -0
  18. package/lib/components/VDivider/_variables.scss +2 -1
  19. package/lib/components/VList/VListItem.css +0 -4
  20. package/lib/components/VList/VListItem.sass +12 -6
  21. package/lib/entry-bundler.mjs +1 -1
  22. package/lib/entry-bundler.mjs.map +1 -1
  23. package/lib/framework.mjs +15 -13
  24. package/lib/framework.mjs.map +1 -1
  25. package/lib/index.d.ts +21 -21
  26. package/lib/labs/VDataTable/VDataTable.mjs +5 -2
  27. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  28. package/lib/labs/VDataTable/VDataTableRows.mjs +12 -1
  29. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  30. package/lib/labs/VDataTable/VDataTableServer.mjs +6 -3
  31. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  32. package/lib/labs/VDataTable/VDataTableVirtual.mjs +5 -2
  33. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  34. package/lib/labs/VDataTable/index.d.ts +28 -2
  35. package/lib/labs/components.d.ts +28 -2
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,28 +1,28 @@
1
- # [](https://github.com/vuetifyjs/vuetify/compare/v3.1.0-dev-20230104.0...v) (2023-01-04)
1
+ # [](https://github.com/vuetifyjs/vuetify/compare/v3.1.0...v) (2023-01-06)
2
2
 
3
3
 
4
4
 
5
- # [3.1.0-dev-20230104.0](https://github.com/vuetifyjs/vuetify/compare/v3.0.6...v3.1.0-dev-20230104.0) (2023-01-04)
5
+ # [3.1.0](https://github.com/vuetifyjs/vuetify/compare/v3.0.7...v3.1.0) (2023-01-05)
6
6
 
7
7
 
8
8
  ### Bug Fixes
9
9
 
10
- * build labs styles ([0ea9dc5](https://github.com/vuetifyjs/vuetify/commit/0ea9dc5ff4cdb0dff65b7934eff7812a3e72a25f))
11
- * **VColorPicker:** don't disable inheritAttrs ([84fcaa7](https://github.com/vuetifyjs/vuetify/commit/84fcaa769e42e346d3c59aca9ebda958e6a689e9)), closes [#16308](https://github.com/vuetifyjs/vuetify/issues/16308)
12
- * **VPagination:** set initial totalVisible from viewport width ([9d2bd38](https://github.com/vuetifyjs/vuetify/commit/9d2bd384e440910da61225d08a6b3702c1ff5fc5)), closes [#14590](https://github.com/vuetifyjs/vuetify/issues/14590)
13
- * **VRadioGroup:** correct aria attributes, force checked when readonly ([9ac9e17](https://github.com/vuetifyjs/vuetify/commit/9ac9e17eeb6eaa5e7347af5917ff91745de6d16a)), closes [#16323](https://github.com/vuetifyjs/vuetify/issues/16323)
14
- * **VSlider:** correct focus indicator position with changed text-align ([8c6bbc7](https://github.com/vuetifyjs/vuetify/commit/8c6bbc7103adcf64295daab787d36b6885ea909e)), closes [#16302](https://github.com/vuetifyjs/vuetify/issues/16302)
10
+ * build labs styles ([7ea58de](https://github.com/vuetifyjs/vuetify/commit/7ea58deafb5f81e055e8976eecf002ee81b844dc))
11
+ * **VAvatar:** apply cover to internal v-img ([937274e](https://github.com/vuetifyjs/vuetify/commit/937274e852f4f1732b7c8f6a3d928e0fb8066fa9))
12
+ * **VDivider:** use currentColor with opacity instead of rgba ([9c69f5f](https://github.com/vuetifyjs/vuetify/commit/9c69f5f9210321ed09998fa4332cdaa7818a170b))
13
+ * **VListItem:** don't apply line padding for negative values ([92033fe](https://github.com/vuetifyjs/vuetify/commit/92033fe15a16537f29e668b073c502a6e1f86c6a))
15
14
 
16
15
 
17
16
  ### Features
18
17
 
19
- * **labs:** add labs export ([#16341](https://github.com/vuetifyjs/vuetify/issues/16341)) ([cd013a9](https://github.com/vuetifyjs/vuetify/commit/cd013a9c3723a2657e11006a82ba153728e4c304))
20
- * **VBreadcrumbs:** improve DX when using explicit components ([#16229](https://github.com/vuetifyjs/vuetify/issues/16229)) ([a11e937](https://github.com/vuetifyjs/vuetify/commit/a11e937c624ee1bf58ab3a93f9139181f89e0612))
21
- * **VDataTable:** port to v3 ([#16235](https://github.com/vuetifyjs/vuetify/issues/16235)) ([807e729](https://github.com/vuetifyjs/vuetify/commit/807e7298c2e9e876b89dce8bdec1d218d8e04c26)), closes [#13479](https://github.com/vuetifyjs/vuetify/issues/13479)
22
- * **VIcon:** allow components in default slot ([#16168](https://github.com/vuetifyjs/vuetify/issues/16168)) ([aa0a697](https://github.com/vuetifyjs/vuetify/commit/aa0a697276f6ff412d9c8c04fa9956d8dee7e0c7)), closes [#15164](https://github.com/vuetifyjs/vuetify/issues/15164)
23
- * **VNavigationDrawer:** add rail prop v-model support ([#16352](https://github.com/vuetifyjs/vuetify/issues/16352)) ([22f591b](https://github.com/vuetifyjs/vuetify/commit/22f591bfb56ae641eac0090a6db60800595430bd)), closes [#16022](https://github.com/vuetifyjs/vuetify/issues/16022)
24
- * **VVirtualScroll:** move to labs ([f7f10c0](https://github.com/vuetifyjs/vuetify/commit/f7f10c0146b3cea67b09cf4786f2233715e4fafb))
25
- * **VVirtualScroll:** port to v3 ([#15585](https://github.com/vuetifyjs/vuetify/issues/15585)) ([bd646e8](https://github.com/vuetifyjs/vuetify/commit/bd646e8aa348789b43679c837dc6efa4dc19f376))
18
+ * **labs:** add labs export ([#16341](https://github.com/vuetifyjs/vuetify/issues/16341)) ([866126d](https://github.com/vuetifyjs/vuetify/commit/866126d9c3141f3e44988b49bbe57444611c2124))
19
+ * **VBreadcrumbs:** improve DX when using explicit components ([#16229](https://github.com/vuetifyjs/vuetify/issues/16229)) ([cdb8e15](https://github.com/vuetifyjs/vuetify/commit/cdb8e155d9458722cb195f4964a536e87b41ece4))
20
+ * **VDataTable:** add click:row event ([232c66c](https://github.com/vuetifyjs/vuetify/commit/232c66c0428f4e51c2a007fa5d51dfe72310f129))
21
+ * **VDataTable:** port to v3 ([#16235](https://github.com/vuetifyjs/vuetify/issues/16235)) ([d99b330](https://github.com/vuetifyjs/vuetify/commit/d99b330aadc4f9d777957e42dd24b25dbd85aaf2)), closes [#13479](https://github.com/vuetifyjs/vuetify/issues/13479)
22
+ * **VIcon:** allow components in default slot ([#16168](https://github.com/vuetifyjs/vuetify/issues/16168)) ([2f6849c](https://github.com/vuetifyjs/vuetify/commit/2f6849c7768578a4d2f13ba7f5805f57515732fe)), closes [#15164](https://github.com/vuetifyjs/vuetify/issues/15164)
23
+ * **VNavigationDrawer:** add rail prop v-model support ([#16352](https://github.com/vuetifyjs/vuetify/issues/16352)) ([76df6c9](https://github.com/vuetifyjs/vuetify/commit/76df6c9f0afd92adac6cdd3def29a25b0212c16b)), closes [#16022](https://github.com/vuetifyjs/vuetify/issues/16022)
24
+ * **VVirtualScroll:** move to labs ([c7bcdb5](https://github.com/vuetifyjs/vuetify/commit/c7bcdb5f85e2ba160efef97748b70126b8f8697c))
25
+ * **VVirtualScroll:** port to v3 ([#15585](https://github.com/vuetifyjs/vuetify/issues/15585)) ([c643dc6](https://github.com/vuetifyjs/vuetify/commit/c643dc6f1bbce741a618de6e70b0a966286e8905))
26
26
 
27
27
 
28
28
 
@@ -4,10 +4,6 @@
4
4
  "from": "components/VDefaultsProvider/index.mjs",
5
5
  "styles": []
6
6
  },
7
- "VHover": {
8
- "from": "components/VHover/index.mjs",
9
- "styles": []
10
- },
11
7
  "VForm": {
12
8
  "from": "components/VForm/index.mjs",
13
9
  "styles": []
@@ -28,6 +24,10 @@
28
24
  "from": "components/VGrid/index.mjs",
29
25
  "styles": []
30
26
  },
27
+ "VHover": {
28
+ "from": "components/VHover/index.mjs",
29
+ "styles": []
30
+ },
31
31
  "VLayout": {
32
32
  "from": "components/VLayout/index.mjs",
33
33
  "styles": []
@@ -48,14 +48,14 @@
48
48
  "from": "components/VNoSsr/index.mjs",
49
49
  "styles": []
50
50
  },
51
- "VRadio": {
52
- "from": "components/VRadio/index.mjs",
53
- "styles": []
54
- },
55
51
  "VParallax": {
56
52
  "from": "components/VParallax/index.mjs",
57
53
  "styles": []
58
54
  },
55
+ "VRadio": {
56
+ "from": "components/VRadio/index.mjs",
57
+ "styles": []
58
+ },
59
59
  "VRangeSlider": {
60
60
  "from": "components/VRangeSlider/index.mjs",
61
61
  "styles": []
@@ -136,8 +136,12 @@
136
136
  "from": "components/transitions/index.mjs",
137
137
  "styles": []
138
138
  },
139
- "VApp": {
140
- "from": "components/VApp/index.mjs",
139
+ "VAlert": {
140
+ "from": "components/VAlert/index.mjs",
141
+ "styles": []
142
+ },
143
+ "VAlertTitle": {
144
+ "from": "components/VAlert/index.mjs",
141
145
  "styles": []
142
146
  },
143
147
  "VAppBar": {
@@ -152,14 +156,6 @@
152
156
  "from": "components/VAppBar/index.mjs",
153
157
  "styles": []
154
158
  },
155
- "VAlert": {
156
- "from": "components/VAlert/index.mjs",
157
- "styles": []
158
- },
159
- "VAlertTitle": {
160
- "from": "components/VAlert/index.mjs",
161
- "styles": []
162
- },
163
159
  "VAutocomplete": {
164
160
  "from": "components/VAutocomplete/index.mjs",
165
161
  "styles": []
@@ -184,10 +180,6 @@
184
180
  "from": "components/VBanner/index.mjs",
185
181
  "styles": []
186
182
  },
187
- "VBottomNavigation": {
188
- "from": "components/VBottomNavigation/index.mjs",
189
- "styles": []
190
- },
191
183
  "VBreadcrumbs": {
192
184
  "from": "components/VBreadcrumbs/index.mjs",
193
185
  "styles": []
@@ -200,18 +192,30 @@
200
192
  "from": "components/VBreadcrumbs/index.mjs",
201
193
  "styles": []
202
194
  },
203
- "VBtn": {
204
- "from": "components/VBtn/index.mjs",
195
+ "VBottomNavigation": {
196
+ "from": "components/VBottomNavigation/index.mjs",
205
197
  "styles": []
206
198
  },
207
199
  "VBtnGroup": {
208
200
  "from": "components/VBtnGroup/index.mjs",
209
201
  "styles": []
210
202
  },
203
+ "VBtn": {
204
+ "from": "components/VBtn/index.mjs",
205
+ "styles": []
206
+ },
211
207
  "VBtnToggle": {
212
208
  "from": "components/VBtnToggle/index.mjs",
213
209
  "styles": []
214
210
  },
211
+ "VCheckbox": {
212
+ "from": "components/VCheckbox/index.mjs",
213
+ "styles": []
214
+ },
215
+ "VCheckboxBtn": {
216
+ "from": "components/VCheckbox/index.mjs",
217
+ "styles": []
218
+ },
215
219
  "VCard": {
216
220
  "from": "components/VCard/index.mjs",
217
221
  "styles": []
@@ -248,22 +252,14 @@
248
252
  "from": "components/VChip/index.mjs",
249
253
  "styles": []
250
254
  },
251
- "VCheckbox": {
252
- "from": "components/VCheckbox/index.mjs",
253
- "styles": []
254
- },
255
- "VCheckboxBtn": {
256
- "from": "components/VCheckbox/index.mjs",
255
+ "VCode": {
256
+ "from": "components/VCode/index.mjs",
257
257
  "styles": []
258
258
  },
259
259
  "VChipGroup": {
260
260
  "from": "components/VChipGroup/index.mjs",
261
261
  "styles": []
262
262
  },
263
- "VCode": {
264
- "from": "components/VCode/index.mjs",
265
- "styles": []
266
- },
267
263
  "VColorPicker": {
268
264
  "from": "components/VColorPicker/index.mjs",
269
265
  "styles": []
@@ -276,6 +272,10 @@
276
272
  "from": "components/VCounter/index.mjs",
277
273
  "styles": []
278
274
  },
275
+ "VApp": {
276
+ "from": "components/VApp/index.mjs",
277
+ "styles": []
278
+ },
279
279
  "VDialog": {
280
280
  "from": "components/VDialog/index.mjs",
281
281
  "styles": []
@@ -284,6 +284,10 @@
284
284
  "from": "components/VDivider/index.mjs",
285
285
  "styles": []
286
286
  },
287
+ "VFileInput": {
288
+ "from": "components/VFileInput/index.mjs",
289
+ "styles": []
290
+ },
287
291
  "VExpansionPanels": {
288
292
  "from": "components/VExpansionPanel/index.mjs",
289
293
  "styles": []
@@ -312,10 +316,6 @@
312
316
  "from": "components/VFooter/index.mjs",
313
317
  "styles": []
314
318
  },
315
- "VFileInput": {
316
- "from": "components/VFileInput/index.mjs",
317
- "styles": []
318
- },
319
319
  "VIcon": {
320
320
  "from": "components/VIcon/index.mjs",
321
321
  "styles": []
@@ -336,12 +336,16 @@
336
336
  "from": "components/VIcon/index.mjs",
337
337
  "styles": []
338
338
  },
339
+ "VInput": {
340
+ "from": "components/VInput/index.mjs",
341
+ "styles": []
342
+ },
339
343
  "VImg": {
340
344
  "from": "components/VImg/index.mjs",
341
345
  "styles": []
342
346
  },
343
- "VInput": {
344
- "from": "components/VInput/index.mjs",
347
+ "VKbd": {
348
+ "from": "components/VKbd/index.mjs",
345
349
  "styles": []
346
350
  },
347
351
  "VItemGroup": {
@@ -352,10 +356,6 @@
352
356
  "from": "components/VItemGroup/index.mjs",
353
357
  "styles": []
354
358
  },
355
- "VKbd": {
356
- "from": "components/VKbd/index.mjs",
357
- "styles": []
358
- },
359
359
  "VLabel": {
360
360
  "from": "components/VLabel/index.mjs",
361
361
  "styles": []
@@ -396,14 +396,6 @@
396
396
  "from": "components/VList/index.mjs",
397
397
  "styles": []
398
398
  },
399
- "VMain": {
400
- "from": "components/VMain/index.mjs",
401
- "styles": []
402
- },
403
- "VMenu": {
404
- "from": "components/VMenu/index.mjs",
405
- "styles": []
406
- },
407
399
  "VMessages": {
408
400
  "from": "components/VMessages/index.mjs",
409
401
  "styles": []
@@ -412,6 +404,10 @@
412
404
  "from": "components/VNavigationDrawer/index.mjs",
413
405
  "styles": []
414
406
  },
407
+ "VMenu": {
408
+ "from": "components/VMenu/index.mjs",
409
+ "styles": []
410
+ },
415
411
  "VOverlay": {
416
412
  "from": "components/VOverlay/index.mjs",
417
413
  "styles": []
@@ -428,14 +424,14 @@
428
424
  "from": "components/VProgressLinear/index.mjs",
429
425
  "styles": []
430
426
  },
431
- "VRadioGroup": {
432
- "from": "components/VRadioGroup/index.mjs",
433
- "styles": []
434
- },
435
427
  "VRating": {
436
428
  "from": "components/VRating/index.mjs",
437
429
  "styles": []
438
430
  },
431
+ "VRadioGroup": {
432
+ "from": "components/VRadioGroup/index.mjs",
433
+ "styles": []
434
+ },
439
435
  "VSelect": {
440
436
  "from": "components/VSelect/index.mjs",
441
437
  "styles": []
@@ -452,6 +448,10 @@
452
448
  "from": "components/VSheet/index.mjs",
453
449
  "styles": []
454
450
  },
451
+ "VSlider": {
452
+ "from": "components/VSlider/index.mjs",
453
+ "styles": []
454
+ },
455
455
  "VSlideGroup": {
456
456
  "from": "components/VSlideGroup/index.mjs",
457
457
  "styles": []
@@ -460,20 +460,20 @@
460
460
  "from": "components/VSlideGroup/index.mjs",
461
461
  "styles": []
462
462
  },
463
- "VSlider": {
464
- "from": "components/VSlider/index.mjs",
465
- "styles": []
466
- },
467
463
  "VSnackbar": {
468
464
  "from": "components/VSnackbar/index.mjs",
469
465
  "styles": []
470
466
  },
467
+ "VSystemBar": {
468
+ "from": "components/VSystemBar/index.mjs",
469
+ "styles": []
470
+ },
471
471
  "VSwitch": {
472
472
  "from": "components/VSwitch/index.mjs",
473
473
  "styles": []
474
474
  },
475
- "VSystemBar": {
476
- "from": "components/VSystemBar/index.mjs",
475
+ "VTable": {
476
+ "from": "components/VTable/index.mjs",
477
477
  "styles": []
478
478
  },
479
479
  "VTabs": {
@@ -484,22 +484,10 @@
484
484
  "from": "components/VTabs/index.mjs",
485
485
  "styles": []
486
486
  },
487
- "VTable": {
488
- "from": "components/VTable/index.mjs",
489
- "styles": []
490
- },
491
487
  "VTextarea": {
492
488
  "from": "components/VTextarea/index.mjs",
493
489
  "styles": []
494
490
  },
495
- "VTimeline": {
496
- "from": "components/VTimeline/index.mjs",
497
- "styles": []
498
- },
499
- "VTimelineItem": {
500
- "from": "components/VTimeline/index.mjs",
501
- "styles": []
502
- },
503
491
  "VTextField": {
504
492
  "from": "components/VTextField/index.mjs",
505
493
  "styles": []
@@ -516,6 +504,14 @@
516
504
  "from": "components/VToolbar/index.mjs",
517
505
  "styles": []
518
506
  },
507
+ "VTimeline": {
508
+ "from": "components/VTimeline/index.mjs",
509
+ "styles": []
510
+ },
511
+ "VTimelineItem": {
512
+ "from": "components/VTimeline/index.mjs",
513
+ "styles": []
514
+ },
519
515
  "VTooltip": {
520
516
  "from": "components/VTooltip/index.mjs",
521
517
  "styles": []
@@ -527,6 +523,10 @@
527
523
  "VWindowItem": {
528
524
  "from": "components/VWindow/index.mjs",
529
525
  "styles": []
526
+ },
527
+ "VMain": {
528
+ "from": "components/VMain/index.mjs",
529
+ "styles": []
530
530
  }
531
531
  },
532
532
  "directives": [
@@ -145,6 +145,9 @@ declare const VDataTable: vue.DefineComponent<{
145
145
  'update:options': (value: any) => true;
146
146
  'update:groupBy': (value: any) => true;
147
147
  'update:expanded': (value: any) => true;
148
+ 'click:row': (event: Event, value: {
149
+ item: DataTableItem;
150
+ }) => true;
148
151
  }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
149
152
  customFilter: vue.PropType<FilterFunction>;
150
153
  customKeyFilter: vue.PropType<FilterKeyFunctions>;
@@ -225,6 +228,9 @@ declare const VDataTable: vue.DefineComponent<{
225
228
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
226
229
  "onUpdate:sortBy"?: ((value: any) => any) | undefined;
227
230
  "onUpdate:expanded"?: ((value: any) => any) | undefined;
231
+ "onClick:row"?: ((event: Event, value: {
232
+ item: DataTableItem;
233
+ }) => any) | undefined;
228
234
  "onUpdate:page"?: ((value: number) => any) | undefined;
229
235
  "onUpdate:itemsPerPage"?: ((value: number) => any) | undefined;
230
236
  "onUpdate:options"?: ((value: any) => any) | undefined;
@@ -273,7 +279,11 @@ declare const VDataTableRows: vue.DefineComponent<{
273
279
  default: string;
274
280
  };
275
281
  rowHeight: NumberConstructor;
276
- }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
282
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
283
+ 'click:row': (event: Event, value: {
284
+ item: DataTableItem;
285
+ }) => true;
286
+ }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
277
287
  loading: (StringConstructor | BooleanConstructor)[];
278
288
  loadingText: {
279
289
  type: StringConstructor;
@@ -289,7 +299,11 @@ declare const VDataTableRows: vue.DefineComponent<{
289
299
  default: string;
290
300
  };
291
301
  rowHeight: NumberConstructor;
292
- }>>, {
302
+ }>> & {
303
+ "onClick:row"?: ((event: Event, value: {
304
+ item: DataTableItem;
305
+ }) => any) | undefined;
306
+ }, {
293
307
  noDataText: string;
294
308
  loadingText: string;
295
309
  items: InternalDataTableItem[];
@@ -386,6 +400,9 @@ declare const VDataTableVirtual: vue.DefineComponent<{
386
400
  'update:options': (value: any) => true;
387
401
  'update:groupBy': (value: any) => true;
388
402
  'update:expanded': (value: any) => true;
403
+ 'click:row': (event: Event, value: {
404
+ item: DataTableItem;
405
+ }) => true;
389
406
  }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
390
407
  customFilter: vue.PropType<FilterFunction>;
391
408
  customKeyFilter: vue.PropType<FilterKeyFunctions>;
@@ -466,6 +483,9 @@ declare const VDataTableVirtual: vue.DefineComponent<{
466
483
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
467
484
  "onUpdate:sortBy"?: ((value: any) => any) | undefined;
468
485
  "onUpdate:expanded"?: ((value: any) => any) | undefined;
486
+ "onClick:row"?: ((event: Event, value: {
487
+ item: DataTableItem;
488
+ }) => any) | undefined;
469
489
  "onUpdate:options"?: ((value: any) => any) | undefined;
470
490
  "onUpdate:groupBy"?: ((value: any) => any) | undefined;
471
491
  }, {
@@ -573,6 +593,9 @@ declare const VDataTableServer: vue.DefineComponent<{
573
593
  'update:sortBy': (sortBy: any) => true;
574
594
  'update:options': (options: any) => true;
575
595
  'update:expanded': (options: any) => true;
596
+ 'click:row': (event: Event, value: {
597
+ item: DataTableItem;
598
+ }) => true;
576
599
  }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
577
600
  page: {
578
601
  type: (StringConstructor | NumberConstructor)[];
@@ -647,6 +670,9 @@ declare const VDataTableServer: vue.DefineComponent<{
647
670
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
648
671
  "onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
649
672
  "onUpdate:expanded"?: ((options: any) => any) | undefined;
673
+ "onClick:row"?: ((event: Event, value: {
674
+ item: DataTableItem;
675
+ }) => any) | undefined;
650
676
  "onUpdate:page"?: ((page: number) => any) | undefined;
651
677
  "onUpdate:itemsPerPage"?: ((page: number) => any) | undefined;
652
678
  "onUpdate:options"?: ((options: any) => any) | undefined;
@@ -4589,8 +4589,12 @@
4589
4589
  },
4590
4590
  rowHeight: Number
4591
4591
  },
4592
+ emits: {
4593
+ 'click:row': (event, value) => true
4594
+ },
4592
4595
  setup(props, _ref) {
4593
4596
  let {
4597
+ emit,
4594
4598
  slots
4595
4599
  } = _ref;
4596
4600
  const {
@@ -4626,7 +4630,14 @@
4626
4630
  }
4627
4631
  return vue.createVNode(vue.Fragment, null, [vue.createVNode(VDataTableRow, {
4628
4632
  "key": `item_${item.value}`,
4629
- "onClick": expandOnClick.value ? () => expand(item, !expanded.value.has(item.value)) : undefined,
4633
+ "onClick": event => {
4634
+ if (expandOnClick.value) {
4635
+ expand(item, !expanded.value.has(item.value));
4636
+ }
4637
+ emit('click:row', event, {
4638
+ item
4639
+ });
4640
+ },
4630
4641
  "item": item
4631
4642
  }, slots), expanded.value.has(item.value) && ((_slots$expandedRow = slots['expanded-row']) == null ? void 0 : _slots$expandedRow.call(slots, {
4632
4643
  item,
@@ -5594,7 +5605,8 @@
5594
5605
  default: () => [props.image ? vue.createVNode(VImg, {
5595
5606
  "key": "image",
5596
5607
  "src": props.image,
5597
- "alt": ""
5608
+ "alt": "",
5609
+ "cover": true
5598
5610
  }, null) : props.icon ? vue.createVNode(VIcon, {
5599
5611
  "key": "icon",
5600
5612
  "icon": props.icon
@@ -9162,10 +9174,12 @@
9162
9174
  'update:sortBy': value => true,
9163
9175
  'update:options': value => true,
9164
9176
  'update:groupBy': value => true,
9165
- 'update:expanded': value => true
9177
+ 'update:expanded': value => true,
9178
+ 'click:row': (event, value) => true
9166
9179
  },
9167
9180
  setup(props, _ref) {
9168
9181
  let {
9182
+ emit,
9169
9183
  slots
9170
9184
  } = _ref;
9171
9185
  const groupBy = useProxiedModel(props, 'groupBy');
@@ -9240,7 +9254,8 @@
9240
9254
  "sticky": props.fixedHeader,
9241
9255
  "multiSort": props.multiSort
9242
9256
  }, slots)]), (_slots$thead = slots.thead) == null ? void 0 : _slots$thead.call(slots), vue.createVNode("tbody", null, [slots.body ? slots.body() : vue.createVNode(VDataTableRows, {
9243
- "items": paginatedItems.value
9257
+ "items": paginatedItems.value,
9258
+ "onClick:row": (event, value) => emit('click:row', event, value)
9244
9259
  }, slots)]), (_slots$tbody = slots.tbody) == null ? void 0 : _slots$tbody.call(slots), (_slots$tfoot = slots.tfoot) == null ? void 0 : _slots$tfoot.call(slots)]);
9245
9260
  },
9246
9261
  bottom: slots.bottom ? slots.bottom() : () => vue.createVNode(VDataTableFooter, null, {
@@ -9351,10 +9366,12 @@
9351
9366
  'update:sortBy': value => true,
9352
9367
  'update:options': value => true,
9353
9368
  'update:groupBy': value => true,
9354
- 'update:expanded': value => true
9369
+ 'update:expanded': value => true,
9370
+ 'click:row': (event, value) => true
9355
9371
  },
9356
9372
  setup(props, _ref) {
9357
9373
  let {
9374
+ emit,
9358
9375
  slots
9359
9376
  } = _ref;
9360
9377
  const groupBy = useProxiedModel(props, 'groupBy');
@@ -9445,7 +9462,8 @@
9445
9462
  border: 0
9446
9463
  }
9447
9464
  }, null)]), vue.createVNode(VDataTableRows, {
9448
- "items": visibleItems.value
9465
+ "items": visibleItems.value,
9466
+ "onClick:row": (event, value) => emit('click:row', event, value)
9449
9467
  }, slots), vue.createVNode("tr", {
9450
9468
  "style": {
9451
9469
  height: convertToUnit(paddingBottom.value),
@@ -9463,6 +9481,8 @@
9463
9481
  }
9464
9482
  });
9465
9483
 
9484
+ // Types
9485
+
9466
9486
  const VDataTableServer = defineComponent({
9467
9487
  name: 'VDataTableServer',
9468
9488
  props: {
@@ -9487,10 +9507,12 @@
9487
9507
  'update:itemsPerPage': page => true,
9488
9508
  'update:sortBy': sortBy => true,
9489
9509
  'update:options': options => true,
9490
- 'update:expanded': options => true
9510
+ 'update:expanded': options => true,
9511
+ 'click:row': (event, value) => true
9491
9512
  },
9492
9513
  setup(props, _ref) {
9493
9514
  let {
9515
+ emit,
9494
9516
  slots
9495
9517
  } = _ref;
9496
9518
  createExpanded(props);
@@ -9557,7 +9579,8 @@
9557
9579
  "class": "v-data-table__tbody",
9558
9580
  "role": "rowgroup"
9559
9581
  }, [slots.body ? slots.body() : vue.createVNode(VDataTableRows, {
9560
- "items": items.value
9582
+ "items": items.value,
9583
+ "onClick:row": (event, value) => emit('click:row', event, value)
9561
9584
  }, slots)]), (_slots$tbody = slots.tbody) == null ? void 0 : _slots$tbody.call(slots), (_slots$tfoot = slots.tfoot) == null ? void 0 : _slots$tfoot.call(slots)]);
9562
9585
  },
9563
9586
  bottom: slots.bottom ? slots.bottom() : () => vue.createVNode(VDataTableFooter, null, {