1 |
|
2 |
|
3 |
|
4 | import { CellComp } from "./cellComp";
|
5 | import { RowNode } from "../entities/rowNode";
|
6 | import { GridOptionsWrapper } from "../gridOptionsWrapper";
|
7 | import { Column } from "../entities/column";
|
8 | import { ICellRendererParams } from "./cellRenderers/iCellRenderer";
|
9 | import { RowContainerComponent } from "./rowContainerComponent";
|
10 | import { Component } from "../widgets/component";
|
11 | import { Beans } from "./beans";
|
12 | export declare class LoadingCellRenderer extends Component {
|
13 | private static TEMPLATE;
|
14 | gridOptionsWrapper: GridOptionsWrapper;
|
15 | private eLoadingIcon;
|
16 | private eLoadingText;
|
17 | constructor();
|
18 | init(params: ICellRendererParams): void;
|
19 | refresh(params: any): boolean;
|
20 | }
|
21 | export declare class RowComp extends Component {
|
22 | static DOM_DATA_KEY_RENDERED_ROW: string;
|
23 | private static FULL_WIDTH_CELL_RENDERER;
|
24 | private static GROUP_ROW_RENDERER;
|
25 | private static GROUP_ROW_RENDERER_COMP_NAME;
|
26 | private static LOADING_CELL_RENDERER;
|
27 | private static LOADING_CELL_RENDERER_COMP_NAME;
|
28 | private static DETAIL_CELL_RENDERER;
|
29 | private static DETAIL_CELL_RENDERER_COMP_NAME;
|
30 | private rowNode;
|
31 | private beans;
|
32 | private ePinnedLeftRow;
|
33 | private ePinnedRightRow;
|
34 | private eBodyRow;
|
35 | private eAllRowContainers;
|
36 | private eFullWidthRow;
|
37 | private eFullWidthRowBody;
|
38 | private eFullWidthRowLeft;
|
39 | private eFullWidthRowRight;
|
40 | private bodyContainerComp;
|
41 | private fullWidthContainerComp;
|
42 | private pinnedLeftContainerComp;
|
43 | private pinnedRightContainerComp;
|
44 | private fullWidthRowComponent;
|
45 | private fullWidthRowComponentBody;
|
46 | private fullWidthRowComponentLeft;
|
47 | private fullWidthRowComponentRight;
|
48 | private active;
|
49 | private fullWidthRow;
|
50 | private fullWidthRowEmbedded;
|
51 | private editingRow;
|
52 | private rowFocused;
|
53 | private columnRefreshPending;
|
54 | private cellComps;
|
55 | private createSecondPassFuncs;
|
56 | private removeFirstPassFuncs;
|
57 | private removeSecondPassFuncs;
|
58 | private fadeRowIn;
|
59 | private slideRowIn;
|
60 | private useAnimationFrameForCreate;
|
61 | private rowIsEven;
|
62 | private paginationPage;
|
63 | private parentScope;
|
64 | private scope;
|
65 | private initialised;
|
66 | constructor(parentScope: any, bodyContainerComp: RowContainerComponent, pinnedLeftContainerComp: RowContainerComponent, pinnedRightContainerComp: RowContainerComponent, fullWidthContainerComp: RowContainerComponent, rowNode: RowNode, beans: Beans, animateIn: boolean, useAnimationFrameForCreate: boolean);
|
67 | init(): void;
|
68 | private createTemplate(contents, extraCssClass?);
|
69 | getCellForCol(column: Column): HTMLElement;
|
70 | afterFlush(): void;
|
71 | private executeProcessRowPostCreateFunc();
|
72 | private getInitialRowTopStyle();
|
73 | private getRowBusinessKey();
|
74 | private lazyCreateCells(cols, eRow);
|
75 | private createRowContainer(rowContainerComp, cols, callback);
|
76 | private createChildScopeOrNull(data);
|
77 | private setupRowContainers();
|
78 | private setupNormalRowContainers();
|
79 | private createFullWidthRows(type, name);
|
80 | private setAnimateFlags(animateIn);
|
81 | isEditing(): boolean;
|
82 | stopRowEditing(cancel: boolean): void;
|
83 | isFullWidth(): boolean;
|
84 | private addListeners();
|
85 | private onGridColumnsChanged();
|
86 | private onRowNodeDataChanged(event);
|
87 | private onRowNodeCellChanged(event);
|
88 | private postProcessCss();
|
89 | private onRowNodeDraggingChanged();
|
90 | private postProcessRowDragging();
|
91 | private onExpandedChanged();
|
92 | private onDisplayedColumnsChanged();
|
93 | private destroyFullWidthComponents();
|
94 | private getContainerForCell(pinnedType);
|
95 | private onVirtualColumnsChanged();
|
96 | private onColumnResized();
|
97 | private refreshCells();
|
98 | private refreshCellsInAnimationFrame();
|
99 | private removeRenderedCells(colIds);
|
100 | private isCellEligibleToBeRemoved(indexStr);
|
101 | private ensureCellInCorrectContainer(cellComp);
|
102 | private isCellInWrongRow(cellComp);
|
103 | private insertCellsIntoContainer(eRow, cols);
|
104 | private addDomData(eRowContainer);
|
105 | private createNewCell(col, eContainer, cellTemplates, newCellComps);
|
106 | onMouseEvent(eventName: string, mouseEvent: MouseEvent): void;
|
107 | private createRowEvent(type, domEvent?);
|
108 | private createRowEventWithSource(type, domEvent);
|
109 | private onRowDblClick(mouseEvent);
|
110 | onRowClick(mouseEvent: MouseEvent): void;
|
111 | private createFullWidthRowContainer(rowContainerComp, pinned, extraCssClass, cellRendererType, cellRendererName, eRowCallback, cellRendererCallback);
|
112 | private angular1Compile(element);
|
113 | private createFullWidthParams(eRow, pinned);
|
114 | private getInitialRowClasses(extraCssClass);
|
115 | private preProcessRowClassRules();
|
116 | private processRowClassRules(onApplicableClass, onNotApplicableClass?);
|
117 | stopEditing(cancel?: boolean): void;
|
118 | private setEditingRow(value);
|
119 | startRowEditing(keyPress?: number, charPress?: string, sourceRenderedCell?: CellComp): void;
|
120 | forEachCellComp(callback: (renderedCell: CellComp) => void): void;
|
121 | private postProcessClassesFromGridOptions();
|
122 | private postProcessRowClassRules();
|
123 | private processClassesFromGridOptions();
|
124 | private preProcessStylesFromGridOptions();
|
125 | private postProcessStylesFromGridOptions();
|
126 | private processStylesFromGridOptions();
|
127 | private createCells(cols);
|
128 | private onRowSelected();
|
129 | private callAfterRowAttachedOnCells(newCellComps, eRow);
|
130 | private afterRowAttached(rowContainerComp, eRow);
|
131 | private addHoverFunctionality(eRow);
|
132 | private roundRowTopToBounds(rowTop);
|
133 | private onRowHeightChanged();
|
134 | addEventListener(eventType: string, listener: Function): void;
|
135 | removeEventListener(eventType: string, listener: Function): void;
|
136 | destroy(animate?: boolean): void;
|
137 | private destroyContainingCells();
|
138 | getAndClearDelayedDestroyFunctions(): Function[];
|
139 | private onCellFocusChanged();
|
140 | private onPaginationChanged();
|
141 | private onTopChanged();
|
142 | private applyPaginationOffset(topPx, reverse?);
|
143 | private setRowTop(pixels);
|
144 | getAndClearNextVMTurnFunctions(): Function[];
|
145 | getRowNode(): RowNode;
|
146 | getRenderedCellForColumn(column: Column): CellComp;
|
147 | private onRowIndexChanged();
|
148 | private updateRowIndexes();
|
149 | ensureDomOrder(): void;
|
150 | getPinnedLeftRowElement(): HTMLElement;
|
151 | getPinnedRightRowElement(): HTMLElement;
|
152 | getBodyRowElement(): HTMLElement;
|
153 | getFullWidthRowElement(): HTMLElement;
|
154 | }
|