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

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 (106) hide show
  1. package/dist/cdn/js/kendo-angular-filter.js +20 -0
  2. package/dist/cdn/main.js +5 -0
  3. package/dist/es/aria-label.directive.js +30 -0
  4. package/dist/es/editors/boolean-editor.component.js +61 -0
  5. package/dist/es/editors/date-editor.component.js +45 -0
  6. package/dist/es/editors/numeric-editor.component.js +45 -0
  7. package/dist/es/editors/text-editor.component.js +45 -0
  8. package/dist/es/filter-expression-operators.component.js +48 -0
  9. package/dist/es/filter-expression.component.js +136 -0
  10. package/dist/es/filter-group.component.js +84 -0
  11. package/dist/es/filter.component.js +185 -0
  12. package/dist/es/filter.module.js +91 -0
  13. package/dist/es/filter.service.js +45 -0
  14. package/{esm2015/main.js → dist/es/index.js} +8 -3
  15. package/dist/es/localization/custom-messages.component.js +44 -0
  16. package/dist/es/localization/localized-messages.directive.js +35 -0
  17. package/dist/es/localization/messages.js +166 -0
  18. package/dist/es/main.js +6 -0
  19. package/{esm2015 → dist/es}/model/filter-expression.js +0 -1
  20. package/dist/es/package-metadata.js +15 -0
  21. package/dist/es/shared.module.js +35 -0
  22. package/dist/es/util.js +136 -0
  23. package/{aria-label.directive.d.ts → dist/es2015/aria-label.directive.d.ts} +0 -3
  24. package/dist/es2015/aria-label.directive.js +29 -0
  25. package/{editors → dist/es2015/editors}/boolean-editor.component.d.ts +0 -3
  26. package/dist/es2015/editors/boolean-editor.component.js +72 -0
  27. package/{editors → dist/es2015/editors}/date-editor.component.d.ts +0 -3
  28. package/dist/es2015/editors/date-editor.component.js +56 -0
  29. package/{editors → dist/es2015/editors}/numeric-editor.component.d.ts +0 -3
  30. package/dist/es2015/editors/numeric-editor.component.js +56 -0
  31. package/{editors → dist/es2015/editors}/text-editor.component.d.ts +0 -3
  32. package/dist/es2015/editors/text-editor.component.js +52 -0
  33. package/{filter-expression-operators.component.d.ts → dist/es2015/filter-expression-operators.component.d.ts} +0 -3
  34. package/dist/es2015/filter-expression-operators.component.js +59 -0
  35. package/{filter-expression.component.d.ts → dist/es2015/filter-expression.component.d.ts} +0 -5
  36. package/{esm2015 → dist/es2015}/filter-expression.component.js +26 -71
  37. package/{filter-group.component.d.ts → dist/es2015/filter-group.component.d.ts} +2 -7
  38. package/dist/es2015/filter-group.component.js +145 -0
  39. package/{filter.component.d.ts → dist/es2015/filter.component.d.ts} +2 -7
  40. package/{esm2015 → dist/es2015}/filter.component.js +34 -151
  41. package/dist/es2015/filter.module.d.ts +37 -0
  42. package/dist/es2015/filter.module.js +88 -0
  43. package/{filter.service.d.ts → dist/es2015/filter.service.d.ts} +0 -3
  44. package/{esm2015 → dist/es2015}/filter.service.js +10 -8
  45. package/{main.d.ts → dist/es2015/index.d.ts} +8 -4
  46. package/dist/es2015/index.js +21 -0
  47. package/dist/es2015/index.metadata.json +1 -0
  48. package/{localization → dist/es2015/localization}/custom-messages.component.d.ts +1 -4
  49. package/dist/es2015/localization/custom-messages.component.js +36 -0
  50. package/{localization → dist/es2015/localization}/localized-messages.directive.d.ts +0 -3
  51. package/dist/es2015/localization/localized-messages.directive.js +31 -0
  52. package/{localization → dist/es2015/localization}/messages.d.ts +0 -3
  53. package/dist/es2015/localization/messages.js +160 -0
  54. package/dist/es2015/main.d.ts +7 -0
  55. package/dist/es2015/main.js +6 -0
  56. package/{model → dist/es2015/model}/filter-expression.d.ts +0 -0
  57. package/{esm2015/kendo-angular-filter.js → dist/es2015/model/filter-expression.js} +1 -2
  58. package/{package-metadata.d.ts → dist/es2015/package-metadata.d.ts} +0 -0
  59. package/{esm2015 → dist/es2015}/package-metadata.js +1 -1
  60. package/{kendo-angular-filter.d.ts → dist/es2015/shared.module.d.ts} +3 -3
  61. package/dist/es2015/shared.module.js +32 -0
  62. package/dist/es2015/util.d.ts +147 -0
  63. package/{esm2015 → dist/es2015}/util.js +3 -3
  64. package/dist/fesm2015/index.js +1316 -0
  65. package/dist/fesm5/index.js +1076 -0
  66. package/dist/npm/aria-label.directive.js +32 -0
  67. package/dist/npm/editors/boolean-editor.component.js +63 -0
  68. package/dist/npm/editors/date-editor.component.js +47 -0
  69. package/dist/npm/editors/numeric-editor.component.js +47 -0
  70. package/dist/npm/editors/text-editor.component.js +47 -0
  71. package/dist/npm/filter-expression-operators.component.js +50 -0
  72. package/dist/npm/filter-expression.component.js +138 -0
  73. package/dist/npm/filter-group.component.js +86 -0
  74. package/dist/npm/filter.component.js +187 -0
  75. package/dist/npm/filter.module.js +93 -0
  76. package/dist/npm/filter.service.js +47 -0
  77. package/dist/npm/index.js +37 -0
  78. package/dist/npm/localization/custom-messages.component.js +46 -0
  79. package/dist/npm/localization/localized-messages.directive.js +37 -0
  80. package/dist/npm/localization/messages.js +168 -0
  81. package/dist/npm/main.js +10 -0
  82. package/dist/npm/model/filter-expression.js +9 -0
  83. package/dist/npm/package-metadata.js +17 -0
  84. package/dist/npm/shared.module.js +37 -0
  85. package/dist/npm/util.js +138 -0
  86. package/dist/systemjs/kendo-angular-filter.js +5 -0
  87. package/package.json +109 -38
  88. package/schematics/ngAdd/index.js +2 -5
  89. package/schematics/ngAdd/index.js.map +1 -1
  90. package/bundles/kendo-angular-filter.umd.js +0 -5
  91. package/esm2015/aria-label.directive.js +0 -28
  92. package/esm2015/editors/boolean-editor.component.js +0 -84
  93. package/esm2015/editors/date-editor.component.js +0 -67
  94. package/esm2015/editors/numeric-editor.component.js +0 -67
  95. package/esm2015/editors/text-editor.component.js +0 -59
  96. package/esm2015/filter-expression-operators.component.js +0 -68
  97. package/esm2015/filter-group.component.js +0 -206
  98. package/esm2015/filter.module.js +0 -117
  99. package/esm2015/localization/custom-messages.component.js +0 -41
  100. package/esm2015/localization/localized-messages.directive.js +0 -36
  101. package/esm2015/localization/messages.js +0 -95
  102. package/esm2015/shared.module.js +0 -50
  103. package/fesm2015/kendo-angular-filter.js +0 -1622
  104. package/filter.module.d.ts +0 -53
  105. package/shared.module.d.ts +0 -19
  106. package/util.d.ts +0 -147
@@ -1,53 +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 i0 from "@angular/core";
6
- import * as i1 from "./filter.component";
7
- import * as i2 from "./editors/numeric-editor.component";
8
- import * as i3 from "./editors/text-editor.component";
9
- import * as i4 from "./filter-expression.component";
10
- import * as i5 from "./filter-group.component";
11
- import * as i6 from "./filter-expression-operators.component";
12
- import * as i7 from "./editors/boolean-editor.component";
13
- import * as i8 from "./editors/date-editor.component";
14
- import * as i9 from "./localization/localized-messages.directive";
15
- import * as i10 from "./localization/custom-messages.component";
16
- import * as i11 from "./aria-label.directive";
17
- import * as i12 from "./shared.module";
18
- /**
19
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
20
- * definition for the Filter component.
21
- *
22
- * @example
23
- *
24
- * ```
25
- * // Import the Filter module
26
- * import { FilterModule } from '@progress/kendo-angular-filter';
27
- *
28
- * // The browser platform with a compiler
29
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
30
- *
31
- * import { NgModule } from '@angular/core';
32
- *
33
- * // Import the app component
34
- * import { AppComponent } from './app.component';
35
- *
36
- * // Define the app module
37
- * _@NgModule({
38
- * declarations: [AppComponent], // declare app component
39
- * imports: [BrowserModule, FilterModule], // import Filter module
40
- * bootstrap: [AppComponent]
41
- * })
42
- * export class AppModule { }
43
- *
44
- * // Compile and launch the module
45
- * platformBrowserDynamic().bootstrapModule(AppModule);
46
- *
47
- * ```
48
- */
49
- export declare class FilterModule {
50
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterModule, never>;
51
- static ɵmod: i0.ɵɵNgModuleDeclaration<FilterModule, [typeof i1.FilterComponent, typeof i2.FilterNumericEditorComponent, typeof i3.FilterTextEditorComponent, typeof i4.FilterExpressionComponent, typeof i5.FilterGroupComponent, typeof i6.FilterExpressionOperatorsComponent, typeof i7.FilterBooleanEditorComponent, typeof i8.FilterDateEditorComponent, typeof i9.LocalizedMessagesDirective, typeof i10.CustomMessagesComponent, typeof i11.AriaLabelValueDirective], [typeof i12.SharedModule], [typeof i1.FilterComponent, typeof i2.FilterNumericEditorComponent, typeof i3.FilterTextEditorComponent, typeof i4.FilterExpressionComponent, typeof i5.FilterGroupComponent, typeof i6.FilterExpressionOperatorsComponent, typeof i7.FilterBooleanEditorComponent, typeof i8.FilterDateEditorComponent, typeof i9.LocalizedMessagesDirective, typeof i10.CustomMessagesComponent, typeof i11.AriaLabelValueDirective]>;
52
- static ɵinj: i0.ɵɵInjectorDeclaration<FilterModule>;
53
- }
@@ -1,19 +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 i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@progress/kendo-angular-inputs";
8
- import * as i3 from "@progress/kendo-angular-label";
9
- import * as i4 from "@progress/kendo-angular-dropdowns";
10
- import * as i5 from "@progress/kendo-angular-buttons";
11
- import * as i6 from "@progress/kendo-angular-dateinputs";
12
- /**
13
- * @hidden
14
- */
15
- export declare class SharedModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.CommonModule, typeof i2.InputsModule, typeof i3.LabelModule, typeof i4.DropDownsModule, typeof i5.ButtonsModule, typeof i6.DateInputsModule], [typeof i1.CommonModule, typeof i2.InputsModule, typeof i3.LabelModule, typeof i4.DropDownsModule, typeof i5.ButtonsModule, typeof i6.DateInputsModule]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
19
- }
package/util.d.ts DELETED
@@ -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
- }[];