forked from ag-grid/ag-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
272 lines (272 loc) · 16.1 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v20.2.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var globalObj = typeof global === 'undefined' ? {} : global;
globalObj.HTMLElement = typeof HTMLElement === 'undefined' ? {} : HTMLElement;
globalObj.HTMLButtonElement = typeof HTMLButtonElement === 'undefined' ? {} : HTMLButtonElement;
globalObj.HTMLSelectElement = typeof HTMLSelectElement === 'undefined' ? {} : HTMLSelectElement;
globalObj.HTMLInputElement = typeof HTMLInputElement === 'undefined' ? {} : HTMLInputElement;
globalObj.Node = typeof Node === 'undefined' ? {} : Node;
globalObj.MouseEvent = typeof MouseEvent === 'undefined' ? {} : MouseEvent;
// columnController
var columnFactory_1 = require("./dist/lib/columnController/columnFactory");
exports.ColumnFactory = columnFactory_1.ColumnFactory;
var columnController_1 = require("./dist/lib/columnController/columnController");
exports.ColumnController = columnController_1.ColumnController;
var columnKeyCreator_1 = require("./dist/lib/columnController/columnKeyCreator");
exports.ColumnKeyCreator = columnKeyCreator_1.ColumnKeyCreator;
var columnUtils_1 = require("./dist/lib/columnController/columnUtils");
exports.ColumnUtils = columnUtils_1.ColumnUtils;
var displayedGroupCreator_1 = require("./dist/lib/columnController/displayedGroupCreator");
exports.DisplayedGroupCreator = displayedGroupCreator_1.DisplayedGroupCreator;
var groupInstanceIdCreator_1 = require("./dist/lib/columnController/groupInstanceIdCreator");
exports.GroupInstanceIdCreator = groupInstanceIdCreator_1.GroupInstanceIdCreator;
// components
var componentUtil_1 = require("./dist/lib/components/componentUtil");
exports.ComponentUtil = componentUtil_1.ComponentUtil;
var colDefUtil_1 = require("./dist/lib/components/colDefUtil");
exports.ColDefUtil = colDefUtil_1.ColDefUtil;
var userComponentRegistry_1 = require("./dist/lib/components/framework/userComponentRegistry");
exports.UserComponentRegistry = userComponentRegistry_1.UserComponentRegistry;
var userComponentFactory_1 = require("./dist/lib/components/framework/userComponentFactory");
exports.UserComponentFactory = userComponentFactory_1.UserComponentFactory;
var agGridNg1_1 = require("./dist/lib/components/agGridNg1");
exports.initialiseAgGridWithAngular1 = agGridNg1_1.initialiseAgGridWithAngular1;
var agGridWebComponent_1 = require("./dist/lib/components/agGridWebComponent");
exports.initialiseAgGridWithWebComponents = agGridWebComponent_1.initialiseAgGridWithWebComponents;
// context
var beanStub_1 = require("./dist/lib/context/beanStub");
exports.BeanStub = beanStub_1.BeanStub;
var context_1 = require("./dist/lib/context/context");
exports.Context = context_1.Context;
exports.Autowired = context_1.Autowired;
exports.PostConstruct = context_1.PostConstruct;
exports.PreConstruct = context_1.PreConstruct;
exports.Optional = context_1.Optional;
exports.Bean = context_1.Bean;
exports.Qualifier = context_1.Qualifier;
exports.PreDestroy = context_1.PreDestroy;
var componentAnnotations_1 = require("./dist/lib/widgets/componentAnnotations");
exports.QuerySelector = componentAnnotations_1.QuerySelector;
exports.Listener = componentAnnotations_1.Listener;
exports.RefSelector = componentAnnotations_1.RefSelector;
// dragAndDrop
var dragAndDropService_1 = require("./dist/lib/dragAndDrop/dragAndDropService");
exports.DragAndDropService = dragAndDropService_1.DragAndDropService;
exports.DragSourceType = dragAndDropService_1.DragSourceType;
exports.HDirection = dragAndDropService_1.HDirection;
exports.VDirection = dragAndDropService_1.VDirection;
var dragService_1 = require("./dist/lib/dragAndDrop/dragService");
exports.DragService = dragService_1.DragService;
// entities
var column_1 = require("./dist/lib/entities/column");
exports.Column = column_1.Column;
var columnGroup_1 = require("./dist/lib/entities/columnGroup");
exports.ColumnGroup = columnGroup_1.ColumnGroup;
var gridCell_1 = require("./dist/lib/entities/gridCell");
exports.GridCell = gridCell_1.GridCell;
var gridRow_1 = require("./dist/lib/entities/gridRow");
exports.GridRow = gridRow_1.GridRow;
var originalColumnGroup_1 = require("./dist/lib/entities/originalColumnGroup");
exports.OriginalColumnGroup = originalColumnGroup_1.OriginalColumnGroup;
var rowNode_1 = require("./dist/lib/entities/rowNode");
exports.RowNode = rowNode_1.RowNode;
// filter
var baseFilter_1 = require("./dist/lib/filter/baseFilter");
exports.BaseFilter = baseFilter_1.BaseFilter;
var dateFilter_1 = require("./dist/lib/filter/dateFilter");
exports.DateFilter = dateFilter_1.DateFilter;
var filterManager_1 = require("./dist/lib/filter/filterManager");
exports.FilterManager = filterManager_1.FilterManager;
var numberFilter_1 = require("./dist/lib/filter/numberFilter");
exports.NumberFilter = numberFilter_1.NumberFilter;
var textFilter_1 = require("./dist/lib/filter/textFilter");
exports.TextFilter = textFilter_1.TextFilter;
// gridPanel
var gridPanel_1 = require("./dist/lib/gridPanel/gridPanel");
exports.GridPanel = gridPanel_1.GridPanel;
var scrollVisibleService_1 = require("./dist/lib/gridPanel/scrollVisibleService");
exports.ScrollVisibleService = scrollVisibleService_1.ScrollVisibleService;
var mouseEventService_1 = require("./dist/lib/gridPanel/mouseEventService");
exports.MouseEventService = mouseEventService_1.MouseEventService;
// headerRendering
var bodyDropPivotTarget_1 = require("./dist/lib/headerRendering/bodyDropPivotTarget");
exports.BodyDropPivotTarget = bodyDropPivotTarget_1.BodyDropPivotTarget;
var bodyDropTarget_1 = require("./dist/lib/headerRendering/bodyDropTarget");
exports.BodyDropTarget = bodyDropTarget_1.BodyDropTarget;
var cssClassApplier_1 = require("./dist/lib/headerRendering/cssClassApplier");
exports.CssClassApplier = cssClassApplier_1.CssClassApplier;
var headerContainer_1 = require("./dist/lib/headerRendering/headerContainer");
exports.HeaderContainer = headerContainer_1.HeaderContainer;
var headerRootComp_1 = require("./dist/lib/headerRendering/headerRootComp");
exports.HeaderRootComp = headerRootComp_1.HeaderRootComp;
var headerRowComp_1 = require("./dist/lib/headerRendering/headerRowComp");
exports.HeaderRowComp = headerRowComp_1.HeaderRowComp;
var horizontalResizeService_1 = require("./dist/lib/headerRendering/horizontalResizeService");
exports.HorizontalResizeService = horizontalResizeService_1.HorizontalResizeService;
var moveColumnController_1 = require("./dist/lib/headerRendering/moveColumnController");
exports.MoveColumnController = moveColumnController_1.MoveColumnController;
var standardMenu_1 = require("./dist/lib/headerRendering/standardMenu");
exports.StandardMenuFactory = standardMenu_1.StandardMenuFactory;
// layout
var tabbedLayout_1 = require("./dist/lib/layout/tabbedLayout");
exports.TabbedLayout = tabbedLayout_1.TabbedLayout;
var verticalStack_1 = require("./dist/lib/layout/verticalStack");
exports.VerticalStack = verticalStack_1.VerticalStack;
// misc
var simpleHttpRequest_1 = require("./dist/lib/misc/simpleHttpRequest");
exports.simpleHttpRequest = simpleHttpRequest_1.simpleHttpRequest;
var largeTextCellEditor_1 = require("./dist/lib/rendering/cellEditors/largeTextCellEditor");
exports.LargeTextCellEditor = largeTextCellEditor_1.LargeTextCellEditor;
var popupEditorWrapper_1 = require("./dist/lib/rendering/cellEditors/popupEditorWrapper");
exports.PopupEditorWrapper = popupEditorWrapper_1.PopupEditorWrapper;
var popupSelectCellEditor_1 = require("./dist/lib/rendering/cellEditors/popupSelectCellEditor");
exports.PopupSelectCellEditor = popupSelectCellEditor_1.PopupSelectCellEditor;
var popupTextCellEditor_1 = require("./dist/lib/rendering/cellEditors/popupTextCellEditor");
exports.PopupTextCellEditor = popupTextCellEditor_1.PopupTextCellEditor;
var selectCellEditor_1 = require("./dist/lib/rendering/cellEditors/selectCellEditor");
exports.SelectCellEditor = selectCellEditor_1.SelectCellEditor;
var textCellEditor_1 = require("./dist/lib/rendering/cellEditors/textCellEditor");
exports.TextCellEditor = textCellEditor_1.TextCellEditor;
var animateShowChangeCellRenderer_1 = require("./dist/lib/rendering/cellRenderers/animateShowChangeCellRenderer");
exports.AnimateShowChangeCellRenderer = animateShowChangeCellRenderer_1.AnimateShowChangeCellRenderer;
var animateSlideCellRenderer_1 = require("./dist/lib/rendering/cellRenderers/animateSlideCellRenderer");
exports.AnimateSlideCellRenderer = animateSlideCellRenderer_1.AnimateSlideCellRenderer;
var groupCellRenderer_1 = require("./dist/lib/rendering/cellRenderers/groupCellRenderer");
exports.GroupCellRenderer = groupCellRenderer_1.GroupCellRenderer;
// features
var setLeftFeature_1 = require("./dist/lib/rendering/features/setLeftFeature");
exports.SetLeftFeature = setLeftFeature_1.SetLeftFeature;
// rendering
var autoWidthCalculator_1 = require("./dist/lib/rendering/autoWidthCalculator");
exports.AutoWidthCalculator = autoWidthCalculator_1.AutoWidthCalculator;
var cellRendererFactory_1 = require("./dist/lib/rendering/cellRendererFactory");
exports.CellRendererFactory = cellRendererFactory_1.CellRendererFactory;
var checkboxSelectionComponent_1 = require("./dist/lib/rendering/checkboxSelectionComponent");
exports.CheckboxSelectionComponent = checkboxSelectionComponent_1.CheckboxSelectionComponent;
var cellComp_1 = require("./dist/lib/rendering/cellComp");
exports.CellComp = cellComp_1.CellComp;
var rowComp_1 = require("./dist/lib/rendering/rowComp");
exports.RowComp = rowComp_1.RowComp;
var rowRenderer_1 = require("./dist/lib/rendering/rowRenderer");
exports.RowRenderer = rowRenderer_1.RowRenderer;
var valueFormatterService_1 = require("./dist/lib/rendering/valueFormatterService");
exports.ValueFormatterService = valueFormatterService_1.ValueFormatterService;
// rowControllers/inMemory
var filterStage_1 = require("./dist/lib/rowModels/clientSide/filterStage");
exports.FilterStage = filterStage_1.FilterStage;
var flattenStage_1 = require("./dist/lib/rowModels/clientSide/flattenStage");
exports.FlattenStage = flattenStage_1.FlattenStage;
var sortStage_1 = require("./dist/lib/rowModels/clientSide/sortStage");
exports.SortStage = sortStage_1.SortStage;
// row models
var pinnedRowModel_1 = require("./dist/lib/rowModels/pinnedRowModel");
exports.PinnedRowModel = pinnedRowModel_1.PinnedRowModel;
var clientSideRowModel_1 = require("./dist/lib/rowModels/clientSide/clientSideRowModel");
exports.ClientSideRowModel = clientSideRowModel_1.ClientSideRowModel;
var changedPath_1 = require("./dist/lib/rowModels/clientSide/changedPath");
exports.ChangedPath = changedPath_1.ChangedPath;
var clientSideNodeManager_1 = require("./dist/lib/rowModels/clientSide/clientSideNodeManager");
exports.ClientSideNodeManager = clientSideNodeManager_1.ClientSideNodeManager;
var infiniteRowModel_1 = require("./dist/lib/rowModels/infinite/infiniteRowModel");
exports.InfiniteRowModel = infiniteRowModel_1.InfiniteRowModel;
var rowNodeBlock_1 = require("./dist/lib/rowModels/cache/rowNodeBlock");
exports.RowNodeBlock = rowNodeBlock_1.RowNodeBlock;
var rowNodeBlockLoader_1 = require("./dist/lib/rowModels/cache/rowNodeBlockLoader");
exports.RowNodeBlockLoader = rowNodeBlockLoader_1.RowNodeBlockLoader;
var paginationProxy_1 = require("./dist/lib/rowModels/paginationProxy");
exports.PaginationProxy = paginationProxy_1.PaginationProxy;
var rowNodeCache_1 = require("./dist/lib/rowModels/cache/rowNodeCache");
exports.RowNodeCache = rowNodeCache_1.RowNodeCache;
//styling
var stylingService_1 = require("./dist/lib/styling/stylingService");
exports.StylingService = stylingService_1.StylingService;
// widgets
var agCheckbox_1 = require("./dist/lib/widgets/agCheckbox");
exports.AgCheckbox = agCheckbox_1.AgCheckbox;
var popupWindow_1 = require("./dist/lib/widgets/popupWindow");
exports.PopupWindow = popupWindow_1.PopupWindow;
var popupMessageBox_1 = require("./dist/lib/widgets/popupMessageBox");
exports.PopupMessageBox = popupMessageBox_1.PopupMessageBox;
var component_1 = require("./dist/lib/widgets/component");
exports.Component = component_1.Component;
var popupComponent_1 = require("./dist/lib/widgets/popupComponent");
exports.PopupComponent = popupComponent_1.PopupComponent;
var popupService_1 = require("./dist/lib/widgets/popupService");
exports.PopupService = popupService_1.PopupService;
var touchListener_1 = require("./dist/lib/widgets/touchListener");
exports.TouchListener = touchListener_1.TouchListener;
// exporter
var csvCreator_1 = require("./dist/lib/exporter/csvCreator");
exports.CsvCreator = csvCreator_1.CsvCreator;
exports.BaseCreator = csvCreator_1.BaseCreator;
var downloader_1 = require("./dist/lib/exporter/downloader");
exports.Downloader = downloader_1.Downloader;
var xmlFactory_1 = require("./dist/lib/exporter/xmlFactory");
exports.XmlFactory = xmlFactory_1.XmlFactory;
var gridSerializer_1 = require("./dist/lib/exporter/gridSerializer");
exports.BaseGridSerializingSession = gridSerializer_1.BaseGridSerializingSession;
exports.GridSerializer = gridSerializer_1.GridSerializer;
var gridSerializer_2 = require("./dist/lib/exporter/gridSerializer");
exports.RowType = gridSerializer_2.RowType;
var zipContainer_1 = require("./dist/lib/exporter/files/zip/zipContainer");
exports.ZipContainer = zipContainer_1.ZipContainer;
// root
var baseFrameworkFactory_1 = require("./dist/lib/baseFrameworkFactory");
exports.BaseFrameworkFactory = baseFrameworkFactory_1.BaseFrameworkFactory;
var cellNavigationService_1 = require("./dist/lib/cellNavigationService");
exports.CellNavigationService = cellNavigationService_1.CellNavigationService;
var alignedGridsService_1 = require("./dist/lib/alignedGridsService");
exports.AlignedGridsService = alignedGridsService_1.AlignedGridsService;
var constants_1 = require("./dist/lib/constants");
exports.Constants = constants_1.Constants;
var grid_1 = require("./dist/lib/grid");
exports.Grid = grid_1.Grid;
var gridApi_1 = require("./dist/lib/gridApi");
exports.GridApi = gridApi_1.GridApi;
var eventKeys_1 = require("./dist/lib/eventKeys");
exports.Events = eventKeys_1.Events;
var focusedCellController_1 = require("./dist/lib/focusedCellController");
exports.FocusedCellController = focusedCellController_1.FocusedCellController;
var functions_1 = require("./dist/lib/functions");
exports.defaultGroupComparator = functions_1.defaultGroupComparator;
var gridOptionsWrapper_1 = require("./dist/lib/gridOptionsWrapper");
exports.GridOptionsWrapper = gridOptionsWrapper_1.GridOptionsWrapper;
var eventService_1 = require("./dist/lib/eventService");
exports.EventService = eventService_1.EventService;
var selectableService_1 = require("./dist/lib/rowNodes/selectableService");
exports.SelectableService = selectableService_1.SelectableService;
var gridCore_1 = require("./dist/lib/gridCore");
exports.GridCore = gridCore_1.GridCore;
var logger_1 = require("./dist/lib/logger");
exports.Logger = logger_1.Logger;
var selectionController_1 = require("./dist/lib/selectionController");
exports.SelectionController = selectionController_1.SelectionController;
var sortController_1 = require("./dist/lib/sortController");
exports.SortController = sortController_1.SortController;
var templateService_1 = require("./dist/lib/templateService");
exports.TemplateService = templateService_1.TemplateService;
var utils_1 = require("./dist/lib/utils");
exports.Utils = utils_1.Utils;
exports.NumberSequence = utils_1.NumberSequence;
exports._ = utils_1._;
exports.Promise = utils_1.Promise;
var valueService_1 = require("./dist/lib/valueService/valueService");
exports.ValueService = valueService_1.ValueService;
var expressionService_1 = require("./dist/lib/valueService/expressionService");
exports.ExpressionService = expressionService_1.ExpressionService;
var logger_2 = require("./dist/lib/logger");
exports.LoggerFactory = logger_2.LoggerFactory;
var columnApi_1 = require("./dist/lib/columnController/columnApi");
exports.ColumnApi = columnApi_1.ColumnApi;
var frameworkComponentWrapper_1 = require("./dist/lib/components/framework/frameworkComponentWrapper");
exports.BaseComponentWrapper = frameworkComponentWrapper_1.BaseComponentWrapper;
var environment_1 = require("./dist/lib/environment");
exports.Environment = environment_1.Environment;
var tooltipManager_1 = require("./dist/lib/widgets/tooltipManager");
exports.TooltipManager = tooltipManager_1.TooltipManager;