ngx-aur-mat-table 0.0.58 → 0.0.60
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/ngx-aur-mat-table.umd.js +48 -37
- package/bundles/ngx-aur-mat-table.umd.js.map +1 -1
- package/esm2015/lib/components/column-value/column-view.component.js +1 -1
- package/esm2015/lib/model/ColumnConfig.js +2 -0
- package/esm2015/lib/ngx-aur-mat-table.component.js +31 -35
- package/esm2015/lib/providers/FilterProvider.js +5 -0
- package/esm2015/lib/providers/IndexProvider.js +5 -2
- package/esm2015/lib/providers/PaginationProvider.js +7 -0
- package/esm2015/lib/providers/RowActionProvider.js +2 -2
- package/esm2015/lib/providers/SelectionProvider.js +1 -1
- package/esm2015/lib/providers/TableDataProvider.js +1 -1
- package/esm2015/lib/providers/TableViewConverter.js +2 -2
- package/esm2015/public-api.js +2 -2
- package/fesm2015/ngx-aur-mat-table.js +46 -37
- package/fesm2015/ngx-aur-mat-table.js.map +1 -1
- package/lib/components/column-value/column-view.component.d.ts +2 -2
- package/lib/model/ColumnConfig.d.ts +73 -0
- package/lib/ngx-aur-mat-table.component.d.ts +13 -16
- package/lib/providers/FilterProvider.d.ts +3 -0
- package/lib/providers/IndexProvider.d.ts +4 -9
- package/lib/providers/PaginationProvider.d.ts +6 -0
- package/lib/providers/RowActionProvider.d.ts +3 -11
- package/lib/providers/SelectionProvider.d.ts +1 -4
- package/lib/providers/TableDataProvider.d.ts +2 -2
- package/lib/providers/TableViewConverter.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2015/lib/model/TableConfig.js +0 -2
- package/lib/model/TableConfig.d.ts +0 -36
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var RowActionProvider = /** @class */ (function () {
|
|
81
81
|
function RowActionProvider(ctx, columns) {
|
|
82
82
|
this.COLUMN_NAME = 'tbl_actions';
|
|
83
|
-
this.
|
|
83
|
+
this.config = ctx;
|
|
84
84
|
if (ctx.position === 'start') {
|
|
85
85
|
columns.unshift(this.COLUMN_NAME);
|
|
86
86
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
TableViewConverter.toView = function (rows, tableConfig) {
|
|
98
98
|
var result = new Map();
|
|
99
|
-
tableConfig.forEach(function (c) {
|
|
99
|
+
tableConfig.columnsCfg.forEach(function (c) {
|
|
100
100
|
if (c.valueColumn) {
|
|
101
101
|
result.set(c.key, c.valueColumn);
|
|
102
102
|
}
|
|
@@ -146,9 +146,12 @@
|
|
|
146
146
|
var IndexProvider = /** @class */ (function () {
|
|
147
147
|
function IndexProvider(indexConfig, columns) {
|
|
148
148
|
this.COLUMN_NAME = 'tbl_index';
|
|
149
|
-
if (indexConfig
|
|
149
|
+
if (indexConfig) {
|
|
150
150
|
columns.unshift(this.COLUMN_NAME);
|
|
151
151
|
}
|
|
152
|
+
this.headerView = indexConfig.headerColumn;
|
|
153
|
+
this.name = indexConfig.name || '';
|
|
154
|
+
this.offset = indexConfig.offset || 0;
|
|
152
155
|
}
|
|
153
156
|
return IndexProvider;
|
|
154
157
|
}());
|
|
@@ -175,6 +178,20 @@
|
|
|
175
178
|
return TableDataProvider;
|
|
176
179
|
}());
|
|
177
180
|
|
|
181
|
+
var PaginationProvider = /** @class */ (function () {
|
|
182
|
+
function PaginationProvider(config) {
|
|
183
|
+
this.sizes = config.sizes || [5, 10, 15, 25, 50];
|
|
184
|
+
this.size = config.size || this.sizes[1];
|
|
185
|
+
}
|
|
186
|
+
return PaginationProvider;
|
|
187
|
+
}());
|
|
188
|
+
|
|
189
|
+
var FilterProvider = /** @class */ (function () {
|
|
190
|
+
function FilterProvider() {
|
|
191
|
+
}
|
|
192
|
+
return FilterProvider;
|
|
193
|
+
}());
|
|
194
|
+
|
|
178
195
|
var ColumnViewComponent = /** @class */ (function () {
|
|
179
196
|
function ColumnViewComponent() {
|
|
180
197
|
}
|
|
@@ -219,41 +236,49 @@
|
|
|
219
236
|
this.tableDataSource = new i2.MatTableDataSource([]);
|
|
220
237
|
this.displayedColumns = [];
|
|
221
238
|
this.tableView = [];
|
|
222
|
-
this.
|
|
223
|
-
this.isPageable = false;
|
|
224
|
-
this.paginationSizes = [5, 10, 15, 25, 50];
|
|
225
|
-
this.defaultPageSize = this.paginationSizes[1];
|
|
239
|
+
this.tableData = [];
|
|
226
240
|
this.sort = new i0.EventEmitter();
|
|
241
|
+
// events if enabled actions
|
|
227
242
|
this.onRowAction = new i0.EventEmitter();
|
|
243
|
+
// -----------------------
|
|
244
|
+
// events if enabled select event
|
|
228
245
|
this.selected = new i0.EventEmitter();
|
|
229
246
|
this.onSelect = new i0.EventEmitter();
|
|
230
247
|
this.onDeselect = new i0.EventEmitter();
|
|
248
|
+
//------------------------
|
|
231
249
|
this.onRowClick = new i0.EventEmitter();
|
|
232
|
-
this.tableConfig = [];
|
|
233
|
-
this.tableData = [];
|
|
234
250
|
this.tableDataProvider = new TableDataProvider();
|
|
235
251
|
}
|
|
236
252
|
NgxAurMatTableComponent.prototype.ngOnInit = function () {
|
|
253
|
+
if (!this.tableConfig || !this.tableData) {
|
|
254
|
+
throw new Error("init inputs [tableConfig] and [tableData] is mandatory!");
|
|
255
|
+
}
|
|
237
256
|
this.setTableDataSource();
|
|
238
257
|
this.tableView = TableViewConverter.toView(this.tableDataSource.data, this.tableConfig);
|
|
239
|
-
this.displayedColumns = this.tableConfig.map(function (tableColumn) { return tableColumn.name; });
|
|
240
|
-
if (this.
|
|
241
|
-
this.indexProvider = new IndexProvider(this.
|
|
258
|
+
this.displayedColumns = this.tableConfig.columnsCfg.map(function (tableColumn) { return tableColumn.name; });
|
|
259
|
+
if (this.tableConfig.indexCfg && this.tableConfig.indexCfg.enable) {
|
|
260
|
+
this.indexProvider = new IndexProvider(this.tableConfig.indexCfg, this.displayedColumns);
|
|
242
261
|
}
|
|
243
|
-
else if (this.
|
|
244
|
-
this.rowActionsProvider = new RowActionProvider(this.
|
|
262
|
+
else if (this.tableConfig.actionCfg) {
|
|
263
|
+
this.rowActionsProvider = new RowActionProvider(this.tableConfig.actionCfg, this.displayedColumns);
|
|
245
264
|
}
|
|
246
|
-
else if (this.
|
|
247
|
-
this.selectionProvider = new SelectionProvider(this.
|
|
265
|
+
else if (this.tableConfig.selectionCfg) {
|
|
266
|
+
this.selectionProvider = new SelectionProvider(this.tableConfig.selectionCfg, this.displayedColumns, this.tableDataSource);
|
|
248
267
|
this.selectionProvider.bind(this.selected, this.onSelect, this.onDeselect);
|
|
249
268
|
}
|
|
269
|
+
else if (this.tableConfig.pageableCfg) {
|
|
270
|
+
this.paginationProvider = new PaginationProvider(this.tableConfig.pageableCfg);
|
|
271
|
+
}
|
|
272
|
+
else if (this.filterProvider) {
|
|
273
|
+
this.filterProvider = new FilterProvider();
|
|
274
|
+
}
|
|
250
275
|
};
|
|
251
276
|
// we need this, in order to make pagination work with *ngIf
|
|
252
277
|
NgxAurMatTableComponent.prototype.ngAfterViewInit = function () {
|
|
253
278
|
this.tableDataSource.paginator = this.matPaginator;
|
|
254
279
|
};
|
|
255
280
|
NgxAurMatTableComponent.prototype.setTableDataSource = function () {
|
|
256
|
-
var convert = this.tableDataProvider.convert(this.tableData, this.tableConfig);
|
|
281
|
+
var convert = this.tableDataProvider.convert(this.tableData, this.tableConfig.columnsCfg);
|
|
257
282
|
this.tableDataSource = new i2.MatTableDataSource(convert);
|
|
258
283
|
this.tableDataSource.paginator = this.matPaginator;
|
|
259
284
|
this.tableDataSource.sort = this.matSort;
|
|
@@ -287,7 +312,7 @@
|
|
|
287
312
|
return NgxAurMatTableComponent;
|
|
288
313
|
}());
|
|
289
314
|
NgxAurMatTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NgxAurMatTableComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
290
|
-
NgxAurMatTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NgxAurMatTableComponent, selector: "aur-mat-table", inputs: {
|
|
315
|
+
NgxAurMatTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NgxAurMatTableComponent, selector: "aur-mat-table", inputs: { tableConfig: "tableConfig", tableData: "tableData" }, outputs: { sort: "sort", onRowAction: "onRowAction", selected: "selected", onSelect: "onSelect", onDeselect: "onDeselect", onRowClick: "onRowClick" }, viewQueries: [{ propertyName: "matPaginator", first: true, predicate: i8.MatPaginator, descendants: true }, { propertyName: "matSort", first: true, predicate: i7.MatSort, descendants: true, static: true }], ngImport: i0__namespace, template: "<ng-container>\r\n\r\n <!-- Filter -->\r\n <ng-container *ngIf=\"filterProvider\">\r\n <mat-form-field>\r\n <mat-label>Filter</mat-label>\r\n <input matInput (keyup)=\"applyFilter($event)\" placeholder=\"filter\">\r\n </mat-form-field>\r\n </ng-container>\r\n\r\n <!-- Table -->\r\n <table mat-table [dataSource]=\"tableDataSource\" matSort (matSortChange)=\"sortTable($event)\">\r\n\r\n <!-- index-column-->\r\n <ng-container *ngIf=\"indexProvider\" [matColumnDef]=\"indexProvider.COLUMN_NAME\">\r\n\r\n <th mat-header-cell *matHeaderCellDef>\r\n <lib-column-view [config]=\"indexProvider.headerView\">\r\n {{indexProvider.name}}\r\n </lib-column-view>\r\n </th>\r\n\r\n <td mat-cell *matCellDef=\"let element; let rowIndex = index\">\r\n {{rowIndex + indexProvider.offset}}\r\n </td>\r\n </ng-container>\r\n\r\n <!-- selection-column-->\r\n <ng-container [matColumnDef]=\"selectionProvider.COLUMN_NAME\" *ngIf=\"selectionProvider\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selectionProvider.selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selectionProvider.selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selectionProvider.selection.toggle(castSrc(row).rowSrc) : null\"\r\n [checked]=\"selectionProvider.selection.isSelected(castSrc(row).rowSrc)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- action column -->\r\n <ng-container *ngIf=\"rowActionsProvider\" [matColumnDef]=\"rowActionsProvider.COLUMN_NAME\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button\r\n (click)=\"emitRowAction(action.action, castSrc(element).rowSrc, $event)\"\r\n [matTooltip]=\"action.icon.tooltip || ''\"\r\n *ngFor=\"let action of rowActionsProvider.config.actions\">\r\n <mat-icon [style.color]=\"action.icon.color\">\r\n {{action.icon.name}}\r\n </mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- value-icon-->\r\n <ng-container *ngFor=\"let columnConfig of tableConfig.columnsCfg\" [matColumnDef]=\"columnConfig.name\">\r\n\r\n <!-- if sortable column header -->\r\n <ng-container *ngIf=\"columnConfig.sort; else notSortable\">\r\n <th mat-header-cell *matHeaderCellDef [mat-sort-header]=\"columnConfig.name\"\r\n [arrowPosition]=\"columnConfig.sort.position === 'right' ? 'before' : 'after'\">\r\n <ng-container *ngTemplateOutlet=\"headerValue\"></ng-container>\r\n </th>\r\n </ng-container>\r\n\r\n <!-- else not sortable -->\r\n <ng-template #notSortable>\r\n <th mat-header-cell *matHeaderCellDef>\r\n <ng-container *ngTemplateOutlet=\"headerValue\"></ng-container>\r\n </th>\r\n </ng-template>\r\n\r\n <!-- header value-->\r\n <ng-template #headerValue>\r\n <lib-column-view [config]=\"columnConfig.headerColumn\">\r\n {{columnConfig.name}}\r\n </lib-column-view>\r\n </ng-template>\r\n\r\n <!-- column value \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u043E\u043B\u043E\u043D\u043E\u043A \u043D\u0443\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437 getView(rowIndex, columnConfig.key) \u0442\u0430\u043C \u043D\u0430\u0445\u043E\u0434\u044F\u0442\u0441\u044F \u0443\u0436\u0435\r\n \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F-->\r\n <td mat-cell *matCellDef=\"let element; let rowIndex = index\">\r\n <lib-column-view [config]=\"getView(rowIndex, columnConfig.key)\">\r\n {{element | dataPropertyGetter: columnConfig.key}}\r\n </lib-column-view>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row (click)=\"onRowAction.emit(row)\" *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n\r\n <!-- Pagination -->\r\n <mat-paginator *ngIf=\"paginationProvider\"\r\n [pageSizeOptions]=\"paginationProvider.sizes\"\r\n [pageSize]=\"paginationProvider.size\"\r\n showFirstLastButtons>\r\n </mat-paginator>\r\n</ng-container>\r\n", styles: ["table{width:100%}th,td{padding:10px!important}mat-form-field{width:40%}.text-right{text-align:right!important}\n"], components: [{ type: i1__namespace$1.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: ColumnViewComponent, selector: "lib-column-view", inputs: ["config"] }, { type: i4__namespace.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"] }, { type: i5__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i1__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i7__namespace.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "arrowPosition", "sortActionDescription", "disableClear", "mat-sort-header", "start"], exportAs: ["matSortHeader"] }, { type: i2__namespace.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i2__namespace.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { type: i8__namespace.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MatLabel, selector: "mat-label" }, { type: i10__namespace.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i7__namespace.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortActive"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i2__namespace.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i2__namespace.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i2__namespace.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i2__namespace.MatCellDef, selector: "[matCellDef]" }, { type: i2__namespace.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i9__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2__namespace.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i2__namespace.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], pipes: { "dataPropertyGetter": DataPropertyGetterPipe } });
|
|
291
316
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NgxAurMatTableComponent, decorators: [{
|
|
292
317
|
type: i0.Component,
|
|
293
318
|
args: [{
|
|
@@ -295,30 +320,20 @@
|
|
|
295
320
|
templateUrl: './ngx-aur-mat-table.component.html',
|
|
296
321
|
styleUrls: ['./ngx-aur-mat-table.component.scss'],
|
|
297
322
|
}]
|
|
298
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
323
|
+
}], ctorParameters: function () { return []; }, propDecorators: { tableConfig: [{
|
|
324
|
+
type: i0.Input
|
|
325
|
+
}], tableData: [{
|
|
326
|
+
type: i0.Input
|
|
327
|
+
}], matPaginator: [{
|
|
299
328
|
type: i0.ViewChild,
|
|
300
329
|
args: [i8.MatPaginator, { static: false }]
|
|
301
330
|
}], matSort: [{
|
|
302
331
|
type: i0.ViewChild,
|
|
303
332
|
args: [i7.MatSort, { static: true }]
|
|
304
|
-
}], isFilterable: [{
|
|
305
|
-
type: i0.Input
|
|
306
|
-
}], indexable: [{
|
|
307
|
-
type: i0.Input
|
|
308
|
-
}], isPageable: [{
|
|
309
|
-
type: i0.Input
|
|
310
|
-
}], paginationSizes: [{
|
|
311
|
-
type: i0.Input
|
|
312
|
-
}], defaultPageSize: [{
|
|
313
|
-
type: i0.Input
|
|
314
333
|
}], sort: [{
|
|
315
334
|
type: i0.Output
|
|
316
|
-
}], rowActionable: [{
|
|
317
|
-
type: i0.Input
|
|
318
335
|
}], onRowAction: [{
|
|
319
336
|
type: i0.Output
|
|
320
|
-
}], selectable: [{
|
|
321
|
-
type: i0.Input
|
|
322
337
|
}], selected: [{
|
|
323
338
|
type: i0.Output
|
|
324
339
|
}], onSelect: [{
|
|
@@ -327,10 +342,6 @@
|
|
|
327
342
|
type: i0.Output
|
|
328
343
|
}], onRowClick: [{
|
|
329
344
|
type: i0.Output
|
|
330
|
-
}], tableConfig: [{
|
|
331
|
-
type: i0.Input
|
|
332
|
-
}], tableData: [{
|
|
333
|
-
type: i0.Input
|
|
334
345
|
}] } });
|
|
335
346
|
|
|
336
347
|
var NgxAurMatTableModule = /** @class */ (function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-aur-mat-table.umd.js","sources":["../../../projects/ngx-aur-mat-table/src/lib/providers/SelectionProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/RowActionProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/TableViewConverter.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/IndexProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/model/TableRow.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/TableDataProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/components/column-value/column-view.component.ts","../../../projects/ngx-aur-mat-table/src/lib/components/column-value/column-view.component.html","../../../projects/ngx-aur-mat-table/src/lib/data-property-getter-pipe/data-property-getter.pipe.ts","../../../projects/ngx-aur-mat-table/src/lib/ngx-aur-mat-table.component.ts","../../../projects/ngx-aur-mat-table/src/lib/ngx-aur-mat-table.component.html","../../../projects/ngx-aur-mat-table/src/lib/ngx-aur-mat-table.module.ts","../../../projects/ngx-aur-mat-table/src/public-api.ts","../../../projects/ngx-aur-mat-table/src/ngx-aur-mat-table.ts"],"sourcesContent":["import {SelectionModel} from '@angular/cdk/collections';\r\nimport {MatTableDataSource} from '@angular/material/table';\r\nimport {EventEmitter} from '@angular/core';\r\nimport {TableRow} from \"../model/TableRow\";\r\n\r\nexport interface SelectionConfig {\r\n position?: 'start' | 'end';\r\n multiple?: boolean;\r\n}\r\n\r\nexport class SelectionProvider<T> {\r\n\r\n public readonly COLUMN_NAME = 'tbl_selects';\r\n selection: SelectionModel<T>;\r\n config: SelectionConfig;\r\n tableDataSource: MatTableDataSource<TableRow<T>>;\r\n\r\n constructor(ctx: SelectionConfig, columns: string[], tableDataSource: MatTableDataSource<TableRow<T>>) {\r\n this.config = ctx;\r\n this.selection = new SelectionModel<T>(ctx.multiple, []);\r\n this.tableDataSource = tableDataSource;\r\n this.initCheckboxColumn(columns);\r\n }\r\n\r\n initCheckboxColumn(columns: string[]) {\r\n if (this.config.position === 'start') {\r\n columns.unshift(this.COLUMN_NAME);\r\n } else {\r\n columns.push(this.COLUMN_NAME);\r\n }\r\n }\r\n\r\n bind(selected: EventEmitter<T[]>, onSelect: EventEmitter<T[]>, onDeselect: EventEmitter<T[]>) {\r\n this.selection.changed\r\n .subscribe(event => {\r\n if (event.added) {\r\n onSelect.emit(event.added);\r\n }\r\n if (event.removed) {\r\n onDeselect.emit(event.removed);\r\n }\r\n selected.emit(this.selection.selected);\r\n });\r\n }\r\n\r\n masterToggle() {\r\n this.isAllSelected() ?\r\n this.selection.clear() :\r\n this.tableDataSource.data.forEach(row => this.selection.select(row.rowSrc));\r\n }\r\n\r\n isAllSelected(): boolean {\r\n const numSelected = this.selection.selected.length;\r\n const numRows = this.tableDataSource.data.length;\r\n return numSelected === numRows;\r\n }\r\n}\r\n","import {IconConfig} from \"../model/TableConfig\";\r\n\r\nexport interface ActionEvent<T> {\r\n action: string;\r\n value: T;\r\n}\r\n\r\nexport interface RowActionConfig {\r\n position?: 'start' | 'end';\r\n actions: ActionConfig[];\r\n}\r\n\r\nexport interface ActionConfig {\r\n action: string;\r\n icon: IconConfig<string>;\r\n}\r\n\r\nexport class RowActionProvider<T> {\r\n\r\n readonly COLUMN_NAME = 'tbl_actions';\r\n context: RowActionConfig;\r\n\r\n constructor(ctx: RowActionConfig, columns: string[]) {\r\n this.context = ctx;\r\n if (ctx.position === 'start') {\r\n columns.unshift(this.COLUMN_NAME);\r\n } else {\r\n columns.push(this.COLUMN_NAME);\r\n }\r\n }\r\n}\r\n","import {TableRow} from \"../model/TableRow\";\r\nimport {ColumnConfig, IconConfig, TableConfig, TextConfig} from \"../model/TableConfig\";\r\n\r\nexport class TableViewConverter {\r\n\r\n public static toView<T>(rows: TableRow<T>[], tableConfig: TableConfig<TableRow<T>>[]): Map<string, ColumnConfig<string>>[] {\r\n const result: Map<string, ColumnConfig<(value: TableRow<T>) => string>> = new Map();\r\n tableConfig.forEach(c => {\r\n if (c.valueColumn) {\r\n result.set(c.key, c.valueColumn)\r\n }\r\n })\r\n return this.toViewInternal(rows, result);\r\n }\r\n\r\n private static toViewInternal<T>(rows: TableRow<T>[], source: Map<string, ColumnConfig<(value: TableRow<T>) => string>>): Map<string, ColumnConfig<string>>[] {\r\n return rows.map(row => this.columnConfig(source, row));\r\n }\r\n\r\n private static columnConfig<T>(source: Map<string, ColumnConfig<(value: TableRow<T>) => string>>, row: TableRow<T>): Map<string, ColumnConfig<string>> {\r\n const result: Map<string, ColumnConfig<string>> = new Map();\r\n source.forEach((source, key) => {\r\n const value: ColumnConfig<string> = {\r\n icon: this.iconConfig(source.icon, row),\r\n text: this.textConfig(source.text, row)\r\n }\r\n result.set(key, value)\r\n });\r\n return result;\r\n }\r\n\r\n private static iconConfig<T>(iconSource: IconConfig<(value: TableRow<T>) => string> | undefined, row: TableRow<T>): IconConfig<string> | undefined {\r\n if (!iconSource) {\r\n return undefined;\r\n }\r\n return {\r\n name: iconSource.name(row),\r\n color: iconSource.color ? iconSource.color(row) : undefined,\r\n tooltip: iconSource.tooltip ? iconSource.tooltip(row) : undefined,\r\n position: iconSource.position,\r\n }\r\n }\r\n\r\n private static textConfig<T>(textSource: TextConfig<(value: TableRow<T>) => string> | undefined, row: TableRow<T>): TextConfig<string> | undefined {\r\n if (!textSource) {\r\n return undefined;\r\n }\r\n return {\r\n show: textSource.show,\r\n tooltip: textSource.tooltip ? textSource.tooltip(row) : undefined,\r\n color: textSource.color ? textSource.color(row) : undefined,\r\n }\r\n }\r\n}\r\n","import {ColumnConfig} from \"../model/TableConfig\";\r\n\r\nexport interface IndexConfig {\r\n enable: true,\r\n\r\n /** смещение для первого индекса например 1 чтобы нумерация началась с 1 по умолчанию от нуля */\r\n offset?: number,\r\n\r\n headerColumn?: ColumnConfig<string>\r\n\r\n /** название для колонки, по умолчанию ''*/\r\n name?: string;\r\n}\r\n\r\nexport class IndexProvider {\r\n public readonly COLUMN_NAME = 'tbl_index';\r\n\r\n constructor(indexConfig: IndexConfig, columns: string[]) {\r\n if (indexConfig && indexConfig.enable) {\r\n columns.unshift(this.COLUMN_NAME);\r\n }\r\n }\r\n}\r\n","export class TableRow<T> {\r\n rowSrc: T;\r\n [key: string]: any;\r\n\r\n constructor(rowSrc: T) {\r\n this.rowSrc = rowSrc;\r\n }\r\n}\r\n","import {TableConfig} from \"../model/TableConfig\";\r\nimport {TableRow} from \"../model/TableRow\";\r\n\r\nexport class TableDataProvider<T> {\r\n\r\n public convert(data: T[], config: TableConfig<T>[]): TableRow<T>[] {\r\n return data.map(d => this.tableRow(d, config));\r\n }\r\n\r\n private tableRow(obj: T, config: TableConfig<T>[]): TableRow<T> {\r\n const row = new TableRow<T>(obj);\r\n config.forEach(c => row[c.key] = c.valueConverter(obj));\r\n return row;\r\n }\r\n}\r\n","import {Component, Input} from '@angular/core';\nimport {ColumnConfig} from \"../../model/TableConfig\";\n\n@Component({\n selector: 'lib-column-view',\n templateUrl: './column-view.component.html',\n styleUrls: ['./column-view.component.css']\n})\nexport class ColumnViewComponent {\n @Input() config: ColumnConfig<string> | undefined;\n}\n","<mat-icon *ngIf=\"config?.icon\"\n [matTooltip]=\"config?.icon?.tooltip?.toString() || ''\"\n [style.color]=\"config?.icon?.color\"\n>\n {{config?.icon?.name}}\n</mat-icon>\n\n<span *ngIf=\"config?.text?.show != false\"\n [matTooltip]=\"config?.text?.tooltip?.toString() || ''\"\n>\n <ng-content></ng-content>\n</span>\n","import {Pipe, PipeTransform} from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'dataPropertyGetter'\r\n})\r\nexport class DataPropertyGetterPipe implements PipeTransform {\r\n\r\n transform(object: any, keyName: string, ...args: unknown[]): unknown {\r\n return object[keyName];\r\n }\r\n\r\n}\r\n","import {AfterViewInit, Component, EventEmitter, Input, OnInit, Output, ViewChild} from '@angular/core';\nimport {ColumnConfig, TableConfig} from './model/TableConfig';\nimport {MatSort, Sort} from '@angular/material/sort';\nimport {MatTableDataSource} from '@angular/material/table';\nimport {MatPaginator} from '@angular/material/paginator';\nimport {SelectionConfig, SelectionProvider} from './providers/SelectionProvider';\nimport {ActionEvent, RowActionConfig, RowActionProvider} from './providers/RowActionProvider';\nimport {TableRow} from \"./model/TableRow\";\nimport {TableViewConverter} from \"./providers/TableViewConverter\";\nimport {IndexProvider, IndexConfig} from \"./providers/IndexProvider\";\nimport {TableDataProvider} from \"./providers/TableDataProvider\";\n\n\n@Component({\n selector: 'aur-mat-table',\n templateUrl: './ngx-aur-mat-table.component.html',\n styleUrls: ['./ngx-aur-mat-table.component.scss'],\n})\nexport class NgxAurMatTableComponent<T> implements OnInit, AfterViewInit {\n\n public tableDataSource = new MatTableDataSource<TableRow<T>>([]);\n public displayedColumns: string[] = [];\n\n public tableView: Map<string, ColumnConfig<string>>[] = [];\n\n // @ts-ignore\n @ViewChild(MatPaginator, {static: false}) matPaginator: MatPaginator;\n // @ts-ignore\n @ViewChild(MatSort, {static: true}) matSort: MatSort;\n @Input() isFilterable = false;\n\n // @ts-ignore\n @Input() indexable: IndexConfig;\n\n\n @Input() isPageable = false;\n @Input() paginationSizes: number[] = [5, 10, 15, 25, 50];\n @Input() defaultPageSize = this.paginationSizes[1];\n\n @Output() sort: EventEmitter<Sort> = new EventEmitter();\n\n // @ts-ignore\n @Input() rowActionable: RowActionConfig;\n @Output() onRowAction: EventEmitter<ActionEvent<T>> = new EventEmitter<ActionEvent<T>>();\n\n // @ts-ignore\n @Input() selectable: SelectionConfig;\n @Output() selected = new EventEmitter<T[]>();\n @Output() onSelect = new EventEmitter<T[]>();\n @Output() onDeselect = new EventEmitter<T[]>();\n\n @Output() onRowClick = new EventEmitter<T>();\n\n @Input() tableConfig: TableConfig<any>[] = [];\n\n @Input() tableData: T[] = [];\n\n // @ts-ignore\n selectionProvider: SelectionProvider<T>;\n // @ts-ignore\n rowActionsProvider: RowActionProvider<T>;\n\n // @ts-ignore\n indexProvider: IndexProvider;\n\n tableDataProvider = new TableDataProvider<T>();\n\n constructor() {\n }\n\n ngOnInit(): void {\n this.setTableDataSource();\n this.tableView = TableViewConverter.toView(this.tableDataSource.data, this.tableConfig)\n this.displayedColumns = this.tableConfig.map((tableColumn: TableConfig<any>) => tableColumn.name);\n if (this.indexable) {\n this.indexProvider = new IndexProvider(this.indexable, this.displayedColumns);\n } else if (this.rowActionable) {\n this.rowActionsProvider = new RowActionProvider<TableRow<T>>(this.rowActionable, this.displayedColumns);\n } else if (this.selectable) {\n this.selectionProvider = new SelectionProvider<T>(this.selectable, this.displayedColumns, this.tableDataSource);\n this.selectionProvider.bind(this.selected, this.onSelect, this.onDeselect);\n }\n }\n\n // we need this, in order to make pagination work with *ngIf\n ngAfterViewInit(): void {\n this.tableDataSource.paginator = this.matPaginator;\n }\n\n\n setTableDataSource() {\n let convert = this.tableDataProvider.convert(this.tableData, this.tableConfig);\n this.tableDataSource = new MatTableDataSource<TableRow<T>>(convert);\n this.tableDataSource.paginator = this.matPaginator;\n this.tableDataSource.sort = this.matSort;\n }\n\n applyFilter(event: Event) {\n const filterValue = (event.target as HTMLInputElement).value;\n this.tableDataSource.filter = filterValue.trim().toLowerCase();\n }\n\n sortTable(sortParameters: Sort) {\n // defining name of data property, to sort by, instead of column name\n // @ts-ignore\n sortParameters.active = this.tableConfig.find(column => column.name === sortParameters.active).dataKey;\n this.sort.emit(sortParameters);\n }\n\n emitRowAction(action: string, row: T, $event: MouseEvent) {\n $event.stopPropagation();\n this.onRowAction.emit({action, value: row});\n }\n\n masterToggle() {\n this.selectionProvider.masterToggle();\n }\n\n isAllSelected(): boolean {\n return this.selectionProvider.isAllSelected();\n }\n\n castSrc(row: any): TableRow<T> {\n return row;\n }\n\n getView(rowIndex: number, columnKey: string): ColumnConfig<string> | undefined {\n return this.tableView[rowIndex].get(columnKey);\n }\n}\n","<ng-container>\r\n\r\n <!-- Filter -->\r\n <ng-container *ngIf=\"isFilterable\">\r\n <mat-form-field>\r\n <mat-label>Filter</mat-label>\r\n <input matInput (keyup)=\"applyFilter($event)\" placeholder=\"filter\">\r\n </mat-form-field>\r\n </ng-container>\r\n\r\n <!-- Table -->\r\n <table mat-table [dataSource]=\"tableDataSource\" matSort (matSortChange)=\"sortTable($event)\">\r\n\r\n <!-- index-column-->\r\n <ng-container *ngIf=\"indexable && indexable.enable=== true\" [matColumnDef]=\"indexProvider.COLUMN_NAME\">\r\n\r\n <th mat-header-cell *matHeaderCellDef>\r\n <lib-column-view [config]=\"indexable.headerColumn\">\r\n {{indexable.name ? indexable.name : ''}}\r\n </lib-column-view>\r\n </th>\r\n\r\n <td mat-cell *matCellDef=\"let element; let rowIndex = index\">\r\n {{rowIndex + (indexable.offset ? indexable.offset : 0)}}\r\n </td>\r\n </ng-container>\r\n\r\n <!-- selection-column-->\r\n <ng-container [matColumnDef]=\"selectionProvider.COLUMN_NAME\" *ngIf=\"selectionProvider\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selectionProvider.selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selectionProvider.selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selectionProvider.selection.toggle(castSrc(row).rowSrc) : null\"\r\n [checked]=\"selectionProvider.selection.isSelected(castSrc(row).rowSrc)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- action column -->\r\n <ng-container *ngIf=\"rowActionsProvider\" [matColumnDef]=\"rowActionsProvider.COLUMN_NAME\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button\r\n (click)=\"emitRowAction(action.action, castSrc(element).rowSrc, $event)\"\r\n [matTooltip]=\"action.icon.tooltip || ''\"\r\n *ngFor=\"let action of rowActionable.actions\">\r\n <mat-icon [style.color]=\"action.icon.color\">\r\n {{action.icon.name}}\r\n </mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- value-icon-->\r\n <ng-container *ngFor=\"let columnConfig of tableConfig\" [matColumnDef]=\"columnConfig.name\">\r\n\r\n <!-- if sortable column header -->\r\n <ng-container *ngIf=\"columnConfig.sort?.enable; else notSortable\">\r\n <th mat-header-cell *matHeaderCellDef [mat-sort-header]=\"columnConfig.name\"\r\n [arrowPosition]=\"columnConfig.sort?.position === 'right' ? 'before' : 'after'\">\r\n <ng-container *ngTemplateOutlet=\"headerValue\"></ng-container>\r\n </th>\r\n </ng-container>\r\n\r\n <!-- else not sortable -->\r\n <ng-template #notSortable>\r\n <th mat-header-cell *matHeaderCellDef>\r\n <ng-container *ngTemplateOutlet=\"headerValue\"></ng-container>\r\n </th>\r\n </ng-template>\r\n\r\n <!-- header value-->\r\n <ng-template #headerValue>\r\n <lib-column-view [config]=\"columnConfig.headerColumn\">\r\n {{columnConfig.name}}\r\n </lib-column-view>\r\n </ng-template>\r\n\r\n <!-- column value получать настройки колонок нужно через getView(rowIndex, columnConfig.key) там находятся уже\r\n подготовленные значения для использования-->\r\n <td mat-cell *matCellDef=\"let element; let rowIndex = index\">\r\n <lib-column-view [config]=\"getView(rowIndex, columnConfig.key)\">\r\n {{element | dataPropertyGetter: columnConfig.key}}\r\n </lib-column-view>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row (click)=\"onRowAction.emit(row)\" *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n\r\n <!-- Pagination -->\r\n <mat-paginator *ngIf=\"isPageable\"\r\n [pageSizeOptions]=\"paginationSizes\"\r\n [pageSize]=\"defaultPageSize\"\r\n showFirstLastButtons>\r\n </mat-paginator>\r\n</ng-container>\r\n","import {NgModule} from '@angular/core';\nimport {NgxAurMatTableComponent} from './ngx-aur-mat-table.component';\nimport {BrowserModule} from \"@angular/platform-browser\";\nimport {MatIconModule} from \"@angular/material/icon\";\nimport {MatTableModule} from \"@angular/material/table\";\nimport {MatPaginatorModule} from \"@angular/material/paginator\";\nimport {MatButtonModule} from \"@angular/material/button\";\nimport {MatInputModule} from \"@angular/material/input\";\nimport {MatSortModule} from \"@angular/material/sort\";\nimport {MatTooltipModule} from \"@angular/material/tooltip\";\nimport {MatCheckboxModule} from \"@angular/material/checkbox\";\nimport {MatFormFieldModule} from \"@angular/material/form-field\";\nimport {DataPropertyGetterPipe} from \"./data-property-getter-pipe/data-property-getter.pipe\";\nimport {BrowserAnimationsModule} from \"@angular/platform-browser/animations\";\nimport { ColumnViewComponent } from './components/column-value/column-view.component';\n\n\n@NgModule({\n declarations: [\n NgxAurMatTableComponent,\n DataPropertyGetterPipe,\n ColumnViewComponent\n ],\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n MatIconModule,\n MatTableModule,\n MatPaginatorModule,\n MatButtonModule,\n MatInputModule,\n MatSortModule,\n MatTooltipModule,\n MatCheckboxModule,\n MatFormFieldModule\n ],\n exports: [\n NgxAurMatTableComponent,\n DataPropertyGetterPipe\n ]\n})\nexport class NgxAurMatTableModule {\n}\n","/*\n * Public API Surface of ngx-aur-mat-table\n */\n\nexport * from './lib/ngx-aur-mat-table.component';\nexport * from './lib/ngx-aur-mat-table.module';\nexport * from './lib/data-property-getter-pipe/data-property-getter.pipe';\nexport * from './lib/model/TableRow'\nexport * from './lib/model/TableConfig'\nexport * from './lib/providers/RowActionProvider'\nexport * from './lib/providers/SelectionProvider'\nexport * from './lib/providers/IndexProvider'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["SelectionModel","i0","i1","i2","i3","Component","Input","Pipe","MatTableDataSource","EventEmitter","MatPaginator","MatSort","i3.ColumnViewComponent","i4","i5","i6","i7","i8","i9","i10","i11","i12.DataPropertyGetterPipe","ViewChild","Output","BrowserModule","BrowserAnimationsModule","MatIconModule","MatTableModule","MatPaginatorModule","MatButtonModule","MatInputModule","MatSortModule","MatTooltipModule","MatCheckboxModule","MatFormFieldModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,QAAA,iBAAA,kBAAA,YAAA;IAOE,IAAA,SAAA,iBAAA,CAAY,GAAoB,EAAE,OAAiB,EAAE,eAAgD,EAAA;IALrF,QAAA,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;IAM1C,QAAA,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;IAClB,QAAA,IAAI,CAAC,SAAS,GAAG,IAAIA,0BAAc,CAAI,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACzD,QAAA,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACvC,QAAA,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;SAClC;QAED,iBAAkB,CAAA,SAAA,CAAA,kBAAA,GAAlB,UAAmB,OAAiB,EAAA;IAClC,QAAA,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,KAAK,OAAO,EAAE;IACpC,YAAA,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACnC,SAAA;IAAM,aAAA;IACL,YAAA,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,WAA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,EAAAA,aAAA,EAAA,IAAA,EAAA,oBAAoB,EAlBtB,OAAA,EAAA,CAAA;gBACPuB,6BAAa;gBACbC,kCAAuB;gBACvBC,gBAAa;gBACbC,iBAAc;gBACdC,qBAAkB;gBAClBC,kBAAe;gBACfC,kBAAc;gBACdC,gBAAa;gBACbC,mBAAgB;gBAChBC,oBAAiB;gBACjBC,uBAAkB;aACnB,CAAA,EAAA,CAAA,CAAA;sHAMU,oBAAoB,EAAA,UAAA,EAAA,CAAA;sBAxBhCC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACR,oBAAA,YAAY,EAAE;4BACZ,uBAAuB;4BACvB,sBAAsB;4BACtB,mBAAmB;IACpB,qBAAA;IACD,oBAAA,OAAO,EAAE;4BACPX,6BAAa;4BACbC,kCAAuB;4BACvBC,gBAAa;4BACbC,iBAAc;4BACdC,qBAAkB;4BAClBC,kBAAe;4BACfC,kBAAc;4BACdC,gBAAa;4BACbC,mBAAgB;4BAChBC,oBAAiB;4BACjBC,uBAAkB;IACnB,qBAAA;IACD,oBAAA,OAAO,EAAE;4BACP,uBAAuB;4BACvB,sBAAsB;IACvB,qBAAA;qBACF,CAAA;;;ICxCD;;IAEG;;ICFH;;IAEG;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-aur-mat-table.umd.js","sources":["../../../projects/ngx-aur-mat-table/src/lib/providers/SelectionProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/RowActionProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/TableViewConverter.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/IndexProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/model/TableRow.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/TableDataProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/PaginationProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/providers/FilterProvider.ts","../../../projects/ngx-aur-mat-table/src/lib/components/column-value/column-view.component.ts","../../../projects/ngx-aur-mat-table/src/lib/components/column-value/column-view.component.html","../../../projects/ngx-aur-mat-table/src/lib/data-property-getter-pipe/data-property-getter.pipe.ts","../../../projects/ngx-aur-mat-table/src/lib/ngx-aur-mat-table.component.ts","../../../projects/ngx-aur-mat-table/src/lib/ngx-aur-mat-table.component.html","../../../projects/ngx-aur-mat-table/src/lib/ngx-aur-mat-table.module.ts","../../../projects/ngx-aur-mat-table/src/public-api.ts","../../../projects/ngx-aur-mat-table/src/ngx-aur-mat-table.ts"],"sourcesContent":["import {SelectionModel} from '@angular/cdk/collections';\r\nimport {MatTableDataSource} from '@angular/material/table';\r\nimport {EventEmitter} from '@angular/core';\r\nimport {TableRow} from \"../model/TableRow\";\r\nimport {SelectionConfig} from \"../model/ColumnConfig\";\r\n\r\nexport class SelectionProvider<T> {\r\n\r\n public readonly COLUMN_NAME = 'tbl_selects';\r\n selection: SelectionModel<T>;\r\n config: SelectionConfig;\r\n tableDataSource: MatTableDataSource<TableRow<T>>;\r\n\r\n constructor(ctx: SelectionConfig, columns: string[], tableDataSource: MatTableDataSource<TableRow<T>>) {\r\n this.config = ctx;\r\n this.selection = new SelectionModel<T>(ctx.multiple, []);\r\n this.tableDataSource = tableDataSource;\r\n this.initCheckboxColumn(columns);\r\n }\r\n\r\n initCheckboxColumn(columns: string[]) {\r\n if (this.config.position === 'start') {\r\n columns.unshift(this.COLUMN_NAME);\r\n } else {\r\n columns.push(this.COLUMN_NAME);\r\n }\r\n }\r\n\r\n bind(selected: EventEmitter<T[]>, onSelect: EventEmitter<T[]>, onDeselect: EventEmitter<T[]>) {\r\n this.selection.changed\r\n .subscribe(event => {\r\n if (event.added) {\r\n onSelect.emit(event.added);\r\n }\r\n if (event.removed) {\r\n onDeselect.emit(event.removed);\r\n }\r\n selected.emit(this.selection.selected);\r\n });\r\n }\r\n\r\n masterToggle() {\r\n this.isAllSelected() ?\r\n this.selection.clear() :\r\n this.tableDataSource.data.forEach(row => this.selection.select(row.rowSrc));\r\n }\r\n\r\n isAllSelected(): boolean {\r\n const numSelected = this.selection.selected.length;\r\n const numRows = this.tableDataSource.data.length;\r\n return numSelected === numRows;\r\n }\r\n}\r\n","import {ActionConfig} from \"../model/ColumnConfig\";\r\n\r\nexport interface ActionEvent<T> {\r\n action: string;\r\n value: T;\r\n}\r\n\r\nexport class RowActionProvider<T> {\r\n\r\n readonly COLUMN_NAME = 'tbl_actions';\r\n config: ActionConfig;\r\n\r\n constructor(ctx: ActionConfig, columns: string[]) {\r\n this.config = ctx;\r\n if (ctx.position === 'start') {\r\n columns.unshift(this.COLUMN_NAME);\r\n } else {\r\n columns.push(this.COLUMN_NAME);\r\n }\r\n }\r\n}\r\n","import {TableRow} from \"../model/TableRow\";\r\nimport {ColumnViewConfig, IconConfig, TextConfig, TableConfig} from \"../model/ColumnConfig\";\r\n\r\nexport class TableViewConverter {\r\n\r\n public static toView<T>(rows: TableRow<T>[], tableConfig: TableConfig<T>): Map<string, ColumnViewConfig<string>>[] {\r\n const result: Map<string, ColumnViewConfig<(value: TableRow<T>) => string>> = new Map();\r\n tableConfig.columnsCfg.forEach(c => {\r\n if (c.valueColumn) {\r\n result.set(c.key, c.valueColumn)\r\n }\r\n })\r\n return this.toViewInternal(rows, result);\r\n }\r\n\r\n private static toViewInternal<T>(rows: TableRow<T>[], source: Map<string, ColumnViewConfig<(value: TableRow<T>) => string>>): Map<string, ColumnViewConfig<string>>[] {\r\n return rows.map(row => this.columnConfig(source, row));\r\n }\r\n\r\n private static columnConfig<T>(source: Map<string, ColumnViewConfig<(value: TableRow<T>) => string>>, row: TableRow<T>): Map<string, ColumnViewConfig<string>> {\r\n const result: Map<string, ColumnViewConfig<string>> = new Map();\r\n source.forEach((source, key) => {\r\n const value: ColumnViewConfig<string> = {\r\n icon: this.iconConfig(source.icon, row),\r\n text: this.textConfig(source.text, row)\r\n }\r\n result.set(key, value)\r\n });\r\n return result;\r\n }\r\n\r\n private static iconConfig<T>(iconSource: IconConfig<(value: TableRow<T>) => string> | undefined, row: TableRow<T>): IconConfig<string> | undefined {\r\n if (!iconSource) {\r\n return undefined;\r\n }\r\n return {\r\n name: iconSource.name(row),\r\n color: iconSource.color ? iconSource.color(row) : undefined,\r\n tooltip: iconSource.tooltip ? iconSource.tooltip(row) : undefined,\r\n position: iconSource.position,\r\n }\r\n }\r\n\r\n private static textConfig<T>(textSource: TextConfig<(value: TableRow<T>) => string> | undefined, row: TableRow<T>): TextConfig<string> | undefined {\r\n if (!textSource) {\r\n return undefined;\r\n }\r\n return {\r\n show: textSource.show,\r\n tooltip: textSource.tooltip ? textSource.tooltip(row) : undefined,\r\n color: textSource.color ? textSource.color(row) : undefined,\r\n }\r\n }\r\n}\r\n","import {ColumnViewConfig, IndexConfig} from \"../model/ColumnConfig\";\r\n\r\n\r\nexport class IndexProvider {\r\n public readonly COLUMN_NAME = 'tbl_index';\r\n public headerView: ColumnViewConfig<string> | undefined;\r\n public name: string;\r\n\r\n public offset: number;\r\n\r\n constructor(indexConfig: IndexConfig, columns: string[]) {\r\n if (indexConfig) {\r\n columns.unshift(this.COLUMN_NAME);\r\n }\r\n this.headerView = indexConfig.headerColumn;\r\n this.name = indexConfig.name || '';\r\n this.offset = indexConfig.offset || 0;\r\n }\r\n}\r\n","export class TableRow<T> {\r\n rowSrc: T;\r\n [key: string]: any;\r\n\r\n constructor(rowSrc: T) {\r\n this.rowSrc = rowSrc;\r\n }\r\n}\r\n","import {ColumnConfig} from \"../model/ColumnConfig\";\r\nimport {TableRow} from \"../model/TableRow\";\r\n\r\nexport class TableDataProvider<T> {\r\n\r\n public convert(data: T[], config: ColumnConfig<T>[]): TableRow<T>[] {\r\n return data.map(d => this.tableRow(d, config));\r\n }\r\n\r\n private tableRow(obj: T, config: ColumnConfig<T>[]): TableRow<T> {\r\n const row = new TableRow<T>(obj);\r\n config.forEach(c => row[c.key] = c.valueConverter(obj));\r\n return row;\r\n }\r\n}\r\n","import {PaginationConfig} from \"../model/ColumnConfig\";\r\n\r\nexport class PaginationProvider {\r\n\r\n public sizes: number[];\r\n public size;\r\n\r\n constructor(config: PaginationConfig) {\r\n this.sizes = config.sizes || [5, 10, 15, 25, 50]\r\n this.size = config.size || this.sizes[1];\r\n }\r\n\r\n}\r\n","export class FilterProvider{\r\n constructor() {\r\n }\r\n}\r\n","import {Component, Input} from '@angular/core';\nimport {ColumnViewConfig} from \"../../model/ColumnConfig\";\n\n@Component({\n selector: 'lib-column-view',\n templateUrl: './column-view.component.html',\n styleUrls: ['./column-view.component.css']\n})\nexport class ColumnViewComponent {\n @Input() config: ColumnViewConfig<string> | undefined;\n}\n","<mat-icon *ngIf=\"config?.icon\"\n [matTooltip]=\"config?.icon?.tooltip?.toString() || ''\"\n [style.color]=\"config?.icon?.color\"\n>\n {{config?.icon?.name}}\n</mat-icon>\n\n<span *ngIf=\"config?.text?.show != false\"\n [matTooltip]=\"config?.text?.tooltip?.toString() || ''\"\n>\n <ng-content></ng-content>\n</span>\n","import {Pipe, PipeTransform} from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'dataPropertyGetter'\r\n})\r\nexport class DataPropertyGetterPipe implements PipeTransform {\r\n\r\n transform(object: any, keyName: string, ...args: unknown[]): unknown {\r\n return object[keyName];\r\n }\r\n\r\n}\r\n","import {AfterViewInit, Component, EventEmitter, Input, OnInit, Output, ViewChild} from '@angular/core';\nimport {ColumnViewConfig, ColumnConfig, TableConfig} from './model/ColumnConfig';\nimport {MatSort, Sort} from '@angular/material/sort';\nimport {MatTableDataSource} from '@angular/material/table';\nimport {MatPaginator} from '@angular/material/paginator';\nimport {SelectionProvider} from './providers/SelectionProvider';\nimport {ActionEvent, RowActionProvider} from './providers/RowActionProvider';\nimport {TableRow} from \"./model/TableRow\";\nimport {TableViewConverter} from \"./providers/TableViewConverter\";\nimport {IndexProvider} from \"./providers/IndexProvider\";\nimport {TableDataProvider} from \"./providers/TableDataProvider\";\nimport {PaginationProvider} from \"./providers/PaginationProvider\";\nimport {FilterProvider} from \"./providers/FilterProvider\";\n\n\n@Component({\n selector: 'aur-mat-table',\n templateUrl: './ngx-aur-mat-table.component.html',\n styleUrls: ['./ngx-aur-mat-table.component.scss'],\n})\nexport class NgxAurMatTableComponent<T> implements OnInit, AfterViewInit {\n\n public tableDataSource = new MatTableDataSource<TableRow<T>>([]);\n public displayedColumns: string[] = [];\n\n private tableView: Map<string, ColumnViewConfig<string>>[] = [];\n\n // @ts-ignore\n @Input() tableConfig: TableConfig<T>;\n\n @Input() tableData: T[] = [];\n\n // @ts-ignore\n @ViewChild(MatPaginator, {static: false}) matPaginator: MatPaginator;\n // @ts-ignore\n @ViewChild(MatSort, {static: true}) matSort: MatSort;\n\n @Output() sort: EventEmitter<Sort> = new EventEmitter();\n\n // events if enabled actions\n @Output() onRowAction: EventEmitter<ActionEvent<T>> = new EventEmitter<ActionEvent<T>>();\n // -----------------------\n\n // events if enabled select event\n @Output() selected = new EventEmitter<T[]>();\n @Output() onSelect = new EventEmitter<T[]>();\n @Output() onDeselect = new EventEmitter<T[]>();\n //------------------------\n\n\n @Output() onRowClick = new EventEmitter<T>();\n\n // @ts-ignore\n selectionProvider: SelectionProvider<T>;\n // @ts-ignore\n rowActionsProvider: RowActionProvider<T>;\n\n // @ts-ignore\n indexProvider: IndexProvider;\n\n // @ts-ignore\n paginationProvider: PaginationProvider;\n\n tableDataProvider = new TableDataProvider<T>();\n\n // @ts-ignore\n filterProvider: FilterProvider;\n\n constructor() {\n }\n\n ngOnInit(): void {\n if (!this.tableConfig || !this.tableData) {\n throw new Error(\"init inputs [tableConfig] and [tableData] is mandatory!\")\n }\n this.setTableDataSource();\n this.tableView = TableViewConverter.toView(this.tableDataSource.data, this.tableConfig)\n this.displayedColumns = this.tableConfig.columnsCfg.map((tableColumn: ColumnConfig<any>) => tableColumn.name);\n\n if (this.tableConfig.indexCfg && this.tableConfig.indexCfg.enable) {\n this.indexProvider = new IndexProvider(this.tableConfig.indexCfg, this.displayedColumns);\n } else if (this.tableConfig.actionCfg) {\n this.rowActionsProvider = new RowActionProvider<TableRow<T>>(this.tableConfig.actionCfg, this.displayedColumns);\n } else if (this.tableConfig.selectionCfg) {\n this.selectionProvider = new SelectionProvider<T>(this.tableConfig.selectionCfg, this.displayedColumns, this.tableDataSource);\n this.selectionProvider.bind(this.selected, this.onSelect, this.onDeselect);\n } else if (this.tableConfig.pageableCfg) {\n this.paginationProvider = new PaginationProvider(this.tableConfig.pageableCfg);\n } else if (this.filterProvider) {\n this.filterProvider = new FilterProvider();\n }\n }\n\n // we need this, in order to make pagination work with *ngIf\n ngAfterViewInit(): void {\n this.tableDataSource.paginator = this.matPaginator;\n }\n\n\n setTableDataSource() {\n let convert = this.tableDataProvider.convert(this.tableData, this.tableConfig.columnsCfg);\n this.tableDataSource = new MatTableDataSource<TableRow<T>>(convert);\n this.tableDataSource.paginator = this.matPaginator;\n this.tableDataSource.sort = this.matSort;\n }\n\n applyFilter(event: Event) {\n const filterValue = (event.target as HTMLInputElement).value;\n this.tableDataSource.filter = filterValue.trim().toLowerCase();\n }\n\n sortTable(sortParameters: Sort) {\n // defining name of data property, to sort by, instead of column name\n // @ts-ignore\n sortParameters.active = this.tableConfig.find(column => column.name === sortParameters.active).dataKey;\n this.sort.emit(sortParameters);\n }\n\n emitRowAction(action: string, row: T, $event: MouseEvent) {\n $event.stopPropagation();\n this.onRowAction.emit({action, value: row});\n }\n\n masterToggle() {\n this.selectionProvider.masterToggle();\n }\n\n isAllSelected(): boolean {\n return this.selectionProvider.isAllSelected();\n }\n\n castSrc(row: any): TableRow<T> {\n return row;\n }\n\n getView(rowIndex: number, columnKey: string): ColumnViewConfig<string> | undefined {\n return this.tableView[rowIndex].get(columnKey);\n }\n}\n","<ng-container>\r\n\r\n <!-- Filter -->\r\n <ng-container *ngIf=\"filterProvider\">\r\n <mat-form-field>\r\n <mat-label>Filter</mat-label>\r\n <input matInput (keyup)=\"applyFilter($event)\" placeholder=\"filter\">\r\n </mat-form-field>\r\n </ng-container>\r\n\r\n <!-- Table -->\r\n <table mat-table [dataSource]=\"tableDataSource\" matSort (matSortChange)=\"sortTable($event)\">\r\n\r\n <!-- index-column-->\r\n <ng-container *ngIf=\"indexProvider\" [matColumnDef]=\"indexProvider.COLUMN_NAME\">\r\n\r\n <th mat-header-cell *matHeaderCellDef>\r\n <lib-column-view [config]=\"indexProvider.headerView\">\r\n {{indexProvider.name}}\r\n </lib-column-view>\r\n </th>\r\n\r\n <td mat-cell *matCellDef=\"let element; let rowIndex = index\">\r\n {{rowIndex + indexProvider.offset}}\r\n </td>\r\n </ng-container>\r\n\r\n <!-- selection-column-->\r\n <ng-container [matColumnDef]=\"selectionProvider.COLUMN_NAME\" *ngIf=\"selectionProvider\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selectionProvider.selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selectionProvider.selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selectionProvider.selection.toggle(castSrc(row).rowSrc) : null\"\r\n [checked]=\"selectionProvider.selection.isSelected(castSrc(row).rowSrc)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- action column -->\r\n <ng-container *ngIf=\"rowActionsProvider\" [matColumnDef]=\"rowActionsProvider.COLUMN_NAME\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button\r\n (click)=\"emitRowAction(action.action, castSrc(element).rowSrc, $event)\"\r\n [matTooltip]=\"action.icon.tooltip || ''\"\r\n *ngFor=\"let action of rowActionsProvider.config.actions\">\r\n <mat-icon [style.color]=\"action.icon.color\">\r\n {{action.icon.name}}\r\n </mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- value-icon-->\r\n <ng-container *ngFor=\"let columnConfig of tableConfig.columnsCfg\" [matColumnDef]=\"columnConfig.name\">\r\n\r\n <!-- if sortable column header -->\r\n <ng-container *ngIf=\"columnConfig.sort; else notSortable\">\r\n <th mat-header-cell *matHeaderCellDef [mat-sort-header]=\"columnConfig.name\"\r\n [arrowPosition]=\"columnConfig.sort.position === 'right' ? 'before' : 'after'\">\r\n <ng-container *ngTemplateOutlet=\"headerValue\"></ng-container>\r\n </th>\r\n </ng-container>\r\n\r\n <!-- else not sortable -->\r\n <ng-template #notSortable>\r\n <th mat-header-cell *matHeaderCellDef>\r\n <ng-container *ngTemplateOutlet=\"headerValue\"></ng-container>\r\n </th>\r\n </ng-template>\r\n\r\n <!-- header value-->\r\n <ng-template #headerValue>\r\n <lib-column-view [config]=\"columnConfig.headerColumn\">\r\n {{columnConfig.name}}\r\n </lib-column-view>\r\n </ng-template>\r\n\r\n <!-- column value получать настройки колонок нужно через getView(rowIndex, columnConfig.key) там находятся уже\r\n подготовленные значения для использования-->\r\n <td mat-cell *matCellDef=\"let element; let rowIndex = index\">\r\n <lib-column-view [config]=\"getView(rowIndex, columnConfig.key)\">\r\n {{element | dataPropertyGetter: columnConfig.key}}\r\n </lib-column-view>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row (click)=\"onRowAction.emit(row)\" *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n\r\n <!-- Pagination -->\r\n <mat-paginator *ngIf=\"paginationProvider\"\r\n [pageSizeOptions]=\"paginationProvider.sizes\"\r\n [pageSize]=\"paginationProvider.size\"\r\n showFirstLastButtons>\r\n </mat-paginator>\r\n</ng-container>\r\n","import {NgModule} from '@angular/core';\nimport {NgxAurMatTableComponent} from './ngx-aur-mat-table.component';\nimport {BrowserModule} from \"@angular/platform-browser\";\nimport {MatIconModule} from \"@angular/material/icon\";\nimport {MatTableModule} from \"@angular/material/table\";\nimport {MatPaginatorModule} from \"@angular/material/paginator\";\nimport {MatButtonModule} from \"@angular/material/button\";\nimport {MatInputModule} from \"@angular/material/input\";\nimport {MatSortModule} from \"@angular/material/sort\";\nimport {MatTooltipModule} from \"@angular/material/tooltip\";\nimport {MatCheckboxModule} from \"@angular/material/checkbox\";\nimport {MatFormFieldModule} from \"@angular/material/form-field\";\nimport {DataPropertyGetterPipe} from \"./data-property-getter-pipe/data-property-getter.pipe\";\nimport {BrowserAnimationsModule} from \"@angular/platform-browser/animations\";\nimport { ColumnViewComponent } from './components/column-value/column-view.component';\n\n\n@NgModule({\n declarations: [\n NgxAurMatTableComponent,\n DataPropertyGetterPipe,\n ColumnViewComponent\n ],\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n MatIconModule,\n MatTableModule,\n MatPaginatorModule,\n MatButtonModule,\n MatInputModule,\n MatSortModule,\n MatTooltipModule,\n MatCheckboxModule,\n MatFormFieldModule\n ],\n exports: [\n NgxAurMatTableComponent,\n DataPropertyGetterPipe\n ]\n})\nexport class NgxAurMatTableModule {\n}\n","/*\n * Public API Surface of ngx-aur-mat-table\n */\n\nexport * from './lib/ngx-aur-mat-table.component';\nexport * from './lib/ngx-aur-mat-table.module';\nexport * from './lib/data-property-getter-pipe/data-property-getter.pipe';\nexport * from './lib/model/TableRow'\nexport * from './lib/model/ColumnConfig'\nexport * from './lib/providers/RowActionProvider'\nexport * from './lib/providers/SelectionProvider'\nexport * from './lib/providers/IndexProvider'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["SelectionModel","i0","i1","i2","i3","Component","Input","Pipe","MatTableDataSource","EventEmitter","MatPaginator","MatSort","i3.ColumnViewComponent","i4","i5","i6","i7","i8","i9","i10","i11","i12.DataPropertyGetterPipe","ViewChild","Output","BrowserModule","BrowserAnimationsModule","MatIconModule","MatTableModule","MatPaginatorModule","MatButtonModule","MatInputModule","MatSortModule","MatTooltipModule","MatCheckboxModule","MatFormFieldModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,QA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;gBACbC,iBAAc;gBACdC,qBAAkB;gBAClBC,kBAAe;gBACfC,kBAAc;gBACdC,gBAAa;gBACbC,mBAAgB;gBAChBC,oBAAiB;gBACjBC,uBAAkB;aACnB,CAAA,EAAA,CAAA,CAAA;sHAMU,oBAAoB,EAAA,UAAA,EAAA,CAAA;sBAxBhCC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACR,oBAAA,YAAY,EAAE;4BACZ,uBAAuB;4BACvB,sBAAsB;4BACtB,mBAAmB;IACpB,qBAAA;IACD,oBAAA,OAAO,EAAE;4BACPX,6BAAa;4BACbC,kCAAuB;4BACvBC,gBAAa;4BACbC,iBAAc;4BACdC,qBAAkB;4BAClBC,kBAAe;4BACfC,kBAAc;4BACdC,gBAAa;4BACbC,mBAAgB;4BAChBC,oBAAiB;4BACjBC,uBAAkB;IACnB,qBAAA;IACD,oBAAA,OAAO,EAAE;4BACP,uBAAuB;4BACvB,sBAAsB;IACvB,qBAAA;qBACF,CAAA;;;ICxCD;;IAEG;;ICFH;;IAEG;;;;;;;;;;;;;;;;"}
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
17
17
|
}], propDecorators: { config: [{
|
|
18
18
|
type: Input
|
|
19
19
|
}] } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWF1ci1tYXQtdGFibGUvc3JjL2xpYi9jb21wb25lbnRzL2NvbHVtbi12YWx1ZS9jb2x1bW4tdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtYXVyLW1hdC10YWJsZS9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