@trudb/tru-common-lib 0.0.293 → 0.0.295
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/esm2020/lib/classes/tru-formula-eval.mjs +2 -2
- package/esm2020/lib/services/tru-context-filters.mjs +4 -5
- package/fesm2015/trudb-tru-common-lib.mjs +4 -5
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +4 -5
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/services/tru-context-filters.d.ts +0 -2
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import * as i2 from '@angular/forms';
|
|
|
7
7
|
import { FormsModule } from '@angular/forms';
|
|
8
8
|
import { Subject, BehaviorSubject, defer, from, of, skip, forkJoin } from 'rxjs';
|
|
9
9
|
import * as _ from 'underscore';
|
|
10
|
-
import
|
|
10
|
+
import moment from 'moment/moment';
|
|
11
11
|
import * as i1 from '@angular/material/dialog';
|
|
12
12
|
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
13
13
|
import * as i1$2 from '@angular/common/http';
|
|
@@ -198,7 +198,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
|
|
|
198
198
|
class TruContextFilters {
|
|
199
199
|
constructor() {
|
|
200
200
|
this.filters = [];
|
|
201
|
-
this.selectedContextFilterChoices = [];
|
|
202
201
|
this.valueFor = (tableName) => {
|
|
203
202
|
let choice = this.filters.find(f => f.selectedChoice.table === tableName)?.selectedChoice;
|
|
204
203
|
if (!choice)
|
|
@@ -207,9 +206,9 @@ class TruContextFilters {
|
|
|
207
206
|
};
|
|
208
207
|
this.label = () => {
|
|
209
208
|
let label = '';
|
|
210
|
-
this.selectedContextFilterChoices.forEach((filter) => {
|
|
211
|
-
|
|
212
|
-
});
|
|
209
|
+
//this.selectedContextFilterChoices.forEach((filter: TruContextFilterChoice) => {
|
|
210
|
+
// label += filter.table + ': ' + filter.label + ' ';
|
|
211
|
+
//});
|
|
213
212
|
return label;
|
|
214
213
|
};
|
|
215
214
|
}
|