1 |
|
2 |
|
3 |
|
4 | import { RowNode } from "../../entities/rowNode";
|
5 | import { GridOptionsWrapper } from "../../gridOptionsWrapper";
|
6 | import { Context } from "../../context/context";
|
7 | import { EventService } from "../../eventService";
|
8 | import { RowDataTransaction, RowNodeTransaction } from "./clientSideRowModel";
|
9 | import { ColumnController } from "../../columnController/columnController";
|
10 | import { GridApi } from "../../gridApi";
|
11 | import { ColumnApi } from "../../columnController/columnApi";
|
12 | import { SelectionController } from "../../selectionController";
|
13 | export declare class ClientSideNodeManager {
|
14 | private static TOP_LEVEL;
|
15 | private rootNode;
|
16 | private gridOptionsWrapper;
|
17 | private context;
|
18 | private eventService;
|
19 | private columnController;
|
20 | private selectionController;
|
21 | private nextId;
|
22 | private static ROOT_NODE_ID;
|
23 | private getNodeChildDetails;
|
24 | private doesDataFlower;
|
25 | private isRowMasterFunc;
|
26 | private suppressParentsInRowNodes;
|
27 | private doingLegacyTreeData;
|
28 | private doingMasterDetail;
|
29 | private allNodesMap;
|
30 | private columnApi;
|
31 | private gridApi;
|
32 | constructor(rootNode: RowNode, gridOptionsWrapper: GridOptionsWrapper, context: Context, eventService: EventService, columnController: ColumnController, gridApi: GridApi, columnApi: ColumnApi, selectionController: SelectionController);
|
33 | postConstruct(): void;
|
34 | getCopyOfNodesMap(): {
|
35 | [id: string]: RowNode;
|
36 | };
|
37 | getRowNode(id: string): RowNode;
|
38 | setRowData(rowData: any[]): RowNode[];
|
39 | updateRowData(rowDataTran: RowDataTransaction, rowNodeOrder: {
|
40 | [id: string]: number;
|
41 | }): RowNodeTransaction;
|
42 | private addRowNode(data, index?);
|
43 | private lookupRowNode(data);
|
44 | private updatedRowNode(rowNode, data, update);
|
45 | private recursiveFunction(rowData, parent, level);
|
46 | private createNode(dataItem, parent, level);
|
47 | private isExpanded(level);
|
48 | private setLeafChildren(node);
|
49 | insertItemsAtIndex(index: number, rowData: any[]): RowNode[];
|
50 | addItems(items: any): RowNode[];
|
51 | isLegacyTreeData(): boolean;
|
52 | }
|