@rxap/material-table-system 12.5.3 → 12.5.6
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/bundles/rxap-material-table-system.umd.js +219 -200
- package/bundles/rxap-material-table-system.umd.js.map +1 -1
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.js +3 -3
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.js.map +1 -1
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.module.js +4 -4
- package/esm2015/lib/cells/boolean-cell/boolean-cell.component.module.js.map +1 -1
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.js +3 -3
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.js.map +1 -1
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.js +4 -4
- package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.js.map +1 -1
- package/esm2015/lib/cells/date-cell/date-cell.component.js +3 -3
- package/esm2015/lib/cells/date-cell/date-cell.component.js.map +1 -1
- package/esm2015/lib/cells/date-cell/date-cell.component.module.js +4 -4
- package/esm2015/lib/cells/date-cell/date-cell.component.module.js.map +1 -1
- package/esm2015/lib/cells/icon-cell/icon-cell.component.js +3 -3
- package/esm2015/lib/cells/icon-cell/icon-cell.component.js.map +1 -1
- package/esm2015/lib/cells/icon-cell/icon-cell.component.module.js +4 -4
- package/esm2015/lib/cells/icon-cell/icon-cell.component.module.js.map +1 -1
- package/esm2015/lib/cells/image-cell/image-cell.component.js +3 -3
- package/esm2015/lib/cells/image-cell/image-cell.component.js.map +1 -1
- package/esm2015/lib/cells/image-cell/image-cell.component.module.js +4 -4
- package/esm2015/lib/cells/image-cell/image-cell.component.module.js.map +1 -1
- package/esm2015/lib/cells/link-cell/link-cell.component.js +3 -3
- package/esm2015/lib/cells/link-cell/link-cell.component.js.map +1 -1
- package/esm2015/lib/cells/link-cell/link-cell.component.module.js +4 -4
- package/esm2015/lib/cells/link-cell/link-cell.component.module.js.map +1 -1
- package/esm2015/lib/cells/options-cell/options-cell.component.js +3 -3
- package/esm2015/lib/cells/options-cell/options-cell.component.js.map +1 -1
- package/esm2015/lib/cells/options-cell/options-cell.component.module.js +4 -4
- package/esm2015/lib/cells/options-cell/options-cell.component.module.js.map +1 -1
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.js +3 -3
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.js.map +1 -1
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.js +4 -4
- package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.js.map +1 -1
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.js +3 -3
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.js.map +1 -1
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js +4 -4
- package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js.map +1 -1
- package/esm2015/lib/expand-row/expand-row-container/expand-row-content.directive.js +3 -3
- package/esm2015/lib/expand-row/expand-row-container/expand-row-content.directive.js.map +1 -1
- package/esm2015/lib/expand-row/expand-row.directive.js +3 -3
- package/esm2015/lib/expand-row/expand-row.directive.js.map +1 -1
- package/esm2015/lib/expand-row/expand-row.module.js +4 -4
- package/esm2015/lib/expand-row/expand-row.module.js.map +1 -1
- package/esm2015/lib/expand-row/expand-row.service.js +3 -3
- package/esm2015/lib/expand-row/expand-row.service.js.map +1 -1
- package/esm2015/lib/persistent-paginator.directive.js +7 -7
- package/esm2015/lib/persistent-paginator.directive.js.map +1 -1
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.js +3 -3
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.js.map +1 -1
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.module.js +4 -4
- package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.module.js.map +1 -1
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.js +3 -3
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.js.map +1 -1
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js +4 -4
- package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js.map +1 -1
- package/esm2015/lib/select-row/select-row.module.js +4 -4
- package/esm2015/lib/select-row/select-row.module.js.map +1 -1
- package/esm2015/lib/select-row/select-row.service.js +3 -3
- package/esm2015/lib/select-row/select-row.service.js.map +1 -1
- package/esm2015/lib/select-row/selected-rows.directive.js +3 -3
- package/esm2015/lib/select-row/selected-rows.directive.js.map +1 -1
- package/esm2015/lib/table-column-menu/table-column-menu.component.js +3 -3
- package/esm2015/lib/table-column-menu/table-column-menu.component.js.map +1 -1
- package/esm2015/lib/table-column-menu/table-column-menu.component.module.js +4 -4
- package/esm2015/lib/table-column-menu/table-column-menu.component.module.js.map +1 -1
- package/esm2015/lib/table-column-menu/table-column-option/table-column-option.component.js +23 -5
- package/esm2015/lib/table-column-menu/table-column-option/table-column-option.component.js.map +1 -1
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.js +3 -3
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.js.map +1 -1
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.js +4 -4
- package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.js.map +1 -1
- package/esm2015/lib/table-create-button/table-create-button.directive.js +7 -7
- package/esm2015/lib/table-create-button/table-create-button.directive.js.map +1 -1
- package/esm2015/lib/table-data-source.directive.js +7 -7
- package/esm2015/lib/table-data-source.directive.js.map +1 -1
- package/esm2015/lib/table-filter/filter-header-row.directive.js +3 -3
- package/esm2015/lib/table-filter/filter-header-row.directive.js.map +1 -1
- package/esm2015/lib/table-filter/table-filter.module.js +4 -4
- package/esm2015/lib/table-filter/table-filter.module.js.map +1 -1
- package/esm2015/lib/table-filter/table-filter.service.js +3 -3
- package/esm2015/lib/table-filter/table-filter.service.js.map +1 -1
- package/esm2015/lib/table-filter/to-filter-column-names.pipe.js +3 -3
- package/esm2015/lib/table-filter/to-filter-column-names.pipe.js.map +1 -1
- package/esm2015/lib/table-row-actions/table-row-action-executing.directive.js +3 -3
- package/esm2015/lib/table-row-actions/table-row-action-executing.directive.js.map +1 -1
- package/esm2015/lib/table-row-actions/table-row-action.directive.js +3 -3
- package/esm2015/lib/table-row-actions/table-row-action.directive.js.map +1 -1
- package/esm2015/lib/table-row-actions/table-row-actions.module.js +4 -4
- package/esm2015/lib/table-row-actions/table-row-actions.module.js.map +1 -1
- package/esm2015/lib/table-row-actions/table-row-header-action.directive.js +3 -3
- package/esm2015/lib/table-row-actions/table-row-header-action.directive.js.map +1 -1
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.js +3 -3
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.js.map +1 -1
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.js +4 -4
- package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.js.map +1 -1
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.js +3 -3
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.js.map +1 -1
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.js +4 -4
- package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.js.map +1 -1
- package/esm2015/lib/table-row-controls/table-row-controls.module.js +4 -4
- package/esm2015/lib/table-row-controls/table-row-controls.module.js.map +1 -1
- package/esm2015/lib/table-select-controls/table-select-controls.component.js +3 -3
- package/esm2015/lib/table-select-controls/table-select-controls.component.js.map +1 -1
- package/esm2015/lib/table-select-controls/table-select-controls.component.module.js +4 -4
- package/esm2015/lib/table-select-controls/table-select-controls.component.module.js.map +1 -1
- package/fesm2015/rxap-material-table-system.js +208 -191
- package/fesm2015/rxap-material-table-system.js.map +1 -1
- package/lib/table-column-menu/table-column-option/table-column-option.component.d.ts +7 -3
- package/package.json +5 -5
- package/src/schematics/ng-add/index.js +1 -1
- package/src/schematics/ng-add/index.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;yHAnCU,2BAA2B,kBAc5B,gBAAgB,aAEhB,gBAAgB;6GAhBf,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;4FAJX,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
CHANGED
|
@@ -6,16 +6,16 @@ import { CommonModule } from '@angular/common';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class ExpandRowContainerComponentModule {
|
|
8
8
|
}
|
|
9
|
-
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
10
|
-
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
9
|
+
ExpandRowContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
ExpandRowContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowContainerComponentModule, declarations: [ExpandRowContainerComponent,
|
|
11
11
|
ExpandRowContentDirective], imports: [PortalModule,
|
|
12
12
|
CommonModule], exports: [ExpandRowContainerComponent,
|
|
13
13
|
ExpandRowContentDirective] });
|
|
14
|
-
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
14
|
+
ExpandRowContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowContainerComponentModule, imports: [[
|
|
15
15
|
PortalModule,
|
|
16
16
|
CommonModule
|
|
17
17
|
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowContainerComponentModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
declarations: [
|
package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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;;+HAAjC,iCAAiC;gIAAjC,iCAAiC,iBAZ1C,2BAA2B;QAC3B,yBAAyB,aAGzB,YAAY;QACZ,YAAY,aAGZ,2BAA2B;QAC3B,yBAAyB;gIAGhB,iCAAiC,YAT9B;YACZ,YAAY;YACZ,YAAY;SACb;4FAMU,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"]}
|
|
@@ -8,9 +8,9 @@ export class ExpandRowContentDirective {
|
|
|
8
8
|
return true;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
12
|
-
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
11
|
+
ExpandRowContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
ExpandRowContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ExpandRowContentDirective, selector: "[rxapExpandRowContent]", ngImport: i0 });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowContentDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: '[rxapExpandRowContent]'
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;uHANU,yBAAyB,kBAS1B,WAAW;2GATV,yBAAyB;4FAAzB,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"]}
|
|
@@ -15,13 +15,13 @@ export class ExpandRowDirective {
|
|
|
15
15
|
this.expandCell.toggleRow(this.element);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
19
|
-
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
18
|
+
ExpandRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowDirective, deps: [{ token: ExpandRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
ExpandRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ExpandRowDirective, selector: "tr[rxapExpandRow]", inputs: { element: "element" }, host: { listeners: { "expanded-row": "isExpanded()", "click": "onClick()" } }, ngImport: i0 });
|
|
20
20
|
__decorate([
|
|
21
21
|
Required,
|
|
22
22
|
__metadata("design:type", Object)
|
|
23
23
|
], ExpandRowDirective.prototype, "element", void 0);
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
26
|
args: [{
|
|
27
27
|
selector: 'tr[rxapExpandRow]'
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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;;gHAnBU,kBAAkB,kBAYnB,gBAAgB;oGAZf,kBAAkB;AAS7B;IADC,QAAQ;;mDACa;4FATX,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"]}
|
|
@@ -6,15 +6,15 @@ import { ExpandRowDirective } from './expand-row.directive';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class ExpandRowModule {
|
|
8
8
|
}
|
|
9
|
-
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
10
|
-
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
9
|
+
ExpandRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
ExpandRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowModule, declarations: [ExpandRowDirective], exports: [ExpandRowContainerComponentModule,
|
|
11
11
|
ExpandControlsCellComponentModule,
|
|
12
12
|
ExpandRowDirective] });
|
|
13
|
-
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
13
|
+
ExpandRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowModule, providers: [
|
|
14
14
|
ExpandRowService
|
|
15
15
|
], imports: [ExpandRowContainerComponentModule,
|
|
16
16
|
ExpandControlsCellComponentModule] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowModule, decorators: [{
|
|
18
18
|
type: NgModule,
|
|
19
19
|
args: [{
|
|
20
20
|
exports: [
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;6GAAf,eAAe;8GAAf,eAAe,iBAFV,kBAAkB,aAPhC,iCAAiC;QACjC,iCAAiC;QACjC,kBAAkB;8GAOT,eAAe,aALZ;QACZ,gBAAgB;KACjB,YANC,iCAAiC;QACjC,iCAAiC;4FAQxB,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"]}
|
|
@@ -21,9 +21,9 @@ export class ExpandRowService {
|
|
|
21
21
|
return this.expandedRow.pipe(map((expandedRow) => expandedRow === row));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
25
|
-
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
24
|
+
ExpandRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
ExpandRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowService });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandRowService, decorators: [{
|
|
27
27
|
type: Injectable
|
|
28
28
|
}] });
|
|
29
29
|
//# sourceMappingURL=expand-row.service.js.map
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;8GAjBU,gBAAgB;kHAAhB,gBAAgB;4FAAhB,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"]}
|
|
@@ -38,9 +38,9 @@ export class PersistentPaginatorDirective {
|
|
|
38
38
|
return null;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
42
|
-
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
41
|
+
PersistentPaginatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PersistentPaginatorDirective, deps: [{ token: i1.MatPaginator }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
PersistentPaginatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: PersistentPaginatorDirective, selector: "mat-paginator[rxapPersistent]", inputs: { id: "id" }, ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PersistentPaginatorDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: 'mat-paginator[rxapPersistent]'
|
|
@@ -50,10 +50,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
50
50
|
}] } });
|
|
51
51
|
export class PersistentPaginatorDirectiveModule {
|
|
52
52
|
}
|
|
53
|
-
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
54
|
-
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
55
|
-
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
53
|
+
PersistentPaginatorDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PersistentPaginatorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
54
|
+
PersistentPaginatorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PersistentPaginatorDirectiveModule, declarations: [PersistentPaginatorDirective], exports: [PersistentPaginatorDirective] });
|
|
55
|
+
PersistentPaginatorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PersistentPaginatorDirectiveModule });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PersistentPaginatorDirectiveModule, decorators: [{
|
|
57
57
|
type: NgModule,
|
|
58
58
|
args: [{
|
|
59
59
|
exports: [PersistentPaginatorDirective],
|
|
@@ -1 +1 @@
|
|
|
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;AAE3D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;;;AAKrC,MAAM,OAAO,4BAA4B;IAOvC,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;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAC9C,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAC9B,CAAC,SAAS,EAAE,CAAA;IACf,CAAC;IAEM,WAAW;;QAChB,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,CAAC;IACpC,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;;
|
|
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;AAE3D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;;;AAKrC,MAAM,OAAO,4BAA4B;IAOvC,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;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAC9C,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAC9B,CAAC,SAAS,EAAE,CAAA;IACf,CAAC;IAEM,WAAW;;QAChB,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,CAAC;IACpC,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;;0HA5CU,4BAA4B;8GAA5B,4BAA4B;4FAA5B,4BAA4B;kBAHxC,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;iBAC1C;mGAIQ,EAAE;sBADR,KAAK;;AAkDR,MAAM,OAAO,kCAAkC;;gIAAlC,kCAAkC;iIAAlC,kCAAkC,iBApDlC,4BAA4B,aAA5B,4BAA4B;iIAoD5B,kCAAkC;4FAAlC,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';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\n\n@Directive({\n selector: 'mat-paginator[rxapPersistent]'\n})\nexport class PersistentPaginatorDirective implements OnInit, OnDestroy {\n\n @Input()\n public id?: string;\n\n private _subscription?: Subscription;\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 this._subscription = this.matPaginator.page.pipe(\n tap(() => this.storeConfig())\n ).subscribe()\n }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\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"]}
|
|
@@ -10,13 +10,13 @@ export class CheckboxCellComponent {
|
|
|
10
10
|
this.selectRow = selectRow;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
14
|
-
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
13
|
+
CheckboxCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxCellComponent, deps: [{ token: SelectRowService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
CheckboxCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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
15
|
__decorate([
|
|
16
16
|
Required,
|
|
17
17
|
__metadata("design:type", Object)
|
|
18
18
|
], CheckboxCellComponent.prototype, "element", void 0);
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxCellComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: 'td[rxap-checkbox-cell]',
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;mHATO,qBAAqB,kBAOtB,gBAAgB;uGAPf,qBAAqB,8IChBlC,0JAIA;ADgBE;IADC,QAAQ;;sDACa;4FAJX,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"]}
|
|
@@ -5,14 +5,14 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class CheckboxCellComponentModule {
|
|
7
7
|
}
|
|
8
|
-
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
9
|
-
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
8
|
+
CheckboxCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
CheckboxCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxCellComponentModule, declarations: [CheckboxCellComponent], imports: [MatCheckboxModule,
|
|
10
10
|
CommonModule], exports: [CheckboxCellComponent] });
|
|
11
|
-
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
11
|
+
CheckboxCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxCellComponentModule, imports: [[
|
|
12
12
|
MatCheckboxModule,
|
|
13
13
|
CommonModule
|
|
14
14
|
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxCellComponentModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [CheckboxCellComponent],
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;yHAA3B,2BAA2B;0HAA3B,2BAA2B,iBAPtB,qBAAqB,aAEnC,iBAAiB;QACjB,YAAY,aAEE,qBAAqB;0HAE1B,2BAA2B,YANxB;YACZ,iBAAiB;YACjB,YAAY;SACb;4FAGU,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"]}
|
|
@@ -33,9 +33,9 @@ export class CheckboxHeaderCellComponent {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
CheckboxHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
37
|
-
CheckboxHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
36
|
+
CheckboxHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", 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.2.16", 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.2.16", ngImport: i0, type: CheckboxHeaderCellComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: 'th[rxap-checkbox-header-cell]',
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;yHAxCU,2BAA2B,kBAS5B,QAAQ;6GATP,2BAA2B,4HCpBxC,gMAMA;4FDca,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
CHANGED
|
@@ -5,14 +5,14 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class CheckboxHeaderCellComponentModule {
|
|
7
7
|
}
|
|
8
|
-
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
9
|
-
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
8
|
+
CheckboxHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
CheckboxHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxHeaderCellComponentModule, declarations: [CheckboxHeaderCellComponent], imports: [MatCheckboxModule,
|
|
10
10
|
CommonModule], exports: [CheckboxHeaderCellComponent] });
|
|
11
|
-
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
11
|
+
CheckboxHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxHeaderCellComponentModule, imports: [[
|
|
12
12
|
MatCheckboxModule,
|
|
13
13
|
CommonModule
|
|
14
14
|
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxHeaderCellComponentModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [CheckboxHeaderCellComponent],
|
package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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;;+HAAjC,iCAAiC;gIAAjC,iCAAiC,iBAP5B,2BAA2B,aAEzC,iBAAiB;QACjB,YAAY,aAEE,2BAA2B;gIAEhC,iCAAiC,YAN9B;YACZ,iBAAiB;YACjB,YAAY;SACb;4FAGU,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"]}
|
|
@@ -5,13 +5,13 @@ import { SelectedRowsDirective } from './selected-rows.directive';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class SelectRowModule {
|
|
7
7
|
}
|
|
8
|
-
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
9
|
-
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
8
|
+
SelectRowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
SelectRowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowModule, declarations: [SelectedRowsDirective], exports: [CheckboxCellComponentModule,
|
|
10
10
|
CheckboxHeaderCellComponentModule,
|
|
11
11
|
SelectedRowsDirective] });
|
|
12
|
-
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
12
|
+
SelectRowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowModule, imports: [CheckboxCellComponentModule,
|
|
13
13
|
CheckboxHeaderCellComponentModule] });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
exports: [
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;6GAAf,eAAe;8GAAf,eAAe,iBAFV,qBAAqB,aAJnC,2BAA2B;QAC3B,iCAAiC;QACjC,qBAAqB;8GAIZ,eAAe,YANxB,2BAA2B;QAC3B,iCAAiC;4FAKxB,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"]}
|
|
@@ -16,9 +16,9 @@ export class SelectRowService {
|
|
|
16
16
|
return this.selectionModel.selected;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
SelectRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
20
|
-
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
19
|
+
SelectRowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowService, deps: [{ token: RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
SelectRowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowService });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectRowService, decorators: [{
|
|
22
22
|
type: Injectable
|
|
23
23
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
24
24
|
type: Optional
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-row.service.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/select-row/select-row.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,6CAA6C,EAAE,MAAM,UAAU,CAAC;;AAGzE,MAAM,OAAO,gBAAgB;IAS3B,YAGE,UAAyC,IAAI;QAT/B,mBAAc,GAAG,IAAI,cAAc,CAAO,IAAI,CAAC,CAAC;QAW9D,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAO,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;QAClE,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE;YACrB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;SAClD;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CACnD,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CACxC,CAAC;IACJ,CAAC;IAhBD,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC;IACtC,CAAC;;
|
|
1
|
+
{"version":3,"file":"select-row.service.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/select-row/select-row.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,6CAA6C,EAAE,MAAM,UAAU,CAAC;;AAGzE,MAAM,OAAO,gBAAgB;IAS3B,YAGE,UAAyC,IAAI;QAT/B,mBAAc,GAAG,IAAI,cAAc,CAAO,IAAI,CAAC,CAAC;QAW9D,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAO,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;QAClE,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE;YACrB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;SAClD;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CACnD,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CACxC,CAAC;IACJ,CAAC;IAhBD,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC;IACtC,CAAC;;8GAPU,gBAAgB,kBAWjB,6CAA6C;kHAX5C,gBAAgB;4FAAhB,gBAAgB;kBAD5B,UAAU;;0BAWN,QAAQ;;0BACR,MAAM;2BAAC,6CAA6C","sourcesContent":["import { Injectable, Optional, Inject } from '@angular/core';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport type { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { SelectRowOptions } from './select-row.options';\nimport { RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS } from './tokens';\n\n@Injectable()\nexport class SelectRowService<Data extends Record<string, any>> {\n public selectedRows$: Observable<Data[]>;\n\n public readonly selectionModel = new SelectionModel<Data>(true);\n\n public get selectedRows(): Data[] {\n return this.selectionModel.selected;\n }\n\n constructor(\n @Optional()\n @Inject(RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS)\n options: SelectRowOptions<Data> | null = null\n ) {\n this.selectionModel = new SelectionModel<Data>(options?.multiple);\n if (options?.selected) {\n this.selectionModel.select(...options?.selected);\n }\n this.selectedRows$ = this.selectionModel.changed.pipe(\n map(() => this.selectionModel.selected)\n );\n }\n}\n"]}
|
|
@@ -24,9 +24,9 @@ export class SelectedRowsDirective {
|
|
|
24
24
|
})).subscribe();
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
SelectedRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
28
|
-
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
27
|
+
SelectedRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectedRowsDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: SelectRowService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
SelectedRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SelectedRowsDirective, selector: "[rxapSelectedRows]", ngImport: i0 });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectedRowsDirective, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: '[rxapSelectedRows]'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selected-rows.directive.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/select-row/selected-rows.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,gBAAgB,EAGhB,iBAAiB,EACjB,MAAM,EAGP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAEL,GAAG,EACH,oBAAoB,EACrB,MAAM,gBAAgB,CAAC;;;AAWxB,MAAM,OAAO,qBAAqB;IAIhC,YAEmB,QAAyD,EAEzD,gBAAkC,EAElC,GAAsB,EAEtB,gBAAwC;QANxC,aAAQ,GAAR,QAAQ,CAAiD;QAEzD,qBAAgB,GAAhB,gBAAgB,CAAkB;QAElC,QAAG,GAAH,GAAG,CAAmB;QAEtB,qBAAgB,GAAhB,gBAAgB,CAAwB;IACxD,CAAC;IAEG,WAAW;;QAChB,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,CAAC;IACpC,CAAC;IAEM,QAAQ;QACb,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAC3D,oBAAoB,EAAE,EACtB,GAAG,CAAC,eAAe,CAAC,EAAE;YACpB,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;YAC9B,IAAI,eAAe,EAAE;gBACnB,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAC;aAC5G;YACD,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;QAC3B,CAAC,CAAC,CACH,CAAC,SAAS,EAAE,CAAC;IAChB,CAAC;;
|
|
1
|
+
{"version":3,"file":"selected-rows.directive.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/select-row/selected-rows.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,gBAAgB,EAGhB,iBAAiB,EACjB,MAAM,EAGP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAEL,GAAG,EACH,oBAAoB,EACrB,MAAM,gBAAgB,CAAC;;;AAWxB,MAAM,OAAO,qBAAqB;IAIhC,YAEmB,QAAyD,EAEzD,gBAAkC,EAElC,GAAsB,EAEtB,gBAAwC;QANxC,aAAQ,GAAR,QAAQ,CAAiD;QAEzD,qBAAgB,GAAhB,gBAAgB,CAAkB;QAElC,QAAG,GAAH,GAAG,CAAmB;QAEtB,qBAAgB,GAAhB,gBAAgB,CAAwB;IACxD,CAAC;IAEG,WAAW;;QAChB,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,CAAC;IACpC,CAAC;IAEM,QAAQ;QACb,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAC3D,oBAAoB,EAAE,EACtB,GAAG,CAAC,eAAe,CAAC,EAAE;YACpB,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;YAC9B,IAAI,eAAe,EAAE;gBACnB,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAC;aAC5G;YACD,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;QAC3B,CAAC,CAAC,CACH,CAAC,SAAS,EAAE,CAAC;IAChB,CAAC;;mHA9BU,qBAAqB,kBAKtB,WAAW,aAEX,gBAAgB,aAEhB,iBAAiB,aAEjB,gBAAgB;uGAXf,qBAAqB;4FAArB,qBAAqB;kBAHjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,oBAAoB;iBAC/B;;0BAMI,MAAM;2BAAC,WAAW;;0BAElB,MAAM;2BAAC,gBAAgB;;0BAEvB,MAAM;2BAAC,iBAAiB;;0BAExB,MAAM;2BAAC,gBAAgB","sourcesContent":["import {\n Directive,\n TemplateRef,\n ViewContainerRef,\n OnInit,\n OnDestroy,\n ChangeDetectorRef,\n Inject,\n Input,\n Optional\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { SelectRowService } from './select-row.service';\nimport {\n map,\n tap,\n distinctUntilChanged\n} from 'rxjs/operators';\nimport { CdkTable } from '@angular/cdk/table';\nimport { MatTable } from '@angular/material/table';\n\nexport interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {\n $implicit: Data[];\n}\n\n@Directive({\n selector: '[rxapSelectedRows]'\n})\nexport class SelectedRowsDirective<Data extends Record<string, any>> implements OnInit, OnDestroy {\n\n private _subscription?: Subscription;\n\n constructor(\n @Inject(TemplateRef)\n private readonly template: TemplateRef<SelectedRowsDirectiveContext<Data>>,\n @Inject(ViewContainerRef)\n private readonly viewContainerRef: ViewContainerRef,\n @Inject(ChangeDetectorRef)\n private readonly cdr: ChangeDetectorRef,\n @Inject(SelectRowService)\n private readonly selectRowService: SelectRowService<Data>\n ) {}\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n this._subscription = this.selectRowService.selectedRows$.pipe(\n distinctUntilChanged(),\n tap(selectedAllRows => {\n this.viewContainerRef.clear();\n if (selectedAllRows) {\n this.viewContainerRef.createEmbeddedView(this.template, { $implicit: this.selectRowService.selectedRows });\n }\n this.cdr.detectChanges();\n })\n ).subscribe();\n }\n\n}\n"]}
|
|
@@ -39,9 +39,9 @@ export class TableColumnMenuComponent {
|
|
|
39
39
|
this.updateDisplayColumns();
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
43
|
-
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
42
|
+
TableColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableColumnMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
TableColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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}"], components: [{ type: i1.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: i2.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: i4.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.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i5.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 });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableColumnMenuComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{
|
|
47
47
|
selector: 'rxap-table-column-menu',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-column-menu.component.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-column-menu/table-column-menu.component.ts","../../../../../../../libs/material/table-system/src/lib/table-column-menu/table-column-menu.component.html"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,eAAe,EAEf,KAAK,EACL,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;AAUhD,MAAM,OAAO,wBAAwB;IARrC;QAYS,mBAAc,GAAa,EAAE,CAAC;QAQ7B,iBAAY,GAAY,KAAK,CAAC;KA8BvC;IApCC,IACW,OAAO,CAAC,KAAmB;QACpC,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAKM,kBAAkB;QACvB,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAEM,oBAAoB;QACzB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,MAAM,IAAI,KAAK,CACb,gEAAgE,CACjE,CAAC;SACH;QACD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,OAAO;aAC/B,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;aACjC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAEM,QAAQ,CAAC,UAAkB;;QAChC,MAAA,IAAI,CAAC,OAAO,0CACR,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,EAC9C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAEM,UAAU,CAAC,UAAkB;;QAClC,MAAA,IAAI,CAAC,OAAO,0CACR,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,EAC9C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;;
|
|
1
|
+
{"version":3,"file":"table-column-menu.component.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-column-menu/table-column-menu.component.ts","../../../../../../../libs/material/table-system/src/lib/table-column-menu/table-column-menu.component.html"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,eAAe,EAEf,KAAK,EACL,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;AAUhD,MAAM,OAAO,wBAAwB;IARrC;QAYS,mBAAc,GAAa,EAAE,CAAC;QAQ7B,iBAAY,GAAY,KAAK,CAAC;KA8BvC;IApCC,IACW,OAAO,CAAC,KAAmB;QACpC,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAKM,kBAAkB;QACvB,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAEM,oBAAoB;QACzB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,MAAM,IAAI,KAAK,CACb,gEAAgE,CACjE,CAAC;SACH;QACD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,OAAO;aAC/B,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;aACjC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAEM,QAAQ,CAAC,UAAkB;;QAChC,MAAA,IAAI,CAAC,OAAO,0CACR,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,EAC9C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAEM,UAAU,CAAC,UAAkB;;QAClC,MAAA,IAAI,CAAC,OAAO,0CACR,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,EAC9C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;;sHAzCU,wBAAwB;0GAAxB,wBAAwB,qOAClB,0BAA0B,6DCrB7C,2jBAoBA;4FDAa,wBAAwB;kBARpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,WAAW,EAAE,oCAAoC;oBACjD,SAAS,EAAE,CAAC,oCAAoC,CAAC;oBACjD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE;oBACxC,QAAQ,EAAE,kBAAkB;iBAC7B;8BAGQ,OAAO;sBADb,eAAe;uBAAC,0BAA0B;gBAMhC,OAAO;sBADjB,KAAK;gBAME,YAAY;sBADnB,WAAW;uBAAC,qBAAqB","sourcesContent":["import type { QueryList } from '@angular/core';\nimport {\n Component,\n ChangeDetectionStrategy,\n ContentChildren,\n AfterContentInit,\n Input,\n HostBinding,\n} from '@angular/core';\nimport { TableColumnOptionComponent } from './table-column-option/table-column-option.component';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Component({\n selector: 'rxap-table-column-menu',\n templateUrl: './table-column-menu.component.html',\n styleUrls: ['./table-column-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-table-column-menu' },\n exportAs: 'rxapTableColumns',\n})\nexport class TableColumnMenuComponent implements AfterContentInit {\n @ContentChildren(TableColumnOptionComponent)\n public columns?: QueryList<TableColumnOptionComponent>;\n\n public displayColumns: string[] = [];\n\n @Input()\n public set matCard(value: boolean | '') {\n this._matCardMode = coerceBoolean(value);\n }\n\n @HostBinding('class.mat-card-mode')\n private _matCardMode: boolean = false;\n\n public ngAfterContentInit() {\n this.updateDisplayColumns();\n }\n\n public updateDisplayColumns() {\n if (!this.columns) {\n throw new Error(\n 'Could not query content children of TableColumnOptionComponent'\n );\n }\n this.displayColumns = this.columns\n .filter((option) => option.active)\n .map((option) => option.name);\n }\n\n public activate(columnName: string) {\n this.columns\n ?.filter((option) => option.name === columnName)\n .forEach((column) => column.activate());\n this.updateDisplayColumns();\n }\n\n public deactivate(columnName: string) {\n this.columns\n ?.filter((option) => option.name === columnName)\n .forEach((column) => column.deactivate());\n this.updateDisplayColumns();\n }\n}\n","<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"]}
|
|
@@ -11,15 +11,15 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export class TableColumnMenuComponentModule {
|
|
13
13
|
}
|
|
14
|
-
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
15
|
-
TableColumnMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
14
|
+
TableColumnMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableColumnMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15
|
+
TableColumnMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableColumnMenuComponentModule, declarations: [TableColumnMenuComponent, TableColumnOptionComponent], imports: [MatButtonModule,
|
|
16
16
|
MatIconModule,
|
|
17
17
|
MatMenuModule,
|
|
18
18
|
CommonModule,
|
|
19
19
|
MatCheckboxModule,
|
|
20
20
|
StopPropagationDirectiveModule,
|
|
21
21
|
FlexLayoutModule], exports: [TableColumnMenuComponent, TableColumnOptionComponent, MatMenuModule] });
|
|
22
|
-
TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
22
|
+
TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableColumnMenuComponentModule, imports: [[
|
|
23
23
|
MatButtonModule,
|
|
24
24
|
MatIconModule,
|
|
25
25
|
MatMenuModule,
|
|
@@ -28,7 +28,7 @@ TableColumnMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
|
|
|
28
28
|
StopPropagationDirectiveModule,
|
|
29
29
|
FlexLayoutModule
|
|
30
30
|
], MatMenuModule] });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableColumnMenuComponentModule, decorators: [{
|
|
32
32
|
type: NgModule,
|
|
33
33
|
args: [{
|
|
34
34
|
declarations: [TableColumnMenuComponent, TableColumnOptionComponent],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-column-menu.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-column-menu/table-column-menu.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAgBxD,MAAM,OAAO,8BAA8B;;
|
|
1
|
+
{"version":3,"file":"table-column-menu.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-column-menu/table-column-menu.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAgBxD,MAAM,OAAO,8BAA8B;;4HAA9B,8BAA8B;6HAA9B,8BAA8B,iBAZzB,wBAAwB,EAAE,0BAA0B,aAElE,eAAe;QACf,aAAa;QACb,aAAa;QACb,YAAY;QACZ,iBAAiB;QACjB,8BAA8B;QAC9B,gBAAgB,aAEF,wBAAwB,EAAE,0BAA0B,EAAE,aAAa;6HAExE,8BAA8B,YAX3B;YACZ,eAAe;YACf,aAAa;YACb,aAAa;YACb,YAAY;YACZ,iBAAiB;YACjB,8BAA8B;YAC9B,gBAAgB;SACjB,EACqE,aAAa;4FAExE,8BAA8B;kBAb1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,wBAAwB,EAAE,0BAA0B,CAAE;oBACtE,OAAO,EAAO;wBACZ,eAAe;wBACf,aAAa;wBACb,aAAa;wBACb,YAAY;wBACZ,iBAAiB;wBACjB,8BAA8B;wBAC9B,gBAAgB;qBACjB;oBACD,OAAO,EAAO,CAAE,wBAAwB,EAAE,0BAA0B,EAAE,aAAa,CAAE;iBACtF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { TableColumnMenuComponent } from './table-column-menu.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { CommonModule } from '@angular/common';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { TableColumnOptionComponent } from './table-column-option/table-column-option.component';\nimport { StopPropagationDirectiveModule } from '@rxap/directives';\nimport { FlexLayoutModule } from '@angular/flex-layout';\n\n\n@NgModule({\n declarations: [ TableColumnMenuComponent, TableColumnOptionComponent ],\n imports: [\n MatButtonModule,\n MatIconModule,\n MatMenuModule,\n CommonModule,\n MatCheckboxModule,\n StopPropagationDirectiveModule,\n FlexLayoutModule\n ],\n exports: [ TableColumnMenuComponent, TableColumnOptionComponent, MatMenuModule ]\n})\nexport class TableColumnMenuComponentModule {}\n"]}
|