@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,74 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, ContentChild, ViewContainerRef, Inject } from '@angular/core';
|
|
3
|
-
import { ExpandRowContentDirective } from './expand-row-content.directive';
|
|
4
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
5
|
-
import { Required } from '@rxap/utilities';
|
|
6
|
-
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
7
|
-
import { ExpandRowService } from '../expand-row.service';
|
|
8
|
-
import { tap, filter } from 'rxjs/operators';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@angular/cdk/portal";
|
|
11
|
-
import * as i2 from "@angular/common";
|
|
12
|
-
import * as i3 from "../expand-row.service";
|
|
13
|
-
export class ExpandRowContainerComponent {
|
|
14
|
-
constructor(viewContainerRef, expandCell) {
|
|
15
|
-
this.viewContainerRef = viewContainerRef;
|
|
16
|
-
this.expandCell = expandCell;
|
|
17
|
-
this.portal = null;
|
|
18
|
-
}
|
|
19
|
-
ngOnDestroy() {
|
|
20
|
-
var _a;
|
|
21
|
-
(_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
22
|
-
}
|
|
23
|
-
ngAfterContentInit() {
|
|
24
|
-
if (this.expandCellContent) {
|
|
25
|
-
this._subscription = this.expandCell.isExpanded$(this.element).pipe(filter(Boolean), tap(() => {
|
|
26
|
-
if (!this.portal) {
|
|
27
|
-
this.portal = new TemplatePortal(this.expandCellContent.template, this.viewContainerRef, { $implicit: this.element });
|
|
28
|
-
}
|
|
29
|
-
})).subscribe();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
ExpandRowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContainerComponent, deps: [{ token: ViewContainerRef }, { token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
ExpandRowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", 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}"], directives: [{ type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i2.AsyncPipe }, animations: [
|
|
35
|
-
trigger('detailExpand', [
|
|
36
|
-
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
37
|
-
state('expanded', style({ height: '*' })),
|
|
38
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
39
|
-
])
|
|
40
|
-
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
-
__decorate([
|
|
42
|
-
Required,
|
|
43
|
-
__metadata("design:type", Object)
|
|
44
|
-
], ExpandRowContainerComponent.prototype, "element", void 0);
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContainerComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{
|
|
48
|
-
// tslint:disable-next-line:component-selector
|
|
49
|
-
selector: 'td[rxap-expand-row]',
|
|
50
|
-
templateUrl: './expand-row-container.component.html',
|
|
51
|
-
styleUrls: ['./expand-row-container.component.scss'],
|
|
52
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
53
|
-
host: { class: 'rxap-expand-row' },
|
|
54
|
-
animations: [
|
|
55
|
-
trigger('detailExpand', [
|
|
56
|
-
state('collapsed', style({ height: '0px', minHeight: '0' })),
|
|
57
|
-
state('expanded', style({ height: '*' })),
|
|
58
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
|
|
59
|
-
])
|
|
60
|
-
]
|
|
61
|
-
}]
|
|
62
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef, decorators: [{
|
|
63
|
-
type: Inject,
|
|
64
|
-
args: [ViewContainerRef]
|
|
65
|
-
}] }, { type: i3.ExpandRowService, decorators: [{
|
|
66
|
-
type: Inject,
|
|
67
|
-
args: [ExpandRowService]
|
|
68
|
-
}] }]; }, propDecorators: { element: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], expandCellContent: [{
|
|
71
|
-
type: ContentChild,
|
|
72
|
-
args: [ExpandRowContentDirective]
|
|
73
|
-
}] } });
|
|
74
|
-
//# sourceMappingURL=expand-row-container.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expand-row-container.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts","../../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACL,YAAY,EACZ,gBAAgB,EAGhB,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,OAAO,EACP,KAAK,EACL,KAAK,EACL,UAAU,EACV,OAAO,EACR,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EACL,GAAG,EACH,MAAM,EACP,MAAM,gBAAgB,CAAC;;;;;AAiBxB,MAAM,OAAO,2BAA2B;IAatC,YAEmB,gBAAkC,EAEnC,UAAkC;QAFjC,qBAAgB,GAAhB,gBAAgB,CAAkB;QAEnC,eAAU,GAAV,UAAU,CAAwB;QAR7C,WAAM,GAAmE,IAAI,CAAC;IASlF,CAAC;IAEG,WAAW;;QAChB,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,CAAC;IACpC,CAAC;IAEM,kBAAkB;QACvB,IAAI,IAAI,CAAC,iBAAiB,EAAE;YAC1B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CACjE,MAAM,CAAC,OAAO,CAAC,EACf,GAAG,CAAC,GAAG,EAAE;gBACP,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;oBAChB,IAAI,CAAC,MAAM,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,iBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,gBAAgB,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;iBACxH;YACH,CAAC,CAAC,CACH,CAAC,SAAS,EAAE,CAAC;SACf;IACH,CAAC;;wHAnCU,2BAA2B,kBAc5B,gBAAgB,aAEhB,gBAAgB;4GAhBf,2BAA2B,uLAMxB,yBAAyB,gDCnDzC,4NAIA,yQDiCmB;QACf,OAAO,CAAC,cAAc,EAAE;YACtB,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;YAC5D,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;YACzC,UAAU,CAAC,wBAAwB,EAAE,OAAO,CAAC,sCAAsC,CAAC,CAAC;SACtF,CAAC;KACH;AAMD;IADC,QAAQ;;4DACa;2FAJX,2BAA2B;kBAfvC,SAAS;mBAAC;oBACT,8CAA8C;oBAC9C,QAAQ,EAAS,qBAAqB;oBACtC,WAAW,EAAM,uCAAuC;oBACxD,SAAS,EAAQ,CAAE,uCAAuC,CAAE;oBAC5D,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAa,EAAE,KAAK,EAAE,iBAAiB,EAAE;oBAC7C,UAAU,EAAO;wBACf,OAAO,CAAC,cAAc,EAAE;4BACtB,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;4BAC5D,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;4BACzC,UAAU,CAAC,wBAAwB,EAAE,OAAO,CAAC,sCAAsC,CAAC,CAAC;yBACtF,CAAC;qBACH;iBACF;;0BAeI,MAAM;2BAAC,gBAAgB;;0BAEvB,MAAM;2BAAC,gBAAgB;4CAZnB,OAAO;sBAFb,KAAK;gBAKC,iBAAiB;sBADvB,YAAY;uBAAC,yBAAyB","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input,\n ContentChild,\n ViewContainerRef,\n OnDestroy,\n AfterContentInit,\n Inject\n} from '@angular/core';\nimport {\n ExpandRowContentDirective,\n ExpandCellContentDirectiveContext\n} from './expand-row-content.directive';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { Required } from '@rxap/utilities';\nimport {\n trigger,\n state,\n style,\n transition,\n animate\n} from '@angular/animations';\nimport { ExpandRowService } from '../expand-row.service';\nimport { Subscription } from 'rxjs';\nimport {\n tap,\n filter\n} from 'rxjs/operators';\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'td[rxap-expand-row]',\n templateUrl: './expand-row-container.component.html',\n styleUrls: [ './expand-row-container.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-expand-row' },\n animations: [\n trigger('detailExpand', [\n state('collapsed', style({ height: '0px', minHeight: '0' })),\n state('expanded', style({ height: '*' })),\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))\n ])\n ]\n})\nexport class ExpandRowContainerComponent<Data extends Record<string, any>> implements AfterContentInit, OnDestroy {\n\n @Input()\n @Required\n public element!: Data;\n\n @ContentChild(ExpandRowContentDirective)\n public expandCellContent?: ExpandRowContentDirective<Data>;\n\n public portal: TemplatePortal<ExpandCellContentDirectiveContext<Data>> | null = null;\n\n private _subscription?: Subscription;\n\n constructor(\n @Inject(ViewContainerRef)\n private readonly viewContainerRef: ViewContainerRef,\n @Inject(ExpandRowService)\n public readonly expandCell: ExpandRowService<Data>\n ) {}\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngAfterContentInit() {\n if (this.expandCellContent) {\n this._subscription = this.expandCell.isExpanded$(this.element).pipe(\n filter(Boolean),\n tap(() => {\n if (!this.portal) {\n this.portal = new TemplatePortal(this.expandCellContent!.template, this.viewContainerRef, { $implicit: this.element });\n }\n })\n ).subscribe();\n }\n }\n\n}\n","<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"]}
|
package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { ExpandRowContainerComponent } from './expand-row-container.component';
|
|
3
|
-
import { ExpandRowContentDirective } from './expand-row-content.directive';
|
|
4
|
-
import { PortalModule } from '@angular/cdk/portal';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class ExpandRowContainerComponentModule {
|
|
8
|
-
}
|
|
9
|
-
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContainerComponentModule, declarations: [ExpandRowContainerComponent,
|
|
11
|
-
ExpandRowContentDirective], imports: [PortalModule,
|
|
12
|
-
CommonModule], exports: [ExpandRowContainerComponent,
|
|
13
|
-
ExpandRowContentDirective] });
|
|
14
|
-
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContainerComponentModule, imports: [[
|
|
15
|
-
PortalModule,
|
|
16
|
-
CommonModule
|
|
17
|
-
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContainerComponentModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
declarations: [
|
|
22
|
-
ExpandRowContainerComponent,
|
|
23
|
-
ExpandRowContentDirective
|
|
24
|
-
],
|
|
25
|
-
imports: [
|
|
26
|
-
PortalModule,
|
|
27
|
-
CommonModule
|
|
28
|
-
],
|
|
29
|
-
exports: [
|
|
30
|
-
ExpandRowContainerComponent,
|
|
31
|
-
ExpandRowContentDirective
|
|
32
|
-
]
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
//# sourceMappingURL=expand-row-container.component.module.js.map
|
package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expand-row-container.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAiB/C,MAAM,OAAO,iCAAiC;;8HAAjC,iCAAiC;+HAAjC,iCAAiC,iBAZ1C,2BAA2B;QAC3B,yBAAyB,aAGzB,YAAY;QACZ,YAAY,aAGZ,2BAA2B;QAC3B,yBAAyB;+HAGhB,iCAAiC,YAT9B;YACZ,YAAY;YACZ,YAAY;SACb;2FAMU,iCAAiC;kBAd7C,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,2BAA2B;wBAC3B,yBAAyB;qBAC1B;oBACD,OAAO,EAAO;wBACZ,YAAY;wBACZ,YAAY;qBACb;oBACD,OAAO,EAAO;wBACZ,2BAA2B;wBAC3B,yBAAyB;qBAC1B;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { ExpandRowContainerComponent } from './expand-row-container.component';\nimport { ExpandRowContentDirective } from './expand-row-content.directive';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\n\n\n@NgModule({\n declarations: [\n ExpandRowContainerComponent,\n ExpandRowContentDirective\n ],\n imports: [\n PortalModule,\n CommonModule\n ],\n exports: [\n ExpandRowContainerComponent,\n ExpandRowContentDirective\n ]\n})\nexport class ExpandRowContainerComponentModule {}\n"]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Directive, TemplateRef, Inject } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ExpandRowContentDirective {
|
|
4
|
-
constructor(template) {
|
|
5
|
-
this.template = template;
|
|
6
|
-
}
|
|
7
|
-
static ngTemplateContextGuard(dir, ctx) {
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
-
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: ExpandRowContentDirective, selector: "[rxapExpandRowContent]", ngImport: i0 });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
14
|
-
type: Directive,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: '[rxapExpandRowContent]'
|
|
17
|
-
}]
|
|
18
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
19
|
-
type: Inject,
|
|
20
|
-
args: [TemplateRef]
|
|
21
|
-
}] }]; } });
|
|
22
|
-
//# sourceMappingURL=expand-row-content.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expand-row-content.directive.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row-container/expand-row-content.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,MAAM,EACP,MAAM,eAAe,CAAC;;AASvB,MAAM,OAAO,yBAAyB;IAQpC,YAEkB,QAA8D;QAA9D,aAAQ,GAAR,QAAQ,CAAsD;IAC7E,CAAC;IARJ,MAAM,CAAC,sBAAsB,CAAmC,GAAoC,EAAE,GAAQ;QAE5G,OAAO,IAAI,CAAC;IACd,CAAC;;sHANU,yBAAyB,kBAS1B,WAAW;0GATV,yBAAyB;2FAAzB,yBAAyB;kBAHrC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;iBACnC;;0BAUI,MAAM;2BAAC,WAAW","sourcesContent":["import {\n Directive,\n TemplateRef,\n Inject\n} from '@angular/core';\n\nexport interface ExpandCellContentDirectiveContext<Data extends Record<string, any>> {\n $implicit: Data\n}\n\n@Directive({\n selector: '[rxapExpandRowContent]'\n})\nexport class ExpandRowContentDirective<Data extends Record<string, any>> {\n\n\n static ngTemplateContextGuard<Data extends Record<string, any>>(dir: ExpandRowContentDirective<Data>, ctx: any):\n ctx is ExpandCellContentDirectiveContext<Data> {\n return true;\n }\n\n constructor(\n @Inject(TemplateRef)\n public readonly template: TemplateRef<ExpandCellContentDirectiveContext<Data>>\n ) {}\n\n}\n"]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Directive, Input, HostListener, Inject } from '@angular/core';
|
|
3
|
-
import { ExpandRowService } from './expand-row.service';
|
|
4
|
-
import { Required } from '@rxap/utilities';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./expand-row.service";
|
|
7
|
-
export class ExpandRowDirective {
|
|
8
|
-
constructor(expandCell) {
|
|
9
|
-
this.expandCell = expandCell;
|
|
10
|
-
}
|
|
11
|
-
get isExpanded() {
|
|
12
|
-
return this.expandCell.isExpanded(this.element);
|
|
13
|
-
}
|
|
14
|
-
onClick() {
|
|
15
|
-
this.expandCell.toggleRow(this.element);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
-
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: ExpandRowDirective, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 });
|
|
20
|
-
__decorate([
|
|
21
|
-
Required,
|
|
22
|
-
__metadata("design:type", Object)
|
|
23
|
-
], ExpandRowDirective.prototype, "element", void 0);
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
25
|
-
type: Directive,
|
|
26
|
-
args: [{
|
|
27
|
-
selector: 'tr[rxapExpandRow]'
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i1.ExpandRowService, decorators: [{
|
|
30
|
-
type: Inject,
|
|
31
|
-
args: [ExpandRowService]
|
|
32
|
-
}] }]; }, propDecorators: { isExpanded: [{
|
|
33
|
-
type: HostListener,
|
|
34
|
-
args: ['expanded-row']
|
|
35
|
-
}], element: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], onClick: [{
|
|
38
|
-
type: HostListener,
|
|
39
|
-
args: ['click']
|
|
40
|
-
}] } });
|
|
41
|
-
//# sourceMappingURL=expand-row.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expand-row.directive.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;;;AAK3C,MAAM,OAAO,kBAAkB;IAW7B,YAEmB,UAAkC;QAAlC,eAAU,GAAV,UAAU,CAAwB;IACjD,CAAC;IAZL,IACW,UAAU;QACnB,OAAO,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAClD,CAAC;IAYM,OAAO;QACZ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;;+GAnBU,kBAAkB,kBAYnB,gBAAgB;mGAZf,kBAAkB;AAS7B;IADC,QAAQ;;mDACa;2FATX,kBAAkB;kBAH9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;iBAC9B;;0BAaI,MAAM;2BAAC,gBAAgB;4CATf,UAAU;sBADpB,YAAY;uBAAC,cAAc;gBAOrB,OAAO;sBAFb,KAAK;gBAUC,OAAO;sBADb,YAAY;uBAAC,OAAO","sourcesContent":["import {\n Directive,\n Input,\n HostListener,\n Inject\n} from '@angular/core';\nimport { ExpandRowService } from './expand-row.service';\nimport { Required } from '@rxap/utilities';\n\n@Directive({\n selector: 'tr[rxapExpandRow]'\n})\nexport class ExpandRowDirective<Data extends Record<string, any>> {\n\n @HostListener('expanded-row')\n public get isExpanded() {\n return this.expandCell.isExpanded(this.element);\n }\n\n @Input()\n @Required\n public element!: Data;\n\n constructor(\n @Inject(ExpandRowService)\n private readonly expandCell: ExpandRowService<Data>\n ) { }\n\n @HostListener('click')\n public onClick() {\n this.expandCell.toggleRow(this.element);\n }\n\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { ExpandRowContainerComponentModule } from './expand-row-container/expand-row-container.component.module';
|
|
3
|
-
import { ExpandControlsCellComponentModule } from './expand-controls-cell/expand-controls-cell.component.module';
|
|
4
|
-
import { ExpandRowService } from './expand-row.service';
|
|
5
|
-
import { ExpandRowDirective } from './expand-row.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class ExpandRowModule {
|
|
8
|
-
}
|
|
9
|
-
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowModule, declarations: [ExpandRowDirective], exports: [ExpandRowContainerComponentModule,
|
|
11
|
-
ExpandControlsCellComponentModule,
|
|
12
|
-
ExpandRowDirective] });
|
|
13
|
-
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowModule, providers: [
|
|
14
|
-
ExpandRowService
|
|
15
|
-
], imports: [ExpandRowContainerComponentModule,
|
|
16
|
-
ExpandControlsCellComponentModule] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
18
|
-
type: NgModule,
|
|
19
|
-
args: [{
|
|
20
|
-
exports: [
|
|
21
|
-
ExpandRowContainerComponentModule,
|
|
22
|
-
ExpandControlsCellComponentModule,
|
|
23
|
-
ExpandRowDirective
|
|
24
|
-
],
|
|
25
|
-
providers: [
|
|
26
|
-
ExpandRowService
|
|
27
|
-
],
|
|
28
|
-
declarations: [ExpandRowDirective]
|
|
29
|
-
}]
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=expand-row.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expand-row.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAa5D,MAAM,OAAO,eAAe;;4GAAf,eAAe;6GAAf,eAAe,iBAFV,kBAAkB,aAPhC,iCAAiC;QACjC,iCAAiC;QACjC,kBAAkB;6GAOT,eAAe,aALZ;QACZ,gBAAgB;KACjB,YANC,iCAAiC;QACjC,iCAAiC;2FAQxB,eAAe;kBAX3B,QAAQ;mBAAC;oBACR,OAAO,EAAO;wBACZ,iCAAiC;wBACjC,iCAAiC;wBACjC,kBAAkB;qBACnB;oBACD,SAAS,EAAK;wBACZ,gBAAgB;qBACjB;oBACD,YAAY,EAAE,CAAE,kBAAkB,CAAE;iBACrC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { ExpandRowContainerComponentModule } from './expand-row-container/expand-row-container.component.module';\nimport { ExpandControlsCellComponentModule } from './expand-controls-cell/expand-controls-cell.component.module';\nimport { ExpandRowService } from './expand-row.service';\nimport { ExpandRowDirective } from './expand-row.directive';\n\n@NgModule({\n exports: [\n ExpandRowContainerComponentModule,\n ExpandControlsCellComponentModule,\n ExpandRowDirective\n ],\n providers: [\n ExpandRowService\n ],\n declarations: [ ExpandRowDirective ]\n})\nexport class ExpandRowModule {}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { map } from 'rxjs/operators';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class ExpandRowService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.expandedRow = new BehaviorSubject(null);
|
|
8
|
-
}
|
|
9
|
-
toggleRow(row) {
|
|
10
|
-
if (this.expandedRow.value === row) {
|
|
11
|
-
this.expandedRow.next(null);
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
this.expandedRow.next(row);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
isExpanded(row) {
|
|
18
|
-
return this.expandedRow.value === row;
|
|
19
|
-
}
|
|
20
|
-
isExpanded$(row) {
|
|
21
|
-
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
-
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowService });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
27
|
-
type: Injectable
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=expand-row.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expand-row.service.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/expand-row/expand-row.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;;AAGrC,MAAM,OAAO,gBAAgB;IAD7B;QAES,gBAAW,GAAG,IAAI,eAAe,CAAc,IAAI,CAAC,CAAC;KAiB7D;IAfQ,SAAS,CAAC,GAAS;QACxB,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,GAAG,EAAE;YAClC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC7B;aAAM;YACL,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SAC5B;IACH,CAAC;IAEM,UAAU,CAAC,GAAS;QACzB,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,GAAG,CAAC;IACxC,CAAC;IAEM,WAAW,CAAC,GAAS;QAC1B,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,KAAK,GAAG,CAAC,CAAC,CAAC;IAC1E,CAAC;;6GAjBU,gBAAgB;iHAAhB,gBAAgB;2FAAhB,gBAAgB;kBAD5B,UAAU","sourcesContent":["import { Injectable } from '@angular/core';\nimport type { Observable } from 'rxjs';\nimport { BehaviorSubject } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\n@Injectable()\nexport class ExpandRowService<Data extends Record<string, any>> {\n public expandedRow = new BehaviorSubject<Data | null>(null);\n\n public toggleRow(row: Data): void {\n if (this.expandedRow.value === row) {\n this.expandedRow.next(null);\n } else {\n this.expandedRow.next(row);\n }\n }\n\n public isExpanded(row: Data) {\n return this.expandedRow.value === row;\n }\n\n public isExpanded$(row: Data): Observable<boolean> {\n return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));\n }\n}\n"]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Directive, NgModule, Input } from '@angular/core';
|
|
2
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/material/paginator";
|
|
5
|
-
export class PersistentPaginatorDirective {
|
|
6
|
-
constructor(matPaginator) {
|
|
7
|
-
this.matPaginator = matPaginator;
|
|
8
|
-
}
|
|
9
|
-
ngOnInit() {
|
|
10
|
-
const config = this.restoreConfig();
|
|
11
|
-
if (config) {
|
|
12
|
-
this.matPaginator.pageSize = config.pageSize;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
ngOnDestroy() {
|
|
16
|
-
this.storeConfig();
|
|
17
|
-
}
|
|
18
|
-
getKey() {
|
|
19
|
-
return 'rxap_mat-paginator-persistent' + this.id;
|
|
20
|
-
}
|
|
21
|
-
storeConfig() {
|
|
22
|
-
const pageSize = this.matPaginator.pageSize;
|
|
23
|
-
localStorage.setItem(this.getKey(), JSON.stringify({ pageSize }));
|
|
24
|
-
}
|
|
25
|
-
restoreConfig() {
|
|
26
|
-
const configStorage = localStorage.getItem(this.getKey());
|
|
27
|
-
if (configStorage) {
|
|
28
|
-
try {
|
|
29
|
-
return JSON.parse(configStorage);
|
|
30
|
-
}
|
|
31
|
-
catch (e) {
|
|
32
|
-
console.warn(`Could not parse mat paginator persistent config: ${e.message}`);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1.MatPaginator }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: PersistentPaginatorDirective, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
41
|
-
type: Directive,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: 'mat-paginator[rxapPersistent]'
|
|
44
|
-
}]
|
|
45
|
-
}], ctorParameters: function () { return [{ type: i1.MatPaginator }]; }, propDecorators: { id: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}] } });
|
|
48
|
-
export class PersistentPaginatorDirectiveModule {
|
|
49
|
-
}
|
|
50
|
-
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PersistentPaginatorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
51
|
-
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PersistentPaginatorDirectiveModule, declarations: [PersistentPaginatorDirective], exports: [PersistentPaginatorDirective] });
|
|
52
|
-
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PersistentPaginatorDirectiveModule });
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
54
|
-
type: NgModule,
|
|
55
|
-
args: [{
|
|
56
|
-
exports: [PersistentPaginatorDirective],
|
|
57
|
-
declarations: [PersistentPaginatorDirective]
|
|
58
|
-
}]
|
|
59
|
-
}] });
|
|
60
|
-
//# sourceMappingURL=persistent-paginator.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"persistent-paginator.directive.js","sourceRoot":"","sources":["../../../../../../libs/material/table-system/src/lib/persistent-paginator.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,KAAK,EAGN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;;;AAK3D,MAAM,OAAO,4BAA4B;IAKvC,YACmB,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAC1C,CAAC;IAEG,QAAQ;QACb,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QACpC,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,YAAY,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;SAC9C;IACH,CAAC;IAEM,WAAW;QAChB,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAEM,MAAM;QACX,OAAO,+BAA+B,GAAG,IAAI,CAAC,EAAE,CAAC;IACnD,CAAC;IAEM,WAAW;QAChB,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;QAC5C,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,aAAa;QAClB,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QAC1D,IAAI,aAAa,EAAE;YACjB,IAAI;gBACF,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;aAClC;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;aAC/E;SACF;QACD,OAAO,IAAI,CAAC;IACd,CAAC;;yHAvCU,4BAA4B;6GAA5B,4BAA4B;2FAA5B,4BAA4B;kBAHxC,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;iBAC1C;mGAIQ,EAAE;sBADR,KAAK;;AA6CR,MAAM,OAAO,kCAAkC;;+HAAlC,kCAAkC;gIAAlC,kCAAkC,iBA/ClC,4BAA4B,aAA5B,4BAA4B;gIA+C5B,kCAAkC;2FAAlC,kCAAkC;kBAJ9C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAE,4BAA4B,CAAE;oBACzC,YAAY,EAAE,CAAE,4BAA4B,CAAE;iBAC/C","sourcesContent":["import {\n Directive,\n NgModule,\n Input,\n OnDestroy,\n OnInit\n} from '@angular/core';\nimport { MatPaginator } from '@angular/material/paginator';\n\n@Directive({\n selector: 'mat-paginator[rxapPersistent]'\n})\nexport class PersistentPaginatorDirective implements OnInit, OnDestroy {\n\n @Input()\n public id?: string;\n\n constructor(\n private readonly matPaginator: MatPaginator\n ) {}\n\n public ngOnInit() {\n const config = this.restoreConfig();\n if (config) {\n this.matPaginator.pageSize = config.pageSize;\n }\n }\n\n public ngOnDestroy() {\n this.storeConfig();\n }\n\n public getKey() {\n return 'rxap_mat-paginator-persistent' + this.id;\n }\n\n public storeConfig() {\n const pageSize = this.matPaginator.pageSize;\n localStorage.setItem(this.getKey(), JSON.stringify({ pageSize }));\n }\n\n public restoreConfig(): { pageSize: number } | null {\n const configStorage = localStorage.getItem(this.getKey());\n if (configStorage) {\n try {\n return JSON.parse(configStorage);\n } catch (e) {\n console.warn(`Could not parse mat paginator persistent config: ${e.message}`);\n }\n }\n return null;\n }\n\n}\n\n@NgModule({\n exports: [ PersistentPaginatorDirective ],\n declarations: [ PersistentPaginatorDirective ]\n})\nexport class PersistentPaginatorDirectiveModule {}\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { trigger, transition, style, sequence, animate } from '@angular/animations';
|
|
2
|
-
const offset = '50';
|
|
3
|
-
export const RowAnimation = trigger('rowsAnimation', [
|
|
4
|
-
transition('void => *', [
|
|
5
|
-
style({
|
|
6
|
-
height: '*',
|
|
7
|
-
opacity: '0',
|
|
8
|
-
transform: 'translateY(' + (-offset).toString() + 'px)',
|
|
9
|
-
'box-shadow': 'none'
|
|
10
|
-
}),
|
|
11
|
-
sequence([
|
|
12
|
-
animate('.2s ease', style({
|
|
13
|
-
height: '*',
|
|
14
|
-
opacity: '.2',
|
|
15
|
-
transform: 'translateX(0)',
|
|
16
|
-
'box-shadow': 'none'
|
|
17
|
-
})),
|
|
18
|
-
animate('.35s ease', style({ height: '*', opacity: 1, transform: 'translateX(0)' }))
|
|
19
|
-
])
|
|
20
|
-
]),
|
|
21
|
-
transition('* => void', [
|
|
22
|
-
style({ height: '0', opacity: '0', 'box-shadow': 'none' })
|
|
23
|
-
])
|
|
24
|
-
]);
|
|
25
|
-
//# sourceMappingURL=row-animation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"row-animation.js","sourceRoot":"","sources":["../../../../../../libs/material/table-system/src/lib/row-animation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,UAAU,EACV,KAAK,EACL,QAAQ,EACR,OAAO,EACR,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,EAAE;IACnD,UAAU,CAAC,WAAW,EAAE;QACtB,KAAK,CAAC;YACJ,MAAM,EAAQ,GAAG;YACjB,OAAO,EAAO,GAAG;YACjB,SAAS,EAAK,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,GAAG,KAAK;YAC1D,YAAY,EAAE,MAAM;SACrB,CAAC;QACF,QAAQ,CAAC;YACP,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC;gBACxB,MAAM,EAAQ,GAAG;gBACjB,OAAO,EAAO,IAAI;gBAClB,SAAS,EAAK,eAAe;gBAC7B,YAAY,EAAE,MAAM;aACrB,CAAC,CAAC;YACH,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;SACrF,CAAC;KACH,CAAC;IACF,UAAU,CAAC,WAAW,EAAE;QACtB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC;KAC3D,CAAC;CACH,CAAC,CAAC","sourcesContent":["import {\n trigger,\n transition,\n style,\n sequence,\n animate\n} from '@angular/animations';\n\nconst offset = '50';\n\nexport const RowAnimation = trigger('rowsAnimation', [\n transition('void => *', [\n style({\n height: '*',\n opacity: '0',\n transform: 'translateY(' + (-offset).toString() + 'px)',\n 'box-shadow': 'none'\n }),\n sequence([\n animate('.2s ease', style({\n height: '*',\n opacity: '.2',\n transform: 'translateX(0)',\n 'box-shadow': 'none'\n })),\n animate('.35s ease', style({ height: '*', opacity: 1, transform: 'translateX(0)' }))\n ])\n ]),\n transition('* => void', [\n style({ height: '0', opacity: '0', 'box-shadow': 'none' })\n ])\n]);\n"]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, Inject } from '@angular/core';
|
|
3
|
-
import { Required } from '@rxap/utilities';
|
|
4
|
-
import { SelectRowService } from '../select-row.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/material/checkbox";
|
|
7
|
-
import * as i2 from "../select-row.service";
|
|
8
|
-
export class CheckboxCellComponent {
|
|
9
|
-
constructor(selectRow) {
|
|
10
|
-
this.selectRow = selectRow;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", 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.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
15
|
-
__decorate([
|
|
16
|
-
Required,
|
|
17
|
-
__metadata("design:type", Object)
|
|
18
|
-
], CheckboxCellComponent.prototype, "element", void 0);
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{
|
|
22
|
-
selector: 'td[rxap-checkbox-cell]',
|
|
23
|
-
templateUrl: './checkbox-cell.component.html',
|
|
24
|
-
styleUrls: ['./checkbox-cell.component.scss'],
|
|
25
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
26
|
-
host: { class: 'rxap-checkbox-cell' }
|
|
27
|
-
}]
|
|
28
|
-
}], ctorParameters: function () { return [{ type: i2.SelectRowService, decorators: [{
|
|
29
|
-
type: Inject,
|
|
30
|
-
args: [SelectRowService]
|
|
31
|
-
}] }]; }, propDecorators: { element: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}] } });
|
|
34
|
-
//# sourceMappingURL=checkbox-cell.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-cell.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/select-row/checkbox-cell/checkbox-cell.component.ts","../../../../../../../../libs/material/table-system/src/lib/select-row/checkbox-cell/checkbox-cell.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACL,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;;;;AASzD,MAAM,OAAO,qBAAqB;IAMhC,YAEkB,SAAiC;QAAjC,cAAS,GAAT,SAAS,CAAwB;IAChD,CAAC;;kHATO,qBAAqB,kBAOtB,gBAAgB;sGAPf,qBAAqB,8IChBlC,0JAIA;ADgBE;IADC,QAAQ;;sDACa;2FAJX,qBAAqB;kBAPjC,SAAS;mBAAC;oBACT,QAAQ,EAAS,wBAAwB;oBACzC,WAAW,EAAM,gCAAgC;oBACjD,SAAS,EAAQ,CAAE,gCAAgC,CAAE;oBACrD,eAAe,EAAE,uBAAuB,CAAC,OAAO;oBAChD,IAAI,EAAa,EAAE,KAAK,EAAE,oBAAoB,EAAE;iBACjD;;0BAQI,MAAM;2BAAC,gBAAgB;4CAHnB,OAAO;sBAFb,KAAK","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input,\n Inject\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { SelectRowService } from '../select-row.service';\n\n@Component({\n selector: 'td[rxap-checkbox-cell]',\n templateUrl: './checkbox-cell.component.html',\n styleUrls: [ './checkbox-cell.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n host: { class: 'rxap-checkbox-cell' }\n})\nexport class CheckboxCellComponent<Data extends Record<string, any>> {\n\n @Input()\n @Required\n public element!: Data;\n\n constructor(\n @Inject(SelectRowService)\n public readonly selectRow: SelectRowService<Data>\n ) {}\n\n}\n","<mat-checkbox\n (change)=\"selectRow.selectionModel.toggle(element)\"\n [checked]=\"selectRow.selectionModel.isSelected(element)\">\n</mat-checkbox>\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CheckboxCellComponent } from './checkbox-cell.component';
|
|
3
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class CheckboxCellComponentModule {
|
|
7
|
-
}
|
|
8
|
-
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxCellComponentModule, declarations: [CheckboxCellComponent], imports: [MatCheckboxModule,
|
|
10
|
-
CommonModule], exports: [CheckboxCellComponent] });
|
|
11
|
-
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxCellComponentModule, imports: [[
|
|
12
|
-
MatCheckboxModule,
|
|
13
|
-
CommonModule
|
|
14
|
-
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
declarations: [CheckboxCellComponent],
|
|
19
|
-
imports: [
|
|
20
|
-
MatCheckboxModule,
|
|
21
|
-
CommonModule
|
|
22
|
-
],
|
|
23
|
-
exports: [CheckboxCellComponent]
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=checkbox-cell.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-cell.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/select-row/checkbox-cell/checkbox-cell.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAW/C,MAAM,OAAO,2BAA2B;;wHAA3B,2BAA2B;yHAA3B,2BAA2B,iBAPtB,qBAAqB,aAEnC,iBAAiB;QACjB,YAAY,aAEE,qBAAqB;yHAE1B,2BAA2B,YANxB;YACZ,iBAAiB;YACjB,YAAY;SACb;2FAGU,2BAA2B;kBARvC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,qBAAqB,CAAE;oBACvC,OAAO,EAAO;wBACZ,iBAAiB;wBACjB,YAAY;qBACb;oBACD,OAAO,EAAO,CAAE,qBAAqB,CAAE;iBACxC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CheckboxCellComponent } from './checkbox-cell.component';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { CommonModule } from '@angular/common';\n\n\n@NgModule({\n declarations: [ CheckboxCellComponent ],\n imports: [\n MatCheckboxModule,\n CommonModule\n ],\n exports: [ CheckboxCellComponent ]\n})\nexport class CheckboxCellComponentModule {}\n"]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject, } from '@angular/core';
|
|
2
|
-
import { SelectRowService } from '../select-row.service';
|
|
3
|
-
import { EMPTY } from 'rxjs';
|
|
4
|
-
import { map } from 'rxjs/operators';
|
|
5
|
-
import { CdkTable } from '@angular/cdk/table';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../select-row.service";
|
|
8
|
-
import * as i2 from "@angular/material/checkbox";
|
|
9
|
-
import * as i3 from "@angular/common";
|
|
10
|
-
import * as i4 from "@angular/cdk/table";
|
|
11
|
-
export class CheckboxHeaderCellComponent {
|
|
12
|
-
constructor(cdkTable, selectRow) {
|
|
13
|
-
this.cdkTable = cdkTable;
|
|
14
|
-
this.selectRow = selectRow;
|
|
15
|
-
this.indeterminate$ = EMPTY;
|
|
16
|
-
this.checked$ = EMPTY;
|
|
17
|
-
this.isMultipleSelection = false;
|
|
18
|
-
this.isMultipleSelection =
|
|
19
|
-
this.selectRow.selectionModel.isMultipleSelection();
|
|
20
|
-
}
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.indeterminate$ = this.selectRow.selectedRows$.pipe(map((selectedRows) => !!selectedRows.length &&
|
|
23
|
-
this.cdkTable['_data'].length !== selectedRows.length));
|
|
24
|
-
this.checked$ = this.selectRow.selectedRows$.pipe(map((selectedRows) => !!selectedRows.length &&
|
|
25
|
-
this.cdkTable['_data'].length === selectedRows.length));
|
|
26
|
-
}
|
|
27
|
-
onChange($event) {
|
|
28
|
-
if ($event.checked) {
|
|
29
|
-
this.selectRow.selectionModel.select(...this.cdkTable['_data']);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this.selectRow.selectionModel.clear();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
CheckboxHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxHeaderCellComponent, deps: [{ token: CdkTable }, { token: i1.SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", 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: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
39
|
-
type: Component,
|
|
40
|
-
args: [{
|
|
41
|
-
selector: 'th[rxap-checkbox-header-cell]',
|
|
42
|
-
templateUrl: './checkbox-header-cell.component.html',
|
|
43
|
-
styleUrls: ['./checkbox-header-cell.component.scss'],
|
|
44
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
45
|
-
host: { class: 'rxap-checkbox-header-cell' },
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i4.CdkTable, decorators: [{
|
|
48
|
-
type: Inject,
|
|
49
|
-
args: [CdkTable]
|
|
50
|
-
}] }, { type: i1.SelectRowService }]; } });
|
|
51
|
-
//# sourceMappingURL=checkbox-header-cell.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-header-cell.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts","../../../../../../../../libs/material/table-system/src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EAEvB,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;;;;;;AAS9C,MAAM,OAAO,2BAA2B;IAQtC,YAEmB,QAAwB,EACxB,SAAiC;QADjC,aAAQ,GAAR,QAAQ,CAAgB;QACxB,cAAS,GAAT,SAAS,CAAwB;QAR7C,mBAAc,GAAwB,KAAK,CAAC;QAC5C,aAAQ,GAAwB,KAAK,CAAC;QAEtC,wBAAmB,GAAG,KAAK,CAAC;QAOjC,IAAI,CAAC,mBAAmB;YACtB,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,mBAAmB,EAAE,CAAC;IACxD,CAAC;IAEM,QAAQ;QACb,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CACrD,GAAG,CACD,CAAC,YAAY,EAAE,EAAE,CACf,CAAC,CAAC,YAAY,CAAC,MAAM;YACrB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,CACxD,CACF,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAC/C,GAAG,CACD,CAAC,YAAY,EAAE,EAAE,CACf,CAAC,CAAC,YAAY,CAAC,MAAM;YACrB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM,CACxD,CACF,CAAC;IACJ,CAAC;IAEM,QAAQ,CAAC,MAAyB;QACvC,IAAI,MAAM,CAAC,OAAO,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;SACjE;aAAM;YACL,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;SACvC;IACH,CAAC;;wHAxCU,2BAA2B,kBAS5B,QAAQ;4GATP,2BAA2B,4HCpBxC,gMAMA;2FDca,2BAA2B;kBAPvC,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;oBACzC,WAAW,EAAE,uCAAuC;oBACpD,SAAS,EAAE,CAAC,uCAAuC,CAAC;oBACpD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE;iBAC7C;;0BAUI,MAAM;2BAAC,QAAQ","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n OnInit,\n Inject,\n} from '@angular/core';\nimport { SelectRowService } from '../select-row.service';\nimport type { Observable } from 'rxjs';\nimport { EMPTY } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { MatCheckboxChange } from '@angular/material/checkbox';\nimport { CdkTable } from '@angular/cdk/table';\n\n@Component({\n selector: 'th[rxap-checkbox-header-cell]',\n templateUrl: './checkbox-header-cell.component.html',\n styleUrls: ['./checkbox-header-cell.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-checkbox-header-cell' },\n})\nexport class CheckboxHeaderCellComponent<Data extends Record<string, any>>\n implements OnInit\n{\n public indeterminate$: Observable<boolean> = EMPTY;\n public checked$: Observable<boolean> = EMPTY;\n\n public isMultipleSelection = false;\n\n constructor(\n @Inject(CdkTable)\n private readonly cdkTable: CdkTable<Data>,\n private readonly selectRow: SelectRowService<Data>\n ) {\n this.isMultipleSelection =\n this.selectRow.selectionModel.isMultipleSelection();\n }\n\n public ngOnInit() {\n this.indeterminate$ = this.selectRow.selectedRows$.pipe(\n map(\n (selectedRows) =>\n !!selectedRows.length &&\n this.cdkTable['_data'].length !== selectedRows.length\n )\n );\n this.checked$ = this.selectRow.selectedRows$.pipe(\n map(\n (selectedRows) =>\n !!selectedRows.length &&\n this.cdkTable['_data'].length === selectedRows.length\n )\n );\n }\n\n public onChange($event: MatCheckboxChange) {\n if ($event.checked) {\n this.selectRow.selectionModel.select(...this.cdkTable['_data']);\n } else {\n this.selectRow.selectionModel.clear();\n }\n }\n}\n","<mat-checkbox\n *ngIf=\"isMultipleSelection\"\n (change)=\"onChange($event)\"\n [indeterminate]=\"indeterminate$ | async\"\n [checked]=\"(checked$ | async) ?? false\">\n</mat-checkbox>\n"]}
|
package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CheckboxHeaderCellComponent } from './checkbox-header-cell.component';
|
|
3
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class CheckboxHeaderCellComponentModule {
|
|
7
|
-
}
|
|
8
|
-
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxHeaderCellComponentModule, declarations: [CheckboxHeaderCellComponent], imports: [MatCheckboxModule,
|
|
10
|
-
CommonModule], exports: [CheckboxHeaderCellComponent] });
|
|
11
|
-
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxHeaderCellComponentModule, imports: [[
|
|
12
|
-
MatCheckboxModule,
|
|
13
|
-
CommonModule
|
|
14
|
-
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
declarations: [CheckboxHeaderCellComponent],
|
|
19
|
-
imports: [
|
|
20
|
-
MatCheckboxModule,
|
|
21
|
-
CommonModule
|
|
22
|
-
],
|
|
23
|
-
exports: [CheckboxHeaderCellComponent]
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=checkbox-header-cell.component.module.js.map
|
package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-header-cell.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAW/C,MAAM,OAAO,iCAAiC;;8HAAjC,iCAAiC;+HAAjC,iCAAiC,iBAP5B,2BAA2B,aAEzC,iBAAiB;QACjB,YAAY,aAEE,2BAA2B;+HAEhC,iCAAiC,YAN9B;YACZ,iBAAiB;YACjB,YAAY;SACb;2FAGU,iCAAiC;kBAR7C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,2BAA2B,CAAE;oBAC7C,OAAO,EAAO;wBACZ,iBAAiB;wBACjB,YAAY;qBACb;oBACD,OAAO,EAAO,CAAE,2BAA2B,CAAE;iBAC9C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CheckboxHeaderCellComponent } from './checkbox-header-cell.component';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { CommonModule } from '@angular/common';\n\n\n@NgModule({\n declarations: [ CheckboxHeaderCellComponent ],\n imports: [\n MatCheckboxModule,\n CommonModule\n ],\n exports: [ CheckboxHeaderCellComponent ]\n})\nexport class CheckboxHeaderCellComponentModule {}\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CheckboxCellComponentModule } from './checkbox-cell/checkbox-cell.component.module';
|
|
3
|
-
import { CheckboxHeaderCellComponentModule } from './checkbox-header-cell/checkbox-header-cell.component.module';
|
|
4
|
-
import { SelectedRowsDirective } from './selected-rows.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class SelectRowModule {
|
|
7
|
-
}
|
|
8
|
-
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: SelectRowModule, declarations: [SelectedRowsDirective], exports: [CheckboxCellComponentModule,
|
|
10
|
-
CheckboxHeaderCellComponentModule,
|
|
11
|
-
SelectedRowsDirective] });
|
|
12
|
-
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponentModule,
|
|
13
|
-
CheckboxHeaderCellComponentModule] });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
15
|
-
type: NgModule,
|
|
16
|
-
args: [{
|
|
17
|
-
exports: [
|
|
18
|
-
CheckboxCellComponentModule,
|
|
19
|
-
CheckboxHeaderCellComponentModule,
|
|
20
|
-
SelectedRowsDirective
|
|
21
|
-
],
|
|
22
|
-
declarations: [SelectedRowsDirective]
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=select-row.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-row.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/select-row/select-row.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAWlE,MAAM,OAAO,eAAe;;4GAAf,eAAe;6GAAf,eAAe,iBAFV,qBAAqB,aAJnC,2BAA2B;QAC3B,iCAAiC;QACjC,qBAAqB;6GAIZ,eAAe,YANxB,2BAA2B;QAC3B,iCAAiC;2FAKxB,eAAe;kBAR3B,QAAQ;mBAAC;oBACR,OAAO,EAAO;wBACZ,2BAA2B;wBAC3B,iCAAiC;wBACjC,qBAAqB;qBACtB;oBACD,YAAY,EAAE,CAAE,qBAAqB,CAAE;iBACxC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CheckboxCellComponentModule } from './checkbox-cell/checkbox-cell.component.module';\nimport { CheckboxHeaderCellComponentModule } from './checkbox-header-cell/checkbox-header-cell.component.module';\nimport { SelectedRowsDirective } from './selected-rows.directive';\n\n\n@NgModule({\n exports: [\n CheckboxCellComponentModule,\n CheckboxHeaderCellComponentModule,\n SelectedRowsDirective\n ],\n declarations: [ SelectedRowsDirective ]\n})\nexport class SelectRowModule {}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-row.options.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/select-row/select-row.options.ts"],"names":[],"mappings":"","sourcesContent":["export interface SelectRowOptions<RowData = any> {\n multiple?: boolean;\n selected?: RowData[];\n}\n"]}
|