@rxap/material-table-system 16.0.0-dev.1 → 16.0.0-dev.10
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 +722 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +5 -19
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +10 -10
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +9 -10
- package/esm2022/lib/cells/date-cell/date-cell.component.mjs +8 -9
- package/esm2022/lib/cells/icon-cell/icon-cell.component.mjs +10 -10
- package/esm2022/lib/cells/image-cell/image-cell.component.mjs +9 -11
- package/esm2022/lib/cells/link-cell/link-cell.component.mjs +14 -12
- package/esm2022/lib/cells/options-cell/options-cell.component.mjs +9 -10
- package/esm2022/lib/cells/tree-control-cell/tree-control-cell.component.mjs +52 -0
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +13 -12
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +29 -23
- package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +8 -8
- package/esm2022/lib/expand-row/expand-row.directive.mjs +8 -8
- package/esm2022/lib/expand-row/expand-row.module.mjs +11 -19
- package/esm2022/lib/expand-row/expand-row.service.mjs +5 -6
- package/esm2022/lib/persistent-paginator.directive.mjs +11 -24
- package/esm2022/lib/row-animation.mjs +16 -8
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +9 -9
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +16 -12
- package/esm2022/lib/select-row/select-row.module.mjs +20 -15
- package/esm2022/lib/select-row/select-row.options.mjs +1 -1
- package/esm2022/lib/select-row/select-row.service.mjs +7 -8
- package/esm2022/lib/select-row/selected-rows.directive.mjs +9 -9
- package/esm2022/lib/select-row/selection-model.mjs +1 -1
- package/esm2022/lib/select-row/tokens.mjs +1 -1
- package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +27 -15
- package/esm2022/lib/table-column-menu/table-column-menu.module.mjs +31 -0
- package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +8 -9
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +29 -14
- package/esm2022/lib/table-create-button/table-create-button.directive.mjs +9 -22
- package/esm2022/lib/table-create-button/tokens.mjs +1 -1
- package/esm2022/lib/table-data-source.directive.mjs +14 -27
- package/esm2022/lib/table-filter/filter-header-row.directive.mjs +10 -10
- package/esm2022/lib/table-filter/table-filter.module.mjs +10 -11
- package/esm2022/lib/table-filter/table-filter.service.mjs +9 -9
- package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +8 -8
- package/esm2022/lib/table-filter/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/decorators.mjs +6 -3
- package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +8 -8
- package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +8 -8
- package/esm2022/lib/table-row-actions/table-row-action-status.mjs +1 -1
- package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +24 -19
- package/esm2022/lib/table-row-actions/table-row-action.method.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-actions.module.mjs +20 -22
- package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +15 -15
- package/esm2022/lib/table-row-actions/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/types.mjs +1 -1
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +21 -15
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +36 -22
- package/esm2022/lib/table-row-controls/table-row-controls.module.mjs +21 -14
- package/esm2022/lib/table-row-controls/tokens.mjs +22 -1
- package/esm2022/lib/table-row-metadata.mjs +1 -1
- package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +16 -11
- package/esm2022/rxap-material-table-system.mjs +1 -1
- package/fesm2022/rxap-material-table-system.mjs +495 -711
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/index.d.ts +4 -18
- package/lib/cells/boolean-cell/boolean-cell.component.d.ts +1 -1
- package/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.d.ts +1 -1
- package/lib/cells/date-cell/date-cell.component.d.ts +1 -1
- package/lib/cells/icon-cell/icon-cell.component.d.ts +1 -1
- package/lib/cells/image-cell/image-cell.component.d.ts +1 -1
- package/lib/cells/link-cell/link-cell.component.d.ts +1 -1
- package/lib/cells/options-cell/options-cell.component.d.ts +3 -3
- package/lib/cells/tree-control-cell/tree-control-cell.component.d.ts +16 -0
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.d.ts +1 -1
- package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +3 -3
- package/lib/expand-row/expand-row-container/expand-row-content.directive.d.ts +1 -1
- package/lib/expand-row/expand-row.directive.d.ts +1 -1
- package/lib/expand-row/expand-row.module.d.ts +1 -3
- package/lib/persistent-paginator.directive.d.ts +2 -7
- package/lib/select-row/checkbox-cell/checkbox-cell.component.d.ts +1 -1
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.d.ts +2 -2
- package/lib/select-row/select-row.module.d.ts +3 -3
- package/lib/select-row/select-row.service.d.ts +1 -1
- package/lib/select-row/selected-rows.directive.d.ts +2 -2
- package/lib/table-column-menu/table-column-menu.component.d.ts +1 -1
- package/lib/table-column-menu/table-column-menu.module.d.ts +9 -0
- package/lib/table-column-menu/table-column-option/table-column-option.component.d.ts +1 -1
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +9 -5
- package/lib/table-create-button/table-create-button.directive.d.ts +3 -8
- package/lib/table-create-button/tokens.d.ts +1 -1
- package/lib/table-data-source.directive.d.ts +5 -9
- package/lib/table-filter/filter-header-row.directive.d.ts +2 -2
- package/lib/table-filter/table-filter.module.d.ts +1 -1
- package/lib/table-filter/to-filter-column-names.pipe.d.ts +1 -1
- package/lib/table-row-actions/decorators.d.ts +3 -3
- package/lib/table-row-actions/row-action-check.pipe.d.ts +1 -1
- package/lib/table-row-actions/table-row-action-executing.directive.d.ts +1 -1
- package/lib/table-row-actions/table-row-action.directive.d.ts +4 -4
- package/lib/table-row-actions/table-row-action.method.d.ts +1 -1
- package/lib/table-row-actions/table-row-actions.module.d.ts +4 -4
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +4 -4
- package/lib/table-row-actions/types.d.ts +5 -5
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +5 -2
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +5 -2
- package/lib/table-row-controls/table-row-controls.module.d.ts +6 -3
- package/lib/table-row-controls/tokens.d.ts +21 -0
- package/lib/table-row-metadata.d.ts +1 -1
- package/lib/table-select-controls/table-select-controls.component.d.ts +1 -1
- package/package.json +94 -63
- package/src/lib/cells/boolean-cell/_boolean-cell.component.theme.scss +28 -0
- package/LICENSE +0 -27
- package/collection.json +0 -10
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.module.mjs +0 -25
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.mjs +0 -25
- package/esm2022/lib/cells/date-cell/date-cell.component.module.mjs +0 -21
- package/esm2022/lib/cells/icon-cell/icon-cell.component.module.mjs +0 -29
- package/esm2022/lib/cells/image-cell/image-cell.component.module.mjs +0 -20
- package/esm2022/lib/cells/link-cell/link-cell.component.module.mjs +0 -33
- package/esm2022/lib/cells/options-cell/options-cell.component.module.mjs +0 -18
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.mjs +0 -29
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.module.mjs +0 -34
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.module.mjs +0 -25
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.mjs +0 -25
- package/esm2022/lib/table-column-menu/table-column-menu.component.module.mjs +0 -46
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.mjs +0 -25
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.mjs +0 -41
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.mjs +0 -41
- package/esm2022/lib/table-select-controls/table-select-controls.component.module.mjs +0 -29
- package/lib/cells/boolean-cell/boolean-cell.component.module.d.ts +0 -9
- package/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.d.ts +0 -9
- package/lib/cells/date-cell/date-cell.component.module.d.ts +0 -8
- package/lib/cells/icon-cell/icon-cell.component.module.d.ts +0 -10
- package/lib/cells/image-cell/image-cell.component.module.d.ts +0 -9
- package/lib/cells/link-cell/link-cell.component.module.d.ts +0 -11
- package/lib/cells/options-cell/options-cell.component.module.d.ts +0 -7
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.d.ts +0 -10
- package/lib/expand-row/expand-row-container/expand-row-container.component.module.d.ts +0 -10
- package/lib/select-row/checkbox-cell/checkbox-cell.component.module.d.ts +0 -9
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.d.ts +0 -9
- package/lib/table-column-menu/table-column-menu.component.module.d.ts +0 -15
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.d.ts +0 -9
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.d.ts +0 -13
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.d.ts +0 -13
- package/lib/table-select-controls/table-select-controls.component.module.d.ts +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
|
@@ -1,77 +1,52 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Injectable, Directive, Inject, HostListener, Input, NgModule, TemplateRef, ViewContainerRef, Component, ChangeDetectionStrategy, ContentChild, InjectionToken, Optional, ChangeDetectorRef, forwardRef, Pipe, ElementRef, ContentChildren, HostBinding, Renderer2, isDevMode } from '@angular/core';
|
|
3
|
+
import { BehaviorSubject, Subject, EMPTY, ReplaySubject, Subscription, isObservable, of } from 'rxjs';
|
|
4
|
+
import { map, filter, tap, distinctUntilChanged, debounceTime, delay, startWith } from 'rxjs/operators';
|
|
3
5
|
import { __decorate, __metadata } from 'tslib';
|
|
6
|
+
import { Required, clone, DeleteEmptyProperties, equals, coerceBoolean, coerceArray } from '@rxap/utilities';
|
|
4
7
|
import * as i1 from '@angular/cdk/portal';
|
|
5
8
|
import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
6
|
-
import { Required, clone, DeleteEmptyProperties, equals, coerceBoolean, coerceArray } from '@rxap/utilities';
|
|
7
9
|
import { trigger, state, style, transition, animate, sequence } from '@angular/animations';
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import * as i2 from '@angular/common';
|
|
11
|
-
import { CommonModule } from '@angular/common';
|
|
12
|
-
import * as i2$1 from '@angular/material/icon';
|
|
10
|
+
import { AsyncPipe, NgIf, NgFor, NgClass, DatePipe, NgSwitch, NgSwitchCase, NgSwitchDefault, CommonModule } from '@angular/common';
|
|
11
|
+
import * as i3$1 from '@angular/material/icon';
|
|
13
12
|
import { MatIconModule } from '@angular/material/icon';
|
|
14
|
-
import * as
|
|
15
|
-
import {
|
|
16
|
-
import * as i1$1 from '@angular/material/
|
|
17
|
-
import {
|
|
18
|
-
import * as
|
|
13
|
+
import * as i3 from '@angular/material/button';
|
|
14
|
+
import { MatButtonModule, MatButton } from '@angular/material/button';
|
|
15
|
+
import * as i1$1 from '@angular/material/checkbox';
|
|
16
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
17
|
+
import * as i3$2 from '@angular/cdk/table';
|
|
19
18
|
import { CdkTable } from '@angular/cdk/table';
|
|
20
|
-
import * as i2
|
|
19
|
+
import * as i2 from '@angular/material/sort';
|
|
21
20
|
import { MatSort } from '@angular/material/sort';
|
|
22
21
|
import { RXAP_TABLE_METHOD, DynamicTableDataSource } from '@rxap/data-source/table';
|
|
23
22
|
export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
|
|
24
|
-
import { ToggleSubject } from '@rxap/
|
|
23
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
25
24
|
import { pipeDataSource } from '@rxap/data-source';
|
|
26
|
-
import * as i1$2 from '@angular/material/
|
|
25
|
+
import * as i1$2 from '@angular/material/paginator';
|
|
27
26
|
import { FormDirective } from '@rxap/forms';
|
|
28
27
|
import { ControlContainer } from '@angular/forms';
|
|
29
28
|
import * as i1$3 from '@angular/router';
|
|
30
|
-
import * as
|
|
31
|
-
import {
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
38
|
-
import * as
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';
|
|
29
|
+
import * as i4 from '@angular/flex-layout/extended';
|
|
30
|
+
import { ExtendedModule } from '@angular/flex-layout/extended';
|
|
31
|
+
import { StopPropagationDirective, BackgroundSizeOptions, BackgroundRepeatOptions, BackgroundPositionOptions, BackgroundImageDirective } from '@rxap/directives';
|
|
32
|
+
import * as i2$1 from '@angular/material/menu';
|
|
33
|
+
import { MatMenuModule } from '@angular/material/menu';
|
|
34
|
+
import * as i1$4 from '@angular/material/slide-toggle';
|
|
35
|
+
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
36
|
+
import { ConfirmDirective, CopyToClipboardComponent, ConfirmModule } from '@rxap/components';
|
|
37
|
+
import * as i4$1 from '@angular/material/tooltip';
|
|
38
|
+
import { MatTooltipModule, MatTooltip } from '@angular/material/tooltip';
|
|
39
|
+
import * as i2$2 from '@angular/flex-layout/flex';
|
|
40
|
+
import { FlexModule } from '@angular/flex-layout/flex';
|
|
43
41
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
44
|
-
import
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import * as i5 from '@angular/material/tooltip';
|
|
51
|
-
import { MatTooltip } from '@angular/material/tooltip';
|
|
52
|
-
import * as i1$4 from '@angular/cdk/overlay';
|
|
42
|
+
import { IconDirective } from '@rxap/material-directives/icon';
|
|
43
|
+
import { MatOption } from '@angular/material/core';
|
|
44
|
+
import { setMetadata, getMetadata, hasMetadata } from '@rxap/reflect-metadata';
|
|
45
|
+
import * as i3$3 from '@angular/material/snack-bar';
|
|
46
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
47
|
+
import * as i1$5 from '@angular/cdk/overlay';
|
|
53
48
|
import { Overlay } from '@angular/cdk/overlay';
|
|
54
|
-
import {
|
|
55
|
-
|
|
56
|
-
class ExpandRowContentDirective {
|
|
57
|
-
static ngTemplateContextGuard(dir, ctx) {
|
|
58
|
-
return true;
|
|
59
|
-
}
|
|
60
|
-
constructor(template) {
|
|
61
|
-
this.template = template;
|
|
62
|
-
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
64
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ExpandRowContentDirective, selector: "[rxapExpandRowContent]", ngImport: i0 }); }
|
|
65
|
-
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
67
|
-
type: Directive,
|
|
68
|
-
args: [{
|
|
69
|
-
selector: '[rxapExpandRowContent]'
|
|
70
|
-
}]
|
|
71
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
72
|
-
type: Inject,
|
|
73
|
-
args: [TemplateRef]
|
|
74
|
-
}] }]; } });
|
|
49
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
75
50
|
|
|
76
51
|
class ExpandRowService {
|
|
77
52
|
constructor() {
|
|
@@ -91,13 +66,90 @@ class ExpandRowService {
|
|
|
91
66
|
isExpanded$(row) {
|
|
92
67
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
93
68
|
}
|
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
95
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
70
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowService }); }
|
|
96
71
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
98
73
|
type: Injectable
|
|
99
74
|
}] });
|
|
100
75
|
|
|
76
|
+
class ExpandRowDirective {
|
|
77
|
+
get isExpanded() {
|
|
78
|
+
return this.expandCell.isExpanded(this.element);
|
|
79
|
+
}
|
|
80
|
+
constructor(expandCell) {
|
|
81
|
+
this.expandCell = expandCell;
|
|
82
|
+
}
|
|
83
|
+
onClick() {
|
|
84
|
+
this.expandCell.toggleRow(this.element);
|
|
85
|
+
}
|
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
87
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ExpandRowDirective, isStandalone: true, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 }); }
|
|
88
|
+
}
|
|
89
|
+
__decorate([
|
|
90
|
+
Required,
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], ExpandRowDirective.prototype, "element", void 0);
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
94
|
+
type: Directive,
|
|
95
|
+
args: [{
|
|
96
|
+
selector: 'tr[rxapExpandRow]',
|
|
97
|
+
standalone: true,
|
|
98
|
+
}]
|
|
99
|
+
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
100
|
+
type: Inject,
|
|
101
|
+
args: [ExpandRowService]
|
|
102
|
+
}] }]; }, propDecorators: { isExpanded: [{
|
|
103
|
+
type: HostListener,
|
|
104
|
+
args: ['expanded-row']
|
|
105
|
+
}], element: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], onClick: [{
|
|
108
|
+
type: HostListener,
|
|
109
|
+
args: ['click']
|
|
110
|
+
}] } });
|
|
111
|
+
|
|
112
|
+
class ExpandRowModule {
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
114
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, imports: [ExpandRowDirective], exports: [ExpandRowDirective] }); }
|
|
115
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, providers: [
|
|
116
|
+
ExpandRowService,
|
|
117
|
+
] }); }
|
|
118
|
+
}
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
120
|
+
type: NgModule,
|
|
121
|
+
args: [{
|
|
122
|
+
imports: [ExpandRowDirective],
|
|
123
|
+
exports: [
|
|
124
|
+
ExpandRowDirective,
|
|
125
|
+
],
|
|
126
|
+
providers: [
|
|
127
|
+
ExpandRowService,
|
|
128
|
+
],
|
|
129
|
+
}]
|
|
130
|
+
}] });
|
|
131
|
+
|
|
132
|
+
class ExpandRowContentDirective {
|
|
133
|
+
static ngTemplateContextGuard(dir, ctx) {
|
|
134
|
+
return true;
|
|
135
|
+
}
|
|
136
|
+
constructor(template) {
|
|
137
|
+
this.template = template;
|
|
138
|
+
}
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
140
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ExpandRowContentDirective, isStandalone: true, selector: "[rxapExpandRowContent]", ngImport: i0 }); }
|
|
141
|
+
}
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
143
|
+
type: Directive,
|
|
144
|
+
args: [{
|
|
145
|
+
selector: '[rxapExpandRowContent]',
|
|
146
|
+
standalone: true,
|
|
147
|
+
}]
|
|
148
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
149
|
+
type: Inject,
|
|
150
|
+
args: [TemplateRef]
|
|
151
|
+
}] }]; } });
|
|
152
|
+
|
|
101
153
|
class ExpandRowContainerComponent {
|
|
102
154
|
constructor(viewContainerRef, expandCell) {
|
|
103
155
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -111,33 +163,40 @@ class ExpandRowContainerComponent {
|
|
|
111
163
|
if (this.expandCellContent) {
|
|
112
164
|
this._subscription = this.expandCell.isExpanded$(this.element).pipe(filter(Boolean), tap(() => {
|
|
113
165
|
if (!this.portal) {
|
|
114
|
-
this.portal =
|
|
166
|
+
this.portal =
|
|
167
|
+
new TemplatePortal(this.expandCellContent.template, this.viewContainerRef, { $implicit: this.element });
|
|
115
168
|
}
|
|
116
169
|
})).subscribe();
|
|
117
170
|
}
|
|
118
171
|
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
173
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ExpandRowContainerComponent, isStandalone: true, selector: "td[rxap-expand-row]", inputs: { element: "element" }, queries: [{ propertyName: "expandCellContent", first: true, predicate: ExpandRowContentDirective, descendants: true }], ngImport: i0, template: "<div [@detailExpand]=\"(expandCell.isExpanded$(element) | async) ? 'expanded' : 'collapsed'\" class=\"element-detail\">\n <ng-content></ng-content>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</div>\n", styles: [".element-detail{overflow:hidden;display:flex}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [
|
|
121
174
|
trigger('detailExpand', [
|
|
122
|
-
state('collapsed', style({
|
|
175
|
+
state('collapsed', style({
|
|
176
|
+
height: '0px',
|
|
177
|
+
minHeight: '0',
|
|
178
|
+
})),
|
|
123
179
|
state('expanded', style({ height: '*' })),
|
|
124
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
125
|
-
])
|
|
180
|
+
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
|
181
|
+
]),
|
|
126
182
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
127
183
|
}
|
|
128
184
|
__decorate([
|
|
129
185
|
Required,
|
|
130
186
|
__metadata("design:type", Object)
|
|
131
187
|
], ExpandRowContainerComponent.prototype, "element", void 0);
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
133
189
|
type: Component,
|
|
134
|
-
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
190
|
+
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
135
191
|
trigger('detailExpand', [
|
|
136
|
-
state('collapsed', style({
|
|
192
|
+
state('collapsed', style({
|
|
193
|
+
height: '0px',
|
|
194
|
+
minHeight: '0',
|
|
195
|
+
})),
|
|
137
196
|
state('expanded', style({ height: '*' })),
|
|
138
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
139
|
-
])
|
|
140
|
-
], template: "<div
|
|
197
|
+
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
|
198
|
+
]),
|
|
199
|
+
], standalone: true, imports: [PortalModule, AsyncPipe], template: "<div [@detailExpand]=\"(expandCell.isExpanded$(element) | async) ? 'expanded' : 'collapsed'\" class=\"element-detail\">\n <ng-content></ng-content>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</div>\n", styles: [".element-detail{overflow:hidden;display:flex}\n"] }]
|
|
141
200
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef, decorators: [{
|
|
142
201
|
type: Inject,
|
|
143
202
|
args: [ViewContainerRef]
|
|
@@ -151,47 +210,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
151
210
|
args: [ExpandRowContentDirective]
|
|
152
211
|
}] } });
|
|
153
212
|
|
|
154
|
-
class ExpandRowContainerComponentModule {
|
|
155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
156
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContainerComponentModule, declarations: [ExpandRowContainerComponent,
|
|
157
|
-
ExpandRowContentDirective], imports: [PortalModule,
|
|
158
|
-
CommonModule], exports: [ExpandRowContainerComponent,
|
|
159
|
-
ExpandRowContentDirective] }); }
|
|
160
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContainerComponentModule, imports: [PortalModule,
|
|
161
|
-
CommonModule] }); }
|
|
162
|
-
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContainerComponentModule, decorators: [{
|
|
164
|
-
type: NgModule,
|
|
165
|
-
args: [{
|
|
166
|
-
declarations: [
|
|
167
|
-
ExpandRowContainerComponent,
|
|
168
|
-
ExpandRowContentDirective
|
|
169
|
-
],
|
|
170
|
-
imports: [
|
|
171
|
-
PortalModule,
|
|
172
|
-
CommonModule
|
|
173
|
-
],
|
|
174
|
-
exports: [
|
|
175
|
-
ExpandRowContainerComponent,
|
|
176
|
-
ExpandRowContentDirective
|
|
177
|
-
]
|
|
178
|
-
}]
|
|
179
|
-
}] });
|
|
180
|
-
|
|
181
213
|
class ExpandControlsCellComponent {
|
|
182
214
|
constructor(expandCell) {
|
|
183
215
|
this.expandCell = expandCell;
|
|
184
216
|
}
|
|
185
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
186
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
218
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ExpandControlsCellComponent, isStandalone: true, selector: "td[rxap-expand-controls-cell]", inputs: { element: "element" }, ngImport: i0, template: "<button mat-icon-button>\n <mat-icon *ngIf=\"expandCell.isExpanded$(element) | async; else notExpanded\">expand_more</mat-icon>\n <ng-template #notExpanded>\n <mat-icon>keyboard_arrow_right</mat-icon>\n </ng-template>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
187
219
|
}
|
|
188
220
|
__decorate([
|
|
189
221
|
Required,
|
|
190
222
|
__metadata("design:type", Object)
|
|
191
223
|
], ExpandControlsCellComponent.prototype, "element", void 0);
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ExpandControlsCellComponent, decorators: [{
|
|
193
225
|
type: Component,
|
|
194
|
-
args: [{ selector: 'td[rxap-expand-controls-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
226
|
+
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" }]
|
|
195
227
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
196
228
|
type: Inject,
|
|
197
229
|
args: [ExpandRowService]
|
|
@@ -199,90 +231,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
199
231
|
type: Input
|
|
200
232
|
}] } });
|
|
201
233
|
|
|
202
|
-
class ExpandControlsCellComponentModule {
|
|
203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
204
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ExpandControlsCellComponentModule, declarations: [ExpandControlsCellComponent], imports: [CommonModule,
|
|
205
|
-
MatIconModule,
|
|
206
|
-
MatLegacyButtonModule], exports: [ExpandControlsCellComponent] }); }
|
|
207
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandControlsCellComponentModule, imports: [CommonModule,
|
|
208
|
-
MatIconModule,
|
|
209
|
-
MatLegacyButtonModule] }); }
|
|
210
|
-
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandControlsCellComponentModule, decorators: [{
|
|
212
|
-
type: NgModule,
|
|
213
|
-
args: [{
|
|
214
|
-
declarations: [ExpandControlsCellComponent],
|
|
215
|
-
imports: [
|
|
216
|
-
CommonModule,
|
|
217
|
-
MatIconModule,
|
|
218
|
-
MatLegacyButtonModule
|
|
219
|
-
],
|
|
220
|
-
exports: [ExpandControlsCellComponent]
|
|
221
|
-
}]
|
|
222
|
-
}] });
|
|
223
|
-
|
|
224
|
-
class ExpandRowDirective {
|
|
225
|
-
get isExpanded() {
|
|
226
|
-
return this.expandCell.isExpanded(this.element);
|
|
227
|
-
}
|
|
228
|
-
constructor(expandCell) {
|
|
229
|
-
this.expandCell = expandCell;
|
|
230
|
-
}
|
|
231
|
-
onClick() {
|
|
232
|
-
this.expandCell.toggleRow(this.element);
|
|
233
|
-
}
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
235
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ExpandRowDirective, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 }); }
|
|
236
|
-
}
|
|
237
|
-
__decorate([
|
|
238
|
-
Required,
|
|
239
|
-
__metadata("design:type", Object)
|
|
240
|
-
], ExpandRowDirective.prototype, "element", void 0);
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
242
|
-
type: Directive,
|
|
243
|
-
args: [{
|
|
244
|
-
selector: 'tr[rxapExpandRow]'
|
|
245
|
-
}]
|
|
246
|
-
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
247
|
-
type: Inject,
|
|
248
|
-
args: [ExpandRowService]
|
|
249
|
-
}] }]; }, propDecorators: { isExpanded: [{
|
|
250
|
-
type: HostListener,
|
|
251
|
-
args: ['expanded-row']
|
|
252
|
-
}], element: [{
|
|
253
|
-
type: Input
|
|
254
|
-
}], onClick: [{
|
|
255
|
-
type: HostListener,
|
|
256
|
-
args: ['click']
|
|
257
|
-
}] } });
|
|
258
|
-
|
|
259
|
-
class ExpandRowModule {
|
|
260
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
261
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowModule, declarations: [ExpandRowDirective], exports: [ExpandRowContainerComponentModule,
|
|
262
|
-
ExpandControlsCellComponentModule,
|
|
263
|
-
ExpandRowDirective] }); }
|
|
264
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowModule, providers: [
|
|
265
|
-
ExpandRowService
|
|
266
|
-
], imports: [ExpandRowContainerComponentModule,
|
|
267
|
-
ExpandControlsCellComponentModule] }); }
|
|
268
|
-
}
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
270
|
-
type: NgModule,
|
|
271
|
-
args: [{
|
|
272
|
-
exports: [
|
|
273
|
-
ExpandRowContainerComponentModule,
|
|
274
|
-
ExpandControlsCellComponentModule,
|
|
275
|
-
ExpandRowDirective
|
|
276
|
-
],
|
|
277
|
-
providers: [
|
|
278
|
-
ExpandRowService
|
|
279
|
-
],
|
|
280
|
-
declarations: [ExpandRowDirective]
|
|
281
|
-
}]
|
|
282
|
-
}] });
|
|
283
|
-
|
|
284
|
-
const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-material/table-system/select-row/options');
|
|
285
|
-
|
|
286
234
|
/**
|
|
287
235
|
* @license
|
|
288
236
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -500,6 +448,8 @@ function getMultipleValuesInSingleSelectionError() {
|
|
|
500
448
|
return Error('Cannot pass multiple values into SelectionModel with single-value mode.');
|
|
501
449
|
}
|
|
502
450
|
|
|
451
|
+
const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-material/table-system/select-row/options');
|
|
452
|
+
|
|
503
453
|
class SelectRowService {
|
|
504
454
|
get selectedRows() {
|
|
505
455
|
return this.selectionModel.selected;
|
|
@@ -509,10 +459,10 @@ class SelectRowService {
|
|
|
509
459
|
this.selectionModel = new SelectionModel(options?.multiple, options?.selected, options?.emitChanges, options?.compareWith);
|
|
510
460
|
this.selectedRows$ = this.selectionModel.changed.pipe(map(() => this.selectionModel.selected));
|
|
511
461
|
}
|
|
512
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
513
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowService, deps: [{ token: RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
463
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowService }); }
|
|
514
464
|
}
|
|
515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowService, decorators: [{
|
|
516
466
|
type: Injectable
|
|
517
467
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
518
468
|
type: Optional
|
|
@@ -525,16 +475,16 @@ class CheckboxCellComponent {
|
|
|
525
475
|
constructor(selectRow) {
|
|
526
476
|
this.selectRow = selectRow;
|
|
527
477
|
}
|
|
528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
529
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
479
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CheckboxCellComponent, isStandalone: true, selector: "td[rxap-checkbox-cell]", inputs: { element: "element" }, ngImport: i0, template: "<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
530
480
|
}
|
|
531
481
|
__decorate([
|
|
532
482
|
Required,
|
|
533
483
|
__metadata("design:type", Object)
|
|
534
484
|
], CheckboxCellComponent.prototype, "element", void 0);
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
536
486
|
type: Component,
|
|
537
|
-
args: [{ selector: 'td[rxap-checkbox-cell]', changeDetection: ChangeDetectionStrategy.Default,
|
|
487
|
+
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" }]
|
|
538
488
|
}], ctorParameters: function () { return [{ type: SelectRowService, decorators: [{
|
|
539
489
|
type: Inject,
|
|
540
490
|
args: [SelectRowService]
|
|
@@ -542,25 +492,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
542
492
|
type: Input
|
|
543
493
|
}] } });
|
|
544
494
|
|
|
545
|
-
class CheckboxCellComponentModule {
|
|
546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
547
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponentModule, declarations: [CheckboxCellComponent], imports: [MatLegacyCheckboxModule,
|
|
548
|
-
CommonModule], exports: [CheckboxCellComponent] }); }
|
|
549
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponentModule, imports: [MatLegacyCheckboxModule,
|
|
550
|
-
CommonModule] }); }
|
|
551
|
-
}
|
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
553
|
-
type: NgModule,
|
|
554
|
-
args: [{
|
|
555
|
-
declarations: [CheckboxCellComponent],
|
|
556
|
-
imports: [
|
|
557
|
-
MatLegacyCheckboxModule,
|
|
558
|
-
CommonModule
|
|
559
|
-
],
|
|
560
|
-
exports: [CheckboxCellComponent]
|
|
561
|
-
}]
|
|
562
|
-
}] });
|
|
563
|
-
|
|
564
495
|
class CheckboxHeaderCellComponent {
|
|
565
496
|
constructor(cdkTable, selectRow) {
|
|
566
497
|
this.cdkTable = cdkTable;
|
|
@@ -585,36 +516,21 @@ class CheckboxHeaderCellComponent {
|
|
|
585
516
|
this.selectRow.selectionModel.clear();
|
|
586
517
|
}
|
|
587
518
|
}
|
|
588
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
589
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxHeaderCellComponent, deps: [{ token: CdkTable }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
520
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CheckboxHeaderCellComponent, isStandalone: true, selector: "th[rxap-checkbox-header-cell]", ngImport: i0, template: "<mat-checkbox\n (change)=\"onChange($event)\"\n *ngIf=\"isMultipleSelection\"\n [checked]=\"(checked$ | async) ?? false\"\n [indeterminate]=\"indeterminate$ | async\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
590
521
|
}
|
|
591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
592
523
|
type: Component,
|
|
593
|
-
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
594
|
-
|
|
524
|
+
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
525
|
+
NgIf,
|
|
526
|
+
MatCheckboxModule,
|
|
527
|
+
AsyncPipe,
|
|
528
|
+
], template: "<mat-checkbox\n (change)=\"onChange($event)\"\n *ngIf=\"isMultipleSelection\"\n [checked]=\"(checked$ | async) ?? false\"\n [indeterminate]=\"indeterminate$ | async\">\n</mat-checkbox>\n" }]
|
|
529
|
+
}], ctorParameters: function () { return [{ type: i3$2.CdkTable, decorators: [{
|
|
595
530
|
type: Inject,
|
|
596
531
|
args: [CdkTable]
|
|
597
532
|
}] }, { type: SelectRowService }]; } });
|
|
598
533
|
|
|
599
|
-
class CheckboxHeaderCellComponentModule {
|
|
600
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
601
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, declarations: [CheckboxHeaderCellComponent], imports: [MatLegacyCheckboxModule,
|
|
602
|
-
CommonModule], exports: [CheckboxHeaderCellComponent] }); }
|
|
603
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, imports: [MatLegacyCheckboxModule,
|
|
604
|
-
CommonModule] }); }
|
|
605
|
-
}
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
607
|
-
type: NgModule,
|
|
608
|
-
args: [{
|
|
609
|
-
declarations: [CheckboxHeaderCellComponent],
|
|
610
|
-
imports: [
|
|
611
|
-
MatLegacyCheckboxModule,
|
|
612
|
-
CommonModule
|
|
613
|
-
],
|
|
614
|
-
exports: [CheckboxHeaderCellComponent]
|
|
615
|
-
}]
|
|
616
|
-
}] });
|
|
617
|
-
|
|
618
534
|
class SelectedRowsDirective {
|
|
619
535
|
constructor(template, viewContainerRef, cdr, selectRowService) {
|
|
620
536
|
this.template = template;
|
|
@@ -634,13 +550,14 @@ class SelectedRowsDirective {
|
|
|
634
550
|
this.cdr.detectChanges();
|
|
635
551
|
})).subscribe();
|
|
636
552
|
}
|
|
637
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
638
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
553
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectedRowsDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
554
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: SelectedRowsDirective, isStandalone: true, selector: "[rxapSelectedRows]", ngImport: i0 }); }
|
|
639
555
|
}
|
|
640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
641
557
|
type: Directive,
|
|
642
558
|
args: [{
|
|
643
|
-
selector: '[rxapSelectedRows]'
|
|
559
|
+
selector: '[rxapSelectedRows]',
|
|
560
|
+
standalone: true,
|
|
644
561
|
}]
|
|
645
562
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
646
563
|
type: Inject,
|
|
@@ -657,22 +574,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
657
574
|
}] }]; } });
|
|
658
575
|
|
|
659
576
|
class SelectRowModule {
|
|
660
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
661
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
662
|
-
|
|
577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
578
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, imports: [SelectedRowsDirective,
|
|
579
|
+
CheckboxCellComponent,
|
|
580
|
+
CheckboxHeaderCellComponent], exports: [CheckboxCellComponent,
|
|
581
|
+
CheckboxHeaderCellComponent,
|
|
663
582
|
SelectedRowsDirective] }); }
|
|
664
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
665
|
-
|
|
583
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponent,
|
|
584
|
+
CheckboxHeaderCellComponent] }); }
|
|
666
585
|
}
|
|
667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
668
587
|
type: NgModule,
|
|
669
588
|
args: [{
|
|
670
589
|
exports: [
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
SelectedRowsDirective
|
|
590
|
+
CheckboxCellComponent,
|
|
591
|
+
CheckboxHeaderCellComponent,
|
|
592
|
+
SelectedRowsDirective,
|
|
593
|
+
],
|
|
594
|
+
imports: [
|
|
595
|
+
SelectedRowsDirective,
|
|
596
|
+
CheckboxCellComponent,
|
|
597
|
+
CheckboxHeaderCellComponent,
|
|
674
598
|
],
|
|
675
|
-
declarations: [SelectedRowsDirective]
|
|
676
599
|
}]
|
|
677
600
|
}] });
|
|
678
601
|
|
|
@@ -683,21 +606,29 @@ const RowAnimation = trigger('rowsAnimation', [
|
|
|
683
606
|
height: '*',
|
|
684
607
|
opacity: '0',
|
|
685
608
|
transform: 'translateY(' + (-offset).toString() + 'px)',
|
|
686
|
-
'box-shadow': 'none'
|
|
609
|
+
'box-shadow': 'none',
|
|
687
610
|
}),
|
|
688
611
|
sequence([
|
|
689
612
|
animate('.2s ease', style({
|
|
690
613
|
height: '*',
|
|
691
614
|
opacity: '.2',
|
|
692
615
|
transform: 'translateX(0)',
|
|
693
|
-
'box-shadow': 'none'
|
|
616
|
+
'box-shadow': 'none',
|
|
617
|
+
})),
|
|
618
|
+
animate('.35s ease', style({
|
|
619
|
+
height: '*',
|
|
620
|
+
opacity: 1,
|
|
621
|
+
transform: 'translateX(0)',
|
|
694
622
|
})),
|
|
695
|
-
|
|
696
|
-
])
|
|
623
|
+
]),
|
|
697
624
|
]),
|
|
698
625
|
transition('* => void', [
|
|
699
|
-
style({
|
|
700
|
-
|
|
626
|
+
style({
|
|
627
|
+
height: '0',
|
|
628
|
+
opacity: '0',
|
|
629
|
+
'box-shadow': 'none',
|
|
630
|
+
}),
|
|
631
|
+
]),
|
|
701
632
|
]);
|
|
702
633
|
|
|
703
634
|
class TableFilterService {
|
|
@@ -729,6 +660,7 @@ class TableFilterService {
|
|
|
729
660
|
}
|
|
730
661
|
remove(key) {
|
|
731
662
|
const current = this.current;
|
|
663
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
732
664
|
if (current.hasOwnProperty(key)) {
|
|
733
665
|
delete current[key];
|
|
734
666
|
}
|
|
@@ -737,10 +669,10 @@ class TableFilterService {
|
|
|
737
669
|
ngOnDestroy() {
|
|
738
670
|
this._subscription.unsubscribe();
|
|
739
671
|
}
|
|
740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
741
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
673
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterService }); }
|
|
742
674
|
}
|
|
743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterService, decorators: [{
|
|
744
676
|
type: Injectable
|
|
745
677
|
}], ctorParameters: function () { return []; } });
|
|
746
678
|
|
|
@@ -755,6 +687,7 @@ class TableDataSourceDirective {
|
|
|
755
687
|
/**
|
|
756
688
|
* @deprecated use dataSource instead
|
|
757
689
|
*/
|
|
690
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
758
691
|
set setDataSource(dataSource) {
|
|
759
692
|
if (typeof dataSource !== 'string') {
|
|
760
693
|
this.dataSource = dataSource;
|
|
@@ -790,7 +723,7 @@ class TableDataSourceDirective {
|
|
|
790
723
|
this.refresh = this.refresh.bind(this);
|
|
791
724
|
}
|
|
792
725
|
trackBy(index, item) {
|
|
793
|
-
return item
|
|
726
|
+
return item['uuid'] ?? index;
|
|
794
727
|
}
|
|
795
728
|
ngOnInit() {
|
|
796
729
|
const tableFilter = this._tableFilter ?? this.tableFilter ?? undefined;
|
|
@@ -808,7 +741,7 @@ class TableDataSourceDirective {
|
|
|
808
741
|
this.dataSource = new DynamicTableDataSource(this.method, this.paginator, this.matSort, tableFilter, this.parameters, this.method.metadata ?? { id: this.id });
|
|
809
742
|
}
|
|
810
743
|
if (!this.dataSource) {
|
|
811
|
-
throw new Error('The TABLE_DATA_SOURCE and
|
|
744
|
+
throw new Error('The TABLE_DATA_SOURCE and RXAP_TABLE_METHOD token are not defined!');
|
|
812
745
|
}
|
|
813
746
|
}
|
|
814
747
|
this.dataSource.paginator = this.paginator;
|
|
@@ -847,20 +780,21 @@ class TableDataSourceDirective {
|
|
|
847
780
|
retry() {
|
|
848
781
|
this.dataSource?.retry();
|
|
849
782
|
}
|
|
850
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
851
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableDataSourceDirective, deps: [{ token: CdkTable }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_METHOD, optional: true }, { token: TABLE_DATA_SOURCE, optional: true }, { token: TABLE_REMOTE_METHOD_ADAPTER_FACTORY, optional: true }, { token: MatSort, optional: true }, { token: TableFilterService, optional: true }, { token: RXAP_TABLE_FILTER, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
784
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableDataSourceDirective, isStandalone: true, selector: "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", inputs: { setDataSource: ["rxapTableDataSource", "setDataSource"], paginator: "paginator", id: "id", parameters: "parameters", dataSource: "dataSource" }, exportAs: ["rxapTableDataSource"], ngImport: i0 }); }
|
|
852
785
|
}
|
|
853
786
|
__decorate([
|
|
854
787
|
Required,
|
|
855
788
|
__metadata("design:type", String)
|
|
856
789
|
], TableDataSourceDirective.prototype, "id", void 0);
|
|
857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
858
791
|
type: Directive,
|
|
859
792
|
args: [{
|
|
860
793
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
861
|
-
exportAs: 'rxapTableDataSource'
|
|
794
|
+
exportAs: 'rxapTableDataSource',
|
|
795
|
+
standalone: true,
|
|
862
796
|
}]
|
|
863
|
-
}], ctorParameters: function () { return [{ type:
|
|
797
|
+
}], ctorParameters: function () { return [{ type: i3$2.CdkTable, decorators: [{
|
|
864
798
|
type: Inject,
|
|
865
799
|
args: [CdkTable]
|
|
866
800
|
}] }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -878,7 +812,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
878
812
|
}, {
|
|
879
813
|
type: Inject,
|
|
880
814
|
args: [TABLE_REMOTE_METHOD_ADAPTER_FACTORY]
|
|
881
|
-
}] }, { type: i2
|
|
815
|
+
}] }, { type: i2.MatSort, decorators: [{
|
|
882
816
|
type: Optional
|
|
883
817
|
}, {
|
|
884
818
|
type: Inject,
|
|
@@ -905,18 +839,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
905
839
|
}], dataSource: [{
|
|
906
840
|
type: Input
|
|
907
841
|
}] } });
|
|
908
|
-
class TableDataSourceModule {
|
|
909
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableDataSourceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
910
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableDataSourceModule, declarations: [TableDataSourceDirective], exports: [TableDataSourceDirective] }); }
|
|
911
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableDataSourceModule }); }
|
|
912
|
-
}
|
|
913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableDataSourceModule, decorators: [{
|
|
914
|
-
type: NgModule,
|
|
915
|
-
args: [{
|
|
916
|
-
exports: [TableDataSourceDirective],
|
|
917
|
-
declarations: [TableDataSourceDirective],
|
|
918
|
-
}]
|
|
919
|
-
}] });
|
|
920
842
|
|
|
921
843
|
class PersistentPaginatorDirective {
|
|
922
844
|
constructor(matPaginator) {
|
|
@@ -951,29 +873,18 @@ class PersistentPaginatorDirective {
|
|
|
951
873
|
}
|
|
952
874
|
return null;
|
|
953
875
|
}
|
|
954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
955
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
876
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1$2.MatPaginator }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
877
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: PersistentPaginatorDirective, isStandalone: true, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 }); }
|
|
956
878
|
}
|
|
957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
958
880
|
type: Directive,
|
|
959
881
|
args: [{
|
|
960
|
-
selector: 'mat-paginator[rxapPersistent]'
|
|
882
|
+
selector: 'mat-paginator[rxapPersistent]',
|
|
883
|
+
standalone: true,
|
|
961
884
|
}]
|
|
962
|
-
}], ctorParameters: function () { return [{ type: i1$2.
|
|
885
|
+
}], ctorParameters: function () { return [{ type: i1$2.MatPaginator }]; }, propDecorators: { id: [{
|
|
963
886
|
type: Input
|
|
964
887
|
}] } });
|
|
965
|
-
class PersistentPaginatorDirectiveModule {
|
|
966
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
967
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirectiveModule, declarations: [PersistentPaginatorDirective], exports: [PersistentPaginatorDirective] }); }
|
|
968
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirectiveModule }); }
|
|
969
|
-
}
|
|
970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
971
|
-
type: NgModule,
|
|
972
|
-
args: [{
|
|
973
|
-
exports: [PersistentPaginatorDirective],
|
|
974
|
-
declarations: [PersistentPaginatorDirective]
|
|
975
|
-
}]
|
|
976
|
-
}] });
|
|
977
888
|
|
|
978
889
|
const RXAP_TABLE_FILTER_FORM_DEFINITION = new InjectionToken('rxap/form-table-system/filter-form-definition');
|
|
979
890
|
|
|
@@ -998,8 +909,8 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
998
909
|
super.ngOnDestroy();
|
|
999
910
|
this._subscription?.unsubscribe();
|
|
1000
911
|
}
|
|
1001
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1002
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
912
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
913
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: FilterHeaderRowDirective, isStandalone: true, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
|
|
1003
914
|
{
|
|
1004
915
|
provide: ControlContainer,
|
|
1005
916
|
// ignore coverage
|
|
@@ -1007,10 +918,10 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
1007
918
|
},
|
|
1008
919
|
], usesInheritance: true, ngImport: i0 }); }
|
|
1009
920
|
}
|
|
1010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
1011
922
|
type: Directive,
|
|
1012
923
|
args: [{
|
|
1013
|
-
//
|
|
924
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
1014
925
|
selector: 'table[rxap-filter-header-row]',
|
|
1015
926
|
providers: [
|
|
1016
927
|
{
|
|
@@ -1019,6 +930,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1019
930
|
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
1020
931
|
},
|
|
1021
932
|
],
|
|
933
|
+
standalone: true,
|
|
1022
934
|
}]
|
|
1023
935
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
1024
936
|
type: Optional
|
|
@@ -1034,34 +946,35 @@ class ToFilterColumnNamesPipe {
|
|
|
1034
946
|
transform(columns) {
|
|
1035
947
|
return columns.map(column => 'filter_' + column);
|
|
1036
948
|
}
|
|
1037
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1038
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
949
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ToFilterColumnNamesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
950
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ToFilterColumnNamesPipe, isStandalone: true, name: "toFilterColumnNames" }); }
|
|
1039
951
|
}
|
|
1040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
1041
953
|
type: Pipe,
|
|
1042
954
|
args: [{
|
|
1043
|
-
name: 'toFilterColumnNames'
|
|
955
|
+
name: 'toFilterColumnNames',
|
|
956
|
+
standalone: true,
|
|
1044
957
|
}]
|
|
1045
958
|
}] });
|
|
1046
959
|
|
|
1047
960
|
class TableFilterModule {
|
|
1048
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1049
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
961
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
962
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule, imports: [ToFilterColumnNamesPipe,
|
|
1050
963
|
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
1051
964
|
FilterHeaderRowDirective] }); }
|
|
1052
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
965
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule }); }
|
|
1053
966
|
}
|
|
1054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
1055
968
|
type: NgModule,
|
|
1056
969
|
args: [{
|
|
1057
970
|
exports: [
|
|
1058
971
|
ToFilterColumnNamesPipe,
|
|
1059
|
-
FilterHeaderRowDirective
|
|
972
|
+
FilterHeaderRowDirective,
|
|
1060
973
|
],
|
|
1061
|
-
|
|
974
|
+
imports: [
|
|
1062
975
|
ToFilterColumnNamesPipe,
|
|
1063
|
-
FilterHeaderRowDirective
|
|
1064
|
-
]
|
|
976
|
+
FilterHeaderRowDirective,
|
|
977
|
+
],
|
|
1065
978
|
}]
|
|
1066
979
|
}] });
|
|
1067
980
|
|
|
@@ -1115,16 +1028,16 @@ class TableColumnOptionComponent {
|
|
|
1115
1028
|
this.active = false;
|
|
1116
1029
|
localStorage.setItem(this.cacheId, 'false');
|
|
1117
1030
|
}
|
|
1118
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1119
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1031
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1032
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableColumnOptionComponent, isStandalone: true, selector: "rxap-table-column-option", inputs: { name: "name", active: "active", inactive: "inactive", hidden: "hidden", show: "show" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] }); }
|
|
1120
1033
|
}
|
|
1121
1034
|
__decorate([
|
|
1122
1035
|
Required,
|
|
1123
1036
|
__metadata("design:type", String)
|
|
1124
1037
|
], TableColumnOptionComponent.prototype, "name", void 0);
|
|
1125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
1126
1039
|
type: Component,
|
|
1127
|
-
args: [{ selector: 'rxap-table-column-option', template: "<ng-content></ng-content>\n" }]
|
|
1040
|
+
args: [{ selector: 'rxap-table-column-option', standalone: true, template: "<ng-content></ng-content>\n" }]
|
|
1128
1041
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
1129
1042
|
type: Inject,
|
|
1130
1043
|
args: [ElementRef]
|
|
@@ -1171,12 +1084,20 @@ class TableColumnMenuComponent {
|
|
|
1171
1084
|
.forEach((column) => column.deactivate());
|
|
1172
1085
|
this.updateDisplayColumns();
|
|
1173
1086
|
}
|
|
1174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1175
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1088
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableColumnMenuComponent, isStandalone: true, selector: "rxap-table-column-menu", inputs: { matCard: "matCard" }, host: { properties: { "class.mat-card-mode": "this._matCardMode" } }, queries: [{ propertyName: "columns", predicate: TableColumnOptionComponent }], exportAs: ["rxapTableColumns"], ngImport: i0, template: "<button [matMenuTriggerFor]=\"columnMenu\" mat-icon-button type=\"button\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\n rxapStopPropagation\n >\n <mat-checkbox\n (change)=\"column.toggle(); updateDisplayColumns()\"\n [checked]=\"column.active\">\n {{ column.display }}\n </mat-checkbox>\n </span>\n <ng-content select=\"[mat-menu-item],mat-divider\"></ng-content>\n</mat-menu>\n", styles: [":host.mat-card-mode{position:absolute;inset:8px 8px auto auto}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: 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.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1176
1089
|
}
|
|
1177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
1178
1091
|
type: Component,
|
|
1179
|
-
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1092
|
+
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'rxapTableColumns', standalone: true, imports: [
|
|
1093
|
+
MatButtonModule,
|
|
1094
|
+
MatMenuModule,
|
|
1095
|
+
MatIconModule,
|
|
1096
|
+
NgFor,
|
|
1097
|
+
StopPropagationDirective,
|
|
1098
|
+
ExtendedModule,
|
|
1099
|
+
MatCheckboxModule,
|
|
1100
|
+
], 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"] }]
|
|
1180
1101
|
}], propDecorators: { columns: [{
|
|
1181
1102
|
type: ContentChildren,
|
|
1182
1103
|
args: [TableColumnOptionComponent]
|
|
@@ -1187,47 +1108,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1187
1108
|
args: ['class.mat-card-mode']
|
|
1188
1109
|
}] } });
|
|
1189
1110
|
|
|
1190
|
-
class TableColumnMenuComponentModule {
|
|
1191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1192
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableColumnMenuComponentModule, declarations: [TableColumnMenuComponent, TableColumnOptionComponent], imports: [MatLegacyButtonModule,
|
|
1193
|
-
MatIconModule,
|
|
1194
|
-
MatLegacyMenuModule,
|
|
1195
|
-
CommonModule,
|
|
1196
|
-
MatLegacyCheckboxModule,
|
|
1197
|
-
StopPropagationDirectiveModule,
|
|
1198
|
-
FlexLayoutModule], exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatLegacyMenuModule] }); }
|
|
1199
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnMenuComponentModule, imports: [MatLegacyButtonModule,
|
|
1200
|
-
MatIconModule,
|
|
1201
|
-
MatLegacyMenuModule,
|
|
1202
|
-
CommonModule,
|
|
1203
|
-
MatLegacyCheckboxModule,
|
|
1204
|
-
StopPropagationDirectiveModule,
|
|
1205
|
-
FlexLayoutModule, MatLegacyMenuModule] }); }
|
|
1206
|
-
}
|
|
1207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnMenuComponentModule, decorators: [{
|
|
1208
|
-
type: NgModule,
|
|
1209
|
-
args: [{
|
|
1210
|
-
declarations: [TableColumnMenuComponent, TableColumnOptionComponent],
|
|
1211
|
-
imports: [
|
|
1212
|
-
MatLegacyButtonModule,
|
|
1213
|
-
MatIconModule,
|
|
1214
|
-
MatLegacyMenuModule,
|
|
1215
|
-
CommonModule,
|
|
1216
|
-
MatLegacyCheckboxModule,
|
|
1217
|
-
StopPropagationDirectiveModule,
|
|
1218
|
-
FlexLayoutModule
|
|
1219
|
-
],
|
|
1220
|
-
exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatLegacyMenuModule]
|
|
1221
|
-
}]
|
|
1222
|
-
}] });
|
|
1223
|
-
|
|
1224
1111
|
class TableShowArchivedSlideComponent {
|
|
1225
1112
|
constructor(tableFilter, tableColumnMenu) {
|
|
1226
1113
|
this.tableFilter = tableFilter;
|
|
1227
1114
|
this.tableColumnMenu = tableColumnMenu;
|
|
1228
1115
|
}
|
|
1229
1116
|
onChange($event) {
|
|
1230
|
-
this.
|
|
1117
|
+
this.paginator?.firstPage();
|
|
1118
|
+
this.tableFilter?.set('__archived', $event.checked);
|
|
1231
1119
|
if ($event.checked) {
|
|
1232
1120
|
this.tableColumnMenu.activate('removedAt');
|
|
1233
1121
|
}
|
|
@@ -1235,30 +1123,50 @@ class TableShowArchivedSlideComponent {
|
|
|
1235
1123
|
this.tableColumnMenu.deactivate('removedAt');
|
|
1236
1124
|
}
|
|
1237
1125
|
}
|
|
1238
|
-
|
|
1239
|
-
|
|
1126
|
+
ngAfterViewInit() {
|
|
1127
|
+
this.tableColumnMenu.deactivate('removedAt');
|
|
1128
|
+
}
|
|
1129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableShowArchivedSlideComponent, deps: [{ token: TableFilterService, optional: true }, { token: TableColumnMenuComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1130
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.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$4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1240
1131
|
}
|
|
1241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1242
1133
|
type: Component,
|
|
1243
|
-
args: [{ selector: '
|
|
1244
|
-
}], ctorParameters: function () { return [{ type: TableFilterService
|
|
1134
|
+
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" }]
|
|
1135
|
+
}], ctorParameters: function () { return [{ type: TableFilterService, decorators: [{
|
|
1136
|
+
type: Optional
|
|
1137
|
+
}, {
|
|
1138
|
+
type: Inject,
|
|
1139
|
+
args: [TableFilterService]
|
|
1140
|
+
}] }, { type: TableColumnMenuComponent, decorators: [{
|
|
1141
|
+
type: Inject,
|
|
1142
|
+
args: [TableColumnMenuComponent]
|
|
1143
|
+
}] }]; }, propDecorators: { paginator: [{
|
|
1144
|
+
type: Input
|
|
1145
|
+
}] } });
|
|
1245
1146
|
|
|
1246
|
-
class
|
|
1247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1248
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}
|
|
1253
|
-
i0.ɵɵ
|
|
1147
|
+
class TableColumnMenuModule {
|
|
1148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1149
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuModule, imports: [TableColumnMenuComponent,
|
|
1150
|
+
TableShowArchivedSlideComponent,
|
|
1151
|
+
TableColumnOptionComponent], exports: [TableColumnMenuComponent,
|
|
1152
|
+
TableShowArchivedSlideComponent,
|
|
1153
|
+
TableColumnOptionComponent] }); }
|
|
1154
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuModule, imports: [TableColumnMenuComponent,
|
|
1155
|
+
TableShowArchivedSlideComponent] }); }
|
|
1156
|
+
}
|
|
1157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnMenuModule, decorators: [{
|
|
1254
1158
|
type: NgModule,
|
|
1255
1159
|
args: [{
|
|
1256
|
-
declarations: [TableShowArchivedSlideComponent],
|
|
1257
1160
|
imports: [
|
|
1258
|
-
|
|
1259
|
-
|
|
1161
|
+
TableColumnMenuComponent,
|
|
1162
|
+
TableShowArchivedSlideComponent,
|
|
1163
|
+
TableColumnOptionComponent,
|
|
1164
|
+
],
|
|
1165
|
+
exports: [
|
|
1166
|
+
TableColumnMenuComponent,
|
|
1167
|
+
TableShowArchivedSlideComponent,
|
|
1168
|
+
TableColumnOptionComponent,
|
|
1260
1169
|
],
|
|
1261
|
-
exports: [TableShowArchivedSlideComponent],
|
|
1262
1170
|
}]
|
|
1263
1171
|
}] });
|
|
1264
1172
|
|
|
@@ -1285,17 +1193,18 @@ class TableCreateButtonDirective {
|
|
|
1285
1193
|
}
|
|
1286
1194
|
this.dataSource.refresh();
|
|
1287
1195
|
}
|
|
1288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1289
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1196
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCreateButtonDirective, deps: [{ token: TABLE_CREATE_REMOTE_METHOD }, { token: ElementRef }, { token: Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1197
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableCreateButtonDirective, isStandalone: true, selector: "button[rxapTableCreate]", inputs: { dataSource: ["rxapTableCreate", "dataSource"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
1290
1198
|
}
|
|
1291
1199
|
__decorate([
|
|
1292
1200
|
Required,
|
|
1293
1201
|
__metadata("design:type", TableDataSourceDirective)
|
|
1294
1202
|
], TableCreateButtonDirective.prototype, "dataSource", void 0);
|
|
1295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1296
1204
|
type: Directive,
|
|
1297
1205
|
args: [{
|
|
1298
|
-
selector: 'button[rxapTableCreate]'
|
|
1206
|
+
selector: 'button[rxapTableCreate]',
|
|
1207
|
+
standalone: true,
|
|
1299
1208
|
}]
|
|
1300
1209
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1301
1210
|
type: Inject,
|
|
@@ -1313,27 +1222,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1313
1222
|
type: HostListener,
|
|
1314
1223
|
args: ['click']
|
|
1315
1224
|
}] } });
|
|
1316
|
-
class TableCreateButtonDirectiveModule {
|
|
1317
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1318
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirectiveModule, declarations: [TableCreateButtonDirective], exports: [TableCreateButtonDirective] }); }
|
|
1319
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirectiveModule }); }
|
|
1320
|
-
}
|
|
1321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirectiveModule, decorators: [{
|
|
1322
|
-
type: NgModule,
|
|
1323
|
-
args: [{
|
|
1324
|
-
declarations: [TableCreateButtonDirective],
|
|
1325
|
-
exports: [TableCreateButtonDirective],
|
|
1326
|
-
}]
|
|
1327
|
-
}] });
|
|
1328
1225
|
|
|
1226
|
+
/**
|
|
1227
|
+
* @deprecated removed
|
|
1228
|
+
*/
|
|
1329
1229
|
const ROW_ARCHIVE_METHOD = new InjectionToken('archive-remote-method');
|
|
1230
|
+
/**
|
|
1231
|
+
* @deprecated removed
|
|
1232
|
+
*/
|
|
1330
1233
|
const ROW_RESTORE_METHOD = new InjectionToken('unarchive-remote-method');
|
|
1234
|
+
/**
|
|
1235
|
+
* @deprecated removed
|
|
1236
|
+
*/
|
|
1331
1237
|
const ROW_DELETE_METHOD = new InjectionToken('delete-remote-method');
|
|
1238
|
+
/**
|
|
1239
|
+
* @deprecated removed
|
|
1240
|
+
*/
|
|
1332
1241
|
const ROW_EDIT_METHOD = new InjectionToken('edit-remote-method');
|
|
1242
|
+
/**
|
|
1243
|
+
* @deprecated removed
|
|
1244
|
+
*/
|
|
1333
1245
|
const ROW_VIEW_METHOD = new InjectionToken('view-remote-method');
|
|
1246
|
+
/**
|
|
1247
|
+
* @deprecated removed
|
|
1248
|
+
*/
|
|
1334
1249
|
const ROW_LINK_METHOD = new InjectionToken('link-remote-method');
|
|
1250
|
+
/**
|
|
1251
|
+
* @deprecated removed
|
|
1252
|
+
*/
|
|
1335
1253
|
const ROW_EDIT_LOADER_METHOD = new InjectionToken('edit-loader-method');
|
|
1336
1254
|
|
|
1255
|
+
/**
|
|
1256
|
+
* @deprecated removed
|
|
1257
|
+
*/
|
|
1337
1258
|
class RowControlsCellComponent {
|
|
1338
1259
|
constructor(tableDataSource, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null, editRemoteMethod = null, rowViewMethod = null, rowLinkMethod = null, editLoaderMethod = null) {
|
|
1339
1260
|
this.tableDataSource = tableDataSource;
|
|
@@ -1386,16 +1307,16 @@ class RowControlsCellComponent {
|
|
|
1386
1307
|
this.tableDataSource.refresh();
|
|
1387
1308
|
}
|
|
1388
1309
|
}
|
|
1389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1390
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1310
|
+
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 }); }
|
|
1311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: RowControlsCellComponent, isStandalone: true, selector: "td[rxap-row-controls-cell]", inputs: { element: "element" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element['__archived'] && archiveRemoteMethod\" fxFlex=\"40px\"\n mat-icon-button matTooltip=\"Archivieren\" rxapConfirm\n type=\"button\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element['__archived'] && unarchiveRemoteMethod\" fxFlex=\"40px\"\n mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm\n type=\"button\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"remove()\"\n *ngIf=\"(element['__archived'] && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\"\n color=\"warn\"\n fxFlex=\"40px\" mat-icon-button matTooltip=\"L\u00F6schen\"\n rxapConfirm type=\"button\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element['__archived'] && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button (click)=\"link()\" *ngIf=\"rowLinkMethod\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1391
1312
|
}
|
|
1392
1313
|
__decorate([
|
|
1393
1314
|
Required,
|
|
1394
1315
|
__metadata("design:type", Object)
|
|
1395
1316
|
], RowControlsCellComponent.prototype, "element", void 0);
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
1397
1318
|
type: Component,
|
|
1398
|
-
args: [{ selector: 'td[
|
|
1319
|
+
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" }]
|
|
1399
1320
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: undefined, decorators: [{
|
|
1400
1321
|
type: Optional
|
|
1401
1322
|
}, {
|
|
@@ -1435,37 +1356,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1435
1356
|
type: Input
|
|
1436
1357
|
}] } });
|
|
1437
1358
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
FlexLayoutModule,
|
|
1442
|
-
MatLegacyButtonModule,
|
|
1443
|
-
MatIconModule,
|
|
1444
|
-
ConfirmComponentModule,
|
|
1445
|
-
MatLegacyTooltipModule], exports: [RowControlsCellComponent] }); }
|
|
1446
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsCellComponentModule, imports: [CommonModule,
|
|
1447
|
-
FlexLayoutModule,
|
|
1448
|
-
MatLegacyButtonModule,
|
|
1449
|
-
MatIconModule,
|
|
1450
|
-
ConfirmComponentModule,
|
|
1451
|
-
MatLegacyTooltipModule] }); }
|
|
1452
|
-
}
|
|
1453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsCellComponentModule, decorators: [{
|
|
1454
|
-
type: NgModule,
|
|
1455
|
-
args: [{
|
|
1456
|
-
declarations: [RowControlsCellComponent],
|
|
1457
|
-
imports: [
|
|
1458
|
-
CommonModule,
|
|
1459
|
-
FlexLayoutModule,
|
|
1460
|
-
MatLegacyButtonModule,
|
|
1461
|
-
MatIconModule,
|
|
1462
|
-
ConfirmComponentModule,
|
|
1463
|
-
MatLegacyTooltipModule
|
|
1464
|
-
],
|
|
1465
|
-
exports: [RowControlsCellComponent]
|
|
1466
|
-
}]
|
|
1467
|
-
}] });
|
|
1468
|
-
|
|
1359
|
+
/**
|
|
1360
|
+
* @deprecated removed
|
|
1361
|
+
*/
|
|
1469
1362
|
class RowControlsHeaderCellComponent {
|
|
1470
1363
|
constructor(tableDataSource, tableFilter = null, selectRow = null, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null) {
|
|
1471
1364
|
this.tableDataSource = tableDataSource;
|
|
@@ -1478,11 +1371,11 @@ class RowControlsHeaderCellComponent {
|
|
|
1478
1371
|
this.selectRow?.selectedRows$.pipe(map((selectedRows) => selectedRows.length === 0), startWith(true)) ?? of(true);
|
|
1479
1372
|
this.showUnarchive$ = this.showDelete$ =
|
|
1480
1373
|
this.tableFilter?.change.pipe(map((filter) => filter &&
|
|
1481
|
-
filter
|
|
1374
|
+
filter['__archived'] !== undefined &&
|
|
1482
1375
|
filter['__archived'] === true), distinctUntilChanged()) ?? of(false);
|
|
1483
1376
|
this.showArchive$ =
|
|
1484
1377
|
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1485
|
-
|
|
1378
|
+
filter['__archived'] === undefined ||
|
|
1486
1379
|
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
1487
1380
|
if (!this.archiveRemoteMethod) {
|
|
1488
1381
|
this.showArchive$ = of(false);
|
|
@@ -1497,7 +1390,7 @@ class RowControlsHeaderCellComponent {
|
|
|
1497
1390
|
async archiveSelected(selectedRows) {
|
|
1498
1391
|
if (this.archiveRemoteMethod && selectedRows) {
|
|
1499
1392
|
await Promise.all(selectedRows.map((selectedRow) => this.archiveRemoteMethod?.call({
|
|
1500
|
-
parameters: { uuid: selectedRow
|
|
1393
|
+
parameters: { uuid: selectedRow['uuid'] },
|
|
1501
1394
|
})));
|
|
1502
1395
|
this.tableDataSource.refresh();
|
|
1503
1396
|
}
|
|
@@ -1505,7 +1398,7 @@ class RowControlsHeaderCellComponent {
|
|
|
1505
1398
|
async unarchiveSelected(selectedRows) {
|
|
1506
1399
|
if (this.unarchiveRemoteMethod && selectedRows) {
|
|
1507
1400
|
await Promise.all(selectedRows.map((selectedRow) => this.unarchiveRemoteMethod?.call({
|
|
1508
|
-
parameters: { uuid: selectedRow
|
|
1401
|
+
parameters: { uuid: selectedRow['uuid'] },
|
|
1509
1402
|
})));
|
|
1510
1403
|
this.tableDataSource.refresh();
|
|
1511
1404
|
}
|
|
@@ -1513,17 +1406,25 @@ class RowControlsHeaderCellComponent {
|
|
|
1513
1406
|
async deleteSelected(selectedRows) {
|
|
1514
1407
|
if (this.deleteRemoteMethod && selectedRows) {
|
|
1515
1408
|
await Promise.all(selectedRows.map((selectedRow) => this.deleteRemoteMethod?.call({
|
|
1516
|
-
parameters: { uuid: selectedRow
|
|
1409
|
+
parameters: { uuid: selectedRow['uuid'] },
|
|
1517
1410
|
})));
|
|
1518
1411
|
this.tableDataSource.refresh();
|
|
1519
1412
|
}
|
|
1520
1413
|
}
|
|
1521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1522
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1414
|
+
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 }); }
|
|
1415
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: RowControlsHeaderCellComponent, isStandalone: true, selector: "th[rxap-row-controls-header-cell]", ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archiveSelected($event)\" *ngIf=\"selectRow && (showArchive$ | async)\"\n [disabled]=\"disabled$ | async\"\n [rxapConfirm]=\"selectRow.selectedRows\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Archivieren\" type=\"button\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchiveSelected($event)\" *ngIf=\"selectRow && (showUnarchive$ | async)\"\n [disabled]=\"disabled$ | async\"\n [rxapConfirm]=\"selectRow.selectedRows\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"Wiederherstellen\" type=\"button\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\"\n [disabled]=\"disabled$ | async\" [rxapConfirm]=\"selectRow.selectedRows\" color=\"warn\"\n fxFlex=\"40px\" mat-icon-button\n matTooltip=\"L\u00F6schen\" type=\"button\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1523
1416
|
}
|
|
1524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1525
1418
|
type: Component,
|
|
1526
|
-
args: [{ selector: 'th[
|
|
1419
|
+
args: [{ selector: 'th[rxap-row-controls-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1420
|
+
FlexModule,
|
|
1421
|
+
NgIf,
|
|
1422
|
+
MatButtonModule,
|
|
1423
|
+
MatTooltipModule,
|
|
1424
|
+
ConfirmDirective,
|
|
1425
|
+
MatIconModule,
|
|
1426
|
+
AsyncPipe,
|
|
1427
|
+
], 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" }]
|
|
1527
1428
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
1528
1429
|
type: Optional
|
|
1529
1430
|
}, {
|
|
@@ -1551,51 +1452,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1551
1452
|
args: [ROW_RESTORE_METHOD]
|
|
1552
1453
|
}] }]; } });
|
|
1553
1454
|
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
CommonModule,
|
|
1567
|
-
MatLegacyTooltipModule] }); }
|
|
1568
|
-
}
|
|
1569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
|
|
1455
|
+
/**
|
|
1456
|
+
* @deprecated removed
|
|
1457
|
+
*/
|
|
1458
|
+
class TableRowControlsModule {
|
|
1459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1460
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponent,
|
|
1461
|
+
RowControlsHeaderCellComponent], exports: [RowControlsCellComponent,
|
|
1462
|
+
RowControlsHeaderCellComponent] }); }
|
|
1463
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponent,
|
|
1464
|
+
RowControlsHeaderCellComponent] }); }
|
|
1465
|
+
}
|
|
1466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1570
1467
|
type: NgModule,
|
|
1571
1468
|
args: [{
|
|
1572
|
-
declarations: [RowControlsHeaderCellComponent],
|
|
1573
1469
|
imports: [
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
MatIconModule,
|
|
1577
|
-
ConfirmComponentModule,
|
|
1578
|
-
CommonModule,
|
|
1579
|
-
MatLegacyTooltipModule,
|
|
1470
|
+
RowControlsCellComponent,
|
|
1471
|
+
RowControlsHeaderCellComponent,
|
|
1580
1472
|
],
|
|
1581
|
-
exports: [RowControlsHeaderCellComponent],
|
|
1582
|
-
}]
|
|
1583
|
-
}] });
|
|
1584
|
-
|
|
1585
|
-
class TableRowControlsModule {
|
|
1586
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1587
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableRowControlsModule, exports: [RowControlsCellComponentModule,
|
|
1588
|
-
RowControlsHeaderCellComponentModule] }); }
|
|
1589
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponentModule,
|
|
1590
|
-
RowControlsHeaderCellComponentModule] }); }
|
|
1591
|
-
}
|
|
1592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1593
|
-
type: NgModule,
|
|
1594
|
-
args: [{
|
|
1595
1473
|
exports: [
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
]
|
|
1474
|
+
RowControlsCellComponent,
|
|
1475
|
+
RowControlsHeaderCellComponent,
|
|
1476
|
+
],
|
|
1599
1477
|
}]
|
|
1600
1478
|
}] });
|
|
1601
1479
|
|
|
@@ -1611,38 +1489,62 @@ class TableSelectControlsComponent {
|
|
|
1611
1489
|
select() {
|
|
1612
1490
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
1613
1491
|
}
|
|
1614
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1615
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1493
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableSelectControlsComponent, isStandalone: true, selector: "rxap-table-select-controls", ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button (click)=\"cancel()\" fxFlex=\"nogrow\" mat-stroked-button type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"select()\" [disabled]=\"hasNotSelected$ | async\" fxFlex=\"nogrow\" mat-raised-button type=\"button\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1616
1494
|
}
|
|
1617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1618
1496
|
type: Component,
|
|
1619
|
-
args: [{ selector: '
|
|
1497
|
+
args: [{ selector: 'rxap-table-select-controls', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1498
|
+
FlexModule,
|
|
1499
|
+
MatButtonModule,
|
|
1500
|
+
AsyncPipe,
|
|
1501
|
+
], 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" }]
|
|
1620
1502
|
}], ctorParameters: function () { return [{ type: SelectRowService }, { type: undefined, decorators: [{
|
|
1621
1503
|
type: Inject,
|
|
1622
1504
|
args: [RXAP_WINDOW_REF]
|
|
1623
1505
|
}] }]; } });
|
|
1624
1506
|
|
|
1625
|
-
class
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1507
|
+
class TreeControlCellComponent {
|
|
1508
|
+
ngOnInit() {
|
|
1509
|
+
this.offset = (this.element.__node.depth * 24) + 'px';
|
|
1510
|
+
this.updateIcon();
|
|
1511
|
+
}
|
|
1512
|
+
ngDoCheck() {
|
|
1513
|
+
this.updateIcon();
|
|
1514
|
+
}
|
|
1515
|
+
toggleExpand() {
|
|
1516
|
+
return this.element.__node.toggleExpand();
|
|
1517
|
+
}
|
|
1518
|
+
updateIcon() {
|
|
1519
|
+
this.icon = this.element.icon;
|
|
1520
|
+
if (this.element.__node.hasChildren) {
|
|
1521
|
+
if (this.element.__node.expanded) {
|
|
1522
|
+
this.expandIcon = 'expand_more';
|
|
1523
|
+
}
|
|
1524
|
+
else {
|
|
1525
|
+
this.expandIcon = 'expand_less';
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
else {
|
|
1529
|
+
this.icon ??= { icon: 'subdirectory_arrow_right' };
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TreeControlCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1533
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.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$2.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: i3.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 }); }
|
|
1633
1534
|
}
|
|
1634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1635
|
-
type:
|
|
1636
|
-
args: [{
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
],
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TreeControlCellComponent, decorators: [{
|
|
1536
|
+
type: Component,
|
|
1537
|
+
args: [{ selector: 'rxap-tree-control-cell, td[rxap-tree-control-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1538
|
+
FlexModule,
|
|
1539
|
+
MatButtonModule,
|
|
1540
|
+
MatIconModule,
|
|
1541
|
+
IconDirective,
|
|
1542
|
+
NgIf,
|
|
1543
|
+
], 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" }]
|
|
1544
|
+
}], propDecorators: { element: [{
|
|
1545
|
+
type: Input,
|
|
1546
|
+
args: ['rxap-tree-control-cell']
|
|
1547
|
+
}] } });
|
|
1646
1548
|
|
|
1647
1549
|
class ImageCellComponent {
|
|
1648
1550
|
constructor() {
|
|
@@ -1651,12 +1553,12 @@ class ImageCellComponent {
|
|
|
1651
1553
|
this.position = BackgroundPositionOptions.CENTER_CENTER;
|
|
1652
1554
|
this.value = null;
|
|
1653
1555
|
}
|
|
1654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1655
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1556
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ImageCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1557
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ImageCellComponent, isStandalone: true, selector: "td[rxap-image-cell]", inputs: { preset: "preset", size: "size", repeat: "repeat", position: "position", value: ["rxap-image-cell", "value"] }, ngImport: i0, template: "<div\n *ngIf=\"value\"\n [ngClass]=\"[preset]\"\n [position]=\"position\"\n [repeat]=\"repeat\"\n [rxapBackgroundImage]=\"value\"\n [size]=\"size\"\n class=\"image\">\n</div>\n<ng-content></ng-content>\n", styles: [".image{width:40px;height:40px}.image.circle{border-radius:24px}.image.rounded{border-radius:8px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: ["rxapBackgroundImage", "placeholderImageUrl", "size", "repeat", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1656
1558
|
}
|
|
1657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
1658
1560
|
type: Component,
|
|
1659
|
-
args: [{ selector: 'td[rxap-image-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1561
|
+
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"] }]
|
|
1660
1562
|
}], propDecorators: { preset: [{
|
|
1661
1563
|
type: Input
|
|
1662
1564
|
}], size: [{
|
|
@@ -1670,96 +1572,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1670
1572
|
args: ['rxap-image-cell']
|
|
1671
1573
|
}] } });
|
|
1672
1574
|
|
|
1673
|
-
class ImageCellComponentModule {
|
|
1674
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1675
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponentModule, declarations: [ImageCellComponent], imports: [BackgroundImageDirectiveModule, CommonModule], exports: [ImageCellComponent] }); }
|
|
1676
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponentModule, imports: [BackgroundImageDirectiveModule, CommonModule] }); }
|
|
1677
|
-
}
|
|
1678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponentModule, decorators: [{
|
|
1679
|
-
type: NgModule,
|
|
1680
|
-
args: [{
|
|
1681
|
-
declarations: [ImageCellComponent],
|
|
1682
|
-
imports: [BackgroundImageDirectiveModule, CommonModule],
|
|
1683
|
-
exports: [ImageCellComponent]
|
|
1684
|
-
}]
|
|
1685
|
-
}] });
|
|
1686
|
-
|
|
1687
1575
|
class CopyToClipboardCellComponent {
|
|
1688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1577
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CopyToClipboardCellComponent, isStandalone: true, selector: "td[rxap-copy-to-clipboard-cell]", inputs: { value: ["rxap-copy-to-clipboard-cell", "value"] }, ngImport: i0, template: "<rxap-copy-to-clipboard *ngIf=\"value !== null && value !== undefined && value !== ''\" [value]=\"value\"\n class=\"copy-to-clipboard\"></rxap-copy-to-clipboard>\n<ng-content></ng-content>\n", styles: ["::ng-deep .copy-to-clipboard .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1690
1578
|
}
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
1692
1580
|
type: Component,
|
|
1693
|
-
args: [{ selector: 'td[rxap-copy-to-clipboard-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1581
|
+
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"] }]
|
|
1694
1582
|
}], propDecorators: { value: [{
|
|
1695
1583
|
type: Input,
|
|
1696
1584
|
args: ['rxap-copy-to-clipboard-cell']
|
|
1697
1585
|
}] } });
|
|
1698
1586
|
|
|
1699
|
-
class CopyToClipboardCellComponentModule {
|
|
1700
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1701
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponentModule, declarations: [CopyToClipboardCellComponent], imports: [CopyToClipboardModule,
|
|
1702
|
-
CommonModule], exports: [CopyToClipboardCellComponent] }); }
|
|
1703
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponentModule, imports: [CopyToClipboardModule,
|
|
1704
|
-
CommonModule] }); }
|
|
1705
|
-
}
|
|
1706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponentModule, decorators: [{
|
|
1707
|
-
type: NgModule,
|
|
1708
|
-
args: [{
|
|
1709
|
-
declarations: [CopyToClipboardCellComponent],
|
|
1710
|
-
imports: [
|
|
1711
|
-
CopyToClipboardModule,
|
|
1712
|
-
CommonModule
|
|
1713
|
-
],
|
|
1714
|
-
exports: [CopyToClipboardCellComponent]
|
|
1715
|
-
}]
|
|
1716
|
-
}] });
|
|
1717
|
-
|
|
1718
1587
|
class IconCellComponent {
|
|
1719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1720
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1588
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1589
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: IconCellComponent, isStandalone: true, selector: "td[rxap-icon-cell]", inputs: { icon: ["rxap-icon-cell", "icon"] }, ngImport: i0, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: 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 }); }
|
|
1721
1590
|
}
|
|
1722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1723
1592
|
type: Component,
|
|
1724
|
-
args: [{ selector: 'td[rxap-icon-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1593
|
+
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" }]
|
|
1725
1594
|
}], propDecorators: { icon: [{
|
|
1726
1595
|
type: Input,
|
|
1727
1596
|
args: ['rxap-icon-cell']
|
|
1728
1597
|
}] } });
|
|
1729
1598
|
|
|
1730
|
-
class IconCellComponentModule {
|
|
1731
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1732
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: IconCellComponentModule, declarations: [IconCellComponent], imports: [MatIconModule,
|
|
1733
|
-
CommonModule,
|
|
1734
|
-
IconDirectiveModule], exports: [IconCellComponent] }); }
|
|
1735
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconCellComponentModule, imports: [MatIconModule,
|
|
1736
|
-
CommonModule,
|
|
1737
|
-
IconDirectiveModule] }); }
|
|
1738
|
-
}
|
|
1739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconCellComponentModule, decorators: [{
|
|
1740
|
-
type: NgModule,
|
|
1741
|
-
args: [{
|
|
1742
|
-
declarations: [IconCellComponent],
|
|
1743
|
-
imports: [
|
|
1744
|
-
MatIconModule,
|
|
1745
|
-
CommonModule,
|
|
1746
|
-
IconDirectiveModule,
|
|
1747
|
-
],
|
|
1748
|
-
exports: [IconCellComponent]
|
|
1749
|
-
}]
|
|
1750
|
-
}] });
|
|
1751
|
-
|
|
1752
1599
|
class DateCellComponent {
|
|
1753
1600
|
constructor() {
|
|
1754
1601
|
this.date = null;
|
|
1755
1602
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
1756
1603
|
}
|
|
1757
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1758
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1604
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: DateCellComponent, isStandalone: true, selector: "td[rxap-date-cell]", inputs: { date: ["rxap-date-cell", "date"], format: "format" }, ngImport: i0, template: "<ng-template [ngIf]=\"date\">\n {{date | date:format}}\n</ng-template>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1759
1606
|
}
|
|
1760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
1761
1608
|
type: Component,
|
|
1762
|
-
args: [{ selector: 'td[rxap-date-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1609
|
+
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" }]
|
|
1763
1610
|
}], propDecorators: { date: [{
|
|
1764
1611
|
type: Input,
|
|
1765
1612
|
args: ['rxap-date-cell']
|
|
@@ -1767,22 +1614,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1767
1614
|
type: Input
|
|
1768
1615
|
}] } });
|
|
1769
1616
|
|
|
1770
|
-
class DateCellComponentModule {
|
|
1771
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1772
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponentModule, declarations: [DateCellComponent], imports: [CommonModule], exports: [DateCellComponent] }); }
|
|
1773
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponentModule, imports: [CommonModule] }); }
|
|
1774
|
-
}
|
|
1775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponentModule, decorators: [{
|
|
1776
|
-
type: NgModule,
|
|
1777
|
-
args: [{
|
|
1778
|
-
declarations: [DateCellComponent],
|
|
1779
|
-
imports: [
|
|
1780
|
-
CommonModule,
|
|
1781
|
-
],
|
|
1782
|
-
exports: [DateCellComponent],
|
|
1783
|
-
}]
|
|
1784
|
-
}] });
|
|
1785
|
-
|
|
1786
1617
|
class LinkCellComponent {
|
|
1787
1618
|
constructor() {
|
|
1788
1619
|
this.short = true;
|
|
@@ -1793,12 +1624,12 @@ class LinkCellComponent {
|
|
|
1793
1624
|
}
|
|
1794
1625
|
return this.value;
|
|
1795
1626
|
}
|
|
1796
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1797
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1628
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LinkCellComponent, isStandalone: true, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol", short: "short" }, ngImport: i0, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"8px\">\n <span *ngIf=\"short\" class=\"content\" fxFlex=\"nogrow\" i18n>Open</span>\n <ng-container [ngSwitch]=\"protocol\">\n <mat-icon *ngSwitchCase=\"'tel'\" fxFlex=\"nogrow\">call</mat-icon>\n <mat-icon *ngSwitchCase=\"'mailto'\" fxFlex=\"nogrow\">email</mat-icon>\n <mat-icon *ngSwitchDefault fxFlex=\"nogrow\">launch</mat-icon>\n </ng-container>\n <span *ngIf=\"!short\" class=\"content\" fxFlex=\"nogrow\">{{value}}</span>\n </span>\n</a>\n<ng-content></ng-content>\n", styles: [".link{text-decoration:none;color:inherit}.link .content{max-width:160px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1798
1629
|
}
|
|
1799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1800
1631
|
type: Component,
|
|
1801
|
-
args: [{ selector: 'td[rxap-link-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1632
|
+
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"] }]
|
|
1802
1633
|
}], propDecorators: { value: [{
|
|
1803
1634
|
type: Input,
|
|
1804
1635
|
args: ['rxap-link-cell']
|
|
@@ -1808,31 +1639,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1808
1639
|
type: Input
|
|
1809
1640
|
}] } });
|
|
1810
1641
|
|
|
1811
|
-
class LinkCellComponentModule {
|
|
1812
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LinkCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1813
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: LinkCellComponentModule, declarations: [LinkCellComponent], imports: [MatLegacyTooltipModule,
|
|
1814
|
-
MatIconModule,
|
|
1815
|
-
FlexLayoutModule,
|
|
1816
|
-
CommonModule], exports: [LinkCellComponent] }); }
|
|
1817
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LinkCellComponentModule, imports: [MatLegacyTooltipModule,
|
|
1818
|
-
MatIconModule,
|
|
1819
|
-
FlexLayoutModule,
|
|
1820
|
-
CommonModule] }); }
|
|
1821
|
-
}
|
|
1822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LinkCellComponentModule, decorators: [{
|
|
1823
|
-
type: NgModule,
|
|
1824
|
-
args: [{
|
|
1825
|
-
declarations: [LinkCellComponent],
|
|
1826
|
-
imports: [
|
|
1827
|
-
MatLegacyTooltipModule,
|
|
1828
|
-
MatIconModule,
|
|
1829
|
-
FlexLayoutModule,
|
|
1830
|
-
CommonModule
|
|
1831
|
-
],
|
|
1832
|
-
exports: [LinkCellComponent]
|
|
1833
|
-
}]
|
|
1834
|
-
}] });
|
|
1835
|
-
|
|
1836
1642
|
class OptionsCellComponent {
|
|
1837
1643
|
constructor(renderer) {
|
|
1838
1644
|
this.renderer = renderer;
|
|
@@ -1876,12 +1682,12 @@ class OptionsCellComponent {
|
|
|
1876
1682
|
ngOnDestroy() {
|
|
1877
1683
|
this._subscription?.unsubscribe();
|
|
1878
1684
|
}
|
|
1879
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1880
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: OptionsCellComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1686
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: OptionsCellComponent, isStandalone: true, selector: "td[rxap-options-cell]", inputs: { value: ["rxap-options-cell", "value"], defaultViewValue: ["default", "defaultViewValue"], emptyViewValue: ["empty", "emptyViewValue"] }, queries: [{ propertyName: "options", predicate: MatOption, descendants: true }], usesOnChanges: true, ngImport: i0, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1881
1687
|
}
|
|
1882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
1883
1689
|
type: Component,
|
|
1884
|
-
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1690
|
+
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "{{viewValue}}\n<ng-content></ng-content>\n" }]
|
|
1885
1691
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
1886
1692
|
type: Input,
|
|
1887
1693
|
args: ['rxap-options-cell']
|
|
@@ -1893,57 +1699,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
1893
1699
|
args: ['empty']
|
|
1894
1700
|
}], options: [{
|
|
1895
1701
|
type: ContentChildren,
|
|
1896
|
-
args: [
|
|
1702
|
+
args: [MatOption, { descendants: true }]
|
|
1897
1703
|
}] } });
|
|
1898
1704
|
|
|
1899
|
-
class OptionsCellComponentModule {
|
|
1900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1901
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponentModule, declarations: [OptionsCellComponent], exports: [OptionsCellComponent] }); }
|
|
1902
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponentModule }); }
|
|
1903
|
-
}
|
|
1904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponentModule, decorators: [{
|
|
1905
|
-
type: NgModule,
|
|
1906
|
-
args: [{
|
|
1907
|
-
declarations: [OptionsCellComponent],
|
|
1908
|
-
imports: [],
|
|
1909
|
-
exports: [OptionsCellComponent]
|
|
1910
|
-
}]
|
|
1911
|
-
}] });
|
|
1912
|
-
|
|
1913
1705
|
class BooleanCellComponent {
|
|
1914
1706
|
constructor() {
|
|
1915
1707
|
this.value = null;
|
|
1916
1708
|
}
|
|
1917
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1918
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
1709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BooleanCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1710
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: BooleanCellComponent, isStandalone: true, selector: "td[rxap-boolean-cell]", inputs: { value: ["rxap-boolean-cell", "value"] }, host: { classAttribute: "rxap-boolean-cell" }, ngImport: i0, template: "<ng-template [ngIfElse]=\"isFalse\" [ngIf]=\"value\">\n <mat-icon class=\"truthy\">check_circle</mat-icon>\n</ng-template>\n<ng-template #isFalse>\n <mat-icon class=\"falsy\">cancel</mat-icon>\n</ng-template>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1919
1711
|
}
|
|
1920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
1921
1713
|
type: Component,
|
|
1922
|
-
args: [{ selector: 'td[rxap-boolean-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-boolean-cell' }, template: "<ng-template [
|
|
1714
|
+
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" }]
|
|
1923
1715
|
}], propDecorators: { value: [{
|
|
1924
1716
|
type: Input,
|
|
1925
1717
|
args: ['rxap-boolean-cell']
|
|
1926
1718
|
}] } });
|
|
1927
1719
|
|
|
1928
|
-
class BooleanCellComponentModule {
|
|
1929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1930
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponentModule, declarations: [BooleanCellComponent], imports: [CommonModule,
|
|
1931
|
-
MatIconModule], exports: [BooleanCellComponent] }); }
|
|
1932
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponentModule, imports: [CommonModule,
|
|
1933
|
-
MatIconModule] }); }
|
|
1934
|
-
}
|
|
1935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponentModule, decorators: [{
|
|
1936
|
-
type: NgModule,
|
|
1937
|
-
args: [{
|
|
1938
|
-
declarations: [BooleanCellComponent],
|
|
1939
|
-
imports: [
|
|
1940
|
-
CommonModule,
|
|
1941
|
-
MatIconModule,
|
|
1942
|
-
],
|
|
1943
|
-
exports: [BooleanCellComponent],
|
|
1944
|
-
}]
|
|
1945
|
-
}] });
|
|
1946
|
-
|
|
1947
1720
|
/**
|
|
1948
1721
|
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
1949
1722
|
*/
|
|
@@ -1958,7 +1731,10 @@ function TableActionMethod(typeOrOptions, checkFunction) {
|
|
|
1958
1731
|
let options;
|
|
1959
1732
|
if (typeof typeOrOptions === 'string') {
|
|
1960
1733
|
type = typeOrOptions;
|
|
1961
|
-
options = {
|
|
1734
|
+
options = {
|
|
1735
|
+
type,
|
|
1736
|
+
checkFunction,
|
|
1737
|
+
};
|
|
1962
1738
|
}
|
|
1963
1739
|
else {
|
|
1964
1740
|
options = typeOrOptions;
|
|
@@ -1987,13 +1763,14 @@ class TableRowActionExecutingDirective {
|
|
|
1987
1763
|
hide() {
|
|
1988
1764
|
this.vcr.clear();
|
|
1989
1765
|
}
|
|
1990
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
1991
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionExecutingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1767
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowActionExecutingDirective, isStandalone: true, selector: "[rxapTableRowActionExecuting]", ngImport: i0 }); }
|
|
1992
1768
|
}
|
|
1993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
1994
1770
|
type: Directive,
|
|
1995
1771
|
args: [{
|
|
1996
|
-
selector: '[rxapTableRowActionExecuting]'
|
|
1772
|
+
selector: '[rxapTableRowActionExecuting]',
|
|
1773
|
+
standalone: true,
|
|
1997
1774
|
}]
|
|
1998
1775
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });
|
|
1999
1776
|
|
|
@@ -2037,6 +1814,7 @@ function GetTableRowActionMetadata(method) {
|
|
|
2037
1814
|
const RXAP_TABLE_ROW_ACTION_METHOD = new InjectionToken('rxap-table-row-action-method');
|
|
2038
1815
|
|
|
2039
1816
|
class TableRowActionDirective extends ConfirmDirective {
|
|
1817
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2040
1818
|
set hasConfirmDirective(value) {
|
|
2041
1819
|
this._hasConfirmDirective = coerceBoolean(value);
|
|
2042
1820
|
}
|
|
@@ -2091,8 +1869,11 @@ class TableRowActionDirective extends ConfirmDirective {
|
|
|
2091
1869
|
try {
|
|
2092
1870
|
await Promise.all(this.getElementList().map((element) => {
|
|
2093
1871
|
return Promise.all([
|
|
2094
|
-
Promise.all(this.findUntypedActionMethod().map((am) => am.call({
|
|
2095
|
-
|
|
1872
|
+
Promise.all(this.findUntypedActionMethod().map((am) => am.call({
|
|
1873
|
+
element,
|
|
1874
|
+
type: this.type,
|
|
1875
|
+
}))),
|
|
1876
|
+
Promise.all(this.findTypedActionMethod().map((am) => am.call(element))),
|
|
2096
1877
|
]);
|
|
2097
1878
|
}));
|
|
2098
1879
|
this.setStatus(TableRowActionStatus.SUCCESS);
|
|
@@ -2179,10 +1960,11 @@ class TableRowActionDirective extends ConfirmDirective {
|
|
|
2179
1960
|
if (metadataList.length === 0) {
|
|
2180
1961
|
return null;
|
|
2181
1962
|
}
|
|
2182
|
-
return metadataList.filter(metadata => metadata.type === this.type)
|
|
1963
|
+
return metadataList.filter(metadata => metadata.type === this.type)
|
|
1964
|
+
.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))[0];
|
|
2183
1965
|
}
|
|
2184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2185
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
1966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: MatTooltip, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1967
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowActionDirective, isStandalone: true, selector: "button[rxapTableRowAction]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], element: "element", type: ["rxapTableRowAction", "type"], errorMessage: "errorMessage", successMessage: "successMessage", refresh: "refresh" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick($event)" } }, queries: [{ propertyName: "executingDirective", first: true, predicate: TableRowActionExecutingDirective, descendants: true }], usesInheritance: true, ngImport: i0 }); }
|
|
2186
1968
|
}
|
|
2187
1969
|
__decorate([
|
|
2188
1970
|
Required,
|
|
@@ -2192,12 +1974,13 @@ __decorate([
|
|
|
2192
1974
|
Required,
|
|
2193
1975
|
__metadata("design:type", String)
|
|
2194
1976
|
], TableRowActionDirective.prototype, "type", void 0);
|
|
2195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
1977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
2196
1978
|
type: Directive,
|
|
2197
1979
|
args: [{
|
|
2198
|
-
selector: 'button[rxapTableRowAction]'
|
|
1980
|
+
selector: 'button[rxapTableRowAction]',
|
|
1981
|
+
standalone: true,
|
|
2199
1982
|
}]
|
|
2200
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1983
|
+
}], ctorParameters: function () { return [{ type: i1$5.Overlay, decorators: [{
|
|
2201
1984
|
type: Inject,
|
|
2202
1985
|
args: [Overlay]
|
|
2203
1986
|
}] }, { type: i0.ElementRef, decorators: [{
|
|
@@ -2215,15 +1998,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
2215
1998
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2216
1999
|
type: Inject,
|
|
2217
2000
|
args: [TableDataSourceDirective]
|
|
2218
|
-
}] }, { type: i3$3.
|
|
2001
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
2219
2002
|
type: Inject,
|
|
2220
|
-
args: [
|
|
2221
|
-
}] }, { type:
|
|
2003
|
+
args: [MatSnackBar]
|
|
2004
|
+
}] }, { type: i3.MatButton, decorators: [{
|
|
2222
2005
|
type: Optional
|
|
2223
2006
|
}, {
|
|
2224
2007
|
type: Inject,
|
|
2225
|
-
args: [
|
|
2226
|
-
}] }, { type:
|
|
2008
|
+
args: [MatButton]
|
|
2009
|
+
}] }, { type: i4$1.MatTooltip, decorators: [{
|
|
2227
2010
|
type: Optional
|
|
2228
2011
|
}, {
|
|
2229
2012
|
type: Inject,
|
|
@@ -2282,19 +2065,20 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2282
2065
|
getElementList() {
|
|
2283
2066
|
return this.selectRowService?.selectedRows ?? [];
|
|
2284
2067
|
}
|
|
2285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2286
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
2068
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: MatTooltip, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2069
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowHeaderActionDirective, isStandalone: true, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 }); }
|
|
2287
2070
|
}
|
|
2288
2071
|
__decorate([
|
|
2289
2072
|
Required,
|
|
2290
2073
|
__metadata("design:type", String)
|
|
2291
2074
|
], TableRowHeaderActionDirective.prototype, "type", void 0);
|
|
2292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
2293
2076
|
type: Directive,
|
|
2294
2077
|
args: [{
|
|
2295
|
-
selector: 'button[rxapTableRowHeaderAction]'
|
|
2078
|
+
selector: 'button[rxapTableRowHeaderAction]',
|
|
2079
|
+
standalone: true,
|
|
2296
2080
|
}]
|
|
2297
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2081
|
+
}], ctorParameters: function () { return [{ type: i1$5.Overlay, decorators: [{
|
|
2298
2082
|
type: Inject,
|
|
2299
2083
|
args: [Overlay]
|
|
2300
2084
|
}] }, { type: i0.ElementRef, decorators: [{
|
|
@@ -2312,15 +2096,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
2312
2096
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2313
2097
|
type: Inject,
|
|
2314
2098
|
args: [TableDataSourceDirective]
|
|
2315
|
-
}] }, { type: i3$3.
|
|
2099
|
+
}] }, { type: i3$3.MatSnackBar, decorators: [{
|
|
2316
2100
|
type: Inject,
|
|
2317
|
-
args: [
|
|
2318
|
-
}] }, { type:
|
|
2101
|
+
args: [MatSnackBar]
|
|
2102
|
+
}] }, { type: i3.MatButton, decorators: [{
|
|
2319
2103
|
type: Optional
|
|
2320
2104
|
}, {
|
|
2321
2105
|
type: Inject,
|
|
2322
|
-
args: [
|
|
2323
|
-
}] }, { type:
|
|
2106
|
+
args: [MatButton]
|
|
2107
|
+
}] }, { type: i4$1.MatTooltip, decorators: [{
|
|
2324
2108
|
type: Optional
|
|
2325
2109
|
}, {
|
|
2326
2110
|
type: Inject,
|
|
@@ -2358,13 +2142,14 @@ class RowActionCheckPipe {
|
|
|
2358
2142
|
}
|
|
2359
2143
|
return true;
|
|
2360
2144
|
}
|
|
2361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2362
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
2145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowActionCheckPipe, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2146
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: RowActionCheckPipe, isStandalone: true, name: "rxapRowActionCheck" }); }
|
|
2363
2147
|
}
|
|
2364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
2365
2149
|
type: Pipe,
|
|
2366
2150
|
args: [{
|
|
2367
2151
|
name: 'rxapRowActionCheck',
|
|
2152
|
+
standalone: true,
|
|
2368
2153
|
}]
|
|
2369
2154
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2370
2155
|
type: Optional
|
|
@@ -2374,51 +2159,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
2374
2159
|
}] }]; } });
|
|
2375
2160
|
|
|
2376
2161
|
class TableRowActionsModule {
|
|
2377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
2378
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
2162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2163
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, imports: [TableRowActionDirective,
|
|
2379
2164
|
TableRowActionExecutingDirective,
|
|
2380
2165
|
TableRowHeaderActionDirective,
|
|
2381
|
-
RowActionCheckPipe
|
|
2166
|
+
RowActionCheckPipe,
|
|
2167
|
+
ConfirmModule], exports: [TableRowActionDirective,
|
|
2382
2168
|
TableRowHeaderActionDirective,
|
|
2383
2169
|
TableRowActionExecutingDirective,
|
|
2384
2170
|
RowActionCheckPipe,
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2171
|
+
MatTooltipModule,
|
|
2172
|
+
MatButtonModule,
|
|
2173
|
+
ConfirmModule,
|
|
2388
2174
|
MatIconModule,
|
|
2389
|
-
|
|
2175
|
+
MatProgressBarModule,
|
|
2390
2176
|
CommonModule] }); }
|
|
2391
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
2392
|
-
|
|
2393
|
-
|
|
2177
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, imports: [ConfirmModule, MatTooltipModule,
|
|
2178
|
+
MatButtonModule,
|
|
2179
|
+
ConfirmModule,
|
|
2394
2180
|
MatIconModule,
|
|
2395
|
-
|
|
2181
|
+
MatProgressBarModule,
|
|
2396
2182
|
CommonModule] }); }
|
|
2397
2183
|
}
|
|
2398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
2399
2185
|
type: NgModule,
|
|
2400
2186
|
args: [{
|
|
2401
|
-
|
|
2187
|
+
imports: [
|
|
2402
2188
|
TableRowActionDirective,
|
|
2403
2189
|
TableRowActionExecutingDirective,
|
|
2404
2190
|
TableRowHeaderActionDirective,
|
|
2405
|
-
RowActionCheckPipe
|
|
2406
|
-
|
|
2407
|
-
imports: [
|
|
2408
|
-
ConfirmComponentModule
|
|
2191
|
+
RowActionCheckPipe,
|
|
2192
|
+
ConfirmModule,
|
|
2409
2193
|
],
|
|
2410
2194
|
exports: [
|
|
2411
2195
|
TableRowActionDirective,
|
|
2412
2196
|
TableRowHeaderActionDirective,
|
|
2413
2197
|
TableRowActionExecutingDirective,
|
|
2414
2198
|
RowActionCheckPipe,
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2199
|
+
MatTooltipModule,
|
|
2200
|
+
MatButtonModule,
|
|
2201
|
+
ConfirmModule,
|
|
2418
2202
|
MatIconModule,
|
|
2419
|
-
|
|
2420
|
-
CommonModule
|
|
2421
|
-
]
|
|
2203
|
+
MatProgressBarModule,
|
|
2204
|
+
CommonModule,
|
|
2205
|
+
],
|
|
2422
2206
|
}]
|
|
2423
2207
|
}] });
|
|
2424
2208
|
|
|
@@ -2429,5 +2213,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
2429
2213
|
* Generated bundle index. Do not edit.
|
|
2430
2214
|
*/
|
|
2431
2215
|
|
|
2432
|
-
export { BooleanCellComponent,
|
|
2216
|
+
export { BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, ImageCellComponent, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, OptionsCellComponent, PersistentPaginatorDirective, ROW_ARCHIVE_METHOD, ROW_DELETE_METHOD, ROW_EDIT_LOADER_METHOD, ROW_EDIT_METHOD, ROW_LINK_METHOD, ROW_RESTORE_METHOD, ROW_VIEW_METHOD, 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_ROW_ACTION_METHOD, RowActionCheckPipe, RowAnimation, RowControlsCellComponent, RowControlsHeaderCellComponent, SelectRowModule, SelectRowService, SelectedRowsDirective, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnMenuModule, TableColumnOptionComponent, TableCreateButtonDirective, TableDataSourceDirective, TableFilterModule, TableFilterService, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowActionsModule, TableRowControlsModule, TableRowHeaderActionDirective, TableSelectControlsComponent, TableShowArchivedSlideComponent, ToFilterColumnNamesPipe, TreeControlCellComponent };
|
|
2433
2217
|
//# sourceMappingURL=rxap-material-table-system.mjs.map
|