@rxap/material-table-system 16.0.0-dev.2 → 16.0.0-dev.3
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.
- package/CHANGELOG.md +674 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +7 -8
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +7 -8
- package/esm2022/lib/cells/date-cell/date-cell.component.mjs +8 -9
- package/esm2022/lib/cells/icon-cell/icon-cell.component.mjs +7 -8
- package/esm2022/lib/cells/image-cell/image-cell.component.mjs +9 -10
- package/esm2022/lib/cells/link-cell/link-cell.component.mjs +8 -9
- package/esm2022/lib/cells/options-cell/options-cell.component.mjs +8 -9
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +8 -9
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +26 -20
- package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +7 -8
- package/esm2022/lib/expand-row/expand-row.directive.mjs +7 -8
- package/esm2022/lib/expand-row/expand-row.module.mjs +10 -11
- package/esm2022/lib/expand-row/expand-row.service.mjs +5 -6
- package/esm2022/lib/persistent-paginator.directive.mjs +7 -8
- package/esm2022/lib/row-animation.mjs +16 -8
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +7 -8
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +11 -12
- package/esm2022/lib/select-row/select-row.options.mjs +1 -1
- package/esm2022/lib/select-row/select-row.service.mjs +6 -7
- package/esm2022/lib/select-row/selected-rows.directive.mjs +8 -9
- package/esm2022/lib/select-row/selection-model.mjs +1 -1
- package/esm2022/lib/select-row/tokens.mjs +1 -1
- package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +9 -10
- package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +7 -8
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +8 -9
- package/esm2022/lib/table-create-button/table-create-button.directive.mjs +8 -9
- package/esm2022/lib/table-create-button/tokens.mjs +1 -1
- package/esm2022/lib/table-data-source.directive.mjs +12 -12
- package/esm2022/lib/table-filter/filter-header-row.directive.mjs +14 -15
- package/esm2022/lib/table-filter/table-filter.service.mjs +9 -9
- package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +7 -8
- package/esm2022/lib/table-filter/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/decorators.mjs +6 -3
- package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +8 -9
- package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +7 -8
- package/esm2022/lib/table-row-actions/table-row-action-status.mjs +1 -1
- package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +17 -13
- package/esm2022/lib/table-row-actions/table-row-action.method.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +8 -9
- package/esm2022/lib/table-row-actions/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/types.mjs +1 -1
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +9 -10
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +17 -18
- package/esm2022/lib/table-row-controls/tokens.mjs +1 -1
- package/esm2022/lib/table-row-metadata.mjs +1 -1
- package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +9 -10
- package/esm2022/rxap-material-table-system.mjs +1 -1
- package/fesm2022/rxap-material-table-system.mjs +196 -171
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/lib/cells/options-cell/options-cell.component.d.ts +1 -1
- package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +2 -2
- package/lib/select-row/selected-rows.directive.d.ts +1 -1
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +1 -1
- package/lib/table-create-button/table-create-button.directive.d.ts +2 -2
- package/lib/table-create-button/tokens.d.ts +1 -1
- package/lib/table-data-source.directive.d.ts +3 -2
- package/lib/table-filter/filter-header-row.directive.d.ts +1 -1
- package/lib/table-row-actions/table-row-action.directive.d.ts +1 -1
- package/lib/table-row-actions/table-row-action.method.d.ts +1 -1
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +1 -1
- package/lib/table-row-actions/types.d.ts +1 -1
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +2 -2
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +2 -2
- package/lib/table-row-metadata.d.ts +1 -1
- package/lib/table-select-controls/table-select-controls.component.d.ts +1 -1
- package/package.json +90 -63
- package/src/lib/cells/boolean-cell/_boolean-cell.component.theme.scss +28 -0
- package/LICENSE +0 -27
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
|
@@ -20,7 +20,7 @@ import * as i2 from '@angular/material/sort';
|
|
|
20
20
|
import { MatSort } from '@angular/material/sort';
|
|
21
21
|
import { RXAP_TABLE_METHOD, DynamicTableDataSource } from '@rxap/data-source/table';
|
|
22
22
|
export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
|
|
23
|
-
import { ToggleSubject } from '@rxap/
|
|
23
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
24
24
|
import { pipeDataSource } from '@rxap/data-source';
|
|
25
25
|
import * as i1$2 from '@angular/material/paginator';
|
|
26
26
|
import { FormDirective } from '@rxap/forms';
|
|
@@ -41,7 +41,7 @@ import { FlexModule } from '@angular/flex-layout/flex';
|
|
|
41
41
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
42
42
|
import { IconDirective } from '@rxap/material-directives/icon';
|
|
43
43
|
import { MatOption } from '@angular/material/core';
|
|
44
|
-
import { setMetadata, getMetadata, hasMetadata } from '@rxap/
|
|
44
|
+
import { setMetadata, getMetadata, hasMetadata } from '@rxap/reflect-metadata';
|
|
45
45
|
import * as i3$3 from '@angular/material/snack-bar';
|
|
46
46
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
47
47
|
import * as i1$4 from '@angular/cdk/overlay';
|
|
@@ -65,10 +65,10 @@ class ExpandRowService {
|
|
|
65
65
|
isExpanded$(row) {
|
|
66
66
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
67
67
|
}
|
|
68
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
69
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
69
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowService }); }
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
72
72
|
type: Injectable
|
|
73
73
|
}] });
|
|
74
74
|
|
|
@@ -82,18 +82,18 @@ class ExpandRowDirective {
|
|
|
82
82
|
onClick() {
|
|
83
83
|
this.expandCell.toggleRow(this.element);
|
|
84
84
|
}
|
|
85
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
86
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
85
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
86
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ExpandRowDirective, isStandalone: true, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 }); }
|
|
87
87
|
}
|
|
88
88
|
__decorate([
|
|
89
89
|
Required,
|
|
90
90
|
__metadata("design:type", Object)
|
|
91
91
|
], ExpandRowDirective.prototype, "element", void 0);
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
93
93
|
type: Directive,
|
|
94
94
|
args: [{
|
|
95
95
|
selector: 'tr[rxapExpandRow]',
|
|
96
|
-
standalone: true
|
|
96
|
+
standalone: true,
|
|
97
97
|
}]
|
|
98
98
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
99
99
|
type: Inject,
|
|
@@ -109,22 +109,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
109
109
|
}] } });
|
|
110
110
|
|
|
111
111
|
class ExpandRowModule {
|
|
112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
113
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
114
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
115
|
-
ExpandRowService
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
113
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, imports: [ExpandRowDirective], exports: [ExpandRowDirective] }); }
|
|
114
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, providers: [
|
|
115
|
+
ExpandRowService,
|
|
116
116
|
] }); }
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
119
119
|
type: NgModule,
|
|
120
120
|
args: [{
|
|
121
121
|
imports: [ExpandRowDirective],
|
|
122
122
|
exports: [
|
|
123
|
-
ExpandRowDirective
|
|
123
|
+
ExpandRowDirective,
|
|
124
124
|
],
|
|
125
125
|
providers: [
|
|
126
|
-
ExpandRowService
|
|
127
|
-
]
|
|
126
|
+
ExpandRowService,
|
|
127
|
+
],
|
|
128
128
|
}]
|
|
129
129
|
}] });
|
|
130
130
|
|
|
@@ -135,14 +135,14 @@ class ExpandRowContentDirective {
|
|
|
135
135
|
constructor(template) {
|
|
136
136
|
this.template = template;
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
139
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
139
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ExpandRowContentDirective, isStandalone: true, selector: "[rxapExpandRowContent]", ngImport: i0 }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
142
142
|
type: Directive,
|
|
143
143
|
args: [{
|
|
144
144
|
selector: '[rxapExpandRowContent]',
|
|
145
|
-
standalone: true
|
|
145
|
+
standalone: true,
|
|
146
146
|
}]
|
|
147
147
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
148
148
|
type: Inject,
|
|
@@ -162,33 +162,40 @@ class ExpandRowContainerComponent {
|
|
|
162
162
|
if (this.expandCellContent) {
|
|
163
163
|
this._subscription = this.expandCell.isExpanded$(this.element).pipe(filter(Boolean), tap(() => {
|
|
164
164
|
if (!this.portal) {
|
|
165
|
-
this.portal =
|
|
165
|
+
this.portal =
|
|
166
|
+
new TemplatePortal(this.expandCellContent.template, this.viewContainerRef, { $implicit: this.element });
|
|
166
167
|
}
|
|
167
168
|
})).subscribe();
|
|
168
169
|
}
|
|
169
170
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
171
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
171
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
172
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ExpandRowContainerComponent, isStandalone: true, selector: "td[rxap-expand-row]", inputs: { element: "element" }, queries: [{ propertyName: "expandCellContent", first: true, predicate: ExpandRowContentDirective, descendants: true }], ngImport: i0, template: "<div [@detailExpand]=\"(expandCell.isExpanded$(element) | async) ? 'expanded' : 'collapsed'\" class=\"element-detail\">\n <ng-content></ng-content>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</div>\n", styles: [".element-detail{overflow:hidden;display:flex}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [
|
|
172
173
|
trigger('detailExpand', [
|
|
173
|
-
state('collapsed', style({
|
|
174
|
+
state('collapsed', style({
|
|
175
|
+
height: '0px',
|
|
176
|
+
minHeight: '0',
|
|
177
|
+
})),
|
|
174
178
|
state('expanded', style({ height: '*' })),
|
|
175
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
176
|
-
])
|
|
179
|
+
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
|
180
|
+
]),
|
|
177
181
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178
182
|
}
|
|
179
183
|
__decorate([
|
|
180
184
|
Required,
|
|
181
185
|
__metadata("design:type", Object)
|
|
182
186
|
], ExpandRowContainerComponent.prototype, "element", void 0);
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
184
188
|
type: Component,
|
|
185
|
-
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
189
|
+
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
186
190
|
trigger('detailExpand', [
|
|
187
|
-
state('collapsed', style({
|
|
191
|
+
state('collapsed', style({
|
|
192
|
+
height: '0px',
|
|
193
|
+
minHeight: '0',
|
|
194
|
+
})),
|
|
188
195
|
state('expanded', style({ height: '*' })),
|
|
189
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
190
|
-
])
|
|
191
|
-
], standalone: true, imports: [PortalModule, AsyncPipe], template: "<div
|
|
196
|
+
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
|
197
|
+
]),
|
|
198
|
+
], standalone: true, imports: [PortalModule, AsyncPipe], template: "<div [@detailExpand]=\"(expandCell.isExpanded$(element) | async) ? 'expanded' : 'collapsed'\" class=\"element-detail\">\n <ng-content></ng-content>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</div>\n", styles: [".element-detail{overflow:hidden;display:flex}\n"] }]
|
|
192
199
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef, decorators: [{
|
|
193
200
|
type: Inject,
|
|
194
201
|
args: [ViewContainerRef]
|
|
@@ -206,16 +213,16 @@ class ExpandControlsCellComponent {
|
|
|
206
213
|
constructor(expandCell) {
|
|
207
214
|
this.expandCell = expandCell;
|
|
208
215
|
}
|
|
209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
210
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ExpandControlsCellComponent, isStandalone: true, selector: "td[rxap-expand-controls-cell]", inputs: { element: "element" }, ngImport: i0, template: "<button mat-icon-button>\n <mat-icon *ngIf=\"expandCell.isExpanded$(element) | async; else notExpanded\">expand_more</mat-icon>\n <ng-template #notExpanded>\n <mat-icon>keyboard_arrow_right</mat-icon>\n </ng-template>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
211
218
|
}
|
|
212
219
|
__decorate([
|
|
213
220
|
Required,
|
|
214
221
|
__metadata("design:type", Object)
|
|
215
222
|
], ExpandControlsCellComponent.prototype, "element", void 0);
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandControlsCellComponent, decorators: [{
|
|
217
224
|
type: Component,
|
|
218
|
-
args: [{ selector: 'td[rxap-expand-controls-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
225
|
+
args: [{ selector: 'td[rxap-expand-controls-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatButtonModule, NgIf, MatIconModule, AsyncPipe], template: "<button mat-icon-button>\n <mat-icon *ngIf=\"expandCell.isExpanded$(element) | async; else notExpanded\">expand_more</mat-icon>\n <ng-template #notExpanded>\n <mat-icon>keyboard_arrow_right</mat-icon>\n </ng-template>\n</button>\n" }]
|
|
219
226
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
220
227
|
type: Inject,
|
|
221
228
|
args: [ExpandRowService]
|
|
@@ -451,10 +458,10 @@ class SelectRowService {
|
|
|
451
458
|
this.selectionModel = new SelectionModel(options?.multiple, options?.selected, options?.emitChanges, options?.compareWith);
|
|
452
459
|
this.selectedRows$ = this.selectionModel.changed.pipe(map(() => this.selectionModel.selected));
|
|
453
460
|
}
|
|
454
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
455
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowService, deps: [{ token: RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
462
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowService }); }
|
|
456
463
|
}
|
|
457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowService, decorators: [{
|
|
458
465
|
type: Injectable
|
|
459
466
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
460
467
|
type: Optional
|
|
@@ -467,16 +474,16 @@ class CheckboxCellComponent {
|
|
|
467
474
|
constructor(selectRow) {
|
|
468
475
|
this.selectRow = selectRow;
|
|
469
476
|
}
|
|
470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
471
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
478
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CheckboxCellComponent, isStandalone: true, selector: "td[rxap-checkbox-cell]", inputs: { element: "element" }, ngImport: i0, template: "<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
472
479
|
}
|
|
473
480
|
__decorate([
|
|
474
481
|
Required,
|
|
475
482
|
__metadata("design:type", Object)
|
|
476
483
|
], CheckboxCellComponent.prototype, "element", void 0);
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
478
485
|
type: Component,
|
|
479
|
-
args: [{ selector: 'td[rxap-checkbox-cell]', changeDetection: ChangeDetectionStrategy.Default,
|
|
486
|
+
args: [{ selector: 'td[rxap-checkbox-cell]', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [MatCheckboxModule], template: "<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n" }]
|
|
480
487
|
}], ctorParameters: function () { return [{ type: SelectRowService, decorators: [{
|
|
481
488
|
type: Inject,
|
|
482
489
|
args: [SelectRowService]
|
|
@@ -508,16 +515,16 @@ class CheckboxHeaderCellComponent {
|
|
|
508
515
|
this.selectRow.selectionModel.clear();
|
|
509
516
|
}
|
|
510
517
|
}
|
|
511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
512
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxHeaderCellComponent, deps: [{ token: CdkTable }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CheckboxHeaderCellComponent, isStandalone: true, selector: "th[rxap-checkbox-header-cell]", ngImport: i0, template: "<mat-checkbox\n (change)=\"onChange($event)\"\n *ngIf=\"isMultipleSelection\"\n [checked]=\"(checked$ | async) ?? false\"\n [indeterminate]=\"indeterminate$ | async\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
513
520
|
}
|
|
514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
515
522
|
type: Component,
|
|
516
|
-
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
523
|
+
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
517
524
|
NgIf,
|
|
518
525
|
MatCheckboxModule,
|
|
519
|
-
AsyncPipe
|
|
520
|
-
], template: "<mat-checkbox\n
|
|
526
|
+
AsyncPipe,
|
|
527
|
+
], template: "<mat-checkbox\n (change)=\"onChange($event)\"\n *ngIf=\"isMultipleSelection\"\n [checked]=\"(checked$ | async) ?? false\"\n [indeterminate]=\"indeterminate$ | async\">\n</mat-checkbox>\n" }]
|
|
521
528
|
}], ctorParameters: function () { return [{ type: i3$1.CdkTable, decorators: [{
|
|
522
529
|
type: Inject,
|
|
523
530
|
args: [CdkTable]
|
|
@@ -542,14 +549,14 @@ class SelectedRowsDirective {
|
|
|
542
549
|
this.cdr.detectChanges();
|
|
543
550
|
})).subscribe();
|
|
544
551
|
}
|
|
545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
546
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectedRowsDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
553
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: SelectedRowsDirective, isStandalone: true, selector: "[rxapSelectedRows]", ngImport: i0 }); }
|
|
547
554
|
}
|
|
548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
549
556
|
type: Directive,
|
|
550
557
|
args: [{
|
|
551
558
|
selector: '[rxapSelectedRows]',
|
|
552
|
-
standalone: true
|
|
559
|
+
standalone: true,
|
|
553
560
|
}]
|
|
554
561
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
555
562
|
type: Inject,
|
|
@@ -572,21 +579,29 @@ const RowAnimation = trigger('rowsAnimation', [
|
|
|
572
579
|
height: '*',
|
|
573
580
|
opacity: '0',
|
|
574
581
|
transform: 'translateY(' + (-offset).toString() + 'px)',
|
|
575
|
-
'box-shadow': 'none'
|
|
582
|
+
'box-shadow': 'none',
|
|
576
583
|
}),
|
|
577
584
|
sequence([
|
|
578
585
|
animate('.2s ease', style({
|
|
579
586
|
height: '*',
|
|
580
587
|
opacity: '.2',
|
|
581
588
|
transform: 'translateX(0)',
|
|
582
|
-
'box-shadow': 'none'
|
|
589
|
+
'box-shadow': 'none',
|
|
583
590
|
})),
|
|
584
|
-
animate('.35s ease', style({
|
|
585
|
-
|
|
591
|
+
animate('.35s ease', style({
|
|
592
|
+
height: '*',
|
|
593
|
+
opacity: 1,
|
|
594
|
+
transform: 'translateX(0)',
|
|
595
|
+
})),
|
|
596
|
+
]),
|
|
586
597
|
]),
|
|
587
598
|
transition('* => void', [
|
|
588
|
-
style({
|
|
589
|
-
|
|
599
|
+
style({
|
|
600
|
+
height: '0',
|
|
601
|
+
opacity: '0',
|
|
602
|
+
'box-shadow': 'none',
|
|
603
|
+
}),
|
|
604
|
+
]),
|
|
590
605
|
]);
|
|
591
606
|
|
|
592
607
|
class TableFilterService {
|
|
@@ -618,6 +633,7 @@ class TableFilterService {
|
|
|
618
633
|
}
|
|
619
634
|
remove(key) {
|
|
620
635
|
const current = this.current;
|
|
636
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
621
637
|
if (current.hasOwnProperty(key)) {
|
|
622
638
|
delete current[key];
|
|
623
639
|
}
|
|
@@ -626,10 +642,10 @@ class TableFilterService {
|
|
|
626
642
|
ngOnDestroy() {
|
|
627
643
|
this._subscription.unsubscribe();
|
|
628
644
|
}
|
|
629
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
630
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
646
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterService }); }
|
|
631
647
|
}
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterService, decorators: [{
|
|
633
649
|
type: Injectable
|
|
634
650
|
}], ctorParameters: function () { return []; } });
|
|
635
651
|
|
|
@@ -644,6 +660,7 @@ class TableDataSourceDirective {
|
|
|
644
660
|
/**
|
|
645
661
|
* @deprecated use dataSource instead
|
|
646
662
|
*/
|
|
663
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
647
664
|
set setDataSource(dataSource) {
|
|
648
665
|
if (typeof dataSource !== 'string') {
|
|
649
666
|
this.dataSource = dataSource;
|
|
@@ -679,7 +696,7 @@ class TableDataSourceDirective {
|
|
|
679
696
|
this.refresh = this.refresh.bind(this);
|
|
680
697
|
}
|
|
681
698
|
trackBy(index, item) {
|
|
682
|
-
return item
|
|
699
|
+
return item['uuid'] ?? index;
|
|
683
700
|
}
|
|
684
701
|
ngOnInit() {
|
|
685
702
|
const tableFilter = this._tableFilter ?? this.tableFilter ?? undefined;
|
|
@@ -736,19 +753,19 @@ class TableDataSourceDirective {
|
|
|
736
753
|
retry() {
|
|
737
754
|
this.dataSource?.retry();
|
|
738
755
|
}
|
|
739
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
740
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
756
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableDataSourceDirective, deps: [{ token: CdkTable }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_METHOD, optional: true }, { token: TABLE_DATA_SOURCE, optional: true }, { token: TABLE_REMOTE_METHOD_ADAPTER_FACTORY, optional: true }, { token: MatSort, optional: true }, { token: TableFilterService, optional: true }, { token: RXAP_TABLE_FILTER, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
757
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableDataSourceDirective, isStandalone: true, selector: "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", inputs: { setDataSource: ["rxapTableDataSource", "setDataSource"], paginator: "paginator", id: "id", parameters: "parameters", dataSource: "dataSource" }, exportAs: ["rxapTableDataSource"], ngImport: i0 }); }
|
|
741
758
|
}
|
|
742
759
|
__decorate([
|
|
743
760
|
Required,
|
|
744
761
|
__metadata("design:type", String)
|
|
745
762
|
], TableDataSourceDirective.prototype, "id", void 0);
|
|
746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
747
764
|
type: Directive,
|
|
748
765
|
args: [{
|
|
749
766
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
750
767
|
exportAs: 'rxapTableDataSource',
|
|
751
|
-
standalone: true
|
|
768
|
+
standalone: true,
|
|
752
769
|
}]
|
|
753
770
|
}], ctorParameters: function () { return [{ type: i3$1.CdkTable, decorators: [{
|
|
754
771
|
type: Inject,
|
|
@@ -829,14 +846,14 @@ class PersistentPaginatorDirective {
|
|
|
829
846
|
}
|
|
830
847
|
return null;
|
|
831
848
|
}
|
|
832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
833
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
849
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1$2.MatPaginator }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
850
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: PersistentPaginatorDirective, isStandalone: true, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 }); }
|
|
834
851
|
}
|
|
835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
836
853
|
type: Directive,
|
|
837
854
|
args: [{
|
|
838
855
|
selector: 'mat-paginator[rxapPersistent]',
|
|
839
|
-
standalone: true
|
|
856
|
+
standalone: true,
|
|
840
857
|
}]
|
|
841
858
|
}], ctorParameters: function () { return [{ type: i1$2.MatPaginator }]; }, propDecorators: { id: [{
|
|
842
859
|
type: Input
|
|
@@ -865,28 +882,28 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
865
882
|
super.ngOnDestroy();
|
|
866
883
|
this._subscription?.unsubscribe();
|
|
867
884
|
}
|
|
868
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
869
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
886
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: FilterHeaderRowDirective, isStandalone: true, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
|
|
870
887
|
{
|
|
871
888
|
provide: ControlContainer,
|
|
872
889
|
// ignore coverage
|
|
873
|
-
useExisting: forwardRef(() => FilterHeaderRowDirective)
|
|
874
|
-
}
|
|
890
|
+
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
891
|
+
},
|
|
875
892
|
], usesInheritance: true, ngImport: i0 }); }
|
|
876
893
|
}
|
|
877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
878
895
|
type: Directive,
|
|
879
896
|
args: [{
|
|
880
|
-
//
|
|
897
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
881
898
|
selector: 'table[rxap-filter-header-row]',
|
|
882
899
|
providers: [
|
|
883
900
|
{
|
|
884
901
|
provide: ControlContainer,
|
|
885
902
|
// ignore coverage
|
|
886
|
-
useExisting: forwardRef(() => FilterHeaderRowDirective)
|
|
887
|
-
}
|
|
903
|
+
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
904
|
+
},
|
|
888
905
|
],
|
|
889
|
-
standalone: true
|
|
906
|
+
standalone: true,
|
|
890
907
|
}]
|
|
891
908
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
892
909
|
type: Optional
|
|
@@ -902,14 +919,14 @@ class ToFilterColumnNamesPipe {
|
|
|
902
919
|
transform(columns) {
|
|
903
920
|
return columns.map(column => 'filter_' + column);
|
|
904
921
|
}
|
|
905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
906
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
922
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ToFilterColumnNamesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
923
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ToFilterColumnNamesPipe, isStandalone: true, name: "toFilterColumnNames" }); }
|
|
907
924
|
}
|
|
908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
909
926
|
type: Pipe,
|
|
910
927
|
args: [{
|
|
911
928
|
name: 'toFilterColumnNames',
|
|
912
|
-
standalone: true
|
|
929
|
+
standalone: true,
|
|
913
930
|
}]
|
|
914
931
|
}] });
|
|
915
932
|
|
|
@@ -963,14 +980,14 @@ class TableColumnOptionComponent {
|
|
|
963
980
|
this.active = false;
|
|
964
981
|
localStorage.setItem(this.cacheId, 'false');
|
|
965
982
|
}
|
|
966
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
967
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
983
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
984
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableColumnOptionComponent, isStandalone: true, selector: "rxap-table-column-option", inputs: { name: "name", active: "active", inactive: "inactive", hidden: "hidden", show: "show" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] }); }
|
|
968
985
|
}
|
|
969
986
|
__decorate([
|
|
970
987
|
Required,
|
|
971
988
|
__metadata("design:type", String)
|
|
972
989
|
], TableColumnOptionComponent.prototype, "name", void 0);
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
974
991
|
type: Component,
|
|
975
992
|
args: [{ selector: 'rxap-table-column-option', standalone: true, template: "<ng-content></ng-content>\n" }]
|
|
976
993
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
@@ -1019,20 +1036,20 @@ class TableColumnMenuComponent {
|
|
|
1019
1036
|
.forEach((column) => column.deactivate());
|
|
1020
1037
|
this.updateDisplayColumns();
|
|
1021
1038
|
}
|
|
1022
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1023
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1039
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1040
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableColumnMenuComponent, isStandalone: true, selector: "rxap-table-column-menu", inputs: { matCard: "matCard" }, host: { properties: { "class.mat-card-mode": "this._matCardMode" } }, queries: [{ propertyName: "columns", predicate: TableColumnOptionComponent }], exportAs: ["rxapTableColumns"], ngImport: i0, template: "<button [matMenuTriggerFor]=\"columnMenu\" mat-icon-button type=\"button\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\n rxapStopPropagation\n >\n <mat-checkbox\n (change)=\"column.toggle(); updateDisplayColumns()\"\n [checked]=\"column.active\">\n {{ column.display }}\n </mat-checkbox>\n </span>\n <ng-content select=\"[mat-menu-item],mat-divider\"></ng-content>\n</mat-menu>\n", styles: [":host.mat-card-mode{position:absolute;inset:8px 8px auto auto}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1024
1041
|
}
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
1026
1043
|
type: Component,
|
|
1027
|
-
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1044
|
+
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'rxapTableColumns', standalone: true, imports: [
|
|
1028
1045
|
MatButtonModule,
|
|
1029
1046
|
MatMenuModule,
|
|
1030
1047
|
MatIconModule,
|
|
1031
1048
|
NgFor,
|
|
1032
1049
|
StopPropagationDirective,
|
|
1033
1050
|
ExtendedModule,
|
|
1034
|
-
MatCheckboxModule
|
|
1035
|
-
], template: "<button
|
|
1051
|
+
MatCheckboxModule,
|
|
1052
|
+
], template: "<button [matMenuTriggerFor]=\"columnMenu\" mat-icon-button type=\"button\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\n rxapStopPropagation\n >\n <mat-checkbox\n (change)=\"column.toggle(); updateDisplayColumns()\"\n [checked]=\"column.active\">\n {{ column.display }}\n </mat-checkbox>\n </span>\n <ng-content select=\"[mat-menu-item],mat-divider\"></ng-content>\n</mat-menu>\n", styles: [":host.mat-card-mode{position:absolute;inset:8px 8px auto auto}\n"] }]
|
|
1036
1053
|
}], propDecorators: { columns: [{
|
|
1037
1054
|
type: ContentChildren,
|
|
1038
1055
|
args: [TableColumnOptionComponent]
|
|
@@ -1057,12 +1074,12 @@ class TableShowArchivedSlideComponent {
|
|
|
1057
1074
|
this.tableColumnMenu.deactivate('removedAt');
|
|
1058
1075
|
}
|
|
1059
1076
|
}
|
|
1060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1061
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableShowArchivedSlideComponent, deps: [{ token: TableFilterService }, { token: TableColumnMenuComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1078
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableShowArchivedSlideComponent, isStandalone: true, selector: "rxap-table-show-archived-slide", ngImport: i0, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i3$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1062
1079
|
}
|
|
1063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1064
1081
|
type: Component,
|
|
1065
|
-
args: [{ selector: '
|
|
1082
|
+
args: [{ selector: 'rxap-table-show-archived-slide', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [StopPropagationDirective, MatSlideToggleModule], template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n" }]
|
|
1066
1083
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: TableColumnMenuComponent }]; } });
|
|
1067
1084
|
|
|
1068
1085
|
const TABLE_CREATE_REMOTE_METHOD = new InjectionToken('table-create-remote-method');
|
|
@@ -1088,18 +1105,18 @@ class TableCreateButtonDirective {
|
|
|
1088
1105
|
}
|
|
1089
1106
|
this.dataSource.refresh();
|
|
1090
1107
|
}
|
|
1091
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1092
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCreateButtonDirective, deps: [{ token: TABLE_CREATE_REMOTE_METHOD }, { token: ElementRef }, { token: Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1109
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableCreateButtonDirective, isStandalone: true, selector: "button[rxapTableCreate]", inputs: { dataSource: ["rxapTableCreate", "dataSource"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
1093
1110
|
}
|
|
1094
1111
|
__decorate([
|
|
1095
1112
|
Required,
|
|
1096
1113
|
__metadata("design:type", TableDataSourceDirective)
|
|
1097
1114
|
], TableCreateButtonDirective.prototype, "dataSource", void 0);
|
|
1098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1099
1116
|
type: Directive,
|
|
1100
1117
|
args: [{
|
|
1101
1118
|
selector: 'button[rxapTableCreate]',
|
|
1102
|
-
standalone: true
|
|
1119
|
+
standalone: true,
|
|
1103
1120
|
}]
|
|
1104
1121
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1105
1122
|
type: Inject,
|
|
@@ -1178,16 +1195,16 @@ class RowControlsCellComponent {
|
|
|
1178
1195
|
this.tableDataSource.refresh();
|
|
1179
1196
|
}
|
|
1180
1197
|
}
|
|
1181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1182
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsCellComponent, deps: [{ token: TableDataSourceDirective }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }, { token: ROW_EDIT_METHOD, optional: true }, { token: ROW_VIEW_METHOD, optional: true }, { token: ROW_LINK_METHOD, optional: true }, { token: ROW_EDIT_LOADER_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1199
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: RowControlsCellComponent, isStandalone: true, selector: "td[rxap-row-controls-cell]", inputs: { element: "element" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element['__archived'] && archiveRemoteMethod\" fxFlex=\"40px\"\n mat-icon-button matTooltip=\"Archivieren\" rxapConfirm\n type=\"button\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element['__archived'] && unarchiveRemoteMethod\" fxFlex=\"40px\"\n mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm\n type=\"button\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"remove()\"\n *ngIf=\"(element['__archived'] && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\"\n color=\"warn\"\n fxFlex=\"40px\" mat-icon-button matTooltip=\"L\u00F6schen\"\n rxapConfirm type=\"button\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element['__archived'] && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button (click)=\"link()\" *ngIf=\"rowLinkMethod\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1183
1200
|
}
|
|
1184
1201
|
__decorate([
|
|
1185
1202
|
Required,
|
|
1186
1203
|
__metadata("design:type", Object)
|
|
1187
1204
|
], RowControlsCellComponent.prototype, "element", void 0);
|
|
1188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
1189
1206
|
type: Component,
|
|
1190
|
-
args: [{ selector: 'td[
|
|
1207
|
+
args: [{ selector: 'td[rxap-row-controls-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgIf, MatButtonModule, MatTooltipModule, ConfirmDirective, MatIconModule], template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element['__archived'] && archiveRemoteMethod\" fxFlex=\"40px\"\n mat-icon-button matTooltip=\"Archivieren\" rxapConfirm\n type=\"button\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element['__archived'] && unarchiveRemoteMethod\" fxFlex=\"40px\"\n mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm\n type=\"button\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"remove()\"\n *ngIf=\"(element['__archived'] && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\"\n color=\"warn\"\n fxFlex=\"40px\" mat-icon-button matTooltip=\"L\u00F6schen\"\n rxapConfirm type=\"button\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element['__archived'] && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button (click)=\"link()\" *ngIf=\"rowLinkMethod\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n" }]
|
|
1191
1208
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: undefined, decorators: [{
|
|
1192
1209
|
type: Optional
|
|
1193
1210
|
}, {
|
|
@@ -1239,11 +1256,11 @@ class RowControlsHeaderCellComponent {
|
|
|
1239
1256
|
this.selectRow?.selectedRows$.pipe(map((selectedRows) => selectedRows.length === 0), startWith(true)) ?? of(true);
|
|
1240
1257
|
this.showUnarchive$ = this.showDelete$ =
|
|
1241
1258
|
this.tableFilter?.change.pipe(map((filter) => filter &&
|
|
1242
|
-
filter
|
|
1259
|
+
filter['__archived'] !== undefined &&
|
|
1243
1260
|
filter['__archived'] === true), distinctUntilChanged()) ?? of(false);
|
|
1244
1261
|
this.showArchive$ =
|
|
1245
1262
|
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1246
|
-
|
|
1263
|
+
filter['__archived'] === undefined ||
|
|
1247
1264
|
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
1248
1265
|
if (!this.archiveRemoteMethod) {
|
|
1249
1266
|
this.showArchive$ = of(false);
|
|
@@ -1258,7 +1275,7 @@ class RowControlsHeaderCellComponent {
|
|
|
1258
1275
|
async archiveSelected(selectedRows) {
|
|
1259
1276
|
if (this.archiveRemoteMethod && selectedRows) {
|
|
1260
1277
|
await Promise.all(selectedRows.map((selectedRow) => this.archiveRemoteMethod?.call({
|
|
1261
|
-
parameters: { uuid: selectedRow
|
|
1278
|
+
parameters: { uuid: selectedRow['uuid'] },
|
|
1262
1279
|
})));
|
|
1263
1280
|
this.tableDataSource.refresh();
|
|
1264
1281
|
}
|
|
@@ -1266,7 +1283,7 @@ class RowControlsHeaderCellComponent {
|
|
|
1266
1283
|
async unarchiveSelected(selectedRows) {
|
|
1267
1284
|
if (this.unarchiveRemoteMethod && selectedRows) {
|
|
1268
1285
|
await Promise.all(selectedRows.map((selectedRow) => this.unarchiveRemoteMethod?.call({
|
|
1269
|
-
parameters: { uuid: selectedRow
|
|
1286
|
+
parameters: { uuid: selectedRow['uuid'] },
|
|
1270
1287
|
})));
|
|
1271
1288
|
this.tableDataSource.refresh();
|
|
1272
1289
|
}
|
|
@@ -1274,25 +1291,25 @@ class RowControlsHeaderCellComponent {
|
|
|
1274
1291
|
async deleteSelected(selectedRows) {
|
|
1275
1292
|
if (this.deleteRemoteMethod && selectedRows) {
|
|
1276
1293
|
await Promise.all(selectedRows.map((selectedRow) => this.deleteRemoteMethod?.call({
|
|
1277
|
-
parameters: { uuid: selectedRow
|
|
1294
|
+
parameters: { uuid: selectedRow['uuid'] },
|
|
1278
1295
|
})));
|
|
1279
1296
|
this.tableDataSource.refresh();
|
|
1280
1297
|
}
|
|
1281
1298
|
}
|
|
1282
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1283
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsHeaderCellComponent, deps: [{ token: TableDataSourceDirective }, { token: TableFilterService, optional: true }, { token: SelectRowService, optional: true }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1300
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: RowControlsHeaderCellComponent, isStandalone: true, selector: "th[rxap-row-controls-header-cell]", ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archiveSelected($event)\" *ngIf=\"selectRow && (showArchive$ | async)\"\n [disabled]=\"disabled$ | async\"\n [rxapConfirm]=\"selectRow.selectedRows\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Archivieren\" type=\"button\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchiveSelected($event)\" *ngIf=\"selectRow && (showUnarchive$ | async)\"\n [disabled]=\"disabled$ | async\"\n [rxapConfirm]=\"selectRow.selectedRows\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Wiederherstellen\" type=\"button\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\"\n [disabled]=\"disabled$ | async\" [rxapConfirm]=\"selectRow.selectedRows\" color=\"warn\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"L\u00F6schen\" type=\"button\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1284
1301
|
}
|
|
1285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1286
1303
|
type: Component,
|
|
1287
|
-
args: [{ selector: 'th[
|
|
1304
|
+
args: [{ selector: 'th[rxap-row-controls-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1288
1305
|
FlexModule,
|
|
1289
1306
|
NgIf,
|
|
1290
1307
|
MatButtonModule,
|
|
1291
1308
|
MatTooltipModule,
|
|
1292
1309
|
ConfirmDirective,
|
|
1293
1310
|
MatIconModule,
|
|
1294
|
-
AsyncPipe
|
|
1295
|
-
], template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\"
|
|
1311
|
+
AsyncPipe,
|
|
1312
|
+
], template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archiveSelected($event)\" *ngIf=\"selectRow && (showArchive$ | async)\"\n [disabled]=\"disabled$ | async\"\n [rxapConfirm]=\"selectRow.selectedRows\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Archivieren\" type=\"button\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchiveSelected($event)\" *ngIf=\"selectRow && (showUnarchive$ | async)\"\n [disabled]=\"disabled$ | async\"\n [rxapConfirm]=\"selectRow.selectedRows\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Wiederherstellen\" type=\"button\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\"\n [disabled]=\"disabled$ | async\" [rxapConfirm]=\"selectRow.selectedRows\" color=\"warn\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"L\u00F6schen\" type=\"button\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n" }]
|
|
1296
1313
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
1297
1314
|
type: Optional
|
|
1298
1315
|
}, {
|
|
@@ -1332,16 +1349,16 @@ class TableSelectControlsComponent {
|
|
|
1332
1349
|
select() {
|
|
1333
1350
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
1334
1351
|
}
|
|
1335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1336
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1352
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1353
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableSelectControlsComponent, isStandalone: true, selector: "rxap-table-select-controls", ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button (click)=\"cancel()\" fxFlex=\"nogrow\" mat-stroked-button type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"select()\" [disabled]=\"hasNotSelected$ | async\" fxFlex=\"nogrow\" mat-raised-button type=\"button\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1337
1354
|
}
|
|
1338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1339
1356
|
type: Component,
|
|
1340
|
-
args: [{ selector: '
|
|
1357
|
+
args: [{ selector: 'rxap-table-select-controls', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1341
1358
|
FlexModule,
|
|
1342
1359
|
MatButtonModule,
|
|
1343
|
-
AsyncPipe
|
|
1344
|
-
], template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button
|
|
1360
|
+
AsyncPipe,
|
|
1361
|
+
], template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button (click)=\"cancel()\" fxFlex=\"nogrow\" mat-stroked-button type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"select()\" [disabled]=\"hasNotSelected$ | async\" fxFlex=\"nogrow\" mat-raised-button type=\"button\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n" }]
|
|
1345
1362
|
}], ctorParameters: function () { return [{ type: SelectRowService }, { type: undefined, decorators: [{
|
|
1346
1363
|
type: Inject,
|
|
1347
1364
|
args: [RXAP_WINDOW_REF]
|
|
@@ -1354,12 +1371,12 @@ class ImageCellComponent {
|
|
|
1354
1371
|
this.position = BackgroundPositionOptions.CENTER_CENTER;
|
|
1355
1372
|
this.value = null;
|
|
1356
1373
|
}
|
|
1357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1358
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ImageCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1375
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ImageCellComponent, isStandalone: true, selector: "td[rxap-image-cell]", inputs: { preset: "preset", size: "size", repeat: "repeat", position: "position", value: ["rxap-image-cell", "value"] }, ngImport: i0, template: "<div\n *ngIf=\"value\"\n [ngClass]=\"[preset]\"\n [position]=\"position\"\n [repeat]=\"repeat\"\n [rxapBackgroundImage]=\"value\"\n [size]=\"size\"\n class=\"image\">\n</div>\n<ng-content></ng-content>\n", styles: [".image{width:40px;height:40px}.image.circle{border-radius:24px}.image.rounded{border-radius:8px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: ["rxapBackgroundImage", "placeholderImageUrl", "size", "repeat", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1359
1376
|
}
|
|
1360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
1361
1378
|
type: Component,
|
|
1362
|
-
args: [{ selector: 'td[rxap-image-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1379
|
+
args: [{ selector: 'td[rxap-image-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, NgClass, BackgroundImageDirective], template: "<div\n *ngIf=\"value\"\n [ngClass]=\"[preset]\"\n [position]=\"position\"\n [repeat]=\"repeat\"\n [rxapBackgroundImage]=\"value\"\n [size]=\"size\"\n class=\"image\">\n</div>\n<ng-content></ng-content>\n", styles: [".image{width:40px;height:40px}.image.circle{border-radius:24px}.image.rounded{border-radius:8px}\n"] }]
|
|
1363
1380
|
}], propDecorators: { preset: [{
|
|
1364
1381
|
type: Input
|
|
1365
1382
|
}], size: [{
|
|
@@ -1374,24 +1391,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1374
1391
|
}] } });
|
|
1375
1392
|
|
|
1376
1393
|
class CopyToClipboardCellComponent {
|
|
1377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1378
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1394
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1395
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CopyToClipboardCellComponent, isStandalone: true, selector: "td[rxap-copy-to-clipboard-cell]", inputs: { value: ["rxap-copy-to-clipboard-cell", "value"] }, ngImport: i0, template: "<rxap-copy-to-clipboard *ngIf=\"value !== null && value !== undefined && value !== ''\" [value]=\"value\"\n class=\"copy-to-clipboard\"></rxap-copy-to-clipboard>\n<ng-content></ng-content>\n", styles: ["::ng-deep .copy-to-clipboard .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1379
1396
|
}
|
|
1380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
1381
1398
|
type: Component,
|
|
1382
|
-
args: [{ selector: 'td[rxap-copy-to-clipboard-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1399
|
+
args: [{ selector: 'td[rxap-copy-to-clipboard-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, CopyToClipboardComponent], template: "<rxap-copy-to-clipboard *ngIf=\"value !== null && value !== undefined && value !== ''\" [value]=\"value\"\n class=\"copy-to-clipboard\"></rxap-copy-to-clipboard>\n<ng-content></ng-content>\n", styles: ["::ng-deep .copy-to-clipboard .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"] }]
|
|
1383
1400
|
}], propDecorators: { value: [{
|
|
1384
1401
|
type: Input,
|
|
1385
1402
|
args: ['rxap-copy-to-clipboard-cell']
|
|
1386
1403
|
}] } });
|
|
1387
1404
|
|
|
1388
1405
|
class IconCellComponent {
|
|
1389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1390
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1407
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: IconCellComponent, isStandalone: true, selector: "td[rxap-icon-cell]", inputs: { icon: ["rxap-icon-cell", "icon"] }, ngImport: i0, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1391
1408
|
}
|
|
1392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1393
1410
|
type: Component,
|
|
1394
|
-
args: [{ selector: 'td[rxap-icon-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1411
|
+
args: [{ selector: 'td[rxap-icon-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, MatIconModule, IconDirective], template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n" }]
|
|
1395
1412
|
}], propDecorators: { icon: [{
|
|
1396
1413
|
type: Input,
|
|
1397
1414
|
args: ['rxap-icon-cell']
|
|
@@ -1402,12 +1419,12 @@ class DateCellComponent {
|
|
|
1402
1419
|
this.date = null;
|
|
1403
1420
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
1404
1421
|
}
|
|
1405
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1406
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1423
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: DateCellComponent, isStandalone: true, selector: "td[rxap-date-cell]", inputs: { date: ["rxap-date-cell", "date"], format: "format" }, ngImport: i0, template: "<ng-template [ngIf]=\"date\">\n {{date | date:format}}\n</ng-template>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1407
1424
|
}
|
|
1408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
1409
1426
|
type: Component,
|
|
1410
|
-
args: [{ selector: 'td[rxap-date-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1427
|
+
args: [{ selector: 'td[rxap-date-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, DatePipe], template: "<ng-template [ngIf]=\"date\">\n {{date | date:format}}\n</ng-template>\n<ng-content></ng-content>\n" }]
|
|
1411
1428
|
}], propDecorators: { date: [{
|
|
1412
1429
|
type: Input,
|
|
1413
1430
|
args: ['rxap-date-cell']
|
|
@@ -1425,12 +1442,12 @@ class LinkCellComponent {
|
|
|
1425
1442
|
}
|
|
1426
1443
|
return this.value;
|
|
1427
1444
|
}
|
|
1428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1429
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1445
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1446
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LinkCellComponent, isStandalone: true, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol", short: "short" }, ngImport: i0, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <span *ngIf=\"short\" class=\"content\" fxFlex=\"nogrow\" i18n>Open</span>\n <ng-container [ngSwitch]=\"protocol\">\n <mat-icon *ngSwitchCase=\"'tel'\" fxFlex=\"nogrow\">call</mat-icon>\n <mat-icon *ngSwitchCase=\"'mailto'\" fxFlex=\"nogrow\">email</mat-icon>\n <mat-icon *ngSwitchDefault fxFlex=\"nogrow\">launch</mat-icon>\n </ng-container>\n <span *ngIf=\"!short\" class=\"content\" fxFlex=\"nogrow\">{{value}}</span>\n </span>\n</a>\n<ng-content></ng-content>\n", styles: [".link{text-decoration:none;color:inherit}.link .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1430
1447
|
}
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1432
1449
|
type: Component,
|
|
1433
|
-
args: [{ selector: 'td[rxap-link-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1450
|
+
args: [{ selector: 'td[rxap-link-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, MatTooltipModule, FlexModule, NgSwitch, NgSwitchCase, MatIconModule, NgSwitchDefault], template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <span *ngIf=\"short\" class=\"content\" fxFlex=\"nogrow\" i18n>Open</span>\n <ng-container [ngSwitch]=\"protocol\">\n <mat-icon *ngSwitchCase=\"'tel'\" fxFlex=\"nogrow\">call</mat-icon>\n <mat-icon *ngSwitchCase=\"'mailto'\" fxFlex=\"nogrow\">email</mat-icon>\n <mat-icon *ngSwitchDefault fxFlex=\"nogrow\">launch</mat-icon>\n </ng-container>\n <span *ngIf=\"!short\" class=\"content\" fxFlex=\"nogrow\">{{value}}</span>\n </span>\n</a>\n<ng-content></ng-content>\n", styles: [".link{text-decoration:none;color:inherit}.link .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"] }]
|
|
1434
1451
|
}], propDecorators: { value: [{
|
|
1435
1452
|
type: Input,
|
|
1436
1453
|
args: ['rxap-link-cell']
|
|
@@ -1483,12 +1500,12 @@ class OptionsCellComponent {
|
|
|
1483
1500
|
ngOnDestroy() {
|
|
1484
1501
|
this._subscription?.unsubscribe();
|
|
1485
1502
|
}
|
|
1486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1487
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1503
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: OptionsCellComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1504
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: OptionsCellComponent, isStandalone: true, selector: "td[rxap-options-cell]", inputs: { value: ["rxap-options-cell", "value"], defaultViewValue: ["default", "defaultViewValue"], emptyViewValue: ["empty", "emptyViewValue"] }, queries: [{ propertyName: "options", predicate: MatOption, descendants: true }], usesOnChanges: true, ngImport: i0, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1488
1505
|
}
|
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
1490
1507
|
type: Component,
|
|
1491
|
-
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1508
|
+
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "{{viewValue}}\n<ng-content></ng-content>\n" }]
|
|
1492
1509
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
1493
1510
|
type: Input,
|
|
1494
1511
|
args: ['rxap-options-cell']
|
|
@@ -1507,12 +1524,12 @@ class BooleanCellComponent {
|
|
|
1507
1524
|
constructor() {
|
|
1508
1525
|
this.value = null;
|
|
1509
1526
|
}
|
|
1510
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1511
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BooleanCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1528
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: BooleanCellComponent, isStandalone: true, selector: "td[rxap-boolean-cell]", inputs: { value: ["rxap-boolean-cell", "value"] }, host: { classAttribute: "rxap-boolean-cell" }, ngImport: i0, template: "<ng-template [ngIfElse]=\"isFalse\" [ngIf]=\"value\">\n <mat-icon class=\"truthy\">check_circle</mat-icon>\n</ng-template>\n<ng-template #isFalse>\n <mat-icon class=\"falsy\">cancel</mat-icon>\n</ng-template>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1512
1529
|
}
|
|
1513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
1514
1531
|
type: Component,
|
|
1515
|
-
args: [{ selector: 'td[rxap-boolean-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-boolean-cell' }, standalone: true, imports: [NgIf, MatIconModule], template: "<ng-template [
|
|
1532
|
+
args: [{ selector: 'td[rxap-boolean-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-boolean-cell' }, standalone: true, imports: [NgIf, MatIconModule], template: "<ng-template [ngIfElse]=\"isFalse\" [ngIf]=\"value\">\n <mat-icon class=\"truthy\">check_circle</mat-icon>\n</ng-template>\n<ng-template #isFalse>\n <mat-icon class=\"falsy\">cancel</mat-icon>\n</ng-template>\n<ng-content></ng-content>\n" }]
|
|
1516
1533
|
}], propDecorators: { value: [{
|
|
1517
1534
|
type: Input,
|
|
1518
1535
|
args: ['rxap-boolean-cell']
|
|
@@ -1532,7 +1549,10 @@ function TableActionMethod(typeOrOptions, checkFunction) {
|
|
|
1532
1549
|
let options;
|
|
1533
1550
|
if (typeof typeOrOptions === 'string') {
|
|
1534
1551
|
type = typeOrOptions;
|
|
1535
|
-
options = {
|
|
1552
|
+
options = {
|
|
1553
|
+
type,
|
|
1554
|
+
checkFunction,
|
|
1555
|
+
};
|
|
1536
1556
|
}
|
|
1537
1557
|
else {
|
|
1538
1558
|
options = typeOrOptions;
|
|
@@ -1561,14 +1581,14 @@ class TableRowActionExecutingDirective {
|
|
|
1561
1581
|
hide() {
|
|
1562
1582
|
this.vcr.clear();
|
|
1563
1583
|
}
|
|
1564
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1565
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionExecutingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1585
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowActionExecutingDirective, isStandalone: true, selector: "[rxapTableRowActionExecuting]", ngImport: i0 }); }
|
|
1566
1586
|
}
|
|
1567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
1568
1588
|
type: Directive,
|
|
1569
1589
|
args: [{
|
|
1570
1590
|
selector: '[rxapTableRowActionExecuting]',
|
|
1571
|
-
standalone: true
|
|
1591
|
+
standalone: true,
|
|
1572
1592
|
}]
|
|
1573
1593
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });
|
|
1574
1594
|
|
|
@@ -1612,6 +1632,7 @@ function GetTableRowActionMetadata(method) {
|
|
|
1612
1632
|
const RXAP_TABLE_ROW_ACTION_METHOD = new InjectionToken('rxap-table-row-action-method');
|
|
1613
1633
|
|
|
1614
1634
|
class TableRowActionDirective extends ConfirmDirective {
|
|
1635
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1615
1636
|
set hasConfirmDirective(value) {
|
|
1616
1637
|
this._hasConfirmDirective = coerceBoolean(value);
|
|
1617
1638
|
}
|
|
@@ -1666,8 +1687,11 @@ class TableRowActionDirective extends ConfirmDirective {
|
|
|
1666
1687
|
try {
|
|
1667
1688
|
await Promise.all(this.getElementList().map((element) => {
|
|
1668
1689
|
return Promise.all([
|
|
1669
|
-
Promise.all(this.findUntypedActionMethod().map((am) => am.call({
|
|
1670
|
-
|
|
1690
|
+
Promise.all(this.findUntypedActionMethod().map((am) => am.call({
|
|
1691
|
+
element,
|
|
1692
|
+
type: this.type,
|
|
1693
|
+
}))),
|
|
1694
|
+
Promise.all(this.findTypedActionMethod().map((am) => am.call(element))),
|
|
1671
1695
|
]);
|
|
1672
1696
|
}));
|
|
1673
1697
|
this.setStatus(TableRowActionStatus.SUCCESS);
|
|
@@ -1754,10 +1778,11 @@ class TableRowActionDirective extends ConfirmDirective {
|
|
|
1754
1778
|
if (metadataList.length === 0) {
|
|
1755
1779
|
return null;
|
|
1756
1780
|
}
|
|
1757
|
-
return metadataList.filter(metadata => metadata.type === this.type)
|
|
1781
|
+
return metadataList.filter(metadata => metadata.type === this.type)
|
|
1782
|
+
.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))[0];
|
|
1758
1783
|
}
|
|
1759
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1760
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: MatTooltip, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1785
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowActionDirective, isStandalone: true, selector: "button[rxapTableRowAction]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], element: "element", type: ["rxapTableRowAction", "type"], errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick($event)" } }, queries: [{ propertyName: "executingDirective", first: true, predicate: TableRowActionExecutingDirective, descendants: true }], usesInheritance: true, ngImport: i0 }); }
|
|
1761
1786
|
}
|
|
1762
1787
|
__decorate([
|
|
1763
1788
|
Required,
|
|
@@ -1767,11 +1792,11 @@ __decorate([
|
|
|
1767
1792
|
Required,
|
|
1768
1793
|
__metadata("design:type", String)
|
|
1769
1794
|
], TableRowActionDirective.prototype, "type", void 0);
|
|
1770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
1771
1796
|
type: Directive,
|
|
1772
1797
|
args: [{
|
|
1773
1798
|
selector: 'button[rxapTableRowAction]',
|
|
1774
|
-
standalone: true
|
|
1799
|
+
standalone: true,
|
|
1775
1800
|
}]
|
|
1776
1801
|
}], ctorParameters: function () { return [{ type: i1$4.Overlay, decorators: [{
|
|
1777
1802
|
type: Inject,
|
|
@@ -1858,18 +1883,18 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
1858
1883
|
getElementList() {
|
|
1859
1884
|
return this.selectRowService?.selectedRows ?? [];
|
|
1860
1885
|
}
|
|
1861
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1862
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1886
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: MatTooltip, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1887
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowHeaderActionDirective, isStandalone: true, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 }); }
|
|
1863
1888
|
}
|
|
1864
1889
|
__decorate([
|
|
1865
1890
|
Required,
|
|
1866
1891
|
__metadata("design:type", String)
|
|
1867
1892
|
], TableRowHeaderActionDirective.prototype, "type", void 0);
|
|
1868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
1869
1894
|
type: Directive,
|
|
1870
1895
|
args: [{
|
|
1871
1896
|
selector: 'button[rxapTableRowHeaderAction]',
|
|
1872
|
-
standalone: true
|
|
1897
|
+
standalone: true,
|
|
1873
1898
|
}]
|
|
1874
1899
|
}], ctorParameters: function () { return [{ type: i1$4.Overlay, decorators: [{
|
|
1875
1900
|
type: Inject,
|
|
@@ -1935,14 +1960,14 @@ class RowActionCheckPipe {
|
|
|
1935
1960
|
}
|
|
1936
1961
|
return true;
|
|
1937
1962
|
}
|
|
1938
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1939
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
1963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowActionCheckPipe, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1964
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: RowActionCheckPipe, isStandalone: true, name: "rxapRowActionCheck" }); }
|
|
1940
1965
|
}
|
|
1941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
1942
1967
|
type: Pipe,
|
|
1943
1968
|
args: [{
|
|
1944
1969
|
name: 'rxapRowActionCheck',
|
|
1945
|
-
standalone: true
|
|
1970
|
+
standalone: true,
|
|
1946
1971
|
}]
|
|
1947
1972
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1948
1973
|
type: Optional
|