@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.
- package/dist/cdn/js/kendo-angular-filter.js +20 -0
- package/dist/cdn/main.js +5 -0
- package/dist/es/aria-label.directive.js +30 -0
- package/dist/es/editors/boolean-editor.component.js +61 -0
- package/dist/es/editors/date-editor.component.js +45 -0
- package/dist/es/editors/numeric-editor.component.js +45 -0
- package/dist/es/editors/text-editor.component.js +45 -0
- package/dist/es/filter-expression-operators.component.js +48 -0
- package/dist/es/filter-expression.component.js +136 -0
- package/dist/es/filter-group.component.js +84 -0
- package/dist/es/filter.component.js +185 -0
- package/dist/es/filter.module.js +91 -0
- package/dist/es/filter.service.js +45 -0
- package/{esm2015/main.js → dist/es/index.js} +8 -3
- package/dist/es/localization/custom-messages.component.js +44 -0
- package/dist/es/localization/localized-messages.directive.js +35 -0
- package/dist/es/localization/messages.js +166 -0
- package/dist/es/main.js +6 -0
- package/{esm2015 → dist/es}/model/filter-expression.js +0 -1
- package/dist/es/package-metadata.js +15 -0
- package/dist/es/shared.module.js +35 -0
- package/dist/es/util.js +136 -0
- package/{aria-label.directive.d.ts → dist/es2015/aria-label.directive.d.ts} +0 -3
- package/dist/es2015/aria-label.directive.js +29 -0
- package/{editors → dist/es2015/editors}/boolean-editor.component.d.ts +0 -3
- package/dist/es2015/editors/boolean-editor.component.js +72 -0
- package/{editors → dist/es2015/editors}/date-editor.component.d.ts +0 -3
- package/dist/es2015/editors/date-editor.component.js +56 -0
- package/{editors → dist/es2015/editors}/numeric-editor.component.d.ts +0 -3
- package/dist/es2015/editors/numeric-editor.component.js +56 -0
- package/{editors → dist/es2015/editors}/text-editor.component.d.ts +0 -3
- package/dist/es2015/editors/text-editor.component.js +52 -0
- package/{filter-expression-operators.component.d.ts → dist/es2015/filter-expression-operators.component.d.ts} +0 -3
- package/dist/es2015/filter-expression-operators.component.js +59 -0
- package/{filter-expression.component.d.ts → dist/es2015/filter-expression.component.d.ts} +0 -5
- package/{esm2015 → dist/es2015}/filter-expression.component.js +26 -71
- package/{filter-group.component.d.ts → dist/es2015/filter-group.component.d.ts} +2 -7
- package/dist/es2015/filter-group.component.js +145 -0
- package/{filter.component.d.ts → dist/es2015/filter.component.d.ts} +2 -7
- package/{esm2015 → dist/es2015}/filter.component.js +34 -151
- package/dist/es2015/filter.module.d.ts +37 -0
- package/dist/es2015/filter.module.js +88 -0
- package/{filter.service.d.ts → dist/es2015/filter.service.d.ts} +0 -3
- package/{esm2015 → dist/es2015}/filter.service.js +10 -8
- package/{main.d.ts → dist/es2015/index.d.ts} +8 -4
- package/dist/es2015/index.js +21 -0
- package/dist/es2015/index.metadata.json +1 -0
- package/{localization → dist/es2015/localization}/custom-messages.component.d.ts +1 -4
- package/dist/es2015/localization/custom-messages.component.js +36 -0
- package/{localization → dist/es2015/localization}/localized-messages.directive.d.ts +0 -3
- package/dist/es2015/localization/localized-messages.directive.js +31 -0
- package/{localization → dist/es2015/localization}/messages.d.ts +0 -3
- package/dist/es2015/localization/messages.js +160 -0
- package/dist/es2015/main.d.ts +7 -0
- package/dist/es2015/main.js +6 -0
- package/{model → dist/es2015/model}/filter-expression.d.ts +0 -0
- package/{esm2015/kendo-angular-filter.js → dist/es2015/model/filter-expression.js} +1 -2
- package/{package-metadata.d.ts → dist/es2015/package-metadata.d.ts} +0 -0
- package/{esm2015 → dist/es2015}/package-metadata.js +1 -1
- package/{kendo-angular-filter.d.ts → dist/es2015/shared.module.d.ts} +3 -3
- package/dist/es2015/shared.module.js +32 -0
- package/dist/es2015/util.d.ts +147 -0
- package/{esm2015 → dist/es2015}/util.js +3 -3
- package/dist/fesm2015/index.js +1316 -0
- package/dist/fesm5/index.js +1076 -0
- package/dist/npm/aria-label.directive.js +32 -0
- package/dist/npm/editors/boolean-editor.component.js +63 -0
- package/dist/npm/editors/date-editor.component.js +47 -0
- package/dist/npm/editors/numeric-editor.component.js +47 -0
- package/dist/npm/editors/text-editor.component.js +47 -0
- package/dist/npm/filter-expression-operators.component.js +50 -0
- package/dist/npm/filter-expression.component.js +138 -0
- package/dist/npm/filter-group.component.js +86 -0
- package/dist/npm/filter.component.js +187 -0
- package/dist/npm/filter.module.js +93 -0
- package/dist/npm/filter.service.js +47 -0
- package/dist/npm/index.js +37 -0
- package/dist/npm/localization/custom-messages.component.js +46 -0
- package/dist/npm/localization/localized-messages.directive.js +37 -0
- package/dist/npm/localization/messages.js +168 -0
- package/dist/npm/main.js +10 -0
- package/dist/npm/model/filter-expression.js +9 -0
- package/dist/npm/package-metadata.js +17 -0
- package/dist/npm/shared.module.js +37 -0
- package/dist/npm/util.js +138 -0
- package/dist/systemjs/kendo-angular-filter.js +5 -0
- package/package.json +109 -38
- package/schematics/ngAdd/index.js +2 -5
- package/schematics/ngAdd/index.js.map +1 -1
- package/bundles/kendo-angular-filter.umd.js +0 -5
- package/esm2015/aria-label.directive.js +0 -28
- package/esm2015/editors/boolean-editor.component.js +0 -84
- package/esm2015/editors/date-editor.component.js +0 -67
- package/esm2015/editors/numeric-editor.component.js +0 -67
- package/esm2015/editors/text-editor.component.js +0 -59
- package/esm2015/filter-expression-operators.component.js +0 -68
- package/esm2015/filter-group.component.js +0 -206
- package/esm2015/filter.module.js +0 -117
- package/esm2015/localization/custom-messages.component.js +0 -41
- package/esm2015/localization/localized-messages.directive.js +0 -36
- package/esm2015/localization/messages.js +0 -95
- package/esm2015/shared.module.js +0 -50
- package/fesm2015/kendo-angular-filter.js +0 -1622
- package/filter.module.d.ts +0 -53
- package/shared.module.d.ts +0 -19
- package/util.d.ts +0 -147
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
5
6
|
import { Component, Input, Output, EventEmitter, HostBinding, isDevMode } from '@angular/core';
|
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
8
|
import { FilterService } from './filter.service';
|
|
7
9
|
import { isArray } from './util';
|
|
10
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
8
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
12
|
import { packageMetadata } from './package-metadata';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "./filter.service";
|
|
12
|
-
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "./filter-group.component";
|
|
14
|
-
import * as i4 from "./localization/localized-messages.directive";
|
|
15
13
|
/**
|
|
16
14
|
* Represents the [Kendo UI Filter component for Angular]({% slug overview_filter %}).
|
|
17
15
|
* The Filter component can be used to apply any user defined filter criteria.
|
|
@@ -44,7 +42,7 @@ import * as i4 from "./localization/localized-messages.directive";
|
|
|
44
42
|
* }
|
|
45
43
|
* ```
|
|
46
44
|
*/
|
|
47
|
-
|
|
45
|
+
let FilterComponent = class FilterComponent {
|
|
48
46
|
constructor(filterService, localization, cdr) {
|
|
49
47
|
this.filterService = filterService;
|
|
50
48
|
this.localization = localization;
|
|
@@ -143,139 +141,29 @@ export class FilterComponent {
|
|
|
143
141
|
}
|
|
144
142
|
});
|
|
145
143
|
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
remove="Remove"
|
|
170
|
-
|
|
171
|
-
i18n-addFilter="kendo.filter.addFilter|The text of the Add Filter button"
|
|
172
|
-
addFilter="Add Filter"
|
|
173
|
-
|
|
174
|
-
i18n-addGroup="kendo.filter.addGroup|The text of the Add Group button"
|
|
175
|
-
addGroup="Add Group"
|
|
176
|
-
|
|
177
|
-
i18n-filterAndLogic="kendo.filter.filterAndLogic|The text of the And filter logic"
|
|
178
|
-
filterAndLogic="And"
|
|
179
|
-
|
|
180
|
-
i18n-filterOrLogic="kendo.filter.filterOrLogic|The text of the Or filter logic"
|
|
181
|
-
filterOrLogic="Or"
|
|
182
|
-
|
|
183
|
-
i18n-filterEqOperator="kendo.filter.filterEqOperator|The text of the equal filter operator"
|
|
184
|
-
filterEqOperator="Is equal to"
|
|
185
|
-
|
|
186
|
-
i18n-filterNotEqOperator="kendo.filter.filterNotEqOperator|The text of the not equal filter operator"
|
|
187
|
-
filterNotEqOperator="Is not equal to"
|
|
188
|
-
|
|
189
|
-
i18n-filterIsNullOperator="kendo.filter.filterIsNullOperator|The text of the is null filter operator"
|
|
190
|
-
filterIsNullOperator="Is null"
|
|
191
|
-
|
|
192
|
-
i18n-filterIsNotNullOperator="kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator"
|
|
193
|
-
filterIsNotNullOperator="Is not null"
|
|
194
|
-
|
|
195
|
-
i18n-filterIsEmptyOperator="kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator"
|
|
196
|
-
filterIsEmptyOperator="Is empty"
|
|
197
|
-
|
|
198
|
-
i18n-filterIsNotEmptyOperator="kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator"
|
|
199
|
-
filterIsNotEmptyOperator="Is not empty"
|
|
200
|
-
|
|
201
|
-
i18n-filterStartsWithOperator="kendo.filter.filterStartsWithOperator|The text of the starts with filter operator"
|
|
202
|
-
filterStartsWithOperator="Starts with"
|
|
203
|
-
|
|
204
|
-
i18n-filterContainsOperator="kendo.filter.filterContainsOperator|The text of the contains filter operator"
|
|
205
|
-
filterContainsOperator="Contains"
|
|
206
|
-
|
|
207
|
-
i18n-filterNotContainsOperator="kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator"
|
|
208
|
-
filterNotContainsOperator="Does not contain"
|
|
209
|
-
|
|
210
|
-
i18n-filterEndsWithOperator="kendo.filter.filterEndsWithOperator|The text of the ends with filter operator"
|
|
211
|
-
filterEndsWithOperator="Ends with"
|
|
212
|
-
|
|
213
|
-
i18n-filterGteOperator="kendo.filter.filterGteOperator|The text of the greater than or equal filter operator"
|
|
214
|
-
filterGteOperator="Is greater than or equal to"
|
|
215
|
-
|
|
216
|
-
i18n-filterGtOperator="kendo.filter.filterGtOperator|The text of the greater than filter operator"
|
|
217
|
-
filterGtOperator="Is greater than"
|
|
218
|
-
|
|
219
|
-
i18n-filterLteOperator="kendo.filter.filterLteOperator|The text of the less than or equal filter operator"
|
|
220
|
-
filterLteOperator="Is less than or equal to"
|
|
221
|
-
|
|
222
|
-
i18n-filterLtOperator="kendo.filter.filterLtOperator|The text of the less than filter operator"
|
|
223
|
-
filterLtOperator="Is less than"
|
|
224
|
-
|
|
225
|
-
i18n-filterIsTrue="kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option"
|
|
226
|
-
filterIsTrue="Is True"
|
|
227
|
-
|
|
228
|
-
i18n-filterIsFalse="kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option"
|
|
229
|
-
filterIsFalse="Is False"
|
|
230
|
-
|
|
231
|
-
i18n-filterBooleanAll="kendo.filter.filterBooleanAll|The text of the (All) boolean filter option"
|
|
232
|
-
filterBooleanAll="(All)"
|
|
233
|
-
|
|
234
|
-
i18n-filterAfterOrEqualOperator="kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator"
|
|
235
|
-
filterAfterOrEqualOperator="Is after or equal to"
|
|
236
|
-
|
|
237
|
-
i18n-filterAfterOperator="kendo.filter.filterAfterOperator|The text of the after date filter operator"
|
|
238
|
-
filterAfterOperator="Is after"
|
|
239
|
-
|
|
240
|
-
i18n-filterBeforeOperator="kendo.filter.filterBeforeOperator|The text of the before date filter operator"
|
|
241
|
-
filterBeforeOperator="Is before"
|
|
242
|
-
|
|
243
|
-
i18n-filterBeforeOrEqualOperator="kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"
|
|
244
|
-
filterBeforeOrEqualOperator="Is before or equal to"
|
|
245
|
-
|
|
246
|
-
i18n-filterFieldAriaLabel="kendo.filter.filterFieldAriaLabel|The text of the filter field aria label"
|
|
247
|
-
filterFieldAriaLabel="field"
|
|
248
|
-
|
|
249
|
-
i18n-filterOperatorAriaLabel="kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label"
|
|
250
|
-
filterOperatorAriaLabel="operator"
|
|
251
|
-
|
|
252
|
-
i18n-filterValueAriaLabel="kendo.filter.filterValueAriaLabel|The text of the filter value aria label"
|
|
253
|
-
filterValueAriaLabel="value"
|
|
254
|
-
|
|
255
|
-
i18n-filterAriaLabel="kendo.filter.filterAriaLabel|The text of the filter row aria label"
|
|
256
|
-
filterAriaLabel="filter"
|
|
257
|
-
|
|
258
|
-
i18n-filterToolbarAriaLabel="kendo.filter.filterToolbarAriaLabel|The text of the filter toolbar aria label"
|
|
259
|
-
filterToolbarAriaLabel="filter settings"
|
|
260
|
-
>
|
|
261
|
-
</ng-container>
|
|
262
|
-
<div class="k-widget k-filter" [attr.dir]="direction">
|
|
263
|
-
<ul class='k-filter-container'>
|
|
264
|
-
<li class='k-filter-group-main'>
|
|
265
|
-
<kendo-filter-group
|
|
266
|
-
[currentItem]="getCurrentFilter()"
|
|
267
|
-
(valueChange)="onValueChange()"
|
|
268
|
-
>
|
|
269
|
-
</kendo-filter-group>
|
|
270
|
-
</li>
|
|
271
|
-
</ul>
|
|
272
|
-
</div>
|
|
273
|
-
`, isInline: true, components: [{ type: i3.FilterGroupComponent, selector: "kendo-filter-group", inputs: ["index", "currentItem"], outputs: ["valueChange"] }], directives: [{ type: i4.LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]" }] });
|
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterComponent, decorators: [{
|
|
275
|
-
type: Component,
|
|
276
|
-
args: [{
|
|
277
|
-
selector: 'kendo-filter',
|
|
278
|
-
template: `
|
|
144
|
+
};
|
|
145
|
+
tslib_1.__decorate([
|
|
146
|
+
HostBinding('attr.dir'),
|
|
147
|
+
tslib_1.__metadata("design:type", String)
|
|
148
|
+
], FilterComponent.prototype, "direction", void 0);
|
|
149
|
+
tslib_1.__decorate([
|
|
150
|
+
Input(),
|
|
151
|
+
tslib_1.__metadata("design:type", Array),
|
|
152
|
+
tslib_1.__metadata("design:paramtypes", [Array])
|
|
153
|
+
], FilterComponent.prototype, "filters", null);
|
|
154
|
+
tslib_1.__decorate([
|
|
155
|
+
Input(),
|
|
156
|
+
tslib_1.__metadata("design:type", Object),
|
|
157
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
158
|
+
], FilterComponent.prototype, "value", null);
|
|
159
|
+
tslib_1.__decorate([
|
|
160
|
+
Output(),
|
|
161
|
+
tslib_1.__metadata("design:type", EventEmitter)
|
|
162
|
+
], FilterComponent.prototype, "valueChange", void 0);
|
|
163
|
+
FilterComponent = tslib_1.__decorate([
|
|
164
|
+
Component({
|
|
165
|
+
selector: 'kendo-filter',
|
|
166
|
+
template: `
|
|
279
167
|
<ng-container kendoFilterLocalizedMessages
|
|
280
168
|
i18n-editorDateTodayText="kendo.filter.editorDateTodayText|The text of the Today button of the Date editor"
|
|
281
169
|
editorDateTodayText="Today"
|
|
@@ -401,15 +289,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
401
289
|
</ul>
|
|
402
290
|
</div>
|
|
403
291
|
`,
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}], value: [{
|
|
412
|
-
type: Input
|
|
413
|
-
}], valueChange: [{
|
|
414
|
-
type: Output
|
|
415
|
-
}] } });
|
|
292
|
+
providers: [FilterService]
|
|
293
|
+
}),
|
|
294
|
+
tslib_1.__metadata("design:paramtypes", [FilterService,
|
|
295
|
+
LocalizationService,
|
|
296
|
+
ChangeDetectorRef])
|
|
297
|
+
], FilterComponent);
|
|
298
|
+
export { FilterComponent };
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
7
|
+
* definition for the Filter component.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* ```
|
|
12
|
+
* // Import the Filter module
|
|
13
|
+
* import { FilterModule } from '@progress/kendo-angular-filter';
|
|
14
|
+
*
|
|
15
|
+
* // The browser platform with a compiler
|
|
16
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
17
|
+
*
|
|
18
|
+
* import { NgModule } from '@angular/core';
|
|
19
|
+
*
|
|
20
|
+
* // Import the app component
|
|
21
|
+
* import { AppComponent } from './app.component';
|
|
22
|
+
*
|
|
23
|
+
* // Define the app module
|
|
24
|
+
* _@NgModule({
|
|
25
|
+
* declarations: [AppComponent], // declare app component
|
|
26
|
+
* imports: [BrowserModule, FilterModule], // import Filter module
|
|
27
|
+
* bootstrap: [AppComponent]
|
|
28
|
+
* })
|
|
29
|
+
* export class AppModule { }
|
|
30
|
+
*
|
|
31
|
+
* // Compile and launch the module
|
|
32
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
33
|
+
*
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class FilterModule {
|
|
37
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { NgModule } from '@angular/core';
|
|
7
|
+
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { AriaLabelValueDirective } from './aria-label.directive';
|
|
9
|
+
import { FilterBooleanEditorComponent } from './editors/boolean-editor.component';
|
|
10
|
+
import { FilterDateEditorComponent } from './editors/date-editor.component';
|
|
11
|
+
import { FilterNumericEditorComponent } from './editors/numeric-editor.component';
|
|
12
|
+
import { FilterTextEditorComponent } from './editors/text-editor.component';
|
|
13
|
+
import { FilterExpressionOperatorsComponent } from './filter-expression-operators.component';
|
|
14
|
+
import { FilterExpressionComponent } from './filter-expression.component';
|
|
15
|
+
import { FilterGroupComponent } from './filter-group.component';
|
|
16
|
+
import { FilterComponent } from './filter.component';
|
|
17
|
+
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
18
|
+
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
19
|
+
import { SharedModule } from './shared.module';
|
|
20
|
+
/**
|
|
21
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
22
|
+
* definition for the Filter component.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
*
|
|
26
|
+
* ```
|
|
27
|
+
* // Import the Filter module
|
|
28
|
+
* import { FilterModule } from '@progress/kendo-angular-filter';
|
|
29
|
+
*
|
|
30
|
+
* // The browser platform with a compiler
|
|
31
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
32
|
+
*
|
|
33
|
+
* import { NgModule } from '@angular/core';
|
|
34
|
+
*
|
|
35
|
+
* // Import the app component
|
|
36
|
+
* import { AppComponent } from './app.component';
|
|
37
|
+
*
|
|
38
|
+
* // Define the app module
|
|
39
|
+
* _@NgModule({
|
|
40
|
+
* declarations: [AppComponent], // declare app component
|
|
41
|
+
* imports: [BrowserModule, FilterModule], // import Filter module
|
|
42
|
+
* bootstrap: [AppComponent]
|
|
43
|
+
* })
|
|
44
|
+
* export class AppModule { }
|
|
45
|
+
*
|
|
46
|
+
* // Compile and launch the module
|
|
47
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
let FilterModule = class FilterModule {
|
|
52
|
+
};
|
|
53
|
+
FilterModule = tslib_1.__decorate([
|
|
54
|
+
NgModule({
|
|
55
|
+
imports: [SharedModule],
|
|
56
|
+
declarations: [FilterComponent,
|
|
57
|
+
FilterNumericEditorComponent,
|
|
58
|
+
FilterTextEditorComponent,
|
|
59
|
+
FilterExpressionComponent,
|
|
60
|
+
FilterGroupComponent,
|
|
61
|
+
FilterExpressionOperatorsComponent,
|
|
62
|
+
FilterBooleanEditorComponent,
|
|
63
|
+
FilterDateEditorComponent,
|
|
64
|
+
LocalizedMessagesDirective,
|
|
65
|
+
CustomMessagesComponent,
|
|
66
|
+
AriaLabelValueDirective
|
|
67
|
+
],
|
|
68
|
+
exports: [FilterComponent,
|
|
69
|
+
FilterNumericEditorComponent,
|
|
70
|
+
FilterTextEditorComponent,
|
|
71
|
+
FilterExpressionComponent,
|
|
72
|
+
FilterGroupComponent,
|
|
73
|
+
FilterExpressionOperatorsComponent,
|
|
74
|
+
FilterBooleanEditorComponent,
|
|
75
|
+
FilterDateEditorComponent,
|
|
76
|
+
LocalizedMessagesDirective,
|
|
77
|
+
CustomMessagesComponent,
|
|
78
|
+
AriaLabelValueDirective],
|
|
79
|
+
providers: [
|
|
80
|
+
LocalizationService,
|
|
81
|
+
{
|
|
82
|
+
provide: L10N_PREFIX,
|
|
83
|
+
useValue: 'kendo.filter'
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
})
|
|
87
|
+
], FilterModule);
|
|
88
|
+
export { FilterModule };
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
6
6
|
import { FilterExpression } from './model/filter-expression';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
@@ -15,6 +14,4 @@ export declare class FilterService {
|
|
|
15
14
|
addFilterGroup(item: CompositeFilterDescriptor): void;
|
|
16
15
|
addFilterExpression(item: CompositeFilterDescriptor): void;
|
|
17
16
|
remove(item: CompositeFilterDescriptor | FilterDescriptor, positionIndex: number, parentItem?: CompositeFilterDescriptor): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
|
|
20
17
|
}
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
5
6
|
import { Injectable } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
let FilterService = class FilterService {
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
11
14
|
constructor() {
|
|
12
15
|
this.value = { filters: [], logic: 'or' };
|
|
13
16
|
this.filters = [];
|
|
@@ -36,9 +39,8 @@ export class FilterService {
|
|
|
36
39
|
}
|
|
37
40
|
parentItem.filters.forEach((filter) => filter.filters && this.remove(item, positionIndex, filter));
|
|
38
41
|
}
|
|
39
|
-
}
|
|
40
|
-
FilterService
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}] });
|
|
42
|
+
};
|
|
43
|
+
FilterService = tslib_1.__decorate([
|
|
44
|
+
Injectable()
|
|
45
|
+
], FilterService);
|
|
46
|
+
export { FilterService };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
5
|
+
/**
|
|
6
|
+
* Generated bundle index. Do not edit.
|
|
7
|
+
*/
|
|
8
|
+
export * from './main';
|
|
9
9
|
export { AriaLabelValueDirective } from './aria-label.directive';
|
|
10
10
|
export { FilterBooleanEditorComponent } from './editors/boolean-editor.component';
|
|
11
11
|
export { FilterDateEditorComponent } from './editors/date-editor.component';
|
|
@@ -13,5 +13,9 @@ export { FilterNumericEditorComponent } from './editors/numeric-editor.component
|
|
|
13
13
|
export { FilterTextEditorComponent } from './editors/text-editor.component';
|
|
14
14
|
export { FilterExpressionOperatorsComponent } from './filter-expression-operators.component';
|
|
15
15
|
export { FilterExpressionComponent } from './filter-expression.component';
|
|
16
|
+
export { FilterGroupComponent } from './filter-group.component';
|
|
17
|
+
export { FilterService } from './filter.service';
|
|
16
18
|
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
17
19
|
export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
20
|
+
export { Messages } from './localization/messages';
|
|
21
|
+
export { SharedModule } from './shared.module';
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* Generated bundle index. Do not edit.
|
|
7
|
+
*/
|
|
8
|
+
export * from './main';
|
|
9
|
+
export { AriaLabelValueDirective } from './aria-label.directive';
|
|
10
|
+
export { FilterBooleanEditorComponent } from './editors/boolean-editor.component';
|
|
11
|
+
export { FilterDateEditorComponent } from './editors/date-editor.component';
|
|
12
|
+
export { FilterNumericEditorComponent } from './editors/numeric-editor.component';
|
|
13
|
+
export { FilterTextEditorComponent } from './editors/text-editor.component';
|
|
14
|
+
export { FilterExpressionOperatorsComponent } from './filter-expression-operators.component';
|
|
15
|
+
export { FilterExpressionComponent } from './filter-expression.component';
|
|
16
|
+
export { FilterGroupComponent } from './filter-group.component';
|
|
17
|
+
export { FilterService } from './filter.service';
|
|
18
|
+
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
19
|
+
export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
20
|
+
export { Messages } from './localization/messages';
|
|
21
|
+
export { SharedModule } from './shared.module';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"FilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":44,"character":1},"arguments":[{"selector":"kendo-filter","template":"\n <ng-container kendoFilterLocalizedMessages\n i18n-editorDateTodayText=\"kendo.filter.editorDateTodayText|The text of the Today button of the Date editor\"\n editorDateTodayText=\"Today\"\n\n i18n-editorDateToggleText=\"kendo.filter.editorDateToggleText|The title of the Toggle button of the Date editor.\"\n editorDateToggleText=\"Toggle calendar\"\n\n i18n-editorNumericDecrement=\"kendo.filter.editorNumericDecrement|The title of the Decrement button of the Numeric editor\"\n editorNumericDecrement=\"Decrement\"\n\n i18n-editorNumericIncrement=\"kendo.filter.editorNumericIncrement|The title of the Increment button of the Numeric editor\"\n editorNumericIncrement=\"Increment\"\n\n i18n-filterExpressionOperators=\"kendo.filter.filterExpressionOperators|The text of the Filter Expression Operators drop down\"\n filterExpressionOperators=\"Operators\"\n\n i18n-filterExpressionFilters=\"kendo.filter.filterExpressionFilters|The text of the Filter Expression filters drop down\"\n filterExpressionFilters=\"Fields\"\n\n i18n-remove=\"kendo.filter.remove|The text of the Remove button\"\n remove=\"Remove\"\n\n i18n-addFilter=\"kendo.filter.addFilter|The text of the Add Filter button\"\n addFilter=\"Add Filter\"\n\n i18n-addGroup=\"kendo.filter.addGroup|The text of the Add Group button\"\n addGroup=\"Add Group\"\n\n i18n-filterAndLogic=\"kendo.filter.filterAndLogic|The text of the And filter logic\"\n filterAndLogic=\"And\"\n\n i18n-filterOrLogic=\"kendo.filter.filterOrLogic|The text of the Or filter logic\"\n filterOrLogic=\"Or\"\n\n i18n-filterEqOperator=\"kendo.filter.filterEqOperator|The text of the equal filter operator\"\n filterEqOperator=\"Is equal to\"\n\n i18n-filterNotEqOperator=\"kendo.filter.filterNotEqOperator|The text of the not equal filter operator\"\n filterNotEqOperator=\"Is not equal to\"\n\n i18n-filterIsNullOperator=\"kendo.filter.filterIsNullOperator|The text of the is null filter operator\"\n filterIsNullOperator=\"Is null\"\n\n i18n-filterIsNotNullOperator=\"kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator\"\n filterIsNotNullOperator=\"Is not null\"\n\n i18n-filterIsEmptyOperator=\"kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator\"\n filterIsEmptyOperator=\"Is empty\"\n\n i18n-filterIsNotEmptyOperator=\"kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator\"\n filterIsNotEmptyOperator=\"Is not empty\"\n\n i18n-filterStartsWithOperator=\"kendo.filter.filterStartsWithOperator|The text of the starts with filter operator\"\n filterStartsWithOperator=\"Starts with\"\n\n i18n-filterContainsOperator=\"kendo.filter.filterContainsOperator|The text of the contains filter operator\"\n filterContainsOperator=\"Contains\"\n\n i18n-filterNotContainsOperator=\"kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator\"\n filterNotContainsOperator=\"Does not contain\"\n\n i18n-filterEndsWithOperator=\"kendo.filter.filterEndsWithOperator|The text of the ends with filter operator\"\n filterEndsWithOperator=\"Ends with\"\n\n i18n-filterGteOperator=\"kendo.filter.filterGteOperator|The text of the greater than or equal filter operator\"\n filterGteOperator=\"Is greater than or equal to\"\n\n i18n-filterGtOperator=\"kendo.filter.filterGtOperator|The text of the greater than filter operator\"\n filterGtOperator=\"Is greater than\"\n\n i18n-filterLteOperator=\"kendo.filter.filterLteOperator|The text of the less than or equal filter operator\"\n filterLteOperator=\"Is less than or equal to\"\n\n i18n-filterLtOperator=\"kendo.filter.filterLtOperator|The text of the less than filter operator\"\n filterLtOperator=\"Is less than\"\n\n i18n-filterIsTrue=\"kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option\"\n filterIsTrue=\"Is True\"\n\n i18n-filterIsFalse=\"kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option\"\n filterIsFalse=\"Is False\"\n\n i18n-filterBooleanAll=\"kendo.filter.filterBooleanAll|The text of the (All) boolean filter option\"\n filterBooleanAll=\"(All)\"\n\n i18n-filterAfterOrEqualOperator=\"kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator\"\n filterAfterOrEqualOperator=\"Is after or equal to\"\n\n i18n-filterAfterOperator=\"kendo.filter.filterAfterOperator|The text of the after date filter operator\"\n filterAfterOperator=\"Is after\"\n\n i18n-filterBeforeOperator=\"kendo.filter.filterBeforeOperator|The text of the before date filter operator\"\n filterBeforeOperator=\"Is before\"\n\n i18n-filterBeforeOrEqualOperator=\"kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator\"\n filterBeforeOrEqualOperator=\"Is before or equal to\"\n\n i18n-filterFieldAriaLabel=\"kendo.filter.filterFieldAriaLabel|The text of the filter field aria label\"\n filterFieldAriaLabel=\"field\"\n\n i18n-filterOperatorAriaLabel=\"kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label\"\n filterOperatorAriaLabel=\"operator\"\n\n i18n-filterValueAriaLabel=\"kendo.filter.filterValueAriaLabel|The text of the filter value aria label\"\n filterValueAriaLabel=\"value\"\n\n i18n-filterAriaLabel=\"kendo.filter.filterAriaLabel|The text of the filter row aria label\"\n filterAriaLabel=\"filter\"\n\n i18n-filterToolbarAriaLabel=\"kendo.filter.filterToolbarAriaLabel|The text of the filter toolbar aria label\"\n filterToolbarAriaLabel=\"filter settings\"\n >\n </ng-container>\n <div class=\"k-widget k-filter\" [attr.dir]=\"direction\">\n <ul class='k-filter-container'>\n <li class='k-filter-group-main'>\n <kendo-filter-group\n [currentItem]=\"getCurrentFilter()\"\n (valueChange)=\"onValueChange()\"\n >\n </kendo-filter-group>\n </li>\n </ul>\n </div>\n","providers":[{"__symbolic":"reference","name":"FilterService"}]}]}],"members":{"direction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":176,"character":5},"arguments":["attr.dir"]}]}],"filters":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":180,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":203,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":219,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":224,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":225,"character":21}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getCurrentFilter":[{"__symbolic":"method"}],"onValueChange":[{"__symbolic":"method"}],"normalizeFilter":[{"__symbolic":"method"}],"normalizeValue":[{"__symbolic":"method"}]}},"FilterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":46,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","name":"SharedModule"}],"declarations":[{"__symbolic":"reference","name":"FilterComponent"},{"__symbolic":"reference","name":"FilterNumericEditorComponent"},{"__symbolic":"reference","name":"FilterTextEditorComponent"},{"__symbolic":"reference","name":"FilterExpressionComponent"},{"__symbolic":"reference","name":"FilterGroupComponent"},{"__symbolic":"reference","name":"FilterExpressionOperatorsComponent"},{"__symbolic":"reference","name":"FilterBooleanEditorComponent"},{"__symbolic":"reference","name":"FilterDateEditorComponent"},{"__symbolic":"reference","name":"LocalizedMessagesDirective"},{"__symbolic":"reference","name":"CustomMessagesComponent"},{"__symbolic":"reference","name":"AriaLabelValueDirective"}],"exports":[{"__symbolic":"reference","name":"FilterComponent"},{"__symbolic":"reference","name":"FilterNumericEditorComponent"},{"__symbolic":"reference","name":"FilterTextEditorComponent"},{"__symbolic":"reference","name":"FilterExpressionComponent"},{"__symbolic":"reference","name":"FilterGroupComponent"},{"__symbolic":"reference","name":"FilterExpressionOperatorsComponent"},{"__symbolic":"reference","name":"FilterBooleanEditorComponent"},{"__symbolic":"reference","name":"FilterDateEditorComponent"},{"__symbolic":"reference","name":"LocalizedMessagesDirective"},{"__symbolic":"reference","name":"CustomMessagesComponent"},{"__symbolic":"reference","name":"AriaLabelValueDirective"}],"providers":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":72,"character":8},{"provide":{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"L10N_PREFIX","line":74,"character":21},"useValue":"kendo.filter"}]}]}],"members":{}},"FilterExpression":{"__symbolic":"interface"},"FilterService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"addFilterGroup":[{"__symbolic":"method"}],"addFilterExpression":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}]}},"SharedModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-inputs","name":"InputsModule","line":12,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-label","name":"LabelModule","line":13,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dropdowns","name":"DropDownsModule","line":14,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-buttons","name":"ButtonsModule","line":15,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dateinputs","name":"DateInputsModule","line":16,"character":4}],"exports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-inputs","name":"InputsModule","line":12,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-label","name":"LabelModule","line":13,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dropdowns","name":"DropDownsModule","line":14,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-buttons","name":"ButtonsModule","line":15,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dateinputs","name":"DateInputsModule","line":16,"character":4}]}]}],"members":{}},"FilterNumericEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-numeric-editor","template":"\n <kendo-numerictextbox\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [disabled]=\"isDisabled()\">\n <kendo-numerictextbox-messages\n [increment]=\"messageFor('editorNumericIncrement')\"\n [decrement]=\"messageFor('editorNumericDecrement')\">\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":28,"character":38},{"__symbolic":"reference","name":"FilterService"}]}],"messageFor":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}]}},"FilterTextEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-text-editor","template":"\n <kendo-textbox\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [disabled]=\"isDisabled()\">\n </kendo-textbox>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":22,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":24,"character":38},{"__symbolic":"reference","name":"FilterService"}]}],"isDisabled":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}]}},"FilterExpressionComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"kendo-filter-expression","template":"\n <div class=\"k-filter-toolbar\" role=\"group\" [attr.aria-label]=\"messageFor('filterAriaLabel')\">\n <div class=\"k-toolbar\">\n <div class=\"k-filter-toolbar-item k-filter-field\">\n <kendo-dropdownlist\n [kendoAriaLabelValue]=\"messageFor('filterFieldAriaLabel')\"\n [title]=\"messageFor('filterExpressionFilters')\"\n [data]=\"filters\"\n textField=\"title\"\n valueField=\"field\"\n [value]=\"currentItem.field\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"filterValueChange($event)\">\n </kendo-dropdownlist>\n </div>\n <div *ngIf=\"!isBoolean\" class=\"k-filter-toolbar-item k-filter-operator\">\n <kendo-filter-expression-operators\n [currentItem]=\"currentItem\"\n [operators]=\"operators\"\n (valueChange)=\"valueChange.emit();\">\n </kendo-filter-expression-operators>\n </div>\n\n <ng-container [ngSwitch]=\"getEditorType()\">\n <kendo-filter-text-editor *ngSwitchCase=\"'string'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-text-editor>\n <kendo-filter-numeric-editor *ngSwitchCase=\"'number'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-numeric-editor>\n <kendo-filter-boolean-editor *ngSwitchCase=\"'boolean'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-boolean-editor>\n <kendo-filter-date-editor *ngSwitchCase=\"'date'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-date-editor>\n </ng-container>\n\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n icon=\"close\"\n fillMode=\"flat\"\n [title]=\"messageFor('remove')\"\n (click)=\"removeFilterExpression()\">\n </button>\n </div>\n </div>\n </div>\n "}]}],"members":{"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":5}}]}],"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":59,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":68,"character":78},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":68,"character":112}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"normalizeOperators":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}],"getFilterExpressionByField":[{"__symbolic":"method"}],"filterValueChange":[{"__symbolic":"method"}],"getDefaultOperators":[{"__symbolic":"method"}],"getEditorType":[{"__symbolic":"method"}],"removeFilterExpression":[{"__symbolic":"method"}],"setOperators":[{"__symbolic":"method"}]}},"FilterGroupComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":18,"character":1},"arguments":[{"selector":"kendo-filter-group","template":"\n <div class=\"k-filter-toolbar\" role=\"toolbar\" [attr.aria-label]=\"messageFor('filterToolbarAriaLabel')\">\n <div class=\"k-toolbar\">\n <div class=\"k-filter-toolbar-item\">\n <div class=\"k-widget k-button-group\" role=\"group\">\n <button\n *ngFor=\"let operator of operators\"\n kendoButton\n [ngClass]=\"{'k-group-start': operator.value === 'and', 'k-group-end': operator.value === 'or'}\"\n [selected]=\"currentItem.logic === operator.value\"\n [title]=\"operator.text\"\n (click)=\"selectedChange(operator.value)\"\n >\n {{operator.text}}\n </button>\n </div>\n </div>\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n [title]=\"messageFor('addFilter')\"\n icon=\"filter-add-expression\"\n (click)=\"addFilterExpression()\">\n {{messageFor('addFilter')}}\n </button>\n </div>\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n [title]=\"messageFor('addGroup')\"\n icon=\"filter-add-group\"\n (click)=\"addFilterGroup()\">\n {{messageFor('addGroup')}}\n </button>\n </div>\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n icon=\"close\"\n fillMode=\"flat\"\n [title]=\"messageFor('remove')\"\n (click)=\"removeFilterGroup()\">\n </button>\n </div>\n </div>\n </div>\n\n <ul class=\"k-filter-lines\" *ngIf=\"currentItem.filters\">\n <ng-container *ngFor=\"let item of currentItem.filters; let i = index;\">\n <li class=\"k-filter-item\" *ngIf=\"!item.filters\">\n <kendo-filter-expression (valueChange)=\"valueChange.emit()\" [currentItem]=\"item\" [index]=\"i\">\n </kendo-filter-expression>\n </li>\n <li class=\"k-filter-item\" *ngIf=\"item.filters\" >\n <kendo-filter-group\n (valueChange)=\"valueChange.emit()\"\n [currentItem]=\"item\"\n [index]=\"i\"\n >\n </kendo-filter-group>\n </li>\n </ng-container>\n </ul>\n "}]}],"members":{"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":5}}]}],"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":91,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":97,"character":75},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":97,"character":109}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getLogicOperators":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}],"selectedChange":[{"__symbolic":"method"}],"addFilterExpression":[{"__symbolic":"method"}],"addFilterGroup":[{"__symbolic":"method"}],"removeFilterGroup":[{"__symbolic":"method"}]}},"FilterExpressionOperatorsComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"kendo-filter-expression-operators","template":"\n <kendo-dropdownlist\n [kendoAriaLabelValue]=\"messageFor('filterOperatorAriaLabel')\"\n [data]=\"operators\"\n [title]=\"messageFor('filterExpressionOperators')\"\n [(value)]=\"currentItem.operator\"\n (valueChange)=\"operatorValueChange($event)\"\n [valuePrimitive]=\"true\"\n textField=\"text\"\n valueField=\"value\"\n >\n </kendo-dropdownlist>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":5}}]}],"operators":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":31,"character":76}]}],"messageFor":[{"__symbolic":"method"}],"operatorValueChange":[{"__symbolic":"method"}]}},"FilterBooleanEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-boolean-editor","template":"\n <kendo-dropdownlist\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [data]=\"items\"\n [defaultItem]=\"defaultItem\"\n [valuePrimitive]=\"true\"\n textField=\"text\"\n valueField=\"value\"\n >\n </kendo-dropdownlist>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":35,"character":38},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":35,"character":72}]}],"ngOnInit":[{"__symbolic":"method"}],"getDefaultItem":[{"__symbolic":"method"}],"getValueItems":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}]}},"FilterDateEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-date-editor","template":"\n <kendo-datepicker\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [disabled]=\"isDisabled()\">\n <kendo-datepicker-messages\n [toggle]=\"messageFor('editorDateToggleText')\"\n [today]=\"messageFor('editorDateTodayText')\">\n </kendo-datepicker-messages>\n </kendo-datepicker>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":28,"character":38},{"__symbolic":"reference","name":"FilterService"}]}],"messageFor":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}]}},"LocalizedMessagesDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Messages"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Messages"},"useExisting":{"__symbolic":"reference","name":"LocalizedMessagesDirective"}}],"selector":"[kendoFilterLocalizedMessages]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":17,"character":35}]}]}},"Messages":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"ComponentMessages","line":6,"character":30},"members":{"filterExpressionOperators":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"filterExpressionFilters":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":6}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":5}}]}],"addGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"addFilter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":5}}]}],"filterAndLogic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"filterOrLogic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"filterEqOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"filterNotEqOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":5}}]}],"filterIsNullOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":5}}]}],"filterIsNotNullOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}}]}],"filterIsEmptyOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":5}}]}],"filterIsNotEmptyOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":5}}]}],"filterStartsWithOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":5}}]}],"filterContainsOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":5}}]}],"filterNotContainsOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":5}}]}],"filterEndsWithOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":5}}]}],"filterGteOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":5}}]}],"filterGtOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":5}}]}],"filterLteOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":5}}]}],"filterLtOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":5}}]}],"filterIsTrue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":5}}]}],"filterIsFalse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":5}}]}],"filterBooleanAll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":5}}]}],"filterAfterOrEqualOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":5}}]}],"filterAfterOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":5}}]}],"filterBeforeOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":140,"character":5}}]}],"filterBeforeOrEqualOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":5}}]}],"editorNumericDecrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":5}}]}],"editorNumericIncrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":155,"character":5}}]}],"editorDateTodayText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":5}}]}],"editorDateToggleText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":165,"character":5}}]}],"filterFieldAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":5}}]}],"filterOperatorAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":175,"character":5}}]}],"filterValueAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":180,"character":6}}]}],"filterAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":185,"character":6}}]}],"filterToolbarAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":190,"character":6}}]}]}},"CustomMessagesComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Messages"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Messages"},"useExisting":{"__symbolic":"reference","name":"CustomMessagesComponent"}}],"selector":"kendo-filter-messages","template":""}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":19,"character":35}]}]}},"AriaLabelValueDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[kendoAriaLabelValue]"}]}],"members":{"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":5},"arguments":["kendoAriaLabelValue"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":10,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":11,"character":26}]}],"ngOnChanges":[{"__symbolic":"method"}]}}},"origins":{"FilterComponent":"./filter.component","FilterModule":"./filter.module","FilterExpression":"./model/filter-expression","FilterService":"./filter.service","SharedModule":"./shared.module","FilterNumericEditorComponent":"./editors/numeric-editor.component","FilterTextEditorComponent":"./editors/text-editor.component","FilterExpressionComponent":"./filter-expression.component","FilterGroupComponent":"./filter-group.component","FilterExpressionOperatorsComponent":"./filter-expression-operators.component","FilterBooleanEditorComponent":"./editors/boolean-editor.component","FilterDateEditorComponent":"./editors/date-editor.component","LocalizedMessagesDirective":"./localization/localized-messages.directive","Messages":"./localization/messages","CustomMessagesComponent":"./localization/custom-messages.component","AriaLabelValueDirective":"./aria-label.directive"},"importAs":"@progress/kendo-angular-filter"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
7
|
/**
|
|
9
8
|
* Custom component messages override default component messages
|
|
10
9
|
* ([see example]({% slug globalization_filter %}#toc-localization)).
|
|
@@ -12,7 +11,5 @@ import * as i0 from "@angular/core";
|
|
|
12
11
|
export declare class CustomMessagesComponent extends Messages {
|
|
13
12
|
protected service: LocalizationService;
|
|
14
13
|
constructor(service: LocalizationService);
|
|
15
|
-
protected
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-filter-messages", never, {}, {}, never, never>;
|
|
14
|
+
protected readonly override: boolean;
|
|
18
15
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
var CustomMessagesComponent_1;
|
|
7
|
+
import { Component, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* Custom component messages override default component messages
|
|
12
|
+
* ([see example]({% slug globalization_filter %}#toc-localization)).
|
|
13
|
+
*/
|
|
14
|
+
let CustomMessagesComponent = CustomMessagesComponent_1 = class CustomMessagesComponent extends Messages {
|
|
15
|
+
constructor(service) {
|
|
16
|
+
super();
|
|
17
|
+
this.service = service;
|
|
18
|
+
}
|
|
19
|
+
get override() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
CustomMessagesComponent = CustomMessagesComponent_1 = tslib_1.__decorate([
|
|
24
|
+
Component({
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: Messages,
|
|
28
|
+
useExisting: forwardRef(() => CustomMessagesComponent_1)
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
selector: 'kendo-filter-messages',
|
|
32
|
+
template: ``
|
|
33
|
+
}),
|
|
34
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
35
|
+
], CustomMessagesComponent);
|
|
36
|
+
export { CustomMessagesComponent };
|