@acorex/data-grid 6.5.70 → 6.5.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/README.md +7 -2
  2. package/esm2022/acorex-data-grid.mjs +5 -0
  3. package/esm2022/index.mjs +18 -0
  4. package/esm2022/lib/data-grid/columns/check-column.component.mjs +109 -0
  5. package/esm2022/lib/data-grid/columns/column.component.mjs +168 -0
  6. package/esm2022/lib/data-grid/columns/command-column.component.mjs +115 -0
  7. package/esm2022/lib/data-grid/columns/date-column.component.mjs +115 -0
  8. package/esm2022/lib/data-grid/columns/row-number-column.component.mjs +38 -0
  9. package/esm2022/lib/data-grid/columns/selection-column.component.mjs +43 -0
  10. package/esm2022/lib/data-grid/columns/text-column.component.mjs +97 -0
  11. package/esm2022/lib/data-grid/datagrid.component.mjs +721 -0
  12. package/esm2022/lib/data-grid/datagrid.events.mjs +2 -0
  13. package/esm2022/lib/data-grid/datagrid.module.mjs +143 -0
  14. package/esm2022/lib/data-grid/filters/filter.component.mjs +39 -0
  15. package/esm2022/lib/data-grid/templates/cell-template.component.mjs +58 -0
  16. package/esm2022/lib/data-grid/templates/detail-template.component.mjs +51 -0
  17. package/esm2022/lib/data-grid/templates/row-template.component.mjs +48 -0
  18. package/esm2022/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +121 -0
  19. package/esm2022/lib/data-lov/data-lov.component.mjs +175 -0
  20. package/esm2022/lib/data-lov/data-lov.module.mjs +23 -0
  21. package/{fesm2020 → fesm2022}/acorex-data-grid.mjs +380 -319
  22. package/fesm2022/acorex-data-grid.mjs.map +1 -0
  23. package/lib/data-grid/columns/check-column.component.d.ts +4 -4
  24. package/lib/data-grid/columns/column.component.d.ts +1 -1
  25. package/lib/data-grid/columns/command-column.component.d.ts +3 -3
  26. package/lib/data-grid/columns/date-column.component.d.ts +2 -2
  27. package/lib/data-grid/columns/row-number-column.component.d.ts +1 -1
  28. package/lib/data-grid/columns/selection-column.component.d.ts +1 -1
  29. package/lib/data-grid/columns/text-column.component.d.ts +3 -3
  30. package/lib/data-grid/datagrid.component.d.ts +1 -1
  31. package/lib/data-grid/filters/filter.component.d.ts +1 -1
  32. package/lib/data-grid/templates/cell-template.component.d.ts +2 -2
  33. package/lib/data-grid/templates/detail-template.component.d.ts +2 -2
  34. package/lib/data-grid/templates/row-template.component.d.ts +2 -2
  35. package/lib/data-lov/data-lov-popup/data-lov-popup.component.d.ts +1 -1
  36. package/lib/data-lov/data-lov.component.d.ts +1 -1
  37. package/package.json +12 -21
  38. package/acorex-data-grid.d.ts +0 -5
  39. package/esm2020/acorex-data-grid.mjs +0 -5
  40. package/esm2020/lib/data-grid/columns/check-column.component.mjs +0 -117
  41. package/esm2020/lib/data-grid/columns/column.component.mjs +0 -164
  42. package/esm2020/lib/data-grid/columns/command-column.component.mjs +0 -117
  43. package/esm2020/lib/data-grid/columns/date-column.component.mjs +0 -111
  44. package/esm2020/lib/data-grid/columns/row-number-column.component.mjs +0 -37
  45. package/esm2020/lib/data-grid/columns/selection-column.component.mjs +0 -42
  46. package/esm2020/lib/data-grid/columns/text-column.component.mjs +0 -89
  47. package/esm2020/lib/data-grid/datagrid.component.mjs +0 -698
  48. package/esm2020/lib/data-grid/datagrid.events.mjs +0 -2
  49. package/esm2020/lib/data-grid/datagrid.module.mjs +0 -145
  50. package/esm2020/lib/data-grid/filters/filter.component.mjs +0 -39
  51. package/esm2020/lib/data-grid/templates/cell-template.component.mjs +0 -53
  52. package/esm2020/lib/data-grid/templates/detail-template.component.mjs +0 -46
  53. package/esm2020/lib/data-grid/templates/row-template.component.mjs +0 -43
  54. package/esm2020/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +0 -114
  55. package/esm2020/lib/data-lov/data-lov.component.mjs +0 -165
  56. package/esm2020/lib/data-lov/data-lov.module.mjs +0 -23
  57. package/esm2020/public-api.mjs +0 -18
  58. package/fesm2015/acorex-data-grid.mjs +0 -1915
  59. package/fesm2015/acorex-data-grid.mjs.map +0 -1
  60. package/fesm2020/acorex-data-grid.mjs.map +0 -1
  61. /package/{public-api.d.ts → index.d.ts} +0 -0
@@ -1,1915 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { TemplateRef, Component, ContentChild, Directive, Input, ViewEncapsulation, ChangeDetectionStrategy, ViewContainerRef, ViewChild, EventEmitter, Output, ElementRef, ContentChildren, NgModule } from '@angular/core';
3
- import { AXConfig, AXDateTime, AXTranslator, AXCoreModule } from '@acorex/core';
4
- import * as i1 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
6
- import * as i1$1 from '@acorex/components';
7
- import { AXDatePickerComponent, AXTextBoxComponent, AXValueEvent, AXDataEvent, AXToolbarSearchComponent, AXToolbarComponent, AXDataSourceComponent, AXTextBoxModule, AXCheckBoxModule, AXSelectBoxModule, AXDataSourceModule, AXButtonModule, AXDatePickerModule, AXBasePopupPageComponent, AXValidatableComponent, AXValidation, AXToolbarModule, AXSearchBoxModule } from '@acorex/components';
8
- import { LicenseManager } from 'ag-grid-enterprise';
9
- import * as i1$2 from 'ag-grid-angular';
10
- import { AgGridModule } from 'ag-grid-angular';
11
- import { FormsModule } from '@angular/forms';
12
-
13
- class AXDataGridCellTemplateComponent {
14
- constructor() {
15
- this.renderer = AXDataGridCellTemplateRenderer;
16
- }
17
- ngOnInit() {
18
- this.params = {
19
- templateRef: this.templateRef
20
- };
21
- }
22
- }
23
- AXDataGridCellTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridCellTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- AXDataGridCellTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridCellTemplateComponent, selector: "ax-cell-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>
25
- `, isInline: true });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridCellTemplateComponent, decorators: [{
27
- type: Component,
28
- args: [{
29
- selector: 'ax-cell-template',
30
- template: `<ng-content></ng-content>
31
- `
32
- }]
33
- }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
34
- type: ContentChild,
35
- args: [TemplateRef, { static: true }]
36
- }] } });
37
- class AXDataGridCellTemplateRenderer {
38
- constructor() { }
39
- agInit(params) {
40
- this.rowData = params.data;
41
- this.templateRef = params.templateRef;
42
- }
43
- refresh(params) {
44
- this.rowData = params.data;
45
- return true;
46
- }
47
- }
48
- AXDataGridCellTemplateRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridCellTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
- AXDataGridCellTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridCellTemplateRenderer, selector: "ng-component", ngImport: i0, template: `
50
- <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
51
- </ng-container>
52
- `, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridCellTemplateRenderer, decorators: [{
54
- type: Component,
55
- args: [{
56
- template: `
57
- <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
58
- </ng-container>
59
- `
60
- }]
61
- }], ctorParameters: function () { return []; } });
62
-
63
- class AXGridDataColumn {
64
- constructor() {
65
- this.width = 100;
66
- this.pinned = null;
67
- this.allowSorting = true;
68
- this.allowFiltering = AXConfig.get('datagrid.allowFiltering') || false;
69
- this.sort = null;
70
- this.field = '';
71
- this.caption = '';
72
- this.checkbox = false;
73
- this.headerCheckbox = false;
74
- this.groupIndex = -1;
75
- this.treeIndex = -1;
76
- this.enableRowGroup = false;
77
- this.hide = false;
78
- this.floatingFilter = AXConfig.get('datagrid.floatingFilter') || false;
79
- this.disableMenu = false;
80
- this.resizable = true;
81
- this.menuColumnDisable = false;
82
- this.menuItemDisable = false;
83
- }
84
- ;
85
- render() {
86
- const col = {
87
- field: this.field,
88
- width: this.width,
89
- };
90
- col.resizable = this.resizable;
91
- col.suppressMenu = this.disableMenu;
92
- col.menuTabs = ['filterMenuTab', 'columnsMenuTab', 'generalMenuTab'];
93
- col.floatingFilter = this.floatingFilter;
94
- if (!this.allowFiltering) {
95
- col.filter = false;
96
- col.menuTabs = col.menuTabs.filter(c => c != 'filterMenuTab');
97
- col.floatingFilter = false;
98
- }
99
- if (this.menuColumnDisable == true) {
100
- col.menuTabs = col.menuTabs.filter(c => c != 'columnsMenuTab');
101
- }
102
- if (this.menuItemDisable == true) {
103
- col.menuTabs = col.menuTabs.filter(c => c != 'generalMenuTab');
104
- }
105
- if (this.caption) {
106
- col.headerName = this.caption;
107
- }
108
- if (this.minWidth) {
109
- col.minWidth = this.minWidth;
110
- }
111
- if (this.maxWidth) {
112
- col.maxWidth = this.maxWidth;
113
- }
114
- if (this.pinned) {
115
- col.pinned = this.pinned === 'start' ? 'right' : 'left';
116
- // TODO: Change based on layout
117
- }
118
- if (this.allowSorting) {
119
- col.sortable = this.allowSorting;
120
- }
121
- if (this.sort) {
122
- col.sort = this.sort;
123
- }
124
- if (this.groupIndex >= 0) {
125
- col.rowGroupIndex = this.groupIndex;
126
- col.rowGroup = true;
127
- this.enableRowGroup = true;
128
- }
129
- if (this.treeIndex >= 0) {
130
- col.rowGroupIndex = this.treeIndex;
131
- col.rowGroup = false;
132
- }
133
- if (this.hide) {
134
- col.hide = true;
135
- }
136
- if (this.enableRowGroup) {
137
- col.enableRowGroup = this.enableRowGroup;
138
- }
139
- if (this.cellClass) {
140
- const THAT = this;
141
- if (this.cellClass instanceof Function) {
142
- col.cellClass = (p) => {
143
- return THAT.cellClass({
144
- column: THAT,
145
- rowIndex: p.node.rowIndex,
146
- rowLevel: p.node.level,
147
- data: p.data,
148
- value: p.value
149
- });
150
- };
151
- }
152
- else {
153
- col.cellClass = this.cellClass;
154
- }
155
- }
156
- //
157
- if (this.cellTemplate != null) {
158
- col.cellRendererFramework = this.cellTemplate.renderer;
159
- col.cellRendererParams = this.cellTemplate.params;
160
- }
161
- if (this.checkbox) {
162
- col.checkboxSelection = (params) => {
163
- return true;
164
- };
165
- // col.headerCheckboxSelection = this.headerCheckbox;
166
- }
167
- return col;
168
- }
169
- }
170
- AXGridDataColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridDataColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
171
- AXGridDataColumn.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AXGridDataColumn, inputs: { width: "width", maxWidth: "maxWidth", minWidth: "minWidth", pinned: "pinned", allowSorting: "allowSorting", allowFiltering: "allowFiltering", cellClass: "cellClass", sort: "sort", field: "field", caption: "caption", cellRendererParams: "cellRendererParams", checkbox: "checkbox", headerCheckbox: "headerCheckbox", groupIndex: "groupIndex", treeIndex: "treeIndex", enableRowGroup: "enableRowGroup", hide: "hide", floatingFilter: "floatingFilter", disableMenu: "disableMenu", resizable: "resizable", menuColumnDisable: "menuColumnDisable", menuItemDisable: "menuItemDisable" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridDataColumn, decorators: [{
173
- type: Directive
174
- }], ctorParameters: function () { return []; }, propDecorators: { cellTemplate: [{
175
- type: ContentChild,
176
- args: [AXDataGridCellTemplateComponent]
177
- }], width: [{
178
- type: Input
179
- }], maxWidth: [{
180
- type: Input
181
- }], minWidth: [{
182
- type: Input
183
- }], pinned: [{
184
- type: Input
185
- }], allowSorting: [{
186
- type: Input
187
- }], allowFiltering: [{
188
- type: Input
189
- }], cellClass: [{
190
- type: Input
191
- }], sort: [{
192
- type: Input
193
- }], field: [{
194
- type: Input
195
- }], caption: [{
196
- type: Input
197
- }], cellRendererParams: [{
198
- type: Input
199
- }], checkbox: [{
200
- type: Input
201
- }], headerCheckbox: [{
202
- type: Input
203
- }], groupIndex: [{
204
- type: Input
205
- }], treeIndex: [{
206
- type: Input
207
- }], enableRowGroup: [{
208
- type: Input
209
- }], hide: [{
210
- type: Input
211
- }], floatingFilter: [{
212
- type: Input
213
- }], disableMenu: [{
214
- type: Input
215
- }], resizable: [{
216
- type: Input
217
- }], menuColumnDisable: [{
218
- type: Input
219
- }], menuItemDisable: [{
220
- type: Input
221
- }] } });
222
-
223
- class AXDataGridFilterComponent {
224
- }
225
- AXDataGridFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
226
- AXDataGridFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter", ngImport: i0, template: `
227
- <div class='ax-grid-filter-container'>
228
- <ng-content></ng-content>
229
- <div class='btn-group' role='group'>
230
- <button type='button' class='btn btn-primary btn-sm'>
231
- <i class='fas fa-filter'></i>
232
- </button>
233
- <button type='button' class='btn btn-danger btn-sm'>
234
- <i class='fas fa-trash-alt'></i>
235
- </button>
236
- </div>
237
- </div>
238
- `, isInline: true, encapsulation: i0.ViewEncapsulation.None });
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridFilterComponent, decorators: [{
240
- type: Component,
241
- args: [{
242
- selector: 'ax-data-grid-filter',
243
- template: `
244
- <div class='ax-grid-filter-container'>
245
- <ng-content></ng-content>
246
- <div class='btn-group' role='group'>
247
- <button type='button' class='btn btn-primary btn-sm'>
248
- <i class='fas fa-filter'></i>
249
- </button>
250
- <button type='button' class='btn btn-danger btn-sm'>
251
- <i class='fas fa-trash-alt'></i>
252
- </button>
253
- </div>
254
- </div>
255
- `,
256
- encapsulation: ViewEncapsulation.None
257
- }]
258
- }] });
259
-
260
- class AXGridCheckColumn extends AXGridDataColumn {
261
- constructor() {
262
- super();
263
- }
264
- render() {
265
- const col = super.render();
266
- if (!col.cellRendererFramework) {
267
- col.cellRendererFramework = BooleanRenderer;
268
- }
269
- if (this.allowFiltering) {
270
- col.filterFramework = BooleanFilterRenderer;
271
- }
272
- return col;
273
- }
274
- }
275
- AXGridCheckColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridCheckColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
276
- AXGridCheckColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridCheckColumn, selector: "ax-check-column", providers: [{ provide: AXGridDataColumn, useExisting: AXGridCheckColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
277
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridCheckColumn, decorators: [{
278
- type: Component,
279
- args: [{
280
- selector: 'ax-check-column',
281
- template: '',
282
- providers: [{ provide: AXGridDataColumn, useExisting: AXGridCheckColumn }],
283
- changeDetection: ChangeDetectionStrategy.OnPush
284
- }]
285
- }], ctorParameters: function () { return []; } });
286
- class BooleanRenderer {
287
- constructor() { }
288
- agInit(params) {
289
- this.value = params.value;
290
- }
291
- refresh(params) {
292
- this.value = params.value;
293
- return true;
294
- }
295
- }
296
- BooleanRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
297
- BooleanRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BooleanRenderer, selector: "ng-component", ngImport: i0, template: `
298
- <ax-check-box [value]='value' readonly='true'></ax-check-box>
299
- `, isInline: true, components: [{ type: i1$1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["readonly", "disabled", "size", "label", "tabIndex", "indeterminate", "value"], outputs: ["onValueChanged", "valueChange", "onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanRenderer, decorators: [{
301
- type: Component,
302
- args: [{
303
- template: `
304
- <ax-check-box [value]='value' readonly='true'></ax-check-box>
305
- `,
306
- changeDetection: ChangeDetectionStrategy.OnPush
307
- }]
308
- }], ctorParameters: function () { return []; } });
309
- class BooleanFilterRenderer {
310
- constructor() {
311
- this.value = null;
312
- this.selectItem = [
313
- { value: 0, label: 'True' },
314
- { value: 1, label: 'False' },
315
- ];
316
- }
317
- agInit(params) {
318
- this.params = params;
319
- this.valueGetter = (params.valueGetter);
320
- }
321
- isFilterActive() {
322
- return this.value !== null && this.value !== undefined;
323
- }
324
- doesFilterPass(params) {
325
- return this.value === this.valueGetter(params.node);
326
- }
327
- getModel() {
328
- return { value: this.value };
329
- }
330
- setModel(model) {
331
- this.value = model ? model.value : null;
332
- }
333
- ngAfterViewInit(params) {
334
- window.setTimeout(() => {
335
- this.input.element.nativeElement.focus();
336
- });
337
- }
338
- onChange(newValue) {
339
- if (this.value !== newValue) {
340
- this.value = newValue;
341
- this.params.filterChangedCallback();
342
- }
343
- }
344
- }
345
- BooleanFilterRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanFilterRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
346
- BooleanFilterRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BooleanFilterRenderer, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
347
- <ax-data-grid-filter>
348
- <ax-select-box
349
- label='Select Box'
350
- [items]='selectItem'
351
- ></ax-select-box>
352
- </ax-data-grid-filter>
353
- `, isInline: true, components: [{ type: AXDataGridFilterComponent, selector: "ax-data-grid-filter" }, { type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "fitParent", "dropdownWidth", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanFilterRenderer, decorators: [{
355
- type: Component,
356
- args: [{
357
- template: `
358
- <ax-data-grid-filter>
359
- <ax-select-box
360
- label='Select Box'
361
- [items]='selectItem'
362
- ></ax-select-box>
363
- </ax-data-grid-filter>
364
- `,
365
- changeDetection: ChangeDetectionStrategy.OnPush
366
- }]
367
- }], propDecorators: { input: [{
368
- type: ViewChild,
369
- args: ['input', { static: true, read: ViewContainerRef }]
370
- }] } });
371
-
372
- class AXGridCommandColumn extends AXGridDataColumn {
373
- constructor() {
374
- super(...arguments);
375
- this.items = [];
376
- this.onItemClick = new EventEmitter();
377
- }
378
- render() {
379
- const col = super.render();
380
- if (!col.cellRendererFramework) {
381
- col.cellRendererFramework = CommandRenderer;
382
- }
383
- col.cellRendererParams = {
384
- items: this.items,
385
- onClick: (e) => {
386
- this.onItemClick.emit({
387
- command: e.name,
388
- data: e.data,
389
- rowIndex: e.rowIndex,
390
- rowLevel: e.rowLevel,
391
- htmlEvent: e.htmlEvent
392
- });
393
- }
394
- };
395
- col.sortable = false;
396
- col.filter = false;
397
- col.valueGetter = (params) => {
398
- return this.items;
399
- };
400
- return col;
401
- }
402
- }
403
- AXGridCommandColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridCommandColumn, deps: null, target: i0.ɵɵFactoryTarget.Component });
404
- AXGridCommandColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridCommandColumn, selector: "ax-command-column", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridCommandColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridCommandColumn, decorators: [{
406
- type: Component,
407
- args: [{
408
- selector: 'ax-command-column',
409
- template: '',
410
- providers: [{ provide: AXGridDataColumn, useExisting: AXGridCommandColumn }],
411
- changeDetection: ChangeDetectionStrategy.OnPush,
412
- encapsulation: ViewEncapsulation.None
413
- }]
414
- }], propDecorators: { items: [{
415
- type: Input
416
- }], onItemClick: [{
417
- type: Output
418
- }] } });
419
- class CommandRenderer {
420
- constructor() {
421
- this.items = [];
422
- }
423
- agInit(params) {
424
- this.mapParams(params);
425
- }
426
- refresh(params) {
427
- this.mapParams(params);
428
- return true;
429
- }
430
- mapParams(params) {
431
- this.node = params.node;
432
- this.items = typeof params.items == 'function' ? params.items({ data: this.node.data }) : Array.isArray(params.items) ? params.items : [];
433
- this.clickCallback = params.onClick;
434
- }
435
- onClick(item, e) {
436
- if (this.clickCallback && !item.disable) {
437
- this.clickCallback({
438
- name: item.name,
439
- rowLevel: this.node.level,
440
- rowIndex: this.node.rowIndex,
441
- data: this.node.data,
442
- htmlEvent: e
443
- });
444
- }
445
- }
446
- }
447
- CommandRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CommandRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
448
- CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CommandRenderer, selector: "ax-command-cell", ngImport: i0, template: `
449
- <ng-container *ngFor="let item of items; let i = index">
450
- <button *ngIf="item.visible !== false"
451
- class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
452
- [class.disabled]="item.disable"
453
- type="button"
454
- [title]="item.tooltip"
455
- [attr.tabindex]="i"
456
- (click)="onClick(item, $event)"
457
- >
458
- <i [ngClass]="item.icon"></i>{{ item.text }}
459
- </button>
460
- </ng-container>
461
- `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
462
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CommandRenderer, decorators: [{
463
- type: Component,
464
- args: [{
465
- selector: 'ax-command-cell',
466
- template: `
467
- <ng-container *ngFor="let item of items; let i = index">
468
- <button *ngIf="item.visible !== false"
469
- class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
470
- [class.disabled]="item.disable"
471
- type="button"
472
- [title]="item.tooltip"
473
- [attr.tabindex]="i"
474
- (click)="onClick(item, $event)"
475
- >
476
- <i [ngClass]="item.icon"></i>{{ item.text }}
477
- </button>
478
- </ng-container>
479
- `,
480
- encapsulation: ViewEncapsulation.None,
481
- changeDetection: ChangeDetectionStrategy.OnPush
482
- }]
483
- }], ctorParameters: function () { return []; } });
484
-
485
- class AXGridDateColumn extends AXGridDataColumn {
486
- constructor() {
487
- super();
488
- this.type = AXConfig.get('dateTime.type');
489
- }
490
- render() {
491
- const col = super.render();
492
- col.cellRendererParams = {
493
- format: this.format,
494
- };
495
- col.comparator = (valueA, valueB) => {
496
- const date1 = AXDateTime.convert(valueA);
497
- const date2 = AXDateTime.convert(valueB);
498
- //
499
- if (date1 === null && date2 === null) {
500
- return 0;
501
- }
502
- if (date1 === null) {
503
- return -1;
504
- }
505
- if (date2 === null) {
506
- return 1;
507
- }
508
- return (date1.date.getTime() - date2.date.getTime());
509
- };
510
- col.valueFormatter = (params) => {
511
- const date = AXDateTime.convert(params.value, this.type);
512
- if (date) {
513
- return date.format(this.format);
514
- }
515
- else {
516
- return null;
517
- }
518
- };
519
- col.filter = 'agDateColumnFilter';
520
- // col.floatingFilter = true;
521
- return col;
522
- }
523
- }
524
- AXGridDateColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridDateColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
525
- AXGridDateColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridDateColumn, selector: "ax-date-column", inputs: { format: "format", type: "type" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridDateColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridDateColumn, decorators: [{
527
- type: Component,
528
- args: [{
529
- selector: 'ax-date-column',
530
- template: '',
531
- providers: [{ provide: AXGridDataColumn, useExisting: AXGridDateColumn }],
532
- changeDetection: ChangeDetectionStrategy.OnPush
533
- }]
534
- }], ctorParameters: function () { return []; }, propDecorators: { format: [{
535
- type: Input
536
- }], type: [{
537
- type: Input
538
- }] } });
539
- class AXDatePickerFilterComponent {
540
- constructor() {
541
- this.selectableHoliday = false;
542
- this.type = 'jalali';
543
- }
544
- agInit(params) {
545
- this.params = params;
546
- }
547
- ngAfterViewInit() {
548
- }
549
- ngOnDestroy() {
550
- }
551
- onDateChanged(selectedDates) {
552
- //this.date = selectedDates[0] || null;
553
- this.params.onDateChanged();
554
- }
555
- getDate() {
556
- return this.date;
557
- }
558
- setDate(date) {
559
- this.date = date || null;
560
- //this.picker.setDate(date);
561
- }
562
- setInputPlaceholder(placeholder) {
563
- //this.div.nativeElement.setAttribute('placeholder', placeholder);
564
- }
565
- onValueChanged(e) {
566
- this.setDate(e.value);
567
- this.onDateChanged(e.value);
568
- }
569
- }
570
- AXDatePickerFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDatePickerFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
571
- AXDatePickerFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDatePickerFilterComponent, selector: "ax-data-picker-filter", viewQueries: [{ propertyName: "datePicker", first: true, predicate: AXDatePickerComponent, descendants: true }, { propertyName: "div", first: true, predicate: ["div"], descendants: true, read: ElementRef }], ngImport: i0, template: `<ax-date-picker [selectableHoliday]="selectableHoliday" [allowClear]="true" (onValueChanged)="onValueChanged($event)" size="sm">
572
- </ax-date-picker>`, isInline: true, components: [{ type: i1$1.AXDatePickerComponent, selector: "ax-date-picker", inputs: ["dayStyle", "dayMinMaxResoan", "validation", "placeholder", "min", "max", "readonly", "disabled", "allowClear", "textAlign", "showToday", "selectableHoliday", "dateType", "showTodayButton", "openByClick", "size", "type", "value"], outputs: ["typeChange", "onValueChanged", "valueChange"] }], encapsulation: i0.ViewEncapsulation.None });
573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDatePickerFilterComponent, decorators: [{
574
- type: Component,
575
- args: [{
576
- selector: 'ax-data-picker-filter',
577
- template: `<ax-date-picker [selectableHoliday]="selectableHoliday" [allowClear]="true" (onValueChanged)="onValueChanged($event)" size="sm">
578
- </ax-date-picker>`,
579
- host: {},
580
- encapsulation: ViewEncapsulation.None
581
- }]
582
- }], propDecorators: { datePicker: [{
583
- type: ViewChild,
584
- args: [AXDatePickerComponent]
585
- }], div: [{
586
- type: ViewChild,
587
- args: ['div', { read: ElementRef }]
588
- }] } });
589
-
590
- class AXGridSelectionColumn extends AXGridDataColumn {
591
- constructor() {
592
- super();
593
- this.pinned = 'start';
594
- this.width = 40;
595
- }
596
- ngOnInit() { }
597
- render() {
598
- const col = super.render();
599
- col.checkboxSelection = this.condition ? this.condition : true;
600
- // col.headerCheckboxSelection = true;
601
- col.pinned = this.pinned === 'start' ? 'right' : 'left';
602
- col.filter = false;
603
- col.resizable = true;
604
- col.sortable = false;
605
- col.minWidth = 5;
606
- col.width = this.width;
607
- col.floatingFilter = false;
608
- return col;
609
- }
610
- }
611
- AXGridSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridSelectionColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
612
- AXGridSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridSelectionColumn, selector: "ax-selection-column", inputs: { condition: "condition", pinned: "pinned", width: "width" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridSelectionColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
613
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridSelectionColumn, decorators: [{
614
- type: Component,
615
- args: [{
616
- selector: 'ax-selection-column',
617
- template: '',
618
- providers: [{ provide: AXGridDataColumn, useExisting: AXGridSelectionColumn }],
619
- changeDetection: ChangeDetectionStrategy.OnPush
620
- }]
621
- }], ctorParameters: function () { return []; }, propDecorators: { condition: [{
622
- type: Input
623
- }], pinned: [{
624
- type: Input
625
- }], width: [{
626
- type: Input
627
- }] } });
628
-
629
- class AXGridTextColumn extends AXGridDataColumn {
630
- constructor() {
631
- super();
632
- }
633
- render() {
634
- const col = super.render();
635
- // if (this.allowFiltering) {
636
- // col.filterFramework = TextFilterRenderer;
637
- // }
638
- col.filter = 'agTextColumnFilter';
639
- return col;
640
- }
641
- }
642
- AXGridTextColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridTextColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
643
- AXGridTextColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridTextColumn, selector: "ax-text-column", providers: [{ provide: AXGridDataColumn, useExisting: AXGridTextColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
644
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridTextColumn, decorators: [{
645
- type: Component,
646
- args: [{
647
- selector: 'ax-text-column',
648
- template: '',
649
- providers: [{ provide: AXGridDataColumn, useExisting: AXGridTextColumn }],
650
- changeDetection: ChangeDetectionStrategy.OnPush
651
- }]
652
- }], ctorParameters: function () { return []; } });
653
- class TextFilterRenderer {
654
- constructor() {
655
- this.value = null;
656
- }
657
- agInit(params) {
658
- this.params = params;
659
- this.valueGetter = (params.valueGetter);
660
- }
661
- isFilterActive() {
662
- return this.value !== null && this.value !== undefined;
663
- }
664
- doesFilterPass(params) {
665
- return this.value === this.valueGetter(params.node);
666
- }
667
- getModel() {
668
- return { value: this.value };
669
- }
670
- setModel(model) {
671
- ;
672
- this.onChange(model ? model.value : null);
673
- }
674
- ngAfterViewInit(params) {
675
- window.setTimeout(() => {
676
- this.input.focus();
677
- });
678
- }
679
- onChange(newValue) {
680
- if (this.value !== newValue) {
681
- this.value = newValue;
682
- if (this.value === '') {
683
- this.value = null;
684
- }
685
- this.params.filterChangedCallback();
686
- }
687
- }
688
- }
689
- TextFilterRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextFilterRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
690
- TextFilterRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextFilterRenderer, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: AXTextBoxComponent, descendants: true, static: true }], ngImport: i0, template: `
691
- <ax-data-grid-filter>
692
- <ax-text-box label='Filter' allowClear='true' (textChange)='onChange($event)'>
693
- </ax-text-box>
694
- </ax-data-grid-filter>
695
- `, isInline: true, components: [{ type: AXDataGridFilterComponent, selector: "ax-data-grid-filter" }, { type: i1$1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextFilterRenderer, decorators: [{
697
- type: Component,
698
- args: [{
699
- template: `
700
- <ax-data-grid-filter>
701
- <ax-text-box label='Filter' allowClear='true' (textChange)='onChange($event)'>
702
- </ax-text-box>
703
- </ax-data-grid-filter>
704
- `,
705
- changeDetection: ChangeDetectionStrategy.OnPush
706
- }]
707
- }], propDecorators: { input: [{
708
- type: ViewChild,
709
- args: [AXTextBoxComponent, { static: true }]
710
- }] } });
711
-
712
- class AXGridRowNumberColumn extends AXGridDataColumn {
713
- constructor() {
714
- super();
715
- }
716
- ngOnInit() { }
717
- render() {
718
- const col = super.render();
719
- // col.checkboxSelection = this.condition ? this.condition : true;
720
- // col.headerCheckboxSelection = true;
721
- (col.headerName = this.caption ? this.caption : AXConfig.get('layout.rtl') ? 'ردیف' : 'Row'),
722
- (col.valueGetter = 'node.rowIndex + 1'),
723
- (col.pinned = this.pinned == null ? null : this.pinned === 'start' ? 'right' : 'left'),
724
- (col.filter = false);
725
- col.resizable = true;
726
- col.sortable = false;
727
- col.width = this.width;
728
- return col;
729
- }
730
- }
731
- AXGridRowNumberColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridRowNumberColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
732
- AXGridRowNumberColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridRowNumberColumn, selector: "ax-row-number-column", inputs: { condition: "condition" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridRowNumberColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridRowNumberColumn, decorators: [{
734
- type: Component,
735
- args: [{
736
- selector: 'ax-row-number-column',
737
- template: '',
738
- providers: [{ provide: AXGridDataColumn, useExisting: AXGridRowNumberColumn }],
739
- changeDetection: ChangeDetectionStrategy.OnPush
740
- }]
741
- }], ctorParameters: function () { return []; }, propDecorators: { condition: [{
742
- type: Input
743
- }] } });
744
-
745
- class AXDataGridRowTemplateComponent {
746
- constructor() {
747
- this.renderer = AXDataGridRowTemplateRenderer;
748
- }
749
- ngOnInit() {
750
- this.params = {
751
- templateRef: this.templateRef
752
- };
753
- }
754
- }
755
- AXDataGridRowTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridRowTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
756
- AXDataGridRowTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridRowTemplateComponent, selector: "ax-row-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridRowTemplateComponent, decorators: [{
758
- type: Component,
759
- args: [{
760
- selector: 'ax-row-template',
761
- template: `<ng-content></ng-content>`
762
- }]
763
- }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
764
- type: ContentChild,
765
- args: [TemplateRef, { static: true }]
766
- }] } });
767
- class AXDataGridRowTemplateRenderer {
768
- refresh(params) {
769
- return false;
770
- }
771
- agInit(params) {
772
- this.data = params.data.callRecords;
773
- this.templateRef = params.templateRef;
774
- }
775
- }
776
- AXDataGridRowTemplateRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridRowTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
777
- AXDataGridRowTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridRowTemplateRenderer, selector: "ng-component", ngImport: i0, template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridRowTemplateRenderer, decorators: [{
779
- type: Component,
780
- args: [{
781
- template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
782
- }]
783
- }] });
784
-
785
- class AXDataGridDetailTemplateComponent {
786
- constructor() {
787
- this.height = 100;
788
- this.renderer = AXDataGridDetailTemplateRenderer;
789
- }
790
- ngOnInit() {
791
- this.params = {
792
- templateRef: this.templateRef
793
- };
794
- }
795
- }
796
- AXDataGridDetailTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridDetailTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
797
- AXDataGridDetailTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridDetailTemplateComponent, selector: "ax-grid-detail-template", inputs: { height: "height" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridDetailTemplateComponent, decorators: [{
799
- type: Component,
800
- args: [{
801
- selector: 'ax-grid-detail-template',
802
- template: `<ng-content></ng-content>`
803
- }]
804
- }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
805
- type: ContentChild,
806
- args: [TemplateRef, { static: true }]
807
- }], height: [{
808
- type: Input
809
- }] } });
810
- class AXDataGridDetailTemplateRenderer {
811
- refresh(params) {
812
- return false;
813
- }
814
- agInit(params) {
815
- this.data = params.data;
816
- this.templateRef = params.templateRef;
817
- }
818
- }
819
- AXDataGridDetailTemplateRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridDetailTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
820
- AXDataGridDetailTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridDetailTemplateRenderer, selector: "ng-component", ngImport: i0, template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
821
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridDetailTemplateRenderer, decorators: [{
822
- type: Component,
823
- args: [{
824
- template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
825
- }]
826
- }] });
827
-
828
- LicenseManager.prototype.isDisplayWatermark = () => {
829
- return false;
830
- };
831
- LicenseManager.prototype.validateLicense = function () {
832
- //console.info('Cracked by Arash Oshnoudi!');
833
- };
834
- // WatermarkComp.prototype.shouldDisplayWatermark = function () {
835
- // return false;
836
- // }
837
- class AXDataGridColumnsChangeEvent extends AXValueEvent {
838
- }
839
- class AXDataGridCellEvent extends AXDataEvent {
840
- }
841
- class AXDaagridRowClickEvent extends AXDataEvent {
842
- }
843
- class AXDataGridSelectionChangeEvent extends AXDataEvent {
844
- }
845
- class AXDataGridRowSelectionChangeEvent extends AXDataEvent {
846
- }
847
- class AXDataGridComponent {
848
- constructor(ref, cdr) {
849
- this.ref = ref;
850
- this.cdr = cdr;
851
- this.columnDefs = [];
852
- this.rowModelType = 'clientSide';
853
- this.frameworkComponents = {};
854
- this.internalHeight = '100%';
855
- this.masterDetail = false;
856
- this.treeData = false;
857
- this.enabelSelect = false;
858
- this.gridView = false;
859
- this.groupSelectsChildren = false;
860
- this.oldSelectionNodes = [];
861
- // @Input()
862
- // showRowNumber: boolean = true;
863
- this.paginationAutoPageSize = false;
864
- this.paginationPageSize = 20;
865
- this.cacheBlockSize = this.paginationPageSize;
866
- this.remoteOperation = false;
867
- this.rowMultiSelectWithClick = false;
868
- this.suppressRowClickSelection = false;
869
- this.suppressCellSelection = false;
870
- this.sizeColumnsToFit = true;
871
- this.showCheckBox = true;
872
- this.floatingFilter = false;
873
- // @Input()
874
- // takeCount: number;
875
- this.autoGroupColumnDef = {};
876
- this.selectionMode = 'single';
877
- // @Input()
878
- // allowFiltering: boolean = false;
879
- this.pagination = true;
880
- this.selectRow = [];
881
- this.rowGroupPanelShow = 'never';
882
- this.loadOnInit = true;
883
- this.enableRangeSelection = false;
884
- // @Input()
885
- // groupDefaultExpanded: number = 0;
886
- this.keyField = 'null';
887
- this.hasChildField = 'null';
888
- this.columnsChange = new EventEmitter();
889
- this._columns = [];
890
- this.defaultColDef = {
891
- filter: true,
892
- floatingFilter: true,
893
- };
894
- this.groupHideOpenParents = false;
895
- this.cellClick = new EventEmitter();
896
- this.cellDbClick = new EventEmitter();
897
- this.cellFocuse = new EventEmitter();
898
- this.rowClick = new EventEmitter();
899
- this.rowDbClick = new EventEmitter();
900
- this.selectionChanged = new EventEmitter();
901
- this.rowSelectionChange = new EventEmitter();
902
- this.onRowSelectionChanged = new EventEmitter();
903
- this.rtl = AXConfig.get('layout.rtl');
904
- this.isServerSideGroup = (e) => {
905
- return e[this.hasChildField];
906
- };
907
- this.getColumnDefs = () => {
908
- return this.gridApi.getColumnDefs();
909
- };
910
- this.getCurrentPageNumber = () => {
911
- return {
912
- current: this.gridApi.paginationGetCurrentPage() + 1,
913
- total: this.gridApi.paginationGetTotalPages(),
914
- };
915
- };
916
- this.getServerSideGroupKey = (e) => {
917
- return e[this.keyField];
918
- };
919
- this.internalGetRowClass = (p) => {
920
- if (this.rowClass) {
921
- if (this.rowClass instanceof Function) {
922
- return this.rowClass({
923
- rowIndex: p.node.rowIndex,
924
- rowLevel: p.node.level,
925
- data: p.data,
926
- });
927
- }
928
- else {
929
- return this.rowClass;
930
- }
931
- }
932
- };
933
- this.localeText = AXTranslator.get('dataGrid');
934
- }
935
- get searchText() {
936
- return this._searchText;
937
- }
938
- set searchText(v) {
939
- if (v !== this._searchText) {
940
- this._searchText = v;
941
- if (this.gridApi) {
942
- this.refresh();
943
- this.gridApi.setQuickFilter(this.searchText);
944
- }
945
- }
946
- }
947
- get filter() {
948
- return this._filter;
949
- }
950
- set filter(v) {
951
- if (v !== this._filter) {
952
- this._filter = v;
953
- this._filter.forEach((f) => {
954
- const fc = this.gridApi.getFilterInstance(f.field);
955
- if (fc) {
956
- const ff = fc.getFrameworkComponentInstance();
957
- ff.setModel(f);
958
- }
959
- });
960
- }
961
- }
962
- get columns() {
963
- return this._inlineColumns
964
- ? [...this._columns, ...this._inlineColumns.toArray()]
965
- : this._columns;
966
- }
967
- set columns(val) {
968
- if (val && val.length) {
969
- let old = this._columns;
970
- this._columns = val;
971
- this.columnsChange.emit({
972
- component: this,
973
- value: val,
974
- oldValue: old,
975
- htmlElement: this.ref.nativeElement,
976
- });
977
- }
978
- }
979
- get dataSource() {
980
- return this._dataSource ? this._dataSource : this._contentDataSource;
981
- }
982
- set dataSource(v) {
983
- this._dataSource = v;
984
- }
985
- calcHeight() {
986
- if (this.toolbar) {
987
- this.internalHeight = `calc(100% - ${40}px)`;
988
- }
989
- else {
990
- this.internalHeight = '100%';
991
- }
992
- }
993
- get intenalGridDataSource() {
994
- const that = this;
995
- return {
996
- rowCount: null,
997
- getRows: (params) => {
998
- that.dataSourceSuccessCallback = params.successCallback;
999
- const loadParams = {};
1000
- loadParams.searchText = that.searchText;
1001
- loadParams.skip = params.request.startRow;
1002
- loadParams.take = params.request.endRow - params.request.startRow;
1003
- loadParams.sort = params.request.sortModel.map((c) => {
1004
- return {
1005
- field: c.colId,
1006
- dir: c.sort,
1007
- };
1008
- });
1009
- loadParams.group = {
1010
- fields: params.request.rowGroupCols.map((r) => r.field),
1011
- keys: params.request.groupKeys,
1012
- parentData: params.parentNode.data,
1013
- };
1014
- loadParams.filter = params.request.filterModel;
1015
- that.dataSource.fetch(loadParams);
1016
- },
1017
- };
1018
- }
1019
- getMainMenuItems(e) {
1020
- return ['pinSubMenu', 'separator'];
1021
- }
1022
- ngOnDestroy() {
1023
- this.gridApi.destroy();
1024
- }
1025
- paginationGoToPage(number) {
1026
- this.gridApi.paginationGoToPage(number - 1);
1027
- }
1028
- internalGridReady(gridOptions) {
1029
- if (this.remoteOperation && !this.paginationAutoPageSize) {
1030
- this.handlePageSize();
1031
- }
1032
- else {
1033
- this.cacheBlockSize =
1034
- this.paginationPageSize > 20 ? this.paginationPageSize : 100;
1035
- }
1036
- this.gridApi = gridOptions.api;
1037
- this.mapColumns();
1038
- this.calcHeight();
1039
- if (!this.loadOnInit) {
1040
- this.loadOnInit = true;
1041
- return;
1042
- }
1043
- if (this.remoteOperation) {
1044
- this.gridApi.setServerSideDatasource(this.intenalGridDataSource);
1045
- }
1046
- if (!this.remoteOperation) {
1047
- this.refresh();
1048
- }
1049
- }
1050
- ngAfterContentInit() {
1051
- const that = this;
1052
- if (this.rowTemplate) {
1053
- this.fullWidthCellRendererFramework = this.rowTemplate.renderer;
1054
- this.fullWidthCellRendererParams = this.rowTemplate.params;
1055
- }
1056
- this.frameworkComponents.agDateInput = AXDatePickerFilterComponent;
1057
- if (this.gridDetailTemplate) {
1058
- this.masterDetail = true;
1059
- this.detailCellRendererParams = this.gridDetailTemplate.params;
1060
- this.detailCellRenderer = 'detailRendererFramework';
1061
- this.frameworkComponents.detailRendererFramework =
1062
- this.gridDetailTemplate.renderer;
1063
- this.detailRowHeight = this.gridDetailTemplate.height;
1064
- }
1065
- this.isFullWidthCell = () => {
1066
- return that.rowTemplate != null;
1067
- };
1068
- }
1069
- ngOnInit() {
1070
- if (this.selectionMode === 'single') {
1071
- this.groupSelectsChildren = false;
1072
- }
1073
- if (this.keyField !== 'null' && this.hasChildField !== 'null') {
1074
- this.rowGroupPanelShow = 'never';
1075
- this.treeData = true;
1076
- }
1077
- if (this.remoteOperation) {
1078
- this.rowModelType = 'serverSide';
1079
- }
1080
- //
1081
- if (this.rtl == null) {
1082
- this.rtl =
1083
- window
1084
- .getComputedStyle(this.ref.nativeElement, null)
1085
- .getPropertyValue('direction') === 'rtl';
1086
- }
1087
- //
1088
- }
1089
- gridSelectRow() {
1090
- if (this.gridApi) {
1091
- if (this.selectRow &&
1092
- this.selectRow.length > 0 &&
1093
- this.gridApi !== undefined &&
1094
- typeof this.selectRow[0] != 'object') {
1095
- this.gridApi.forEachNode((node) => {
1096
- if (node.data !== undefined) {
1097
- let select = false;
1098
- this.selectRow.forEach((id) => {
1099
- if (node.data[this.keyField] === id) {
1100
- select = true;
1101
- node.setSelected(select);
1102
- }
1103
- });
1104
- }
1105
- });
1106
- }
1107
- else {
1108
- this.gridApi.forEachNode((node) => {
1109
- if (node.data !== undefined) {
1110
- let select = false;
1111
- if (this.selectRow.length) {
1112
- this.selectRow.forEach((item) => {
1113
- if (item.rowIndex != undefined && item.rowLevel != undefined) {
1114
- if (node.data[this.keyField] === item.data[this.keyField]) {
1115
- select = true;
1116
- }
1117
- }
1118
- else {
1119
- if (this.keyField !== 'null' && node.data[this.keyField] === item[this.keyField]) {
1120
- select = true;
1121
- }
1122
- }
1123
- });
1124
- }
1125
- node.setSelected(select);
1126
- }
1127
- });
1128
- }
1129
- }
1130
- }
1131
- rebuildGrid() {
1132
- this.mapColumns();
1133
- setTimeout(() => {
1134
- if (this.sizeColumnsToFit) {
1135
- this.gridApi.sizeColumnsToFit();
1136
- }
1137
- }, 10);
1138
- }
1139
- ngAfterViewInit() {
1140
- if (this.treeData === true) {
1141
- this.columnDefs = this.columns.map((c) => c.render());
1142
- const groupColumn = this.columnDefs.find((c) => c.rowGroupIndex == '0' && c.field !== '');
1143
- this.autoGroupColumnDef = {
1144
- headerName: groupColumn.headerName,
1145
- width: groupColumn.width,
1146
- cellRendererParams: { checkbox: this.showCheckBox },
1147
- field: groupColumn.field,
1148
- };
1149
- this.columnDefs.forEach((elm) => {
1150
- if (elm.rowGroupIndex > -1) {
1151
- elm.hide = true;
1152
- }
1153
- });
1154
- }
1155
- this.gridView = true;
1156
- this.enabelSelect = true;
1157
- this.dataSource.onDataReceived.subscribe((_data) => {
1158
- const result = _data.data.result;
1159
- this.hideLoading();
1160
- let items;
1161
- let totalCount;
1162
- if (Array.isArray(result)) {
1163
- items = result;
1164
- totalCount = result.length;
1165
- }
1166
- else {
1167
- items = result.items;
1168
- totalCount = result.totalCount;
1169
- }
1170
- if (this.dataSourceSuccessCallback) {
1171
- if (!this.loadOnInit) {
1172
- this.dataSourceSuccessCallback([], 0);
1173
- }
1174
- else {
1175
- this.dataSourceSuccessCallback(items, totalCount);
1176
- }
1177
- }
1178
- else {
1179
- if (!this.loadOnInit && this.gridApi !== undefined) {
1180
- this.gridApi.setRowData([]);
1181
- }
1182
- else if (this.gridApi !== undefined) {
1183
- this.gridApi.setRowData(items);
1184
- }
1185
- }
1186
- this.gridSelectRow();
1187
- });
1188
- this.dataSource.onFetchStart.subscribe(() => {
1189
- this.showLoading();
1190
- });
1191
- if (this.searchInput) {
1192
- this.searchInput.onValueChanged.subscribe((c) => {
1193
- this.searchText = c.value;
1194
- });
1195
- }
1196
- this.cdr.detectChanges();
1197
- }
1198
- mapColumns() {
1199
- this.columnDefs = this.columns.map((c) => c.render());
1200
- if (this.gridDetailTemplate) {
1201
- if (this.columnDefs[0].checkboxSelection === true &&
1202
- this.columnDefs[0].field === '') {
1203
- this.columnDefs[1].cellRenderer = 'agGroupCellRenderer';
1204
- }
1205
- else {
1206
- this.columnDefs[0].cellRenderer = 'agGroupCellRenderer';
1207
- }
1208
- }
1209
- if (this.hasChildField === 'null') {
1210
- const groupColumn = this.columnDefs.find((c) => c.rowGroupIndex === undefined && c.field !== '');
1211
- if (groupColumn && this.groupHideOpenParents == false) {
1212
- this.autoGroupColumnDef = {
1213
- headerName: groupColumn.headerName,
1214
- width: groupColumn.width,
1215
- cellRendererParams: { checkbox: this.showCheckBox },
1216
- field: groupColumn.field,
1217
- };
1218
- }
1219
- }
1220
- this.columnDefs.forEach((elm) => {
1221
- if (elm.rowGroupIndex > -1) {
1222
- elm.hide = true;
1223
- }
1224
- });
1225
- }
1226
- displayedColumnsChanged(e) {
1227
- if (this.hasChildField === 'null') {
1228
- const ee = e.columnApi.getAllDisplayedColumnGroups();
1229
- const eee = ee.find((c) => c.colId !== 'ag-Grid-AutoColumn' && c.colId !== '0');
1230
- if (eee && eee.colId) {
1231
- this.autoGroupColumnDef = {
1232
- headerName: eee.colDef.headerName,
1233
- width: eee.colDef.width,
1234
- cellRendererParams: { checkbox: this.showCheckBox },
1235
- field: eee.colDef.field,
1236
- };
1237
- }
1238
- }
1239
- }
1240
- refresh(route = []) {
1241
- if (this.remoteOperation && this.gridApi !== undefined) {
1242
- // this.gridApi.purgeServerSideCache(route);
1243
- this.gridApi.setServerSideDatasource(this.intenalGridDataSource);
1244
- }
1245
- else {
1246
- this.dataSource.fetch(null);
1247
- }
1248
- }
1249
- internalGridCellClicked(e) {
1250
- this.cellClick.emit({
1251
- data: this.mapCellEvent(e),
1252
- component: this,
1253
- htmlElement: this.ref.nativeElement,
1254
- });
1255
- }
1256
- internalGridCellDoubleClicked(e) {
1257
- this.cellDbClick.emit({
1258
- data: this.mapCellEvent(e),
1259
- component: this,
1260
- htmlElement: this.ref.nativeElement,
1261
- });
1262
- }
1263
- internalGridCellFocused(e) {
1264
- this.cellFocuse.emit({
1265
- data: this.mapCellEvent(e),
1266
- htmlElement: this.ref.nativeElement,
1267
- component: this,
1268
- });
1269
- }
1270
- internalGridRowClicked(e) {
1271
- if (!e.node.group) {
1272
- this.rowClick.emit({
1273
- data: this.mapRowEvent(e),
1274
- component: this,
1275
- htmlElement: this.ref.nativeElement,
1276
- });
1277
- }
1278
- }
1279
- internalGridRowDoubleClicked(e) {
1280
- if (!e.node.group) {
1281
- this.rowDbClick.emit({
1282
- data: this.mapRowEvent(e),
1283
- htmlElement: this.ref.nativeElement,
1284
- component: this,
1285
- });
1286
- }
1287
- }
1288
- differenceOf2Arrays(array1, array2) {
1289
- const temp = [];
1290
- for (const i in array1) {
1291
- if (array2.indexOf(array1[i]) === -1) {
1292
- temp.push(array1[i]);
1293
- }
1294
- }
1295
- for (const i in array2) {
1296
- if (array1.indexOf(array2[i]) === -1) {
1297
- temp.push(array2[i]);
1298
- }
1299
- }
1300
- return temp.sort((a, b) => a - b);
1301
- }
1302
- rowSelectionChanged(e) {
1303
- if (e.node.selected == true) {
1304
- this.selectRow = this.selectRow.filter((c) => c[this.keyField] != e.data[this.keyField]);
1305
- this.selectRow.push(e.data);
1306
- }
1307
- else {
1308
- this.selectRow = this.selectRow.filter((c) => c[this.keyField] != e.data[this.keyField]);
1309
- }
1310
- this.rowSelectionChange.emit({
1311
- component: this,
1312
- data: e,
1313
- htmlElement: this.ref.nativeElement,
1314
- });
1315
- }
1316
- internalGridSelectionChanged(e) {
1317
- const args = { items: [] };
1318
- const oldNodes = this.oldSelectionNodes;
1319
- const nodes = this.gridApi.getSelectedNodes();
1320
- nodes.forEach((i) => {
1321
- args.items.push({
1322
- rowLevel: i.level,
1323
- rowIndex: i.rowIndex,
1324
- data: i.data,
1325
- });
1326
- });
1327
- this.selectionChanged.emit({
1328
- data: args,
1329
- component: this,
1330
- htmlElement: this.ref.nativeElement,
1331
- });
1332
- let action = nodes.length > oldNodes.length ? true : false;
1333
- const node = this.differenceOf2Arrays(nodes, oldNodes);
1334
- this.onRowSelectionChanged.emit({
1335
- component: this,
1336
- selected: action,
1337
- data: node,
1338
- htmlElement: this.ref.nativeElement,
1339
- });
1340
- this.oldSelectionNodes = nodes;
1341
- }
1342
- mapCellEvent(e) {
1343
- return {
1344
- rowLevel: 0,
1345
- column: e.column,
1346
- data: e.data,
1347
- rowIndex: e.rowIndex,
1348
- value: e.value,
1349
- };
1350
- }
1351
- mapRowEvent(e) {
1352
- return {
1353
- rowLevel: 0,
1354
- data: e.data,
1355
- rowIndex: e.rowIndex,
1356
- };
1357
- }
1358
- deselectAll() {
1359
- this.gridApi.deselectAll();
1360
- }
1361
- deselectByKeyField(keyField) {
1362
- this.gridApi.forEachNode((node) => {
1363
- if (node.data !== undefined) {
1364
- let select = false;
1365
- if (node.data[this.keyField] === keyField) {
1366
- node.setSelected(select);
1367
- this.selectRow = this.selectRow.filter((c) => c[this.keyField] != keyField);
1368
- }
1369
- }
1370
- });
1371
- }
1372
- showLoading() {
1373
- if (this.gridApi) {
1374
- this.gridApi.showLoadingOverlay();
1375
- }
1376
- }
1377
- hideLoading() {
1378
- if (this.gridApi) {
1379
- this.gridApi.hideOverlay();
1380
- }
1381
- }
1382
- internalGridSizeChanged(e) {
1383
- if (e.clientWidth > 0 && e.clientHeight > 0) {
1384
- this.performSizeColumnsToFit(e.api);
1385
- }
1386
- }
1387
- internalGridFirstDataRendered(e) {
1388
- this.performSizeColumnsToFit(e.api);
1389
- }
1390
- performSizeColumnsToFit(api) {
1391
- if (this.sizeColumnsToFit) {
1392
- api.sizeColumnsToFit();
1393
- }
1394
- }
1395
- handlePageSize() {
1396
- const pagingPanel = this.ref.nativeElement.querySelector('.ag-paging-panel');
1397
- const select = document.createElement('select');
1398
- select.addEventListener('change', (e) => {
1399
- this.gridApi.paginationSetPageSize(Number(e.target.value));
1400
- this.gridApi.setCacheBlockSize(Number(e.target.value));
1401
- });
1402
- const option1 = document.createElement('option');
1403
- option1.setAttribute('value', '10');
1404
- option1.textContent = '10';
1405
- const option2 = document.createElement('option');
1406
- option2.setAttribute('value', '20');
1407
- option2.textContent = '20';
1408
- select.appendChild(option1);
1409
- select.appendChild(option2);
1410
- select.value = '20';
1411
- select.style.backgroundColor = 'white';
1412
- select.style.color = 'gray';
1413
- select.style.padding = '2px';
1414
- select.style.border = '1px solid gray';
1415
- select.style.borderRadius = '4px';
1416
- pagingPanel.appendChild(select);
1417
- }
1418
- }
1419
- AXDataGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1420
- AXDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridComponent, selector: "ax-data-grid", inputs: { paginationAutoPageSize: "paginationAutoPageSize", paginationPageSize: "paginationPageSize", remoteOperation: "remoteOperation", rowMultiSelectWithClick: "rowMultiSelectWithClick", suppressRowClickSelection: "suppressRowClickSelection", suppressCellSelection: "suppressCellSelection", sizeColumnsToFit: "sizeColumnsToFit", showCheckBox: "showCheckBox", floatingFilter: "floatingFilter", selectionMode: "selectionMode", pagination: "pagination", selectRow: "selectRow", rowGroupPanelShow: "rowGroupPanelShow", loadOnInit: "loadOnInit", enableRangeSelection: "enableRangeSelection", keyField: "keyField", hasChildField: "hasChildField", searchText: "searchText", filter: "filter", columns: "columns", rowHeight: "rowHeight", dataSource: "dataSource", groupHideOpenParents: "groupHideOpenParents", rowClass: "rowClass", rtl: "rtl" }, outputs: { columnsChange: "columnsChange", cellClick: "cellClick", cellDbClick: "cellDbClick", cellFocuse: "cellFocuse", rowClick: "rowClick", rowDbClick: "rowDbClick", selectionChanged: "selectionChanged", rowSelectionChange: "rowSelectionChange", onRowSelectionChanged: "onRowSelectionChanged" }, queries: [{ propertyName: "searchInput", first: true, predicate: AXToolbarSearchComponent, descendants: true, static: true }, { propertyName: "toolbar", first: true, predicate: AXToolbarComponent, descendants: true, static: true }, { propertyName: "rowTemplate", first: true, predicate: AXDataGridRowTemplateComponent, descendants: true, static: true }, { propertyName: "gridDetailTemplate", first: true, predicate: AXDataGridDetailTemplateComponent, descendants: true, static: true }, { propertyName: "_contentDataSource", first: true, predicate: AXDataSourceComponent, descendants: true, static: true }, { propertyName: "_inlineColumns", predicate: AXGridDataColumn }], ngImport: i0, template: "<div class=\"ax-grid-toolbar\" *ngIf=\"toolbar\">\n <ng-content select=\"ax-toolbar\"></ng-content>\n</div>\n<!-- [enableSorting]=\"true\" [enableColResize]=\"true\" [enableFilter]=\"allowFiltering\" -->\n\n\n<ag-grid-angular *ngIf=\"gridView\" class=\"ag-theme-balham\" [getRowClass]=\"internalGetRowClass\"\n [suppressCopyRowsToClipboard]=\"true\" [enableRangeSelection]=\"enableRangeSelection\" [serverSideStoreType]=\"'partial'\"\n [style.height]=\"internalHeight\" [columnDefs]=\"columnDefs\" [enableRtl]=\"rtl\" [pagination]=\"pagination\"\n [rowGroupPanelShow]=\"rowGroupPanelShow\" [rowModelType]=\"rowModelType\" [detailRowHeight]=\"detailRowHeight\"\n [paginationAutoPageSize]=\"paginationAutoPageSize\" [paginationPageSize]=\"paginationPageSize\" [suppressMenuHide]=\"true\"\n [frameworkComponents]=\"frameworkComponents\" [isFullWidthCell]=\"isFullWidthCell\" [rowSelection]=\"selectionMode\"\n [rowMultiSelectWithClick]=\"rowMultiSelectWithClick\" [fullWidthCellRendererFramework]=\"fullWidthCellRendererFramework\"\n [cacheBlockSize]=\"cacheBlockSize\" [fullWidthCellRendererParams]=\"fullWidthCellRendererParams\"\n (cellClicked)=\"internalGridCellClicked($event)\" (cellDoubleClicked)=\"internalGridCellDoubleClicked($event)\"\n (cellFocused)=\"internalGridCellFocused($event)\" (rowClicked)=\"internalGridRowClicked($event)\"\n (selectionChanged)=\"internalGridSelectionChanged($event)\" (rowSelected)=\"rowSelectionChanged($event)\"\n (rowDoubleClicked)=\"internalGridRowDoubleClicked($event)\" (gridReady)=\"internalGridReady($event)\"\n [groupSelectsChildren]=\"groupSelectsChildren\" [suppressRowClickSelection]=\"suppressRowClickSelection\"\n [groupSelectsFiltered]=\"true\" [suppressCellSelection]=\"suppressCellSelection\"\n [autoGroupColumnDef]=\"autoGroupColumnDef\" [suppressAggFuncInHeader]=\"true\" [treeData]=\"treeData\" [animateRows]=\"true\"\n [isServerSideGroup]=\"isServerSideGroup\" [getServerSideGroupKey]=\"getServerSideGroupKey\" [masterDetail]=\"masterDetail\"\n [detailCellRendererParams]=\"detailCellRendererParams\" [detailCellRenderer]=\"detailCellRenderer\"\n (gridSizeChanged)=\"internalGridSizeChanged($event)\" (firstDataRendered)=\"internalGridFirstDataRendered($event)\"\n [localeText]=\"localeText\" [groupHideOpenParents]=\"groupHideOpenParents\" [allowContextMenuWithControlKey]=\"false\"\n [getMainMenuItems]=\"getMainMenuItems\">\n</ag-grid-angular>\n\n\n<!-- (displayedColumnsChanged)=\"displayedColumnsChanged($event)\" -->", components: [{ type: i1$2.AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "suppressMenuHide", "enableBrowserTooltips", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "maintainColumnOrder", "suppressFieldDotNotation", "deltaColumnMode", "applyColumnDefOrder", "immutableColumns", "suppressSetColumnStateEvents", "suppressColumnStateEvents", "colWidth", "minColWidth", "maxColWidth", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "components", "frameworkComponents", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterMovesDown", "enterMovesDownAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "stopEditingWhenGridLosesFocus", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "defaultExportParams", "quickFilterText", "cacheQuickFilter", "excludeChildrenWhenTreeDataFiltering", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "enableChartToolPanelsButton", "chartToolPanelsDef", "loadingCellRenderer", "loadingCellRendererFramework", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererFramework", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressParentsInRowNodes", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentFramework", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentFramework", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "suppressAggAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDelay", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererFramework", "fullWidthCellRendererParams", "embedFullWidthRows", "deprecatedEmbedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererFramework", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "groupRowsSticky", "groupRowInnerRenderer", "groupRowInnerRendererFramework", "groupMultiAutoColumn", "groupUseEntireRow", "groupSuppressAutoColumn", "rememberGroupStateWhenNewData", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "immutableData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "deltaRowDataMode", "batchUpdateWaitMillis", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "serverSideStoreType", "serverSideInfiniteScroll", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideFilterAllLevels", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSideSortingAlwaysResets", "serverSideFilteringAlwaysResets", "suppressEnterpriseResetOnNewColumns", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellSelection", "suppressCellFocus", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "deltaSort", "treeDataDisplayType", "angularCompileRows", "angularCompileFilters", "functionsPassive", "enableGroupEdit", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "suppressKeyboardEvent", "localeTextFunc", "getLocaleText", "getDocument", "paginationNumberFormatter", "groupRowAggNodes", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "defaultGroupOrderComparator", "processSecondaryColDef", "processSecondaryColGroupDef", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "defaultGroupSortComparator", "getChildCount", "getServerSideGroupLevelParams", "getServerSideStoreParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowNodeId", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSort", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthCell", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "filterOpened", "filterChanged", "filterModified", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "cellKeyPress", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pinnedRowDataChanged", "rowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "sortChanged", "columnRowGroupChangeRequest", "columnPivotChangeRequest", "columnValueChangeRequest", "columnAggFuncChangeRequest"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
1421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridComponent, decorators: [{
1422
- type: Component,
1423
- args: [{ selector: 'ax-data-grid', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-grid-toolbar\" *ngIf=\"toolbar\">\n <ng-content select=\"ax-toolbar\"></ng-content>\n</div>\n<!-- [enableSorting]=\"true\" [enableColResize]=\"true\" [enableFilter]=\"allowFiltering\" -->\n\n\n<ag-grid-angular *ngIf=\"gridView\" class=\"ag-theme-balham\" [getRowClass]=\"internalGetRowClass\"\n [suppressCopyRowsToClipboard]=\"true\" [enableRangeSelection]=\"enableRangeSelection\" [serverSideStoreType]=\"'partial'\"\n [style.height]=\"internalHeight\" [columnDefs]=\"columnDefs\" [enableRtl]=\"rtl\" [pagination]=\"pagination\"\n [rowGroupPanelShow]=\"rowGroupPanelShow\" [rowModelType]=\"rowModelType\" [detailRowHeight]=\"detailRowHeight\"\n [paginationAutoPageSize]=\"paginationAutoPageSize\" [paginationPageSize]=\"paginationPageSize\" [suppressMenuHide]=\"true\"\n [frameworkComponents]=\"frameworkComponents\" [isFullWidthCell]=\"isFullWidthCell\" [rowSelection]=\"selectionMode\"\n [rowMultiSelectWithClick]=\"rowMultiSelectWithClick\" [fullWidthCellRendererFramework]=\"fullWidthCellRendererFramework\"\n [cacheBlockSize]=\"cacheBlockSize\" [fullWidthCellRendererParams]=\"fullWidthCellRendererParams\"\n (cellClicked)=\"internalGridCellClicked($event)\" (cellDoubleClicked)=\"internalGridCellDoubleClicked($event)\"\n (cellFocused)=\"internalGridCellFocused($event)\" (rowClicked)=\"internalGridRowClicked($event)\"\n (selectionChanged)=\"internalGridSelectionChanged($event)\" (rowSelected)=\"rowSelectionChanged($event)\"\n (rowDoubleClicked)=\"internalGridRowDoubleClicked($event)\" (gridReady)=\"internalGridReady($event)\"\n [groupSelectsChildren]=\"groupSelectsChildren\" [suppressRowClickSelection]=\"suppressRowClickSelection\"\n [groupSelectsFiltered]=\"true\" [suppressCellSelection]=\"suppressCellSelection\"\n [autoGroupColumnDef]=\"autoGroupColumnDef\" [suppressAggFuncInHeader]=\"true\" [treeData]=\"treeData\" [animateRows]=\"true\"\n [isServerSideGroup]=\"isServerSideGroup\" [getServerSideGroupKey]=\"getServerSideGroupKey\" [masterDetail]=\"masterDetail\"\n [detailCellRendererParams]=\"detailCellRendererParams\" [detailCellRenderer]=\"detailCellRenderer\"\n (gridSizeChanged)=\"internalGridSizeChanged($event)\" (firstDataRendered)=\"internalGridFirstDataRendered($event)\"\n [localeText]=\"localeText\" [groupHideOpenParents]=\"groupHideOpenParents\" [allowContextMenuWithControlKey]=\"false\"\n [getMainMenuItems]=\"getMainMenuItems\">\n</ag-grid-angular>\n\n\n<!-- (displayedColumnsChanged)=\"displayedColumnsChanged($event)\" -->" }]
1424
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { paginationAutoPageSize: [{
1425
- type: Input
1426
- }], paginationPageSize: [{
1427
- type: Input
1428
- }], remoteOperation: [{
1429
- type: Input
1430
- }], rowMultiSelectWithClick: [{
1431
- type: Input
1432
- }], suppressRowClickSelection: [{
1433
- type: Input
1434
- }], suppressCellSelection: [{
1435
- type: Input
1436
- }], sizeColumnsToFit: [{
1437
- type: Input
1438
- }], showCheckBox: [{
1439
- type: Input
1440
- }], floatingFilter: [{
1441
- type: Input
1442
- }], selectionMode: [{
1443
- type: Input
1444
- }], pagination: [{
1445
- type: Input
1446
- }], selectRow: [{
1447
- type: Input
1448
- }], rowGroupPanelShow: [{
1449
- type: Input
1450
- }], loadOnInit: [{
1451
- type: Input
1452
- }], enableRangeSelection: [{
1453
- type: Input
1454
- }], keyField: [{
1455
- type: Input
1456
- }], hasChildField: [{
1457
- type: Input
1458
- }], searchText: [{
1459
- type: Input
1460
- }], filter: [{
1461
- type: Input
1462
- }], _inlineColumns: [{
1463
- type: ContentChildren,
1464
- args: [AXGridDataColumn]
1465
- }], columnsChange: [{
1466
- type: Output
1467
- }], columns: [{
1468
- type: Input
1469
- }], rowHeight: [{
1470
- type: Input
1471
- }], searchInput: [{
1472
- type: ContentChild,
1473
- args: [AXToolbarSearchComponent, { static: true }]
1474
- }], toolbar: [{
1475
- type: ContentChild,
1476
- args: [AXToolbarComponent, { static: true }]
1477
- }], rowTemplate: [{
1478
- type: ContentChild,
1479
- args: [AXDataGridRowTemplateComponent, { static: true }]
1480
- }], gridDetailTemplate: [{
1481
- type: ContentChild,
1482
- args: [AXDataGridDetailTemplateComponent, { static: true }]
1483
- }], _contentDataSource: [{
1484
- type: ContentChild,
1485
- args: [AXDataSourceComponent, { static: true }]
1486
- }], dataSource: [{
1487
- type: Input
1488
- }], groupHideOpenParents: [{
1489
- type: Input
1490
- }], cellClick: [{
1491
- type: Output
1492
- }], cellDbClick: [{
1493
- type: Output
1494
- }], cellFocuse: [{
1495
- type: Output
1496
- }], rowClick: [{
1497
- type: Output
1498
- }], rowDbClick: [{
1499
- type: Output
1500
- }], selectionChanged: [{
1501
- type: Output
1502
- }], rowSelectionChange: [{
1503
- type: Output
1504
- }], onRowSelectionChanged: [{
1505
- type: Output
1506
- }], rowClass: [{
1507
- type: Input
1508
- }], rtl: [{
1509
- type: Input
1510
- }] } });
1511
-
1512
- class AXDataGridModule {
1513
- }
1514
- AXDataGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1515
- AXDataGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridModule, declarations: [AXDataGridComponent,
1516
- AXGridTextColumn,
1517
- AXGridCheckColumn,
1518
- AXGridSelectionColumn,
1519
- AXGridDateColumn,
1520
- AXGridRowNumberColumn,
1521
- AXGridCommandColumn,
1522
- BooleanRenderer,
1523
- BooleanFilterRenderer,
1524
- TextFilterRenderer,
1525
- AXDataGridFilterComponent,
1526
- AXDataGridRowTemplateComponent,
1527
- AXDataGridDetailTemplateComponent,
1528
- AXDataGridRowTemplateRenderer,
1529
- AXDataGridDetailTemplateRenderer,
1530
- AXDataGridCellTemplateComponent,
1531
- AXDataGridCellTemplateRenderer,
1532
- AXDatePickerFilterComponent,
1533
- CommandRenderer], imports: [CommonModule,
1534
- AXCoreModule,
1535
- FormsModule,
1536
- //AgGridModule,
1537
- AXTextBoxModule,
1538
- AXCheckBoxModule,
1539
- AXSelectBoxModule,
1540
- AXDataSourceModule,
1541
- AXButtonModule,
1542
- AXDatePickerModule,
1543
- AgGridModule], exports: [AXDataGridComponent,
1544
- AXDataGridFilterComponent,
1545
- AXDataGridRowTemplateComponent,
1546
- AXDataGridDetailTemplateComponent,
1547
- AXDataGridRowTemplateRenderer,
1548
- AXDataGridDetailTemplateRenderer,
1549
- AXDataGridCellTemplateComponent,
1550
- AXDataGridCellTemplateRenderer,
1551
- AXGridTextColumn,
1552
- AXGridRowNumberColumn,
1553
- AXGridCheckColumn,
1554
- AXGridDateColumn,
1555
- AXGridSelectionColumn,
1556
- AXGridCommandColumn,
1557
- BooleanRenderer,
1558
- BooleanFilterRenderer,
1559
- CommandRenderer] });
1560
- AXDataGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridModule, providers: [], imports: [[
1561
- CommonModule,
1562
- AXCoreModule,
1563
- FormsModule,
1564
- //AgGridModule,
1565
- AXTextBoxModule,
1566
- AXCheckBoxModule,
1567
- AXSelectBoxModule,
1568
- AXDataSourceModule,
1569
- AXButtonModule,
1570
- AXDatePickerModule,
1571
- AgGridModule
1572
- ]] });
1573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridModule, decorators: [{
1574
- type: NgModule,
1575
- args: [{
1576
- declarations: [
1577
- AXDataGridComponent,
1578
- AXGridTextColumn,
1579
- AXGridCheckColumn,
1580
- AXGridSelectionColumn,
1581
- AXGridDateColumn,
1582
- AXGridRowNumberColumn,
1583
- AXGridCommandColumn,
1584
- BooleanRenderer,
1585
- BooleanFilterRenderer,
1586
- TextFilterRenderer,
1587
- AXDataGridFilterComponent,
1588
- AXDataGridRowTemplateComponent,
1589
- AXDataGridDetailTemplateComponent,
1590
- AXDataGridRowTemplateRenderer,
1591
- AXDataGridDetailTemplateRenderer,
1592
- AXDataGridCellTemplateComponent,
1593
- AXDataGridCellTemplateRenderer,
1594
- AXDatePickerFilterComponent,
1595
- CommandRenderer
1596
- ],
1597
- imports: [
1598
- CommonModule,
1599
- AXCoreModule,
1600
- FormsModule,
1601
- //AgGridModule,
1602
- AXTextBoxModule,
1603
- AXCheckBoxModule,
1604
- AXSelectBoxModule,
1605
- AXDataSourceModule,
1606
- AXButtonModule,
1607
- AXDatePickerModule,
1608
- AgGridModule
1609
- ],
1610
- exports: [
1611
- AXDataGridComponent,
1612
- AXDataGridFilterComponent,
1613
- AXDataGridRowTemplateComponent,
1614
- AXDataGridDetailTemplateComponent,
1615
- AXDataGridRowTemplateRenderer,
1616
- AXDataGridDetailTemplateRenderer,
1617
- AXDataGridCellTemplateComponent,
1618
- AXDataGridCellTemplateRenderer,
1619
- AXGridTextColumn,
1620
- AXGridRowNumberColumn,
1621
- AXGridCheckColumn,
1622
- AXGridDateColumn,
1623
- AXGridSelectionColumn,
1624
- AXGridCommandColumn,
1625
- BooleanRenderer,
1626
- BooleanFilterRenderer,
1627
- CommandRenderer
1628
- ],
1629
- providers: []
1630
- }]
1631
- }] });
1632
-
1633
- class AXDataLovPopupComponent extends AXBasePopupPageComponent {
1634
- constructor(cdr, ref) {
1635
- super();
1636
- this.cdr = cdr;
1637
- this.ref = ref;
1638
- this.columns = [];
1639
- this.selectedItems = [];
1640
- this.keyField = '';
1641
- this.allowNull = true;
1642
- this.rtl = AXConfig.get('layout.rtl');
1643
- this.selectedRows = [];
1644
- this.pagination = true;
1645
- }
1646
- ngOnInit() {
1647
- if (this.rtl == null) {
1648
- this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
1649
- }
1650
- }
1651
- onDoneClick() {
1652
- if (this.selectedItems) {
1653
- this.close(this.selectedItems);
1654
- }
1655
- else {
1656
- this.close();
1657
- }
1658
- }
1659
- rowDoubleClicked(e) {
1660
- if (this.selectionMode == 'single') {
1661
- this.selectedItems = [];
1662
- }
1663
- this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.data[this.keyField]);
1664
- this.selectedItems.push(e.data.data);
1665
- this.onDoneClick();
1666
- }
1667
- onCancelClick() {
1668
- this.close();
1669
- }
1670
- rowSelectionChange(e) {
1671
- if (e.data.node.selected == true) {
1672
- this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.node.data[this.keyField]);
1673
- this.selectedItems.push(e.data.node.data);
1674
- }
1675
- else {
1676
- if (this.allowNull == true || (this.allowNull == false && this.selectedItems.length > 1)) {
1677
- this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.node.data[this.keyField]);
1678
- }
1679
- }
1680
- }
1681
- ngAfterViewInit() {
1682
- this.selectedItems.forEach((ele) => {
1683
- this.selectedRows.push(ele);
1684
- });
1685
- this.searchBox.focus();
1686
- if (this.dataSource.onDataReceived) {
1687
- this.dataSource.onDataReceived.subscribe((arg) => {
1688
- this.cdr.markForCheck();
1689
- this.cdr.detectChanges();
1690
- });
1691
- }
1692
- }
1693
- // onValueSearchChanged(e) {
1694
- // const params: AXDataSourceReadParams = {}
1695
- // params.searchText = e.value;
1696
- // // params.take = 100;
1697
- // // params.skip = 0
1698
- // this.dataSource.fetch(params);
1699
- // }
1700
- getFooterButtons() {
1701
- return [
1702
- {
1703
- text: AXTranslator.get('common.confirm'),
1704
- name: 'confirm',
1705
- style: 'ax primary',
1706
- icon: 'far fa-check-circle'
1707
- },
1708
- {
1709
- text: AXTranslator.get('common.cancel'),
1710
- name: 'cancel',
1711
- style: 'ax light',
1712
- icon: 'far fa-times'
1713
- }
1714
- ];
1715
- }
1716
- onFooterButtonClick(e) {
1717
- if (e.name === 'confirm') {
1718
- this.onDoneClick();
1719
- }
1720
- if (e.name === 'cancel') {
1721
- this.onCancelClick();
1722
- }
1723
- }
1724
- }
1725
- AXDataLovPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataLovPopupComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1726
- AXDataLovPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataLovPopupComponent, selector: "ng-component", viewQueries: [{ propertyName: "grid", first: true, predicate: ["grid"], descendants: true, static: true }, { propertyName: "searchBox", first: true, predicate: ["searchBox"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div style=\"height: 70vh; padding: 0.5em;\">\n <div style=\"height: calc(98%);\">\n\n <ax-data-grid [pagination]=\"pagination\" [rtl]=\"rtl\" [suppressRowClickSelection]=\"false\" [keyField]=\"keyField\"\n [hasChildField]=\"hasChildField\" [selectRow]=\"selectedItems\" #grid [columns]=\"columns\"\n [remoteOperation]=\"true\" [selectionMode]=\"selectionMode\" (rowDbClick)=\"rowDoubleClicked($event)\"\n (rowSelectionChange)=\"rowSelectionChange($event)\" [dataSource]=\"dataSource\">\n <ax-toolbar>\n <ax-toolbar-search #searchBox style=\"width: 100%;\"></ax-toolbar-search>\n </ax-toolbar>\n <ax-selection-column *ngIf=\"selectionMode== 'single'? false : true\"></ax-selection-column>\n <!-- <ax-data-source [provideData]=\"dataSource.provideData\">\n </ax-data-source> -->\n </ax-data-grid>\n </div>\n</div>", components: [{ type: AXDataGridComponent, selector: "ax-data-grid", inputs: ["paginationAutoPageSize", "paginationPageSize", "remoteOperation", "rowMultiSelectWithClick", "suppressRowClickSelection", "suppressCellSelection", "sizeColumnsToFit", "showCheckBox", "floatingFilter", "selectionMode", "pagination", "selectRow", "rowGroupPanelShow", "loadOnInit", "enableRangeSelection", "keyField", "hasChildField", "searchText", "filter", "columns", "rowHeight", "dataSource", "groupHideOpenParents", "rowClass", "rtl"], outputs: ["columnsChange", "cellClick", "cellDbClick", "cellFocuse", "rowClick", "rowDbClick", "selectionChanged", "rowSelectionChange", "onRowSelectionChanged"] }, { type: i1$1.AXToolbarComponent, selector: "ax-toolbar" }, { type: i1$1.AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: ["text"], outputs: ["onValueChanged"] }, { type: AXGridSelectionColumn, selector: "ax-selection-column", inputs: ["condition", "pinned", "width"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1727
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataLovPopupComponent, decorators: [{
1728
- type: Component,
1729
- args: [{ template: "<div style=\"height: 70vh; padding: 0.5em;\">\n <div style=\"height: calc(98%);\">\n\n <ax-data-grid [pagination]=\"pagination\" [rtl]=\"rtl\" [suppressRowClickSelection]=\"false\" [keyField]=\"keyField\"\n [hasChildField]=\"hasChildField\" [selectRow]=\"selectedItems\" #grid [columns]=\"columns\"\n [remoteOperation]=\"true\" [selectionMode]=\"selectionMode\" (rowDbClick)=\"rowDoubleClicked($event)\"\n (rowSelectionChange)=\"rowSelectionChange($event)\" [dataSource]=\"dataSource\">\n <ax-toolbar>\n <ax-toolbar-search #searchBox style=\"width: 100%;\"></ax-toolbar-search>\n </ax-toolbar>\n <ax-selection-column *ngIf=\"selectionMode== 'single'? false : true\"></ax-selection-column>\n <!-- <ax-data-source [provideData]=\"dataSource.provideData\">\n </ax-data-source> -->\n </ax-data-grid>\n </div>\n</div>" }]
1730
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { grid: [{
1731
- type: ViewChild,
1732
- args: ['grid', { static: true }]
1733
- }], searchBox: [{
1734
- type: ViewChild,
1735
- args: ['searchBox']
1736
- }] } });
1737
-
1738
- class AXLOVComponent extends AXValidatableComponent {
1739
- constructor(popup, ref) {
1740
- super();
1741
- this.popup = popup;
1742
- this.ref = ref;
1743
- this.textField = '';
1744
- this.allowSearch = true;
1745
- this.valueField = '';
1746
- this.hasChildField = 'null';
1747
- this.allowNull = true;
1748
- this.popupSize = 'md';
1749
- this.pagination = true;
1750
- this.selectedItems = [];
1751
- // @Input()
1752
- // selectedValues: any[] = [];
1753
- this.readonly = false;
1754
- this.disabled = false;
1755
- this.chipsWidth = '';
1756
- this.size = 'md';
1757
- this.mode = 'single';
1758
- this.onSelectionChange = new EventEmitter();
1759
- this.rtl = AXConfig.get('layout.rtl');
1760
- }
1761
- get validation() {
1762
- return this._validation ? this._validation : this._contentValidation;
1763
- }
1764
- set validation(v) {
1765
- this._validation = v;
1766
- }
1767
- focus() {
1768
- this.selectBox.focus();
1769
- }
1770
- refresh() {
1771
- this.selectBox.refresh();
1772
- }
1773
- handleButtonClick() {
1774
- this.open();
1775
- }
1776
- ngOnInit() {
1777
- if (this.rtl == null) {
1778
- this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
1779
- }
1780
- // this.selectVal = this.selectedValues;
1781
- this.onSelectionChange.subscribe((c) => {
1782
- this.clearValidationStyle(this.ref.nativeElement);
1783
- });
1784
- }
1785
- ngAfterContentInit() {
1786
- this.initValidation(this.ref, 'selectedItems', this.validation);
1787
- }
1788
- handleSelectChange(e) {
1789
- this.onSelectionChange.emit({ data: this.selectedItems, component: this, htmlElement: this.ref.nativeElement });
1790
- }
1791
- open() {
1792
- return new Promise((resolve) => {
1793
- this.selectBox.dropdown.close();
1794
- this.popup
1795
- .open(AXDataLovPopupComponent, {
1796
- size: this.popupSize,
1797
- // closable: false,
1798
- data: {
1799
- dataSource: this.dataSource,
1800
- selectionMode: this.mode,
1801
- columns: this.columns.toArray(),
1802
- // selectedItems: this.selectedValues,
1803
- selectedItems: this.selectedItems,
1804
- keyField: this.valueField,
1805
- allowNull: this.allowNull,
1806
- hasChildField: this.hasChildField,
1807
- rtl: this.rtl,
1808
- pagination: this.pagination
1809
- },
1810
- title: this.caption
1811
- // size: this.size,
1812
- })
1813
- .then((c) => {
1814
- if (c.data) {
1815
- // this.selectedValues = [];
1816
- this.selectedItems = [];
1817
- c.data.forEach((elm) => {
1818
- this.selectedItems.push(elm);
1819
- });
1820
- // this.selectedItems = c.data;
1821
- // this.selectBox.refresh();
1822
- this.onSelectionChange.emit({ data: this.selectedItems, component: this, htmlElement: this.ref.nativeElement });
1823
- if (resolve) {
1824
- resolve(c.data);
1825
- }
1826
- }
1827
- else {
1828
- if (resolve) {
1829
- resolve(this.selectedItems);
1830
- }
1831
- }
1832
- this.selectBox.refresh();
1833
- });
1834
- });
1835
- }
1836
- }
1837
- AXLOVComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVComponent, deps: [{ token: i1$1.AXPopupService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1838
- AXLOVComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXLOVComponent, selector: "ax-lov", inputs: { validation: "validation", textField: "textField", allowSearch: "allowSearch", valueField: "valueField", hasChildField: "hasChildField", allowNull: "allowNull", popupSize: "popupSize", pagination: "pagination", selectedItems: "selectedItems", readonly: "readonly", disabled: "disabled", chipsWidth: "chipsWidth", size: "size", caption: "caption", mode: "mode", placeholder: "placeholder", rtl: "rtl" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { styleAttribute: "width: 100%" }, providers: [{ provide: AXValidatableComponent, useExisting: AXLOVComponent }], queries: [{ propertyName: "_contentValidation", first: true, predicate: AXValidation, descendants: true, static: true }, { propertyName: "dataSource", first: true, predicate: AXDataSourceComponent, descendants: true, static: true }, { propertyName: "rowTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "columns", predicate: AXGridDataColumn }], viewQueries: [{ propertyName: "selectBox", first: true, predicate: ["selectBox"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-select-box [rowInputTemplate]=\"rowTemplate\" [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [mode]=\"mode\" [(selectedItems)]=\"selectedItems\"\n (selectionChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"light blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box>\n\n\n<!-- <ax-select-box2 [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [selectionMode]=\"mode\" (onValueChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\"\n [(value)]=\"selectedItems\" selectionDataMode=\"item\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"primary blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box2> -->\n\n\n<!-- <div class=\"ax-lov-box\" [style.display]=\"mode=='hidden' ? 'none':'unset'\">\n <div class=\"ax-field-set\">\n <div class=\"ax-field-set-wrapper\" [ngClass]=\"{ 'no-label': !label }\">\n <fieldset [ngClass]=\"{ 'input-focused': isFocused, 'input-error': errorText }\">\n <legend *ngIf=\"label\">\n {{ label }}\n </legend>\n </fieldset>\n <input type=\"text\" [(ngModel)]=\"text\" [placeholder]=\"placeholder\" (keyup)=\"handleKeyEvent($event)\"\n (blur)=\"handleBlurEvent($event)\" (focus)=\"handleFocusEvent($event)\" class=\"ax-text-box\" disabled />\n <div class=\"ax-field-set-button\">\n <button *ngIf=\"text && allowClear\" type=\"button\" class=\"btn btn-light\" (click)=\"clearText()\">\n <i class=\"far fa-times\"></i>\n </button>\n <button type=\"button\" class=\" btn btn-primary\" (click)=\"handleButtonClick($event)\">\n <i class=\"far fa-check-circle\"></i>\n </button>\n </div>\n </div>\n </div>\n <div class=\"validation-text\" *ngIf=\"errorText\">\n {{ errorText }}\n </div>\n\n</div> -->", components: [{ type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "fitParent", "dropdownWidth", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }, { type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["type", "icon", "submitBehavior", "cancelBehavior", "block", "loading", "selected"] }], encapsulation: i0.ViewEncapsulation.None });
1839
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVComponent, decorators: [{
1840
- type: Component,
1841
- args: [{ selector: 'ax-lov', encapsulation: ViewEncapsulation.None, host: { style: 'width: 100%' }, providers: [{ provide: AXValidatableComponent, useExisting: AXLOVComponent }], template: "<ax-select-box [rowInputTemplate]=\"rowTemplate\" [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [mode]=\"mode\" [(selectedItems)]=\"selectedItems\"\n (selectionChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"light blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box>\n\n\n<!-- <ax-select-box2 [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [selectionMode]=\"mode\" (onValueChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\"\n [(value)]=\"selectedItems\" selectionDataMode=\"item\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"primary blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box2> -->\n\n\n<!-- <div class=\"ax-lov-box\" [style.display]=\"mode=='hidden' ? 'none':'unset'\">\n <div class=\"ax-field-set\">\n <div class=\"ax-field-set-wrapper\" [ngClass]=\"{ 'no-label': !label }\">\n <fieldset [ngClass]=\"{ 'input-focused': isFocused, 'input-error': errorText }\">\n <legend *ngIf=\"label\">\n {{ label }}\n </legend>\n </fieldset>\n <input type=\"text\" [(ngModel)]=\"text\" [placeholder]=\"placeholder\" (keyup)=\"handleKeyEvent($event)\"\n (blur)=\"handleBlurEvent($event)\" (focus)=\"handleFocusEvent($event)\" class=\"ax-text-box\" disabled />\n <div class=\"ax-field-set-button\">\n <button *ngIf=\"text && allowClear\" type=\"button\" class=\"btn btn-light\" (click)=\"clearText()\">\n <i class=\"far fa-times\"></i>\n </button>\n <button type=\"button\" class=\" btn btn-primary\" (click)=\"handleButtonClick($event)\">\n <i class=\"far fa-check-circle\"></i>\n </button>\n </div>\n </div>\n </div>\n <div class=\"validation-text\" *ngIf=\"errorText\">\n {{ errorText }}\n </div>\n\n</div> -->" }]
1842
- }], ctorParameters: function () { return [{ type: i1$1.AXPopupService }, { type: i0.ElementRef }]; }, propDecorators: { _contentValidation: [{
1843
- type: ContentChild,
1844
- args: [AXValidation, { static: true }]
1845
- }], validation: [{
1846
- type: Input
1847
- }], selectBox: [{
1848
- type: ViewChild,
1849
- args: ['selectBox', { static: true }]
1850
- }], dataSource: [{
1851
- type: ContentChild,
1852
- args: [AXDataSourceComponent, { static: true }]
1853
- }], columns: [{
1854
- type: ContentChildren,
1855
- args: [AXGridDataColumn]
1856
- }], rowTemplate: [{
1857
- type: ContentChild,
1858
- args: ['itemTemplate', { static: true }]
1859
- }], textField: [{
1860
- type: Input
1861
- }], allowSearch: [{
1862
- type: Input
1863
- }], valueField: [{
1864
- type: Input
1865
- }], hasChildField: [{
1866
- type: Input
1867
- }], allowNull: [{
1868
- type: Input
1869
- }], popupSize: [{
1870
- type: Input
1871
- }], pagination: [{
1872
- type: Input
1873
- }], selectedItems: [{
1874
- type: Input
1875
- }], readonly: [{
1876
- type: Input
1877
- }], disabled: [{
1878
- type: Input
1879
- }], chipsWidth: [{
1880
- type: Input
1881
- }], size: [{
1882
- type: Input
1883
- }], caption: [{
1884
- type: Input
1885
- }], mode: [{
1886
- type: Input
1887
- }], placeholder: [{
1888
- type: Input
1889
- }], onSelectionChange: [{
1890
- type: Output
1891
- }], rtl: [{
1892
- type: Input
1893
- }] } });
1894
-
1895
- class AXLOVModule {
1896
- }
1897
- AXLOVModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1898
- AXLOVModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, declarations: [AXLOVComponent, AXDataLovPopupComponent], imports: [CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule], exports: [AXLOVComponent, AXDataLovPopupComponent] });
1899
- AXLOVModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, providers: [], imports: [[CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule]] });
1900
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, decorators: [{
1901
- type: NgModule,
1902
- args: [{
1903
- declarations: [AXLOVComponent, AXDataLovPopupComponent],
1904
- imports: [CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule],
1905
- exports: [AXLOVComponent, AXDataLovPopupComponent],
1906
- providers: []
1907
- }]
1908
- }] });
1909
-
1910
- /**
1911
- * Generated bundle index. Do not edit.
1912
- */
1913
-
1914
- export { AXDaagridRowClickEvent, AXDataGridCellEvent, AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer, AXDataGridColumnsChangeEvent, AXDataGridComponent, AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer, AXDataGridFilterComponent, AXDataGridModule, AXDataGridRowSelectionChangeEvent, AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer, AXDataGridSelectionChangeEvent, AXDataLovPopupComponent, AXDatePickerFilterComponent, AXGridCheckColumn, AXGridCommandColumn, AXGridDataColumn, AXGridDateColumn, AXGridRowNumberColumn, AXGridSelectionColumn, AXGridTextColumn, AXLOVComponent, AXLOVModule, BooleanFilterRenderer, BooleanRenderer, CommandRenderer, TextFilterRenderer };
1915
- //# sourceMappingURL=acorex-data-grid.mjs.map