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

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 (90) hide show
  1. package/bundles/kendo-angular-filter.umd.js +5 -0
  2. package/package.json +41 -108
  3. package/schematics/ngAdd/index.js +5 -2
  4. package/schematics/ngAdd/index.js.map +1 -1
  5. package/dist/cdn/js/kendo-angular-filter.js +0 -20
  6. package/dist/cdn/main.js +0 -5
  7. package/dist/es/aria-label.directive.js +0 -30
  8. package/dist/es/editors/boolean-editor.component.js +0 -61
  9. package/dist/es/editors/date-editor.component.js +0 -45
  10. package/dist/es/editors/numeric-editor.component.js +0 -45
  11. package/dist/es/editors/text-editor.component.js +0 -45
  12. package/dist/es/filter-expression-operators.component.js +0 -48
  13. package/dist/es/filter-expression.component.js +0 -136
  14. package/dist/es/filter-group.component.js +0 -84
  15. package/dist/es/filter.component.js +0 -185
  16. package/dist/es/filter.module.js +0 -91
  17. package/dist/es/filter.service.js +0 -45
  18. package/dist/es/index.js +0 -21
  19. package/dist/es/localization/custom-messages.component.js +0 -44
  20. package/dist/es/localization/localized-messages.directive.js +0 -35
  21. package/dist/es/localization/messages.js +0 -166
  22. package/dist/es/main.js +0 -6
  23. package/dist/es/model/filter-expression.js +0 -7
  24. package/dist/es/package-metadata.js +0 -15
  25. package/dist/es/shared.module.js +0 -35
  26. package/dist/es/util.js +0 -136
  27. package/dist/es2015/aria-label.directive.d.ts +0 -15
  28. package/dist/es2015/aria-label.directive.js +0 -29
  29. package/dist/es2015/editors/boolean-editor.component.d.ts +0 -37
  30. package/dist/es2015/editors/boolean-editor.component.js +0 -72
  31. package/dist/es2015/editors/date-editor.component.d.ts +0 -20
  32. package/dist/es2015/editors/date-editor.component.js +0 -56
  33. package/dist/es2015/editors/numeric-editor.component.d.ts +0 -20
  34. package/dist/es2015/editors/numeric-editor.component.js +0 -56
  35. package/dist/es2015/editors/text-editor.component.d.ts +0 -20
  36. package/dist/es2015/editors/text-editor.component.js +0 -52
  37. package/dist/es2015/filter-expression-operators.component.d.ts +0 -24
  38. package/dist/es2015/filter-expression-operators.component.js +0 -59
  39. package/dist/es2015/filter-expression.component.d.ts +0 -43
  40. package/dist/es2015/filter-expression.component.js +0 -174
  41. package/dist/es2015/filter-group.component.d.ts +0 -36
  42. package/dist/es2015/filter-group.component.js +0 -145
  43. package/dist/es2015/filter.component.d.ts +0 -77
  44. package/dist/es2015/filter.component.js +0 -298
  45. package/dist/es2015/filter.module.d.ts +0 -37
  46. package/dist/es2015/filter.module.js +0 -88
  47. package/dist/es2015/filter.service.d.ts +0 -17
  48. package/dist/es2015/filter.service.js +0 -46
  49. package/dist/es2015/index.d.ts +0 -21
  50. package/dist/es2015/index.js +0 -21
  51. package/dist/es2015/index.metadata.json +0 -1
  52. package/dist/es2015/localization/custom-messages.component.d.ts +0 -15
  53. package/dist/es2015/localization/custom-messages.component.js +0 -36
  54. package/dist/es2015/localization/localized-messages.directive.d.ts +0 -13
  55. package/dist/es2015/localization/localized-messages.directive.js +0 -31
  56. package/dist/es2015/localization/messages.d.ts +0 -158
  57. package/dist/es2015/localization/messages.js +0 -160
  58. package/dist/es2015/main.d.ts +0 -7
  59. package/dist/es2015/main.js +0 -6
  60. package/dist/es2015/model/filter-expression.d.ts +0 -60
  61. package/dist/es2015/model/filter-expression.js +0 -7
  62. package/dist/es2015/package-metadata.d.ts +0 -9
  63. package/dist/es2015/package-metadata.js +0 -15
  64. package/dist/es2015/shared.module.d.ts +0 -9
  65. package/dist/es2015/shared.module.js +0 -32
  66. package/dist/es2015/util.d.ts +0 -147
  67. package/dist/es2015/util.js +0 -136
  68. package/dist/fesm2015/index.js +0 -1316
  69. package/dist/fesm5/index.js +0 -1076
  70. package/dist/npm/aria-label.directive.js +0 -32
  71. package/dist/npm/editors/boolean-editor.component.js +0 -63
  72. package/dist/npm/editors/date-editor.component.js +0 -47
  73. package/dist/npm/editors/numeric-editor.component.js +0 -47
  74. package/dist/npm/editors/text-editor.component.js +0 -47
  75. package/dist/npm/filter-expression-operators.component.js +0 -50
  76. package/dist/npm/filter-expression.component.js +0 -138
  77. package/dist/npm/filter-group.component.js +0 -86
  78. package/dist/npm/filter.component.js +0 -187
  79. package/dist/npm/filter.module.js +0 -93
  80. package/dist/npm/filter.service.js +0 -47
  81. package/dist/npm/index.js +0 -37
  82. package/dist/npm/localization/custom-messages.component.js +0 -46
  83. package/dist/npm/localization/localized-messages.directive.js +0 -37
  84. package/dist/npm/localization/messages.js +0 -168
  85. package/dist/npm/main.js +0 -10
  86. package/dist/npm/model/filter-expression.js +0 -9
  87. package/dist/npm/package-metadata.js +0 -17
  88. package/dist/npm/shared.module.js +0 -37
  89. package/dist/npm/util.js +0 -138
  90. package/dist/systemjs/kendo-angular-filter.js +0 -5
@@ -1,15 +0,0 @@
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 const packageMetadata = {
9
- name: '@progress/kendo-angular-filter',
10
- productName: 'Kendo UI for Angular',
11
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1646919397,
13
- version: '',
14
- licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
- };
@@ -1,9 +0,0 @@
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 class SharedModule {
9
- }
@@ -1,32 +0,0 @@
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
- import * as tslib_1 from "tslib";
6
- import { CommonModule } from '@angular/common';
7
- import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
8
- import { InputsModule } from '@progress/kendo-angular-inputs';
9
- import { LabelModule } from '@progress/kendo-angular-label';
10
- import { NgModule } from '@angular/core';
11
- import { ButtonsModule } from '@progress/kendo-angular-buttons';
12
- import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
13
- const importedModules = [
14
- CommonModule,
15
- InputsModule,
16
- LabelModule,
17
- DropDownsModule,
18
- ButtonsModule,
19
- DateInputsModule
20
- ];
21
- /**
22
- * @hidden
23
- */
24
- let SharedModule = class SharedModule {
25
- };
26
- SharedModule = tslib_1.__decorate([
27
- NgModule({
28
- imports: [...importedModules],
29
- exports: [...importedModules]
30
- })
31
- ], SharedModule);
32
- export { SharedModule };
@@ -1,147 +0,0 @@
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
- }[];
@@ -1,136 +0,0 @@
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 const nullOperators = ["isnull", "isnotnull", "isempty", "isnotempty"];
9
- /**
10
- * @hidden
11
- */
12
- export const numericOperators = [
13
- { text: "Is equal to", value: "eq" },
14
- { text: "Not equal to", value: "neq" },
15
- { text: "Greater than or equal to", value: "gte" },
16
- { text: "Greater than", value: "gt" },
17
- { text: "Less than or equal to", value: "lte" },
18
- { text: "Less than", value: "lt" },
19
- { text: "Is null", value: "isnull" },
20
- { text: "Is not null", value: "isnotnull" }
21
- ];
22
- /**
23
- * @hidden
24
- */
25
- export const stringOperators = [
26
- { text: "Is equal to", value: "eq" },
27
- { text: "Not equal to", value: "neq" },
28
- { text: "Contains", value: "contains" },
29
- { text: "Does not contain", value: "doesnotcontain" },
30
- { text: "Starts with", value: "startswith" },
31
- { text: "Ends with", value: "endswith" },
32
- { text: "Is null", value: "isnull" },
33
- { text: "Is not null", value: "isnotnull" },
34
- { text: "Is empty", value: "isempty" },
35
- { text: "Is not empty", value: "isnotempty" }
36
- ];
37
- /**
38
- * @hidden
39
- */
40
- export const booleanOperators = [
41
- { text: "Is equal to", value: "eq" },
42
- { text: "Is not equal to", value: "neq" }
43
- ];
44
- /**
45
- * @hidden
46
- */
47
- export const dateOperators = [
48
- { text: "Is equal to", value: "eq" },
49
- { text: "Not equal to", value: "neq" },
50
- { text: "Greater than or equal to", value: "gte" },
51
- { text: "Greater than", value: "gt" },
52
- { text: "Less than or equal to", value: "lte" },
53
- { text: "Less than", value: "lt" },
54
- { text: "Is null", value: "isnull" },
55
- { text: "Is not null", value: "isnotnull" }
56
- ];
57
- /**
58
- * @hidden
59
- */
60
- export const isArray = (value) => Array.isArray(value);
61
- /**
62
- * @hidden
63
- */
64
- export const getKeyByValue = (object, value) => {
65
- return Object.keys(object).find(key => object[key] === value);
66
- };
67
- /**
68
- * @hidden
69
- */
70
- export const defaultStringOperators = {
71
- "filterEqOperator": "eq",
72
- "filterNotEqOperator": "neq",
73
- "filterContainsOperator": "contains",
74
- "filterNotContainsOperator": "doesnotcontain",
75
- "filterStartsWithOperator": "startswith",
76
- "filterEndsWithOperator": "endswith",
77
- "filterIsNullOperator": "isnull",
78
- "filterIsNotNullOperator": "isnotnull",
79
- "filterIsEmptyOperator": "isempty",
80
- "filterIsNotEmptyOperator": "isnotempty"
81
- };
82
- /**
83
- * @hidden
84
- */
85
- export const defaultNumericOperators = {
86
- "filterEqOperator": "eq",
87
- "filterNotEqOperator": "neq",
88
- "filterGteOperator": "gte",
89
- "filterGtOperator": "gt",
90
- "filterLteOperator": "lte",
91
- "filterLtOperator": "lt",
92
- "filterIsNullOperator": "isnull",
93
- "filterIsNotNullOperator": "isnotnull"
94
- };
95
- /**
96
- * @hidden
97
- */
98
- export const defaultDateOperators = {
99
- "filterEqOperator": "eq",
100
- "filterNotEqOperator": "neq",
101
- "filterAfterOrEqualOperator": "gte",
102
- "filterAfterOperator": "gt",
103
- "filterBeforeOrEqualOperator": "lte",
104
- "filterBeforeOperator": "lt",
105
- "filterIsNullOperator": "isnull",
106
- "filterIsNotNullOperator": "isnotnull"
107
- };
108
- /**
109
- * @hidden
110
- */
111
- export const defaultOperators = {
112
- string: defaultStringOperators,
113
- number: defaultNumericOperators,
114
- date: defaultDateOperators
115
- };
116
- /**
117
- * @hidden
118
- */
119
- export const logicOperators = {
120
- "filterAndLogic": 'and',
121
- "filterOrLogic": 'or'
122
- };
123
- /**
124
- * @hidden
125
- */
126
- export const isFilterEditor = (editorType) => {
127
- const supportedEditorTypes = ['string', 'number', 'boolean', 'date'];
128
- return supportedEditorTypes.indexOf(editorType) >= 0;
129
- };
130
- /**
131
- * @hidden
132
- */
133
- export const localizeOperators = operators => localization => Object.keys(operators).map(key => ({
134
- text: localization.get(key),
135
- value: operators[key]
136
- }));