@jiaozhiye/qm-design-react 1.5.21 → 1.5.22
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.
|
@@ -54,8 +54,8 @@ export declare type ITableContext = {
|
|
|
54
54
|
setRowExpandedKeys: (rowKeys: IRowKey[]) => void;
|
|
55
55
|
setSelectionRows: (records: IRecord[]) => void;
|
|
56
56
|
getSpan: (row: IRecord, column: IColumn, rowIndex: number, columnIndex: number, tableData: IRecord[]) => IRowColSpan;
|
|
57
|
-
getStickyLeft: (
|
|
58
|
-
getStickyRight: (
|
|
57
|
+
getStickyLeft: (dataIndex: string) => number;
|
|
58
|
+
getStickyRight: (dataIndex: string) => number;
|
|
59
59
|
scrollXToColumn: (dataIndex: string, index?: number) => void;
|
|
60
60
|
scrollYToRecord: (rowKey: IRowKey, index?: number) => void;
|
|
61
61
|
rowInViewport: (index: number) => boolean;
|
|
@@ -32,8 +32,8 @@ declare const useTableLayout: <T extends ITableProps>(props: T, extra: IExtra) =
|
|
|
32
32
|
rowSpan: number;
|
|
33
33
|
colSpan: number;
|
|
34
34
|
};
|
|
35
|
-
getStickyLeft: (
|
|
36
|
-
getStickyRight: (
|
|
35
|
+
getStickyLeft: (dataIndex: string) => number;
|
|
36
|
+
getStickyRight: (dataIndex: string) => number;
|
|
37
37
|
scrollXToColumn: (dataIndex: string, index?: number) => void;
|
|
38
38
|
scrollYToRecord: (rowKey: IRowKey, index?: number) => void;
|
|
39
39
|
rowInViewport: (index: number) => boolean;
|
|
@@ -7,7 +7,7 @@ export declare const columnsFlatMap: (columns: IColumn[]) => IColumn[];
|
|
|
7
7
|
export declare const createFilterColumns: (columns: IColumn[]) => IColumn[];
|
|
8
8
|
export declare const getAllColumns: (columns: IColumn[]) => IColumn[];
|
|
9
9
|
export declare const mapTableColumns: (columns: IColumn[], callback?: ((column: IColumn) => void) | undefined) => IColumn[];
|
|
10
|
-
export declare const deepFindColumn: (columns: IColumn[], mark:
|
|
10
|
+
export declare const deepFindColumn: (columns: IColumn[], mark: string) => Nullable<IColumn>;
|
|
11
11
|
export declare const findFirstColumn: (column: IColumn) => IColumn;
|
|
12
12
|
export declare const findLastColumn: (column: IColumn) => IColumn;
|
|
13
13
|
export declare const filterTableColumns: (columns: IColumn[], marks: string[]) => IColumn[];
|