UNPKG

14 kBPlain TextView Raw
1// to satisfy server side compilation
2
3declare let global: any;
4let globalObj = typeof global === 'undefined' ? {} : global;
5globalObj.HTMLElement = typeof HTMLElement === 'undefined' ? {} : HTMLElement;
6globalObj.HTMLButtonElement = typeof HTMLButtonElement === 'undefined' ? {} : HTMLButtonElement;
7globalObj.HTMLSelectElement = typeof HTMLSelectElement === 'undefined' ? {} : HTMLSelectElement;
8globalObj.HTMLInputElement = typeof HTMLInputElement === 'undefined' ? {} : HTMLInputElement;
9globalObj.Node = typeof Node === 'undefined' ? {} : Node;
10globalObj.MouseEvent = typeof MouseEvent === 'undefined' ? {} : MouseEvent;
11
12// columnController
13export {BalancedColumnTreeBuilder} from "./columnController/balancedColumnTreeBuilder";
14export {ColumnController} from "./columnController/columnController";
15export {ColumnKeyCreator} from "./columnController/columnKeyCreator";
16export {ColumnUtils} from "./columnController/columnUtils";
17export {DisplayedGroupCreator} from "./columnController/displayedGroupCreator";
18export {GroupInstanceIdCreator} from "./columnController/groupInstanceIdCreator";
19
20// components
21export {ComponentUtil} from "./components/componentUtil";
22
23export {ColDefUtil} from "./components/colDefUtil";
24export {ComponentProvider} from "./components/framework/componentProvider";
25export {initialiseAgGridWithAngular1} from "./components/agGridNg1";
26export {initialiseAgGridWithWebComponents} from "./components/agGridWebComponent";
27
28// context
29export {BeanStub} from "./context/beanStub";
30export {
31 Context,
32 Autowired,
33 PostConstruct,
34 PreConstruct,
35 Optional,
36 Bean,
37 Qualifier,
38 PreDestroy
39} from "./context/context";
40export {QuerySelector, Listener, RefSelector} from "./widgets/componentAnnotations";
41
42// excel
43export {
44 ExcelCell,
45 ExcelExportParams,
46 ExcelRow,
47 ExcelStyle,
48 ExcelWorksheet,
49 ExcelBorder,
50 ExcelColumn,
51 ExcelData,
52 ExcelDataType
53} from "./interfaces/iExcelCreator";
54
55// dragAndDrop
56export {
57 DragAndDropService,
58 DragSourceType,
59 HDirection,
60 VDirection,
61 DropTarget,
62 DragSource,
63 DraggingEvent
64} from "./dragAndDrop/dragAndDropService";
65export {DragService} from "./dragAndDrop/dragService";
66
67// entities
68export {Column} from "./entities/column";
69export {ColumnGroup} from "./entities/columnGroup";
70export {GridCell} from "./entities/gridCell";
71export {GridRow} from "./entities/gridRow";
72export {OriginalColumnGroup} from "./entities/originalColumnGroup";
73export {RowNode} from "./entities/rowNode";
74
75// filter
76export {BaseFilter} from "./filter/baseFilter";
77export {DateFilter, SerializedDateFilter} from "./filter/dateFilter";
78export {FilterManager, FilterWrapper} from "./filter/filterManager";
79export {NumberFilter} from "./filter/numberFilter";
80export {TextFilter,SerializedTextFilter} from "./filter/textFilter";
81export {IFloatingFilter, IFloatingFilterParams} from "./filter/floatingFilter";
82
83// gridPanel
84export {GridPanel} from "./gridPanel/gridPanel";
85export {ScrollVisibleService} from "./gridPanel/scrollVisibleService";
86export {MouseEventService} from "./gridPanel/mouseEventService";
87
88// headerRendering
89export {BodyDropPivotTarget} from "./headerRendering/bodyDropPivotTarget";
90export {BodyDropTarget} from "./headerRendering/bodyDropTarget";
91export {CssClassApplier} from "./headerRendering/cssClassApplier";
92export {HeaderContainer} from "./headerRendering/headerContainer";
93export {HeaderRootComp} from "./headerRendering/headerRootComp";
94export {HeaderRowComp} from "./headerRendering/headerRowComp";
95export {HorizontalResizeService} from "./headerRendering/horizontalResizeService";
96export {MoveColumnController} from "./headerRendering/moveColumnController";
97export {StandardMenuFactory} from "./headerRendering/standardMenu";
98
99// layout
100export {TabbedLayout} from "./layout/tabbedLayout";
101export {VerticalStack} from "./layout/verticalStack";
102export {TabbedItem} from "./layout/tabbedLayout"
103
104// misc
105export {simpleHttpRequest} from "./misc/simpleHttpRequest";
106
107// editing / cellEditors
108export {ICellEditor, ICellEditorComp, ICellEditorParams} from "./rendering/cellEditors/iCellEditor";
109export {LargeTextCellEditor} from "./rendering/cellEditors/largeTextCellEditor";
110export {PopupEditorWrapper} from "./rendering/cellEditors/popupEditorWrapper";
111export {PopupSelectCellEditor} from "./rendering/cellEditors/popupSelectCellEditor";
112export {PopupTextCellEditor} from "./rendering/cellEditors/popupTextCellEditor";
113export {SelectCellEditor} from "./rendering/cellEditors/selectCellEditor";
114export {TextCellEditor} from "./rendering/cellEditors/textCellEditor";
115
116// rendering / cellRenderers
117export {ICellRenderer, ICellRendererFunc, ICellRendererComp} from "./rendering/cellRenderers/iCellRenderer";
118export {AnimateShowChangeCellRenderer} from "./rendering/cellRenderers/animateShowChangeCellRenderer";
119export {AnimateSlideCellRenderer} from "./rendering/cellRenderers/animateSlideCellRenderer";
120export {GroupCellRenderer} from "./rendering/cellRenderers/groupCellRenderer";
121
122// overlays
123export {ILoadingOverlayComp, ILoadingOverlayParams} from "./rendering/overlays/loadingOverlayComponent";
124export {INoRowsOverlayComp, INoRowsOverlayParams} from "./rendering/overlays/noRowsOverlayComponent";
125
126// features
127export {SetLeftFeature} from "./rendering/features/setLeftFeature";
128
129// rendering
130export {AutoWidthCalculator} from "./rendering/autoWidthCalculator";
131export {CellEditorFactory} from "./rendering/cellEditorFactory";
132export {CellRendererFactory} from "./rendering/cellRendererFactory";
133export {CellRendererService} from "./rendering/cellRendererService";
134export {CheckboxSelectionComponent} from "./rendering/checkboxSelectionComponent";
135export {CellComp} from "./rendering/cellComp";
136export {RowComp} from "./rendering/rowComp";
137export {RowRenderer} from "./rendering/rowRenderer";
138export {ValueFormatterService} from "./rendering/valueFormatterService";
139export {TextFormatter} from "./filter/textFilter";
140
141// rowControllers/inMemory
142export {FilterStage} from "./rowModels/clientSide/filterStage";
143export {FlattenStage} from "./rowModels/clientSide/flattenStage";
144export {SortStage} from "./rowModels/clientSide/sortStage";
145
146// row models
147export {PinnedRowModel} from "./rowModels/pinnedRowModel";
148export {ClientSideRowModel, RowNodeTransaction} from "./rowModels/clientSide/clientSideRowModel";
149export {ChangedPath} from "./rowModels/clientSide/changedPath";
150export {ClientSideNodeManager} from "./rowModels/clientSide/clientSideNodeManager";
151export {InfiniteRowModel} from "./rowModels/infinite/infiniteRowModel";
152export {InfiniteCacheParams} from "./rowModels/infinite/infiniteCache";
153export {RowNodeBlock} from "./rowModels/cache/rowNodeBlock";
154export {RowNodeBlockLoader} from "./rowModels/cache/rowNodeBlockLoader";
155
156export {ColumnVO} from "./interfaces/iColumnVO";
157
158export {IServerSideDatasource} from "./interfaces/iServerSideDatasource";
159export {IServerSideGetRowsParams} from "./interfaces/iServerSideDatasource";
160export {IServerSideGetRowsRequest} from "./interfaces/iServerSideDatasource";
161
162export {IServerSideRowModel} from "./interfaces/iServerSideRowModel";
163export {IServerSideCache} from "./interfaces/iServerSideCache";
164
165export {IToolPanel} from "./interfaces/iToolPanel";
166export {RowNodeCache, RowNodeCacheParams} from "./rowModels/cache/rowNodeCache";
167export {IGetRowsParams, IDatasource} from "./rowModels/iDatasource";
168
169//styling
170export {StylingService} from "./styling/stylingService";
171
172// widgets
173export {AgCheckbox} from "./widgets/agCheckbox";
174export {Component} from "./widgets/component";
175export {PopupService} from "./widgets/popupService";
176export {TouchListener, TapEvent, LongTapEvent} from "./widgets/touchListener";
177
178// range
179export {RangeSelection, AddRangeSelectionParams} from "./interfaces/iRangeController"
180export {IRangeController} from "./interfaces/iRangeController"
181
182// root
183export {BaseFrameworkFactory} from "./baseFrameworkFactory";
184export {CellNavigationService} from "./cellNavigationService";
185export {AlignedGridsService} from "./alignedGridsService";
186export {Constants} from "./constants";
187export {CsvCreator, BaseCreator} from "./csvCreator";
188export {Downloader} from "./downloader";
189export {Grid, GridParams} from "./grid";
190export {GridApi, RedrawRowsParams, RefreshCellsParams, StartEditingCellParams, DetailGridInfo} from "./gridApi";
191export {Events} from "./eventKeys";
192export {FocusedCellController} from "./focusedCellController";
193export {defaultGroupComparator} from "./functions";
194export {GridOptionsWrapper} from "./gridOptionsWrapper";
195export {EventService} from "./eventService";
196export {SelectableService} from "./rowNodes/selectableService";
197export {GridCore} from "./gridCore";
198export {Logger} from "./logger";
199export {SelectionController} from "./selectionController";
200export {SortController} from "./sortController";
201export {TemplateService} from "./templateService";
202export {Utils, NumberSequence, _, Promise, ExternalPromise} from "./utils";
203export {ValueService} from "./valueService/valueService";
204export {ExpressionService} from "./valueService/expressionService";
205export {XmlFactory} from "./xmlFactory";
206export {GridSerializer, BaseGridSerializingSession, RowType} from "./gridSerializer";
207export {CsvExportParams, ExportParams} from "./exportParams"
208export {XmlElement} from "./xmlFactory"
209export {LoggerFactory} from "./logger";
210export {RowAccumulator, RowSpanningAccumulator} from "./gridSerializer"
211
212// uncatalogued
213export {IRowModel, RowBounds} from "./interfaces/iRowModel"
214export {IAggFuncService} from "./interfaces/iAggFuncService"
215export {IClipboardService} from "./interfaces/iClipboardService"
216export {IExcelCreator} from "./interfaces/iExcelCreator"
217export {IMenuFactory} from "./interfaces/iMenuFactory"
218export {IAggFunc, ColGroupDef} from "./entities/colDef"
219export {GridCellDef} from "./entities/gridCell"
220export {ColDef} from "./entities/colDef"
221export {ProcessCellForExportParams, ProcessHeaderForExportParams} from "./exportParams"
222export {
223 GridOptions,
224 GetContextMenuItemsParams,
225 GetContextMenuItems,
226 GetDataPath,
227 IsRowMaster,
228 IsRowSelectable,
229 MenuItemDef,
230 GetNodeChildDetails,
231 NodeChildDetails,
232 GetMainMenuItemsParams,
233 GetMainMenuItems,
234 GetRowNodeIdFunc,
235 ProcessRowParams,
236 NavigateToNextCellParams,
237 TabToNextCellParams,
238 PostProcessPopupParams
239} from "./entities/gridOptions"
240export {OriginalColumnGroupChild} from "./entities/originalColumnGroupChild"
241export {IViewportDatasource, IViewportDatasourceParams} from "./interfaces/iViewportDatasource"
242export {IContextMenuFactory} from "./interfaces/iContextMenuFactory"
243export {ICompFactory} from "./interfaces/iCompFactory"
244export {IRowNodeStage, StageExecuteParams} from "./interfaces/iRowNodeStage"
245export {IFilterParams, IDoesFilterPassParams, SerializedFilter} from "./interfaces/iFilter"
246export {ISetFilterParams, SetFilterValues, SetFilterValuesFunc, SetFilterValuesFuncParams} from "./interfaces/iSetFilterParams"
247export {SerializedSetFilter} from "./interfaces/iSerializedSetFilter"
248export {IDateParams, IDate, IDateComp} from "./rendering/dateComponent";
249export {IAfterGuiAttachedParams, IComponent} from "./interfaces/iComponent";
250export {IFilter, IFilterComp} from "./interfaces/iFilter";
251export {IHeaderParams} from "./headerRendering/header/headerComp";
252export {GetQuickFilterTextParams} from "./entities/colDef";
253export {IHeaderGroupParams, IHeaderGroup} from "./headerRendering/headerGroup/headerGroupComp";
254export {TextAndNumberFilterParameters} from "./filter/textAndNumberFilterParameters";
255export {IsColumnFunc} from "./entities/colDef";
256export {ColumnApi} from "./columnController/columnApi";
257export {IHeader} from "./headerRendering/header/headerComp";
258export {ICellRendererParams} from "./rendering/cellRenderers/iCellRenderer";
259export {IRichCellEditorParams} from "./interfaces/iRichCellEditorParams";
260export {WrapableInterface} from "./components/framework/frameworkComponentWrapper";
261export {BaseComponentWrapper} from "./components/framework/frameworkComponentWrapper";
262export {FrameworkComponentWrapper} from "./components/framework/frameworkComponentWrapper";
263export {IFrameworkFactory} from "./interfaces/iFrameworkFactory";
264export {SerializedNumberFilter} from "./filter/numberFilter";
265export {Environment} from "./environment";
266
267// events
268export {AgEvent, AgGridEvent, ModelUpdatedEvent, ColumnPivotModeChangedEvent, VirtualColumnsChangedEvent,
269 ColumnEverythingChangedEvent, NewColumnsLoadedEvent, GridColumnsChangedEvent, DisplayedColumnsChangedEvent,
270 RowDataChangedEvent, RowDataUpdatedEvent, PinnedRowDataChangedEvent, SelectionChangedEvent, FilterChangedEvent,
271 FilterModifiedEvent, SortChangedEvent, GridReadyEvent, DragStartedEvent, DragStoppedEvent,
272 DisplayedColumnsWidthChangedEvent, ColumnHoverChangedEvent, BodyHeightChangedEvent, ComponentStateChangedEvent,
273 ViewportChangedEvent, RangeSelectionChangedEvent, ColumnGroupOpenedEvent, ItemsAddedEvent,
274 BodyScrollEvent, FlashCellsEvent, PaginationChangedEvent, CellFocusedEvent, ColumnEvent, ColumnResizedEvent,
275 ColumnPivotChangedEvent, ColumnRowGroupChangedEvent, ColumnValueChangedEvent, ColumnMovedEvent, ColumnVisibleEvent,
276 ColumnPinnedEvent, RowEvent, RowGroupOpenedEvent, RowValueChangedEvent, RowSelectedEvent, VirtualRowRemovedEvent,
277 RowClickedEvent, RowDoubleClickedEvent, RowEditingStartedEvent, RowEditingStoppedEvent, CellEvent, CellClickedEvent,
278 CellMouseDownEvent, CellDoubleClickedEvent, CellMouseOverEvent, CellMouseOutEvent, CellContextMenuEvent, CellEditingStartedEvent,
279 CellEditingStoppedEvent, CellValueChangedEvent, ColumnRequestEvent, ColumnRowGroupChangeRequestEvent,
280 ColumnPivotChangeRequestEvent, ColumnValueChangeRequestEvent, ColumnAggFuncChangeRequestEvent, ScrollVisibilityChangedEvent,
281 RowDragEvent, RowDragLeaveEvent, RowDragEnterEvent, RowDragEndEvent, RowDragMoveEvent, ToolPanelVisibleChangedEvent,
282 PasteEndEvent, PasteStartEvent, GridSizeChangedEvent}
283 from "./events";