@vuetify/nightly 3.7.18-dev.2025-03-19 → 3.7.18-dev.2025-03-20
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 +4 -3
- package/dist/json/attributes.json +3574 -3574
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +156 -156
- package/dist/json/web-types.json +6436 -6436
- package/dist/vuetify-labs.cjs +3 -3
- package/dist/vuetify-labs.css +4390 -4390
- package/dist/vuetify-labs.d.ts +13177 -13474
- package/dist/vuetify-labs.esm.js +3 -3
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +3 -3
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +3 -3
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3862 -3862
- package/dist/vuetify.d.ts +9272 -9569
- package/dist/vuetify.esm.js +3 -3
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +3 -3
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +3 -3
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.d.ts +12 -12
- package/lib/components/VAppBar/VAppBar.d.ts +6 -6
- package/lib/components/VAppBar/VAppBarNavIcon.d.ts +6 -6
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +179 -207
- package/lib/components/VAvatar/VAvatar.d.ts +6 -6
- package/lib/components/VBadge/VBadge.d.ts +3 -3
- package/lib/components/VBanner/VBanner.d.ts +6 -6
- package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +6 -6
- package/lib/components/VBottomSheet/VBottomSheet.d.ts +30 -50
- package/lib/components/VBreadcrumbs/VBreadcrumbs.d.ts +6 -6
- package/lib/components/VBtn/VBtn.d.ts +6 -6
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +12 -12
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +12 -12
- package/lib/components/VCard/VCard.d.ts +6 -6
- package/lib/components/VCarousel/VCarousel.d.ts +2 -2
- package/lib/components/VCarousel/VCarouselItem.d.ts +3 -3
- package/lib/components/VCheckbox/VCheckbox.d.ts +39 -39
- package/lib/components/VCheckbox/VCheckboxBtn.d.ts +6 -6
- package/lib/components/VChip/VChip.d.ts +6 -6
- package/lib/components/VChipGroup/VChipGroup.d.ts +14 -14
- package/lib/components/VColorPicker/VColorPicker.d.ts +15 -15
- package/lib/components/VCombobox/VCombobox.d.ts +179 -207
- package/lib/components/VDataIterator/VDataIterator.d.ts +45 -45
- package/lib/components/VDataTable/VDataTable.d.ts +96 -96
- package/lib/components/VDataTable/VDataTableRows.d.ts +2 -2
- package/lib/components/VDataTable/VDataTableServer.d.ts +105 -105
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +89 -89
- package/lib/components/VDataTable/composables/headers.d.ts +10 -10
- package/lib/components/VDataTable/types.d.ts +6 -3
- package/lib/components/VDataTable/types.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +11 -11
- package/lib/components/VDialog/VDialog.d.ts +87 -143
- package/lib/components/VFab/VFab.d.ts +35 -35
- package/lib/components/VField/VField.d.ts +8 -8
- package/lib/components/VFileInput/VFileInput.d.ts +54 -54
- package/lib/components/VInput/VInput.d.ts +2 -2
- package/lib/components/VList/VList.d.ts +23 -23
- package/lib/components/VList/VListChildren.d.ts +2 -2
- package/lib/components/VList/VListItem.d.ts +6 -6
- package/lib/components/VMenu/VMenu.d.ts +106 -178
- package/lib/components/VMessages/VMessages.d.ts +16 -16
- package/lib/components/VNavigationDrawer/VNavigationDrawer.d.ts +34 -34
- package/lib/components/VNumberInput/VNumberInput.d.ts +221 -221
- package/lib/components/VOtpInput/VOtpInput.d.ts +20 -20
- package/lib/components/VOverlay/VOverlay.d.ts +22 -42
- package/lib/components/VOverlay/locationStrategies.d.ts +4 -4
- package/lib/components/VOverlay/locationStrategies.js.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.d.ts +4 -4
- package/lib/components/VOverlay/scrollStrategies.js.map +1 -1
- package/lib/components/VPagination/VPagination.d.ts +26 -26
- package/lib/components/VRadio/VRadio.d.ts +6 -6
- package/lib/components/VRadioGroup/VRadioGroup.d.ts +39 -39
- package/lib/components/VRangeSlider/VRangeSlider.d.ts +18 -18
- package/lib/components/VSelect/VSelect.d.ts +207 -251
- package/lib/components/VSelectionControl/VSelectionControl.d.ts +6 -6
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +6 -6
- package/lib/components/VSkeletonLoader/VSkeletonLoader.d.ts +8 -8
- package/lib/components/VSlider/VSlider.d.ts +18 -18
- package/lib/components/VSnackbar/VSnackbar.d.ts +85 -141
- package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +76 -96
- package/lib/components/VSnackbarQueue/VSnackbarQueue.js.map +1 -1
- package/lib/components/VSparkline/VBarline.d.ts +6 -6
- package/lib/components/VSparkline/VSparkline.d.ts +6 -6
- package/lib/components/VSparkline/VTrendline.d.ts +6 -6
- package/lib/components/VSpeedDial/VSpeedDial.d.ts +49 -85
- package/lib/components/VStepper/VStepper.d.ts +9 -9
- package/lib/components/VSwitch/VSwitch.d.ts +20 -20
- package/lib/components/VTabs/VTab.d.ts +56 -56
- package/lib/components/VTabs/VTabs.d.ts +8 -8
- package/lib/components/VTextField/VTextField.d.ts +72 -72
- package/lib/components/VTextarea/VTextarea.d.ts +54 -54
- package/lib/components/VTimeline/VTimelineItem.d.ts +3 -3
- package/lib/components/VToolbar/VToolbar.d.ts +6 -6
- package/lib/components/VTooltip/VTooltip.d.ts +109 -181
- package/lib/components/VWindow/VWindow.d.ts +2 -2
- package/lib/composables/index.d.ts +0 -9
- package/lib/composables/index.js.map +1 -1
- package/lib/composables/nested/activeStrategies.d.ts +7 -6
- package/lib/composables/nested/activeStrategies.js.map +1 -1
- package/lib/composables/nested/openStrategies.d.ts +5 -4
- package/lib/composables/nested/openStrategies.js.map +1 -1
- package/lib/composables/nested/selectStrategies.d.ts +7 -6
- package/lib/composables/nested/selectStrategies.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +2135 -58
- package/lib/framework.js +3 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VDateInput/VDateInput.d.ts +62 -62
- package/lib/labs/VFileUpload/VFileUpload.d.ts +12 -12
- package/lib/labs/VFileUpload/VFileUploadItem.d.ts +6 -6
- package/lib/labs/VPicker/VPicker.d.ts +6 -6
- package/lib/labs/VStepperVertical/VStepperVertical.d.ts +19 -19
- package/lib/labs/VTimePicker/VTimePicker.d.ts +13 -13
- package/lib/labs/VTreeview/VTreeview.d.ts +143 -143
- package/lib/labs/VTreeview/VTreeviewChildren.d.ts +15 -15
- package/lib/labs/VTreeview/VTreeviewItem.d.ts +6 -6
- package/lib/types.d.ts +19 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/package.json +1 -1
@@ -200,9 +200,9 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
200
200
|
type: import("vue").PropType<unknown extends Defaults["mobile"] ? boolean | null : boolean | Defaults["mobile"] | null>;
|
201
201
|
default: unknown extends Defaults["mobile"] ? boolean | null : NonNullable<boolean | null> | Defaults["mobile"];
|
202
202
|
};
|
203
|
-
mobileBreakpoint: unknown extends Defaults["mobileBreakpoint"] ? import("vue").PropType<number | import("../../
|
204
|
-
type: import("vue").PropType<unknown extends Defaults["mobileBreakpoint"] ? number | import("../../
|
205
|
-
default: unknown extends Defaults["mobileBreakpoint"] ? number | import("../../
|
203
|
+
mobileBreakpoint: unknown extends Defaults["mobileBreakpoint"] ? import("vue").PropType<number | import("../../types.js").DisplayBreakpoint> : {
|
204
|
+
type: import("vue").PropType<unknown extends Defaults["mobileBreakpoint"] ? number | import("../../types.js").DisplayBreakpoint : number | import("../../types.js").DisplayBreakpoint | Defaults["mobileBreakpoint"]>;
|
205
|
+
default: unknown extends Defaults["mobileBreakpoint"] ? number | import("../../types.js").DisplayBreakpoint : NonNullable<number | import("../../types.js").DisplayBreakpoint> | Defaults["mobileBreakpoint"];
|
206
206
|
};
|
207
207
|
color: unknown extends Defaults["color"] ? StringConstructor : {
|
208
208
|
type: import("vue").PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
@@ -355,7 +355,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
355
355
|
readonly headerProps?: {
|
356
356
|
readonly [x: string]: any;
|
357
357
|
} | undefined;
|
358
|
-
readonly cellProps?:
|
358
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
359
359
|
readonly [x: string]: any;
|
360
360
|
} | undefined;
|
361
361
|
readonly sortable?: boolean | undefined;
|
@@ -375,7 +375,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
375
375
|
readonly headerProps?: {
|
376
376
|
readonly [x: string]: any;
|
377
377
|
} | undefined;
|
378
|
-
readonly cellProps?:
|
378
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
379
379
|
readonly [x: string]: any;
|
380
380
|
} | undefined;
|
381
381
|
readonly sortable?: boolean | undefined;
|
@@ -398,7 +398,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
398
398
|
readonly headerProps?: {
|
399
399
|
readonly [x: string]: any;
|
400
400
|
} | undefined;
|
401
|
-
readonly cellProps?:
|
401
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
402
402
|
readonly [x: string]: any;
|
403
403
|
} | undefined;
|
404
404
|
readonly sortable?: boolean | undefined;
|
@@ -418,7 +418,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
418
418
|
readonly headerProps?: {
|
419
419
|
readonly [x: string]: any;
|
420
420
|
} | undefined;
|
421
|
-
readonly cellProps?:
|
421
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
422
422
|
readonly [x: string]: any;
|
423
423
|
} | undefined;
|
424
424
|
readonly sortable?: boolean | undefined;
|
@@ -440,7 +440,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
440
440
|
readonly headerProps?: {
|
441
441
|
readonly [x: string]: any;
|
442
442
|
} | undefined;
|
443
|
-
readonly cellProps?:
|
443
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
444
444
|
readonly [x: string]: any;
|
445
445
|
} | undefined;
|
446
446
|
readonly sortable?: boolean | undefined;
|
@@ -460,7 +460,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
460
460
|
readonly headerProps?: {
|
461
461
|
readonly [x: string]: any;
|
462
462
|
} | undefined;
|
463
|
-
readonly cellProps?:
|
463
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
464
464
|
readonly [x: string]: any;
|
465
465
|
} | undefined;
|
466
466
|
readonly sortable?: boolean | undefined;
|
@@ -483,7 +483,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
483
483
|
readonly headerProps?: {
|
484
484
|
readonly [x: string]: any;
|
485
485
|
} | undefined;
|
486
|
-
readonly cellProps?:
|
486
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
487
487
|
readonly [x: string]: any;
|
488
488
|
} | undefined;
|
489
489
|
readonly sortable?: boolean | undefined;
|
@@ -503,7 +503,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
503
503
|
readonly headerProps?: {
|
504
504
|
readonly [x: string]: any;
|
505
505
|
} | undefined;
|
506
|
-
readonly cellProps?:
|
506
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
507
507
|
readonly [x: string]: any;
|
508
508
|
} | undefined;
|
509
509
|
readonly sortable?: boolean | undefined;
|
@@ -525,7 +525,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
525
525
|
readonly headerProps?: {
|
526
526
|
readonly [x: string]: any;
|
527
527
|
} | undefined;
|
528
|
-
readonly cellProps?:
|
528
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
529
529
|
readonly [x: string]: any;
|
530
530
|
} | undefined;
|
531
531
|
readonly sortable?: boolean | undefined;
|
@@ -545,7 +545,7 @@ export declare const makeVDataTableVirtualProps: <Defaults extends {
|
|
545
545
|
readonly headerProps?: {
|
546
546
|
readonly [x: string]: any;
|
547
547
|
} | undefined;
|
548
|
-
readonly cellProps?:
|
548
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
549
549
|
readonly [x: string]: any;
|
550
550
|
} | undefined;
|
551
551
|
readonly sortable?: boolean | undefined;
|
@@ -630,23 +630,23 @@ export declare const VDataTableVirtual: {
|
|
630
630
|
noDataText: string;
|
631
631
|
loadingText: string;
|
632
632
|
sortBy: readonly import("./composables/sort.js").SortItem[];
|
633
|
-
density: import("../../composables/density.js").Density;
|
634
|
-
valueComparator: typeof import("../../util/index.js").deepEqual;
|
635
|
-
selectStrategy: "all" | "page" | "single";
|
636
|
-
returnObject: boolean;
|
637
633
|
filterMode: import("../../composables/filter.js").FilterMode;
|
638
634
|
noFilter: boolean;
|
639
|
-
|
640
|
-
|
641
|
-
hideNoData: boolean;
|
642
|
-
hover: boolean;
|
635
|
+
expandOnClick: boolean;
|
636
|
+
showExpand: boolean;
|
643
637
|
multiSort: boolean;
|
644
638
|
mustSort: boolean;
|
645
639
|
groupBy: readonly import("./composables/sort.js").SortItem[];
|
646
640
|
disableSort: boolean;
|
641
|
+
returnObject: boolean;
|
647
642
|
showSelect: boolean;
|
648
|
-
|
649
|
-
|
643
|
+
selectStrategy: "all" | "page" | "single";
|
644
|
+
valueComparator: typeof import("../../util/index.js").deepEqual;
|
645
|
+
density: import("../../composables/density.js").Density;
|
646
|
+
itemHeight: string | number;
|
647
|
+
itemKey: SelectItemKey;
|
648
|
+
hideNoData: boolean;
|
649
|
+
hover: boolean;
|
650
650
|
fixedHeader: boolean;
|
651
651
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
652
652
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
@@ -675,7 +675,7 @@ export declare const VDataTableVirtual: {
|
|
675
675
|
readonly headerProps?: {
|
676
676
|
readonly [x: string]: any;
|
677
677
|
} | undefined;
|
678
|
-
readonly cellProps?:
|
678
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
679
679
|
readonly [x: string]: any;
|
680
680
|
} | undefined;
|
681
681
|
readonly sortable?: boolean | undefined;
|
@@ -695,7 +695,7 @@ export declare const VDataTableVirtual: {
|
|
695
695
|
readonly headerProps?: {
|
696
696
|
readonly [x: string]: any;
|
697
697
|
} | undefined;
|
698
|
-
readonly cellProps?:
|
698
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
699
699
|
readonly [x: string]: any;
|
700
700
|
} | undefined;
|
701
701
|
readonly sortable?: boolean | undefined;
|
@@ -705,16 +705,16 @@ export declare const VDataTableVirtual: {
|
|
705
705
|
readonly children?: readonly any[] | undefined;
|
706
706
|
}[] | undefined;
|
707
707
|
}[] | undefined;
|
708
|
-
mobileBreakpoint?: number | import("../../
|
708
|
+
mobileBreakpoint?: number | import("../../types.js").DisplayBreakpoint | undefined;
|
709
709
|
customFilter?: import("../../composables/filter.js").FilterFunction | undefined;
|
710
710
|
customKeyFilter?: import("../../composables/filter.js").FilterKeyFunctions | undefined;
|
711
711
|
filterKeys?: import("../../composables/filter.js").FilterKeys | undefined;
|
712
712
|
customKeySort?: Record<string, import("./types.js").DataTableCompareFunction> | undefined;
|
713
713
|
headerProps?: Record<string, any> | undefined;
|
714
714
|
} & {
|
715
|
+
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
715
716
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
716
717
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
717
|
-
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
718
718
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
719
719
|
}, {
|
720
720
|
calculateVisibleItems: () => void;
|
@@ -725,7 +725,7 @@ export declare const VDataTableVirtual: {
|
|
725
725
|
'update:options': (value: any) => true;
|
726
726
|
'update:groupBy': (value: any) => true;
|
727
727
|
'update:expanded': (value: any) => true;
|
728
|
-
}, "$children" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "
|
728
|
+
}, "$children" | "v-slots" | "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:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append">, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
729
729
|
expanded: readonly string[];
|
730
730
|
style: import("vue").StyleValue;
|
731
731
|
mobile: boolean | null;
|
@@ -734,23 +734,23 @@ export declare const VDataTableVirtual: {
|
|
734
734
|
noDataText: string;
|
735
735
|
loadingText: string;
|
736
736
|
sortBy: readonly import("./composables/sort.js").SortItem[];
|
737
|
-
density: import("../../composables/density.js").Density;
|
738
|
-
valueComparator: typeof import("../../util/index.js").deepEqual;
|
739
|
-
selectStrategy: "all" | "page" | "single";
|
740
|
-
returnObject: boolean;
|
741
737
|
filterMode: import("../../composables/filter.js").FilterMode;
|
742
738
|
noFilter: boolean;
|
743
|
-
|
744
|
-
|
745
|
-
hideNoData: boolean;
|
746
|
-
hover: boolean;
|
739
|
+
expandOnClick: boolean;
|
740
|
+
showExpand: boolean;
|
747
741
|
multiSort: boolean;
|
748
742
|
mustSort: boolean;
|
749
743
|
groupBy: readonly import("./composables/sort.js").SortItem[];
|
750
744
|
disableSort: boolean;
|
745
|
+
returnObject: boolean;
|
751
746
|
showSelect: boolean;
|
752
|
-
|
753
|
-
|
747
|
+
selectStrategy: "all" | "page" | "single";
|
748
|
+
valueComparator: typeof import("../../util/index.js").deepEqual;
|
749
|
+
density: import("../../composables/density.js").Density;
|
750
|
+
itemHeight: string | number;
|
751
|
+
itemKey: SelectItemKey;
|
752
|
+
hideNoData: boolean;
|
753
|
+
hover: boolean;
|
754
754
|
fixedHeader: boolean;
|
755
755
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
756
756
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
@@ -818,23 +818,23 @@ export declare const VDataTableVirtual: {
|
|
818
818
|
noDataText: string;
|
819
819
|
loadingText: string;
|
820
820
|
sortBy: readonly import("./composables/sort.js").SortItem[];
|
821
|
-
density: import("../../composables/density.js").Density;
|
822
|
-
valueComparator: typeof import("../../util/index.js").deepEqual;
|
823
|
-
selectStrategy: "all" | "page" | "single";
|
824
|
-
returnObject: boolean;
|
825
821
|
filterMode: import("../../composables/filter.js").FilterMode;
|
826
822
|
noFilter: boolean;
|
827
|
-
|
828
|
-
|
829
|
-
hideNoData: boolean;
|
830
|
-
hover: boolean;
|
823
|
+
expandOnClick: boolean;
|
824
|
+
showExpand: boolean;
|
831
825
|
multiSort: boolean;
|
832
826
|
mustSort: boolean;
|
833
827
|
groupBy: readonly import("./composables/sort.js").SortItem[];
|
834
828
|
disableSort: boolean;
|
829
|
+
returnObject: boolean;
|
835
830
|
showSelect: boolean;
|
836
|
-
|
837
|
-
|
831
|
+
selectStrategy: "all" | "page" | "single";
|
832
|
+
valueComparator: typeof import("../../util/index.js").deepEqual;
|
833
|
+
density: import("../../composables/density.js").Density;
|
834
|
+
itemHeight: string | number;
|
835
|
+
itemKey: SelectItemKey;
|
836
|
+
hideNoData: boolean;
|
837
|
+
hover: boolean;
|
838
838
|
fixedHeader: boolean;
|
839
839
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
840
840
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
@@ -863,7 +863,7 @@ export declare const VDataTableVirtual: {
|
|
863
863
|
readonly headerProps?: {
|
864
864
|
readonly [x: string]: any;
|
865
865
|
} | undefined;
|
866
|
-
readonly cellProps?:
|
866
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
867
867
|
readonly [x: string]: any;
|
868
868
|
} | undefined;
|
869
869
|
readonly sortable?: boolean | undefined;
|
@@ -883,7 +883,7 @@ export declare const VDataTableVirtual: {
|
|
883
883
|
readonly headerProps?: {
|
884
884
|
readonly [x: string]: any;
|
885
885
|
} | undefined;
|
886
|
-
readonly cellProps?:
|
886
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
887
887
|
readonly [x: string]: any;
|
888
888
|
} | undefined;
|
889
889
|
readonly sortable?: boolean | undefined;
|
@@ -893,16 +893,16 @@ export declare const VDataTableVirtual: {
|
|
893
893
|
readonly children?: readonly any[] | undefined;
|
894
894
|
}[] | undefined;
|
895
895
|
}[] | undefined;
|
896
|
-
mobileBreakpoint?: number | import("../../
|
896
|
+
mobileBreakpoint?: number | import("../../types.js").DisplayBreakpoint | undefined;
|
897
897
|
customFilter?: import("../../composables/filter.js").FilterFunction | undefined;
|
898
898
|
customKeyFilter?: import("../../composables/filter.js").FilterKeyFunctions | undefined;
|
899
899
|
filterKeys?: import("../../composables/filter.js").FilterKeys | undefined;
|
900
900
|
customKeySort?: Record<string, import("./types.js").DataTableCompareFunction> | undefined;
|
901
901
|
headerProps?: Record<string, any> | undefined;
|
902
902
|
} & {
|
903
|
+
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
903
904
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
904
905
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
905
|
-
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
906
906
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
907
907
|
}, {
|
908
908
|
calculateVisibleItems: () => void;
|
@@ -916,23 +916,23 @@ export declare const VDataTableVirtual: {
|
|
916
916
|
noDataText: string;
|
917
917
|
loadingText: string;
|
918
918
|
sortBy: readonly import("./composables/sort.js").SortItem[];
|
919
|
-
density: import("../../composables/density.js").Density;
|
920
|
-
valueComparator: typeof import("../../util/index.js").deepEqual;
|
921
|
-
selectStrategy: "all" | "page" | "single";
|
922
|
-
returnObject: boolean;
|
923
919
|
filterMode: import("../../composables/filter.js").FilterMode;
|
924
920
|
noFilter: boolean;
|
925
|
-
|
926
|
-
|
927
|
-
hideNoData: boolean;
|
928
|
-
hover: boolean;
|
921
|
+
expandOnClick: boolean;
|
922
|
+
showExpand: boolean;
|
929
923
|
multiSort: boolean;
|
930
924
|
mustSort: boolean;
|
931
925
|
groupBy: readonly import("./composables/sort.js").SortItem[];
|
932
926
|
disableSort: boolean;
|
927
|
+
returnObject: boolean;
|
933
928
|
showSelect: boolean;
|
934
|
-
|
935
|
-
|
929
|
+
selectStrategy: "all" | "page" | "single";
|
930
|
+
valueComparator: typeof import("../../util/index.js").deepEqual;
|
931
|
+
density: import("../../composables/density.js").Density;
|
932
|
+
itemHeight: string | number;
|
933
|
+
itemKey: SelectItemKey;
|
934
|
+
hideNoData: boolean;
|
935
|
+
hover: boolean;
|
936
936
|
fixedHeader: boolean;
|
937
937
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
938
938
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
@@ -953,23 +953,23 @@ export declare const VDataTableVirtual: {
|
|
953
953
|
noDataText: string;
|
954
954
|
loadingText: string;
|
955
955
|
sortBy: readonly import("./composables/sort.js").SortItem[];
|
956
|
-
density: import("../../composables/density.js").Density;
|
957
|
-
valueComparator: typeof import("../../util/index.js").deepEqual;
|
958
|
-
selectStrategy: "all" | "page" | "single";
|
959
|
-
returnObject: boolean;
|
960
956
|
filterMode: import("../../composables/filter.js").FilterMode;
|
961
957
|
noFilter: boolean;
|
962
|
-
|
963
|
-
|
964
|
-
hideNoData: boolean;
|
965
|
-
hover: boolean;
|
958
|
+
expandOnClick: boolean;
|
959
|
+
showExpand: boolean;
|
966
960
|
multiSort: boolean;
|
967
961
|
mustSort: boolean;
|
968
962
|
groupBy: readonly import("./composables/sort.js").SortItem[];
|
969
963
|
disableSort: boolean;
|
964
|
+
returnObject: boolean;
|
970
965
|
showSelect: boolean;
|
971
|
-
|
972
|
-
|
966
|
+
selectStrategy: "all" | "page" | "single";
|
967
|
+
valueComparator: typeof import("../../util/index.js").deepEqual;
|
968
|
+
density: import("../../composables/density.js").Density;
|
969
|
+
itemHeight: string | number;
|
970
|
+
itemKey: SelectItemKey;
|
971
|
+
hideNoData: boolean;
|
972
|
+
hover: boolean;
|
973
973
|
fixedHeader: boolean;
|
974
974
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
975
975
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
@@ -998,7 +998,7 @@ export declare const VDataTableVirtual: {
|
|
998
998
|
readonly headerProps?: {
|
999
999
|
readonly [x: string]: any;
|
1000
1000
|
} | undefined;
|
1001
|
-
readonly cellProps?:
|
1001
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
1002
1002
|
readonly [x: string]: any;
|
1003
1003
|
} | undefined;
|
1004
1004
|
readonly sortable?: boolean | undefined;
|
@@ -1018,7 +1018,7 @@ export declare const VDataTableVirtual: {
|
|
1018
1018
|
readonly headerProps?: {
|
1019
1019
|
readonly [x: string]: any;
|
1020
1020
|
} | undefined;
|
1021
|
-
readonly cellProps?:
|
1021
|
+
readonly cellProps?: import("./types.js").HeaderCellPropsFunction | {
|
1022
1022
|
readonly [x: string]: any;
|
1023
1023
|
} | undefined;
|
1024
1024
|
readonly sortable?: boolean | undefined;
|
@@ -1028,16 +1028,16 @@ export declare const VDataTableVirtual: {
|
|
1028
1028
|
readonly children?: readonly any[] | undefined;
|
1029
1029
|
}[] | undefined;
|
1030
1030
|
}[] | undefined;
|
1031
|
-
mobileBreakpoint?: number | import("../../
|
1031
|
+
mobileBreakpoint?: number | import("../../types.js").DisplayBreakpoint | undefined;
|
1032
1032
|
customFilter?: import("../../composables/filter.js").FilterFunction | undefined;
|
1033
1033
|
customKeyFilter?: import("../../composables/filter.js").FilterKeyFunctions | undefined;
|
1034
1034
|
filterKeys?: import("../../composables/filter.js").FilterKeys | undefined;
|
1035
1035
|
customKeySort?: Record<string, import("./types.js").DataTableCompareFunction> | undefined;
|
1036
1036
|
headerProps?: Record<string, any> | undefined;
|
1037
1037
|
} & {
|
1038
|
+
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
1038
1039
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
1039
1040
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
1040
|
-
"onUpdate:expanded"?: ((value: any) => any) | undefined;
|
1041
1041
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
1042
1042
|
}, {
|
1043
1043
|
calculateVisibleItems: () => void;
|
@@ -1048,7 +1048,7 @@ export declare const VDataTableVirtual: {
|
|
1048
1048
|
'update:options': (value: any) => true;
|
1049
1049
|
'update:groupBy': (value: any) => true;
|
1050
1050
|
'update:expanded': (value: any) => true;
|
1051
|
-
}, "$children" | "v-slots" | "modelValue" | "items" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "
|
1051
|
+
}, "$children" | "v-slots" | "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:colgroup" | "v-slot:tbody" | "v-slot:tfoot" | "v-slot:thead" | "v-slot:body.prepend" | "v-slot:body.append">, string, {
|
1052
1052
|
expanded: readonly string[];
|
1053
1053
|
style: import("vue").StyleValue;
|
1054
1054
|
mobile: boolean | null;
|
@@ -1057,23 +1057,23 @@ export declare const VDataTableVirtual: {
|
|
1057
1057
|
noDataText: string;
|
1058
1058
|
loadingText: string;
|
1059
1059
|
sortBy: readonly import("./composables/sort.js").SortItem[];
|
1060
|
-
density: import("../../composables/density.js").Density;
|
1061
|
-
valueComparator: typeof import("../../util/index.js").deepEqual;
|
1062
|
-
selectStrategy: "all" | "page" | "single";
|
1063
|
-
returnObject: boolean;
|
1064
1060
|
filterMode: import("../../composables/filter.js").FilterMode;
|
1065
1061
|
noFilter: boolean;
|
1066
|
-
|
1067
|
-
|
1068
|
-
hideNoData: boolean;
|
1069
|
-
hover: boolean;
|
1062
|
+
expandOnClick: boolean;
|
1063
|
+
showExpand: boolean;
|
1070
1064
|
multiSort: boolean;
|
1071
1065
|
mustSort: boolean;
|
1072
1066
|
groupBy: readonly import("./composables/sort.js").SortItem[];
|
1073
1067
|
disableSort: boolean;
|
1068
|
+
returnObject: boolean;
|
1074
1069
|
showSelect: boolean;
|
1075
|
-
|
1076
|
-
|
1070
|
+
selectStrategy: "all" | "page" | "single";
|
1071
|
+
valueComparator: typeof import("../../util/index.js").deepEqual;
|
1072
|
+
density: import("../../composables/density.js").Density;
|
1073
|
+
itemHeight: string | number;
|
1074
|
+
itemKey: SelectItemKey;
|
1075
|
+
hideNoData: boolean;
|
1076
|
+
hover: boolean;
|
1077
1077
|
fixedHeader: boolean;
|
1078
1078
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1079
1079
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
@@ -1178,7 +1178,7 @@ export declare const VDataTableVirtual: {
|
|
1178
1178
|
type: import("vue").PropType<boolean | null>;
|
1179
1179
|
default: boolean;
|
1180
1180
|
};
|
1181
|
-
mobileBreakpoint: import("vue").PropType<number | import("../../
|
1181
|
+
mobileBreakpoint: import("vue").PropType<number | import("../../types.js").DisplayBreakpoint>;
|
1182
1182
|
color: StringConstructor;
|
1183
1183
|
disableSort: BooleanConstructor;
|
1184
1184
|
multiSort: BooleanConstructor;
|
@@ -1294,7 +1294,7 @@ export declare const VDataTableVirtual: {
|
|
1294
1294
|
type: import("vue").PropType<boolean | null>;
|
1295
1295
|
default: boolean;
|
1296
1296
|
};
|
1297
|
-
mobileBreakpoint: import("vue").PropType<number | import("../../
|
1297
|
+
mobileBreakpoint: import("vue").PropType<number | import("../../types.js").DisplayBreakpoint>;
|
1298
1298
|
color: StringConstructor;
|
1299
1299
|
disableSort: BooleanConstructor;
|
1300
1300
|
multiSort: BooleanConstructor;
|
@@ -18,7 +18,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
18
18
|
readonly headerProps?: {
|
19
19
|
readonly [x: string]: any;
|
20
20
|
} | undefined;
|
21
|
-
readonly cellProps?:
|
21
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
22
22
|
readonly [x: string]: any;
|
23
23
|
} | undefined;
|
24
24
|
readonly sortable?: boolean | undefined;
|
@@ -38,7 +38,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
38
38
|
readonly headerProps?: {
|
39
39
|
readonly [x: string]: any;
|
40
40
|
} | undefined;
|
41
|
-
readonly cellProps?:
|
41
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
42
42
|
readonly [x: string]: any;
|
43
43
|
} | undefined;
|
44
44
|
readonly sortable?: boolean | undefined;
|
@@ -61,7 +61,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
61
61
|
readonly headerProps?: {
|
62
62
|
readonly [x: string]: any;
|
63
63
|
} | undefined;
|
64
|
-
readonly cellProps?:
|
64
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
65
65
|
readonly [x: string]: any;
|
66
66
|
} | undefined;
|
67
67
|
readonly sortable?: boolean | undefined;
|
@@ -81,7 +81,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
81
81
|
readonly headerProps?: {
|
82
82
|
readonly [x: string]: any;
|
83
83
|
} | undefined;
|
84
|
-
readonly cellProps?:
|
84
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
85
85
|
readonly [x: string]: any;
|
86
86
|
} | undefined;
|
87
87
|
readonly sortable?: boolean | undefined;
|
@@ -103,7 +103,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
103
103
|
readonly headerProps?: {
|
104
104
|
readonly [x: string]: any;
|
105
105
|
} | undefined;
|
106
|
-
readonly cellProps?:
|
106
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
107
107
|
readonly [x: string]: any;
|
108
108
|
} | undefined;
|
109
109
|
readonly sortable?: boolean | undefined;
|
@@ -123,7 +123,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
123
123
|
readonly headerProps?: {
|
124
124
|
readonly [x: string]: any;
|
125
125
|
} | undefined;
|
126
|
-
readonly cellProps?:
|
126
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
127
127
|
readonly [x: string]: any;
|
128
128
|
} | undefined;
|
129
129
|
readonly sortable?: boolean | undefined;
|
@@ -146,7 +146,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
146
146
|
readonly headerProps?: {
|
147
147
|
readonly [x: string]: any;
|
148
148
|
} | undefined;
|
149
|
-
readonly cellProps?:
|
149
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
150
150
|
readonly [x: string]: any;
|
151
151
|
} | undefined;
|
152
152
|
readonly sortable?: boolean | undefined;
|
@@ -166,7 +166,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
166
166
|
readonly headerProps?: {
|
167
167
|
readonly [x: string]: any;
|
168
168
|
} | undefined;
|
169
|
-
readonly cellProps?:
|
169
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
170
170
|
readonly [x: string]: any;
|
171
171
|
} | undefined;
|
172
172
|
readonly sortable?: boolean | undefined;
|
@@ -188,7 +188,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
188
188
|
readonly headerProps?: {
|
189
189
|
readonly [x: string]: any;
|
190
190
|
} | undefined;
|
191
|
-
readonly cellProps?:
|
191
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
192
192
|
readonly [x: string]: any;
|
193
193
|
} | undefined;
|
194
194
|
readonly sortable?: boolean | undefined;
|
@@ -208,7 +208,7 @@ export declare const makeDataTableHeaderProps: <Defaults extends {
|
|
208
208
|
readonly headerProps?: {
|
209
209
|
readonly [x: string]: any;
|
210
210
|
} | undefined;
|
211
|
-
readonly cellProps?:
|
211
|
+
readonly cellProps?: import("../types.js").HeaderCellPropsFunction | {
|
212
212
|
readonly [x: string]: any;
|
213
213
|
} | undefined;
|
214
214
|
readonly sortable?: boolean | undefined;
|
@@ -67,7 +67,10 @@ export type ItemKeySlot<T> = ItemSlotBase<T> & {
|
|
67
67
|
value: any;
|
68
68
|
column: InternalDataTableHeader;
|
69
69
|
};
|
70
|
-
export type RowProps<T> = Record<string, any> |
|
71
|
-
export type
|
72
|
-
export type
|
70
|
+
export type RowProps<T> = Record<string, any> | RowPropsFunction<T>;
|
71
|
+
export type RowPropsFunction<T> = (data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem'>) => Record<string, any>;
|
72
|
+
export type CellProps<T> = Record<string, any> | CellPropsFunction<T>;
|
73
|
+
export type CellPropsFunction<T> = (data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem' | 'value' | 'column'>) => Record<string, any>;
|
74
|
+
export type HeaderCellProps = Record<string, any> | HeaderCellPropsFunction;
|
75
|
+
export type HeaderCellPropsFunction = (data: Pick<ItemKeySlot<any>, 'index' | 'item' | 'internalItem' | 'value'>) => Record<string, any>;
|
73
76
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../../src/components/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { provideExpanded } from './composables/expand'\nimport type { Group, GroupableItem, provideGroupBy } from './composables/group'\nimport type { provideSelection, SelectableItem } from './composables/select'\nimport type { FilterFunction, InternalItem } from '@/composables/filter'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number | null\n\nexport type DataTableHeader<T = Record<string, any>> = {\n key?: 'data-table-group' | 'data-table-select' | 'data-table-expand' | (string & {})\n value?: SelectItemKey<T>\n title?: string\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: number | string\n maxWidth?: number | string\n nowrap?: boolean\n\n headerProps?: Record<string, any>\n cellProps?: HeaderCellProps\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n sortRaw?: DataTableCompareFunction\n filter?: FilterFunction\n\n children?: DataTableHeader<T>[]\n}\n\nexport type InternalDataTableHeader = Omit<DataTableHeader, 'key' | 'value' | 'children'> & {\n key: string | null\n value: SelectItemKey | null\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n nowrap?: boolean\n colspan?: number\n rowspan?: number\n children?: InternalDataTableHeader[]\n}\n\nexport interface DataTableItem<T = any> extends InternalItem<T>, GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n\nexport type GroupHeaderSlot = {\n index: number\n item: Group\n columns: InternalDataTableHeader[]\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n}\n\ntype ItemSlotBase<T> = {\n index: number\n item: T\n internalItem: DataTableItem<T>\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n}\n\nexport type ItemSlot<T> = ItemSlotBase<T> & {\n columns: InternalDataTableHeader[]\n}\n\nexport type ItemKeySlot<T> = ItemSlotBase<T> & {\n value: any\n column: InternalDataTableHeader\n}\n\nexport type RowProps<T>
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../../../src/components/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { provideExpanded } from './composables/expand'\nimport type { Group, GroupableItem, provideGroupBy } from './composables/group'\nimport type { provideSelection, SelectableItem } from './composables/select'\nimport type { FilterFunction, InternalItem } from '@/composables/filter'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number | null\n\nexport type DataTableHeader<T = Record<string, any>> = {\n key?: 'data-table-group' | 'data-table-select' | 'data-table-expand' | (string & {})\n value?: SelectItemKey<T>\n title?: string\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: number | string\n maxWidth?: number | string\n nowrap?: boolean\n\n headerProps?: Record<string, any>\n cellProps?: HeaderCellProps\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n sortRaw?: DataTableCompareFunction\n filter?: FilterFunction\n\n children?: DataTableHeader<T>[]\n}\n\nexport type InternalDataTableHeader = Omit<DataTableHeader, 'key' | 'value' | 'children'> & {\n key: string | null\n value: SelectItemKey | null\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n nowrap?: boolean\n colspan?: number\n rowspan?: number\n children?: InternalDataTableHeader[]\n}\n\nexport interface DataTableItem<T = any> extends InternalItem<T>, GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n\nexport type GroupHeaderSlot = {\n index: number\n item: Group\n columns: InternalDataTableHeader[]\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n}\n\ntype ItemSlotBase<T> = {\n index: number\n item: T\n internalItem: DataTableItem<T>\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n}\n\nexport type ItemSlot<T> = ItemSlotBase<T> & {\n columns: InternalDataTableHeader[]\n}\n\nexport type ItemKeySlot<T> = ItemSlotBase<T> & {\n value: any\n column: InternalDataTableHeader\n}\n\nexport type RowProps<T> = Record<string, any> | RowPropsFunction<T>\nexport type RowPropsFunction<T> = (\n data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem'>\n) => Record<string, any>\n\nexport type CellProps<T> = Record<string, any> | CellPropsFunction<T>\nexport type CellPropsFunction<T> = (\n data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem' | 'value' | 'column'>\n) => Record<string, any>\n\nexport type HeaderCellProps = Record<string, any> | HeaderCellPropsFunction\nexport type HeaderCellPropsFunction = (\n data: Pick<ItemKeySlot<any>, 'index' | 'item' | 'internalItem' | 'value'>\n) => Record<string, any>\n"],"mappings":"","ignoreList":[]}
|