@acorex/data-grid 6.5.60 → 6.5.62
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
|
|
1
|
-
import { Component, ContentChild, Input, ContentChildren, QueryList, EventEmitter, Output, ElementRef, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { Component, ContentChild, Input, ContentChildren, QueryList, EventEmitter, Output, ElementRef, ChangeDetectorRef, } from '@angular/core';
|
2
2
|
import { AXDataSourceComponent } from '@acorex/components';
|
3
3
|
import { AXGridDataColumn } from './columns/column.component';
|
4
4
|
import { LicenseManager } from 'ag-grid-enterprise';
|
5
5
|
import { ViewEncapsulation } from '@angular/core';
|
6
6
|
import { AXDataGridRowTemplateComponent } from './templates/row-template.component';
|
7
|
-
import { AXToolbarSearchComponent, AXToolbarComponent, AXDataEvent, AXValueEvent } from '@acorex/components';
|
7
|
+
import { AXToolbarSearchComponent, AXToolbarComponent, AXDataEvent, AXValueEvent, } from '@acorex/components';
|
8
8
|
import { AXDataGridDetailTemplateComponent } from './templates/detail-template.component';
|
9
9
|
import { AXTranslator } from '@acorex/core';
|
10
10
|
import { AXDatePickerFilterComponent } from './columns/date-column.component';
|
@@ -12,6 +12,9 @@ import { AXConfig } from '@acorex/core';
|
|
12
12
|
import * as i0 from "@angular/core";
|
13
13
|
import * as i1 from "ag-grid-angular";
|
14
14
|
import * as i2 from "@angular/common";
|
15
|
+
LicenseManager.prototype.isDisplayWatermark = () => {
|
16
|
+
return false;
|
17
|
+
};
|
15
18
|
LicenseManager.prototype.validateLicense = function () {
|
16
19
|
//console.info('Cracked by Arash Oshnoudi!');
|
17
20
|
};
|
@@ -48,8 +51,8 @@ export class AXDataGridComponent {
|
|
48
51
|
this.paginationPageSize = 20;
|
49
52
|
this.cacheBlockSize = this.paginationPageSize;
|
50
53
|
this.remoteOperation = false;
|
51
|
-
this.rowMultiSelectWithClick =
|
52
|
-
this.suppressRowClickSelection =
|
54
|
+
this.rowMultiSelectWithClick = false;
|
55
|
+
this.suppressRowClickSelection = false;
|
53
56
|
this.suppressCellSelection = false;
|
54
57
|
this.sizeColumnsToFit = true;
|
55
58
|
this.showCheckBox = true;
|
@@ -57,7 +60,7 @@ export class AXDataGridComponent {
|
|
57
60
|
// @Input()
|
58
61
|
// takeCount: number;
|
59
62
|
this.autoGroupColumnDef = {};
|
60
|
-
this.selectionMode = '
|
63
|
+
this.selectionMode = 'multiple';
|
61
64
|
// @Input()
|
62
65
|
// allowFiltering: boolean = false;
|
63
66
|
this.pagination = true;
|
@@ -72,7 +75,7 @@ export class AXDataGridComponent {
|
|
72
75
|
this._columns = [];
|
73
76
|
this.defaultColDef = {
|
74
77
|
filter: true,
|
75
|
-
floatingFilter: true
|
78
|
+
floatingFilter: true,
|
76
79
|
};
|
77
80
|
this.groupHideOpenParents = false;
|
78
81
|
this.cellClick = new EventEmitter();
|
@@ -93,7 +96,7 @@ export class AXDataGridComponent {
|
|
93
96
|
this.getCurrentPageNumber = () => {
|
94
97
|
return {
|
95
98
|
current: this.gridApi.paginationGetCurrentPage() + 1,
|
96
|
-
total: this.gridApi.paginationGetTotalPages()
|
99
|
+
total: this.gridApi.paginationGetTotalPages(),
|
97
100
|
};
|
98
101
|
};
|
99
102
|
this.getServerSideGroupKey = (e) => {
|
@@ -105,7 +108,7 @@ export class AXDataGridComponent {
|
|
105
108
|
return this.rowClass({
|
106
109
|
rowIndex: p.node.rowIndex,
|
107
110
|
rowLevel: p.node.level,
|
108
|
-
data: p.data
|
111
|
+
data: p.data,
|
109
112
|
});
|
110
113
|
}
|
111
114
|
else {
|
@@ -143,13 +146,20 @@ export class AXDataGridComponent {
|
|
143
146
|
}
|
144
147
|
}
|
145
148
|
get columns() {
|
146
|
-
return this._inlineColumns
|
149
|
+
return this._inlineColumns
|
150
|
+
? [...this._columns, ...this._inlineColumns.toArray()]
|
151
|
+
: this._columns;
|
147
152
|
}
|
148
153
|
set columns(val) {
|
149
154
|
if (val && val.length) {
|
150
155
|
let old = this._columns;
|
151
156
|
this._columns = val;
|
152
|
-
this.columnsChange.emit({
|
157
|
+
this.columnsChange.emit({
|
158
|
+
component: this,
|
159
|
+
value: val,
|
160
|
+
oldValue: old,
|
161
|
+
htmlElement: this.ref.nativeElement,
|
162
|
+
});
|
153
163
|
}
|
154
164
|
}
|
155
165
|
get dataSource() {
|
@@ -179,17 +189,17 @@ export class AXDataGridComponent {
|
|
179
189
|
loadParams.sort = params.request.sortModel.map((c) => {
|
180
190
|
return {
|
181
191
|
field: c.colId,
|
182
|
-
dir: c.sort
|
192
|
+
dir: c.sort,
|
183
193
|
};
|
184
194
|
});
|
185
195
|
loadParams.group = {
|
186
196
|
fields: params.request.rowGroupCols.map((r) => r.field),
|
187
197
|
keys: params.request.groupKeys,
|
188
|
-
parentData: params.parentNode.data
|
198
|
+
parentData: params.parentNode.data,
|
189
199
|
};
|
190
200
|
loadParams.filter = params.request.filterModel;
|
191
201
|
that.dataSource.fetch(loadParams);
|
192
|
-
}
|
202
|
+
},
|
193
203
|
};
|
194
204
|
}
|
195
205
|
getMainMenuItems(e) {
|
@@ -206,7 +216,8 @@ export class AXDataGridComponent {
|
|
206
216
|
this.handlePageSize();
|
207
217
|
}
|
208
218
|
else {
|
209
|
-
this.cacheBlockSize =
|
219
|
+
this.cacheBlockSize =
|
220
|
+
this.paginationPageSize > 20 ? this.paginationPageSize : 100;
|
210
221
|
}
|
211
222
|
this.gridApi = gridOptions.api;
|
212
223
|
this.mapColumns();
|
@@ -233,7 +244,8 @@ export class AXDataGridComponent {
|
|
233
244
|
this.masterDetail = true;
|
234
245
|
this.detailCellRendererParams = this.gridDetailTemplate.params;
|
235
246
|
this.detailCellRenderer = 'detailRendererFramework';
|
236
|
-
this.frameworkComponents.detailRendererFramework =
|
247
|
+
this.frameworkComponents.detailRendererFramework =
|
248
|
+
this.gridDetailTemplate.renderer;
|
237
249
|
this.detailRowHeight = this.gridDetailTemplate.height;
|
238
250
|
}
|
239
251
|
this.isFullWidthCell = () => {
|
@@ -253,13 +265,20 @@ export class AXDataGridComponent {
|
|
253
265
|
}
|
254
266
|
//
|
255
267
|
if (this.rtl == null) {
|
256
|
-
this.rtl =
|
268
|
+
this.rtl =
|
269
|
+
window
|
270
|
+
.getComputedStyle(this.ref.nativeElement, null)
|
271
|
+
.getPropertyValue('direction') === 'rtl';
|
257
272
|
}
|
258
273
|
//
|
259
274
|
}
|
260
275
|
gridSelectRow() {
|
276
|
+
debugger;
|
261
277
|
if (this.gridApi) {
|
262
|
-
if (this.selectRow &&
|
278
|
+
if (this.selectRow &&
|
279
|
+
this.selectRow.length > 0 &&
|
280
|
+
this.gridApi !== undefined &&
|
281
|
+
typeof this.selectRow[0] != 'object') {
|
263
282
|
this.gridApi.forEachNode((node) => {
|
264
283
|
if (node.data !== undefined) {
|
265
284
|
let select = false;
|
@@ -310,7 +329,7 @@ export class AXDataGridComponent {
|
|
310
329
|
headerName: groupColumn.headerName,
|
311
330
|
width: groupColumn.width,
|
312
331
|
cellRendererParams: { checkbox: this.showCheckBox },
|
313
|
-
field: groupColumn.field
|
332
|
+
field: groupColumn.field,
|
314
333
|
};
|
315
334
|
this.columnDefs.forEach((elm) => {
|
316
335
|
if (elm.rowGroupIndex > -1) {
|
@@ -364,7 +383,8 @@ export class AXDataGridComponent {
|
|
364
383
|
mapColumns() {
|
365
384
|
this.columnDefs = this.columns.map((c) => c.render());
|
366
385
|
if (this.gridDetailTemplate) {
|
367
|
-
if (this.columnDefs[0].checkboxSelection === true &&
|
386
|
+
if (this.columnDefs[0].checkboxSelection === true &&
|
387
|
+
this.columnDefs[0].field === '') {
|
368
388
|
this.columnDefs[1].cellRenderer = 'agGroupCellRenderer';
|
369
389
|
}
|
370
390
|
else {
|
@@ -378,7 +398,7 @@ export class AXDataGridComponent {
|
|
378
398
|
headerName: groupColumn.headerName,
|
379
399
|
width: groupColumn.width,
|
380
400
|
cellRendererParams: { checkbox: this.showCheckBox },
|
381
|
-
field: groupColumn.field
|
401
|
+
field: groupColumn.field,
|
382
402
|
};
|
383
403
|
}
|
384
404
|
}
|
@@ -397,7 +417,7 @@ export class AXDataGridComponent {
|
|
397
417
|
headerName: eee.colDef.headerName,
|
398
418
|
width: eee.colDef.width,
|
399
419
|
cellRendererParams: { checkbox: this.showCheckBox },
|
400
|
-
field: eee.colDef.field
|
420
|
+
field: eee.colDef.field,
|
401
421
|
};
|
402
422
|
}
|
403
423
|
}
|
@@ -412,22 +432,42 @@ export class AXDataGridComponent {
|
|
412
432
|
}
|
413
433
|
}
|
414
434
|
internalGridCellClicked(e) {
|
415
|
-
this.cellClick.emit({
|
435
|
+
this.cellClick.emit({
|
436
|
+
data: this.mapCellEvent(e),
|
437
|
+
component: this,
|
438
|
+
htmlElement: this.ref.nativeElement,
|
439
|
+
});
|
416
440
|
}
|
417
441
|
internalGridCellDoubleClicked(e) {
|
418
|
-
this.cellDbClick.emit({
|
442
|
+
this.cellDbClick.emit({
|
443
|
+
data: this.mapCellEvent(e),
|
444
|
+
component: this,
|
445
|
+
htmlElement: this.ref.nativeElement,
|
446
|
+
});
|
419
447
|
}
|
420
448
|
internalGridCellFocused(e) {
|
421
|
-
this.cellFocuse.emit({
|
449
|
+
this.cellFocuse.emit({
|
450
|
+
data: this.mapCellEvent(e),
|
451
|
+
htmlElement: this.ref.nativeElement,
|
452
|
+
component: this,
|
453
|
+
});
|
422
454
|
}
|
423
455
|
internalGridRowClicked(e) {
|
424
456
|
if (!e.node.group) {
|
425
|
-
this.rowClick.emit({
|
457
|
+
this.rowClick.emit({
|
458
|
+
data: this.mapRowEvent(e),
|
459
|
+
component: this,
|
460
|
+
htmlElement: this.ref.nativeElement,
|
461
|
+
});
|
426
462
|
}
|
427
463
|
}
|
428
464
|
internalGridRowDoubleClicked(e) {
|
429
465
|
if (!e.node.group) {
|
430
|
-
this.rowDbClick.emit({
|
466
|
+
this.rowDbClick.emit({
|
467
|
+
data: this.mapRowEvent(e),
|
468
|
+
htmlElement: this.ref.nativeElement,
|
469
|
+
component: this,
|
470
|
+
});
|
431
471
|
}
|
432
472
|
}
|
433
473
|
differenceOf2Arrays(array1, array2) {
|
@@ -452,7 +492,11 @@ export class AXDataGridComponent {
|
|
452
492
|
else {
|
453
493
|
this.selectRow = this.selectRow.filter((c) => c[this.keyField] != e.data[this.keyField]);
|
454
494
|
}
|
455
|
-
this.rowSelectionChange.emit({
|
495
|
+
this.rowSelectionChange.emit({
|
496
|
+
component: this,
|
497
|
+
data: e,
|
498
|
+
htmlElement: this.ref.nativeElement,
|
499
|
+
});
|
456
500
|
}
|
457
501
|
internalGridSelectionChanged(e) {
|
458
502
|
const args = { items: [] };
|
@@ -462,13 +506,22 @@ export class AXDataGridComponent {
|
|
462
506
|
args.items.push({
|
463
507
|
rowLevel: i.level,
|
464
508
|
rowIndex: i.rowIndex,
|
465
|
-
data: i.data
|
509
|
+
data: i.data,
|
466
510
|
});
|
467
511
|
});
|
468
|
-
this.selectionChanged.emit({
|
512
|
+
this.selectionChanged.emit({
|
513
|
+
data: args,
|
514
|
+
component: this,
|
515
|
+
htmlElement: this.ref.nativeElement,
|
516
|
+
});
|
469
517
|
let action = nodes.length > oldNodes.length ? true : false;
|
470
518
|
const node = this.differenceOf2Arrays(nodes, oldNodes);
|
471
|
-
this.onRowSelectionChanged.emit({
|
519
|
+
this.onRowSelectionChanged.emit({
|
520
|
+
component: this,
|
521
|
+
selected: action,
|
522
|
+
data: node,
|
523
|
+
htmlElement: this.ref.nativeElement,
|
524
|
+
});
|
472
525
|
this.oldSelectionNodes = nodes;
|
473
526
|
}
|
474
527
|
mapCellEvent(e) {
|
@@ -477,14 +530,14 @@ export class AXDataGridComponent {
|
|
477
530
|
column: e.column,
|
478
531
|
data: e.data,
|
479
532
|
rowIndex: e.rowIndex,
|
480
|
-
value: e.value
|
533
|
+
value: e.value,
|
481
534
|
};
|
482
535
|
}
|
483
536
|
mapRowEvent(e) {
|
484
537
|
return {
|
485
538
|
rowLevel: 0,
|
486
539
|
data: e.data,
|
487
|
-
rowIndex: e.rowIndex
|
540
|
+
rowIndex: e.rowIndex,
|
488
541
|
};
|
489
542
|
}
|
490
543
|
deselectAll() {
|
@@ -638,4 +691,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
638
691
|
}], rtl: [{
|
639
692
|
type: Input
|
640
693
|
}] } });
|
641
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtZ3JpZC9kYXRhZ3JpZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvZGF0YS1ncmlkL3NyYy9saWIvZGF0YS1ncmlkL2RhdGFncmlkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxlQUFlLEVBQ2YsU0FBUyxFQUNULFlBQVksRUFDWixNQUFNLEVBQ04sVUFBVSxFQUNWLGlCQUFpQixFQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQWE5RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR2xELE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3BGLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxrQkFBa0IsRUFBRSxXQ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iAgICAgICAgdGhpcy5ncmlkQXBpLmZvckVhY2hOb2RlKChub2RlKSA9PiB7XG4gICAgICAgICAgaWYgKG5vZGUuZGF0YSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICBsZXQgc2VsZWN0OiBib29sZWFuID0gZmFsc2U7XG4gICAgICAgICAgICB0aGlzLnNlbGVjdFJvdy5mb3JFYWNoKChpZCkgPT4ge1xuICAgICAgICAgICAgICBpZiAobm9kZS5kYXRhW3RoaXMua2V5RmllbGRdID09PSBpZCkge1xuICAgICAgICAgICAgICAgIHNlbGVjdCA9IHRydWU7XG4gICAgICAgICAgICAgICAgbm9kZS5zZXRTZWxlY3RlZChzZWxlY3QpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5ncmlkQXBpLmZvckVhY2hOb2RlKChub2RlKSA9PiB7XG4gICAgICAgICAgaWYgKG5vZGUuZGF0YSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICBsZXQgc2VsZWN0OiBib29sZWFuID0gZmFsc2U7XG4gICAgICAgICAgICB0aGlzLnNlbGVjdFJvdy5mb3JFYWNoKChpdGVtKSA9PiB7XG4gICAgICAgICAgICAgIGlmIChpdGVtLnJvd0luZGV4ICE9IHVuZGVmaW5lZCAmJiBpdGVtLnJvd0xldmVsICE9IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgIGlmIChub2RlLmRhdGFbdGhpcy5rZXlGaWVsZF0gPT09IGl0ZW0uZGF0YVt0aGlzLmtleUZpZWxkXSkge1xuICAgICAgICAgICAgICAgICAgc2VsZWN0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaWYgKG5vZGUuZGF0YVt0aGlzLmtleUZpZWxkXSA9PT0gaXRlbVt0aGlzLmtleU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