@progress/kendo-angular-filter 21.4.1 → 22.0.0-develop.1

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 (30) hide show
  1. package/base-filter-row.component.d.ts +1 -1
  2. package/fesm2022/progress-kendo-angular-filter.mjs +61 -61
  3. package/localization/messages.d.ts +1 -1
  4. package/package.json +16 -24
  5. package/schematics/ngAdd/index.js +4 -4
  6. package/esm2022/aria-label.directive.mjs +0 -34
  7. package/esm2022/base-filter-row.component.mjs +0 -75
  8. package/esm2022/directives.mjs +0 -17
  9. package/esm2022/editors/boolean-editor.component.mjs +0 -97
  10. package/esm2022/editors/date-editor.component.mjs +0 -75
  11. package/esm2022/editors/numeric-editor.component.mjs +0 -75
  12. package/esm2022/editors/text-editor.component.mjs +0 -62
  13. package/esm2022/error-messages.mjs +0 -16
  14. package/esm2022/filter-expression-operators.component.mjs +0 -90
  15. package/esm2022/filter-expression.component.mjs +0 -352
  16. package/esm2022/filter-field.component.mjs +0 -109
  17. package/esm2022/filter-group.component.mjs +0 -303
  18. package/esm2022/filter.component.mjs +0 -611
  19. package/esm2022/filter.module.mjs +0 -105
  20. package/esm2022/filter.service.mjs +0 -41
  21. package/esm2022/index.mjs +0 -19
  22. package/esm2022/localization/custom-messages.component.mjs +0 -44
  23. package/esm2022/localization/localized-messages.directive.mjs +0 -39
  24. package/esm2022/localization/messages.mjs +0 -243
  25. package/esm2022/model/filter-expression.mjs +0 -8
  26. package/esm2022/navigation.service.mjs +0 -162
  27. package/esm2022/package-metadata.mjs +0 -16
  28. package/esm2022/progress-kendo-angular-filter.mjs +0 -8
  29. package/esm2022/templates/value-editor.template.mjs +0 -32
  30. package/esm2022/util.mjs +0 -174
@@ -1,16 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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 const packageMetadata = {
9
- name: '@progress/kendo-angular-filter',
10
- productName: 'Kendo UI for Angular',
11
- productCode: 'KENDOUIANGULAR',
12
- productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1768393337,
14
- version: '21.4.1',
15
- licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
- };
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
- export * from './index';
@@ -1,32 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Directive for providing a custom value editor template in the Filter component.
9
- * Used as a structural directive to customize the filter value editor UI.
10
- *
11
- * @example
12
- * ```html
13
- * <ng-template kendoFilterValueEditorTemplate let-value>
14
- * <!-- custom editor markup -->
15
- * </ng-template>
16
- * ```
17
- */
18
- export class FilterValueEditorTemplateDirective {
19
- templateRef;
20
- constructor(templateRef) {
21
- this.templateRef = templateRef;
22
- }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterValueEditorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
24
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: FilterValueEditorTemplateDirective, isStandalone: true, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterValueEditorTemplateDirective, decorators: [{
27
- type: Directive,
28
- args: [{
29
- selector: '[kendoFilterValueEditorTemplate]',
30
- standalone: true
31
- }]
32
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
package/esm2022/util.mjs DELETED
@@ -1,174 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export const nullOperators = ["isnull", "isnotnull", "isempty", "isnotempty"];
11
- /**
12
- * @hidden
13
- */
14
- export const numericOperators = [
15
- { text: "Is equal to", value: "eq" },
16
- { text: "Not equal to", value: "neq" },
17
- { text: "Greater than or equal to", value: "gte" },
18
- { text: "Greater than", value: "gt" },
19
- { text: "Less than or equal to", value: "lte" },
20
- { text: "Less than", value: "lt" },
21
- { text: "Is null", value: "isnull" },
22
- { text: "Is not null", value: "isnotnull" }
23
- ];
24
- /**
25
- * @hidden
26
- */
27
- export const stringOperators = [
28
- { text: "Is equal to", value: "eq" },
29
- { text: "Not equal to", value: "neq" },
30
- { text: "Contains", value: "contains" },
31
- { text: "Does not contain", value: "doesnotcontain" },
32
- { text: "Starts with", value: "startswith" },
33
- { text: "Ends with", value: "endswith" },
34
- { text: "Is null", value: "isnull" },
35
- { text: "Is not null", value: "isnotnull" },
36
- { text: "Is empty", value: "isempty" },
37
- { text: "Is not empty", value: "isnotempty" }
38
- ];
39
- /**
40
- * @hidden
41
- */
42
- export const booleanOperators = [
43
- { text: "Is equal to", value: "eq" },
44
- { text: "Is not equal to", value: "neq" }
45
- ];
46
- /**
47
- * @hidden
48
- */
49
- export const dateOperators = [
50
- { text: "Is equal to", value: "eq" },
51
- { text: "Not equal to", value: "neq" },
52
- { text: "Greater than or equal to", value: "gte" },
53
- { text: "Greater than", value: "gt" },
54
- { text: "Less than or equal to", value: "lte" },
55
- { text: "Less than", value: "lt" },
56
- { text: "Is null", value: "isnull" },
57
- { text: "Is not null", value: "isnotnull" }
58
- ];
59
- /**
60
- * @hidden
61
- */
62
- export const isArray = (value) => Array.isArray(value);
63
- /**
64
- * @hidden
65
- */
66
- export const getKeyByValue = (object, value) => {
67
- return object && Object.keys(object).find(key => object[key] === value);
68
- };
69
- /**
70
- * @hidden
71
- */
72
- export const defaultStringOperators = {
73
- "filterEqOperator": "eq",
74
- "filterNotEqOperator": "neq",
75
- "filterContainsOperator": "contains",
76
- "filterNotContainsOperator": "doesnotcontain",
77
- "filterStartsWithOperator": "startswith",
78
- "filterEndsWithOperator": "endswith",
79
- "filterIsNullOperator": "isnull",
80
- "filterIsNotNullOperator": "isnotnull",
81
- "filterIsEmptyOperator": "isempty",
82
- "filterIsNotEmptyOperator": "isnotempty"
83
- };
84
- /**
85
- * @hidden
86
- */
87
- export const defaultNumericOperators = {
88
- "filterEqOperator": "eq",
89
- "filterNotEqOperator": "neq",
90
- "filterGteOperator": "gte",
91
- "filterGtOperator": "gt",
92
- "filterLteOperator": "lte",
93
- "filterLtOperator": "lt",
94
- "filterIsNullOperator": "isnull",
95
- "filterIsNotNullOperator": "isnotnull"
96
- };
97
- /**
98
- * @hidden
99
- */
100
- export const defaultDateOperators = {
101
- "filterEqOperator": "eq",
102
- "filterNotEqOperator": "neq",
103
- "filterAfterOrEqualOperator": "gte",
104
- "filterAfterOperator": "gt",
105
- "filterBeforeOrEqualOperator": "lte",
106
- "filterBeforeOperator": "lt",
107
- "filterIsNullOperator": "isnull",
108
- "filterIsNotNullOperator": "isnotnull"
109
- };
110
- /**
111
- * @hidden
112
- */
113
- export const defaultOperators = {
114
- "string": defaultStringOperators,
115
- "number": defaultNumericOperators,
116
- "date": defaultDateOperators
117
- };
118
- /**
119
- * @hidden
120
- */
121
- export const logicOperators = {
122
- "filterAndLogic": 'and',
123
- "filterOrLogic": 'or'
124
- };
125
- /**
126
- * @hidden
127
- */
128
- export const isFilterEditor = (editorType) => {
129
- const supportedEditorTypes = ['string', 'number', 'boolean', 'date'];
130
- return supportedEditorTypes.indexOf(editorType) >= 0;
131
- };
132
- /**
133
- * @hidden
134
- */
135
- export const localizeOperators = operators => localization => Object.keys(operators).map(key => ({
136
- text: localization.get(key),
137
- value: operators[key]
138
- }));
139
- /**
140
- * @hidden
141
- */
142
- export const isPresent = (value) => value !== null && value !== undefined;
143
- /**
144
- * @hidden
145
- */
146
- export class FilterItem {
147
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterItem, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
148
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterItem });
149
- }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterItem, decorators: [{
151
- type: Injectable
152
- }] });
153
- /**
154
- * @hidden
155
- */
156
- export const selectors = {
157
- andButton: `button.k-group-start`,
158
- orButton: `button.k-group-end`,
159
- addFilterButton: `button[icon="filter-add-expression"]`,
160
- addGroupButton: `button[icon="filter-add-group"]`,
161
- removeButton: `button[icon="x"]`,
162
- filterFieldWrapper: `.k-filter-field`,
163
- filterOperatorWrapper: `.k-filter-operator`,
164
- filterValueEditorWrapper: `.k-filter-value`,
165
- kendoDropDownListComponent: `kendo-dropdownlist`,
166
- kendoInput: `.k-input`,
167
- kendoInputInner: `.k-input-inner`,
168
- inputElement: `input`,
169
- textAreaElement: `textarea`,
170
- kendoToolbar: `.k-toolbar`,
171
- kendoButton: `.k-button`,
172
- kendoFilterToolbarItem: `.k-toolbar-item`,
173
- kendoFilterToolbarButton: `.k-toolbar-button`
174
- };