@progress/kendo-angular-filter 1.0.0-next.202203251456 → 1.0.0-next.202204011458

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/aria-label.directive.d.ts +18 -0
  2. package/bundles/kendo-angular-filter.umd.js +1 -1
  3. package/editors/boolean-editor.component.d.ts +40 -0
  4. package/editors/date-editor.component.d.ts +23 -0
  5. package/editors/numeric-editor.component.d.ts +23 -0
  6. package/editors/text-editor.component.d.ts +23 -0
  7. package/esm2015/aria-label.directive.js +28 -0
  8. package/esm2015/editors/boolean-editor.component.js +84 -0
  9. package/esm2015/editors/date-editor.component.js +67 -0
  10. package/esm2015/editors/numeric-editor.component.js +67 -0
  11. package/esm2015/editors/text-editor.component.js +59 -0
  12. package/esm2015/filter-expression-operators.component.js +68 -0
  13. package/esm2015/filter-expression.component.js +219 -0
  14. package/esm2015/filter-group.component.js +206 -0
  15. package/esm2015/filter.component.js +415 -0
  16. package/esm2015/filter.module.js +117 -0
  17. package/esm2015/filter.service.js +44 -0
  18. package/esm2015/kendo-angular-filter.js +8 -0
  19. package/esm2015/localization/custom-messages.component.js +41 -0
  20. package/esm2015/localization/localized-messages.directive.js +36 -0
  21. package/esm2015/localization/messages.js +95 -0
  22. package/esm2015/main.js +16 -0
  23. package/esm2015/model/filter-expression.js +8 -0
  24. package/esm2015/package-metadata.js +15 -0
  25. package/esm2015/shared.module.js +50 -0
  26. package/esm2015/util.js +136 -0
  27. package/fesm2015/kendo-angular-filter.js +1622 -0
  28. package/filter-expression-operators.component.d.ts +27 -0
  29. package/filter-expression.component.d.ts +48 -0
  30. package/filter-group.component.d.ts +41 -0
  31. package/filter.component.d.ts +82 -0
  32. package/filter.module.d.ts +53 -0
  33. package/filter.service.d.ts +20 -0
  34. package/kendo-angular-filter.d.ts +9 -0
  35. package/localization/custom-messages.component.d.ts +18 -0
  36. package/localization/localized-messages.directive.d.ts +16 -0
  37. package/localization/messages.d.ts +161 -0
  38. package/main.d.ts +17 -0
  39. package/model/filter-expression.d.ts +60 -0
  40. package/package-metadata.d.ts +9 -0
  41. package/package.json +2 -6
  42. package/shared.module.d.ts +19 -0
  43. package/util.d.ts +147 -0
package/util.d.ts ADDED
@@ -0,0 +1,147 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare const nullOperators: string[];
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const numericOperators: {
13
+ text: string;
14
+ value: string;
15
+ }[];
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const stringOperators: {
20
+ text: string;
21
+ value: string;
22
+ }[];
23
+ /**
24
+ * @hidden
25
+ */
26
+ export declare const booleanOperators: {
27
+ text: string;
28
+ value: string;
29
+ }[];
30
+ /**
31
+ * @hidden
32
+ */
33
+ export declare const dateOperators: {
34
+ text: string;
35
+ value: string;
36
+ }[];
37
+ /**
38
+ * @hidden
39
+ */
40
+ export declare const isArray: Function;
41
+ /**
42
+ * @hidden
43
+ */
44
+ export declare const getKeyByValue: (object: object, value: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "isnull" | "isnotnull" | "contains" | "doesnotcontain" | "startswith" | "endswidth" | "isempty" | "isnotempty" | {
45
+ text: string;
46
+ value: string;
47
+ }) => string;
48
+ /**
49
+ * @hidden
50
+ */
51
+ export declare const defaultStringOperators: {
52
+ filterEqOperator: string;
53
+ filterNotEqOperator: string;
54
+ filterContainsOperator: string;
55
+ filterNotContainsOperator: string;
56
+ filterStartsWithOperator: string;
57
+ filterEndsWithOperator: string;
58
+ filterIsNullOperator: string;
59
+ filterIsNotNullOperator: string;
60
+ filterIsEmptyOperator: string;
61
+ filterIsNotEmptyOperator: string;
62
+ };
63
+ /**
64
+ * @hidden
65
+ */
66
+ export declare const defaultNumericOperators: {
67
+ filterEqOperator: string;
68
+ filterNotEqOperator: string;
69
+ filterGteOperator: string;
70
+ filterGtOperator: string;
71
+ filterLteOperator: string;
72
+ filterLtOperator: string;
73
+ filterIsNullOperator: string;
74
+ filterIsNotNullOperator: string;
75
+ };
76
+ /**
77
+ * @hidden
78
+ */
79
+ export declare const defaultDateOperators: {
80
+ filterEqOperator: string;
81
+ filterNotEqOperator: string;
82
+ filterAfterOrEqualOperator: string;
83
+ filterAfterOperator: string;
84
+ filterBeforeOrEqualOperator: string;
85
+ filterBeforeOperator: string;
86
+ filterIsNullOperator: string;
87
+ filterIsNotNullOperator: string;
88
+ };
89
+ /**
90
+ * @hidden
91
+ */
92
+ export declare const defaultOperators: {
93
+ string: {
94
+ filterEqOperator: string;
95
+ filterNotEqOperator: string;
96
+ filterContainsOperator: string;
97
+ filterNotContainsOperator: string;
98
+ filterStartsWithOperator: string;
99
+ filterEndsWithOperator: string;
100
+ filterIsNullOperator: string;
101
+ filterIsNotNullOperator: string;
102
+ filterIsEmptyOperator: string;
103
+ filterIsNotEmptyOperator: string;
104
+ };
105
+ number: {
106
+ filterEqOperator: string;
107
+ filterNotEqOperator: string;
108
+ filterGteOperator: string;
109
+ filterGtOperator: string;
110
+ filterLteOperator: string;
111
+ filterLtOperator: string;
112
+ filterIsNullOperator: string;
113
+ filterIsNotNullOperator: string;
114
+ };
115
+ date: {
116
+ filterEqOperator: string;
117
+ filterNotEqOperator: string;
118
+ filterAfterOrEqualOperator: string;
119
+ filterAfterOperator: string;
120
+ filterBeforeOrEqualOperator: string;
121
+ filterBeforeOperator: string;
122
+ filterIsNullOperator: string;
123
+ filterIsNotNullOperator: string;
124
+ };
125
+ };
126
+ /**
127
+ * @hidden
128
+ */
129
+ export declare const logicOperators: {
130
+ filterAndLogic: string;
131
+ filterOrLogic: string;
132
+ };
133
+ /**
134
+ * @hidden
135
+ */
136
+ export declare type Direction = 'rtl' | 'ltr';
137
+ /**
138
+ * @hidden
139
+ */
140
+ export declare const isFilterEditor: (editorType: string) => boolean;
141
+ /**
142
+ * @hidden
143
+ */
144
+ export declare const localizeOperators: (operators: any) => (localization: any) => {
145
+ text: any;
146
+ value: any;
147
+ }[];