@acorex/data-grid 6.5.35 → 6.5.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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