@progress/kendo-angular-grid 12.2.0-develop.7 → 13.0.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.
Files changed (168) hide show
  1. package/column-menu/column-chooser.component.d.ts +4 -4
  2. package/column-menu/column-menu-autosize-all.component.d.ts +6 -7
  3. package/column-menu/column-menu-autosize.component.d.ts +1 -3
  4. package/column-menu/column-menu-chooser.component.d.ts +7 -6
  5. package/column-menu/column-menu-filter.component.d.ts +7 -6
  6. package/column-menu/column-menu-lock.component.d.ts +7 -6
  7. package/column-menu/column-menu-position.component.d.ts +7 -6
  8. package/column-menu/column-menu-settings.interface.d.ts +5 -0
  9. package/column-menu/column-menu-sort.component.d.ts +7 -6
  10. package/column-menu/column-menu-stick.component.d.ts +3 -3
  11. package/column-menu/column-menu.component.d.ts +39 -5
  12. package/column-menu/column-menu.module.d.ts +2 -1
  13. package/column-resizing/column-handle.directive.d.ts +3 -3
  14. package/common/provider.service.d.ts +3 -1
  15. package/common/single-popup.service.d.ts +3 -3
  16. package/editing/add-command.directive.d.ts +2 -2
  17. package/editing/cancel-command.directive.d.ts +2 -2
  18. package/editing/edit-command.directive.d.ts +2 -2
  19. package/editing/remove-command.directive.d.ts +2 -2
  20. package/editing/save-command.directive.d.ts +2 -2
  21. package/esm2020/column-menu/column-chooser.component.mjs +17 -17
  22. package/esm2020/column-menu/column-menu-autosize-all.component.mjs +19 -21
  23. package/esm2020/column-menu/column-menu-autosize.component.mjs +9 -12
  24. package/esm2020/column-menu/column-menu-chooser.component.mjs +16 -15
  25. package/esm2020/column-menu/column-menu-filter.component.mjs +12 -11
  26. package/esm2020/column-menu/column-menu-lock.component.mjs +11 -10
  27. package/esm2020/column-menu/column-menu-position.component.mjs +12 -11
  28. package/esm2020/column-menu/column-menu-sort.component.mjs +14 -13
  29. package/esm2020/column-menu/column-menu-stick.component.mjs +7 -7
  30. package/esm2020/column-menu/column-menu.component.mjs +257 -17
  31. package/esm2020/column-menu/column-menu.module.mjs +4 -3
  32. package/esm2020/column-resizing/column-handle.directive.mjs +7 -7
  33. package/esm2020/common/provider.service.mjs +6 -3
  34. package/esm2020/common/single-popup.service.mjs +8 -8
  35. package/esm2020/editing/add-command.directive.mjs +6 -6
  36. package/esm2020/editing/cancel-command.directive.mjs +6 -6
  37. package/esm2020/editing/edit-command.directive.mjs +6 -6
  38. package/esm2020/editing/remove-command.directive.mjs +6 -6
  39. package/esm2020/editing/save-command.directive.mjs +6 -6
  40. package/esm2020/excel/excel-command.directive.mjs +6 -6
  41. package/esm2020/excel/excel.component.mjs +7 -7
  42. package/esm2020/filtering/boolean-filter.component.mjs +13 -13
  43. package/esm2020/filtering/cell/autocomplete-filter-cell.component.mjs +7 -7
  44. package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +7 -7
  45. package/esm2020/filtering/cell/date-filter-cell.component.mjs +9 -9
  46. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +7 -7
  47. package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +10 -10
  48. package/esm2020/filtering/cell/string-filter-cell.component.mjs +7 -7
  49. package/esm2020/filtering/date-filter.component.mjs +9 -9
  50. package/esm2020/filtering/filter-row.component.mjs +7 -7
  51. package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +10 -8
  52. package/esm2020/filtering/menu/date-filter-menu-input.component.mjs +8 -8
  53. package/esm2020/filtering/menu/date-filter-menu.component.mjs +9 -9
  54. package/esm2020/filtering/menu/filter-menu-container.component.mjs +9 -9
  55. package/esm2020/filtering/menu/filter-menu-input-wrapper.component.mjs +10 -8
  56. package/esm2020/filtering/menu/filter-menu.component.mjs +7 -7
  57. package/esm2020/filtering/menu/menu-tabbing.service.mjs +1 -0
  58. package/esm2020/filtering/menu/numeric-filter-menu-input.component.mjs +8 -8
  59. package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +9 -9
  60. package/esm2020/filtering/menu/string-filter-menu-input.component.mjs +7 -7
  61. package/esm2020/filtering/menu/string-filter-menu.component.mjs +9 -9
  62. package/esm2020/filtering/numeric-filter.component.mjs +9 -9
  63. package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +5 -5
  64. package/esm2020/filtering/operators/after-filter-operator.component.mjs +5 -5
  65. package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +5 -5
  66. package/esm2020/filtering/operators/before-filter-operator.component.mjs +5 -5
  67. package/esm2020/filtering/operators/contains-filter-operator.component.mjs +5 -5
  68. package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +5 -5
  69. package/esm2020/filtering/operators/eq-filter-operator.component.mjs +5 -5
  70. package/esm2020/filtering/operators/filter-operator.base.mjs +9 -9
  71. package/esm2020/filtering/operators/gt-filter-operator.component.mjs +5 -5
  72. package/esm2020/filtering/operators/gte-filter-operator.component.mjs +5 -5
  73. package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +5 -5
  74. package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +5 -5
  75. package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +5 -5
  76. package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +5 -5
  77. package/esm2020/filtering/operators/lt-filter-operator.component.mjs +5 -5
  78. package/esm2020/filtering/operators/lte-filter-operator.component.mjs +5 -5
  79. package/esm2020/filtering/operators/neq-filter-operator.component.mjs +5 -5
  80. package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +5 -5
  81. package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +5 -5
  82. package/esm2020/filtering/string-filter.component.mjs +8 -8
  83. package/esm2020/grid.component.mjs +18 -0
  84. package/esm2020/grouping/group-header.component.mjs +7 -7
  85. package/esm2020/grouping/group-panel.component.mjs +10 -10
  86. package/esm2020/localization/messages.mjs +7 -1
  87. package/esm2020/navigation/navigation.service.mjs +8 -8
  88. package/esm2020/package-metadata.mjs +2 -2
  89. package/esm2020/pager/pager-element.component.mjs +8 -8
  90. package/esm2020/pager/pager-info.component.mjs +6 -6
  91. package/esm2020/pager/pager-input.component.mjs +6 -6
  92. package/esm2020/pager/pager-next-buttons.component.mjs +6 -6
  93. package/esm2020/pager/pager-numeric-buttons.component.mjs +6 -6
  94. package/esm2020/pager/pager-page-sizes.component.mjs +6 -6
  95. package/esm2020/pager/pager-prev-buttons.component.mjs +6 -6
  96. package/esm2020/pager/pager.component.mjs +7 -7
  97. package/esm2020/pdf/pdf-command.directive.mjs +6 -6
  98. package/esm2020/rendering/cell.component.mjs +8 -8
  99. package/esm2020/rendering/common/loading.component.mjs +7 -7
  100. package/esm2020/rendering/header/header.component.mjs +27 -30
  101. package/esm2020/rendering/list.component.mjs +7 -7
  102. package/esm2020/rendering/table-body.component.mjs +11 -11
  103. package/excel/excel-command.directive.d.ts +2 -2
  104. package/excel/excel.component.d.ts +3 -3
  105. package/fesm2015/progress-kendo-angular-grid.mjs +778 -504
  106. package/fesm2020/progress-kendo-angular-grid.mjs +775 -504
  107. package/filtering/base-filter-cell.component.d.ts +1 -1
  108. package/filtering/boolean-filter.component.d.ts +3 -3
  109. package/filtering/cell/autocomplete-filter-cell.component.d.ts +3 -3
  110. package/filtering/cell/boolean-filter-cell.component.d.ts +2 -2
  111. package/filtering/cell/date-filter-cell.component.d.ts +3 -3
  112. package/filtering/cell/filter-cell-operators.component.d.ts +3 -3
  113. package/filtering/cell/numeric-filter-cell.component.d.ts +4 -4
  114. package/filtering/cell/string-filter-cell.component.d.ts +2 -2
  115. package/filtering/date-filter.component.d.ts +3 -3
  116. package/filtering/filter-row.component.d.ts +3 -3
  117. package/filtering/menu/boolean-filter-menu.component.d.ts +2 -2
  118. package/filtering/menu/date-filter-menu-input.component.d.ts +3 -3
  119. package/filtering/menu/date-filter-menu.component.d.ts +2 -2
  120. package/filtering/menu/filter-menu-container.component.d.ts +3 -3
  121. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +3 -3
  122. package/filtering/menu/filter-menu.component.d.ts +3 -3
  123. package/filtering/menu/menu-tabbing.service.d.ts +1 -0
  124. package/filtering/menu/numeric-filter-menu-input.component.d.ts +3 -3
  125. package/filtering/menu/numeric-filter-menu.component.d.ts +2 -2
  126. package/filtering/menu/string-filter-menu-input.component.d.ts +3 -3
  127. package/filtering/menu/string-filter-menu.component.d.ts +2 -2
  128. package/filtering/numeric-filter.component.d.ts +3 -3
  129. package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
  130. package/filtering/operators/after-filter-operator.component.d.ts +2 -2
  131. package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
  132. package/filtering/operators/before-filter-operator.component.d.ts +2 -2
  133. package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
  134. package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
  135. package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
  136. package/filtering/operators/filter-operator.base.d.ts +3 -3
  137. package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
  138. package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
  139. package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
  140. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
  141. package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
  142. package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
  143. package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
  144. package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
  145. package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
  146. package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
  147. package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
  148. package/filtering/string-filter.component.d.ts +3 -3
  149. package/grouping/group-header.component.d.ts +3 -3
  150. package/grouping/group-panel.component.d.ts +3 -3
  151. package/localization/messages.d.ts +13 -1
  152. package/navigation/navigation.service.d.ts +3 -3
  153. package/package.json +16 -15
  154. package/pager/pager-element.component.d.ts +3 -3
  155. package/pager/pager-info.component.d.ts +2 -2
  156. package/pager/pager-input.component.d.ts +2 -2
  157. package/pager/pager-next-buttons.component.d.ts +2 -2
  158. package/pager/pager-numeric-buttons.component.d.ts +2 -2
  159. package/pager/pager-page-sizes.component.d.ts +2 -2
  160. package/pager/pager-prev-buttons.component.d.ts +2 -2
  161. package/pager/pager.component.d.ts +3 -3
  162. package/pdf/pdf-command.directive.d.ts +2 -2
  163. package/rendering/cell.component.d.ts +3 -3
  164. package/rendering/common/loading.component.d.ts +3 -3
  165. package/rendering/header/header.component.d.ts +1 -3
  166. package/rendering/list.component.d.ts +3 -3
  167. package/rendering/table-body.component.d.ts +3 -3
  168. package/schematics/ngAdd/index.js +5 -3
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `Equal` (**Is equal to**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class EqualFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("eq", localization); }
16
+ constructor(ctx) { super("eq", ctx); }
17
17
  }
18
- EqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ EqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EqualFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  EqualFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EqualFilterOperatorComponent, selector: "kendo-filter-eq-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-eq-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -4,9 +4,9 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Inject, Input } from '@angular/core';
6
6
  import { isNullOrEmptyString } from '../../utils';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { ContextService } from '../../common/provider.service';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  const localizeOperators = operators => localization => Object.keys(operators).reduce((acc, key) => {
11
11
  acc[operators[key]] = localization.get(key);
12
12
  return acc;
@@ -39,12 +39,12 @@ export const toJSON = (xs) => xs.map(x => x.toJSON());
39
39
  * @hidden
40
40
  */
41
41
  export class FilterOperatorBase {
42
- constructor(operator, localization) {
42
+ constructor(operator, ctx) {
43
43
  this.operator = operator;
44
- this.localization = localization;
45
- this.messages = operatorTexts(this.localization);
44
+ this.ctx = ctx;
45
+ this.messages = operatorTexts(this.ctx.localization);
46
46
  this._text = this.messages[this.operator];
47
- this.subscription = this.localization.changes.subscribe(this.refreshText.bind(this));
47
+ this.subscription = this.ctx.localization.changes.subscribe(this.refreshText.bind(this));
48
48
  }
49
49
  /**
50
50
  * The text that will be displayed in the drop-down list.
@@ -74,13 +74,13 @@ export class FilterOperatorBase {
74
74
  }
75
75
  refreshText() {
76
76
  const update = this._text === this.messages[this.operator];
77
- this.messages = operatorTexts(this.localization);
77
+ this.messages = operatorTexts(this.ctx.localization);
78
78
  if (update) {
79
79
  this._text = this.messages[this.operator];
80
80
  }
81
81
  }
82
82
  }
83
- FilterOperatorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterOperatorBase, deps: [{ token: 'filterOperator' }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
83
+ FilterOperatorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterOperatorBase, deps: [{ token: 'filterOperator' }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
84
84
  FilterOperatorBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterOperatorBase, selector: "kendo-grid-filter-operator-base", inputs: { text: "text" }, ngImport: i0, template: ``, isInline: true });
85
85
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterOperatorBase, decorators: [{
86
86
  type: Component,
@@ -91,6 +91,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
91
91
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
92
92
  type: Inject,
93
93
  args: ['filterOperator']
94
- }] }, { type: i1.LocalizationService }]; }, propDecorators: { text: [{
94
+ }] }, { type: i1.ContextService }]; }, propDecorators: { text: [{
95
95
  type: Input
96
96
  }] } });
@@ -3,18 +3,18 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `Greater` (**Is greater than**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
12
12
  * [See example](slug:filter_row#toc-default-filter-operator).
13
13
  */
14
14
  export class GreaterFilterOperatorComponent extends FilterOperatorBase {
15
- constructor(localization) { super("gt", localization); }
15
+ constructor(ctx) { super("gt", ctx); }
16
16
  }
17
- GreaterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
17
+ GreaterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
18
18
  GreaterFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GreaterFilterOperatorComponent, selector: "kendo-filter-gt-operator", providers: [
19
19
  {
20
20
  provide: FilterOperatorBase,
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
33
33
  selector: 'kendo-filter-gt-operator',
34
34
  template: ``
35
35
  }]
36
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
36
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,18 +3,18 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
12
12
  * [See example](slug:filter_row#toc-default-filter-operator).
13
13
  */
14
14
  export class GreaterOrEqualToFilterOperatorComponent extends FilterOperatorBase {
15
- constructor(localization) { super("gte", localization); }
15
+ constructor(ctx) { super("gte", ctx); }
16
16
  }
17
- GreaterOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
17
+ GreaterOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
18
18
  GreaterOrEqualToFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GreaterOrEqualToFilterOperatorComponent, selector: "kendo-filter-gte-operator", providers: [
19
19
  {
20
20
  provide: FilterOperatorBase,
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
33
33
  selector: 'kendo-filter-gte-operator',
34
34
  template: ``
35
35
  }]
36
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
36
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `IsEmpty` (**Is empty**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class IsEmptyFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("isempty", localization); }
16
+ constructor(ctx) { super("isempty", ctx); }
17
17
  }
18
- IsEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ IsEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  IsEmptyFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsEmptyFilterOperatorComponent, selector: "kendo-filter-isempty-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-isempty-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `IsNotEmpty` (**Is not empty**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class IsNotEmptyFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("isnotempty", localization); }
16
+ constructor(ctx) { super("isnotempty", ctx); }
17
17
  }
18
- IsNotEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ IsNotEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  IsNotEmptyFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNotEmptyFilterOperatorComponent, selector: "kendo-filter-isnotempty-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-isnotempty-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `IsNotNull` (**Is not null**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class IsNotNullFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("isnotnull", localization); }
16
+ constructor(ctx) { super("isnotnull", ctx); }
17
17
  }
18
- IsNotNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ IsNotNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  IsNotNullFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNotNullFilterOperatorComponent, selector: "kendo-filter-isnotnull-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-isnotnull-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `IsNull` (**Is null**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class IsNullFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("isnull", localization); }
16
+ constructor(ctx) { super("isnull", ctx); }
17
17
  }
18
- IsNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ IsNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  IsNullFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNullFilterOperatorComponent, selector: "kendo-filter-isnull-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-isnull-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `Less` (**Is less than**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
12
12
  *
13
13
  * [See example](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class LessFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("lt", localization); }
16
+ constructor(ctx) { super("lt", ctx); }
17
17
  }
18
- LessFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ LessFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  LessFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LessFilterOperatorComponent, selector: "kendo-filter-lt-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-lt-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
12
12
  *
13
13
  * [See example](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class LessOrEqualToFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("lte", localization); }
16
+ constructor(ctx) { super("lte", ctx); }
17
17
  }
18
- LessOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ LessOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  LessOrEqualToFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LessOrEqualToFilterOperatorComponent, selector: "kendo-filter-lte-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-lte-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `NotEqual` (**Is not equal to**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class NotEqualFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("neq", localization); }
16
+ constructor(ctx) { super("neq", ctx); }
17
17
  }
18
- NotEqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ NotEqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  NotEqualFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NotEqualFilterOperatorComponent, selector: "kendo-filter-neq-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-neq-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `DoesNotContain` (**Does not contain**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("doesnotcontain", localization); }
16
+ constructor(ctx) { super("doesnotcontain", ctx); }
17
17
  }
18
- DoesNotContainFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ DoesNotContainFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  DoesNotContainFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DoesNotContainFilterOperatorComponent, selector: "kendo-filter-not-contains-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-not-contains-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -3,19 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { ContextService } from '../../common/provider.service';
6
7
  import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
9
+ import * as i1 from "../../common/provider.service";
10
10
  /**
11
11
  * Represents the `StartsWith` (**Starts with**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
12
12
  *
13
13
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
14
14
  */
15
15
  export class StartsWithFilterOperatorComponent extends FilterOperatorBase {
16
- constructor(localization) { super("startswith", localization); }
16
+ constructor(ctx) { super("startswith", ctx); }
17
17
  }
18
- StartsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18
+ StartsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
19
19
  StartsWithFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StartsWithFilterOperatorComponent, selector: "kendo-filter-startswith-operator", providers: [
20
20
  {
21
21
  provide: FilterOperatorBase,
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
34
34
  selector: 'kendo-filter-startswith-operator',
35
35
  template: ``
36
36
  }]
37
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
37
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; } });
@@ -7,11 +7,11 @@ import { Directive, Input } from '@angular/core';
7
7
  import { ColumnComponent } from '../columns/column.component';
8
8
  import { FilterService } from './filter.service';
9
9
  import { BaseFilterCellComponent, localizeOperators } from './base-filter-cell.component';
10
- import { LocalizationService } from '@progress/kendo-angular-l10n';
11
10
  import { toJSON } from './operators/filter-operator.base';
11
+ import { ContextService } from '../common/provider.service';
12
12
  import * as i0 from "@angular/core";
13
13
  import * as i1 from "./filter.service";
14
- import * as i2 from "@progress/kendo-angular-l10n";
14
+ import * as i2 from "../common/provider.service";
15
15
  const stringOperators = localizeOperators({
16
16
  "filterEqOperator": "eq",
17
17
  "filterNotEqOperator": "neq",
@@ -28,9 +28,9 @@ const stringOperators = localizeOperators({
28
28
  * Represents a base string filter component.
29
29
  */
30
30
  export class StringFilterComponent extends BaseFilterCellComponent {
31
- constructor(filterService, localization) {
31
+ constructor(filterService, ctx) {
32
32
  super(filterService);
33
- this.localization = localization;
33
+ this.ctx = ctx;
34
34
  /**
35
35
  * The default filter operator.
36
36
  * @type {string}
@@ -55,7 +55,7 @@ export class StringFilterComponent extends BaseFilterCellComponent {
55
55
  return this.currentFilter ? this.currentFilter.operator : this.operator;
56
56
  }
57
57
  ngOnInit() {
58
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
58
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
59
59
  }
60
60
  ngOnDestroy() {
61
61
  if (this.subscription) {
@@ -64,18 +64,18 @@ export class StringFilterComponent extends BaseFilterCellComponent {
64
64
  super.ngOnDestroy();
65
65
  }
66
66
  localizationChange() {
67
- this.defaultOperators = stringOperators(this.localization);
67
+ this.defaultOperators = stringOperators(this.ctx.localization);
68
68
  if (this.operatorList.length) {
69
69
  this.operators = toJSON(this.operatorList.toArray());
70
70
  }
71
71
  }
72
72
  }
73
- StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
73
+ StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
74
74
  StringFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: StringFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator" }, usesInheritance: true, ngImport: i0 });
75
75
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, decorators: [{
76
76
  type: Directive,
77
77
  args: [{}]
78
- }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }]; }, propDecorators: { column: [{
78
+ }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.ContextService }]; }, propDecorators: { column: [{
79
79
  type: Input
80
80
  }], filter: [{
81
81
  type: Input
@@ -2232,6 +2232,15 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
2232
2232
 
2233
2233
  i18n-dragRowHandleLabel="kendo.grid.dragRowHandleLabel|The label for the Grid drag row handle"
2234
2234
  dragRowHandleLabel="Drag row"
2235
+
2236
+ i18n-columnMenuFilterTabTitle="kendo.grid.columnMenuFilterTabTitle|The title for the column menu Filter tab"
2237
+ columnMenuFilterTabTitle="Filter"
2238
+
2239
+ i18n-columnMenuGeneralTabTitle="kendo.grid.columnMenuGeneralTabTitle|The title for the column menu General tab"
2240
+ columnMenuGeneralTabTitle="General"
2241
+
2242
+ i18n-columnMenuColumnsTabTitle="kendo.grid.columnMenuColumnsTabTitle|The title for the column menu Columns tab"
2243
+ columnMenuColumnsTabTitle="Columns"
2235
2244
  >
2236
2245
  </ng-container>
2237
2246
  <kendo-grid-toolbar
@@ -2832,6 +2841,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2832
2841
 
2833
2842
  i18n-dragRowHandleLabel="kendo.grid.dragRowHandleLabel|The label for the Grid drag row handle"
2834
2843
  dragRowHandleLabel="Drag row"
2844
+
2845
+ i18n-columnMenuFilterTabTitle="kendo.grid.columnMenuFilterTabTitle|The title for the column menu Filter tab"
2846
+ columnMenuFilterTabTitle="Filter"
2847
+
2848
+ i18n-columnMenuGeneralTabTitle="kendo.grid.columnMenuGeneralTabTitle|The title for the column menu General tab"
2849
+ columnMenuGeneralTabTitle="General"
2850
+
2851
+ i18n-columnMenuColumnsTabTitle="kendo.grid.columnMenuColumnsTabTitle|The title for the column menu Columns tab"
2852
+ columnMenuColumnsTabTitle="Columns"
2835
2853
  >
2836
2854
  </ng-container>
2837
2855
  <kendo-grid-toolbar
@@ -7,12 +7,12 @@ import { GroupInfoService } from './group-info.service';
7
7
  import { GroupsService } from './groups.service';
8
8
  import { columnsSpan } from '../columns/column-common';
9
9
  import { getGroupRowArgs } from './utils';
10
- import { LocalizationService } from '@progress/kendo-angular-l10n';
11
10
  import { caretAltDownIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
11
+ import { ContextService } from '../common/provider.service';
12
12
  import * as i0 from "@angular/core";
13
13
  import * as i1 from "./groups.service";
14
14
  import * as i2 from "./group-info.service";
15
- import * as i3 from "@progress/kendo-angular-l10n";
15
+ import * as i3 from "../common/provider.service";
16
16
  import * as i4 from "@progress/kendo-angular-icons";
17
17
  import * as i5 from "@angular/common";
18
18
  import * as i6 from "../navigation/logical-cell.directive";
@@ -22,10 +22,10 @@ import * as i8 from "../rendering/common/field-accessor.pipe";
22
22
  * @hidden
23
23
  */
24
24
  export class GroupHeaderComponent {
25
- constructor(groupsService, groupInfoService, localization) {
25
+ constructor(groupsService, groupInfoService, ctx) {
26
26
  this.groupsService = groupsService;
27
27
  this.groupInfoService = groupInfoService;
28
- this.localization = localization;
28
+ this.ctx = ctx;
29
29
  this.skipGroupDecoration = false;
30
30
  this.hasDetails = false;
31
31
  this.totalColumnsCount = 0;
@@ -83,10 +83,10 @@ export class GroupHeaderComponent {
83
83
  }
84
84
  get groupButtonTitle() {
85
85
  const messageKey = this.isExpanded ? 'groupCollapse' : 'groupExpand';
86
- return this.localization.get(messageKey);
86
+ return this.ctx.localization.get(messageKey);
87
87
  }
88
88
  }
89
- GroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: i1.GroupsService }, { token: i2.GroupInfoService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
89
+ GroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: i1.GroupsService }, { token: i2.GroupInfoService }, { token: i3.ContextService }], target: i0.ɵɵFactoryTarget.Component });
90
90
  GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: { rowIndex: "rowIndex", logicalRowIndex: "logicalRowIndex", item: "item", skipGroupDecoration: "skipGroupDecoration", hasDetails: "hasDetails", totalColumnsCount: "totalColumnsCount", hasGroupHeaderColumn: "hasGroupHeaderColumn", groupHeaderColumns: "groupHeaderColumns", columns: "columns", groups: "groups" }, host: { properties: { "class.k-grouping-row": "this.groupItemClass", "class.k-table-group-row": "this.tableGroupRowClass" } }, ngImport: i0, template: `
91
91
  <ng-container *ngIf="!skipGroupDecoration">
92
92
  <td class="k-group-cell k-table-td"
@@ -232,7 +232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
232
232
  </ng-container>
233
233
  `
234
234
  }]
235
- }], ctorParameters: function () { return [{ type: i1.GroupsService }, { type: i2.GroupInfoService }, { type: i3.LocalizationService }]; }, propDecorators: { rowIndex: [{
235
+ }], ctorParameters: function () { return [{ type: i1.GroupsService }, { type: i2.GroupInfoService }, { type: i3.ContextService }]; }, propDecorators: { rowIndex: [{
236
236
  type: Input
237
237
  }], logicalRowIndex: [{
238
238
  type: Input