ngx-st-tables 17.0.38 → 17.0.39
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/esm2022/lib/components/material-table/material-table-row-cell/material-table-row-cell.component.mjs +3 -3
- package/fesm2022/ngx-st-tables.mjs +2 -2
- package/fesm2022/ngx-st-tables.mjs.map +1 -1
- package/package.json +1 -1
- package/esm2022/lib/components/local-table/configurations/configurations.component.mjs +0 -69
- package/esm2022/lib/components/local-table/local-table.component.mjs +0 -259
- package/esm2022/lib/components/select-table/select-table.component.mjs +0 -102
- package/esm2022/lib/models/st-configurations-settings.model.mjs +0 -2
- package/esm2022/lib/models/st-global-search-settings.model.mjs +0 -2
- package/esm2022/lib/models/st-local-storage-configuration.model.mjs +0 -2
- package/esm2022/lib/models/st-local-table-column.model.mjs +0 -2
- package/esm2022/lib/models/st-local-table-columns.model.mjs +0 -2
- package/esm2022/lib/models/st-table-settings.model.mjs +0 -2
- package/esm2022/lib/services/local-table.service.mjs +0 -36
- package/lib/components/local-table/configurations/configurations.component.d.ts +0 -27
- package/lib/components/local-table/local-table.component.d.ts +0 -63
- package/lib/components/select-table/select-table.component.d.ts +0 -37
- package/lib/models/st-configurations-settings.model.d.ts +0 -6
- package/lib/models/st-global-search-settings.model.d.ts +0 -4
- package/lib/models/st-local-storage-configuration.model.d.ts +0 -8
- package/lib/models/st-local-table-column.model.d.ts +0 -22
- package/lib/models/st-local-table-columns.model.d.ts +0 -4
- package/lib/models/st-table-settings.model.d.ts +0 -3
- package/lib/services/local-table.service.d.ts +0 -11
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewChild, } from '@angular/core';
|
|
2
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/material/icon";
|
|
8
|
-
import * as i3 from "@angular/material/table";
|
|
9
|
-
import * as i4 from "@angular/material/paginator";
|
|
10
|
-
import * as i5 from "@angular/material/form-field";
|
|
11
|
-
import * as i6 from "@angular/material/input";
|
|
12
|
-
import * as i7 from "@angular/forms";
|
|
13
|
-
export class SelectTableComponent {
|
|
14
|
-
set setInitColumns(col) {
|
|
15
|
-
this.columns = ['active', ...Object.keys(col)];
|
|
16
|
-
this.initColumns = col;
|
|
17
|
-
}
|
|
18
|
-
set tableData(data) {
|
|
19
|
-
this.tableSource = new MatTableDataSource(data);
|
|
20
|
-
this.tableSource.paginator = this.paginator;
|
|
21
|
-
}
|
|
22
|
-
set validError(error) {
|
|
23
|
-
this._validError = error;
|
|
24
|
-
}
|
|
25
|
-
get validError() {
|
|
26
|
-
return this._validError;
|
|
27
|
-
}
|
|
28
|
-
constructor() {
|
|
29
|
-
this.required = false;
|
|
30
|
-
this.multiple = false;
|
|
31
|
-
this.searchLabel = 'Search';
|
|
32
|
-
this.selectedLabel = 'Selected';
|
|
33
|
-
this._validError = false;
|
|
34
|
-
this.returnRowSelected = new EventEmitter();
|
|
35
|
-
this.search = new UntypedFormControl('');
|
|
36
|
-
this.rowSelected = [];
|
|
37
|
-
}
|
|
38
|
-
ngOnInit() {
|
|
39
|
-
this.search.valueChanges.subscribe(res => {
|
|
40
|
-
this.tableSource.filter = res.trim().toLowerCase();
|
|
41
|
-
});
|
|
42
|
-
setTimeout(() => {
|
|
43
|
-
if (this.initSearchVal) {
|
|
44
|
-
this.search.setValue(this.initSearchVal);
|
|
45
|
-
this.rowClick(this.initSelected);
|
|
46
|
-
}
|
|
47
|
-
}, 1000);
|
|
48
|
-
}
|
|
49
|
-
clearSearch() {
|
|
50
|
-
this.search.setValue('');
|
|
51
|
-
}
|
|
52
|
-
rowClick(row) {
|
|
53
|
-
const found = this.rowSelected.find(tmpRow => tmpRow === row);
|
|
54
|
-
if (found) {
|
|
55
|
-
this.rowSelected = this.rowSelected.filter(tmpRow => tmpRow !== row);
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
if (this.multiple) {
|
|
59
|
-
this.rowSelected.push(row);
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
this.rowSelected = [row];
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
this.returnRowSelected.emit(this.rowSelected);
|
|
66
|
-
}
|
|
67
|
-
checkActiveRow(row) {
|
|
68
|
-
return !!this.rowSelected.find(activeRow => activeRow === row);
|
|
69
|
-
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
71
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SelectTableComponent, selector: "ngx-st-select-table", inputs: { title: "title", required: "required", multiple: "multiple", initSelected: "initSelected", initSearchVal: "initSearchVal", searchLabel: "searchLabel", selectedLabel: "selectedLabel", setInitColumns: "setInitColumns", tableData: "tableData", validError: "validError" }, outputs: { returnRowSelected: "returnRowSelected" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }], ngImport: i0, template: "<div class=\"shared-table-selector\">\r\n <p class=\"title\" [ngClass]=\"{ 'error-text': validError }\">\r\n {{ title }} {{ required ? '*' : '' }}\r\n </p>\r\n\r\n <div class=\"search-form row align-items-center\">\r\n <div class=\"col-sm-12 col-md row align-items-center\">\r\n <mat-form-field class=\"col\">\r\n <input\r\n matInput\r\n placeholder=\"{{ searchLabel }}\"\r\n [formControl]=\"search\"\r\n />\r\n </mat-form-field>\r\n <div class=\"clear col-auto\">\r\n <mat-icon (click)=\"clearSearch()\">clear</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <table mat-table [dataSource]=\"tableSource\">\r\n @for (col of columns; track col) {\r\n <ng-container [matColumnDef]=\"col\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n {{ col === 'active' ? selectedLabel : initColumns[col] }}\r\n </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n @if (col === 'active') {\r\n @if (checkActiveRow(element)) {\r\n <mat-icon class=\"active-row\">done</mat-icon>\r\n }\r\n }\r\n @if (col !== 'active') {\r\n {{ element[col] }}\r\n }\r\n </td>\r\n </ng-container>\r\n }\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columns\"></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; columns: columns\"\r\n (click)=\"rowClick(row)\"\r\n [ngClass]=\"{ active: checkActiveRow(row) }\"\r\n ></tr>\r\n </table>\r\n <mat-paginator [pageSizeOptions]=\"[5]\"></mat-paginator>\r\n</div>\r\n", styles: [".title{margin-bottom:0;margin-top:1rem;font-weight:500}.title.error-text{color:#ef5350}\n", ".st-material-table .search-form button{height:40px}.st-material-table .search-form mat-form-field:first-child{padding-left:0}.st-material-table .search-form mat-form-field:last-child{padding-right:0}.st-material-table .search-form .clear{padding:0}.st-material-table .search-form .clear mat-icon{height:20px;width:20px;font-size:20px;cursor:pointer}.st-material-table table{width:100%;box-shadow:none}.st-material-table table th.mat-mdc-header-cell,.st-material-table table td.mat-mdc-cell,.st-material-table table td.mat-mdc-footer-cell{padding:0}.st-material-table table th.mat-mdc-header-cell:first-of-type,.st-material-table table td.mat-mdc-cell:first-of-type,.st-material-table table td.mat-mdc-footer-cell:first-of-type{padding-left:12px}.st-material-table table th.mat-mdc-header-cell:last-of-type,.st-material-table table td.mat-mdc-cell:last-of-type,.st-material-table table td.mat-mdc-footer-cell:last-of-type{padding-right:12px}.st-material-table table thead tr{background-color:#fff9c4;height:40px!important}.st-material-table table thead tr th{border-color:#fdd835;font-size:.9rem;font-weight:600;color:#424242}.st-material-table table tbody{background-color:transparent!important}.st-material-table table tbody>tr{cursor:pointer}.st-material-table table tbody>tr.active{background-color:#a5d6a7}.st-material-table table tbody>tr.active td{border-bottom-color:#81c784!important}.st-material-table table tbody>tr:hover{background-color:#f5f5f5}.st-material-table table tbody>tr.disabled{cursor:not-allowed}.st-material-table table tbody>tr.disabled:hover{background-color:inherit!important}.st-material-table table tbody>tr.detail-row{height:0;cursor:default}.st-material-table table tbody>tr.detail-row:hover{background-color:transparent}.st-material-table table tbody>tr.detail-row .element-detail{overflow:hidden;display:flex}.st-material-table table tbody>tr.detail-row .element-detail p{padding:20px 0;margin-bottom:0;white-space:pre-wrap}.st-material-table table tbody>tr td i.active-row{color:#1b5e20;font-weight:700;font-size:25px;height:25px;width:25px;margin-top:2px}.st-material-table table tbody>tr td>div{max-height:200px;overflow:hidden;overflow-y:auto}.st-material-table table tbody>tr td a button{color:#000}.st-material-table table tbody>tr td a mat-icon{color:#333}.st-material-table table .mat-column-active{width:48px}.st-material-table table.no-hover tbody tr{cursor:default}.st-material-table table.no-hover tbody tr.active{background-color:transparent!important}.st-material-table table.no-hover tbody tr.active td{border-bottom-color:#0000001f!important}.st-material-table table.no-hover tbody tr:hover{background-color:transparent!important}.st-material-table table.no-hover tbody tr:hover td{border-bottom-color:#0000001f!important}.st-material-table table.admin-table .actions-cell{width:100px}.dark-theme .st-material-table table{background-color:transparent!important}.dark-theme .st-material-table table thead tr{background-color:#5e4803!important}.dark-theme .st-material-table table thead tr th{border-color:#816204!important;color:#e0e0e0!important}.dark-theme .st-material-table tbody tr:hover{background-color:var(--primeng-table-hover-background)!important}.dark-theme mat-paginator{background-color:transparent!important}.dark-theme .reorder-column-list .reorder-column-element{background-color:#424242!important;color:#eee!important}.dark-theme .reorder-column-list .reorder-column-element p,.dark-theme .reorder-column-list .reorder-column-element mat-icon{color:#eee!important}.dark-theme .filter .filter-title{color:#eee!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
|
|
72
|
-
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectTableComponent, decorators: [{
|
|
74
|
-
type: Component,
|
|
75
|
-
args: [{ selector: 'ngx-st-select-table', template: "<div class=\"shared-table-selector\">\r\n <p class=\"title\" [ngClass]=\"{ 'error-text': validError }\">\r\n {{ title }} {{ required ? '*' : '' }}\r\n </p>\r\n\r\n <div class=\"search-form row align-items-center\">\r\n <div class=\"col-sm-12 col-md row align-items-center\">\r\n <mat-form-field class=\"col\">\r\n <input\r\n matInput\r\n placeholder=\"{{ searchLabel }}\"\r\n [formControl]=\"search\"\r\n />\r\n </mat-form-field>\r\n <div class=\"clear col-auto\">\r\n <mat-icon (click)=\"clearSearch()\">clear</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <table mat-table [dataSource]=\"tableSource\">\r\n @for (col of columns; track col) {\r\n <ng-container [matColumnDef]=\"col\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n {{ col === 'active' ? selectedLabel : initColumns[col] }}\r\n </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n @if (col === 'active') {\r\n @if (checkActiveRow(element)) {\r\n <mat-icon class=\"active-row\">done</mat-icon>\r\n }\r\n }\r\n @if (col !== 'active') {\r\n {{ element[col] }}\r\n }\r\n </td>\r\n </ng-container>\r\n }\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columns\"></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; columns: columns\"\r\n (click)=\"rowClick(row)\"\r\n [ngClass]=\"{ active: checkActiveRow(row) }\"\r\n ></tr>\r\n </table>\r\n <mat-paginator [pageSizeOptions]=\"[5]\"></mat-paginator>\r\n</div>\r\n", styles: [".title{margin-bottom:0;margin-top:1rem;font-weight:500}.title.error-text{color:#ef5350}\n", ".st-material-table .search-form button{height:40px}.st-material-table .search-form mat-form-field:first-child{padding-left:0}.st-material-table .search-form mat-form-field:last-child{padding-right:0}.st-material-table .search-form .clear{padding:0}.st-material-table .search-form .clear mat-icon{height:20px;width:20px;font-size:20px;cursor:pointer}.st-material-table table{width:100%;box-shadow:none}.st-material-table table th.mat-mdc-header-cell,.st-material-table table td.mat-mdc-cell,.st-material-table table td.mat-mdc-footer-cell{padding:0}.st-material-table table th.mat-mdc-header-cell:first-of-type,.st-material-table table td.mat-mdc-cell:first-of-type,.st-material-table table td.mat-mdc-footer-cell:first-of-type{padding-left:12px}.st-material-table table th.mat-mdc-header-cell:last-of-type,.st-material-table table td.mat-mdc-cell:last-of-type,.st-material-table table td.mat-mdc-footer-cell:last-of-type{padding-right:12px}.st-material-table table thead tr{background-color:#fff9c4;height:40px!important}.st-material-table table thead tr th{border-color:#fdd835;font-size:.9rem;font-weight:600;color:#424242}.st-material-table table tbody{background-color:transparent!important}.st-material-table table tbody>tr{cursor:pointer}.st-material-table table tbody>tr.active{background-color:#a5d6a7}.st-material-table table tbody>tr.active td{border-bottom-color:#81c784!important}.st-material-table table tbody>tr:hover{background-color:#f5f5f5}.st-material-table table tbody>tr.disabled{cursor:not-allowed}.st-material-table table tbody>tr.disabled:hover{background-color:inherit!important}.st-material-table table tbody>tr.detail-row{height:0;cursor:default}.st-material-table table tbody>tr.detail-row:hover{background-color:transparent}.st-material-table table tbody>tr.detail-row .element-detail{overflow:hidden;display:flex}.st-material-table table tbody>tr.detail-row .element-detail p{padding:20px 0;margin-bottom:0;white-space:pre-wrap}.st-material-table table tbody>tr td i.active-row{color:#1b5e20;font-weight:700;font-size:25px;height:25px;width:25px;margin-top:2px}.st-material-table table tbody>tr td>div{max-height:200px;overflow:hidden;overflow-y:auto}.st-material-table table tbody>tr td a button{color:#000}.st-material-table table tbody>tr td a mat-icon{color:#333}.st-material-table table .mat-column-active{width:48px}.st-material-table table.no-hover tbody tr{cursor:default}.st-material-table table.no-hover tbody tr.active{background-color:transparent!important}.st-material-table table.no-hover tbody tr.active td{border-bottom-color:#0000001f!important}.st-material-table table.no-hover tbody tr:hover{background-color:transparent!important}.st-material-table table.no-hover tbody tr:hover td{border-bottom-color:#0000001f!important}.st-material-table table.admin-table .actions-cell{width:100px}.dark-theme .st-material-table table{background-color:transparent!important}.dark-theme .st-material-table table thead tr{background-color:#5e4803!important}.dark-theme .st-material-table table thead tr th{border-color:#816204!important;color:#e0e0e0!important}.dark-theme .st-material-table tbody tr:hover{background-color:var(--primeng-table-hover-background)!important}.dark-theme mat-paginator{background-color:transparent!important}.dark-theme .reorder-column-list .reorder-column-element{background-color:#424242!important;color:#eee!important}.dark-theme .reorder-column-list .reorder-column-element p,.dark-theme .reorder-column-list .reorder-column-element mat-icon{color:#eee!important}.dark-theme .filter .filter-title{color:#eee!important}\n"] }]
|
|
76
|
-
}], ctorParameters: () => [], propDecorators: { paginator: [{
|
|
77
|
-
type: ViewChild,
|
|
78
|
-
args: [MatPaginator]
|
|
79
|
-
}], title: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], required: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], multiple: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], initSelected: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], initSearchVal: [{
|
|
88
|
-
type: Input
|
|
89
|
-
}], searchLabel: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}], selectedLabel: [{
|
|
92
|
-
type: Input
|
|
93
|
-
}], setInitColumns: [{
|
|
94
|
-
type: Input
|
|
95
|
-
}], tableData: [{
|
|
96
|
-
type: Input
|
|
97
|
-
}], validError: [{
|
|
98
|
-
type: Input
|
|
99
|
-
}], returnRowSelected: [{
|
|
100
|
-
type: Output
|
|
101
|
-
}] } });
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiL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ENlbGxEZWY9XCJsZXQgZWxlbWVudFwiPlxyXG4gICAgICAgICAgQGlmIChjb2wgPT09ICdhY3RpdmUnKSB7XHJcbiAgICAgICAgICAgIEBpZiAoY2hlY2tBY3RpdmVSb3coZWxlbWVudCkpIHtcclxuICAgICAgICAgICAgICA8bWF0LWljb24gY2xhc3M9XCJhY3RpdmUtcm93XCI+ZG9uZTwvbWF0LWljb24+XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cclxuICAgICAgICAgIEBpZiAoY29sICE9PSAnYWN0aXZlJykge1xyXG4gICAgICAgICAgICB7eyBlbGVtZW50W2NvbF0gfX1cclxuICAgICAgICAgIH1cclxuICAgICAgICA8L3RkPlxyXG4gICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgIH1cclxuXHJcbiAgICA8dHIgbWF0LWhlYWRlci1yb3cgKm1hdEhlYWRlclJvd0RlZj1cImNvbHVtbnNcIj48L3RyPlxyXG4gICAgPHRyXHJcbiAgICAgIG1hdC1yb3dcclxuICAgICAgKm1hdFJvd0RlZj1cImxldCByb3c7IGNvbHVtbnM6IGNvbHVtbnNcIlxyXG4gICAgICAoY2xpY2spPVwicm93Q2xpY2socm93KVwiXHJcbiAgICAgIFtuZ0NsYXNzXT1cInsgYWN0aXZlOiBjaGVja0FjdGl2ZVJvdyhyb3cpIH1cIlxyXG4gICAgPjwvdHI+XHJcbiAgPC90YWJsZT5cclxuICA8bWF0LXBhZ2luYXRvciBbcGFnZVNpemVPcHRpb25zXT1cIls1XVwiPjwvbWF0LXBhZ2luYXRvcj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3QtY29uZmlndXJhdGlvbnMtc2V0dGluZ3MubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtc3QtdGFibGVzL3NyYy9saWIvbW9kZWxzL3N0LWNvbmZpZ3VyYXRpb25zLXNldHRpbmdzLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFN0Q29uZmlndXJhdGlvbnNTZXR0aW5nc01vZGVsIHtcclxuICAgIGxvY2FsU3RvcmFnZU5hbWU6IHN0cmluZztcclxuICAgIHNlbGVjdExhYmVsOiBzdHJpbmc7XHJcbiAgICBjcmVhdGVMYWJlbDogc3RyaW5nO1xyXG4gICAgZGVsZXRlV2FybmluZ1RpdGxlOiBzdHJpbmc7XHJcbn1cclxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3QtZ2xvYmFsLXNlYXJjaC1zZXR0aW5ncy5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zdC10YWJsZXMvc3JjL2xpYi9tb2RlbHMvc3QtZ2xvYmFsLXNlYXJjaC1zZXR0aW5ncy5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTdEdsb2JhbFNlYXJjaFNldHRpbmdzTW9kZWwge1xyXG4gICAgc2hvdzogYm9vbGVhbjtcclxuICAgIGxhYmVsOiBzdHJpbmc7XHJcbn1cclxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3QtbG9jYWwtc3RvcmFnZS1jb25maWd1cmF0aW9uLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiI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mcm9tICcuL3N0LWxvY2FsLXRhYmxlLWNvbHVtbi5tb2RlbCc7XHJcbmV4cG9ydCBpbnRlcmZhY2UgU3RMb2NhbFRhYmxlQ29sdW1uc01vZGVsIHtcclxuICAgIFtjb2x1bW5OYW1lOiBzdHJpbmddOiBTdExvY2FsVGFibGVDb2x1bW5Nb2RlbDtcclxufVxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3QtdGFibGUtc2V0dGluZ3MubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtc3QtdGFibGVzL3NyYy9saWIvbW9kZWxzL3N0LXRhYmxlLXNldHRpbmdzLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFN0VGFibGVTZXR0aW5nc01vZGVsIHtcclxuICAgIHJvd0NsaWNrQWN0aW9uOiAocm93OiBhbnkpID0+IHZvaWQ7XHJcbn1cclxuIl19
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class LocalTableService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.localStorageName = '';
|
|
6
|
-
}
|
|
7
|
-
getConfigs() {
|
|
8
|
-
if (this.checkLocalStorageName()) {
|
|
9
|
-
return JSON.parse(localStorage.getItem(this.localStorageName) || '[]');
|
|
10
|
-
}
|
|
11
|
-
return [];
|
|
12
|
-
}
|
|
13
|
-
saveConfigs(configs) {
|
|
14
|
-
if (this.checkLocalStorageName()) {
|
|
15
|
-
localStorage.setItem(this.localStorageName, JSON.stringify(configs));
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
checkLocalStorageName() {
|
|
19
|
-
if (this.localStorageName) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
console.warn('Yiu have to add configurationsSettings');
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LocalTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
28
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LocalTableService, providedIn: 'root' }); }
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LocalTableService, decorators: [{
|
|
31
|
-
type: Injectable,
|
|
32
|
-
args: [{
|
|
33
|
-
providedIn: 'root',
|
|
34
|
-
}]
|
|
35
|
-
}], ctorParameters: () => [] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWwtdGFibGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zdC10YWJsZXMvc3JjL2xpYi9zZXJ2aWNlcy9sb2NhbC10YWJsZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTNDLE1BQU0sT0FBTyxpQkFBaUI7SUFHNUI7UUFGQSxxQkFBZ0IsR0FBVyxFQUFFLENBQUM7SUFFZixDQUFDO0lBRWhCLFVBQVU7UUFDUixJQUFJLElBQUksQ0FBQyxxQkFBcUIsRUFBRSxFQUFFLENBQUM7WUFDakMsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLFlB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aWNlIHtcclxuICBsb2NhbFN0b3JhZ2VOYW1lOiBzdHJpbmcgPSAnJztcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7fVxyXG5cclxuICBnZXRDb25maWdzKCk6IFN0TG9jYWxTdG9yYWdlQ29uZmlndXJhdGlvbk1vZGVsW10ge1xyXG4gICAgaWYgKHRoaXMuY2hlY2tMb2NhbFN0b3JhZ2VOYW1lKCkpIHtcclxuICAgICAgcmV0dXJuIEpTT04ucGFyc2UobG9jYWxTdG9yYWdlLmdldEl0ZW0odGhpcy5sb2NhbFN0b3JhZ2VOYW1lKSB8fCAnW10nKTtcclxuICAgIH1cclxuICAgIHJldHVybiBbXTtcclxuICB9XHJcblxyXG4gIHNhdmVDb25maWdzKGNvbmZpZ3M6IFN0TG9jYWxTdG9yYWdlQ29uZmlndXJhdGlvbk1vZGVsW10pIHtcclxuICAgIGlmICh0aGlzLmNoZWNrTG9jYWxTdG9yYWdlTmFtZSgpKSB7XHJcbiAgICAgIGxvY2FsU3RvcmFnZS5zZXRJdGVtKHRoaXMubG9jYWxTdG9yYWdlTmFtZSwgSlNPTi5zdHJpbmdpZnkoY29uZmlncykpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgY2hlY2tMb2NhbFN0b3JhZ2VOYW1lKCkge1xyXG4gICAgaWYgKHRoaXMubG9jYWxTdG9yYWdlTmFtZSkge1xyXG4gICAgICByZXR1cm4gdHJ1ZTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIGNvbnNvbGUud2FybignWWl1IGhhdmUgdG8gYWRkIGNvbmZpZ3VyYXRpb25zU2V0dGluZ3MnKTtcclxuICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { StConfigurationsSettingsModel } from '../../../models/st-configurations-settings.model';
|
|
3
|
-
import { StLocalStorageConfigurationModel } from '../../../models/st-local-storage-configuration.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ConfigurationsComponent implements OnInit {
|
|
6
|
-
configurationsSettings: StConfigurationsSettingsModel;
|
|
7
|
-
configurations: StLocalStorageConfigurationModel[];
|
|
8
|
-
set initSelectedConfig(config: StLocalStorageConfigurationModel | null);
|
|
9
|
-
createNewConfig: EventEmitter<string>;
|
|
10
|
-
removeConfig: EventEmitter<string>;
|
|
11
|
-
changeConfig: EventEmitter<string | null>;
|
|
12
|
-
creatingConfiguration: boolean;
|
|
13
|
-
createConfigurationName: string;
|
|
14
|
-
removingConfiguration: boolean;
|
|
15
|
-
selectedConfig: StLocalStorageConfigurationModel | null;
|
|
16
|
-
constructor();
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
showCreateConfiguration(): void;
|
|
19
|
-
hideCreateConfiguration(): void;
|
|
20
|
-
saveCreateConfiguration(): void;
|
|
21
|
-
deleteConfiguration(): void;
|
|
22
|
-
acceptDeleteConfiguration(): void;
|
|
23
|
-
declineDeleteConfiguration(): void;
|
|
24
|
-
selectedConfigChanged(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationsComponent, "st-configurations[configurationsSettings]", never, { "configurationsSettings": { "alias": "configurationsSettings"; "required": false; }; "configurations": { "alias": "configurations"; "required": false; }; "initSelectedConfig": { "alias": "initSelectedConfig"; "required": false; }; }, { "createNewConfig": "createNewConfig"; "removeConfig": "removeConfig"; "changeConfig": "changeConfig"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { LocalTableService } from '../../services/local-table.service';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
5
|
-
import { MatSort } from '@angular/material/sort';
|
|
6
|
-
import { StTableSettingsModel } from '../../models/st-table-settings.model';
|
|
7
|
-
import { StGlobalSearchSettingsModel } from '../../models/st-global-search-settings.model';
|
|
8
|
-
import { StConfigurationsSettingsModel } from '../../models/st-configurations-settings.model';
|
|
9
|
-
import { StLocalTableColumnsModel } from '../../models/st-local-table-columns.model';
|
|
10
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
11
|
-
import { LocalTableActionColumnModel, StLocalTableColumnModel } from '../../models/st-local-table-column.model';
|
|
12
|
-
import { StLocalStorageConfigurationModel } from '../../models/st-local-storage-configuration.model';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class LocalTableComponent implements OnInit, AfterViewInit {
|
|
15
|
-
private localTableService;
|
|
16
|
-
private changeDetectorRef;
|
|
17
|
-
private router;
|
|
18
|
-
private activatedRoute;
|
|
19
|
-
paginator: MatPaginator;
|
|
20
|
-
sort: MatSort;
|
|
21
|
-
tableSettings: StTableSettingsModel;
|
|
22
|
-
globalSearchSettings: StGlobalSearchSettingsModel;
|
|
23
|
-
pageSize: number;
|
|
24
|
-
allowPickColumns: boolean;
|
|
25
|
-
configurationsSettings: StConfigurationsSettingsModel;
|
|
26
|
-
localStorageName: string;
|
|
27
|
-
bindSearchToUrl: boolean;
|
|
28
|
-
set columns(columns: StLocalTableColumnsModel);
|
|
29
|
-
get columns(): StLocalTableColumnsModel;
|
|
30
|
-
private _columns;
|
|
31
|
-
set data(data: any[]);
|
|
32
|
-
get data(): any[];
|
|
33
|
-
private _data;
|
|
34
|
-
searchModel: string;
|
|
35
|
-
displayedColumns: string[];
|
|
36
|
-
tableSource: MatTableDataSource<any>;
|
|
37
|
-
columnsArray: StLocalTableColumnModel[];
|
|
38
|
-
configurations: StLocalStorageConfigurationModel[];
|
|
39
|
-
initConfig: StLocalStorageConfigurationModel | null;
|
|
40
|
-
activeConfig: StLocalStorageConfigurationModel | null;
|
|
41
|
-
pageIndex: number;
|
|
42
|
-
constructor(localTableService: LocalTableService, changeDetectorRef: ChangeDetectorRef, router: Router, activatedRoute: ActivatedRoute);
|
|
43
|
-
ngOnInit(): void;
|
|
44
|
-
ngAfterViewInit(): void;
|
|
45
|
-
applySearch(): void;
|
|
46
|
-
clearSearch(): void;
|
|
47
|
-
checkIfActionVisible(row: any, action: LocalTableActionColumnModel): boolean;
|
|
48
|
-
columnVisibleChanged(column: StLocalTableColumnModel): void;
|
|
49
|
-
newConfigCreated(name: string): void;
|
|
50
|
-
configRemoved(configId: string): void;
|
|
51
|
-
configChanged(configId: string | null): void;
|
|
52
|
-
pageChanged(event: any): void;
|
|
53
|
-
private updateSearchToUrl;
|
|
54
|
-
private updateConfigsToLocalStorage;
|
|
55
|
-
private setTableSource;
|
|
56
|
-
private setDisplayedColumns;
|
|
57
|
-
private getColumnsArray;
|
|
58
|
-
private loadConfigs;
|
|
59
|
-
private generateNewConfig;
|
|
60
|
-
private setTableConfig;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalTableComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LocalTableComponent, "ngx-st-local-table", never, { "tableSettings": { "alias": "tableSettings"; "required": false; }; "globalSearchSettings": { "alias": "globalSearchSettings"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "allowPickColumns": { "alias": "allowPickColumns"; "required": false; }; "configurationsSettings": { "alias": "configurationsSettings"; "required": false; }; "localStorageName": { "alias": "localStorageName"; "required": false; }; "bindSearchToUrl": { "alias": "bindSearchToUrl"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
63
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SelectTableComponent implements OnInit {
|
|
7
|
-
paginator: MatPaginator;
|
|
8
|
-
title: string;
|
|
9
|
-
required: boolean;
|
|
10
|
-
multiple: boolean;
|
|
11
|
-
initSelected: any;
|
|
12
|
-
initSearchVal: any;
|
|
13
|
-
searchLabel: string;
|
|
14
|
-
selectedLabel: string;
|
|
15
|
-
set setInitColumns(col: {
|
|
16
|
-
[col: string]: string;
|
|
17
|
-
});
|
|
18
|
-
set tableData(data: any[]);
|
|
19
|
-
set validError(error: boolean);
|
|
20
|
-
get validError(): boolean;
|
|
21
|
-
private _validError;
|
|
22
|
-
returnRowSelected: EventEmitter<any[]>;
|
|
23
|
-
tableSource: MatTableDataSource<any>;
|
|
24
|
-
columns: string[];
|
|
25
|
-
initColumns: {
|
|
26
|
-
[col: string]: string;
|
|
27
|
-
};
|
|
28
|
-
search: UntypedFormControl;
|
|
29
|
-
rowSelected: any[];
|
|
30
|
-
constructor();
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
clearSearch(): void;
|
|
33
|
-
rowClick(row: any): void;
|
|
34
|
-
checkActiveRow(row: any): boolean;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectTableComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectTableComponent, "ngx-st-select-table", never, { "title": { "alias": "title"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "initSelected": { "alias": "initSelected"; "required": false; }; "initSearchVal": { "alias": "initSearchVal"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; }; "setInitColumns": { "alias": "setInitColumns"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "validError": { "alias": "validError"; "required": false; }; }, { "returnRowSelected": "returnRowSelected"; }, never, never, false, never>;
|
|
37
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface StLocalTableColumnModel {
|
|
2
|
-
translateColumnName: string;
|
|
3
|
-
visible: boolean;
|
|
4
|
-
type?: 'string' | 'date';
|
|
5
|
-
sort?: boolean;
|
|
6
|
-
search?: boolean;
|
|
7
|
-
searchLabel?: string;
|
|
8
|
-
flexRight?: boolean;
|
|
9
|
-
width?: string;
|
|
10
|
-
actions?: LocalTableActionColumnModel[] | undefined;
|
|
11
|
-
translateValue?: {
|
|
12
|
-
[value: string]: string;
|
|
13
|
-
};
|
|
14
|
-
notShowInColumnPick?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface LocalTableActionColumnModel {
|
|
17
|
-
iconName: string;
|
|
18
|
-
tooltipName?: string;
|
|
19
|
-
action?: (row: any) => void;
|
|
20
|
-
show?: (row: any) => boolean;
|
|
21
|
-
url?: string[];
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { StLocalStorageConfigurationModel } from '../models/st-local-storage-configuration.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LocalTableService {
|
|
4
|
-
localStorageName: string;
|
|
5
|
-
constructor();
|
|
6
|
-
getConfigs(): StLocalStorageConfigurationModel[];
|
|
7
|
-
saveConfigs(configs: StLocalStorageConfigurationModel[]): void;
|
|
8
|
-
checkLocalStorageName(): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalTableService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalTableService>;
|
|
11
|
-
}
|