@rxap/material-table-system 16.0.0-dev.17 → 16.0.0-dev.19
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 +8 -0
- package/README.md +1 -1
- package/esm2022/index.mjs +1 -11
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +3 -3
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +3 -3
- package/esm2022/lib/cells/date-cell/date-cell.component.mjs +3 -3
- package/esm2022/lib/cells/icon-cell/icon-cell.component.mjs +3 -3
- package/esm2022/lib/cells/image-cell/image-cell.component.mjs +3 -3
- package/esm2022/lib/cells/link-cell/link-cell.component.mjs +3 -3
- package/esm2022/lib/cells/options-cell/options-cell.component.mjs +3 -3
- package/esm2022/lib/cells/tree-control-cell/tree-control-cell.component.mjs +3 -3
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +3 -3
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +3 -3
- package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +3 -3
- package/esm2022/lib/expand-row/expand-row.directive.mjs +3 -3
- package/esm2022/lib/expand-row/expand-row.module.mjs +4 -4
- package/esm2022/lib/expand-row/expand-row.service.mjs +3 -3
- package/esm2022/lib/persistent-paginator.directive.mjs +3 -3
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +3 -3
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +3 -3
- package/esm2022/lib/select-row/select-row.module.mjs +4 -4
- package/esm2022/lib/select-row/select-row.service.mjs +3 -3
- package/esm2022/lib/select-row/selected-rows.directive.mjs +3 -3
- package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +3 -3
- package/esm2022/lib/table-column-menu/table-column-menu.module.mjs +4 -4
- package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +3 -3
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +3 -3
- package/esm2022/lib/table-create-button/table-create-button.directive.mjs +7 -7
- package/esm2022/lib/table-data-source.directive.mjs +9 -9
- package/esm2022/lib/table-filter/filter-header-row.directive.mjs +3 -3
- package/esm2022/lib/table-filter/table-filter.module.mjs +4 -4
- package/esm2022/lib/table-filter/table-filter.service.mjs +3 -3
- package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +3 -3
- package/esm2022/lib/table-header-button/table-header-button.directive.mjs +3 -3
- package/esm2022/lib/table-row-actions/abstract-table-row-action.mjs +3 -3
- package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-actions.module.mjs +4 -4
- package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +3 -3
- package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +3 -3
- package/fesm2022/rxap-material-table-system.mjs +148 -399
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/index.d.ts +0 -4
- package/lib/table-create-button/table-create-button.directive.d.ts +2 -2
- package/lib/table-data-source.directive.d.ts +7 -8
- package/package.json +30 -32
- package/theme.css +1 -1
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +0 -117
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +0 -117
- package/esm2022/lib/table-row-controls/table-row-controls.module.mjs +0 -29
- package/esm2022/lib/table-row-controls/tokens.mjs +0 -30
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +0 -50
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +0 -34
- package/lib/table-row-controls/table-row-controls.module.d.ts +0 -11
- package/lib/table-row-controls/tokens.d.ts +0 -37
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, Optional, Inject, Component, ChangeDetectionStrategy, Directive, Input,
|
|
2
|
+
import { InjectionToken, Injectable, Optional, Inject, Component, ChangeDetectionStrategy, Directive, Input, isDevMode, ElementRef, ChangeDetectorRef, ViewContainerRef, INJECTOR, ContentChild, HostListener, Pipe, NgModule, forwardRef, Renderer2, ContentChildren, HostBinding, TemplateRef } from '@angular/core';
|
|
3
3
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
4
4
|
import { map, tap, filter, debounceTime, delay, startWith, distinctUntilChanged } from 'rxjs/operators';
|
|
5
|
-
import { Subject, ReplaySubject, Subscription,
|
|
6
|
-
import { AsyncPipe,
|
|
7
|
-
import * as
|
|
5
|
+
import { Subject, ReplaySubject, Subscription, isObservable, EMPTY, BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { AsyncPipe, CommonModule, NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault, NgClass, DatePipe } from '@angular/common';
|
|
7
|
+
import * as i4 from '@angular/material/button';
|
|
8
8
|
import { MatButtonModule, MatIconButton, MatButton, MatMiniFabButton } from '@angular/material/button';
|
|
9
9
|
import * as i2 from '@angular/flex-layout/flex';
|
|
10
10
|
import { FlexModule } from '@angular/flex-layout/flex';
|
|
11
|
+
import * as i1$1 from '@angular/cdk/overlay';
|
|
12
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
13
|
+
import * as i3 from '@angular/material/snack-bar';
|
|
14
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
15
|
+
import * as i5 from '@angular/material/tooltip';
|
|
16
|
+
import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip';
|
|
17
|
+
import { ConfirmDirective, ConfirmModule, CopyToClipboardComponent } from '@rxap/components';
|
|
11
18
|
import { clone, DeleteEmptyProperties, equals, coerceArray, coerceBoolean } from '@rxap/utilities';
|
|
19
|
+
import * as i1 from '@angular/cdk/table';
|
|
20
|
+
import { CdkTable } from '@angular/cdk/table';
|
|
12
21
|
import * as i2$1 from '@angular/material/sort';
|
|
13
22
|
import { MatSort } from '@angular/material/sort';
|
|
23
|
+
import { pipeDataSource } from '@rxap/data-source';
|
|
14
24
|
import { RXAP_TABLE_METHOD, DynamicTableDataSource } from '@rxap/data-source/table';
|
|
15
25
|
export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
|
|
16
|
-
import * as i1 from '@angular/cdk/table';
|
|
17
|
-
import { CdkTable } from '@angular/cdk/table';
|
|
18
26
|
import { ToggleSubject } from '@rxap/rxjs';
|
|
19
|
-
import {
|
|
27
|
+
import { setMetadata, getMetadata, hasMetadata } from '@rxap/reflect-metadata';
|
|
20
28
|
import * as i3$1 from '@angular/material/icon';
|
|
21
29
|
import { MatIconModule } from '@angular/material/icon';
|
|
22
|
-
import { ConfirmDirective, ConfirmModule, CopyToClipboardComponent } from '@rxap/components';
|
|
23
|
-
import * as i4 from '@angular/material/tooltip';
|
|
24
|
-
import { MatTooltipModule, MatTooltip } from '@angular/material/tooltip';
|
|
25
|
-
import * as i1$1 from '@angular/cdk/overlay';
|
|
26
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
27
|
-
import * as i3$2 from '@angular/material/snack-bar';
|
|
28
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
29
|
-
import { setMetadata, getMetadata, hasMetadata } from '@rxap/reflect-metadata';
|
|
30
30
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
31
31
|
import { FormDirective } from '@rxap/forms';
|
|
32
32
|
import { ControlContainer } from '@angular/forms';
|
|
33
33
|
import * as i1$3 from '@angular/material/slide-toggle';
|
|
34
34
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
35
35
|
import * as i1$2 from '@angular/router';
|
|
36
|
-
import * as i5 from '@angular/material/checkbox';
|
|
36
|
+
import * as i5$1 from '@angular/material/checkbox';
|
|
37
37
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
38
38
|
import * as i4$1 from '@angular/flex-layout/extended';
|
|
39
39
|
import { ExtendedModule } from '@angular/flex-layout/extended';
|
|
@@ -275,10 +275,10 @@ class SelectRowService {
|
|
|
275
275
|
this.selectionModel = new SelectionModel(options?.multiple, options?.selected, options?.emitChanges, options?.compareWith);
|
|
276
276
|
this.selectedRows$ = this.selectionModel.changed.pipe(map(() => this.selectionModel.selected));
|
|
277
277
|
}
|
|
278
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
279
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectRowService, deps: [{ token: RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
279
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectRowService }); }
|
|
280
280
|
}
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectRowService, decorators: [{
|
|
282
282
|
type: Injectable
|
|
283
283
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
284
284
|
type: Optional
|
|
@@ -299,10 +299,10 @@ class TableSelectControlsComponent {
|
|
|
299
299
|
select() {
|
|
300
300
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
301
301
|
}
|
|
302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
303
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
303
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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.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.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.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: i4.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 }); }
|
|
304
304
|
}
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
306
306
|
type: Component,
|
|
307
307
|
args: [{ selector: 'rxap-table-select-controls', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
308
308
|
FlexModule,
|
|
@@ -352,42 +352,13 @@ class TableFilterService {
|
|
|
352
352
|
ngOnDestroy() {
|
|
353
353
|
this._subscription.unsubscribe();
|
|
354
354
|
}
|
|
355
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
356
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableFilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableFilterService }); }
|
|
357
357
|
}
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableFilterService, decorators: [{
|
|
359
359
|
type: Injectable
|
|
360
360
|
}], ctorParameters: function () { return []; } });
|
|
361
361
|
|
|
362
|
-
/**
|
|
363
|
-
* @deprecated removed
|
|
364
|
-
*/
|
|
365
|
-
const ROW_ARCHIVE_METHOD = new InjectionToken('archive-remote-method');
|
|
366
|
-
/**
|
|
367
|
-
* @deprecated removed
|
|
368
|
-
*/
|
|
369
|
-
const ROW_RESTORE_METHOD = new InjectionToken('unarchive-remote-method');
|
|
370
|
-
/**
|
|
371
|
-
* @deprecated removed
|
|
372
|
-
*/
|
|
373
|
-
const ROW_DELETE_METHOD = new InjectionToken('delete-remote-method');
|
|
374
|
-
/**
|
|
375
|
-
* @deprecated removed
|
|
376
|
-
*/
|
|
377
|
-
const ROW_EDIT_METHOD = new InjectionToken('edit-remote-method');
|
|
378
|
-
/**
|
|
379
|
-
* @deprecated removed
|
|
380
|
-
*/
|
|
381
|
-
const ROW_VIEW_METHOD = new InjectionToken('view-remote-method');
|
|
382
|
-
/**
|
|
383
|
-
* @deprecated removed
|
|
384
|
-
*/
|
|
385
|
-
const ROW_LINK_METHOD = new InjectionToken('link-remote-method');
|
|
386
|
-
/**
|
|
387
|
-
* @deprecated removed
|
|
388
|
-
*/
|
|
389
|
-
const ROW_EDIT_LOADER_METHOD = new InjectionToken('edit-loader-method');
|
|
390
|
-
|
|
391
362
|
/**
|
|
392
363
|
* @deprecated use TABLE_METHOD instead
|
|
393
364
|
*/
|
|
@@ -492,10 +463,10 @@ class TableDataSourceDirective {
|
|
|
492
463
|
retry() {
|
|
493
464
|
this.dataSource?.retry();
|
|
494
465
|
}
|
|
495
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
496
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.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 }); }
|
|
467
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.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 }); }
|
|
497
468
|
}
|
|
498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
499
470
|
type: Directive,
|
|
500
471
|
args: [{
|
|
501
472
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
@@ -549,228 +520,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
549
520
|
type: Input
|
|
550
521
|
}] } });
|
|
551
522
|
|
|
552
|
-
/**
|
|
553
|
-
* @deprecated removed
|
|
554
|
-
*/
|
|
555
|
-
class RowControlsHeaderCellComponent {
|
|
556
|
-
constructor(tableDataSource, tableFilter = null, selectRow = null, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null) {
|
|
557
|
-
this.tableDataSource = tableDataSource;
|
|
558
|
-
this.tableFilter = tableFilter;
|
|
559
|
-
this.selectRow = selectRow;
|
|
560
|
-
this.deleteRemoteMethod = deleteRemoteMethod;
|
|
561
|
-
this.archiveRemoteMethod = archiveRemoteMethod;
|
|
562
|
-
this.unarchiveRemoteMethod = unarchiveRemoteMethod;
|
|
563
|
-
this.disabled$ =
|
|
564
|
-
this.selectRow?.selectedRows$.pipe(map((selectedRows) => selectedRows.length === 0), startWith(true)) ?? of(true);
|
|
565
|
-
this.showUnarchive$ = this.showDelete$ =
|
|
566
|
-
this.tableFilter?.change.pipe(map((filter) => filter &&
|
|
567
|
-
filter['__archived'] !== undefined &&
|
|
568
|
-
filter['__archived'] === true), distinctUntilChanged()) ?? of(false);
|
|
569
|
-
this.showArchive$ =
|
|
570
|
-
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
571
|
-
filter['__archived'] === undefined ||
|
|
572
|
-
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
573
|
-
if (!this.archiveRemoteMethod) {
|
|
574
|
-
this.showArchive$ = of(false);
|
|
575
|
-
}
|
|
576
|
-
if (!this.unarchiveRemoteMethod) {
|
|
577
|
-
this.showUnarchive$ = of(false);
|
|
578
|
-
}
|
|
579
|
-
if (!this.deleteRemoteMethod) {
|
|
580
|
-
this.showDelete$ = of(false);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
async archiveSelected(selectedRows) {
|
|
584
|
-
if (this.archiveRemoteMethod && selectedRows) {
|
|
585
|
-
await Promise.all(selectedRows.map((selectedRow) => this.archiveRemoteMethod?.call({
|
|
586
|
-
parameters: { uuid: selectedRow['uuid'] },
|
|
587
|
-
})));
|
|
588
|
-
this.tableDataSource.refresh();
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
async unarchiveSelected(selectedRows) {
|
|
592
|
-
if (this.unarchiveRemoteMethod && selectedRows) {
|
|
593
|
-
await Promise.all(selectedRows.map((selectedRow) => this.unarchiveRemoteMethod?.call({
|
|
594
|
-
parameters: { uuid: selectedRow['uuid'] },
|
|
595
|
-
})));
|
|
596
|
-
this.tableDataSource.refresh();
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
async deleteSelected(selectedRows) {
|
|
600
|
-
if (this.deleteRemoteMethod && selectedRows) {
|
|
601
|
-
await Promise.all(selectedRows.map((selectedRow) => this.deleteRemoteMethod?.call({
|
|
602
|
-
parameters: { uuid: selectedRow['uuid'] },
|
|
603
|
-
})));
|
|
604
|
-
this.tableDataSource.refresh();
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
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 }); }
|
|
608
|
-
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.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.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.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
609
|
-
}
|
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
611
|
-
type: Component,
|
|
612
|
-
args: [{ selector: 'th[rxap-row-controls-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
613
|
-
FlexModule,
|
|
614
|
-
NgIf,
|
|
615
|
-
MatButtonModule,
|
|
616
|
-
MatTooltipModule,
|
|
617
|
-
ConfirmDirective,
|
|
618
|
-
MatIconModule,
|
|
619
|
-
AsyncPipe,
|
|
620
|
-
], 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" }]
|
|
621
|
-
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
622
|
-
type: Optional
|
|
623
|
-
}, {
|
|
624
|
-
type: Inject,
|
|
625
|
-
args: [TableFilterService]
|
|
626
|
-
}] }, { type: SelectRowService, decorators: [{
|
|
627
|
-
type: Optional
|
|
628
|
-
}, {
|
|
629
|
-
type: Inject,
|
|
630
|
-
args: [SelectRowService]
|
|
631
|
-
}] }, { type: undefined, decorators: [{
|
|
632
|
-
type: Optional
|
|
633
|
-
}, {
|
|
634
|
-
type: Inject,
|
|
635
|
-
args: [ROW_DELETE_METHOD]
|
|
636
|
-
}] }, { type: undefined, decorators: [{
|
|
637
|
-
type: Optional
|
|
638
|
-
}, {
|
|
639
|
-
type: Inject,
|
|
640
|
-
args: [ROW_ARCHIVE_METHOD]
|
|
641
|
-
}] }, { type: undefined, decorators: [{
|
|
642
|
-
type: Optional
|
|
643
|
-
}, {
|
|
644
|
-
type: Inject,
|
|
645
|
-
args: [ROW_RESTORE_METHOD]
|
|
646
|
-
}] }]; } });
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* @deprecated removed
|
|
650
|
-
*/
|
|
651
|
-
class RowControlsCellComponent {
|
|
652
|
-
constructor(tableDataSource, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null, editRemoteMethod = null, rowViewMethod = null, rowLinkMethod = null, editLoaderMethod = null) {
|
|
653
|
-
this.tableDataSource = tableDataSource;
|
|
654
|
-
this.deleteRemoteMethod = deleteRemoteMethod;
|
|
655
|
-
this.archiveRemoteMethod = archiveRemoteMethod;
|
|
656
|
-
this.unarchiveRemoteMethod = unarchiveRemoteMethod;
|
|
657
|
-
this.editRemoteMethod = editRemoteMethod;
|
|
658
|
-
this.rowViewMethod = rowViewMethod;
|
|
659
|
-
this.rowLinkMethod = rowLinkMethod;
|
|
660
|
-
this.editLoaderMethod = editLoaderMethod;
|
|
661
|
-
}
|
|
662
|
-
async archive() {
|
|
663
|
-
if (this.archiveRemoteMethod) {
|
|
664
|
-
await this.archiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
665
|
-
this.tableDataSource.refresh();
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
async unarchive() {
|
|
669
|
-
if (this.unarchiveRemoteMethod) {
|
|
670
|
-
await this.unarchiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
671
|
-
this.tableDataSource.refresh();
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
async remove() {
|
|
675
|
-
if (this.deleteRemoteMethod) {
|
|
676
|
-
await this.deleteRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
677
|
-
this.tableDataSource.refresh();
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
async view() {
|
|
681
|
-
if (this.rowViewMethod) {
|
|
682
|
-
await this.rowViewMethod.call(this.element);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
async link() {
|
|
686
|
-
if (this.rowLinkMethod) {
|
|
687
|
-
await this.rowLinkMethod.call(this.element);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
async edit() {
|
|
691
|
-
if (this.editRemoteMethod) {
|
|
692
|
-
let initial = this.element;
|
|
693
|
-
if (this.editLoaderMethod) {
|
|
694
|
-
initial = await this.editLoaderMethod.call(initial);
|
|
695
|
-
}
|
|
696
|
-
const result = await this.editRemoteMethod.call(initial, { context: this.element });
|
|
697
|
-
if (isObservable(result)) {
|
|
698
|
-
await result.toPromise();
|
|
699
|
-
}
|
|
700
|
-
this.tableDataSource.refresh();
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
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 }); }
|
|
704
|
-
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.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.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.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
705
|
-
}
|
|
706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
707
|
-
type: Component,
|
|
708
|
-
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" }]
|
|
709
|
-
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: undefined, decorators: [{
|
|
710
|
-
type: Optional
|
|
711
|
-
}, {
|
|
712
|
-
type: Inject,
|
|
713
|
-
args: [ROW_DELETE_METHOD]
|
|
714
|
-
}] }, { type: undefined, decorators: [{
|
|
715
|
-
type: Optional
|
|
716
|
-
}, {
|
|
717
|
-
type: Inject,
|
|
718
|
-
args: [ROW_ARCHIVE_METHOD]
|
|
719
|
-
}] }, { type: undefined, decorators: [{
|
|
720
|
-
type: Optional
|
|
721
|
-
}, {
|
|
722
|
-
type: Inject,
|
|
723
|
-
args: [ROW_RESTORE_METHOD]
|
|
724
|
-
}] }, { type: undefined, decorators: [{
|
|
725
|
-
type: Optional
|
|
726
|
-
}, {
|
|
727
|
-
type: Inject,
|
|
728
|
-
args: [ROW_EDIT_METHOD]
|
|
729
|
-
}] }, { type: undefined, decorators: [{
|
|
730
|
-
type: Optional
|
|
731
|
-
}, {
|
|
732
|
-
type: Inject,
|
|
733
|
-
args: [ROW_VIEW_METHOD]
|
|
734
|
-
}] }, { type: undefined, decorators: [{
|
|
735
|
-
type: Optional
|
|
736
|
-
}, {
|
|
737
|
-
type: Inject,
|
|
738
|
-
args: [ROW_LINK_METHOD]
|
|
739
|
-
}] }, { type: undefined, decorators: [{
|
|
740
|
-
type: Optional
|
|
741
|
-
}, {
|
|
742
|
-
type: Inject,
|
|
743
|
-
args: [ROW_EDIT_LOADER_METHOD]
|
|
744
|
-
}] }]; }, propDecorators: { element: [{
|
|
745
|
-
type: Input,
|
|
746
|
-
args: [{ required: true }]
|
|
747
|
-
}] } });
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* @deprecated removed
|
|
751
|
-
*/
|
|
752
|
-
class TableRowControlsModule {
|
|
753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
754
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponent,
|
|
755
|
-
RowControlsHeaderCellComponent], exports: [RowControlsCellComponent,
|
|
756
|
-
RowControlsHeaderCellComponent] }); }
|
|
757
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponent,
|
|
758
|
-
RowControlsHeaderCellComponent] }); }
|
|
759
|
-
}
|
|
760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
761
|
-
type: NgModule,
|
|
762
|
-
args: [{
|
|
763
|
-
imports: [
|
|
764
|
-
RowControlsCellComponent,
|
|
765
|
-
RowControlsHeaderCellComponent,
|
|
766
|
-
],
|
|
767
|
-
exports: [
|
|
768
|
-
RowControlsCellComponent,
|
|
769
|
-
RowControlsHeaderCellComponent,
|
|
770
|
-
],
|
|
771
|
-
}]
|
|
772
|
-
}] });
|
|
773
|
-
|
|
774
523
|
class TableRowActionExecutingDirective {
|
|
775
524
|
constructor(templateRef, vcr) {
|
|
776
525
|
this.templateRef = templateRef;
|
|
@@ -782,10 +531,10 @@ class TableRowActionExecutingDirective {
|
|
|
782
531
|
hide() {
|
|
783
532
|
this.vcr.clear();
|
|
784
533
|
}
|
|
785
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
786
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
534
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionExecutingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
535
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: TableRowActionExecutingDirective, isStandalone: true, selector: "[rxapTableRowActionExecuting]", ngImport: i0 }); }
|
|
787
536
|
}
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
789
538
|
type: Directive,
|
|
790
539
|
args: [{
|
|
791
540
|
selector: '[rxapTableRowActionExecuting]',
|
|
@@ -1027,10 +776,10 @@ class AbstractTableRowAction extends ConfirmDirective {
|
|
|
1027
776
|
return metadataList.filter(metadata => metadata.type === this.type)
|
|
1028
777
|
.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))[0];
|
|
1029
778
|
}
|
|
1030
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1031
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
779
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: AbstractTableRowAction, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatIconButton, optional: true }, { token: MatTooltip, optional: true }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
780
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: AbstractTableRowAction }); }
|
|
1032
781
|
}
|
|
1033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: AbstractTableRowAction, decorators: [{
|
|
1034
783
|
type: Injectable
|
|
1035
784
|
}], ctorParameters: function () { return [{ type: i1$1.Overlay, decorators: [{
|
|
1036
785
|
type: Inject,
|
|
@@ -1050,15 +799,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1050
799
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
1051
800
|
type: Inject,
|
|
1052
801
|
args: [TableDataSourceDirective]
|
|
1053
|
-
}] }, { type: i3
|
|
802
|
+
}] }, { type: i3.MatSnackBar, decorators: [{
|
|
1054
803
|
type: Inject,
|
|
1055
804
|
args: [MatSnackBar]
|
|
1056
|
-
}] }, { type:
|
|
805
|
+
}] }, { type: i4.MatIconButton, decorators: [{
|
|
1057
806
|
type: Optional
|
|
1058
807
|
}, {
|
|
1059
808
|
type: Inject,
|
|
1060
809
|
args: [MatIconButton]
|
|
1061
|
-
}] }, { type:
|
|
810
|
+
}] }, { type: i5.MatTooltip, decorators: [{
|
|
1062
811
|
type: Optional
|
|
1063
812
|
}, {
|
|
1064
813
|
type: Inject,
|
|
@@ -1111,10 +860,10 @@ class RowActionCheckPipe {
|
|
|
1111
860
|
}
|
|
1112
861
|
return true;
|
|
1113
862
|
}
|
|
1114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1115
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
863
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: RowActionCheckPipe, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
864
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: RowActionCheckPipe, isStandalone: true, name: "rxapRowActionCheck" }); }
|
|
1116
865
|
}
|
|
1117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
1118
867
|
type: Pipe,
|
|
1119
868
|
args: [{
|
|
1120
869
|
name: 'rxapRowActionCheck',
|
|
@@ -1131,10 +880,10 @@ class TableRowActionDirective extends AbstractTableRowAction {
|
|
|
1131
880
|
getElementList() {
|
|
1132
881
|
return [this.element];
|
|
1133
882
|
}
|
|
1134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1135
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
884
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: TableRowActionDirective, isStandalone: true, selector: "button[rxapTableRowAction]", inputs: { errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh", color: "color", type: ["rxapTableRowAction", "type"], element: "element" }, usesInheritance: true, ngImport: i0 }); }
|
|
1136
885
|
}
|
|
1137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
1138
887
|
type: Directive,
|
|
1139
888
|
args: [{
|
|
1140
889
|
selector: 'button[rxapTableRowAction]',
|
|
@@ -1182,10 +931,10 @@ class TableRowHeaderActionDirective extends AbstractTableRowAction {
|
|
|
1182
931
|
getElementList() {
|
|
1183
932
|
return this.selectRowService?.selectedRows ?? [];
|
|
1184
933
|
}
|
|
1185
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1186
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.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: INJECTOR }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
935
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: TableRowHeaderActionDirective, isStandalone: true, selector: "button[rxapTableRowHeaderAction]", inputs: { errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh", color: "color", type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 }); }
|
|
1187
936
|
}
|
|
1188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
1189
938
|
type: Directive,
|
|
1190
939
|
args: [{
|
|
1191
940
|
selector: 'button[rxapTableRowHeaderAction]',
|
|
@@ -1211,15 +960,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1211
960
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
1212
961
|
type: Inject,
|
|
1213
962
|
args: [TableDataSourceDirective]
|
|
1214
|
-
}] }, { type: i3
|
|
963
|
+
}] }, { type: i3.MatSnackBar, decorators: [{
|
|
1215
964
|
type: Inject,
|
|
1216
965
|
args: [MatSnackBar]
|
|
1217
|
-
}] }, { type:
|
|
966
|
+
}] }, { type: i4.MatButton, decorators: [{
|
|
1218
967
|
type: Optional
|
|
1219
968
|
}, {
|
|
1220
969
|
type: Inject,
|
|
1221
970
|
args: [MatButton]
|
|
1222
|
-
}] }, { type:
|
|
971
|
+
}] }, { type: i5.MatTooltip, decorators: [{
|
|
1223
972
|
type: Optional
|
|
1224
973
|
}, {
|
|
1225
974
|
type: Inject,
|
|
@@ -1241,8 +990,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1241
990
|
}] } });
|
|
1242
991
|
|
|
1243
992
|
class TableRowActionsModule {
|
|
1244
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1245
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
993
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
994
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionsModule, imports: [TableRowActionDirective,
|
|
1246
995
|
TableRowActionExecutingDirective,
|
|
1247
996
|
TableRowHeaderActionDirective,
|
|
1248
997
|
RowActionCheckPipe,
|
|
@@ -1256,14 +1005,14 @@ class TableRowActionsModule {
|
|
|
1256
1005
|
MatIconModule,
|
|
1257
1006
|
MatProgressBarModule,
|
|
1258
1007
|
CommonModule] }); }
|
|
1259
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
1008
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionsModule, imports: [ConfirmModule, MatTooltipModule,
|
|
1260
1009
|
MatButtonModule,
|
|
1261
1010
|
ConfirmModule,
|
|
1262
1011
|
MatIconModule,
|
|
1263
1012
|
MatProgressBarModule,
|
|
1264
1013
|
CommonModule] }); }
|
|
1265
1014
|
}
|
|
1266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
1267
1016
|
type: NgModule,
|
|
1268
1017
|
args: [{
|
|
1269
1018
|
imports: [
|
|
@@ -1426,10 +1175,10 @@ class TableHeaderButtonDirective extends ConfirmDirective {
|
|
|
1426
1175
|
getTableHeaderButtonOptions() {
|
|
1427
1176
|
return GetTableHeaderButtonMetadata(this.method);
|
|
1428
1177
|
}
|
|
1429
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1430
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableHeaderButtonDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: TABLE_HEADER_BUTTON_METHOD }, { token: MatSnackBar }, { token: MatTooltip, optional: true }, { token: MatMiniFabButton, optional: true }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1179
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: TableHeaderButtonDirective, isStandalone: true, selector: "button[mat-mini-fab][rxapTableHeaderButton]", inputs: { tableDataSourceDirective: ["rxapTableHeaderButton", "tableDataSourceDirective"], errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh", hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"] }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 }); }
|
|
1431
1180
|
}
|
|
1432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableHeaderButtonDirective, decorators: [{
|
|
1433
1182
|
type: Directive,
|
|
1434
1183
|
args: [{
|
|
1435
1184
|
selector: 'button[mat-mini-fab][rxapTableHeaderButton]',
|
|
@@ -1444,15 +1193,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1444
1193
|
}] }, { type: undefined, decorators: [{
|
|
1445
1194
|
type: Inject,
|
|
1446
1195
|
args: [TABLE_HEADER_BUTTON_METHOD]
|
|
1447
|
-
}] }, { type: i3
|
|
1196
|
+
}] }, { type: i3.MatSnackBar, decorators: [{
|
|
1448
1197
|
type: Inject,
|
|
1449
1198
|
args: [MatSnackBar]
|
|
1450
|
-
}] }, { type:
|
|
1199
|
+
}] }, { type: i5.MatTooltip, decorators: [{
|
|
1451
1200
|
type: Optional
|
|
1452
1201
|
}, {
|
|
1453
1202
|
type: Inject,
|
|
1454
1203
|
args: [MatTooltip]
|
|
1455
|
-
}] }, { type:
|
|
1204
|
+
}] }, { type: i4.MatMiniFabButton, decorators: [{
|
|
1456
1205
|
type: Optional
|
|
1457
1206
|
}, {
|
|
1458
1207
|
type: Inject,
|
|
@@ -1506,8 +1255,8 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
1506
1255
|
super.ngOnDestroy();
|
|
1507
1256
|
this._subscription?.unsubscribe();
|
|
1508
1257
|
}
|
|
1509
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1510
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1259
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: FilterHeaderRowDirective, isStandalone: true, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
|
|
1511
1260
|
{
|
|
1512
1261
|
provide: ControlContainer,
|
|
1513
1262
|
// ignore coverage
|
|
@@ -1515,7 +1264,7 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
1515
1264
|
},
|
|
1516
1265
|
], usesInheritance: true, ngImport: i0 }); }
|
|
1517
1266
|
}
|
|
1518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
1519
1268
|
type: Directive,
|
|
1520
1269
|
args: [{
|
|
1521
1270
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1543,10 +1292,10 @@ class ToFilterColumnNamesPipe {
|
|
|
1543
1292
|
transform(columns) {
|
|
1544
1293
|
return columns.map(column => 'filter_' + column);
|
|
1545
1294
|
}
|
|
1546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1547
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
1295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToFilterColumnNamesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1296
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: ToFilterColumnNamesPipe, isStandalone: true, name: "toFilterColumnNames" }); }
|
|
1548
1297
|
}
|
|
1549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
1550
1299
|
type: Pipe,
|
|
1551
1300
|
args: [{
|
|
1552
1301
|
name: 'toFilterColumnNames',
|
|
@@ -1555,13 +1304,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1555
1304
|
}] });
|
|
1556
1305
|
|
|
1557
1306
|
class TableFilterModule {
|
|
1558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1559
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
1307
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1308
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: TableFilterModule, imports: [ToFilterColumnNamesPipe,
|
|
1560
1309
|
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
1561
1310
|
FilterHeaderRowDirective] }); }
|
|
1562
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
1311
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableFilterModule }); }
|
|
1563
1312
|
}
|
|
1564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
1565
1314
|
type: NgModule,
|
|
1566
1315
|
args: [{
|
|
1567
1316
|
exports: [
|
|
@@ -1578,8 +1327,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1578
1327
|
const TABLE_CREATE_REMOTE_METHOD = new InjectionToken('table-create-remote-method');
|
|
1579
1328
|
|
|
1580
1329
|
class TableCreateButtonDirective {
|
|
1581
|
-
constructor(
|
|
1582
|
-
this.
|
|
1330
|
+
constructor(method, elementRef, renderer) {
|
|
1331
|
+
this.method = method;
|
|
1583
1332
|
this.elementRef = elementRef;
|
|
1584
1333
|
this.renderer = renderer;
|
|
1585
1334
|
}
|
|
@@ -1592,16 +1341,16 @@ class TableCreateButtonDirective {
|
|
|
1592
1341
|
}
|
|
1593
1342
|
}
|
|
1594
1343
|
async onClick() {
|
|
1595
|
-
const result = this._createObservable = await this.
|
|
1344
|
+
const result = this._createObservable = await this.method.call();
|
|
1596
1345
|
if (isObservable(result)) {
|
|
1597
1346
|
await result.toPromise();
|
|
1598
1347
|
}
|
|
1599
1348
|
this.dataSource.refresh();
|
|
1600
1349
|
}
|
|
1601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1602
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1350
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableCreateButtonDirective, deps: [{ token: TABLE_CREATE_REMOTE_METHOD }, { token: ElementRef }, { token: Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1351
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: TableCreateButtonDirective, isStandalone: true, selector: "button[rxapTableCreate]", inputs: { dataSource: ["rxapTableCreate", "dataSource"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
1603
1352
|
}
|
|
1604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1605
1354
|
type: Directive,
|
|
1606
1355
|
args: [{
|
|
1607
1356
|
selector: 'button[rxapTableCreate]',
|
|
@@ -1677,10 +1426,10 @@ class TableColumnOptionComponent {
|
|
|
1677
1426
|
this.active = false;
|
|
1678
1427
|
localStorage.setItem(this.cacheId, 'false');
|
|
1679
1428
|
}
|
|
1680
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1681
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1429
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1430
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: [""] }); }
|
|
1682
1431
|
}
|
|
1683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
1684
1433
|
type: Component,
|
|
1685
1434
|
args: [{ selector: 'rxap-table-column-option', standalone: true, template: "<ng-content></ng-content>\n" }]
|
|
1686
1435
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
@@ -1730,10 +1479,10 @@ class TableColumnMenuComponent {
|
|
|
1730
1479
|
.forEach((column) => column.deactivate());
|
|
1731
1480
|
this.updateDisplayColumns();
|
|
1732
1481
|
}
|
|
1733
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1734
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1483
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i4.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.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$1.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: i5$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1735
1484
|
}
|
|
1736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
1737
1486
|
type: Component,
|
|
1738
1487
|
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'rxapTableColumns', standalone: true, imports: [
|
|
1739
1488
|
MatButtonModule,
|
|
@@ -1772,10 +1521,10 @@ class TableShowArchivedSlideComponent {
|
|
|
1772
1521
|
ngAfterViewInit() {
|
|
1773
1522
|
this.tableColumnMenu.deactivate('removedAt');
|
|
1774
1523
|
}
|
|
1775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1776
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableShowArchivedSlideComponent, deps: [{ token: TableFilterService, optional: true }, { token: TableColumnMenuComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1525
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.4", type: TableShowArchivedSlideComponent, isStandalone: true, selector: "rxap-table-show-archived-slide", inputs: { paginator: "paginator" }, ngImport: i0, template: "<div class=\"m-6\" rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <span class=\"mx-2 whitespace-nowrap\" i18n>Show archived documents</span>\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i1$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1777
1526
|
}
|
|
1778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1779
1528
|
type: Component,
|
|
1780
1529
|
args: [{ selector: 'rxap-table-show-archived-slide', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [StopPropagationDirective, MatSlideToggleModule], template: "<div class=\"m-6\" rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <span class=\"mx-2 whitespace-nowrap\" i18n>Show archived documents</span>\n </mat-slide-toggle>\n</div>\n" }]
|
|
1781
1530
|
}], ctorParameters: function () { return [{ type: TableFilterService, decorators: [{
|
|
@@ -1791,16 +1540,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1791
1540
|
}] } });
|
|
1792
1541
|
|
|
1793
1542
|
class TableColumnMenuModule {
|
|
1794
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1795
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
1543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1544
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: TableColumnMenuModule, imports: [TableColumnMenuComponent,
|
|
1796
1545
|
TableShowArchivedSlideComponent,
|
|
1797
1546
|
TableColumnOptionComponent], exports: [TableColumnMenuComponent,
|
|
1798
1547
|
TableShowArchivedSlideComponent,
|
|
1799
1548
|
TableColumnOptionComponent] }); }
|
|
1800
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
1549
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnMenuModule, imports: [TableColumnMenuComponent,
|
|
1801
1550
|
TableShowArchivedSlideComponent] }); }
|
|
1802
1551
|
}
|
|
1803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TableColumnMenuModule, decorators: [{
|
|
1804
1553
|
type: NgModule,
|
|
1805
1554
|
args: [{
|
|
1806
1555
|
imports: [
|
|
@@ -1840,10 +1589,10 @@ class CheckboxHeaderCellComponent {
|
|
|
1840
1589
|
this.selectRow.selectionModel.clear();
|
|
1841
1590
|
}
|
|
1842
1591
|
}
|
|
1843
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1844
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1592
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: CheckboxHeaderCellComponent, deps: [{ token: CdkTable }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1593
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i5$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1845
1594
|
}
|
|
1846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
1847
1596
|
type: Component,
|
|
1848
1597
|
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1849
1598
|
NgIf,
|
|
@@ -1859,10 +1608,10 @@ class CheckboxCellComponent {
|
|
|
1859
1608
|
constructor(selectRow) {
|
|
1860
1609
|
this.selectRow = selectRow;
|
|
1861
1610
|
}
|
|
1862
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1863
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1611
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1612
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i5$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
1864
1613
|
}
|
|
1865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
1866
1615
|
type: Component,
|
|
1867
1616
|
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" }]
|
|
1868
1617
|
}], ctorParameters: function () { return [{ type: SelectRowService, decorators: [{
|
|
@@ -1892,10 +1641,10 @@ class SelectedRowsDirective {
|
|
|
1892
1641
|
this.cdr.detectChanges();
|
|
1893
1642
|
})).subscribe();
|
|
1894
1643
|
}
|
|
1895
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1896
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1644
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectedRowsDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1645
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: SelectedRowsDirective, isStandalone: true, selector: "[rxapSelectedRows]", ngImport: i0 }); }
|
|
1897
1646
|
}
|
|
1898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
1899
1648
|
type: Directive,
|
|
1900
1649
|
args: [{
|
|
1901
1650
|
selector: '[rxapSelectedRows]',
|
|
@@ -1916,16 +1665,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
1916
1665
|
}] }]; } });
|
|
1917
1666
|
|
|
1918
1667
|
class SelectRowModule {
|
|
1919
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1920
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
1668
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1669
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: SelectRowModule, imports: [SelectedRowsDirective,
|
|
1921
1670
|
CheckboxCellComponent,
|
|
1922
1671
|
CheckboxHeaderCellComponent], exports: [CheckboxCellComponent,
|
|
1923
1672
|
CheckboxHeaderCellComponent,
|
|
1924
1673
|
SelectedRowsDirective] }); }
|
|
1925
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
1674
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponent,
|
|
1926
1675
|
CheckboxHeaderCellComponent] }); }
|
|
1927
1676
|
}
|
|
1928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
1929
1678
|
type: NgModule,
|
|
1930
1679
|
args: [{
|
|
1931
1680
|
exports: [
|
|
@@ -1948,10 +1697,10 @@ class ExpandRowContentDirective {
|
|
|
1948
1697
|
constructor(template) {
|
|
1949
1698
|
this.template = template;
|
|
1950
1699
|
}
|
|
1951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1952
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1701
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: ExpandRowContentDirective, isStandalone: true, selector: "[rxapExpandRowContent]", ngImport: i0 }); }
|
|
1953
1702
|
}
|
|
1954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
1955
1704
|
type: Directive,
|
|
1956
1705
|
args: [{
|
|
1957
1706
|
selector: '[rxapExpandRowContent]',
|
|
@@ -1980,10 +1729,10 @@ class ExpandRowService {
|
|
|
1980
1729
|
isExpanded$(row) {
|
|
1981
1730
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
1982
1731
|
}
|
|
1983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1984
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
1732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1733
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowService }); }
|
|
1985
1734
|
}
|
|
1986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
1987
1736
|
type: Injectable
|
|
1988
1737
|
}] });
|
|
1989
1738
|
|
|
@@ -2006,8 +1755,8 @@ class ExpandRowContainerComponent {
|
|
|
2006
1755
|
})).subscribe();
|
|
2007
1756
|
}
|
|
2008
1757
|
}
|
|
2009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2010
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1759
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [
|
|
2011
1760
|
trigger('detailExpand', [
|
|
2012
1761
|
state('collapsed', style({
|
|
2013
1762
|
height: '0px',
|
|
@@ -2018,7 +1767,7 @@ class ExpandRowContainerComponent {
|
|
|
2018
1767
|
]),
|
|
2019
1768
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2020
1769
|
}
|
|
2021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
2022
1771
|
type: Component,
|
|
2023
1772
|
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
2024
1773
|
trigger('detailExpand', [
|
|
@@ -2048,10 +1797,10 @@ class ExpandControlsCellComponent {
|
|
|
2048
1797
|
constructor(expandCell) {
|
|
2049
1798
|
this.expandCell = expandCell;
|
|
2050
1799
|
}
|
|
2051
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2052
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1801
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i4.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: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2053
1802
|
}
|
|
2054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandControlsCellComponent, decorators: [{
|
|
2055
1804
|
type: Component,
|
|
2056
1805
|
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" }]
|
|
2057
1806
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
@@ -2072,10 +1821,10 @@ class ExpandRowDirective {
|
|
|
2072
1821
|
onClick() {
|
|
2073
1822
|
this.expandCell.toggleRow(this.element);
|
|
2074
1823
|
}
|
|
2075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2076
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1825
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: ExpandRowDirective, isStandalone: true, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 }); }
|
|
2077
1826
|
}
|
|
2078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
2079
1828
|
type: Directive,
|
|
2080
1829
|
args: [{
|
|
2081
1830
|
selector: 'tr[rxapExpandRow]',
|
|
@@ -2096,13 +1845,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
2096
1845
|
}] } });
|
|
2097
1846
|
|
|
2098
1847
|
class ExpandRowModule {
|
|
2099
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2100
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
2101
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
1848
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1849
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowModule, imports: [ExpandRowDirective], exports: [ExpandRowDirective] }); }
|
|
1850
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowModule, providers: [
|
|
2102
1851
|
ExpandRowService,
|
|
2103
1852
|
] }); }
|
|
2104
1853
|
}
|
|
2105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
2106
1855
|
type: NgModule,
|
|
2107
1856
|
args: [{
|
|
2108
1857
|
imports: [ExpandRowDirective],
|
|
@@ -2140,10 +1889,10 @@ class TreeControlCellComponent {
|
|
|
2140
1889
|
this.icon ??= { icon: 'subdirectory_arrow_right' };
|
|
2141
1890
|
}
|
|
2142
1891
|
}
|
|
2143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2144
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TreeControlCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1893
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.4", type: TreeControlCellComponent, isStandalone: true, selector: "rxap-tree-control-cell, td[rxap-tree-control-cell]", inputs: { element: ["rxap-tree-control-cell", "element"] }, ngImport: i0, template: "<div class=\"flex flex-row justify-start items-center\">\n <div [fxFlexOffset]=\"offset\">\n <button (click)=\"toggleExpand()\" mat-icon-button>\n <mat-icon>{{expandIcon}}</mat-icon>\n </button>\n </div>\n <div *ngIf=\"icon\">\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2.DefaultFlexOffsetDirective, selector: " [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md], [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md], [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm], [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]", inputs: ["fxFlexOffset", "fxFlexOffset.xs", "fxFlexOffset.sm", "fxFlexOffset.md", "fxFlexOffset.lg", "fxFlexOffset.xl", "fxFlexOffset.lt-sm", "fxFlexOffset.lt-md", "fxFlexOffset.lt-lg", "fxFlexOffset.lt-xl", "fxFlexOffset.gt-xs", "fxFlexOffset.gt-sm", "fxFlexOffset.gt-md", "fxFlexOffset.gt-lg"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2145
1894
|
}
|
|
2146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: TreeControlCellComponent, decorators: [{
|
|
2147
1896
|
type: Component,
|
|
2148
1897
|
args: [{ selector: 'rxap-tree-control-cell, td[rxap-tree-control-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
2149
1898
|
FlexModule,
|
|
@@ -2200,10 +1949,10 @@ class OptionsCellComponent {
|
|
|
2200
1949
|
ngOnDestroy() {
|
|
2201
1950
|
this._subscription?.unsubscribe();
|
|
2202
1951
|
}
|
|
2203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2204
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OptionsCellComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1953
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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 }); }
|
|
2205
1954
|
}
|
|
2206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
2207
1956
|
type: Component,
|
|
2208
1957
|
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "{{viewValue}}\n<ng-content></ng-content>\n" }]
|
|
2209
1958
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
@@ -2230,10 +1979,10 @@ class LinkCellComponent {
|
|
|
2230
1979
|
}
|
|
2231
1980
|
return this.value;
|
|
2232
1981
|
}
|
|
2233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2234
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1983
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i5.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2.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.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.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.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: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2235
1984
|
}
|
|
2236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
2237
1986
|
type: Component,
|
|
2238
1987
|
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"] }]
|
|
2239
1988
|
}], propDecorators: { value: [{
|
|
@@ -2252,10 +2001,10 @@ class ImageCellComponent {
|
|
|
2252
2001
|
this.position = BackgroundPositionOptions.CENTER_CENTER;
|
|
2253
2002
|
this.value = null;
|
|
2254
2003
|
}
|
|
2255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2256
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
2004
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ImageCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2005
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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 }); }
|
|
2257
2006
|
}
|
|
2258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
2259
2008
|
type: Component,
|
|
2260
2009
|
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"] }]
|
|
2261
2010
|
}], propDecorators: { preset: [{
|
|
@@ -2272,10 +2021,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
2272
2021
|
}] } });
|
|
2273
2022
|
|
|
2274
2023
|
class IconCellComponent {
|
|
2275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2276
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
2024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2025
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i3$1.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 }); }
|
|
2277
2026
|
}
|
|
2278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
2279
2028
|
type: Component,
|
|
2280
2029
|
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" }]
|
|
2281
2030
|
}], propDecorators: { icon: [{
|
|
@@ -2288,10 +2037,10 @@ class DateCellComponent {
|
|
|
2288
2037
|
this.date = null;
|
|
2289
2038
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
2290
2039
|
}
|
|
2291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2292
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
2040
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2041
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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 }); }
|
|
2293
2042
|
}
|
|
2294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
2295
2044
|
type: Component,
|
|
2296
2045
|
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" }]
|
|
2297
2046
|
}], propDecorators: { date: [{
|
|
@@ -2302,10 +2051,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
2302
2051
|
}] } });
|
|
2303
2052
|
|
|
2304
2053
|
class CopyToClipboardCellComponent {
|
|
2305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2306
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
2054
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: CopyToClipboardCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2055
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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 }); }
|
|
2307
2056
|
}
|
|
2308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
2309
2058
|
type: Component,
|
|
2310
2059
|
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"] }]
|
|
2311
2060
|
}], propDecorators: { value: [{
|
|
@@ -2317,10 +2066,10 @@ class BooleanCellComponent {
|
|
|
2317
2066
|
constructor() {
|
|
2318
2067
|
this.value = null;
|
|
2319
2068
|
}
|
|
2320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2321
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
2069
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: BooleanCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2070
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.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: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2322
2071
|
}
|
|
2323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
2324
2073
|
type: Component,
|
|
2325
2074
|
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" }]
|
|
2326
2075
|
}], propDecorators: { value: [{
|
|
@@ -2361,10 +2110,10 @@ class PersistentPaginatorDirective {
|
|
|
2361
2110
|
}
|
|
2362
2111
|
return null;
|
|
2363
2112
|
}
|
|
2364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2365
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
2113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1$5.MatPaginator }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2114
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.4", type: PersistentPaginatorDirective, isStandalone: true, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 }); }
|
|
2366
2115
|
}
|
|
2367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
2368
2117
|
type: Directive,
|
|
2369
2118
|
args: [{
|
|
2370
2119
|
selector: 'mat-paginator[rxapPersistent]',
|
|
@@ -2413,5 +2162,5 @@ const RowAnimation = trigger('rowsAnimation', [
|
|
|
2413
2162
|
* Generated bundle index. Do not edit.
|
|
2414
2163
|
*/
|
|
2415
2164
|
|
|
2416
|
-
export { AbstractTableRowAction, BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableHeaderButtonMetadata, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, ImageCellComponent, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, OptionsCellComponent, PersistentPaginatorDirective,
|
|
2165
|
+
export { AbstractTableRowAction, BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableHeaderButtonMetadata, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, ImageCellComponent, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, OptionsCellComponent, PersistentPaginatorDirective, RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, RXAP_TABLE_ACTION_METHOD_METADATA, RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA, RXAP_TABLE_ROW_ACTION_METHOD, RowActionCheckPipe, RowAnimation, SelectRowModule, SelectRowService, SelectedRowsDirective, SelectionModel, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_HEADER_BUTTON_METHOD, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnMenuModule, TableColumnOptionComponent, TableCreateButtonDirective, TableDataSourceDirective, TableFilterModule, TableFilterService, TableHeaderButtonActionStatus, TableHeaderButtonDirective, TableHeaderButtonMethod, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowActionsModule, TableRowHeaderActionDirective, TableSelectControlsComponent, TableShowArchivedSlideComponent, ToFilterColumnNamesPipe, TreeControlCellComponent, getMultipleValuesInSingleSelectionError };
|
|
2417
2166
|
//# sourceMappingURL=rxap-material-table-system.mjs.map
|