@rxap/material-table-system 12.5.6 → 13.0.0-next.1
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/_theming.scss +1 -1
- package/esm2020/index.mjs +91 -0
- package/esm2020/lib/cells/boolean-cell/boolean-cell.component.mjs +19 -0
- package/esm2020/lib/cells/boolean-cell/boolean-cell.component.module.mjs +26 -0
- package/esm2020/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +16 -0
- package/esm2020/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.mjs +26 -0
- package/esm2020/lib/cells/date-cell/date-cell.component.mjs +21 -0
- package/esm2020/lib/cells/date-cell/date-cell.component.module.mjs +22 -0
- package/esm2020/lib/cells/icon-cell/icon-cell.component.mjs +17 -0
- package/esm2020/lib/cells/icon-cell/icon-cell.component.module.mjs +30 -0
- package/esm2020/lib/cells/image-cell/image-cell.component.mjs +31 -0
- package/esm2020/lib/cells/image-cell/image-cell.component.module.mjs +19 -0
- package/esm2020/lib/cells/link-cell/link-cell.component.mjs +26 -0
- package/esm2020/lib/cells/link-cell/link-cell.component.module.mjs +34 -0
- package/esm2020/lib/cells/options-cell/options-cell.component.mjs +68 -0
- package/esm2020/lib/cells/options-cell/options-cell.component.module.mjs +17 -0
- package/esm2020/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +30 -0
- package/esm2020/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.mjs +30 -0
- package/esm2020/lib/expand-row/expand-row-container/expand-row-container.component.mjs +65 -0
- package/esm2020/lib/expand-row/expand-row-container/expand-row-container.component.module.mjs +35 -0
- package/esm2020/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +22 -0
- package/esm2020/lib/expand-row/expand-row.directive.mjs +41 -0
- package/esm2020/lib/expand-row/expand-row.module.mjs +31 -0
- package/esm2020/lib/expand-row/expand-row.service.mjs +29 -0
- package/esm2020/lib/persistent-paginator.directive.mjs +62 -0
- package/esm2020/lib/row-animation.mjs +25 -0
- package/esm2020/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +28 -0
- package/esm2020/lib/select-row/checkbox-cell/checkbox-cell.component.module.mjs +26 -0
- package/esm2020/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +45 -0
- package/esm2020/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.mjs +26 -0
- package/esm2020/lib/select-row/select-row.module.mjs +25 -0
- package/esm2020/lib/select-row/select-row.options.mjs +2 -0
- package/esm2020/lib/select-row/select-row.service.mjs +29 -0
- package/esm2020/lib/select-row/selected-rows.directive.mjs +46 -0
- package/esm2020/lib/select-row/tokens.mjs +3 -0
- package/esm2020/lib/table-column-menu/table-column-menu.component.mjs +58 -0
- package/esm2020/lib/table-column-menu/table-column-menu.component.module.mjs +47 -0
- package/esm2020/lib/table-column-menu/table-column-option/table-column-option.component.mjs +81 -0
- package/esm2020/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +30 -0
- package/esm2020/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.mjs +26 -0
- package/esm2020/lib/table-create-button/table-create-button.directive.mjs +69 -0
- package/esm2020/lib/table-create-button/tokens.mjs +3 -0
- package/esm2020/lib/table-data-source.directive.mjs +169 -0
- package/esm2020/lib/table-filter/filter-header-row.directive.mjs +55 -0
- package/esm2020/lib/table-filter/table-filter.module.mjs +25 -0
- package/esm2020/lib/table-filter/table-filter.service.mjs +36 -0
- package/esm2020/lib/table-filter/to-filter-column-names.pipe.mjs +16 -0
- package/esm2020/lib/table-filter/tokens.mjs +3 -0
- package/esm2020/lib/table-row-actions/decorators.mjs +8 -0
- package/esm2020/lib/table-row-actions/table-row-action-executing.directive.mjs +23 -0
- package/esm2020/lib/table-row-actions/table-row-action-status.mjs +8 -0
- package/esm2020/lib/table-row-actions/table-row-action.directive.mjs +196 -0
- package/esm2020/lib/table-row-actions/table-row-action.method.mjs +11 -0
- package/esm2020/lib/table-row-actions/table-row-actions.module.mjs +53 -0
- package/esm2020/lib/table-row-actions/table-row-header-action.directive.mjs +86 -0
- package/esm2020/lib/table-row-actions/tokens.mjs +3 -0
- package/esm2020/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +116 -0
- package/esm2020/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.mjs +42 -0
- package/esm2020/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +94 -0
- package/esm2020/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.mjs +42 -0
- package/esm2020/lib/table-row-controls/table-row-controls.module.mjs +21 -0
- package/esm2020/lib/table-row-controls/tokens.mjs +9 -0
- package/esm2020/lib/table-row-metadata.mjs +2 -0
- package/esm2020/lib/table-select-controls/table-select-controls.component.mjs +32 -0
- package/esm2020/lib/table-select-controls/table-select-controls.component.module.mjs +30 -0
- package/esm2020/rxap-material-table-system.mjs +5 -0
- package/fesm2015/rxap-material-table-system.mjs +2131 -0
- package/fesm2015/rxap-material-table-system.mjs.map +1 -0
- package/{fesm2015/rxap-material-table-system.js → fesm2020/rxap-material-table-system.mjs} +334 -468
- package/fesm2020/rxap-material-table-system.mjs.map +1 -0
- package/lib/cells/options-cell/options-cell.component.d.ts +5 -2
- package/package.json +51 -37
- package/bundles/rxap-material-table-system.umd.js +0 -2915
- package/bundles/rxap-material-table-system.umd.js.map +0 -1
- package/esm2015/index.js +0 -91
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.js +0 -25
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.js.map +0 -1
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.module.js +0 -26
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.module.js.map +0 -1
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.js +0 -22
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.js.map +0 -1
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.js +0 -26
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.js.map +0 -1
- package/esm2015/lib/cells/date-cell/date-cell.component.js +0 -27
- package/esm2015/lib/cells/date-cell/date-cell.component.js.map +0 -1
- package/esm2015/lib/cells/date-cell/date-cell.component.module.js +0 -22
- package/esm2015/lib/cells/date-cell/date-cell.component.module.js.map +0 -1
- package/esm2015/lib/cells/icon-cell/icon-cell.component.js +0 -23
- package/esm2015/lib/cells/icon-cell/icon-cell.component.js.map +0 -1
- package/esm2015/lib/cells/icon-cell/icon-cell.component.module.js +0 -30
- package/esm2015/lib/cells/icon-cell/icon-cell.component.module.js.map +0 -1
- package/esm2015/lib/cells/image-cell/image-cell.component.js +0 -37
- package/esm2015/lib/cells/image-cell/image-cell.component.js.map +0 -1
- package/esm2015/lib/cells/image-cell/image-cell.component.module.js +0 -19
- package/esm2015/lib/cells/image-cell/image-cell.component.module.js.map +0 -1
- package/esm2015/lib/cells/link-cell/link-cell.component.js +0 -32
- package/esm2015/lib/cells/link-cell/link-cell.component.js.map +0 -1
- package/esm2015/lib/cells/link-cell/link-cell.component.module.js +0 -34
- package/esm2015/lib/cells/link-cell/link-cell.component.module.js.map +0 -1
- package/esm2015/lib/cells/options-cell/options-cell.component.js +0 -63
- package/esm2015/lib/cells/options-cell/options-cell.component.js.map +0 -1
- package/esm2015/lib/cells/options-cell/options-cell.component.module.js +0 -17
- package/esm2015/lib/cells/options-cell/options-cell.component.module.js.map +0 -1
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.js +0 -37
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.js.map +0 -1
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.js +0 -30
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.js.map +0 -1
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.js +0 -74
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.js.map +0 -1
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js +0 -35
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js.map +0 -1
- package/esm2015/lib/expand-row/expand-row-container/expand-row-content.directive.js +0 -22
- package/esm2015/lib/expand-row/expand-row-container/expand-row-content.directive.js.map +0 -1
- package/esm2015/lib/expand-row/expand-row.directive.js +0 -41
- package/esm2015/lib/expand-row/expand-row.directive.js.map +0 -1
- package/esm2015/lib/expand-row/expand-row.module.js +0 -31
- package/esm2015/lib/expand-row/expand-row.module.js.map +0 -1
- package/esm2015/lib/expand-row/expand-row.service.js +0 -29
- package/esm2015/lib/expand-row/expand-row.service.js.map +0 -1
- package/esm2015/lib/persistent-paginator.directive.js +0 -63
- package/esm2015/lib/persistent-paginator.directive.js.map +0 -1
- package/esm2015/lib/row-animation.js +0 -25
- package/esm2015/lib/row-animation.js.map +0 -1
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.js +0 -34
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.js.map +0 -1
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.module.js +0 -26
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.module.js.map +0 -1
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.js +0 -51
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.js.map +0 -1
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js +0 -26
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js.map +0 -1
- package/esm2015/lib/select-row/select-row.module.js +0 -25
- package/esm2015/lib/select-row/select-row.module.js.map +0 -1
- package/esm2015/lib/select-row/select-row.options.js +0 -2
- package/esm2015/lib/select-row/select-row.options.js.map +0 -1
- package/esm2015/lib/select-row/select-row.service.js +0 -29
- package/esm2015/lib/select-row/select-row.service.js.map +0 -1
- package/esm2015/lib/select-row/selected-rows.directive.js +0 -47
- package/esm2015/lib/select-row/selected-rows.directive.js.map +0 -1
- package/esm2015/lib/select-row/tokens.js +0 -3
- package/esm2015/lib/select-row/tokens.js.map +0 -1
- package/esm2015/lib/table-column-menu/table-column-menu.component.js +0 -63
- package/esm2015/lib/table-column-menu/table-column-menu.component.js.map +0 -1
- package/esm2015/lib/table-column-menu/table-column-menu.component.module.js +0 -47
- package/esm2015/lib/table-column-menu/table-column-menu.component.module.js.map +0 -1
- package/esm2015/lib/table-column-menu/table-column-option/table-column-option.component.js +0 -85
- package/esm2015/lib/table-column-menu/table-column-option/table-column-option.component.js.map +0 -1
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.js +0 -36
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.js.map +0 -1
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.js +0 -26
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.js.map +0 -1
- package/esm2015/lib/table-create-button/table-create-button.directive.js +0 -71
- package/esm2015/lib/table-create-button/table-create-button.directive.js.map +0 -1
- package/esm2015/lib/table-create-button/tokens.js +0 -3
- package/esm2015/lib/table-create-button/tokens.js.map +0 -1
- package/esm2015/lib/table-data-source.directive.js +0 -172
- package/esm2015/lib/table-data-source.directive.js.map +0 -1
- package/esm2015/lib/table-filter/filter-header-row.directive.js +0 -56
- package/esm2015/lib/table-filter/filter-header-row.directive.js.map +0 -1
- package/esm2015/lib/table-filter/table-filter.module.js +0 -25
- package/esm2015/lib/table-filter/table-filter.module.js.map +0 -1
- package/esm2015/lib/table-filter/table-filter.service.js +0 -36
- package/esm2015/lib/table-filter/table-filter.service.js.map +0 -1
- package/esm2015/lib/table-filter/to-filter-column-names.pipe.js +0 -16
- package/esm2015/lib/table-filter/to-filter-column-names.pipe.js.map +0 -1
- package/esm2015/lib/table-filter/tokens.js +0 -3
- package/esm2015/lib/table-filter/tokens.js.map +0 -1
- package/esm2015/lib/table-row-actions/decorators.js +0 -8
- package/esm2015/lib/table-row-actions/decorators.js.map +0 -1
- package/esm2015/lib/table-row-actions/table-row-action-executing.directive.js +0 -23
- package/esm2015/lib/table-row-actions/table-row-action-executing.directive.js.map +0 -1
- package/esm2015/lib/table-row-actions/table-row-action-status.js +0 -8
- package/esm2015/lib/table-row-actions/table-row-action-status.js.map +0 -1
- package/esm2015/lib/table-row-actions/table-row-action.directive.js +0 -199
- package/esm2015/lib/table-row-actions/table-row-action.directive.js.map +0 -1
- package/esm2015/lib/table-row-actions/table-row-action.method.js +0 -11
- package/esm2015/lib/table-row-actions/table-row-action.method.js.map +0 -1
- package/esm2015/lib/table-row-actions/table-row-actions.module.js +0 -53
- package/esm2015/lib/table-row-actions/table-row-actions.module.js.map +0 -1
- package/esm2015/lib/table-row-actions/table-row-header-action.directive.js +0 -88
- package/esm2015/lib/table-row-actions/table-row-header-action.directive.js.map +0 -1
- package/esm2015/lib/table-row-actions/tokens.js +0 -3
- package/esm2015/lib/table-row-actions/tokens.js.map +0 -1
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.js +0 -134
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.js.map +0 -1
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.js +0 -42
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.js.map +0 -1
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.js +0 -117
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.js.map +0 -1
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.js +0 -42
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.js.map +0 -1
- package/esm2015/lib/table-row-controls/table-row-controls.module.js +0 -21
- package/esm2015/lib/table-row-controls/table-row-controls.module.js.map +0 -1
- package/esm2015/lib/table-row-controls/tokens.js +0 -9
- package/esm2015/lib/table-row-controls/tokens.js.map +0 -1
- package/esm2015/lib/table-row-metadata.js +0 -2
- package/esm2015/lib/table-row-metadata.js.map +0 -1
- package/esm2015/lib/table-select-controls/table-select-controls.component.js +0 -39
- package/esm2015/lib/table-select-controls/table-select-controls.component.js.map +0 -1
- package/esm2015/lib/table-select-controls/table-select-controls.component.module.js +0 -30
- package/esm2015/lib/table-select-controls/table-select-controls.component.module.js.map +0 -1
- package/esm2015/rxap-material-table-system.js +0 -5
- package/esm2015/rxap-material-table-system.js.map +0 -1
- package/fesm2015/rxap-material-table-system.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, Directive, Inject, Injectable, ViewContainerRef, Component, ChangeDetectionStrategy, Input, ContentChild, NgModule, HostListener, InjectionToken, Optional, ChangeDetectorRef, forwardRef, Pipe, ElementRef, ContentChildren, HostBinding, Renderer2, isDevMode } from '@angular/core';
|
|
3
|
-
import { __decorate, __metadata
|
|
3
|
+
import { __decorate, __metadata } from 'tslib';
|
|
4
4
|
import * as i1 from '@angular/cdk/portal';
|
|
5
5
|
import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
6
6
|
import { Required, equals, coerceBoolean, coerceArray } from '@rxap/utilities';
|
|
@@ -58,9 +58,9 @@ class ExpandRowContentDirective {
|
|
|
58
58
|
return true;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
62
|
-
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
62
|
+
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ExpandRowContentDirective, selector: "[rxapExpandRowContent]", ngImport: i0 });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
64
64
|
type: Directive,
|
|
65
65
|
args: [{
|
|
66
66
|
selector: '[rxapExpandRowContent]'
|
|
@@ -89,9 +89,9 @@ class ExpandRowService {
|
|
|
89
89
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
93
|
-
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
92
|
+
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
93
|
+
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowService });
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
95
95
|
type: Injectable
|
|
96
96
|
}] });
|
|
97
97
|
|
|
@@ -102,8 +102,7 @@ class ExpandRowContainerComponent {
|
|
|
102
102
|
this.portal = null;
|
|
103
103
|
}
|
|
104
104
|
ngOnDestroy() {
|
|
105
|
-
|
|
106
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
105
|
+
this._subscription?.unsubscribe();
|
|
107
106
|
}
|
|
108
107
|
ngAfterContentInit() {
|
|
109
108
|
if (this.expandCellContent) {
|
|
@@ -115,8 +114,8 @@ class ExpandRowContainerComponent {
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
|
-
ExpandRowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
119
|
-
ExpandRowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
117
|
+
ExpandRowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
+
ExpandRowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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"], directives: [{ type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i2.AsyncPipe }, animations: [
|
|
120
119
|
trigger('detailExpand', [
|
|
121
120
|
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
122
121
|
state('expanded', style({ height: '*' })),
|
|
@@ -127,23 +126,15 @@ __decorate([
|
|
|
127
126
|
Required,
|
|
128
127
|
__metadata("design:type", Object)
|
|
129
128
|
], ExpandRowContainerComponent.prototype, "element", void 0);
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
131
130
|
type: Component,
|
|
132
|
-
args: [{
|
|
133
|
-
// tslint:disable-next-line:component-selector
|
|
134
|
-
selector: 'td[rxap-expand-row]',
|
|
135
|
-
templateUrl: './expand-row-container.component.html',
|
|
136
|
-
styleUrls: ['./expand-row-container.component.scss'],
|
|
137
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
138
|
-
host: { class: 'rxap-expand-row' },
|
|
139
|
-
animations: [
|
|
131
|
+
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-expand-row' }, animations: [
|
|
140
132
|
trigger('detailExpand', [
|
|
141
133
|
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
142
134
|
state('expanded', style({ height: '*' })),
|
|
143
135
|
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
144
136
|
])
|
|
145
|
-
]
|
|
146
|
-
}]
|
|
137
|
+
], 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"] }]
|
|
147
138
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef, decorators: [{
|
|
148
139
|
type: Inject,
|
|
149
140
|
args: [ViewContainerRef]
|
|
@@ -159,16 +150,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
159
150
|
|
|
160
151
|
class ExpandRowContainerComponentModule {
|
|
161
152
|
}
|
|
162
|
-
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
163
|
-
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
153
|
+
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
154
|
+
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, declarations: [ExpandRowContainerComponent,
|
|
164
155
|
ExpandRowContentDirective], imports: [PortalModule,
|
|
165
156
|
CommonModule], exports: [ExpandRowContainerComponent,
|
|
166
157
|
ExpandRowContentDirective] });
|
|
167
|
-
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
158
|
+
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, imports: [[
|
|
168
159
|
PortalModule,
|
|
169
160
|
CommonModule
|
|
170
161
|
]] });
|
|
171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, decorators: [{
|
|
172
163
|
type: NgModule,
|
|
173
164
|
args: [{
|
|
174
165
|
declarations: [
|
|
@@ -191,22 +182,15 @@ class ExpandControlsCellComponent {
|
|
|
191
182
|
this.expandCell = expandCell;
|
|
192
183
|
}
|
|
193
184
|
}
|
|
194
|
-
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
195
|
-
ExpandControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
185
|
+
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
186
|
+
ExpandControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i2$1.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"] }, { type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
196
187
|
__decorate([
|
|
197
188
|
Required,
|
|
198
189
|
__metadata("design:type", Object)
|
|
199
190
|
], ExpandControlsCellComponent.prototype, "element", void 0);
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponent, decorators: [{
|
|
201
192
|
type: Component,
|
|
202
|
-
args: [{
|
|
203
|
-
// tslint:disable-next-line:component-selector
|
|
204
|
-
selector: 'td[rxap-expand-controls-cell]',
|
|
205
|
-
templateUrl: './expand-controls-cell.component.html',
|
|
206
|
-
styleUrls: ['./expand-controls-cell.component.scss'],
|
|
207
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
208
|
-
host: { class: 'rxap-expand-controls-cell' }
|
|
209
|
-
}]
|
|
193
|
+
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", styles: [""] }]
|
|
210
194
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
211
195
|
type: Inject,
|
|
212
196
|
args: [ExpandRowService]
|
|
@@ -216,16 +200,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
216
200
|
|
|
217
201
|
class ExpandControlsCellComponentModule {
|
|
218
202
|
}
|
|
219
|
-
ExpandControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
220
|
-
ExpandControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
203
|
+
ExpandControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
204
|
+
ExpandControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, declarations: [ExpandControlsCellComponent], imports: [CommonModule,
|
|
221
205
|
MatIconModule,
|
|
222
206
|
MatButtonModule], exports: [ExpandControlsCellComponent] });
|
|
223
|
-
ExpandControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
207
|
+
ExpandControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, imports: [[
|
|
224
208
|
CommonModule,
|
|
225
209
|
MatIconModule,
|
|
226
210
|
MatButtonModule
|
|
227
211
|
]] });
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, decorators: [{
|
|
229
213
|
type: NgModule,
|
|
230
214
|
args: [{
|
|
231
215
|
declarations: [ExpandControlsCellComponent],
|
|
@@ -249,13 +233,13 @@ class ExpandRowDirective {
|
|
|
249
233
|
this.expandCell.toggleRow(this.element);
|
|
250
234
|
}
|
|
251
235
|
}
|
|
252
|
-
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
253
|
-
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
236
|
+
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
237
|
+
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ExpandRowDirective, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 });
|
|
254
238
|
__decorate([
|
|
255
239
|
Required,
|
|
256
240
|
__metadata("design:type", Object)
|
|
257
241
|
], ExpandRowDirective.prototype, "element", void 0);
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
259
243
|
type: Directive,
|
|
260
244
|
args: [{
|
|
261
245
|
selector: 'tr[rxapExpandRow]'
|
|
@@ -275,15 +259,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
275
259
|
|
|
276
260
|
class ExpandRowModule {
|
|
277
261
|
}
|
|
278
|
-
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
279
|
-
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
262
|
+
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
263
|
+
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, declarations: [ExpandRowDirective], exports: [ExpandRowContainerComponentModule,
|
|
280
264
|
ExpandControlsCellComponentModule,
|
|
281
265
|
ExpandRowDirective] });
|
|
282
|
-
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
266
|
+
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, providers: [
|
|
283
267
|
ExpandRowService
|
|
284
268
|
], imports: [ExpandRowContainerComponentModule,
|
|
285
269
|
ExpandControlsCellComponentModule] });
|
|
286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
287
271
|
type: NgModule,
|
|
288
272
|
args: [{
|
|
289
273
|
exports: [
|
|
@@ -303,9 +287,9 @@ const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-m
|
|
|
303
287
|
class SelectRowService {
|
|
304
288
|
constructor(options = null) {
|
|
305
289
|
this.selectionModel = new SelectionModel(true);
|
|
306
|
-
this.selectionModel = new SelectionModel(options
|
|
307
|
-
if (options
|
|
308
|
-
this.selectionModel.select(...options
|
|
290
|
+
this.selectionModel = new SelectionModel(options?.multiple);
|
|
291
|
+
if (options?.selected) {
|
|
292
|
+
this.selectionModel.select(...options?.selected);
|
|
309
293
|
}
|
|
310
294
|
this.selectedRows$ = this.selectionModel.changed.pipe(map(() => this.selectionModel.selected));
|
|
311
295
|
}
|
|
@@ -313,9 +297,9 @@ class SelectRowService {
|
|
|
313
297
|
return this.selectionModel.selected;
|
|
314
298
|
}
|
|
315
299
|
}
|
|
316
|
-
SelectRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
300
|
+
SelectRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowService, deps: [{ token: RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
301
|
+
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowService });
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowService, decorators: [{
|
|
319
303
|
type: Injectable
|
|
320
304
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
321
305
|
type: Optional
|
|
@@ -329,21 +313,15 @@ class CheckboxCellComponent {
|
|
|
329
313
|
this.selectRow = selectRow;
|
|
330
314
|
}
|
|
331
315
|
}
|
|
332
|
-
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
333
|
-
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
316
|
+
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
317
|
+
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i1$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
334
318
|
__decorate([
|
|
335
319
|
Required,
|
|
336
320
|
__metadata("design:type", Object)
|
|
337
321
|
], CheckboxCellComponent.prototype, "element", void 0);
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
339
323
|
type: Component,
|
|
340
|
-
args: [{
|
|
341
|
-
selector: 'td[rxap-checkbox-cell]',
|
|
342
|
-
templateUrl: './checkbox-cell.component.html',
|
|
343
|
-
styleUrls: ['./checkbox-cell.component.scss'],
|
|
344
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
345
|
-
host: { class: 'rxap-checkbox-cell' }
|
|
346
|
-
}]
|
|
324
|
+
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", styles: [""] }]
|
|
347
325
|
}], ctorParameters: function () { return [{ type: SelectRowService, decorators: [{
|
|
348
326
|
type: Inject,
|
|
349
327
|
args: [SelectRowService]
|
|
@@ -353,14 +331,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
353
331
|
|
|
354
332
|
class CheckboxCellComponentModule {
|
|
355
333
|
}
|
|
356
|
-
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
357
|
-
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
334
|
+
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
335
|
+
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, declarations: [CheckboxCellComponent], imports: [MatCheckboxModule,
|
|
358
336
|
CommonModule], exports: [CheckboxCellComponent] });
|
|
359
|
-
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
337
|
+
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, imports: [[
|
|
360
338
|
MatCheckboxModule,
|
|
361
339
|
CommonModule
|
|
362
340
|
]] });
|
|
363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
364
342
|
type: NgModule,
|
|
365
343
|
args: [{
|
|
366
344
|
declarations: [CheckboxCellComponent],
|
|
@@ -397,17 +375,11 @@ class CheckboxHeaderCellComponent {
|
|
|
397
375
|
}
|
|
398
376
|
}
|
|
399
377
|
}
|
|
400
|
-
CheckboxHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
401
|
-
CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
378
|
+
CheckboxHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponent, deps: [{ token: CdkTable }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
379
|
+
CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i1$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
403
381
|
type: Component,
|
|
404
|
-
args: [{
|
|
405
|
-
selector: 'th[rxap-checkbox-header-cell]',
|
|
406
|
-
templateUrl: './checkbox-header-cell.component.html',
|
|
407
|
-
styleUrls: ['./checkbox-header-cell.component.scss'],
|
|
408
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
409
|
-
host: { class: 'rxap-checkbox-header-cell' },
|
|
410
|
-
}]
|
|
382
|
+
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", styles: [""] }]
|
|
411
383
|
}], ctorParameters: function () { return [{ type: i4.CdkTable, decorators: [{
|
|
412
384
|
type: Inject,
|
|
413
385
|
args: [CdkTable]
|
|
@@ -415,14 +387,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
415
387
|
|
|
416
388
|
class CheckboxHeaderCellComponentModule {
|
|
417
389
|
}
|
|
418
|
-
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
419
|
-
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
390
|
+
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
391
|
+
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, declarations: [CheckboxHeaderCellComponent], imports: [MatCheckboxModule,
|
|
420
392
|
CommonModule], exports: [CheckboxHeaderCellComponent] });
|
|
421
|
-
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
393
|
+
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, imports: [[
|
|
422
394
|
MatCheckboxModule,
|
|
423
395
|
CommonModule
|
|
424
396
|
]] });
|
|
425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
426
398
|
type: NgModule,
|
|
427
399
|
args: [{
|
|
428
400
|
declarations: [CheckboxHeaderCellComponent],
|
|
@@ -442,8 +414,7 @@ class SelectedRowsDirective {
|
|
|
442
414
|
this.selectRowService = selectRowService;
|
|
443
415
|
}
|
|
444
416
|
ngOnDestroy() {
|
|
445
|
-
|
|
446
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
417
|
+
this._subscription?.unsubscribe();
|
|
447
418
|
}
|
|
448
419
|
ngOnInit() {
|
|
449
420
|
this._subscription = this.selectRowService.selectedRows$.pipe(distinctUntilChanged(), tap(selectedAllRows => {
|
|
@@ -455,9 +426,9 @@ class SelectedRowsDirective {
|
|
|
455
426
|
})).subscribe();
|
|
456
427
|
}
|
|
457
428
|
}
|
|
458
|
-
SelectedRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
459
|
-
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
429
|
+
SelectedRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectedRowsDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
430
|
+
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: SelectedRowsDirective, selector: "[rxapSelectedRows]", ngImport: i0 });
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
461
432
|
type: Directive,
|
|
462
433
|
args: [{
|
|
463
434
|
selector: '[rxapSelectedRows]'
|
|
@@ -478,13 +449,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
478
449
|
|
|
479
450
|
class SelectRowModule {
|
|
480
451
|
}
|
|
481
|
-
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
482
|
-
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
452
|
+
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
453
|
+
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, declarations: [SelectedRowsDirective], exports: [CheckboxCellComponentModule,
|
|
483
454
|
CheckboxHeaderCellComponentModule,
|
|
484
455
|
SelectedRowsDirective] });
|
|
485
|
-
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
456
|
+
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponentModule,
|
|
486
457
|
CheckboxHeaderCellComponentModule] });
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
488
459
|
type: NgModule,
|
|
489
460
|
args: [{
|
|
490
461
|
exports: [
|
|
@@ -547,9 +518,9 @@ class TableFilterService {
|
|
|
547
518
|
this._subscription.unsubscribe();
|
|
548
519
|
}
|
|
549
520
|
}
|
|
550
|
-
TableFilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
551
|
-
TableFilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
521
|
+
TableFilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
522
|
+
TableFilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterService });
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterService, decorators: [{
|
|
553
524
|
type: Injectable
|
|
554
525
|
}], ctorParameters: function () { return []; } });
|
|
555
526
|
|
|
@@ -598,12 +569,10 @@ class TableDataSourceDirective {
|
|
|
598
569
|
return this.sourceMethod;
|
|
599
570
|
}
|
|
600
571
|
trackBy(index, item) {
|
|
601
|
-
|
|
602
|
-
return (_a = item.uuid) !== null && _a !== void 0 ? _a : index;
|
|
572
|
+
return item.uuid ?? index;
|
|
603
573
|
}
|
|
604
574
|
ngOnInit() {
|
|
605
|
-
|
|
606
|
-
const tableFilter = (_b = (_a = this._tableFilter) !== null && _a !== void 0 ? _a : this.tableFilter) !== null && _b !== void 0 ? _b : undefined;
|
|
575
|
+
const tableFilter = this._tableFilter ?? this.tableFilter ?? undefined;
|
|
607
576
|
if (this.sourceMethod) {
|
|
608
577
|
if (this.adapterFactory) {
|
|
609
578
|
this.method = this.adapterFactory(this.sourceMethod, this.paginator, this.matSort, tableFilter, this.parameters);
|
|
@@ -611,7 +580,7 @@ class TableDataSourceDirective {
|
|
|
611
580
|
else {
|
|
612
581
|
this.method = this.sourceMethod;
|
|
613
582
|
}
|
|
614
|
-
this.dataSource = new DynamicTableDataSource(this.method, this.paginator, this.matSort, tableFilter, this.parameters,
|
|
583
|
+
this.dataSource = new DynamicTableDataSource(this.method, this.paginator, this.matSort, tableFilter, this.parameters, this.method.metadata ?? { id: this.id });
|
|
615
584
|
}
|
|
616
585
|
else if (this.sourceDataSource) {
|
|
617
586
|
this.dataSource = this.sourceDataSource;
|
|
@@ -620,7 +589,7 @@ class TableDataSourceDirective {
|
|
|
620
589
|
throw new Error('The TABLE_DATA_SOURCE and TABLE_METHOD token are not defined!');
|
|
621
590
|
}
|
|
622
591
|
this.dataSource.paginator = this.paginator;
|
|
623
|
-
this.dataSource.sort =
|
|
592
|
+
this.dataSource.sort = this.matSort ?? undefined;
|
|
624
593
|
this.dataSource.filter = tableFilter;
|
|
625
594
|
this.dataSource.parameters = this.parameters;
|
|
626
595
|
this._subscription.add(this.dataSource.loading$.pipe(tap(loading => this.loading$.next(!!loading))).subscribe());
|
|
@@ -636,17 +605,16 @@ class TableDataSourceDirective {
|
|
|
636
605
|
this._subscription.unsubscribe();
|
|
637
606
|
}
|
|
638
607
|
refresh() {
|
|
639
|
-
|
|
640
|
-
(_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
608
|
+
this.dataSource?.refresh();
|
|
641
609
|
}
|
|
642
610
|
}
|
|
643
|
-
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
644
|
-
TableDataSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
611
|
+
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", 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 });
|
|
612
|
+
TableDataSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", 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 });
|
|
645
613
|
__decorate([
|
|
646
614
|
Required,
|
|
647
615
|
__metadata("design:type", String)
|
|
648
616
|
], TableDataSourceDirective.prototype, "id", void 0);
|
|
649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
650
618
|
type: Directive,
|
|
651
619
|
args: [{
|
|
652
620
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
@@ -699,10 +667,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
699
667
|
}] } });
|
|
700
668
|
class TableDataSourceModule {
|
|
701
669
|
}
|
|
702
|
-
TableDataSourceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
703
|
-
TableDataSourceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
704
|
-
TableDataSourceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
670
|
+
TableDataSourceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
671
|
+
TableDataSourceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule, declarations: [TableDataSourceDirective], exports: [TableDataSourceDirective] });
|
|
672
|
+
TableDataSourceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule });
|
|
673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule, decorators: [{
|
|
706
674
|
type: NgModule,
|
|
707
675
|
args: [{
|
|
708
676
|
exports: [TableDataSourceDirective],
|
|
@@ -722,8 +690,7 @@ class PersistentPaginatorDirective {
|
|
|
722
690
|
this._subscription = this.matPaginator.page.pipe(tap(() => this.storeConfig())).subscribe();
|
|
723
691
|
}
|
|
724
692
|
ngOnDestroy() {
|
|
725
|
-
|
|
726
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
693
|
+
this._subscription?.unsubscribe();
|
|
727
694
|
}
|
|
728
695
|
getKey() {
|
|
729
696
|
return 'rxap_mat-paginator-persistent' + this.id;
|
|
@@ -745,9 +712,9 @@ class PersistentPaginatorDirective {
|
|
|
745
712
|
return null;
|
|
746
713
|
}
|
|
747
714
|
}
|
|
748
|
-
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
749
|
-
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
715
|
+
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1$3.MatPaginator }], target: i0.ɵɵFactoryTarget.Directive });
|
|
716
|
+
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: PersistentPaginatorDirective, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 });
|
|
717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
751
718
|
type: Directive,
|
|
752
719
|
args: [{
|
|
753
720
|
selector: 'mat-paginator[rxapPersistent]'
|
|
@@ -757,10 +724,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
757
724
|
}] } });
|
|
758
725
|
class PersistentPaginatorDirectiveModule {
|
|
759
726
|
}
|
|
760
|
-
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
761
|
-
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
762
|
-
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
727
|
+
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
728
|
+
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule, declarations: [PersistentPaginatorDirective], exports: [PersistentPaginatorDirective] });
|
|
729
|
+
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule });
|
|
730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
764
731
|
type: NgModule,
|
|
765
732
|
args: [{
|
|
766
733
|
exports: [PersistentPaginatorDirective],
|
|
@@ -780,24 +747,23 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
780
747
|
this._subscription = this.form.value$
|
|
781
748
|
.pipe(debounceTime(1000), map((values) => Object.entries(values)
|
|
782
749
|
.filter(([key, value]) => value !== null && value !== undefined && value !== '')
|
|
783
|
-
.reduce((obj, [key, value]) => (
|
|
750
|
+
.reduce((obj, [key, value]) => ({ ...obj, [key]: value }), {})), distinctUntilChanged((a, b) => equals(a, b)), tap(values => this.tableFilter.setMap(values)))
|
|
784
751
|
.subscribe();
|
|
785
752
|
}
|
|
786
753
|
ngOnDestroy() {
|
|
787
|
-
var _a;
|
|
788
754
|
super.ngOnDestroy();
|
|
789
|
-
|
|
755
|
+
this._subscription?.unsubscribe();
|
|
790
756
|
}
|
|
791
757
|
}
|
|
792
|
-
FilterHeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
793
|
-
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
758
|
+
FilterHeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
759
|
+
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", providers: [
|
|
794
760
|
{
|
|
795
761
|
provide: ControlContainer,
|
|
796
762
|
// ignore coverage
|
|
797
763
|
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
798
764
|
},
|
|
799
765
|
], usesInheritance: true, ngImport: i0 });
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
801
767
|
type: Directive,
|
|
802
768
|
args: [{
|
|
803
769
|
// tslint:disable-next-line:directive-selector
|
|
@@ -822,9 +788,9 @@ class ToFilterColumnNamesPipe {
|
|
|
822
788
|
return columns.map(column => 'filter_' + column);
|
|
823
789
|
}
|
|
824
790
|
}
|
|
825
|
-
ToFilterColumnNamesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
826
|
-
ToFilterColumnNamesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
791
|
+
ToFilterColumnNamesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToFilterColumnNamesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
792
|
+
ToFilterColumnNamesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToFilterColumnNamesPipe, name: "toFilterColumnNames" });
|
|
793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
828
794
|
type: Pipe,
|
|
829
795
|
args: [{
|
|
830
796
|
name: 'toFilterColumnNames'
|
|
@@ -833,12 +799,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
833
799
|
|
|
834
800
|
class TableFilterModule {
|
|
835
801
|
}
|
|
836
|
-
TableFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
837
|
-
TableFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
802
|
+
TableFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
803
|
+
TableFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule, declarations: [ToFilterColumnNamesPipe,
|
|
838
804
|
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
839
805
|
FilterHeaderRowDirective] });
|
|
840
|
-
TableFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
806
|
+
TableFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule });
|
|
807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
842
808
|
type: NgModule,
|
|
843
809
|
args: [{
|
|
844
810
|
exports: [
|
|
@@ -903,19 +869,15 @@ class TableColumnOptionComponent {
|
|
|
903
869
|
localStorage.setItem(this.cacheId, 'false');
|
|
904
870
|
}
|
|
905
871
|
}
|
|
906
|
-
TableColumnOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
907
|
-
TableColumnOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
872
|
+
TableColumnOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }, { token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
873
|
+
TableColumnOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""] });
|
|
908
874
|
__decorate([
|
|
909
875
|
Required,
|
|
910
876
|
__metadata("design:type", String)
|
|
911
877
|
], TableColumnOptionComponent.prototype, "name", void 0);
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
913
879
|
type: Component,
|
|
914
|
-
args: [{
|
|
915
|
-
selector: 'rxap-table-column-option',
|
|
916
|
-
templateUrl: './table-column-option.component.html',
|
|
917
|
-
styleUrls: ['./table-column-option.component.css'],
|
|
918
|
-
}]
|
|
880
|
+
args: [{ selector: 'rxap-table-column-option', template: "<ng-content></ng-content>\n", styles: [""] }]
|
|
919
881
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
920
882
|
type: Inject,
|
|
921
883
|
args: [ElementRef]
|
|
@@ -951,28 +913,23 @@ class TableColumnMenuComponent {
|
|
|
951
913
|
.map((option) => option.name);
|
|
952
914
|
}
|
|
953
915
|
activate(columnName) {
|
|
954
|
-
|
|
955
|
-
|
|
916
|
+
this.columns
|
|
917
|
+
?.filter((option) => option.name === columnName)
|
|
918
|
+
.forEach((column) => column.activate());
|
|
956
919
|
this.updateDisplayColumns();
|
|
957
920
|
}
|
|
958
921
|
deactivate(columnName) {
|
|
959
|
-
|
|
960
|
-
|
|
922
|
+
this.columns
|
|
923
|
+
?.filter((option) => option.name === columnName)
|
|
924
|
+
.forEach((column) => column.deactivate());
|
|
961
925
|
this.updateDisplayColumns();
|
|
962
926
|
}
|
|
963
927
|
}
|
|
964
|
-
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
965
|
-
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
928
|
+
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
929
|
+
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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;top:8px;right:8px;bottom:auto;left:auto}\n"], components: [{ type: i2$1.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"] }, { type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i1$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { 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 });
|
|
930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
967
931
|
type: Component,
|
|
968
|
-
args: [{
|
|
969
|
-
selector: 'rxap-table-column-menu',
|
|
970
|
-
templateUrl: './table-column-menu.component.html',
|
|
971
|
-
styleUrls: ['./table-column-menu.component.scss'],
|
|
972
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
973
|
-
host: { class: 'mfd-table-column-menu' },
|
|
974
|
-
exportAs: 'rxapTableColumns',
|
|
975
|
-
}]
|
|
932
|
+
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;top:8px;right:8px;bottom:auto;left:auto}\n"] }]
|
|
976
933
|
}], propDecorators: { columns: [{
|
|
977
934
|
type: ContentChildren,
|
|
978
935
|
args: [TableColumnOptionComponent]
|
|
@@ -985,15 +942,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
985
942
|
|
|
986
943
|
class TableColumnMenuComponentModule {
|
|
987
944
|
}
|
|
988
|
-
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
989
|
-
TableColumnMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
945
|
+
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
946
|
+
TableColumnMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, declarations: [TableColumnMenuComponent, TableColumnOptionComponent], imports: [MatButtonModule,
|
|
990
947
|
MatIconModule,
|
|
991
948
|
MatMenuModule,
|
|
992
949
|
CommonModule,
|
|
993
950
|
MatCheckboxModule,
|
|
994
951
|
StopPropagationDirectiveModule,
|
|
995
952
|
FlexLayoutModule], exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatMenuModule] });
|
|
996
|
-
TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
953
|
+
TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, imports: [[
|
|
997
954
|
MatButtonModule,
|
|
998
955
|
MatIconModule,
|
|
999
956
|
MatMenuModule,
|
|
@@ -1002,7 +959,7 @@ TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
1002
959
|
StopPropagationDirectiveModule,
|
|
1003
960
|
FlexLayoutModule
|
|
1004
961
|
], MatMenuModule] });
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, decorators: [{
|
|
1006
963
|
type: NgModule,
|
|
1007
964
|
args: [{
|
|
1008
965
|
declarations: [TableColumnMenuComponent, TableColumnOptionComponent],
|
|
@@ -1034,29 +991,23 @@ class TableShowArchivedSlideComponent {
|
|
|
1034
991
|
}
|
|
1035
992
|
}
|
|
1036
993
|
}
|
|
1037
|
-
TableShowArchivedSlideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1038
|
-
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
994
|
+
TableShowArchivedSlideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponent, deps: [{ token: TableFilterService }, { token: TableColumnMenuComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
995
|
+
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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)\" i18n=\"@@rxap.material.table-system.table-column-menu.table-show-archived-slide\">\n Show archived documents\n </mat-slide-toggle>\n</div>\n", styles: [""], components: [{ type: i3$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }], directives: [{ type: i6.StopPropagationDirective, selector: "[rxapStopPropagation]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1040
997
|
type: Component,
|
|
1041
|
-
args: [{
|
|
1042
|
-
selector: 'mfd-table-show-archived-slide',
|
|
1043
|
-
templateUrl: './table-show-archived-slide.component.html',
|
|
1044
|
-
styleUrls: ['./table-show-archived-slide.component.scss'],
|
|
1045
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1046
|
-
host: { class: 'mfd-table-show-archived-slide' },
|
|
1047
|
-
}]
|
|
998
|
+
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)\" i18n=\"@@rxap.material.table-system.table-column-menu.table-show-archived-slide\">\n Show archived documents\n </mat-slide-toggle>\n</div>\n", styles: [""] }]
|
|
1048
999
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: TableColumnMenuComponent }]; } });
|
|
1049
1000
|
|
|
1050
1001
|
class TableShowArchivedSlideComponentModule {
|
|
1051
1002
|
}
|
|
1052
|
-
TableShowArchivedSlideComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1053
|
-
TableShowArchivedSlideComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1003
|
+
TableShowArchivedSlideComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1004
|
+
TableShowArchivedSlideComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, declarations: [TableShowArchivedSlideComponent], imports: [StopPropagationDirectiveModule,
|
|
1054
1005
|
MatSlideToggleModule], exports: [TableShowArchivedSlideComponent] });
|
|
1055
|
-
TableShowArchivedSlideComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1006
|
+
TableShowArchivedSlideComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, imports: [[
|
|
1056
1007
|
StopPropagationDirectiveModule,
|
|
1057
1008
|
MatSlideToggleModule,
|
|
1058
1009
|
]] });
|
|
1059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, decorators: [{
|
|
1060
1011
|
type: NgModule,
|
|
1061
1012
|
args: [{
|
|
1062
1013
|
declarations: [TableShowArchivedSlideComponent],
|
|
@@ -1084,23 +1035,21 @@ class TableCreateButtonDirective {
|
|
|
1084
1035
|
this._createObservable.complete();
|
|
1085
1036
|
}
|
|
1086
1037
|
}
|
|
1087
|
-
onClick() {
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
this.dataSource.refresh();
|
|
1094
|
-
});
|
|
1038
|
+
async onClick() {
|
|
1039
|
+
const result = this._createObservable = await this.remoteMethod.call();
|
|
1040
|
+
if (isObservable(result)) {
|
|
1041
|
+
await result.toPromise();
|
|
1042
|
+
}
|
|
1043
|
+
this.dataSource.refresh();
|
|
1095
1044
|
}
|
|
1096
1045
|
}
|
|
1097
|
-
TableCreateButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1098
|
-
TableCreateButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1046
|
+
TableCreateButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirective, deps: [{ token: TABLE_CREATE_REMOTE_METHOD }, { token: ElementRef }, { token: Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1047
|
+
TableCreateButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableCreateButtonDirective, selector: "button[rxapTableCreate]", inputs: { dataSource: ["rxapTableCreate", "dataSource"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1099
1048
|
__decorate([
|
|
1100
1049
|
Required,
|
|
1101
1050
|
__metadata("design:type", TableDataSourceDirective)
|
|
1102
1051
|
], TableCreateButtonDirective.prototype, "dataSource", void 0);
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1104
1053
|
type: Directive,
|
|
1105
1054
|
args: [{
|
|
1106
1055
|
selector: 'button[rxapTableCreate]'
|
|
@@ -1123,10 +1072,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1123
1072
|
}] } });
|
|
1124
1073
|
class TableCreateButtonDirectiveModule {
|
|
1125
1074
|
}
|
|
1126
|
-
TableCreateButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1127
|
-
TableCreateButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1128
|
-
TableCreateButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1075
|
+
TableCreateButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1076
|
+
TableCreateButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule, declarations: [TableCreateButtonDirective], exports: [TableCreateButtonDirective] });
|
|
1077
|
+
TableCreateButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule });
|
|
1078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule, decorators: [{
|
|
1130
1079
|
type: NgModule,
|
|
1131
1080
|
args: [{
|
|
1132
1081
|
declarations: [TableCreateButtonDirective],
|
|
@@ -1153,75 +1102,57 @@ class RowControlsCellComponent {
|
|
|
1153
1102
|
this.rowLinkMethod = rowLinkMethod;
|
|
1154
1103
|
this.editLoaderMethod = editLoaderMethod;
|
|
1155
1104
|
}
|
|
1156
|
-
archive() {
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}
|
|
1162
|
-
});
|
|
1105
|
+
async archive() {
|
|
1106
|
+
if (this.archiveRemoteMethod) {
|
|
1107
|
+
await this.archiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1108
|
+
this.tableDataSource.refresh();
|
|
1109
|
+
}
|
|
1163
1110
|
}
|
|
1164
|
-
unarchive() {
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
}
|
|
1170
|
-
});
|
|
1111
|
+
async unarchive() {
|
|
1112
|
+
if (this.unarchiveRemoteMethod) {
|
|
1113
|
+
await this.unarchiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1114
|
+
this.tableDataSource.refresh();
|
|
1115
|
+
}
|
|
1171
1116
|
}
|
|
1172
|
-
remove() {
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
}
|
|
1178
|
-
});
|
|
1117
|
+
async remove() {
|
|
1118
|
+
if (this.deleteRemoteMethod) {
|
|
1119
|
+
await this.deleteRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1120
|
+
this.tableDataSource.refresh();
|
|
1121
|
+
}
|
|
1179
1122
|
}
|
|
1180
|
-
view() {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1123
|
+
async view() {
|
|
1124
|
+
if (this.rowViewMethod) {
|
|
1125
|
+
await this.rowViewMethod.call(this.element);
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
async link() {
|
|
1129
|
+
if (this.rowLinkMethod) {
|
|
1130
|
+
await this.rowLinkMethod.call(this.element);
|
|
1131
|
+
}
|
|
1186
1132
|
}
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1133
|
+
async edit() {
|
|
1134
|
+
if (this.editRemoteMethod) {
|
|
1135
|
+
let initial = this.element;
|
|
1136
|
+
if (this.editLoaderMethod) {
|
|
1137
|
+
initial = await this.editLoaderMethod.call(initial);
|
|
1191
1138
|
}
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1196
|
-
if (this.editRemoteMethod) {
|
|
1197
|
-
let initial = this.element;
|
|
1198
|
-
if (this.editLoaderMethod) {
|
|
1199
|
-
initial = yield this.editLoaderMethod.call(initial);
|
|
1200
|
-
}
|
|
1201
|
-
const result = yield this.editRemoteMethod.call(initial, { context: this.element });
|
|
1202
|
-
if (isObservable(result)) {
|
|
1203
|
-
yield result.toPromise();
|
|
1204
|
-
}
|
|
1205
|
-
this.tableDataSource.refresh();
|
|
1139
|
+
const result = await this.editRemoteMethod.call(initial, { context: this.element });
|
|
1140
|
+
if (isObservable(result)) {
|
|
1141
|
+
await result.toPromise();
|
|
1206
1142
|
}
|
|
1207
|
-
|
|
1143
|
+
this.tableDataSource.refresh();
|
|
1144
|
+
}
|
|
1208
1145
|
}
|
|
1209
1146
|
}
|
|
1210
|
-
RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1211
|
-
RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1147
|
+
RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", 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 });
|
|
1148
|
+
RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i2$1.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"] }, { type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4$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"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i7$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { type: i4$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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1212
1149
|
__decorate([
|
|
1213
1150
|
Required,
|
|
1214
1151
|
__metadata("design:type", Object)
|
|
1215
1152
|
], RowControlsCellComponent.prototype, "element", void 0);
|
|
1216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
1217
1154
|
type: Component,
|
|
1218
|
-
args: [{
|
|
1219
|
-
selector: 'td[mfd-row-controls-cell]',
|
|
1220
|
-
templateUrl: './row-controls-cell.component.html',
|
|
1221
|
-
styleUrls: ['./row-controls-cell.component.scss'],
|
|
1222
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1223
|
-
host: { class: 'mfd-row-controls-cell' }
|
|
1224
|
-
}]
|
|
1155
|
+
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", styles: [""] }]
|
|
1225
1156
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: i8.OpenApiRemoteMethod, decorators: [{
|
|
1226
1157
|
type: Optional
|
|
1227
1158
|
}, {
|
|
@@ -1263,14 +1194,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1263
1194
|
|
|
1264
1195
|
class RowControlsCellComponentModule {
|
|
1265
1196
|
}
|
|
1266
|
-
RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1267
|
-
RowControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1197
|
+
RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1198
|
+
RowControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, declarations: [RowControlsCellComponent], imports: [CommonModule,
|
|
1268
1199
|
FlexLayoutModule,
|
|
1269
1200
|
MatButtonModule,
|
|
1270
1201
|
MatIconModule,
|
|
1271
1202
|
ConfirmComponentModule,
|
|
1272
1203
|
MatTooltipModule], exports: [RowControlsCellComponent] });
|
|
1273
|
-
RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1204
|
+
RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, imports: [[
|
|
1274
1205
|
CommonModule,
|
|
1275
1206
|
FlexLayoutModule,
|
|
1276
1207
|
MatButtonModule,
|
|
@@ -1278,7 +1209,7 @@ RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
1278
1209
|
ConfirmComponentModule,
|
|
1279
1210
|
MatTooltipModule
|
|
1280
1211
|
]] });
|
|
1281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, decorators: [{
|
|
1282
1213
|
type: NgModule,
|
|
1283
1214
|
args: [{
|
|
1284
1215
|
declarations: [RowControlsCellComponent],
|
|
@@ -1296,7 +1227,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1296
1227
|
|
|
1297
1228
|
class RowControlsHeaderCellComponent {
|
|
1298
1229
|
constructor(tableDataSource, tableFilter = null, selectRow = null, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null) {
|
|
1299
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1300
1230
|
this.tableDataSource = tableDataSource;
|
|
1301
1231
|
this.tableFilter = tableFilter;
|
|
1302
1232
|
this.selectRow = selectRow;
|
|
@@ -1304,67 +1234,46 @@ class RowControlsHeaderCellComponent {
|
|
|
1304
1234
|
this.archiveRemoteMethod = archiveRemoteMethod;
|
|
1305
1235
|
this.unarchiveRemoteMethod = unarchiveRemoteMethod;
|
|
1306
1236
|
this.disabled$ =
|
|
1307
|
-
|
|
1237
|
+
this.selectRow?.selectedRows$.pipe(map((selectedRows) => selectedRows.length === 0), startWith(true)) ?? of(true);
|
|
1308
1238
|
this.showUnarchive$ = this.showDelete$ =
|
|
1309
|
-
|
|
1239
|
+
this.tableFilter?.change.pipe(map((filter) => filter &&
|
|
1310
1240
|
filter.hasOwnProperty('__archived') &&
|
|
1311
|
-
filter['__archived'] === true), distinctUntilChanged())
|
|
1241
|
+
filter['__archived'] === true), distinctUntilChanged()) ?? of(false);
|
|
1312
1242
|
this.showArchive$ =
|
|
1313
|
-
|
|
1243
|
+
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1314
1244
|
!filter.hasOwnProperty('__archived') ||
|
|
1315
|
-
filter['__archived'] === false), distinctUntilChanged())
|
|
1316
|
-
}
|
|
1317
|
-
archiveSelected(selectedRows) {
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
}
|
|
1341
|
-
});
|
|
1342
|
-
}
|
|
1343
|
-
deleteSelected(selectedRows) {
|
|
1344
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1345
|
-
if (this.deleteRemoteMethod && selectedRows) {
|
|
1346
|
-
yield Promise.all(selectedRows.map((selectedRow) => {
|
|
1347
|
-
var _a;
|
|
1348
|
-
return (_a = this.deleteRemoteMethod) === null || _a === void 0 ? void 0 : _a.call({
|
|
1349
|
-
parameters: { uuid: selectedRow.uuid },
|
|
1350
|
-
});
|
|
1351
|
-
}));
|
|
1352
|
-
this.tableDataSource.refresh();
|
|
1353
|
-
}
|
|
1354
|
-
});
|
|
1245
|
+
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
1246
|
+
}
|
|
1247
|
+
async archiveSelected(selectedRows) {
|
|
1248
|
+
if (this.archiveRemoteMethod && selectedRows) {
|
|
1249
|
+
await Promise.all(selectedRows.map((selectedRow) => this.archiveRemoteMethod?.call({
|
|
1250
|
+
parameters: { uuid: selectedRow.uuid },
|
|
1251
|
+
})));
|
|
1252
|
+
this.tableDataSource.refresh();
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
async unarchiveSelected(selectedRows) {
|
|
1256
|
+
if (this.unarchiveRemoteMethod && selectedRows) {
|
|
1257
|
+
await Promise.all(selectedRows.map((selectedRow) => this.unarchiveRemoteMethod?.call({
|
|
1258
|
+
parameters: { uuid: selectedRow.uuid },
|
|
1259
|
+
})));
|
|
1260
|
+
this.tableDataSource.refresh();
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
async deleteSelected(selectedRows) {
|
|
1264
|
+
if (this.deleteRemoteMethod && selectedRows) {
|
|
1265
|
+
await Promise.all(selectedRows.map((selectedRow) => this.deleteRemoteMethod?.call({
|
|
1266
|
+
parameters: { uuid: selectedRow.uuid },
|
|
1267
|
+
})));
|
|
1268
|
+
this.tableDataSource.refresh();
|
|
1269
|
+
}
|
|
1355
1270
|
}
|
|
1356
1271
|
}
|
|
1357
|
-
RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1358
|
-
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1272
|
+
RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", 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 });
|
|
1273
|
+
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i2$1.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"] }, { type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4$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"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4$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"] }, { type: i7$1.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1360
1275
|
type: Component,
|
|
1361
|
-
args: [{
|
|
1362
|
-
selector: 'th[mfd-row-controls-header-cell]',
|
|
1363
|
-
templateUrl: './row-controls-header-cell.component.html',
|
|
1364
|
-
styleUrls: ['./row-controls-header-cell.component.scss'],
|
|
1365
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1366
|
-
host: { class: 'mfd-row-controls-header-cell' },
|
|
1367
|
-
}]
|
|
1276
|
+
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", styles: [""] }]
|
|
1368
1277
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
1369
1278
|
type: Optional
|
|
1370
1279
|
}, {
|
|
@@ -1394,14 +1303,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1394
1303
|
|
|
1395
1304
|
class RowControlsHeaderCellComponentModule {
|
|
1396
1305
|
}
|
|
1397
|
-
RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1398
|
-
RowControlsHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1306
|
+
RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1307
|
+
RowControlsHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, declarations: [RowControlsHeaderCellComponent], imports: [FlexLayoutModule,
|
|
1399
1308
|
MatButtonModule,
|
|
1400
1309
|
MatIconModule,
|
|
1401
1310
|
ConfirmComponentModule,
|
|
1402
1311
|
CommonModule,
|
|
1403
1312
|
MatTooltipModule], exports: [RowControlsHeaderCellComponent] });
|
|
1404
|
-
RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1313
|
+
RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, imports: [[
|
|
1405
1314
|
FlexLayoutModule,
|
|
1406
1315
|
MatButtonModule,
|
|
1407
1316
|
MatIconModule,
|
|
@@ -1409,7 +1318,7 @@ RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersi
|
|
|
1409
1318
|
CommonModule,
|
|
1410
1319
|
MatTooltipModule,
|
|
1411
1320
|
]] });
|
|
1412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
|
|
1413
1322
|
type: NgModule,
|
|
1414
1323
|
args: [{
|
|
1415
1324
|
declarations: [RowControlsHeaderCellComponent],
|
|
@@ -1427,12 +1336,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1427
1336
|
|
|
1428
1337
|
class TableRowControlsModule {
|
|
1429
1338
|
}
|
|
1430
|
-
TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1431
|
-
TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1339
|
+
TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1340
|
+
TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, exports: [RowControlsCellComponentModule,
|
|
1432
1341
|
RowControlsHeaderCellComponentModule] });
|
|
1433
|
-
TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1342
|
+
TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponentModule,
|
|
1434
1343
|
RowControlsHeaderCellComponentModule] });
|
|
1435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1436
1345
|
type: NgModule,
|
|
1437
1346
|
args: [{
|
|
1438
1347
|
exports: [
|
|
@@ -1455,18 +1364,11 @@ class TableSelectControlsComponent {
|
|
|
1455
1364
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
1456
1365
|
}
|
|
1457
1366
|
}
|
|
1458
|
-
TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1459
|
-
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1367
|
+
TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component });
|
|
1368
|
+
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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 i18n=\"@@rxap-material.table-system.table-select-controls.cancel\">Cancel\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\"\n i18n=\"@@rxap-material.table-system.table-select-controls.select\">Select\n </button>\n</div>\n", styles: [""], components: [{ type: i2$1.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"] }], directives: [{ type: i4$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"] }, { type: i4$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"] }, { type: i4$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"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1461
1370
|
type: Component,
|
|
1462
|
-
args: [{
|
|
1463
|
-
// TODO : rn selector
|
|
1464
|
-
selector: 'mfd-table-select-controls',
|
|
1465
|
-
templateUrl: './table-select-controls.component.html',
|
|
1466
|
-
styleUrls: ['./table-select-controls.component.scss'],
|
|
1467
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1468
|
-
host: { class: 'mfd-table-select-controls' },
|
|
1469
|
-
}]
|
|
1371
|
+
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 i18n=\"@@rxap-material.table-system.table-select-controls.cancel\">Cancel\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\"\n i18n=\"@@rxap-material.table-system.table-select-controls.select\">Select\n </button>\n</div>\n", styles: [""] }]
|
|
1470
1372
|
}], ctorParameters: function () { return [{ type: SelectRowService }, { type: undefined, decorators: [{
|
|
1471
1373
|
type: Inject,
|
|
1472
1374
|
args: [RXAP_WINDOW_REF]
|
|
@@ -1474,16 +1376,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1474
1376
|
|
|
1475
1377
|
class TableSelectControlsComponentModule {
|
|
1476
1378
|
}
|
|
1477
|
-
TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1478
|
-
TableSelectControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1379
|
+
TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1380
|
+
TableSelectControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, declarations: [TableSelectControlsComponent], imports: [MatButtonModule,
|
|
1479
1381
|
FlexLayoutModule,
|
|
1480
1382
|
CommonModule], exports: [TableSelectControlsComponent] });
|
|
1481
|
-
TableSelectControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1383
|
+
TableSelectControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, imports: [[
|
|
1482
1384
|
MatButtonModule,
|
|
1483
1385
|
FlexLayoutModule,
|
|
1484
1386
|
CommonModule
|
|
1485
1387
|
]] });
|
|
1486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, decorators: [{
|
|
1487
1389
|
type: NgModule,
|
|
1488
1390
|
args: [{
|
|
1489
1391
|
declarations: [TableSelectControlsComponent],
|
|
@@ -1504,17 +1406,11 @@ class ImageCellComponent {
|
|
|
1504
1406
|
this.value = null;
|
|
1505
1407
|
}
|
|
1506
1408
|
}
|
|
1507
|
-
ImageCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1508
|
-
ImageCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1409
|
+
ImageCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1410
|
+
ImageCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: ["rxapBackgroundImage", "placeholderImageUrl", "size", "repeat", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
1510
1412
|
type: Component,
|
|
1511
|
-
args: [{
|
|
1512
|
-
selector: 'td[rxap-image-cell]',
|
|
1513
|
-
templateUrl: './image-cell.component.html',
|
|
1514
|
-
styleUrls: ['./image-cell.component.scss'],
|
|
1515
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1516
|
-
host: { class: 'rxap-image-cell' }
|
|
1517
|
-
}]
|
|
1413
|
+
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"] }]
|
|
1518
1414
|
}], propDecorators: { preset: [{
|
|
1519
1415
|
type: Input
|
|
1520
1416
|
}], size: [{
|
|
@@ -1530,10 +1426,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1530
1426
|
|
|
1531
1427
|
class ImageCellComponentModule {
|
|
1532
1428
|
}
|
|
1533
|
-
ImageCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1534
|
-
ImageCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1535
|
-
ImageCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1429
|
+
ImageCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1430
|
+
ImageCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, declarations: [ImageCellComponent], imports: [BackgroundImageDirectiveModule, CommonModule], exports: [ImageCellComponent] });
|
|
1431
|
+
ImageCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, imports: [[BackgroundImageDirectiveModule, CommonModule]] });
|
|
1432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, decorators: [{
|
|
1537
1433
|
type: NgModule,
|
|
1538
1434
|
args: [{
|
|
1539
1435
|
declarations: [ImageCellComponent],
|
|
@@ -1544,17 +1440,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1544
1440
|
|
|
1545
1441
|
class CopyToClipboardCellComponent {
|
|
1546
1442
|
}
|
|
1547
|
-
CopyToClipboardCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1548
|
-
CopyToClipboardCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1443
|
+
CopyToClipboardCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1444
|
+
CopyToClipboardCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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"], components: [{ type: i7$1.CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: ["active", "disabled", "value"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
1550
1446
|
type: Component,
|
|
1551
|
-
args: [{
|
|
1552
|
-
selector: 'td[rxap-copy-to-clipboard-cell]',
|
|
1553
|
-
templateUrl: './copy-to-clipboard-cell.component.html',
|
|
1554
|
-
styleUrls: ['./copy-to-clipboard-cell.component.scss'],
|
|
1555
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1556
|
-
host: { class: 'rxap-copy-to-clipboard-cell' }
|
|
1557
|
-
}]
|
|
1447
|
+
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"] }]
|
|
1558
1448
|
}], propDecorators: { value: [{
|
|
1559
1449
|
type: Input,
|
|
1560
1450
|
args: ['rxap-copy-to-clipboard-cell']
|
|
@@ -1562,14 +1452,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1562
1452
|
|
|
1563
1453
|
class CopyToClipboardCellComponentModule {
|
|
1564
1454
|
}
|
|
1565
|
-
CopyToClipboardCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1566
|
-
CopyToClipboardCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1455
|
+
CopyToClipboardCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1456
|
+
CopyToClipboardCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, declarations: [CopyToClipboardCellComponent], imports: [CopyToClipboardModule,
|
|
1567
1457
|
CommonModule], exports: [CopyToClipboardCellComponent] });
|
|
1568
|
-
CopyToClipboardCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1458
|
+
CopyToClipboardCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, imports: [[
|
|
1569
1459
|
CopyToClipboardModule,
|
|
1570
1460
|
CommonModule
|
|
1571
1461
|
]] });
|
|
1572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, decorators: [{
|
|
1573
1463
|
type: NgModule,
|
|
1574
1464
|
args: [{
|
|
1575
1465
|
declarations: [CopyToClipboardCellComponent],
|
|
@@ -1583,17 +1473,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1583
1473
|
|
|
1584
1474
|
class IconCellComponent {
|
|
1585
1475
|
}
|
|
1586
|
-
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1587
|
-
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1476
|
+
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1477
|
+
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$2.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1589
1479
|
type: Component,
|
|
1590
|
-
args: [{
|
|
1591
|
-
selector: 'td[rxap-icon-cell]',
|
|
1592
|
-
templateUrl: './icon-cell.component.html',
|
|
1593
|
-
styleUrls: ['./icon-cell.component.scss'],
|
|
1594
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1595
|
-
host: { class: 'rxap-icon-cell' }
|
|
1596
|
-
}]
|
|
1480
|
+
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", styles: [""] }]
|
|
1597
1481
|
}], propDecorators: { icon: [{
|
|
1598
1482
|
type: Input,
|
|
1599
1483
|
args: ['rxap-icon-cell']
|
|
@@ -1601,16 +1485,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1601
1485
|
|
|
1602
1486
|
class IconCellComponentModule {
|
|
1603
1487
|
}
|
|
1604
|
-
IconCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1605
|
-
IconCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1488
|
+
IconCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1489
|
+
IconCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, declarations: [IconCellComponent], imports: [MatIconModule,
|
|
1606
1490
|
CommonModule,
|
|
1607
1491
|
IconDirectiveModule], exports: [IconCellComponent] });
|
|
1608
|
-
IconCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1492
|
+
IconCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, imports: [[
|
|
1609
1493
|
MatIconModule,
|
|
1610
1494
|
CommonModule,
|
|
1611
1495
|
IconDirectiveModule,
|
|
1612
1496
|
]] });
|
|
1613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, decorators: [{
|
|
1614
1498
|
type: NgModule,
|
|
1615
1499
|
args: [{
|
|
1616
1500
|
declarations: [IconCellComponent],
|
|
@@ -1629,17 +1513,11 @@ class DateCellComponent {
|
|
|
1629
1513
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
1630
1514
|
}
|
|
1631
1515
|
}
|
|
1632
|
-
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1633
|
-
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1516
|
+
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1517
|
+
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "date": i2.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
1635
1519
|
type: Component,
|
|
1636
|
-
args: [{
|
|
1637
|
-
selector: 'td[rxap-date-cell]',
|
|
1638
|
-
templateUrl: './date-cell.component.html',
|
|
1639
|
-
styleUrls: ['./date-cell.component.scss'],
|
|
1640
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1641
|
-
host: { class: 'rxap-date-cell' },
|
|
1642
|
-
}]
|
|
1520
|
+
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", styles: [""] }]
|
|
1643
1521
|
}], propDecorators: { date: [{
|
|
1644
1522
|
type: Input,
|
|
1645
1523
|
args: ['rxap-date-cell']
|
|
@@ -1649,12 +1527,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1649
1527
|
|
|
1650
1528
|
class DateCellComponentModule {
|
|
1651
1529
|
}
|
|
1652
|
-
DateCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1653
|
-
DateCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1654
|
-
DateCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1530
|
+
DateCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1531
|
+
DateCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, declarations: [DateCellComponent], imports: [CommonModule], exports: [DateCellComponent] });
|
|
1532
|
+
DateCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, imports: [[
|
|
1655
1533
|
CommonModule,
|
|
1656
1534
|
]] });
|
|
1657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, decorators: [{
|
|
1658
1536
|
type: NgModule,
|
|
1659
1537
|
args: [{
|
|
1660
1538
|
declarations: [DateCellComponent],
|
|
@@ -1673,17 +1551,11 @@ class LinkCellComponent {
|
|
|
1673
1551
|
return this.value;
|
|
1674
1552
|
}
|
|
1675
1553
|
}
|
|
1676
|
-
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1677
|
-
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1554
|
+
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1555
|
+
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: LinkCellComponent, selector: "td[rxap-link-cell]", inputs: { value: ["rxap-link-cell", "value"], protocol: "protocol" }, 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 <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 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"], components: [{ type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4$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"] }, { type: i4$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"] }, { type: i4$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"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4$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"] }, { type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1679
1557
|
type: Component,
|
|
1680
|
-
args: [{
|
|
1681
|
-
selector: 'td[rxap-link-cell]',
|
|
1682
|
-
templateUrl: './link-cell.component.html',
|
|
1683
|
-
styleUrls: ['./link-cell.component.scss'],
|
|
1684
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1685
|
-
host: { class: 'rxap-link-cell' }
|
|
1686
|
-
}]
|
|
1558
|
+
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 <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 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"] }]
|
|
1687
1559
|
}], propDecorators: { value: [{
|
|
1688
1560
|
type: Input,
|
|
1689
1561
|
args: ['rxap-link-cell']
|
|
@@ -1693,18 +1565,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1693
1565
|
|
|
1694
1566
|
class LinkCellComponentModule {
|
|
1695
1567
|
}
|
|
1696
|
-
LinkCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1697
|
-
LinkCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1568
|
+
LinkCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1569
|
+
LinkCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, declarations: [LinkCellComponent], imports: [MatTooltipModule,
|
|
1698
1570
|
MatIconModule,
|
|
1699
1571
|
FlexLayoutModule,
|
|
1700
1572
|
CommonModule], exports: [LinkCellComponent] });
|
|
1701
|
-
LinkCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1573
|
+
LinkCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, imports: [[
|
|
1702
1574
|
MatTooltipModule,
|
|
1703
1575
|
MatIconModule,
|
|
1704
1576
|
FlexLayoutModule,
|
|
1705
1577
|
CommonModule
|
|
1706
1578
|
]] });
|
|
1707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, decorators: [{
|
|
1708
1580
|
type: NgModule,
|
|
1709
1581
|
args: [{
|
|
1710
1582
|
declarations: [LinkCellComponent],
|
|
@@ -1722,12 +1594,17 @@ class OptionsCellComponent {
|
|
|
1722
1594
|
constructor(renderer) {
|
|
1723
1595
|
this.renderer = renderer;
|
|
1724
1596
|
this._subscription = new Subscription();
|
|
1597
|
+
this._initialised = false;
|
|
1725
1598
|
this.defaultViewValue = ''; // $localize`:@@rxap-material.table-system.options-cell.unknown:unknown`;
|
|
1726
1599
|
this.emptyViewValue = ''; // $localize`:@@rxap-material.table-system.options-cell.empty:empty`;
|
|
1727
1600
|
}
|
|
1728
1601
|
ngAfterContentInit() {
|
|
1729
1602
|
// Hide the mat-option elements
|
|
1730
1603
|
this._subscription.add(this.options.changes.pipe(startWith(null), tap(() => this.options.forEach(option => this.renderer.setStyle(option._getHostElement(), 'display', 'none')))).subscribe());
|
|
1604
|
+
this.setViewValue();
|
|
1605
|
+
this._initialised = true;
|
|
1606
|
+
}
|
|
1607
|
+
setViewValue() {
|
|
1731
1608
|
if (this.value === undefined || this.value === null) {
|
|
1732
1609
|
this.viewValue = this.emptyViewValue;
|
|
1733
1610
|
}
|
|
@@ -1742,26 +1619,26 @@ class OptionsCellComponent {
|
|
|
1742
1619
|
}
|
|
1743
1620
|
}
|
|
1744
1621
|
}
|
|
1622
|
+
ngOnChanges(changes) {
|
|
1623
|
+
if (this._initialised) {
|
|
1624
|
+
if (changes['value']) {
|
|
1625
|
+
this.setViewValue();
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1745
1629
|
getViewValue() {
|
|
1746
|
-
|
|
1747
|
-
|
|
1630
|
+
return (this.options.find((option) => option.value === this.value)?.viewValue ??
|
|
1631
|
+
this.defaultViewValue);
|
|
1748
1632
|
}
|
|
1749
1633
|
ngOnDestroy() {
|
|
1750
|
-
|
|
1751
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1634
|
+
this._subscription?.unsubscribe();
|
|
1752
1635
|
}
|
|
1753
1636
|
}
|
|
1754
|
-
OptionsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1755
|
-
OptionsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1637
|
+
OptionsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1638
|
+
OptionsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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 });
|
|
1639
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
1757
1640
|
type: Component,
|
|
1758
|
-
args: [{
|
|
1759
|
-
selector: 'td[rxap-options-cell]',
|
|
1760
|
-
templateUrl: './options-cell.component.html',
|
|
1761
|
-
styleUrls: ['./options-cell.component.scss'],
|
|
1762
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1763
|
-
host: { class: 'rxap-options-cell' }
|
|
1764
|
-
}]
|
|
1641
|
+
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-options-cell' }, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""] }]
|
|
1765
1642
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
1766
1643
|
type: Input,
|
|
1767
1644
|
args: ['rxap-options-cell']
|
|
@@ -1778,10 +1655,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1778
1655
|
|
|
1779
1656
|
class OptionsCellComponentModule {
|
|
1780
1657
|
}
|
|
1781
|
-
OptionsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1782
|
-
OptionsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1783
|
-
OptionsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1658
|
+
OptionsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1659
|
+
OptionsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, declarations: [OptionsCellComponent], exports: [OptionsCellComponent] });
|
|
1660
|
+
OptionsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, imports: [[]] });
|
|
1661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, decorators: [{
|
|
1785
1662
|
type: NgModule,
|
|
1786
1663
|
args: [{
|
|
1787
1664
|
declarations: [OptionsCellComponent],
|
|
@@ -1795,17 +1672,11 @@ class BooleanCellComponent {
|
|
|
1795
1672
|
this.value = null;
|
|
1796
1673
|
}
|
|
1797
1674
|
}
|
|
1798
|
-
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1799
|
-
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1675
|
+
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1676
|
+
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", 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: [""], components: [{ type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
1801
1678
|
type: Component,
|
|
1802
|
-
args: [{
|
|
1803
|
-
selector: 'td[rxap-boolean-cell]',
|
|
1804
|
-
templateUrl: './boolean-cell.component.html',
|
|
1805
|
-
styleUrls: ['./boolean-cell.component.scss'],
|
|
1806
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1807
|
-
host: { class: 'rxap-boolean-cell' },
|
|
1808
|
-
}]
|
|
1679
|
+
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", styles: [""] }]
|
|
1809
1680
|
}], propDecorators: { value: [{
|
|
1810
1681
|
type: Input,
|
|
1811
1682
|
args: ['rxap-boolean-cell']
|
|
@@ -1813,14 +1684,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1813
1684
|
|
|
1814
1685
|
class BooleanCellComponentModule {
|
|
1815
1686
|
}
|
|
1816
|
-
BooleanCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1817
|
-
BooleanCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1687
|
+
BooleanCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1688
|
+
BooleanCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, declarations: [BooleanCellComponent], imports: [CommonModule,
|
|
1818
1689
|
MatIconModule], exports: [BooleanCellComponent] });
|
|
1819
|
-
BooleanCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1690
|
+
BooleanCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, imports: [[
|
|
1820
1691
|
CommonModule,
|
|
1821
1692
|
MatIconModule,
|
|
1822
1693
|
]] });
|
|
1823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, decorators: [{
|
|
1824
1695
|
type: NgModule,
|
|
1825
1696
|
args: [{
|
|
1826
1697
|
declarations: [BooleanCellComponent],
|
|
@@ -1851,9 +1722,9 @@ class TableRowActionExecutingDirective {
|
|
|
1851
1722
|
this.vcr.clear();
|
|
1852
1723
|
}
|
|
1853
1724
|
}
|
|
1854
|
-
TableRowActionExecutingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1855
|
-
TableRowActionExecutingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1725
|
+
TableRowActionExecutingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionExecutingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1726
|
+
TableRowActionExecutingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowActionExecutingDirective, selector: "[rxapTableRowActionExecuting]", ngImport: i0 });
|
|
1727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
1857
1728
|
type: Directive,
|
|
1858
1729
|
args: [{
|
|
1859
1730
|
selector: '[rxapTableRowActionExecuting]'
|
|
@@ -1909,26 +1780,24 @@ class TableRowActionDirective {
|
|
|
1909
1780
|
}
|
|
1910
1781
|
return Promise.resolve();
|
|
1911
1782
|
}
|
|
1912
|
-
execute() {
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
}
|
|
1931
|
-
});
|
|
1783
|
+
async execute() {
|
|
1784
|
+
if (this._actionDisabled) {
|
|
1785
|
+
return Promise.resolve();
|
|
1786
|
+
}
|
|
1787
|
+
this.setStatus(TableRowActionStatus.EXECUTING);
|
|
1788
|
+
try {
|
|
1789
|
+
await Promise.all(this.getElementList().map((element) => {
|
|
1790
|
+
return Promise.all([
|
|
1791
|
+
Promise.all(this.findUntypedActionMethod().map((am) => am.call({ element, type: this.type }))),
|
|
1792
|
+
Promise.all(this.findTypedActionMethod().map((am) => am.call(element)))
|
|
1793
|
+
]);
|
|
1794
|
+
}));
|
|
1795
|
+
this.setStatus(TableRowActionStatus.SUCCESS);
|
|
1796
|
+
}
|
|
1797
|
+
catch (e) {
|
|
1798
|
+
console.error(`Failed to execute row action: ${e.message}`);
|
|
1799
|
+
this.setStatus(TableRowActionStatus.ERROR);
|
|
1800
|
+
}
|
|
1932
1801
|
}
|
|
1933
1802
|
getElementList() {
|
|
1934
1803
|
return [this.element];
|
|
@@ -1971,7 +1840,6 @@ class TableRowActionDirective {
|
|
|
1971
1840
|
this._actionDisabled = false;
|
|
1972
1841
|
}
|
|
1973
1842
|
setStatus(status) {
|
|
1974
|
-
var _a, _b;
|
|
1975
1843
|
if (this._currentStatus === status) {
|
|
1976
1844
|
return;
|
|
1977
1845
|
}
|
|
@@ -1979,7 +1847,7 @@ class TableRowActionDirective {
|
|
|
1979
1847
|
switch (status) {
|
|
1980
1848
|
case TableRowActionStatus.EXECUTING:
|
|
1981
1849
|
this.setButtonDisabled();
|
|
1982
|
-
|
|
1850
|
+
this.executingDirective?.show();
|
|
1983
1851
|
break;
|
|
1984
1852
|
case TableRowActionStatus.SUCCESS:
|
|
1985
1853
|
if (this.refresh) {
|
|
@@ -1998,14 +1866,14 @@ class TableRowActionDirective {
|
|
|
1998
1866
|
break;
|
|
1999
1867
|
case TableRowActionStatus.DONE:
|
|
2000
1868
|
this.setButtonEnabled();
|
|
2001
|
-
|
|
1869
|
+
this.executingDirective?.hide();
|
|
2002
1870
|
break;
|
|
2003
1871
|
}
|
|
2004
1872
|
this.cdr.detectChanges();
|
|
2005
1873
|
}
|
|
2006
1874
|
}
|
|
2007
|
-
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2008
|
-
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1875
|
+
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionDirective, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1876
|
+
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", 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 }], ngImport: i0 });
|
|
2009
1877
|
__decorate([
|
|
2010
1878
|
Required,
|
|
2011
1879
|
__metadata("design:type", Object)
|
|
@@ -2014,7 +1882,7 @@ __decorate([
|
|
|
2014
1882
|
Required,
|
|
2015
1883
|
__metadata("design:type", String)
|
|
2016
1884
|
], TableRowActionDirective.prototype, "type", void 0);
|
|
2017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
2018
1886
|
type: Directive,
|
|
2019
1887
|
args: [{
|
|
2020
1888
|
selector: 'button[rxapTableRowAction]'
|
|
@@ -2070,8 +1938,7 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2070
1938
|
this.selectRowService = selectRowService;
|
|
2071
1939
|
}
|
|
2072
1940
|
ngOnDestroy() {
|
|
2073
|
-
|
|
2074
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1941
|
+
this._subscription?.unsubscribe();
|
|
2075
1942
|
}
|
|
2076
1943
|
ngOnInit() {
|
|
2077
1944
|
if (this.selectRowService) {
|
|
@@ -2092,17 +1959,16 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2092
1959
|
}
|
|
2093
1960
|
}
|
|
2094
1961
|
getElementList() {
|
|
2095
|
-
|
|
2096
|
-
return (_b = (_a = this.selectRowService) === null || _a === void 0 ? void 0 : _a.selectedRows) !== null && _b !== void 0 ? _b : [];
|
|
1962
|
+
return this.selectRowService?.selectedRows ?? [];
|
|
2097
1963
|
}
|
|
2098
1964
|
}
|
|
2099
|
-
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2100
|
-
TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1965
|
+
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1966
|
+
TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 });
|
|
2101
1967
|
__decorate([
|
|
2102
1968
|
Required,
|
|
2103
1969
|
__metadata("design:type", String)
|
|
2104
1970
|
], TableRowHeaderActionDirective.prototype, "type", void 0);
|
|
2105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
2106
1972
|
type: Directive,
|
|
2107
1973
|
args: [{
|
|
2108
1974
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
@@ -2139,8 +2005,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2139
2005
|
|
|
2140
2006
|
class TableRowActionsModule {
|
|
2141
2007
|
}
|
|
2142
|
-
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2143
|
-
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2008
|
+
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2009
|
+
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, declarations: [TableRowActionDirective,
|
|
2144
2010
|
TableRowActionExecutingDirective,
|
|
2145
2011
|
TableRowHeaderActionDirective], exports: [TableRowActionDirective,
|
|
2146
2012
|
TableRowHeaderActionDirective,
|
|
@@ -2151,13 +2017,13 @@ TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", v
|
|
|
2151
2017
|
MatIconModule,
|
|
2152
2018
|
MatProgressBarModule,
|
|
2153
2019
|
CommonModule] });
|
|
2154
|
-
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2020
|
+
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, imports: [MatTooltipModule,
|
|
2155
2021
|
MatButtonModule,
|
|
2156
2022
|
ConfirmComponentModule,
|
|
2157
2023
|
MatIconModule,
|
|
2158
2024
|
MatProgressBarModule,
|
|
2159
2025
|
CommonModule] });
|
|
2160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
2161
2027
|
type: NgModule,
|
|
2162
2028
|
args: [{
|
|
2163
2029
|
declarations: [
|
|
@@ -2187,4 +2053,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2187
2053
|
*/
|
|
2188
2054
|
|
|
2189
2055
|
export { BooleanCellComponent, BooleanCellComponentModule, CheckboxCellComponent, CheckboxCellComponentModule, CheckboxHeaderCellComponent, CheckboxHeaderCellComponentModule, CopyToClipboardCellComponent, CopyToClipboardCellComponentModule, DateCellComponent, DateCellComponentModule, ExpandControlsCellComponent, ExpandControlsCellComponentModule, ExpandRowContainerComponent, ExpandRowContainerComponentModule, ExpandRowContentDirective, ExpandRowDirective, ExpandRowModule, ExpandRowService, FilterHeaderRowDirective, IconCellComponent, IconCellComponentModule, ImageCellComponent, ImageCellComponentModule, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, LinkCellComponentModule, OptionsCellComponent, OptionsCellComponentModule, PersistentPaginatorDirective, PersistentPaginatorDirectiveModule, ROW_ARCHIVE_METHOD, ROW_DELETE_METHOD, ROW_EDIT_LOADER_METHOD, ROW_EDIT_METHOD, ROW_LINK_METHOD, ROW_RESTORE_METHOD, ROW_VIEW_METHOD, RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_METHOD, RXAP_TABLE_ROW_ACTION_METHOD, RowAnimation, RowControlsCellComponent, RowControlsCellComponentModule, RowControlsHeaderCellComponent, RowControlsHeaderCellComponentModule, SelectRowModule, SelectRowService, SelectedRowsDirective, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnMenuComponent, TableColumnMenuComponentModule, TableColumnOptionComponent, TableCreateButtonDirective, TableCreateButtonDirectiveModule, TableDataSourceDirective, TableDataSourceModule, TableFilterModule, TableFilterService, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowActionsModule, TableRowControlsModule, TableRowHeaderActionDirective, TableSelectControlsComponent, TableSelectControlsComponentModule, TableShowArchivedSlideComponent, TableShowArchivedSlideComponentModule, ToFilterColumnNamesPipe };
|
|
2190
|
-
//# sourceMappingURL=rxap-material-table-system.
|
|
2056
|
+
//# sourceMappingURL=rxap-material-table-system.mjs.map
|