@bcgov/nr-ngx-component-lib 21.1.3 → 21.1.4
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.
|
@@ -1325,6 +1325,7 @@ class FiltersPanelComponent extends NrclBase {
|
|
|
1325
1325
|
this.showFilters = true;
|
|
1326
1326
|
this.hasAdvancedFilters = false;
|
|
1327
1327
|
this.showAdvancedFilters = false;
|
|
1328
|
+
this.moreFiltersLabels = ['See More', 'See Less'];
|
|
1328
1329
|
this.clearFilters = new EventEmitter();
|
|
1329
1330
|
this.showFiltersChange = new EventEmitter();
|
|
1330
1331
|
this.showAdvancedFiltersChange = new EventEmitter();
|
|
@@ -1349,7 +1350,7 @@ class FiltersPanelComponent extends NrclBase {
|
|
|
1349
1350
|
this.showAdvancedFiltersChange.emit(true);
|
|
1350
1351
|
}
|
|
1351
1352
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FiltersPanelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: FiltersPanelComponent, isStandalone: true, selector: "nrcl-filters-panel", inputs: { showClear: "showClear", showFilters: "showFilters", hasAdvancedFilters: "hasAdvancedFilters", showAdvancedFilters: "showAdvancedFilters" }, outputs: { clearFilters: "clearFilters", showFiltersChange: "showFiltersChange", showAdvancedFiltersChange: "showAdvancedFiltersChange" }, host: { properties: { "class.hide-filters": "!showFilters", "class.has-search": "!!search" } }, queries: [{ propertyName: "search", first: true, predicate: FilterSearchComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "\n<div class=\"search-actions\">\n <div class=\"search\">\n <ng-content select=\"nrcl-filter-search\"></ng-content>\n <div class=\"spacer\"></div>\n </div>\n\n <nrcl-device-view>\n <ng-template desktop-view>\n @if ( showFilters && hasAdvancedFilters ) {\n @if ( showAdvancedFilters ) {\n <nrcl-button
|
|
1353
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: FiltersPanelComponent, isStandalone: true, selector: "nrcl-filters-panel", inputs: { showClear: "showClear", showFilters: "showFilters", hasAdvancedFilters: "hasAdvancedFilters", showAdvancedFilters: "showAdvancedFilters", moreFiltersLabels: "moreFiltersLabels" }, outputs: { clearFilters: "clearFilters", showFiltersChange: "showFiltersChange", showAdvancedFiltersChange: "showAdvancedFiltersChange" }, host: { properties: { "class.hide-filters": "!showFilters", "class.has-search": "!!search" } }, queries: [{ propertyName: "search", first: true, predicate: FilterSearchComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "\n<div class=\"search-actions\">\n <div class=\"search\">\n <ng-content select=\"nrcl-filter-search\"></ng-content>\n <div class=\"spacer\"></div>\n </div>\n\n <nrcl-device-view>\n <ng-template desktop-view>\n @if ( showFilters && hasAdvancedFilters ) {\n @if ( showAdvancedFilters ) {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[1]\"\n iconRight=\"expand_less\"\n (click)=\"onHideAdvancedClick()\"\n ></nrcl-button>\n }\n @else {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[0]\"\n iconRight=\"expand_more\"\n (click)=\"onShowAdvancedClick()\"\n ></nrcl-button>\n }\n }\n\n @if ( showClear && showFilters ) {\n <nrcl-button secondary\n label=\"Clear\"\n icon=\"clear-filters\"\n (click)=\"onClearClick()\"\n ></nrcl-button>\n }\n </ng-template>\n </nrcl-device-view>\n</div>\n\n<div class=\"filters\">\n <ng-content></ng-content>\n\n @if ( hasAdvancedFilters && showAdvancedFilters ) {\n <ng-content select=\"[advanced]\"></ng-content>\n }\n</div>\n\n<div class=\"mobile-actions\">\n <nrcl-device-view>\n <ng-template mobile-view>\n @if ( hasAdvancedFilters ) {\n @if ( showAdvancedFilters ) {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[1]\"\n iconRight=\"expand_less\"\n (click)=\"onHideAdvancedClick()\"\n ></nrcl-button>\n }\n @else {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[0]\"\n iconRight=\"expand_more\"\n (click)=\"onShowAdvancedClick()\"\n ></nrcl-button>\n }\n }\n\n @if ( showClear ) {\n <nrcl-button secondary\n label=\"Clear\"\n icon=\"clear-filters\"\n (click)=\"onClearClick()\"\n ></nrcl-button>\n }\n </ng-template>\n </nrcl-device-view>\n</div>", styles: [":host{display:block;border:1px solid #c6c8cb;border-radius:10px;padding:8px;background-color:#f2f2f2;position:relative;box-sizing:border-box}:host .filters{display:contents}:host-context(.nrcl-device-desktop) :host{padding-bottom:0}:host-context(.nrcl-device-desktop) :host .search-actions{float:right;display:flex;gap:8px}:host-context(.nrcl-device-desktop) :host .search-actions .nrcl-button{--nrcl-button-height: 40px}:host-context(.nrcl-device-desktop) :host .search-actions .search{display:none}:host-context(.nrcl-device-desktop) :host .search-actions .nrcl-device-view{display:contents}:host-context(.nrcl-device-desktop) :host.has-search .search-actions{float:none;width:100%;margin-bottom:8px}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search{display:contents;--nrcl-filter-search-width: var( --nrcl-filter-width-4 )}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search{max-width:var(--nrcl-filter-search-width)}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search .mat-mdc-form-field-infix{width:unset}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search .spacer{flex-grow:1;min-width:100px}:host-context(.nrcl-device-desktop) :host .filters ::ng-deep .nrcl-filter-select,:host-context(.nrcl-device-desktop) :host .filters ::ng-deep .nrcl-filter-date,:host-context(.nrcl-device-desktop) :host .filters ::ng-deep .nrcl-filter-container{display:inline-block;margin-right:8px;margin-bottom:8px}:host-context(.nrcl-device-mobile) :host{display:flex;flex-direction:column;gap:8px}:host-context(.nrcl-device-mobile) :host .search-actions{display:none}:host-context(.nrcl-device-mobile) :host .search-actions .spacer{display:none}:host-context(.nrcl-device-mobile) :host.has-search .search-actions{display:block;margin-bottom:0}:host-context(.nrcl-device-mobile) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search{width:100%}:host-context(.nrcl-device-mobile) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search .mat-mdc-form-field-infix{width:unset}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep .nrcl-filter-select{--nrcl-filter-select-width: auto !important}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep .nrcl-filter-date{--nrcl-filter-date-width: auto !important}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep .nrcl-filter-container{--nrcl-filter-container-width: auto !important}:host-context(.nrcl-device-mobile) :host .mobile-actions{display:flex;justify-content:flex-end;gap:8px}:host-context(.nrcl-device-mobile) :host .mobile-actions .nrcl-device-view{display:contents}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "nrcl-button", inputs: ["label", "ariaLabel", "icon", "iconRight", "iconCompact", "tooltip", "compact", "small", "primary", "secondary", "tertiary", "disabled", "anchor"], outputs: ["click"] }, { kind: "component", type: DeviceViewComponent, selector: "nrcl-device-view" }, { kind: "directive", type: DesktopViewDirective, selector: "[desktop-view]" }, { kind: "directive", type: MobileViewDirective, selector: "[mobile-view]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1353
1354
|
}
|
|
1354
1355
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FiltersPanelComponent, decorators: [{
|
|
1355
1356
|
type: Component,
|
|
@@ -1361,7 +1362,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1361
1362
|
DeviceViewComponent,
|
|
1362
1363
|
DesktopViewDirective,
|
|
1363
1364
|
MobileViewDirective
|
|
1364
|
-
], template: "\n<div class=\"search-actions\">\n <div class=\"search\">\n <ng-content select=\"nrcl-filter-search\"></ng-content>\n <div class=\"spacer\"></div>\n </div>\n\n <nrcl-device-view>\n <ng-template desktop-view>\n @if ( showFilters && hasAdvancedFilters ) {\n @if ( showAdvancedFilters ) {\n <nrcl-button
|
|
1365
|
+
], template: "\n<div class=\"search-actions\">\n <div class=\"search\">\n <ng-content select=\"nrcl-filter-search\"></ng-content>\n <div class=\"spacer\"></div>\n </div>\n\n <nrcl-device-view>\n <ng-template desktop-view>\n @if ( showFilters && hasAdvancedFilters ) {\n @if ( showAdvancedFilters ) {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[1]\"\n iconRight=\"expand_less\"\n (click)=\"onHideAdvancedClick()\"\n ></nrcl-button>\n }\n @else {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[0]\"\n iconRight=\"expand_more\"\n (click)=\"onShowAdvancedClick()\"\n ></nrcl-button>\n }\n }\n\n @if ( showClear && showFilters ) {\n <nrcl-button secondary\n label=\"Clear\"\n icon=\"clear-filters\"\n (click)=\"onClearClick()\"\n ></nrcl-button>\n }\n </ng-template>\n </nrcl-device-view>\n</div>\n\n<div class=\"filters\">\n <ng-content></ng-content>\n\n @if ( hasAdvancedFilters && showAdvancedFilters ) {\n <ng-content select=\"[advanced]\"></ng-content>\n }\n</div>\n\n<div class=\"mobile-actions\">\n <nrcl-device-view>\n <ng-template mobile-view>\n @if ( hasAdvancedFilters ) {\n @if ( showAdvancedFilters ) {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[1]\"\n iconRight=\"expand_less\"\n (click)=\"onHideAdvancedClick()\"\n ></nrcl-button>\n }\n @else {\n <nrcl-button tertiary\n [label]=\"moreFiltersLabels[0]\"\n iconRight=\"expand_more\"\n (click)=\"onShowAdvancedClick()\"\n ></nrcl-button>\n }\n }\n\n @if ( showClear ) {\n <nrcl-button secondary\n label=\"Clear\"\n icon=\"clear-filters\"\n (click)=\"onClearClick()\"\n ></nrcl-button>\n }\n </ng-template>\n </nrcl-device-view>\n</div>", styles: [":host{display:block;border:1px solid #c6c8cb;border-radius:10px;padding:8px;background-color:#f2f2f2;position:relative;box-sizing:border-box}:host .filters{display:contents}:host-context(.nrcl-device-desktop) :host{padding-bottom:0}:host-context(.nrcl-device-desktop) :host .search-actions{float:right;display:flex;gap:8px}:host-context(.nrcl-device-desktop) :host .search-actions .nrcl-button{--nrcl-button-height: 40px}:host-context(.nrcl-device-desktop) :host .search-actions .search{display:none}:host-context(.nrcl-device-desktop) :host .search-actions .nrcl-device-view{display:contents}:host-context(.nrcl-device-desktop) :host.has-search .search-actions{float:none;width:100%;margin-bottom:8px}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search{display:contents;--nrcl-filter-search-width: var( --nrcl-filter-width-4 )}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search{max-width:var(--nrcl-filter-search-width)}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search .mat-mdc-form-field-infix{width:unset}:host-context(.nrcl-device-desktop) :host.has-search .search-actions .search .spacer{flex-grow:1;min-width:100px}:host-context(.nrcl-device-desktop) :host .filters ::ng-deep .nrcl-filter-select,:host-context(.nrcl-device-desktop) :host .filters ::ng-deep .nrcl-filter-date,:host-context(.nrcl-device-desktop) :host .filters ::ng-deep .nrcl-filter-container{display:inline-block;margin-right:8px;margin-bottom:8px}:host-context(.nrcl-device-mobile) :host{display:flex;flex-direction:column;gap:8px}:host-context(.nrcl-device-mobile) :host .search-actions{display:none}:host-context(.nrcl-device-mobile) :host .search-actions .spacer{display:none}:host-context(.nrcl-device-mobile) :host.has-search .search-actions{display:block;margin-bottom:0}:host-context(.nrcl-device-mobile) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search{width:100%}:host-context(.nrcl-device-mobile) :host.has-search .search-actions .search ::ng-deep .nrcl-filter-search .mat-mdc-form-field-infix{width:unset}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep .nrcl-filter-select{--nrcl-filter-select-width: auto !important}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep .nrcl-filter-date{--nrcl-filter-date-width: auto !important}:host-context(.nrcl-device-mobile) :host .filters ::ng-deep .nrcl-filter-container{--nrcl-filter-container-width: auto !important}:host-context(.nrcl-device-mobile) :host .mobile-actions{display:flex;justify-content:flex-end;gap:8px}:host-context(.nrcl-device-mobile) :host .mobile-actions .nrcl-device-view{display:contents}\n"] }]
|
|
1365
1366
|
}], propDecorators: { showClear: [{
|
|
1366
1367
|
type: Input
|
|
1367
1368
|
}], showFilters: [{
|
|
@@ -1370,6 +1371,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1370
1371
|
type: Input
|
|
1371
1372
|
}], showAdvancedFilters: [{
|
|
1372
1373
|
type: Input
|
|
1374
|
+
}], moreFiltersLabels: [{
|
|
1375
|
+
type: Input
|
|
1373
1376
|
}], clearFilters: [{
|
|
1374
1377
|
type: Output
|
|
1375
1378
|
}], showFiltersChange: [{
|
|
@@ -2415,7 +2418,7 @@ class ListSelectComponent extends RowListBase {
|
|
|
2415
2418
|
return this.filterProvider(option);
|
|
2416
2419
|
}
|
|
2417
2420
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ListSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2418
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ListSelectComponent, isStandalone: true, selector: "nrcl-list-select", inputs: { options: "options", value: "value", descriptionLabel: "descriptionLabel", single: ["single", "single", booleanAttribute], noRowsMessage: "noRowsMessage", displayColumnsProvider: "displayColumnsProvider", filterProvider: "filterProvider" }, outputs: { valueChange: "valueChange", filterClear: "filterClear" }, queries: [{ propertyName: "columnDefs", predicate: MatColumnDef }], viewQueries: [{ propertyName: "table", first: true, predicate: MatTable, descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if ( !single ) {\n <div class=\"summary\">\n <h3>{{ value?.length || '0' }} Selected</h3>\n </div>\n}\n\n<nrcl-filters-panel (clearFilters)=\"onClearFilters()\">\n <nrcl-filter-search\n [(value)]=\"searchText\"\n (valueChange)=\"onSearchTextChange( $event )\">\n </nrcl-filter-search>\n\n <ng-content select=\"[filter]\"></ng-content>\n</nrcl-filters-panel>\n\n<nrcl-row-list-desktop [class.empty]=\"rows?.length == 0\">\n <mat-table [dataSource]=\"rows\" >\n <ng-container matColumnDef=\"description\">\n <mat-header-cell *matHeaderCellDef>{{ descriptionLabel }}</mat-header-cell>\n <mat-cell *matCellDef=\"let item\">\n <nrcl-cell-content>{{ item.description }}</nrcl-cell-content>\n </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"addRemove\">\n <mat-header-cell *matHeaderCellDef>Add Remove</mat-header-cell>\n <mat-cell *matCellDef=\"let item\">\n <nrcl-indicator-select [selected]=\"isSelected( item )\"></nrcl-indicator-select>\n </mat-cell>\n </ng-container>\n\n <ng-content></ng-content>\n\n <mat-header-row *matHeaderRowDef=\"displayColumns; sticky: true\"></mat-header-row>\n\n <mat-row\n *matRowDef=\"let item; columns: displayColumns\"\n [class.selected]=\"isSelected( item )\"\n (click)=\"onRowClick( item )\"\n (keypress)=\"onRowClick( item )\"\n ></mat-row>\n </mat-table>\n</nrcl-row-list-desktop>\n\n@if ( totalRowCount == 0 ) {\n <nrcl-row-list-pagination\n paginationId=\"list-select\"\n [pageSize]=\"pageSize\"\n [pageNumber]=\"pageNumber\"\n [rowCount]=\"totalRowCount\"\n (pageNumberChange)=\"onPageNumberChange( $event )\"\n (pageSizeChange)=\"onPageSizeChange( $event )\"\n [noRowsMessage]=\"noRowsMessage\"\n ></nrcl-row-list-pagination>\n}\n", styles: [":host{font-family:var(--nrcl-font-family);font-size:var(--nrcl-font-size)}:host .summary{display:flex;justify-content:flex-end}:host .summary h3{font-size:var(--nrcl-font-size-h3);font-weight:400;padding:0;margin:0;padding-bottom:var(--nrcl-gutter-space)}:host .nrcl-row-list-desktop.empty{display:none}:host .nrcl-row-list-desktop .mat-mdc-table .mat-column-description{flex-grow:1}:host .nrcl-row-list-desktop .mat-mdc-table .mat-column-addRemove{flex-basis:70px;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;text-align:center}\n"], dependencies: [{ kind: "component", type: RowListDesktopComponent, selector: "nrcl-row-list-desktop", inputs: ["showRowHover"] }, { kind: "component", type: RowListPaginationComponent, selector: "nrcl-row-list-pagination", inputs: ["paginationId", "pageSizeOptions", "pageSize", "pageNumber", "rowCount", "showPageSize", "noRowsMessage"], outputs: ["pageSizeChange", "pageNumberChange"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1$7.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i1$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i1$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: CellContentComponent, selector: "nrcl-cell-content", inputs: ["tooltip", "content"] }, { kind: "ngmodule", type: NgxPaginationModule }, { kind: "ngmodule", type: MatSortModule }, { kind: "component", type: IndicatorSelectComponent, selector: "nrcl-indicator-select", inputs: ["selected"] }, { kind: "component", type: FiltersPanelComponent, selector: "nrcl-filters-panel", inputs: ["showClear", "showFilters", "hasAdvancedFilters", "showAdvancedFilters"], outputs: ["clearFilters", "showFiltersChange", "showAdvancedFiltersChange"] }, { kind: "component", type: FilterSearchComponent, selector: "nrcl-filter-search", inputs: ["label", "placeholder", "hint", "value", "wide"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2421
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ListSelectComponent, isStandalone: true, selector: "nrcl-list-select", inputs: { options: "options", value: "value", descriptionLabel: "descriptionLabel", single: ["single", "single", booleanAttribute], noRowsMessage: "noRowsMessage", displayColumnsProvider: "displayColumnsProvider", filterProvider: "filterProvider" }, outputs: { valueChange: "valueChange", filterClear: "filterClear" }, queries: [{ propertyName: "columnDefs", predicate: MatColumnDef }], viewQueries: [{ propertyName: "table", first: true, predicate: MatTable, descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if ( !single ) {\n <div class=\"summary\">\n <h3>{{ value?.length || '0' }} Selected</h3>\n </div>\n}\n\n<nrcl-filters-panel (clearFilters)=\"onClearFilters()\">\n <nrcl-filter-search\n [(value)]=\"searchText\"\n (valueChange)=\"onSearchTextChange( $event )\">\n </nrcl-filter-search>\n\n <ng-content select=\"[filter]\"></ng-content>\n</nrcl-filters-panel>\n\n<nrcl-row-list-desktop [class.empty]=\"rows?.length == 0\">\n <mat-table [dataSource]=\"rows\" >\n <ng-container matColumnDef=\"description\">\n <mat-header-cell *matHeaderCellDef>{{ descriptionLabel }}</mat-header-cell>\n <mat-cell *matCellDef=\"let item\">\n <nrcl-cell-content>{{ item.description }}</nrcl-cell-content>\n </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"addRemove\">\n <mat-header-cell *matHeaderCellDef>Add Remove</mat-header-cell>\n <mat-cell *matCellDef=\"let item\">\n <nrcl-indicator-select [selected]=\"isSelected( item )\"></nrcl-indicator-select>\n </mat-cell>\n </ng-container>\n\n <ng-content></ng-content>\n\n <mat-header-row *matHeaderRowDef=\"displayColumns; sticky: true\"></mat-header-row>\n\n <mat-row\n *matRowDef=\"let item; columns: displayColumns\"\n [class.selected]=\"isSelected( item )\"\n (click)=\"onRowClick( item )\"\n (keypress)=\"onRowClick( item )\"\n ></mat-row>\n </mat-table>\n</nrcl-row-list-desktop>\n\n@if ( totalRowCount == 0 ) {\n <nrcl-row-list-pagination\n paginationId=\"list-select\"\n [pageSize]=\"pageSize\"\n [pageNumber]=\"pageNumber\"\n [rowCount]=\"totalRowCount\"\n (pageNumberChange)=\"onPageNumberChange( $event )\"\n (pageSizeChange)=\"onPageSizeChange( $event )\"\n [noRowsMessage]=\"noRowsMessage\"\n ></nrcl-row-list-pagination>\n}\n", styles: [":host{font-family:var(--nrcl-font-family);font-size:var(--nrcl-font-size)}:host .summary{display:flex;justify-content:flex-end}:host .summary h3{font-size:var(--nrcl-font-size-h3);font-weight:400;padding:0;margin:0;padding-bottom:var(--nrcl-gutter-space)}:host .nrcl-row-list-desktop.empty{display:none}:host .nrcl-row-list-desktop .mat-mdc-table .mat-column-description{flex-grow:1}:host .nrcl-row-list-desktop .mat-mdc-table .mat-column-addRemove{flex-basis:70px;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;text-align:center}\n"], dependencies: [{ kind: "component", type: RowListDesktopComponent, selector: "nrcl-row-list-desktop", inputs: ["showRowHover"] }, { kind: "component", type: RowListPaginationComponent, selector: "nrcl-row-list-pagination", inputs: ["paginationId", "pageSizeOptions", "pageSize", "pageNumber", "rowCount", "showPageSize", "noRowsMessage"], outputs: ["pageSizeChange", "pageNumberChange"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1$7.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i1$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i1$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: CellContentComponent, selector: "nrcl-cell-content", inputs: ["tooltip", "content"] }, { kind: "ngmodule", type: NgxPaginationModule }, { kind: "ngmodule", type: MatSortModule }, { kind: "component", type: IndicatorSelectComponent, selector: "nrcl-indicator-select", inputs: ["selected"] }, { kind: "component", type: FiltersPanelComponent, selector: "nrcl-filters-panel", inputs: ["showClear", "showFilters", "hasAdvancedFilters", "showAdvancedFilters", "moreFiltersLabels"], outputs: ["clearFilters", "showFiltersChange", "showAdvancedFiltersChange"] }, { kind: "component", type: FilterSearchComponent, selector: "nrcl-filter-search", inputs: ["label", "placeholder", "hint", "value", "wide"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2419
2422
|
}
|
|
2420
2423
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ListSelectComponent, decorators: [{
|
|
2421
2424
|
type: Component,
|