@one-paragon/angular-utilities 0.3.2 → 0.3.3
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/action-state/action-state-spinner/action-state-spinner.component.mjs +4 -4
- package/esm2022/table-builder/classes/filter-info.mjs +1 -1
- package/esm2022/table-builder/components/array-column.component.mjs +37 -29
- package/esm2022/table-builder/components/column-builder/column-builder.component.mjs +7 -6
- package/esm2022/table-builder/components/date-filter/date-filter.component.mjs +4 -5
- package/esm2022/table-builder/components/date-time-filter/date-time-filter.component.mjs +4 -5
- package/esm2022/table-builder/components/filter/filter.component.mjs +7 -8
- package/esm2022/table-builder/components/filter/in-list/in-list-filter.component.mjs +21 -15
- package/esm2022/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +5 -5
- package/esm2022/table-builder/components/generic-table/generic-table.component.mjs +5 -5
- package/esm2022/table-builder/components/generic-table/paginator.component.mjs +15 -11
- package/esm2022/table-builder/components/group-by-list/group-by-list.component.mjs +4 -5
- package/esm2022/table-builder/components/header-menu/header-menu.component.mjs +5 -5
- package/esm2022/table-builder/components/in-filter/in-filter.component.mjs +5 -6
- package/esm2022/table-builder/components/link-column.component.mjs +20 -19
- package/esm2022/table-builder/components/number-filter/number-filter.component.mjs +4 -5
- package/esm2022/table-builder/components/sort-menu/sort-menu.component.mjs +6 -6
- package/esm2022/table-builder/components/table-container/table-container-imports.mjs +4 -3
- package/esm2022/table-builder/components/table-container/table-container.mjs +3 -3
- package/esm2022/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +6 -6
- package/esm2022/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +5 -5
- package/esm2022/table-builder/enums/filterTypes.mjs +30 -30
- package/esm2022/utilities/pipes/function.pipe.mjs +1 -1
- package/fesm2022/one-paragon-angular-utilities.mjs +169 -147
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
- package/package.json +1 -1
- package/table-builder/classes/filter-info.d.ts +94 -7
- package/table-builder/components/array-column.component.d.ts +1 -1
- package/table-builder/components/column-builder/column-builder.component.d.ts +1 -1
- package/table-builder/components/filter/filter.component.d.ts +93 -352
- package/table-builder/components/in-filter/in-filter.component.d.ts +1 -1
- package/table-builder/components/table-container/table-container-imports.d.ts +3 -2
- package/table-builder/enums/filterTypes.d.ts +47 -7
- package/utilities/pipes/function.pipe.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,100 @@
|
|
|
1
|
-
import { FilterType
|
|
1
|
+
import { FilterType } from '../enums/filterTypes';
|
|
2
2
|
import { FieldType } from '../interfaces/report-def';
|
|
3
3
|
import { Predicate } from '@angular/core';
|
|
4
|
-
type FilterTypeMapType = {
|
|
5
|
-
[key in FieldType]: FilterToFiltersMap;
|
|
6
|
-
};
|
|
7
|
-
export type UnmappedTypes = FieldType.Expression | FieldType.Hidden | FieldType.ImageUrl;
|
|
8
4
|
export type mappedFieldTypes = FieldType.Unknown | FieldType.Date | FieldType.DateTime | FieldType.Currency | FieldType.Array | FieldType.Number | FieldType.String | FieldType.Boolean | FieldType.PhoneNumber | FieldType.Link | FieldType.Enum;
|
|
9
|
-
export declare const filterTypeMap:
|
|
5
|
+
export declare const filterTypeMap: {
|
|
6
|
+
readonly 0: {
|
|
7
|
+
readonly Equals: FilterType.NumberEquals;
|
|
8
|
+
readonly Contains: FilterType.StringContains;
|
|
9
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
10
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
11
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
12
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
13
|
+
readonly In: FilterType.In;
|
|
14
|
+
};
|
|
15
|
+
readonly 1: {
|
|
16
|
+
readonly "Is on": FilterType.DateIsOn;
|
|
17
|
+
readonly "Is Not On": FilterType.DateIsNotOn;
|
|
18
|
+
readonly "On or After": FilterType.DateOnOrAfter;
|
|
19
|
+
readonly "On or Before": FilterType.DateOnOrBefore;
|
|
20
|
+
readonly Between: FilterType.NumberBetween;
|
|
21
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
22
|
+
};
|
|
23
|
+
readonly 13: {
|
|
24
|
+
readonly "Is At": FilterType.DateTimeIsAt;
|
|
25
|
+
readonly "Is Not At": FilterType.DateTimeIsNotAt;
|
|
26
|
+
readonly "At or After": FilterType.DateTimeAtOrAfter;
|
|
27
|
+
readonly "At or Before": FilterType.DateTimeAtOrBefore;
|
|
28
|
+
readonly Between: FilterType.NumberBetween;
|
|
29
|
+
readonly "Is on": FilterType.DateIsOn;
|
|
30
|
+
readonly "Is Not On": FilterType.DateIsNotOn;
|
|
31
|
+
readonly "On or After": FilterType.DateOnOrAfter;
|
|
32
|
+
readonly "On or Before": FilterType.DateOnOrBefore;
|
|
33
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
34
|
+
};
|
|
35
|
+
readonly 4: {
|
|
36
|
+
readonly Equals: FilterType.NumberEquals;
|
|
37
|
+
readonly "Does Not Equal": FilterType.NumberNotEqual;
|
|
38
|
+
readonly "Greater Than": FilterType.NumberGreaterThan;
|
|
39
|
+
readonly "Less Than": FilterType.NumberLessThan;
|
|
40
|
+
readonly Between: FilterType.NumberBetween;
|
|
41
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
42
|
+
readonly In: FilterType.In;
|
|
43
|
+
};
|
|
44
|
+
readonly 5: {
|
|
45
|
+
readonly Equals: FilterType.NumberEquals;
|
|
46
|
+
readonly Contains: FilterType.StringContains;
|
|
47
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
48
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
49
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
50
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
51
|
+
readonly In: FilterType.In;
|
|
52
|
+
};
|
|
53
|
+
readonly 7: {
|
|
54
|
+
readonly Equals: FilterType.NumberEquals;
|
|
55
|
+
readonly "Does Not Equal": FilterType.NumberNotEqual;
|
|
56
|
+
readonly "Greater Than": FilterType.NumberGreaterThan;
|
|
57
|
+
readonly "Less Than": FilterType.NumberLessThan;
|
|
58
|
+
readonly Between: FilterType.NumberBetween;
|
|
59
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
60
|
+
readonly In: FilterType.In;
|
|
61
|
+
};
|
|
62
|
+
readonly 8: {
|
|
63
|
+
readonly Equals: FilterType.NumberEquals;
|
|
64
|
+
readonly Contains: FilterType.StringContains;
|
|
65
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
66
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
67
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
68
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
69
|
+
readonly In: FilterType.In;
|
|
70
|
+
};
|
|
71
|
+
readonly 9: {
|
|
72
|
+
readonly Is: FilterType.BooleanEquals;
|
|
73
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
74
|
+
};
|
|
75
|
+
readonly 10: {
|
|
76
|
+
readonly Equals: FilterType.NumberEquals;
|
|
77
|
+
readonly Contains: FilterType.StringContains;
|
|
78
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
79
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
80
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
81
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
82
|
+
readonly In: FilterType.In;
|
|
83
|
+
};
|
|
84
|
+
readonly 2: {
|
|
85
|
+
readonly Equals: FilterType.NumberEquals;
|
|
86
|
+
readonly Contains: FilterType.StringContains;
|
|
87
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
88
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
89
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
90
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
91
|
+
readonly In: FilterType.In;
|
|
92
|
+
};
|
|
93
|
+
readonly 12: {
|
|
94
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
95
|
+
readonly In: FilterType.In;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
10
98
|
export interface FilterState {
|
|
11
99
|
filterId: string;
|
|
12
100
|
filterType: FilterType;
|
|
@@ -37,4 +125,3 @@ export type Range<T> = {
|
|
|
37
125
|
Start: T;
|
|
38
126
|
End: T;
|
|
39
127
|
};
|
|
40
|
-
export {};
|
|
@@ -27,7 +27,7 @@ export declare class ColumnBuilderComponent implements OnInit {
|
|
|
27
27
|
FieldType: typeof FieldType;
|
|
28
28
|
filter: Partial<FilterInfo>;
|
|
29
29
|
metaData: MetaData;
|
|
30
|
-
customCell
|
|
30
|
+
customCell?: CustomCellDirective;
|
|
31
31
|
data$: Observable<any[]>;
|
|
32
32
|
columnDef: MatColumnDef;
|
|
33
33
|
outerTemplate: TemplateRef<any>;
|
|
@@ -6,358 +6,99 @@ import { FieldType } from '../../interfaces/report-def';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FilterComponent {
|
|
8
8
|
state: TableStore;
|
|
9
|
-
filterTypes:
|
|
10
|
-
0:
|
|
11
|
-
Equals: FilterType
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"Is on": FilterType
|
|
21
|
-
"Is Not On": FilterType
|
|
22
|
-
"On or After": FilterType
|
|
23
|
-
"On or Before": FilterType
|
|
24
|
-
|
|
25
|
-
"Is
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Is: FilterType
|
|
29
|
-
"Is
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
"Is
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"Is Blank": FilterType
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"At or Before": FilterType[];
|
|
103
|
-
Is: FilterType[];
|
|
104
|
-
"Is Blank": FilterType[];
|
|
105
|
-
Or: FilterType[];
|
|
106
|
-
And: FilterType[];
|
|
107
|
-
In: FilterType[];
|
|
108
|
-
Custom: FilterType[];
|
|
109
|
-
}>;
|
|
110
|
-
4: Partial<{
|
|
111
|
-
Equals: FilterType[];
|
|
112
|
-
"Does Not Equal": FilterType[];
|
|
113
|
-
"Greater Than": FilterType[];
|
|
114
|
-
"Less Than": FilterType[];
|
|
115
|
-
Between: FilterType[];
|
|
116
|
-
Contains: FilterType[];
|
|
117
|
-
"Does Not Contain": FilterType[];
|
|
118
|
-
"Start With": FilterType[];
|
|
119
|
-
"Ends With": FilterType[];
|
|
120
|
-
"Is on": FilterType[];
|
|
121
|
-
"Is Not On": FilterType[];
|
|
122
|
-
"On or After": FilterType[];
|
|
123
|
-
"On or Before": FilterType[];
|
|
124
|
-
"Is At": FilterType[];
|
|
125
|
-
"Is Not At": FilterType[];
|
|
126
|
-
"At or After": FilterType[];
|
|
127
|
-
"At or Before": FilterType[];
|
|
128
|
-
Is: FilterType[];
|
|
129
|
-
"Is Blank": FilterType[];
|
|
130
|
-
Or: FilterType[];
|
|
131
|
-
And: FilterType[];
|
|
132
|
-
In: FilterType[];
|
|
133
|
-
Custom: FilterType[];
|
|
134
|
-
}>;
|
|
135
|
-
5: Partial<{
|
|
136
|
-
Equals: FilterType[];
|
|
137
|
-
"Does Not Equal": FilterType[];
|
|
138
|
-
"Greater Than": FilterType[];
|
|
139
|
-
"Less Than": FilterType[];
|
|
140
|
-
Between: FilterType[];
|
|
141
|
-
Contains: FilterType[];
|
|
142
|
-
"Does Not Contain": FilterType[];
|
|
143
|
-
"Start With": FilterType[];
|
|
144
|
-
"Ends With": FilterType[];
|
|
145
|
-
"Is on": FilterType[];
|
|
146
|
-
"Is Not On": FilterType[];
|
|
147
|
-
"On or After": FilterType[];
|
|
148
|
-
"On or Before": FilterType[];
|
|
149
|
-
"Is At": FilterType[];
|
|
150
|
-
"Is Not At": FilterType[];
|
|
151
|
-
"At or After": FilterType[];
|
|
152
|
-
"At or Before": FilterType[];
|
|
153
|
-
Is: FilterType[];
|
|
154
|
-
"Is Blank": FilterType[];
|
|
155
|
-
Or: FilterType[];
|
|
156
|
-
And: FilterType[];
|
|
157
|
-
In: FilterType[];
|
|
158
|
-
Custom: FilterType[];
|
|
159
|
-
}>;
|
|
160
|
-
6: Partial<{
|
|
161
|
-
Equals: FilterType[];
|
|
162
|
-
"Does Not Equal": FilterType[];
|
|
163
|
-
"Greater Than": FilterType[];
|
|
164
|
-
"Less Than": FilterType[];
|
|
165
|
-
Between: FilterType[];
|
|
166
|
-
Contains: FilterType[];
|
|
167
|
-
"Does Not Contain": FilterType[];
|
|
168
|
-
"Start With": FilterType[];
|
|
169
|
-
"Ends With": FilterType[];
|
|
170
|
-
"Is on": FilterType[];
|
|
171
|
-
"Is Not On": FilterType[];
|
|
172
|
-
"On or After": FilterType[];
|
|
173
|
-
"On or Before": FilterType[];
|
|
174
|
-
"Is At": FilterType[];
|
|
175
|
-
"Is Not At": FilterType[];
|
|
176
|
-
"At or After": FilterType[];
|
|
177
|
-
"At or Before": FilterType[];
|
|
178
|
-
Is: FilterType[];
|
|
179
|
-
"Is Blank": FilterType[];
|
|
180
|
-
Or: FilterType[];
|
|
181
|
-
And: FilterType[];
|
|
182
|
-
In: FilterType[];
|
|
183
|
-
Custom: FilterType[];
|
|
184
|
-
}>;
|
|
185
|
-
7: Partial<{
|
|
186
|
-
Equals: FilterType[];
|
|
187
|
-
"Does Not Equal": FilterType[];
|
|
188
|
-
"Greater Than": FilterType[];
|
|
189
|
-
"Less Than": FilterType[];
|
|
190
|
-
Between: FilterType[];
|
|
191
|
-
Contains: FilterType[];
|
|
192
|
-
"Does Not Contain": FilterType[];
|
|
193
|
-
"Start With": FilterType[];
|
|
194
|
-
"Ends With": FilterType[];
|
|
195
|
-
"Is on": FilterType[];
|
|
196
|
-
"Is Not On": FilterType[];
|
|
197
|
-
"On or After": FilterType[];
|
|
198
|
-
"On or Before": FilterType[];
|
|
199
|
-
"Is At": FilterType[];
|
|
200
|
-
"Is Not At": FilterType[];
|
|
201
|
-
"At or After": FilterType[];
|
|
202
|
-
"At or Before": FilterType[];
|
|
203
|
-
Is: FilterType[];
|
|
204
|
-
"Is Blank": FilterType[];
|
|
205
|
-
Or: FilterType[];
|
|
206
|
-
And: FilterType[];
|
|
207
|
-
In: FilterType[];
|
|
208
|
-
Custom: FilterType[];
|
|
209
|
-
}>;
|
|
210
|
-
8: Partial<{
|
|
211
|
-
Equals: FilterType[];
|
|
212
|
-
"Does Not Equal": FilterType[];
|
|
213
|
-
"Greater Than": FilterType[];
|
|
214
|
-
"Less Than": FilterType[];
|
|
215
|
-
Between: FilterType[];
|
|
216
|
-
Contains: FilterType[];
|
|
217
|
-
"Does Not Contain": FilterType[];
|
|
218
|
-
"Start With": FilterType[];
|
|
219
|
-
"Ends With": FilterType[];
|
|
220
|
-
"Is on": FilterType[];
|
|
221
|
-
"Is Not On": FilterType[];
|
|
222
|
-
"On or After": FilterType[];
|
|
223
|
-
"On or Before": FilterType[];
|
|
224
|
-
"Is At": FilterType[];
|
|
225
|
-
"Is Not At": FilterType[];
|
|
226
|
-
"At or After": FilterType[];
|
|
227
|
-
"At or Before": FilterType[];
|
|
228
|
-
Is: FilterType[];
|
|
229
|
-
"Is Blank": FilterType[];
|
|
230
|
-
Or: FilterType[];
|
|
231
|
-
And: FilterType[];
|
|
232
|
-
In: FilterType[];
|
|
233
|
-
Custom: FilterType[];
|
|
234
|
-
}>;
|
|
235
|
-
9: Partial<{
|
|
236
|
-
Equals: FilterType[];
|
|
237
|
-
"Does Not Equal": FilterType[];
|
|
238
|
-
"Greater Than": FilterType[];
|
|
239
|
-
"Less Than": FilterType[];
|
|
240
|
-
Between: FilterType[];
|
|
241
|
-
Contains: FilterType[];
|
|
242
|
-
"Does Not Contain": FilterType[];
|
|
243
|
-
"Start With": FilterType[];
|
|
244
|
-
"Ends With": FilterType[];
|
|
245
|
-
"Is on": FilterType[];
|
|
246
|
-
"Is Not On": FilterType[];
|
|
247
|
-
"On or After": FilterType[];
|
|
248
|
-
"On or Before": FilterType[];
|
|
249
|
-
"Is At": FilterType[];
|
|
250
|
-
"Is Not At": FilterType[];
|
|
251
|
-
"At or After": FilterType[];
|
|
252
|
-
"At or Before": FilterType[];
|
|
253
|
-
Is: FilterType[];
|
|
254
|
-
"Is Blank": FilterType[];
|
|
255
|
-
Or: FilterType[];
|
|
256
|
-
And: FilterType[];
|
|
257
|
-
In: FilterType[];
|
|
258
|
-
Custom: FilterType[];
|
|
259
|
-
}>;
|
|
260
|
-
10: Partial<{
|
|
261
|
-
Equals: FilterType[];
|
|
262
|
-
"Does Not Equal": FilterType[];
|
|
263
|
-
"Greater Than": FilterType[];
|
|
264
|
-
"Less Than": FilterType[];
|
|
265
|
-
Between: FilterType[];
|
|
266
|
-
Contains: FilterType[];
|
|
267
|
-
"Does Not Contain": FilterType[];
|
|
268
|
-
"Start With": FilterType[];
|
|
269
|
-
"Ends With": FilterType[];
|
|
270
|
-
"Is on": FilterType[];
|
|
271
|
-
"Is Not On": FilterType[];
|
|
272
|
-
"On or After": FilterType[];
|
|
273
|
-
"On or Before": FilterType[];
|
|
274
|
-
"Is At": FilterType[];
|
|
275
|
-
"Is Not At": FilterType[];
|
|
276
|
-
"At or After": FilterType[];
|
|
277
|
-
"At or Before": FilterType[];
|
|
278
|
-
Is: FilterType[];
|
|
279
|
-
"Is Blank": FilterType[];
|
|
280
|
-
Or: FilterType[];
|
|
281
|
-
And: FilterType[];
|
|
282
|
-
In: FilterType[];
|
|
283
|
-
Custom: FilterType[];
|
|
284
|
-
}>;
|
|
285
|
-
11: Partial<{
|
|
286
|
-
Equals: FilterType[];
|
|
287
|
-
"Does Not Equal": FilterType[];
|
|
288
|
-
"Greater Than": FilterType[];
|
|
289
|
-
"Less Than": FilterType[];
|
|
290
|
-
Between: FilterType[];
|
|
291
|
-
Contains: FilterType[];
|
|
292
|
-
"Does Not Contain": FilterType[];
|
|
293
|
-
"Start With": FilterType[];
|
|
294
|
-
"Ends With": FilterType[];
|
|
295
|
-
"Is on": FilterType[];
|
|
296
|
-
"Is Not On": FilterType[];
|
|
297
|
-
"On or After": FilterType[];
|
|
298
|
-
"On or Before": FilterType[];
|
|
299
|
-
"Is At": FilterType[];
|
|
300
|
-
"Is Not At": FilterType[];
|
|
301
|
-
"At or After": FilterType[];
|
|
302
|
-
"At or Before": FilterType[];
|
|
303
|
-
Is: FilterType[];
|
|
304
|
-
"Is Blank": FilterType[];
|
|
305
|
-
Or: FilterType[];
|
|
306
|
-
And: FilterType[];
|
|
307
|
-
In: FilterType[];
|
|
308
|
-
Custom: FilterType[];
|
|
309
|
-
}>;
|
|
310
|
-
12: Partial<{
|
|
311
|
-
Equals: FilterType[];
|
|
312
|
-
"Does Not Equal": FilterType[];
|
|
313
|
-
"Greater Than": FilterType[];
|
|
314
|
-
"Less Than": FilterType[];
|
|
315
|
-
Between: FilterType[];
|
|
316
|
-
Contains: FilterType[];
|
|
317
|
-
"Does Not Contain": FilterType[];
|
|
318
|
-
"Start With": FilterType[];
|
|
319
|
-
"Ends With": FilterType[];
|
|
320
|
-
"Is on": FilterType[];
|
|
321
|
-
"Is Not On": FilterType[];
|
|
322
|
-
"On or After": FilterType[];
|
|
323
|
-
"On or Before": FilterType[];
|
|
324
|
-
"Is At": FilterType[];
|
|
325
|
-
"Is Not At": FilterType[];
|
|
326
|
-
"At or After": FilterType[];
|
|
327
|
-
"At or Before": FilterType[];
|
|
328
|
-
Is: FilterType[];
|
|
329
|
-
"Is Blank": FilterType[];
|
|
330
|
-
Or: FilterType[];
|
|
331
|
-
And: FilterType[];
|
|
332
|
-
In: FilterType[];
|
|
333
|
-
Custom: FilterType[];
|
|
334
|
-
}>;
|
|
335
|
-
13: Partial<{
|
|
336
|
-
Equals: FilterType[];
|
|
337
|
-
"Does Not Equal": FilterType[];
|
|
338
|
-
"Greater Than": FilterType[];
|
|
339
|
-
"Less Than": FilterType[];
|
|
340
|
-
Between: FilterType[];
|
|
341
|
-
Contains: FilterType[];
|
|
342
|
-
"Does Not Contain": FilterType[];
|
|
343
|
-
"Start With": FilterType[];
|
|
344
|
-
"Ends With": FilterType[];
|
|
345
|
-
"Is on": FilterType[];
|
|
346
|
-
"Is Not On": FilterType[];
|
|
347
|
-
"On or After": FilterType[];
|
|
348
|
-
"On or Before": FilterType[];
|
|
349
|
-
"Is At": FilterType[];
|
|
350
|
-
"Is Not At": FilterType[];
|
|
351
|
-
"At or After": FilterType[];
|
|
352
|
-
"At or Before": FilterType[];
|
|
353
|
-
Is: FilterType[];
|
|
354
|
-
"Is Blank": FilterType[];
|
|
355
|
-
Or: FilterType[];
|
|
356
|
-
And: FilterType[];
|
|
357
|
-
In: FilterType[];
|
|
358
|
-
Custom: FilterType[];
|
|
359
|
-
}>;
|
|
360
|
-
}, import("../../classes/filter-info").UnmappedTypes>;
|
|
9
|
+
filterTypes: {
|
|
10
|
+
readonly 0: {
|
|
11
|
+
readonly Equals: FilterType.NumberEquals;
|
|
12
|
+
readonly Contains: FilterType.StringContains;
|
|
13
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
14
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
15
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
16
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
17
|
+
readonly In: FilterType.In;
|
|
18
|
+
};
|
|
19
|
+
readonly 1: {
|
|
20
|
+
readonly "Is on": FilterType.DateIsOn;
|
|
21
|
+
readonly "Is Not On": FilterType.DateIsNotOn;
|
|
22
|
+
readonly "On or After": FilterType.DateOnOrAfter;
|
|
23
|
+
readonly "On or Before": FilterType.DateOnOrBefore;
|
|
24
|
+
readonly Between: FilterType.NumberBetween;
|
|
25
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
26
|
+
};
|
|
27
|
+
readonly 13: {
|
|
28
|
+
readonly "Is At": FilterType.DateTimeIsAt;
|
|
29
|
+
readonly "Is Not At": FilterType.DateTimeIsNotAt;
|
|
30
|
+
readonly "At or After": FilterType.DateTimeAtOrAfter;
|
|
31
|
+
readonly "At or Before": FilterType.DateTimeAtOrBefore;
|
|
32
|
+
readonly Between: FilterType.NumberBetween;
|
|
33
|
+
readonly "Is on": FilterType.DateIsOn;
|
|
34
|
+
readonly "Is Not On": FilterType.DateIsNotOn;
|
|
35
|
+
readonly "On or After": FilterType.DateOnOrAfter;
|
|
36
|
+
readonly "On or Before": FilterType.DateOnOrBefore;
|
|
37
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
38
|
+
};
|
|
39
|
+
readonly 4: {
|
|
40
|
+
readonly Equals: FilterType.NumberEquals;
|
|
41
|
+
readonly "Does Not Equal": FilterType.NumberNotEqual;
|
|
42
|
+
readonly "Greater Than": FilterType.NumberGreaterThan;
|
|
43
|
+
readonly "Less Than": FilterType.NumberLessThan;
|
|
44
|
+
readonly Between: FilterType.NumberBetween;
|
|
45
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
46
|
+
readonly In: FilterType.In;
|
|
47
|
+
};
|
|
48
|
+
readonly 5: {
|
|
49
|
+
readonly Equals: FilterType.NumberEquals;
|
|
50
|
+
readonly Contains: FilterType.StringContains;
|
|
51
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
52
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
53
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
54
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
55
|
+
readonly In: FilterType.In;
|
|
56
|
+
};
|
|
57
|
+
readonly 7: {
|
|
58
|
+
readonly Equals: FilterType.NumberEquals;
|
|
59
|
+
readonly "Does Not Equal": FilterType.NumberNotEqual;
|
|
60
|
+
readonly "Greater Than": FilterType.NumberGreaterThan;
|
|
61
|
+
readonly "Less Than": FilterType.NumberLessThan;
|
|
62
|
+
readonly Between: FilterType.NumberBetween;
|
|
63
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
64
|
+
readonly In: FilterType.In;
|
|
65
|
+
};
|
|
66
|
+
readonly 8: {
|
|
67
|
+
readonly Equals: FilterType.NumberEquals;
|
|
68
|
+
readonly Contains: FilterType.StringContains;
|
|
69
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
70
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
71
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
72
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
73
|
+
readonly In: FilterType.In;
|
|
74
|
+
};
|
|
75
|
+
readonly 9: {
|
|
76
|
+
readonly Is: FilterType.BooleanEquals;
|
|
77
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
78
|
+
};
|
|
79
|
+
readonly 10: {
|
|
80
|
+
readonly Equals: FilterType.NumberEquals;
|
|
81
|
+
readonly Contains: FilterType.StringContains;
|
|
82
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
83
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
84
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
85
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
86
|
+
readonly In: FilterType.In;
|
|
87
|
+
};
|
|
88
|
+
readonly 2: {
|
|
89
|
+
readonly Equals: FilterType.NumberEquals;
|
|
90
|
+
readonly Contains: FilterType.StringContains;
|
|
91
|
+
readonly "Does Not Contain": FilterType.StringDoesNotContain;
|
|
92
|
+
readonly "Start With": FilterType.StringStartWith;
|
|
93
|
+
readonly "Ends With": FilterType.StringEndsWith;
|
|
94
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
95
|
+
readonly In: FilterType.In;
|
|
96
|
+
};
|
|
97
|
+
readonly 12: {
|
|
98
|
+
readonly "Is Blank": FilterType.IsNull;
|
|
99
|
+
readonly In: FilterType.In;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
361
102
|
FilterType: typeof FilterType;
|
|
362
103
|
FieldType: typeof FieldType;
|
|
363
104
|
filter: PartialFilter;
|
|
@@ -6,7 +6,7 @@ export declare class InFilterComponent implements ControlValueAccessor {
|
|
|
6
6
|
private ref;
|
|
7
7
|
FieldType: typeof FieldType;
|
|
8
8
|
type: FieldType;
|
|
9
|
-
value:
|
|
9
|
+
value: (string | number | undefined)[];
|
|
10
10
|
constructor(ref: ChangeDetectorRef);
|
|
11
11
|
writeValue(obj: any[]): void;
|
|
12
12
|
onChange: (_: any) => void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AsyncPipe, NgTemplateOutlet } from "@angular/common";
|
|
2
2
|
import { LetDirective } from "@ngrx/component";
|
|
3
3
|
import { MultiSortDirective } from "../../directives";
|
|
4
4
|
import { GroupByListComponent } from "../group-by-list/group-by-list.component";
|
|
5
5
|
import { FilterChipsComponent } from "../table-container-filter/filter-list/filter-list.component";
|
|
6
|
+
import { MatButtonModule } from "@angular/material/button";
|
|
6
7
|
import { GenericTableComponent } from "../generic-table/generic-table.component";
|
|
7
8
|
import { GenFilterDisplayerComponent } from "../table-container-filter/gen-filter-displayer/gen-filter-displayer.component";
|
|
8
9
|
import { GenColDisplayerComponent } from "../gen-col-displayer/gen-col-displayer.component";
|
|
9
10
|
import { SortMenuComponent } from "../sort-menu/sort-menu.component";
|
|
10
11
|
import { ClickEmitterDirective, DialogDirective, StopPropagationDirective } from "../../../utilities";
|
|
11
|
-
export declare const i: (typeof
|
|
12
|
+
export declare const i: (typeof MatButtonModule | typeof NgTemplateOutlet | typeof AsyncPipe | typeof MultiSortDirective | typeof StopPropagationDirective | typeof ClickEmitterDirective | typeof DialogDirective | typeof GenColDisplayerComponent | typeof GenFilterDisplayerComponent | typeof LetDirective | typeof FilterChipsComponent | typeof GenericTableComponent | typeof GroupByListComponent | typeof SortMenuComponent)[];
|