@progress/kendo-angular-treelist 18.2.1-develop.3 → 18.3.0-develop.2
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/column-menu/column-chooser-item-checked.directive.d.ts +21 -0
- package/column-menu/column-chooser.component.d.ts +14 -3
- package/column-menu/column-list-kb-nav.service.d.ts +22 -0
- package/column-menu/column-list.component.d.ts +20 -5
- package/column-menu/column-menu-autosize-all.component.d.ts +39 -0
- package/column-menu/column-menu-autosize.component.d.ts +43 -0
- package/column-menu/column-menu-chooser.component.d.ts +16 -4
- package/column-menu/column-menu-container.component.d.ts +21 -0
- package/column-menu/column-menu-expandable-item.interface.d.ts +14 -0
- package/column-menu/column-menu-filter.component.d.ts +16 -3
- package/column-menu/column-menu-item.component.d.ts +11 -3
- package/column-menu/column-menu-item.directive.d.ts +45 -0
- package/column-menu/column-menu-settings.interface.d.ts +11 -2
- package/column-menu/column-menu.component.d.ts +40 -15
- package/column-menu/column-menu.service.d.ts +14 -0
- package/column-menu/utils.d.ts +13 -0
- package/columns/sort-settings.d.ts +12 -0
- package/common/error-messages.d.ts +8 -0
- package/common/id.service.d.ts +3 -0
- package/common/provider.service.d.ts +3 -1
- package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +45 -0
- package/esm2022/column-menu/column-chooser.component.mjs +69 -14
- package/esm2022/column-menu/column-list-kb-nav.service.mjs +40 -0
- package/esm2022/column-menu/column-list.component.mjs +172 -50
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +79 -0
- package/esm2022/column-menu/column-menu-autosize.component.mjs +87 -0
- package/esm2022/column-menu/column-menu-chooser.component.mjs +44 -12
- package/esm2022/column-menu/column-menu-container.component.mjs +58 -0
- package/esm2022/column-menu/column-menu-expandable-item.interface.mjs +5 -0
- package/esm2022/column-menu/column-menu-filter.component.mjs +58 -25
- package/esm2022/column-menu/column-menu-item-base.mjs +2 -1
- package/esm2022/column-menu/column-menu-item.component.mjs +34 -5
- package/esm2022/column-menu/column-menu-item.directive.mjs +125 -0
- package/esm2022/column-menu/column-menu-lock.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-sort.component.mjs +1 -1
- package/esm2022/column-menu/column-menu.component.mjs +264 -67
- package/esm2022/column-menu/column-menu.service.mjs +18 -2
- package/esm2022/column-menu/utils.mjs +21 -1
- package/esm2022/common/error-messages.mjs +15 -0
- package/esm2022/common/id.service.mjs +9 -0
- package/esm2022/common/provider.service.mjs +7 -3
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +5 -2
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +20 -3
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +17 -3
- package/esm2022/filtering/filter-row.component.mjs +1 -1
- package/esm2022/filtering/filter.service.mjs +17 -3
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +40 -14
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +47 -17
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +27 -7
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +83 -31
- package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +44 -0
- package/esm2022/filtering/menu/filter-menu-host.directive.mjs +6 -1
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +52 -9
- package/esm2022/filtering/menu/filter-menu.component.mjs +111 -16
- package/esm2022/filtering/menu/menu-tabbing.service.mjs +22 -0
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +49 -35
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +37 -7
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +13 -4
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +27 -8
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +2 -2
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +2 -2
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +2 -2
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +2 -2
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/filter-operator.base.mjs +18 -18
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +1 -1
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +1 -1
- package/esm2022/localization/messages.mjs +97 -3
- package/esm2022/navigation/logical-cell.directive.mjs +4 -1
- package/esm2022/navigation/navigation.service.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/header/header.component.mjs +336 -178
- package/esm2022/rendering/table-body.component.mjs +1 -1
- package/esm2022/selection/selection.service.mjs +2 -2
- package/esm2022/treelist.component.mjs +73 -9
- package/fesm2022/progress-kendo-angular-treelist.mjs +2231 -628
- package/filtering/cell/date-filter-cell.component.d.ts +4 -0
- package/filtering/cell/numeric-filter-cell.component.d.ts +4 -0
- package/filtering/filter.service.d.ts +10 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +19 -7
- package/filtering/menu/date-filter-menu-input.component.d.ts +10 -3
- package/filtering/menu/date-filter-menu.component.d.ts +7 -1
- package/filtering/menu/filter-menu-container.component.d.ts +23 -6
- package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +19 -0
- package/filtering/menu/filter-menu-host.directive.d.ts +3 -1
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +12 -2
- package/filtering/menu/filter-menu.component.d.ts +30 -7
- package/filtering/menu/menu-tabbing.service.d.ts +18 -0
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +12 -26
- package/filtering/menu/numeric-filter-menu.component.d.ts +13 -1
- package/filtering/menu/string-filter-menu-input.component.d.ts +4 -1
- package/filtering/menu/string-filter-menu.component.d.ts +7 -1
- package/index.d.ts +1 -0
- package/localization/messages.d.ts +79 -3
- package/navigation/logical-cell.directive.d.ts +2 -1
- package/package.json +18 -18
- package/rendering/header/header.component.d.ts +43 -10
- package/schematics/ngAdd/index.js +3 -3
@@ -12,24 +12,24 @@ const localizeOperators = operators => localization => Object.keys(operators).re
|
|
12
12
|
return acc;
|
13
13
|
}, {});
|
14
14
|
const operatorTexts = localizeOperators({
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
15
|
+
'filterEqOperator': 'eq',
|
16
|
+
'filterNotEqOperator': 'neq',
|
17
|
+
'filterGteOperator': 'gte',
|
18
|
+
'filterGtOperator': 'gt',
|
19
|
+
'filterLteOperator': 'lte',
|
20
|
+
'filterLtOperator': 'lt',
|
21
|
+
'filterIsNullOperator': 'isnull',
|
22
|
+
'filterIsNotNullOperator': 'isnotnull',
|
23
|
+
'filterIsEmptyOperator': 'isempty',
|
24
|
+
'filterIsNotEmptyOperator': 'isnotempty',
|
25
|
+
'filterContainsOperator': 'contains',
|
26
|
+
'filterNotContainsOperator': 'doesnotcontain',
|
27
|
+
'filterStartsWithOperator': 'startswith',
|
28
|
+
'filterEndsWithOperator': 'endswith',
|
29
|
+
'filterAfterOrEqualOperator': 'after-eq',
|
30
|
+
'filterAfterOperator': 'after',
|
31
|
+
'filterBeforeOrEqualOperator': 'before-eq',
|
32
|
+
'filterBeforeOperator': 'before'
|
33
33
|
});
|
34
34
|
/**
|
35
35
|
* @hidden
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class GreaterFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('gt', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GreaterFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-gt-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class GreaterOrEqualToFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('gte', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GreaterOrEqualToFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-gte-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class IsEmptyFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('isempty', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IsEmptyFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-isempty-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class IsNotEmptyFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('isnotempty', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IsNotEmptyFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-isnotempty-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class IsNotNullFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('isnotnull', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IsNotNullFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-isnotnull-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class IsNullFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('isnull', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IsNullFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-isnull-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class LessFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('lt', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LessFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-lt-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* [See example](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class LessOrEqualToFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('lte', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LessOrEqualToFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-lte-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class NotEqualFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('neq', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NotEqualFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-neq-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('doesnotcontain', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DoesNotContainFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-not-contains-operator", providers: [
|
18
18
|
{
|
@@ -12,7 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
13
|
*/
|
14
14
|
export class StartsWithFilterOperatorComponent extends FilterOperatorBase {
|
15
|
-
constructor(localization) { super(
|
15
|
+
constructor(localization) { super('startswith', localization); }
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
17
17
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StartsWithFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-startswith-operator", providers: [
|
18
18
|
{
|
@@ -77,7 +77,15 @@ export class Messages extends ComponentMessages {
|
|
77
77
|
*/
|
78
78
|
filter;
|
79
79
|
/**
|
80
|
-
* The label of the filter
|
80
|
+
* The label of the filter input.
|
81
|
+
*
|
82
|
+
* The filter input label consists of a two-part message - the name of the column and a localizable string.
|
83
|
+
* For a column named **Product Name**, the default label will be **Product Name Filter**.
|
84
|
+
*
|
85
|
+
* To allow reordering the column name and the localizable part, the `filterInputLabel` accepts a string with a
|
86
|
+
* placeholder for the column name, for example, **filter for {columnName}**. The `{columnName}` placeholder will be replaced
|
87
|
+
* internally with the current column name, and the resulting label will be rendered as **filter for Product Name**.
|
88
|
+
* [See example](slug:globalization_grid#toc-custom-messages).
|
81
89
|
*/
|
82
90
|
filterInputLabel;
|
83
91
|
/**
|
@@ -204,6 +212,46 @@ export class Messages extends ComponentMessages {
|
|
204
212
|
* The text of the `Or` filter logic.
|
205
213
|
*/
|
206
214
|
filterOrLogic;
|
215
|
+
/**
|
216
|
+
* The text of the Today button of the Date filter.
|
217
|
+
*/
|
218
|
+
filterDateToday;
|
219
|
+
/**
|
220
|
+
* The title of the Toggle button of the Date filter.
|
221
|
+
*/
|
222
|
+
filterDateToggle;
|
223
|
+
/**
|
224
|
+
* The title of the Decrement button of the Numeric filter.
|
225
|
+
*/
|
226
|
+
filterNumericDecrement;
|
227
|
+
/**
|
228
|
+
* The title of the Increment button of the Numeric filter.
|
229
|
+
*/
|
230
|
+
filterNumericIncrement;
|
231
|
+
/**
|
232
|
+
* The label of the filter menu operators DropDownList.
|
233
|
+
*
|
234
|
+
* The label consists of a two-part message - the name of the column and a localizable string.
|
235
|
+
* For a column named **Product Name**, the default label will be **Product Name Filter Menu Operators**.
|
236
|
+
*
|
237
|
+
* To allow reordering the column name and the localizable part, the `filterMenuOperatorsDropDownLabel` accepts a string with a
|
238
|
+
* placeholder for the column name, for example, **filter operators for {columnName**'. The `{columnName}` placeholder will be replaced
|
239
|
+
* internally with the current column name, and the resulting label will be rendered as **filter operators for Product Name**.
|
240
|
+
* [See example](slug:globalization_treelist#toc-custom-messages).
|
241
|
+
*/
|
242
|
+
filterMenuOperatorsDropDownLabel;
|
243
|
+
/**
|
244
|
+
* The label of the filter menu logic DropDownList.
|
245
|
+
*
|
246
|
+
* The label consists of a two-part message - the name of the column and a localizable string.
|
247
|
+
* For a column named **Product Name**, the default label will be **Product Name Filter Menu Logic**.
|
248
|
+
*
|
249
|
+
* To allow reordering the column name and the localizable part, the `filterMenuLogicDropDownLabel` accepts a string with a
|
250
|
+
* placeholder for the column name, for example, **filter logic for {columnName}**. The `{columnName}` placeholder will be replaced
|
251
|
+
* internally with the current column name, and the resulting label will be rendered as **filter logic for Product Name**.
|
252
|
+
* [See example](slug:globalization_treelist#toc-custom-messages).
|
253
|
+
*/
|
254
|
+
filterMenuLogicDropDownLabel;
|
207
255
|
/**
|
208
256
|
* The loading text.
|
209
257
|
*
|
@@ -212,7 +260,15 @@ export class Messages extends ComponentMessages {
|
|
212
260
|
*/
|
213
261
|
loading;
|
214
262
|
/**
|
215
|
-
* The title of the
|
263
|
+
* The title of the column menu icon.
|
264
|
+
*
|
265
|
+
* The title consists of a two-part message - the name of the column and a localizable string.
|
266
|
+
* For a column named **Product Name**, the default title will be **Product Name Column Menu**.
|
267
|
+
*
|
268
|
+
* To allow reordering the column name and the localizable part, the `columnMenu` accepts a string with a
|
269
|
+
* placeholder for the column name, for example, **menu for {columnName}**. The `{columnName}` placeholder will be replaced
|
270
|
+
* internally with the current column name, and the resulting title will be rendered as **menu for Product Name**.
|
271
|
+
* [See example](slug:globalization_grid#toc-custom-messages).
|
216
272
|
*/
|
217
273
|
columnMenu;
|
218
274
|
/**
|
@@ -285,8 +341,28 @@ export class Messages extends ComponentMessages {
|
|
285
341
|
* The label for the select all rows checkbox
|
286
342
|
*/
|
287
343
|
selectAllRowsCheckboxLabel;
|
344
|
+
/**
|
345
|
+
* The text shown in the column menu for the autosize this column item.
|
346
|
+
*/
|
347
|
+
autosizeThisColumn;
|
348
|
+
/**
|
349
|
+
* The text shown in the column menu for the autosize all columns item.
|
350
|
+
*/
|
351
|
+
autosizeAllColumns;
|
352
|
+
/**
|
353
|
+
* The title of the filter menu icon.
|
354
|
+
*
|
355
|
+
* The title consists of a two-part message - the name of the column and a localizable string.
|
356
|
+
* For a column named **Product Name**, the default title will be **Product Name Filter Menu**.
|
357
|
+
*
|
358
|
+
* To allow reordering the column name and the localizable part, the `filterMenuTitle` accepts a string with a
|
359
|
+
* placeholder for the column name, for example, **filter for {columnName}**. The `{columnName}` placeholder will be replaced
|
360
|
+
* internally with the current column name, and the resulting title will be rendered as **filter for Product Name**.
|
361
|
+
* [See example](slug:globalization_treelist#toc-custom-messages).
|
362
|
+
*/
|
363
|
+
filterMenuTitle;
|
288
364
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
289
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerInputLabel: "pagerInputLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItemsTotal: "pagerItemsTotal", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", 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", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", columnMenu: "columnMenu", columns: "columns", lock: "lock", unlock: "unlock", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", dragRowHandleLabel: "dragRowHandleLabel", selectRowCheckboxLabel: "selectRowCheckboxLabel", selectAllRowsCheckboxLabel: "selectAllRowsCheckboxLabel" }, usesInheritance: true, ngImport: i0 });
|
365
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerInputLabel: "pagerInputLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItemsTotal: "pagerItemsTotal", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", 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", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", loading: "loading", columnMenu: "columnMenu", columns: "columns", lock: "lock", unlock: "unlock", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", dragRowHandleLabel: "dragRowHandleLabel", selectRowCheckboxLabel: "selectRowCheckboxLabel", selectAllRowsCheckboxLabel: "selectAllRowsCheckboxLabel", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", filterMenuTitle: "filterMenuTitle" }, usesInheritance: true, ngImport: i0 });
|
290
366
|
}
|
291
367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
|
292
368
|
type: Directive,
|
@@ -377,6 +453,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
377
453
|
type: Input
|
378
454
|
}], filterOrLogic: [{
|
379
455
|
type: Input
|
456
|
+
}], filterDateToday: [{
|
457
|
+
type: Input
|
458
|
+
}], filterDateToggle: [{
|
459
|
+
type: Input
|
460
|
+
}], filterNumericDecrement: [{
|
461
|
+
type: Input
|
462
|
+
}], filterNumericIncrement: [{
|
463
|
+
type: Input
|
464
|
+
}], filterMenuOperatorsDropDownLabel: [{
|
465
|
+
type: Input
|
466
|
+
}], filterMenuLogicDropDownLabel: [{
|
467
|
+
type: Input
|
380
468
|
}], loading: [{
|
381
469
|
type: Input
|
382
470
|
}], columnMenu: [{
|
@@ -413,4 +501,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
413
501
|
type: Input
|
414
502
|
}], selectAllRowsCheckboxLabel: [{
|
415
503
|
type: Input
|
504
|
+
}], autosizeThisColumn: [{
|
505
|
+
type: Input
|
506
|
+
}], autosizeAllColumns: [{
|
507
|
+
type: Input
|
508
|
+
}], filterMenuTitle: [{
|
509
|
+
type: Input
|
416
510
|
}] } });
|
@@ -38,6 +38,7 @@ export class LogicalCellDirective {
|
|
38
38
|
dataRowIndex = -1;
|
39
39
|
dataItem;
|
40
40
|
expandable = false;
|
41
|
+
headerLabelText;
|
41
42
|
uid = nextId();
|
42
43
|
get id() {
|
43
44
|
if (!this.logicalSlaveCell && this.columnInfoService.isLocked) {
|
@@ -138,7 +139,7 @@ export class LogicalCellDirective {
|
|
138
139
|
return this.navigationService.isCellFocused(this);
|
139
140
|
}
|
140
141
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogicalCellDirective, deps: [{ token: i1.FocusGroup }, { token: i0.ElementRef }, { token: i2.ColumnInfoService }, { token: i3.IdService }, { token: i4.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
141
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LogicalCellDirective, isStandalone: true, selector: "[kendoTreeListLogicalCell]", inputs: { logicalColIndex: "logicalColIndex", logicalRowIndex: "logicalRowIndex", logicalSlaveCell: "logicalSlaveCell", column: "column", colIndex: "colIndex", colSpan: "colSpan", rowSpan: "rowSpan", dataRowIndex: "dataRowIndex", dataItem: "dataItem", expandable: "expandable" }, host: { properties: { "attr.id": "this.id", "attr.aria-colindex": "this.ariaColIndex" } }, providers: [{
|
142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LogicalCellDirective, isStandalone: true, selector: "[kendoTreeListLogicalCell]", inputs: { logicalColIndex: "logicalColIndex", logicalRowIndex: "logicalRowIndex", logicalSlaveCell: "logicalSlaveCell", column: "column", colIndex: "colIndex", colSpan: "colSpan", rowSpan: "rowSpan", dataRowIndex: "dataRowIndex", dataItem: "dataItem", expandable: "expandable", headerLabelText: "headerLabelText" }, host: { properties: { "attr.id": "this.id", "attr.aria-colindex": "this.ariaColIndex" } }, providers: [{
|
142
143
|
provide: FocusGroup,
|
143
144
|
deps: [FocusRoot],
|
144
145
|
useClass: FocusGroup
|
@@ -175,6 +176,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
175
176
|
type: Input
|
176
177
|
}], expandable: [{
|
177
178
|
type: Input
|
179
|
+
}], headerLabelText: [{
|
180
|
+
type: Input
|
178
181
|
}], id: [{
|
179
182
|
type: HostBinding,
|
180
183
|
args: ['attr.id']
|
@@ -382,7 +382,7 @@ export class NavigationService {
|
|
382
382
|
return this.localization.rtl ? this.cursor.moveRight() : this.cursor.moveLeft();
|
383
383
|
}
|
384
384
|
updateSelection(args) {
|
385
|
-
if (this.selectionService.enabled) {
|
385
|
+
if (this.selectionService.enabled && this.cursor.row.dataItem) {
|
386
386
|
this.selectionService.click({
|
387
387
|
dataItem: this.cursor.row.dataItem,
|
388
388
|
column: this.cursor.cell.column,
|
@@ -405,7 +405,7 @@ export class NavigationService {
|
|
405
405
|
preventDefault = this.selectionService.enabled;
|
406
406
|
break;
|
407
407
|
case Keys.KeyA:
|
408
|
-
if (
|
408
|
+
if (modifier && this.selectionService.enabled) {
|
409
409
|
this.zone.run(() => this.selectionService.toggleAll(true));
|
410
410
|
preventDefault = true;
|
411
411
|
}
|
@@ -512,7 +512,7 @@ export class NavigationService {
|
|
512
512
|
preventDefault = true;
|
513
513
|
break;
|
514
514
|
case Keys.Enter:
|
515
|
-
if (!
|
515
|
+
if (!modifier && !args.shiftKey) {
|
516
516
|
const editing = this.editService.isEditingCell();
|
517
517
|
const cell = this.cursor.cell;
|
518
518
|
if (!editing && cell.expandable === true) {
|
@@ -529,7 +529,7 @@ export class NavigationService {
|
|
529
529
|
}
|
530
530
|
break;
|
531
531
|
default:
|
532
|
-
if (!
|
532
|
+
if (!modifier && !args.altKey && isPrintableCharacter(args.key)) {
|
533
533
|
this.enterCell();
|
534
534
|
}
|
535
535
|
}
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
13
|
-
publishDate:
|
14
|
-
version: '18.
|
13
|
+
publishDate: 1743161807,
|
14
|
+
version: '18.3.0-develop.2',
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
16
16
|
};
|