@rxap/material-table-system 12.5.0 → 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} +347 -471
- package/fesm2020/rxap-material-table-system.mjs.map +1 -0
- package/lib/persistent-paginator.directive.d.ts +1 -0
- package/lib/table-filter/table-filter.service.d.ts +1 -0
- package/lib/table-row-actions/table-row-action.directive.d.ts +16 -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 -2872
- 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 -60
- 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 -31
- 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 -184
- 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: [
|
|
@@ -525,6 +496,11 @@ class TableFilterService {
|
|
|
525
496
|
this.current = {};
|
|
526
497
|
this._subscription = this.change.subscribe(current => this.current = current);
|
|
527
498
|
}
|
|
499
|
+
setMap(map) {
|
|
500
|
+
const current = this.current;
|
|
501
|
+
const next = Object.assign(current, map);
|
|
502
|
+
this.change.next(next);
|
|
503
|
+
}
|
|
528
504
|
set(key, value) {
|
|
529
505
|
const current = this.current;
|
|
530
506
|
current[key] = value;
|
|
@@ -541,9 +517,9 @@ class TableFilterService {
|
|
|
541
517
|
this._subscription.unsubscribe();
|
|
542
518
|
}
|
|
543
519
|
}
|
|
544
|
-
TableFilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
545
|
-
TableFilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
546
|
-
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: [{
|
|
547
523
|
type: Injectable
|
|
548
524
|
}], ctorParameters: function () { return []; } });
|
|
549
525
|
|
|
@@ -592,12 +568,10 @@ class TableDataSourceDirective {
|
|
|
592
568
|
return this.sourceMethod;
|
|
593
569
|
}
|
|
594
570
|
trackBy(index, item) {
|
|
595
|
-
|
|
596
|
-
return (_a = item.uuid) !== null && _a !== void 0 ? _a : index;
|
|
571
|
+
return item.uuid ?? index;
|
|
597
572
|
}
|
|
598
573
|
ngOnInit() {
|
|
599
|
-
|
|
600
|
-
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;
|
|
601
575
|
if (this.sourceMethod) {
|
|
602
576
|
if (this.adapterFactory) {
|
|
603
577
|
this.method = this.adapterFactory(this.sourceMethod, this.paginator, this.matSort, tableFilter, this.parameters);
|
|
@@ -605,7 +579,7 @@ class TableDataSourceDirective {
|
|
|
605
579
|
else {
|
|
606
580
|
this.method = this.sourceMethod;
|
|
607
581
|
}
|
|
608
|
-
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 });
|
|
609
583
|
}
|
|
610
584
|
else if (this.sourceDataSource) {
|
|
611
585
|
this.dataSource = this.sourceDataSource;
|
|
@@ -614,7 +588,7 @@ class TableDataSourceDirective {
|
|
|
614
588
|
throw new Error('The TABLE_DATA_SOURCE and TABLE_METHOD token are not defined!');
|
|
615
589
|
}
|
|
616
590
|
this.dataSource.paginator = this.paginator;
|
|
617
|
-
this.dataSource.sort =
|
|
591
|
+
this.dataSource.sort = this.matSort ?? undefined;
|
|
618
592
|
this.dataSource.filter = tableFilter;
|
|
619
593
|
this.dataSource.parameters = this.parameters;
|
|
620
594
|
this._subscription.add(this.dataSource.loading$.pipe(tap(loading => this.loading$.next(!!loading))).subscribe());
|
|
@@ -630,17 +604,16 @@ class TableDataSourceDirective {
|
|
|
630
604
|
this._subscription.unsubscribe();
|
|
631
605
|
}
|
|
632
606
|
refresh() {
|
|
633
|
-
|
|
634
|
-
(_a = this.dataSource) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
607
|
+
this.dataSource?.refresh();
|
|
635
608
|
}
|
|
636
609
|
}
|
|
637
|
-
TableDataSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
638
|
-
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 });
|
|
639
612
|
__decorate([
|
|
640
613
|
Required,
|
|
641
614
|
__metadata("design:type", String)
|
|
642
615
|
], TableDataSourceDirective.prototype, "id", void 0);
|
|
643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
644
617
|
type: Directive,
|
|
645
618
|
args: [{
|
|
646
619
|
selector: 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]',
|
|
@@ -693,10 +666,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
693
666
|
}] } });
|
|
694
667
|
class TableDataSourceModule {
|
|
695
668
|
}
|
|
696
|
-
TableDataSourceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
697
|
-
TableDataSourceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
698
|
-
TableDataSourceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
699
|
-
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: [{
|
|
700
673
|
type: NgModule,
|
|
701
674
|
args: [{
|
|
702
675
|
exports: [TableDataSourceDirective],
|
|
@@ -713,9 +686,10 @@ class PersistentPaginatorDirective {
|
|
|
713
686
|
if (config) {
|
|
714
687
|
this.matPaginator.pageSize = config.pageSize;
|
|
715
688
|
}
|
|
689
|
+
this._subscription = this.matPaginator.page.pipe(tap(() => this.storeConfig())).subscribe();
|
|
716
690
|
}
|
|
717
691
|
ngOnDestroy() {
|
|
718
|
-
this.
|
|
692
|
+
this._subscription?.unsubscribe();
|
|
719
693
|
}
|
|
720
694
|
getKey() {
|
|
721
695
|
return 'rxap_mat-paginator-persistent' + this.id;
|
|
@@ -737,9 +711,9 @@ class PersistentPaginatorDirective {
|
|
|
737
711
|
return null;
|
|
738
712
|
}
|
|
739
713
|
}
|
|
740
|
-
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
741
|
-
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
742
|
-
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: [{
|
|
743
717
|
type: Directive,
|
|
744
718
|
args: [{
|
|
745
719
|
selector: 'mat-paginator[rxapPersistent]'
|
|
@@ -749,10 +723,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
749
723
|
}] } });
|
|
750
724
|
class PersistentPaginatorDirectiveModule {
|
|
751
725
|
}
|
|
752
|
-
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
753
|
-
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
754
|
-
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
755
|
-
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: [{
|
|
756
730
|
type: NgModule,
|
|
757
731
|
args: [{
|
|
758
732
|
exports: [PersistentPaginatorDirective],
|
|
@@ -772,24 +746,23 @@ class FilterHeaderRowDirective extends FormDirective {
|
|
|
772
746
|
this._subscription = this.form.value$
|
|
773
747
|
.pipe(debounceTime(1000), map((values) => Object.entries(values)
|
|
774
748
|
.filter(([key, value]) => value !== null && value !== undefined && value !== '')
|
|
775
|
-
.reduce((obj, [key, value]) => (
|
|
776
|
-
.subscribe(
|
|
749
|
+
.reduce((obj, [key, value]) => ({ ...obj, [key]: value }), {})), distinctUntilChanged((a, b) => equals(a, b)), tap(values => this.tableFilter.setMap(values)))
|
|
750
|
+
.subscribe();
|
|
777
751
|
}
|
|
778
752
|
ngOnDestroy() {
|
|
779
|
-
var _a;
|
|
780
753
|
super.ngOnDestroy();
|
|
781
|
-
|
|
754
|
+
this._subscription?.unsubscribe();
|
|
782
755
|
}
|
|
783
756
|
}
|
|
784
|
-
FilterHeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
785
|
-
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: [
|
|
786
759
|
{
|
|
787
760
|
provide: ControlContainer,
|
|
788
761
|
// ignore coverage
|
|
789
762
|
useExisting: forwardRef(() => FilterHeaderRowDirective),
|
|
790
763
|
},
|
|
791
764
|
], usesInheritance: true, ngImport: i0 });
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FilterHeaderRowDirective, decorators: [{
|
|
793
766
|
type: Directive,
|
|
794
767
|
args: [{
|
|
795
768
|
// tslint:disable-next-line:directive-selector
|
|
@@ -814,9 +787,9 @@ class ToFilterColumnNamesPipe {
|
|
|
814
787
|
return columns.map(column => 'filter_' + column);
|
|
815
788
|
}
|
|
816
789
|
}
|
|
817
|
-
ToFilterColumnNamesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
818
|
-
ToFilterColumnNamesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
819
|
-
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: [{
|
|
820
793
|
type: Pipe,
|
|
821
794
|
args: [{
|
|
822
795
|
name: 'toFilterColumnNames'
|
|
@@ -825,12 +798,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
825
798
|
|
|
826
799
|
class TableFilterModule {
|
|
827
800
|
}
|
|
828
|
-
TableFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
829
|
-
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,
|
|
830
803
|
FilterHeaderRowDirective], exports: [ToFilterColumnNamesPipe,
|
|
831
804
|
FilterHeaderRowDirective] });
|
|
832
|
-
TableFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
833
|
-
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: [{
|
|
834
807
|
type: NgModule,
|
|
835
808
|
args: [{
|
|
836
809
|
exports: [
|
|
@@ -879,19 +852,15 @@ class TableColumnOptionComponent {
|
|
|
879
852
|
this.active = false;
|
|
880
853
|
}
|
|
881
854
|
}
|
|
882
|
-
TableColumnOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
883
|
-
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: [""] });
|
|
884
857
|
__decorate([
|
|
885
858
|
Required,
|
|
886
859
|
__metadata("design:type", String)
|
|
887
860
|
], TableColumnOptionComponent.prototype, "name", void 0);
|
|
888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnOptionComponent, decorators: [{
|
|
889
862
|
type: Component,
|
|
890
|
-
args: [{
|
|
891
|
-
selector: 'rxap-table-column-option',
|
|
892
|
-
templateUrl: './table-column-option.component.html',
|
|
893
|
-
styleUrls: ['./table-column-option.component.css'],
|
|
894
|
-
}]
|
|
863
|
+
args: [{ selector: 'rxap-table-column-option', template: "<ng-content></ng-content>\n", styles: [""] }]
|
|
895
864
|
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
896
865
|
type: Inject,
|
|
897
866
|
args: [ElementRef]
|
|
@@ -927,28 +896,23 @@ class TableColumnMenuComponent {
|
|
|
927
896
|
.map((option) => option.name);
|
|
928
897
|
}
|
|
929
898
|
activate(columnName) {
|
|
930
|
-
|
|
931
|
-
|
|
899
|
+
this.columns
|
|
900
|
+
?.filter((option) => option.name === columnName)
|
|
901
|
+
.forEach((column) => column.activate());
|
|
932
902
|
this.updateDisplayColumns();
|
|
933
903
|
}
|
|
934
904
|
deactivate(columnName) {
|
|
935
|
-
|
|
936
|
-
|
|
905
|
+
this.columns
|
|
906
|
+
?.filter((option) => option.name === columnName)
|
|
907
|
+
.forEach((column) => column.deactivate());
|
|
937
908
|
this.updateDisplayColumns();
|
|
938
909
|
}
|
|
939
910
|
}
|
|
940
|
-
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
941
|
-
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
942
|
-
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: [{
|
|
943
914
|
type: Component,
|
|
944
|
-
args: [{
|
|
945
|
-
selector: 'rxap-table-column-menu',
|
|
946
|
-
templateUrl: './table-column-menu.component.html',
|
|
947
|
-
styleUrls: ['./table-column-menu.component.scss'],
|
|
948
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
949
|
-
host: { class: 'mfd-table-column-menu' },
|
|
950
|
-
exportAs: 'rxapTableColumns',
|
|
951
|
-
}]
|
|
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"] }]
|
|
952
916
|
}], propDecorators: { columns: [{
|
|
953
917
|
type: ContentChildren,
|
|
954
918
|
args: [TableColumnOptionComponent]
|
|
@@ -961,15 +925,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
961
925
|
|
|
962
926
|
class TableColumnMenuComponentModule {
|
|
963
927
|
}
|
|
964
|
-
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
965
|
-
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,
|
|
966
930
|
MatIconModule,
|
|
967
931
|
MatMenuModule,
|
|
968
932
|
CommonModule,
|
|
969
933
|
MatCheckboxModule,
|
|
970
934
|
StopPropagationDirectiveModule,
|
|
971
935
|
FlexLayoutModule], exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatMenuModule] });
|
|
972
|
-
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: [[
|
|
973
937
|
MatButtonModule,
|
|
974
938
|
MatIconModule,
|
|
975
939
|
MatMenuModule,
|
|
@@ -978,7 +942,7 @@ TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
978
942
|
StopPropagationDirectiveModule,
|
|
979
943
|
FlexLayoutModule
|
|
980
944
|
], MatMenuModule] });
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnMenuComponentModule, decorators: [{
|
|
982
946
|
type: NgModule,
|
|
983
947
|
args: [{
|
|
984
948
|
declarations: [TableColumnMenuComponent, TableColumnOptionComponent],
|
|
@@ -1010,29 +974,23 @@ class TableShowArchivedSlideComponent {
|
|
|
1010
974
|
}
|
|
1011
975
|
}
|
|
1012
976
|
}
|
|
1013
|
-
TableShowArchivedSlideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1014
|
-
TableShowArchivedSlideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1015
|
-
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: [{
|
|
1016
980
|
type: Component,
|
|
1017
|
-
args: [{
|
|
1018
|
-
selector: 'mfd-table-show-archived-slide',
|
|
1019
|
-
templateUrl: './table-show-archived-slide.component.html',
|
|
1020
|
-
styleUrls: ['./table-show-archived-slide.component.scss'],
|
|
1021
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1022
|
-
host: { class: 'mfd-table-show-archived-slide' },
|
|
1023
|
-
}]
|
|
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: [""] }]
|
|
1024
982
|
}], ctorParameters: function () { return [{ type: TableFilterService }, { type: TableColumnMenuComponent }]; } });
|
|
1025
983
|
|
|
1026
984
|
class TableShowArchivedSlideComponentModule {
|
|
1027
985
|
}
|
|
1028
|
-
TableShowArchivedSlideComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1029
|
-
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,
|
|
1030
988
|
MatSlideToggleModule], exports: [TableShowArchivedSlideComponent] });
|
|
1031
|
-
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: [[
|
|
1032
990
|
StopPropagationDirectiveModule,
|
|
1033
991
|
MatSlideToggleModule,
|
|
1034
992
|
]] });
|
|
1035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableShowArchivedSlideComponentModule, decorators: [{
|
|
1036
994
|
type: NgModule,
|
|
1037
995
|
args: [{
|
|
1038
996
|
declarations: [TableShowArchivedSlideComponent],
|
|
@@ -1060,23 +1018,21 @@ class TableCreateButtonDirective {
|
|
|
1060
1018
|
this._createObservable.complete();
|
|
1061
1019
|
}
|
|
1062
1020
|
}
|
|
1063
|
-
onClick() {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
this.dataSource.refresh();
|
|
1070
|
-
});
|
|
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();
|
|
1071
1027
|
}
|
|
1072
1028
|
}
|
|
1073
|
-
TableCreateButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1074
|
-
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 });
|
|
1075
1031
|
__decorate([
|
|
1076
1032
|
Required,
|
|
1077
1033
|
__metadata("design:type", TableDataSourceDirective)
|
|
1078
1034
|
], TableCreateButtonDirective.prototype, "dataSource", void 0);
|
|
1079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCreateButtonDirective, decorators: [{
|
|
1080
1036
|
type: Directive,
|
|
1081
1037
|
args: [{
|
|
1082
1038
|
selector: 'button[rxapTableCreate]'
|
|
@@ -1099,10 +1055,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1099
1055
|
}] } });
|
|
1100
1056
|
class TableCreateButtonDirectiveModule {
|
|
1101
1057
|
}
|
|
1102
|
-
TableCreateButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1103
|
-
TableCreateButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1104
|
-
TableCreateButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1105
|
-
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: [{
|
|
1106
1062
|
type: NgModule,
|
|
1107
1063
|
args: [{
|
|
1108
1064
|
declarations: [TableCreateButtonDirective],
|
|
@@ -1129,75 +1085,57 @@ class RowControlsCellComponent {
|
|
|
1129
1085
|
this.rowLinkMethod = rowLinkMethod;
|
|
1130
1086
|
this.editLoaderMethod = editLoaderMethod;
|
|
1131
1087
|
}
|
|
1132
|
-
archive() {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}
|
|
1138
|
-
});
|
|
1088
|
+
async archive() {
|
|
1089
|
+
if (this.archiveRemoteMethod) {
|
|
1090
|
+
await this.archiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1091
|
+
this.tableDataSource.refresh();
|
|
1092
|
+
}
|
|
1139
1093
|
}
|
|
1140
|
-
unarchive() {
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
}
|
|
1146
|
-
});
|
|
1094
|
+
async unarchive() {
|
|
1095
|
+
if (this.unarchiveRemoteMethod) {
|
|
1096
|
+
await this.unarchiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1097
|
+
this.tableDataSource.refresh();
|
|
1098
|
+
}
|
|
1147
1099
|
}
|
|
1148
|
-
remove() {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}
|
|
1154
|
-
});
|
|
1100
|
+
async remove() {
|
|
1101
|
+
if (this.deleteRemoteMethod) {
|
|
1102
|
+
await this.deleteRemoteMethod.call({ parameters: { uuid: this.element.uuid } });
|
|
1103
|
+
this.tableDataSource.refresh();
|
|
1104
|
+
}
|
|
1155
1105
|
}
|
|
1156
|
-
view() {
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
}
|
|
1161
|
-
});
|
|
1106
|
+
async view() {
|
|
1107
|
+
if (this.rowViewMethod) {
|
|
1108
|
+
await this.rowViewMethod.call(this.element);
|
|
1109
|
+
}
|
|
1162
1110
|
}
|
|
1163
|
-
link() {
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
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);
|
|
1167
1121
|
}
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1172
|
-
if (this.editRemoteMethod) {
|
|
1173
|
-
let initial = this.element;
|
|
1174
|
-
if (this.editLoaderMethod) {
|
|
1175
|
-
initial = yield this.editLoaderMethod.call(initial);
|
|
1176
|
-
}
|
|
1177
|
-
const result = yield this.editRemoteMethod.call(initial, { context: this.element });
|
|
1178
|
-
if (isObservable(result)) {
|
|
1179
|
-
yield result.toPromise();
|
|
1180
|
-
}
|
|
1181
|
-
this.tableDataSource.refresh();
|
|
1122
|
+
const result = await this.editRemoteMethod.call(initial, { context: this.element });
|
|
1123
|
+
if (isObservable(result)) {
|
|
1124
|
+
await result.toPromise();
|
|
1182
1125
|
}
|
|
1183
|
-
|
|
1126
|
+
this.tableDataSource.refresh();
|
|
1127
|
+
}
|
|
1184
1128
|
}
|
|
1185
1129
|
}
|
|
1186
|
-
RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1187
|
-
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 });
|
|
1188
1132
|
__decorate([
|
|
1189
1133
|
Required,
|
|
1190
1134
|
__metadata("design:type", Object)
|
|
1191
1135
|
], RowControlsCellComponent.prototype, "element", void 0);
|
|
1192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponent, decorators: [{
|
|
1193
1137
|
type: Component,
|
|
1194
|
-
args: [{
|
|
1195
|
-
selector: 'td[mfd-row-controls-cell]',
|
|
1196
|
-
templateUrl: './row-controls-cell.component.html',
|
|
1197
|
-
styleUrls: ['./row-controls-cell.component.scss'],
|
|
1198
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1199
|
-
host: { class: 'mfd-row-controls-cell' }
|
|
1200
|
-
}]
|
|
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: [""] }]
|
|
1201
1139
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: i8.OpenApiRemoteMethod, decorators: [{
|
|
1202
1140
|
type: Optional
|
|
1203
1141
|
}, {
|
|
@@ -1239,14 +1177,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1239
1177
|
|
|
1240
1178
|
class RowControlsCellComponentModule {
|
|
1241
1179
|
}
|
|
1242
|
-
RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1243
|
-
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,
|
|
1244
1182
|
FlexLayoutModule,
|
|
1245
1183
|
MatButtonModule,
|
|
1246
1184
|
MatIconModule,
|
|
1247
1185
|
ConfirmComponentModule,
|
|
1248
1186
|
MatTooltipModule], exports: [RowControlsCellComponent] });
|
|
1249
|
-
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: [[
|
|
1250
1188
|
CommonModule,
|
|
1251
1189
|
FlexLayoutModule,
|
|
1252
1190
|
MatButtonModule,
|
|
@@ -1254,7 +1192,7 @@ RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
1254
1192
|
ConfirmComponentModule,
|
|
1255
1193
|
MatTooltipModule
|
|
1256
1194
|
]] });
|
|
1257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsCellComponentModule, decorators: [{
|
|
1258
1196
|
type: NgModule,
|
|
1259
1197
|
args: [{
|
|
1260
1198
|
declarations: [RowControlsCellComponent],
|
|
@@ -1272,7 +1210,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1272
1210
|
|
|
1273
1211
|
class RowControlsHeaderCellComponent {
|
|
1274
1212
|
constructor(tableDataSource, tableFilter = null, selectRow = null, deleteRemoteMethod = null, archiveRemoteMethod = null, unarchiveRemoteMethod = null) {
|
|
1275
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1276
1213
|
this.tableDataSource = tableDataSource;
|
|
1277
1214
|
this.tableFilter = tableFilter;
|
|
1278
1215
|
this.selectRow = selectRow;
|
|
@@ -1280,67 +1217,46 @@ class RowControlsHeaderCellComponent {
|
|
|
1280
1217
|
this.archiveRemoteMethod = archiveRemoteMethod;
|
|
1281
1218
|
this.unarchiveRemoteMethod = unarchiveRemoteMethod;
|
|
1282
1219
|
this.disabled$ =
|
|
1283
|
-
|
|
1220
|
+
this.selectRow?.selectedRows$.pipe(map((selectedRows) => selectedRows.length === 0), startWith(true)) ?? of(true);
|
|
1284
1221
|
this.showUnarchive$ = this.showDelete$ =
|
|
1285
|
-
|
|
1222
|
+
this.tableFilter?.change.pipe(map((filter) => filter &&
|
|
1286
1223
|
filter.hasOwnProperty('__archived') &&
|
|
1287
|
-
filter['__archived'] === true), distinctUntilChanged())
|
|
1224
|
+
filter['__archived'] === true), distinctUntilChanged()) ?? of(false);
|
|
1288
1225
|
this.showArchive$ =
|
|
1289
|
-
|
|
1226
|
+
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1290
1227
|
!filter.hasOwnProperty('__archived') ||
|
|
1291
|
-
filter['__archived'] === false), distinctUntilChanged())
|
|
1292
|
-
}
|
|
1293
|
-
archiveSelected(selectedRows) {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
}
|
|
1317
|
-
});
|
|
1318
|
-
}
|
|
1319
|
-
deleteSelected(selectedRows) {
|
|
1320
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1321
|
-
if (this.deleteRemoteMethod && selectedRows) {
|
|
1322
|
-
yield Promise.all(selectedRows.map((selectedRow) => {
|
|
1323
|
-
var _a;
|
|
1324
|
-
return (_a = this.deleteRemoteMethod) === null || _a === void 0 ? void 0 : _a.call({
|
|
1325
|
-
parameters: { uuid: selectedRow.uuid },
|
|
1326
|
-
});
|
|
1327
|
-
}));
|
|
1328
|
-
this.tableDataSource.refresh();
|
|
1329
|
-
}
|
|
1330
|
-
});
|
|
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
|
+
}
|
|
1331
1253
|
}
|
|
1332
1254
|
}
|
|
1333
|
-
RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1334
|
-
RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1335
|
-
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: [{
|
|
1336
1258
|
type: Component,
|
|
1337
|
-
args: [{
|
|
1338
|
-
selector: 'th[mfd-row-controls-header-cell]',
|
|
1339
|
-
templateUrl: './row-controls-header-cell.component.html',
|
|
1340
|
-
styleUrls: ['./row-controls-header-cell.component.scss'],
|
|
1341
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1342
|
-
host: { class: 'mfd-row-controls-header-cell' },
|
|
1343
|
-
}]
|
|
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: [""] }]
|
|
1344
1260
|
}], ctorParameters: function () { return [{ type: TableDataSourceDirective }, { type: TableFilterService, decorators: [{
|
|
1345
1261
|
type: Optional
|
|
1346
1262
|
}, {
|
|
@@ -1370,14 +1286,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1370
1286
|
|
|
1371
1287
|
class RowControlsHeaderCellComponentModule {
|
|
1372
1288
|
}
|
|
1373
|
-
RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1374
|
-
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,
|
|
1375
1291
|
MatButtonModule,
|
|
1376
1292
|
MatIconModule,
|
|
1377
1293
|
ConfirmComponentModule,
|
|
1378
1294
|
CommonModule,
|
|
1379
1295
|
MatTooltipModule], exports: [RowControlsHeaderCellComponent] });
|
|
1380
|
-
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: [[
|
|
1381
1297
|
FlexLayoutModule,
|
|
1382
1298
|
MatButtonModule,
|
|
1383
1299
|
MatIconModule,
|
|
@@ -1385,7 +1301,7 @@ RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersi
|
|
|
1385
1301
|
CommonModule,
|
|
1386
1302
|
MatTooltipModule,
|
|
1387
1303
|
]] });
|
|
1388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
|
|
1389
1305
|
type: NgModule,
|
|
1390
1306
|
args: [{
|
|
1391
1307
|
declarations: [RowControlsHeaderCellComponent],
|
|
@@ -1403,12 +1319,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1403
1319
|
|
|
1404
1320
|
class TableRowControlsModule {
|
|
1405
1321
|
}
|
|
1406
|
-
TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1407
|
-
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,
|
|
1408
1324
|
RowControlsHeaderCellComponentModule] });
|
|
1409
|
-
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,
|
|
1410
1326
|
RowControlsHeaderCellComponentModule] });
|
|
1411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowControlsModule, decorators: [{
|
|
1412
1328
|
type: NgModule,
|
|
1413
1329
|
args: [{
|
|
1414
1330
|
exports: [
|
|
@@ -1431,18 +1347,11 @@ class TableSelectControlsComponent {
|
|
|
1431
1347
|
this.windowRef.close(this.selectRows.selectedRows);
|
|
1432
1348
|
}
|
|
1433
1349
|
}
|
|
1434
|
-
TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1435
|
-
TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1436
|
-
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: [{
|
|
1437
1353
|
type: Component,
|
|
1438
|
-
args: [{
|
|
1439
|
-
// TODO : rn selector
|
|
1440
|
-
selector: 'mfd-table-select-controls',
|
|
1441
|
-
templateUrl: './table-select-controls.component.html',
|
|
1442
|
-
styleUrls: ['./table-select-controls.component.scss'],
|
|
1443
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1444
|
-
host: { class: 'mfd-table-select-controls' },
|
|
1445
|
-
}]
|
|
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: [""] }]
|
|
1446
1355
|
}], ctorParameters: function () { return [{ type: SelectRowService }, { type: undefined, decorators: [{
|
|
1447
1356
|
type: Inject,
|
|
1448
1357
|
args: [RXAP_WINDOW_REF]
|
|
@@ -1450,16 +1359,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1450
1359
|
|
|
1451
1360
|
class TableSelectControlsComponentModule {
|
|
1452
1361
|
}
|
|
1453
|
-
TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1454
|
-
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,
|
|
1455
1364
|
FlexLayoutModule,
|
|
1456
1365
|
CommonModule], exports: [TableSelectControlsComponent] });
|
|
1457
|
-
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: [[
|
|
1458
1367
|
MatButtonModule,
|
|
1459
1368
|
FlexLayoutModule,
|
|
1460
1369
|
CommonModule
|
|
1461
1370
|
]] });
|
|
1462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableSelectControlsComponentModule, decorators: [{
|
|
1463
1372
|
type: NgModule,
|
|
1464
1373
|
args: [{
|
|
1465
1374
|
declarations: [TableSelectControlsComponent],
|
|
@@ -1480,17 +1389,11 @@ class ImageCellComponent {
|
|
|
1480
1389
|
this.value = null;
|
|
1481
1390
|
}
|
|
1482
1391
|
}
|
|
1483
|
-
ImageCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1484
|
-
ImageCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1485
|
-
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: [{
|
|
1486
1395
|
type: Component,
|
|
1487
|
-
args: [{
|
|
1488
|
-
selector: 'td[rxap-image-cell]',
|
|
1489
|
-
templateUrl: './image-cell.component.html',
|
|
1490
|
-
styleUrls: ['./image-cell.component.scss'],
|
|
1491
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1492
|
-
host: { class: 'rxap-image-cell' }
|
|
1493
|
-
}]
|
|
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"] }]
|
|
1494
1397
|
}], propDecorators: { preset: [{
|
|
1495
1398
|
type: Input
|
|
1496
1399
|
}], size: [{
|
|
@@ -1506,10 +1409,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1506
1409
|
|
|
1507
1410
|
class ImageCellComponentModule {
|
|
1508
1411
|
}
|
|
1509
|
-
ImageCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1510
|
-
ImageCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1511
|
-
ImageCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1512
|
-
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: [{
|
|
1513
1416
|
type: NgModule,
|
|
1514
1417
|
args: [{
|
|
1515
1418
|
declarations: [ImageCellComponent],
|
|
@@ -1520,17 +1423,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1520
1423
|
|
|
1521
1424
|
class CopyToClipboardCellComponent {
|
|
1522
1425
|
}
|
|
1523
|
-
CopyToClipboardCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1524
|
-
CopyToClipboardCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1525
|
-
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: [{
|
|
1526
1429
|
type: Component,
|
|
1527
|
-
args: [{
|
|
1528
|
-
selector: 'td[rxap-copy-to-clipboard-cell]',
|
|
1529
|
-
templateUrl: './copy-to-clipboard-cell.component.html',
|
|
1530
|
-
styleUrls: ['./copy-to-clipboard-cell.component.scss'],
|
|
1531
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1532
|
-
host: { class: 'rxap-copy-to-clipboard-cell' }
|
|
1533
|
-
}]
|
|
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"] }]
|
|
1534
1431
|
}], propDecorators: { value: [{
|
|
1535
1432
|
type: Input,
|
|
1536
1433
|
args: ['rxap-copy-to-clipboard-cell']
|
|
@@ -1538,14 +1435,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1538
1435
|
|
|
1539
1436
|
class CopyToClipboardCellComponentModule {
|
|
1540
1437
|
}
|
|
1541
|
-
CopyToClipboardCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1542
|
-
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,
|
|
1543
1440
|
CommonModule], exports: [CopyToClipboardCellComponent] });
|
|
1544
|
-
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: [[
|
|
1545
1442
|
CopyToClipboardModule,
|
|
1546
1443
|
CommonModule
|
|
1547
1444
|
]] });
|
|
1548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CopyToClipboardCellComponentModule, decorators: [{
|
|
1549
1446
|
type: NgModule,
|
|
1550
1447
|
args: [{
|
|
1551
1448
|
declarations: [CopyToClipboardCellComponent],
|
|
@@ -1559,17 +1456,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1559
1456
|
|
|
1560
1457
|
class IconCellComponent {
|
|
1561
1458
|
}
|
|
1562
|
-
IconCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1563
|
-
IconCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1564
|
-
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: [{
|
|
1565
1462
|
type: Component,
|
|
1566
|
-
args: [{
|
|
1567
|
-
selector: 'td[rxap-icon-cell]',
|
|
1568
|
-
templateUrl: './icon-cell.component.html',
|
|
1569
|
-
styleUrls: ['./icon-cell.component.scss'],
|
|
1570
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1571
|
-
host: { class: 'rxap-icon-cell' }
|
|
1572
|
-
}]
|
|
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: [""] }]
|
|
1573
1464
|
}], propDecorators: { icon: [{
|
|
1574
1465
|
type: Input,
|
|
1575
1466
|
args: ['rxap-icon-cell']
|
|
@@ -1577,16 +1468,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1577
1468
|
|
|
1578
1469
|
class IconCellComponentModule {
|
|
1579
1470
|
}
|
|
1580
|
-
IconCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1581
|
-
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,
|
|
1582
1473
|
CommonModule,
|
|
1583
1474
|
IconDirectiveModule], exports: [IconCellComponent] });
|
|
1584
|
-
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: [[
|
|
1585
1476
|
MatIconModule,
|
|
1586
1477
|
CommonModule,
|
|
1587
1478
|
IconDirectiveModule,
|
|
1588
1479
|
]] });
|
|
1589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IconCellComponentModule, decorators: [{
|
|
1590
1481
|
type: NgModule,
|
|
1591
1482
|
args: [{
|
|
1592
1483
|
declarations: [IconCellComponent],
|
|
@@ -1605,17 +1496,11 @@ class DateCellComponent {
|
|
|
1605
1496
|
this.format = 'dd.MM.yyyy HH:mm';
|
|
1606
1497
|
}
|
|
1607
1498
|
}
|
|
1608
|
-
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1609
|
-
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1610
|
-
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: [{
|
|
1611
1502
|
type: Component,
|
|
1612
|
-
args: [{
|
|
1613
|
-
selector: 'td[rxap-date-cell]',
|
|
1614
|
-
templateUrl: './date-cell.component.html',
|
|
1615
|
-
styleUrls: ['./date-cell.component.scss'],
|
|
1616
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1617
|
-
host: { class: 'rxap-date-cell' },
|
|
1618
|
-
}]
|
|
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: [""] }]
|
|
1619
1504
|
}], propDecorators: { date: [{
|
|
1620
1505
|
type: Input,
|
|
1621
1506
|
args: ['rxap-date-cell']
|
|
@@ -1625,12 +1510,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1625
1510
|
|
|
1626
1511
|
class DateCellComponentModule {
|
|
1627
1512
|
}
|
|
1628
|
-
DateCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1629
|
-
DateCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1630
|
-
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: [[
|
|
1631
1516
|
CommonModule,
|
|
1632
1517
|
]] });
|
|
1633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DateCellComponentModule, decorators: [{
|
|
1634
1519
|
type: NgModule,
|
|
1635
1520
|
args: [{
|
|
1636
1521
|
declarations: [DateCellComponent],
|
|
@@ -1649,17 +1534,11 @@ class LinkCellComponent {
|
|
|
1649
1534
|
return this.value;
|
|
1650
1535
|
}
|
|
1651
1536
|
}
|
|
1652
|
-
LinkCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1653
|
-
LinkCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1654
|
-
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: [{
|
|
1655
1540
|
type: Component,
|
|
1656
|
-
args: [{
|
|
1657
|
-
selector: 'td[rxap-link-cell]',
|
|
1658
|
-
templateUrl: './link-cell.component.html',
|
|
1659
|
-
styleUrls: ['./link-cell.component.scss'],
|
|
1660
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1661
|
-
host: { class: 'rxap-link-cell' }
|
|
1662
|
-
}]
|
|
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"] }]
|
|
1663
1542
|
}], propDecorators: { value: [{
|
|
1664
1543
|
type: Input,
|
|
1665
1544
|
args: ['rxap-link-cell']
|
|
@@ -1669,18 +1548,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1669
1548
|
|
|
1670
1549
|
class LinkCellComponentModule {
|
|
1671
1550
|
}
|
|
1672
|
-
LinkCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1673
|
-
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,
|
|
1674
1553
|
MatIconModule,
|
|
1675
1554
|
FlexLayoutModule,
|
|
1676
1555
|
CommonModule], exports: [LinkCellComponent] });
|
|
1677
|
-
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: [[
|
|
1678
1557
|
MatTooltipModule,
|
|
1679
1558
|
MatIconModule,
|
|
1680
1559
|
FlexLayoutModule,
|
|
1681
1560
|
CommonModule
|
|
1682
1561
|
]] });
|
|
1683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LinkCellComponentModule, decorators: [{
|
|
1684
1563
|
type: NgModule,
|
|
1685
1564
|
args: [{
|
|
1686
1565
|
declarations: [LinkCellComponent],
|
|
@@ -1719,25 +1598,18 @@ class OptionsCellComponent {
|
|
|
1719
1598
|
}
|
|
1720
1599
|
}
|
|
1721
1600
|
getViewValue() {
|
|
1722
|
-
|
|
1723
|
-
|
|
1601
|
+
return (this.options.find((option) => option.value === this.value)?.viewValue ??
|
|
1602
|
+
this.defaultViewValue);
|
|
1724
1603
|
}
|
|
1725
1604
|
ngOnDestroy() {
|
|
1726
|
-
|
|
1727
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1605
|
+
this._subscription?.unsubscribe();
|
|
1728
1606
|
}
|
|
1729
1607
|
}
|
|
1730
|
-
OptionsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1731
|
-
OptionsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1732
|
-
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: [{
|
|
1733
1611
|
type: Component,
|
|
1734
|
-
args: [{
|
|
1735
|
-
selector: 'td[rxap-options-cell]',
|
|
1736
|
-
templateUrl: './options-cell.component.html',
|
|
1737
|
-
styleUrls: ['./options-cell.component.scss'],
|
|
1738
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1739
|
-
host: { class: 'rxap-options-cell' }
|
|
1740
|
-
}]
|
|
1612
|
+
args: [{ selector: 'td[rxap-options-cell]', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-options-cell' }, template: "{{viewValue}}\n<ng-content></ng-content>\n", styles: [""] }]
|
|
1741
1613
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
1742
1614
|
type: Input,
|
|
1743
1615
|
args: ['rxap-options-cell']
|
|
@@ -1754,10 +1626,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1754
1626
|
|
|
1755
1627
|
class OptionsCellComponentModule {
|
|
1756
1628
|
}
|
|
1757
|
-
OptionsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1758
|
-
OptionsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1759
|
-
OptionsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1760
|
-
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: [{
|
|
1761
1633
|
type: NgModule,
|
|
1762
1634
|
args: [{
|
|
1763
1635
|
declarations: [OptionsCellComponent],
|
|
@@ -1771,17 +1643,11 @@ class BooleanCellComponent {
|
|
|
1771
1643
|
this.value = null;
|
|
1772
1644
|
}
|
|
1773
1645
|
}
|
|
1774
|
-
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1775
|
-
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1776
|
-
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: [{
|
|
1777
1649
|
type: Component,
|
|
1778
|
-
args: [{
|
|
1779
|
-
selector: 'td[rxap-boolean-cell]',
|
|
1780
|
-
templateUrl: './boolean-cell.component.html',
|
|
1781
|
-
styleUrls: ['./boolean-cell.component.scss'],
|
|
1782
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1783
|
-
host: { class: 'rxap-boolean-cell' },
|
|
1784
|
-
}]
|
|
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: [""] }]
|
|
1785
1651
|
}], propDecorators: { value: [{
|
|
1786
1652
|
type: Input,
|
|
1787
1653
|
args: ['rxap-boolean-cell']
|
|
@@ -1789,14 +1655,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
1789
1655
|
|
|
1790
1656
|
class BooleanCellComponentModule {
|
|
1791
1657
|
}
|
|
1792
|
-
BooleanCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1793
|
-
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,
|
|
1794
1660
|
MatIconModule], exports: [BooleanCellComponent] });
|
|
1795
|
-
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: [[
|
|
1796
1662
|
CommonModule,
|
|
1797
1663
|
MatIconModule,
|
|
1798
1664
|
]] });
|
|
1799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BooleanCellComponentModule, decorators: [{
|
|
1800
1666
|
type: NgModule,
|
|
1801
1667
|
args: [{
|
|
1802
1668
|
declarations: [BooleanCellComponent],
|
|
@@ -1827,9 +1693,9 @@ class TableRowActionExecutingDirective {
|
|
|
1827
1693
|
this.vcr.clear();
|
|
1828
1694
|
}
|
|
1829
1695
|
}
|
|
1830
|
-
TableRowActionExecutingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1831
|
-
TableRowActionExecutingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1832
|
-
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: [{
|
|
1833
1699
|
type: Directive,
|
|
1834
1700
|
args: [{
|
|
1835
1701
|
selector: '[rxapTableRowActionExecuting]'
|
|
@@ -1864,6 +1730,7 @@ class TableRowActionDirective {
|
|
|
1864
1730
|
this.matButton = matButton;
|
|
1865
1731
|
this._hasConfirmDirective = false;
|
|
1866
1732
|
this._currentStatus = TableRowActionStatus.DONE;
|
|
1733
|
+
this._actionDisabled = false;
|
|
1867
1734
|
this.actionMethodList = coerceArray(actionMethodList);
|
|
1868
1735
|
}
|
|
1869
1736
|
set hasConfirmDirective(value) {
|
|
@@ -1884,23 +1751,24 @@ class TableRowActionDirective {
|
|
|
1884
1751
|
}
|
|
1885
1752
|
return Promise.resolve();
|
|
1886
1753
|
}
|
|
1887
|
-
execute() {
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
}
|
|
1903
|
-
|
|
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
|
+
}
|
|
1904
1772
|
}
|
|
1905
1773
|
getElementList() {
|
|
1906
1774
|
return [this.element];
|
|
@@ -1921,18 +1789,28 @@ class TableRowActionDirective {
|
|
|
1921
1789
|
findTypedActionMethod() {
|
|
1922
1790
|
return this.actionMethodList.filter(IsTableRowActionTypeMethod(this.type));
|
|
1923
1791
|
}
|
|
1792
|
+
/**
|
|
1793
|
+
* Disables the action. If the button is pressed the action is NOT executed
|
|
1794
|
+
*
|
|
1795
|
+
* Hint: the button is set to disabled = true to prevent any conflict with
|
|
1796
|
+
* extern button enable features linke : rxapHasEnablePermission
|
|
1797
|
+
* @protected
|
|
1798
|
+
*/
|
|
1924
1799
|
setButtonDisabled() {
|
|
1925
|
-
|
|
1926
|
-
this.matButton.disabled = true;
|
|
1927
|
-
}
|
|
1800
|
+
this._actionDisabled = true;
|
|
1928
1801
|
}
|
|
1802
|
+
/**
|
|
1803
|
+
* Enables the action. If the button is pressed the action is executed
|
|
1804
|
+
*
|
|
1805
|
+
* TODO : find a way to communicate the disabled state between the features
|
|
1806
|
+
* Hint: the button is set to disabled = false to prevent any conflict with
|
|
1807
|
+
* extern button enable features linke : rxapHasEnablePermission
|
|
1808
|
+
* @protected
|
|
1809
|
+
*/
|
|
1929
1810
|
setButtonEnabled() {
|
|
1930
|
-
|
|
1931
|
-
this.matButton.disabled = false;
|
|
1932
|
-
}
|
|
1811
|
+
this._actionDisabled = false;
|
|
1933
1812
|
}
|
|
1934
1813
|
setStatus(status) {
|
|
1935
|
-
var _a, _b;
|
|
1936
1814
|
if (this._currentStatus === status) {
|
|
1937
1815
|
return;
|
|
1938
1816
|
}
|
|
@@ -1940,7 +1818,7 @@ class TableRowActionDirective {
|
|
|
1940
1818
|
switch (status) {
|
|
1941
1819
|
case TableRowActionStatus.EXECUTING:
|
|
1942
1820
|
this.setButtonDisabled();
|
|
1943
|
-
|
|
1821
|
+
this.executingDirective?.show();
|
|
1944
1822
|
break;
|
|
1945
1823
|
case TableRowActionStatus.SUCCESS:
|
|
1946
1824
|
if (this.refresh) {
|
|
@@ -1959,14 +1837,14 @@ class TableRowActionDirective {
|
|
|
1959
1837
|
break;
|
|
1960
1838
|
case TableRowActionStatus.DONE:
|
|
1961
1839
|
this.setButtonEnabled();
|
|
1962
|
-
|
|
1840
|
+
this.executingDirective?.hide();
|
|
1963
1841
|
break;
|
|
1964
1842
|
}
|
|
1965
1843
|
this.cdr.detectChanges();
|
|
1966
1844
|
}
|
|
1967
1845
|
}
|
|
1968
|
-
TableRowActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1969
|
-
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 });
|
|
1970
1848
|
__decorate([
|
|
1971
1849
|
Required,
|
|
1972
1850
|
__metadata("design:type", Object)
|
|
@@ -1975,7 +1853,7 @@ __decorate([
|
|
|
1975
1853
|
Required,
|
|
1976
1854
|
__metadata("design:type", String)
|
|
1977
1855
|
], TableRowActionDirective.prototype, "type", void 0);
|
|
1978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionDirective, decorators: [{
|
|
1979
1857
|
type: Directive,
|
|
1980
1858
|
args: [{
|
|
1981
1859
|
selector: 'button[rxapTableRowAction]'
|
|
@@ -2031,8 +1909,7 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2031
1909
|
this.selectRowService = selectRowService;
|
|
2032
1910
|
}
|
|
2033
1911
|
ngOnDestroy() {
|
|
2034
|
-
|
|
2035
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1912
|
+
this._subscription?.unsubscribe();
|
|
2036
1913
|
}
|
|
2037
1914
|
ngOnInit() {
|
|
2038
1915
|
if (this.selectRowService) {
|
|
@@ -2053,17 +1930,16 @@ class TableRowHeaderActionDirective extends TableRowActionDirective {
|
|
|
2053
1930
|
}
|
|
2054
1931
|
}
|
|
2055
1932
|
getElementList() {
|
|
2056
|
-
|
|
2057
|
-
return (_b = (_a = this.selectRowService) === null || _a === void 0 ? void 0 : _a.selectedRows) !== null && _b !== void 0 ? _b : [];
|
|
1933
|
+
return this.selectRowService?.selectedRows ?? [];
|
|
2058
1934
|
}
|
|
2059
1935
|
}
|
|
2060
|
-
TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2061
|
-
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 });
|
|
2062
1938
|
__decorate([
|
|
2063
1939
|
Required,
|
|
2064
1940
|
__metadata("design:type", String)
|
|
2065
1941
|
], TableRowHeaderActionDirective.prototype, "type", void 0);
|
|
2066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
|
|
2067
1943
|
type: Directive,
|
|
2068
1944
|
args: [{
|
|
2069
1945
|
selector: 'button[rxapTableRowHeaderAction]'
|
|
@@ -2100,8 +1976,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
2100
1976
|
|
|
2101
1977
|
class TableRowActionsModule {
|
|
2102
1978
|
}
|
|
2103
|
-
TableRowActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2104
|
-
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,
|
|
2105
1981
|
TableRowActionExecutingDirective,
|
|
2106
1982
|
TableRowHeaderActionDirective], exports: [TableRowActionDirective,
|
|
2107
1983
|
TableRowHeaderActionDirective,
|
|
@@ -2112,13 +1988,13 @@ TableRowActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", v
|
|
|
2112
1988
|
MatIconModule,
|
|
2113
1989
|
MatProgressBarModule,
|
|
2114
1990
|
CommonModule] });
|
|
2115
|
-
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,
|
|
2116
1992
|
MatButtonModule,
|
|
2117
1993
|
ConfirmComponentModule,
|
|
2118
1994
|
MatIconModule,
|
|
2119
1995
|
MatProgressBarModule,
|
|
2120
1996
|
CommonModule] });
|
|
2121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowActionsModule, decorators: [{
|
|
2122
1998
|
type: NgModule,
|
|
2123
1999
|
args: [{
|
|
2124
2000
|
declarations: [
|
|
@@ -2148,4 +2024,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
2148
2024
|
*/
|
|
2149
2025
|
|
|
2150
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 };
|
|
2151
|
-
//# sourceMappingURL=rxap-material-table-system.
|
|
2027
|
+
//# sourceMappingURL=rxap-material-table-system.mjs.map
|