@dao-style/core 1.0.0-beta.7 → 1.0.0-beta.8
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.
|
@@ -929,7 +929,7 @@ declare const DaoTable: {
|
|
|
929
929
|
pageLayout: import("..").PaginationLayoutKey[];
|
|
930
930
|
hideBatchBar: boolean;
|
|
931
931
|
hideToolbar: boolean;
|
|
932
|
-
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <T_1 extends Record<string, unknown>, Column extends DaoTableColumn, ColumnKey extends Column["id"]>(props: {
|
|
932
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <T_1 extends Record<string, unknown>, Column extends DaoTableColumn, ColumnKey extends Column["id"], DataKey extends keyof T_1, DataStringKey extends DataKey extends string ? DataKey : never>(props: {
|
|
933
933
|
data?: T_1[] | undefined;
|
|
934
934
|
columns?: Column[] | undefined;
|
|
935
935
|
selectable?: boolean | ((row: T_1, index: number) => boolean) | undefined;
|
|
@@ -952,13 +952,20 @@ declare const DaoTable: {
|
|
|
952
952
|
'batch-action': SlotFn;
|
|
953
953
|
empty: SlotFn;
|
|
954
954
|
pagination: SlotFn;
|
|
955
|
-
} & { [key in `th-${
|
|
955
|
+
} & { [key in `th-${DataStringKey}`]: ParamsSlotFn<{
|
|
956
956
|
column: DaoTableColumn;
|
|
957
|
-
}>; } & { [key_1 in `td-${
|
|
957
|
+
}>; } & { [key_1 in `td-${DataStringKey}`]: ParamsSlotFn<{
|
|
958
958
|
column: DaoTableColumn;
|
|
959
959
|
value: T_1[RemoveTd<key_1>];
|
|
960
960
|
row: T_1;
|
|
961
961
|
rowIndex: number;
|
|
962
|
+
}>; } & { [key_2 in `th-${ColumnKey}`]: ParamsSlotFn<{
|
|
963
|
+
column: DaoTableColumn;
|
|
964
|
+
}>; } & { [key_3 in `td-${ColumnKey}`]: ParamsSlotFn<{
|
|
965
|
+
column: DaoTableColumn;
|
|
966
|
+
value: T_1[RemoveTd<key_3>];
|
|
967
|
+
row: T_1;
|
|
968
|
+
rowIndex: number;
|
|
962
969
|
}>; } & {
|
|
963
970
|
[x: `th-${string}`]: ParamsSlotFn<{
|
|
964
971
|
column: DaoTableColumn;
|