@acorex/data-grid 16.18.1 → 16.18.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ import { LicenseManager } from 'ag-grid-enterprise';
6
6
  import { AXDataEvent, AXToolbarComponent, AXToolbarSearchComponent, AXValueEvent, } from '@acorex/components';
7
7
  import { AXConfig, AXTranslator } from '@acorex/core';
8
8
  import { AXDatePickerFilterComponent } from './columns/date-column.component';
9
- import { AXDataGridDetailTemplateComponent } from './templates/detail-template.component';
9
+ import { AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer, } from './templates/detail-template.component';
10
10
  import { AXDataGridRowTemplateComponent } from './templates/row-template.component';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "@angular/common";
@@ -251,9 +251,9 @@ export class AXDataGridComponent {
251
251
  if (this.gridDetailTemplate) {
252
252
  this.masterDetail = true;
253
253
  this.detailCellRendererParams = this.gridDetailTemplate.params;
254
- this.detailCellRenderer = 'detailRendererFramework';
255
- this.frameworkComponents.detailRendererFramework =
256
- this.gridDetailTemplate.renderer;
254
+ this.detailCellRenderer = AXDataGridDetailTemplateRenderer;
255
+ // this.frameworkComponents.detailRendererFramework =
256
+ // this.gridDetailTemplate.renderer;
257
257
  this.detailRowHeight = this.gridDetailTemplate.height;
258
258
  }
259
259
  this.isFullWidthCell = () => {
@@ -783,4 +783,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImpor
783
783
  }], onRowSelectionChanged: [{
784
784
  type: Output
785
785
  }] } });
786
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kYXRhLWdyaWQvc3JjL2xpYi9kYXRhLWdyaWQvZGF0YWdyaWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9k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KChpdGVtKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGl0ZW0ucm93SW5kZXggIT0gdW5kZWZpbmVkICYmIGl0ZW0ucm93TGV2ZWwgIT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICBpZiAobm9kZS5kYXRhW3RoaXMua2V5RmllbGRdID09PSBpdGVtLmRhdGFbdGhpcy5rZXlGaWVsZF0pIHtcbiAgICAgICAgICAgICAgICAgICAgc2VsZWN0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICB0aGlzLmtleUZpZWxkICE9PSAnbnVsbCcgJiZcbiAgICAgICAgICAgICAgICAgICAgbm9kZS5kYXRhW3RoaXMua2V5RmllbGRdID09PSBpdGVtW3RoaXMua2V5RmllbGRdXG4gICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgc2VsZWN0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHRoaXMucm93U2VsZWN0YWJsZUNvbmRpdGlvbkZpZWxkKSB7XG4gICAgICAgICAgICAgIG5vZGUuc2V0Um93U2VsZWN0YWJsZShcbiAgICAgICAgICAgICAgICBub2RlLmRhdGFbdGhpcy5yb3dTZWxlY3RhYmxlQ29uZGl0aW9uRmllbGRdXG4gICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBub2RlLnNldFNlbGVjdGVkKHNlbGVjdCk7XG4gICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICByZWJ1aWxkR3JpZCgpIHtcbiAgICB0aGlzLm1hcENvbHVtbnMoKTtcbiAgICBzZXRUaW1lb3V0KCgpID0+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gaWQpIHtcbiAgICAgICAgICAgICAgICBzZWxlY3QgPSB0cnVlO1xuICAgICAgICAgICAgICAgIG5vZGUuc2V0U2VsZWN0ZWQoc2VsZWN0KTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMuZ3JpZEFwaS5mb3JFYWNoTm9kZSgobm9kZSkgPT4ge1xuICAgICAgICAgIGlmIChub2RlLmRhdGEgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgbGV0IHNlbGVjdDogYm9vbGVhbiA9IGZhbHNlO1xuICAgICAgICAgICAgaWYgKHRoaXMuc2VsZWN0Um93Lmxlbmd0aCkge1xuICAgICAgICAgICAgICB0aGlzLnNlbGVjdFJvdy5mb3JFYWNoKChpdGVtKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGl0ZW0ucm93SW5kZXggIT0gdW5kZWZpbmVkICYmIGl0ZW0ucm93TGV2ZWwgIT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICBpZiAobm9kZS5kYXRhW3RoaXMua2V5RmllbGRdID09PSBpdGVtLmRhdGFbdGhpcy5rZXlGaWVsZF0pIHtcbiAgICAgICAgICAgICAgICAgICAgc2VsZWN0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICB0aGlzLmtleUZpZWxkICE9PSAnbnVsbCcgJiZcbiAgICAgICAgICAgICAgICAgICAgbm9kZS5kYXRhW3RoaXMua2V5RmllbGRdID09PSBpdGVtW3RoaXMua2V5RmllbGRdXG4gICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgc2VsZWN0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHRoaXMucm93U2VsZWN0YWJsZUNvbmRpdGlvbkZpZWxkKSB7XG4gICAgICAgICAgICAgIG5vZGUuc2V0Um93U2VsZWN0YWJsZShcbiAgICAgICAgICAgICAgICBub2RlLmRhdGFbdGhpcy5yb3dTZWxlY3RhYmxlQ29uZGl0aW9uRmllbGRdXG4gICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBub2RlLnNldFNlbGVjdGVkKHNlbGVjdCk7XG4gICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICByZWJ1aWxkR3JpZCgpIHtcbiAgICB0aGlzLm1hcENvbHVtbnMoKTtcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgIGlmICh0aGlzLnNpemVDb2x1bW5zVG9GaXQpIHtcbiAgICAgICAgdGhpcy5ncmlkQXBpLnNpemVDb2x1bW5zVG9GaXQoKTtcbiAgICAgIH1cbiAgICB9LCAxMCk7XG4gIH1cblxuICBuZ0FmdGVyVmlld0luaXQoKTogdm9pZCB7XG4gICAgaWYgKHRoaXMudHJlZURhdGEgPT09IHRydWUpIHtcbiAgICAgIHRoaXMuY29sdW1uRGVmcyA9IHRoaXMuY29sdW1ucy5tYXAoKGMpID0+IGMucmVuZGVyKCkpO1xuXG4gICAgICBjb25zdCBncm91cENvbHVtbiA9IHRoaXMuY29sdW1uRGVmcy5maW5kKFxuICAgICAgICAoYykgPT4gYy5yb3dHcm91cEluZGV4ID09ICcwJyAmJiBjLmZpZWxkICE9PSAnJ1xuICAgICAgKTtcblxuICAgICAgdGhpcy5hdXRvR3JvdXBDb2x1bW5EZWYgPSB7XG4gICAgICAgIGhlYWRlck5hbWU6IGdyb3VwQ29sdW1uLmhlYWRlck5hbWUsXG4gICAgICAgIHdpZHRoOiBncm91cENvbHVtbi53aWR0aCxcbiAgICAg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VwiZGV0YWlsQ2VsbFJlbmRlcmVyUGFyYW1zXCJcbiAgW2RldGFpbENlbGxSZW5kZXJlcl09XCJkZXRhaWxDZWxsUmVuZGVyZXJcIlxuICAoZ3JpZFNpemVDaGFuZ2VkKT1cImludGVybmFsR3JpZFNpemVDaGFuZ2VkKCRldmVudClcIlxuICAoZmlyc3REYXRhUmVuZGVyZWQpPVwiaW50ZXJuYWxHcmlkRmlyc3REYXRhUmVuZGVyZWQoJGV2ZW50KVwiXG4gIFtsb2NhbGVUZXh0XT1cImxvY2FsZVRleHRcIlxuICBbZ3JvdXBIaWRlT3BlblBhcmVudHNdPVwiZ3JvdXBIaWRlT3BlblBhcmVudHNcIlxuICBbYWxsb3dDb250ZXh0TWVudVdpdGhDb250cm9sS2V5XT1cImZhbHNlXCJcbiAgW2dldE1haW5NZW51SXRlbXNdPVwiZ2V0TWFpbk1lbnVJdGVtc1wiXG4+XG48L2FnLWdyaWQtYW5ndWxhcj5cblxuPCEtLSAoZGlzcGxheWVkQ29sdW1uc0NoYW5nZWQpPVwiZGlzcGxheWVkQ29sdW1uc0NoYW5nZWQoJGV2ZW50KVwiICAtLT5cbiJdfQ==
@@ -171,7 +171,7 @@ class AXGridDataColumn {
171
171
  }
172
172
  //
173
173
  if (this.cellTemplate != null) {
174
- col.cellRendererFramework = this.cellTemplate.renderer;
174
+ col.cellRenderer = this.cellTemplate.renderer;
175
175
  col.cellRendererParams = this.cellTemplate.params;
176
176
  }
177
177
  if (this.columnGroupShow) {
@@ -286,8 +286,8 @@ class AXGridCheckColumn extends AXGridDataColumn {
286
286
  }
287
287
  render() {
288
288
  const col = super.render();
289
- if (!col.cellRendererFramework) {
290
- col.cellRendererFramework = BooleanRenderer;
289
+ if (!col.cellRenderer) {
290
+ col.cellRenderer = BooleanRenderer;
291
291
  }
292
292
  if (this.allowFiltering) {
293
293
  col.filterFramework = BooleanFilterRenderer;
@@ -419,8 +419,8 @@ class AXGridCommandColumn extends AXGridDataColumn {
419
419
  onItemClick = new EventEmitter();
420
420
  render() {
421
421
  const col = super.render();
422
- if (!col.cellRendererFramework) {
423
- col.cellRendererFramework = CommandRenderer;
422
+ if (!col.cellRenderer) {
423
+ col.cellRenderer = CommandRenderer;
424
424
  }
425
425
  col.cellRendererParams = {
426
426
  items: this.items,
@@ -430,9 +430,9 @@ class AXGridCommandColumn extends AXGridDataColumn {
430
430
  data: e.data,
431
431
  rowIndex: e.rowIndex,
432
432
  rowLevel: e.rowLevel,
433
- htmlEvent: e.htmlEvent
433
+ htmlEvent: e.htmlEvent,
434
434
  });
435
- }
435
+ },
436
436
  };
437
437
  col.sortable = false;
438
438
  col.filter = false;
@@ -451,7 +451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImpor
451
451
  template: '',
452
452
  providers: [{ provide: AXGridDataColumn, useExisting: AXGridCommandColumn }],
453
453
  changeDetection: ChangeDetectionStrategy.OnPush,
454
- encapsulation: ViewEncapsulation.None
454
+ encapsulation: ViewEncapsulation.None,
455
455
  }]
456
456
  }], propDecorators: { items: [{
457
457
  type: Input
@@ -472,7 +472,12 @@ class CommandRenderer {
472
472
  }
473
473
  mapParams(params) {
474
474
  this.node = params.node;
475
- this.items = typeof params.items == 'function' ? params.items({ data: this.node.data }) : Array.isArray(params.items) ? params.items : [];
475
+ this.items =
476
+ typeof params.items == 'function'
477
+ ? params.items({ data: this.node.data })
478
+ : Array.isArray(params.items)
479
+ ? params.items
480
+ : [];
476
481
  this.clickCallback = params.onClick;
477
482
  }
478
483
  onClick(item, e) {
@@ -482,24 +487,27 @@ class CommandRenderer {
482
487
  rowLevel: this.node.level,
483
488
  rowIndex: this.node.rowIndex,
484
489
  data: this.node.data,
485
- htmlEvent: e
490
+ htmlEvent: e,
486
491
  });
487
492
  }
488
493
  }
489
494
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CommandRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
490
495
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.5", type: CommandRenderer, selector: "ax-command-cell", ngImport: i0, template: `
491
- <ng-container *ngFor="let item of items; let i = index">
492
- <button *ngIf="item.visible !== false"
493
- class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
494
- [class.disabled]="item.disable"
495
- type="button"
496
- [title]="item.tooltip"
497
- [attr.tabindex]="i"
498
- (click)="onClick(item, $event)"
499
- >
500
- <i [ngClass]="item.icon"></i>{{ item.text }}
501
- </button>
502
- </ng-container>
496
+ <ng-container *ngFor="let item of items; let i = index">
497
+ <button
498
+ *ngIf="item.visible !== false"
499
+ class="ax button md ax-grid-command-button {{
500
+ item.style || 'ax primary blank'
501
+ }}"
502
+ [class.disabled]="item.disable"
503
+ type="button"
504
+ [title]="item.tooltip"
505
+ [attr.tabindex]="i"
506
+ (click)="onClick(item, $event)"
507
+ >
508
+ <i [ngClass]="item.icon"></i>{{ item.text }}
509
+ </button>
510
+ </ng-container>
503
511
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
504
512
  }
505
513
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: CommandRenderer, decorators: [{
@@ -507,21 +515,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImpor
507
515
  args: [{
508
516
  selector: 'ax-command-cell',
509
517
  template: `
510
- <ng-container *ngFor="let item of items; let i = index">
511
- <button *ngIf="item.visible !== false"
512
- class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
513
- [class.disabled]="item.disable"
514
- type="button"
515
- [title]="item.tooltip"
516
- [attr.tabindex]="i"
517
- (click)="onClick(item, $event)"
518
- >
519
- <i [ngClass]="item.icon"></i>{{ item.text }}
520
- </button>
521
- </ng-container>
518
+ <ng-container *ngFor="let item of items; let i = index">
519
+ <button
520
+ *ngIf="item.visible !== false"
521
+ class="ax button md ax-grid-command-button {{
522
+ item.style || 'ax primary blank'
523
+ }}"
524
+ [class.disabled]="item.disable"
525
+ type="button"
526
+ [title]="item.tooltip"
527
+ [attr.tabindex]="i"
528
+ (click)="onClick(item, $event)"
529
+ >
530
+ <i [ngClass]="item.icon"></i>{{ item.text }}
531
+ </button>
532
+ </ng-container>
522
533
  `,
523
534
  encapsulation: ViewEncapsulation.None,
524
- changeDetection: ChangeDetectionStrategy.OnPush
535
+ changeDetection: ChangeDetectionStrategy.OnPush,
525
536
  }]
526
537
  }], ctorParameters: () => [] });
527
538
 
@@ -1132,9 +1143,9 @@ class AXDataGridComponent {
1132
1143
  if (this.gridDetailTemplate) {
1133
1144
  this.masterDetail = true;
1134
1145
  this.detailCellRendererParams = this.gridDetailTemplate.params;
1135
- this.detailCellRenderer = 'detailRendererFramework';
1136
- this.frameworkComponents.detailRendererFramework =
1137
- this.gridDetailTemplate.renderer;
1146
+ this.detailCellRenderer = AXDataGridDetailTemplateRenderer;
1147
+ // this.frameworkComponents.detailRendererFramework =
1148
+ // this.gridDetailTemplate.renderer;
1138
1149
  this.detailRowHeight = this.gridDetailTemplate.height;
1139
1150
  }
1140
1151
  this.isFullWidthCell = () => {