@one-paragon/angular-utilities 0.3.2 → 0.3.4

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 (43) hide show
  1. package/esm2022/action-state/action-state-spinner/action-state-spinner.component.mjs +4 -4
  2. package/esm2022/http-request-state/HttpRequestStateFactory.mjs +3 -3
  3. package/esm2022/http-request-state/HttpRequestStateStore.mjs +5 -4
  4. package/esm2022/http-request-state/directives/http-success-state-directive.mjs +1 -1
  5. package/esm2022/http-request-state/directives/request-state-directive.mjs +1 -1
  6. package/esm2022/table-builder/classes/filter-info.mjs +1 -1
  7. package/esm2022/table-builder/components/array-column.component.mjs +37 -29
  8. package/esm2022/table-builder/components/column-builder/column-builder.component.mjs +7 -6
  9. package/esm2022/table-builder/components/date-filter/date-filter.component.mjs +4 -5
  10. package/esm2022/table-builder/components/date-time-filter/date-time-filter.component.mjs +4 -5
  11. package/esm2022/table-builder/components/filter/filter.component.mjs +7 -8
  12. package/esm2022/table-builder/components/filter/in-list/in-list-filter.component.mjs +21 -15
  13. package/esm2022/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +5 -5
  14. package/esm2022/table-builder/components/generic-table/generic-table.component.mjs +5 -5
  15. package/esm2022/table-builder/components/generic-table/paginator.component.mjs +15 -11
  16. package/esm2022/table-builder/components/group-by-list/group-by-list.component.mjs +6 -7
  17. package/esm2022/table-builder/components/header-menu/header-menu.component.mjs +5 -5
  18. package/esm2022/table-builder/components/in-filter/in-filter.component.mjs +5 -6
  19. package/esm2022/table-builder/components/link-column.component.mjs +22 -20
  20. package/esm2022/table-builder/components/number-filter/number-filter.component.mjs +4 -5
  21. package/esm2022/table-builder/components/sort-menu/sort-menu.component.mjs +8 -8
  22. package/esm2022/table-builder/components/table-container/table-container-imports.mjs +4 -3
  23. package/esm2022/table-builder/components/table-container/table-container.mjs +3 -3
  24. package/esm2022/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +8 -8
  25. package/esm2022/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +5 -5
  26. package/esm2022/table-builder/enums/filterTypes.mjs +30 -30
  27. package/esm2022/utilities/directives/dialog.mjs +4 -3
  28. package/esm2022/utilities/pipes/function.pipe.mjs +1 -1
  29. package/fesm2022/one-paragon-angular-utilities.mjs +182 -157
  30. package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
  31. package/http-request-state/HttpRequestStateFactory.d.ts +3 -2
  32. package/http-request-state/HttpRequestStateStore.d.ts +6 -5
  33. package/http-request-state/directives/http-success-state-directive.d.ts +7 -7
  34. package/http-request-state/directives/request-state-directive.d.ts +5 -5
  35. package/package.json +1 -1
  36. package/table-builder/classes/filter-info.d.ts +94 -7
  37. package/table-builder/components/array-column.component.d.ts +1 -1
  38. package/table-builder/components/column-builder/column-builder.component.d.ts +1 -1
  39. package/table-builder/components/filter/filter.component.d.ts +93 -352
  40. package/table-builder/components/in-filter/in-filter.component.d.ts +1 -1
  41. package/table-builder/components/table-container/table-container-imports.d.ts +3 -2
  42. package/table-builder/enums/filterTypes.d.ts +47 -7
  43. package/utilities/pipes/function.pipe.d.ts +1 -1
@@ -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 DialogDirective | typeof LetDirective | typeof MatButtonModule | typeof AsyncPipe | typeof FilterChipsComponent | typeof GroupByListComponent | typeof StopPropagationDirective | typeof SortMenuComponent | typeof NgTemplateOutlet | typeof MultiSortDirective | typeof ClickEmitterDirective | typeof GenColDisplayerComponent | typeof GenFilterDisplayerComponent | typeof GenericTableComponent)[];
@@ -26,12 +26,52 @@ export declare enum FilterType {
26
26
  In = "In",
27
27
  Custom = "Custom"
28
28
  }
29
- export declare const NumberFilterMap: FilterToFiltersMap;
30
- export declare const StringFilterMap: FilterToFiltersMap;
31
- export declare const DateFilterMap: FilterToFiltersMap;
32
- export declare const DateTimeFilterMap: FilterToFiltersMap;
33
- export declare const BooleanFilterMap: FilterToFiltersMap;
34
- export declare const EnumFilterMap: FilterToFiltersMap;
29
+ export declare const NumberFilterMap: {
30
+ readonly Equals: FilterType.NumberEquals;
31
+ readonly "Does Not Equal": FilterType.NumberNotEqual;
32
+ readonly "Greater Than": FilterType.NumberGreaterThan;
33
+ readonly "Less Than": FilterType.NumberLessThan;
34
+ readonly Between: FilterType.NumberBetween;
35
+ readonly "Is Blank": FilterType.IsNull;
36
+ readonly In: FilterType.In;
37
+ };
38
+ export declare const StringFilterMap: {
39
+ readonly Equals: FilterType.NumberEquals;
40
+ readonly Contains: FilterType.StringContains;
41
+ readonly "Does Not Contain": FilterType.StringDoesNotContain;
42
+ readonly "Start With": FilterType.StringStartWith;
43
+ readonly "Ends With": FilterType.StringEndsWith;
44
+ readonly "Is Blank": FilterType.IsNull;
45
+ readonly In: FilterType.In;
46
+ };
47
+ export declare const DateFilterMap: {
48
+ readonly "Is on": FilterType.DateIsOn;
49
+ readonly "Is Not On": FilterType.DateIsNotOn;
50
+ readonly "On or After": FilterType.DateOnOrAfter;
51
+ readonly "On or Before": FilterType.DateOnOrBefore;
52
+ readonly Between: FilterType.NumberBetween;
53
+ readonly "Is Blank": FilterType.IsNull;
54
+ };
55
+ export declare const DateTimeFilterMap: {
56
+ readonly "Is At": FilterType.DateTimeIsAt;
57
+ readonly "Is Not At": FilterType.DateTimeIsNotAt;
58
+ readonly "At or After": FilterType.DateTimeAtOrAfter;
59
+ readonly "At or Before": FilterType.DateTimeAtOrBefore;
60
+ readonly Between: FilterType.NumberBetween;
61
+ readonly "Is on": FilterType.DateIsOn;
62
+ readonly "Is Not On": FilterType.DateIsNotOn;
63
+ readonly "On or After": FilterType.DateOnOrAfter;
64
+ readonly "On or Before": FilterType.DateOnOrBefore;
65
+ readonly "Is Blank": FilterType.IsNull;
66
+ };
67
+ export declare const BooleanFilterMap: {
68
+ readonly Is: FilterType.BooleanEquals;
69
+ readonly "Is Blank": FilterType.IsNull;
70
+ };
71
+ export declare const EnumFilterMap: {
72
+ readonly "Is Blank": FilterType.IsNull;
73
+ readonly In: FilterType.In;
74
+ };
35
75
  export type FilterToFiltersMap = Partial<{
36
- [key in FilterType]: FilterType[];
76
+ [key in FilterType]: FilterType;
37
77
  }>;
@@ -1,7 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FunctionPipe implements PipeTransform {
4
- transform(func: ((...args: any[]) => any) | string, ...args: any[]): any;
4
+ transform<T>(func: ((...args: any[]) => T) | string, ...args: any[]): T;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<FunctionPipe, never>;
6
6
  static ɵpipe: i0.ɵɵPipeDeclaration<FunctionPipe, "func", true>;
7
7
  }