@acorex/data-grid 6.5.36 → 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
|
-
|
83
|
-
|
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
|
-
|
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
|
-
|
100
|
-
|
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,
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC1jb2x1bW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtZ3JpZC9jb2x1bW5zL2NvbW1hbmQtY29sdW1uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN0RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxFQUFxQixNQUFNLGVBQWUsQ0FBQzs7O0FBZXRJLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxnQkFBZ0I7SUFQekQ7O1FBU0UsVUFBSyxHQUE0QyxFQUFFLENBQUM7UUFHcEQsZ0JBQVcsR0FBd0MsSUFBSSxZQUFZLEVBQXlCLENBQUM7S0EwQjlGO0lBeEJDLE1BQU07UUFDSixNQUFNLEdBQUcsR0FBRyxLQUFLLENBQ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AgdGhpcy5ub2RlID0gcGFyYW1zLm5vZGU7XG4gICAgdGhpcy5pdGVtcyA9IHR5cGVvZiBwYXJhbXMuaXRlbXMgPT0gJ2Z1bmN0aW9uJyA/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
|
-
|
450
|
-
|
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
|
-
|
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
|
-
|
467
|
-
|
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
|