@rxap/material-table-system 14.4.0-dev.1 → 16.0.0-dev.0
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/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +20 -0
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.module.mjs +25 -0
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +17 -0
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.mjs +25 -0
- package/{esm2020 → esm2022}/lib/cells/date-cell/date-cell.component.mjs +6 -5
- package/esm2022/lib/cells/date-cell/date-cell.component.module.mjs +21 -0
- package/{esm2020 → esm2022}/lib/cells/icon-cell/icon-cell.component.mjs +6 -5
- package/esm2022/lib/cells/icon-cell/icon-cell.component.module.mjs +29 -0
- package/esm2022/lib/cells/image-cell/image-cell.component.mjs +32 -0
- package/esm2022/lib/cells/image-cell/image-cell.component.module.mjs +20 -0
- package/esm2022/lib/cells/link-cell/link-cell.component.mjs +32 -0
- package/esm2022/lib/cells/link-cell/link-cell.component.module.mjs +33 -0
- package/esm2022/lib/cells/options-cell/options-cell.component.mjs +69 -0
- package/esm2022/lib/cells/options-cell/options-cell.component.module.mjs +18 -0
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +31 -0
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.mjs +29 -0
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +66 -0
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.module.mjs +34 -0
- package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +23 -0
- package/esm2022/lib/expand-row/expand-row.directive.mjs +42 -0
- package/esm2022/lib/expand-row/expand-row.module.mjs +32 -0
- package/esm2022/lib/expand-row/expand-row.service.mjs +30 -0
- package/esm2022/lib/persistent-paginator.directive.mjs +64 -0
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +29 -0
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.module.mjs +25 -0
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +46 -0
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.mjs +25 -0
- package/esm2022/lib/select-row/select-row.module.mjs +26 -0
- package/esm2022/lib/select-row/select-row.service.mjs +27 -0
- package/esm2022/lib/select-row/selected-rows.directive.mjs +47 -0
- package/esm2022/lib/select-row/selection-model.mjs +218 -0
- package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +59 -0
- package/esm2022/lib/table-column-menu/table-column-menu.component.module.mjs +46 -0
- package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +82 -0
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +31 -0
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.mjs +25 -0
- package/esm2022/lib/table-create-button/table-create-button.directive.mjs +71 -0
- package/esm2022/lib/table-data-source.directive.mjs +193 -0
- package/esm2022/lib/table-filter/filter-header-row.directive.mjs +63 -0
- package/esm2022/lib/table-filter/table-filter.module.mjs +26 -0
- package/esm2022/lib/table-filter/table-filter.service.mjs +49 -0
- package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +17 -0
- package/{esm2020 → esm2022}/lib/table-row-actions/decorators.mjs +1 -1
- package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +44 -0
- package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +24 -0
- package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +237 -0
- package/esm2022/lib/table-row-actions/table-row-action.method.mjs +31 -0
- package/esm2022/lib/table-row-actions/table-row-actions.module.mjs +62 -0
- package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +102 -0
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +116 -0
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.mjs +41 -0
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +103 -0
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.mjs +41 -0
- package/esm2022/lib/table-row-controls/table-row-controls.module.mjs +22 -0
- package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +33 -0
- package/esm2022/lib/table-select-controls/table-select-controls.component.module.mjs +29 -0
- package/{fesm2020 → fesm2022}/rxap-material-table-system.mjs +412 -401
- package/fesm2022/rxap-material-table-system.mjs.map +1 -0
- 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/link-cell/link-cell.component.module.d.ts +2 -2
- package/lib/cells/options-cell/options-cell.component.d.ts +2 -2
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.d.ts +1 -1
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.d.ts +2 -2
- package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +1 -1
- 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/persistent-paginator.directive.d.ts +2 -2
- package/lib/select-row/checkbox-cell/checkbox-cell.component.d.ts +1 -1
- package/lib/select-row/checkbox-cell/checkbox-cell.component.module.d.ts +2 -2
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.d.ts +2 -2
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.d.ts +2 -2
- package/lib/select-row/selected-rows.directive.d.ts +1 -1
- package/lib/table-column-menu/table-column-menu.component.d.ts +1 -1
- package/lib/table-column-menu/table-column-menu.component.module.d.ts +4 -4
- 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 +2 -2
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.d.ts +2 -2
- package/lib/table-create-button/table-create-button.directive.d.ts +1 -1
- package/lib/table-data-source.directive.d.ts +3 -3
- package/lib/table-filter/filter-header-row.directive.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 +3 -3
- 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 +3 -3
- package/lib/table-row-actions/types.d.ts +4 -4
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +1 -1
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.d.ts +3 -3
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +1 -1
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.d.ts +3 -3
- package/lib/table-select-controls/table-select-controls.component.d.ts +1 -1
- package/lib/table-select-controls/table-select-controls.component.module.d.ts +2 -2
- package/package.json +34 -40
- package/esm2020/lib/cells/boolean-cell/boolean-cell.component.mjs +0 -19
- package/esm2020/lib/cells/boolean-cell/boolean-cell.component.module.mjs +0 -24
- package/esm2020/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +0 -16
- package/esm2020/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.mjs +0 -24
- package/esm2020/lib/cells/date-cell/date-cell.component.module.mjs +0 -20
- package/esm2020/lib/cells/icon-cell/icon-cell.component.module.mjs +0 -28
- package/esm2020/lib/cells/image-cell/image-cell.component.mjs +0 -31
- package/esm2020/lib/cells/image-cell/image-cell.component.module.mjs +0 -19
- package/esm2020/lib/cells/link-cell/link-cell.component.mjs +0 -31
- package/esm2020/lib/cells/link-cell/link-cell.component.module.mjs +0 -32
- package/esm2020/lib/cells/options-cell/options-cell.component.mjs +0 -68
- package/esm2020/lib/cells/options-cell/options-cell.component.module.mjs +0 -17
- package/esm2020/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +0 -30
- package/esm2020/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.mjs +0 -28
- package/esm2020/lib/expand-row/expand-row-container/expand-row-container.component.mjs +0 -65
- package/esm2020/lib/expand-row/expand-row-container/expand-row-container.component.module.mjs +0 -33
- package/esm2020/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +0 -22
- package/esm2020/lib/expand-row/expand-row.directive.mjs +0 -41
- package/esm2020/lib/expand-row/expand-row.module.mjs +0 -31
- package/esm2020/lib/expand-row/expand-row.service.mjs +0 -29
- package/esm2020/lib/persistent-paginator.directive.mjs +0 -62
- package/esm2020/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +0 -28
- package/esm2020/lib/select-row/checkbox-cell/checkbox-cell.component.module.mjs +0 -24
- package/esm2020/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +0 -45
- package/esm2020/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.mjs +0 -24
- package/esm2020/lib/select-row/select-row.module.mjs +0 -25
- package/esm2020/lib/select-row/select-row.service.mjs +0 -26
- package/esm2020/lib/select-row/selected-rows.directive.mjs +0 -46
- package/esm2020/lib/select-row/selection-model.mjs +0 -218
- package/esm2020/lib/table-column-menu/table-column-menu.component.mjs +0 -58
- package/esm2020/lib/table-column-menu/table-column-menu.component.module.mjs +0 -45
- package/esm2020/lib/table-column-menu/table-column-option/table-column-option.component.mjs +0 -81
- package/esm2020/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +0 -30
- package/esm2020/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.mjs +0 -24
- package/esm2020/lib/table-create-button/table-create-button.directive.mjs +0 -69
- package/esm2020/lib/table-data-source.directive.mjs +0 -191
- package/esm2020/lib/table-filter/filter-header-row.directive.mjs +0 -62
- package/esm2020/lib/table-filter/table-filter.module.mjs +0 -25
- package/esm2020/lib/table-filter/table-filter.service.mjs +0 -48
- package/esm2020/lib/table-filter/to-filter-column-names.pipe.mjs +0 -16
- package/esm2020/lib/table-row-actions/row-action-check.pipe.mjs +0 -43
- package/esm2020/lib/table-row-actions/table-row-action-executing.directive.mjs +0 -23
- package/esm2020/lib/table-row-actions/table-row-action.directive.mjs +0 -236
- package/esm2020/lib/table-row-actions/table-row-action.method.mjs +0 -31
- package/esm2020/lib/table-row-actions/table-row-actions.module.mjs +0 -61
- package/esm2020/lib/table-row-actions/table-row-header-action.directive.mjs +0 -101
- package/esm2020/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +0 -115
- package/esm2020/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.mjs +0 -40
- package/esm2020/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +0 -93
- package/esm2020/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.mjs +0 -40
- package/esm2020/lib/table-row-controls/table-row-controls.module.mjs +0 -21
- package/esm2020/lib/table-select-controls/table-select-controls.component.mjs +0 -32
- package/esm2020/lib/table-select-controls/table-select-controls.component.module.mjs +0 -28
- package/fesm2015/rxap-material-table-system.mjs +0 -2507
- package/fesm2015/rxap-material-table-system.mjs.map +0 -1
- package/fesm2020/rxap-material-table-system.mjs.map +0 -1
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/row-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/select-row/select-row.options.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/select-row/tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-create-button/tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-filter/tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-row-actions/table-row-action-status.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-row-actions/tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-row-actions/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-row-controls/tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table-row-metadata.mjs +0 -0
- /package/{esm2020 → esm2022}/rxap-material-table-system.mjs +0 -0
|
@@ -11,10 +11,10 @@ import * as i2 from '@angular/common';
|
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
12
|
import * as i2$1 from '@angular/material/icon';
|
|
13
13
|
import { MatIconModule } from '@angular/material/icon';
|
|
14
|
-
import * as i4 from '@angular/material/button';
|
|
15
|
-
import {
|
|
16
|
-
import * as i1$1 from '@angular/material/checkbox';
|
|
17
|
-
import {
|
|
14
|
+
import * as i4 from '@angular/material/legacy-button';
|
|
15
|
+
import { MatLegacyButtonModule, MatLegacyButton } from '@angular/material/legacy-button';
|
|
16
|
+
import * as i1$1 from '@angular/material/legacy-checkbox';
|
|
17
|
+
import { MatLegacyCheckboxModule } from '@angular/material/legacy-checkbox';
|
|
18
18
|
import * as i4$1 from '@angular/cdk/table';
|
|
19
19
|
import { CdkTable } from '@angular/cdk/table';
|
|
20
20
|
import * as i2$2 from '@angular/material/sort';
|
|
@@ -23,45 +23,47 @@ import { RXAP_TABLE_METHOD, DynamicTableDataSource } from '@rxap/data-source/tab
|
|
|
23
23
|
export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
|
|
24
24
|
import { ToggleSubject } from '@rxap/utilities/rxjs';
|
|
25
25
|
import { pipeDataSource } from '@rxap/data-source';
|
|
26
|
-
import * as i1$2 from '@angular/material/paginator';
|
|
26
|
+
import * as i1$2 from '@angular/material/legacy-paginator';
|
|
27
27
|
import { FormDirective } from '@rxap/forms';
|
|
28
28
|
import { ControlContainer } from '@angular/forms';
|
|
29
29
|
import * as i1$3 from '@angular/router';
|
|
30
|
-
import * as i3 from '@angular/material/menu';
|
|
31
|
-
import {
|
|
30
|
+
import * as i3 from '@angular/material/legacy-menu';
|
|
31
|
+
import { MatLegacyMenuModule } from '@angular/material/legacy-menu';
|
|
32
32
|
import * as i6 from '@rxap/directives';
|
|
33
33
|
import { StopPropagationDirectiveModule, BackgroundSizeOptions, BackgroundRepeatOptions, BackgroundPositionOptions, BackgroundImageDirectiveModule } from '@rxap/directives';
|
|
34
34
|
import * as i7 from '@angular/flex-layout/extended';
|
|
35
35
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
36
|
-
import * as i4$2 from '@angular/material/slide-toggle';
|
|
37
|
-
import {
|
|
36
|
+
import * as i4$2 from '@angular/material/legacy-slide-toggle';
|
|
37
|
+
import { MatLegacySlideToggleModule } from '@angular/material/legacy-slide-toggle';
|
|
38
38
|
import * as i3$1 from '@angular/flex-layout/flex';
|
|
39
39
|
import * as i6$1 from '@rxap/components';
|
|
40
40
|
import { ConfirmComponentModule, CopyToClipboardModule, ConfirmDirective } from '@rxap/components';
|
|
41
|
-
import * as i7$1 from '@angular/material/tooltip';
|
|
42
|
-
import {
|
|
41
|
+
import * as i7$1 from '@angular/material/legacy-tooltip';
|
|
42
|
+
import { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';
|
|
43
43
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
44
44
|
import * as i3$2 from '@rxap/material-directives/icon';
|
|
45
45
|
import { IconDirectiveModule } from '@rxap/material-directives/icon';
|
|
46
|
-
import {
|
|
46
|
+
import { MatLegacyOption } from '@angular/material/legacy-core';
|
|
47
47
|
import { setMetadata, getMetadata, hasMetadata } from '@rxap/utilities/reflect-metadata';
|
|
48
|
-
import * as i3$3 from '@angular/material/snack-bar';
|
|
49
|
-
import {
|
|
48
|
+
import * as i3$3 from '@angular/material/legacy-snack-bar';
|
|
49
|
+
import { MatLegacySnackBar } from '@angular/material/legacy-snack-bar';
|
|
50
|
+
import * as i5 from '@angular/material/tooltip';
|
|
51
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
50
52
|
import * as i1$4 from '@angular/cdk/overlay';
|
|
51
53
|
import { Overlay } from '@angular/cdk/overlay';
|
|
52
|
-
import {
|
|
54
|
+
import { MatLegacyProgressBarModule } from '@angular/material/legacy-progress-bar';
|
|
53
55
|
|
|
54
56
|
class ExpandRowContentDirective {
|
|
55
|
-
constructor(template) {
|
|
56
|
-
this.template = template;
|
|
57
|
-
}
|
|
58
57
|
static ngTemplateContextGuard(dir, ctx) {
|
|
59
58
|
return true;
|
|
60
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 }); }
|
|
61
65
|
}
|
|
62
|
-
|
|
63
|
-
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ExpandRowContentDirective, selector: "[rxapExpandRowContent]", ngImport: i0 });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
65
67
|
type: Directive,
|
|
66
68
|
args: [{
|
|
67
69
|
selector: '[rxapExpandRowContent]'
|
|
@@ -89,10 +91,10 @@ class ExpandRowService {
|
|
|
89
91
|
isExpanded$(row) {
|
|
90
92
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
91
93
|
}
|
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
95
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowService }); }
|
|
92
96
|
}
|
|
93
|
-
|
|
94
|
-
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandRowService });
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
96
98
|
type: Injectable
|
|
97
99
|
}] });
|
|
98
100
|
|
|
@@ -114,20 +116,20 @@ class ExpandRowContainerComponent {
|
|
|
114
116
|
})).subscribe();
|
|
115
117
|
}
|
|
116
118
|
}
|
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ExpandRowContainerComponent, selector: "td[rxap-expand-row]", inputs: { element: "element" }, host: { classAttribute: "rxap-expand-row" }, queries: [{ propertyName: "expandCellContent", first: true, predicate: ExpandRowContentDirective, descendants: true }], ngImport: i0, template: "<div class=\"element-detail\" [@detailExpand]=\"(expandCell.isExpanded$(element) | async) ? 'expanded' : 'collapsed'\">\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: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], animations: [
|
|
121
|
+
trigger('detailExpand', [
|
|
122
|
+
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
123
|
+
state('expanded', style({ height: '*' })),
|
|
124
|
+
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
125
|
+
])
|
|
126
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
117
127
|
}
|
|
118
|
-
ExpandRowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
-
ExpandRowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ExpandRowContainerComponent, selector: "td[rxap-expand-row]", inputs: { element: "element" }, host: { classAttribute: "rxap-expand-row" }, queries: [{ propertyName: "expandCellContent", first: true, predicate: ExpandRowContentDirective, descendants: true }], ngImport: i0, template: "<div class=\"element-detail\" [@detailExpand]=\"(expandCell.isExpanded$(element) | async) ? 'expanded' : 'collapsed'\">\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: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], animations: [
|
|
120
|
-
trigger('detailExpand', [
|
|
121
|
-
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
122
|
-
state('expanded', style({ height: '*' })),
|
|
123
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
124
|
-
])
|
|
125
|
-
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
126
128
|
__decorate([
|
|
127
129
|
Required,
|
|
128
130
|
__metadata("design:type", Object)
|
|
129
131
|
], ExpandRowContainerComponent.prototype, "element", void 0);
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
131
133
|
type: Component,
|
|
132
134
|
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-expand-row' }, animations: [
|
|
133
135
|
trigger('detailExpand', [
|
|
@@ -150,15 +152,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
150
152
|
}] } });
|
|
151
153
|
|
|
152
154
|
class ExpandRowContainerComponentModule {
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
162
164
|
type: NgModule,
|
|
163
165
|
args: [{
|
|
164
166
|
declarations: [
|
|
@@ -180,14 +182,14 @@ class ExpandControlsCellComponent {
|
|
|
180
182
|
constructor(expandCell) {
|
|
181
183
|
this.expandCell = expandCell;
|
|
182
184
|
}
|
|
185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ExpandControlsCellComponent, selector: "td[rxap-expand-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "rxap-expand-controls-cell" }, 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: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
183
187
|
}
|
|
184
|
-
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
185
|
-
ExpandControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ExpandControlsCellComponent, selector: "td[rxap-expand-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "rxap-expand-controls-cell" }, 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: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
186
188
|
__decorate([
|
|
187
189
|
Required,
|
|
188
190
|
__metadata("design:type", Object)
|
|
189
191
|
], ExpandControlsCellComponent.prototype, "element", void 0);
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandControlsCellComponent, decorators: [{
|
|
191
193
|
type: Component,
|
|
192
194
|
args: [{ selector: 'td[rxap-expand-controls-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-expand-controls-cell' }, 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" }]
|
|
193
195
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
@@ -198,45 +200,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
198
200
|
}] } });
|
|
199
201
|
|
|
200
202
|
class ExpandControlsCellComponentModule {
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
210
212
|
type: NgModule,
|
|
211
213
|
args: [{
|
|
212
214
|
declarations: [ExpandControlsCellComponent],
|
|
213
215
|
imports: [
|
|
214
216
|
CommonModule,
|
|
215
217
|
MatIconModule,
|
|
216
|
-
|
|
218
|
+
MatLegacyButtonModule
|
|
217
219
|
],
|
|
218
220
|
exports: [ExpandControlsCellComponent]
|
|
219
221
|
}]
|
|
220
222
|
}] });
|
|
221
223
|
|
|
222
224
|
class ExpandRowDirective {
|
|
223
|
-
constructor(expandCell) {
|
|
224
|
-
this.expandCell = expandCell;
|
|
225
|
-
}
|
|
226
225
|
get isExpanded() {
|
|
227
226
|
return this.expandCell.isExpanded(this.element);
|
|
228
227
|
}
|
|
228
|
+
constructor(expandCell) {
|
|
229
|
+
this.expandCell = expandCell;
|
|
230
|
+
}
|
|
229
231
|
onClick() {
|
|
230
232
|
this.expandCell.toggleRow(this.element);
|
|
231
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 }); }
|
|
232
236
|
}
|
|
233
|
-
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
234
|
-
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ExpandRowDirective, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 });
|
|
235
237
|
__decorate([
|
|
236
238
|
Required,
|
|
237
239
|
__metadata("design:type", Object)
|
|
238
240
|
], ExpandRowDirective.prototype, "element", void 0);
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
240
242
|
type: Directive,
|
|
241
243
|
args: [{
|
|
242
244
|
selector: 'tr[rxapExpandRow]'
|
|
@@ -255,16 +257,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
255
257
|
}] } });
|
|
256
258
|
|
|
257
259
|
class ExpandRowModule {
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
268
270
|
type: NgModule,
|
|
269
271
|
args: [{
|
|
270
272
|
exports: [
|
|
@@ -292,6 +294,13 @@ const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-m
|
|
|
292
294
|
* Class to be used to power selecting one or more options from a list.
|
|
293
295
|
*/
|
|
294
296
|
class SelectionModel {
|
|
297
|
+
/** Selected values. */
|
|
298
|
+
get selected() {
|
|
299
|
+
if (!this._selected) {
|
|
300
|
+
this._selected = Array.from(this._selection.values());
|
|
301
|
+
}
|
|
302
|
+
return this._selected;
|
|
303
|
+
}
|
|
295
304
|
constructor(_multiple = false, initiallySelectedValues, _emitChanges = true, compareWith) {
|
|
296
305
|
this._multiple = _multiple;
|
|
297
306
|
this._emitChanges = _emitChanges;
|
|
@@ -317,13 +326,6 @@ class SelectionModel {
|
|
|
317
326
|
this._selectedToEmit.length = 0;
|
|
318
327
|
}
|
|
319
328
|
}
|
|
320
|
-
/** Selected values. */
|
|
321
|
-
get selected() {
|
|
322
|
-
if (!this._selected) {
|
|
323
|
-
this._selected = Array.from(this._selection.values());
|
|
324
|
-
}
|
|
325
|
-
return this._selected;
|
|
326
|
-
}
|
|
327
329
|
/**
|
|
328
330
|
* Selects a value or an array of values.
|
|
329
331
|
* @param values The values to select
|
|
@@ -499,18 +501,18 @@ function getMultipleValuesInSingleSelectionError() {
|
|
|
499
501
|
}
|
|
500
502
|
|
|
501
503
|
class SelectRowService {
|
|
504
|
+
get selectedRows() {
|
|
505
|
+
return this.selectionModel.selected;
|
|
506
|
+
}
|
|
502
507
|
constructor(options = null) {
|
|
503
508
|
this.selectionModel = new SelectionModel(true);
|
|
504
509
|
this.selectionModel = new SelectionModel(options?.multiple, options?.selected, options?.emitChanges, options?.compareWith);
|
|
505
510
|
this.selectedRows$ = this.selectionModel.changed.pipe(map(() => this.selectionModel.selected));
|
|
506
511
|
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
}
|
|
512
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectRowService, deps: [{ token: RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
513
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectRowService }); }
|
|
510
514
|
}
|
|
511
|
-
|
|
512
|
-
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SelectRowService });
|
|
513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SelectRowService, decorators: [{
|
|
515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectRowService, decorators: [{
|
|
514
516
|
type: Injectable
|
|
515
517
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
516
518
|
type: Optional
|
|
@@ -523,14 +525,14 @@ class CheckboxCellComponent {
|
|
|
523
525
|
constructor(selectRow) {
|
|
524
526
|
this.selectRow = selectRow;
|
|
525
527
|
}
|
|
528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: CheckboxCellComponent, selector: "td[rxap-checkbox-cell]", inputs: { element: "element" }, host: { classAttribute: "rxap-checkbox-cell" }, ngImport: i0, template: "<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "component", type: i1$1.MatLegacyCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
526
530
|
}
|
|
527
|
-
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
528
|
-
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: CheckboxCellComponent, selector: "td[rxap-checkbox-cell]", inputs: { element: "element" }, host: { classAttribute: "rxap-checkbox-cell" }, ngImport: i0, template: "<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
529
531
|
__decorate([
|
|
530
532
|
Required,
|
|
531
533
|
__metadata("design:type", Object)
|
|
532
534
|
], CheckboxCellComponent.prototype, "element", void 0);
|
|
533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
534
536
|
type: Component,
|
|
535
537
|
args: [{ selector: 'td[rxap-checkbox-cell]', changeDetection: ChangeDetectionStrategy.Default, host: { class: 'rxap-checkbox-cell' }, template: "<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n" }]
|
|
536
538
|
}], ctorParameters: function () { return [{ type: SelectRowService, decorators: [{
|
|
@@ -541,18 +543,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
541
543
|
}] } });
|
|
542
544
|
|
|
543
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] }); }
|
|
544
551
|
}
|
|
545
|
-
|
|
546
|
-
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: CheckboxCellComponentModule, declarations: [CheckboxCellComponent], imports: [MatCheckboxModule,
|
|
547
|
-
CommonModule], exports: [CheckboxCellComponent] });
|
|
548
|
-
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxCellComponentModule, imports: [MatCheckboxModule,
|
|
549
|
-
CommonModule] });
|
|
550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
551
553
|
type: NgModule,
|
|
552
554
|
args: [{
|
|
553
555
|
declarations: [CheckboxCellComponent],
|
|
554
556
|
imports: [
|
|
555
|
-
|
|
557
|
+
MatLegacyCheckboxModule,
|
|
556
558
|
CommonModule
|
|
557
559
|
],
|
|
558
560
|
exports: [CheckboxCellComponent]
|
|
@@ -583,10 +585,10 @@ class CheckboxHeaderCellComponent {
|
|
|
583
585
|
this.selectRow.selectionModel.clear();
|
|
584
586
|
}
|
|
585
587
|
}
|
|
588
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponent, deps: [{ token: CdkTable }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
589
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: CheckboxHeaderCellComponent, selector: "th[rxap-checkbox-header-cell]", host: { classAttribute: "rxap-checkbox-header-cell" }, ngImport: i0, template: "<mat-checkbox\n *ngIf=\"isMultipleSelection\"\n (change)=\"onChange($event)\"\n [indeterminate]=\"indeterminate$ | async\"\n [checked]=\"(checked$ | async) ?? false\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "component", type: i1$1.MatLegacyCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
586
590
|
}
|
|
587
|
-
|
|
588
|
-
CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: CheckboxHeaderCellComponent, selector: "th[rxap-checkbox-header-cell]", host: { classAttribute: "rxap-checkbox-header-cell" }, ngImport: i0, template: "<mat-checkbox\n *ngIf=\"isMultipleSelection\"\n (change)=\"onChange($event)\"\n [indeterminate]=\"indeterminate$ | async\"\n [checked]=\"(checked$ | async) ?? false\">\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
590
592
|
type: Component,
|
|
591
593
|
args: [{ selector: 'th[rxap-checkbox-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-checkbox-header-cell' }, template: "<mat-checkbox\n *ngIf=\"isMultipleSelection\"\n (change)=\"onChange($event)\"\n [indeterminate]=\"indeterminate$ | async\"\n [checked]=\"(checked$ | async) ?? false\">\n</mat-checkbox>\n" }]
|
|
592
594
|
}], ctorParameters: function () { return [{ type: i4$1.CdkTable, decorators: [{
|
|
@@ -595,18 +597,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
595
597
|
}] }, { type: SelectRowService }]; } });
|
|
596
598
|
|
|
597
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] }); }
|
|
598
605
|
}
|
|
599
|
-
|
|
600
|
-
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, declarations: [CheckboxHeaderCellComponent], imports: [MatCheckboxModule,
|
|
601
|
-
CommonModule], exports: [CheckboxHeaderCellComponent] });
|
|
602
|
-
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, imports: [MatCheckboxModule,
|
|
603
|
-
CommonModule] });
|
|
604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
605
607
|
type: NgModule,
|
|
606
608
|
args: [{
|
|
607
609
|
declarations: [CheckboxHeaderCellComponent],
|
|
608
610
|
imports: [
|
|
609
|
-
|
|
611
|
+
MatLegacyCheckboxModule,
|
|
610
612
|
CommonModule
|
|
611
613
|
],
|
|
612
614
|
exports: [CheckboxHeaderCellComponent]
|
|
@@ -632,10 +634,10 @@ class SelectedRowsDirective {
|
|
|
632
634
|
this.cdr.detectChanges();
|
|
633
635
|
})).subscribe();
|
|
634
636
|
}
|
|
637
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectedRowsDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
638
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: SelectedRowsDirective, selector: "[rxapSelectedRows]", ngImport: i0 }); }
|
|
635
639
|
}
|
|
636
|
-
|
|
637
|
-
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: SelectedRowsDirective, selector: "[rxapSelectedRows]", ngImport: i0 });
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
639
641
|
type: Directive,
|
|
640
642
|
args: [{
|
|
641
643
|
selector: '[rxapSelectedRows]'
|
|
@@ -655,14 +657,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
655
657
|
}] }]; } });
|
|
656
658
|
|
|
657
659
|
class SelectRowModule {
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
660
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
661
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: SelectRowModule, declarations: [SelectedRowsDirective], exports: [CheckboxCellComponentModule,
|
|
662
|
+
CheckboxHeaderCellComponentModule,
|
|
663
|
+
SelectedRowsDirective] }); }
|
|
664
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponentModule,
|
|
665
|
+
CheckboxHeaderCellComponentModule] }); }
|
|
666
|
+
}
|
|
667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
666
668
|
type: NgModule,
|
|
667
669
|
args: [{
|
|
668
670
|
exports: [
|
|
@@ -735,10 +737,10 @@ class TableFilterService {
|
|
|
735
737
|
ngOnDestroy() {
|
|
736
738
|
this._subscription.unsubscribe();
|
|
737
739
|
}
|
|
740
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableFilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
741
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableFilterService }); }
|
|
738
742
|
}
|
|
739
|
-
|
|
740
|
-
TableFilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableFilterService });
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableFilterService, decorators: [{
|
|
743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableFilterService, decorators: [{
|
|
742
744
|
type: Injectable
|
|
743
745
|
}], ctorParameters: function () { return []; } });
|
|
744
746
|
|
|
@@ -750,23 +752,6 @@ const TABLE_REMOTE_METHOD_ADAPTER_FACTORY = new InjectionToken('table-remote-met
|
|
|
750
752
|
const RXAP_TABLE_FILTER = new InjectionToken('rxap/material-table-system/table-filter');
|
|
751
753
|
const TABLE_DATA_SOURCE = new InjectionToken('table-data-source');
|
|
752
754
|
class TableDataSourceDirective {
|
|
753
|
-
constructor(matTable, cdr, sourceMethod, sourceDataSource, adapterFactory, matSort, tableFilter, _tableFilter) {
|
|
754
|
-
this.matTable = matTable;
|
|
755
|
-
this.cdr = cdr;
|
|
756
|
-
this.sourceMethod = sourceMethod;
|
|
757
|
-
this.sourceDataSource = sourceDataSource;
|
|
758
|
-
this.matSort = matSort;
|
|
759
|
-
this.tableFilter = tableFilter;
|
|
760
|
-
this._tableFilter = _tableFilter;
|
|
761
|
-
this.loading$ = new ToggleSubject(true);
|
|
762
|
-
this.hasError$ = new ToggleSubject();
|
|
763
|
-
this._subscription = new Subscription();
|
|
764
|
-
this.adapterFactory = null;
|
|
765
|
-
this.matTable.trackBy = this.trackBy;
|
|
766
|
-
this.adapterFactory = adapterFactory;
|
|
767
|
-
this.retry = this.retry.bind(this);
|
|
768
|
-
this.refresh = this.refresh.bind(this);
|
|
769
|
-
}
|
|
770
755
|
/**
|
|
771
756
|
* @deprecated use dataSource instead
|
|
772
757
|
*/
|
|
@@ -787,6 +772,23 @@ class TableDataSourceDirective {
|
|
|
787
772
|
get sourceRemoteMethod() {
|
|
788
773
|
return this.sourceMethod;
|
|
789
774
|
}
|
|
775
|
+
constructor(matTable, cdr, sourceMethod, sourceDataSource, adapterFactory, matSort, tableFilter, _tableFilter) {
|
|
776
|
+
this.matTable = matTable;
|
|
777
|
+
this.cdr = cdr;
|
|
778
|
+
this.sourceMethod = sourceMethod;
|
|
779
|
+
this.sourceDataSource = sourceDataSource;
|
|
780
|
+
this.matSort = matSort;
|
|
781
|
+
this.tableFilter = tableFilter;
|
|
782
|
+
this._tableFilter = _tableFilter;
|
|
783
|
+
this.loading$ = new ToggleSubject(true);
|
|
784
|
+
this.hasError$ = new ToggleSubject();
|
|
785
|
+
this._subscription = new Subscription();
|
|
786
|
+
this.adapterFactory = null;
|
|
787
|
+
this.matTable.trackBy = this.trackBy;
|
|
788
|
+
this.adapterFactory = adapterFactory;
|
|
789
|
+
this.retry = this.retry.bind(this);
|
|
790
|
+
this.refresh = this.refresh.bind(this);
|
|
791
|
+
}
|
|
790
792
|
trackBy(index, item) {
|
|
791
793
|
return item.uuid ?? index;
|
|
792
794
|
}
|
|
@@ -845,14 +847,14 @@ class TableDataSourceDirective {
|
|
|
845
847
|
retry() {
|
|
846
848
|
this.dataSource?.retry();
|
|
847
849
|
}
|
|
850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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 }); }
|
|
851
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: TableDataSourceDirective, selector: "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", inputs: { setDataSource: ["rxapTableDataSource", "setDataSource"], paginator: "paginator", id: "id", parameters: "parameters", dataSource: "dataSource" }, exportAs: ["rxapTableDataSource"], ngImport: i0 }); }
|
|
848
852
|
}
|
|
849
|
-
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
850
|
-
TableDataSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: TableDataSourceDirective, selector: "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", inputs: { setDataSource: ["rxapTableDataSource", "setDataSource"], paginator: "paginator", id: "id", parameters: "parameters", dataSource: "dataSource" }, exportAs: ["rxapTableDataSource"], ngImport: i0 });
|
|
851
853
|
__decorate([
|
|
852
854
|
Required,
|
|
853
855
|
__metadata("design:type", String)
|
|
854
856
|
], TableDataSourceDirective.prototype, "id", void 0);
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
856
858
|
type: Directive,
|
|
857
859
|
args: [{
|
|
858
860
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
@@ -904,11 +906,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
904
906
|
type: Input
|
|
905
907
|
}] } });
|
|
906
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 }); }
|
|
907
912
|
}
|
|
908
|
-
|
|
909
|
-
TableDataSourceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableDataSourceModule, declarations: [TableDataSourceDirective], exports: [TableDataSourceDirective] });
|
|
910
|
-
TableDataSourceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableDataSourceModule });
|
|
911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableDataSourceModule, decorators: [{
|
|
913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableDataSourceModule, decorators: [{
|
|
912
914
|
type: NgModule,
|
|
913
915
|
args: [{
|
|
914
916
|
exports: [TableDataSourceDirective],
|
|
@@ -949,23 +951,23 @@ class PersistentPaginatorDirective {
|
|
|
949
951
|
}
|
|
950
952
|
return null;
|
|
951
953
|
}
|
|
954
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1$2.MatLegacyPaginator }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
955
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: PersistentPaginatorDirective, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 }); }
|
|
952
956
|
}
|
|
953
|
-
|
|
954
|
-
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: PersistentPaginatorDirective, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 });
|
|
955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
956
958
|
type: Directive,
|
|
957
959
|
args: [{
|
|
958
960
|
selector: 'mat-paginator[rxapPersistent]'
|
|
959
961
|
}]
|
|
960
|
-
}], ctorParameters: function () { return [{ type: i1$2.
|
|
962
|
+
}], ctorParameters: function () { return [{ type: i1$2.MatLegacyPaginator }]; }, propDecorators: { id: [{
|
|
961
963
|
type: Input
|
|
962
964
|
}] } });
|
|
963
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 }); }
|
|
964
969
|
}
|
|
965
|
-
|
|
966
|
-
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: PersistentPaginatorDirectiveModule, declarations: [PersistentPaginatorDirective], exports: [PersistentPaginatorDirective] });
|
|
967
|
-
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: PersistentPaginatorDirectiveModule });
|
|
968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
969
971
|
type: NgModule,
|
|
970
972
|
args: [{
|
|
971
973
|
exports: [PersistentPaginatorDirective],
|
|
@@ -976,16 +978,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
976
978
|
const RXAP_TABLE_FILTER_FORM_DEFINITION = new InjectionToken('rxap/form-table-system/filter-form-definition');
|
|
977
979
|
|
|
978
980
|
class FilterHeaderRowDirective extends FormDirective {
|
|
979
|
-
constructor(tableFilter, cdr, formDefinition) {
|
|
980
|
-
super(cdr, formDefinition);
|
|
981
|
-
this.tableFilter = tableFilter;
|
|
982
|
-
}
|
|
983
981
|
set useFormDefinition(value) {
|
|
984
982
|
if (value) {
|
|
985
983
|
this._formDefinition = value;
|
|
986
984
|
this.form = value.rxapFormGroup;
|
|
987
985
|
}
|
|
988
986
|
}
|
|
987
|
+
constructor(tableFilter, cdr, formDefinition) {
|
|
988
|
+
super(cdr, formDefinition);
|
|
989
|
+
this.tableFilter = tableFilter;
|
|
990
|
+
}
|
|
989
991
|
ngOnInit() {
|
|
990
992
|
super.ngOnInit();
|
|
991
993
|
this._subscription = this.form.value$
|
|
@@ -996,16 +998,16 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
996
998
|
super.ngOnDestroy();
|
|
997
999
|
this._subscription?.unsubscribe();
|
|
998
1000
|
}
|
|
1001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1002
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
|
|
1003
|
+
{
|
|
1004
|
+
provide: ControlContainer,
|
|
1005
|
+
// ignore coverage
|
|
1006
|
+
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
1007
|
+
},
|
|
1008
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
999
1009
|
}
|
|
1000
|
-
|
|
1001
|
-
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
|
|
1002
|
-
{
|
|
1003
|
-
provide: ControlContainer,
|
|
1004
|
-
// ignore coverage
|
|
1005
|
-
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
1006
|
-
},
|
|
1007
|
-
], usesInheritance: true, ngImport: i0 });
|
|
1008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
1010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
1009
1011
|
type: Directive,
|
|
1010
1012
|
args: [{
|
|
1011
1013
|
// tslint:disable-next-line:directive-selector
|
|
@@ -1032,10 +1034,10 @@ class ToFilterColumnNamesPipe {
|
|
|
1032
1034
|
transform(columns) {
|
|
1033
1035
|
return columns.map(column => 'filter_' + column);
|
|
1034
1036
|
}
|
|
1037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ToFilterColumnNamesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1038
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ToFilterColumnNamesPipe, name: "toFilterColumnNames" }); }
|
|
1035
1039
|
}
|
|
1036
|
-
|
|
1037
|
-
ToFilterColumnNamesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ToFilterColumnNamesPipe, name: "toFilterColumnNames" });
|
|
1038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
1040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
1039
1041
|
type: Pipe,
|
|
1040
1042
|
args: [{
|
|
1041
1043
|
name: 'toFilterColumnNames'
|
|
@@ -1043,13 +1045,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1043
1045
|
}] });
|
|
1044
1046
|
|
|
1045
1047
|
class TableFilterModule {
|
|
1048
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1049
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableFilterModule, declarations: [ToFilterColumnNamesPipe,
|
|
1050
|
+
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
1051
|
+
FilterHeaderRowDirective] }); }
|
|
1052
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableFilterModule }); }
|
|
1046
1053
|
}
|
|
1047
|
-
|
|
1048
|
-
TableFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableFilterModule, declarations: [ToFilterColumnNamesPipe,
|
|
1049
|
-
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
1050
|
-
FilterHeaderRowDirective] });
|
|
1051
|
-
TableFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableFilterModule });
|
|
1052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
1053
1055
|
type: NgModule,
|
|
1054
1056
|
args: [{
|
|
1055
1057
|
exports: [
|
|
@@ -1064,12 +1066,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1064
1066
|
}] });
|
|
1065
1067
|
|
|
1066
1068
|
class TableColumnOptionComponent {
|
|
1067
|
-
constructor(_element, router) {
|
|
1068
|
-
this._element = _element;
|
|
1069
|
-
this.router = router;
|
|
1070
|
-
this.active = true;
|
|
1071
|
-
this._hidden = false;
|
|
1072
|
-
}
|
|
1073
1069
|
/**
|
|
1074
1070
|
* The displayed value of the option. It is necessary to show the selected option in the
|
|
1075
1071
|
* select's trigger.
|
|
@@ -1092,6 +1088,12 @@ class TableColumnOptionComponent {
|
|
|
1092
1088
|
get cacheId() {
|
|
1093
1089
|
return this.router.url + '--' + this.name;
|
|
1094
1090
|
}
|
|
1091
|
+
constructor(_element, router) {
|
|
1092
|
+
this._element = _element;
|
|
1093
|
+
this.router = router;
|
|
1094
|
+
this.active = true;
|
|
1095
|
+
this._hidden = false;
|
|
1096
|
+
}
|
|
1095
1097
|
ngOnInit() {
|
|
1096
1098
|
const cachedValue = localStorage.getItem(this.cacheId);
|
|
1097
1099
|
if (cachedValue === 'true') {
|
|
@@ -1113,14 +1115,14 @@ class TableColumnOptionComponent {
|
|
|
1113
1115
|
this.active = false;
|
|
1114
1116
|
localStorage.setItem(this.cacheId, 'false');
|
|
1115
1117
|
}
|
|
1118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: TableColumnOptionComponent, 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: [""] }); }
|
|
1116
1120
|
}
|
|
1117
|
-
TableColumnOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1118
|
-
TableColumnOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableColumnOptionComponent, 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: [""] });
|
|
1119
1121
|
__decorate([
|
|
1120
1122
|
Required,
|
|
1121
1123
|
__metadata("design:type", String)
|
|
1122
1124
|
], TableColumnOptionComponent.prototype, "name", void 0);
|
|
1123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
1124
1126
|
type: Component,
|
|
1125
1127
|
args: [{ selector: 'rxap-table-column-option', template: "<ng-content></ng-content>\n" }]
|
|
1126
1128
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
@@ -1169,10 +1171,10 @@ class TableColumnMenuComponent {
|
|
|
1169
1171
|
.forEach((column) => column.deactivate());
|
|
1170
1172
|
this.updateDisplayColumns();
|
|
1171
1173
|
}
|
|
1174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1175
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: TableColumnMenuComponent, selector: "rxap-table-column-menu", inputs: { matCard: "matCard" }, host: { properties: { "class.mat-card-mode": "this._matCardMode" }, classAttribute: "mfd-table-column-menu" }, queries: [{ propertyName: "columns", predicate: TableColumnOptionComponent }], exportAs: ["rxapTableColumns"], ngImport: i0, template: "<button type=\"button\" mat-icon-button [matMenuTriggerFor]=\"columnMenu\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n rxapStopPropagation\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\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: "component", type: i4.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatLegacyMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i3.MatLegacyMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i3.MatLegacyMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1$1.MatLegacyCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "directive", type: i7.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1172
1176
|
}
|
|
1173
|
-
|
|
1174
|
-
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableColumnMenuComponent, selector: "rxap-table-column-menu", inputs: { matCard: "matCard" }, host: { properties: { "class.mat-card-mode": "this._matCardMode" }, classAttribute: "mfd-table-column-menu" }, queries: [{ propertyName: "columns", predicate: TableColumnOptionComponent }], exportAs: ["rxapTableColumns"], ngImport: i0, template: "<button type=\"button\" mat-icon-button [matMenuTriggerFor]=\"columnMenu\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n rxapStopPropagation\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\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: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "directive", type: i7.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
1177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
1176
1178
|
type: Component,
|
|
1177
1179
|
args: [{ selector: 'rxap-table-column-menu', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-table-column-menu' }, exportAs: 'rxapTableColumns', template: "<button type=\"button\" mat-icon-button [matMenuTriggerFor]=\"columnMenu\">\n <mat-icon>tune</mat-icon>\n</button>\n\n<mat-menu #columnMenu=\"matMenu\">\n <span\n rxapStopPropagation\n *ngFor=\"let column of columns\"\n [disableRipple]=\"true\"\n [fxHide]=\"column.hidden\"\n mat-menu-item\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"] }]
|
|
1178
1180
|
}], propDecorators: { columns: [{
|
|
@@ -1186,36 +1188,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1186
1188
|
}] } });
|
|
1187
1189
|
|
|
1188
1190
|
class TableColumnMenuComponentModule {
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
1206
1208
|
type: NgModule,
|
|
1207
1209
|
args: [{
|
|
1208
1210
|
declarations: [TableColumnMenuComponent, TableColumnOptionComponent],
|
|
1209
1211
|
imports: [
|
|
1210
|
-
|
|
1212
|
+
MatLegacyButtonModule,
|
|
1211
1213
|
MatIconModule,
|
|
1212
|
-
|
|
1214
|
+
MatLegacyMenuModule,
|
|
1213
1215
|
CommonModule,
|
|
1214
|
-
|
|
1216
|
+
MatLegacyCheckboxModule,
|
|
1215
1217
|
StopPropagationDirectiveModule,
|
|
1216
1218
|
FlexLayoutModule
|
|
1217
1219
|
],
|
|
1218
|
-
exports: [TableColumnMenuComponent, TableColumnOptionComponent,
|
|
1220
|
+
exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatLegacyMenuModule]
|
|
1219
1221
|
}]
|
|
1220
1222
|
}] });
|
|
1221
1223
|
|
|
@@ -1233,28 +1235,28 @@ class TableShowArchivedSlideComponent {
|
|
|
1233
1235
|
this.tableColumnMenu.deactivate('removedAt');
|
|
1234
1236
|
}
|
|
1235
1237
|
}
|
|
1238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableShowArchivedSlideComponent, deps: [{ token: TableFilterService }, { token: TableColumnMenuComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: TableShowArchivedSlideComponent, selector: "mfd-table-show-archived-slide", host: { classAttribute: "mfd-table-show-archived-slide" }, ngImport: i0, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "component", type: i4$2.MatLegacySlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1236
1240
|
}
|
|
1237
|
-
|
|
1238
|
-
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableShowArchivedSlideComponent, selector: "mfd-table-show-archived-slide", host: { classAttribute: "mfd-table-show-archived-slide" }, ngImport: i0, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "component", type: i4$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1240
1242
|
type: Component,
|
|
1241
1243
|
args: [{ selector: 'mfd-table-show-archived-slide', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-table-show-archived-slide' }, template: "<div rxapStopPropagation>\n <mat-slide-toggle (change)=\"onChange($event)\">\n <ng-container i18n>Show archived documents</ng-container>\n </mat-slide-toggle>\n</div>\n" }]
|
|
1242
1244
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: TableColumnMenuComponent }]; } });
|
|
1243
1245
|
|
|
1244
1246
|
class TableShowArchivedSlideComponentModule {
|
|
1247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1248
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, declarations: [TableShowArchivedSlideComponent], imports: [StopPropagationDirectiveModule,
|
|
1249
|
+
MatLegacySlideToggleModule], exports: [TableShowArchivedSlideComponent] }); }
|
|
1250
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, imports: [StopPropagationDirectiveModule,
|
|
1251
|
+
MatLegacySlideToggleModule] }); }
|
|
1245
1252
|
}
|
|
1246
|
-
|
|
1247
|
-
TableShowArchivedSlideComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, declarations: [TableShowArchivedSlideComponent], imports: [StopPropagationDirectiveModule,
|
|
1248
|
-
MatSlideToggleModule], exports: [TableShowArchivedSlideComponent] });
|
|
1249
|
-
TableShowArchivedSlideComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, imports: [StopPropagationDirectiveModule,
|
|
1250
|
-
MatSlideToggleModule] });
|
|
1251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, decorators: [{
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableShowArchivedSlideComponentModule, decorators: [{
|
|
1252
1254
|
type: NgModule,
|
|
1253
1255
|
args: [{
|
|
1254
1256
|
declarations: [TableShowArchivedSlideComponent],
|
|
1255
1257
|
imports: [
|
|
1256
1258
|
StopPropagationDirectiveModule,
|
|
1257
|
-
|
|
1259
|
+
MatLegacySlideToggleModule,
|
|
1258
1260
|
],
|
|
1259
1261
|
exports: [TableShowArchivedSlideComponent],
|
|
1260
1262
|
}]
|
|
@@ -1283,14 +1285,14 @@ class TableCreateButtonDirective {
|
|
|
1283
1285
|
}
|
|
1284
1286
|
this.dataSource.refresh();
|
|
1285
1287
|
}
|
|
1288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirective, deps: [{ token: TABLE_CREATE_REMOTE_METHOD }, { token: ElementRef }, { token: Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1289
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: TableCreateButtonDirective, selector: "button[rxapTableCreate]", inputs: { dataSource: ["rxapTableCreate", "dataSource"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
1286
1290
|
}
|
|
1287
|
-
TableCreateButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableCreateButtonDirective, deps: [{ token: TABLE_CREATE_REMOTE_METHOD }, { token: ElementRef }, { token: Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1288
|
-
TableCreateButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: TableCreateButtonDirective, selector: "button[rxapTableCreate]", inputs: { dataSource: ["rxapTableCreate", "dataSource"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1289
1291
|
__decorate([
|
|
1290
1292
|
Required,
|
|
1291
1293
|
__metadata("design:type", TableDataSourceDirective)
|
|
1292
1294
|
], TableCreateButtonDirective.prototype, "dataSource", void 0);
|
|
1293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1294
1296
|
type: Directive,
|
|
1295
1297
|
args: [{
|
|
1296
1298
|
selector: 'button[rxapTableCreate]'
|
|
@@ -1312,11 +1314,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1312
1314
|
args: ['click']
|
|
1313
1315
|
}] } });
|
|
1314
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 }); }
|
|
1315
1320
|
}
|
|
1316
|
-
|
|
1317
|
-
TableCreateButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableCreateButtonDirectiveModule, declarations: [TableCreateButtonDirective], exports: [TableCreateButtonDirective] });
|
|
1318
|
-
TableCreateButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableCreateButtonDirectiveModule });
|
|
1319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableCreateButtonDirectiveModule, decorators: [{
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableCreateButtonDirectiveModule, decorators: [{
|
|
1320
1322
|
type: NgModule,
|
|
1321
1323
|
args: [{
|
|
1322
1324
|
declarations: [TableCreateButtonDirective],
|
|
@@ -1384,14 +1386,14 @@ class RowControlsCellComponent {
|
|
|
1384
1386
|
this.tableDataSource.refresh();
|
|
1385
1387
|
}
|
|
1386
1388
|
}
|
|
1389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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 }); }
|
|
1390
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: RowControlsCellComponent, selector: "td[mfd-row-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "mfd-row-controls-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button 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 type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.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: i3$1.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: "component", type: i4.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "directive", type: i7$1.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1387
1391
|
}
|
|
1388
|
-
RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
1389
|
-
RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RowControlsCellComponent, selector: "td[mfd-row-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "mfd-row-controls-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button 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 type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.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: i3$1.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: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "directive", type: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1390
1392
|
__decorate([
|
|
1391
1393
|
Required,
|
|
1392
1394
|
__metadata("design:type", Object)
|
|
1393
1395
|
], RowControlsCellComponent.prototype, "element", void 0);
|
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
1395
1397
|
type: Component,
|
|
1396
1398
|
args: [{ selector: 'td[mfd-row-controls-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-row-controls-cell' }, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button 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 type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n" }]
|
|
1397
1399
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: undefined, decorators: [{
|
|
@@ -1434,31 +1436,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1434
1436
|
}] } });
|
|
1435
1437
|
|
|
1436
1438
|
class RowControlsCellComponentModule {
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1439
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1440
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: RowControlsCellComponentModule, declarations: [RowControlsCellComponent], imports: [CommonModule,
|
|
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: [{
|
|
1452
1454
|
type: NgModule,
|
|
1453
1455
|
args: [{
|
|
1454
1456
|
declarations: [RowControlsCellComponent],
|
|
1455
1457
|
imports: [
|
|
1456
1458
|
CommonModule,
|
|
1457
1459
|
FlexLayoutModule,
|
|
1458
|
-
|
|
1460
|
+
MatLegacyButtonModule,
|
|
1459
1461
|
MatIconModule,
|
|
1460
1462
|
ConfirmComponentModule,
|
|
1461
|
-
|
|
1463
|
+
MatLegacyTooltipModule
|
|
1462
1464
|
],
|
|
1463
1465
|
exports: [RowControlsCellComponent]
|
|
1464
1466
|
}]
|
|
@@ -1482,6 +1484,15 @@ class RowControlsHeaderCellComponent {
|
|
|
1482
1484
|
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1483
1485
|
!filter.hasOwnProperty('__archived') ||
|
|
1484
1486
|
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
1487
|
+
if (!this.archiveRemoteMethod) {
|
|
1488
|
+
this.showArchive$ = of(false);
|
|
1489
|
+
}
|
|
1490
|
+
if (!this.unarchiveRemoteMethod) {
|
|
1491
|
+
this.showUnarchive$ = of(false);
|
|
1492
|
+
}
|
|
1493
|
+
if (!this.deleteRemoteMethod) {
|
|
1494
|
+
this.showDelete$ = of(false);
|
|
1495
|
+
}
|
|
1485
1496
|
}
|
|
1486
1497
|
async archiveSelected(selectedRows) {
|
|
1487
1498
|
if (this.archiveRemoteMethod && selectedRows) {
|
|
@@ -1507,10 +1518,10 @@ class RowControlsHeaderCellComponent {
|
|
|
1507
1518
|
this.tableDataSource.refresh();
|
|
1508
1519
|
}
|
|
1509
1520
|
}
|
|
1521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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 }); }
|
|
1522
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: RowControlsHeaderCellComponent, selector: "th[mfd-row-controls-header-cell]", host: { classAttribute: "mfd-row-controls-header-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i3$1.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: i3$1.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: "component", type: i4.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7$1.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1510
1523
|
}
|
|
1511
|
-
|
|
1512
|
-
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RowControlsHeaderCellComponent, selector: "th[mfd-row-controls-header-cell]", host: { classAttribute: "mfd-row-controls-header-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i3$1.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: i3$1.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: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1514
1525
|
type: Component,
|
|
1515
1526
|
args: [{ selector: 'th[mfd-row-controls-header-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-row-controls-header-cell' }, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n" }]
|
|
1516
1527
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
@@ -1541,44 +1552,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1541
1552
|
}] }]; } });
|
|
1542
1553
|
|
|
1543
1554
|
class RowControlsHeaderCellComponentModule {
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1555
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1556
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: RowControlsHeaderCellComponentModule, declarations: [RowControlsHeaderCellComponent], imports: [FlexLayoutModule,
|
|
1557
|
+
MatLegacyButtonModule,
|
|
1558
|
+
MatIconModule,
|
|
1559
|
+
ConfirmComponentModule,
|
|
1560
|
+
CommonModule,
|
|
1561
|
+
MatLegacyTooltipModule], exports: [RowControlsHeaderCellComponent] }); }
|
|
1562
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsHeaderCellComponentModule, imports: [FlexLayoutModule,
|
|
1563
|
+
MatLegacyButtonModule,
|
|
1564
|
+
MatIconModule,
|
|
1565
|
+
ConfirmComponentModule,
|
|
1566
|
+
CommonModule,
|
|
1567
|
+
MatLegacyTooltipModule] }); }
|
|
1568
|
+
}
|
|
1569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
|
|
1559
1570
|
type: NgModule,
|
|
1560
1571
|
args: [{
|
|
1561
1572
|
declarations: [RowControlsHeaderCellComponent],
|
|
1562
1573
|
imports: [
|
|
1563
1574
|
FlexLayoutModule,
|
|
1564
|
-
|
|
1575
|
+
MatLegacyButtonModule,
|
|
1565
1576
|
MatIconModule,
|
|
1566
1577
|
ConfirmComponentModule,
|
|
1567
1578
|
CommonModule,
|
|
1568
|
-
|
|
1579
|
+
MatLegacyTooltipModule,
|
|
1569
1580
|
],
|
|
1570
1581
|
exports: [RowControlsHeaderCellComponent],
|
|
1571
1582
|
}]
|
|
1572
1583
|
}] });
|
|
1573
1584
|
|
|
1574
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] }); }
|
|
1575
1591
|
}
|
|
1576
|
-
|
|
1577
|
-
TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: TableRowControlsModule, exports: [RowControlsCellComponentModule,
|
|
1578
|
-
RowControlsHeaderCellComponentModule] });
|
|
1579
|
-
TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponentModule,
|
|
1580
|
-
RowControlsHeaderCellComponentModule] });
|
|
1581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1582
1593
|
type: NgModule,
|
|
1583
1594
|
args: [{
|
|
1584
1595
|
exports: [
|
|
@@ -1600,10 +1611,10 @@ class TableSelectControlsComponent {
|
|
|
1600
1611
|
select() {
|
|
1601
1612
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
1602
1613
|
}
|
|
1614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1615
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: TableSelectControlsComponent, selector: "mfd-table-select-controls", host: { classAttribute: "mfd-table-select-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i4.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3$1.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: i3$1.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: i3$1.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: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1603
1616
|
}
|
|
1604
|
-
|
|
1605
|
-
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: TableSelectControlsComponent, selector: "mfd-table-select-controls", host: { classAttribute: "mfd-table-select-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3$1.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: i3$1.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: i3$1.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: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1607
1618
|
type: Component,
|
|
1608
1619
|
args: [{ selector: 'mfd-table-select-controls', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-table-select-controls' }, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\">\n <ng-container i18n>Select</ng-container>\n </button>\n</div>\n" }]
|
|
1609
1620
|
}], ctorParameters: function () { return [{ type: SelectRowService }, { type: undefined, decorators: [{
|
|
@@ -1612,20 +1623,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1612
1623
|
}] }]; } });
|
|
1613
1624
|
|
|
1614
1625
|
class TableSelectControlsComponentModule {
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1626
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableSelectControlsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1627
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableSelectControlsComponentModule, declarations: [TableSelectControlsComponent], imports: [MatLegacyButtonModule,
|
|
1628
|
+
FlexLayoutModule,
|
|
1629
|
+
CommonModule], exports: [TableSelectControlsComponent] }); }
|
|
1630
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableSelectControlsComponentModule, imports: [MatLegacyButtonModule,
|
|
1631
|
+
FlexLayoutModule,
|
|
1632
|
+
CommonModule] }); }
|
|
1633
|
+
}
|
|
1634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableSelectControlsComponentModule, decorators: [{
|
|
1624
1635
|
type: NgModule,
|
|
1625
1636
|
args: [{
|
|
1626
1637
|
declarations: [TableSelectControlsComponent],
|
|
1627
1638
|
imports: [
|
|
1628
|
-
|
|
1639
|
+
MatLegacyButtonModule,
|
|
1629
1640
|
FlexLayoutModule,
|
|
1630
1641
|
CommonModule
|
|
1631
1642
|
],
|
|
@@ -1640,10 +1651,10 @@ class ImageCellComponent {
|
|
|
1640
1651
|
this.position = BackgroundPositionOptions.CENTER_CENTER;
|
|
1641
1652
|
this.value = null;
|
|
1642
1653
|
}
|
|
1654
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1655
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ImageCellComponent, selector: "td[rxap-image-cell]", inputs: { preset: "preset", size: "size", repeat: "repeat", position: "position", value: ["rxap-image-cell", "value"] }, host: { classAttribute: "rxap-image-cell" }, ngImport: i0, template: "<div\n *ngIf=\"value\"\n [ngClass]=\"[preset]\"\n [repeat]=\"repeat\"\n [size]=\"size\"\n [position]=\"position\"\n [rxapBackgroundImage]=\"value\"\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: i6.BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: ["rxapBackgroundImage", "placeholderImageUrl", "size", "repeat", "position"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1643
1656
|
}
|
|
1644
|
-
|
|
1645
|
-
ImageCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ImageCellComponent, selector: "td[rxap-image-cell]", inputs: { preset: "preset", size: "size", repeat: "repeat", position: "position", value: ["rxap-image-cell", "value"] }, host: { classAttribute: "rxap-image-cell" }, ngImport: i0, template: "<div\n *ngIf=\"value\"\n [ngClass]=\"[preset]\"\n [repeat]=\"repeat\"\n [size]=\"size\"\n [position]=\"position\"\n [rxapBackgroundImage]=\"value\"\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: i6.BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: ["rxapBackgroundImage", "placeholderImageUrl", "size", "repeat", "position"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
1657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
1647
1658
|
type: Component,
|
|
1648
1659
|
args: [{ selector: 'td[rxap-image-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-image-cell' }, template: "<div\n *ngIf=\"value\"\n [ngClass]=\"[preset]\"\n [repeat]=\"repeat\"\n [size]=\"size\"\n [position]=\"position\"\n [rxapBackgroundImage]=\"value\"\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"] }]
|
|
1649
1660
|
}], propDecorators: { preset: [{
|
|
@@ -1660,11 +1671,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1660
1671
|
}] } });
|
|
1661
1672
|
|
|
1662
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] }); }
|
|
1663
1677
|
}
|
|
1664
|
-
|
|
1665
|
-
ImageCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ImageCellComponentModule, declarations: [ImageCellComponent], imports: [BackgroundImageDirectiveModule, CommonModule], exports: [ImageCellComponent] });
|
|
1666
|
-
ImageCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ImageCellComponentModule, imports: [BackgroundImageDirectiveModule, CommonModule] });
|
|
1667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ImageCellComponentModule, decorators: [{
|
|
1678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ImageCellComponentModule, decorators: [{
|
|
1668
1679
|
type: NgModule,
|
|
1669
1680
|
args: [{
|
|
1670
1681
|
declarations: [ImageCellComponent],
|
|
@@ -1674,10 +1685,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1674
1685
|
}] });
|
|
1675
1686
|
|
|
1676
1687
|
class CopyToClipboardCellComponent {
|
|
1688
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1689
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: CopyToClipboardCellComponent, selector: "td[rxap-copy-to-clipboard-cell]", inputs: { value: ["rxap-copy-to-clipboard-cell", "value"] }, host: { classAttribute: "rxap-copy-to-clipboard-cell" }, ngImport: i0, template: "<rxap-copy-to-clipboard *ngIf=\"value !== null && value !== undefined && value !== ''\" [value]=\"value\" 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: "component", type: i6$1.CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1677
1690
|
}
|
|
1678
|
-
|
|
1679
|
-
CopyToClipboardCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: CopyToClipboardCellComponent, selector: "td[rxap-copy-to-clipboard-cell]", inputs: { value: ["rxap-copy-to-clipboard-cell", "value"] }, host: { classAttribute: "rxap-copy-to-clipboard-cell" }, ngImport: i0, template: "<rxap-copy-to-clipboard *ngIf=\"value !== null && value !== undefined && value !== ''\" [value]=\"value\" 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: "component", type: i6$1.CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
1691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
1681
1692
|
type: Component,
|
|
1682
1693
|
args: [{ selector: 'td[rxap-copy-to-clipboard-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-copy-to-clipboard-cell' }, template: "<rxap-copy-to-clipboard *ngIf=\"value !== null && value !== undefined && value !== ''\" [value]=\"value\" 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"] }]
|
|
1683
1694
|
}], propDecorators: { value: [{
|
|
@@ -1686,13 +1697,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1686
1697
|
}] } });
|
|
1687
1698
|
|
|
1688
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] }); }
|
|
1689
1705
|
}
|
|
1690
|
-
|
|
1691
|
-
CopyToClipboardCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: CopyToClipboardCellComponentModule, declarations: [CopyToClipboardCellComponent], imports: [CopyToClipboardModule,
|
|
1692
|
-
CommonModule], exports: [CopyToClipboardCellComponent] });
|
|
1693
|
-
CopyToClipboardCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CopyToClipboardCellComponentModule, imports: [CopyToClipboardModule,
|
|
1694
|
-
CommonModule] });
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CopyToClipboardCellComponentModule, decorators: [{
|
|
1706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardCellComponentModule, decorators: [{
|
|
1696
1707
|
type: NgModule,
|
|
1697
1708
|
args: [{
|
|
1698
1709
|
declarations: [CopyToClipboardCellComponent],
|
|
@@ -1705,10 +1716,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1705
1716
|
}] });
|
|
1706
1717
|
|
|
1707
1718
|
class IconCellComponent {
|
|
1719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1720
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: IconCellComponent, selector: "td[rxap-icon-cell]", inputs: { icon: ["rxap-icon-cell", "icon"] }, host: { classAttribute: "rxap-icon-cell" }, ngImport: i0, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1708
1721
|
}
|
|
1709
|
-
|
|
1710
|
-
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: IconCellComponent, selector: "td[rxap-icon-cell]", inputs: { icon: ["rxap-icon-cell", "icon"] }, host: { classAttribute: "rxap-icon-cell" }, ngImport: i0, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1712
1723
|
type: Component,
|
|
1713
1724
|
args: [{ selector: 'td[rxap-icon-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-icon-cell' }, template: "<mat-icon *ngIf=\"icon\" [rxapIcon]=\"icon\"></mat-icon>\n<ng-content></ng-content>\n" }]
|
|
1714
1725
|
}], propDecorators: { icon: [{
|
|
@@ -1717,15 +1728,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1717
1728
|
}] } });
|
|
1718
1729
|
|
|
1719
1730
|
class IconCellComponentModule {
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
1729
1740
|
type: NgModule,
|
|
1730
1741
|
args: [{
|
|
1731
1742
|
declarations: [IconCellComponent],
|
|
@@ -1743,10 +1754,10 @@ class DateCellComponent {
|
|
|
1743
1754
|
this.date = null;
|
|
1744
1755
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
1745
1756
|
}
|
|
1757
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1758
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: DateCellComponent, selector: "td[rxap-date-cell]", inputs: { date: ["rxap-date-cell", "date"], format: "format" }, host: { classAttribute: "rxap-date-cell" }, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1746
1759
|
}
|
|
1747
|
-
|
|
1748
|
-
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: DateCellComponent, selector: "td[rxap-date-cell]", inputs: { date: ["rxap-date-cell", "date"], format: "format" }, host: { classAttribute: "rxap-date-cell" }, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
1760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
1750
1761
|
type: Component,
|
|
1751
1762
|
args: [{ selector: 'td[rxap-date-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-date-cell' }, template: "<ng-template [ngIf]=\"date\">\n {{date | date:format}}\n</ng-template>\n<ng-content></ng-content>\n" }]
|
|
1752
1763
|
}], propDecorators: { date: [{
|
|
@@ -1757,11 +1768,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1757
1768
|
}] } });
|
|
1758
1769
|
|
|
1759
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] }); }
|
|
1760
1774
|
}
|
|
1761
|
-
|
|
1762
|
-
DateCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: DateCellComponentModule, declarations: [DateCellComponent], imports: [CommonModule], exports: [DateCellComponent] });
|
|
1763
|
-
DateCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: DateCellComponentModule, imports: [CommonModule] });
|
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: DateCellComponentModule, decorators: [{
|
|
1775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DateCellComponentModule, decorators: [{
|
|
1765
1776
|
type: NgModule,
|
|
1766
1777
|
args: [{
|
|
1767
1778
|
declarations: [DateCellComponent],
|
|
@@ -1782,10 +1793,10 @@ class LinkCellComponent {
|
|
|
1782
1793
|
}
|
|
1783
1794
|
return this.value;
|
|
1784
1795
|
}
|
|
1796
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1797
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: LinkCellComponent, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol", short: "short" }, host: { classAttribute: "rxap-link-cell" }, ngImport: i0, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"start center\">\n <span *ngIf=\"short\" i18n fxFlex=\"nogrow\" class=\"content\">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\" fxFlex=\"nogrow\" class=\"content\">{{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: i7$1.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3$1.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: i3$1.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: i3$1.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: i3$1.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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1785
1798
|
}
|
|
1786
|
-
|
|
1787
|
-
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: LinkCellComponent, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol", short: "short" }, host: { classAttribute: "rxap-link-cell" }, ngImport: i0, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"start center\">\n <span *ngIf=\"short\" i18n fxFlex=\"nogrow\" class=\"content\">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\" fxFlex=\"nogrow\" class=\"content\">{{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: i7$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3$1.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: i3$1.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: i3$1.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: i3$1.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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1789
1800
|
type: Component,
|
|
1790
1801
|
args: [{ selector: 'td[rxap-link-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-link-cell' }, template: "<a *ngIf=\"value\" [href]=\"href\" [matTooltip]=\"value\" class=\"link\" target=\"_blank\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"start center\">\n <span *ngIf=\"short\" i18n fxFlex=\"nogrow\" class=\"content\">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\" fxFlex=\"nogrow\" class=\"content\">{{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"] }]
|
|
1791
1802
|
}], propDecorators: { value: [{
|
|
@@ -1798,22 +1809,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1798
1809
|
}] } });
|
|
1799
1810
|
|
|
1800
1811
|
class LinkCellComponentModule {
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
1812
1823
|
type: NgModule,
|
|
1813
1824
|
args: [{
|
|
1814
1825
|
declarations: [LinkCellComponent],
|
|
1815
1826
|
imports: [
|
|
1816
|
-
|
|
1827
|
+
MatLegacyTooltipModule,
|
|
1817
1828
|
MatIconModule,
|
|
1818
1829
|
FlexLayoutModule,
|
|
1819
1830
|
CommonModule
|
|
@@ -1865,10 +1876,10 @@ class OptionsCellComponent {
|
|
|
1865
1876
|
ngOnDestroy() {
|
|
1866
1877
|
this._subscription?.unsubscribe();
|
|
1867
1878
|
}
|
|
1879
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1880
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: OptionsCellComponent, selector: "td[rxap-options-cell]", inputs: { value: ["rxap-options-cell", "value"], defaultViewValue: ["default", "defaultViewValue"], emptyViewValue: ["empty", "emptyViewValue"] }, host: { classAttribute: "rxap-options-cell" }, queries: [{ propertyName: "options", predicate: MatLegacyOption, descendants: true }], usesOnChanges: true, ngImport: i0, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1868
1881
|
}
|
|
1869
|
-
|
|
1870
|
-
OptionsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OptionsCellComponent, selector: "td[rxap-options-cell]", inputs: { value: ["rxap-options-cell", "value"], defaultViewValue: ["default", "defaultViewValue"], emptyViewValue: ["empty", "emptyViewValue"] }, host: { classAttribute: "rxap-options-cell" }, queries: [{ propertyName: "options", predicate: MatOption, descendants: true }], usesOnChanges: true, ngImport: i0, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
1882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
1872
1883
|
type: Component,
|
|
1873
1884
|
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-options-cell' }, template: "{{viewValue}}\n<ng-content></ng-content>\n" }]
|
|
1874
1885
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
@@ -1882,15 +1893,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1882
1893
|
args: ['empty']
|
|
1883
1894
|
}], options: [{
|
|
1884
1895
|
type: ContentChildren,
|
|
1885
|
-
args: [
|
|
1896
|
+
args: [MatLegacyOption, { descendants: true }]
|
|
1886
1897
|
}] } });
|
|
1887
1898
|
|
|
1888
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 }); }
|
|
1889
1903
|
}
|
|
1890
|
-
|
|
1891
|
-
OptionsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: OptionsCellComponentModule, declarations: [OptionsCellComponent], exports: [OptionsCellComponent] });
|
|
1892
|
-
OptionsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OptionsCellComponentModule });
|
|
1893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OptionsCellComponentModule, decorators: [{
|
|
1904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OptionsCellComponentModule, decorators: [{
|
|
1894
1905
|
type: NgModule,
|
|
1895
1906
|
args: [{
|
|
1896
1907
|
declarations: [OptionsCellComponent],
|
|
@@ -1903,10 +1914,10 @@ class BooleanCellComponent {
|
|
|
1903
1914
|
constructor() {
|
|
1904
1915
|
this.value = null;
|
|
1905
1916
|
}
|
|
1917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1918
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: BooleanCellComponent, selector: "td[rxap-boolean-cell]", inputs: { value: ["rxap-boolean-cell", "value"] }, host: { classAttribute: "rxap-boolean-cell" }, ngImport: i0, template: "<ng-template [ngIf]=\"value\" [ngIfElse]=\"isFalse\">\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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1906
1919
|
}
|
|
1907
|
-
|
|
1908
|
-
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: BooleanCellComponent, selector: "td[rxap-boolean-cell]", inputs: { value: ["rxap-boolean-cell", "value"] }, host: { classAttribute: "rxap-boolean-cell" }, ngImport: i0, template: "<ng-template [ngIf]=\"value\" [ngIfElse]=\"isFalse\">\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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
1920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
1910
1921
|
type: Component,
|
|
1911
1922
|
args: [{ selector: 'td[rxap-boolean-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-boolean-cell' }, template: "<ng-template [ngIf]=\"value\" [ngIfElse]=\"isFalse\">\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" }]
|
|
1912
1923
|
}], propDecorators: { value: [{
|
|
@@ -1915,13 +1926,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
1915
1926
|
}] } });
|
|
1916
1927
|
|
|
1917
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] }); }
|
|
1918
1934
|
}
|
|
1919
|
-
|
|
1920
|
-
BooleanCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: BooleanCellComponentModule, declarations: [BooleanCellComponent], imports: [CommonModule,
|
|
1921
|
-
MatIconModule], exports: [BooleanCellComponent] });
|
|
1922
|
-
BooleanCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BooleanCellComponentModule, imports: [CommonModule,
|
|
1923
|
-
MatIconModule] });
|
|
1924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BooleanCellComponentModule, decorators: [{
|
|
1935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BooleanCellComponentModule, decorators: [{
|
|
1925
1936
|
type: NgModule,
|
|
1926
1937
|
args: [{
|
|
1927
1938
|
declarations: [BooleanCellComponent],
|
|
@@ -1976,10 +1987,10 @@ class TableRowActionExecutingDirective {
|
|
|
1976
1987
|
hide() {
|
|
1977
1988
|
this.vcr.clear();
|
|
1978
1989
|
}
|
|
1990
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionExecutingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1991
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: TableRowActionExecutingDirective, selector: "[rxapTableRowActionExecuting]", ngImport: i0 }); }
|
|
1979
1992
|
}
|
|
1980
|
-
|
|
1981
|
-
TableRowActionExecutingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: TableRowActionExecutingDirective, selector: "[rxapTableRowActionExecuting]", ngImport: i0 });
|
|
1982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
1993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
1983
1994
|
type: Directive,
|
|
1984
1995
|
args: [{
|
|
1985
1996
|
selector: '[rxapTableRowActionExecuting]'
|
|
@@ -2026,6 +2037,9 @@ function GetTableRowActionMetadata(method) {
|
|
|
2026
2037
|
const RXAP_TABLE_ROW_ACTION_METHOD = new InjectionToken('rxap-table-row-action-method');
|
|
2027
2038
|
|
|
2028
2039
|
class TableRowActionDirective extends ConfirmDirective {
|
|
2040
|
+
set hasConfirmDirective(value) {
|
|
2041
|
+
this._hasConfirmDirective = coerceBoolean(value);
|
|
2042
|
+
}
|
|
2029
2043
|
constructor(overlay, elementRef, actionMethodList, cdr, vcr, tableDataSourceDirective, snackBar, matButton, matTooltip) {
|
|
2030
2044
|
super(overlay, elementRef);
|
|
2031
2045
|
this.cdr = cdr;
|
|
@@ -2040,15 +2054,12 @@ class TableRowActionDirective extends ConfirmDirective {
|
|
|
2040
2054
|
this.options = null;
|
|
2041
2055
|
this.actionMethodList = coerceArray(actionMethodList);
|
|
2042
2056
|
}
|
|
2043
|
-
set hasConfirmDirective(value) {
|
|
2044
|
-
this._hasConfirmDirective = coerceBoolean(value);
|
|
2045
|
-
}
|
|
2046
2057
|
ngOnInit() {
|
|
2047
2058
|
this.options = this.getTableActionOptions();
|
|
2048
2059
|
if (this.options) {
|
|
2049
|
-
this.refresh
|
|
2050
|
-
this.errorMessage
|
|
2051
|
-
this.successMessage
|
|
2060
|
+
this.refresh ??= this.options.refresh ?? false;
|
|
2061
|
+
this.errorMessage ??= this.options.errorMessage ?? undefined;
|
|
2062
|
+
this.successMessage ??= this.options.successMessage ?? undefined;
|
|
2052
2063
|
if (this.matTooltip && this.options.tooltip) {
|
|
2053
2064
|
this.matTooltip.message = this.options.tooltip;
|
|
2054
2065
|
}
|
|
@@ -2170,9 +2181,9 @@ class TableRowActionDirective extends ConfirmDirective {
|
|
|
2170
2181
|
}
|
|
2171
2182
|
return metadataList.filter(metadata => metadata.type === this.type).sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))[0];
|
|
2172
2183
|
}
|
|
2184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatLegacySnackBar }, { token: MatLegacyButton, optional: true }, { token: MatTooltip, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2185
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: TableRowActionDirective, 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 }); }
|
|
2173
2186
|
}
|
|
2174
|
-
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
2175
|
-
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: TableRowActionDirective, 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 });
|
|
2176
2187
|
__decorate([
|
|
2177
2188
|
Required,
|
|
2178
2189
|
__metadata("design:type", Object)
|
|
@@ -2181,7 +2192,7 @@ __decorate([
|
|
|
2181
2192
|
Required,
|
|
2182
2193
|
__metadata("design:type", String)
|
|
2183
2194
|
], TableRowActionDirective.prototype, "type", void 0);
|
|
2184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
2185
2196
|
type: Directive,
|
|
2186
2197
|
args: [{
|
|
2187
2198
|
selector: 'button[rxapTableRowAction]'
|
|
@@ -2204,15 +2215,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2204
2215
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2205
2216
|
type: Inject,
|
|
2206
2217
|
args: [TableDataSourceDirective]
|
|
2207
|
-
}] }, { type: i3$3.
|
|
2218
|
+
}] }, { type: i3$3.MatLegacySnackBar, decorators: [{
|
|
2208
2219
|
type: Inject,
|
|
2209
|
-
args: [
|
|
2210
|
-
}] }, { type: i4.
|
|
2220
|
+
args: [MatLegacySnackBar]
|
|
2221
|
+
}] }, { type: i4.MatLegacyButton, decorators: [{
|
|
2211
2222
|
type: Optional
|
|
2212
2223
|
}, {
|
|
2213
2224
|
type: Inject,
|
|
2214
|
-
args: [
|
|
2215
|
-
}] }, { type:
|
|
2225
|
+
args: [MatLegacyButton]
|
|
2226
|
+
}] }, { type: i5.MatTooltip, decorators: [{
|
|
2216
2227
|
type: Optional
|
|
2217
2228
|
}, {
|
|
2218
2229
|
type: Inject,
|
|
@@ -2271,14 +2282,14 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2271
2282
|
getElementList() {
|
|
2272
2283
|
return this.selectRowService?.selectedRows ?? [];
|
|
2273
2284
|
}
|
|
2285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: Overlay }, { token: ElementRef }, { token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatLegacySnackBar }, { token: MatLegacyButton, optional: true }, { token: MatTooltip, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2286
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 }); }
|
|
2274
2287
|
}
|
|
2275
|
-
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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 });
|
|
2276
|
-
TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 });
|
|
2277
2288
|
__decorate([
|
|
2278
2289
|
Required,
|
|
2279
2290
|
__metadata("design:type", String)
|
|
2280
2291
|
], TableRowHeaderActionDirective.prototype, "type", void 0);
|
|
2281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
2282
2293
|
type: Directive,
|
|
2283
2294
|
args: [{
|
|
2284
2295
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
@@ -2301,15 +2312,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2301
2312
|
}] }, { type: TableDataSourceDirective, decorators: [{
|
|
2302
2313
|
type: Inject,
|
|
2303
2314
|
args: [TableDataSourceDirective]
|
|
2304
|
-
}] }, { type: i3$3.
|
|
2315
|
+
}] }, { type: i3$3.MatLegacySnackBar, decorators: [{
|
|
2305
2316
|
type: Inject,
|
|
2306
|
-
args: [
|
|
2307
|
-
}] }, { type: i4.
|
|
2317
|
+
args: [MatLegacySnackBar]
|
|
2318
|
+
}] }, { type: i4.MatLegacyButton, decorators: [{
|
|
2308
2319
|
type: Optional
|
|
2309
2320
|
}, {
|
|
2310
2321
|
type: Inject,
|
|
2311
|
-
args: [
|
|
2312
|
-
}] }, { type:
|
|
2322
|
+
args: [MatLegacyButton]
|
|
2323
|
+
}] }, { type: i5.MatTooltip, decorators: [{
|
|
2313
2324
|
type: Optional
|
|
2314
2325
|
}, {
|
|
2315
2326
|
type: Inject,
|
|
@@ -2347,10 +2358,10 @@ class RowActionCheckPipe {
|
|
|
2347
2358
|
}
|
|
2348
2359
|
return true;
|
|
2349
2360
|
}
|
|
2361
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowActionCheckPipe, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2362
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: RowActionCheckPipe, name: "rxapRowActionCheck" }); }
|
|
2350
2363
|
}
|
|
2351
|
-
|
|
2352
|
-
RowActionCheckPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, name: "rxapRowActionCheck" });
|
|
2353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
2364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RowActionCheckPipe, decorators: [{
|
|
2354
2365
|
type: Pipe,
|
|
2355
2366
|
args: [{
|
|
2356
2367
|
name: 'rxapRowActionCheck',
|
|
@@ -2363,28 +2374,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2363
2374
|
}] }]; } });
|
|
2364
2375
|
|
|
2365
2376
|
class TableRowActionsModule {
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2378
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionsModule, declarations: [TableRowActionDirective,
|
|
2379
|
+
TableRowActionExecutingDirective,
|
|
2380
|
+
TableRowHeaderActionDirective,
|
|
2381
|
+
RowActionCheckPipe], imports: [ConfirmComponentModule], exports: [TableRowActionDirective,
|
|
2382
|
+
TableRowHeaderActionDirective,
|
|
2383
|
+
TableRowActionExecutingDirective,
|
|
2384
|
+
RowActionCheckPipe,
|
|
2385
|
+
MatLegacyTooltipModule,
|
|
2386
|
+
MatLegacyButtonModule,
|
|
2387
|
+
ConfirmComponentModule,
|
|
2388
|
+
MatIconModule,
|
|
2389
|
+
MatLegacyProgressBarModule,
|
|
2390
|
+
CommonModule] }); }
|
|
2391
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionsModule, imports: [ConfirmComponentModule, MatLegacyTooltipModule,
|
|
2392
|
+
MatLegacyButtonModule,
|
|
2393
|
+
ConfirmComponentModule,
|
|
2394
|
+
MatIconModule,
|
|
2395
|
+
MatLegacyProgressBarModule,
|
|
2396
|
+
CommonModule] }); }
|
|
2397
|
+
}
|
|
2398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
2388
2399
|
type: NgModule,
|
|
2389
2400
|
args: [{
|
|
2390
2401
|
declarations: [
|
|
@@ -2401,11 +2412,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
2401
2412
|
TableRowHeaderActionDirective,
|
|
2402
2413
|
TableRowActionExecutingDirective,
|
|
2403
2414
|
RowActionCheckPipe,
|
|
2404
|
-
|
|
2405
|
-
|
|
2415
|
+
MatLegacyTooltipModule,
|
|
2416
|
+
MatLegacyButtonModule,
|
|
2406
2417
|
ConfirmComponentModule,
|
|
2407
2418
|
MatIconModule,
|
|
2408
|
-
|
|
2419
|
+
MatLegacyProgressBarModule,
|
|
2409
2420
|
CommonModule
|
|
2410
2421
|
]
|
|
2411
2422
|
}]
|