@progress/kendo-angular-grid 12.2.0-develop.7 → 13.0.0-develop.10

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 (171) hide show
  1. package/column-menu/column-chooser.component.d.ts +4 -4
  2. package/column-menu/column-menu-autosize-all.component.d.ts +2 -4
  3. package/column-menu/column-menu-autosize.component.d.ts +1 -3
  4. package/column-menu/column-menu-chooser.component.d.ts +3 -3
  5. package/column-menu/column-menu-filter.component.d.ts +3 -3
  6. package/column-menu/column-menu-lock.component.d.ts +3 -3
  7. package/column-menu/column-menu-position.component.d.ts +4 -4
  8. package/column-menu/column-menu-settings.interface.d.ts +5 -0
  9. package/column-menu/column-menu-sort.component.d.ts +6 -3
  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-list.component.mjs +3 -3
  23. package/esm2020/column-menu/column-menu-autosize-all.component.mjs +15 -18
  24. package/esm2020/column-menu/column-menu-autosize.component.mjs +9 -12
  25. package/esm2020/column-menu/column-menu-chooser.component.mjs +13 -13
  26. package/esm2020/column-menu/column-menu-filter.component.mjs +9 -9
  27. package/esm2020/column-menu/column-menu-item.component.mjs +1 -1
  28. package/esm2020/column-menu/column-menu-lock.component.mjs +7 -7
  29. package/esm2020/column-menu/column-menu-position.component.mjs +9 -9
  30. package/esm2020/column-menu/column-menu-sort.component.mjs +13 -10
  31. package/esm2020/column-menu/column-menu-stick.component.mjs +7 -7
  32. package/esm2020/column-menu/column-menu.component.mjs +257 -17
  33. package/esm2020/column-menu/column-menu.module.mjs +4 -3
  34. package/esm2020/column-resizing/column-handle.directive.mjs +7 -7
  35. package/esm2020/common/provider.service.mjs +6 -3
  36. package/esm2020/common/single-popup.service.mjs +8 -8
  37. package/esm2020/editing/add-command.directive.mjs +7 -7
  38. package/esm2020/editing/cancel-command.directive.mjs +7 -7
  39. package/esm2020/editing/edit-command.directive.mjs +7 -7
  40. package/esm2020/editing/remove-command.directive.mjs +7 -7
  41. package/esm2020/editing/save-command.directive.mjs +7 -7
  42. package/esm2020/excel/excel-command.directive.mjs +7 -7
  43. package/esm2020/excel/excel.component.mjs +7 -7
  44. package/esm2020/filtering/boolean-filter.component.mjs +13 -13
  45. package/esm2020/filtering/cell/autocomplete-filter-cell.component.mjs +7 -7
  46. package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +7 -7
  47. package/esm2020/filtering/cell/date-filter-cell.component.mjs +9 -9
  48. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +7 -7
  49. package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +10 -10
  50. package/esm2020/filtering/cell/string-filter-cell.component.mjs +7 -7
  51. package/esm2020/filtering/date-filter.component.mjs +9 -9
  52. package/esm2020/filtering/filter-row.component.mjs +7 -7
  53. package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +10 -8
  54. package/esm2020/filtering/menu/date-filter-menu-input.component.mjs +8 -8
  55. package/esm2020/filtering/menu/date-filter-menu.component.mjs +9 -9
  56. package/esm2020/filtering/menu/filter-menu-container.component.mjs +20 -20
  57. package/esm2020/filtering/menu/filter-menu-input-wrapper.component.mjs +10 -8
  58. package/esm2020/filtering/menu/filter-menu.component.mjs +8 -8
  59. package/esm2020/filtering/menu/menu-tabbing.service.mjs +1 -0
  60. package/esm2020/filtering/menu/numeric-filter-menu-input.component.mjs +8 -8
  61. package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +9 -9
  62. package/esm2020/filtering/menu/string-filter-menu-input.component.mjs +7 -7
  63. package/esm2020/filtering/menu/string-filter-menu.component.mjs +9 -9
  64. package/esm2020/filtering/numeric-filter.component.mjs +9 -9
  65. package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +5 -5
  66. package/esm2020/filtering/operators/after-filter-operator.component.mjs +5 -5
  67. package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +5 -5
  68. package/esm2020/filtering/operators/before-filter-operator.component.mjs +5 -5
  69. package/esm2020/filtering/operators/contains-filter-operator.component.mjs +5 -5
  70. package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +5 -5
  71. package/esm2020/filtering/operators/eq-filter-operator.component.mjs +5 -5
  72. package/esm2020/filtering/operators/filter-operator.base.mjs +9 -9
  73. package/esm2020/filtering/operators/gt-filter-operator.component.mjs +5 -5
  74. package/esm2020/filtering/operators/gte-filter-operator.component.mjs +5 -5
  75. package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +5 -5
  76. package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +5 -5
  77. package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +5 -5
  78. package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +5 -5
  79. package/esm2020/filtering/operators/lt-filter-operator.component.mjs +5 -5
  80. package/esm2020/filtering/operators/lte-filter-operator.component.mjs +5 -5
  81. package/esm2020/filtering/operators/neq-filter-operator.component.mjs +5 -5
  82. package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +5 -5
  83. package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +5 -5
  84. package/esm2020/filtering/string-filter.component.mjs +8 -8
  85. package/esm2020/grid.component.mjs +33 -15
  86. package/esm2020/grouping/group-header.component.mjs +32 -15
  87. package/esm2020/grouping/group-panel.component.mjs +10 -10
  88. package/esm2020/localization/messages.mjs +7 -1
  89. package/esm2020/navigation/navigation.service.mjs +8 -8
  90. package/esm2020/package-metadata.mjs +2 -2
  91. package/esm2020/pager/pager-element.component.mjs +25 -8
  92. package/esm2020/pager/pager-info.component.mjs +6 -6
  93. package/esm2020/pager/pager-input.component.mjs +6 -6
  94. package/esm2020/pager/pager-next-buttons.component.mjs +14 -17
  95. package/esm2020/pager/pager-numeric-buttons.component.mjs +6 -6
  96. package/esm2020/pager/pager-page-sizes.component.mjs +7 -7
  97. package/esm2020/pager/pager-prev-buttons.component.mjs +14 -17
  98. package/esm2020/pager/pager.component.mjs +7 -7
  99. package/esm2020/pdf/pdf-command.directive.mjs +7 -7
  100. package/esm2020/rendering/cell.component.mjs +9 -9
  101. package/esm2020/rendering/common/loading.component.mjs +7 -7
  102. package/esm2020/rendering/header/header.component.mjs +27 -30
  103. package/esm2020/rendering/list.component.mjs +7 -7
  104. package/esm2020/rendering/table-body.component.mjs +12 -12
  105. package/excel/excel-command.directive.d.ts +2 -2
  106. package/excel/excel.component.d.ts +3 -3
  107. package/fesm2015/progress-kendo-angular-grid.mjs +858 -558
  108. package/fesm2020/progress-kendo-angular-grid.mjs +855 -558
  109. package/filtering/base-filter-cell.component.d.ts +1 -1
  110. package/filtering/boolean-filter.component.d.ts +3 -3
  111. package/filtering/cell/autocomplete-filter-cell.component.d.ts +3 -3
  112. package/filtering/cell/boolean-filter-cell.component.d.ts +2 -2
  113. package/filtering/cell/date-filter-cell.component.d.ts +3 -3
  114. package/filtering/cell/filter-cell-operators.component.d.ts +3 -3
  115. package/filtering/cell/numeric-filter-cell.component.d.ts +4 -4
  116. package/filtering/cell/string-filter-cell.component.d.ts +2 -2
  117. package/filtering/date-filter.component.d.ts +3 -3
  118. package/filtering/filter-row.component.d.ts +3 -3
  119. package/filtering/menu/boolean-filter-menu.component.d.ts +2 -2
  120. package/filtering/menu/date-filter-menu-input.component.d.ts +3 -3
  121. package/filtering/menu/date-filter-menu.component.d.ts +2 -2
  122. package/filtering/menu/filter-menu-container.component.d.ts +3 -3
  123. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +3 -3
  124. package/filtering/menu/filter-menu.component.d.ts +3 -3
  125. package/filtering/menu/menu-tabbing.service.d.ts +1 -0
  126. package/filtering/menu/numeric-filter-menu-input.component.d.ts +3 -3
  127. package/filtering/menu/numeric-filter-menu.component.d.ts +2 -2
  128. package/filtering/menu/string-filter-menu-input.component.d.ts +3 -3
  129. package/filtering/menu/string-filter-menu.component.d.ts +2 -2
  130. package/filtering/numeric-filter.component.d.ts +3 -3
  131. package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
  132. package/filtering/operators/after-filter-operator.component.d.ts +2 -2
  133. package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
  134. package/filtering/operators/before-filter-operator.component.d.ts +2 -2
  135. package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
  136. package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
  137. package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
  138. package/filtering/operators/filter-operator.base.d.ts +3 -3
  139. package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
  140. package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
  141. package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
  142. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
  143. package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
  144. package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
  145. package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
  146. package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
  147. package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
  148. package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
  149. package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
  150. package/filtering/string-filter.component.d.ts +3 -3
  151. package/grouping/group-header.component.d.ts +8 -5
  152. package/grouping/group-panel.component.d.ts +3 -3
  153. package/localization/messages.d.ts +13 -1
  154. package/navigation/navigation.service.d.ts +3 -3
  155. package/package.json +16 -15
  156. package/pager/pager-element.component.d.ts +12 -3
  157. package/pager/pager-info.component.d.ts +2 -2
  158. package/pager/pager-input.component.d.ts +2 -2
  159. package/pager/pager-next-buttons.component.d.ts +2 -5
  160. package/pager/pager-numeric-buttons.component.d.ts +2 -2
  161. package/pager/pager-page-sizes.component.d.ts +2 -2
  162. package/pager/pager-prev-buttons.component.d.ts +2 -5
  163. package/pager/pager.component.d.ts +3 -3
  164. package/pdf/pdf-command.directive.d.ts +2 -2
  165. package/rendering/cell.component.d.ts +3 -3
  166. package/rendering/common/loading.component.d.ts +3 -3
  167. package/rendering/header/header.component.d.ts +1 -3
  168. package/rendering/list.component.d.ts +3 -3
  169. package/rendering/table-body.component.d.ts +3 -3
  170. package/schematics/ngAdd/index.js +5 -3
  171. package/scrolling/scroll-request.service.d.ts +6 -0
@@ -4,13 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ChangeDetectorRef } from '@angular/core';
6
6
  import { FilterService } from '../filter.service';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
7
  import { BooleanFilterComponent } from '../boolean-filter.component';
9
8
  import { replaceMessagePlaceholder } from '../../utils';
10
9
  import { SizingOptionsService } from '../../layout/sizing-options.service';
10
+ import { ContextService } from '../../common/provider.service';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "../filter.service";
13
- import * as i2 from "@progress/kendo-angular-l10n";
13
+ import * as i2 from "../../common/provider.service";
14
14
  import * as i3 from "../../layout/sizing-options.service";
15
15
  import * as i4 from "./filter-cell-wrapper.component";
16
16
  import * as i5 from "@progress/kendo-angular-dropdowns";
@@ -34,8 +34,8 @@ import * as i7 from "../../navigation/focusable.directive";
34
34
  * ```
35
35
  */
36
36
  export class BooleanFilterCellComponent extends BooleanFilterComponent {
37
- constructor(filterService, localization, cd, sizingService) {
38
- super(filterService, localization);
37
+ constructor(filterService, ctx, cd, sizingService) {
38
+ super(filterService, ctx);
39
39
  this.cd = cd;
40
40
  /**
41
41
  * @hidden
@@ -54,12 +54,12 @@ export class BooleanFilterCellComponent extends BooleanFilterComponent {
54
54
  * @hidden
55
55
  */
56
56
  get columnLabel() {
57
- const localizationMsg = this.localization.get('filterInputLabel') || '';
57
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
58
58
  const columnName = this.column.title || this.column.field;
59
59
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
60
60
  }
61
61
  }
62
- BooleanFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
62
+ BooleanFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }, { token: i0.ChangeDetectorRef }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
63
63
  BooleanFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BooleanFilterCellComponent, selector: "kendo-grid-boolean-filter-cell", usesInheritance: true, ngImport: i0, template: `
64
64
  <kendo-grid-filter-wrapper-cell
65
65
  [column]="column"
@@ -107,4 +107,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
107
107
  </kendo-grid-filter-wrapper-cell>
108
108
  `
109
109
  }]
110
- }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i3.SizingOptionsService }]; } });
110
+ }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.ContextService }, { type: i0.ChangeDetectorRef }, { type: i3.SizingOptionsService }]; } });
@@ -4,13 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input } from '@angular/core';
6
6
  import { FilterService } from '../filter.service';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
7
  import { DateFilterComponent } from '../date-filter.component';
9
8
  import { replaceMessagePlaceholder } from '../../utils';
10
9
  import { SizingOptionsService } from '../../layout/sizing-options.service';
10
+ import { ContextService } from '../../common/provider.service';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "../filter.service";
13
- import * as i2 from "@progress/kendo-angular-l10n";
13
+ import * as i2 from "../../common/provider.service";
14
14
  import * as i3 from "../../layout/sizing-options.service";
15
15
  import * as i4 from "./filter-cell-wrapper.component";
16
16
  import * as i5 from "@progress/kendo-angular-dateinputs";
@@ -33,9 +33,9 @@ import * as i7 from "../../navigation/focusable.directive";
33
33
  * ```
34
34
  */
35
35
  export class DateFilterCellComponent extends DateFilterComponent {
36
- constructor(filterService, localization, sizingService) {
37
- super(filterService, localization);
38
- this.localization = localization;
36
+ constructor(filterService, ctx, sizingService) {
37
+ super(filterService, ctx);
38
+ this.ctx = ctx;
39
39
  /**
40
40
  * Represents a [DatePicker](slug:overview_datepicker) filter-cell component.
41
41
  * [See example](slug:filter_row#toc-built-in-filter-row-components).
@@ -64,18 +64,18 @@ export class DateFilterCellComponent extends DateFilterComponent {
64
64
  * @hidden
65
65
  */
66
66
  messageFor(key) {
67
- return this.localization.get(key);
67
+ return this.ctx.localization.get(key);
68
68
  }
69
69
  /**
70
70
  * @hidden
71
71
  */
72
72
  get columnLabel() {
73
- const localizationMsg = this.localization.get('filterInputLabel') || '';
73
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
74
74
  const columnName = this.column.title || this.column.field;
75
75
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
76
76
  }
77
77
  }
78
- DateFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
78
+ DateFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
79
79
  DateFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateFilterCellComponent, selector: "kendo-grid-date-filter-cell", inputs: { showOperators: "showOperators" }, usesInheritance: true, ngImport: i0, template: `
80
80
  <kendo-grid-filter-wrapper-cell
81
81
  [column]="column"
@@ -145,6 +145,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
145
145
  </kendo-grid-filter-wrapper-cell>
146
146
  `
147
147
  }]
148
- }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }, { type: i3.SizingOptionsService }]; }, propDecorators: { showOperators: [{
148
+ }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.ContextService }, { type: i3.SizingOptionsService }]; }, propDecorators: { showOperators: [{
149
149
  type: Input
150
150
  }] } });
@@ -5,11 +5,11 @@
5
5
  import { Component, Input, Output, EventEmitter, HostBinding, ViewChild } from '@angular/core';
6
6
  import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
7
7
  import { Keys } from '@progress/kendo-angular-common';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
8
  import { SizingOptionsService } from '../../layout/sizing-options.service';
10
9
  import { filterClearIcon } from '@progress/kendo-svg-icons';
10
+ import { ContextService } from '../../common/provider.service';
11
11
  import * as i0 from "@angular/core";
12
- import * as i1 from "@progress/kendo-angular-l10n";
12
+ import * as i1 from "../../common/provider.service";
13
13
  import * as i2 from "../../layout/sizing-options.service";
14
14
  import * as i3 from "@progress/kendo-angular-dropdowns";
15
15
  import * as i4 from "@progress/kendo-angular-buttons";
@@ -33,8 +33,8 @@ import * as i6 from "../../navigation/focusable.directive";
33
33
  * ```
34
34
  */
35
35
  export class FilterCellOperatorsComponent {
36
- constructor(localization, sizing) {
37
- this.localization = localization;
36
+ constructor(ctx, sizing) {
37
+ this.ctx = ctx;
38
38
  this.sizing = sizing;
39
39
  this.clearText = 'Clear';
40
40
  this.filterClearIcon = filterClearIcon;
@@ -103,7 +103,7 @@ export class FilterCellOperatorsComponent {
103
103
  }
104
104
  }
105
105
  ngOnInit() {
106
- this.subs = this.localization.changes.subscribe(() => this.clearText = this.localization.get('filterClearButton'));
106
+ this.subs = this.ctx.localization.changes.subscribe(() => this.clearText = this.ctx.localization.get('filterClearButton'));
107
107
  this.subs.add(this.sizing.changes.subscribe((size) => this.size = size));
108
108
  }
109
109
  ngOnDestroy() {
@@ -112,7 +112,7 @@ export class FilterCellOperatorsComponent {
112
112
  }
113
113
  }
114
114
  }
115
- FilterCellOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
115
+ FilterCellOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.ContextService }, { token: i2.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
116
116
  FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterCellOperatorsComponent, selector: "kendo-grid-filter-cell-operators", inputs: { operators: "operators", showButton: "showButton", showOperators: "showOperators", value: "value" }, outputs: { valueChange: "valueChange", clear: "clear" }, host: { properties: { "class.k-filtercell-operator": "this.hostClasses" } }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true }], ngImport: i0, template: `
117
117
  <kendo-dropdownlist
118
118
  #dropdown
@@ -174,7 +174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
174
174
  (keydown)="clearKeydown($event)"></button>
175
175
  `
176
176
  }]
177
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.SizingOptionsService }]; }, propDecorators: { hostClasses: [{
177
+ }], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i2.SizingOptionsService }]; }, propDecorators: { hostClasses: [{
178
178
  type: HostBinding,
179
179
  args: ['class.k-filtercell-operator']
180
180
  }], dropdown: [{
@@ -4,13 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input } from '@angular/core';
6
6
  import { FilterService } from '../filter.service';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
7
  import { NumericFilterComponent } from '../numeric-filter.component';
9
8
  import { replaceMessagePlaceholder } from '../../utils';
10
9
  import { SizingOptionsService } from '../../layout/sizing-options.service';
10
+ import { ContextService } from '../../common/provider.service';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "../filter.service";
13
- import * as i2 from "@progress/kendo-angular-l10n";
13
+ import * as i2 from "../../common/provider.service";
14
14
  import * as i3 from "../../layout/sizing-options.service";
15
15
  import * as i4 from "./filter-cell-wrapper.component";
16
16
  import * as i5 from "@progress/kendo-angular-inputs";
@@ -33,13 +33,13 @@ import * as i7 from "../filter-input.directive";
33
33
  * ```
34
34
  */
35
35
  export class NumericFilterCellComponent extends NumericFilterComponent {
36
- constructor(filterService, localization, sizingService) {
37
- super(filterService, localization);
38
- this.localization = localization;
36
+ constructor(filterService, ctx, sizingService) {
37
+ super(filterService, ctx);
38
+ this.ctx = ctx;
39
39
  /**
40
40
  * Determines the delay time (in milliseconds) before the filter value is submitted.
41
41
  * A value of `0` indicates no delay. The default value is `500`.
42
- * @type {boolean}
42
+ * @type {boolean}\
43
43
  * @default 500
44
44
  */
45
45
  this.filterDelay = 500;
@@ -59,18 +59,18 @@ export class NumericFilterCellComponent extends NumericFilterComponent {
59
59
  * @hidden
60
60
  */
61
61
  messageFor(key) {
62
- return this.localization.get(key);
62
+ return this.ctx.localization.get(key);
63
63
  }
64
64
  /**
65
65
  * @hidden
66
66
  */
67
67
  get columnLabel() {
68
- const localizationMsg = this.localization.get('filterInputLabel') || '';
68
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
69
69
  const columnName = this.column.title || this.column.field;
70
70
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
71
71
  }
72
72
  }
73
- NumericFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
73
+ NumericFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
74
74
  NumericFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NumericFilterCellComponent, selector: "kendo-grid-numeric-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators" }, usesInheritance: true, ngImport: i0, template: `
75
75
  <kendo-grid-filter-wrapper-cell
76
76
  [column]="column"
@@ -138,7 +138,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
138
138
  </kendo-grid-filter-wrapper-cell>
139
139
  `
140
140
  }]
141
- }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }, { type: i3.SizingOptionsService }]; }, propDecorators: { filterDelay: [{
141
+ }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.ContextService }, { type: i3.SizingOptionsService }]; }, propDecorators: { filterDelay: [{
142
142
  type: Input
143
143
  }], showOperators: [{
144
144
  type: Input
@@ -4,13 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input } from '@angular/core';
6
6
  import { FilterService } from '../filter.service';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
7
  import { StringFilterComponent } from "../string-filter.component";
9
8
  import { replaceMessagePlaceholder } from '../../utils';
10
9
  import { SizingOptionsService } from '../../layout/sizing-options.service';
10
+ import { ContextService } from '../../common/provider.service';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "../filter.service";
13
- import * as i2 from "@progress/kendo-angular-l10n";
13
+ import * as i2 from "../../common/provider.service";
14
14
  import * as i3 from "../../layout/sizing-options.service";
15
15
  import * as i4 from "./filter-cell-wrapper.component";
16
16
  import * as i5 from "@progress/kendo-angular-inputs";
@@ -34,8 +34,8 @@ import * as i8 from "@angular/forms";
34
34
  * ```
35
35
  */
36
36
  export class StringFilterCellComponent extends StringFilterComponent {
37
- constructor(filterService, localization, sizingService) {
38
- super(filterService, localization);
37
+ constructor(filterService, ctx, sizingService) {
38
+ super(filterService, ctx);
39
39
  /**
40
40
  * Determines the delay time (in milliseconds) before the filter value is submitted.
41
41
  * A value of `0` indicates no delay.
@@ -60,12 +60,12 @@ export class StringFilterCellComponent extends StringFilterComponent {
60
60
  * @hidden
61
61
  */
62
62
  get columnLabel() {
63
- const localizationMsg = this.localization.get('filterInputLabel') || '';
63
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
64
64
  const columnName = this.column.title || this.column.field;
65
65
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
66
66
  }
67
67
  }
68
- StringFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
68
+ StringFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
69
69
  StringFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StringFilterCellComponent, selector: "kendo-grid-string-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators" }, usesInheritance: true, ngImport: i0, template: `
70
70
  <kendo-grid-filter-wrapper-cell
71
71
  [column]="column"
@@ -105,7 +105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
105
105
  </kendo-grid-filter-wrapper-cell>
106
106
  `
107
107
  }]
108
- }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }, { type: i3.SizingOptionsService }]; }, propDecorators: { filterDelay: [{
108
+ }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.ContextService }, { type: i3.SizingOptionsService }]; }, propDecorators: { filterDelay: [{
109
109
  type: Input
110
110
  }], showOperators: [{
111
111
  type: Input
@@ -7,12 +7,12 @@ import { Component, 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 { isNullOrEmptyString, extractFormat } from "../utils";
12
11
  import { toJSON } from './operators/filter-operator.base';
12
+ import { ContextService } from '../common/provider.service';
13
13
  import * as i0 from "@angular/core";
14
14
  import * as i1 from "./filter.service";
15
- import * as i2 from "@progress/kendo-angular-l10n";
15
+ import * as i2 from "../common/provider.service";
16
16
  const dateOperators = localizeOperators({
17
17
  "filterEqOperator": "eq",
18
18
  "filterNotEqOperator": "neq",
@@ -27,9 +27,9 @@ const dateOperators = localizeOperators({
27
27
  * @hidden
28
28
  */
29
29
  export class DateFilterComponent extends BaseFilterCellComponent {
30
- constructor(filterService, localization) {
30
+ constructor(filterService, ctx) {
31
31
  super(filterService);
32
- this.localization = localization;
32
+ this.ctx = ctx;
33
33
  /**
34
34
  * The default filter operator. Defaults to `contains`.
35
35
  * @type {string}
@@ -58,7 +58,7 @@ export class DateFilterComponent extends BaseFilterCellComponent {
58
58
  * @default false
59
59
  */
60
60
  this.weekNumber = false;
61
- this.defaultOperators = dateOperators(this.localization);
61
+ this.defaultOperators = dateOperators(this.ctx.localization);
62
62
  }
63
63
  /**
64
64
  * The current filter for the associated column field.
@@ -98,7 +98,7 @@ export class DateFilterComponent extends BaseFilterCellComponent {
98
98
  extractFormat(this.column.format) : "d";
99
99
  }
100
100
  ngOnInit() {
101
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
101
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
102
102
  }
103
103
  ngOnDestroy() {
104
104
  if (this.subscription) {
@@ -107,13 +107,13 @@ export class DateFilterComponent extends BaseFilterCellComponent {
107
107
  super.ngOnDestroy();
108
108
  }
109
109
  localizationChange() {
110
- this.defaultOperators = dateOperators(this.localization);
110
+ this.defaultOperators = dateOperators(this.ctx.localization);
111
111
  if (this.operatorList.length) {
112
112
  this.operators = toJSON(this.operatorList.toArray());
113
113
  }
114
114
  }
115
115
  }
116
- DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
116
+ DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Component });
117
117
  DateFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateFilterComponent, selector: "kendo-grid-date-filter-base", inputs: { column: "column", filter: "filter", operator: "operator", format: "format", min: "min", max: "max", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", activeView: "activeView", bottomView: "bottomView", topView: "topView", weekNumber: "weekNumber" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
118
118
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, decorators: [{
119
119
  type: Component,
@@ -121,7 +121,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
121
121
  selector: 'kendo-grid-date-filter-base',
122
122
  template: ``
123
123
  }]
124
- }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.LocalizationService }]; }, propDecorators: { column: [{
124
+ }], ctorParameters: function () { return [{ type: i1.FilterService }, { type: i2.ContextService }]; }, propDecorators: { column: [{
125
125
  type: Input
126
126
  }], filter: [{
127
127
  type: Input
@@ -5,10 +5,10 @@
5
5
  import { ColumnInfoService } from './../common/column-info.service';
6
6
  import { Component, Input, HostBinding } from '@angular/core';
7
7
  import { DetailTemplateDirective } from '../rendering/details/detail-template.directive';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
8
  import { replaceMessagePlaceholder } from '../utils';
9
+ import { ContextService } from '../common/provider.service';
10
10
  import * as i0 from "@angular/core";
11
- import * as i1 from "@progress/kendo-angular-l10n";
11
+ import * as i1 from "../common/provider.service";
12
12
  import * as i2 from "./../common/column-info.service";
13
13
  import * as i3 from "./cell/filter-cell.component";
14
14
  import * as i4 from "@angular/common";
@@ -17,8 +17,8 @@ import * as i5 from "../navigation/logical-cell.directive";
17
17
  * @hidden
18
18
  */
19
19
  export class FilterRowComponent {
20
- constructor(localization, columnInfoService) {
21
- this.localization = localization;
20
+ constructor(ctx, columnInfoService) {
21
+ this.ctx = ctx;
22
22
  this.columnInfoService = columnInfoService;
23
23
  this.columns = [];
24
24
  this.groups = [];
@@ -29,12 +29,12 @@ export class FilterRowComponent {
29
29
  return { ...sticky, ...column.filterStyle };
30
30
  }
31
31
  filterLabel(column) {
32
- const localizationMsg = this.localization.get('filterInputLabel') || '';
32
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
33
33
  const columnName = column.title || column.field;
34
34
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
35
35
  }
36
36
  }
37
- FilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterRowComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
37
+ FilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterRowComponent, deps: [{ token: i1.ContextService }, { token: i2.ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
38
38
  FilterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: { columns: "columns", filter: "filter", groups: "groups", detailTemplate: "detailTemplate", logicalRowIndex: "logicalRowIndex", lockedColumnsCount: "lockedColumnsCount" }, host: { properties: { "class.k-filter-row": "this.filterRowClass" } }, ngImport: i0, template: `
39
39
  <td
40
40
  class="k-table-td"
@@ -94,7 +94,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
94
94
  ></td>
95
95
  `
96
96
  }]
97
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ColumnInfoService }]; }, propDecorators: { columns: [{
97
+ }], ctorParameters: function () { return [{ type: i1.ContextService }, { type: i2.ColumnInfoService }]; }, propDecorators: { columns: [{
98
98
  type: Input
99
99
  }], filter: [{
100
100
  type: Input
@@ -4,14 +4,14 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input, HostBinding, QueryList, ViewChildren } from '@angular/core';
6
6
  import { FilterService } from '../filter.service';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
7
  import { BooleanFilterComponent } from '../boolean-filter.component';
9
8
  import { guid } from '@progress/kendo-angular-common';
10
9
  import { BooleanFilterRadioButtonDirective } from './filter-radio-button.directive';
11
10
  import { replaceMessagePlaceholder } from '../../utils';
12
11
  import { MenuTabbingService } from './menu-tabbing.service';
12
+ import { ContextService } from '../../common/provider.service';
13
13
  import * as i0 from "@angular/core";
14
- import * as i1 from "@progress/kendo-angular-l10n";
14
+ import * as i1 from "../../common/provider.service";
15
15
  import * as i2 from "@angular/common";
16
16
  import * as i3 from "@progress/kendo-angular-inputs";
17
17
  import * as i4 from "./filter-radio-button.directive";
@@ -33,8 +33,8 @@ import * as i4 from "./filter-radio-button.directive";
33
33
  * ```
34
34
  */
35
35
  export class BooleanFilterMenuComponent extends BooleanFilterComponent {
36
- constructor(localization) {
37
- super(null, localization);
36
+ constructor(ctx) {
37
+ super(null, ctx);
38
38
  /**
39
39
  * The current menu filter.
40
40
  * @type {CompositeFilterDescriptor}
@@ -50,7 +50,9 @@ export class BooleanFilterMenuComponent extends BooleanFilterComponent {
50
50
  }
51
51
  ngAfterViewInit() {
52
52
  this.filterService.menuTabbingService.firstFocusable = this.radioButtons.first.radioButtonEl;
53
- this.radioButtons.first.radioButtonEl.focus();
53
+ if (!this.menuTabbingService?.isTabbedInterface) {
54
+ this.radioButtons.first.radioButtonEl.focus();
55
+ }
54
56
  }
55
57
  /**
56
58
  * @hidden
@@ -88,12 +90,12 @@ export class BooleanFilterMenuComponent extends BooleanFilterComponent {
88
90
  * @hidden
89
91
  */
90
92
  get columnLabel() {
91
- const localizationMsg = this.localization.get('filterInputLabel') || '';
93
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
92
94
  const columnName = this.column.title || this.column.field;
93
95
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
94
96
  }
95
97
  }
96
- BooleanFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
98
+ BooleanFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterMenuComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
97
99
  BooleanFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BooleanFilterMenuComponent, selector: "kendo-grid-boolean-filter-menu", inputs: { filter: "filter", filterService: "filterService", menuTabbingService: "menuTabbingService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, viewQueries: [{ propertyName: "radioButtons", predicate: BooleanFilterRadioButtonDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
98
100
  <ul class="k-radio-list k-reset">
99
101
  <li *ngFor="let item of items">
@@ -135,7 +137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
135
137
  </ul>
136
138
  `
137
139
  }]
138
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
140
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; }, propDecorators: { hostClasses: [{
139
141
  type: HostBinding,
140
142
  args: ['class.k-filtercell']
141
143
  }], filter: [{
@@ -8,11 +8,11 @@ import { ColumnComponent } from "../../columns/column.component";
8
8
  import { FilterService } from '../filter.service';
9
9
  import { SinglePopupService } from '../../common/single-popup.service';
10
10
  import { filter } from 'rxjs/operators';
11
- import { LocalizationService } from '@progress/kendo-angular-l10n';
12
11
  import { replaceMessagePlaceholder } from '../../utils';
12
+ import { ContextService } from '../../common/provider.service';
13
13
  import * as i0 from "@angular/core";
14
14
  import * as i1 from "../../common/single-popup.service";
15
- import * as i2 from "@progress/kendo-angular-l10n";
15
+ import * as i2 from "../../common/provider.service";
16
16
  import * as i3 from "./filter-menu-input-wrapper.component";
17
17
  import * as i4 from "@progress/kendo-angular-dateinputs";
18
18
  import * as i5 from "../filter-input.directive";
@@ -20,9 +20,9 @@ import * as i5 from "../filter-input.directive";
20
20
  * @hidden
21
21
  */
22
22
  export class DateFilterMenuInputComponent {
23
- constructor(popupService, localizationService) {
23
+ constructor(popupService, ctx) {
24
24
  this.popupService = popupService;
25
- this.localizationService = localizationService;
25
+ this.ctx = ctx;
26
26
  this.operators = [];
27
27
  }
28
28
  ngOnDestroy() {
@@ -36,15 +36,15 @@ export class DateFilterMenuInputComponent {
36
36
  .subscribe(e => e.preventDefault());
37
37
  }
38
38
  messageFor(key) {
39
- return this.localizationService.get(key);
39
+ return this.ctx.localization.get(key);
40
40
  }
41
41
  get columnLabel() {
42
- const localizationMsg = this.localizationService.get('filterInputLabel') || '';
42
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
43
43
  const columnName = this.column ? this.column.title || this.column.field : '';
44
44
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
45
45
  }
46
46
  }
47
- DateFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuInputComponent, deps: [{ token: i1.SinglePopupService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
47
+ DateFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuInputComponent, deps: [{ token: i1.SinglePopupService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Component });
48
48
  DateFilterMenuInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateFilterMenuInputComponent, selector: "kendo-grid-date-filter-menu-input", inputs: { operators: "operators", column: "column", filter: "filter", operator: "operator", currentFilter: "currentFilter", filterService: "filterService", menuTabbingService: "menuTabbingService", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", min: "min", max: "max", activeView: "activeView", bottomView: "bottomView", topView: "topView", weekNumber: "weekNumber", isFirstDropDown: "isFirstDropDown" }, ngImport: i0, template: `
49
49
  <kendo-grid-filter-menu-input-wrapper
50
50
  [column]="column"
@@ -122,7 +122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
122
122
  </kendo-grid-filter-menu-input-wrapper>
123
123
  `
124
124
  }]
125
- }], ctorParameters: function () { return [{ type: i1.SinglePopupService }, { type: i2.LocalizationService }]; }, propDecorators: { operators: [{
125
+ }], ctorParameters: function () { return [{ type: i1.SinglePopupService }, { type: i2.ContextService }]; }, propDecorators: { operators: [{
126
126
  type: Input
127
127
  }], column: [{
128
128
  type: Input
@@ -6,12 +6,12 @@ import { MenuTabbingService } from './menu-tabbing.service';
6
6
  import { Component, Input, HostBinding } from '@angular/core';
7
7
  import { ColumnComponent } from "../../columns/column.component";
8
8
  import { FilterService } from '../filter.service';
9
- import { LocalizationService } from '@progress/kendo-angular-l10n';
10
9
  import { DateFilterComponent } from '../date-filter.component';
11
10
  import { setFilter, logicOperators } from '../base-filter-cell.component';
12
11
  import { replaceMessagePlaceholder } from '../../utils';
12
+ import { ContextService } from '../../common/provider.service';
13
13
  import * as i0 from "@angular/core";
14
- import * as i1 from "@progress/kendo-angular-l10n";
14
+ import * as i1 from "../../common/provider.service";
15
15
  import * as i2 from "./date-filter-menu-input.component";
16
16
  import * as i3 from "@progress/kendo-angular-dropdowns";
17
17
  import * as i4 from "@angular/common";
@@ -33,9 +33,9 @@ import * as i5 from "./filter-menu-dropdownlist.directive";
33
33
  * ```
34
34
  */
35
35
  export class DateFilterMenuComponent extends DateFilterComponent {
36
- constructor(localization) {
37
- super(null, localization);
38
- this.logicOperators = logicOperators(this.localization);
36
+ constructor(ctx) {
37
+ super(null, ctx);
38
+ this.logicOperators = logicOperators(this.ctx.localization);
39
39
  /**
40
40
  * The current menu filter.
41
41
  * @type {CompositeFilterDescriptor}
@@ -63,16 +63,16 @@ export class DateFilterMenuComponent extends DateFilterComponent {
63
63
  this.filter.logic = value;
64
64
  }
65
65
  get filterMenuDropDownLabel() {
66
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
66
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
67
67
  const columnName = this.column ? this.column.title || this.column.field : '';
68
68
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
69
69
  }
70
70
  localizationChange() {
71
- this.logicOperators = logicOperators(this.localization);
71
+ this.logicOperators = logicOperators(this.ctx.localization);
72
72
  super.localizationChange();
73
73
  }
74
74
  }
75
- DateFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
75
+ DateFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
76
76
  DateFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateFilterMenuComponent, selector: "kendo-grid-date-filter-menu", inputs: { column: "column", filter: "filter", extra: "extra", filterService: "filterService", menuTabbingService: "menuTabbingService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, usesInheritance: true, ngImport: i0, template: `
77
77
  <kendo-grid-date-filter-menu-input
78
78
  [currentFilter]="firstFilter"
@@ -182,7 +182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
182
182
  </kendo-grid-date-filter-menu-input>
183
183
  `
184
184
  }]
185
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
185
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; }, propDecorators: { hostClasses: [{
186
186
  type: HostBinding,
187
187
  args: ['class.k-filtercell']
188
188
  }], column: [{