@progress/kendo-angular-treelist 19.1.2-develop.4 → 19.1.2-develop.5
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/binding-directives/base-binding.directive.d.ts +6 -3
- package/binding-directives/flat-binding.directive.d.ts +7 -8
- package/binding-directives/hierarchy-binding.directive.d.ts +13 -6
- package/column-menu/column-chooser.component.d.ts +5 -8
- package/column-menu/column-locked-change-event.d.ts +4 -2
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -5
- package/column-menu/column-menu-autosize.component.d.ts +5 -7
- package/column-menu/column-menu-chooser.component.d.ts +15 -6
- package/column-menu/column-menu-expandable-item.interface.d.ts +4 -3
- package/column-menu/column-menu-filter.component.d.ts +14 -4
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +3 -5
- package/column-menu/column-menu-item.component.d.ts +7 -10
- package/column-menu/column-menu-item.directive.d.ts +23 -1
- package/column-menu/column-menu-lock.component.d.ts +14 -4
- package/column-menu/column-menu-settings.interface.d.ts +5 -5
- package/column-menu/column-menu-sort.component.d.ts +12 -2
- package/column-menu/column-menu-template.directive.d.ts +3 -5
- package/column-menu/column-menu.component.d.ts +14 -2
- package/column-menu/column-menu.service.d.ts +1 -2
- package/column-menu/column-visibility-change-event.d.ts +2 -2
- package/column-resizing/column-resize.interface.d.ts +3 -2
- package/columns/checkbox-column.component.d.ts +16 -4
- package/columns/column-base.d.ts +15 -28
- package/columns/column-group.component.d.ts +1 -2
- package/columns/column.component.d.ts +22 -18
- package/columns/command-column.component.d.ts +3 -4
- package/columns/rowreorder-column.component.d.ts +9 -1
- package/columns/sort-settings.d.ts +5 -23
- package/columns/span-column.component.d.ts +11 -16
- package/common/cell-click-event-args.interface.d.ts +4 -3
- package/common/create-form-group.d.ts +2 -1
- package/common/pager-settings.d.ts +7 -8
- package/common/remove-confirmation.d.ts +1 -1
- package/common/single-popup.service.d.ts +7 -6
- package/data/change-event-args.interface.d.ts +6 -7
- package/data/data-item.interface.d.ts +5 -5
- package/data/data.collection.d.ts +4 -3
- package/data/treelist-item.interface.d.ts +2 -2
- package/directives.d.ts +10 -9
- package/dragdrop/column-reorder-config.d.ts +3 -2
- package/dragdrop/column-reorder-event.d.ts +4 -6
- package/editing/add-command-tool.directive.d.ts +9 -12
- package/editing/add-command.directive.d.ts +5 -9
- package/editing/add-event-args.interface.d.ts +3 -2
- package/editing/cancel-command.directive.d.ts +5 -8
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/cell-close-event.d.ts +5 -5
- package/editing/edit-command.directive.d.ts +5 -9
- package/editing/edit-event-args.interface.d.ts +4 -3
- package/editing/edit-template.directive.d.ts +2 -4
- package/editing/remove-command.directive.d.ts +5 -8
- package/editing/remove-event-args.interface.d.ts +3 -2
- package/editing/save-command.directive.d.ts +5 -8
- package/editing/save-event-args.interface.d.ts +4 -3
- package/editing-directives/create-form-group-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +13 -5
- package/editing-directives/editing-directive-base.d.ts +3 -3
- package/editing-directives/in-cell-editing.directive.d.ts +12 -2
- package/editing-directives/reactive-editing.directive.d.ts +12 -2
- package/editing-directives/template-editing.directive.d.ts +13 -3
- package/esm2022/binding-directives/base-binding.directive.mjs +6 -3
- package/esm2022/binding-directives/flat-binding.directive.mjs +7 -8
- package/esm2022/binding-directives/hierarchy-binding.directive.mjs +13 -6
- package/esm2022/column-menu/column-chooser.component.mjs +5 -8
- package/esm2022/column-menu/column-locked-change-event.mjs +4 -2
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +3 -5
- package/esm2022/column-menu/column-menu-autosize.component.mjs +5 -7
- package/esm2022/column-menu/column-menu-chooser.component.mjs +15 -6
- package/esm2022/column-menu/column-menu-filter.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-item-base.mjs +1 -1
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu-item.component.mjs +7 -10
- package/esm2022/column-menu/column-menu-item.directive.mjs +23 -1
- package/esm2022/column-menu/column-menu-lock.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-sort.component.mjs +12 -2
- package/esm2022/column-menu/column-menu-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu.component.mjs +14 -2
- package/esm2022/column-menu/column-menu.service.mjs +1 -2
- package/esm2022/column-menu/column-visibility-change-event.mjs +2 -2
- package/esm2022/columns/checkbox-column.component.mjs +16 -4
- package/esm2022/columns/column-base.mjs +15 -28
- package/esm2022/columns/column-group.component.mjs +1 -2
- package/esm2022/columns/column.component.mjs +22 -18
- package/esm2022/columns/command-column.component.mjs +3 -4
- package/esm2022/columns/rowreorder-column.component.mjs +9 -1
- package/esm2022/columns/span-column.component.mjs +11 -16
- package/esm2022/common/single-popup.service.mjs +7 -6
- package/esm2022/directives.mjs +10 -9
- package/esm2022/dragdrop/column-reorder-event.mjs +4 -6
- package/esm2022/editing/add-command-tool.directive.mjs +9 -12
- package/esm2022/editing/add-command.directive.mjs +5 -9
- package/esm2022/editing/cancel-command.directive.mjs +5 -8
- package/esm2022/editing/cell-close-event.mjs +5 -5
- package/esm2022/editing/edit-command.directive.mjs +5 -9
- package/esm2022/editing/edit-template.directive.mjs +2 -4
- package/esm2022/editing/remove-command.directive.mjs +5 -8
- package/esm2022/editing/save-command.directive.mjs +5 -8
- package/esm2022/editing-directives/editing-directive-base.mjs +3 -3
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/reactive-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/template-editing.directive.mjs +13 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +9 -11
- package/esm2022/excel/excel-command.directive.mjs +3 -7
- package/esm2022/excel/excel.component.mjs +22 -16
- package/esm2022/excel/excel.module.mjs +2 -2
- package/esm2022/expand-state/expand-event.mjs +3 -3
- package/esm2022/expand-state/expandable.directive.mjs +8 -5
- package/esm2022/filtering/base-filter-cell.component.mjs +3 -1
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -0
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +5 -3
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +2 -1
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +18 -3
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +7 -5
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +7 -7
- package/esm2022/filtering/date-filter.component.mjs +8 -3
- package/esm2022/filtering/filter.service.mjs +2 -4
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +3 -3
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -3
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +18 -2
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +9 -5
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +6 -4
- package/esm2022/filtering/numeric-filter.component.mjs +3 -3
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/filter-operator.base.mjs +1 -1
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/string-filter.component.mjs +1 -1
- package/esm2022/localization/custom-messages.component.mjs +11 -2
- package/esm2022/navigation/focusable.directive.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +11 -9
- package/esm2022/pdf/pdf-command.directive.mjs +2 -2
- package/esm2022/pdf/pdf-export-event.mjs +3 -1
- package/esm2022/pdf/pdf-margin.component.mjs +10 -5
- package/esm2022/pdf/pdf-template.directive.mjs +2 -2
- package/esm2022/pdf/pdf.component.mjs +12 -2
- package/esm2022/pdf/pdf.module.mjs +6 -6
- package/esm2022/rendering/cell-template.directive.mjs +8 -9
- package/esm2022/rendering/common/spacer.component.mjs +16 -5
- package/esm2022/rendering/footer-template.directive.mjs +10 -12
- package/esm2022/rendering/header/header-template.directive.mjs +4 -4
- package/esm2022/rendering/no-records-template.directive.mjs +2 -2
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +13 -2
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +4 -6
- package/esm2022/selection/selectable.directive.mjs +12 -0
- package/esm2022/selection/selection-change-event.mjs +1 -1
- package/esm2022/treelist.component.mjs +145 -109
- package/esm2022/treelist.module.mjs +6 -8
- package/esm2022/utils.mjs +1 -1
- package/excel/excel-command-tool.directive.d.ts +9 -11
- package/excel/excel-command.directive.d.ts +3 -7
- package/excel/excel-export-data.interface.d.ts +4 -4
- package/excel/excel.component.d.ts +22 -16
- package/excel/excel.module.d.ts +2 -2
- package/expand-state/expand-event.d.ts +3 -3
- package/expand-state/expandable-tree-component.d.ts +4 -6
- package/expand-state/expandable.directive.d.ts +8 -5
- package/fesm2022/progress-kendo-angular-treelist.mjs +1470 -574
- package/filtering/base-filter-cell.component.d.ts +3 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -0
- package/filtering/cell/date-filter-cell.component.d.ts +5 -3
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -1
- package/filtering/cell/filter-cell-template.directive.d.ts +18 -3
- package/filtering/cell/numeric-filter-cell.component.d.ts +7 -5
- package/filtering/cell/string-filter-cell.component.d.ts +7 -7
- package/filtering/date-filter.component.d.ts +8 -3
- package/filtering/filter.service.d.ts +2 -4
- package/filtering/filterable.d.ts +3 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -3
- package/filtering/menu/date-filter-menu.component.d.ts +6 -3
- package/filtering/menu/filter-menu-template.directive.d.ts +18 -2
- package/filtering/menu/numeric-filter-menu.component.d.ts +9 -5
- package/filtering/menu/string-filter-menu.component.d.ts +6 -4
- package/filtering/numeric-filter.component.d.ts +3 -3
- package/filtering/operators/after-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/after-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-filter-operator.component.d.ts +27 -1
- package/filtering/operators/contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/ends-with-filter-operator.component.d.ts +28 -1
- package/filtering/operators/eq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/operators/gt-filter-operator.component.d.ts +30 -0
- package/filtering/operators/gte-filter-operator.component.d.ts +27 -1
- package/filtering/operators/is-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +76 -1
- package/filtering/operators/isnull-filter-operator.component.d.ts +76 -1
- package/filtering/operators/lt-filter-operator.component.d.ts +27 -1
- package/filtering/operators/lte-filter-operator.component.d.ts +30 -0
- package/filtering/operators/neq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/not-contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/starts-with-filter-operator.component.d.ts +28 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +11 -2
- package/navigation/focusable-element.interface.d.ts +7 -11
- package/navigation/focusable.directive.d.ts +4 -4
- package/navigation/navigation-cell.interface.d.ts +5 -5
- package/navigation/navigation-row.interface.d.ts +4 -5
- package/package.json +18 -18
- package/pdf/pdf-command-tool.directive.d.ts +11 -9
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf-export-event.d.ts +3 -1
- package/pdf/pdf-margin.component.d.ts +10 -5
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf-template.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +12 -2
- package/pdf/pdf.module.d.ts +6 -6
- package/rendering/cell-template.directive.d.ts +8 -9
- package/rendering/common/row-class.d.ts +4 -7
- package/rendering/common/spacer.component.d.ts +16 -5
- package/rendering/footer-template.directive.d.ts +10 -12
- package/rendering/header/header-template.directive.d.ts +4 -4
- package/rendering/no-records-template.directive.d.ts +2 -2
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +13 -2
- package/rendering/toolbar/toolbar-template.directive.d.ts +4 -6
- package/row-reordering/types.d.ts +4 -1
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +2 -0
- package/scrolling/scroll-bottom-event.d.ts +2 -0
- package/scrolling/scroll-request.service.d.ts +3 -3
- package/scrolling/scrollmode.d.ts +3 -3
- package/selection/is-selected.d.ts +5 -4
- package/selection/selectable-settings.d.ts +6 -6
- package/selection/selectable.directive.d.ts +12 -0
- package/selection/selection-change-event.d.ts +2 -2
- package/treelist.component.d.ts +143 -107
- package/treelist.module.d.ts +6 -8
@@ -15,7 +15,7 @@ import { MenuTabbingService } from './menu-tabbing.service';
|
|
15
15
|
import * as i0 from "@angular/core";
|
16
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
17
17
|
/**
|
18
|
-
* Represents
|
18
|
+
* Represents the Kendo UI Boolean-filter menu component for Angular TreeList. Use this component to filter boolean fields in the TreeList. [See example](slug:filter_menu_treelist#toc-built-in-filter-menu-components).
|
19
19
|
*
|
20
20
|
* @example
|
21
21
|
* ```html
|
@@ -28,7 +28,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
28
28
|
* </kendo-treelist-boolean-filter-menu>
|
29
29
|
* </ng-template>
|
30
30
|
* </kendo-treelist-column>
|
31
|
-
*
|
31
|
+
* ```
|
32
32
|
*/
|
33
33
|
export class BooleanFilterMenuComponent extends BooleanFilterComponent {
|
34
34
|
/**
|
@@ -44,7 +44,7 @@ export class BooleanFilterMenuComponent extends BooleanFilterComponent {
|
|
44
44
|
*/
|
45
45
|
filter = { filters: [], logic: "and" };
|
46
46
|
/**
|
47
|
-
* The `FilterService` instance
|
47
|
+
* The `FilterService` instance that handles changes in the filter descriptor.
|
48
48
|
*/
|
49
49
|
filterService;
|
50
50
|
/**
|
@@ -16,7 +16,7 @@ import { replaceMessagePlaceholder } from '../../utils';
|
|
16
16
|
import * as i0 from "@angular/core";
|
17
17
|
import * as i1 from "@progress/kendo-angular-l10n";
|
18
18
|
/**
|
19
|
-
* Represents
|
19
|
+
* Represents the Kendo UI date-filter menu component for Angular TreeList. Use this component to filter date fields in the TreeList. [See example](slug:filter_menu_treelist#toc-built-in-filter-menu-components).
|
20
20
|
*
|
21
21
|
* @example
|
22
22
|
* ```html
|
@@ -30,6 +30,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
30
30
|
* </ng-template>
|
31
31
|
* </kendo-treelist-column>
|
32
32
|
* ```
|
33
|
+
* @remarks
|
34
|
+
* Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link AfterEqFilterOperatorComponent}, {@link AfterFilterOperatorComponent}, {@link BeforeEqFilterOperatorComponent}, {@link BeforeFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}.
|
33
35
|
*/
|
34
36
|
export class DateFilterMenuComponent extends DateFilterComponent {
|
35
37
|
logicOperators = logicOperators(this.localization);
|
@@ -45,12 +47,13 @@ export class DateFilterMenuComponent extends DateFilterComponent {
|
|
45
47
|
*/
|
46
48
|
filter = { filters: [], logic: "and" };
|
47
49
|
/**
|
48
|
-
* Determines if the inputs of second criteria
|
50
|
+
* Determines if the inputs of second criteria are displayed.
|
51
|
+
* @type {boolean}
|
49
52
|
* @default true
|
50
53
|
*/
|
51
54
|
extra = true;
|
52
55
|
/**
|
53
|
-
* The `FilterService` instance
|
56
|
+
* The `FilterService` instance that handles changes in the filter descriptor.
|
54
57
|
*/
|
55
58
|
filterService;
|
56
59
|
/**
|
@@ -5,8 +5,24 @@
|
|
5
5
|
import { Directive, TemplateRef, Optional } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents the filter-menu template
|
9
|
-
*
|
8
|
+
* Represents the filter-menu template for the TreeList filter menu.
|
9
|
+
*
|
10
|
+
* Use this directive to provide a custom template for the filter menu in a TreeList column
|
11
|
+
* ([see example](slug:filter_menu_treelist#toc-custom-filter-menu-components)).
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* ```html
|
15
|
+
* <kendo-treelist-column field="title" title="Title" [width]="180">
|
16
|
+
* <ng-template kendoTreeListFilterMenuTemplate
|
17
|
+
* let-filter="filter"
|
18
|
+
* let-filterService="filterService">
|
19
|
+
* <my-custom-filter-menu-component
|
20
|
+
* [currentFilter]="filter"
|
21
|
+
* [filterService]="filterService">
|
22
|
+
* </my-custom-filter-menu-component>
|
23
|
+
* </ng-template>
|
24
|
+
* </kendo-treelist-column>
|
25
|
+
* ```
|
10
26
|
*/
|
11
27
|
export class FilterMenuTemplateDirective {
|
12
28
|
templateRef;
|
@@ -16,10 +16,11 @@ import { FilterMenuDropDownListDirective } from './filter-menu-dropdownlist.dire
|
|
16
16
|
import * as i0 from "@angular/core";
|
17
17
|
import * as i1 from "@progress/kendo-angular-l10n";
|
18
18
|
/**
|
19
|
-
* Represents
|
19
|
+
* Represents the Kendo UI numeric-filter menu component for the TreeList. Use this component to filter numeric values using a filter menu popup.
|
20
|
+
* [See example](slug:filter_menu_treelist#toc-built-in-filter-menu-components).
|
20
21
|
*
|
21
22
|
* @example
|
22
|
-
*
|
23
|
+
* ```html
|
23
24
|
* <kendo-treelist-column field="UnitPrice">
|
24
25
|
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
25
26
|
* <kendo-treelist-numeric-filter-menu
|
@@ -30,6 +31,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
30
31
|
* </ng-template>
|
31
32
|
* </kendo-treelist-column>
|
32
33
|
* ```
|
34
|
+
* @remarks
|
35
|
+
* Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link GreaterFilterOperatorComponent}, {@link GreaterOrEqualToFilterOperatorComponent}, {@link LessFilterOperatorComponent}, {@link LessOrEqualToFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}.
|
33
36
|
*/
|
34
37
|
export class NumericFilterMenuComponent extends NumericFilterComponent {
|
35
38
|
logicOperators = logicOperators(this.localization);
|
@@ -45,7 +48,7 @@ export class NumericFilterMenuComponent extends NumericFilterComponent {
|
|
45
48
|
*/
|
46
49
|
filter = { filters: [], logic: "and" };
|
47
50
|
/**
|
48
|
-
* Determines if the inputs of second criteria
|
51
|
+
* Determines if the inputs of second criteria are displayed.
|
49
52
|
* @default true
|
50
53
|
*/
|
51
54
|
extra = true;
|
@@ -54,19 +57,20 @@ export class NumericFilterMenuComponent extends NumericFilterComponent {
|
|
54
57
|
*/
|
55
58
|
filterService;
|
56
59
|
/**
|
57
|
-
* Determines the delay (in milliseconds) before creating a filter descriptor based on the value. A value of 0 indicates no delay.
|
58
|
-
*
|
60
|
+
* Determines the delay (in milliseconds) before creating a filter descriptor based on the value. A value of 0 indicates no delay.
|
59
61
|
* @default 500
|
60
62
|
*/
|
61
63
|
filterDelay = 500;
|
62
64
|
/**
|
63
65
|
* The placeholder text for the filter input.
|
64
66
|
* @type {string}
|
67
|
+
* @default ''
|
65
68
|
*/
|
66
69
|
placeholder = '';
|
67
70
|
/**
|
68
71
|
* The placeholder text for the extra filter input. Applies when `extra` is set to `true`.
|
69
72
|
* @type {string}
|
73
|
+
* @default ''
|
70
74
|
*/
|
71
75
|
extraPlaceholder = '';
|
72
76
|
/**
|
@@ -15,7 +15,7 @@ import { replaceMessagePlaceholder } from '../../utils';
|
|
15
15
|
import * as i0 from "@angular/core";
|
16
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
17
17
|
/**
|
18
|
-
* Represents
|
18
|
+
* Represents the Kendo UI string-filter menu component for the TreeList. Use this component to filter string values using a filter menu popup.
|
19
19
|
* [See example](slug:filter_menu_treelist#toc-built-in-filter-menu-components).
|
20
20
|
*
|
21
21
|
* @example
|
@@ -30,7 +30,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
30
30
|
* </ng-template>
|
31
31
|
* </kendo-treelist-column>
|
32
32
|
* ```
|
33
|
-
*
|
33
|
+
* @remarks
|
34
|
+
* Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link ContainsFilterOperatorComponent}, {@link DoesNotContainFilterOperatorComponent}, {@link StartsWithFilterOperatorComponent}, {@link EndsWithFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}, {@link IsEmptyFilterOperatorComponent}, {@link IsNotEmptyFilterOperatorComponent}.
|
34
35
|
*/
|
35
36
|
export class StringFilterMenuComponent extends StringFilterComponent {
|
36
37
|
logicOperators = logicOperators(this.localization);
|
@@ -46,12 +47,13 @@ export class StringFilterMenuComponent extends StringFilterComponent {
|
|
46
47
|
*/
|
47
48
|
filter = { filters: [], logic: "and" };
|
48
49
|
/**
|
49
|
-
* Determines if the inputs
|
50
|
+
* Determines if the inputs for a second criteria are displayed.
|
51
|
+
* @type {boolean}
|
50
52
|
* @default true
|
51
53
|
*/
|
52
54
|
extra = true;
|
53
55
|
/**
|
54
|
-
* The `FilterService` instance
|
56
|
+
* The `FilterService` instance responsible for handling changes in the filter descriptor.
|
55
57
|
*/
|
56
58
|
filterService;
|
57
59
|
/**
|
@@ -23,7 +23,7 @@ const numericOperators = localizeOperators({
|
|
23
23
|
"filterIsNotNullOperator": "isnotnull"
|
24
24
|
});
|
25
25
|
/**
|
26
|
-
* Represents a base numeric filter component.
|
26
|
+
* Represents a base numeric filter component for the TreeList.
|
27
27
|
*/
|
28
28
|
export class NumericFilterComponent extends BaseFilterCellComponent {
|
29
29
|
localization;
|
@@ -40,7 +40,7 @@ export class NumericFilterComponent extends BaseFilterCellComponent {
|
|
40
40
|
operator = "eq";
|
41
41
|
/**
|
42
42
|
* Specifies the value that is used to increment or decrement the component value.
|
43
|
-
* @type {
|
43
|
+
* @type {number}
|
44
44
|
* @default 1
|
45
45
|
*/
|
46
46
|
step = 1;
|
@@ -63,13 +63,13 @@ export class NumericFilterComponent extends BaseFilterCellComponent {
|
|
63
63
|
/**
|
64
64
|
* Specifies the number precision applied to the component value when it is focused.
|
65
65
|
* If the user enters a number with a greater precision than is currently configured, the component value is rounded.
|
66
|
-
*
|
67
66
|
* @type {number}
|
68
67
|
*/
|
69
68
|
decimals;
|
70
69
|
/**
|
71
70
|
* Specifies the number format used when the component is not focused.
|
72
71
|
* By default, the `column.format` value is used (if set).
|
72
|
+
* @type {string}
|
73
73
|
*/
|
74
74
|
get format() {
|
75
75
|
return !isNullOrEmptyString(this._format) ? this._format : this.columnFormat;
|
@@ -8,8 +8,34 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter](slug:filtering_treelist#toc-date-filter)
|
11
|
+
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter operator](slug:filtering_treelist#toc-date-filter) for the TreeList.
|
12
|
+
* Use this operator to filter dates that are after or equal to a specific value.
|
12
13
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html Filter Cell
|
17
|
+
* <kendo-treelist-column field="hireDate">
|
18
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
19
|
+
* <kendo-treelist-date-filter-cell
|
20
|
+
* [column]="column"
|
21
|
+
* [filter]="filter">
|
22
|
+
* <kendo-treelist-filter-after-eq-operator></kendo-treelist-filter-after-eq-operator>
|
23
|
+
* </kendo-treelist-date-filter-cell>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* ```
|
27
|
+
* ```html Filter Menu
|
28
|
+
* <kendo-treelist-column field="hireDate">
|
29
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
30
|
+
* <kendo-treelist-date-filter-menu
|
31
|
+
* [column]="column"
|
32
|
+
* [filter]="filter"
|
33
|
+
* [filterService]="filterService">
|
34
|
+
* <kendo-treelist-filter-after-eq-operator></kendo-treelist-filter-after-eq-operator>
|
35
|
+
* </kendo-treelist-date-filter-menu>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
13
39
|
*/
|
14
40
|
export class AfterEqFilterOperatorComponent extends FilterOperatorBase {
|
15
41
|
constructor(localization) { super('after-eq', localization); }
|
@@ -8,8 +8,34 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `Greater` (**Is after**) [date filter](slug:filtering_treelist#toc-date-filter)
|
11
|
+
* Represents the `Greater` (**Is after**) [date filter operator](slug:filtering_treelist#toc-date-filter) for the TreeList.
|
12
|
+
* Use this operator to filter dates that are after a specific value.
|
12
13
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html Filter Cell
|
17
|
+
* <kendo-treelist-column field="hireDate">
|
18
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
19
|
+
* <kendo-treelist-date-filter-cell
|
20
|
+
* [column]="column"
|
21
|
+
* [filter]="filter">
|
22
|
+
* <kendo-treelist-filter-after-operator></kendo-treelist-filter-after-operator>
|
23
|
+
* </kendo-treelist-date-filter-cell>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* ```
|
27
|
+
* ```html Filter Menu
|
28
|
+
* <kendo-treelist-column field="hireDate">
|
29
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
30
|
+
* <kendo-treelist-date-filter-menu
|
31
|
+
* [column]="column"
|
32
|
+
* [filter]="filter"
|
33
|
+
* [filterService]="filterService">
|
34
|
+
* <kendo-treelist-filter-after-operator></kendo-treelist-filter-after-operator>
|
35
|
+
* </kendo-treelist-date-filter-menu>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
13
39
|
*/
|
14
40
|
export class AfterFilterOperatorComponent extends FilterOperatorBase {
|
15
41
|
constructor(localization) { super('after', localization); }
|
@@ -8,8 +8,34 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter](slug:filtering_treelist#toc-date-filter)
|
11
|
+
* Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter operator](slug:filtering_treelist#toc-date-filter) for the TreeList.
|
12
|
+
* Use this operator to filter dates that are before or equal to a specific value.
|
12
13
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html Filter Cell
|
17
|
+
* <kendo-treelist-column field="hireDate">
|
18
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
19
|
+
* <kendo-treelist-date-filter-cell
|
20
|
+
* [column]="column"
|
21
|
+
* [filter]="filter">
|
22
|
+
* <kendo-treelist-filter-before-eq-operator></kendo-treelist-filter-before-eq-operator>
|
23
|
+
* </kendo-treelist-date-filter-cell>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* ```
|
27
|
+
* ```html Filter Menu
|
28
|
+
* <kendo-treelist-column field="hireDate">
|
29
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
30
|
+
* <kendo-treelist-date-filter-menu
|
31
|
+
* [column]="column"
|
32
|
+
* [filter]="filter"
|
33
|
+
* [filterService]="filterService">
|
34
|
+
* <kendo-treelist-filter-before-eq-operator></kendo-treelist-filter-before-eq-operator>
|
35
|
+
* </kendo-treelist-date-filter-menu>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
13
39
|
*/
|
14
40
|
export class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
|
15
41
|
constructor(localization) { super('before-eq', localization); }
|
@@ -8,8 +8,34 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `Less than` (**Is before**) [date filter](slug:filtering_treelist#toc-date-filter)
|
11
|
+
* Represents the `Less than` (**Is before**) [date filter operator](slug:filtering_treelist#toc-date-filter) for the TreeList.
|
12
|
+
* Use this operator to filter dates that are before a specific value.
|
12
13
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html Filer Cell
|
17
|
+
* <kendo-treelist-column field="hireDate">
|
18
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
19
|
+
* <kendo-treelist-date-filter-cell
|
20
|
+
* [column]="column"
|
21
|
+
* [filter]="filter">
|
22
|
+
* <kendo-treelist-filter-before-operator></kendo-treelist-filter-before-operator>
|
23
|
+
* </kendo-treelist-date-filter-cell>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* ```
|
27
|
+
* ```html Filter Menu
|
28
|
+
* <kendo-treelist-column field="hireDate">
|
29
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
30
|
+
* <kendo-treelist-date-filter-menu
|
31
|
+
* [column]="column"
|
32
|
+
* [filter]="filter"
|
33
|
+
* [filterService]="filterService">
|
34
|
+
* <kendo-treelist-filter-before-operator></kendo-treelist-filter-before-operator>
|
35
|
+
* </kendo-treelist-date-filter-menu>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
13
39
|
*/
|
14
40
|
export class BeforeFilterOperatorComponent extends FilterOperatorBase {
|
15
41
|
constructor(localization) { super('before', localization); }
|
@@ -8,8 +8,35 @@ import { FilterOperatorBase } from './filter-operator.base';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `Contains` (**Contains**) filter operator
|
11
|
+
* Represents the `Contains` (**Contains**) filter operator for the TreeList.
|
12
|
+
* Use this operator to filter values that contain a specific substring.
|
13
|
+
* [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
|
12
14
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* ```html Filter Cell
|
18
|
+
* <kendo-treelist-column field="name" title="Name">
|
19
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
20
|
+
* <kendo-treelist-string-filter-cell
|
21
|
+
* [column]="column"
|
22
|
+
* [filter]="filter">
|
23
|
+
* <kendo-treelist-filter-contains-operator></kendo-treelist-filter-contains-operator>
|
24
|
+
* </kendo-treelist-string-filter-cell>
|
25
|
+
* </ng-template>
|
26
|
+
* </kendo-treelist-column>
|
27
|
+
* ```
|
28
|
+
* ```html Filter Menu
|
29
|
+
* <kendo-treelist-column field="name" title="Name">
|
30
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
31
|
+
* <kendo-treelist-string-filter-menu
|
32
|
+
* [column]="column"
|
33
|
+
* [filter]="filter"
|
34
|
+
* [filterService]="filterService">
|
35
|
+
* <kendo-treelist-filter-contains-operator></kendo-treelist-filter-contains-operator>
|
36
|
+
* </kendo-treelist-string-filter-menu>
|
37
|
+
* </ng-template>
|
38
|
+
* </kendo-treelist-column>
|
39
|
+
* ```
|
13
40
|
*/
|
14
41
|
export class ContainsFilterOperatorComponent extends FilterOperatorBase {
|
15
42
|
constructor(localization) { super('contains', localization); }
|
@@ -8,8 +8,35 @@ import { FilterOperatorBase } from './filter-operator.base';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `EndsWith` (**Ends with**) string filter operator
|
11
|
+
* Represents the `EndsWith` (**Ends with**) string filter operator for the TreeList.
|
12
|
+
* Use this operator to filter values that end with a specific substring.
|
13
|
+
* [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
|
12
14
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* ```html Filter Cell
|
18
|
+
* <kendo-treelist-column field="name" title="Name">
|
19
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
20
|
+
* <kendo-treelist-string-filter-cell
|
21
|
+
* [column]="column"
|
22
|
+
* [filter]="filter">
|
23
|
+
* <kendo-treelist-filter-endswith-operator></kendo-treelist-filter-endswith-operator>
|
24
|
+
* </kendo-treelist-string-filter-cell>
|
25
|
+
* </ng-template>
|
26
|
+
* </kendo-treelist-column>
|
27
|
+
* ```
|
28
|
+
* ```html Filter Menu
|
29
|
+
* <kendo-treelist-column field="name" title="Name">
|
30
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
31
|
+
* <kendo-treelist-string-filter-menu
|
32
|
+
* [column]="column"
|
33
|
+
* [filter]="filter"
|
34
|
+
* [filterService]="filterService">
|
35
|
+
* <kendo-treelist-filter-endswith-operator></kendo-treelist-filter-endswith-operator>
|
36
|
+
* </kendo-treelist-string-filter-menu>
|
37
|
+
* </ng-template>
|
38
|
+
* </kendo-treelist-column>
|
39
|
+
* ```
|
13
40
|
*/
|
14
41
|
export class EndsWithFilterOperatorComponent extends FilterOperatorBase {
|
15
42
|
constructor(localization) { super('endswith', localization); }
|
@@ -8,8 +8,83 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `Equal` (**Is equal to**) filter operator
|
11
|
+
* Represents the `Equal` (**Is equal to**) filter operator for the TreeList.
|
12
|
+
* Use this operator to filter values that are equal to a specific value.
|
13
|
+
* [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
|
12
14
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* ```html String Filter Cell
|
18
|
+
* <kendo-treelist-column field="name" title="Name">
|
19
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
20
|
+
* <kendo-treelist-string-filter-cell
|
21
|
+
* [column]="column"
|
22
|
+
* [filter]="filter">
|
23
|
+
* <kendo-treelist-filter-eq-operator></kendo-treelist-filter-eq-operator>
|
24
|
+
* </kendo-treelist-string-filter-cell>
|
25
|
+
* </ng-template>
|
26
|
+
* </kendo-treelist-column>
|
27
|
+
* ```
|
28
|
+
* ```html Numeric Filter Cell
|
29
|
+
* <kendo-treelist-column field="yearsService" title="Years Service">
|
30
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
31
|
+
* <kendo-treelist-numeric-filter-cell
|
32
|
+
* [column]="column"
|
33
|
+
* [filter]="filter">
|
34
|
+
* <kendo-treelist-filter-eq-operator></kendo-treelist-filter-eq-operator>
|
35
|
+
* </kendo-treelist-numeric-filter-cell>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
39
|
+
* ```html Date Filter Cell
|
40
|
+
* <kendo-treelist-column field="hireDate">
|
41
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
42
|
+
* <kendo-treelist-date-filter-cell
|
43
|
+
* [column]="column"
|
44
|
+
* [filter]="filter">
|
45
|
+
* <kendo-treelist-filter-eq-operator></kendo-treelist-filter-eq-operator>
|
46
|
+
* </kendo-treelist-date-filter-cell>
|
47
|
+
* </ng-template>
|
48
|
+
* </kendo-treelist-column>
|
49
|
+
* ```
|
50
|
+
*
|
51
|
+
* @example
|
52
|
+
* ```html String Filter Menu
|
53
|
+
* <kendo-treelist-column field="name" title="Name">
|
54
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
55
|
+
* <kendo-treelist-string-filter-menu
|
56
|
+
* [column]="column"
|
57
|
+
* [filter]="filter"
|
58
|
+
* [filterService]="filterService">
|
59
|
+
* <kendo-treelist-filter-eq-operator></kendo-treelist-filter-eq-operator>
|
60
|
+
* </kendo-treelist-string-filter-menu>
|
61
|
+
* </ng-template>
|
62
|
+
* </kendo-treelist-column>
|
63
|
+
* ```
|
64
|
+
* ```html Numeric Filter Menu
|
65
|
+
* <kendo-treelist-column field="yearsService" title="Years Service">
|
66
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
67
|
+
* <kendo-treelist-numeric-filter-menu
|
68
|
+
* [column]="column"
|
69
|
+
* [filter]="filter"
|
70
|
+
* [filterService]="filterService">
|
71
|
+
* <kendo-treelist-filter-eq-operator></kendo-treelist-filter-eq-operator>
|
72
|
+
* </kendo-treelist-numeric-filter-menu>
|
73
|
+
* </ng-template>
|
74
|
+
* </kendo-treelist-column>
|
75
|
+
* ```
|
76
|
+
* ```html Date Filter Menu
|
77
|
+
* <kendo-treelist-column field="hireDate">
|
78
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
79
|
+
* <kendo-treelist-date-filter-menu
|
80
|
+
* [column]="column"
|
81
|
+
* [filter]="filter"
|
82
|
+
* [filterService]="filterService">
|
83
|
+
* <kendo-treelist-filter-eq-operator></kendo-treelist-filter-eq-operator>
|
84
|
+
* </kendo-treelist-date-filter-menu>
|
85
|
+
* </ng-template>
|
86
|
+
* </kendo-treelist-column>
|
87
|
+
* ```
|
13
88
|
*/
|
14
89
|
export class EqualFilterOperatorComponent extends FilterOperatorBase {
|
15
90
|
constructor(localization) { super('eq', localization); }
|
@@ -42,7 +42,7 @@ export class FilterOperatorBase {
|
|
42
42
|
operator;
|
43
43
|
localization;
|
44
44
|
/**
|
45
|
-
* The text
|
45
|
+
* The text displayed in the drop-down list for the filter operator.
|
46
46
|
* @readonly
|
47
47
|
* @type {string}
|
48
48
|
* @memberOf FilterOperatorBase
|
@@ -7,9 +7,35 @@ import { FilterOperatorBase } from './filter-operator.base';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
|
-
|
11
|
-
* Represents the `Greater` (**Is greater than**) [numeric filter](slug:filtering_treelist#toc-numeric-filter)
|
10
|
+
/**
|
11
|
+
* Represents the `Greater` (**Is greater than**) [numeric filter operator](slug:filtering_treelist#toc-numeric-filter) for the TreeList.
|
12
|
+
* Use this operator to filter values that are greater than a specific value.
|
12
13
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html Filter Cell
|
17
|
+
* <kendo-treelist-column field="yearsService" title="Years Service">
|
18
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
19
|
+
* <kendo-treelist-numeric-filter-cell
|
20
|
+
* [column]="column"
|
21
|
+
* [filter]="filter">
|
22
|
+
* <kendo-treelist-filter-gt-operator></kendo-treelist-filter-gt-operator>
|
23
|
+
* </kendo-treelist-numeric-filter-cell>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* ```
|
27
|
+
* ```html Filter Menu
|
28
|
+
* <kendo-treelist-column field="yearsService" title="Years Service">
|
29
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
30
|
+
* <kendo-treelist-numeric-filter-menu
|
31
|
+
* [column]="column"
|
32
|
+
* [filter]="filter"
|
33
|
+
* [filterService]="filterService">
|
34
|
+
* <kendo-treelist-filter-gt-operator></kendo-treelist-filter-gt-operator>
|
35
|
+
* </kendo-treelist-numeric-filter-menu>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
13
39
|
*/
|
14
40
|
export class GreaterFilterOperatorComponent extends FilterOperatorBase {
|
15
41
|
constructor(localization) { super('gt', localization); }
|
@@ -8,8 +8,34 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter](slug:filtering_treelist#toc-numeric-filter)
|
11
|
+
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter operator](slug:filtering_treelist#toc-numeric-filter) for the TreeList.
|
12
|
+
* Use this operator to filter values that are greater than or equal to a specific value.
|
12
13
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```html Filter Cell
|
17
|
+
* <kendo-treelist-column field="yearsService" title="Years Service">
|
18
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
19
|
+
* <kendo-treelist-numeric-filter-cell
|
20
|
+
* [column]="column"
|
21
|
+
* [filter]="filter">
|
22
|
+
* <kendo-treelist-filter-gte-operator></kendo-treelist-filter-gte-operator>
|
23
|
+
* </kendo-treelist-numeric-filter-cell>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* ```
|
27
|
+
* ```html Filter Menu
|
28
|
+
* <kendo-treelist-column field="yearsService" title="Years Service">
|
29
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
30
|
+
* <kendo-treelist-numeric-filter-menu
|
31
|
+
* [column]="column"
|
32
|
+
* [filter]="filter"
|
33
|
+
* [filterService]="filterService">
|
34
|
+
* <kendo-treelist-filter-gte-operator></kendo-treelist-filter-gte-operator>
|
35
|
+
* </kendo-treelist-numeric-filter-menu>
|
36
|
+
* </ng-template>
|
37
|
+
* </kendo-treelist-column>
|
38
|
+
* ```
|
13
39
|
*/
|
14
40
|
export class GreaterOrEqualToFilterOperatorComponent extends FilterOperatorBase {
|
15
41
|
constructor(localization) { super('gte', localization); }
|
@@ -8,8 +8,35 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
10
10
|
/**
|
11
|
-
* Represents the `IsEmpty` (**Is empty**) filter operator
|
11
|
+
* Represents the `IsEmpty` (**Is empty**) filter operator for the TreeList.
|
12
|
+
* Use this operator to filter values that are empty.
|
13
|
+
* [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
|
12
14
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* ```html Filter Cell
|
18
|
+
* <kendo-treelist-column field="name" title="Name">
|
19
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
20
|
+
* <kendo-treelist-string-filter-cell
|
21
|
+
* [column]="column"
|
22
|
+
* [filter]="filter">
|
23
|
+
* <kendo-treelist-filter-isempty-operator></kendo-treelist-filter-isempty-operator>
|
24
|
+
* </kendo-treelist-string-filter-cell>
|
25
|
+
* </ng-template>
|
26
|
+
* </kendo-treelist-column>
|
27
|
+
* ```
|
28
|
+
* ```html Filter Menu
|
29
|
+
* <kendo-treelist-column field="name" title="Name">
|
30
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
31
|
+
* <kendo-treelist-string-filter-menu
|
32
|
+
* [column]="column"
|
33
|
+
* [filter]="filter"
|
34
|
+
* [filterService]="filterService">
|
35
|
+
* <kendo-treelist-filter-isempty-operator></kendo-treelist-filter-isempty-operator>
|
36
|
+
* </kendo-treelist-string-filter-menu>
|
37
|
+
* </ng-template>
|
38
|
+
* </kendo-treelist-column>
|
39
|
+
* ```
|
13
40
|
*/
|
14
41
|
export class IsEmptyFilterOperatorComponent extends FilterOperatorBase {
|
15
42
|
constructor(localization) { super('isempty', localization); }
|