@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.
Files changed (34) hide show
  1. package/esm2022/action-state/action-state-spinner/action-state-spinner.component.mjs +4 -4
  2. package/esm2022/table-builder/classes/filter-info.mjs +1 -1
  3. package/esm2022/table-builder/components/array-column.component.mjs +37 -29
  4. package/esm2022/table-builder/components/column-builder/column-builder.component.mjs +7 -6
  5. package/esm2022/table-builder/components/date-filter/date-filter.component.mjs +4 -5
  6. package/esm2022/table-builder/components/date-time-filter/date-time-filter.component.mjs +4 -5
  7. package/esm2022/table-builder/components/filter/filter.component.mjs +7 -8
  8. package/esm2022/table-builder/components/filter/in-list/in-list-filter.component.mjs +21 -15
  9. package/esm2022/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +5 -5
  10. package/esm2022/table-builder/components/generic-table/generic-table.component.mjs +5 -5
  11. package/esm2022/table-builder/components/generic-table/paginator.component.mjs +15 -11
  12. package/esm2022/table-builder/components/group-by-list/group-by-list.component.mjs +4 -5
  13. package/esm2022/table-builder/components/header-menu/header-menu.component.mjs +5 -5
  14. package/esm2022/table-builder/components/in-filter/in-filter.component.mjs +5 -6
  15. package/esm2022/table-builder/components/link-column.component.mjs +20 -19
  16. package/esm2022/table-builder/components/number-filter/number-filter.component.mjs +4 -5
  17. package/esm2022/table-builder/components/sort-menu/sort-menu.component.mjs +6 -6
  18. package/esm2022/table-builder/components/table-container/table-container-imports.mjs +4 -3
  19. package/esm2022/table-builder/components/table-container/table-container.mjs +3 -3
  20. package/esm2022/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +6 -6
  21. package/esm2022/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +5 -5
  22. package/esm2022/table-builder/enums/filterTypes.mjs +30 -30
  23. package/esm2022/utilities/pipes/function.pipe.mjs +1 -1
  24. package/fesm2022/one-paragon-angular-utilities.mjs +169 -147
  25. package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
  26. package/package.json +1 -1
  27. package/table-builder/classes/filter-info.d.ts +94 -7
  28. package/table-builder/components/array-column.component.d.ts +1 -1
  29. package/table-builder/components/column-builder/column-builder.component.d.ts +1 -1
  30. package/table-builder/components/filter/filter.component.d.ts +93 -352
  31. package/table-builder/components/in-filter/in-filter.component.d.ts +1 -1
  32. package/table-builder/components/table-container/table-container-imports.d.ts +3 -2
  33. package/table-builder/enums/filterTypes.d.ts +47 -7
  34. package/utilities/pipes/function.pipe.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@one-paragon/angular-utilities",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.3",
6
6
  "@angular/core": "^17.0.3",
@@ -1,12 +1,100 @@
1
- import { FilterType, FilterToFiltersMap } from '../enums/filterTypes';
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: Omit<FilterTypeMapType, UnmappedTypes>;
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 {};
@@ -5,7 +5,7 @@ export declare class ArrayColumnComponent {
5
5
  private config;
6
6
  ArrayStyle: typeof ArrayStyle;
7
7
  additional: ArrayAdditional;
8
- array: any[];
8
+ array: (string | number)[];
9
9
  metaData: MetaData;
10
10
  constructor(config: TableBuilderConfig);
11
11
  ngOnInit(): void;
@@ -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: CustomCellDirective;
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: Omit<{
10
- 0: Partial<{
11
- Equals: FilterType[];
12
- "Does Not Equal": FilterType[];
13
- "Greater Than": FilterType[];
14
- "Less Than": FilterType[];
15
- Between: FilterType[];
16
- Contains: FilterType[];
17
- "Does Not Contain": FilterType[];
18
- "Start With": FilterType[];
19
- "Ends With": FilterType[];
20
- "Is on": FilterType[];
21
- "Is Not On": FilterType[];
22
- "On or After": FilterType[];
23
- "On or Before": FilterType[];
24
- "Is At": FilterType[];
25
- "Is Not At": FilterType[];
26
- "At or After": FilterType[];
27
- "At or Before": FilterType[];
28
- Is: FilterType[];
29
- "Is Blank": FilterType[];
30
- Or: FilterType[];
31
- And: FilterType[];
32
- In: FilterType[];
33
- Custom: FilterType[];
34
- }>;
35
- 1: Partial<{
36
- Equals: FilterType[];
37
- "Does Not Equal": FilterType[];
38
- "Greater Than": FilterType[];
39
- "Less Than": FilterType[];
40
- Between: FilterType[];
41
- Contains: FilterType[];
42
- "Does Not Contain": FilterType[];
43
- "Start With": FilterType[];
44
- "Ends With": FilterType[];
45
- "Is on": FilterType[];
46
- "Is Not On": FilterType[];
47
- "On or After": FilterType[];
48
- "On or Before": FilterType[];
49
- "Is At": FilterType[];
50
- "Is Not At": FilterType[];
51
- "At or After": FilterType[];
52
- "At or Before": FilterType[];
53
- Is: FilterType[];
54
- "Is Blank": FilterType[];
55
- Or: FilterType[];
56
- And: FilterType[];
57
- In: FilterType[];
58
- Custom: FilterType[];
59
- }>;
60
- 2: Partial<{
61
- Equals: FilterType[];
62
- "Does Not Equal": FilterType[];
63
- "Greater Than": FilterType[];
64
- "Less Than": FilterType[];
65
- Between: FilterType[];
66
- Contains: FilterType[];
67
- "Does Not Contain": FilterType[];
68
- "Start With": FilterType[];
69
- "Ends With": FilterType[];
70
- "Is on": FilterType[];
71
- "Is Not On": FilterType[];
72
- "On or After": FilterType[];
73
- "On or Before": FilterType[];
74
- "Is At": FilterType[];
75
- "Is Not At": FilterType[];
76
- "At or After": FilterType[];
77
- "At or Before": FilterType[];
78
- Is: FilterType[];
79
- "Is Blank": FilterType[];
80
- Or: FilterType[];
81
- And: FilterType[];
82
- In: FilterType[];
83
- Custom: FilterType[];
84
- }>;
85
- 3: Partial<{
86
- Equals: FilterType[];
87
- "Does Not Equal": FilterType[];
88
- "Greater Than": FilterType[];
89
- "Less Than": FilterType[];
90
- Between: FilterType[];
91
- Contains: FilterType[];
92
- "Does Not Contain": FilterType[];
93
- "Start With": FilterType[];
94
- "Ends With": FilterType[];
95
- "Is on": FilterType[];
96
- "Is Not On": FilterType[];
97
- "On or After": FilterType[];
98
- "On or Before": FilterType[];
99
- "Is At": FilterType[];
100
- "Is Not At": FilterType[];
101
- "At or After": FilterType[];
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: any[];
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 { CommonModule } from "@angular/common";
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 CommonModule | typeof MultiSortDirective | typeof StopPropagationDirective | typeof ClickEmitterDirective | typeof DialogDirective | typeof GenColDisplayerComponent | typeof GenFilterDisplayerComponent | typeof LetDirective | typeof FilterChipsComponent | typeof GenericTableComponent | typeof GroupByListComponent | typeof SortMenuComponent)[];
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)[];