@rxap/material-table-system 12.5.3 → 13.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_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 +56 -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 +63 -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 +2102 -0
- package/fesm2015/rxap-material-table-system.mjs.map +1 -0
- package/{fesm2015/rxap-material-table-system.js → fesm2020/rxap-material-table-system.mjs} +322 -468
- package/fesm2020/rxap-material-table-system.mjs.map +1 -0
- package/package.json +51 -37
- package/src/schematics/ng-add/index.js +1 -1
- package/src/schematics/ng-add/index.js.map +1 -1
- package/bundles/rxap-material-table-system.umd.js +0 -2896
- 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 -67
- 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';
|
|
@@ -57,9 +57,9 @@ class ExpandRowContentDirective {
|
|
|
57
57
|
return true;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
61
|
-
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
61
|
+
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ExpandRowContentDirective, selector: "[rxapExpandRowContent]", ngImport: i0 });
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
63
63
|
type: Directive,
|
|
64
64
|
args: [{
|
|
65
65
|
selector: '[rxapExpandRowContent]'
|
|
@@ -88,9 +88,9 @@ class ExpandRowService {
|
|
|
88
88
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
92
|
-
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
91
|
+
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
92
|
+
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowService });
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
94
94
|
type: Injectable
|
|
95
95
|
}] });
|
|
96
96
|
|
|
@@ -101,8 +101,7 @@ class ExpandRowContainerComponent {
|
|
|
101
101
|
this.portal = null;
|
|
102
102
|
}
|
|
103
103
|
ngOnDestroy() {
|
|
104
|
-
|
|
105
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
104
|
+
this._subscription?.unsubscribe();
|
|
106
105
|
}
|
|
107
106
|
ngAfterContentInit() {
|
|
108
107
|
if (this.expandCellContent) {
|
|
@@ -114,8 +113,8 @@ class ExpandRowContainerComponent {
|
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
|
-
ExpandRowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
ExpandRowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
116
|
+
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 });
|
|
117
|
+
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: [
|
|
119
118
|
trigger('detailExpand', [
|
|
120
119
|
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
121
120
|
state('expanded', style({ height: '*' })),
|
|
@@ -126,23 +125,15 @@ __decorate([
|
|
|
126
125
|
Required,
|
|
127
126
|
__metadata("design:type", Object)
|
|
128
127
|
], ExpandRowContainerComponent.prototype, "element", void 0);
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
130
129
|
type: Component,
|
|
131
|
-
args: [{
|
|
132
|
-
// tslint:disable-next-line:component-selector
|
|
133
|
-
selector: 'td[rxap-expand-row]',
|
|
134
|
-
templateUrl: './expand-row-container.component.html',
|
|
135
|
-
styleUrls: ['./expand-row-container.component.scss'],
|
|
136
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
137
|
-
host: { class: 'rxap-expand-row' },
|
|
138
|
-
animations: [
|
|
130
|
+
args: [{ selector: 'td[rxap-expand-row]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-expand-row' }, animations: [
|
|
139
131
|
trigger('detailExpand', [
|
|
140
132
|
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
141
133
|
state('expanded', style({ height: '*' })),
|
|
142
134
|
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
143
135
|
])
|
|
144
|
-
]
|
|
145
|
-
}]
|
|
136
|
+
], 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"] }]
|
|
146
137
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef, decorators: [{
|
|
147
138
|
type: Inject,
|
|
148
139
|
args: [ViewContainerRef]
|
|
@@ -158,16 +149,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
158
149
|
|
|
159
150
|
class ExpandRowContainerComponentModule {
|
|
160
151
|
}
|
|
161
|
-
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
162
|
-
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
152
|
+
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
153
|
+
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, declarations: [ExpandRowContainerComponent,
|
|
163
154
|
ExpandRowContentDirective], imports: [PortalModule,
|
|
164
155
|
CommonModule], exports: [ExpandRowContainerComponent,
|
|
165
156
|
ExpandRowContentDirective] });
|
|
166
|
-
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
157
|
+
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, imports: [[
|
|
167
158
|
PortalModule,
|
|
168
159
|
CommonModule
|
|
169
160
|
]] });
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowContainerComponentModule, decorators: [{
|
|
171
162
|
type: NgModule,
|
|
172
163
|
args: [{
|
|
173
164
|
declarations: [
|
|
@@ -190,22 +181,15 @@ class ExpandControlsCellComponent {
|
|
|
190
181
|
this.expandCell = expandCell;
|
|
191
182
|
}
|
|
192
183
|
}
|
|
193
|
-
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
194
|
-
ExpandControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
184
|
+
ExpandControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponent, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
185
|
+
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 });
|
|
195
186
|
__decorate([
|
|
196
187
|
Required,
|
|
197
188
|
__metadata("design:type", Object)
|
|
198
189
|
], ExpandControlsCellComponent.prototype, "element", void 0);
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponent, decorators: [{
|
|
200
191
|
type: Component,
|
|
201
|
-
args: [{
|
|
202
|
-
// tslint:disable-next-line:component-selector
|
|
203
|
-
selector: 'td[rxap-expand-controls-cell]',
|
|
204
|
-
templateUrl: './expand-controls-cell.component.html',
|
|
205
|
-
styleUrls: ['./expand-controls-cell.component.scss'],
|
|
206
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
207
|
-
host: { class: 'rxap-expand-controls-cell' }
|
|
208
|
-
}]
|
|
192
|
+
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: [""] }]
|
|
209
193
|
}], ctorParameters: function () { return [{ type: ExpandRowService, decorators: [{
|
|
210
194
|
type: Inject,
|
|
211
195
|
args: [ExpandRowService]
|
|
@@ -215,16 +199,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
215
199
|
|
|
216
200
|
class ExpandControlsCellComponentModule {
|
|
217
201
|
}
|
|
218
|
-
ExpandControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
219
|
-
ExpandControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
202
|
+
ExpandControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
203
|
+
ExpandControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, declarations: [ExpandControlsCellComponent], imports: [CommonModule,
|
|
220
204
|
MatIconModule,
|
|
221
205
|
MatButtonModule], exports: [ExpandControlsCellComponent] });
|
|
222
|
-
ExpandControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
206
|
+
ExpandControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, imports: [[
|
|
223
207
|
CommonModule,
|
|
224
208
|
MatIconModule,
|
|
225
209
|
MatButtonModule
|
|
226
210
|
]] });
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandControlsCellComponentModule, decorators: [{
|
|
228
212
|
type: NgModule,
|
|
229
213
|
args: [{
|
|
230
214
|
declarations: [ExpandControlsCellComponent],
|
|
@@ -248,13 +232,13 @@ class ExpandRowDirective {
|
|
|
248
232
|
this.expandCell.toggleRow(this.element);
|
|
249
233
|
}
|
|
250
234
|
}
|
|
251
|
-
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
252
|
-
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
235
|
+
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
236
|
+
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 });
|
|
253
237
|
__decorate([
|
|
254
238
|
Required,
|
|
255
239
|
__metadata("design:type", Object)
|
|
256
240
|
], ExpandRowDirective.prototype, "element", void 0);
|
|
257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
258
242
|
type: Directive,
|
|
259
243
|
args: [{
|
|
260
244
|
selector: 'tr[rxapExpandRow]'
|
|
@@ -274,15 +258,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
274
258
|
|
|
275
259
|
class ExpandRowModule {
|
|
276
260
|
}
|
|
277
|
-
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
278
|
-
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
261
|
+
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
262
|
+
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, declarations: [ExpandRowDirective], exports: [ExpandRowContainerComponentModule,
|
|
279
263
|
ExpandControlsCellComponentModule,
|
|
280
264
|
ExpandRowDirective] });
|
|
281
|
-
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
265
|
+
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, providers: [
|
|
282
266
|
ExpandRowService
|
|
283
267
|
], imports: [ExpandRowContainerComponentModule,
|
|
284
268
|
ExpandControlsCellComponentModule] });
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
286
270
|
type: NgModule,
|
|
287
271
|
args: [{
|
|
288
272
|
exports: [
|
|
@@ -302,9 +286,9 @@ const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS = new InjectionToken('rxap-m
|
|
|
302
286
|
class SelectRowService {
|
|
303
287
|
constructor(options = null) {
|
|
304
288
|
this.selectionModel = new SelectionModel(true);
|
|
305
|
-
this.selectionModel = new SelectionModel(options
|
|
306
|
-
if (options
|
|
307
|
-
this.selectionModel.select(...options
|
|
289
|
+
this.selectionModel = new SelectionModel(options?.multiple);
|
|
290
|
+
if (options?.selected) {
|
|
291
|
+
this.selectionModel.select(...options?.selected);
|
|
308
292
|
}
|
|
309
293
|
this.selectedRows$ = this.selectionModel.changed.pipe(map(() => this.selectionModel.selected));
|
|
310
294
|
}
|
|
@@ -312,9 +296,9 @@ class SelectRowService {
|
|
|
312
296
|
return this.selectionModel.selected;
|
|
313
297
|
}
|
|
314
298
|
}
|
|
315
|
-
SelectRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
316
|
-
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
299
|
+
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 });
|
|
300
|
+
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowService });
|
|
301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowService, decorators: [{
|
|
318
302
|
type: Injectable
|
|
319
303
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
320
304
|
type: Optional
|
|
@@ -328,21 +312,15 @@ class CheckboxCellComponent {
|
|
|
328
312
|
this.selectRow = selectRow;
|
|
329
313
|
}
|
|
330
314
|
}
|
|
331
|
-
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
332
|
-
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
315
|
+
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
316
|
+
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 });
|
|
333
317
|
__decorate([
|
|
334
318
|
Required,
|
|
335
319
|
__metadata("design:type", Object)
|
|
336
320
|
], CheckboxCellComponent.prototype, "element", void 0);
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
338
322
|
type: Component,
|
|
339
|
-
args: [{
|
|
340
|
-
selector: 'td[rxap-checkbox-cell]',
|
|
341
|
-
templateUrl: './checkbox-cell.component.html',
|
|
342
|
-
styleUrls: ['./checkbox-cell.component.scss'],
|
|
343
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
344
|
-
host: { class: 'rxap-checkbox-cell' }
|
|
345
|
-
}]
|
|
323
|
+
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: [""] }]
|
|
346
324
|
}], ctorParameters: function () { return [{ type: SelectRowService, decorators: [{
|
|
347
325
|
type: Inject,
|
|
348
326
|
args: [SelectRowService]
|
|
@@ -352,14 +330,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
352
330
|
|
|
353
331
|
class CheckboxCellComponentModule {
|
|
354
332
|
}
|
|
355
|
-
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
356
|
-
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
333
|
+
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
334
|
+
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, declarations: [CheckboxCellComponent], imports: [MatCheckboxModule,
|
|
357
335
|
CommonModule], exports: [CheckboxCellComponent] });
|
|
358
|
-
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
336
|
+
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, imports: [[
|
|
359
337
|
MatCheckboxModule,
|
|
360
338
|
CommonModule
|
|
361
339
|
]] });
|
|
362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
363
341
|
type: NgModule,
|
|
364
342
|
args: [{
|
|
365
343
|
declarations: [CheckboxCellComponent],
|
|
@@ -396,17 +374,11 @@ class CheckboxHeaderCellComponent {
|
|
|
396
374
|
}
|
|
397
375
|
}
|
|
398
376
|
}
|
|
399
|
-
CheckboxHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
400
|
-
CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
377
|
+
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 });
|
|
378
|
+
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 });
|
|
379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
402
380
|
type: Component,
|
|
403
|
-
args: [{
|
|
404
|
-
selector: 'th[rxap-checkbox-header-cell]',
|
|
405
|
-
templateUrl: './checkbox-header-cell.component.html',
|
|
406
|
-
styleUrls: ['./checkbox-header-cell.component.scss'],
|
|
407
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
408
|
-
host: { class: 'rxap-checkbox-header-cell' },
|
|
409
|
-
}]
|
|
381
|
+
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: [""] }]
|
|
410
382
|
}], ctorParameters: function () { return [{ type: i4.CdkTable, decorators: [{
|
|
411
383
|
type: Inject,
|
|
412
384
|
args: [CdkTable]
|
|
@@ -414,14 +386,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
414
386
|
|
|
415
387
|
class CheckboxHeaderCellComponentModule {
|
|
416
388
|
}
|
|
417
|
-
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
418
|
-
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
389
|
+
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
390
|
+
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, declarations: [CheckboxHeaderCellComponent], imports: [MatCheckboxModule,
|
|
419
391
|
CommonModule], exports: [CheckboxHeaderCellComponent] });
|
|
420
|
-
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
392
|
+
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, imports: [[
|
|
421
393
|
MatCheckboxModule,
|
|
422
394
|
CommonModule
|
|
423
395
|
]] });
|
|
424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
425
397
|
type: NgModule,
|
|
426
398
|
args: [{
|
|
427
399
|
declarations: [CheckboxHeaderCellComponent],
|
|
@@ -441,8 +413,7 @@ class SelectedRowsDirective {
|
|
|
441
413
|
this.selectRowService = selectRowService;
|
|
442
414
|
}
|
|
443
415
|
ngOnDestroy() {
|
|
444
|
-
|
|
445
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
416
|
+
this._subscription?.unsubscribe();
|
|
446
417
|
}
|
|
447
418
|
ngOnInit() {
|
|
448
419
|
this._subscription = this.selectRowService.selectedRows$.pipe(distinctUntilChanged(), tap(selectedAllRows => {
|
|
@@ -454,9 +425,9 @@ class SelectedRowsDirective {
|
|
|
454
425
|
})).subscribe();
|
|
455
426
|
}
|
|
456
427
|
}
|
|
457
|
-
SelectedRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
458
|
-
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
428
|
+
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 });
|
|
429
|
+
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: SelectedRowsDirective, selector: "[rxapSelectedRows]", ngImport: i0 });
|
|
430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
460
431
|
type: Directive,
|
|
461
432
|
args: [{
|
|
462
433
|
selector: '[rxapSelectedRows]'
|
|
@@ -477,13 +448,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
477
448
|
|
|
478
449
|
class SelectRowModule {
|
|
479
450
|
}
|
|
480
|
-
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
481
|
-
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
451
|
+
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
452
|
+
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, declarations: [SelectedRowsDirective], exports: [CheckboxCellComponentModule,
|
|
482
453
|
CheckboxHeaderCellComponentModule,
|
|
483
454
|
SelectedRowsDirective] });
|
|
484
|
-
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
455
|
+
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponentModule,
|
|
485
456
|
CheckboxHeaderCellComponentModule] });
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
487
458
|
type: NgModule,
|
|
488
459
|
args: [{
|
|
489
460
|
exports: [
|
|
@@ -546,9 +517,9 @@ class TableFilterService {
|
|
|
546
517
|
this._subscription.unsubscribe();
|
|
547
518
|
}
|
|
548
519
|
}
|
|
549
|
-
TableFilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
550
|
-
TableFilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
520
|
+
TableFilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
521
|
+
TableFilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterService });
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterService, decorators: [{
|
|
552
523
|
type: Injectable
|
|
553
524
|
}], ctorParameters: function () { return []; } });
|
|
554
525
|
|
|
@@ -597,12 +568,10 @@ class TableDataSourceDirective {
|
|
|
597
568
|
return this.sourceMethod;
|
|
598
569
|
}
|
|
599
570
|
trackBy(index, item) {
|
|
600
|
-
|
|
601
|
-
return (_a = item.uuid) !== null && _a !== void 0 ? _a : index;
|
|
571
|
+
return item.uuid ?? index;
|
|
602
572
|
}
|
|
603
573
|
ngOnInit() {
|
|
604
|
-
|
|
605
|
-
const tableFilter = (_b = (_a = this._tableFilter) !== null && _a !== void 0 ? _a : this.tableFilter) !== null && _b !== void 0 ? _b : undefined;
|
|
574
|
+
const tableFilter = this._tableFilter ?? this.tableFilter ?? undefined;
|
|
606
575
|
if (this.sourceMethod) {
|
|
607
576
|
if (this.adapterFactory) {
|
|
608
577
|
this.method = this.adapterFactory(this.sourceMethod, this.paginator, this.matSort, tableFilter, this.parameters);
|
|
@@ -610,7 +579,7 @@ class TableDataSourceDirective {
|
|
|
610
579
|
else {
|
|
611
580
|
this.method = this.sourceMethod;
|
|
612
581
|
}
|
|
613
|
-
this.dataSource = new DynamicTableDataSource(this.method, this.paginator, this.matSort, tableFilter, this.parameters,
|
|
582
|
+
this.dataSource = new DynamicTableDataSource(this.method, this.paginator, this.matSort, tableFilter, this.parameters, this.method.metadata ?? { id: this.id });
|
|
614
583
|
}
|
|
615
584
|
else if (this.sourceDataSource) {
|
|
616
585
|
this.dataSource = this.sourceDataSource;
|
|
@@ -619,7 +588,7 @@ class TableDataSourceDirective {
|
|
|
619
588
|
throw new Error('The TABLE_DATA_SOURCE and TABLE_METHOD token are not defined!');
|
|
620
589
|
}
|
|
621
590
|
this.dataSource.paginator = this.paginator;
|
|
622
|
-
this.dataSource.sort =
|
|
591
|
+
this.dataSource.sort = this.matSort ?? undefined;
|
|
623
592
|
this.dataSource.filter = tableFilter;
|
|
624
593
|
this.dataSource.parameters = this.parameters;
|
|
625
594
|
this._subscription.add(this.dataSource.loading$.pipe(tap(loading => this.loading$.next(!!loading))).subscribe());
|
|
@@ -635,17 +604,16 @@ class TableDataSourceDirective {
|
|
|
635
604
|
this._subscription.unsubscribe();
|
|
636
605
|
}
|
|
637
606
|
refresh() {
|
|
638
|
-
|
|
639
|
-
(_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
607
|
+
this.dataSource?.refresh();
|
|
640
608
|
}
|
|
641
609
|
}
|
|
642
|
-
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
643
|
-
TableDataSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
610
|
+
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 });
|
|
611
|
+
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 });
|
|
644
612
|
__decorate([
|
|
645
613
|
Required,
|
|
646
614
|
__metadata("design:type", String)
|
|
647
615
|
], TableDataSourceDirective.prototype, "id", void 0);
|
|
648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
649
617
|
type: Directive,
|
|
650
618
|
args: [{
|
|
651
619
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
@@ -698,10 +666,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
698
666
|
}] } });
|
|
699
667
|
class TableDataSourceModule {
|
|
700
668
|
}
|
|
701
|
-
TableDataSourceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
702
|
-
TableDataSourceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
703
|
-
TableDataSourceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
669
|
+
TableDataSourceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
670
|
+
TableDataSourceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule, declarations: [TableDataSourceDirective], exports: [TableDataSourceDirective] });
|
|
671
|
+
TableDataSourceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule });
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceModule, decorators: [{
|
|
705
673
|
type: NgModule,
|
|
706
674
|
args: [{
|
|
707
675
|
exports: [TableDataSourceDirective],
|
|
@@ -721,8 +689,7 @@ class PersistentPaginatorDirective {
|
|
|
721
689
|
this._subscription = this.matPaginator.page.pipe(tap(() => this.storeConfig())).subscribe();
|
|
722
690
|
}
|
|
723
691
|
ngOnDestroy() {
|
|
724
|
-
|
|
725
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
692
|
+
this._subscription?.unsubscribe();
|
|
726
693
|
}
|
|
727
694
|
getKey() {
|
|
728
695
|
return 'rxap_mat-paginator-persistent' + this.id;
|
|
@@ -744,9 +711,9 @@ class PersistentPaginatorDirective {
|
|
|
744
711
|
return null;
|
|
745
712
|
}
|
|
746
713
|
}
|
|
747
|
-
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
748
|
-
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
714
|
+
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 });
|
|
715
|
+
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: PersistentPaginatorDirective, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 });
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
750
717
|
type: Directive,
|
|
751
718
|
args: [{
|
|
752
719
|
selector: 'mat-paginator[rxapPersistent]'
|
|
@@ -756,10 +723,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
756
723
|
}] } });
|
|
757
724
|
class PersistentPaginatorDirectiveModule {
|
|
758
725
|
}
|
|
759
|
-
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
760
|
-
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
761
|
-
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
726
|
+
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
727
|
+
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule, declarations: [PersistentPaginatorDirective], exports: [PersistentPaginatorDirective] });
|
|
728
|
+
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule });
|
|
729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
763
730
|
type: NgModule,
|
|
764
731
|
args: [{
|
|
765
732
|
exports: [PersistentPaginatorDirective],
|
|
@@ -779,24 +746,23 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
779
746
|
this._subscription = this.form.value$
|
|
780
747
|
.pipe(debounceTime(1000), map((values) => Object.entries(values)
|
|
781
748
|
.filter(([key, value]) => value !== null && value !== undefined && value !== '')
|
|
782
|
-
.reduce((obj, [key, value]) => (
|
|
749
|
+
.reduce((obj, [key, value]) => ({ ...obj, [key]: value }), {})), distinctUntilChanged((a, b) => equals(a, b)), tap(values => this.tableFilter.setMap(values)))
|
|
783
750
|
.subscribe();
|
|
784
751
|
}
|
|
785
752
|
ngOnDestroy() {
|
|
786
|
-
var _a;
|
|
787
753
|
super.ngOnDestroy();
|
|
788
|
-
|
|
754
|
+
this._subscription?.unsubscribe();
|
|
789
755
|
}
|
|
790
756
|
}
|
|
791
|
-
FilterHeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
792
|
-
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
757
|
+
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 });
|
|
758
|
+
FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", providers: [
|
|
793
759
|
{
|
|
794
760
|
provide: ControlContainer,
|
|
795
761
|
// ignore coverage
|
|
796
762
|
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
797
763
|
},
|
|
798
764
|
], usesInheritance: true, ngImport: i0 });
|
|
799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
800
766
|
type: Directive,
|
|
801
767
|
args: [{
|
|
802
768
|
// tslint:disable-next-line:directive-selector
|
|
@@ -821,9 +787,9 @@ class ToFilterColumnNamesPipe {
|
|
|
821
787
|
return columns.map(column => 'filter_' + column);
|
|
822
788
|
}
|
|
823
789
|
}
|
|
824
|
-
ToFilterColumnNamesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
825
|
-
ToFilterColumnNamesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
790
|
+
ToFilterColumnNamesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToFilterColumnNamesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
791
|
+
ToFilterColumnNamesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToFilterColumnNamesPipe, name: "toFilterColumnNames" });
|
|
792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ToFilterColumnNamesPipe, decorators: [{
|
|
827
793
|
type: Pipe,
|
|
828
794
|
args: [{
|
|
829
795
|
name: 'toFilterColumnNames'
|
|
@@ -832,12 +798,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
832
798
|
|
|
833
799
|
class TableFilterModule {
|
|
834
800
|
}
|
|
835
|
-
TableFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
836
|
-
TableFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
801
|
+
TableFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
802
|
+
TableFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule, declarations: [ToFilterColumnNamesPipe,
|
|
837
803
|
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
838
804
|
FilterHeaderRowDirective] });
|
|
839
|
-
TableFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
805
|
+
TableFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule });
|
|
806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableFilterModule, decorators: [{
|
|
841
807
|
type: NgModule,
|
|
842
808
|
args: [{
|
|
843
809
|
exports: [
|
|
@@ -886,19 +852,15 @@ class TableColumnOptionComponent {
|
|
|
886
852
|
this.active = false;
|
|
887
853
|
}
|
|
888
854
|
}
|
|
889
|
-
TableColumnOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
890
|
-
TableColumnOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
855
|
+
TableColumnOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnOptionComponent, deps: [{ token: ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
856
|
+
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: [""] });
|
|
891
857
|
__decorate([
|
|
892
858
|
Required,
|
|
893
859
|
__metadata("design:type", String)
|
|
894
860
|
], TableColumnOptionComponent.prototype, "name", void 0);
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
896
862
|
type: Component,
|
|
897
|
-
args: [{
|
|
898
|
-
selector: 'rxap-table-column-option',
|
|
899
|
-
templateUrl: './table-column-option.component.html',
|
|
900
|
-
styleUrls: ['./table-column-option.component.css'],
|
|
901
|
-
}]
|
|
863
|
+
args: [{ selector: 'rxap-table-column-option', template: "<ng-content></ng-content>\n", styles: [""] }]
|
|
902
864
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
903
865
|
type: Inject,
|
|
904
866
|
args: [ElementRef]
|
|
@@ -934,28 +896,23 @@ class TableColumnMenuComponent {
|
|
|
934
896
|
.map((option) => option.name);
|
|
935
897
|
}
|
|
936
898
|
activate(columnName) {
|
|
937
|
-
|
|
938
|
-
|
|
899
|
+
this.columns
|
|
900
|
+
?.filter((option) => option.name === columnName)
|
|
901
|
+
.forEach((column) => column.activate());
|
|
939
902
|
this.updateDisplayColumns();
|
|
940
903
|
}
|
|
941
904
|
deactivate(columnName) {
|
|
942
|
-
|
|
943
|
-
|
|
905
|
+
this.columns
|
|
906
|
+
?.filter((option) => option.name === columnName)
|
|
907
|
+
.forEach((column) => column.deactivate());
|
|
944
908
|
this.updateDisplayColumns();
|
|
945
909
|
}
|
|
946
910
|
}
|
|
947
|
-
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
948
|
-
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
911
|
+
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
912
|
+
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 });
|
|
913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
950
914
|
type: Component,
|
|
951
|
-
args: [{
|
|
952
|
-
selector: 'rxap-table-column-menu',
|
|
953
|
-
templateUrl: './table-column-menu.component.html',
|
|
954
|
-
styleUrls: ['./table-column-menu.component.scss'],
|
|
955
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
956
|
-
host: { class: 'mfd-table-column-menu' },
|
|
957
|
-
exportAs: 'rxapTableColumns',
|
|
958
|
-
}]
|
|
915
|
+
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"] }]
|
|
959
916
|
}], propDecorators: { columns: [{
|
|
960
917
|
type: ContentChildren,
|
|
961
918
|
args: [TableColumnOptionComponent]
|
|
@@ -968,15 +925,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
968
925
|
|
|
969
926
|
class TableColumnMenuComponentModule {
|
|
970
927
|
}
|
|
971
|
-
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
972
|
-
TableColumnMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
928
|
+
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
929
|
+
TableColumnMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, declarations: [TableColumnMenuComponent, TableColumnOptionComponent], imports: [MatButtonModule,
|
|
973
930
|
MatIconModule,
|
|
974
931
|
MatMenuModule,
|
|
975
932
|
CommonModule,
|
|
976
933
|
MatCheckboxModule,
|
|
977
934
|
StopPropagationDirectiveModule,
|
|
978
935
|
FlexLayoutModule], exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatMenuModule] });
|
|
979
|
-
TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
936
|
+
TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, imports: [[
|
|
980
937
|
MatButtonModule,
|
|
981
938
|
MatIconModule,
|
|
982
939
|
MatMenuModule,
|
|
@@ -985,7 +942,7 @@ TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
985
942
|
StopPropagationDirectiveModule,
|
|
986
943
|
FlexLayoutModule
|
|
987
944
|
], MatMenuModule] });
|
|
988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, decorators: [{
|
|
989
946
|
type: NgModule,
|
|
990
947
|
args: [{
|
|
991
948
|
declarations: [TableColumnMenuComponent, TableColumnOptionComponent],
|
|
@@ -1017,29 +974,23 @@ class TableShowArchivedSlideComponent {
|
|
|
1017
974
|
}
|
|
1018
975
|
}
|
|
1019
976
|
}
|
|
1020
|
-
TableShowArchivedSlideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1021
|
-
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
977
|
+
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 });
|
|
978
|
+
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 });
|
|
979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponent, decorators: [{
|
|
1023
980
|
type: Component,
|
|
1024
|
-
args: [{
|
|
1025
|
-
selector: 'mfd-table-show-archived-slide',
|
|
1026
|
-
templateUrl: './table-show-archived-slide.component.html',
|
|
1027
|
-
styleUrls: ['./table-show-archived-slide.component.scss'],
|
|
1028
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1029
|
-
host: { class: 'mfd-table-show-archived-slide' },
|
|
1030
|
-
}]
|
|
981
|
+
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: [""] }]
|
|
1031
982
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: TableColumnMenuComponent }]; } });
|
|
1032
983
|
|
|
1033
984
|
class TableShowArchivedSlideComponentModule {
|
|
1034
985
|
}
|
|
1035
|
-
TableShowArchivedSlideComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1036
|
-
TableShowArchivedSlideComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
986
|
+
TableShowArchivedSlideComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
987
|
+
TableShowArchivedSlideComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, declarations: [TableShowArchivedSlideComponent], imports: [StopPropagationDirectiveModule,
|
|
1037
988
|
MatSlideToggleModule], exports: [TableShowArchivedSlideComponent] });
|
|
1038
|
-
TableShowArchivedSlideComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
989
|
+
TableShowArchivedSlideComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, imports: [[
|
|
1039
990
|
StopPropagationDirectiveModule,
|
|
1040
991
|
MatSlideToggleModule,
|
|
1041
992
|
]] });
|
|
1042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, decorators: [{
|
|
1043
994
|
type: NgModule,
|
|
1044
995
|
args: [{
|
|
1045
996
|
declarations: [TableShowArchivedSlideComponent],
|
|
@@ -1067,23 +1018,21 @@ class TableCreateButtonDirective {
|
|
|
1067
1018
|
this._createObservable.complete();
|
|
1068
1019
|
}
|
|
1069
1020
|
}
|
|
1070
|
-
onClick() {
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
this.dataSource.refresh();
|
|
1077
|
-
});
|
|
1021
|
+
async onClick() {
|
|
1022
|
+
const result = this._createObservable = await this.remoteMethod.call();
|
|
1023
|
+
if (isObservable(result)) {
|
|
1024
|
+
await result.toPromise();
|
|
1025
|
+
}
|
|
1026
|
+
this.dataSource.refresh();
|
|
1078
1027
|
}
|
|
1079
1028
|
}
|
|
1080
|
-
TableCreateButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1081
|
-
TableCreateButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1029
|
+
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 });
|
|
1030
|
+
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 });
|
|
1082
1031
|
__decorate([
|
|
1083
1032
|
Required,
|
|
1084
1033
|
__metadata("design:type", TableDataSourceDirective)
|
|
1085
1034
|
], TableCreateButtonDirective.prototype, "dataSource", void 0);
|
|
1086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1087
1036
|
type: Directive,
|
|
1088
1037
|
args: [{
|
|
1089
1038
|
selector: 'button[rxapTableCreate]'
|
|
@@ -1106,10 +1055,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1106
1055
|
}] } });
|
|
1107
1056
|
class TableCreateButtonDirectiveModule {
|
|
1108
1057
|
}
|
|
1109
|
-
TableCreateButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1110
|
-
TableCreateButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1111
|
-
TableCreateButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1058
|
+
TableCreateButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1059
|
+
TableCreateButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule, declarations: [TableCreateButtonDirective], exports: [TableCreateButtonDirective] });
|
|
1060
|
+
TableCreateButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule });
|
|
1061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirectiveModule, decorators: [{
|
|
1113
1062
|
type: NgModule,
|
|
1114
1063
|
args: [{
|
|
1115
1064
|
declarations: [TableCreateButtonDirective],
|
|
@@ -1136,75 +1085,57 @@ class RowControlsCellComponent {
|
|
|
1136
1085
|
this.rowLinkMethod = rowLinkMethod;
|
|
1137
1086
|
this.editLoaderMethod = editLoaderMethod;
|
|
1138
1087
|
}
|
|
1139
|
-
archive() {
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
}
|
|
1145
|
-
});
|
|
1088
|
+
async archive() {
|
|
1089
|
+
if (this.archiveRemoteMethod) {
|
|
1090
|
+
await this.archiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1091
|
+
this.tableDataSource.refresh();
|
|
1092
|
+
}
|
|
1146
1093
|
}
|
|
1147
|
-
unarchive() {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
}
|
|
1153
|
-
});
|
|
1094
|
+
async unarchive() {
|
|
1095
|
+
if (this.unarchiveRemoteMethod) {
|
|
1096
|
+
await this.unarchiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1097
|
+
this.tableDataSource.refresh();
|
|
1098
|
+
}
|
|
1154
1099
|
}
|
|
1155
|
-
remove() {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
}
|
|
1161
|
-
});
|
|
1100
|
+
async remove() {
|
|
1101
|
+
if (this.deleteRemoteMethod) {
|
|
1102
|
+
await this.deleteRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1103
|
+
this.tableDataSource.refresh();
|
|
1104
|
+
}
|
|
1162
1105
|
}
|
|
1163
|
-
view() {
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
}
|
|
1168
|
-
});
|
|
1106
|
+
async view() {
|
|
1107
|
+
if (this.rowViewMethod) {
|
|
1108
|
+
await this.rowViewMethod.call(this.element);
|
|
1109
|
+
}
|
|
1169
1110
|
}
|
|
1170
|
-
link() {
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1111
|
+
async link() {
|
|
1112
|
+
if (this.rowLinkMethod) {
|
|
1113
|
+
await this.rowLinkMethod.call(this.element);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
async edit() {
|
|
1117
|
+
if (this.editRemoteMethod) {
|
|
1118
|
+
let initial = this.element;
|
|
1119
|
+
if (this.editLoaderMethod) {
|
|
1120
|
+
initial = await this.editLoaderMethod.call(initial);
|
|
1174
1121
|
}
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1179
|
-
if (this.editRemoteMethod) {
|
|
1180
|
-
let initial = this.element;
|
|
1181
|
-
if (this.editLoaderMethod) {
|
|
1182
|
-
initial = yield this.editLoaderMethod.call(initial);
|
|
1183
|
-
}
|
|
1184
|
-
const result = yield this.editRemoteMethod.call(initial, { context: this.element });
|
|
1185
|
-
if (isObservable(result)) {
|
|
1186
|
-
yield result.toPromise();
|
|
1187
|
-
}
|
|
1188
|
-
this.tableDataSource.refresh();
|
|
1122
|
+
const result = await this.editRemoteMethod.call(initial, { context: this.element });
|
|
1123
|
+
if (isObservable(result)) {
|
|
1124
|
+
await result.toPromise();
|
|
1189
1125
|
}
|
|
1190
|
-
|
|
1126
|
+
this.tableDataSource.refresh();
|
|
1127
|
+
}
|
|
1191
1128
|
}
|
|
1192
1129
|
}
|
|
1193
|
-
RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1194
|
-
RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1130
|
+
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 });
|
|
1131
|
+
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 });
|
|
1195
1132
|
__decorate([
|
|
1196
1133
|
Required,
|
|
1197
1134
|
__metadata("design:type", Object)
|
|
1198
1135
|
], RowControlsCellComponent.prototype, "element", void 0);
|
|
1199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
1200
1137
|
type: Component,
|
|
1201
|
-
args: [{
|
|
1202
|
-
selector: 'td[mfd-row-controls-cell]',
|
|
1203
|
-
templateUrl: './row-controls-cell.component.html',
|
|
1204
|
-
styleUrls: ['./row-controls-cell.component.scss'],
|
|
1205
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1206
|
-
host: { class: 'mfd-row-controls-cell' }
|
|
1207
|
-
}]
|
|
1138
|
+
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: [""] }]
|
|
1208
1139
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: i8.OpenApiRemoteMethod, decorators: [{
|
|
1209
1140
|
type: Optional
|
|
1210
1141
|
}, {
|
|
@@ -1246,14 +1177,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1246
1177
|
|
|
1247
1178
|
class RowControlsCellComponentModule {
|
|
1248
1179
|
}
|
|
1249
|
-
RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1250
|
-
RowControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1180
|
+
RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1181
|
+
RowControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, declarations: [RowControlsCellComponent], imports: [CommonModule,
|
|
1251
1182
|
FlexLayoutModule,
|
|
1252
1183
|
MatButtonModule,
|
|
1253
1184
|
MatIconModule,
|
|
1254
1185
|
ConfirmComponentModule,
|
|
1255
1186
|
MatTooltipModule], exports: [RowControlsCellComponent] });
|
|
1256
|
-
RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1187
|
+
RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, imports: [[
|
|
1257
1188
|
CommonModule,
|
|
1258
1189
|
FlexLayoutModule,
|
|
1259
1190
|
MatButtonModule,
|
|
@@ -1261,7 +1192,7 @@ RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
1261
1192
|
ConfirmComponentModule,
|
|
1262
1193
|
MatTooltipModule
|
|
1263
1194
|
]] });
|
|
1264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, decorators: [{
|
|
1265
1196
|
type: NgModule,
|
|
1266
1197
|
args: [{
|
|
1267
1198
|
declarations: [RowControlsCellComponent],
|
|
@@ -1279,7 +1210,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1279
1210
|
|
|
1280
1211
|
class RowControlsHeaderCellComponent {
|
|
1281
1212
|
constructor(tableDataSource, tableFilter = null, selectRow = null, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null) {
|
|
1282
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1283
1213
|
this.tableDataSource = tableDataSource;
|
|
1284
1214
|
this.tableFilter = tableFilter;
|
|
1285
1215
|
this.selectRow = selectRow;
|
|
@@ -1287,67 +1217,46 @@ class RowControlsHeaderCellComponent {
|
|
|
1287
1217
|
this.archiveRemoteMethod = archiveRemoteMethod;
|
|
1288
1218
|
this.unarchiveRemoteMethod = unarchiveRemoteMethod;
|
|
1289
1219
|
this.disabled$ =
|
|
1290
|
-
|
|
1220
|
+
this.selectRow?.selectedRows$.pipe(map((selectedRows) => selectedRows.length === 0), startWith(true)) ?? of(true);
|
|
1291
1221
|
this.showUnarchive$ = this.showDelete$ =
|
|
1292
|
-
|
|
1222
|
+
this.tableFilter?.change.pipe(map((filter) => filter &&
|
|
1293
1223
|
filter.hasOwnProperty('__archived') &&
|
|
1294
|
-
filter['__archived'] === true), distinctUntilChanged())
|
|
1224
|
+
filter['__archived'] === true), distinctUntilChanged()) ?? of(false);
|
|
1295
1225
|
this.showArchive$ =
|
|
1296
|
-
|
|
1226
|
+
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1297
1227
|
!filter.hasOwnProperty('__archived') ||
|
|
1298
|
-
filter['__archived'] === false), distinctUntilChanged())
|
|
1299
|
-
}
|
|
1300
|
-
archiveSelected(selectedRows) {
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
}
|
|
1324
|
-
});
|
|
1325
|
-
}
|
|
1326
|
-
deleteSelected(selectedRows) {
|
|
1327
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1328
|
-
if (this.deleteRemoteMethod && selectedRows) {
|
|
1329
|
-
yield Promise.all(selectedRows.map((selectedRow) => {
|
|
1330
|
-
var _a;
|
|
1331
|
-
return (_a = this.deleteRemoteMethod) === null || _a === void 0 ? void 0 : _a.call({
|
|
1332
|
-
parameters: { uuid: selectedRow.uuid },
|
|
1333
|
-
});
|
|
1334
|
-
}));
|
|
1335
|
-
this.tableDataSource.refresh();
|
|
1336
|
-
}
|
|
1337
|
-
});
|
|
1228
|
+
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
1229
|
+
}
|
|
1230
|
+
async archiveSelected(selectedRows) {
|
|
1231
|
+
if (this.archiveRemoteMethod && selectedRows) {
|
|
1232
|
+
await Promise.all(selectedRows.map((selectedRow) => this.archiveRemoteMethod?.call({
|
|
1233
|
+
parameters: { uuid: selectedRow.uuid },
|
|
1234
|
+
})));
|
|
1235
|
+
this.tableDataSource.refresh();
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
async unarchiveSelected(selectedRows) {
|
|
1239
|
+
if (this.unarchiveRemoteMethod && selectedRows) {
|
|
1240
|
+
await Promise.all(selectedRows.map((selectedRow) => this.unarchiveRemoteMethod?.call({
|
|
1241
|
+
parameters: { uuid: selectedRow.uuid },
|
|
1242
|
+
})));
|
|
1243
|
+
this.tableDataSource.refresh();
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
async deleteSelected(selectedRows) {
|
|
1247
|
+
if (this.deleteRemoteMethod && selectedRows) {
|
|
1248
|
+
await Promise.all(selectedRows.map((selectedRow) => this.deleteRemoteMethod?.call({
|
|
1249
|
+
parameters: { uuid: selectedRow.uuid },
|
|
1250
|
+
})));
|
|
1251
|
+
this.tableDataSource.refresh();
|
|
1252
|
+
}
|
|
1338
1253
|
}
|
|
1339
1254
|
}
|
|
1340
|
-
RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1341
|
-
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1255
|
+
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 });
|
|
1256
|
+
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 });
|
|
1257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
|
|
1343
1258
|
type: Component,
|
|
1344
|
-
args: [{
|
|
1345
|
-
selector: 'th[mfd-row-controls-header-cell]',
|
|
1346
|
-
templateUrl: './row-controls-header-cell.component.html',
|
|
1347
|
-
styleUrls: ['./row-controls-header-cell.component.scss'],
|
|
1348
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1349
|
-
host: { class: 'mfd-row-controls-header-cell' },
|
|
1350
|
-
}]
|
|
1259
|
+
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: [""] }]
|
|
1351
1260
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
1352
1261
|
type: Optional
|
|
1353
1262
|
}, {
|
|
@@ -1377,14 +1286,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1377
1286
|
|
|
1378
1287
|
class RowControlsHeaderCellComponentModule {
|
|
1379
1288
|
}
|
|
1380
|
-
RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1381
|
-
RowControlsHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1289
|
+
RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1290
|
+
RowControlsHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, declarations: [RowControlsHeaderCellComponent], imports: [FlexLayoutModule,
|
|
1382
1291
|
MatButtonModule,
|
|
1383
1292
|
MatIconModule,
|
|
1384
1293
|
ConfirmComponentModule,
|
|
1385
1294
|
CommonModule,
|
|
1386
1295
|
MatTooltipModule], exports: [RowControlsHeaderCellComponent] });
|
|
1387
|
-
RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1296
|
+
RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, imports: [[
|
|
1388
1297
|
FlexLayoutModule,
|
|
1389
1298
|
MatButtonModule,
|
|
1390
1299
|
MatIconModule,
|
|
@@ -1392,7 +1301,7 @@ RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersi
|
|
|
1392
1301
|
CommonModule,
|
|
1393
1302
|
MatTooltipModule,
|
|
1394
1303
|
]] });
|
|
1395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
|
|
1396
1305
|
type: NgModule,
|
|
1397
1306
|
args: [{
|
|
1398
1307
|
declarations: [RowControlsHeaderCellComponent],
|
|
@@ -1410,12 +1319,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1410
1319
|
|
|
1411
1320
|
class TableRowControlsModule {
|
|
1412
1321
|
}
|
|
1413
|
-
TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1414
|
-
TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1322
|
+
TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1323
|
+
TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, exports: [RowControlsCellComponentModule,
|
|
1415
1324
|
RowControlsHeaderCellComponentModule] });
|
|
1416
|
-
TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1325
|
+
TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponentModule,
|
|
1417
1326
|
RowControlsHeaderCellComponentModule] });
|
|
1418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1419
1328
|
type: NgModule,
|
|
1420
1329
|
args: [{
|
|
1421
1330
|
exports: [
|
|
@@ -1438,18 +1347,11 @@ class TableSelectControlsComponent {
|
|
|
1438
1347
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
1439
1348
|
}
|
|
1440
1349
|
}
|
|
1441
|
-
TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1442
|
-
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1350
|
+
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 });
|
|
1351
|
+
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 });
|
|
1352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
|
|
1444
1353
|
type: Component,
|
|
1445
|
-
args: [{
|
|
1446
|
-
// TODO : rn selector
|
|
1447
|
-
selector: 'mfd-table-select-controls',
|
|
1448
|
-
templateUrl: './table-select-controls.component.html',
|
|
1449
|
-
styleUrls: ['./table-select-controls.component.scss'],
|
|
1450
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1451
|
-
host: { class: 'mfd-table-select-controls' },
|
|
1452
|
-
}]
|
|
1354
|
+
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: [""] }]
|
|
1453
1355
|
}], ctorParameters: function () { return [{ type: SelectRowService }, { type: undefined, decorators: [{
|
|
1454
1356
|
type: Inject,
|
|
1455
1357
|
args: [RXAP_WINDOW_REF]
|
|
@@ -1457,16 +1359,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1457
1359
|
|
|
1458
1360
|
class TableSelectControlsComponentModule {
|
|
1459
1361
|
}
|
|
1460
|
-
TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1461
|
-
TableSelectControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1362
|
+
TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1363
|
+
TableSelectControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, declarations: [TableSelectControlsComponent], imports: [MatButtonModule,
|
|
1462
1364
|
FlexLayoutModule,
|
|
1463
1365
|
CommonModule], exports: [TableSelectControlsComponent] });
|
|
1464
|
-
TableSelectControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1366
|
+
TableSelectControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, imports: [[
|
|
1465
1367
|
MatButtonModule,
|
|
1466
1368
|
FlexLayoutModule,
|
|
1467
1369
|
CommonModule
|
|
1468
1370
|
]] });
|
|
1469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, decorators: [{
|
|
1470
1372
|
type: NgModule,
|
|
1471
1373
|
args: [{
|
|
1472
1374
|
declarations: [TableSelectControlsComponent],
|
|
@@ -1487,17 +1389,11 @@ class ImageCellComponent {
|
|
|
1487
1389
|
this.value = null;
|
|
1488
1390
|
}
|
|
1489
1391
|
}
|
|
1490
|
-
ImageCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1491
|
-
ImageCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1392
|
+
ImageCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1393
|
+
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 });
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponent, decorators: [{
|
|
1493
1395
|
type: Component,
|
|
1494
|
-
args: [{
|
|
1495
|
-
selector: 'td[rxap-image-cell]',
|
|
1496
|
-
templateUrl: './image-cell.component.html',
|
|
1497
|
-
styleUrls: ['./image-cell.component.scss'],
|
|
1498
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1499
|
-
host: { class: 'rxap-image-cell' }
|
|
1500
|
-
}]
|
|
1396
|
+
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"] }]
|
|
1501
1397
|
}], propDecorators: { preset: [{
|
|
1502
1398
|
type: Input
|
|
1503
1399
|
}], size: [{
|
|
@@ -1513,10 +1409,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1513
1409
|
|
|
1514
1410
|
class ImageCellComponentModule {
|
|
1515
1411
|
}
|
|
1516
|
-
ImageCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1517
|
-
ImageCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1518
|
-
ImageCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1412
|
+
ImageCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1413
|
+
ImageCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, declarations: [ImageCellComponent], imports: [BackgroundImageDirectiveModule, CommonModule], exports: [ImageCellComponent] });
|
|
1414
|
+
ImageCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, imports: [[BackgroundImageDirectiveModule, CommonModule]] });
|
|
1415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ImageCellComponentModule, decorators: [{
|
|
1520
1416
|
type: NgModule,
|
|
1521
1417
|
args: [{
|
|
1522
1418
|
declarations: [ImageCellComponent],
|
|
@@ -1527,17 +1423,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1527
1423
|
|
|
1528
1424
|
class CopyToClipboardCellComponent {
|
|
1529
1425
|
}
|
|
1530
|
-
CopyToClipboardCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1531
|
-
CopyToClipboardCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1426
|
+
CopyToClipboardCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1427
|
+
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 });
|
|
1428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponent, decorators: [{
|
|
1533
1429
|
type: Component,
|
|
1534
|
-
args: [{
|
|
1535
|
-
selector: 'td[rxap-copy-to-clipboard-cell]',
|
|
1536
|
-
templateUrl: './copy-to-clipboard-cell.component.html',
|
|
1537
|
-
styleUrls: ['./copy-to-clipboard-cell.component.scss'],
|
|
1538
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1539
|
-
host: { class: 'rxap-copy-to-clipboard-cell' }
|
|
1540
|
-
}]
|
|
1430
|
+
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"] }]
|
|
1541
1431
|
}], propDecorators: { value: [{
|
|
1542
1432
|
type: Input,
|
|
1543
1433
|
args: ['rxap-copy-to-clipboard-cell']
|
|
@@ -1545,14 +1435,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1545
1435
|
|
|
1546
1436
|
class CopyToClipboardCellComponentModule {
|
|
1547
1437
|
}
|
|
1548
|
-
CopyToClipboardCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1549
|
-
CopyToClipboardCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1438
|
+
CopyToClipboardCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1439
|
+
CopyToClipboardCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, declarations: [CopyToClipboardCellComponent], imports: [CopyToClipboardModule,
|
|
1550
1440
|
CommonModule], exports: [CopyToClipboardCellComponent] });
|
|
1551
|
-
CopyToClipboardCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1441
|
+
CopyToClipboardCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, imports: [[
|
|
1552
1442
|
CopyToClipboardModule,
|
|
1553
1443
|
CommonModule
|
|
1554
1444
|
]] });
|
|
1555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, decorators: [{
|
|
1556
1446
|
type: NgModule,
|
|
1557
1447
|
args: [{
|
|
1558
1448
|
declarations: [CopyToClipboardCellComponent],
|
|
@@ -1566,17 +1456,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1566
1456
|
|
|
1567
1457
|
class IconCellComponent {
|
|
1568
1458
|
}
|
|
1569
|
-
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1570
|
-
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1459
|
+
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1460
|
+
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 });
|
|
1461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponent, decorators: [{
|
|
1572
1462
|
type: Component,
|
|
1573
|
-
args: [{
|
|
1574
|
-
selector: 'td[rxap-icon-cell]',
|
|
1575
|
-
templateUrl: './icon-cell.component.html',
|
|
1576
|
-
styleUrls: ['./icon-cell.component.scss'],
|
|
1577
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1578
|
-
host: { class: 'rxap-icon-cell' }
|
|
1579
|
-
}]
|
|
1463
|
+
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: [""] }]
|
|
1580
1464
|
}], propDecorators: { icon: [{
|
|
1581
1465
|
type: Input,
|
|
1582
1466
|
args: ['rxap-icon-cell']
|
|
@@ -1584,16 +1468,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1584
1468
|
|
|
1585
1469
|
class IconCellComponentModule {
|
|
1586
1470
|
}
|
|
1587
|
-
IconCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1588
|
-
IconCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1471
|
+
IconCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1472
|
+
IconCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, declarations: [IconCellComponent], imports: [MatIconModule,
|
|
1589
1473
|
CommonModule,
|
|
1590
1474
|
IconDirectiveModule], exports: [IconCellComponent] });
|
|
1591
|
-
IconCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1475
|
+
IconCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, imports: [[
|
|
1592
1476
|
MatIconModule,
|
|
1593
1477
|
CommonModule,
|
|
1594
1478
|
IconDirectiveModule,
|
|
1595
1479
|
]] });
|
|
1596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, decorators: [{
|
|
1597
1481
|
type: NgModule,
|
|
1598
1482
|
args: [{
|
|
1599
1483
|
declarations: [IconCellComponent],
|
|
@@ -1612,17 +1496,11 @@ class DateCellComponent {
|
|
|
1612
1496
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
1613
1497
|
}
|
|
1614
1498
|
}
|
|
1615
|
-
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1616
|
-
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1499
|
+
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1500
|
+
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 });
|
|
1501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
1618
1502
|
type: Component,
|
|
1619
|
-
args: [{
|
|
1620
|
-
selector: 'td[rxap-date-cell]',
|
|
1621
|
-
templateUrl: './date-cell.component.html',
|
|
1622
|
-
styleUrls: ['./date-cell.component.scss'],
|
|
1623
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1624
|
-
host: { class: 'rxap-date-cell' },
|
|
1625
|
-
}]
|
|
1503
|
+
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: [""] }]
|
|
1626
1504
|
}], propDecorators: { date: [{
|
|
1627
1505
|
type: Input,
|
|
1628
1506
|
args: ['rxap-date-cell']
|
|
@@ -1632,12 +1510,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1632
1510
|
|
|
1633
1511
|
class DateCellComponentModule {
|
|
1634
1512
|
}
|
|
1635
|
-
DateCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1636
|
-
DateCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1637
|
-
DateCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1513
|
+
DateCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1514
|
+
DateCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, declarations: [DateCellComponent], imports: [CommonModule], exports: [DateCellComponent] });
|
|
1515
|
+
DateCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, imports: [[
|
|
1638
1516
|
CommonModule,
|
|
1639
1517
|
]] });
|
|
1640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, decorators: [{
|
|
1641
1519
|
type: NgModule,
|
|
1642
1520
|
args: [{
|
|
1643
1521
|
declarations: [DateCellComponent],
|
|
@@ -1656,17 +1534,11 @@ class LinkCellComponent {
|
|
|
1656
1534
|
return this.value;
|
|
1657
1535
|
}
|
|
1658
1536
|
}
|
|
1659
|
-
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1660
|
-
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1537
|
+
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1538
|
+
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 });
|
|
1539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponent, decorators: [{
|
|
1662
1540
|
type: Component,
|
|
1663
|
-
args: [{
|
|
1664
|
-
selector: 'td[rxap-link-cell]',
|
|
1665
|
-
templateUrl: './link-cell.component.html',
|
|
1666
|
-
styleUrls: ['./link-cell.component.scss'],
|
|
1667
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1668
|
-
host: { class: 'rxap-link-cell' }
|
|
1669
|
-
}]
|
|
1541
|
+
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"] }]
|
|
1670
1542
|
}], propDecorators: { value: [{
|
|
1671
1543
|
type: Input,
|
|
1672
1544
|
args: ['rxap-link-cell']
|
|
@@ -1676,18 +1548,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1676
1548
|
|
|
1677
1549
|
class LinkCellComponentModule {
|
|
1678
1550
|
}
|
|
1679
|
-
LinkCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1680
|
-
LinkCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1551
|
+
LinkCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1552
|
+
LinkCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, declarations: [LinkCellComponent], imports: [MatTooltipModule,
|
|
1681
1553
|
MatIconModule,
|
|
1682
1554
|
FlexLayoutModule,
|
|
1683
1555
|
CommonModule], exports: [LinkCellComponent] });
|
|
1684
|
-
LinkCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1556
|
+
LinkCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, imports: [[
|
|
1685
1557
|
MatTooltipModule,
|
|
1686
1558
|
MatIconModule,
|
|
1687
1559
|
FlexLayoutModule,
|
|
1688
1560
|
CommonModule
|
|
1689
1561
|
]] });
|
|
1690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, decorators: [{
|
|
1691
1563
|
type: NgModule,
|
|
1692
1564
|
args: [{
|
|
1693
1565
|
declarations: [LinkCellComponent],
|
|
@@ -1726,25 +1598,18 @@ class OptionsCellComponent {
|
|
|
1726
1598
|
}
|
|
1727
1599
|
}
|
|
1728
1600
|
getViewValue() {
|
|
1729
|
-
|
|
1730
|
-
|
|
1601
|
+
return (this.options.find((option) => option.value === this.value)?.viewValue ??
|
|
1602
|
+
this.defaultViewValue);
|
|
1731
1603
|
}
|
|
1732
1604
|
ngOnDestroy() {
|
|
1733
|
-
|
|
1734
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1605
|
+
this._subscription?.unsubscribe();
|
|
1735
1606
|
}
|
|
1736
1607
|
}
|
|
1737
|
-
OptionsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1738
|
-
OptionsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1608
|
+
OptionsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1609
|
+
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 }], ngImport: i0, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponent, decorators: [{
|
|
1740
1611
|
type: Component,
|
|
1741
|
-
args: [{
|
|
1742
|
-
selector: 'td[rxap-options-cell]',
|
|
1743
|
-
templateUrl: './options-cell.component.html',
|
|
1744
|
-
styleUrls: ['./options-cell.component.scss'],
|
|
1745
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1746
|
-
host: { class: 'rxap-options-cell' }
|
|
1747
|
-
}]
|
|
1612
|
+
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-options-cell' }, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""] }]
|
|
1748
1613
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
1749
1614
|
type: Input,
|
|
1750
1615
|
args: ['rxap-options-cell']
|
|
@@ -1761,10 +1626,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1761
1626
|
|
|
1762
1627
|
class OptionsCellComponentModule {
|
|
1763
1628
|
}
|
|
1764
|
-
OptionsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1765
|
-
OptionsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1766
|
-
OptionsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1629
|
+
OptionsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1630
|
+
OptionsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, declarations: [OptionsCellComponent], exports: [OptionsCellComponent] });
|
|
1631
|
+
OptionsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, imports: [[]] });
|
|
1632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OptionsCellComponentModule, decorators: [{
|
|
1768
1633
|
type: NgModule,
|
|
1769
1634
|
args: [{
|
|
1770
1635
|
declarations: [OptionsCellComponent],
|
|
@@ -1778,17 +1643,11 @@ class BooleanCellComponent {
|
|
|
1778
1643
|
this.value = null;
|
|
1779
1644
|
}
|
|
1780
1645
|
}
|
|
1781
|
-
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1782
|
-
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1646
|
+
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1647
|
+
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 });
|
|
1648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
1784
1649
|
type: Component,
|
|
1785
|
-
args: [{
|
|
1786
|
-
selector: 'td[rxap-boolean-cell]',
|
|
1787
|
-
templateUrl: './boolean-cell.component.html',
|
|
1788
|
-
styleUrls: ['./boolean-cell.component.scss'],
|
|
1789
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1790
|
-
host: { class: 'rxap-boolean-cell' },
|
|
1791
|
-
}]
|
|
1650
|
+
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: [""] }]
|
|
1792
1651
|
}], propDecorators: { value: [{
|
|
1793
1652
|
type: Input,
|
|
1794
1653
|
args: ['rxap-boolean-cell']
|
|
@@ -1796,14 +1655,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1796
1655
|
|
|
1797
1656
|
class BooleanCellComponentModule {
|
|
1798
1657
|
}
|
|
1799
|
-
BooleanCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1800
|
-
BooleanCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1658
|
+
BooleanCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1659
|
+
BooleanCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, declarations: [BooleanCellComponent], imports: [CommonModule,
|
|
1801
1660
|
MatIconModule], exports: [BooleanCellComponent] });
|
|
1802
|
-
BooleanCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1661
|
+
BooleanCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, imports: [[
|
|
1803
1662
|
CommonModule,
|
|
1804
1663
|
MatIconModule,
|
|
1805
1664
|
]] });
|
|
1806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, decorators: [{
|
|
1807
1666
|
type: NgModule,
|
|
1808
1667
|
args: [{
|
|
1809
1668
|
declarations: [BooleanCellComponent],
|
|
@@ -1834,9 +1693,9 @@ class TableRowActionExecutingDirective {
|
|
|
1834
1693
|
this.vcr.clear();
|
|
1835
1694
|
}
|
|
1836
1695
|
}
|
|
1837
|
-
TableRowActionExecutingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1838
|
-
TableRowActionExecutingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1696
|
+
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 });
|
|
1697
|
+
TableRowActionExecutingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowActionExecutingDirective, selector: "[rxapTableRowActionExecuting]", ngImport: i0 });
|
|
1698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionExecutingDirective, decorators: [{
|
|
1840
1699
|
type: Directive,
|
|
1841
1700
|
args: [{
|
|
1842
1701
|
selector: '[rxapTableRowActionExecuting]'
|
|
@@ -1892,26 +1751,24 @@ class TableRowActionDirective {
|
|
|
1892
1751
|
}
|
|
1893
1752
|
return Promise.resolve();
|
|
1894
1753
|
}
|
|
1895
|
-
execute() {
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
}
|
|
1914
|
-
});
|
|
1754
|
+
async execute() {
|
|
1755
|
+
if (this._actionDisabled) {
|
|
1756
|
+
return Promise.resolve();
|
|
1757
|
+
}
|
|
1758
|
+
this.setStatus(TableRowActionStatus.EXECUTING);
|
|
1759
|
+
try {
|
|
1760
|
+
await Promise.all(this.getElementList().map((element) => {
|
|
1761
|
+
return Promise.all([
|
|
1762
|
+
Promise.all(this.findUntypedActionMethod().map((am) => am.call({ element, type: this.type }))),
|
|
1763
|
+
Promise.all(this.findTypedActionMethod().map((am) => am.call(element)))
|
|
1764
|
+
]);
|
|
1765
|
+
}));
|
|
1766
|
+
this.setStatus(TableRowActionStatus.SUCCESS);
|
|
1767
|
+
}
|
|
1768
|
+
catch (e) {
|
|
1769
|
+
console.error(`Failed to execute row action: ${e.message}`);
|
|
1770
|
+
this.setStatus(TableRowActionStatus.ERROR);
|
|
1771
|
+
}
|
|
1915
1772
|
}
|
|
1916
1773
|
getElementList() {
|
|
1917
1774
|
return [this.element];
|
|
@@ -1954,7 +1811,6 @@ class TableRowActionDirective {
|
|
|
1954
1811
|
this._actionDisabled = false;
|
|
1955
1812
|
}
|
|
1956
1813
|
setStatus(status) {
|
|
1957
|
-
var _a, _b;
|
|
1958
1814
|
if (this._currentStatus === status) {
|
|
1959
1815
|
return;
|
|
1960
1816
|
}
|
|
@@ -1962,7 +1818,7 @@ class TableRowActionDirective {
|
|
|
1962
1818
|
switch (status) {
|
|
1963
1819
|
case TableRowActionStatus.EXECUTING:
|
|
1964
1820
|
this.setButtonDisabled();
|
|
1965
|
-
|
|
1821
|
+
this.executingDirective?.show();
|
|
1966
1822
|
break;
|
|
1967
1823
|
case TableRowActionStatus.SUCCESS:
|
|
1968
1824
|
if (this.refresh) {
|
|
@@ -1981,14 +1837,14 @@ class TableRowActionDirective {
|
|
|
1981
1837
|
break;
|
|
1982
1838
|
case TableRowActionStatus.DONE:
|
|
1983
1839
|
this.setButtonEnabled();
|
|
1984
|
-
|
|
1840
|
+
this.executingDirective?.hide();
|
|
1985
1841
|
break;
|
|
1986
1842
|
}
|
|
1987
1843
|
this.cdr.detectChanges();
|
|
1988
1844
|
}
|
|
1989
1845
|
}
|
|
1990
|
-
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1991
|
-
TableRowActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1846
|
+
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 });
|
|
1847
|
+
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 });
|
|
1992
1848
|
__decorate([
|
|
1993
1849
|
Required,
|
|
1994
1850
|
__metadata("design:type", Object)
|
|
@@ -1997,7 +1853,7 @@ __decorate([
|
|
|
1997
1853
|
Required,
|
|
1998
1854
|
__metadata("design:type", String)
|
|
1999
1855
|
], TableRowActionDirective.prototype, "type", void 0);
|
|
2000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
2001
1857
|
type: Directive,
|
|
2002
1858
|
args: [{
|
|
2003
1859
|
selector: 'button[rxapTableRowAction]'
|
|
@@ -2053,8 +1909,7 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2053
1909
|
this.selectRowService = selectRowService;
|
|
2054
1910
|
}
|
|
2055
1911
|
ngOnDestroy() {
|
|
2056
|
-
|
|
2057
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1912
|
+
this._subscription?.unsubscribe();
|
|
2058
1913
|
}
|
|
2059
1914
|
ngOnInit() {
|
|
2060
1915
|
if (this.selectRowService) {
|
|
@@ -2075,17 +1930,16 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2075
1930
|
}
|
|
2076
1931
|
}
|
|
2077
1932
|
getElementList() {
|
|
2078
|
-
|
|
2079
|
-
return (_b = (_a = this.selectRowService) === null || _a === void 0 ? void 0 : _a.selectedRows) !== null && _b !== void 0 ? _b : [];
|
|
1933
|
+
return this.selectRowService?.selectedRows ?? [];
|
|
2080
1934
|
}
|
|
2081
1935
|
}
|
|
2082
|
-
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2083
|
-
TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1936
|
+
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 });
|
|
1937
|
+
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 });
|
|
2084
1938
|
__decorate([
|
|
2085
1939
|
Required,
|
|
2086
1940
|
__metadata("design:type", String)
|
|
2087
1941
|
], TableRowHeaderActionDirective.prototype, "type", void 0);
|
|
2088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
2089
1943
|
type: Directive,
|
|
2090
1944
|
args: [{
|
|
2091
1945
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
@@ -2122,8 +1976,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
2122
1976
|
|
|
2123
1977
|
class TableRowActionsModule {
|
|
2124
1978
|
}
|
|
2125
|
-
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2126
|
-
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1979
|
+
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1980
|
+
TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, declarations: [TableRowActionDirective,
|
|
2127
1981
|
TableRowActionExecutingDirective,
|
|
2128
1982
|
TableRowHeaderActionDirective], exports: [TableRowActionDirective,
|
|
2129
1983
|
TableRowHeaderActionDirective,
|
|
@@ -2134,13 +1988,13 @@ TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", v
|
|
|
2134
1988
|
MatIconModule,
|
|
2135
1989
|
MatProgressBarModule,
|
|
2136
1990
|
CommonModule] });
|
|
2137
|
-
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1991
|
+
TableRowActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, imports: [MatTooltipModule,
|
|
2138
1992
|
MatButtonModule,
|
|
2139
1993
|
ConfirmComponentModule,
|
|
2140
1994
|
MatIconModule,
|
|
2141
1995
|
MatProgressBarModule,
|
|
2142
1996
|
CommonModule] });
|
|
2143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
2144
1998
|
type: NgModule,
|
|
2145
1999
|
args: [{
|
|
2146
2000
|
declarations: [
|
|
@@ -2170,4 +2024,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
2170
2024
|
*/
|
|
2171
2025
|
|
|
2172
2026
|
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 };
|
|
2173
|
-
//# sourceMappingURL=rxap-material-table-system.
|
|
2027
|
+
//# sourceMappingURL=rxap-material-table-system.mjs.map
|