UNPKG

143 kBJavaScriptView Raw
1(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('ag-grid-community')) :
3 typeof define === 'function' && define.amd ? define('ag-grid-angular', ['exports', '@angular/core', 'ag-grid-community'], factory) :
4 (global = global || self, factory(global['ag-grid-angular'] = {}, global.ng.core, global.agGrid));
5}(this, (function (exports, core, agGridCommunity) { 'use strict';
6
7 /*! *****************************************************************************
8 Copyright (c) Microsoft Corporation.
9
10 Permission to use, copy, modify, and/or distribute this software for any
11 purpose with or without fee is hereby granted.
12
13 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 PERFORMANCE OF THIS SOFTWARE.
20 ***************************************************************************** */
21 /* global Reflect, Promise */
22
23 var extendStatics = function(d, b) {
24 extendStatics = Object.setPrototypeOf ||
25 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
27 return extendStatics(d, b);
28 };
29
30 function __extends(d, b) {
31 extendStatics(d, b);
32 function __() { this.constructor = d; }
33 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34 }
35
36 var __assign = function() {
37 __assign = Object.assign || function __assign(t) {
38 for (var s, i = 1, n = arguments.length; i < n; i++) {
39 s = arguments[i];
40 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
41 }
42 return t;
43 };
44 return __assign.apply(this, arguments);
45 };
46
47 function __rest(s, e) {
48 var t = {};
49 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50 t[p] = s[p];
51 if (s != null && typeof Object.getOwnPropertySymbols === "function")
52 for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53 if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54 t[p[i]] = s[p[i]];
55 }
56 return t;
57 }
58
59 function __decorate(decorators, target, key, desc) {
60 var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61 if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62 else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63 return c > 3 && r && Object.defineProperty(target, key, r), r;
64 }
65
66 function __param(paramIndex, decorator) {
67 return function (target, key) { decorator(target, key, paramIndex); }
68 }
69
70 function __metadata(metadataKey, metadataValue) {
71 if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
72 }
73
74 function __awaiter(thisArg, _arguments, P, generator) {
75 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76 return new (P || (P = Promise))(function (resolve, reject) {
77 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79 function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80 step((generator = generator.apply(thisArg, _arguments || [])).next());
81 });
82 }
83
84 function __generator(thisArg, body) {
85 var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86 return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87 function verb(n) { return function (v) { return step([n, v]); }; }
88 function step(op) {
89 if (f) throw new TypeError("Generator is already executing.");
90 while (_) try {
91 if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92 if (y = 0, t) op = [op[0] & 2, t.value];
93 switch (op[0]) {
94 case 0: case 1: t = op; break;
95 case 4: _.label++; return { value: op[1], done: false };
96 case 5: _.label++; y = op[1]; op = [0]; continue;
97 case 7: op = _.ops.pop(); _.trys.pop(); continue;
98 default:
99 if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100 if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101 if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102 if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103 if (t[2]) _.ops.pop();
104 _.trys.pop(); continue;
105 }
106 op = body.call(thisArg, _);
107 } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108 if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
109 }
110 }
111
112 function __createBinding(o, m, k, k2) {
113 if (k2 === undefined) k2 = k;
114 o[k2] = m[k];
115 }
116
117 function __exportStar(m, exports) {
118 for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
119 }
120
121 function __values(o) {
122 var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
123 if (m) return m.call(o);
124 if (o && typeof o.length === "number") return {
125 next: function () {
126 if (o && i >= o.length) o = void 0;
127 return { value: o && o[i++], done: !o };
128 }
129 };
130 throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
131 }
132
133 function __read(o, n) {
134 var m = typeof Symbol === "function" && o[Symbol.iterator];
135 if (!m) return o;
136 var i = m.call(o), r, ar = [], e;
137 try {
138 while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
139 }
140 catch (error) { e = { error: error }; }
141 finally {
142 try {
143 if (r && !r.done && (m = i["return"])) m.call(i);
144 }
145 finally { if (e) throw e.error; }
146 }
147 return ar;
148 }
149
150 function __spread() {
151 for (var ar = [], i = 0; i < arguments.length; i++)
152 ar = ar.concat(__read(arguments[i]));
153 return ar;
154 }
155
156 function __spreadArrays() {
157 for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
158 for (var r = Array(s), k = 0, i = 0; i < il; i++)
159 for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
160 r[k] = a[j];
161 return r;
162 };
163
164 function __await(v) {
165 return this instanceof __await ? (this.v = v, this) : new __await(v);
166 }
167
168 function __asyncGenerator(thisArg, _arguments, generator) {
169 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
170 var g = generator.apply(thisArg, _arguments || []), i, q = [];
171 return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
172 function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
173 function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
174 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
175 function fulfill(value) { resume("next", value); }
176 function reject(value) { resume("throw", value); }
177 function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
178 }
179
180 function __asyncDelegator(o) {
181 var i, p;
182 return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
183 function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
184 }
185
186 function __asyncValues(o) {
187 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
188 var m = o[Symbol.asyncIterator], i;
189 return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
190 function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
191 function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
192 }
193
194 function __makeTemplateObject(cooked, raw) {
195 if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
196 return cooked;
197 };
198
199 function __importStar(mod) {
200 if (mod && mod.__esModule) return mod;
201 var result = {};
202 if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
203 result.default = mod;
204 return result;
205 }
206
207 function __importDefault(mod) {
208 return (mod && mod.__esModule) ? mod : { default: mod };
209 }
210
211 function __classPrivateFieldGet(receiver, privateMap) {
212 if (!privateMap.has(receiver)) {
213 throw new TypeError("attempted to get private field on non-instance");
214 }
215 return privateMap.get(receiver);
216 }
217
218 function __classPrivateFieldSet(receiver, privateMap, value) {
219 if (!privateMap.has(receiver)) {
220 throw new TypeError("attempted to set private field on non-instance");
221 }
222 privateMap.set(receiver, value);
223 return value;
224 }
225
226 var AgGridColumn = /** @class */ (function () {
227 function AgGridColumn() {
228 // inputs - pretty much most of ColDef, with the exception of template, templateUrl and internal only properties
229 // @START@
230 /** Columns in this group */
231 this.children = undefined;
232 /** The sort order, provide an array with any of the following in any order ['asc','desc',null] */
233 this.sortingOrder = undefined;
234 /** Agg funcs allowed on this column. If missing, all installed agg funcs are allowed.
235 * Can be eg ['sum','avg']. This will restrict what the GUI allows to select only. */
236 this.allowedAggFuncs = undefined;
237 /** The menu tabs to show, and in which order, the valid values for this property are:
238 * filterMenuTab, generalMenuTab, columnsMenuTab * */
239 this.menuTabs = undefined;
240 /** Rules for applying css classes */
241 this.cellClassRules = undefined;
242 /** Icons for this column. Leave blank to use default. */
243 this.icons = undefined;
244 /** The custom header group component to be used for rendering the component header. If none specified the default AG Grid is used* */
245 this.headerGroupComponent = undefined;
246 /** The custom header group component to be used for rendering the component header in the hosting framework (ie: React/Angular). If none specified the default AG Grid is used* */
247 this.headerGroupComponentFramework = undefined;
248 /** The custom header group component to be used for rendering the component header. If none specified the default AG Grid is used* */
249 this.headerGroupComponentParams = undefined;
250 /** An object of css values. Or a function returning an object of css values. */
251 this.cellStyle = undefined;
252 this.cellRendererParams = undefined;
253 this.cellEditorFramework = undefined;
254 this.cellEditorParams = undefined;
255 /** @deprecated Use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned.
256 */
257 this.pinnedRowCellRendererFramework = undefined;
258 /** @deprecated Use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned.
259 */
260 this.pinnedRowCellRendererParams = undefined;
261 this.filterFramework = undefined;
262 this.filterParams = undefined;
263 /** The custom header component to be used for rendering the component header. If none specified the default AG Grid is used* */
264 this.headerComponent = undefined;
265 /** The custom header component to be used for rendering the component header in the hosting framework (ie: React/Angular). If none specified the default AG Grid is used* */
266 this.headerComponentFramework = undefined;
267 /** The custom header component parameters* */
268 this.headerComponentParams = undefined;
269 this.floatingFilterComponent = undefined;
270 this.floatingFilterComponentParams = undefined;
271 this.floatingFilterComponentFramework = undefined;
272 this.tooltipComponent = undefined;
273 this.tooltipComponentParams = undefined;
274 this.tooltipComponentFramework = undefined;
275 this.refData = undefined;
276 /** Params to customise the columns menu behaviour and appearance */
277 this.columnsMenuParams = undefined;
278 /** The name to render in the column header */
279 this.headerName = undefined;
280 /** Whether to show the column when the group is open / closed. */
281 this.columnGroupShow = undefined;
282 /** CSS class for the header */
283 this.headerClass = undefined;
284 /** CSS class for the toolPanel */
285 this.toolPanelClass = undefined;
286 /** Expression or function to get the cells value. */
287 this.headerValueGetter = undefined;
288 /** Group ID */
289 this.groupId = undefined;
290 /** The unique ID to give the column. This is optional. If missing, the ID will default to the field.
291 * If both field and colId are missing, a unique ID will be generated.
292 * This ID is used to identify the column in the API for sorting, filtering etc. */
293 this.colId = undefined;
294 /** If sorting by default, set it here. Set to 'asc' or 'desc' */
295 this.sort = undefined;
296 this.initialSort = undefined;
297 /** The field of the row to get the cells data from */
298 this.field = undefined;
299 /** A comma separated string or array of strings containing ColumnType keys which can be used as a template for a column.
300 * This helps to reduce duplication of properties when you have a lot of common column properties. */
301 this.type = undefined;
302 /** The field where we get the tooltip on the object */
303 this.tooltipField = undefined;
304 /** Tooltip for the column header */
305 this.headerTooltip = undefined;
306 /** Class to use for the cell. Can be string, array of strings, or function. */
307 this.cellClass = undefined;
308 /** Set to true to have the grid place the values for the group into the cell, or put the name of a grouped column to just show that group. */
309 this.showRowGroup = undefined;
310 this.filter = undefined;
311 this.initialAggFunc = undefined;
312 /** Name of function to use for aggregation. One of [sum,min,max,first,last] or a function. */
313 this.aggFunc = undefined;
314 /** A function for rendering a cell. */
315 this.cellRenderer = undefined;
316 /** Cell editor */
317 this.cellEditor = undefined;
318 /** Whether this column is pinned or not. */
319 this.pinned = undefined;
320 this.initialPinned = undefined;
321 /** Defines the column data type used when charting */
322 this.chartDataType = undefined;
323 this.cellEditorPopupPosition = undefined;
324 /** @deprecated since v24 - use sortIndex instead
325 */
326 this.sortedAt = undefined;
327 /** If sorting more than one column by default, specifies order in which the sorting should be applied. */
328 this.sortIndex = undefined;
329 this.initialSortIndex = undefined;
330 /** Sets the grow factor of a column. It specifies how much of the remaining
331 * space should be assigned to the column. */
332 this.flex = undefined;
333 this.initialFlex = undefined;
334 /** Actual width, in pixels, of the cell */
335 this.width = undefined;
336 /** Default width, in pixels, of the cell */
337 this.initialWidth = undefined;
338 /** Min width, in pixels, of the cell */
339 this.minWidth = undefined;
340 /** Max width, in pixels, of the cell */
341 this.maxWidth = undefined;
342 /** To group by this column by default, either provide an index (eg rowGroupIndex=1), or set rowGroup=true. */
343 this.rowGroupIndex = undefined;
344 this.initialRowGroupIndex = undefined;
345 /** To pivot by this column by default, either provide an index (eg pivotIndex=1), or set pivot=true. */
346 this.pivotIndex = undefined;
347 this.initialPivotIndex = undefined;
348 /** For native drag and drop, set to true to allow custom onRowDrag processing */
349 this.dndSourceOnRowDrag = undefined;
350 /** Expression or function to get the cells value. */
351 this.valueGetter = undefined;
352 /** If not using a field, then this puts the value into the cell */
353 this.valueSetter = undefined;
354 /** Expression or function to get the cells value for filtering. */
355 this.filterValueGetter = undefined;
356 /** Function to return the key for a value - use this if the value is an object (not a primitive type) and you
357 * want to a) group by this field or b) use set filter on this field. */
358 this.keyCreator = undefined;
359 this.cellRendererFramework = undefined;
360 /** @deprecated Use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned.
361 */
362 this.pinnedRowCellRenderer = undefined;
363 /** A function to format a value, should return a string. Not used for CSV export or copy to clipboard, only for UI cell rendering. */
364 this.valueFormatter = undefined;
365 /** @deprecated Use valueFormatter for pinned rows, and check params.node.rowPinned.
366 */
367 this.pinnedRowValueFormatter = undefined;
368 /** Gets called after editing, converts the value in the cell. */
369 this.valueParser = undefined;
370 /** Comparator function for custom sorting. */
371 this.comparator = undefined;
372 /** Comparator for values, used by renderer to know if values have changed. Cells who's values have not changed don't get refreshed. */
373 this.equals = undefined;
374 /** Comparator for ordering the pivot columns */
375 this.pivotComparator = undefined;
376 /** Allows the user to suppress certain keyboard events in the grid cell */
377 this.suppressKeyboardEvent = undefined;
378 /** Allows the user to suppress certain keyboard events in the grid header */
379 this.suppressHeaderKeyboardEvent = undefined;
380 this.colSpan = undefined;
381 this.rowSpan = undefined;
382 /** To create the quick filter text for this column, if toString is not good enough on the value. */
383 this.getQuickFilterText = undefined;
384 /** Callbacks for editing. See editing section for further details.
385 * Return true if the update was successful, or false if not.
386 * If false, then skips the UI refresh and no events are emitted.
387 * Return false if the values are the same (ie no update). */
388 this.newValueHandler = undefined;
389 /** Callbacks for editing.See editing section for further details. */
390 this.onCellValueChanged = undefined;
391 /** Function callback, gets called when a cell is clicked. */
392 this.onCellClicked = undefined;
393 /** Function callback, gets called when a cell is double clicked. */
394 this.onCellDoubleClicked = undefined;
395 /** Function callback, gets called when a cell is right clicked. */
396 this.onCellContextMenu = undefined;
397 /** To configure the text to be displayed in the floating div while dragging a row when rowDrag is true */
398 this.rowDragText = undefined;
399 /** The function used to calculate the tooltip of the object, tooltipField takes precedence */
400 this.tooltipValueGetter = undefined;
401 this.cellRendererSelector = undefined;
402 this.cellEditorSelector = undefined;
403 /** Set to true to not flash this column for value changes */
404 this.suppressCellFlash = undefined;
405 /** Set to true to not include this column in the Columns Tool Panel */
406 this.suppressColumnsToolPanel = undefined;
407 /** Set to true to not include this column / filter in the Filters Tool Panel */
408 this.suppressFiltersToolPanel = undefined;
409 /** Open by Default */
410 this.openByDefault = undefined;
411 /** If true, group cannot be broken up by column moving, child columns will always appear side by side, however you can rearrange child columns within the group */
412 this.marryChildren = undefined;
413 /** Set to true for this column to be hidden. Naturally you might think, it would make more sense to call this field 'visible' and mark it false to hide,
414 * however we want all default values to be false and we want columns to be visible by default. */
415 this.hide = undefined;
416 this.initialHide = undefined;
417 this.rowGroup = undefined;
418 this.initialRowGroup = undefined;
419 this.pivot = undefined;
420 this.initialPivot = undefined;
421 /** Set to true to render a selection checkbox in the column. */
422 this.checkboxSelection = undefined;
423 /** If true, a 'select all' checkbox will be put into the header */
424 this.headerCheckboxSelection = undefined;
425 /** If true, the header checkbox selection will work on filtered items */
426 this.headerCheckboxSelectionFilteredOnly = undefined;
427 /** Set to true if no menu should be shown for this column header. */
428 this.suppressMenu = undefined;
429 /** Set to true to not allow moving this column via dragging it's header */
430 this.suppressMovable = undefined;
431 /** Set to true to make sure this column is always first. Other columns, if movable, cannot move before this column. */
432 this.lockPosition = undefined;
433 /** Set to true to block the user showing / hiding the column, the column can only be shown / hidden via definitions or API */
434 this.lockVisible = undefined;
435 /** Set to true to block the user pinning the column, the column can only be pinned via definitions or API */
436 this.lockPinned = undefined;
437 /** Set to true if you want the unsorted icon to be shown when no sort is applied to this column. */
438 this.unSortIcon = undefined;
439 /** Set to true if you want this columns width to be fixed during 'size to fit' operation. */
440 this.suppressSizeToFit = undefined;
441 /** Set to true if you do not want this column to be auto-resizable by double clicking it's edge. */
442 this.suppressAutoSize = undefined;
443 /** If true, GUI will allow adding this columns as a row group */
444 this.enableRowGroup = undefined;
445 /** If true, GUI will allow adding this columns as a pivot */
446 this.enablePivot = undefined;
447 /** If true, GUI will allow adding this columns as a value */
448 this.enableValue = undefined;
449 /** Set to true if this col is editable, otherwise false. Can also be a function to have different rows editable. */
450 this.editable = undefined;
451 /** Set to true if this col should not be allowed take new values from the clipboard . */
452 this.suppressPaste = undefined;
453 /** Set to true if this col should not be navigable with the tab key. Can also be a function to have different rows editable. */
454 this.suppressNavigable = undefined;
455 /** If true, grid will flash cell after cell is refreshed */
456 this.enableCellChangeFlash = undefined;
457 /** For grid row dragging, set to true to enable row dragging within the grid */
458 this.rowDrag = undefined;
459 /** For native drag and drop, set to true to enable drag source */
460 this.dndSource = undefined;
461 /** True if this column should stretch rows height to fit contents */
462 this.autoHeight = undefined;
463 /** True if this column should wrap cell contents - typically used with autoHeight */
464 this.wrapText = undefined;
465 /** Set to true if sorting allowed for this column. */
466 this.sortable = undefined;
467 /** Set to true if this column should be resizable */
468 this.resizable = undefined;
469 /** If true, this cell will be in editing mode after first click. */
470 this.singleClickEdit = undefined;
471 /** Whether to display a floating filter for this column. */
472 this.floatingFilter = undefined;
473 this.cellEditorPopup = undefined;
474 // @END@
475 }
476 AgGridColumn_1 = AgGridColumn;
477 AgGridColumn.prototype.hasChildColumns = function () {
478 if (this.childColumns && this.childColumns.length > 0) {
479 // necessary because of https://github.com/angular/angular/issues/10098
480 return !(this.childColumns.length === 1 && this.childColumns.first === this);
481 }
482 return false;
483 };
484 AgGridColumn.prototype.toColDef = function () {
485 var colDef = this.createColDefFromGridColumn(this);
486 if (this.hasChildColumns()) {
487 colDef["children"] = this.getChildColDefs(this.childColumns);
488 }
489 return colDef;
490 };
491 AgGridColumn.prototype.getChildColDefs = function (childColumns) {
492 return childColumns
493 // necessary because of https://github.com/angular/angular/issues/10098
494 .filter(function (column) { return !column.hasChildColumns(); })
495 .map(function (column) {
496 return column.toColDef();
497 });
498 };
499 AgGridColumn.prototype.createColDefFromGridColumn = function (from) {
500 var childColumns = from.childColumns, colDef = __rest(from, ["childColumns"]);
501 return colDef;
502 };
503 var AgGridColumn_1;
504 __decorate([
505 core.ContentChildren(AgGridColumn_1),
506 __metadata("design:type", core.QueryList)
507 ], AgGridColumn.prototype, "childColumns", void 0);
508 __decorate([
509 core.Input(),
510 __metadata("design:type", Array)
511 ], AgGridColumn.prototype, "children", void 0);
512 __decorate([
513 core.Input(),
514 __metadata("design:type", Array)
515 ], AgGridColumn.prototype, "sortingOrder", void 0);
516 __decorate([
517 core.Input(),
518 __metadata("design:type", Array)
519 ], AgGridColumn.prototype, "allowedAggFuncs", void 0);
520 __decorate([
521 core.Input(),
522 __metadata("design:type", Array)
523 ], AgGridColumn.prototype, "menuTabs", void 0);
524 __decorate([
525 core.Input(),
526 __metadata("design:type", Object)
527 ], AgGridColumn.prototype, "cellClassRules", void 0);
528 __decorate([
529 core.Input(),
530 __metadata("design:type", Object)
531 ], AgGridColumn.prototype, "icons", void 0);
532 __decorate([
533 core.Input(),
534 __metadata("design:type", Object)
535 ], AgGridColumn.prototype, "headerGroupComponent", void 0);
536 __decorate([
537 core.Input(),
538 __metadata("design:type", Object)
539 ], AgGridColumn.prototype, "headerGroupComponentFramework", void 0);
540 __decorate([
541 core.Input(),
542 __metadata("design:type", Object)
543 ], AgGridColumn.prototype, "headerGroupComponentParams", void 0);
544 __decorate([
545 core.Input(),
546 __metadata("design:type", Object)
547 ], AgGridColumn.prototype, "cellStyle", void 0);
548 __decorate([
549 core.Input(),
550 __metadata("design:type", Object)
551 ], AgGridColumn.prototype, "cellRendererParams", void 0);
552 __decorate([
553 core.Input(),
554 __metadata("design:type", Object)
555 ], AgGridColumn.prototype, "cellEditorFramework", void 0);
556 __decorate([
557 core.Input(),
558 __metadata("design:type", Object)
559 ], AgGridColumn.prototype, "cellEditorParams", void 0);
560 __decorate([
561 core.Input(),
562 __metadata("design:type", Object)
563 ], AgGridColumn.prototype, "pinnedRowCellRendererFramework", void 0);
564 __decorate([
565 core.Input(),
566 __metadata("design:type", Object)
567 ], AgGridColumn.prototype, "pinnedRowCellRendererParams", void 0);
568 __decorate([
569 core.Input(),
570 __metadata("design:type", Object)
571 ], AgGridColumn.prototype, "filterFramework", void 0);
572 __decorate([
573 core.Input(),
574 __metadata("design:type", Object)
575 ], AgGridColumn.prototype, "filterParams", void 0);
576 __decorate([
577 core.Input(),
578 __metadata("design:type", Object)
579 ], AgGridColumn.prototype, "headerComponent", void 0);
580 __decorate([
581 core.Input(),
582 __metadata("design:type", Object)
583 ], AgGridColumn.prototype, "headerComponentFramework", void 0);
584 __decorate([
585 core.Input(),
586 __metadata("design:type", Object)
587 ], AgGridColumn.prototype, "headerComponentParams", void 0);
588 __decorate([
589 core.Input(),
590 __metadata("design:type", Object)
591 ], AgGridColumn.prototype, "floatingFilterComponent", void 0);
592 __decorate([
593 core.Input(),
594 __metadata("design:type", Object)
595 ], AgGridColumn.prototype, "floatingFilterComponentParams", void 0);
596 __decorate([
597 core.Input(),
598 __metadata("design:type", Object)
599 ], AgGridColumn.prototype, "floatingFilterComponentFramework", void 0);
600 __decorate([
601 core.Input(),
602 __metadata("design:type", Object)
603 ], AgGridColumn.prototype, "tooltipComponent", void 0);
604 __decorate([
605 core.Input(),
606 __metadata("design:type", Object)
607 ], AgGridColumn.prototype, "tooltipComponentParams", void 0);
608 __decorate([
609 core.Input(),
610 __metadata("design:type", Object)
611 ], AgGridColumn.prototype, "tooltipComponentFramework", void 0);
612 __decorate([
613 core.Input(),
614 __metadata("design:type", Object)
615 ], AgGridColumn.prototype, "refData", void 0);
616 __decorate([
617 core.Input(),
618 __metadata("design:type", Object)
619 ], AgGridColumn.prototype, "columnsMenuParams", void 0);
620 __decorate([
621 core.Input(),
622 __metadata("design:type", String)
623 ], AgGridColumn.prototype, "headerName", void 0);
624 __decorate([
625 core.Input(),
626 __metadata("design:type", String)
627 ], AgGridColumn.prototype, "columnGroupShow", void 0);
628 __decorate([
629 core.Input(),
630 __metadata("design:type", Object)
631 ], AgGridColumn.prototype, "headerClass", void 0);
632 __decorate([
633 core.Input(),
634 __metadata("design:type", Object)
635 ], AgGridColumn.prototype, "toolPanelClass", void 0);
636 __decorate([
637 core.Input(),
638 __metadata("design:type", Object)
639 ], AgGridColumn.prototype, "headerValueGetter", void 0);
640 __decorate([
641 core.Input(),
642 __metadata("design:type", String)
643 ], AgGridColumn.prototype, "groupId", void 0);
644 __decorate([
645 core.Input(),
646 __metadata("design:type", String)
647 ], AgGridColumn.prototype, "colId", void 0);
648 __decorate([
649 core.Input(),
650 __metadata("design:type", String)
651 ], AgGridColumn.prototype, "sort", void 0);
652 __decorate([
653 core.Input(),
654 __metadata("design:type", String)
655 ], AgGridColumn.prototype, "initialSort", void 0);
656 __decorate([
657 core.Input(),
658 __metadata("design:type", String)
659 ], AgGridColumn.prototype, "field", void 0);
660 __decorate([
661 core.Input(),
662 __metadata("design:type", Object)
663 ], AgGridColumn.prototype, "type", void 0);
664 __decorate([
665 core.Input(),
666 __metadata("design:type", String)
667 ], AgGridColumn.prototype, "tooltipField", void 0);
668 __decorate([
669 core.Input(),
670 __metadata("design:type", String)
671 ], AgGridColumn.prototype, "headerTooltip", void 0);
672 __decorate([
673 core.Input(),
674 __metadata("design:type", Object)
675 ], AgGridColumn.prototype, "cellClass", void 0);
676 __decorate([
677 core.Input(),
678 __metadata("design:type", Object)
679 ], AgGridColumn.prototype, "showRowGroup", void 0);
680 __decorate([
681 core.Input(),
682 __metadata("design:type", Object)
683 ], AgGridColumn.prototype, "filter", void 0);
684 __decorate([
685 core.Input(),
686 __metadata("design:type", Object)
687 ], AgGridColumn.prototype, "initialAggFunc", void 0);
688 __decorate([
689 core.Input(),
690 __metadata("design:type", Object)
691 ], AgGridColumn.prototype, "aggFunc", void 0);
692 __decorate([
693 core.Input(),
694 __metadata("design:type", Object)
695 ], AgGridColumn.prototype, "cellRenderer", void 0);
696 __decorate([
697 core.Input(),
698 __metadata("design:type", Object)
699 ], AgGridColumn.prototype, "cellEditor", void 0);
700 __decorate([
701 core.Input(),
702 __metadata("design:type", Object)
703 ], AgGridColumn.prototype, "pinned", void 0);
704 __decorate([
705 core.Input(),
706 __metadata("design:type", Object)
707 ], AgGridColumn.prototype, "initialPinned", void 0);
708 __decorate([
709 core.Input(),
710 __metadata("design:type", String)
711 ], AgGridColumn.prototype, "chartDataType", void 0);
712 __decorate([
713 core.Input(),
714 __metadata("design:type", String)
715 ], AgGridColumn.prototype, "cellEditorPopupPosition", void 0);
716 __decorate([
717 core.Input(),
718 __metadata("design:type", Number)
719 ], AgGridColumn.prototype, "sortedAt", void 0);
720 __decorate([
721 core.Input(),
722 __metadata("design:type", Number)
723 ], AgGridColumn.prototype, "sortIndex", void 0);
724 __decorate([
725 core.Input(),
726 __metadata("design:type", Number)
727 ], AgGridColumn.prototype, "initialSortIndex", void 0);
728 __decorate([
729 core.Input(),
730 __metadata("design:type", Number)
731 ], AgGridColumn.prototype, "flex", void 0);
732 __decorate([
733 core.Input(),
734 __metadata("design:type", Number)
735 ], AgGridColumn.prototype, "initialFlex", void 0);
736 __decorate([
737 core.Input(),
738 __metadata("design:type", Number)
739 ], AgGridColumn.prototype, "width", void 0);
740 __decorate([
741 core.Input(),
742 __metadata("design:type", Number)
743 ], AgGridColumn.prototype, "initialWidth", void 0);
744 __decorate([
745 core.Input(),
746 __metadata("design:type", Number)
747 ], AgGridColumn.prototype, "minWidth", void 0);
748 __decorate([
749 core.Input(),
750 __metadata("design:type", Number)
751 ], AgGridColumn.prototype, "maxWidth", void 0);
752 __decorate([
753 core.Input(),
754 __metadata("design:type", Number)
755 ], AgGridColumn.prototype, "rowGroupIndex", void 0);
756 __decorate([
757 core.Input(),
758 __metadata("design:type", Number)
759 ], AgGridColumn.prototype, "initialRowGroupIndex", void 0);
760 __decorate([
761 core.Input(),
762 __metadata("design:type", Number)
763 ], AgGridColumn.prototype, "pivotIndex", void 0);
764 __decorate([
765 core.Input(),
766 __metadata("design:type", Number)
767 ], AgGridColumn.prototype, "initialPivotIndex", void 0);
768 __decorate([
769 core.Input(),
770 __metadata("design:type", Function)
771 ], AgGridColumn.prototype, "dndSourceOnRowDrag", void 0);
772 __decorate([
773 core.Input(),
774 __metadata("design:type", Object)
775 ], AgGridColumn.prototype, "valueGetter", void 0);
776 __decorate([
777 core.Input(),
778 __metadata("design:type", Object)
779 ], AgGridColumn.prototype, "valueSetter", void 0);
780 __decorate([
781 core.Input(),
782 __metadata("design:type", Object)
783 ], AgGridColumn.prototype, "filterValueGetter", void 0);
784 __decorate([
785 core.Input(),
786 __metadata("design:type", Function)
787 ], AgGridColumn.prototype, "keyCreator", void 0);
788 __decorate([
789 core.Input(),
790 __metadata("design:type", Object)
791 ], AgGridColumn.prototype, "cellRendererFramework", void 0);
792 __decorate([
793 core.Input(),
794 __metadata("design:type", Object)
795 ], AgGridColumn.prototype, "pinnedRowCellRenderer", void 0);
796 __decorate([
797 core.Input(),
798 __metadata("design:type", Object)
799 ], AgGridColumn.prototype, "valueFormatter", void 0);
800 __decorate([
801 core.Input(),
802 __metadata("design:type", Object)
803 ], AgGridColumn.prototype, "pinnedRowValueFormatter", void 0);
804 __decorate([
805 core.Input(),
806 __metadata("design:type", Object)
807 ], AgGridColumn.prototype, "valueParser", void 0);
808 __decorate([
809 core.Input(),
810 __metadata("design:type", Function)
811 ], AgGridColumn.prototype, "comparator", void 0);
812 __decorate([
813 core.Input(),
814 __metadata("design:type", Function)
815 ], AgGridColumn.prototype, "equals", void 0);
816 __decorate([
817 core.Input(),
818 __metadata("design:type", Function)
819 ], AgGridColumn.prototype, "pivotComparator", void 0);
820 __decorate([
821 core.Input(),
822 __metadata("design:type", Function)
823 ], AgGridColumn.prototype, "suppressKeyboardEvent", void 0);
824 __decorate([
825 core.Input(),
826 __metadata("design:type", Function)
827 ], AgGridColumn.prototype, "suppressHeaderKeyboardEvent", void 0);
828 __decorate([
829 core.Input(),
830 __metadata("design:type", Function)
831 ], AgGridColumn.prototype, "colSpan", void 0);
832 __decorate([
833 core.Input(),
834 __metadata("design:type", Function)
835 ], AgGridColumn.prototype, "rowSpan", void 0);
836 __decorate([
837 core.Input(),
838 __metadata("design:type", Function)
839 ], AgGridColumn.prototype, "getQuickFilterText", void 0);
840 __decorate([
841 core.Input(),
842 __metadata("design:type", Function)
843 ], AgGridColumn.prototype, "newValueHandler", void 0);
844 __decorate([
845 core.Input(),
846 __metadata("design:type", Function)
847 ], AgGridColumn.prototype, "onCellValueChanged", void 0);
848 __decorate([
849 core.Input(),
850 __metadata("design:type", Function)
851 ], AgGridColumn.prototype, "onCellClicked", void 0);
852 __decorate([
853 core.Input(),
854 __metadata("design:type", Function)
855 ], AgGridColumn.prototype, "onCellDoubleClicked", void 0);
856 __decorate([
857 core.Input(),
858 __metadata("design:type", Function)
859 ], AgGridColumn.prototype, "onCellContextMenu", void 0);
860 __decorate([
861 core.Input(),
862 __metadata("design:type", Function)
863 ], AgGridColumn.prototype, "rowDragText", void 0);
864 __decorate([
865 core.Input(),
866 __metadata("design:type", Function)
867 ], AgGridColumn.prototype, "tooltipValueGetter", void 0);
868 __decorate([
869 core.Input(),
870 __metadata("design:type", Function)
871 ], AgGridColumn.prototype, "cellRendererSelector", void 0);
872 __decorate([
873 core.Input(),
874 __metadata("design:type", Function)
875 ], AgGridColumn.prototype, "cellEditorSelector", void 0);
876 __decorate([
877 core.Input(),
878 __metadata("design:type", Boolean)
879 ], AgGridColumn.prototype, "suppressCellFlash", void 0);
880 __decorate([
881 core.Input(),
882 __metadata("design:type", Boolean)
883 ], AgGridColumn.prototype, "suppressColumnsToolPanel", void 0);
884 __decorate([
885 core.Input(),
886 __metadata("design:type", Boolean)
887 ], AgGridColumn.prototype, "suppressFiltersToolPanel", void 0);
888 __decorate([
889 core.Input(),
890 __metadata("design:type", Boolean)
891 ], AgGridColumn.prototype, "openByDefault", void 0);
892 __decorate([
893 core.Input(),
894 __metadata("design:type", Boolean)
895 ], AgGridColumn.prototype, "marryChildren", void 0);
896 __decorate([
897 core.Input(),
898 __metadata("design:type", Boolean)
899 ], AgGridColumn.prototype, "hide", void 0);
900 __decorate([
901 core.Input(),
902 __metadata("design:type", Boolean)
903 ], AgGridColumn.prototype, "initialHide", void 0);
904 __decorate([
905 core.Input(),
906 __metadata("design:type", Boolean)
907 ], AgGridColumn.prototype, "rowGroup", void 0);
908 __decorate([
909 core.Input(),
910 __metadata("design:type", Boolean)
911 ], AgGridColumn.prototype, "initialRowGroup", void 0);
912 __decorate([
913 core.Input(),
914 __metadata("design:type", Boolean)
915 ], AgGridColumn.prototype, "pivot", void 0);
916 __decorate([
917 core.Input(),
918 __metadata("design:type", Boolean)
919 ], AgGridColumn.prototype, "initialPivot", void 0);
920 __decorate([
921 core.Input(),
922 __metadata("design:type", Object)
923 ], AgGridColumn.prototype, "checkboxSelection", void 0);
924 __decorate([
925 core.Input(),
926 __metadata("design:type", Object)
927 ], AgGridColumn.prototype, "headerCheckboxSelection", void 0);
928 __decorate([
929 core.Input(),
930 __metadata("design:type", Boolean)
931 ], AgGridColumn.prototype, "headerCheckboxSelectionFilteredOnly", void 0);
932 __decorate([
933 core.Input(),
934 __metadata("design:type", Boolean)
935 ], AgGridColumn.prototype, "suppressMenu", void 0);
936 __decorate([
937 core.Input(),
938 __metadata("design:type", Boolean)
939 ], AgGridColumn.prototype, "suppressMovable", void 0);
940 __decorate([
941 core.Input(),
942 __metadata("design:type", Boolean)
943 ], AgGridColumn.prototype, "lockPosition", void 0);
944 __decorate([
945 core.Input(),
946 __metadata("design:type", Boolean)
947 ], AgGridColumn.prototype, "lockVisible", void 0);
948 __decorate([
949 core.Input(),
950 __metadata("design:type", Boolean)
951 ], AgGridColumn.prototype, "lockPinned", void 0);
952 __decorate([
953 core.Input(),
954 __metadata("design:type", Boolean)
955 ], AgGridColumn.prototype, "unSortIcon", void 0);
956 __decorate([
957 core.Input(),
958 __metadata("design:type", Boolean)
959 ], AgGridColumn.prototype, "suppressSizeToFit", void 0);
960 __decorate([
961 core.Input(),
962 __metadata("design:type", Boolean)
963 ], AgGridColumn.prototype, "suppressAutoSize", void 0);
964 __decorate([
965 core.Input(),
966 __metadata("design:type", Boolean)
967 ], AgGridColumn.prototype, "enableRowGroup", void 0);
968 __decorate([
969 core.Input(),
970 __metadata("design:type", Boolean)
971 ], AgGridColumn.prototype, "enablePivot", void 0);
972 __decorate([
973 core.Input(),
974 __metadata("design:type", Boolean)
975 ], AgGridColumn.prototype, "enableValue", void 0);
976 __decorate([
977 core.Input(),
978 __metadata("design:type", Object)
979 ], AgGridColumn.prototype, "editable", void 0);
980 __decorate([
981 core.Input(),
982 __metadata("design:type", Object)
983 ], AgGridColumn.prototype, "suppressPaste", void 0);
984 __decorate([
985 core.Input(),
986 __metadata("design:type", Object)
987 ], AgGridColumn.prototype, "suppressNavigable", void 0);
988 __decorate([
989 core.Input(),
990 __metadata("design:type", Boolean)
991 ], AgGridColumn.prototype, "enableCellChangeFlash", void 0);
992 __decorate([
993 core.Input(),
994 __metadata("design:type", Object)
995 ], AgGridColumn.prototype, "rowDrag", void 0);
996 __decorate([
997 core.Input(),
998 __metadata("design:type", Object)
999 ], AgGridColumn.prototype, "dndSource", void 0);
1000 __decorate([
1001 core.Input(),
1002 __metadata("design:type", Boolean)
1003 ], AgGridColumn.prototype, "autoHeight", void 0);
1004 __decorate([
1005 core.Input(),
1006 __metadata("design:type", Boolean)
1007 ], AgGridColumn.prototype, "wrapText", void 0);
1008 __decorate([
1009 core.Input(),
1010 __metadata("design:type", Boolean)
1011 ], AgGridColumn.prototype, "sortable", void 0);
1012 __decorate([
1013 core.Input(),
1014 __metadata("design:type", Boolean)
1015 ], AgGridColumn.prototype, "resizable", void 0);
1016 __decorate([
1017 core.Input(),
1018 __metadata("design:type", Boolean)
1019 ], AgGridColumn.prototype, "singleClickEdit", void 0);
1020 __decorate([
1021 core.Input(),
1022 __metadata("design:type", Boolean)
1023 ], AgGridColumn.prototype, "floatingFilter", void 0);
1024 __decorate([
1025 core.Input(),
1026 __metadata("design:type", Boolean)
1027 ], AgGridColumn.prototype, "cellEditorPopup", void 0);
1028 AgGridColumn = AgGridColumn_1 = __decorate([
1029 core.Component({
1030 selector: 'ag-grid-column',
1031 template: ''
1032 })
1033 ], AgGridColumn);
1034 return AgGridColumn;
1035 }());
1036
1037 var AngularFrameworkOverrides = /** @class */ (function (_super) {
1038 __extends(AngularFrameworkOverrides, _super);
1039 function AngularFrameworkOverrides(_ngZone) {
1040 var _this = _super.call(this) || this;
1041 _this._ngZone = _ngZone;
1042 return _this;
1043 }
1044 AngularFrameworkOverrides.prototype.setEmitterUsedCallback = function (isEmitterUsed) {
1045 this.isEmitterUsed = isEmitterUsed;
1046 };
1047 AngularFrameworkOverrides.prototype.setTimeout = function (action, timeout) {
1048 if (this._ngZone) {
1049 this._ngZone.runOutsideAngular(function () {
1050 window.setTimeout(function () {
1051 action();
1052 }, timeout);
1053 });
1054 }
1055 else {
1056 window.setTimeout(function () {
1057 action();
1058 }, timeout);
1059 }
1060 };
1061 AngularFrameworkOverrides.prototype.setInterval = function (action, interval) {
1062 var _this = this;
1063 return new agGridCommunity.AgPromise(function (resolve) {
1064 if (_this._ngZone) {
1065 _this._ngZone.runOutsideAngular(function () {
1066 resolve(window.setInterval(function () {
1067 action();
1068 }, interval));
1069 });
1070 }
1071 else {
1072 resolve(window.setInterval(function () {
1073 action();
1074 }, interval));
1075 }
1076 });
1077 };
1078 AngularFrameworkOverrides.prototype.addEventListener = function (element, eventType, listener, useCapture) {
1079 if (this.isOutsideAngular(eventType) && this._ngZone) {
1080 this._ngZone.runOutsideAngular(function () {
1081 element.addEventListener(eventType, listener, useCapture);
1082 });
1083 }
1084 else {
1085 element.addEventListener(eventType, listener, useCapture);
1086 }
1087 };
1088 AngularFrameworkOverrides.prototype.dispatchEvent = function (eventType, listener, global) {
1089 if (global === void 0) { global = false; }
1090 if (this.isOutsideAngular(eventType)) {
1091 if (this._ngZone) {
1092 this._ngZone.runOutsideAngular(listener);
1093 }
1094 else {
1095 listener();
1096 }
1097 }
1098 else if (this.isEmitterUsed(eventType) || global) {
1099 // only trigger off events (and potentially change detection) if actually used
1100 if (!core.NgZone.isInAngularZone() && this._ngZone) {
1101 this._ngZone.run(listener);
1102 }
1103 else {
1104 listener();
1105 }
1106 }
1107 };
1108 AngularFrameworkOverrides.ctorParameters = function () { return [
1109 { type: core.NgZone }
1110 ]; };
1111 AngularFrameworkOverrides = __decorate([
1112 core.Injectable(),
1113 __metadata("design:paramtypes", [core.NgZone])
1114 ], AngularFrameworkOverrides);
1115 return AngularFrameworkOverrides;
1116 }(agGridCommunity.VanillaFrameworkOverrides));
1117
1118 var AngularFrameworkComponentWrapper = /** @class */ (function (_super) {
1119 __extends(AngularFrameworkComponentWrapper, _super);
1120 function AngularFrameworkComponentWrapper() {
1121 return _super !== null && _super.apply(this, arguments) || this;
1122 }
1123 AngularFrameworkComponentWrapper.prototype.setViewContainerRef = function (viewContainerRef) {
1124 this.viewContainerRef = viewContainerRef;
1125 };
1126 AngularFrameworkComponentWrapper.prototype.setComponentFactoryResolver = function (componentFactoryResolver) {
1127 this.componentFactoryResolver = componentFactoryResolver;
1128 };
1129 AngularFrameworkComponentWrapper.prototype.createWrapper = function (OriginalConstructor) {
1130 var that = this;
1131 var DynamicAgNg2Component = /** @class */ (function (_super) {
1132 __extends(DynamicAgNg2Component, _super);
1133 function DynamicAgNg2Component() {
1134 return _super !== null && _super.apply(this, arguments) || this;
1135 }
1136 DynamicAgNg2Component.prototype.init = function (params) {
1137 _super.prototype.init.call(this, params);
1138 this._componentRef.changeDetectorRef.detectChanges();
1139 };
1140 DynamicAgNg2Component.prototype.createComponent = function () {
1141 return that.createComponent(OriginalConstructor);
1142 };
1143 DynamicAgNg2Component.prototype.hasMethod = function (name) {
1144 return wrapper.getFrameworkComponentInstance()[name] != null;
1145 };
1146 DynamicAgNg2Component.prototype.callMethod = function (name, args) {
1147 var componentRef = this.getFrameworkComponentInstance();
1148 return wrapper.getFrameworkComponentInstance()[name].apply(componentRef, args);
1149 };
1150 DynamicAgNg2Component.prototype.addMethod = function (name, callback) {
1151 wrapper[name] = callback;
1152 };
1153 return DynamicAgNg2Component;
1154 }(BaseGuiComponent));
1155 var wrapper = new DynamicAgNg2Component();
1156 return wrapper;
1157 };
1158 AngularFrameworkComponentWrapper.prototype.createComponent = function (componentType) {
1159 // used to cache the factory, but this a) caused issues when used with either webpack/angularcli with --prod
1160 // but more significantly, the underlying implementation of resolveComponentFactory uses a map too, so us
1161 // caching the factory here yields no performance benefits
1162 var factory = this.componentFactoryResolver.resolveComponentFactory(componentType);
1163 return this.viewContainerRef.createComponent(factory);
1164 };
1165 AngularFrameworkComponentWrapper = __decorate([
1166 core.Injectable()
1167 ], AngularFrameworkComponentWrapper);
1168 return AngularFrameworkComponentWrapper;
1169 }(agGridCommunity.BaseComponentWrapper));
1170 var BaseGuiComponent = /** @class */ (function () {
1171 function BaseGuiComponent() {
1172 }
1173 BaseGuiComponent.prototype.init = function (params) {
1174 this._params = params;
1175 this._componentRef = this.createComponent();
1176 this._agAwareComponent = this._componentRef.instance;
1177 this._frameworkComponentInstance = this._componentRef.instance;
1178 this._eGui = this._componentRef.location.nativeElement;
1179 this._agAwareComponent.agInit(this._params);
1180 };
1181 BaseGuiComponent.prototype.getGui = function () {
1182 return this._eGui;
1183 };
1184 BaseGuiComponent.prototype.destroy = function () {
1185 if (this._componentRef) {
1186 this._componentRef.destroy();
1187 }
1188 };
1189 BaseGuiComponent.prototype.getFrameworkComponentInstance = function () {
1190 return this._frameworkComponentInstance;
1191 };
1192 return BaseGuiComponent;
1193 }());
1194
1195 var AgGridAngular = /** @class */ (function () {
1196 function AgGridAngular(elementDef, viewContainerRef, angularFrameworkOverrides, frameworkComponentWrapper, componentFactoryResolver) {
1197 this.viewContainerRef = viewContainerRef;
1198 this.angularFrameworkOverrides = angularFrameworkOverrides;
1199 this.frameworkComponentWrapper = frameworkComponentWrapper;
1200 this.componentFactoryResolver = componentFactoryResolver;
1201 this._initialised = false;
1202 this._destroyed = false;
1203 // in order to ensure firing of gridReady is deterministic
1204 this._fullyReady = agGridCommunity.AgPromise.resolve(true);
1205 // @START@
1206 this.alignedGrids = undefined;
1207 this.rowData = undefined;
1208 this.columnDefs = undefined;
1209 this.excelStyles = undefined;
1210 this.pinnedTopRowData = undefined;
1211 this.pinnedBottomRowData = undefined;
1212 this.chartThemes = undefined;
1213 this.components = undefined;
1214 this.frameworkComponents = undefined;
1215 this.rowStyle = undefined;
1216 this.context = undefined;
1217 this.autoGroupColumnDef = undefined;
1218 this.localeText = undefined;
1219 this.icons = undefined;
1220 this.datasource = undefined;
1221 this.serverSideDatasource = undefined;
1222 this.viewportDatasource = undefined;
1223 this.groupRowRendererParams = undefined;
1224 this.aggFuncs = undefined;
1225 this.fullWidthCellRendererParams = undefined;
1226 this.defaultColGroupDef = undefined;
1227 this.defaultColDef = undefined;
1228 /** @deprecated Use defaultCsvExportParams or defaultExcelExportParams
1229 */
1230 this.defaultExportParams = undefined;
1231 this.defaultCsvExportParams = undefined;
1232 this.defaultExcelExportParams = undefined;
1233 this.columnTypes = undefined;
1234 this.rowClassRules = undefined;
1235 this.detailCellRendererParams = undefined;
1236 this.loadingCellRendererParams = undefined;
1237 this.loadingOverlayComponentParams = undefined;
1238 this.noRowsOverlayComponentParams = undefined;
1239 this.popupParent = undefined;
1240 this.colResizeDefault = undefined;
1241 this.statusBar = undefined;
1242 this.sideBar = undefined;
1243 this.chartThemeOverrides = undefined;
1244 this.customChartThemes = undefined;
1245 this.sortingOrder = undefined;
1246 this.rowClass = undefined;
1247 this.rowSelection = undefined;
1248 this.overlayLoadingTemplate = undefined;
1249 this.overlayNoRowsTemplate = undefined;
1250 this.quickFilterText = undefined;
1251 this.rowModelType = undefined;
1252 this.editType = undefined;
1253 this.domLayout = undefined;
1254 this.clipboardDeliminator = undefined;
1255 this.rowGroupPanelShow = undefined;
1256 this.multiSortKey = undefined;
1257 this.pivotColumnGroupTotals = undefined;
1258 this.pivotRowTotals = undefined;
1259 this.pivotPanelShow = undefined;
1260 this.fillHandleDirection = undefined;
1261 this.serverSideStoreType = undefined;
1262 this.groupDisplayType = undefined;
1263 this.treeDataDisplayType = undefined;
1264 this.rowHeight = undefined;
1265 this.detailRowHeight = undefined;
1266 this.rowBuffer = undefined;
1267 this.colWidth = undefined;
1268 this.headerHeight = undefined;
1269 this.groupHeaderHeight = undefined;
1270 this.floatingFiltersHeight = undefined;
1271 this.pivotHeaderHeight = undefined;
1272 this.pivotGroupHeaderHeight = undefined;
1273 this.groupDefaultExpanded = undefined;
1274 this.minColWidth = undefined;
1275 this.maxColWidth = undefined;
1276 this.viewportRowModelPageSize = undefined;
1277 this.viewportRowModelBufferSize = undefined;
1278 this.autoSizePadding = undefined;
1279 this.maxBlocksInCache = undefined;
1280 this.maxConcurrentDatasourceRequests = undefined;
1281 this.tooltipShowDelay = undefined;
1282 this.cacheOverflowSize = undefined;
1283 this.paginationPageSize = undefined;
1284 this.cacheBlockSize = undefined;
1285 this.infiniteInitialRowCount = undefined;
1286 this.scrollbarWidth = undefined;
1287 this.batchUpdateWaitMillis = undefined;
1288 this.asyncTransactionWaitMillis = undefined;
1289 this.blockLoadDebounceMillis = undefined;
1290 this.keepDetailRowsCount = undefined;
1291 this.undoRedoCellEditingLimit = undefined;
1292 this.cellFlashDelay = undefined;
1293 this.cellFadeDelay = undefined;
1294 this.tabIndex = undefined;
1295 this.localeTextFunc = undefined;
1296 /** @deprecated - this is now groupRowRendererParams.innerRenderer
1297 */
1298 this.groupRowInnerRenderer = undefined;
1299 /** @deprecated - this is now groupRowRendererParams.innerRendererFramework
1300 */
1301 this.groupRowInnerRendererFramework = undefined;
1302 this.dateComponent = undefined;
1303 this.dateComponentFramework = undefined;
1304 this.groupRowRenderer = undefined;
1305 this.groupRowRendererFramework = undefined;
1306 this.isExternalFilterPresent = undefined;
1307 this.getRowHeight = undefined;
1308 this.doesExternalFilterPass = undefined;
1309 this.getRowClass = undefined;
1310 this.getRowStyle = undefined;
1311 this.getContextMenuItems = undefined;
1312 this.getMainMenuItems = undefined;
1313 this.processRowPostCreate = undefined;
1314 this.processCellForClipboard = undefined;
1315 this.groupRowAggNodes = undefined;
1316 this.getRowNodeId = undefined;
1317 this.isFullWidthCell = undefined;
1318 this.fullWidthCellRenderer = undefined;
1319 this.fullWidthCellRendererFramework = undefined;
1320 this.processSecondaryColDef = undefined;
1321 this.processSecondaryColGroupDef = undefined;
1322 this.getBusinessKeyForNode = undefined;
1323 this.sendToClipboard = undefined;
1324 this.navigateToNextHeader = undefined;
1325 this.tabToNextHeader = undefined;
1326 this.navigateToNextCell = undefined;
1327 this.tabToNextCell = undefined;
1328 this.processCellFromClipboard = undefined;
1329 this.getDocument = undefined;
1330 this.postProcessPopup = undefined;
1331 this.getChildCount = undefined;
1332 this.getDataPath = undefined;
1333 this.loadingCellRenderer = undefined;
1334 this.loadingCellRendererFramework = undefined;
1335 this.loadingOverlayComponent = undefined;
1336 this.loadingOverlayComponentFramework = undefined;
1337 this.noRowsOverlayComponent = undefined;
1338 this.noRowsOverlayComponentFramework = undefined;
1339 this.detailCellRenderer = undefined;
1340 this.detailCellRendererFramework = undefined;
1341 this.isRowMaster = undefined;
1342 this.isRowSelectable = undefined;
1343 this.postSort = undefined;
1344 this.processHeaderForClipboard = undefined;
1345 this.paginationNumberFormatter = undefined;
1346 this.processDataFromClipboard = undefined;
1347 this.getServerSideGroupKey = undefined;
1348 this.isServerSideGroup = undefined;
1349 /** Allows user to suppress certain keyboard events */
1350 this.suppressKeyboardEvent = undefined;
1351 this.createChartContainer = undefined;
1352 /** @deprecated
1353 */
1354 this.processChartOptions = undefined;
1355 this.getChartToolbarItems = undefined;
1356 this.fillOperation = undefined;
1357 this.isApplyServerSideTransaction = undefined;
1358 this.getServerSideStoreParams = undefined;
1359 this.isServerSideGroupOpenByDefault = undefined;
1360 this.isGroupOpenByDefault = undefined;
1361 /** @deprecated - Use defaultGroupOrderComparator instead
1362 */
1363 this.defaultGroupSortComparator = undefined;
1364 this.defaultGroupOrderComparator = undefined;
1365 this.suppressMakeColumnVisibleAfterUnGroup = undefined;
1366 this.suppressRowClickSelection = undefined;
1367 this.suppressCellSelection = undefined;
1368 this.suppressHorizontalScroll = undefined;
1369 this.alwaysShowHorizontalScroll = undefined;
1370 this.alwaysShowVerticalScroll = undefined;
1371 this.debug = undefined;
1372 this.enableBrowserTooltips = undefined;
1373 this.enableCellExpressions = undefined;
1374 this.angularCompileRows = undefined;
1375 this.angularCompileFilters = undefined;
1376 /** @deprecated - Use groupDisplayType = 'custom' instead
1377 */
1378 this.groupSuppressAutoColumn = undefined;
1379 this.groupSelectsChildren = undefined;
1380 this.groupIncludeFooter = undefined;
1381 this.groupIncludeTotalFooter = undefined;
1382 /** @deprecated - Use groupDisplayType = 'groupRows' instead
1383 */
1384 this.groupUseEntireRow = undefined;
1385 this.groupSuppressBlankHeader = undefined;
1386 this.suppressMenuHide = undefined;
1387 this.suppressRowDeselection = undefined;
1388 this.unSortIcon = undefined;
1389 this.suppressMultiSort = undefined;
1390 this.singleClickEdit = undefined;
1391 this.suppressLoadingOverlay = undefined;
1392 this.suppressNoRowsOverlay = undefined;
1393 this.suppressAutoSize = undefined;
1394 this.skipHeaderOnAutoSize = undefined;
1395 this.suppressParentsInRowNodes = undefined;
1396 this.suppressColumnMoveAnimation = undefined;
1397 this.suppressMovableColumns = undefined;
1398 this.suppressFieldDotNotation = undefined;
1399 this.enableRangeSelection = undefined;
1400 this.enableRangeHandle = undefined;
1401 this.enableFillHandle = undefined;
1402 this.suppressClearOnFillReduction = undefined;
1403 this.deltaSort = undefined;
1404 this.suppressTouch = undefined;
1405 this.suppressAsyncEvents = undefined;
1406 this.allowContextMenuWithControlKey = undefined;
1407 this.suppressContextMenu = undefined;
1408 /** @deprecated - no longer needed, transaction updates keep group state
1409 */
1410 this.rememberGroupStateWhenNewData = undefined;
1411 this.enableCellChangeFlash = undefined;
1412 this.suppressDragLeaveHidesColumns = undefined;
1413 this.suppressMiddleClickScrolls = undefined;
1414 this.suppressPreventDefaultOnMouseWheel = undefined;
1415 this.suppressCopyRowsToClipboard = undefined;
1416 this.copyHeadersToClipboard = undefined;
1417 this.pivotMode = undefined;
1418 this.suppressAggFuncInHeader = undefined;
1419 this.suppressColumnVirtualisation = undefined;
1420 this.suppressAggAtRootLevel = undefined;
1421 this.suppressFocusAfterRefresh = undefined;
1422 this.functionsPassive = undefined;
1423 this.functionsReadOnly = undefined;
1424 this.animateRows = undefined;
1425 this.groupSelectsFiltered = undefined;
1426 this.groupRemoveSingleChildren = undefined;
1427 this.groupRemoveLowestSingleChildren = undefined;
1428 this.enableRtl = undefined;
1429 this.suppressClickEdit = undefined;
1430 this.rowDragManaged = undefined;
1431 this.suppressRowDrag = undefined;
1432 this.suppressMoveWhenRowDragging = undefined;
1433 this.enableMultiRowDragging = undefined;
1434 this.enableGroupEdit = undefined;
1435 this.embedFullWidthRows = undefined;
1436 /** @deprecated
1437 */
1438 this.deprecatedEmbedFullWidthRows = undefined;
1439 this.suppressPaginationPanel = undefined;
1440 /** @deprecated Use floatingFilter on the colDef instead
1441 */
1442 this.floatingFilter = undefined;
1443 this.groupHideOpenParents = undefined;
1444 /** @deprecated - Use groupDisplayType = 'multipleColumns' instead
1445 */
1446 this.groupMultiAutoColumn = undefined;
1447 this.pagination = undefined;
1448 /** @deprecated Use stopEditingWhenCellsLoseFocus instead
1449 */
1450 this.stopEditingWhenGridLosesFocus = undefined;
1451 this.paginationAutoPageSize = undefined;
1452 this.suppressScrollOnNewData = undefined;
1453 this.purgeClosedRowNodes = undefined;
1454 this.cacheQuickFilter = undefined;
1455 /** @deprecated
1456 */
1457 this.deltaRowDataMode = undefined;
1458 this.ensureDomOrder = undefined;
1459 this.accentedSort = undefined;
1460 this.suppressChangeDetection = undefined;
1461 this.valueCache = undefined;
1462 this.valueCacheNeverExpires = undefined;
1463 this.aggregateOnlyChangedColumns = undefined;
1464 this.suppressAnimationFrame = undefined;
1465 this.suppressExcelExport = undefined;
1466 this.suppressCsvExport = undefined;
1467 this.treeData = undefined;
1468 this.masterDetail = undefined;
1469 this.suppressMultiRangeSelection = undefined;
1470 this.enterMovesDownAfterEdit = undefined;
1471 this.enterMovesDown = undefined;
1472 this.suppressPropertyNamesCheck = undefined;
1473 this.rowMultiSelectWithClick = undefined;
1474 this.suppressEnterpriseResetOnNewColumns = undefined;
1475 this.enableOldSetFilterModel = undefined;
1476 this.suppressRowHoverHighlight = undefined;
1477 this.suppressRowTransform = undefined;
1478 this.suppressClipboardPaste = undefined;
1479 this.suppressLastEmptyLineOnPaste = undefined;
1480 this.serverSideSortingAlwaysResets = undefined;
1481 /** @deprecated
1482 */
1483 this.suppressSetColumnStateEvents = undefined;
1484 /** @deprecated
1485 */
1486 this.suppressColumnStateEvents = undefined;
1487 this.enableCharts = undefined;
1488 /** @deprecated
1489 */
1490 this.deltaColumnMode = undefined;
1491 this.suppressMaintainUnsortedOrder = undefined;
1492 this.enableCellTextSelection = undefined;
1493 /** Set once in init, can never change */
1494 this.suppressBrowserResizeObserver = undefined;
1495 this.suppressMaxRenderedRowRestriction = undefined;
1496 this.excludeChildrenWhenTreeDataFiltering = undefined;
1497 this.tooltipMouseTrack = undefined;
1498 this.keepDetailRows = undefined;
1499 this.paginateChildRows = undefined;
1500 this.preventDefaultOnContextMenu = undefined;
1501 this.undoRedoCellEditing = undefined;
1502 this.allowDragFromColumnsToolPanel = undefined;
1503 this.immutableData = undefined;
1504 /** @deprecated
1505 */
1506 this.immutableColumns = undefined;
1507 this.pivotSuppressAutoColumn = undefined;
1508 this.suppressExpandablePivotGroups = undefined;
1509 /** @deprecated
1510 */
1511 this.applyColumnDefOrder = undefined;
1512 this.debounceVerticalScrollbar = undefined;
1513 this.detailRowAutoHeight = undefined;
1514 this.serverSideFilteringAlwaysResets = undefined;
1515 this.suppressAggFilteredOnly = undefined;
1516 this.showOpenedGroup = undefined;
1517 this.suppressClipboardApi = undefined;
1518 this.suppressModelUpdateAfterUpdateTransaction = undefined;
1519 this.stopEditingWhenCellsLoseFocus = undefined;
1520 this.maintainColumnOrder = undefined;
1521 this.groupMaintainOrder = undefined;
1522 this.columnHoverHighlight = undefined;
1523 /** @deprecated
1524 */
1525 this.allowProcessChartOptions = undefined;
1526 this.columnEverythingChanged = new core.EventEmitter();
1527 this.newColumnsLoaded = new core.EventEmitter();
1528 this.columnPivotModeChanged = new core.EventEmitter();
1529 this.columnRowGroupChanged = new core.EventEmitter();
1530 this.expandOrCollapseAll = new core.EventEmitter();
1531 this.columnPivotChanged = new core.EventEmitter();
1532 this.gridColumnsChanged = new core.EventEmitter();
1533 this.columnValueChanged = new core.EventEmitter();
1534 this.columnMoved = new core.EventEmitter();
1535 this.columnVisible = new core.EventEmitter();
1536 this.columnPinned = new core.EventEmitter();
1537 this.columnGroupOpened = new core.EventEmitter();
1538 this.columnResized = new core.EventEmitter();
1539 this.displayedColumnsChanged = new core.EventEmitter();
1540 this.virtualColumnsChanged = new core.EventEmitter();
1541 this.asyncTransactionsFlushed = new core.EventEmitter();
1542 this.rowGroupOpened = new core.EventEmitter();
1543 this.rowDataChanged = new core.EventEmitter();
1544 this.rowDataUpdated = new core.EventEmitter();
1545 this.pinnedRowDataChanged = new core.EventEmitter();
1546 this.rangeSelectionChanged = new core.EventEmitter();
1547 this.chartCreated = new core.EventEmitter();
1548 this.chartRangeSelectionChanged = new core.EventEmitter();
1549 this.chartOptionsChanged = new core.EventEmitter();
1550 this.chartDestroyed = new core.EventEmitter();
1551 this.toolPanelVisibleChanged = new core.EventEmitter();
1552 this.modelUpdated = new core.EventEmitter();
1553 this.pasteStart = new core.EventEmitter();
1554 this.pasteEnd = new core.EventEmitter();
1555 this.fillStart = new core.EventEmitter();
1556 this.fillEnd = new core.EventEmitter();
1557 this.cellClicked = new core.EventEmitter();
1558 this.cellDoubleClicked = new core.EventEmitter();
1559 this.cellMouseDown = new core.EventEmitter();
1560 this.cellContextMenu = new core.EventEmitter();
1561 this.cellValueChanged = new core.EventEmitter();
1562 this.rowValueChanged = new core.EventEmitter();
1563 this.cellFocused = new core.EventEmitter();
1564 this.rowSelected = new core.EventEmitter();
1565 this.selectionChanged = new core.EventEmitter();
1566 this.cellKeyDown = new core.EventEmitter();
1567 this.cellKeyPress = new core.EventEmitter();
1568 this.cellMouseOver = new core.EventEmitter();
1569 this.cellMouseOut = new core.EventEmitter();
1570 this.filterChanged = new core.EventEmitter();
1571 this.filterModified = new core.EventEmitter();
1572 this.filterOpened = new core.EventEmitter();
1573 this.sortChanged = new core.EventEmitter();
1574 this.virtualRowRemoved = new core.EventEmitter();
1575 this.rowClicked = new core.EventEmitter();
1576 this.rowDoubleClicked = new core.EventEmitter();
1577 this.gridReady = new core.EventEmitter();
1578 this.gridSizeChanged = new core.EventEmitter();
1579 this.viewportChanged = new core.EventEmitter();
1580 this.firstDataRendered = new core.EventEmitter();
1581 this.dragStarted = new core.EventEmitter();
1582 this.dragStopped = new core.EventEmitter();
1583 this.rowEditingStarted = new core.EventEmitter();
1584 this.rowEditingStopped = new core.EventEmitter();
1585 this.cellEditingStarted = new core.EventEmitter();
1586 this.cellEditingStopped = new core.EventEmitter();
1587 this.bodyScroll = new core.EventEmitter();
1588 this.paginationChanged = new core.EventEmitter();
1589 this.componentStateChanged = new core.EventEmitter();
1590 this.rowDragEnter = new core.EventEmitter();
1591 this.rowDragMove = new core.EventEmitter();
1592 this.rowDragLeave = new core.EventEmitter();
1593 this.rowDragEnd = new core.EventEmitter();
1594 this.columnRowGroupChangeRequest = new core.EventEmitter();
1595 this.columnPivotChangeRequest = new core.EventEmitter();
1596 this.columnValueChangeRequest = new core.EventEmitter();
1597 this.columnAggFuncChangeRequest = new core.EventEmitter();
1598 this._nativeElement = elementDef.nativeElement;
1599 }
1600 AgGridAngular.prototype.ngAfterViewInit = function () {
1601 this.frameworkComponentWrapper.setViewContainerRef(this.viewContainerRef);
1602 this.frameworkComponentWrapper.setComponentFactoryResolver(this.componentFactoryResolver);
1603 this.angularFrameworkOverrides.setEmitterUsedCallback(this.isEmitterUsed.bind(this));
1604 this.gridOptions = agGridCommunity.ComponentUtil.copyAttributesToGridOptions(this.gridOptions, this, true);
1605 this.gridParams = {
1606 globalEventListener: this.globalEventListener.bind(this),
1607 frameworkOverrides: this.angularFrameworkOverrides,
1608 providedBeanInstances: {
1609 frameworkComponentWrapper: this.frameworkComponentWrapper
1610 },
1611 modules: (this.modules || [])
1612 };
1613 if (this.columns && this.columns.length > 0) {
1614 this.gridOptions.columnDefs = this.columns
1615 .map(function (column) {
1616 return column.toColDef();
1617 });
1618 }
1619 new agGridCommunity.Grid(this._nativeElement, this.gridOptions, this.gridParams);
1620 if (this.gridOptions.api) {
1621 this.api = this.gridOptions.api;
1622 }
1623 if (this.gridOptions.columnApi) {
1624 this.columnApi = this.gridOptions.columnApi;
1625 }
1626 this._initialised = true;
1627 // sometimes, especially in large client apps gridReady can fire before ngAfterViewInit
1628 // this ties these together so that gridReady will always fire after agGridAngular's ngAfterViewInit
1629 // the actual containing component's ngAfterViewInit will fire just after agGridAngular's
1630 this._fullyReady.resolveNow(null, function (resolve) { return resolve; });
1631 };
1632 AgGridAngular.prototype.ngOnChanges = function (changes) {
1633 if (this._initialised) {
1634 agGridCommunity.ComponentUtil.processOnChange(changes, this.gridOptions, this.api, this.columnApi);
1635 }
1636 };
1637 AgGridAngular.prototype.ngOnDestroy = function () {
1638 if (this._initialised) {
1639 // need to do this before the destroy, so we know not to emit any events
1640 // while tearing down the grid.
1641 this._destroyed = true;
1642 if (this.api) {
1643 this.api.destroy();
1644 }
1645 }
1646 };
1647 // we'll emit the emit if a user is listening for a given event either on the component via normal angular binding
1648 // or via gridOptions
1649 AgGridAngular.prototype.isEmitterUsed = function (eventType) {
1650 var emitter = this[eventType];
1651 var hasEmitter = !!emitter && emitter.observers && emitter.observers.length > 0;
1652 // gridReady => onGridReady
1653 var asEventName = "on" + eventType.charAt(0).toUpperCase() + eventType.substring(1);
1654 var hasGridOptionListener = !!this.gridOptions && !!this.gridOptions[asEventName];
1655 return hasEmitter || hasGridOptionListener;
1656 };
1657 AgGridAngular.prototype.globalEventListener = function (eventType, event) {
1658 // if we are tearing down, don't emit angular events, as this causes
1659 // problems with the angular router
1660 if (this._destroyed) {
1661 return;
1662 }
1663 // generically look up the eventType
1664 var emitter = this[eventType];
1665 if (emitter && this.isEmitterUsed(eventType)) {
1666 if (eventType === 'gridReady') {
1667 // if the user is listening for gridReady, wait for ngAfterViewInit to fire first, then emit the
1668 // gridReady event
1669 this._fullyReady.then((function (result) {
1670 emitter.emit(event);
1671 }));
1672 }
1673 else {
1674 emitter.emit(event);
1675 }
1676 }
1677 };
1678 AgGridAngular.ctorParameters = function () { return [
1679 { type: core.ElementRef },
1680 { type: core.ViewContainerRef },
1681 { type: AngularFrameworkOverrides },
1682 { type: AngularFrameworkComponentWrapper },
1683 { type: core.ComponentFactoryResolver }
1684 ]; };
1685 __decorate([
1686 core.ContentChildren(AgGridColumn),
1687 __metadata("design:type", core.QueryList)
1688 ], AgGridAngular.prototype, "columns", void 0);
1689 __decorate([
1690 core.Input(),
1691 __metadata("design:type", Object)
1692 ], AgGridAngular.prototype, "gridOptions", void 0);
1693 __decorate([
1694 core.Input(),
1695 __metadata("design:type", Array)
1696 ], AgGridAngular.prototype, "modules", void 0);
1697 __decorate([
1698 core.Input(),
1699 __metadata("design:type", Array)
1700 ], AgGridAngular.prototype, "alignedGrids", void 0);
1701 __decorate([
1702 core.Input(),
1703 __metadata("design:type", Array)
1704 ], AgGridAngular.prototype, "rowData", void 0);
1705 __decorate([
1706 core.Input(),
1707 __metadata("design:type", Array)
1708 ], AgGridAngular.prototype, "columnDefs", void 0);
1709 __decorate([
1710 core.Input(),
1711 __metadata("design:type", Array)
1712 ], AgGridAngular.prototype, "excelStyles", void 0);
1713 __decorate([
1714 core.Input(),
1715 __metadata("design:type", Array)
1716 ], AgGridAngular.prototype, "pinnedTopRowData", void 0);
1717 __decorate([
1718 core.Input(),
1719 __metadata("design:type", Array)
1720 ], AgGridAngular.prototype, "pinnedBottomRowData", void 0);
1721 __decorate([
1722 core.Input(),
1723 __metadata("design:type", Array)
1724 ], AgGridAngular.prototype, "chartThemes", void 0);
1725 __decorate([
1726 core.Input(),
1727 __metadata("design:type", Object)
1728 ], AgGridAngular.prototype, "components", void 0);
1729 __decorate([
1730 core.Input(),
1731 __metadata("design:type", Object)
1732 ], AgGridAngular.prototype, "frameworkComponents", void 0);
1733 __decorate([
1734 core.Input(),
1735 __metadata("design:type", Object)
1736 ], AgGridAngular.prototype, "rowStyle", void 0);
1737 __decorate([
1738 core.Input(),
1739 __metadata("design:type", Object)
1740 ], AgGridAngular.prototype, "context", void 0);
1741 __decorate([
1742 core.Input(),
1743 __metadata("design:type", Object)
1744 ], AgGridAngular.prototype, "autoGroupColumnDef", void 0);
1745 __decorate([
1746 core.Input(),
1747 __metadata("design:type", Object)
1748 ], AgGridAngular.prototype, "localeText", void 0);
1749 __decorate([
1750 core.Input(),
1751 __metadata("design:type", Object)
1752 ], AgGridAngular.prototype, "icons", void 0);
1753 __decorate([
1754 core.Input(),
1755 __metadata("design:type", Object)
1756 ], AgGridAngular.prototype, "datasource", void 0);
1757 __decorate([
1758 core.Input(),
1759 __metadata("design:type", Object)
1760 ], AgGridAngular.prototype, "serverSideDatasource", void 0);
1761 __decorate([
1762 core.Input(),
1763 __metadata("design:type", Object)
1764 ], AgGridAngular.prototype, "viewportDatasource", void 0);
1765 __decorate([
1766 core.Input(),
1767 __metadata("design:type", Object)
1768 ], AgGridAngular.prototype, "groupRowRendererParams", void 0);
1769 __decorate([
1770 core.Input(),
1771 __metadata("design:type", Object)
1772 ], AgGridAngular.prototype, "aggFuncs", void 0);
1773 __decorate([
1774 core.Input(),
1775 __metadata("design:type", Object)
1776 ], AgGridAngular.prototype, "fullWidthCellRendererParams", void 0);
1777 __decorate([
1778 core.Input(),
1779 __metadata("design:type", Object)
1780 ], AgGridAngular.prototype, "defaultColGroupDef", void 0);
1781 __decorate([
1782 core.Input(),
1783 __metadata("design:type", Object)
1784 ], AgGridAngular.prototype, "defaultColDef", void 0);
1785 __decorate([
1786 core.Input(),
1787 __metadata("design:type", Object)
1788 ], AgGridAngular.prototype, "defaultExportParams", void 0);
1789 __decorate([
1790 core.Input(),
1791 __metadata("design:type", Object)
1792 ], AgGridAngular.prototype, "defaultCsvExportParams", void 0);
1793 __decorate([
1794 core.Input(),
1795 __metadata("design:type", Object)
1796 ], AgGridAngular.prototype, "defaultExcelExportParams", void 0);
1797 __decorate([
1798 core.Input(),
1799 __metadata("design:type", Object)
1800 ], AgGridAngular.prototype, "columnTypes", void 0);
1801 __decorate([
1802 core.Input(),
1803 __metadata("design:type", Object)
1804 ], AgGridAngular.prototype, "rowClassRules", void 0);
1805 __decorate([
1806 core.Input(),
1807 __metadata("design:type", Object)
1808 ], AgGridAngular.prototype, "detailCellRendererParams", void 0);
1809 __decorate([
1810 core.Input(),
1811 __metadata("design:type", Object)
1812 ], AgGridAngular.prototype, "loadingCellRendererParams", void 0);
1813 __decorate([
1814 core.Input(),
1815 __metadata("design:type", Object)
1816 ], AgGridAngular.prototype, "loadingOverlayComponentParams", void 0);
1817 __decorate([
1818 core.Input(),
1819 __metadata("design:type", Object)
1820 ], AgGridAngular.prototype, "noRowsOverlayComponentParams", void 0);
1821 __decorate([
1822 core.Input(),
1823 __metadata("design:type", HTMLElement)
1824 ], AgGridAngular.prototype, "popupParent", void 0);
1825 __decorate([
1826 core.Input(),
1827 __metadata("design:type", String)
1828 ], AgGridAngular.prototype, "colResizeDefault", void 0);
1829 __decorate([
1830 core.Input(),
1831 __metadata("design:type", Object)
1832 ], AgGridAngular.prototype, "statusBar", void 0);
1833 __decorate([
1834 core.Input(),
1835 __metadata("design:type", Object)
1836 ], AgGridAngular.prototype, "sideBar", void 0);
1837 __decorate([
1838 core.Input(),
1839 __metadata("design:type", Object)
1840 ], AgGridAngular.prototype, "chartThemeOverrides", void 0);
1841 __decorate([
1842 core.Input(),
1843 __metadata("design:type", Object)
1844 ], AgGridAngular.prototype, "customChartThemes", void 0);
1845 __decorate([
1846 core.Input(),
1847 __metadata("design:type", Array)
1848 ], AgGridAngular.prototype, "sortingOrder", void 0);
1849 __decorate([
1850 core.Input(),
1851 __metadata("design:type", Object)
1852 ], AgGridAngular.prototype, "rowClass", void 0);
1853 __decorate([
1854 core.Input(),
1855 __metadata("design:type", String)
1856 ], AgGridAngular.prototype, "rowSelection", void 0);
1857 __decorate([
1858 core.Input(),
1859 __metadata("design:type", String)
1860 ], AgGridAngular.prototype, "overlayLoadingTemplate", void 0);
1861 __decorate([
1862 core.Input(),
1863 __metadata("design:type", String)
1864 ], AgGridAngular.prototype, "overlayNoRowsTemplate", void 0);
1865 __decorate([
1866 core.Input(),
1867 __metadata("design:type", String)
1868 ], AgGridAngular.prototype, "quickFilterText", void 0);
1869 __decorate([
1870 core.Input(),
1871 __metadata("design:type", String)
1872 ], AgGridAngular.prototype, "rowModelType", void 0);
1873 __decorate([
1874 core.Input(),
1875 __metadata("design:type", String)
1876 ], AgGridAngular.prototype, "editType", void 0);
1877 __decorate([
1878 core.Input(),
1879 __metadata("design:type", String)
1880 ], AgGridAngular.prototype, "domLayout", void 0);
1881 __decorate([
1882 core.Input(),
1883 __metadata("design:type", String)
1884 ], AgGridAngular.prototype, "clipboardDeliminator", void 0);
1885 __decorate([
1886 core.Input(),
1887 __metadata("design:type", String)
1888 ], AgGridAngular.prototype, "rowGroupPanelShow", void 0);
1889 __decorate([
1890 core.Input(),
1891 __metadata("design:type", String)
1892 ], AgGridAngular.prototype, "multiSortKey", void 0);
1893 __decorate([
1894 core.Input(),
1895 __metadata("design:type", String)
1896 ], AgGridAngular.prototype, "pivotColumnGroupTotals", void 0);
1897 __decorate([
1898 core.Input(),
1899 __metadata("design:type", String)
1900 ], AgGridAngular.prototype, "pivotRowTotals", void 0);
1901 __decorate([
1902 core.Input(),
1903 __metadata("design:type", String)
1904 ], AgGridAngular.prototype, "pivotPanelShow", void 0);
1905 __decorate([
1906 core.Input(),
1907 __metadata("design:type", String)
1908 ], AgGridAngular.prototype, "fillHandleDirection", void 0);
1909 __decorate([
1910 core.Input(),
1911 __metadata("design:type", String)
1912 ], AgGridAngular.prototype, "serverSideStoreType", void 0);
1913 __decorate([
1914 core.Input(),
1915 __metadata("design:type", String)
1916 ], AgGridAngular.prototype, "groupDisplayType", void 0);
1917 __decorate([
1918 core.Input(),
1919 __metadata("design:type", String)
1920 ], AgGridAngular.prototype, "treeDataDisplayType", void 0);
1921 __decorate([
1922 core.Input(),
1923 __metadata("design:type", Number)
1924 ], AgGridAngular.prototype, "rowHeight", void 0);
1925 __decorate([
1926 core.Input(),
1927 __metadata("design:type", Number)
1928 ], AgGridAngular.prototype, "detailRowHeight", void 0);
1929 __decorate([
1930 core.Input(),
1931 __metadata("design:type", Number)
1932 ], AgGridAngular.prototype, "rowBuffer", void 0);
1933 __decorate([
1934 core.Input(),
1935 __metadata("design:type", Number)
1936 ], AgGridAngular.prototype, "colWidth", void 0);
1937 __decorate([
1938 core.Input(),
1939 __metadata("design:type", Number)
1940 ], AgGridAngular.prototype, "headerHeight", void 0);
1941 __decorate([
1942 core.Input(),
1943 __metadata("design:type", Number)
1944 ], AgGridAngular.prototype, "groupHeaderHeight", void 0);
1945 __decorate([
1946 core.Input(),
1947 __metadata("design:type", Number)
1948 ], AgGridAngular.prototype, "floatingFiltersHeight", void 0);
1949 __decorate([
1950 core.Input(),
1951 __metadata("design:type", Number)
1952 ], AgGridAngular.prototype, "pivotHeaderHeight", void 0);
1953 __decorate([
1954 core.Input(),
1955 __metadata("design:type", Number)
1956 ], AgGridAngular.prototype, "pivotGroupHeaderHeight", void 0);
1957 __decorate([
1958 core.Input(),
1959 __metadata("design:type", Number)
1960 ], AgGridAngular.prototype, "groupDefaultExpanded", void 0);
1961 __decorate([
1962 core.Input(),
1963 __metadata("design:type", Number)
1964 ], AgGridAngular.prototype, "minColWidth", void 0);
1965 __decorate([
1966 core.Input(),
1967 __metadata("design:type", Number)
1968 ], AgGridAngular.prototype, "maxColWidth", void 0);
1969 __decorate([
1970 core.Input(),
1971 __metadata("design:type", Number)
1972 ], AgGridAngular.prototype, "viewportRowModelPageSize", void 0);
1973 __decorate([
1974 core.Input(),
1975 __metadata("design:type", Number)
1976 ], AgGridAngular.prototype, "viewportRowModelBufferSize", void 0);
1977 __decorate([
1978 core.Input(),
1979 __metadata("design:type", Number)
1980 ], AgGridAngular.prototype, "autoSizePadding", void 0);
1981 __decorate([
1982 core.Input(),
1983 __metadata("design:type", Number)
1984 ], AgGridAngular.prototype, "maxBlocksInCache", void 0);
1985 __decorate([
1986 core.Input(),
1987 __metadata("design:type", Number)
1988 ], AgGridAngular.prototype, "maxConcurrentDatasourceRequests", void 0);
1989 __decorate([
1990 core.Input(),
1991 __metadata("design:type", Number)
1992 ], AgGridAngular.prototype, "tooltipShowDelay", void 0);
1993 __decorate([
1994 core.Input(),
1995 __metadata("design:type", Number)
1996 ], AgGridAngular.prototype, "cacheOverflowSize", void 0);
1997 __decorate([
1998 core.Input(),
1999 __metadata("design:type", Number)
2000 ], AgGridAngular.prototype, "paginationPageSize", void 0);
2001 __decorate([
2002 core.Input(),
2003 __metadata("design:type", Number)
2004 ], AgGridAngular.prototype, "cacheBlockSize", void 0);
2005 __decorate([
2006 core.Input(),
2007 __metadata("design:type", Number)
2008 ], AgGridAngular.prototype, "infiniteInitialRowCount", void 0);
2009 __decorate([
2010 core.Input(),
2011 __metadata("design:type", Number)
2012 ], AgGridAngular.prototype, "scrollbarWidth", void 0);
2013 __decorate([
2014 core.Input(),
2015 __metadata("design:type", Number)
2016 ], AgGridAngular.prototype, "batchUpdateWaitMillis", void 0);
2017 __decorate([
2018 core.Input(),
2019 __metadata("design:type", Number)
2020 ], AgGridAngular.prototype, "asyncTransactionWaitMillis", void 0);
2021 __decorate([
2022 core.Input(),
2023 __metadata("design:type", Number)
2024 ], AgGridAngular.prototype, "blockLoadDebounceMillis", void 0);
2025 __decorate([
2026 core.Input(),
2027 __metadata("design:type", Number)
2028 ], AgGridAngular.prototype, "keepDetailRowsCount", void 0);
2029 __decorate([
2030 core.Input(),
2031 __metadata("design:type", Number)
2032 ], AgGridAngular.prototype, "undoRedoCellEditingLimit", void 0);
2033 __decorate([
2034 core.Input(),
2035 __metadata("design:type", Number)
2036 ], AgGridAngular.prototype, "cellFlashDelay", void 0);
2037 __decorate([
2038 core.Input(),
2039 __metadata("design:type", Number)
2040 ], AgGridAngular.prototype, "cellFadeDelay", void 0);
2041 __decorate([
2042 core.Input(),
2043 __metadata("design:type", Number)
2044 ], AgGridAngular.prototype, "tabIndex", void 0);
2045 __decorate([
2046 core.Input(),
2047 __metadata("design:type", Function)
2048 ], AgGridAngular.prototype, "localeTextFunc", void 0);
2049 __decorate([
2050 core.Input(),
2051 __metadata("design:type", Object)
2052 ], AgGridAngular.prototype, "groupRowInnerRenderer", void 0);
2053 __decorate([
2054 core.Input(),
2055 __metadata("design:type", Object)
2056 ], AgGridAngular.prototype, "groupRowInnerRendererFramework", void 0);
2057 __decorate([
2058 core.Input(),
2059 __metadata("design:type", Object)
2060 ], AgGridAngular.prototype, "dateComponent", void 0);
2061 __decorate([
2062 core.Input(),
2063 __metadata("design:type", Object)
2064 ], AgGridAngular.prototype, "dateComponentFramework", void 0);
2065 __decorate([
2066 core.Input(),
2067 __metadata("design:type", Object)
2068 ], AgGridAngular.prototype, "groupRowRenderer", void 0);
2069 __decorate([
2070 core.Input(),
2071 __metadata("design:type", Object)
2072 ], AgGridAngular.prototype, "groupRowRendererFramework", void 0);
2073 __decorate([
2074 core.Input(),
2075 __metadata("design:type", Function)
2076 ], AgGridAngular.prototype, "isExternalFilterPresent", void 0);
2077 __decorate([
2078 core.Input(),
2079 __metadata("design:type", Function)
2080 ], AgGridAngular.prototype, "getRowHeight", void 0);
2081 __decorate([
2082 core.Input(),
2083 __metadata("design:type", Function)
2084 ], AgGridAngular.prototype, "doesExternalFilterPass", void 0);
2085 __decorate([
2086 core.Input(),
2087 __metadata("design:type", Function)
2088 ], AgGridAngular.prototype, "getRowClass", void 0);
2089 __decorate([
2090 core.Input(),
2091 __metadata("design:type", Function)
2092 ], AgGridAngular.prototype, "getRowStyle", void 0);
2093 __decorate([
2094 core.Input(),
2095 __metadata("design:type", Function)
2096 ], AgGridAngular.prototype, "getContextMenuItems", void 0);
2097 __decorate([
2098 core.Input(),
2099 __metadata("design:type", Function)
2100 ], AgGridAngular.prototype, "getMainMenuItems", void 0);
2101 __decorate([
2102 core.Input(),
2103 __metadata("design:type", Function)
2104 ], AgGridAngular.prototype, "processRowPostCreate", void 0);
2105 __decorate([
2106 core.Input(),
2107 __metadata("design:type", Function)
2108 ], AgGridAngular.prototype, "processCellForClipboard", void 0);
2109 __decorate([
2110 core.Input(),
2111 __metadata("design:type", Function)
2112 ], AgGridAngular.prototype, "groupRowAggNodes", void 0);
2113 __decorate([
2114 core.Input(),
2115 __metadata("design:type", Function)
2116 ], AgGridAngular.prototype, "getRowNodeId", void 0);
2117 __decorate([
2118 core.Input(),
2119 __metadata("design:type", Function)
2120 ], AgGridAngular.prototype, "isFullWidthCell", void 0);
2121 __decorate([
2122 core.Input(),
2123 __metadata("design:type", Object)
2124 ], AgGridAngular.prototype, "fullWidthCellRenderer", void 0);
2125 __decorate([
2126 core.Input(),
2127 __metadata("design:type", Object)
2128 ], AgGridAngular.prototype, "fullWidthCellRendererFramework", void 0);
2129 __decorate([
2130 core.Input(),
2131 __metadata("design:type", Function)
2132 ], AgGridAngular.prototype, "processSecondaryColDef", void 0);
2133 __decorate([
2134 core.Input(),
2135 __metadata("design:type", Function)
2136 ], AgGridAngular.prototype, "processSecondaryColGroupDef", void 0);
2137 __decorate([
2138 core.Input(),
2139 __metadata("design:type", Function)
2140 ], AgGridAngular.prototype, "getBusinessKeyForNode", void 0);
2141 __decorate([
2142 core.Input(),
2143 __metadata("design:type", Function)
2144 ], AgGridAngular.prototype, "sendToClipboard", void 0);
2145 __decorate([
2146 core.Input(),
2147 __metadata("design:type", Function)
2148 ], AgGridAngular.prototype, "navigateToNextHeader", void 0);
2149 __decorate([
2150 core.Input(),
2151 __metadata("design:type", Function)
2152 ], AgGridAngular.prototype, "tabToNextHeader", void 0);
2153 __decorate([
2154 core.Input(),
2155 __metadata("design:type", Function)
2156 ], AgGridAngular.prototype, "navigateToNextCell", void 0);
2157 __decorate([
2158 core.Input(),
2159 __metadata("design:type", Function)
2160 ], AgGridAngular.prototype, "tabToNextCell", void 0);
2161 __decorate([
2162 core.Input(),
2163 __metadata("design:type", Function)
2164 ], AgGridAngular.prototype, "processCellFromClipboard", void 0);
2165 __decorate([
2166 core.Input(),
2167 __metadata("design:type", Function)
2168 ], AgGridAngular.prototype, "getDocument", void 0);
2169 __decorate([
2170 core.Input(),
2171 __metadata("design:type", Function)
2172 ], AgGridAngular.prototype, "postProcessPopup", void 0);
2173 __decorate([
2174 core.Input(),
2175 __metadata("design:type", Function)
2176 ], AgGridAngular.prototype, "getChildCount", void 0);
2177 __decorate([
2178 core.Input(),
2179 __metadata("design:type", Function)
2180 ], AgGridAngular.prototype, "getDataPath", void 0);
2181 __decorate([
2182 core.Input(),
2183 __metadata("design:type", Object)
2184 ], AgGridAngular.prototype, "loadingCellRenderer", void 0);
2185 __decorate([
2186 core.Input(),
2187 __metadata("design:type", Object)
2188 ], AgGridAngular.prototype, "loadingCellRendererFramework", void 0);
2189 __decorate([
2190 core.Input(),
2191 __metadata("design:type", Object)
2192 ], AgGridAngular.prototype, "loadingOverlayComponent", void 0);
2193 __decorate([
2194 core.Input(),
2195 __metadata("design:type", Object)
2196 ], AgGridAngular.prototype, "loadingOverlayComponentFramework", void 0);
2197 __decorate([
2198 core.Input(),
2199 __metadata("design:type", Object)
2200 ], AgGridAngular.prototype, "noRowsOverlayComponent", void 0);
2201 __decorate([
2202 core.Input(),
2203 __metadata("design:type", Object)
2204 ], AgGridAngular.prototype, "noRowsOverlayComponentFramework", void 0);
2205 __decorate([
2206 core.Input(),
2207 __metadata("design:type", Object)
2208 ], AgGridAngular.prototype, "detailCellRenderer", void 0);
2209 __decorate([
2210 core.Input(),
2211 __metadata("design:type", Object)
2212 ], AgGridAngular.prototype, "detailCellRendererFramework", void 0);
2213 __decorate([
2214 core.Input(),
2215 __metadata("design:type", Function)
2216 ], AgGridAngular.prototype, "isRowMaster", void 0);
2217 __decorate([
2218 core.Input(),
2219 __metadata("design:type", Function)
2220 ], AgGridAngular.prototype, "isRowSelectable", void 0);
2221 __decorate([
2222 core.Input(),
2223 __metadata("design:type", Function)
2224 ], AgGridAngular.prototype, "postSort", void 0);
2225 __decorate([
2226 core.Input(),
2227 __metadata("design:type", Function)
2228 ], AgGridAngular.prototype, "processHeaderForClipboard", void 0);
2229 __decorate([
2230 core.Input(),
2231 __metadata("design:type", Function)
2232 ], AgGridAngular.prototype, "paginationNumberFormatter", void 0);
2233 __decorate([
2234 core.Input(),
2235 __metadata("design:type", Function)
2236 ], AgGridAngular.prototype, "processDataFromClipboard", void 0);
2237 __decorate([
2238 core.Input(),
2239 __metadata("design:type", Function)
2240 ], AgGridAngular.prototype, "getServerSideGroupKey", void 0);
2241 __decorate([
2242 core.Input(),
2243 __metadata("design:type", Function)
2244 ], AgGridAngular.prototype, "isServerSideGroup", void 0);
2245 __decorate([
2246 core.Input(),
2247 __metadata("design:type", Function)
2248 ], AgGridAngular.prototype, "suppressKeyboardEvent", void 0);
2249 __decorate([
2250 core.Input(),
2251 __metadata("design:type", Function)
2252 ], AgGridAngular.prototype, "createChartContainer", void 0);
2253 __decorate([
2254 core.Input(),
2255 __metadata("design:type", Function)
2256 ], AgGridAngular.prototype, "processChartOptions", void 0);
2257 __decorate([
2258 core.Input(),
2259 __metadata("design:type", Function)
2260 ], AgGridAngular.prototype, "getChartToolbarItems", void 0);
2261 __decorate([
2262 core.Input(),
2263 __metadata("design:type", Function)
2264 ], AgGridAngular.prototype, "fillOperation", void 0);
2265 __decorate([
2266 core.Input(),
2267 __metadata("design:type", Function)
2268 ], AgGridAngular.prototype, "isApplyServerSideTransaction", void 0);
2269 __decorate([
2270 core.Input(),
2271 __metadata("design:type", Function)
2272 ], AgGridAngular.prototype, "getServerSideStoreParams", void 0);
2273 __decorate([
2274 core.Input(),
2275 __metadata("design:type", Function)
2276 ], AgGridAngular.prototype, "isServerSideGroupOpenByDefault", void 0);
2277 __decorate([
2278 core.Input(),
2279 __metadata("design:type", Function)
2280 ], AgGridAngular.prototype, "isGroupOpenByDefault", void 0);
2281 __decorate([
2282 core.Input(),
2283 __metadata("design:type", Function)
2284 ], AgGridAngular.prototype, "defaultGroupSortComparator", void 0);
2285 __decorate([
2286 core.Input(),
2287 __metadata("design:type", Function)
2288 ], AgGridAngular.prototype, "defaultGroupOrderComparator", void 0);
2289 __decorate([
2290 core.Input(),
2291 __metadata("design:type", Boolean)
2292 ], AgGridAngular.prototype, "suppressMakeColumnVisibleAfterUnGroup", void 0);
2293 __decorate([
2294 core.Input(),
2295 __metadata("design:type", Boolean)
2296 ], AgGridAngular.prototype, "suppressRowClickSelection", void 0);
2297 __decorate([
2298 core.Input(),
2299 __metadata("design:type", Boolean)
2300 ], AgGridAngular.prototype, "suppressCellSelection", void 0);
2301 __decorate([
2302 core.Input(),
2303 __metadata("design:type", Boolean)
2304 ], AgGridAngular.prototype, "suppressHorizontalScroll", void 0);
2305 __decorate([
2306 core.Input(),
2307 __metadata("design:type", Boolean)
2308 ], AgGridAngular.prototype, "alwaysShowHorizontalScroll", void 0);
2309 __decorate([
2310 core.Input(),
2311 __metadata("design:type", Boolean)
2312 ], AgGridAngular.prototype, "alwaysShowVerticalScroll", void 0);
2313 __decorate([
2314 core.Input(),
2315 __metadata("design:type", Boolean)
2316 ], AgGridAngular.prototype, "debug", void 0);
2317 __decorate([
2318 core.Input(),
2319 __metadata("design:type", Boolean)
2320 ], AgGridAngular.prototype, "enableBrowserTooltips", void 0);
2321 __decorate([
2322 core.Input(),
2323 __metadata("design:type", Boolean)
2324 ], AgGridAngular.prototype, "enableCellExpressions", void 0);
2325 __decorate([
2326 core.Input(),
2327 __metadata("design:type", Boolean)
2328 ], AgGridAngular.prototype, "angularCompileRows", void 0);
2329 __decorate([
2330 core.Input(),
2331 __metadata("design:type", Boolean)
2332 ], AgGridAngular.prototype, "angularCompileFilters", void 0);
2333 __decorate([
2334 core.Input(),
2335 __metadata("design:type", Boolean)
2336 ], AgGridAngular.prototype, "groupSuppressAutoColumn", void 0);
2337 __decorate([
2338 core.Input(),
2339 __metadata("design:type", Boolean)
2340 ], AgGridAngular.prototype, "groupSelectsChildren", void 0);
2341 __decorate([
2342 core.Input(),
2343 __metadata("design:type", Boolean)
2344 ], AgGridAngular.prototype, "groupIncludeFooter", void 0);
2345 __decorate([
2346 core.Input(),
2347 __metadata("design:type", Boolean)
2348 ], AgGridAngular.prototype, "groupIncludeTotalFooter", void 0);
2349 __decorate([
2350 core.Input(),
2351 __metadata("design:type", Boolean)
2352 ], AgGridAngular.prototype, "groupUseEntireRow", void 0);
2353 __decorate([
2354 core.Input(),
2355 __metadata("design:type", Boolean)
2356 ], AgGridAngular.prototype, "groupSuppressBlankHeader", void 0);
2357 __decorate([
2358 core.Input(),
2359 __metadata("design:type", Boolean)
2360 ], AgGridAngular.prototype, "suppressMenuHide", void 0);
2361 __decorate([
2362 core.Input(),
2363 __metadata("design:type", Boolean)
2364 ], AgGridAngular.prototype, "suppressRowDeselection", void 0);
2365 __decorate([
2366 core.Input(),
2367 __metadata("design:type", Boolean)
2368 ], AgGridAngular.prototype, "unSortIcon", void 0);
2369 __decorate([
2370 core.Input(),
2371 __metadata("design:type", Boolean)
2372 ], AgGridAngular.prototype, "suppressMultiSort", void 0);
2373 __decorate([
2374 core.Input(),
2375 __metadata("design:type", Boolean)
2376 ], AgGridAngular.prototype, "singleClickEdit", void 0);
2377 __decorate([
2378 core.Input(),
2379 __metadata("design:type", Boolean)
2380 ], AgGridAngular.prototype, "suppressLoadingOverlay", void 0);
2381 __decorate([
2382 core.Input(),
2383 __metadata("design:type", Boolean)
2384 ], AgGridAngular.prototype, "suppressNoRowsOverlay", void 0);
2385 __decorate([
2386 core.Input(),
2387 __metadata("design:type", Boolean)
2388 ], AgGridAngular.prototype, "suppressAutoSize", void 0);
2389 __decorate([
2390 core.Input(),
2391 __metadata("design:type", Boolean)
2392 ], AgGridAngular.prototype, "skipHeaderOnAutoSize", void 0);
2393 __decorate([
2394 core.Input(),
2395 __metadata("design:type", Boolean)
2396 ], AgGridAngular.prototype, "suppressParentsInRowNodes", void 0);
2397 __decorate([
2398 core.Input(),
2399 __metadata("design:type", Boolean)
2400 ], AgGridAngular.prototype, "suppressColumnMoveAnimation", void 0);
2401 __decorate([
2402 core.Input(),
2403 __metadata("design:type", Boolean)
2404 ], AgGridAngular.prototype, "suppressMovableColumns", void 0);
2405 __decorate([
2406 core.Input(),
2407 __metadata("design:type", Boolean)
2408 ], AgGridAngular.prototype, "suppressFieldDotNotation", void 0);
2409 __decorate([
2410 core.Input(),
2411 __metadata("design:type", Boolean)
2412 ], AgGridAngular.prototype, "enableRangeSelection", void 0);
2413 __decorate([
2414 core.Input(),
2415 __metadata("design:type", Boolean)
2416 ], AgGridAngular.prototype, "enableRangeHandle", void 0);
2417 __decorate([
2418 core.Input(),
2419 __metadata("design:type", Boolean)
2420 ], AgGridAngular.prototype, "enableFillHandle", void 0);
2421 __decorate([
2422 core.Input(),
2423 __metadata("design:type", Boolean)
2424 ], AgGridAngular.prototype, "suppressClearOnFillReduction", void 0);
2425 __decorate([
2426 core.Input(),
2427 __metadata("design:type", Boolean)
2428 ], AgGridAngular.prototype, "deltaSort", void 0);
2429 __decorate([
2430 core.Input(),
2431 __metadata("design:type", Boolean)
2432 ], AgGridAngular.prototype, "suppressTouch", void 0);
2433 __decorate([
2434 core.Input(),
2435 __metadata("design:type", Boolean)
2436 ], AgGridAngular.prototype, "suppressAsyncEvents", void 0);
2437 __decorate([
2438 core.Input(),
2439 __metadata("design:type", Boolean)
2440 ], AgGridAngular.prototype, "allowContextMenuWithControlKey", void 0);
2441 __decorate([
2442 core.Input(),
2443 __metadata("design:type", Boolean)
2444 ], AgGridAngular.prototype, "suppressContextMenu", void 0);
2445 __decorate([
2446 core.Input(),
2447 __metadata("design:type", Boolean)
2448 ], AgGridAngular.prototype, "rememberGroupStateWhenNewData", void 0);
2449 __decorate([
2450 core.Input(),
2451 __metadata("design:type", Boolean)
2452 ], AgGridAngular.prototype, "enableCellChangeFlash", void 0);
2453 __decorate([
2454 core.Input(),
2455 __metadata("design:type", Boolean)
2456 ], AgGridAngular.prototype, "suppressDragLeaveHidesColumns", void 0);
2457 __decorate([
2458 core.Input(),
2459 __metadata("design:type", Boolean)
2460 ], AgGridAngular.prototype, "suppressMiddleClickScrolls", void 0);
2461 __decorate([
2462 core.Input(),
2463 __metadata("design:type", Boolean)
2464 ], AgGridAngular.prototype, "suppressPreventDefaultOnMouseWheel", void 0);
2465 __decorate([
2466 core.Input(),
2467 __metadata("design:type", Boolean)
2468 ], AgGridAngular.prototype, "suppressCopyRowsToClipboard", void 0);
2469 __decorate([
2470 core.Input(),
2471 __metadata("design:type", Boolean)
2472 ], AgGridAngular.prototype, "copyHeadersToClipboard", void 0);
2473 __decorate([
2474 core.Input(),
2475 __metadata("design:type", Boolean)
2476 ], AgGridAngular.prototype, "pivotMode", void 0);
2477 __decorate([
2478 core.Input(),
2479 __metadata("design:type", Boolean)
2480 ], AgGridAngular.prototype, "suppressAggFuncInHeader", void 0);
2481 __decorate([
2482 core.Input(),
2483 __metadata("design:type", Boolean)
2484 ], AgGridAngular.prototype, "suppressColumnVirtualisation", void 0);
2485 __decorate([
2486 core.Input(),
2487 __metadata("design:type", Boolean)
2488 ], AgGridAngular.prototype, "suppressAggAtRootLevel", void 0);
2489 __decorate([
2490 core.Input(),
2491 __metadata("design:type", Boolean)
2492 ], AgGridAngular.prototype, "suppressFocusAfterRefresh", void 0);
2493 __decorate([
2494 core.Input(),
2495 __metadata("design:type", Boolean)
2496 ], AgGridAngular.prototype, "functionsPassive", void 0);
2497 __decorate([
2498 core.Input(),
2499 __metadata("design:type", Boolean)
2500 ], AgGridAngular.prototype, "functionsReadOnly", void 0);
2501 __decorate([
2502 core.Input(),
2503 __metadata("design:type", Boolean)
2504 ], AgGridAngular.prototype, "animateRows", void 0);
2505 __decorate([
2506 core.Input(),
2507 __metadata("design:type", Boolean)
2508 ], AgGridAngular.prototype, "groupSelectsFiltered", void 0);
2509 __decorate([
2510 core.Input(),
2511 __metadata("design:type", Boolean)
2512 ], AgGridAngular.prototype, "groupRemoveSingleChildren", void 0);
2513 __decorate([
2514 core.Input(),
2515 __metadata("design:type", Boolean)
2516 ], AgGridAngular.prototype, "groupRemoveLowestSingleChildren", void 0);
2517 __decorate([
2518 core.Input(),
2519 __metadata("design:type", Boolean)
2520 ], AgGridAngular.prototype, "enableRtl", void 0);
2521 __decorate([
2522 core.Input(),
2523 __metadata("design:type", Boolean)
2524 ], AgGridAngular.prototype, "suppressClickEdit", void 0);
2525 __decorate([
2526 core.Input(),
2527 __metadata("design:type", Boolean)
2528 ], AgGridAngular.prototype, "rowDragManaged", void 0);
2529 __decorate([
2530 core.Input(),
2531 __metadata("design:type", Boolean)
2532 ], AgGridAngular.prototype, "suppressRowDrag", void 0);
2533 __decorate([
2534 core.Input(),
2535 __metadata("design:type", Boolean)
2536 ], AgGridAngular.prototype, "suppressMoveWhenRowDragging", void 0);
2537 __decorate([
2538 core.Input(),
2539 __metadata("design:type", Boolean)
2540 ], AgGridAngular.prototype, "enableMultiRowDragging", void 0);
2541 __decorate([
2542 core.Input(),
2543 __metadata("design:type", Boolean)
2544 ], AgGridAngular.prototype, "enableGroupEdit", void 0);
2545 __decorate([
2546 core.Input(),
2547 __metadata("design:type", Boolean)
2548 ], AgGridAngular.prototype, "embedFullWidthRows", void 0);
2549 __decorate([
2550 core.Input(),
2551 __metadata("design:type", Boolean)
2552 ], AgGridAngular.prototype, "deprecatedEmbedFullWidthRows", void 0);
2553 __decorate([
2554 core.Input(),
2555 __metadata("design:type", Boolean)
2556 ], AgGridAngular.prototype, "suppressPaginationPanel", void 0);
2557 __decorate([
2558 core.Input(),
2559 __metadata("design:type", Boolean)
2560 ], AgGridAngular.prototype, "floatingFilter", void 0);
2561 __decorate([
2562 core.Input(),
2563 __metadata("design:type", Boolean)
2564 ], AgGridAngular.prototype, "groupHideOpenParents", void 0);
2565 __decorate([
2566 core.Input(),
2567 __metadata("design:type", Boolean)
2568 ], AgGridAngular.prototype, "groupMultiAutoColumn", void 0);
2569 __decorate([
2570 core.Input(),
2571 __metadata("design:type", Boolean)
2572 ], AgGridAngular.prototype, "pagination", void 0);
2573 __decorate([
2574 core.Input(),
2575 __metadata("design:type", Boolean)
2576 ], AgGridAngular.prototype, "stopEditingWhenGridLosesFocus", void 0);
2577 __decorate([
2578 core.Input(),
2579 __metadata("design:type", Boolean)
2580 ], AgGridAngular.prototype, "paginationAutoPageSize", void 0);
2581 __decorate([
2582 core.Input(),
2583 __metadata("design:type", Boolean)
2584 ], AgGridAngular.prototype, "suppressScrollOnNewData", void 0);
2585 __decorate([
2586 core.Input(),
2587 __metadata("design:type", Boolean)
2588 ], AgGridAngular.prototype, "purgeClosedRowNodes", void 0);
2589 __decorate([
2590 core.Input(),
2591 __metadata("design:type", Boolean)
2592 ], AgGridAngular.prototype, "cacheQuickFilter", void 0);
2593 __decorate([
2594 core.Input(),
2595 __metadata("design:type", Boolean)
2596 ], AgGridAngular.prototype, "deltaRowDataMode", void 0);
2597 __decorate([
2598 core.Input(),
2599 __metadata("design:type", Boolean)
2600 ], AgGridAngular.prototype, "ensureDomOrder", void 0);
2601 __decorate([
2602 core.Input(),
2603 __metadata("design:type", Boolean)
2604 ], AgGridAngular.prototype, "accentedSort", void 0);
2605 __decorate([
2606 core.Input(),
2607 __metadata("design:type", Boolean)
2608 ], AgGridAngular.prototype, "suppressChangeDetection", void 0);
2609 __decorate([
2610 core.Input(),
2611 __metadata("design:type", Boolean)
2612 ], AgGridAngular.prototype, "valueCache", void 0);
2613 __decorate([
2614 core.Input(),
2615 __metadata("design:type", Boolean)
2616 ], AgGridAngular.prototype, "valueCacheNeverExpires", void 0);
2617 __decorate([
2618 core.Input(),
2619 __metadata("design:type", Boolean)
2620 ], AgGridAngular.prototype, "aggregateOnlyChangedColumns", void 0);
2621 __decorate([
2622 core.Input(),
2623 __metadata("design:type", Boolean)
2624 ], AgGridAngular.prototype, "suppressAnimationFrame", void 0);
2625 __decorate([
2626 core.Input(),
2627 __metadata("design:type", Boolean)
2628 ], AgGridAngular.prototype, "suppressExcelExport", void 0);
2629 __decorate([
2630 core.Input(),
2631 __metadata("design:type", Boolean)
2632 ], AgGridAngular.prototype, "suppressCsvExport", void 0);
2633 __decorate([
2634 core.Input(),
2635 __metadata("design:type", Boolean)
2636 ], AgGridAngular.prototype, "treeData", void 0);
2637 __decorate([
2638 core.Input(),
2639 __metadata("design:type", Boolean)
2640 ], AgGridAngular.prototype, "masterDetail", void 0);
2641 __decorate([
2642 core.Input(),
2643 __metadata("design:type", Boolean)
2644 ], AgGridAngular.prototype, "suppressMultiRangeSelection", void 0);
2645 __decorate([
2646 core.Input(),
2647 __metadata("design:type", Boolean)
2648 ], AgGridAngular.prototype, "enterMovesDownAfterEdit", void 0);
2649 __decorate([
2650 core.Input(),
2651 __metadata("design:type", Boolean)
2652 ], AgGridAngular.prototype, "enterMovesDown", void 0);
2653 __decorate([
2654 core.Input(),
2655 __metadata("design:type", Boolean)
2656 ], AgGridAngular.prototype, "suppressPropertyNamesCheck", void 0);
2657 __decorate([
2658 core.Input(),
2659 __metadata("design:type", Boolean)
2660 ], AgGridAngular.prototype, "rowMultiSelectWithClick", void 0);
2661 __decorate([
2662 core.Input(),
2663 __metadata("design:type", Boolean)
2664 ], AgGridAngular.prototype, "suppressEnterpriseResetOnNewColumns", void 0);
2665 __decorate([
2666 core.Input(),
2667 __metadata("design:type", Boolean)
2668 ], AgGridAngular.prototype, "enableOldSetFilterModel", void 0);
2669 __decorate([
2670 core.Input(),
2671 __metadata("design:type", Boolean)
2672 ], AgGridAngular.prototype, "suppressRowHoverHighlight", void 0);
2673 __decorate([
2674 core.Input(),
2675 __metadata("design:type", Boolean)
2676 ], AgGridAngular.prototype, "suppressRowTransform", void 0);
2677 __decorate([
2678 core.Input(),
2679 __metadata("design:type", Boolean)
2680 ], AgGridAngular.prototype, "suppressClipboardPaste", void 0);
2681 __decorate([
2682 core.Input(),
2683 __metadata("design:type", Boolean)
2684 ], AgGridAngular.prototype, "suppressLastEmptyLineOnPaste", void 0);
2685 __decorate([
2686 core.Input(),
2687 __metadata("design:type", Boolean)
2688 ], AgGridAngular.prototype, "serverSideSortingAlwaysResets", void 0);
2689 __decorate([
2690 core.Input(),
2691 __metadata("design:type", Boolean)
2692 ], AgGridAngular.prototype, "suppressSetColumnStateEvents", void 0);
2693 __decorate([
2694 core.Input(),
2695 __metadata("design:type", Boolean)
2696 ], AgGridAngular.prototype, "suppressColumnStateEvents", void 0);
2697 __decorate([
2698 core.Input(),
2699 __metadata("design:type", Boolean)
2700 ], AgGridAngular.prototype, "enableCharts", void 0);
2701 __decorate([
2702 core.Input(),
2703 __metadata("design:type", Boolean)
2704 ], AgGridAngular.prototype, "deltaColumnMode", void 0);
2705 __decorate([
2706 core.Input(),
2707 __metadata("design:type", Boolean)
2708 ], AgGridAngular.prototype, "suppressMaintainUnsortedOrder", void 0);
2709 __decorate([
2710 core.Input(),
2711 __metadata("design:type", Boolean)
2712 ], AgGridAngular.prototype, "enableCellTextSelection", void 0);
2713 __decorate([
2714 core.Input(),
2715 __metadata("design:type", Boolean)
2716 ], AgGridAngular.prototype, "suppressBrowserResizeObserver", void 0);
2717 __decorate([
2718 core.Input(),
2719 __metadata("design:type", Boolean)
2720 ], AgGridAngular.prototype, "suppressMaxRenderedRowRestriction", void 0);
2721 __decorate([
2722 core.Input(),
2723 __metadata("design:type", Boolean)
2724 ], AgGridAngular.prototype, "excludeChildrenWhenTreeDataFiltering", void 0);
2725 __decorate([
2726 core.Input(),
2727 __metadata("design:type", Boolean)
2728 ], AgGridAngular.prototype, "tooltipMouseTrack", void 0);
2729 __decorate([
2730 core.Input(),
2731 __metadata("design:type", Boolean)
2732 ], AgGridAngular.prototype, "keepDetailRows", void 0);
2733 __decorate([
2734 core.Input(),
2735 __metadata("design:type", Boolean)
2736 ], AgGridAngular.prototype, "paginateChildRows", void 0);
2737 __decorate([
2738 core.Input(),
2739 __metadata("design:type", Boolean)
2740 ], AgGridAngular.prototype, "preventDefaultOnContextMenu", void 0);
2741 __decorate([
2742 core.Input(),
2743 __metadata("design:type", Boolean)
2744 ], AgGridAngular.prototype, "undoRedoCellEditing", void 0);
2745 __decorate([
2746 core.Input(),
2747 __metadata("design:type", Boolean)
2748 ], AgGridAngular.prototype, "allowDragFromColumnsToolPanel", void 0);
2749 __decorate([
2750 core.Input(),
2751 __metadata("design:type", Boolean)
2752 ], AgGridAngular.prototype, "immutableData", void 0);
2753 __decorate([
2754 core.Input(),
2755 __metadata("design:type", Boolean)
2756 ], AgGridAngular.prototype, "immutableColumns", void 0);
2757 __decorate([
2758 core.Input(),
2759 __metadata("design:type", Boolean)
2760 ], AgGridAngular.prototype, "pivotSuppressAutoColumn", void 0);
2761 __decorate([
2762 core.Input(),
2763 __metadata("design:type", Boolean)
2764 ], AgGridAngular.prototype, "suppressExpandablePivotGroups", void 0);
2765 __decorate([
2766 core.Input(),
2767 __metadata("design:type", Boolean)
2768 ], AgGridAngular.prototype, "applyColumnDefOrder", void 0);
2769 __decorate([
2770 core.Input(),
2771 __metadata("design:type", Boolean)
2772 ], AgGridAngular.prototype, "debounceVerticalScrollbar", void 0);
2773 __decorate([
2774 core.Input(),
2775 __metadata("design:type", Boolean)
2776 ], AgGridAngular.prototype, "detailRowAutoHeight", void 0);
2777 __decorate([
2778 core.Input(),
2779 __metadata("design:type", Boolean)
2780 ], AgGridAngular.prototype, "serverSideFilteringAlwaysResets", void 0);
2781 __decorate([
2782 core.Input(),
2783 __metadata("design:type", Boolean)
2784 ], AgGridAngular.prototype, "suppressAggFilteredOnly", void 0);
2785 __decorate([
2786 core.Input(),
2787 __metadata("design:type", Boolean)
2788 ], AgGridAngular.prototype, "showOpenedGroup", void 0);
2789 __decorate([
2790 core.Input(),
2791 __metadata("design:type", Boolean)
2792 ], AgGridAngular.prototype, "suppressClipboardApi", void 0);
2793 __decorate([
2794 core.Input(),
2795 __metadata("design:type", Boolean)
2796 ], AgGridAngular.prototype, "suppressModelUpdateAfterUpdateTransaction", void 0);
2797 __decorate([
2798 core.Input(),
2799 __metadata("design:type", Boolean)
2800 ], AgGridAngular.prototype, "stopEditingWhenCellsLoseFocus", void 0);
2801 __decorate([
2802 core.Input(),
2803 __metadata("design:type", Boolean)
2804 ], AgGridAngular.prototype, "maintainColumnOrder", void 0);
2805 __decorate([
2806 core.Input(),
2807 __metadata("design:type", Boolean)
2808 ], AgGridAngular.prototype, "groupMaintainOrder", void 0);
2809 __decorate([
2810 core.Input(),
2811 __metadata("design:type", Boolean)
2812 ], AgGridAngular.prototype, "columnHoverHighlight", void 0);
2813 __decorate([
2814 core.Input(),
2815 __metadata("design:type", Boolean)
2816 ], AgGridAngular.prototype, "allowProcessChartOptions", void 0);
2817 __decorate([
2818 core.Output(),
2819 __metadata("design:type", core.EventEmitter)
2820 ], AgGridAngular.prototype, "columnEverythingChanged", void 0);
2821 __decorate([
2822 core.Output(),
2823 __metadata("design:type", core.EventEmitter)
2824 ], AgGridAngular.prototype, "newColumnsLoaded", void 0);
2825 __decorate([
2826 core.Output(),
2827 __metadata("design:type", core.EventEmitter)
2828 ], AgGridAngular.prototype, "columnPivotModeChanged", void 0);
2829 __decorate([
2830 core.Output(),
2831 __metadata("design:type", core.EventEmitter)
2832 ], AgGridAngular.prototype, "columnRowGroupChanged", void 0);
2833 __decorate([
2834 core.Output(),
2835 __metadata("design:type", core.EventEmitter)
2836 ], AgGridAngular.prototype, "expandOrCollapseAll", void 0);
2837 __decorate([
2838 core.Output(),
2839 __metadata("design:type", core.EventEmitter)
2840 ], AgGridAngular.prototype, "columnPivotChanged", void 0);
2841 __decorate([
2842 core.Output(),
2843 __metadata("design:type", core.EventEmitter)
2844 ], AgGridAngular.prototype, "gridColumnsChanged", void 0);
2845 __decorate([
2846 core.Output(),
2847 __metadata("design:type", core.EventEmitter)
2848 ], AgGridAngular.prototype, "columnValueChanged", void 0);
2849 __decorate([
2850 core.Output(),
2851 __metadata("design:type", core.EventEmitter)
2852 ], AgGridAngular.prototype, "columnMoved", void 0);
2853 __decorate([
2854 core.Output(),
2855 __metadata("design:type", core.EventEmitter)
2856 ], AgGridAngular.prototype, "columnVisible", void 0);
2857 __decorate([
2858 core.Output(),
2859 __metadata("design:type", core.EventEmitter)
2860 ], AgGridAngular.prototype, "columnPinned", void 0);
2861 __decorate([
2862 core.Output(),
2863 __metadata("design:type", core.EventEmitter)
2864 ], AgGridAngular.prototype, "columnGroupOpened", void 0);
2865 __decorate([
2866 core.Output(),
2867 __metadata("design:type", core.EventEmitter)
2868 ], AgGridAngular.prototype, "columnResized", void 0);
2869 __decorate([
2870 core.Output(),
2871 __metadata("design:type", core.EventEmitter)
2872 ], AgGridAngular.prototype, "displayedColumnsChanged", void 0);
2873 __decorate([
2874 core.Output(),
2875 __metadata("design:type", core.EventEmitter)
2876 ], AgGridAngular.prototype, "virtualColumnsChanged", void 0);
2877 __decorate([
2878 core.Output(),
2879 __metadata("design:type", core.EventEmitter)
2880 ], AgGridAngular.prototype, "asyncTransactionsFlushed", void 0);
2881 __decorate([
2882 core.Output(),
2883 __metadata("design:type", core.EventEmitter)
2884 ], AgGridAngular.prototype, "rowGroupOpened", void 0);
2885 __decorate([
2886 core.Output(),
2887 __metadata("design:type", core.EventEmitter)
2888 ], AgGridAngular.prototype, "rowDataChanged", void 0);
2889 __decorate([
2890 core.Output(),
2891 __metadata("design:type", core.EventEmitter)
2892 ], AgGridAngular.prototype, "rowDataUpdated", void 0);
2893 __decorate([
2894 core.Output(),
2895 __metadata("design:type", core.EventEmitter)
2896 ], AgGridAngular.prototype, "pinnedRowDataChanged", void 0);
2897 __decorate([
2898 core.Output(),
2899 __metadata("design:type", core.EventEmitter)
2900 ], AgGridAngular.prototype, "rangeSelectionChanged", void 0);
2901 __decorate([
2902 core.Output(),
2903 __metadata("design:type", core.EventEmitter)
2904 ], AgGridAngular.prototype, "chartCreated", void 0);
2905 __decorate([
2906 core.Output(),
2907 __metadata("design:type", core.EventEmitter)
2908 ], AgGridAngular.prototype, "chartRangeSelectionChanged", void 0);
2909 __decorate([
2910 core.Output(),
2911 __metadata("design:type", core.EventEmitter)
2912 ], AgGridAngular.prototype, "chartOptionsChanged", void 0);
2913 __decorate([
2914 core.Output(),
2915 __metadata("design:type", core.EventEmitter)
2916 ], AgGridAngular.prototype, "chartDestroyed", void 0);
2917 __decorate([
2918 core.Output(),
2919 __metadata("design:type", core.EventEmitter)
2920 ], AgGridAngular.prototype, "toolPanelVisibleChanged", void 0);
2921 __decorate([
2922 core.Output(),
2923 __metadata("design:type", core.EventEmitter)
2924 ], AgGridAngular.prototype, "modelUpdated", void 0);
2925 __decorate([
2926 core.Output(),
2927 __metadata("design:type", core.EventEmitter)
2928 ], AgGridAngular.prototype, "pasteStart", void 0);
2929 __decorate([
2930 core.Output(),
2931 __metadata("design:type", core.EventEmitter)
2932 ], AgGridAngular.prototype, "pasteEnd", void 0);
2933 __decorate([
2934 core.Output(),
2935 __metadata("design:type", core.EventEmitter)
2936 ], AgGridAngular.prototype, "fillStart", void 0);
2937 __decorate([
2938 core.Output(),
2939 __metadata("design:type", core.EventEmitter)
2940 ], AgGridAngular.prototype, "fillEnd", void 0);
2941 __decorate([
2942 core.Output(),
2943 __metadata("design:type", core.EventEmitter)
2944 ], AgGridAngular.prototype, "cellClicked", void 0);
2945 __decorate([
2946 core.Output(),
2947 __metadata("design:type", core.EventEmitter)
2948 ], AgGridAngular.prototype, "cellDoubleClicked", void 0);
2949 __decorate([
2950 core.Output(),
2951 __metadata("design:type", core.EventEmitter)
2952 ], AgGridAngular.prototype, "cellMouseDown", void 0);
2953 __decorate([
2954 core.Output(),
2955 __metadata("design:type", core.EventEmitter)
2956 ], AgGridAngular.prototype, "cellContextMenu", void 0);
2957 __decorate([
2958 core.Output(),
2959 __metadata("design:type", core.EventEmitter)
2960 ], AgGridAngular.prototype, "cellValueChanged", void 0);
2961 __decorate([
2962 core.Output(),
2963 __metadata("design:type", core.EventEmitter)
2964 ], AgGridAngular.prototype, "rowValueChanged", void 0);
2965 __decorate([
2966 core.Output(),
2967 __metadata("design:type", core.EventEmitter)
2968 ], AgGridAngular.prototype, "cellFocused", void 0);
2969 __decorate([
2970 core.Output(),
2971 __metadata("design:type", core.EventEmitter)
2972 ], AgGridAngular.prototype, "rowSelected", void 0);
2973 __decorate([
2974 core.Output(),
2975 __metadata("design:type", core.EventEmitter)
2976 ], AgGridAngular.prototype, "selectionChanged", void 0);
2977 __decorate([
2978 core.Output(),
2979 __metadata("design:type", core.EventEmitter)
2980 ], AgGridAngular.prototype, "cellKeyDown", void 0);
2981 __decorate([
2982 core.Output(),
2983 __metadata("design:type", core.EventEmitter)
2984 ], AgGridAngular.prototype, "cellKeyPress", void 0);
2985 __decorate([
2986 core.Output(),
2987 __metadata("design:type", core.EventEmitter)
2988 ], AgGridAngular.prototype, "cellMouseOver", void 0);
2989 __decorate([
2990 core.Output(),
2991 __metadata("design:type", core.EventEmitter)
2992 ], AgGridAngular.prototype, "cellMouseOut", void 0);
2993 __decorate([
2994 core.Output(),
2995 __metadata("design:type", core.EventEmitter)
2996 ], AgGridAngular.prototype, "filterChanged", void 0);
2997 __decorate([
2998 core.Output(),
2999 __metadata("design:type", core.EventEmitter)
3000 ], AgGridAngular.prototype, "filterModified", void 0);
3001 __decorate([
3002 core.Output(),
3003 __metadata("design:type", core.EventEmitter)
3004 ], AgGridAngular.prototype, "filterOpened", void 0);
3005 __decorate([
3006 core.Output(),
3007 __metadata("design:type", core.EventEmitter)
3008 ], AgGridAngular.prototype, "sortChanged", void 0);
3009 __decorate([
3010 core.Output(),
3011 __metadata("design:type", core.EventEmitter)
3012 ], AgGridAngular.prototype, "virtualRowRemoved", void 0);
3013 __decorate([
3014 core.Output(),
3015 __metadata("design:type", core.EventEmitter)
3016 ], AgGridAngular.prototype, "rowClicked", void 0);
3017 __decorate([
3018 core.Output(),
3019 __metadata("design:type", core.EventEmitter)
3020 ], AgGridAngular.prototype, "rowDoubleClicked", void 0);
3021 __decorate([
3022 core.Output(),
3023 __metadata("design:type", core.EventEmitter)
3024 ], AgGridAngular.prototype, "gridReady", void 0);
3025 __decorate([
3026 core.Output(),
3027 __metadata("design:type", core.EventEmitter)
3028 ], AgGridAngular.prototype, "gridSizeChanged", void 0);
3029 __decorate([
3030 core.Output(),
3031 __metadata("design:type", core.EventEmitter)
3032 ], AgGridAngular.prototype, "viewportChanged", void 0);
3033 __decorate([
3034 core.Output(),
3035 __metadata("design:type", core.EventEmitter)
3036 ], AgGridAngular.prototype, "firstDataRendered", void 0);
3037 __decorate([
3038 core.Output(),
3039 __metadata("design:type", core.EventEmitter)
3040 ], AgGridAngular.prototype, "dragStarted", void 0);
3041 __decorate([
3042 core.Output(),
3043 __metadata("design:type", core.EventEmitter)
3044 ], AgGridAngular.prototype, "dragStopped", void 0);
3045 __decorate([
3046 core.Output(),
3047 __metadata("design:type", core.EventEmitter)
3048 ], AgGridAngular.prototype, "rowEditingStarted", void 0);
3049 __decorate([
3050 core.Output(),
3051 __metadata("design:type", core.EventEmitter)
3052 ], AgGridAngular.prototype, "rowEditingStopped", void 0);
3053 __decorate([
3054 core.Output(),
3055 __metadata("design:type", core.EventEmitter)
3056 ], AgGridAngular.prototype, "cellEditingStarted", void 0);
3057 __decorate([
3058 core.Output(),
3059 __metadata("design:type", core.EventEmitter)
3060 ], AgGridAngular.prototype, "cellEditingStopped", void 0);
3061 __decorate([
3062 core.Output(),
3063 __metadata("design:type", core.EventEmitter)
3064 ], AgGridAngular.prototype, "bodyScroll", void 0);
3065 __decorate([
3066 core.Output(),
3067 __metadata("design:type", core.EventEmitter)
3068 ], AgGridAngular.prototype, "paginationChanged", void 0);
3069 __decorate([
3070 core.Output(),
3071 __metadata("design:type", core.EventEmitter)
3072 ], AgGridAngular.prototype, "componentStateChanged", void 0);
3073 __decorate([
3074 core.Output(),
3075 __metadata("design:type", core.EventEmitter)
3076 ], AgGridAngular.prototype, "rowDragEnter", void 0);
3077 __decorate([
3078 core.Output(),
3079 __metadata("design:type", core.EventEmitter)
3080 ], AgGridAngular.prototype, "rowDragMove", void 0);
3081 __decorate([
3082 core.Output(),
3083 __metadata("design:type", core.EventEmitter)
3084 ], AgGridAngular.prototype, "rowDragLeave", void 0);
3085 __decorate([
3086 core.Output(),
3087 __metadata("design:type", core.EventEmitter)
3088 ], AgGridAngular.prototype, "rowDragEnd", void 0);
3089 __decorate([
3090 core.Output(),
3091 __metadata("design:type", core.EventEmitter)
3092 ], AgGridAngular.prototype, "columnRowGroupChangeRequest", void 0);
3093 __decorate([
3094 core.Output(),
3095 __metadata("design:type", core.EventEmitter)
3096 ], AgGridAngular.prototype, "columnPivotChangeRequest", void 0);
3097 __decorate([
3098 core.Output(),
3099 __metadata("design:type", core.EventEmitter)
3100 ], AgGridAngular.prototype, "columnValueChangeRequest", void 0);
3101 __decorate([
3102 core.Output(),
3103 __metadata("design:type", core.EventEmitter)
3104 ], AgGridAngular.prototype, "columnAggFuncChangeRequest", void 0);
3105 AgGridAngular = __decorate([
3106 core.Component({
3107 selector: 'ag-grid-angular',
3108 template: '',
3109 providers: [
3110 AngularFrameworkOverrides,
3111 AngularFrameworkComponentWrapper
3112 ],
3113 // tell angular we don't want view encapsulation, we don't want a shadow root
3114 encapsulation: core.ViewEncapsulation.None
3115 }),
3116 __metadata("design:paramtypes", [core.ElementRef,
3117 core.ViewContainerRef,
3118 AngularFrameworkOverrides,
3119 AngularFrameworkComponentWrapper,
3120 core.ComponentFactoryResolver])
3121 ], AgGridAngular);
3122 return AgGridAngular;
3123 }());
3124
3125 var AgGridModule = /** @class */ (function () {
3126 function AgGridModule() {
3127 }
3128 AgGridModule_1 = AgGridModule;
3129 AgGridModule.withComponents = function (components) {
3130 return {
3131 ngModule: AgGridModule_1,
3132 providers: [
3133 { provide: core.ANALYZE_FOR_ENTRY_COMPONENTS, useValue: components, multi: true }
3134 ],
3135 };
3136 };
3137 AgGridModule.forRoot = function (components) {
3138 return {
3139 ngModule: AgGridModule_1,
3140 providers: [
3141 { provide: core.ANALYZE_FOR_ENTRY_COMPONENTS, useValue: components, multi: true }
3142 ],
3143 };
3144 };
3145 var AgGridModule_1;
3146 AgGridModule = AgGridModule_1 = __decorate([
3147 core.NgModule({
3148 declarations: [AgGridAngular, AgGridColumn],
3149 imports: [],
3150 exports: [AgGridAngular, AgGridColumn]
3151 })
3152 ], AgGridModule);
3153 return AgGridModule;
3154 }());
3155
3156 exports.AgGridAngular = AgGridAngular;
3157 exports.AgGridColumn = AgGridColumn;
3158 exports.AgGridModule = AgGridModule;
3159 exports.AngularFrameworkComponentWrapper = AngularFrameworkComponentWrapper;
3160 exports.AngularFrameworkOverrides = AngularFrameworkOverrides;
3161
3162 Object.defineProperty(exports, '__esModule', { value: true });
3163
3164})));
3165//# sourceMappingURL=ag-grid-angular.umd.js.map