@progress/kendo-angular-filter 2.3.1-dev.202211170746 → 11.0.0-develop.79
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/NOTICE.txt +3 -3
- package/aria-label.directive.d.ts +1 -1
- package/base-filter-row.component.d.ts +1 -1
- package/editors/boolean-editor.component.d.ts +1 -1
- package/editors/date-editor.component.d.ts +1 -1
- package/editors/numeric-editor.component.d.ts +1 -1
- package/editors/text-editor.component.d.ts +1 -1
- package/error-messages.d.ts +1 -1
- package/{esm2015/aria-label.directive.js → esm2020/aria-label.directive.mjs} +5 -5
- package/{esm2015/base-filter-row.component.js → esm2020/base-filter-row.component.mjs} +8 -6
- package/{esm2015/editors/boolean-editor.component.js → esm2020/editors/boolean-editor.component.mjs} +6 -5
- package/{esm2015/editors/date-editor.component.js → esm2020/editors/date-editor.component.mjs} +5 -4
- package/{esm2015/editors/numeric-editor.component.js → esm2020/editors/numeric-editor.component.mjs} +5 -4
- package/{esm2015/editors/text-editor.component.js → esm2020/editors/text-editor.component.mjs} +5 -4
- package/{esm2015/error-messages.js → esm2020/error-messages.mjs} +1 -1
- package/{esm2015/filter-expression-operators.component.js → esm2020/filter-expression-operators.component.mjs} +5 -4
- package/{esm2015/filter-expression.component.js → esm2020/filter-expression.component.mjs} +16 -13
- package/{esm2015/filter-field.component.js → esm2020/filter-field.component.mjs} +4 -4
- package/{esm2015/filter-group.component.js → esm2020/filter-group.component.mjs} +12 -9
- package/{esm2015/filter.component.js → esm2020/filter.component.mjs} +12 -10
- package/{esm2015/filter.module.js → esm2020/filter.module.mjs} +5 -5
- package/{esm2015/filter.service.js → esm2020/filter.service.mjs} +7 -7
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/model/filter-expression.js → esm2020/model/filter-expression.mjs} +1 -1
- package/{esm2015/navigation.service.js → esm2020/navigation.service.mjs} +20 -15
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-filter.js → esm2020/progress-kendo-angular-filter.mjs} +2 -2
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/{esm2015/templates/value-editor.template.js → esm2020/templates/value-editor.template.mjs} +5 -5
- package/{esm2015/util.js → esm2020/util.mjs} +4 -4
- package/fesm2015/{kendo-angular-filter.js → progress-kendo-angular-filter.mjs} +91 -85
- package/fesm2020/progress-kendo-angular-filter.mjs +2222 -0
- package/filter-expression-operators.component.d.ts +1 -1
- package/filter-expression.component.d.ts +1 -1
- package/filter-field.component.d.ts +1 -1
- package/filter-group.component.d.ts +1 -1
- package/filter.component.d.ts +1 -1
- package/filter.module.d.ts +1 -1
- package/filter.service.d.ts +1 -1
- package/{main.d.ts → index.d.ts} +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/model/filter-expression.d.ts +1 -1
- package/navigation.service.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +34 -60
- package/{kendo-angular-filter.d.ts → progress-kendo-angular-filter.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- package/shared.module.d.ts +1 -1
- package/templates/value-editor.template.d.ts +1 -1
- package/util.d.ts +1 -1
- package/bundles/kendo-angular-filter.umd.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import * as i0 from '@angular/core';
|
|
@@ -8,16 +8,16 @@ import * as i1 from '@progress/kendo-angular-l10n';
|
|
|
8
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import { Keys } from '@progress/kendo-angular-common';
|
|
11
|
+
import * as i10 from '@progress/kendo-angular-buttons';
|
|
12
|
+
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
11
13
|
import * as i2 from '@progress/kendo-angular-dropdowns';
|
|
12
14
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
13
15
|
import * as i2$1 from '@progress/kendo-angular-inputs';
|
|
14
16
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
15
17
|
import * as i2$2 from '@progress/kendo-angular-dateinputs';
|
|
16
18
|
import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
17
|
-
import * as
|
|
19
|
+
import * as i12 from '@angular/common';
|
|
18
20
|
import { CommonModule } from '@angular/common';
|
|
19
|
-
import * as i12 from '@progress/kendo-angular-buttons';
|
|
20
|
-
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
21
21
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -29,11 +29,11 @@ class FilterService {
|
|
|
29
29
|
this.filters = [];
|
|
30
30
|
}
|
|
31
31
|
addFilterGroup(item) {
|
|
32
|
-
|
|
32
|
+
const filterGroup = { logic: 'and', filters: [] };
|
|
33
33
|
item.filters.push(filterGroup);
|
|
34
34
|
}
|
|
35
35
|
addFilterExpression(item) {
|
|
36
|
-
|
|
36
|
+
const filterExpression = { operator: 'eq', value: null, field: null };
|
|
37
37
|
item.filters.push(filterExpression);
|
|
38
38
|
}
|
|
39
39
|
remove(item, positionIndex, parentItem) {
|
|
@@ -44,7 +44,7 @@ class FilterService {
|
|
|
44
44
|
parentItem.filters = [];
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
const index = parentItem.filters.indexOf(item);
|
|
48
48
|
if (index >= 0 && index === positionIndex) {
|
|
49
49
|
parentItem.filters = parentItem.filters.filter((i) => i !== item);
|
|
50
50
|
return;
|
|
@@ -52,9 +52,9 @@ class FilterService {
|
|
|
52
52
|
parentItem.filters.forEach((filter) => filter.filters && this.remove(item, positionIndex, filter));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
FilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
FilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
FilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
56
|
+
FilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterService });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterService, decorators: [{
|
|
58
58
|
type: Injectable
|
|
59
59
|
}] });
|
|
60
60
|
|
|
@@ -199,9 +199,9 @@ const isPresent = (value) => value !== null && value !== undefined;
|
|
|
199
199
|
*/
|
|
200
200
|
class FilterItem {
|
|
201
201
|
}
|
|
202
|
-
FilterItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
203
|
-
FilterItem.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
202
|
+
FilterItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterItem, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
203
|
+
FilterItem.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterItem });
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterItem, decorators: [{
|
|
205
205
|
type: Injectable
|
|
206
206
|
}] });
|
|
207
207
|
/**
|
|
@@ -233,9 +233,9 @@ const packageMetadata = {
|
|
|
233
233
|
name: '@progress/kendo-angular-filter',
|
|
234
234
|
productName: 'Kendo UI for Angular',
|
|
235
235
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
236
|
-
publishDate:
|
|
236
|
+
publishDate: 1672320933,
|
|
237
237
|
version: '',
|
|
238
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
238
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
239
239
|
};
|
|
240
240
|
|
|
241
241
|
class FilterValueEditorTemplateDirective {
|
|
@@ -243,9 +243,9 @@ class FilterValueEditorTemplateDirective {
|
|
|
243
243
|
this.templateRef = templateRef;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
FilterValueEditorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
247
|
-
FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
246
|
+
FilterValueEditorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterValueEditorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
247
|
+
FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterValueEditorTemplateDirective, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterValueEditorTemplateDirective, decorators: [{
|
|
249
249
|
type: Directive,
|
|
250
250
|
args: [{
|
|
251
251
|
selector: '[kendoFilterValueEditorTemplate]'
|
|
@@ -292,9 +292,9 @@ class FilterFieldComponent {
|
|
|
292
292
|
return this._title;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
FilterFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
296
|
-
FilterFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
295
|
+
FilterFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
296
|
+
FilterFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterFieldComponent, selector: "kendo-filter-field", inputs: { field: "field", title: "title", editor: "editor", operators: "operators", editorFormat: "editorFormat" }, queries: [{ propertyName: "editorTemplate", first: true, predicate: FilterValueEditorTemplateDirective, descendants: true }], ngImport: i0, template: ``, isInline: true });
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterFieldComponent, decorators: [{
|
|
298
298
|
type: Component,
|
|
299
299
|
args: [{
|
|
300
300
|
selector: 'kendo-filter-field',
|
|
@@ -331,7 +331,7 @@ class NavigationService {
|
|
|
331
331
|
}
|
|
332
332
|
processKeyDown(key, event) {
|
|
333
333
|
switch (key) {
|
|
334
|
-
case Keys.ArrowUp:
|
|
334
|
+
case Keys.ArrowUp: {
|
|
335
335
|
event.preventDefault();
|
|
336
336
|
if (!this.isInnerNavigationActivated) {
|
|
337
337
|
this.currentToolbarItemIndex > 0 ? this.currentToolbarItemIndex-- : this.currentToolbarItemIndex;
|
|
@@ -339,7 +339,8 @@ class NavigationService {
|
|
|
339
339
|
this.focusCurrentElement(elementToFocus);
|
|
340
340
|
}
|
|
341
341
|
break;
|
|
342
|
-
|
|
342
|
+
}
|
|
343
|
+
case Keys.ArrowDown: {
|
|
343
344
|
event.preventDefault();
|
|
344
345
|
if (!this.isInnerNavigationActivated) {
|
|
345
346
|
this.currentToolbarItemIndex < this.flattenFilterItems.length - 1 ? this.currentToolbarItemIndex++ : this.currentToolbarItemIndex;
|
|
@@ -347,7 +348,8 @@ class NavigationService {
|
|
|
347
348
|
this.focusCurrentElement(elementToFocus);
|
|
348
349
|
}
|
|
349
350
|
break;
|
|
350
|
-
|
|
351
|
+
}
|
|
352
|
+
case Keys.Enter: {
|
|
351
353
|
const isEventTargetFilterToolbar = event.target.closest(selectors.kendoToolbar);
|
|
352
354
|
if (!this.isInnerNavigationActivated && isEventTargetFilterToolbar) {
|
|
353
355
|
event.preventDefault();
|
|
@@ -372,7 +374,8 @@ class NavigationService {
|
|
|
372
374
|
this.focusCurrentElement(elementToFocus);
|
|
373
375
|
}
|
|
374
376
|
break;
|
|
375
|
-
|
|
377
|
+
}
|
|
378
|
+
case Keys.Escape: {
|
|
376
379
|
if (this.isInnerNavigationActivated && !this.isFilterExpressionComponentFocused) {
|
|
377
380
|
event.preventDefault();
|
|
378
381
|
this.isInnerNavigationActivated = false;
|
|
@@ -388,7 +391,8 @@ class NavigationService {
|
|
|
388
391
|
this.focusCurrentElement(elementToFocus);
|
|
389
392
|
}
|
|
390
393
|
break;
|
|
391
|
-
|
|
394
|
+
}
|
|
395
|
+
case Keys.ArrowRight: {
|
|
392
396
|
if (this.isInnerNavigationActivated && !this.isFilterExpressionComponentFocused) {
|
|
393
397
|
event.preventDefault();
|
|
394
398
|
this.currentToolbarItemChildrenIndex < this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren.length - 1 ? this.currentToolbarItemChildrenIndex++ : this.currentToolbarItemChildrenIndex;
|
|
@@ -396,7 +400,8 @@ class NavigationService {
|
|
|
396
400
|
this.focusCurrentElement(elementToFocus);
|
|
397
401
|
}
|
|
398
402
|
break;
|
|
399
|
-
|
|
403
|
+
}
|
|
404
|
+
case Keys.ArrowLeft: {
|
|
400
405
|
if (this.isInnerNavigationActivated && !this.isFilterExpressionComponentFocused) {
|
|
401
406
|
event.preventDefault();
|
|
402
407
|
this.currentToolbarItemChildrenIndex > 0 ? this.currentToolbarItemChildrenIndex-- : this.currentToolbarItemChildrenIndex;
|
|
@@ -404,6 +409,7 @@ class NavigationService {
|
|
|
404
409
|
this.focusCurrentElement(elementToFocus);
|
|
405
410
|
}
|
|
406
411
|
break;
|
|
412
|
+
}
|
|
407
413
|
default:
|
|
408
414
|
break;
|
|
409
415
|
}
|
|
@@ -421,7 +427,7 @@ class NavigationService {
|
|
|
421
427
|
flattenHierarchicalFilterItems(filterItems) {
|
|
422
428
|
filterItems.forEach((filterRow) => {
|
|
423
429
|
var _a, _b;
|
|
424
|
-
|
|
430
|
+
const flattenItem = { component: filterRow, isGroup: false, toolbarElement: filterRow.toolbarElement, focusableChildren: [] };
|
|
425
431
|
this.flattenFilterItems.push(flattenItem);
|
|
426
432
|
if ((filterRow['operators'] && ((_a = filterRow['filterItems']) === null || _a === void 0 ? void 0 : _a.length) > 0)) {
|
|
427
433
|
this.setGroupItemChildren(flattenItem, filterRow);
|
|
@@ -461,9 +467,9 @@ class NavigationService {
|
|
|
461
467
|
this.setItemIndexes();
|
|
462
468
|
}
|
|
463
469
|
}
|
|
464
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
465
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
470
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
471
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
467
473
|
type: Injectable
|
|
468
474
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; } });
|
|
469
475
|
|
|
@@ -509,7 +515,7 @@ class BaseFilterRowComponent {
|
|
|
509
515
|
const closestFilterToolbarItem = event.target.closest(selectors.kendoFilterToolbarItem);
|
|
510
516
|
const closestToolbarItem = event.target.closest(selectors.kendoToolbar);
|
|
511
517
|
if (closestFilterToolbarItem) {
|
|
512
|
-
|
|
518
|
+
const index = Array.from(closestToolbarItem.children).indexOf(closestFilterToolbarItem);
|
|
513
519
|
this.navigationService.currentToolbarItemChildrenIndex = index;
|
|
514
520
|
this.navigationService.isInnerNavigationActivated = true;
|
|
515
521
|
this.navigationService.isFilterExpressionComponentFocused = true;
|
|
@@ -530,9 +536,9 @@ class BaseFilterRowComponent {
|
|
|
530
536
|
this.navigationService.focusCurrentElement(elementToFocus, true);
|
|
531
537
|
}
|
|
532
538
|
}
|
|
533
|
-
BaseFilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
534
|
-
BaseFilterRowComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
539
|
+
BaseFilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseFilterRowComponent, deps: [{ token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
540
|
+
BaseFilterRowComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseFilterRowComponent, inputs: { index: "index" }, outputs: { valueChange: "valueChange" }, ngImport: i0 });
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseFilterRowComponent, decorators: [{
|
|
536
542
|
type: Directive,
|
|
537
543
|
args: [{}]
|
|
538
544
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: NavigationService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { index: [{
|
|
@@ -554,9 +560,9 @@ class AriaLabelValueDirective {
|
|
|
554
560
|
this.renderer.setAttribute(target, 'aria-label', this.ariaLabel);
|
|
555
561
|
}
|
|
556
562
|
}
|
|
557
|
-
AriaLabelValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
558
|
-
AriaLabelValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
563
|
+
AriaLabelValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AriaLabelValueDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
564
|
+
AriaLabelValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: { ariaLabel: ["kendoAriaLabelValue", "ariaLabel"] }, ngImport: i0 });
|
|
565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AriaLabelValueDirective, decorators: [{
|
|
560
566
|
type: Directive,
|
|
561
567
|
args: [{ selector: '[kendoAriaLabelValue]' }]
|
|
562
568
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { ariaLabel: [{
|
|
@@ -583,8 +589,8 @@ class FilterExpressionOperatorsComponent {
|
|
|
583
589
|
this.valueChange.emit(value);
|
|
584
590
|
}
|
|
585
591
|
}
|
|
586
|
-
FilterExpressionOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
587
|
-
FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
592
|
+
FilterExpressionOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterExpressionOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
593
|
+
FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterExpressionOperatorsComponent, selector: "kendo-filter-expression-operators", inputs: { currentItem: "currentItem", editorType: "editorType", operators: "operators" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
588
594
|
<kendo-dropdownlist
|
|
589
595
|
[tabindex]="-1"
|
|
590
596
|
[kendoAriaLabelValue]="messageFor('filterOperatorAriaLabel')"
|
|
@@ -604,7 +610,7 @@ FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
|
|
|
604
610
|
</ng-template>
|
|
605
611
|
</kendo-dropdownlist>
|
|
606
612
|
`, isInline: true, components: [{ type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }, { type: i2.ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]" }, { type: i2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }] });
|
|
607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterExpressionOperatorsComponent, decorators: [{
|
|
608
614
|
type: Component,
|
|
609
615
|
args: [{
|
|
610
616
|
selector: "kendo-filter-expression-operators",
|
|
@@ -655,8 +661,8 @@ class FilterTextEditorComponent {
|
|
|
655
661
|
this.valueChange.emit();
|
|
656
662
|
}
|
|
657
663
|
}
|
|
658
|
-
FilterTextEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
659
|
-
FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
664
|
+
FilterTextEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterTextEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
665
|
+
FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterTextEditorComponent, selector: "kendo-filter-text-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
660
666
|
<kendo-textbox
|
|
661
667
|
[tabindex]="-1"
|
|
662
668
|
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
@@ -665,7 +671,7 @@ FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
665
671
|
[disabled]="isDisabled">
|
|
666
672
|
</kendo-textbox>
|
|
667
673
|
`, isInline: true, components: [{ type: i2$1.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }], directives: [{ type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterTextEditorComponent, decorators: [{
|
|
669
675
|
type: Component,
|
|
670
676
|
args: [{
|
|
671
677
|
selector: 'kendo-filter-text-editor',
|
|
@@ -703,8 +709,8 @@ class FilterNumericEditorComponent {
|
|
|
703
709
|
this.valueChange.emit();
|
|
704
710
|
}
|
|
705
711
|
}
|
|
706
|
-
FilterNumericEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
707
|
-
FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
712
|
+
FilterNumericEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterNumericEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
713
|
+
FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterNumericEditorComponent, selector: "kendo-filter-numeric-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
708
714
|
<kendo-numerictextbox
|
|
709
715
|
[tabindex]="-1"
|
|
710
716
|
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
@@ -718,7 +724,7 @@ FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
718
724
|
</kendo-numerictextbox-messages>
|
|
719
725
|
</kendo-numerictextbox>
|
|
720
726
|
`, isInline: true, components: [{ type: i2$1.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }, { type: i2$1.NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }], directives: [{ type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
|
|
721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterNumericEditorComponent, decorators: [{
|
|
722
728
|
type: Component,
|
|
723
729
|
args: [{
|
|
724
730
|
selector: 'kendo-filter-numeric-editor',
|
|
@@ -787,8 +793,8 @@ class FilterBooleanEditorComponent {
|
|
|
787
793
|
this.valueChange.emit();
|
|
788
794
|
}
|
|
789
795
|
}
|
|
790
|
-
FilterBooleanEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
791
|
-
FilterBooleanEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
796
|
+
FilterBooleanEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterBooleanEditorComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
797
|
+
FilterBooleanEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterBooleanEditorComponent, selector: "kendo-filter-boolean-editor", inputs: { currentItem: "currentItem" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
792
798
|
<kendo-dropdownlist
|
|
793
799
|
[tabindex]="-1"
|
|
794
800
|
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
@@ -802,7 +808,7 @@ FilterBooleanEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
802
808
|
>
|
|
803
809
|
</kendo-dropdownlist>
|
|
804
810
|
`, isInline: true, components: [{ type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
|
|
805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterBooleanEditorComponent, decorators: [{
|
|
806
812
|
type: Component,
|
|
807
813
|
args: [{
|
|
808
814
|
selector: 'kendo-filter-boolean-editor',
|
|
@@ -843,8 +849,8 @@ class FilterDateEditorComponent {
|
|
|
843
849
|
this.valueChange.emit();
|
|
844
850
|
}
|
|
845
851
|
}
|
|
846
|
-
FilterDateEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
847
|
-
FilterDateEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
852
|
+
FilterDateEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDateEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
853
|
+
FilterDateEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterDateEditorComponent, selector: "kendo-filter-date-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
848
854
|
<kendo-datepicker
|
|
849
855
|
[tabindex]="-1"
|
|
850
856
|
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
@@ -858,7 +864,7 @@ FilterDateEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
858
864
|
</kendo-datepicker-messages>
|
|
859
865
|
</kendo-datepicker>
|
|
860
866
|
`, isInline: true, components: [{ type: i2$2.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i2$2.DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }], directives: [{ type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
|
|
861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDateEditorComponent, decorators: [{
|
|
862
868
|
type: Component,
|
|
863
869
|
args: [{
|
|
864
870
|
selector: 'kendo-filter-date-editor',
|
|
@@ -966,7 +972,7 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
|
|
|
966
972
|
}
|
|
967
973
|
}
|
|
968
974
|
normalizeOperators(filterEditor, operators) {
|
|
969
|
-
|
|
975
|
+
const result = [];
|
|
970
976
|
for (let j = 0; j < operators.length; j++) {
|
|
971
977
|
if (isFilterEditor(filterEditor)) {
|
|
972
978
|
result.push({
|
|
@@ -1008,7 +1014,7 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
|
|
|
1008
1014
|
}
|
|
1009
1015
|
}
|
|
1010
1016
|
getEditorType() {
|
|
1011
|
-
|
|
1017
|
+
const item = this.filterService.filters.find((filterExpression) => filterExpression.field === this.currentItem.field);
|
|
1012
1018
|
return item.editor;
|
|
1013
1019
|
}
|
|
1014
1020
|
removeFilterExpression() {
|
|
@@ -1048,12 +1054,12 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
|
|
|
1048
1054
|
}
|
|
1049
1055
|
}
|
|
1050
1056
|
setEditorTemplate() {
|
|
1051
|
-
|
|
1057
|
+
const filterExpression = this.filterService.filters.find((filter) => filter.field === this.currentItem.field);
|
|
1052
1058
|
this.editorTemplate = filterExpression.editorTemplate ? filterExpression.editorTemplate : null;
|
|
1053
1059
|
}
|
|
1054
1060
|
}
|
|
1055
|
-
FilterExpressionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1056
|
-
FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1061
|
+
FilterExpressionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterExpressionComponent, deps: [{ token: FilterService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1062
|
+
FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterExpressionComponent, selector: "kendo-filter-expression", inputs: { currentItem: "currentItem" }, providers: [{
|
|
1057
1063
|
provide: FilterItem,
|
|
1058
1064
|
useExisting: forwardRef(() => FilterExpressionComponent)
|
|
1059
1065
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1107,8 +1113,8 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
1107
1113
|
</div>
|
|
1108
1114
|
</div>
|
|
1109
1115
|
</div>
|
|
1110
|
-
`, isInline: true, components: [{ type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { type: FilterExpressionOperatorsComponent, selector: "kendo-filter-expression-operators", inputs: ["currentItem", "editorType", "operators"], outputs: ["valueChange"] }, { type: FilterTextEditorComponent, selector: "kendo-filter-text-editor", inputs: ["currentItem", "isDisabled"], outputs: ["valueChange"] }, { type: FilterNumericEditorComponent, selector: "kendo-filter-numeric-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }, { type: FilterBooleanEditorComponent, selector: "kendo-filter-boolean-editor", inputs: ["currentItem"], outputs: ["valueChange"] }, { type: FilterDateEditorComponent, selector: "kendo-filter-date-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }
|
|
1111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1116
|
+
`, isInline: true, components: [{ type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { type: FilterExpressionOperatorsComponent, selector: "kendo-filter-expression-operators", inputs: ["currentItem", "editorType", "operators"], outputs: ["valueChange"] }, { type: FilterTextEditorComponent, selector: "kendo-filter-text-editor", inputs: ["currentItem", "isDisabled"], outputs: ["valueChange"] }, { type: FilterNumericEditorComponent, selector: "kendo-filter-numeric-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }, { type: FilterBooleanEditorComponent, selector: "kendo-filter-boolean-editor", inputs: ["currentItem"], outputs: ["valueChange"] }, { type: FilterDateEditorComponent, selector: "kendo-filter-date-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }, { type: i10.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i12.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i10.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
1117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterExpressionComponent, decorators: [{
|
|
1112
1118
|
type: Component,
|
|
1113
1119
|
args: [{
|
|
1114
1120
|
providers: [{
|
|
@@ -1251,8 +1257,8 @@ class FilterGroupComponent extends BaseFilterRowComponent {
|
|
|
1251
1257
|
this.navigationService.focusCurrentElement(elementToFocus, true);
|
|
1252
1258
|
}
|
|
1253
1259
|
}
|
|
1254
|
-
FilterGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1255
|
-
FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1260
|
+
FilterGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterGroupComponent, deps: [{ token: FilterService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1261
|
+
FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: { currentItem: "currentItem" }, providers: [{
|
|
1256
1262
|
provide: FilterItem,
|
|
1257
1263
|
useExisting: forwardRef(() => FilterGroupComponent)
|
|
1258
1264
|
}], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1323,8 +1329,8 @@ FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1323
1329
|
</li>
|
|
1324
1330
|
</ng-container>
|
|
1325
1331
|
</ul>
|
|
1326
|
-
`, isInline: true, components: [{ type:
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1332
|
+
`, isInline: true, components: [{ type: i10.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: FilterExpressionComponent, selector: "kendo-filter-expression", inputs: ["currentItem"] }, { type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }], directives: [{ type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterGroupComponent, decorators: [{
|
|
1328
1334
|
type: Component,
|
|
1329
1335
|
args: [{
|
|
1330
1336
|
providers: [{
|
|
@@ -1414,9 +1420,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1414
1420
|
*/
|
|
1415
1421
|
class Messages extends ComponentMessages {
|
|
1416
1422
|
}
|
|
1417
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1418
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1423
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1424
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, selector: "[kendoFilterMessages]", inputs: { filterExpressionOperators: "filterExpressionOperators", filterExpressionFilters: "filterExpressionFilters", remove: "remove", addGroup: "addGroup", addFilter: "addFilter", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", editorNumericDecrement: "editorNumericDecrement", editorNumericIncrement: "editorNumericIncrement", editorDateTodayText: "editorDateTodayText", editorDateToggleText: "editorDateToggleText", filterFieldAriaLabel: "filterFieldAriaLabel", filterOperatorAriaLabel: "filterOperatorAriaLabel", filterValueAriaLabel: "filterValueAriaLabel", filterToolbarAriaLabel: "filterToolbarAriaLabel", filterComponentAriaLabel: "filterComponentAriaLabel" }, usesInheritance: true, ngImport: i0 });
|
|
1425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
1420
1426
|
type: Directive,
|
|
1421
1427
|
args: [{
|
|
1422
1428
|
selector: '[kendoFilterMessages]'
|
|
@@ -1506,14 +1512,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
1506
1512
|
this.service = service;
|
|
1507
1513
|
}
|
|
1508
1514
|
}
|
|
1509
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1510
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1515
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1516
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]", providers: [
|
|
1511
1517
|
{
|
|
1512
1518
|
provide: Messages,
|
|
1513
1519
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
1514
1520
|
}
|
|
1515
1521
|
], usesInheritance: true, ngImport: i0 });
|
|
1516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
1517
1523
|
type: Directive,
|
|
1518
1524
|
args: [{
|
|
1519
1525
|
providers: [
|
|
@@ -1606,7 +1612,7 @@ class FilterComponent {
|
|
|
1606
1612
|
set filters(_filters) {
|
|
1607
1613
|
if (_filters.length > 0) {
|
|
1608
1614
|
this.filterService.filters = _filters.map(filterExpression => {
|
|
1609
|
-
|
|
1615
|
+
const clonedFilter = Object.assign({}, filterExpression);
|
|
1610
1616
|
if (!clonedFilter.title) {
|
|
1611
1617
|
clonedFilter.title = clonedFilter.field;
|
|
1612
1618
|
}
|
|
@@ -1742,8 +1748,8 @@ class FilterComponent {
|
|
|
1742
1748
|
return this.localization.get(key);
|
|
1743
1749
|
}
|
|
1744
1750
|
}
|
|
1745
|
-
FilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1746
|
-
FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1751
|
+
FilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1752
|
+
FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterComponent, selector: "kendo-filter", inputs: { filters: "filters", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "focusout": "focusout($event)", "keydown": "onKeydown($event)" }, properties: { "attr.dir": "this.direction" } }, providers: [
|
|
1747
1753
|
LocalizationService,
|
|
1748
1754
|
{
|
|
1749
1755
|
provide: L10N_PREFIX,
|
|
@@ -1877,7 +1883,7 @@ FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
1877
1883
|
</ul>
|
|
1878
1884
|
</div>
|
|
1879
1885
|
`, isInline: true, components: [{ type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]" }] });
|
|
1880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterComponent, decorators: [{
|
|
1881
1887
|
type: Component,
|
|
1882
1888
|
args: [{
|
|
1883
1889
|
providers: [
|
|
@@ -2053,14 +2059,14 @@ class CustomMessagesComponent extends Messages {
|
|
|
2053
2059
|
return true;
|
|
2054
2060
|
}
|
|
2055
2061
|
}
|
|
2056
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2057
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2062
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2063
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-filter-messages", providers: [
|
|
2058
2064
|
{
|
|
2059
2065
|
provide: Messages,
|
|
2060
2066
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
2061
2067
|
}
|
|
2062
2068
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
2063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
2064
2070
|
type: Component,
|
|
2065
2071
|
args: [{
|
|
2066
2072
|
providers: [
|
|
@@ -2087,8 +2093,8 @@ const importedModules = [
|
|
|
2087
2093
|
*/
|
|
2088
2094
|
class SharedModule {
|
|
2089
2095
|
}
|
|
2090
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2091
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2096
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2097
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [CommonModule,
|
|
2092
2098
|
InputsModule,
|
|
2093
2099
|
LabelModule,
|
|
2094
2100
|
DropDownsModule,
|
|
@@ -2099,13 +2105,13 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
2099
2105
|
DropDownsModule,
|
|
2100
2106
|
ButtonsModule,
|
|
2101
2107
|
DateInputsModule] });
|
|
2102
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2108
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[...importedModules], CommonModule,
|
|
2103
2109
|
InputsModule,
|
|
2104
2110
|
LabelModule,
|
|
2105
2111
|
DropDownsModule,
|
|
2106
2112
|
ButtonsModule,
|
|
2107
2113
|
DateInputsModule] });
|
|
2108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
2109
2115
|
type: NgModule,
|
|
2110
2116
|
args: [{
|
|
2111
2117
|
imports: [...importedModules],
|
|
@@ -2146,8 +2152,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2146
2152
|
*/
|
|
2147
2153
|
class FilterModule {
|
|
2148
2154
|
}
|
|
2149
|
-
FilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2150
|
-
FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2155
|
+
FilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2156
|
+
FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterModule, declarations: [FilterComponent,
|
|
2151
2157
|
FilterNumericEditorComponent,
|
|
2152
2158
|
FilterTextEditorComponent,
|
|
2153
2159
|
FilterExpressionComponent,
|
|
@@ -2172,8 +2178,8 @@ FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
2172
2178
|
AriaLabelValueDirective,
|
|
2173
2179
|
FilterFieldComponent,
|
|
2174
2180
|
FilterValueEditorTemplateDirective] });
|
|
2175
|
-
FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2181
|
+
FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterModule, imports: [[SharedModule]] });
|
|
2182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterModule, decorators: [{
|
|
2177
2183
|
type: NgModule,
|
|
2178
2184
|
args: [{
|
|
2179
2185
|
imports: [SharedModule],
|