@acorex/data-grid 6.5.35 → 6.5.37

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,8 +79,8 @@ export class CommandRenderer {
79
79
  }
80
80
  CommandRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CommandRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
81
  CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CommandRenderer, selector: "ax-command-cell", ngImport: i0, template: `
82
- <button
83
- *ngFor="let item of items; let i = index"
82
+ <ng-container *ngFor="let item of items; let i = index">
83
+ <button *ngIf="item.visible !== false"
84
84
  class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
85
85
  [class.disabled]="item.disable"
86
86
  type="button"
@@ -90,14 +90,15 @@ CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
90
90
  >
91
91
  <i [ngClass]="item.icon"></i>{{ item.text }}
92
92
  </button>
93
- `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
93
+ </ng-container>
94
+ `, 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 });
94
95
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CommandRenderer, decorators: [{
95
96
  type: Component,
96
97
  args: [{
97
98
  selector: 'ax-command-cell',
98
99
  template: `
99
- <button
100
- *ngFor="let item of items; let i = index"
100
+ <ng-container *ngFor="let item of items; let i = index">
101
+ <button *ngIf="item.visible !== false"
101
102
  class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
102
103
  [class.disabled]="item.disable"
103
104
  type="button"
@@ -107,9 +108,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
107
108
  >
108
109
  <i [ngClass]="item.icon"></i>{{ item.text }}
109
110
  </button>
111
+ </ng-container>
110
112
  `,
111
113
  encapsulation: ViewEncapsulation.None,
112
114
  changeDetection: ChangeDetectionStrategy.OnPush
113
115
  }]
114
116
  }], ctorParameters: function () { return []; } });
115
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC1jb2x1bW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtZ3JpZC9jb2x1bW5zL2NvbW1hbmQtY29sdW1uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN0RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxFQUFxQixNQUFNLGVBQWUsQ0FBQzs7O0FBZXRJLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxnQkFBZ0I7SUFQekQ7O1FBU0UsVUFBSyxHQUE0QyxFQUFFLENBQUM7UUFHcEQsZ0JBQVcsR0FBd0MsSUFBSSxZQUFZLEVBQXlCLENBQUM7S0EwQjlGO0lBeEJDLE1BQU07UUF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cy5tYXBQYXJhbXMocGFyYW1zKTtcbiAgfVxuXG4gIHJlZnJlc2gocGFyYW1zOiBJQ2VsbFJlbmRlcmVyUGFyYW1zKTogYm9vbGVhbiB7XG4gICAgdGhpcy5tYXBQYXJhbXMocGFyYW1zKTtcbiAgICByZXR1cm4gdHJ1ZTtcbiAgfVxuXG4gIHByaXZhdGUgbWFwUGFyYW1zKHBhcmFtczogYW55KSB7XG4gICAgdGhpcy5ub2RlID0gcGFyYW1zLm5vZGU7XG4gICAgdGhpcy5pdGVtcyA9IHR5cGVvZiBwYXJhbXMuaXRlbXMgPT0gJ2Z1bmN0aW9uJyA/IHBhcmFtcy5pdGVtcyh7IGRhdGE6IHRoaXMubm9kZS5kYXRhIH0pIDogQXJyYXkuaXNBcnJheShwYXJhbXMuaXRlbXMpID8gcGFyYW1zLml0ZW1zIDogW107XG4gICAgdGhpcy5jbGlja0NhbGxiYWNrID0gcGFyYW1zLm9uQ2xpY2s7XG4gIH1cblxuICBvbkNsaWNrKGl0ZW06IEFYTWVudUl0ZW0sIGU6IE1vdXNlRXZlbnQpIHtcbiAgICBpZiAodGhpcy5jbGlja0NhbGxiYWNrICYmICFpdGVtLmRpc2FibGUpIHtcbiAgICAgIHRoaXMuY2xpY2tDYWxsYmFjayh7XG4gICAgICAgIG5hbWU6IGl0ZW0ubmFtZSxcbiAgICAgICAgcm93TGV2ZWw6IHRoaXMubm9kZS5sZXZlbCxcbiAgICAgICAgcm93SW5kZXg6IHRoaXMubm9kZS5yb3dJbmRleCxcbiAgICAgICAgZGF0YTogdGhpcy5ub2RlLmRhdGEsXG4gICAgICAgIGh0bWxFdmVudDogZVxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -446,8 +446,8 @@ class CommandRenderer {
446
446
  }
447
447
  CommandRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CommandRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
448
448
  CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CommandRenderer, selector: "ax-command-cell", ngImport: i0, template: `
449
- <button
450
- *ngFor="let item of items; let i = index"
449
+ <ng-container *ngFor="let item of items; let i = index">
450
+ <button *ngIf="item.visible !== false"
451
451
  class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
452
452
  [class.disabled]="item.disable"
453
453
  type="button"
@@ -457,14 +457,15 @@ CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
457
457
  >
458
458
  <i [ngClass]="item.icon"></i>{{ item.text }}
459
459
  </button>
460
- `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
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 });
461
462
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CommandRenderer, decorators: [{
462
463
  type: Component,
463
464
  args: [{
464
465
  selector: 'ax-command-cell',
465
466
  template: `
466
- <button
467
- *ngFor="let item of items; let i = index"
467
+ <ng-container *ngFor="let item of items; let i = index">
468
+ <button *ngIf="item.visible !== false"
468
469
  class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
469
470
  [class.disabled]="item.disable"
470
471
  type="button"
@@ -474,6 +475,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
474
475
  >
475
476
  <i [ngClass]="item.icon"></i>{{ item.text }}
476
477
  </button>
478
+ </ng-container>
477
479
  `,
478
480
  encapsulation: ViewEncapsulation.None,
479
481
  changeDetection: ChangeDetectionStrategy.OnPush