@progress/kendo-angular-filter 25.1.0-develop.3 → 25.1.0-develop.4
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/fesm2022/progress-kendo-angular-filter.mjs +552 -128
- package/index.d.ts +216 -73
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +4 -4
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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';
|
|
6
|
-
import { TemplateRef, ChangeDetectorRef, Renderer2, OnInit, AfterContentInit, OnDestroy, EventEmitter, ElementRef, DoCheck } from '@angular/core';
|
|
6
|
+
import { TemplateRef, ChangeDetectorRef, Renderer2, OnInit, AfterContentInit, OnDestroy, EventEmitter, ElementRef, Injector, DoCheck } from '@angular/core';
|
|
7
7
|
import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
9
9
|
import { FormatSettings } from '@progress/kendo-angular-dateinputs';
|
|
@@ -104,9 +104,15 @@ interface FilterExpression {
|
|
|
104
104
|
* @hidden
|
|
105
105
|
*/
|
|
106
106
|
declare class FilterService {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
private _normalizedValue;
|
|
108
|
+
private _filters;
|
|
109
|
+
private _fieldTemplate;
|
|
110
|
+
set normalizedValue(value: CompositeFilterDescriptor);
|
|
111
|
+
get normalizedValue(): CompositeFilterDescriptor;
|
|
112
|
+
set filters(value: FilterExpression[]);
|
|
113
|
+
get filters(): FilterExpression[];
|
|
114
|
+
set fieldTemplate(value: TemplateRef<any> | null);
|
|
115
|
+
get fieldTemplate(): TemplateRef<any> | null;
|
|
110
116
|
addFilterGroup(item: CompositeFilterDescriptor): void;
|
|
111
117
|
addFilterExpression(item: CompositeFilterDescriptor): void;
|
|
112
118
|
remove(item: CompositeFilterDescriptor | FilterDescriptor, positionIndex: number, parentItem?: CompositeFilterDescriptor): void;
|
|
@@ -232,6 +238,7 @@ declare class FilterComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
|
232
238
|
private localizationSubscription;
|
|
233
239
|
private filterFieldsSubscription;
|
|
234
240
|
private _value;
|
|
241
|
+
private _filters;
|
|
235
242
|
private filterFields;
|
|
236
243
|
private fieldTemplate;
|
|
237
244
|
private _filterItems;
|
|
@@ -279,7 +286,9 @@ declare abstract class BaseFilterRowComponent {
|
|
|
279
286
|
protected navigationService: NavigationService;
|
|
280
287
|
protected localization: LocalizationService;
|
|
281
288
|
private renderer;
|
|
282
|
-
index: number;
|
|
289
|
+
set index(value: number);
|
|
290
|
+
get index(): number;
|
|
291
|
+
private _index;
|
|
283
292
|
valueChange: EventEmitter<boolean>;
|
|
284
293
|
constructor(element: ElementRef, navigationService: NavigationService, localization: LocalizationService, renderer: Renderer2);
|
|
285
294
|
itemNumber: number;
|
|
@@ -315,7 +324,9 @@ declare class FilterGroupComponent extends BaseFilterRowComponent {
|
|
|
315
324
|
* @hidden
|
|
316
325
|
*/
|
|
317
326
|
handleExpressionValueChange(isRemoveOperation: any): void;
|
|
318
|
-
currentItem: CompositeFilterDescriptor;
|
|
327
|
+
set currentItem(value: CompositeFilterDescriptor);
|
|
328
|
+
get currentItem(): CompositeFilterDescriptor;
|
|
329
|
+
private _currentItem;
|
|
319
330
|
/**
|
|
320
331
|
* @hidden
|
|
321
332
|
*/
|
|
@@ -392,19 +403,20 @@ declare class FilterFieldComponent {
|
|
|
392
403
|
/**
|
|
393
404
|
* Specifies the `field` that will be used by the user-defined filter.
|
|
394
405
|
*/
|
|
395
|
-
field: string;
|
|
406
|
+
set field(value: string);
|
|
407
|
+
get field(): string;
|
|
396
408
|
/**
|
|
397
409
|
* Specifies the `title` text that will be displayed by the user-defined filter.
|
|
398
410
|
* If the `title` isn't set, the value passed to `field` is used.
|
|
399
411
|
*/
|
|
400
412
|
set title(_title: string);
|
|
401
413
|
get title(): string;
|
|
402
|
-
private _title;
|
|
403
414
|
/**
|
|
404
415
|
* Specifies the user-defined filter `editor` type that will be used.
|
|
405
416
|
* The available options are 'string', 'number', 'boolean', and 'date'.
|
|
406
417
|
*/
|
|
407
|
-
editor: FilterEditor;
|
|
418
|
+
set editor(value: FilterEditor);
|
|
419
|
+
get editor(): FilterEditor;
|
|
408
420
|
/**
|
|
409
421
|
* Specifies the operators that will be available in the order of providing them.
|
|
410
422
|
* If no operators are provided, default operators are used for each filter type.
|
|
@@ -433,11 +445,18 @@ declare class FilterFieldComponent {
|
|
|
433
445
|
*
|
|
434
446
|
* The boolean operator is always set to `eq`
|
|
435
447
|
*/
|
|
436
|
-
operators: FilterOperator[];
|
|
448
|
+
set operators(value: FilterOperator[]);
|
|
449
|
+
get operators(): FilterOperator[];
|
|
437
450
|
/**
|
|
438
451
|
* Specifies the user-defined filter `editor` format that will be used. ([see example](https://www.telerik.com/kendo-angular-ui/components/filter/filter-editors-format))
|
|
439
452
|
*/
|
|
440
|
-
editorFormat
|
|
453
|
+
set editorFormat(value: string | NumberFormat | DateFormat);
|
|
454
|
+
get editorFormat(): string | NumberFormat | DateFormat;
|
|
455
|
+
private _field;
|
|
456
|
+
private _title;
|
|
457
|
+
private _editor;
|
|
458
|
+
private _operators;
|
|
459
|
+
private _editorFormat;
|
|
441
460
|
/**
|
|
442
461
|
* @hidden
|
|
443
462
|
*/
|
|
@@ -457,147 +476,183 @@ declare class Messages extends ComponentMessages {
|
|
|
457
476
|
/**
|
|
458
477
|
* The text of the Filter Expression `operators` drop down title.
|
|
459
478
|
*/
|
|
460
|
-
filterExpressionOperators: string;
|
|
479
|
+
set filterExpressionOperators(value: string);
|
|
480
|
+
get filterExpressionOperators(): string;
|
|
461
481
|
/**
|
|
462
482
|
* The text of the Filter Expression 'fields' drop down title.
|
|
463
483
|
*/
|
|
464
|
-
filterExpressionFilters: string;
|
|
484
|
+
set filterExpressionFilters(value: string);
|
|
485
|
+
get filterExpressionFilters(): string;
|
|
465
486
|
/**
|
|
466
487
|
* The text of the `Remove Expression` button.
|
|
467
488
|
*/
|
|
468
|
-
remove: string;
|
|
489
|
+
set remove(value: string);
|
|
490
|
+
get remove(): string;
|
|
469
491
|
/**
|
|
470
492
|
* The text of the Filter Group `Add Group` button.
|
|
471
493
|
*/
|
|
472
|
-
addGroup: string;
|
|
494
|
+
set addGroup(value: string);
|
|
495
|
+
get addGroup(): string;
|
|
473
496
|
/**
|
|
474
497
|
* The text of the Filter Group `Add Filter` button.
|
|
475
498
|
*/
|
|
476
|
-
addFilter: string;
|
|
499
|
+
set addFilter(value: string);
|
|
500
|
+
get addFilter(): string;
|
|
477
501
|
/**
|
|
478
502
|
* The text of the `And` Filter Group logic.
|
|
479
503
|
*/
|
|
480
|
-
filterAndLogic: string;
|
|
504
|
+
set filterAndLogic(value: string);
|
|
505
|
+
get filterAndLogic(): string;
|
|
481
506
|
/**
|
|
482
507
|
* The text of the `Or` Filter Group logic.
|
|
483
508
|
*/
|
|
484
|
-
filterOrLogic: string;
|
|
509
|
+
set filterOrLogic(value: string);
|
|
510
|
+
get filterOrLogic(): string;
|
|
485
511
|
/**
|
|
486
512
|
* The text of the `Equal` (**Is equal to**) Filter Expression operator.
|
|
487
513
|
*/
|
|
488
|
-
filterEqOperator: string;
|
|
514
|
+
set filterEqOperator(value: string);
|
|
515
|
+
get filterEqOperator(): string;
|
|
489
516
|
/**
|
|
490
517
|
* The text of the `NotEqual` (**Is not equal to**) Filter Expression operator.
|
|
491
518
|
*/
|
|
492
|
-
filterNotEqOperator: string;
|
|
519
|
+
set filterNotEqOperator(value: string);
|
|
520
|
+
get filterNotEqOperator(): string;
|
|
493
521
|
/**
|
|
494
522
|
* The text of the `IsNull` (**Is null**) Filter Expression operator.
|
|
495
523
|
*/
|
|
496
|
-
filterIsNullOperator: string;
|
|
524
|
+
set filterIsNullOperator(value: string);
|
|
525
|
+
get filterIsNullOperator(): string;
|
|
497
526
|
/**
|
|
498
527
|
* The text of the `IsNotNull` (**Is not null**) Filter Expression operator.
|
|
499
528
|
*/
|
|
500
|
-
filterIsNotNullOperator: string;
|
|
529
|
+
set filterIsNotNullOperator(value: string);
|
|
530
|
+
get filterIsNotNullOperator(): string;
|
|
501
531
|
/**
|
|
502
532
|
* The text of the `IsEmpty` (**Is empty**) Filter Expression operator.
|
|
503
533
|
*/
|
|
504
|
-
filterIsEmptyOperator: string;
|
|
534
|
+
set filterIsEmptyOperator(value: string);
|
|
535
|
+
get filterIsEmptyOperator(): string;
|
|
505
536
|
/**
|
|
506
537
|
* The text of the `IsNotEmpty` (**Is not empty**) Filter Expression operator.
|
|
507
538
|
*/
|
|
508
|
-
filterIsNotEmptyOperator: string;
|
|
539
|
+
set filterIsNotEmptyOperator(value: string);
|
|
540
|
+
get filterIsNotEmptyOperator(): string;
|
|
509
541
|
/**
|
|
510
542
|
* The text of the `StartsWith` (**Starts with**) Filter Expression operator.
|
|
511
543
|
*/
|
|
512
|
-
filterStartsWithOperator: string;
|
|
544
|
+
set filterStartsWithOperator(value: string);
|
|
545
|
+
get filterStartsWithOperator(): string;
|
|
513
546
|
/**
|
|
514
547
|
* The text of the `Contains` (**Contains**) Filter Expression operator.
|
|
515
548
|
*/
|
|
516
|
-
filterContainsOperator: string;
|
|
549
|
+
set filterContainsOperator(value: string);
|
|
550
|
+
get filterContainsOperator(): string;
|
|
517
551
|
/**
|
|
518
552
|
* The text of the `DoesNotContain` (**Does not contain**) Filter Expression operator.
|
|
519
553
|
*/
|
|
520
|
-
filterNotContainsOperator: string;
|
|
554
|
+
set filterNotContainsOperator(value: string);
|
|
555
|
+
get filterNotContainsOperator(): string;
|
|
521
556
|
/**
|
|
522
557
|
* The text of the `EndsWith` (**Ends with**) string Filter Expression operator.
|
|
523
558
|
*/
|
|
524
|
-
filterEndsWithOperator: string;
|
|
559
|
+
set filterEndsWithOperator(value: string);
|
|
560
|
+
get filterEndsWithOperator(): string;
|
|
525
561
|
/**
|
|
526
562
|
* The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric Filter Expression operator.
|
|
527
563
|
*/
|
|
528
|
-
filterGteOperator: string;
|
|
564
|
+
set filterGteOperator(value: string);
|
|
565
|
+
get filterGteOperator(): string;
|
|
529
566
|
/**
|
|
530
567
|
* The text of the `Greater` (**Is greater than**) numeric Filter Expression operator.
|
|
531
568
|
*/
|
|
532
|
-
filterGtOperator: string;
|
|
569
|
+
set filterGtOperator(value: string);
|
|
570
|
+
get filterGtOperator(): string;
|
|
533
571
|
/**
|
|
534
572
|
* The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric Filter Expression operator.
|
|
535
573
|
*/
|
|
536
|
-
filterLteOperator: string;
|
|
574
|
+
set filterLteOperator(value: string);
|
|
575
|
+
get filterLteOperator(): string;
|
|
537
576
|
/**
|
|
538
577
|
* The text of the `Less` (**Is less than**) numeric Filter Expression operator.
|
|
539
578
|
*/
|
|
540
|
-
filterLtOperator: string;
|
|
579
|
+
set filterLtOperator(value: string);
|
|
580
|
+
get filterLtOperator(): string;
|
|
541
581
|
/**
|
|
542
582
|
* The text of the `IsTrue` boolean Filter Expression option.
|
|
543
583
|
*/
|
|
544
|
-
filterIsTrue: string;
|
|
584
|
+
set filterIsTrue(value: string);
|
|
585
|
+
get filterIsTrue(): string;
|
|
545
586
|
/**
|
|
546
587
|
* The text of the `IsFalse` boolean Filter Expression option.
|
|
547
588
|
*/
|
|
548
|
-
filterIsFalse: string;
|
|
589
|
+
set filterIsFalse(value: string);
|
|
590
|
+
get filterIsFalse(): string;
|
|
549
591
|
/**
|
|
550
592
|
* The text of the `(All)` boolean Filter Expression option.
|
|
551
593
|
*/
|
|
552
|
-
filterBooleanAll: string;
|
|
594
|
+
set filterBooleanAll(value: string);
|
|
595
|
+
get filterBooleanAll(): string;
|
|
553
596
|
/**
|
|
554
597
|
* The text of the `AfterOrEqualTo` (**Is after or equal to**) date Filter Expression operator.
|
|
555
598
|
*/
|
|
556
|
-
filterAfterOrEqualOperator: string;
|
|
599
|
+
set filterAfterOrEqualOperator(value: string);
|
|
600
|
+
get filterAfterOrEqualOperator(): string;
|
|
557
601
|
/**
|
|
558
602
|
* The text of the `After` (**Is after**) date Filter Expression operator.
|
|
559
603
|
*/
|
|
560
|
-
filterAfterOperator: string;
|
|
604
|
+
set filterAfterOperator(value: string);
|
|
605
|
+
get filterAfterOperator(): string;
|
|
561
606
|
/**
|
|
562
607
|
* The text of the `Before` (**Is before**) date Filter Expression operator.
|
|
563
608
|
*/
|
|
564
|
-
filterBeforeOperator: string;
|
|
609
|
+
set filterBeforeOperator(value: string);
|
|
610
|
+
get filterBeforeOperator(): string;
|
|
565
611
|
/**
|
|
566
612
|
* The text of the `BeforeOrEqualTo` (**Is before or equal to**) date Filter Expression operator.
|
|
567
613
|
*/
|
|
568
|
-
filterBeforeOrEqualOperator: string;
|
|
614
|
+
set filterBeforeOrEqualOperator(value: string);
|
|
615
|
+
get filterBeforeOrEqualOperator(): string;
|
|
569
616
|
/**
|
|
570
617
|
* The title of the Decrement button of the Filter Expression numeric editor.
|
|
571
618
|
*/
|
|
572
|
-
editorNumericDecrement: string;
|
|
619
|
+
set editorNumericDecrement(value: string);
|
|
620
|
+
get editorNumericDecrement(): string;
|
|
573
621
|
/**
|
|
574
622
|
* The title of the Increment button of the Filter Expression numeric editor.
|
|
575
623
|
*/
|
|
576
|
-
editorNumericIncrement: string;
|
|
624
|
+
set editorNumericIncrement(value: string);
|
|
625
|
+
get editorNumericIncrement(): string;
|
|
577
626
|
/**
|
|
578
627
|
* The text of the Today button of the Filter Expression date editor.
|
|
579
628
|
*/
|
|
580
|
-
editorDateTodayText: string;
|
|
629
|
+
set editorDateTodayText(value: string);
|
|
630
|
+
get editorDateTodayText(): string;
|
|
581
631
|
/**
|
|
582
632
|
* The title of the Toggle button of the Filter Expression date editor.
|
|
583
633
|
*/
|
|
584
|
-
editorDateToggleText: string;
|
|
634
|
+
set editorDateToggleText(value: string);
|
|
635
|
+
get editorDateToggleText(): string;
|
|
585
636
|
/**
|
|
586
637
|
* The text of the filter field aria label.
|
|
587
638
|
*/
|
|
588
|
-
filterFieldAriaLabel: string;
|
|
639
|
+
set filterFieldAriaLabel(value: string);
|
|
640
|
+
get filterFieldAriaLabel(): string;
|
|
589
641
|
/**
|
|
590
642
|
* The text of the filter operator aria label.
|
|
591
643
|
*/
|
|
592
|
-
filterOperatorAriaLabel: string;
|
|
644
|
+
set filterOperatorAriaLabel(value: string);
|
|
645
|
+
get filterOperatorAriaLabel(): string;
|
|
593
646
|
/**
|
|
594
647
|
* The text of the filter value aria label.
|
|
595
648
|
*/
|
|
596
|
-
filterValueAriaLabel: string;
|
|
649
|
+
set filterValueAriaLabel(value: string);
|
|
650
|
+
get filterValueAriaLabel(): string;
|
|
597
651
|
/**
|
|
598
652
|
* The text of the filter row aria label.
|
|
599
653
|
*/
|
|
600
|
-
filterToolbarAriaLabel: string;
|
|
654
|
+
set filterToolbarAriaLabel(value: string);
|
|
655
|
+
get filterToolbarAriaLabel(): string;
|
|
601
656
|
/**
|
|
602
657
|
* The text of the Remove Group button.
|
|
603
658
|
*/
|
|
@@ -605,7 +660,45 @@ declare class Messages extends ComponentMessages {
|
|
|
605
660
|
/**
|
|
606
661
|
* The text of the filter toolbar aria label.
|
|
607
662
|
*/
|
|
608
|
-
filterComponentAriaLabel: string;
|
|
663
|
+
set filterComponentAriaLabel(value: string);
|
|
664
|
+
get filterComponentAriaLabel(): string;
|
|
665
|
+
private _filterExpressionOperators;
|
|
666
|
+
private _filterExpressionFilters;
|
|
667
|
+
private _remove;
|
|
668
|
+
private _addGroup;
|
|
669
|
+
private _addFilter;
|
|
670
|
+
private _filterAndLogic;
|
|
671
|
+
private _filterOrLogic;
|
|
672
|
+
private _filterEqOperator;
|
|
673
|
+
private _filterNotEqOperator;
|
|
674
|
+
private _filterIsNullOperator;
|
|
675
|
+
private _filterIsNotNullOperator;
|
|
676
|
+
private _filterIsEmptyOperator;
|
|
677
|
+
private _filterIsNotEmptyOperator;
|
|
678
|
+
private _filterStartsWithOperator;
|
|
679
|
+
private _filterContainsOperator;
|
|
680
|
+
private _filterNotContainsOperator;
|
|
681
|
+
private _filterEndsWithOperator;
|
|
682
|
+
private _filterGteOperator;
|
|
683
|
+
private _filterGtOperator;
|
|
684
|
+
private _filterLteOperator;
|
|
685
|
+
private _filterLtOperator;
|
|
686
|
+
private _filterIsTrue;
|
|
687
|
+
private _filterIsFalse;
|
|
688
|
+
private _filterBooleanAll;
|
|
689
|
+
private _filterAfterOrEqualOperator;
|
|
690
|
+
private _filterAfterOperator;
|
|
691
|
+
private _filterBeforeOperator;
|
|
692
|
+
private _filterBeforeOrEqualOperator;
|
|
693
|
+
private _editorNumericDecrement;
|
|
694
|
+
private _editorNumericIncrement;
|
|
695
|
+
private _editorDateTodayText;
|
|
696
|
+
private _editorDateToggleText;
|
|
697
|
+
private _filterFieldAriaLabel;
|
|
698
|
+
private _filterOperatorAriaLabel;
|
|
699
|
+
private _filterValueAriaLabel;
|
|
700
|
+
private _filterToolbarAriaLabel;
|
|
701
|
+
private _filterComponentAriaLabel;
|
|
609
702
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
610
703
|
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "[kendoFilterMessages]", never, { "filterExpressionOperators": { "alias": "filterExpressionOperators"; "required": false; }; "filterExpressionFilters": { "alias": "filterExpressionFilters"; "required": false; }; "remove": { "alias": "remove"; "required": false; }; "addGroup": { "alias": "addGroup"; "required": false; }; "addFilter": { "alias": "addFilter"; "required": false; }; "filterAndLogic": { "alias": "filterAndLogic"; "required": false; }; "filterOrLogic": { "alias": "filterOrLogic"; "required": false; }; "filterEqOperator": { "alias": "filterEqOperator"; "required": false; }; "filterNotEqOperator": { "alias": "filterNotEqOperator"; "required": false; }; "filterIsNullOperator": { "alias": "filterIsNullOperator"; "required": false; }; "filterIsNotNullOperator": { "alias": "filterIsNotNullOperator"; "required": false; }; "filterIsEmptyOperator": { "alias": "filterIsEmptyOperator"; "required": false; }; "filterIsNotEmptyOperator": { "alias": "filterIsNotEmptyOperator"; "required": false; }; "filterStartsWithOperator": { "alias": "filterStartsWithOperator"; "required": false; }; "filterContainsOperator": { "alias": "filterContainsOperator"; "required": false; }; "filterNotContainsOperator": { "alias": "filterNotContainsOperator"; "required": false; }; "filterEndsWithOperator": { "alias": "filterEndsWithOperator"; "required": false; }; "filterGteOperator": { "alias": "filterGteOperator"; "required": false; }; "filterGtOperator": { "alias": "filterGtOperator"; "required": false; }; "filterLteOperator": { "alias": "filterLteOperator"; "required": false; }; "filterLtOperator": { "alias": "filterLtOperator"; "required": false; }; "filterIsTrue": { "alias": "filterIsTrue"; "required": false; }; "filterIsFalse": { "alias": "filterIsFalse"; "required": false; }; "filterBooleanAll": { "alias": "filterBooleanAll"; "required": false; }; "filterAfterOrEqualOperator": { "alias": "filterAfterOrEqualOperator"; "required": false; }; "filterAfterOperator": { "alias": "filterAfterOperator"; "required": false; }; "filterBeforeOperator": { "alias": "filterBeforeOperator"; "required": false; }; "filterBeforeOrEqualOperator": { "alias": "filterBeforeOrEqualOperator"; "required": false; }; "editorNumericDecrement": { "alias": "editorNumericDecrement"; "required": false; }; "editorNumericIncrement": { "alias": "editorNumericIncrement"; "required": false; }; "editorDateTodayText": { "alias": "editorDateTodayText"; "required": false; }; "editorDateToggleText": { "alias": "editorDateToggleText"; "required": false; }; "filterFieldAriaLabel": { "alias": "filterFieldAriaLabel"; "required": false; }; "filterOperatorAriaLabel": { "alias": "filterOperatorAriaLabel"; "required": false; }; "filterValueAriaLabel": { "alias": "filterValueAriaLabel"; "required": false; }; "filterToolbarAriaLabel": { "alias": "filterToolbarAriaLabel"; "required": false; }; "removeGroup": { "alias": "removeGroup"; "required": false; }; "filterComponentAriaLabel": { "alias": "filterComponentAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
611
704
|
}
|
|
@@ -698,8 +791,11 @@ declare class FilterModule {
|
|
|
698
791
|
declare class AriaLabelValueDirective {
|
|
699
792
|
private hostElement;
|
|
700
793
|
private renderer;
|
|
701
|
-
|
|
702
|
-
|
|
794
|
+
private injector;
|
|
795
|
+
set ariaLabel(value: string);
|
|
796
|
+
get ariaLabel(): string;
|
|
797
|
+
private _ariaLabel;
|
|
798
|
+
constructor(hostElement: ElementRef, renderer: Renderer2, injector: Injector);
|
|
703
799
|
ngOnInit(): void;
|
|
704
800
|
static ɵfac: i0.ɵɵFactoryDeclaration<AriaLabelValueDirective, never>;
|
|
705
801
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AriaLabelValueDirective, "[kendoAriaLabelValue]", never, { "ariaLabel": { "alias": "kendoAriaLabelValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -710,8 +806,11 @@ declare class AriaLabelValueDirective {
|
|
|
710
806
|
*/
|
|
711
807
|
declare class FilterBooleanEditorComponent {
|
|
712
808
|
private localization;
|
|
713
|
-
|
|
809
|
+
private cdr;
|
|
810
|
+
set currentItem(value: FilterDescriptor);
|
|
811
|
+
get currentItem(): FilterDescriptor;
|
|
714
812
|
valueChange: EventEmitter<void>;
|
|
813
|
+
private _currentItem;
|
|
715
814
|
get items(): {
|
|
716
815
|
text: string;
|
|
717
816
|
value: boolean | null;
|
|
@@ -720,7 +819,7 @@ declare class FilterBooleanEditorComponent {
|
|
|
720
819
|
text: string;
|
|
721
820
|
value: boolean | null;
|
|
722
821
|
};
|
|
723
|
-
constructor(localization: LocalizationService);
|
|
822
|
+
constructor(localization: LocalizationService, cdr: ChangeDetectorRef);
|
|
724
823
|
messageFor(key: string): string;
|
|
725
824
|
getBooleanText(value: boolean | null): string;
|
|
726
825
|
onValueChange(value: boolean | null): void;
|
|
@@ -733,10 +832,16 @@ declare class FilterBooleanEditorComponent {
|
|
|
733
832
|
*/
|
|
734
833
|
declare class FilterDateEditorComponent {
|
|
735
834
|
private localization;
|
|
736
|
-
currentItem: FilterDescriptor;
|
|
737
|
-
|
|
738
|
-
|
|
835
|
+
set currentItem(value: FilterDescriptor);
|
|
836
|
+
get currentItem(): FilterDescriptor;
|
|
837
|
+
set isDisabled(value: boolean);
|
|
838
|
+
get isDisabled(): boolean;
|
|
839
|
+
set format(value: string | FormatSettings);
|
|
840
|
+
get format(): string | FormatSettings;
|
|
739
841
|
valueChange: EventEmitter<void>;
|
|
842
|
+
private _currentItem;
|
|
843
|
+
private _isDisabled;
|
|
844
|
+
private _format;
|
|
740
845
|
constructor(localization: LocalizationService);
|
|
741
846
|
messageFor(key: string): string;
|
|
742
847
|
onValueChange(value: Date): void;
|
|
@@ -749,10 +854,16 @@ declare class FilterDateEditorComponent {
|
|
|
749
854
|
*/
|
|
750
855
|
declare class FilterNumericEditorComponent {
|
|
751
856
|
private localization;
|
|
752
|
-
currentItem: FilterDescriptor;
|
|
753
|
-
|
|
754
|
-
|
|
857
|
+
set currentItem(value: FilterDescriptor);
|
|
858
|
+
get currentItem(): FilterDescriptor;
|
|
859
|
+
set isDisabled(value: boolean);
|
|
860
|
+
get isDisabled(): boolean;
|
|
861
|
+
set format(value: string | NumberFormatOptions);
|
|
862
|
+
get format(): string | NumberFormatOptions;
|
|
755
863
|
valueChange: EventEmitter<void>;
|
|
864
|
+
private _currentItem;
|
|
865
|
+
private _isDisabled;
|
|
866
|
+
private _format;
|
|
756
867
|
constructor(localization: LocalizationService);
|
|
757
868
|
messageFor(key: string): string;
|
|
758
869
|
onValueChange(value: number): void;
|
|
@@ -765,9 +876,13 @@ declare class FilterNumericEditorComponent {
|
|
|
765
876
|
*/
|
|
766
877
|
declare class FilterTextEditorComponent {
|
|
767
878
|
private localization;
|
|
768
|
-
currentItem: FilterDescriptor;
|
|
769
|
-
|
|
879
|
+
set currentItem(value: FilterDescriptor);
|
|
880
|
+
get currentItem(): FilterDescriptor;
|
|
881
|
+
set isDisabled(value: boolean);
|
|
882
|
+
get isDisabled(): boolean;
|
|
770
883
|
valueChange: EventEmitter<void>;
|
|
884
|
+
private _currentItem;
|
|
885
|
+
private _isDisabled;
|
|
771
886
|
constructor(localization: LocalizationService);
|
|
772
887
|
messageFor(key: string): string;
|
|
773
888
|
onValueChange(value: string): void;
|
|
@@ -780,14 +895,25 @@ declare class FilterTextEditorComponent {
|
|
|
780
895
|
*/
|
|
781
896
|
declare class FilterExpressionOperatorsComponent {
|
|
782
897
|
private localization;
|
|
783
|
-
currentItem: FilterDescriptor;
|
|
784
|
-
|
|
898
|
+
set currentItem(value: FilterDescriptor);
|
|
899
|
+
get currentItem(): FilterDescriptor;
|
|
900
|
+
set editorType(value: FilterEditor);
|
|
901
|
+
get editorType(): FilterEditor;
|
|
785
902
|
valueChange: EventEmitter<FilterOperator>;
|
|
786
|
-
operators: {
|
|
903
|
+
set operators(value: {
|
|
904
|
+
text: string;
|
|
905
|
+
value: string;
|
|
906
|
+
}[]);
|
|
907
|
+
get operators(): {
|
|
787
908
|
text: string;
|
|
788
909
|
value: string;
|
|
789
910
|
}[];
|
|
790
|
-
operatorTemplate: TemplateRef<any
|
|
911
|
+
set operatorTemplate(value: TemplateRef<any>);
|
|
912
|
+
get operatorTemplate(): TemplateRef<any>;
|
|
913
|
+
private _currentItem;
|
|
914
|
+
private _editorType;
|
|
915
|
+
private _operators;
|
|
916
|
+
private _operatorTemplate;
|
|
791
917
|
constructor(localization: LocalizationService);
|
|
792
918
|
messageFor(key: string): string;
|
|
793
919
|
getOperator(operatorValue: FilterOperator): string;
|
|
@@ -801,28 +927,44 @@ declare class FilterExpressionOperatorsComponent {
|
|
|
801
927
|
*/
|
|
802
928
|
declare class FilterExpressionComponent extends BaseFilterRowComponent implements OnInit, DoCheck {
|
|
803
929
|
private filterService;
|
|
930
|
+
private cdr;
|
|
804
931
|
/**
|
|
805
932
|
* @hidden
|
|
806
933
|
*/
|
|
807
934
|
xIcon: SVGIcon;
|
|
808
935
|
static ngAcceptInputType_currentItem: FilterDescriptor | CompositeFilterDescriptor;
|
|
809
|
-
currentItem: FilterDescriptor;
|
|
810
|
-
|
|
811
|
-
|
|
936
|
+
set currentItem(value: FilterDescriptor);
|
|
937
|
+
get currentItem(): FilterDescriptor;
|
|
938
|
+
set operators(v: any[]);
|
|
939
|
+
get operators(): any[];
|
|
940
|
+
set isBoolean(v: boolean);
|
|
941
|
+
get isBoolean(): boolean;
|
|
812
942
|
editorType: FilterEditor;
|
|
813
|
-
isEditorDisabled: boolean;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
943
|
+
set isEditorDisabled(v: boolean);
|
|
944
|
+
get isEditorDisabled(): boolean;
|
|
945
|
+
set editorTemplate(v: TemplateRef<any>);
|
|
946
|
+
get editorTemplate(): TemplateRef<any>;
|
|
947
|
+
set operatorTemplate(v: TemplateRef<any>);
|
|
948
|
+
get operatorTemplate(): TemplateRef<any>;
|
|
949
|
+
set editorFormat(v: string | DateFormat | NumberFormat);
|
|
950
|
+
get editorFormat(): string | DateFormat | NumberFormat;
|
|
817
951
|
get availableFilters(): FilterExpression[];
|
|
818
|
-
private _previousField;
|
|
819
952
|
get fieldTemplate(): TemplateRef<any>;
|
|
820
953
|
private get currentFilterExpression();
|
|
821
954
|
get numericEditorFormat(): string | NumberFormat;
|
|
822
955
|
get dateEditorFormat(): string | DateFormat;
|
|
956
|
+
private _previousField;
|
|
957
|
+
private _initialized;
|
|
958
|
+
private _currentItem;
|
|
959
|
+
private _operators;
|
|
960
|
+
private _isBoolean;
|
|
961
|
+
private _isEditorDisabled;
|
|
962
|
+
private _editorTemplate;
|
|
963
|
+
private _operatorTemplate;
|
|
964
|
+
private _editorFormat;
|
|
823
965
|
private isNumberFormat;
|
|
824
966
|
private isDateFormat;
|
|
825
|
-
constructor(filterService: FilterService, element: ElementRef, navigationService: NavigationService, localization: LocalizationService, renderer: Renderer2);
|
|
967
|
+
constructor(filterService: FilterService, element: ElementRef, navigationService: NavigationService, localization: LocalizationService, renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
826
968
|
ngDoCheck(): void;
|
|
827
969
|
ngOnInit(): void;
|
|
828
970
|
normalizeOperators(filterEditor: FilterEditor, operators: FilterOperator[]): {
|
|
@@ -831,6 +973,7 @@ declare class FilterExpressionComponent extends BaseFilterRowComponent implement
|
|
|
831
973
|
}[];
|
|
832
974
|
getFilterExpressionByField(name: string): FilterExpression | null;
|
|
833
975
|
filterValueChange(value: string): void;
|
|
976
|
+
private applyFieldChange;
|
|
834
977
|
protected getDefaultOperators(operatorsType: FilterEditor): {
|
|
835
978
|
text: string;
|
|
836
979
|
value: string;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.1.0-develop.
|
|
10
|
+
"publishDate": 1787052859,
|
|
11
|
+
"version": "25.1.0-develop.4",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-filter",
|
|
3
|
-
"version": "25.1.0-develop.
|
|
3
|
+
"version": "25.1.0-develop.4",
|
|
4
4
|
"description": "Kendo UI Angular Filter",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"package": {
|
|
33
33
|
"productName": "Kendo UI for Angular",
|
|
34
34
|
"productCode": "KENDOUIANGULAR",
|
|
35
|
-
"publishDate":
|
|
35
|
+
"publishDate": 1787052859,
|
|
36
36
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
"@angular/platform-browser": "20 - 22",
|
|
44
44
|
"@progress/kendo-data-query": "^1.7.3",
|
|
45
45
|
"@progress/kendo-licensing": "^1.11.0",
|
|
46
|
-
"@progress/kendo-angular-buttons": "25.1.0-develop.
|
|
47
|
-
"@progress/kendo-angular-common": "25.1.0-develop.
|
|
48
|
-
"@progress/kendo-angular-dateinputs": "25.1.0-develop.
|
|
49
|
-
"@progress/kendo-angular-dropdowns": "25.1.0-develop.
|
|
50
|
-
"@progress/kendo-angular-inputs": "25.1.0-develop.
|
|
51
|
-
"@progress/kendo-angular-intl": "25.1.0-develop.
|
|
52
|
-
"@progress/kendo-angular-l10n": "25.1.0-develop.
|
|
53
|
-
"@progress/kendo-angular-icons": "25.1.0-develop.
|
|
54
|
-
"@progress/kendo-angular-label": "25.1.0-develop.
|
|
46
|
+
"@progress/kendo-angular-buttons": "25.1.0-develop.4",
|
|
47
|
+
"@progress/kendo-angular-common": "25.1.0-develop.4",
|
|
48
|
+
"@progress/kendo-angular-dateinputs": "25.1.0-develop.4",
|
|
49
|
+
"@progress/kendo-angular-dropdowns": "25.1.0-develop.4",
|
|
50
|
+
"@progress/kendo-angular-inputs": "25.1.0-develop.4",
|
|
51
|
+
"@progress/kendo-angular-intl": "25.1.0-develop.4",
|
|
52
|
+
"@progress/kendo-angular-l10n": "25.1.0-develop.4",
|
|
53
|
+
"@progress/kendo-angular-icons": "25.1.0-develop.4",
|
|
54
|
+
"@progress/kendo-angular-label": "25.1.0-develop.4",
|
|
55
55
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"tslib": "^2.3.1",
|
|
59
|
-
"@progress/kendo-angular-schematics": "25.1.0-develop.
|
|
59
|
+
"@progress/kendo-angular-schematics": "25.1.0-develop.4"
|
|
60
60
|
},
|
|
61
61
|
"schematics": "./schematics/collection.json",
|
|
62
62
|
"module": "fesm2022/progress-kendo-angular-filter.mjs",
|
|
@@ -9,12 +9,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'FilterModule', package: 'filter', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '25.1.0-develop.
|
|
13
|
-
'@progress/kendo-angular-popup': '25.1.0-develop.
|
|
14
|
-
'@progress/kendo-angular-navigation': '25.1.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.1.0-develop.4',
|
|
13
|
+
'@progress/kendo-angular-popup': '25.1.0-develop.4',
|
|
14
|
+
'@progress/kendo-angular-navigation': '25.1.0-develop.4',
|
|
15
15
|
// peer dependency of kendo-angular-inputs
|
|
16
16
|
'@progress/kendo-drawing': '^1.16.0',
|
|
17
|
-
'@progress/kendo-angular-dialog': '25.1.0-develop.
|
|
17
|
+
'@progress/kendo-angular-dialog': '25.1.0-develop.4',
|
|
18
18
|
// Peer dependency of icons
|
|
19
19
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
20
20
|
} });
|