@vuetify/nightly 3.8.3-master.2025-05-04 → 3.8.4-dev.2025-05-07
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.
- package/CHANGELOG.md +14 -24
- package/dist/json/attributes.json +2834 -2826
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +156 -156
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +5151 -5131
- package/dist/vuetify-labs.cjs +163 -73
- package/dist/vuetify-labs.css +4647 -4620
- package/dist/vuetify-labs.d.ts +154 -377
- package/dist/vuetify-labs.esm.js +164 -74
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +163 -73
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +142 -40
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +5041 -5014
- package/dist/vuetify.d.ts +183 -406
- package/dist/vuetify.esm.js +143 -41
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +142 -40
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1182 -1173
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +3 -3
- package/lib/components/VAutocomplete/VAutocomplete.js +5 -0
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +6 -6
- package/lib/components/VBtnGroup/VBtnGroup.css +30 -7
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +58 -32
- package/lib/components/VBtnGroup/VBtnGroup.js +7 -3
- package/lib/components/VBtnGroup/VBtnGroup.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.sass +44 -17
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +25 -0
- package/lib/components/VCombobox/VCombobox.d.ts +3 -3
- package/lib/components/VDataTable/VDataTable.d.ts +110 -110
- package/lib/components/VDataTable/VDataTableHeaders.js +1 -2
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.d.ts +62 -189
- package/lib/components/VDataTable/VDataTableServer.js.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +62 -189
- package/lib/components/VDataTable/VDataTableVirtual.js.map +1 -1
- package/lib/components/VDataTable/composables/headers.d.ts +75 -75
- package/lib/components/VDatePicker/VDatePicker.d.ts +3 -3
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +6 -6
- package/lib/components/VDialog/VDialog.js +1 -1
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +4 -0
- package/lib/components/VFileInput/VFileInput.js +21 -3
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +4 -0
- package/lib/components/VInput/VInput.d.ts +1 -1
- package/lib/components/VNumberInput/VNumberInput.d.ts +3 -3
- package/lib/components/VOverlay/VOverlay.css +1 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VOverlay/locationStrategies.js +1 -1
- package/lib/components/VOverlay/locationStrategies.js.map +1 -1
- package/lib/components/VSelect/VSelect.d.ts +3 -3
- package/lib/components/VTabs/VTabs.d.ts +6 -6
- package/lib/components/transitions/dialog-transition.js +3 -3
- package/lib/components/transitions/dialog-transition.js.map +1 -1
- package/lib/composables/calendar.d.ts +1 -0
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/theme.d.ts +6 -1
- package/lib/composables/theme.js +94 -26
- package/lib/composables/theme.js.map +1 -1
- package/lib/composables/virtual.js +6 -1
- package/lib/composables/virtual.js.map +1 -1
- package/lib/entry-bundler.d.ts +6 -6
- package/lib/entry-bundler.js +1 -1
- package/lib/entry-bundler.js.map +1 -1
- package/lib/framework.d.ts +65 -60
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VCalendar/VCalendar.d.ts +3 -3
- package/lib/labs/VCalendar/VCalendarDay.d.ts +3 -3
- package/lib/labs/VCalendar/VCalendarInterval.d.ts +3 -3
- package/lib/labs/VCalendar/VCalendarMonthDay.d.ts +3 -3
- package/lib/labs/VDateInput/VDateInput.d.ts +9 -9
- package/lib/labs/VFileUpload/VFileUpload.js +19 -31
- package/lib/labs/VFileUpload/VFileUpload.js.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerClock.js +2 -2
- package/lib/labs/VTimePicker/VTimePickerClock.js.map +1 -1
- package/lib/util/globals.d.ts +1 -0
- package/lib/util/globals.js +1 -0
- package/lib/util/globals.js.map +1 -1
- package/lib/util/helpers.js.map +1 -1
- package/package.json +6 -6
@@ -1,7 +1,8 @@
|
|
1
1
|
import { provideExpanded } from './composables/expand.js';
|
2
2
|
import { provideSelection } from './composables/select.js';
|
3
|
+
import type { DeepReadonly } from 'vue';
|
3
4
|
import type { VDataTableSlotProps, VDataTableSlots } from './VDataTable.js';
|
4
|
-
import type { CellProps, RowProps } from "./types.js";
|
5
|
+
import type { CellProps, DataTableHeader, RowProps } from "./types.js";
|
5
6
|
import type { GenericProps, SelectItemKey } from "../../util/index.js";
|
6
7
|
export declare const makeVDataTableServerProps: <Defaults extends {
|
7
8
|
prevIcon?: unknown;
|
@@ -416,14 +417,14 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
416
417
|
default: unknown extends Defaults["returnObject"] ? boolean : boolean | Defaults["returnObject"];
|
417
418
|
};
|
418
419
|
headers: unknown extends Defaults["headers"] ? import("vue").PropType<readonly {
|
419
|
-
readonly key?:
|
420
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
420
421
|
readonly value?: SelectItemKey<Record<string, any>>;
|
421
422
|
readonly title?: string | undefined;
|
422
423
|
readonly fixed?: boolean | undefined;
|
423
|
-
readonly align?:
|
424
|
-
readonly width?:
|
425
|
-
readonly minWidth?:
|
426
|
-
readonly maxWidth?:
|
424
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
425
|
+
readonly width?: number | string | undefined;
|
426
|
+
readonly minWidth?: number | string | undefined;
|
427
|
+
readonly maxWidth?: number | string | undefined;
|
427
428
|
readonly nowrap?: boolean | undefined;
|
428
429
|
readonly headerProps?: {
|
429
430
|
readonly [x: string]: any;
|
@@ -436,14 +437,14 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
436
437
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
437
438
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
438
439
|
readonly children?: readonly {
|
439
|
-
readonly key?:
|
440
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
440
441
|
readonly value?: SelectItemKey<Record<string, any>>;
|
441
442
|
readonly title?: string | undefined;
|
442
443
|
readonly fixed?: boolean | undefined;
|
443
|
-
readonly align?:
|
444
|
-
readonly width?:
|
445
|
-
readonly minWidth?:
|
446
|
-
readonly maxWidth?:
|
444
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
445
|
+
readonly width?: number | string | undefined;
|
446
|
+
readonly minWidth?: number | string | undefined;
|
447
|
+
readonly maxWidth?: number | string | undefined;
|
447
448
|
readonly nowrap?: boolean | undefined;
|
448
449
|
readonly headerProps?: {
|
449
450
|
readonly [x: string]: any;
|
@@ -455,18 +456,18 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
455
456
|
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
456
457
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
457
458
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
458
|
-
readonly children?: readonly any[] | undefined;
|
459
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
459
460
|
}[] | undefined;
|
460
461
|
}[]> : {
|
461
462
|
type: import("vue").PropType<unknown extends Defaults["headers"] ? readonly {
|
462
|
-
readonly key?:
|
463
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
463
464
|
readonly value?: SelectItemKey<Record<string, any>>;
|
464
465
|
readonly title?: string | undefined;
|
465
466
|
readonly fixed?: boolean | undefined;
|
466
|
-
readonly align?:
|
467
|
-
readonly width?:
|
468
|
-
readonly minWidth?:
|
469
|
-
readonly maxWidth?:
|
467
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
468
|
+
readonly width?: number | string | undefined;
|
469
|
+
readonly minWidth?: number | string | undefined;
|
470
|
+
readonly maxWidth?: number | string | undefined;
|
470
471
|
readonly nowrap?: boolean | undefined;
|
471
472
|
readonly headerProps?: {
|
472
473
|
readonly [x: string]: any;
|
@@ -479,14 +480,14 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
479
480
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
480
481
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
481
482
|
readonly children?: readonly {
|
482
|
-
readonly key?:
|
483
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
483
484
|
readonly value?: SelectItemKey<Record<string, any>>;
|
484
485
|
readonly title?: string | undefined;
|
485
486
|
readonly fixed?: boolean | undefined;
|
486
|
-
readonly align?:
|
487
|
-
readonly width?:
|
488
|
-
readonly minWidth?:
|
489
|
-
readonly maxWidth?:
|
487
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
488
|
+
readonly width?: number | string | undefined;
|
489
|
+
readonly minWidth?: number | string | undefined;
|
490
|
+
readonly maxWidth?: number | string | undefined;
|
490
491
|
readonly nowrap?: boolean | undefined;
|
491
492
|
readonly headerProps?: {
|
492
493
|
readonly [x: string]: any;
|
@@ -498,17 +499,17 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
498
499
|
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
499
500
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
500
501
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
501
|
-
readonly children?: readonly any[] | undefined;
|
502
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
502
503
|
}[] | undefined;
|
503
504
|
}[] : readonly {
|
504
|
-
readonly key?:
|
505
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
505
506
|
readonly value?: SelectItemKey<Record<string, any>>;
|
506
507
|
readonly title?: string | undefined;
|
507
508
|
readonly fixed?: boolean | undefined;
|
508
|
-
readonly align?:
|
509
|
-
readonly width?:
|
510
|
-
readonly minWidth?:
|
511
|
-
readonly maxWidth?:
|
509
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
510
|
+
readonly width?: number | string | undefined;
|
511
|
+
readonly minWidth?: number | string | undefined;
|
512
|
+
readonly maxWidth?: number | string | undefined;
|
512
513
|
readonly nowrap?: boolean | undefined;
|
513
514
|
readonly headerProps?: {
|
514
515
|
readonly [x: string]: any;
|
@@ -521,14 +522,14 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
521
522
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
522
523
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
523
524
|
readonly children?: readonly {
|
524
|
-
readonly key?:
|
525
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
525
526
|
readonly value?: SelectItemKey<Record<string, any>>;
|
526
527
|
readonly title?: string | undefined;
|
527
528
|
readonly fixed?: boolean | undefined;
|
528
|
-
readonly align?:
|
529
|
-
readonly width?:
|
530
|
-
readonly minWidth?:
|
531
|
-
readonly maxWidth?:
|
529
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
530
|
+
readonly width?: number | string | undefined;
|
531
|
+
readonly minWidth?: number | string | undefined;
|
532
|
+
readonly maxWidth?: number | string | undefined;
|
532
533
|
readonly nowrap?: boolean | undefined;
|
533
534
|
readonly headerProps?: {
|
534
535
|
readonly [x: string]: any;
|
@@ -540,18 +541,18 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
540
541
|
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
541
542
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
542
543
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
543
|
-
readonly children?: readonly any[] | undefined;
|
544
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
544
545
|
}[] | undefined;
|
545
546
|
}[] | Defaults["headers"]>;
|
546
547
|
default: unknown extends Defaults["headers"] ? readonly {
|
547
|
-
readonly key?:
|
548
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
548
549
|
readonly value?: SelectItemKey<Record<string, any>>;
|
549
550
|
readonly title?: string | undefined;
|
550
551
|
readonly fixed?: boolean | undefined;
|
551
|
-
readonly align?:
|
552
|
-
readonly width?:
|
553
|
-
readonly minWidth?:
|
554
|
-
readonly maxWidth?:
|
552
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
553
|
+
readonly width?: number | string | undefined;
|
554
|
+
readonly minWidth?: number | string | undefined;
|
555
|
+
readonly maxWidth?: number | string | undefined;
|
555
556
|
readonly nowrap?: boolean | undefined;
|
556
557
|
readonly headerProps?: {
|
557
558
|
readonly [x: string]: any;
|
@@ -564,14 +565,14 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
564
565
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
565
566
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
566
567
|
readonly children?: readonly {
|
567
|
-
readonly key?:
|
568
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
568
569
|
readonly value?: SelectItemKey<Record<string, any>>;
|
569
570
|
readonly title?: string | undefined;
|
570
571
|
readonly fixed?: boolean | undefined;
|
571
|
-
readonly align?:
|
572
|
-
readonly width?:
|
573
|
-
readonly minWidth?:
|
574
|
-
readonly maxWidth?:
|
572
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
573
|
+
readonly width?: number | string | undefined;
|
574
|
+
readonly minWidth?: number | string | undefined;
|
575
|
+
readonly maxWidth?: number | string | undefined;
|
575
576
|
readonly nowrap?: boolean | undefined;
|
576
577
|
readonly headerProps?: {
|
577
578
|
readonly [x: string]: any;
|
@@ -583,17 +584,17 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
583
584
|
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
584
585
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
585
586
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
586
|
-
readonly children?: readonly any[] | undefined;
|
587
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
587
588
|
}[] | undefined;
|
588
589
|
}[] : readonly {
|
589
|
-
readonly key?:
|
590
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
590
591
|
readonly value?: SelectItemKey<Record<string, any>>;
|
591
592
|
readonly title?: string | undefined;
|
592
593
|
readonly fixed?: boolean | undefined;
|
593
|
-
readonly align?:
|
594
|
-
readonly width?:
|
595
|
-
readonly minWidth?:
|
596
|
-
readonly maxWidth?:
|
594
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
595
|
+
readonly width?: number | string | undefined;
|
596
|
+
readonly minWidth?: number | string | undefined;
|
597
|
+
readonly maxWidth?: number | string | undefined;
|
597
598
|
readonly nowrap?: boolean | undefined;
|
598
599
|
readonly headerProps?: {
|
599
600
|
readonly [x: string]: any;
|
@@ -606,14 +607,14 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
606
607
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
607
608
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
608
609
|
readonly children?: readonly {
|
609
|
-
readonly key?:
|
610
|
+
readonly key?: "data-table-group" | "data-table-select" | "data-table-expand" | (string & {}) | undefined;
|
610
611
|
readonly value?: SelectItemKey<Record<string, any>>;
|
611
612
|
readonly title?: string | undefined;
|
612
613
|
readonly fixed?: boolean | undefined;
|
613
|
-
readonly align?:
|
614
|
-
readonly width?:
|
615
|
-
readonly minWidth?:
|
616
|
-
readonly maxWidth?:
|
614
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
615
|
+
readonly width?: number | string | undefined;
|
616
|
+
readonly minWidth?: number | string | undefined;
|
617
|
+
readonly maxWidth?: number | string | undefined;
|
617
618
|
readonly nowrap?: boolean | undefined;
|
618
619
|
readonly headerProps?: {
|
619
620
|
readonly [x: string]: any;
|
@@ -625,7 +626,7 @@ export declare const makeVDataTableServerProps: <Defaults extends {
|
|
625
626
|
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
626
627
|
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
627
628
|
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
628
|
-
readonly children?: readonly any[] | undefined;
|
629
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
629
630
|
}[] | undefined;
|
630
631
|
}[] | Defaults["headers"];
|
631
632
|
};
|
@@ -789,49 +790,6 @@ export declare const VDataTableServer: {
|
|
789
790
|
loading?: string | boolean | undefined;
|
790
791
|
class?: any;
|
791
792
|
theme?: string | undefined;
|
792
|
-
headers?: readonly {
|
793
|
-
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
794
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
795
|
-
readonly title?: string | undefined;
|
796
|
-
readonly fixed?: boolean | undefined;
|
797
|
-
readonly align?: ("start" | "end" | "center") | undefined;
|
798
|
-
readonly width?: (number | string) | undefined;
|
799
|
-
readonly minWidth?: (number | string) | undefined;
|
800
|
-
readonly maxWidth?: (number | string) | undefined;
|
801
|
-
readonly nowrap?: boolean | undefined;
|
802
|
-
readonly headerProps?: {
|
803
|
-
readonly [x: string]: any;
|
804
|
-
} | undefined;
|
805
|
-
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
806
|
-
readonly [x: string]: any;
|
807
|
-
} | undefined;
|
808
|
-
readonly sortable?: boolean | undefined;
|
809
|
-
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
810
|
-
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
811
|
-
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
812
|
-
readonly children?: readonly {
|
813
|
-
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
814
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
815
|
-
readonly title?: string | undefined;
|
816
|
-
readonly fixed?: boolean | undefined;
|
817
|
-
readonly align?: ("start" | "end" | "center") | undefined;
|
818
|
-
readonly width?: (number | string) | undefined;
|
819
|
-
readonly minWidth?: (number | string) | undefined;
|
820
|
-
readonly maxWidth?: (number | string) | undefined;
|
821
|
-
readonly nowrap?: boolean | undefined;
|
822
|
-
readonly headerProps?: {
|
823
|
-
readonly [x: string]: any;
|
824
|
-
} | undefined;
|
825
|
-
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
826
|
-
readonly [x: string]: any;
|
827
|
-
} | undefined;
|
828
|
-
readonly sortable?: boolean | undefined;
|
829
|
-
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
830
|
-
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
831
|
-
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
832
|
-
readonly children?: readonly any[] | undefined;
|
833
|
-
}[] | undefined;
|
834
|
-
}[] | undefined;
|
835
793
|
mobileBreakpoint?: number | import("../../types.js").DisplayBreakpoint | undefined;
|
836
794
|
customKeySort?: Record<string, import("./types.js").DataTableCompareFunction> | undefined;
|
837
795
|
headerProps?: Record<string, any> | undefined;
|
@@ -850,7 +808,7 @@ export declare const VDataTableServer: {
|
|
850
808
|
'update:options': (options: any) => true;
|
851
809
|
'update:expanded': (options: any) => true;
|
852
810
|
'update:groupBy': (value: any) => true;
|
853
|
-
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "cellProps" | "items" | "itemValue" | "itemSelectable" | "rowProps" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "v-slot:no-data" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
811
|
+
}, "headers" | "$children" | "v-slots" | "v-slot:default" | "modelValue" | "cellProps" | "items" | "itemValue" | "itemSelectable" | "rowProps" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "v-slot:no-data" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
854
812
|
page: string | number;
|
855
813
|
expanded: readonly string[];
|
856
814
|
style: import("vue").StyleValue;
|
@@ -1003,49 +961,6 @@ export declare const VDataTableServer: {
|
|
1003
961
|
loading?: string | boolean | undefined;
|
1004
962
|
class?: any;
|
1005
963
|
theme?: string | undefined;
|
1006
|
-
headers?: readonly {
|
1007
|
-
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
1008
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1009
|
-
readonly title?: string | undefined;
|
1010
|
-
readonly fixed?: boolean | undefined;
|
1011
|
-
readonly align?: ("start" | "end" | "center") | undefined;
|
1012
|
-
readonly width?: (number | string) | undefined;
|
1013
|
-
readonly minWidth?: (number | string) | undefined;
|
1014
|
-
readonly maxWidth?: (number | string) | undefined;
|
1015
|
-
readonly nowrap?: boolean | undefined;
|
1016
|
-
readonly headerProps?: {
|
1017
|
-
readonly [x: string]: any;
|
1018
|
-
} | undefined;
|
1019
|
-
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
1020
|
-
readonly [x: string]: any;
|
1021
|
-
} | undefined;
|
1022
|
-
readonly sortable?: boolean | undefined;
|
1023
|
-
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
1024
|
-
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
1025
|
-
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
1026
|
-
readonly children?: readonly {
|
1027
|
-
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
1028
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1029
|
-
readonly title?: string | undefined;
|
1030
|
-
readonly fixed?: boolean | undefined;
|
1031
|
-
readonly align?: ("start" | "end" | "center") | undefined;
|
1032
|
-
readonly width?: (number | string) | undefined;
|
1033
|
-
readonly minWidth?: (number | string) | undefined;
|
1034
|
-
readonly maxWidth?: (number | string) | undefined;
|
1035
|
-
readonly nowrap?: boolean | undefined;
|
1036
|
-
readonly headerProps?: {
|
1037
|
-
readonly [x: string]: any;
|
1038
|
-
} | undefined;
|
1039
|
-
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
1040
|
-
readonly [x: string]: any;
|
1041
|
-
} | undefined;
|
1042
|
-
readonly sortable?: boolean | undefined;
|
1043
|
-
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
1044
|
-
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
1045
|
-
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
1046
|
-
readonly children?: readonly any[] | undefined;
|
1047
|
-
}[] | undefined;
|
1048
|
-
}[] | undefined;
|
1049
964
|
mobileBreakpoint?: number | import("../../types.js").DisplayBreakpoint | undefined;
|
1050
965
|
customKeySort?: Record<string, import("./types.js").DataTableCompareFunction> | undefined;
|
1051
966
|
headerProps?: Record<string, any> | undefined;
|
@@ -1161,49 +1076,6 @@ export declare const VDataTableServer: {
|
|
1161
1076
|
loading?: string | boolean | undefined;
|
1162
1077
|
class?: any;
|
1163
1078
|
theme?: string | undefined;
|
1164
|
-
headers?: readonly {
|
1165
|
-
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
1166
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1167
|
-
readonly title?: string | undefined;
|
1168
|
-
readonly fixed?: boolean | undefined;
|
1169
|
-
readonly align?: ("start" | "end" | "center") | undefined;
|
1170
|
-
readonly width?: (number | string) | undefined;
|
1171
|
-
readonly minWidth?: (number | string) | undefined;
|
1172
|
-
readonly maxWidth?: (number | string) | undefined;
|
1173
|
-
readonly nowrap?: boolean | undefined;
|
1174
|
-
readonly headerProps?: {
|
1175
|
-
readonly [x: string]: any;
|
1176
|
-
} | undefined;
|
1177
|
-
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
1178
|
-
readonly [x: string]: any;
|
1179
|
-
} | undefined;
|
1180
|
-
readonly sortable?: boolean | undefined;
|
1181
|
-
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
1182
|
-
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
1183
|
-
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
1184
|
-
readonly children?: readonly {
|
1185
|
-
readonly key?: ("data-table-group" | "data-table-select" | "data-table-expand" | (string & {})) | undefined;
|
1186
|
-
readonly value?: SelectItemKey<Record<string, any>>;
|
1187
|
-
readonly title?: string | undefined;
|
1188
|
-
readonly fixed?: boolean | undefined;
|
1189
|
-
readonly align?: ("start" | "end" | "center") | undefined;
|
1190
|
-
readonly width?: (number | string) | undefined;
|
1191
|
-
readonly minWidth?: (number | string) | undefined;
|
1192
|
-
readonly maxWidth?: (number | string) | undefined;
|
1193
|
-
readonly nowrap?: boolean | undefined;
|
1194
|
-
readonly headerProps?: {
|
1195
|
-
readonly [x: string]: any;
|
1196
|
-
} | undefined;
|
1197
|
-
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
1198
|
-
readonly [x: string]: any;
|
1199
|
-
} | undefined;
|
1200
|
-
readonly sortable?: boolean | undefined;
|
1201
|
-
readonly sort?: import("./types.js").DataTableCompareFunction | undefined;
|
1202
|
-
readonly sortRaw?: import("./types.js").DataTableCompareFunction | undefined;
|
1203
|
-
readonly filter?: import("../../types.js").FilterFunction | undefined;
|
1204
|
-
readonly children?: readonly any[] | undefined;
|
1205
|
-
}[] | undefined;
|
1206
|
-
}[] | undefined;
|
1207
1079
|
mobileBreakpoint?: number | import("../../types.js").DisplayBreakpoint | undefined;
|
1208
1080
|
customKeySort?: Record<string, import("./types.js").DataTableCompareFunction> | undefined;
|
1209
1081
|
headerProps?: Record<string, any> | undefined;
|
@@ -1222,7 +1094,7 @@ export declare const VDataTableServer: {
|
|
1222
1094
|
'update:options': (options: any) => true;
|
1223
1095
|
'update:expanded': (options: any) => true;
|
1224
1096
|
'update:groupBy': (value: any) => true;
|
1225
|
-
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "cellProps" | "items" | "itemValue" | "itemSelectable" | "rowProps" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "v-slot:no-data" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, string, {
|
1097
|
+
}, "headers" | "$children" | "v-slots" | "v-slot:default" | "modelValue" | "cellProps" | "items" | "itemValue" | "itemSelectable" | "rowProps" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "v-slot:no-data" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body" | "v-slot:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append" | "v-slot:footer.prepend">, string, {
|
1226
1098
|
page: string | number;
|
1227
1099
|
expanded: readonly string[];
|
1228
1100
|
style: import("vue").StyleValue;
|
@@ -1319,6 +1191,7 @@ export declare const VDataTableServer: {
|
|
1319
1191
|
rowProps?: RowProps<ItemType<T>>;
|
1320
1192
|
cellProps?: CellProps<ItemType<T>>;
|
1321
1193
|
itemSelectable?: SelectItemKey<ItemType<T>>;
|
1194
|
+
headers?: DeepReadonly<DataTableHeader<ItemType<T>>[]>;
|
1322
1195
|
modelValue?: V;
|
1323
1196
|
"onUpdate:modelValue"?: (value: V) => void;
|
1324
1197
|
}, slots: VDataTableSlots<ItemType<T>>) => GenericProps<typeof props, typeof slots>) & import("../../util/index.js").FilterPropsOptions<{
|
@@ -1447,7 +1320,7 @@ export declare const VDataTableServer: {
|
|
1447
1320
|
rowProps: import("vue").PropType<RowProps<any>>;
|
1448
1321
|
cellProps: import("vue").PropType<CellProps<any>>;
|
1449
1322
|
returnObject: BooleanConstructor;
|
1450
|
-
headers: import("vue").PropType<
|
1323
|
+
headers: import("vue").PropType<DeepReadonly<DataTableHeader[]>>;
|
1451
1324
|
groupBy: {
|
1452
1325
|
type: import("vue").PropType<readonly import("./composables/sort.js").SortItem[]>;
|
1453
1326
|
default: () => never[];
|
@@ -1610,7 +1483,7 @@ export declare const VDataTableServer: {
|
|
1610
1483
|
rowProps: import("vue").PropType<RowProps<any>>;
|
1611
1484
|
cellProps: import("vue").PropType<CellProps<any>>;
|
1612
1485
|
returnObject: BooleanConstructor;
|
1613
|
-
headers: import("vue").PropType<
|
1486
|
+
headers: import("vue").PropType<DeepReadonly<DataTableHeader[]>>;
|
1614
1487
|
groupBy: {
|
1615
1488
|
type: import("vue").PropType<readonly import("./composables/sort.js").SortItem[]>;
|
1616
1489
|
default: () => never[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDataTableServer.js","names":["makeDataTableProps","makeVDataTableFooterProps","VDataTableFooter","VDataTableHeaders","VDataTableRows","VDivider","VTable","provideExpanded","createGroupBy","provideGroupBy","useGroupedItems","createHeaders","useDataTableItems","useOptions","createPagination","makeDataTablePaginateProps","providePagination","provideSelection","createSort","provideSort","provideDefaults","computed","provide","toRef","toRefs","genericComponent","propsFactory","useRender","makeVDataTableServerProps","itemsLength","type","Number","String","required","VDataTableServer","name","props","emits","value","page","sortBy","options","setup","_ref","attrs","slots","groupBy","multiSort","mustSort","itemsPerPage","disableSort","parseInt","columns","headers","showSelect","showExpand","items","toggleSort","opened","isGroupOpen","toggleGroup","extractRows","pageCount","setItemsPerPage","flatItems","isSelected","select","selectAll","toggleSelect","someSelected","allSelected","allItems","currentPage","isExpanded","toggleExpand","itemsWithoutGroups","search","hideNoData","noDataText","loading","loadingText","slotProps","map","item","raw","internalItems","groupedItems","dataTableFooterProps","filterProps","dataTableHeadersProps","dataTableRowsProps","tableProps","_createVNode","_mergeProps","class","style","fixedHeader","sticky","top","default","_Fragment","colgroup","hideDefaultHeader","thead","hideDefaultBody","body","tbody","tfoot","bottom","hideDefaultFooter","prepend"],"sources":["../../../src/components/VDataTable/VDataTableServer.tsx"],"sourcesContent":["// Components\nimport { makeDataTableProps } from './VDataTable'\nimport { makeVDataTableFooterProps, VDataTableFooter } from './VDataTableFooter'\nimport { VDataTableHeaders } from './VDataTableHeaders'\nimport { VDataTableRows } from './VDataTableRows'\nimport { VDivider } from '@/components/VDivider'\nimport { VTable } from '@/components/VTable'\n\n// Composables\nimport { provideExpanded } from './composables/expand'\nimport { createGroupBy, provideGroupBy, useGroupedItems } from './composables/group'\nimport { createHeaders } from './composables/headers'\nimport { useDataTableItems } from './composables/items'\nimport { useOptions } from './composables/options'\nimport { createPagination, makeDataTablePaginateProps, providePagination } from './composables/paginate'\nimport { provideSelection } from './composables/select'\nimport { createSort, provideSort } from './composables/sort'\nimport { provideDefaults } from '@/composables/defaults'\n\n// Utilities\nimport { computed, provide, toRef, toRefs } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VDataTableSlotProps, VDataTableSlots } from './VDataTable'\nimport type { CellProps, RowProps } from '@/components/VDataTable/types'\nimport type { GenericProps, SelectItemKey } from '@/util'\n\nexport const makeVDataTableServerProps = propsFactory({\n itemsLength: {\n type: [Number, String],\n required: true,\n },\n\n ...makeDataTablePaginateProps(),\n ...makeDataTableProps(),\n ...makeVDataTableFooterProps(),\n}, 'VDataTableServer')\n\ntype ItemType<T> = T extends readonly (infer U)[] ? U : never\n\nexport const VDataTableServer = genericComponent<new <T extends readonly any[], V>(\n props: {\n items?: T\n itemValue?: SelectItemKey<ItemType<T>>\n rowProps?: RowProps<ItemType<T>>\n cellProps?: CellProps<ItemType<T>>\n itemSelectable?: SelectItemKey<ItemType<T>>\n modelValue?: V\n 'onUpdate:modelValue'?: (value: V) => void\n },\n slots: VDataTableSlots<ItemType<T>>,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDataTableServer',\n\n props: makeVDataTableServerProps(),\n\n emits: {\n 'update:modelValue': (value: any[]) => true,\n 'update:page': (page: number) => true,\n 'update:itemsPerPage': (page: number) => true,\n 'update:sortBy': (sortBy: any) => true,\n 'update:options': (options: any) => true,\n 'update:expanded': (options: any) => true,\n 'update:groupBy': (value: any) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { groupBy } = createGroupBy(props)\n const { sortBy, multiSort, mustSort } = createSort(props)\n const { page, itemsPerPage } = createPagination(props)\n const { disableSort } = toRefs(props)\n const itemsLength = computed(() => parseInt(props.itemsLength, 10))\n\n const { columns, headers } = createHeaders(props, {\n groupBy,\n showSelect: toRef(() => props.showSelect),\n showExpand: toRef(() => props.showExpand),\n })\n\n const { items } = useDataTableItems(props, columns)\n\n const { toggleSort } = provideSort({ sortBy, multiSort, mustSort, page })\n\n const { opened, isGroupOpen, toggleGroup, extractRows } = provideGroupBy({ groupBy, sortBy, disableSort })\n\n const { pageCount, setItemsPerPage } = providePagination({ page, itemsPerPage, itemsLength })\n\n const { flatItems } = useGroupedItems(items, groupBy, opened)\n\n const { isSelected, select, selectAll, toggleSelect, someSelected, allSelected } = provideSelection(props, {\n allItems: items,\n currentPage: items,\n })\n\n const { isExpanded, toggleExpand } = provideExpanded(props)\n\n const itemsWithoutGroups = computed(() => extractRows(items.value))\n\n useOptions({\n page,\n itemsPerPage,\n sortBy,\n groupBy,\n search: toRef(() => props.search),\n })\n\n provide('v-data-table', {\n toggleSort,\n sortBy,\n })\n\n provideDefaults({\n VDataTableRows: {\n hideNoData: toRef(() => props.hideNoData),\n noDataText: toRef(() => props.noDataText),\n loading: toRef(() => props.loading),\n loadingText: toRef(() => props.loadingText),\n },\n })\n\n const slotProps = computed<VDataTableSlotProps<any>>(() => ({\n page: page.value,\n itemsPerPage: itemsPerPage.value,\n sortBy: sortBy.value,\n pageCount: pageCount.value,\n toggleSort,\n setItemsPerPage,\n someSelected: someSelected.value,\n allSelected: allSelected.value,\n isSelected,\n select,\n selectAll,\n toggleSelect,\n isExpanded,\n toggleExpand,\n isGroupOpen,\n toggleGroup,\n items: itemsWithoutGroups.value.map(item => item.raw),\n internalItems: itemsWithoutGroups.value,\n groupedItems: flatItems.value,\n columns: columns.value,\n headers: headers.value,\n }))\n\n useRender(() => {\n const dataTableFooterProps = VDataTableFooter.filterProps(props)\n const dataTableHeadersProps = VDataTableHeaders.filterProps(props)\n const dataTableRowsProps = VDataTableRows.filterProps(props)\n const tableProps = VTable.filterProps(props)\n\n return (\n <VTable\n class={[\n 'v-data-table',\n {\n 'v-data-table--loading': props.loading,\n },\n props.class,\n ]}\n style={ props.style }\n { ...tableProps }\n fixedHeader={ props.fixedHeader || props.sticky }\n >\n {{\n top: () => slots.top?.(slotProps.value),\n default: () => slots.default ? slots.default(slotProps.value) : (\n <>\n { slots.colgroup?.(slotProps.value) }\n { !props.hideDefaultHeader && (\n <thead key=\"thead\" class=\"v-data-table__thead\" role=\"rowgroup\">\n <VDataTableHeaders\n { ...dataTableHeadersProps }\n v-slots={ slots }\n />\n </thead>\n )}\n { slots.thead?.(slotProps.value) }\n { !props.hideDefaultBody && (\n <tbody class=\"v-data-table__tbody\" role=\"rowgroup\">\n { slots['body.prepend']?.(slotProps.value) }\n { slots.body ? slots.body(slotProps.value) : (\n <VDataTableRows\n { ...attrs }\n { ...dataTableRowsProps }\n items={ flatItems.value }\n v-slots={ slots }\n />\n )}\n { slots['body.append']?.(slotProps.value) }\n </tbody>\n )}\n { slots.tbody?.(slotProps.value) }\n { slots.tfoot?.(slotProps.value) }\n </>\n ),\n bottom: () => slots.bottom ? slots.bottom(slotProps.value) : !props.hideDefaultFooter && (\n <>\n <VDivider />\n\n <VDataTableFooter\n { ...dataTableFooterProps }\n v-slots={{\n prepend: slots['footer.prepend'],\n }}\n />\n </>\n ),\n }}\n </VTable>\n )\n })\n },\n})\n\nexport type VDataTableServer = InstanceType<typeof VDataTableServer>\n"],"mappings":";AAAA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,yBAAyB,EAAEC,gBAAgB;AAAA,SAC3CC,iBAAiB;AAAA,SACjBC,cAAc;AAAA,SACdC,QAAQ;AAAA,SACRC,MAAM,8BAEf;AAAA,SACSC,eAAe;AAAA,SACfC,aAAa,EAAEC,cAAc,EAAEC,eAAe;AAAA,SAC9CC,aAAa;AAAA,SACbC,iBAAiB;AAAA,SACjBC,UAAU;AAAA,SACVC,gBAAgB,EAAEC,0BAA0B,EAAEC,iBAAiB;AAAA,SAC/DC,gBAAgB;AAAA,SAChBC,UAAU,EAAEC,WAAW;AAAA,SACvBC,eAAe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AA,IAElB/C,KAAK,CAAC,cAAc,CAAC,GAAGoC,SAAS,CAAC3C,KAAK,CAAC,EACxCO,KAAK,CAAC4D,IAAI,GAAG5D,KAAK,CAAC4D,IAAI,CAACxB,SAAS,CAAC3C,KAAK,CAAC,GAAAsD,YAAA,CAAAxF,cAAA,EAAAyF,WAAA,CAEjCjD,KAAK,EACL8C,kBAAkB;UAAA,SACf1B,SAAS,CAAC1B;QAAK,IACbO,KAAK,CAElB,EACCA,KAAK,CAAC,aAAa,CAAC,GAAGoC,SAAS,CAAC3C,KAAK,CAAC,EAE5C,EACCO,KAAK,CAAC6D,KAAK,GAAGzB,SAAS,CAAC3C,KAAK,CAAC,EAC9BO,KAAK,CAAC8D,KAAK,GAAG1B,SAAS,CAAC3C,KAAK,CAAC,EAEnC;QACDsE,MAAM,EAAEA,CAAA,KAAM/D,KAAK,CAAC+D,MAAM,GAAG/D,KAAK,CAAC+D,MAAM,CAAC3B,SAAS,CAAC3C,KAAK,CAAC,GAAG,CAACF,KAAK,CAACyE,iBAAiB,IAAAjB,YAAA,CAAAQ,SAAA,SAAAR,YAAA,CAAAvF,QAAA,eAAAuF,YAAA,CAAA1F,gBAAA,EAK1EqF,oBAAoB,EAChB;UACPuB,OAAO,EAAEjE,KAAK,CAAC,gBAAgB;QACjC,CAAC;MAGN;IAIT,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VDataTableServer.js","names":["makeDataTableProps","makeVDataTableFooterProps","VDataTableFooter","VDataTableHeaders","VDataTableRows","VDivider","VTable","provideExpanded","createGroupBy","provideGroupBy","useGroupedItems","createHeaders","useDataTableItems","useOptions","createPagination","makeDataTablePaginateProps","providePagination","provideSelection","createSort","provideSort","provideDefaults","computed","provide","toRef","toRefs","genericComponent","propsFactory","useRender","makeVDataTableServerProps","itemsLength","type","Number","String","required","VDataTableServer","name","props","emits","value","page","sortBy","options","setup","_ref","attrs","slots","groupBy","multiSort","mustSort","itemsPerPage","disableSort","parseInt","columns","headers","showSelect","showExpand","items","toggleSort","opened","isGroupOpen","toggleGroup","extractRows","pageCount","setItemsPerPage","flatItems","isSelected","select","selectAll","toggleSelect","someSelected","allSelected","allItems","currentPage","isExpanded","toggleExpand","itemsWithoutGroups","search","hideNoData","noDataText","loading","loadingText","slotProps","map","item","raw","internalItems","groupedItems","dataTableFooterProps","filterProps","dataTableHeadersProps","dataTableRowsProps","tableProps","_createVNode","_mergeProps","class","style","fixedHeader","sticky","top","default","_Fragment","colgroup","hideDefaultHeader","thead","hideDefaultBody","body","tbody","tfoot","bottom","hideDefaultFooter","prepend"],"sources":["../../../src/components/VDataTable/VDataTableServer.tsx"],"sourcesContent":["// Components\nimport { makeDataTableProps } from './VDataTable'\nimport { makeVDataTableFooterProps, VDataTableFooter } from './VDataTableFooter'\nimport { VDataTableHeaders } from './VDataTableHeaders'\nimport { VDataTableRows } from './VDataTableRows'\nimport { VDivider } from '@/components/VDivider'\nimport { VTable } from '@/components/VTable'\n\n// Composables\nimport { provideExpanded } from './composables/expand'\nimport { createGroupBy, provideGroupBy, useGroupedItems } from './composables/group'\nimport { createHeaders } from './composables/headers'\nimport { useDataTableItems } from './composables/items'\nimport { useOptions } from './composables/options'\nimport { createPagination, makeDataTablePaginateProps, providePagination } from './composables/paginate'\nimport { provideSelection } from './composables/select'\nimport { createSort, provideSort } from './composables/sort'\nimport { provideDefaults } from '@/composables/defaults'\n\n// Utilities\nimport { computed, provide, toRef, toRefs } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { DeepReadonly } from 'vue'\nimport type { VDataTableSlotProps, VDataTableSlots } from './VDataTable'\nimport type { CellProps, DataTableHeader, RowProps } from '@/components/VDataTable/types'\nimport type { GenericProps, SelectItemKey } from '@/util'\n\nexport const makeVDataTableServerProps = propsFactory({\n itemsLength: {\n type: [Number, String],\n required: true,\n },\n\n ...makeDataTablePaginateProps(),\n ...makeDataTableProps(),\n ...makeVDataTableFooterProps(),\n}, 'VDataTableServer')\n\ntype ItemType<T> = T extends readonly (infer U)[] ? U : never\n\nexport const VDataTableServer = genericComponent<new <T extends readonly any[], V>(\n props: {\n items?: T\n itemValue?: SelectItemKey<ItemType<T>>\n rowProps?: RowProps<ItemType<T>>\n cellProps?: CellProps<ItemType<T>>\n itemSelectable?: SelectItemKey<ItemType<T>>\n headers?: DeepReadonly<DataTableHeader<ItemType<T>>[]>\n modelValue?: V\n 'onUpdate:modelValue'?: (value: V) => void\n },\n slots: VDataTableSlots<ItemType<T>>,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDataTableServer',\n\n props: makeVDataTableServerProps(),\n\n emits: {\n 'update:modelValue': (value: any[]) => true,\n 'update:page': (page: number) => true,\n 'update:itemsPerPage': (page: number) => true,\n 'update:sortBy': (sortBy: any) => true,\n 'update:options': (options: any) => true,\n 'update:expanded': (options: any) => true,\n 'update:groupBy': (value: any) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { groupBy } = createGroupBy(props)\n const { sortBy, multiSort, mustSort } = createSort(props)\n const { page, itemsPerPage } = createPagination(props)\n const { disableSort } = toRefs(props)\n const itemsLength = computed(() => parseInt(props.itemsLength, 10))\n\n const { columns, headers } = createHeaders(props, {\n groupBy,\n showSelect: toRef(() => props.showSelect),\n showExpand: toRef(() => props.showExpand),\n })\n\n const { items } = useDataTableItems(props, columns)\n\n const { toggleSort } = provideSort({ sortBy, multiSort, mustSort, page })\n\n const { opened, isGroupOpen, toggleGroup, extractRows } = provideGroupBy({ groupBy, sortBy, disableSort })\n\n const { pageCount, setItemsPerPage } = providePagination({ page, itemsPerPage, itemsLength })\n\n const { flatItems } = useGroupedItems(items, groupBy, opened)\n\n const { isSelected, select, selectAll, toggleSelect, someSelected, allSelected } = provideSelection(props, {\n allItems: items,\n currentPage: items,\n })\n\n const { isExpanded, toggleExpand } = provideExpanded(props)\n\n const itemsWithoutGroups = computed(() => extractRows(items.value))\n\n useOptions({\n page,\n itemsPerPage,\n sortBy,\n groupBy,\n search: toRef(() => props.search),\n })\n\n provide('v-data-table', {\n toggleSort,\n sortBy,\n })\n\n provideDefaults({\n VDataTableRows: {\n hideNoData: toRef(() => props.hideNoData),\n noDataText: toRef(() => props.noDataText),\n loading: toRef(() => props.loading),\n loadingText: toRef(() => props.loadingText),\n },\n })\n\n const slotProps = computed<VDataTableSlotProps<any>>(() => ({\n page: page.value,\n itemsPerPage: itemsPerPage.value,\n sortBy: sortBy.value,\n pageCount: pageCount.value,\n toggleSort,\n setItemsPerPage,\n someSelected: someSelected.value,\n allSelected: allSelected.value,\n isSelected,\n select,\n selectAll,\n toggleSelect,\n isExpanded,\n toggleExpand,\n isGroupOpen,\n toggleGroup,\n items: itemsWithoutGroups.value.map(item => item.raw),\n internalItems: itemsWithoutGroups.value,\n groupedItems: flatItems.value,\n columns: columns.value,\n headers: headers.value,\n }))\n\n useRender(() => {\n const dataTableFooterProps = VDataTableFooter.filterProps(props)\n const dataTableHeadersProps = VDataTableHeaders.filterProps(props)\n const dataTableRowsProps = VDataTableRows.filterProps(props)\n const tableProps = VTable.filterProps(props)\n\n return (\n <VTable\n class={[\n 'v-data-table',\n {\n 'v-data-table--loading': props.loading,\n },\n props.class,\n ]}\n style={ props.style }\n { ...tableProps }\n fixedHeader={ props.fixedHeader || props.sticky }\n >\n {{\n top: () => slots.top?.(slotProps.value),\n default: () => slots.default ? slots.default(slotProps.value) : (\n <>\n { slots.colgroup?.(slotProps.value) }\n { !props.hideDefaultHeader && (\n <thead key=\"thead\" class=\"v-data-table__thead\" role=\"rowgroup\">\n <VDataTableHeaders\n { ...dataTableHeadersProps }\n v-slots={ slots }\n />\n </thead>\n )}\n { slots.thead?.(slotProps.value) }\n { !props.hideDefaultBody && (\n <tbody class=\"v-data-table__tbody\" role=\"rowgroup\">\n { slots['body.prepend']?.(slotProps.value) }\n { slots.body ? slots.body(slotProps.value) : (\n <VDataTableRows\n { ...attrs }\n { ...dataTableRowsProps }\n items={ flatItems.value }\n v-slots={ slots }\n />\n )}\n { slots['body.append']?.(slotProps.value) }\n </tbody>\n )}\n { slots.tbody?.(slotProps.value) }\n { slots.tfoot?.(slotProps.value) }\n </>\n ),\n bottom: () => slots.bottom ? slots.bottom(slotProps.value) : !props.hideDefaultFooter && (\n <>\n <VDivider />\n\n <VDataTableFooter\n { ...dataTableFooterProps }\n v-slots={{\n prepend: slots['footer.prepend'],\n }}\n />\n </>\n ),\n }}\n </VTable>\n )\n })\n },\n})\n\nexport type VDataTableServer = InstanceType<typeof VDataTableServer>\n"],"mappings":";AAAA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,yBAAyB,EAAEC,gBAAgB;AAAA,SAC3CC,iBAAiB;AAAA,SACjBC,cAAc;AAAA,SACdC,QAAQ;AAAA,SACRC,MAAM,8BAEf;AAAA,SACSC,eAAe;AAAA,SACfC,aAAa,EAAEC,cAAc,EAAEC,eAAe;AAAA,SAC9CC,aAAa;AAAA,SACbC,iBAAiB;AAAA,SACjBC,UAAU;AAAA,SACVC,gBAAgB,EAAEC,0BAA0B,EAAEC,iBAAiB;AAAA,SAC/DC,gBAAgB;AAAA,SAChBC,UAAU,EAAEC,WAAW;AAAA,SACvBC,eAAe,yCAExB;AACA,SAASC,QAAQ,EAAEC,OAAO,EAAEC,KAAK,EAAEC,MAAM,QAAQ,KAAK;AAAA,SAC7CC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,+BAElD;AAMA,OAAO,MAAMC,yBAAyB,GAAGF,YAAY,CAAC;EACpDG,WAAW,EAAE;IACXC,IAAI,EAAE,CAACC,MAAM,EAAEC,MAAM,CAAC;IACtBC,QAAQ,EAAE;EACZ,CAAC;EAED,GAAGlB,0BAA0B,CAAC,CAAC;EAC/B,GAAGf,kBAAkB,CAAC,CAAC;EACvB,GAAGC,yBAAyB,CAAC;AAC/B,CAAC,EAAE,kBAAkB,CAAC;AAItB,OAAO,MAAMiC,gBAAgB,GAAGT,gBAAgB,CAYD,CAAC,CAAC;EAC/CU,IAAI,EAAE,kBAA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