@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
@@ -18,7 +18,7 @@ import { validatePackage } from '@progress/kendo-licensing';
18
18
  import { orderBy, isCompositeFilterDescriptor, process, filterBy } from '@progress/kendo-data-query';
19
19
  import * as i1$2 from '@progress/kendo-angular-popup';
20
20
  import { PopupModule } from '@progress/kendo-angular-popup';
21
- import { plusIcon, cancelIcon, lockIcon, unlockIcon, insertMiddleIcon, caretAltLeftIcon, caretAltToLeftIcon, caretAltRightIcon, caretAltToRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterIcon, stickIcon, unstickIcon, setColumnPositionIcon, columnsIcon, maxWidthIcon, displayInlineBlockIcon, moreVerticalIcon, filterClearIcon, reorderIcon, caretAltDownIcon, minusIcon } from '@progress/kendo-svg-icons';
21
+ import { plusIcon, cancelIcon, lockIcon, unlockIcon, insertMiddleIcon, caretAltLeftIcon, caretAltToLeftIcon, caretAltRightIcon, caretAltToRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterIcon, stickIcon, unstickIcon, setColumnPositionIcon, columnsIcon, maxWidthIcon, displayInlineFlexIcon, moreHorizontalIcon, moreVerticalIcon, filterClearIcon, reorderIcon, caretAltDownIcon, minusIcon } from '@progress/kendo-svg-icons';
22
22
  import * as i1$3 from '@angular/platform-browser';
23
23
  import * as i3 from '@progress/kendo-angular-icons';
24
24
  import { IconsModule } from '@progress/kendo-angular-icons';
@@ -34,6 +34,8 @@ import * as i5 from '@progress/kendo-angular-label';
34
34
  import { LabelModule } from '@progress/kendo-angular-label';
35
35
  import * as i4$3 from '@progress/kendo-angular-dateinputs';
36
36
  import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
37
+ import * as i16 from '@progress/kendo-angular-layout';
38
+ import { TabStripComponent, TabStripModule } from '@progress/kendo-angular-layout';
37
39
  import { trigger, state, style, transition, animate } from '@angular/animations';
38
40
  import { getter } from '@progress/kendo-common';
39
41
  import * as i1$5 from '@progress/kendo-angular-intl';
@@ -1243,6 +1245,77 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1243
1245
  type: Injectable
1244
1246
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
1245
1247
 
1248
+ /**
1249
+ * @hidden
1250
+ */
1251
+ class GridToolbarNavigationService {
1252
+ constructor(renderer) {
1253
+ this.renderer = renderer;
1254
+ this.navigableElements = [];
1255
+ this.currentActiveIndex = 0;
1256
+ this.defaultFocusableSelector = `
1257
+ [kendogridtoolbarfocusable],
1258
+ [kendogridaddcommand],
1259
+ [kendogridcancelcommand],
1260
+ [kendogrideditcommand],
1261
+ [kendogridremovecommand],
1262
+ [kendogridsavecommand],
1263
+ [kendogridexcelcommand],
1264
+ [kendogridpdfcommand]
1265
+ `;
1266
+ }
1267
+ notify() {
1268
+ // ensure focusable elements are in the same order as in the DOM
1269
+ this.navigableElements = this.navigableElements.length && Array.from(this.navigableElements[0].parentElement.querySelectorAll(this.defaultFocusableSelector)) || [];
1270
+ this.currentActiveIndex = 0;
1271
+ this.updateFocus();
1272
+ }
1273
+ focus() {
1274
+ var _a;
1275
+ (_a = this.navigableElements[this.currentActiveIndex]) === null || _a === void 0 ? void 0 : _a.focus();
1276
+ }
1277
+ updateFocus() {
1278
+ if (!this.navigableElements.length) {
1279
+ return;
1280
+ }
1281
+ this.navigableElements.forEach(el => {
1282
+ this.renderer.setAttribute(el, 'tabindex', '-1');
1283
+ });
1284
+ this.renderer.setAttribute(this.navigableElements[this.currentActiveIndex], 'tabindex', '0');
1285
+ if (isDocumentAvailable() && document.activeElement.closest('.k-toolbar')) {
1286
+ this.navigableElements[this.currentActiveIndex].focus();
1287
+ }
1288
+ }
1289
+ }
1290
+ GridToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
1291
+ GridToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService });
1292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, decorators: [{
1293
+ type: Injectable
1294
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
1295
+
1296
+ /**
1297
+ * @hidden
1298
+ *
1299
+ * The Context service is used to provide common
1300
+ * services and DI tokens for a Grid instance.
1301
+ *
1302
+ * This keeps the constructor parameters stable
1303
+ * and a avoids dependency cycles between components.
1304
+ */
1305
+ class ContextService {
1306
+ constructor(renderer, localization) {
1307
+ this.renderer = renderer;
1308
+ this.localization = localization;
1309
+ this.topToolbarNavigation = new GridToolbarNavigationService(this.renderer);
1310
+ this.bottomToolbarNavigation = new GridToolbarNavigationService(this.renderer);
1311
+ }
1312
+ }
1313
+ ContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, deps: [{ token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
1314
+ ContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService });
1315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, decorators: [{
1316
+ type: Injectable
1317
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
1318
+
1246
1319
  const isButton = matchesNodeName('button');
1247
1320
  const isInputTag = matchesNodeName('input');
1248
1321
  const navigableRegex = /(button|checkbox|color|file|radio|reset|submit)/i;
@@ -1479,7 +1552,7 @@ class NavigationViewport {
1479
1552
  * @hidden
1480
1553
  */
1481
1554
  class NavigationService {
1482
- constructor(zone, domEvents, pagerContextService, scrollRequestService, groupsService, detailsService, focusRoot, editService, cd, localization, focusableParent) {
1555
+ constructor(zone, domEvents, pagerContextService, scrollRequestService, groupsService, detailsService, focusRoot, editService, cd, ctx, focusableParent) {
1483
1556
  this.zone = zone;
1484
1557
  this.domEvents = domEvents;
1485
1558
  this.pagerContextService = pagerContextService;
@@ -1489,7 +1562,7 @@ class NavigationService {
1489
1562
  this.focusRoot = focusRoot;
1490
1563
  this.editService = editService;
1491
1564
  this.cd = cd;
1492
- this.localization = localization;
1565
+ this.ctx = ctx;
1493
1566
  this.focusableParent = focusableParent;
1494
1567
  this.cellKeydown = new EventEmitter();
1495
1568
  this.activeRowIndex = 0;
@@ -1777,10 +1850,10 @@ class NavigationService {
1777
1850
  .forEach(cell => cell.focusGroup && cell.focusGroup.activate());
1778
1851
  }
1779
1852
  moveCursorFwd() {
1780
- return this.localization.rtl ? this.cursor.moveLeft() : this.cursor.moveRight();
1853
+ return this.ctx.localization.rtl ? this.cursor.moveLeft() : this.cursor.moveRight();
1781
1854
  }
1782
1855
  moveCursorBwd() {
1783
- return this.localization.rtl ? this.cursor.moveRight() : this.cursor.moveLeft();
1856
+ return this.ctx.localization.rtl ? this.cursor.moveRight() : this.cursor.moveLeft();
1784
1857
  }
1785
1858
  onCursorKeydown(args) {
1786
1859
  let preventDefault = false;
@@ -1989,12 +2062,12 @@ class NavigationService {
1989
2062
  this.cursor.reset();
1990
2063
  }
1991
2064
  }
1992
- NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: DomEventsService }, { token: PagerContextService }, { token: ScrollRequestService }, { token: GroupsService }, { token: DetailsService }, { token: FocusRoot }, { token: EditService }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: FocusableDirective, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2065
+ NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: DomEventsService }, { token: PagerContextService }, { token: ScrollRequestService }, { token: GroupsService }, { token: DetailsService }, { token: FocusRoot }, { token: EditService }, { token: i0.ChangeDetectorRef }, { token: ContextService }, { token: FocusableDirective, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1993
2066
  NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationService });
1994
2067
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationService, decorators: [{
1995
2068
  type: Injectable
1996
2069
  }], ctorParameters: function () {
1997
- return [{ type: i0.NgZone }, { type: DomEventsService }, { type: PagerContextService }, { type: ScrollRequestService }, { type: GroupsService }, { type: DetailsService }, { type: FocusRoot }, { type: EditService }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: FocusableDirective, decorators: [{
2070
+ return [{ type: i0.NgZone }, { type: DomEventsService }, { type: PagerContextService }, { type: ScrollRequestService }, { type: GroupsService }, { type: DetailsService }, { type: FocusRoot }, { type: EditService }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: FocusableDirective, decorators: [{
1998
2071
  type: Optional
1999
2072
  }] }];
2000
2073
  } });
@@ -2833,8 +2906,8 @@ const packageMetadata = {
2833
2906
  name: '@progress/kendo-angular-grid',
2834
2907
  productName: 'Kendo UI for Angular',
2835
2908
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
2836
- publishDate: 1684780267,
2837
- version: '12.2.0-develop.7',
2909
+ publishDate: 1684846761,
2910
+ version: '13.0.0-develop.2',
2838
2911
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
2839
2912
  };
2840
2913
 
@@ -4468,76 +4541,6 @@ class PairSet {
4468
4541
  }
4469
4542
  }
4470
4543
 
4471
- /**
4472
- * @hidden
4473
- */
4474
- class GridToolbarNavigationService {
4475
- constructor(renderer) {
4476
- this.renderer = renderer;
4477
- this.navigableElements = [];
4478
- this.currentActiveIndex = 0;
4479
- this.defaultFocusableSelector = `
4480
- [kendogridtoolbarfocusable],
4481
- [kendogridaddcommand],
4482
- [kendogridcancelcommand],
4483
- [kendogrideditcommand],
4484
- [kendogridremovecommand],
4485
- [kendogridsavecommand],
4486
- [kendogridexcelcommand],
4487
- [kendogridpdfcommand]
4488
- `;
4489
- }
4490
- notify() {
4491
- // ensure focusable elements are in the same order as in the DOM
4492
- this.navigableElements = this.navigableElements.length && Array.from(this.navigableElements[0].parentElement.querySelectorAll(this.defaultFocusableSelector)) || [];
4493
- this.currentActiveIndex = 0;
4494
- this.updateFocus();
4495
- }
4496
- focus() {
4497
- var _a;
4498
- (_a = this.navigableElements[this.currentActiveIndex]) === null || _a === void 0 ? void 0 : _a.focus();
4499
- }
4500
- updateFocus() {
4501
- if (!this.navigableElements.length) {
4502
- return;
4503
- }
4504
- this.navigableElements.forEach(el => {
4505
- this.renderer.setAttribute(el, 'tabindex', '-1');
4506
- });
4507
- this.renderer.setAttribute(this.navigableElements[this.currentActiveIndex], 'tabindex', '0');
4508
- if (isDocumentAvailable() && document.activeElement.closest('.k-toolbar')) {
4509
- this.navigableElements[this.currentActiveIndex].focus();
4510
- }
4511
- }
4512
- }
4513
- GridToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
4514
- GridToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService });
4515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, decorators: [{
4516
- type: Injectable
4517
- }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
4518
-
4519
- /**
4520
- * @hidden
4521
- *
4522
- * The Context service is used to provide common
4523
- * services and DI tokens for a Grid instance.
4524
- *
4525
- * This keeps the constructor parameters stable
4526
- * and a avoids dependency cycles between components.
4527
- */
4528
- class ContextService {
4529
- constructor(renderer) {
4530
- this.renderer = renderer;
4531
- this.topToolbarNavigation = new GridToolbarNavigationService(this.renderer);
4532
- this.bottomToolbarNavigation = new GridToolbarNavigationService(this.renderer);
4533
- }
4534
- }
4535
- ContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
4536
- ContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService });
4537
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, decorators: [{
4538
- type: Injectable
4539
- }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
4540
-
4541
4544
  /**
4542
4545
  * @hidden
4543
4546
  */
@@ -5018,6 +5021,7 @@ class MenuTabbingService {
5018
5021
  constructor() {
5019
5022
  this.isColumnMenu = false;
5020
5023
  this.isPopupOpen = false;
5024
+ this.isTabbedInterface = false;
5021
5025
  }
5022
5026
  }
5023
5027
  MenuTabbingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MenuTabbingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
@@ -5539,11 +5543,11 @@ class SinglePopupService {
5539
5543
  /**
5540
5544
  * @hidden
5541
5545
  */
5542
- constructor(popupService, renderer, ngZone, scrollSyncService, localization) {
5546
+ constructor(popupService, renderer, ngZone, scrollSyncService, ctx) {
5543
5547
  this.popupService = popupService;
5544
5548
  this.renderer = renderer;
5545
5549
  this.ngZone = ngZone;
5546
- this.localization = localization;
5550
+ this.ctx = ctx;
5547
5551
  /**
5548
5552
  * Fires when the filter or column menus are about to close because the user clicked outside their popups.
5549
5553
  * Used to prevent the popup from closing.
@@ -5560,7 +5564,7 @@ class SinglePopupService {
5560
5564
  const toggle = isPresent(popupRef) && this.popupRef === popupRef;
5561
5565
  this.destroy();
5562
5566
  if (!toggle) {
5563
- const direction = this.localization.rtl ? 'right' : 'left';
5567
+ const direction = this.ctx.localization.rtl ? 'right' : 'left';
5564
5568
  this.popupRef = this.popupService.open({
5565
5569
  anchorAlign: { vertical: 'bottom', horizontal: direction },
5566
5570
  popupAlign: { vertical: 'top', horizontal: direction },
@@ -5569,7 +5573,7 @@ class SinglePopupService {
5569
5573
  content: template,
5570
5574
  positionMode: "absolute"
5571
5575
  });
5572
- this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
5576
+ this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.ctx.localization.rtl ? 'rtl' : 'ltr');
5573
5577
  this.attachClose(anchor);
5574
5578
  }
5575
5579
  const popupEl = (_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.popupElement;
@@ -5628,11 +5632,11 @@ class SinglePopupService {
5628
5632
  });
5629
5633
  }
5630
5634
  }
5631
- SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SinglePopupService, deps: [{ token: i1$2.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
5635
+ SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SinglePopupService, deps: [{ token: i1$2.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Injectable });
5632
5636
  SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SinglePopupService });
5633
5637
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SinglePopupService, decorators: [{
5634
5638
  type: Injectable
5635
- }], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: i1.LocalizationService }]; } });
5639
+ }], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: ContextService }]; } });
5636
5640
 
5637
5641
  /* eslint-disable no-bitwise */
5638
5642
  /**
@@ -6710,8 +6714,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6710
6714
  * @hidden
6711
6715
  */
6712
6716
  class PagerElementComponent {
6713
- constructor(localization, pagerContext, cd) {
6714
- this.localization = localization;
6717
+ constructor(ctx, pagerContext, cd) {
6718
+ this.ctx = ctx;
6715
6719
  this.pagerContext = pagerContext;
6716
6720
  this.cd = cd;
6717
6721
  this.total = this.pagerContext.total;
@@ -6752,7 +6756,7 @@ class PagerElementComponent {
6752
6756
  * @memberOf PagerElementComponent
6753
6757
  */
6754
6758
  textFor(key) {
6755
- return this.localization.get(key);
6759
+ return this.ctx.localization.get(key);
6756
6760
  }
6757
6761
  /**
6758
6762
  * @hidden
@@ -6772,7 +6776,7 @@ class PagerElementComponent {
6772
6776
  */
6773
6777
  ngOnInit() {
6774
6778
  this.subscriptions = this.pagerContext.changes.subscribe(this.onChanges.bind(this));
6775
- this.subscriptions.add(this.localization.changes.subscribe(() => this.cd.markForCheck()));
6779
+ this.subscriptions.add(this.ctx.localization.changes.subscribe(() => this.cd.markForCheck()));
6776
6780
  }
6777
6781
  ngOnDestroy() {
6778
6782
  if (this.subscriptions) {
@@ -6780,12 +6784,12 @@ class PagerElementComponent {
6780
6784
  }
6781
6785
  }
6782
6786
  }
6783
- PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
6787
+ PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerElementComponent, deps: [{ token: ContextService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
6784
6788
  PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: PagerElementComponent, inputs: { size: "size" }, ngImport: i0 });
6785
6789
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerElementComponent, decorators: [{
6786
6790
  type: Directive,
6787
6791
  args: [{}]
6788
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
6792
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
6789
6793
  type: Input
6790
6794
  }] } });
6791
6795
 
@@ -6793,8 +6797,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6793
6797
  * Displays buttons for navigating to the first and to the previous page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
6794
6798
  */
6795
6799
  class PagerPrevButtonsComponent extends PagerElementComponent {
6796
- constructor(localization, pagerContext, cd, navigationService) {
6797
- super(localization, pagerContext, cd);
6800
+ constructor(ctx, pagerContext, cd, navigationService) {
6801
+ super(ctx, pagerContext, cd);
6798
6802
  this.navigationService = navigationService;
6799
6803
  this.caretAltLeftIcon = caretAltLeftIcon;
6800
6804
  this.caretAltToLeftIcon = caretAltToLeftIcon;
@@ -6816,7 +6820,7 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
6816
6820
  this.cd.markForCheck();
6817
6821
  }
6818
6822
  }
6819
- PagerPrevButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
6823
+ PagerPrevButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: ContextService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
6820
6824
  PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons", usesInheritance: true, ngImport: i0, template: `
6821
6825
  <button
6822
6826
  [kendoGridFocusable]="!disabled"
@@ -6889,14 +6893,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6889
6893
  </button>
6890
6894
  `
6891
6895
  }]
6892
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
6896
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
6893
6897
 
6894
6898
  /**
6895
6899
  * Displays numeric buttons to enable navigation between the pages ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
6896
6900
  */
6897
6901
  class PagerNumericButtonsComponent extends PagerElementComponent {
6898
- constructor(localization, cd, pagerContext) {
6899
- super(localization, pagerContext, cd);
6902
+ constructor(ctx, cd, pagerContext) {
6903
+ super(ctx, pagerContext, cd);
6900
6904
  this.pagerContext = pagerContext;
6901
6905
  this.numbersWrapClass = true;
6902
6906
  }
@@ -6967,7 +6971,7 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
6967
6971
  this.cd.markForCheck();
6968
6972
  }
6969
6973
  }
6970
- PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
6974
+ PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: ContextService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
6971
6975
  PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, host: { properties: { "class.k-pager-numbers-wrap": "this.numbersWrapClass" } }, usesInheritance: true, ngImport: i0, template: `
6972
6976
  <select
6973
6977
  class="k-dropdown-list k-dropdown k-picker k-picker-solid k-rounded-md"
@@ -7120,7 +7124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7120
7124
  </div>
7121
7125
  `
7122
7126
  }]
7123
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { numbersWrapClass: [{
7127
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { numbersWrapClass: [{
7124
7128
  type: HostBinding,
7125
7129
  args: ['class.k-pager-numbers-wrap']
7126
7130
  }], buttonCount: [{
@@ -7151,8 +7155,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7151
7155
  * Displays an input element which allows the typing and rendering of page numbers ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7152
7156
  */
7153
7157
  class PagerInputComponent extends PagerElementComponent {
7154
- constructor(localization, pagerContext, zone, navigationService, cd) {
7155
- super(localization, pagerContext, cd);
7158
+ constructor(ctx, pagerContext, zone, navigationService, cd) {
7159
+ super(ctx, pagerContext, cd);
7156
7160
  this.pagerContext = pagerContext;
7157
7161
  this.zone = zone;
7158
7162
  this.navigationService = navigationService;
@@ -7210,7 +7214,7 @@ class PagerInputComponent extends PagerElementComponent {
7210
7214
  this.cd.markForCheck();
7211
7215
  }
7212
7216
  }
7213
- PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.NgZone }, { token: NavigationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
7217
+ PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerInputComponent, deps: [{ token: ContextService }, { token: PagerContextService }, { token: i0.NgZone }, { token: NavigationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
7214
7218
  PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerInputComponent, selector: "kendo-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
7215
7219
  <span class="k-pager-input k-label">
7216
7220
  {{textFor('pagerPage')}}
@@ -7266,7 +7270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7266
7270
  </span>
7267
7271
  `
7268
7272
  }]
7269
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.NgZone }, { type: NavigationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numericInput: [{
7273
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.NgZone }, { type: NavigationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numericInput: [{
7270
7274
  type: ViewChild,
7271
7275
  args: [NumericTextBoxComponent, { static: false }]
7272
7276
  }] } });
@@ -7275,8 +7279,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7275
7279
  * Displays buttons for navigating to the next and to the last page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7276
7280
  */
7277
7281
  class PagerNextButtonsComponent extends PagerElementComponent {
7278
- constructor(localization, pagerContext, cd, navigationService) {
7279
- super(localization, pagerContext, cd);
7282
+ constructor(ctx, pagerContext, cd, navigationService) {
7283
+ super(ctx, pagerContext, cd);
7280
7284
  this.navigationService = navigationService;
7281
7285
  this.caretAltRightIcon = caretAltRightIcon;
7282
7286
  this.caretAltToRightIcon = caretAltToRightIcon;
@@ -7298,7 +7302,7 @@ class PagerNextButtonsComponent extends PagerElementComponent {
7298
7302
  this.cd.markForCheck();
7299
7303
  }
7300
7304
  }
7301
- PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
7305
+ PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: ContextService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
7302
7306
  PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerNextButtonsComponent, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
7303
7307
  <button
7304
7308
  kendoButton
@@ -7369,15 +7373,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7369
7373
  </button>
7370
7374
  `
7371
7375
  }]
7372
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
7376
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
7373
7377
 
7374
7378
  // eslint-disable no-access-missing-member
7375
7379
  /**
7376
7380
  * Displays information about the current page and the total number of records ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7377
7381
  */
7378
7382
  class PagerInfoComponent extends PagerElementComponent {
7379
- constructor(localization, cd, pagerContext) {
7380
- super(localization, pagerContext, cd);
7383
+ constructor(ctx, cd, pagerContext) {
7384
+ super(ctx, pagerContext, cd);
7381
7385
  this.pagerContext = pagerContext;
7382
7386
  }
7383
7387
  /**
@@ -7419,7 +7423,7 @@ class PagerInfoComponent extends PagerElementComponent {
7419
7423
  this.cd.markForCheck();
7420
7424
  }
7421
7425
  }
7422
- PagerInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
7426
+ PagerInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerInfoComponent, deps: [{ token: ContextService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
7423
7427
  PagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerInfoComponent, selector: "kendo-pager-info", host: { properties: { "class.k-pager-info": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
7424
7428
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerInfoComponent, decorators: [{
7425
7429
  type: Component,
@@ -7428,7 +7432,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7428
7432
  selector: 'kendo-pager-info',
7429
7433
  template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}`
7430
7434
  }]
7431
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { classes: [{
7435
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { classes: [{
7432
7436
  type: HostBinding,
7433
7437
  args: ["class.k-pager-info"]
7434
7438
  }, {
@@ -7468,8 +7472,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7468
7472
  * Displays a drop-down list for the page size selection ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7469
7473
  */
7470
7474
  class PagerPageSizesComponent extends PagerElementComponent {
7471
- constructor(localization, cd, pagerContext, navigationService) {
7472
- super(localization, pagerContext, cd);
7475
+ constructor(ctx, cd, pagerContext, navigationService) {
7476
+ super(ctx, pagerContext, cd);
7473
7477
  this.pagerContext = pagerContext;
7474
7478
  this.navigationService = navigationService;
7475
7479
  this._pageSizes = [];
@@ -7542,7 +7546,7 @@ class PagerPageSizesComponent extends PagerElementComponent {
7542
7546
  this.cd.markForCheck();
7543
7547
  }
7544
7548
  }
7545
- PagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
7549
+ PagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: ContextService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
7546
7550
  PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerPageSizesComponent, selector: "kendo-pager-page-sizes", inputs: { pageSizes: "pageSizes" }, host: { properties: { "class.k-pager-sizes": "this.classes", "class.k-label": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `
7547
7551
  <kendo-dropdownlist
7548
7552
  class="k-dropdown"
@@ -7581,7 +7585,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7581
7585
  <kendo-label [for]="dropdownlist" [text]="textFor('pagerItemsPerPage')"></kendo-label>
7582
7586
  `
7583
7587
  }]
7584
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }, { type: NavigationService }]; }, propDecorators: { pageSizes: [{
7588
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }, { type: NavigationService }]; }, propDecorators: { pageSizes: [{
7585
7589
  type: Input
7586
7590
  }], classes: [{
7587
7591
  type: HostBinding,
@@ -7595,13 +7599,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7595
7599
  * @hidden
7596
7600
  */
7597
7601
  class PagerComponent {
7598
- constructor(pagerContext, navigationService, element, renderer, zone, localizationService, cellContext, focusRoot, focusGroup) {
7602
+ constructor(pagerContext, navigationService, element, renderer, zone, ctx, cellContext, focusRoot, focusGroup) {
7599
7603
  this.pagerContext = pagerContext;
7600
7604
  this.navigationService = navigationService;
7601
7605
  this.element = element;
7602
7606
  this.renderer = renderer;
7603
7607
  this.zone = zone;
7604
- this.localizationService = localizationService;
7608
+ this.ctx = ctx;
7605
7609
  this.cellContext = cellContext;
7606
7610
  this.focusRoot = focusRoot;
7607
7611
  this.focusGroup = focusGroup;
@@ -7660,7 +7664,7 @@ class PagerComponent {
7660
7664
  return this.navigationService.pagerEnabled ? this.pagerLabel : undefined;
7661
7665
  }
7662
7666
  get pagerLabel() {
7663
- const localizationMsg = this.localizationService.get('pagerLabel') || '';
7667
+ const localizationMsg = this.ctx.localization.get('pagerLabel') || '';
7664
7668
  return replaceMessagePlaceholder(replaceMessagePlaceholder(localizationMsg, 'currentPage', this.currentPage.toString()), 'totalPages', this.totalPages.toString());
7665
7669
  }
7666
7670
  get focusTrapTabIndex() {
@@ -7809,7 +7813,7 @@ class PagerComponent {
7809
7813
  }
7810
7814
  }
7811
7815
  }
7812
- PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerComponent, deps: [{ token: PagerContextService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: CELL_CONTEXT, optional: true }, { token: FocusRoot }, { token: FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
7816
+ PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerComponent, deps: [{ token: PagerContextService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: ContextService }, { token: CELL_CONTEXT, optional: true }, { token: FocusRoot }, { token: FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
7813
7817
  PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerComponent, selector: "kendo-pager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", options: "options", size: "size", template: "template" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut()", "keydown.escape": "onEscape()", "keydown.enter": "onEnter($event)", "keydown.arrowleft": "navigateToPreviousPage($event)", "keydown.pageup": "navigateToPreviousPage($event)", "keydown.arrowright": "navigateToNextPage($event)", "keydown.pagedown": "navigateToNextPage($event)", "keydown.home": "navigateToFirstPage($event)", "keydown.end": "navigateToLastPage($event)" }, properties: { "class.k-pager-wrap": "this.pagerWrapClass", "class.k-grid-pager": "this.gridPagerClass", "class.k-pager-sm": "this.sizeSmallClass", "class.k-pager-md": "this.sizeMediumClass", "class.k-focus": "this.isFocused", "attr.aria-label": "this.pagerAriaLabel" } }, providers: [{
7814
7818
  provide: FOCUS_ROOT_ACTIVE,
7815
7819
  useValue: true
@@ -7917,7 +7921,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7917
7921
  `
7918
7922
  }]
7919
7923
  }], ctorParameters: function () {
7920
- return [{ type: PagerContextService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
7924
+ return [{ type: PagerContextService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ContextService }, { type: undefined, decorators: [{
7921
7925
  type: Optional
7922
7926
  }, {
7923
7927
  type: Inject,
@@ -8174,11 +8178,11 @@ const indicatorRules = or(overSameTarget, and(overLastTarget, isLastGroup));
8174
8178
  * @hidden
8175
8179
  */
8176
8180
  class GroupPanelComponent {
8177
- constructor(hint, cue, groupInfoService, localization, cd) {
8181
+ constructor(hint, cue, groupInfoService, ctx, cd) {
8178
8182
  this.hint = hint;
8179
8183
  this.cue = cue;
8180
8184
  this.groupInfoService = groupInfoService;
8181
- this.localization = localization;
8185
+ this.ctx = ctx;
8182
8186
  this.cd = cd;
8183
8187
  this.change = new EventEmitter();
8184
8188
  this.groups = [];
@@ -8193,14 +8197,14 @@ class GroupPanelComponent {
8193
8197
  this.emptyText = value;
8194
8198
  }
8195
8199
  get text() {
8196
- return this.emptyText ? this.emptyText : this.localization.get('groupPanelEmpty');
8200
+ return this.emptyText ? this.emptyText : this.ctx.localization.get('groupPanelEmpty');
8197
8201
  }
8198
8202
  ngAfterViewInit() {
8199
8203
  this.subscription.add(observe(this.dropTargets)
8200
8204
  .subscribe(this.attachTargets.bind(this)));
8201
8205
  }
8202
8206
  ngOnInit() {
8203
- this.subscription.add(this.localization.changes.subscribe(() => this.cd.markForCheck()));
8207
+ this.subscription.add(this.ctx.localization.changes.subscribe(() => this.cd.markForCheck()));
8204
8208
  }
8205
8209
  ngDoCheck() {
8206
8210
  const currentTitles = this.groups.map(group => this.groupInfoService.groupTitle(group));
@@ -8218,7 +8222,7 @@ class GroupPanelComponent {
8218
8222
  }
8219
8223
  }
8220
8224
  messageFor(token) {
8221
- return this.localization.get(token);
8225
+ return this.ctx.localization.get(token);
8222
8226
  }
8223
8227
  getTitle(group) {
8224
8228
  return this.messageFor(group.dir === 'desc' ? 'sortedDescending' : 'sortedAscending');
@@ -8272,7 +8276,7 @@ class GroupPanelComponent {
8272
8276
  enter({ draggable, target }) {
8273
8277
  this.hint.enable();
8274
8278
  let before = target.context.lastTarget || isTargetBefore(draggable.element.nativeElement, target.element.nativeElement);
8275
- if (this.localization.rtl) {
8279
+ if (this.ctx.localization.rtl) {
8276
8280
  before = !before;
8277
8281
  }
8278
8282
  this.cue.position(position(target.element.nativeElement, before));
@@ -8287,7 +8291,7 @@ class GroupPanelComponent {
8287
8291
  this.insert(field, index);
8288
8292
  }
8289
8293
  }
8290
- GroupPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupPanelComponent, deps: [{ token: DragHintService }, { token: DropCueService }, { token: GroupInfoService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
8294
+ GroupPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupPanelComponent, deps: [{ token: DragHintService }, { token: DropCueService }, { token: GroupInfoService }, { token: ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
8291
8295
  GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", navigable: "navigable", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
8292
8296
  <div
8293
8297
  *ngIf="groups.length === 0"
@@ -8388,7 +8392,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
8388
8392
  >&nbsp;</div>
8389
8393
  `
8390
8394
  }]
8391
- }], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
8395
+ }], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: ContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
8392
8396
  type: Output
8393
8397
  }], groupHeaderClass: [{
8394
8398
  type: HostBinding,
@@ -8564,12 +8568,12 @@ const toJSON = (xs) => xs.map(x => x.toJSON());
8564
8568
  * @hidden
8565
8569
  */
8566
8570
  class FilterOperatorBase {
8567
- constructor(operator, localization) {
8571
+ constructor(operator, ctx) {
8568
8572
  this.operator = operator;
8569
- this.localization = localization;
8570
- this.messages = operatorTexts(this.localization);
8573
+ this.ctx = ctx;
8574
+ this.messages = operatorTexts(this.ctx.localization);
8571
8575
  this._text = this.messages[this.operator];
8572
- this.subscription = this.localization.changes.subscribe(this.refreshText.bind(this));
8576
+ this.subscription = this.ctx.localization.changes.subscribe(this.refreshText.bind(this));
8573
8577
  }
8574
8578
  /**
8575
8579
  * The text that will be displayed in the drop-down list.
@@ -8599,13 +8603,13 @@ class FilterOperatorBase {
8599
8603
  }
8600
8604
  refreshText() {
8601
8605
  const update = this._text === this.messages[this.operator];
8602
- this.messages = operatorTexts(this.localization);
8606
+ this.messages = operatorTexts(this.ctx.localization);
8603
8607
  if (update) {
8604
8608
  this._text = this.messages[this.operator];
8605
8609
  }
8606
8610
  }
8607
8611
  }
8608
- 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 });
8612
+ FilterOperatorBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterOperatorBase, deps: [{ token: 'filterOperator' }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
8609
8613
  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 });
8610
8614
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterOperatorBase, decorators: [{
8611
8615
  type: Component,
@@ -8617,7 +8621,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
8617
8621
  return [{ type: undefined, decorators: [{
8618
8622
  type: Inject,
8619
8623
  args: ['filterOperator']
8620
- }] }, { type: i1.LocalizationService }];
8624
+ }] }, { type: ContextService }];
8621
8625
  }, propDecorators: { text: [{
8622
8626
  type: Input
8623
8627
  }] } });
@@ -8903,9 +8907,9 @@ const stringOperators$1 = localizeOperators({
8903
8907
  * Represents a base string filter component.
8904
8908
  */
8905
8909
  class StringFilterComponent extends BaseFilterCellComponent {
8906
- constructor(filterService, localization) {
8910
+ constructor(filterService, ctx) {
8907
8911
  super(filterService);
8908
- this.localization = localization;
8912
+ this.ctx = ctx;
8909
8913
  /**
8910
8914
  * The default filter operator.
8911
8915
  * @type {string}
@@ -8930,7 +8934,7 @@ class StringFilterComponent extends BaseFilterCellComponent {
8930
8934
  return this.currentFilter ? this.currentFilter.operator : this.operator;
8931
8935
  }
8932
8936
  ngOnInit() {
8933
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
8937
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
8934
8938
  }
8935
8939
  ngOnDestroy() {
8936
8940
  if (this.subscription) {
@@ -8939,18 +8943,18 @@ class StringFilterComponent extends BaseFilterCellComponent {
8939
8943
  super.ngOnDestroy();
8940
8944
  }
8941
8945
  localizationChange() {
8942
- this.defaultOperators = stringOperators$1(this.localization);
8946
+ this.defaultOperators = stringOperators$1(this.ctx.localization);
8943
8947
  if (this.operatorList.length) {
8944
8948
  this.operators = toJSON(this.operatorList.toArray());
8945
8949
  }
8946
8950
  }
8947
8951
  }
8948
- StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
8952
+ StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, deps: [{ token: FilterService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Directive });
8949
8953
  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 });
8950
8954
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, decorators: [{
8951
8955
  type: Directive,
8952
8956
  args: [{}]
8953
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
8957
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
8954
8958
  type: Input
8955
8959
  }], filter: [{
8956
8960
  type: Input
@@ -9189,9 +9193,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9189
9193
  * @hidden
9190
9194
  */
9191
9195
  class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
9192
- constructor(localizationService) {
9196
+ constructor(ctx) {
9193
9197
  super(null);
9194
- this.localizationService = localizationService;
9198
+ this.ctx = ctx;
9195
9199
  }
9196
9200
  /**
9197
9201
  * @hidden
@@ -9200,7 +9204,10 @@ class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
9200
9204
  return false;
9201
9205
  }
9202
9206
  ngAfterViewInit() {
9203
- if (this.isFirstDropDown && this.filterService && this.filterService.menuTabbingService) {
9207
+ var _a;
9208
+ const shouldFocusFirstFocusable = this.isFirstDropDown && this.filterService && this.filterService.menuTabbingService;
9209
+ const isTabbedInterface = (_a = this.menuTabbingService) === null || _a === void 0 ? void 0 : _a.isTabbedInterface;
9210
+ if (shouldFocusFirstFocusable && !isTabbedInterface) {
9204
9211
  this.filterService.menuTabbingService.firstFocusable = this.firstOperatorDropDown;
9205
9212
  this.firstOperatorDropDown.focus();
9206
9213
  }
@@ -9246,12 +9253,12 @@ class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
9246
9253
  }
9247
9254
  }
9248
9255
  get filterMenuDropDownLabel() {
9249
- const localizationMsg = this.localizationService.get('filterMenuOperatorsDropDownLabel') || '';
9256
+ const localizationMsg = this.ctx.localization.get('filterMenuOperatorsDropDownLabel') || '';
9250
9257
  const columnName = this.column ? this.column.title || this.column.field : '';
9251
9258
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9252
9259
  }
9253
9260
  }
9254
- FilterMenuInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuInputWrapperComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9261
+ FilterMenuInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuInputWrapperComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9255
9262
  FilterMenuInputWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: { filterService: "filterService", isFirstDropDown: "isFirstDropDown", menuTabbingService: "menuTabbingService", currentFilter: "currentFilter" }, viewQueries: [{ propertyName: "firstOperatorDropDown", first: true, predicate: DropDownListComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
9256
9263
  <kendo-dropdownlist
9257
9264
  kendoFilterMenuDropDown
@@ -9285,7 +9292,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9285
9292
  <ng-content></ng-content>
9286
9293
  `
9287
9294
  }]
9288
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { filterService: [{
9295
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { filterService: [{
9289
9296
  type: Input
9290
9297
  }], isFirstDropDown: [{
9291
9298
  type: Input
@@ -9302,17 +9309,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9302
9309
  * @hidden
9303
9310
  */
9304
9311
  class StringFilterMenuInputComponent {
9305
- constructor(localizationService) {
9306
- this.localizationService = localizationService;
9312
+ constructor(ctx) {
9313
+ this.ctx = ctx;
9307
9314
  this.operators = [];
9308
9315
  }
9309
9316
  get columnLabel() {
9310
- const localizationMsg = this.localizationService.get('filterInputLabel') || '';
9317
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
9311
9318
  const columnName = this.column ? this.column.title || this.column.field : '';
9312
9319
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9313
9320
  }
9314
9321
  }
9315
- StringFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuInputComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9322
+ StringFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuInputComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9316
9323
  StringFilterMenuInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StringFilterMenuInputComponent, selector: "kendo-grid-string-filter-menu-input", inputs: { operators: "operators", column: "column", filter: "filter", operator: "operator", currentFilter: "currentFilter", filterService: "filterService", isFirstDropDown: "isFirstDropDown", menuTabbingService: "menuTabbingService" }, ngImport: i0, template: `
9317
9324
  <kendo-grid-filter-menu-input-wrapper
9318
9325
  [column]="column"
@@ -9356,7 +9363,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9356
9363
  </kendo-grid-filter-menu-input-wrapper>
9357
9364
  `
9358
9365
  }]
9359
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { operators: [{
9366
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { operators: [{
9360
9367
  type: Input
9361
9368
  }], column: [{
9362
9369
  type: Input
@@ -9391,9 +9398,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9391
9398
  * ```
9392
9399
  */
9393
9400
  class StringFilterMenuComponent extends StringFilterComponent {
9394
- constructor(localization) {
9395
- super(null, localization);
9396
- this.logicOperators = logicOperators(this.localization);
9401
+ constructor(ctx) {
9402
+ super(null, ctx);
9403
+ this.logicOperators = logicOperators(this.ctx.localization);
9397
9404
  /**
9398
9405
  * The current menu filter.
9399
9406
  * @type {CompositeFilterDescriptor}
@@ -9421,16 +9428,16 @@ class StringFilterMenuComponent extends StringFilterComponent {
9421
9428
  this.filter.logic = value;
9422
9429
  }
9423
9430
  get filterMenuDropDownLabel() {
9424
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
9431
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
9425
9432
  const columnName = this.column ? this.column.title || this.column.field : '';
9426
9433
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9427
9434
  }
9428
9435
  localizationChange() {
9429
- this.logicOperators = logicOperators(this.localization);
9436
+ this.logicOperators = logicOperators(this.ctx.localization);
9430
9437
  super.localizationChange();
9431
9438
  }
9432
9439
  }
9433
- StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9440
+ StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9434
9441
  StringFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StringFilterMenuComponent, selector: "kendo-grid-string-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: `
9435
9442
  <kendo-grid-string-filter-menu-input
9436
9443
  [currentFilter]="firstFilter"
@@ -9498,7 +9505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9498
9505
  </kendo-grid-string-filter-menu-input>
9499
9506
  `
9500
9507
  }]
9501
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
9508
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
9502
9509
  type: HostBinding,
9503
9510
  args: ['class.k-filtercell']
9504
9511
  }], column: [{
@@ -9528,9 +9535,9 @@ const numericOperators = localizeOperators({
9528
9535
  * Represents a base numeric filter component.
9529
9536
  */
9530
9537
  class NumericFilterComponent extends BaseFilterCellComponent {
9531
- constructor(filterService, localization) {
9538
+ constructor(filterService, ctx) {
9532
9539
  super(filterService);
9533
- this.localization = localization;
9540
+ this.ctx = ctx;
9534
9541
  /**
9535
9542
  * The default filter operator.
9536
9543
  * @type {string}
@@ -9549,7 +9556,7 @@ class NumericFilterComponent extends BaseFilterCellComponent {
9549
9556
  * @default true
9550
9557
  */
9551
9558
  this.spinners = true;
9552
- this.defaultOperators = numericOperators(this.localization);
9559
+ this.defaultOperators = numericOperators(this.ctx.localization);
9553
9560
  }
9554
9561
  /**
9555
9562
  * Specifies the number format used when the component is not focused.
@@ -9586,7 +9593,7 @@ class NumericFilterComponent extends BaseFilterCellComponent {
9586
9593
  extractFormat(this.column.format) : "n2";
9587
9594
  }
9588
9595
  ngOnInit() {
9589
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
9596
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
9590
9597
  }
9591
9598
  ngOnDestroy() {
9592
9599
  if (this.subscription) {
@@ -9595,18 +9602,18 @@ class NumericFilterComponent extends BaseFilterCellComponent {
9595
9602
  super.ngOnDestroy();
9596
9603
  }
9597
9604
  localizationChange() {
9598
- this.defaultOperators = numericOperators(this.localization);
9605
+ this.defaultOperators = numericOperators(this.ctx.localization);
9599
9606
  if (this.operatorList.length) {
9600
9607
  this.operators = toJSON(this.operatorList.toArray());
9601
9608
  }
9602
9609
  }
9603
9610
  }
9604
- NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
9611
+ NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterComponent, deps: [{ token: FilterService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Directive });
9605
9612
  NumericFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: NumericFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format" }, usesInheritance: true, ngImport: i0 });
9606
9613
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterComponent, decorators: [{
9607
9614
  type: Directive,
9608
9615
  args: [{}]
9609
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
9616
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
9610
9617
  type: Input
9611
9618
  }], filter: [{
9612
9619
  type: Input
@@ -9630,8 +9637,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9630
9637
  * @hidden
9631
9638
  */
9632
9639
  class NumericFilterMenuInputComponent {
9633
- constructor(localization) {
9634
- this.localization = localization;
9640
+ constructor(ctx) {
9641
+ this.ctx = ctx;
9635
9642
  this.operators = [];
9636
9643
  /**
9637
9644
  * Specifies the value which is used to increment or decrement the component value.
@@ -9645,18 +9652,18 @@ class NumericFilterMenuInputComponent {
9645
9652
  this.spinners = true;
9646
9653
  }
9647
9654
  messageFor(key) {
9648
- return this.localization.get(key);
9655
+ return this.ctx.localization.get(key);
9649
9656
  }
9650
9657
  /**
9651
9658
  * @hidden
9652
9659
  */
9653
9660
  get columnLabel() {
9654
- const localizationMsg = this.localization.get('filterInputLabel') || '';
9661
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
9655
9662
  const columnName = this.column ? this.column.title || this.column.field : '';
9656
9663
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9657
9664
  }
9658
9665
  }
9659
- NumericFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuInputComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9666
+ NumericFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuInputComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9660
9667
  NumericFilterMenuInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NumericFilterMenuInputComponent, selector: "kendo-grid-numeric-filter-menu-input", inputs: { operators: "operators", column: "column", filter: "filter", operator: "operator", currentFilter: "currentFilter", filterService: "filterService", filterDelay: "filterDelay", isFirstDropDown: "isFirstDropDown", menuTabbingService: "menuTabbingService", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format" }, ngImport: i0, template: `
9661
9668
  <kendo-grid-filter-menu-input-wrapper
9662
9669
  [column]="column"
@@ -9726,7 +9733,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9726
9733
  </kendo-grid-filter-menu-input-wrapper>
9727
9734
  `
9728
9735
  }]
9729
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { operators: [{
9736
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { operators: [{
9730
9737
  type: Input
9731
9738
  }], column: [{
9732
9739
  type: Input
@@ -9775,9 +9782,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9775
9782
  * ```
9776
9783
  */
9777
9784
  class NumericFilterMenuComponent extends NumericFilterComponent {
9778
- constructor(localization) {
9779
- super(null, localization);
9780
- this.logicOperators = logicOperators(this.localization);
9785
+ constructor(ctx) {
9786
+ super(null, ctx);
9787
+ this.logicOperators = logicOperators(this.ctx.localization);
9781
9788
  /**
9782
9789
  * The current menu filter.
9783
9790
  * @type {CompositeFilterDescriptor}
@@ -9811,16 +9818,16 @@ class NumericFilterMenuComponent extends NumericFilterComponent {
9811
9818
  this.filter.logic = value;
9812
9819
  }
9813
9820
  get filterMenuDropDownLabel() {
9814
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
9821
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
9815
9822
  const columnName = this.column ? this.column.title || this.column.field : '';
9816
9823
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9817
9824
  }
9818
9825
  localizationChange() {
9819
- this.logicOperators = logicOperators(this.localization);
9826
+ this.logicOperators = logicOperators(this.ctx.localization);
9820
9827
  super.localizationChange();
9821
9828
  }
9822
9829
  }
9823
- NumericFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9830
+ NumericFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9824
9831
  NumericFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NumericFilterMenuComponent, selector: "kendo-grid-numeric-filter-menu", inputs: { column: "column", filter: "filter", extra: "extra", filterService: "filterService", filterDelay: "filterDelay", menuTabbingService: "menuTabbingService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, usesInheritance: true, ngImport: i0, template: `
9825
9832
  <kendo-grid-numeric-filter-menu-input
9826
9833
  [currentFilter]="firstFilter"
@@ -9920,7 +9927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9920
9927
  </kendo-grid-numeric-filter-menu-input>
9921
9928
  `
9922
9929
  }]
9923
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
9930
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
9924
9931
  type: HostBinding,
9925
9932
  args: ['class.k-filtercell']
9926
9933
  }], column: [{
@@ -9952,9 +9959,9 @@ const dateOperators = localizeOperators({
9952
9959
  * @hidden
9953
9960
  */
9954
9961
  class DateFilterComponent extends BaseFilterCellComponent {
9955
- constructor(filterService, localization) {
9962
+ constructor(filterService, ctx) {
9956
9963
  super(filterService);
9957
- this.localization = localization;
9964
+ this.ctx = ctx;
9958
9965
  /**
9959
9966
  * The default filter operator. Defaults to `contains`.
9960
9967
  * @type {string}
@@ -9983,7 +9990,7 @@ class DateFilterComponent extends BaseFilterCellComponent {
9983
9990
  * @default false
9984
9991
  */
9985
9992
  this.weekNumber = false;
9986
- this.defaultOperators = dateOperators(this.localization);
9993
+ this.defaultOperators = dateOperators(this.ctx.localization);
9987
9994
  }
9988
9995
  /**
9989
9996
  * The current filter for the associated column field.
@@ -10023,7 +10030,7 @@ class DateFilterComponent extends BaseFilterCellComponent {
10023
10030
  extractFormat(this.column.format) : "d";
10024
10031
  }
10025
10032
  ngOnInit() {
10026
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
10033
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
10027
10034
  }
10028
10035
  ngOnDestroy() {
10029
10036
  if (this.subscription) {
@@ -10032,13 +10039,13 @@ class DateFilterComponent extends BaseFilterCellComponent {
10032
10039
  super.ngOnDestroy();
10033
10040
  }
10034
10041
  localizationChange() {
10035
- this.defaultOperators = dateOperators(this.localization);
10042
+ this.defaultOperators = dateOperators(this.ctx.localization);
10036
10043
  if (this.operatorList.length) {
10037
10044
  this.operators = toJSON(this.operatorList.toArray());
10038
10045
  }
10039
10046
  }
10040
10047
  }
10041
- DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10048
+ DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, deps: [{ token: FilterService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10042
10049
  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 });
10043
10050
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, decorators: [{
10044
10051
  type: Component,
@@ -10046,7 +10053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10046
10053
  selector: 'kendo-grid-date-filter-base',
10047
10054
  template: ``
10048
10055
  }]
10049
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
10056
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
10050
10057
  type: Input
10051
10058
  }], filter: [{
10052
10059
  type: Input
@@ -10076,9 +10083,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10076
10083
  * @hidden
10077
10084
  */
10078
10085
  class DateFilterMenuInputComponent {
10079
- constructor(popupService, localizationService) {
10086
+ constructor(popupService, ctx) {
10080
10087
  this.popupService = popupService;
10081
- this.localizationService = localizationService;
10088
+ this.ctx = ctx;
10082
10089
  this.operators = [];
10083
10090
  }
10084
10091
  ngOnDestroy() {
@@ -10092,15 +10099,15 @@ class DateFilterMenuInputComponent {
10092
10099
  .subscribe(e => e.preventDefault());
10093
10100
  }
10094
10101
  messageFor(key) {
10095
- return this.localizationService.get(key);
10102
+ return this.ctx.localization.get(key);
10096
10103
  }
10097
10104
  get columnLabel() {
10098
- const localizationMsg = this.localizationService.get('filterInputLabel') || '';
10105
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
10099
10106
  const columnName = this.column ? this.column.title || this.column.field : '';
10100
10107
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10101
10108
  }
10102
10109
  }
10103
- DateFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuInputComponent, deps: [{ token: SinglePopupService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10110
+ DateFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuInputComponent, deps: [{ token: SinglePopupService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10104
10111
  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: `
10105
10112
  <kendo-grid-filter-menu-input-wrapper
10106
10113
  [column]="column"
@@ -10178,7 +10185,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10178
10185
  </kendo-grid-filter-menu-input-wrapper>
10179
10186
  `
10180
10187
  }]
10181
- }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: i1.LocalizationService }]; }, propDecorators: { operators: [{
10188
+ }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: ContextService }]; }, propDecorators: { operators: [{
10182
10189
  type: Input
10183
10190
  }], column: [{
10184
10191
  type: Input
@@ -10231,9 +10238,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10231
10238
  * ```
10232
10239
  */
10233
10240
  class DateFilterMenuComponent extends DateFilterComponent {
10234
- constructor(localization) {
10235
- super(null, localization);
10236
- this.logicOperators = logicOperators(this.localization);
10241
+ constructor(ctx) {
10242
+ super(null, ctx);
10243
+ this.logicOperators = logicOperators(this.ctx.localization);
10237
10244
  /**
10238
10245
  * The current menu filter.
10239
10246
  * @type {CompositeFilterDescriptor}
@@ -10261,16 +10268,16 @@ class DateFilterMenuComponent extends DateFilterComponent {
10261
10268
  this.filter.logic = value;
10262
10269
  }
10263
10270
  get filterMenuDropDownLabel() {
10264
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
10271
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
10265
10272
  const columnName = this.column ? this.column.title || this.column.field : '';
10266
10273
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10267
10274
  }
10268
10275
  localizationChange() {
10269
- this.logicOperators = logicOperators(this.localization);
10276
+ this.logicOperators = logicOperators(this.ctx.localization);
10270
10277
  super.localizationChange();
10271
10278
  }
10272
10279
  }
10273
- DateFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10280
+ DateFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10274
10281
  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: `
10275
10282
  <kendo-grid-date-filter-menu-input
10276
10283
  [currentFilter]="firstFilter"
@@ -10380,7 +10387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10380
10387
  </kendo-grid-date-filter-menu-input>
10381
10388
  `
10382
10389
  }]
10383
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
10390
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
10384
10391
  type: HostBinding,
10385
10392
  args: ['class.k-filtercell']
10386
10393
  }], column: [{
@@ -10400,9 +10407,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10400
10407
  * @hidden
10401
10408
  */
10402
10409
  class BooleanFilterComponent extends BaseFilterCellComponent {
10403
- constructor(filterService, localization) {
10410
+ constructor(filterService, ctx) {
10404
10411
  super(filterService);
10405
- this.localization = localization;
10412
+ this.ctx = ctx;
10406
10413
  /**
10407
10414
  * @hidden
10408
10415
  */
@@ -10411,13 +10418,13 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
10411
10418
  * @hidden
10412
10419
  */
10413
10420
  this.items = [
10414
- { text: this.localization.get("filterIsTrue"), value: true },
10415
- { text: this.localization.get("filterIsFalse"), value: false }
10421
+ { text: this.ctx.localization.get("filterIsTrue"), value: true },
10422
+ { text: this.ctx.localization.get("filterIsFalse"), value: false }
10416
10423
  ];
10417
10424
  /**
10418
10425
  * @hidden
10419
10426
  */
10420
- this.defaultItem = { text: this.localization.get("filterBooleanAll"), value: null };
10427
+ this.defaultItem = { text: this.ctx.localization.get("filterBooleanAll"), value: null };
10421
10428
  }
10422
10429
  /**
10423
10430
  * @hidden
@@ -10442,7 +10449,7 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
10442
10449
  return this.currentFilter ? this.currentFilter.operator : this.operator;
10443
10450
  }
10444
10451
  ngOnInit() {
10445
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
10452
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
10446
10453
  }
10447
10454
  ngOnDestroy() {
10448
10455
  if (this.subscription) {
@@ -10452,13 +10459,13 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
10452
10459
  }
10453
10460
  localizationChange() {
10454
10461
  this.items = [
10455
- { text: this.localization.get("filterIsTrue"), value: true },
10456
- { text: this.localization.get("filterIsFalse"), value: false }
10462
+ { text: this.ctx.localization.get("filterIsTrue"), value: true },
10463
+ { text: this.ctx.localization.get("filterIsFalse"), value: false }
10457
10464
  ];
10458
- this.defaultItem = { text: this.localization.get("filterBooleanAll"), value: null };
10465
+ this.defaultItem = { text: this.ctx.localization.get("filterBooleanAll"), value: null };
10459
10466
  }
10460
10467
  }
10461
- BooleanFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10468
+ BooleanFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterComponent, deps: [{ token: FilterService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10462
10469
  BooleanFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BooleanFilterComponent, selector: "kendo-grid-boolean-filter-base", inputs: { column: "column", filter: "filter" }, host: { properties: { "class.k-filtercell-boolean": "this.hostClasses" } }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
10463
10470
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterComponent, decorators: [{
10464
10471
  type: Component,
@@ -10466,7 +10473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10466
10473
  selector: 'kendo-grid-boolean-filter-base',
10467
10474
  template: ``
10468
10475
  }]
10469
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
10476
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { hostClasses: [{
10470
10477
  type: HostBinding,
10471
10478
  args: ['class.k-filtercell-boolean']
10472
10479
  }], column: [{
@@ -10515,8 +10522,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10515
10522
  * ```
10516
10523
  */
10517
10524
  class BooleanFilterMenuComponent extends BooleanFilterComponent {
10518
- constructor(localization) {
10519
- super(null, localization);
10525
+ constructor(ctx) {
10526
+ super(null, ctx);
10520
10527
  /**
10521
10528
  * The current menu filter.
10522
10529
  * @type {CompositeFilterDescriptor}
@@ -10531,8 +10538,11 @@ class BooleanFilterMenuComponent extends BooleanFilterComponent {
10531
10538
  return false;
10532
10539
  }
10533
10540
  ngAfterViewInit() {
10541
+ var _a;
10534
10542
  this.filterService.menuTabbingService.firstFocusable = this.radioButtons.first.radioButtonEl;
10535
- this.radioButtons.first.radioButtonEl.focus();
10543
+ if (!((_a = this.menuTabbingService) === null || _a === void 0 ? void 0 : _a.isTabbedInterface)) {
10544
+ this.radioButtons.first.radioButtonEl.focus();
10545
+ }
10536
10546
  }
10537
10547
  /**
10538
10548
  * @hidden
@@ -10570,12 +10580,12 @@ class BooleanFilterMenuComponent extends BooleanFilterComponent {
10570
10580
  * @hidden
10571
10581
  */
10572
10582
  get columnLabel() {
10573
- const localizationMsg = this.localization.get('filterInputLabel') || '';
10583
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
10574
10584
  const columnName = this.column.title || this.column.field;
10575
10585
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10576
10586
  }
10577
10587
  }
10578
- BooleanFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10588
+ BooleanFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10579
10589
  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: `
10580
10590
  <ul class="k-radio-list k-reset">
10581
10591
  <li *ngFor="let item of items">
@@ -10617,7 +10627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10617
10627
  </ul>
10618
10628
  `
10619
10629
  }]
10620
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
10630
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
10621
10631
  type: HostBinding,
10622
10632
  args: ['class.k-filtercell']
10623
10633
  }], filter: [{
@@ -10706,10 +10716,10 @@ const parentLogicOfDefault = (filter, field, def = "and") => {
10706
10716
  * @hidden
10707
10717
  */
10708
10718
  class FilterMenuContainerComponent {
10709
- constructor(parentService, childService, localization, cd, menuTabbingService) {
10719
+ constructor(parentService, childService, ctx, cd, menuTabbingService) {
10710
10720
  this.parentService = parentService;
10711
10721
  this.childService = childService;
10712
- this.localization = localization;
10722
+ this.ctx = ctx;
10713
10723
  this.cd = cd;
10714
10724
  this.close = new EventEmitter();
10715
10725
  /**
@@ -10740,7 +10750,7 @@ class FilterMenuContainerComponent {
10740
10750
  }
10741
10751
  ngOnInit() {
10742
10752
  this.subscription = this.childService.changes.subscribe(filter => this._childFilter = filter);
10743
- this.subscription.add(this.localization.changes.subscribe(() => this.cd.markForCheck()));
10753
+ this.subscription.add(this.ctx.localization.changes.subscribe(() => this.cd.markForCheck()));
10744
10754
  }
10745
10755
  ngAfterViewChecked() {
10746
10756
  if (!this.menuTabbingService.isColumnMenu || (this.isLast && this.isExpanded)) {
@@ -10803,13 +10813,13 @@ class FilterMenuContainerComponent {
10803
10813
  }
10804
10814
  }
10805
10815
  get clearText() {
10806
- return this.localization.get("filterClearButton");
10816
+ return this.ctx.localization.get("filterClearButton");
10807
10817
  }
10808
10818
  get filterText() {
10809
- return this.localization.get("filterFilterButton");
10819
+ return this.ctx.localization.get("filterFilterButton");
10810
10820
  }
10811
10821
  }
10812
- FilterMenuContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuContainerComponent, deps: [{ token: FilterService, skipSelf: true }, { token: FilterService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MenuTabbingService }], target: i0.ɵɵFactoryTarget.Component });
10822
+ FilterMenuContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuContainerComponent, deps: [{ token: FilterService, skipSelf: true }, { token: FilterService }, { token: ContextService }, { token: i0.ChangeDetectorRef }, { token: MenuTabbingService }], target: i0.ɵɵFactoryTarget.Component });
10813
10823
  FilterMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: { column: "column", isLast: "isLast", isExpanded: "isExpanded", menuTabbingService: "menuTabbingService", filter: "filter", actionsClass: "actionsClass" }, outputs: { close: "close" }, providers: [
10814
10824
  FilterService,
10815
10825
  MenuTabbingService
@@ -10901,7 +10911,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10901
10911
  }], ctorParameters: function () {
10902
10912
  return [{ type: FilterService, decorators: [{
10903
10913
  type: SkipSelf
10904
- }] }, { type: FilterService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MenuTabbingService }];
10914
+ }] }, { type: FilterService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type: MenuTabbingService }];
10905
10915
  }, propDecorators: { close: [{
10906
10916
  type: Output
10907
10917
  }], column: [{
@@ -10928,10 +10938,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10928
10938
  * @hidden
10929
10939
  */
10930
10940
  class FilterMenuComponent {
10931
- constructor(filterService, popupService, localization, navigationService) {
10941
+ constructor(filterService, popupService, ctx, navigationService) {
10932
10942
  this.filterService = filterService;
10933
10943
  this.popupService = popupService;
10934
- this.localization = localization;
10944
+ this.ctx = ctx;
10935
10945
  this.navigationService = navigationService;
10936
10946
  this.filterIcon = filterIcon;
10937
10947
  this.tabIndex = '-1';
@@ -10943,7 +10953,7 @@ class FilterMenuComponent {
10943
10953
  * @hidden
10944
10954
  */
10945
10955
  get filterLabel() {
10946
- const localizationMsg = this.localization.get('filterMenuTitle') || '';
10956
+ const localizationMsg = this.ctx.localization.get('filterMenuTitle') || '';
10947
10957
  const columnName = this.column.title || this.column.field;
10948
10958
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10949
10959
  }
@@ -10969,7 +10979,7 @@ class FilterMenuComponent {
10969
10979
  }
10970
10980
  }
10971
10981
  }
10972
- FilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuComponent, deps: [{ token: FilterService }, { token: SinglePopupService }, { token: i1.LocalizationService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
10982
+ FilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuComponent, deps: [{ token: FilterService }, { token: SinglePopupService }, { token: ContextService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
10973
10983
  FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: { column: "column", filter: "filter", tabIndex: "tabIndex" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
10974
10984
  <a #anchor
10975
10985
  class="k-grid-filter-menu k-grid-header-menu"
@@ -11023,7 +11033,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11023
11033
  </ng-template>
11024
11034
  `
11025
11035
  }]
11026
- }], ctorParameters: function () { return [{ type: FilterService }, { type: SinglePopupService }, { type: i1.LocalizationService }, { type: NavigationService }]; }, propDecorators: { column: [{
11036
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: SinglePopupService }, { type: ContextService }, { type: NavigationService }]; }, propDecorators: { column: [{
11027
11037
  type: Input
11028
11038
  }], filter: [{
11029
11039
  type: Input
@@ -11328,10 +11338,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11328
11338
 
11329
11339
  /**
11330
11340
  * Represents the column-menu item for locking and unlocking columns in the Grid. [See example](slug:columnmenu_grid#toc-lock-and-unlock-items).
11331
- *
11332
11341
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11333
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11334
- * the template to the service input of the `kendo-grid-columnmenu-lock` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
11342
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
11343
+ *
11344
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11345
+ * the template to the service input of the `kendo-grid-columnmenu-lock` component.
11335
11346
  *
11336
11347
  * @example
11337
11348
  * ```html
@@ -11344,16 +11355,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11344
11355
  * ```
11345
11356
  */
11346
11357
  class ColumnMenuLockComponent extends ColumnMenuItemBase {
11347
- constructor(localization, columnInfoService, changeDetector) {
11358
+ constructor(ctx, columnInfoService, changeDetector) {
11348
11359
  super();
11349
- this.localization = localization;
11360
+ this.ctx = ctx;
11350
11361
  this.columnInfoService = columnInfoService;
11351
11362
  this.changeDetector = changeDetector;
11352
11363
  this.unlockIcon = unlockIcon;
11353
11364
  this.lockIcon = lockIcon;
11354
11365
  }
11355
11366
  get text() {
11356
- return this.localization.get(this.locked ? 'unlock' : 'lock');
11367
+ return this.ctx.localization.get(this.locked ? 'unlock' : 'lock');
11357
11368
  }
11358
11369
  get icon() {
11359
11370
  return this.locked ? 'unlock' : 'lock';
@@ -11393,7 +11404,7 @@ class ColumnMenuLockComponent extends ColumnMenuItemBase {
11393
11404
  return this.service.column.locked;
11394
11405
  }
11395
11406
  }
11396
- ColumnMenuLockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuLockComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11407
+ ColumnMenuLockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuLockComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11397
11408
  ColumnMenuLockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock", usesInheritance: true, ngImport: i0, template: `
11398
11409
  <kendo-grid-columnmenu-item
11399
11410
  [text]="text"
@@ -11417,7 +11428,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11417
11428
  </kendo-grid-columnmenu-item>
11418
11429
  `
11419
11430
  }]
11420
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11431
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11421
11432
 
11422
11433
  /**
11423
11434
  * Represents the column-menu item that sticks or unsticks columns in the Grid.
@@ -11439,16 +11450,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11439
11450
  * ```
11440
11451
  */
11441
11452
  class ColumnMenuStickComponent extends ColumnMenuItemBase {
11442
- constructor(localization, columnInfoService, changeDetector) {
11453
+ constructor(ctx, columnInfoService, changeDetector) {
11443
11454
  super();
11444
- this.localization = localization;
11455
+ this.ctx = ctx;
11445
11456
  this.columnInfoService = columnInfoService;
11446
11457
  this.changeDetector = changeDetector;
11447
11458
  this.stickIcon = stickIcon;
11448
11459
  this.unstickIcon = unstickIcon;
11449
11460
  }
11450
11461
  get text() {
11451
- return this.localization.get(this.sticky ? 'unstick' : 'stick');
11462
+ return this.ctx.localization.get(this.sticky ? 'unstick' : 'stick');
11452
11463
  }
11453
11464
  get icon() {
11454
11465
  return this.sticky ? 'unstick' : 'stick';
@@ -11488,7 +11499,7 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
11488
11499
  return this.service.column.sticky;
11489
11500
  }
11490
11501
  }
11491
- ColumnMenuStickComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuStickComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11502
+ ColumnMenuStickComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuStickComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11492
11503
  ColumnMenuStickComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick", usesInheritance: true, ngImport: i0, template: `
11493
11504
  <kendo-grid-columnmenu-item
11494
11505
  [text]="text"
@@ -11512,14 +11523,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11512
11523
  </kendo-grid-columnmenu-item>
11513
11524
  `
11514
11525
  }]
11515
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11526
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11516
11527
 
11517
11528
  /**
11518
11529
  * Represents the column-menu item which combines the lock and sticky column functionalities.
11519
- *
11530
+ * [See example](slug:columnmenu_grid#toc-set-column-position-item).
11520
11531
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11521
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11522
- * the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-set-column-position-item).
11532
+ *
11533
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11534
+ * the template to the service input of the `kendo-grid-columnmenu-filter` component.
11523
11535
  *
11524
11536
  * @example
11525
11537
  * ```html
@@ -11532,9 +11544,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11532
11544
  * ```
11533
11545
  */
11534
11546
  class ColumnMenuPositionComponent extends ColumnMenuItemBase {
11535
- constructor(localization, hostElement) {
11547
+ constructor(ctx, hostElement) {
11536
11548
  super();
11537
- this.localization = localization;
11549
+ this.ctx = ctx;
11538
11550
  this.hostElement = hostElement;
11539
11551
  /**
11540
11552
  * Fires when the content is expanded.
@@ -11607,10 +11619,10 @@ class ColumnMenuPositionComponent extends ColumnMenuItemBase {
11607
11619
  return menuItems[lastFocusableIndex];
11608
11620
  }
11609
11621
  }
11610
- ColumnMenuPositionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuPositionComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
11622
+ ColumnMenuPositionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuPositionComponent, deps: [{ token: ContextService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
11611
11623
  ColumnMenuPositionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: { expanded: "expanded", showLock: "showLock", showStick: "showStick", isLast: "isLast" }, outputs: { expand: "expand", collapse: "collapse" }, usesInheritance: true, ngImport: i0, template: `
11612
11624
  <kendo-grid-columnmenu-item
11613
- [text]="localization.get('setColumnPosition')"
11625
+ [text]="ctx.localization.get('setColumnPosition')"
11614
11626
  icon="set-column-position"
11615
11627
  [svgIcon]="setColumnPositionIcon"
11616
11628
  [expanded]="expanded"
@@ -11637,7 +11649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11637
11649
  selector: 'kendo-grid-columnmenu-position',
11638
11650
  template: `
11639
11651
  <kendo-grid-columnmenu-item
11640
- [text]="localization.get('setColumnPosition')"
11652
+ [text]="ctx.localization.get('setColumnPosition')"
11641
11653
  icon="set-column-position"
11642
11654
  [svgIcon]="setColumnPositionIcon"
11643
11655
  [expanded]="expanded"
@@ -11659,7 +11671,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11659
11671
  </kendo-grid-columnmenu-item>
11660
11672
  `
11661
11673
  }]
11662
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
11674
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
11663
11675
  type: Output
11664
11676
  }], collapse: [{
11665
11677
  type: Output
@@ -11879,10 +11891,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11879
11891
 
11880
11892
  /**
11881
11893
  * Represents the column-menu item for selecting columns in the Grid. [See example](slug:columnmenu_grid#toc-column-chooser-item).
11882
- *
11883
11894
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11884
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11885
- * the template to the service input of the `kendo-grid-columnmenu-chooser` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
11895
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
11896
+ *
11897
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11898
+ * the template to the service input of the `kendo-grid-columnmenu-chooser` component.
11886
11899
  *
11887
11900
  * @example
11888
11901
  * ```html
@@ -11894,9 +11907,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11894
11907
  * ```
11895
11908
  */
11896
11909
  class ColumnMenuChooserComponent extends ColumnMenuItemBase {
11897
- constructor(localization, columnInfoService, changeDetector, hostElement) {
11910
+ constructor(ctx, columnInfoService, changeDetector, hostElement) {
11898
11911
  super();
11899
- this.localization = localization;
11912
+ this.ctx = ctx;
11900
11913
  this.columnInfoService = columnInfoService;
11901
11914
  this.changeDetector = changeDetector;
11902
11915
  this.hostElement = hostElement;
@@ -11954,10 +11967,10 @@ class ColumnMenuChooserComponent extends ColumnMenuItemBase {
11954
11967
  this.expand.emit();
11955
11968
  }
11956
11969
  }
11957
- ColumnMenuChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuChooserComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
11970
+ ColumnMenuChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuChooserComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
11958
11971
  ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: { expanded: "expanded", isLast: "isLast" }, outputs: { expand: "expand", collapse: "collapse" }, usesInheritance: true, ngImport: i0, template: `
11959
11972
  <kendo-grid-columnmenu-item
11960
- [text]="localization.get('columns')"
11973
+ [text]="ctx.localization.get('columns')"
11961
11974
  icon="columns"
11962
11975
  [svgIcon]="columnsIcon"
11963
11976
  [expanded]="expanded"
@@ -11965,8 +11978,8 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
11965
11978
  (expand)="onExpand()">
11966
11979
  <ng-template kendoGridColumnMenuItemContentTemplate>
11967
11980
  <kendo-grid-columnlist
11968
- [applyText]="localization.get('columnsApply')"
11969
- [resetText]="localization.get('columnsReset')"
11981
+ [applyText]="ctx.localization.get('columnsApply')"
11982
+ [resetText]="ctx.localization.get('columnsReset')"
11970
11983
  [columns]="columns"
11971
11984
  [autoSync]="false"
11972
11985
  [allowHideAll]="false"
@@ -11985,7 +11998,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11985
11998
  selector: 'kendo-grid-columnmenu-chooser',
11986
11999
  template: `
11987
12000
  <kendo-grid-columnmenu-item
11988
- [text]="localization.get('columns')"
12001
+ [text]="ctx.localization.get('columns')"
11989
12002
  icon="columns"
11990
12003
  [svgIcon]="columnsIcon"
11991
12004
  [expanded]="expanded"
@@ -11993,8 +12006,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11993
12006
  (expand)="onExpand()">
11994
12007
  <ng-template kendoGridColumnMenuItemContentTemplate>
11995
12008
  <kendo-grid-columnlist
11996
- [applyText]="localization.get('columnsApply')"
11997
- [resetText]="localization.get('columnsReset')"
12009
+ [applyText]="ctx.localization.get('columnsApply')"
12010
+ [resetText]="ctx.localization.get('columnsReset')"
11998
12011
  [columns]="columns"
11999
12012
  [autoSync]="false"
12000
12013
  [allowHideAll]="false"
@@ -12008,7 +12021,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12008
12021
  </kendo-grid-columnmenu-item>
12009
12022
  `
12010
12023
  }]
12011
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
12024
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
12012
12025
  type: Output
12013
12026
  }], collapse: [{
12014
12027
  type: Output
@@ -12020,10 +12033,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12020
12033
 
12021
12034
  /**
12022
12035
  * Represents the column-menu item for editing column filters in the Grid. [See example](slug:columnmenu_grid#toc-filter-item).
12023
- *
12024
12036
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12025
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12026
- * the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
12037
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
12038
+ *
12039
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12040
+ * the template to the service input of the `kendo-grid-columnmenu-filter` component.
12027
12041
  *
12028
12042
  * @example
12029
12043
  * ```html
@@ -12036,9 +12050,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12036
12050
  * ```
12037
12051
  */
12038
12052
  class ColumnMenuFilterComponent extends ColumnMenuItemBase {
12039
- constructor(localization, hostElement) {
12053
+ constructor(ctx, hostElement) {
12040
12054
  super();
12041
- this.localization = localization;
12055
+ this.ctx = ctx;
12042
12056
  this.hostElement = hostElement;
12043
12057
  /**
12044
12058
  * Fires when the content is expanded.
@@ -12081,10 +12095,10 @@ class ColumnMenuFilterComponent extends ColumnMenuItemBase {
12081
12095
  this.expand.emit();
12082
12096
  }
12083
12097
  }
12084
- ColumnMenuFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuFilterComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
12098
+ ColumnMenuFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuFilterComponent, deps: [{ token: ContextService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
12085
12099
  ColumnMenuFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: { expanded: "expanded", isLast: "isLast" }, outputs: { expand: "expand", collapse: "collapse" }, usesInheritance: true, ngImport: i0, template: `
12086
12100
  <kendo-grid-columnmenu-item
12087
- [text]="localization.get('filter')"
12101
+ [text]="ctx.localization.get('filter')"
12088
12102
  icon="filter"
12089
12103
  [svgIcon]="filterIcon"
12090
12104
  [expanded]="expanded"
@@ -12110,7 +12124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12110
12124
  selector: 'kendo-grid-columnmenu-filter',
12111
12125
  template: `
12112
12126
  <kendo-grid-columnmenu-item
12113
- [text]="localization.get('filter')"
12127
+ [text]="ctx.localization.get('filter')"
12114
12128
  icon="filter"
12115
12129
  [svgIcon]="filterIcon"
12116
12130
  [expanded]="expanded"
@@ -12131,7 +12145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12131
12145
  </kendo-grid-columnmenu-item>
12132
12146
  `
12133
12147
  }]
12134
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
12148
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
12135
12149
  type: Output
12136
12150
  }], collapse: [{
12137
12151
  type: Output
@@ -12272,10 +12286,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12272
12286
  /**
12273
12287
  * Represents the column-menu item for sorting Grid columns.
12274
12288
  * [See example](slug:columnmenu_grid#toc-sort-item).
12289
+ * The compoenent can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12290
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
12275
12291
  *
12276
- * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12277
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12278
- * the template to the service input of the `kendo-grid-columnmenu-sort` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
12292
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12293
+ * the template to the service input of the `kendo-grid-columnmenu-sort` component.
12279
12294
  *
12280
12295
  * @example
12281
12296
  * ```html
@@ -12288,9 +12303,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12288
12303
  * ```
12289
12304
  */
12290
12305
  class ColumnMenuSortComponent extends ColumnMenuItemBase {
12291
- constructor(localization, sortService, renderer) {
12306
+ constructor(ctx, sortService, renderer) {
12292
12307
  super();
12293
- this.localization = localization;
12308
+ this.ctx = ctx;
12294
12309
  this.sortService = sortService;
12295
12310
  this.renderer = renderer;
12296
12311
  this.sortAscSmallIcon = sortAscSmallIcon;
@@ -12327,17 +12342,17 @@ class ColumnMenuSortComponent extends ColumnMenuItemBase {
12327
12342
  return [].concat(this.service.sort || []).find(s => s.field === this.service.column.field);
12328
12343
  }
12329
12344
  }
12330
- ColumnMenuSortComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuSortComponent, deps: [{ token: i1.LocalizationService }, { token: SortService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
12345
+ ColumnMenuSortComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuSortComponent, deps: [{ token: ContextService }, { token: SortService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
12331
12346
  ColumnMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort", usesInheritance: true, ngImport: i0, template: `
12332
12347
  <kendo-grid-columnmenu-item
12333
- [text]="localization.get('sortAscending')"
12348
+ [text]="ctx.localization.get('sortAscending')"
12334
12349
  icon="sort-asc-small"
12335
12350
  [svgIcon]="sortAscSmallIcon"
12336
12351
  (itemClick)="toggleSort('asc')"
12337
12352
  [selected]="sortedAsc">
12338
12353
  </kendo-grid-columnmenu-item>
12339
12354
  <kendo-grid-columnmenu-item
12340
- [text]="localization.get('sortDescending')"
12355
+ [text]="ctx.localization.get('sortDescending')"
12341
12356
  icon="sort-desc-small"
12342
12357
  [svgIcon]="sortDescSmallIcon"
12343
12358
  (itemClick)="toggleSort('desc')"
@@ -12350,14 +12365,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12350
12365
  selector: 'kendo-grid-columnmenu-sort',
12351
12366
  template: `
12352
12367
  <kendo-grid-columnmenu-item
12353
- [text]="localization.get('sortAscending')"
12368
+ [text]="ctx.localization.get('sortAscending')"
12354
12369
  icon="sort-asc-small"
12355
12370
  [svgIcon]="sortAscSmallIcon"
12356
12371
  (itemClick)="toggleSort('asc')"
12357
12372
  [selected]="sortedAsc">
12358
12373
  </kendo-grid-columnmenu-item>
12359
12374
  <kendo-grid-columnmenu-item
12360
- [text]="localization.get('sortDescending')"
12375
+ [text]="ctx.localization.get('sortDescending')"
12361
12376
  icon="sort-desc-small"
12362
12377
  [svgIcon]="sortDescSmallIcon"
12363
12378
  (itemClick)="toggleSort('desc')"
@@ -12365,7 +12380,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12365
12380
  </kendo-grid-columnmenu-item>
12366
12381
  `
12367
12382
  }]
12368
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: SortService }, { type: i0.Renderer2 }]; } });
12383
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: SortService }, { type: i0.Renderer2 }]; } });
12369
12384
 
12370
12385
  /**
12371
12386
  * Represents the column-menu item for resizing the specified column to the minimum possible width so that it fits the header or cell content without wrapping.
@@ -12387,9 +12402,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12387
12402
  * ```
12388
12403
  */
12389
12404
  class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
12390
- constructor(localization, ctx) {
12405
+ constructor(ctx) {
12391
12406
  super();
12392
- this.localization = localization;
12393
12407
  this.ctx = ctx;
12394
12408
  this.maxWidthIcon = maxWidthIcon;
12395
12409
  }
@@ -12406,12 +12420,12 @@ class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
12406
12420
  autoSizeColumn(this.ctx.grid, this.service, this.column);
12407
12421
  }
12408
12422
  }
12409
- ColumnMenuAutoSizeColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuAutoSizeColumnComponent, deps: [{ token: i1.LocalizationService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12423
+ ColumnMenuAutoSizeColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuAutoSizeColumnComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12410
12424
  ColumnMenuAutoSizeColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: `
12411
12425
  <kendo-grid-columnmenu-item
12412
12426
  *ngIf="!this.ctx.grid.virtualColumns"
12413
12427
  class="k-grid-columnmenu-autosize-column"
12414
- [text]="localization.get('autosizeThisColumn')"
12428
+ [text]="ctx.localization.get('autosizeThisColumn')"
12415
12429
  icon="max-width"
12416
12430
  [svgIcon]="maxWidthIcon"
12417
12431
  (itemClick)="autoSizeColumn()"
@@ -12425,24 +12439,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12425
12439
  <kendo-grid-columnmenu-item
12426
12440
  *ngIf="!this.ctx.grid.virtualColumns"
12427
12441
  class="k-grid-columnmenu-autosize-column"
12428
- [text]="localization.get('autosizeThisColumn')"
12442
+ [text]="ctx.localization.get('autosizeThisColumn')"
12429
12443
  icon="max-width"
12430
12444
  [svgIcon]="maxWidthIcon"
12431
12445
  (itemClick)="autoSizeColumn()"
12432
12446
  ></kendo-grid-columnmenu-item>
12433
12447
  `
12434
12448
  }]
12435
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; }, propDecorators: { column: [{
12449
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { column: [{
12436
12450
  type: Input
12437
12451
  }] } });
12438
12452
 
12439
12453
  /**
12440
12454
  * Represents the column-menu item for resizing all columns to the minimum possible width so that they fit the widest header or cell content without wrapping.
12441
12455
  * [See example](slug:columnmenu_grid#toc-autosize-all-columns-item).
12442
- *
12443
12456
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12444
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12445
- * the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
12457
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
12458
+ *
12459
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12460
+ * the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component.
12446
12461
  *
12447
12462
  * @example
12448
12463
  * ```html
@@ -12455,11 +12470,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12455
12470
  * ```
12456
12471
  */
12457
12472
  class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
12458
- constructor(localization, ctx) {
12473
+ constructor(ctx) {
12459
12474
  super();
12460
- this.localization = localization;
12461
12475
  this.ctx = ctx;
12462
- this.displayInlineBlockIcon = displayInlineBlockIcon;
12476
+ this.displayInlineFlexIcon = displayInlineFlexIcon;
12463
12477
  }
12464
12478
  ngOnInit() {
12465
12479
  const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
@@ -12474,13 +12488,13 @@ class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
12474
12488
  autoSizeColumn(this.ctx.grid, this.service);
12475
12489
  }
12476
12490
  }
12477
- ColumnMenuAutoSizeAllColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuAutoSizeAllColumnsComponent, deps: [{ token: i1.LocalizationService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12491
+ ColumnMenuAutoSizeAllColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuAutoSizeAllColumnsComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12478
12492
  ColumnMenuAutoSizeAllColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns", usesInheritance: true, ngImport: i0, template: `
12479
12493
  <kendo-grid-columnmenu-item
12480
12494
  *ngIf="!this.ctx.grid.virtualColumns"
12481
- [text]="localization.get('autosizeAllColumns')"
12482
- icon="display-inline-block"
12483
- [svgIcon]="displayInlineBlockIcon"
12495
+ [text]="ctx.localization.get('autosizeAllColumns')"
12496
+ icon="display-inline-flex"
12497
+ [svgIcon]="displayInlineFlexIcon"
12484
12498
  (itemClick)="autoSizeAllColumns()"
12485
12499
  ></kendo-grid-columnmenu-item>
12486
12500
  `, isInline: true, components: [{ type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "text", "selected", "disabled", "expanded"], outputs: ["itemClick", "expand", "collapse"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
@@ -12491,14 +12505,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12491
12505
  template: `
12492
12506
  <kendo-grid-columnmenu-item
12493
12507
  *ngIf="!this.ctx.grid.virtualColumns"
12494
- [text]="localization.get('autosizeAllColumns')"
12495
- icon="display-inline-block"
12496
- [svgIcon]="displayInlineBlockIcon"
12508
+ [text]="ctx.localization.get('autosizeAllColumns')"
12509
+ icon="display-inline-flex"
12510
+ [svgIcon]="displayInlineFlexIcon"
12497
12511
  (itemClick)="autoSizeAllColumns()"
12498
12512
  ></kendo-grid-columnmenu-item>
12499
12513
  `
12500
12514
  }]
12501
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; } });
12515
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
12502
12516
 
12503
12517
  const POPUP_CLASS = 'k-grid-columnmenu-popup';
12504
12518
  /**
@@ -12513,12 +12527,14 @@ const POPUP_CLASS = 'k-grid-columnmenu-popup';
12513
12527
  * </kendo-grid>
12514
12528
  */
12515
12529
  class ColumnMenuComponent {
12516
- constructor(navigationService, popupService, localization, service, ctx) {
12530
+ constructor(navigationService, popupService, service, ctx, renderer, cdr, columnInfoService) {
12517
12531
  this.navigationService = navigationService;
12518
12532
  this.popupService = popupService;
12519
- this.localization = localization;
12520
12533
  this.service = service;
12521
12534
  this.ctx = ctx;
12535
+ this.renderer = renderer;
12536
+ this.cdr = cdr;
12537
+ this.columnInfoService = columnInfoService;
12522
12538
  /**
12523
12539
  * @hidden
12524
12540
  */
@@ -12535,6 +12551,22 @@ class ColumnMenuComponent {
12535
12551
  * @hidden
12536
12552
  */
12537
12553
  this.tabIndex = '-1';
12554
+ /**
12555
+ * @hidden
12556
+ */
12557
+ this.columnsIcon = columnsIcon;
12558
+ /**
12559
+ * @hidden
12560
+ */
12561
+ this.actionsClass = 'k-actions';
12562
+ /**
12563
+ * @hidden
12564
+ */
12565
+ this.moreHorizontalIcon = moreHorizontalIcon;
12566
+ /**
12567
+ * @hidden
12568
+ */
12569
+ this.filterIcon = filterIcon;
12538
12570
  /**
12539
12571
  * @hidden
12540
12572
  */
@@ -12550,6 +12582,17 @@ class ColumnMenuComponent {
12550
12582
  this.moreVerticalIcon = moreVerticalIcon;
12551
12583
  this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
12552
12584
  }
12585
+ /**
12586
+ * @hidden
12587
+ */
12588
+ get showGeneralTab() {
12589
+ return this.hasSort
12590
+ || this.hasLock
12591
+ || this.hasStick
12592
+ || this.hasPosition
12593
+ || this.hasAutoSizeColumn
12594
+ || this.hasAutoSizeAllColumns;
12595
+ }
12553
12596
  /**
12554
12597
  * @hidden
12555
12598
  */
@@ -12575,6 +12618,16 @@ class ColumnMenuComponent {
12575
12618
  get hasColumnChooser() {
12576
12619
  return hasColumnChooser(this.settings);
12577
12620
  }
12621
+ /**
12622
+ * @hidden
12623
+ */
12624
+ onApply(changed) {
12625
+ this.close();
12626
+ if (changed.length) {
12627
+ this.cdr.markForCheck();
12628
+ this.columnInfoService.changeVisibility(changed);
12629
+ }
12630
+ }
12578
12631
  /**
12579
12632
  * @hidden
12580
12633
  */
@@ -12605,6 +12658,12 @@ class ColumnMenuComponent {
12605
12658
  get hasPosition() {
12606
12659
  return hasPosition(this.settings, this.column);
12607
12660
  }
12661
+ /**
12662
+ * @hidden
12663
+ */
12664
+ get columns() {
12665
+ return this.columnInfoService.leafNamedColumns;
12666
+ }
12608
12667
  ngAfterViewInit() {
12609
12668
  if (this.ctx.grid.virtualColumns && isDevMode()) {
12610
12669
  if (this.settings.autoSizeAllColumns) {
@@ -12616,6 +12675,7 @@ class ColumnMenuComponent {
12616
12675
  console.warn(ColunnMenuErrorMessages.autoSizeColumn);
12617
12676
  }
12618
12677
  }
12678
+ this.service.menuTabbingService.isTabbedInterface = this.settings.view === 'tabbed' ? true : false;
12619
12679
  }
12620
12680
  ngOnChanges() {
12621
12681
  this.service.column = this.column;
@@ -12631,6 +12691,7 @@ class ColumnMenuComponent {
12631
12691
  * @hidden
12632
12692
  */
12633
12693
  toggle(e, anchor, template) {
12694
+ var _a;
12634
12695
  if (e) {
12635
12696
  e.preventDefault();
12636
12697
  e.stopImmediatePropagation();
@@ -12639,6 +12700,11 @@ class ColumnMenuComponent {
12639
12700
  this.expandedColumns = this.getExpandedState(this.settings.columnChooser);
12640
12701
  this.expandedPosition = this.getExpandedState(this.settings.setColumnPosition);
12641
12702
  this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
12703
+ if (this.popupRef && this.settings.view === 'tabbed') {
12704
+ this.renderer.addClass(this.popupRef.popupElement.firstChild, 'k-column-menu-tabbed');
12705
+ this.cdr.detectChanges();
12706
+ (_a = this.tabStrip) === null || _a === void 0 ? void 0 : _a.selectTab(0);
12707
+ }
12642
12708
  if (!this.popupRef) {
12643
12709
  if (this.navigationService.tableEnabled) {
12644
12710
  this.navigationService.focusCell(0, this.column.leafIndex);
@@ -12665,7 +12731,7 @@ class ColumnMenuComponent {
12665
12731
  * @hidden
12666
12732
  */
12667
12733
  get columnMenuTitle() {
12668
- const localizationMsg = this.localization.get('columnMenu') || '';
12734
+ const localizationMsg = this.ctx.localization.get('columnMenu') || '';
12669
12735
  const columnName = this.column.title || this.column.field;
12670
12736
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
12671
12737
  }
@@ -12673,11 +12739,11 @@ class ColumnMenuComponent {
12673
12739
  return typeof (menuItemSettings) === 'object' ? menuItemSettings.expanded : false;
12674
12740
  }
12675
12741
  }
12676
- ColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuComponent, deps: [{ token: NavigationService }, { token: SinglePopupService }, { token: i1.LocalizationService }, { token: ColumnMenuService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12742
+ ColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuComponent, deps: [{ token: NavigationService }, { token: SinglePopupService }, { token: ColumnMenuService }, { token: ContextService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
12677
12743
  ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: { standalone: "standalone", column: "column", settings: "settings", sort: "sort", filter: "filter", sortable: "sortable", columnMenuTemplate: "columnMenuTemplate", tabIndex: "tabIndex" }, host: { properties: { "class.k-grid-column-menu-standalone": "this.standalone" } }, providers: [
12678
12744
  ColumnMenuService,
12679
12745
  MenuTabbingService
12680
- ], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
12746
+ ], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "tabbedInterfaceTemplate", first: true, predicate: ["tabbedInterfaceTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "tabStrip", first: true, predicate: TabStripComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
12681
12747
  <a #anchor
12682
12748
  class="k-grid-header-menu k-grid-column-menu"
12683
12749
  [ngClass]="{ 'k-active': isActive }"
@@ -12692,7 +12758,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
12692
12758
  </a>
12693
12759
  <ng-template #template>
12694
12760
  <ng-container
12695
- [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"
12761
+ [ngTemplateOutlet]="this.column.columnMenuTemplateRef || this.columnMenuTemplate || (this.settings.view === 'tabbed' ? this.tabbedInterfaceTemplate : this.defaultTemplate)"
12696
12762
  [ngTemplateOutletContext]="{ service: service, column: column }">
12697
12763
  </ng-container>
12698
12764
  </ng-template>
@@ -12749,7 +12815,95 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
12749
12815
  </kendo-grid-columnmenu-filter>
12750
12816
  </kendo-grid-columnmenu-container>
12751
12817
  </ng-template>
12752
- `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }] });
12818
+ <ng-template #tabbedInterfaceTemplate>
12819
+ <kendo-tabstrip #tabstrip (keydown.escape)="close()">
12820
+ <kendo-tabstrip-tab *ngIf="hasFilter">
12821
+ <ng-template kendoTabTitle>
12822
+ <kendo-icon-wrapper
12823
+ [attr.title]="ctx.localization.get('columnMenuFilterTabTitle')"
12824
+ name="filter"
12825
+ [svgIcon]="filterIcon">
12826
+ </kendo-icon-wrapper>
12827
+ </ng-template>
12828
+ <ng-template kendoTabContent>
12829
+ <kendo-grid-filter-menu-container
12830
+ [column]="service.column"
12831
+ [menuTabbingService]="service.menuTabbingService"
12832
+ [filter]="service.filter"
12833
+ [actionsClass]="actionsClass"
12834
+ (keydown.shift.tab)="$event.stopImmediatePropagation()"
12835
+ (close)="close()">
12836
+ </kendo-grid-filter-menu-container>
12837
+ </ng-template>
12838
+ </kendo-tabstrip-tab>
12839
+ <kendo-tabstrip-tab *ngIf="showGeneralTab">
12840
+ <ng-template kendoTabTitle>
12841
+ <kendo-icon-wrapper
12842
+ [attr.title]="ctx.localization.get('columnMenuGeneralTabTitle')"
12843
+ name="more-horizontal"
12844
+ [svgIcon]="moreHorizontalIcon">
12845
+ </kendo-icon-wrapper>
12846
+ </ng-template>
12847
+ <ng-template kendoTabContent>
12848
+ <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">
12849
+ </kendo-grid-columnmenu-sort>
12850
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasSort && (hasLock || hasStick || hasPosition || hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12851
+ <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">
12852
+ </kendo-grid-columnmenu-lock>
12853
+ <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">
12854
+ </kendo-grid-columnmenu-stick>
12855
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="(hasLock || hasStick) && !hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12856
+ <kendo-grid-columnmenu-position
12857
+ #positionItem
12858
+ *ngIf="hasPosition"
12859
+ [showLock]="hasLock"
12860
+ [showStick]="hasStick"
12861
+ [kendoGridColumnMenuItem]="positionItem"
12862
+ [service]="service"
12863
+ [expanded]="expandedPosition">
12864
+ </kendo-grid-columnmenu-position>
12865
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12866
+ <kendo-grid-columnmenu-autosize-column
12867
+ #autoSizeColumnItem
12868
+ *ngIf="hasAutoSizeColumn"
12869
+ [service]="service"
12870
+ [kendoGridColumnMenuItem]="autoSizeColumnItem"
12871
+ [column]="column"
12872
+ >
12873
+ </kendo-grid-columnmenu-autosize-column>
12874
+ <kendo-grid-columnmenu-autosize-all-columns
12875
+ #autoSizeAllColumnsItem
12876
+ *ngIf="hasAutoSizeAllColumns"
12877
+ [service]="service"
12878
+ [kendoGridColumnMenuItem]="autoSizeAllColumnsItem"
12879
+ >
12880
+ </kendo-grid-columnmenu-autosize-all-columns>
12881
+ </ng-template>
12882
+ </kendo-tabstrip-tab>
12883
+ <kendo-tabstrip-tab *ngIf="hasColumnChooser">
12884
+ <ng-template kendoTabTitle>
12885
+ <kendo-icon-wrapper
12886
+ [attr.title]="ctx.localization.get('columnMenuColumnsTabTitle')"
12887
+ name="columns"
12888
+ [svgIcon]="columnsIcon">
12889
+ </kendo-icon-wrapper>
12890
+ </ng-template>
12891
+ <ng-template kendoTabContent>
12892
+ <kendo-grid-columnlist
12893
+ [applyText]="ctx.localization.get('columnsApply')"
12894
+ [resetText]="ctx.localization.get('columnsReset')"
12895
+ [columns]="columns"
12896
+ [autoSync]="false"
12897
+ [allowHideAll]="false"
12898
+ [actionsClass]="actionsClass"
12899
+ [service]="service"
12900
+ (apply)="onApply($event)">
12901
+ </kendo-grid-columnlist>
12902
+ </ng-template>
12903
+ </kendo-tabstrip-tab>
12904
+ </kendo-tabstrip>
12905
+ </ng-template>
12906
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { type: i16.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i16.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "autoSync", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { type: i16.TabTitleDirective, selector: "[kendoTabTitle]" }, { type: i16.TabContentDirective, selector: "[kendoTabContent]" }] });
12753
12907
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuComponent, decorators: [{
12754
12908
  type: Component,
12755
12909
  args: [{
@@ -12773,7 +12927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12773
12927
  </a>
12774
12928
  <ng-template #template>
12775
12929
  <ng-container
12776
- [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"
12930
+ [ngTemplateOutlet]="this.column.columnMenuTemplateRef || this.columnMenuTemplate || (this.settings.view === 'tabbed' ? this.tabbedInterfaceTemplate : this.defaultTemplate)"
12777
12931
  [ngTemplateOutletContext]="{ service: service, column: column }">
12778
12932
  </ng-container>
12779
12933
  </ng-template>
@@ -12830,9 +12984,97 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12830
12984
  </kendo-grid-columnmenu-filter>
12831
12985
  </kendo-grid-columnmenu-container>
12832
12986
  </ng-template>
12987
+ <ng-template #tabbedInterfaceTemplate>
12988
+ <kendo-tabstrip #tabstrip (keydown.escape)="close()">
12989
+ <kendo-tabstrip-tab *ngIf="hasFilter">
12990
+ <ng-template kendoTabTitle>
12991
+ <kendo-icon-wrapper
12992
+ [attr.title]="ctx.localization.get('columnMenuFilterTabTitle')"
12993
+ name="filter"
12994
+ [svgIcon]="filterIcon">
12995
+ </kendo-icon-wrapper>
12996
+ </ng-template>
12997
+ <ng-template kendoTabContent>
12998
+ <kendo-grid-filter-menu-container
12999
+ [column]="service.column"
13000
+ [menuTabbingService]="service.menuTabbingService"
13001
+ [filter]="service.filter"
13002
+ [actionsClass]="actionsClass"
13003
+ (keydown.shift.tab)="$event.stopImmediatePropagation()"
13004
+ (close)="close()">
13005
+ </kendo-grid-filter-menu-container>
13006
+ </ng-template>
13007
+ </kendo-tabstrip-tab>
13008
+ <kendo-tabstrip-tab *ngIf="showGeneralTab">
13009
+ <ng-template kendoTabTitle>
13010
+ <kendo-icon-wrapper
13011
+ [attr.title]="ctx.localization.get('columnMenuGeneralTabTitle')"
13012
+ name="more-horizontal"
13013
+ [svgIcon]="moreHorizontalIcon">
13014
+ </kendo-icon-wrapper>
13015
+ </ng-template>
13016
+ <ng-template kendoTabContent>
13017
+ <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">
13018
+ </kendo-grid-columnmenu-sort>
13019
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasSort && (hasLock || hasStick || hasPosition || hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
13020
+ <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">
13021
+ </kendo-grid-columnmenu-lock>
13022
+ <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">
13023
+ </kendo-grid-columnmenu-stick>
13024
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="(hasLock || hasStick) && !hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
13025
+ <kendo-grid-columnmenu-position
13026
+ #positionItem
13027
+ *ngIf="hasPosition"
13028
+ [showLock]="hasLock"
13029
+ [showStick]="hasStick"
13030
+ [kendoGridColumnMenuItem]="positionItem"
13031
+ [service]="service"
13032
+ [expanded]="expandedPosition">
13033
+ </kendo-grid-columnmenu-position>
13034
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
13035
+ <kendo-grid-columnmenu-autosize-column
13036
+ #autoSizeColumnItem
13037
+ *ngIf="hasAutoSizeColumn"
13038
+ [service]="service"
13039
+ [kendoGridColumnMenuItem]="autoSizeColumnItem"
13040
+ [column]="column"
13041
+ >
13042
+ </kendo-grid-columnmenu-autosize-column>
13043
+ <kendo-grid-columnmenu-autosize-all-columns
13044
+ #autoSizeAllColumnsItem
13045
+ *ngIf="hasAutoSizeAllColumns"
13046
+ [service]="service"
13047
+ [kendoGridColumnMenuItem]="autoSizeAllColumnsItem"
13048
+ >
13049
+ </kendo-grid-columnmenu-autosize-all-columns>
13050
+ </ng-template>
13051
+ </kendo-tabstrip-tab>
13052
+ <kendo-tabstrip-tab *ngIf="hasColumnChooser">
13053
+ <ng-template kendoTabTitle>
13054
+ <kendo-icon-wrapper
13055
+ [attr.title]="ctx.localization.get('columnMenuColumnsTabTitle')"
13056
+ name="columns"
13057
+ [svgIcon]="columnsIcon">
13058
+ </kendo-icon-wrapper>
13059
+ </ng-template>
13060
+ <ng-template kendoTabContent>
13061
+ <kendo-grid-columnlist
13062
+ [applyText]="ctx.localization.get('columnsApply')"
13063
+ [resetText]="ctx.localization.get('columnsReset')"
13064
+ [columns]="columns"
13065
+ [autoSync]="false"
13066
+ [allowHideAll]="false"
13067
+ [actionsClass]="actionsClass"
13068
+ [service]="service"
13069
+ (apply)="onApply($event)">
13070
+ </kendo-grid-columnlist>
13071
+ </ng-template>
13072
+ </kendo-tabstrip-tab>
13073
+ </kendo-tabstrip>
13074
+ </ng-template>
12833
13075
  `
12834
13076
  }]
12835
- }], ctorParameters: function () { return [{ type: NavigationService }, { type: SinglePopupService }, { type: i1.LocalizationService }, { type: ColumnMenuService }, { type: ContextService }]; }, propDecorators: { standalone: [{
13077
+ }], ctorParameters: function () { return [{ type: NavigationService }, { type: SinglePopupService }, { type: ColumnMenuService }, { type: ContextService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: ColumnInfoService }]; }, propDecorators: { standalone: [{
12836
13078
  type: HostBinding,
12837
13079
  args: ['class.k-grid-column-menu-standalone']
12838
13080
  }, {
@@ -12857,6 +13099,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12857
13099
  }], template: [{
12858
13100
  type: ViewChild,
12859
13101
  args: ['template', { static: true, read: TemplateRef }]
13102
+ }], defaultTemplate: [{
13103
+ type: ViewChild,
13104
+ args: ['defaultTemplate', { static: true, read: TemplateRef }]
13105
+ }], tabbedInterfaceTemplate: [{
13106
+ type: ViewChild,
13107
+ args: ['tabbedInterfaceTemplate', { static: true, read: TemplateRef }]
13108
+ }], tabStrip: [{
13109
+ type: ViewChild,
13110
+ args: [TabStripComponent]
12860
13111
  }] } });
12861
13112
 
12862
13113
  /**
@@ -12877,8 +13128,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12877
13128
  * ```
12878
13129
  */
12879
13130
  class FilterCellOperatorsComponent {
12880
- constructor(localization, sizing) {
12881
- this.localization = localization;
13131
+ constructor(ctx, sizing) {
13132
+ this.ctx = ctx;
12882
13133
  this.sizing = sizing;
12883
13134
  this.clearText = 'Clear';
12884
13135
  this.filterClearIcon = filterClearIcon;
@@ -12947,7 +13198,7 @@ class FilterCellOperatorsComponent {
12947
13198
  }
12948
13199
  }
12949
13200
  ngOnInit() {
12950
- this.subs = this.localization.changes.subscribe(() => this.clearText = this.localization.get('filterClearButton'));
13201
+ this.subs = this.ctx.localization.changes.subscribe(() => this.clearText = this.ctx.localization.get('filterClearButton'));
12951
13202
  this.subs.add(this.sizing.changes.subscribe((size) => this.size = size));
12952
13203
  }
12953
13204
  ngOnDestroy() {
@@ -12956,7 +13207,7 @@ class FilterCellOperatorsComponent {
12956
13207
  }
12957
13208
  }
12958
13209
  }
12959
- FilterCellOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.LocalizationService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13210
+ FilterCellOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: ContextService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
12960
13211
  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: `
12961
13212
  <kendo-dropdownlist
12962
13213
  #dropdown
@@ -13018,7 +13269,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13018
13269
  (keydown)="clearKeydown($event)"></button>
13019
13270
  `
13020
13271
  }]
13021
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { hostClasses: [{
13272
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { hostClasses: [{
13022
13273
  type: HostBinding,
13023
13274
  args: ['class.k-filtercell-operator']
13024
13275
  }], dropdown: [{
@@ -13115,8 +13366,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13115
13366
  * ```
13116
13367
  */
13117
13368
  class StringFilterCellComponent extends StringFilterComponent {
13118
- constructor(filterService, localization, sizingService) {
13119
- super(filterService, localization);
13369
+ constructor(filterService, ctx, sizingService) {
13370
+ super(filterService, ctx);
13120
13371
  /**
13121
13372
  * Determines the delay time (in milliseconds) before the filter value is submitted.
13122
13373
  * A value of `0` indicates no delay.
@@ -13141,12 +13392,12 @@ class StringFilterCellComponent extends StringFilterComponent {
13141
13392
  * @hidden
13142
13393
  */
13143
13394
  get columnLabel() {
13144
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13395
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13145
13396
  const columnName = this.column.title || this.column.field;
13146
13397
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13147
13398
  }
13148
13399
  }
13149
- StringFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterCellComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13400
+ StringFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterCellComponent, deps: [{ token: FilterService }, { token: ContextService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13150
13401
  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: `
13151
13402
  <kendo-grid-filter-wrapper-cell
13152
13403
  [column]="column"
@@ -13186,7 +13437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13186
13437
  </kendo-grid-filter-wrapper-cell>
13187
13438
  `
13188
13439
  }]
13189
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13440
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13190
13441
  type: Input
13191
13442
  }], showOperators: [{
13192
13443
  type: Input
@@ -13209,13 +13460,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13209
13460
  * ```
13210
13461
  */
13211
13462
  class NumericFilterCellComponent extends NumericFilterComponent {
13212
- constructor(filterService, localization, sizingService) {
13213
- super(filterService, localization);
13214
- this.localization = localization;
13463
+ constructor(filterService, ctx, sizingService) {
13464
+ super(filterService, ctx);
13465
+ this.ctx = ctx;
13215
13466
  /**
13216
13467
  * Determines the delay time (in milliseconds) before the filter value is submitted.
13217
13468
  * A value of `0` indicates no delay. The default value is `500`.
13218
- * @type {boolean}
13469
+ * @type {boolean}\
13219
13470
  * @default 500
13220
13471
  */
13221
13472
  this.filterDelay = 500;
@@ -13235,18 +13486,18 @@ class NumericFilterCellComponent extends NumericFilterComponent {
13235
13486
  * @hidden
13236
13487
  */
13237
13488
  messageFor(key) {
13238
- return this.localization.get(key);
13489
+ return this.ctx.localization.get(key);
13239
13490
  }
13240
13491
  /**
13241
13492
  * @hidden
13242
13493
  */
13243
13494
  get columnLabel() {
13244
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13495
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13245
13496
  const columnName = this.column.title || this.column.field;
13246
13497
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13247
13498
  }
13248
13499
  }
13249
- NumericFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13500
+ NumericFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: FilterService }, { token: ContextService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13250
13501
  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: `
13251
13502
  <kendo-grid-filter-wrapper-cell
13252
13503
  [column]="column"
@@ -13314,7 +13565,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13314
13565
  </kendo-grid-filter-wrapper-cell>
13315
13566
  `
13316
13567
  }]
13317
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13568
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13318
13569
  type: Input
13319
13570
  }], showOperators: [{
13320
13571
  type: Input
@@ -13338,8 +13589,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13338
13589
  * ```
13339
13590
  */
13340
13591
  class BooleanFilterCellComponent extends BooleanFilterComponent {
13341
- constructor(filterService, localization, cd, sizingService) {
13342
- super(filterService, localization);
13592
+ constructor(filterService, ctx, cd, sizingService) {
13593
+ super(filterService, ctx);
13343
13594
  this.cd = cd;
13344
13595
  /**
13345
13596
  * @hidden
@@ -13358,12 +13609,12 @@ class BooleanFilterCellComponent extends BooleanFilterComponent {
13358
13609
  * @hidden
13359
13610
  */
13360
13611
  get columnLabel() {
13361
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13612
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13362
13613
  const columnName = this.column.title || this.column.field;
13363
13614
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13364
13615
  }
13365
13616
  }
13366
- BooleanFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterCellComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13617
+ BooleanFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterCellComponent, deps: [{ token: FilterService }, { token: ContextService }, { token: i0.ChangeDetectorRef }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13367
13618
  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: `
13368
13619
  <kendo-grid-filter-wrapper-cell
13369
13620
  [column]="column"
@@ -13411,7 +13662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13411
13662
  </kendo-grid-filter-wrapper-cell>
13412
13663
  `
13413
13664
  }]
13414
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: SizingOptionsService }]; } });
13665
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type: SizingOptionsService }]; } });
13415
13666
 
13416
13667
  /**
13417
13668
  * Represents a [DatePicker](slug:overview_datepicker) filter-cell component.
@@ -13430,9 +13681,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13430
13681
  * ```
13431
13682
  */
13432
13683
  class DateFilterCellComponent extends DateFilterComponent {
13433
- constructor(filterService, localization, sizingService) {
13434
- super(filterService, localization);
13435
- this.localization = localization;
13684
+ constructor(filterService, ctx, sizingService) {
13685
+ super(filterService, ctx);
13686
+ this.ctx = ctx;
13436
13687
  /**
13437
13688
  * Represents a [DatePicker](slug:overview_datepicker) filter-cell component.
13438
13689
  * [See example](slug:filter_row#toc-built-in-filter-row-components).
@@ -13461,18 +13712,18 @@ class DateFilterCellComponent extends DateFilterComponent {
13461
13712
  * @hidden
13462
13713
  */
13463
13714
  messageFor(key) {
13464
- return this.localization.get(key);
13715
+ return this.ctx.localization.get(key);
13465
13716
  }
13466
13717
  /**
13467
13718
  * @hidden
13468
13719
  */
13469
13720
  get columnLabel() {
13470
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13721
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13471
13722
  const columnName = this.column.title || this.column.field;
13472
13723
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13473
13724
  }
13474
13725
  }
13475
- DateFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterCellComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13726
+ DateFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterCellComponent, deps: [{ token: FilterService }, { token: ContextService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
13476
13727
  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: `
13477
13728
  <kendo-grid-filter-wrapper-cell
13478
13729
  [column]="column"
@@ -13542,7 +13793,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13542
13793
  </kendo-grid-filter-wrapper-cell>
13543
13794
  `
13544
13795
  }]
13545
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
13796
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
13546
13797
  type: Input
13547
13798
  }] } });
13548
13799
 
@@ -13839,8 +14090,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13839
14090
  * @hidden
13840
14091
  */
13841
14092
  class FilterRowComponent {
13842
- constructor(localization, columnInfoService) {
13843
- this.localization = localization;
14093
+ constructor(ctx, columnInfoService) {
14094
+ this.ctx = ctx;
13844
14095
  this.columnInfoService = columnInfoService;
13845
14096
  this.columns = [];
13846
14097
  this.groups = [];
@@ -13851,12 +14102,12 @@ class FilterRowComponent {
13851
14102
  return Object.assign(Object.assign({}, sticky), column.filterStyle);
13852
14103
  }
13853
14104
  filterLabel(column) {
13854
- const localizationMsg = this.localization.get('filterInputLabel') || '';
14105
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13855
14106
  const columnName = column.title || column.field;
13856
14107
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13857
14108
  }
13858
14109
  }
13859
- FilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterRowComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
14110
+ FilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterRowComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
13860
14111
  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: `
13861
14112
  <td
13862
14113
  class="k-table-td"
@@ -13916,7 +14167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13916
14167
  ></td>
13917
14168
  `
13918
14169
  }]
13919
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }]; }, propDecorators: { columns: [{
14170
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }]; }, propDecorators: { columns: [{
13920
14171
  type: Input
13921
14172
  }], filter: [{
13922
14173
  type: Input
@@ -14226,13 +14477,13 @@ const indexOf = (target, list) => {
14226
14477
  * @hidden
14227
14478
  */
14228
14479
  class ColumnHandleDirective {
14229
- constructor(draggable, element, service, zone, cdr, localization, columnInfoService) {
14480
+ constructor(draggable, element, service, zone, cdr, ctx, columnInfoService) {
14230
14481
  this.draggable = draggable;
14231
14482
  this.element = element;
14232
14483
  this.service = service;
14233
14484
  this.zone = zone;
14234
14485
  this.cdr = cdr;
14235
- this.localization = localization;
14486
+ this.ctx = ctx;
14236
14487
  this.columnInfoService = columnInfoService;
14237
14488
  this.columns = [];
14238
14489
  this.subscriptions = new Subscription();
@@ -14287,7 +14538,7 @@ class ColumnHandleDirective {
14287
14538
  .subscribe(this.sizeToFit.bind(this)));
14288
14539
  this.subscriptions.add(service.pipe(filter(e => e.type === 'triggerAutoFit'))
14289
14540
  .subscribe(this.autoFit.bind(this)));
14290
- this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
14541
+ this.subscriptions.add(this.ctx.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
14291
14542
  }
14292
14543
  ngOnDestroy() {
14293
14544
  if (this.subscriptions) {
@@ -14363,7 +14614,7 @@ class ColumnHandleDirective {
14363
14614
  }
14364
14615
  }
14365
14616
  }
14366
- ColumnHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnHandleDirective, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Directive });
14617
+ ColumnHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnHandleDirective, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: ContextService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Directive });
14367
14618
  ColumnHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: { columns: "columns", column: "column" }, host: { listeners: { "dblclick": "autoFit()" }, properties: { "style.display": "this.visible", "style.left": "this.leftStyle", "style.right": "this.rightStyle" } }, ngImport: i0 });
14368
14619
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnHandleDirective, decorators: [{
14369
14620
  type: Directive,
@@ -14373,7 +14624,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
14373
14624
  }], ctorParameters: function () {
14374
14625
  return [{ type: i1$1.DraggableDirective, decorators: [{
14375
14626
  type: Host
14376
- }] }, { type: i0.ElementRef }, { type: ColumnResizingService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: ColumnInfoService }];
14627
+ }] }, { type: i0.ElementRef }, { type: ColumnResizingService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: ColumnInfoService }];
14377
14628
  }, propDecorators: { columns: [{
14378
14629
  type: Input
14379
14630
  }], column: [{
@@ -14417,14 +14668,13 @@ const modifierKeys = ['alt', 'ctrl', 'shift', 'meta'];
14417
14668
  * @hidden
14418
14669
  */
14419
14670
  class HeaderComponent {
14420
- constructor(popupService, hint, cue, reorderService, idService, sortService, localization, columnInfoService, cd, contextService) {
14671
+ constructor(popupService, hint, cue, reorderService, idService, sortService, columnInfoService, cd, contextService) {
14421
14672
  this.popupService = popupService;
14422
14673
  this.hint = hint;
14423
14674
  this.cue = cue;
14424
14675
  this.reorderService = reorderService;
14425
14676
  this.idService = idService;
14426
14677
  this.sortService = sortService;
14427
- this.localization = localization;
14428
14678
  this.columnInfoService = columnInfoService;
14429
14679
  this.cd = cd;
14430
14680
  this.contextService = contextService;
@@ -14450,7 +14700,7 @@ class HeaderComponent {
14450
14700
  return !this.scrollable;
14451
14701
  }
14452
14702
  get sortableLabel() {
14453
- return this.localization.get('sortable');
14703
+ return this.contextService.localization.get('sortable');
14454
14704
  }
14455
14705
  get columnMenuSettings() {
14456
14706
  return this.columnMenu;
@@ -14516,7 +14766,7 @@ class HeaderComponent {
14516
14766
  args.preventDefault();
14517
14767
  const columnsCount = this.columnInfoService.leafNamedColumns.length;
14518
14768
  const reorderDirection = args.keyCode === Keys.ArrowLeft ? -1 : 1;
14519
- const rtlMultiplier = this.localization.rtl ? -1 : 1;
14769
+ const rtlMultiplier = this.contextService.localization.rtl ? -1 : 1;
14520
14770
  const reorderDirectionOffset = reorderDirection * rtlMultiplier;
14521
14771
  const newIndex = column.leafIndex + reorderDirectionOffset;
14522
14772
  const normalizedNewIndex = Math.min(Math.max(0, newIndex), columnsCount - 1);
@@ -14574,7 +14824,7 @@ class HeaderComponent {
14574
14824
  else if (state.dir === 'desc') {
14575
14825
  msg = 'sortedDescending';
14576
14826
  }
14577
- return this.localization.get(msg);
14827
+ return this.contextService.localization.get(msg);
14578
14828
  }
14579
14829
  /**
14580
14830
  *
@@ -14620,7 +14870,7 @@ class HeaderComponent {
14620
14870
  }
14621
14871
  }
14622
14872
  ngOnInit() {
14623
- this.subscription.add(this.localization.changes
14873
+ this.subscription.add(this.contextService.localization.changes
14624
14874
  .subscribe(() => this.cd.markForCheck()));
14625
14875
  }
14626
14876
  ngOnDestroy() {
@@ -14636,7 +14886,7 @@ class HeaderComponent {
14636
14886
  return this.idService.selectAllCheckboxId();
14637
14887
  }
14638
14888
  get selectAllCheckboxLabel() {
14639
- return this.localization.get('selectAllCheckboxLabel');
14889
+ return this.contextService.localization.get('selectAllCheckboxLabel');
14640
14890
  }
14641
14891
  isFirstOnRow(column, index) {
14642
14892
  const isTailing = (c) => c &&
@@ -14774,7 +15024,7 @@ class HeaderComponent {
14774
15024
  const halfWidth = targetElement.offsetWidth / 2;
14775
15025
  const middle = left + halfWidth;
14776
15026
  before = middle > mouseEvent.pageX;
14777
- if (this.localization.rtl) {
15027
+ if (this.contextService.localization.rtl) {
14778
15028
  before = !before;
14779
15029
  }
14780
15030
  }
@@ -14785,7 +15035,7 @@ class HeaderComponent {
14785
15035
  }
14786
15036
  enter({ target, before }) {
14787
15037
  this.hint.enable();
14788
- if (this.localization.rtl) {
15038
+ if (this.contextService.localization.rtl) {
14789
15039
  before = !before;
14790
15040
  }
14791
15041
  this.cue.position(position(target.element.nativeElement, before));
@@ -14803,7 +15053,7 @@ class HeaderComponent {
14803
15053
  });
14804
15054
  }
14805
15055
  }
14806
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, deps: [{ token: SinglePopupService }, { token: DragHintService }, { token: DropCueService }, { token: ColumnReorderService }, { token: IdService }, { token: SortService }, { token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
15056
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, deps: [{ token: SinglePopupService }, { token: DragHintService }, { token: DropCueService }, { token: ColumnReorderService }, { token: IdService }, { token: SortService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
14807
15057
  HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: { totalColumnLevels: "totalColumnLevels", columns: "columns", groups: "groups", detailTemplate: "detailTemplate", scrollable: "scrollable", filterable: "filterable", sort: "sort", filter: "filter", sortable: "sortable", groupable: "groupable", lockedColumnsCount: "lockedColumnsCount", resizable: "resizable", reorderable: "reorderable", columnMenu: "columnMenu", columnMenuTemplate: "columnMenuTemplate", totalColumnsCount: "totalColumnsCount", tabIndex: "tabIndex", size: "size" }, host: { properties: { "class.k-grid-header": "this.headerClass", "class.k-table-thead": "this.hostClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }, { propertyName: "filterMenus", predicate: FilterMenuComponent, descendants: true }, { propertyName: "columnMenus", predicate: ColumnMenuComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
14808
15058
  <ng-container>
14809
15059
  <tr *ngFor="let i of columnLevels; let levelIndex = index"
@@ -15261,7 +15511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15261
15511
  </ng-container>
15262
15512
  `
15263
15513
  }]
15264
- }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: DragHintService }, { type: DropCueService }, { type: ColumnReorderService }, { type: IdService }, { type: SortService }, { type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: ContextService }]; }, propDecorators: { totalColumnLevels: [{
15514
+ }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: DragHintService }, { type: DropCueService }, { type: ColumnReorderService }, { type: IdService }, { type: SortService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: ContextService }]; }, propDecorators: { totalColumnLevels: [{
15265
15515
  type: Input
15266
15516
  }], columns: [{
15267
15517
  type: Input
@@ -15680,10 +15930,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15680
15930
  * @hidden
15681
15931
  */
15682
15932
  class CellComponent {
15683
- constructor(editService, idService, localizationService, cellContext) {
15933
+ constructor(editService, idService, ctx, cellContext) {
15684
15934
  this.editService = editService;
15685
15935
  this.idService = idService;
15686
- this.localizationService = localizationService;
15936
+ this.ctx = ctx;
15687
15937
  this.cellContext = cellContext;
15688
15938
  this.isNew = false;
15689
15939
  this.isLoading = false;
@@ -15699,7 +15949,7 @@ class CellComponent {
15699
15949
  return isRowReorderColumn(this.column);
15700
15950
  }
15701
15951
  get dragRowHandleLabel() {
15702
- return isRowReorderColumn(this.column) ? this.localizationService.get('dragRowHandleLabel') : undefined;
15952
+ return isRowReorderColumn(this.column) ? this.ctx.localization.get('dragRowHandleLabel') : undefined;
15703
15953
  }
15704
15954
  set rowIndex(index) {
15705
15955
  this._rowIndex = index;
@@ -15749,7 +15999,7 @@ class CellComponent {
15749
15999
  return this.idService.selectionCheckboxId(this.rowIndex);
15750
16000
  }
15751
16001
  get selectionCheckboxLabel() {
15752
- return this.localizationService.get('selectionCheckboxLabel');
16002
+ return this.ctx.localization.get('selectionCheckboxLabel');
15753
16003
  }
15754
16004
  get isSpanColumn() {
15755
16005
  return isSpanColumn(this.column) && !this.column.templateRef;
@@ -15805,7 +16055,7 @@ class CellComponent {
15805
16055
  context.$implicit = this.dataItem;
15806
16056
  }
15807
16057
  }
15808
- CellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CellComponent, deps: [{ token: EditService }, { token: IdService }, { token: i1.LocalizationService }, { token: CELL_CONTEXT, optional: true }], target: i0.ɵɵFactoryTarget.Component });
16058
+ CellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CellComponent, deps: [{ token: EditService }, { token: IdService }, { token: ContextService }, { token: CELL_CONTEXT, optional: true }], target: i0.ɵɵFactoryTarget.Component });
15809
16059
  CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CellComponent, selector: "[kendoGridCell]", inputs: { column: "column", columnIndex: "columnIndex", isNew: "isNew", isLoading: "isLoading", isVirtual: "isVirtual", loadingTemplate: "loadingTemplate", rowIndex: "rowIndex", dataItem: "dataItem" }, host: { properties: { "class.k-command-cell": "this.commandCellClass", "class.k-drag-cell": "this.dragHandleCellClass", "class.k-touch-action-none": "this.dragHandleCellClass", "attr.aria-label": "this.dragRowHandleLabel" } }, usesOnChanges: true, ngImport: i0, template: `
15810
16060
  <ng-container [ngSwitch]="isEdited">
15811
16061
  <ng-container *ngSwitchCase="false">
@@ -15966,7 +16216,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15966
16216
  `
15967
16217
  }]
15968
16218
  }], ctorParameters: function () {
15969
- return [{ type: EditService }, { type: IdService }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
16219
+ return [{ type: EditService }, { type: IdService }, { type: ContextService }, { type: undefined, decorators: [{
15970
16220
  type: Optional
15971
16221
  }, {
15972
16222
  type: Inject,
@@ -16006,10 +16256,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16006
16256
  * @hidden
16007
16257
  */
16008
16258
  class GroupHeaderComponent {
16009
- constructor(groupsService, groupInfoService, localization) {
16259
+ constructor(groupsService, groupInfoService, ctx) {
16010
16260
  this.groupsService = groupsService;
16011
16261
  this.groupInfoService = groupInfoService;
16012
- this.localization = localization;
16262
+ this.ctx = ctx;
16013
16263
  this.skipGroupDecoration = false;
16014
16264
  this.hasDetails = false;
16015
16265
  this.totalColumnsCount = 0;
@@ -16067,10 +16317,10 @@ class GroupHeaderComponent {
16067
16317
  }
16068
16318
  get groupButtonTitle() {
16069
16319
  const messageKey = this.isExpanded ? 'groupCollapse' : 'groupExpand';
16070
- return this.localization.get(messageKey);
16320
+ return this.ctx.localization.get(messageKey);
16071
16321
  }
16072
16322
  }
16073
- GroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: GroupsService }, { token: GroupInfoService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
16323
+ GroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: GroupsService }, { token: GroupInfoService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
16074
16324
  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: `
16075
16325
  <ng-container *ngIf="!skipGroupDecoration">
16076
16326
  <td class="k-group-cell k-table-td"
@@ -16216,7 +16466,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16216
16466
  </ng-container>
16217
16467
  `
16218
16468
  }]
16219
- }], ctorParameters: function () { return [{ type: GroupsService }, { type: GroupInfoService }, { type: i1.LocalizationService }]; }, propDecorators: { rowIndex: [{
16469
+ }], ctorParameters: function () { return [{ type: GroupsService }, { type: GroupInfoService }, { type: ContextService }]; }, propDecorators: { rowIndex: [{
16220
16470
  type: Input
16221
16471
  }], logicalRowIndex: [{
16222
16472
  type: Input
@@ -16259,12 +16509,12 @@ const columnCellIndex = (cell, cells) => {
16259
16509
  * @hidden
16260
16510
  */
16261
16511
  class TableBodyComponent {
16262
- constructor(detailsService, groupsService, changeNotification, editService, localization, ngZone, renderer, element, domEvents, selectionService, cellSelectionService, columnInfoService, navigationService) {
16512
+ constructor(detailsService, groupsService, changeNotification, editService, ctx, ngZone, renderer, element, domEvents, selectionService, cellSelectionService, columnInfoService, navigationService) {
16263
16513
  this.detailsService = detailsService;
16264
16514
  this.groupsService = groupsService;
16265
16515
  this.changeNotification = changeNotification;
16266
16516
  this.editService = editService;
16267
- this.localization = localization;
16517
+ this.ctx = ctx;
16268
16518
  this.ngZone = ngZone;
16269
16519
  this.renderer = renderer;
16270
16520
  this.element = element;
@@ -16276,7 +16526,7 @@ class TableBodyComponent {
16276
16526
  this.columns = [];
16277
16527
  this.groups = [];
16278
16528
  this.skip = 0;
16279
- this.noRecordsText = this.localization.get('noRecords');
16529
+ this.noRecordsText = this.ctx.localization.get('noRecords');
16280
16530
  this.isLocked = false;
16281
16531
  this.skipGroupDecoration = false;
16282
16532
  this.showGroupFooters = false;
@@ -16319,7 +16569,7 @@ class TableBodyComponent {
16319
16569
  }
16320
16570
  detailButtonTitle(viewItem) {
16321
16571
  const messageKey = this.isExpanded(viewItem) ? 'detailCollapse' : 'detailExpand';
16322
- return this.localization.get(messageKey);
16572
+ return this.ctx.localization.get(messageKey);
16323
16573
  }
16324
16574
  isGroup(item) {
16325
16575
  return item.type === 'group';
@@ -16428,10 +16678,10 @@ class TableBodyComponent {
16428
16678
  touchendSubscription();
16429
16679
  };
16430
16680
  });
16431
- let originalNoRecordText = this.localization.get('noRecords');
16432
- this.l10nSubscription = this.localization.changes.subscribe(() => {
16681
+ let originalNoRecordText = this.ctx.localization.get('noRecords');
16682
+ this.l10nSubscription = this.ctx.localization.changes.subscribe(() => {
16433
16683
  if (this.noRecordsText === originalNoRecordText) {
16434
- this.noRecordsText = this.localization.get('noRecords');
16684
+ this.noRecordsText = this.ctx.localization.get('noRecords');
16435
16685
  originalNoRecordText = this.noRecordsText;
16436
16686
  }
16437
16687
  });
@@ -16589,7 +16839,7 @@ class TableBodyComponent {
16589
16839
  }
16590
16840
  }
16591
16841
  }
16592
- TableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: DetailsService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: EditService }, { token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DomEventsService }, { token: SelectionService }, { token: CellSelectionService }, { token: ColumnInfoService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
16842
+ TableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: DetailsService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: EditService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DomEventsService }, { token: SelectionService }, { token: CellSelectionService }, { token: ColumnInfoService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
16593
16843
  TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: { columns: "columns", allColumns: "allColumns", groups: "groups", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", data: "data", skip: "skip", selectable: "selectable", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", isLoading: "isLoading", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", skipGroupDecoration: "skipGroupDecoration", showGroupFooters: "showGroupFooters", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", trackBy: "trackBy", rowSticky: "rowSticky", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
16594
16844
  <ng-container *ngIf="editService.hasNewItem">
16595
16845
  <tr class="k-grid-add-row k-grid-edit-row k-master-row"
@@ -17039,7 +17289,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
17039
17289
  <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
17040
17290
  `
17041
17291
  }]
17042
- }], ctorParameters: function () { return [{ type: DetailsService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: EditService }, { type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: DomEventsService }, { type: SelectionService }, { type: CellSelectionService }, { type: ColumnInfoService }, { type: NavigationService }]; }, propDecorators: { columns: [{
17292
+ }], ctorParameters: function () { return [{ type: DetailsService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: EditService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: DomEventsService }, { type: SelectionService }, { type: CellSelectionService }, { type: ColumnInfoService }, { type: NavigationService }]; }, propDecorators: { columns: [{
17043
17293
  type: Input
17044
17294
  }], allColumns: [{
17045
17295
  type: Input
@@ -17362,7 +17612,7 @@ const bufferSize = 1;
17362
17612
  * @hidden
17363
17613
  */
17364
17614
  class ListComponent {
17365
- constructor(scrollerFactory, detailsService, changeNotification, suspendService, groupsService, ngZone, renderer, scrollSyncService, resizeService, editService, supportService, navigationService, scrollRequestService, localization, columnResizingService, changeDetector, pdfService, columnInfo) {
17615
+ constructor(scrollerFactory, detailsService, changeNotification, suspendService, groupsService, ngZone, renderer, scrollSyncService, resizeService, editService, supportService, navigationService, scrollRequestService, ctx, columnResizingService, changeDetector, pdfService, columnInfo) {
17366
17616
  this.changeNotification = changeNotification;
17367
17617
  this.suspendService = suspendService;
17368
17618
  this.groupsService = groupsService;
@@ -17373,7 +17623,7 @@ class ListComponent {
17373
17623
  this.editService = editService;
17374
17624
  this.supportService = supportService;
17375
17625
  this.navigationService = navigationService;
17376
- this.localization = localization;
17626
+ this.ctx = ctx;
17377
17627
  this.columnResizingService = columnResizingService;
17378
17628
  this.changeDetector = changeDetector;
17379
17629
  this.pdfService = pdfService;
@@ -17449,7 +17699,7 @@ class ListComponent {
17449
17699
  });
17450
17700
  }
17451
17701
  }));
17452
- this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
17702
+ this.subscriptions.add(this.ctx.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
17453
17703
  }
17454
17704
  ngOnChanges(changes) {
17455
17705
  if (!isDocumentAvailable()) {
@@ -17844,7 +18094,7 @@ class ListComponent {
17844
18094
  return element.offsetLeft;
17845
18095
  }
17846
18096
  }
17847
- ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: DetailsService }, { token: ChangeNotificationService }, { token: SuspendService }, { token: GroupsService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: ScrollSyncService }, { token: ResizeService }, { token: EditService }, { token: BrowserSupportService }, { token: NavigationService }, { token: ScrollRequestService }, { token: i1.LocalizationService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
18097
+ ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ListComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: DetailsService }, { token: ChangeNotificationService }, { token: SuspendService }, { token: GroupsService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: ScrollSyncService }, { token: ResizeService }, { token: EditService }, { token: BrowserSupportService }, { token: NavigationService }, { token: ScrollRequestService }, { token: ContextService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
17848
18098
  ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ListComponent, selector: "kendo-grid-list", inputs: { data: "data", groups: "groups", total: "total", rowHeight: "rowHeight", stickyRowHeight: "stickyRowHeight", detailRowHeight: "detailRowHeight", take: "take", skip: "skip", columns: "columns", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", selectable: "selectable", groupable: "groupable", filterable: "filterable", rowClass: "rowClass", rowSticky: "rowSticky", loading: "loading", trackBy: "trackBy", virtualColumns: "virtualColumns", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", loadingTemplate: "loadingTemplate", sort: "sort", size: "size" }, outputs: { contentScroll: "contentScroll", pageChange: "pageChange", scrollBottom: "scrollBottom" }, host: { properties: { "class.k-grid-container": "this.hostClass", "attr.role": "this.hostRole" } }, providers: [
17849
18099
  {
17850
18100
  provide: SCROLLER_FACTORY_TOKEN,
@@ -18083,7 +18333,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18083
18333
  return [{ type: undefined, decorators: [{
18084
18334
  type: Inject,
18085
18335
  args: [SCROLLER_FACTORY_TOKEN]
18086
- }] }, { type: DetailsService }, { type: ChangeNotificationService }, { type: SuspendService }, { type: GroupsService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ScrollSyncService }, { type: ResizeService }, { type: EditService }, { type: BrowserSupportService }, { type: NavigationService }, { type: ScrollRequestService }, { type: i1.LocalizationService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: ColumnInfoService }];
18336
+ }] }, { type: DetailsService }, { type: ChangeNotificationService }, { type: SuspendService }, { type: GroupsService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ScrollSyncService }, { type: ResizeService }, { type: EditService }, { type: BrowserSupportService }, { type: NavigationService }, { type: ScrollRequestService }, { type: ContextService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: PDFService }, { type: ColumnInfoService }];
18087
18337
  }, propDecorators: { hostClass: [{
18088
18338
  type: HostBinding,
18089
18339
  args: ['class.k-grid-container']
@@ -18311,15 +18561,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18311
18561
  * @hidden
18312
18562
  */
18313
18563
  class LoadingComponent {
18314
- constructor(localization) {
18315
- this.localization = localization;
18564
+ constructor(ctx) {
18565
+ this.ctx = ctx;
18316
18566
  this.hostClass = true;
18317
18567
  }
18318
18568
  get loadingText() {
18319
- return this.localization.get('loading');
18569
+ return this.ctx.localization.get('loading');
18320
18570
  }
18321
18571
  }
18322
- LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LoadingComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18572
+ LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LoadingComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
18323
18573
  LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LoadingComponent, selector: "[kendoGridLoading]", inputs: { loadingTemplate: "loadingTemplate" }, host: { properties: { "class.k-loading-mask": "this.hostClass" } }, ngImport: i0, template: `
18324
18574
  <ng-container *ngIf="!loadingTemplate">
18325
18575
  <span class="k-loading-text">{{ loadingText }}</span>
@@ -18343,7 +18593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18343
18593
  </ng-template>
18344
18594
  `
18345
18595
  }]
18346
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
18596
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClass: [{
18347
18597
  type: HostBinding,
18348
18598
  args: ['class.k-loading-mask']
18349
18599
  }], loadingTemplate: [{
@@ -18356,7 +18606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18356
18606
  class GridMessages extends ComponentMessages {
18357
18607
  }
18358
18608
  GridMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
18359
- GridMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: GridMessages, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", selectPage: "selectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", groupPanelLabel: "groupPanelLabel", dragRowHandleLabel: "dragRowHandleLabel" }, usesInheritance: true, ngImport: i0 });
18609
+ GridMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: GridMessages, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", selectPage: "selectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", groupPanelLabel: "groupPanelLabel", dragRowHandleLabel: "dragRowHandleLabel", columnMenuFilterTabTitle: "columnMenuFilterTabTitle", columnMenuGeneralTabTitle: "columnMenuGeneralTabTitle", columnMenuColumnsTabTitle: "columnMenuColumnsTabTitle" }, usesInheritance: true, ngImport: i0 });
18360
18610
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridMessages, decorators: [{
18361
18611
  type: Directive,
18362
18612
  args: [{
@@ -18515,6 +18765,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18515
18765
  type: Input
18516
18766
  }], dragRowHandleLabel: [{
18517
18767
  type: Input
18768
+ }], columnMenuFilterTabTitle: [{
18769
+ type: Input
18770
+ }], columnMenuGeneralTabTitle: [{
18771
+ type: Input
18772
+ }], columnMenuColumnsTabTitle: [{
18773
+ type: Input
18518
18774
  }] } });
18519
18775
 
18520
18776
  /**
@@ -20663,6 +20919,15 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
20663
20919
 
20664
20920
  i18n-dragRowHandleLabel="kendo.grid.dragRowHandleLabel|The label for the Grid drag row handle"
20665
20921
  dragRowHandleLabel="Drag row"
20922
+
20923
+ i18n-columnMenuFilterTabTitle="kendo.grid.columnMenuFilterTabTitle|The title for the column menu Filter tab"
20924
+ columnMenuFilterTabTitle="Filter"
20925
+
20926
+ i18n-columnMenuGeneralTabTitle="kendo.grid.columnMenuGeneralTabTitle|The title for the column menu General tab"
20927
+ columnMenuGeneralTabTitle="General"
20928
+
20929
+ i18n-columnMenuColumnsTabTitle="kendo.grid.columnMenuColumnsTabTitle|The title for the column menu Columns tab"
20930
+ columnMenuColumnsTabTitle="Columns"
20666
20931
  >
20667
20932
  </ng-container>
20668
20933
  <kendo-grid-toolbar
@@ -21263,6 +21528,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
21263
21528
 
21264
21529
  i18n-dragRowHandleLabel="kendo.grid.dragRowHandleLabel|The label for the Grid drag row handle"
21265
21530
  dragRowHandleLabel="Drag row"
21531
+
21532
+ i18n-columnMenuFilterTabTitle="kendo.grid.columnMenuFilterTabTitle|The title for the column menu Filter tab"
21533
+ columnMenuFilterTabTitle="Filter"
21534
+
21535
+ i18n-columnMenuGeneralTabTitle="kendo.grid.columnMenuGeneralTabTitle|The title for the column menu General tab"
21536
+ columnMenuGeneralTabTitle="General"
21537
+
21538
+ i18n-columnMenuColumnsTabTitle="kendo.grid.columnMenuColumnsTabTitle|The title for the column menu Columns tab"
21539
+ columnMenuColumnsTabTitle="Columns"
21266
21540
  >
21267
21541
  </ng-container>
21268
21542
  <kendo-grid-toolbar
@@ -22260,12 +22534,12 @@ const stringOperators = localizeOperators({
22260
22534
  * @hidden
22261
22535
  */
22262
22536
  class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
22263
- constructor(filterService, column, localization, sizingOptionsService) {
22537
+ constructor(filterService, column, ctx, sizingOptionsService) {
22264
22538
  super(filterService);
22265
- this.localization = localization;
22539
+ this.ctx = ctx;
22266
22540
  this.showOperators = true;
22267
22541
  this.size = 'medium';
22268
- this.defaultOperators = stringOperators(this.localization);
22542
+ this.defaultOperators = stringOperators(this.ctx.localization);
22269
22543
  this.column = column;
22270
22544
  this.subs = sizingOptionsService.changes.subscribe(size => this.size = size);
22271
22545
  }
@@ -22287,7 +22561,7 @@ class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
22287
22561
  }
22288
22562
  }
22289
22563
  }
22290
- AutoCompleteFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteFilterCellComponent, deps: [{ token: FilterService }, { token: ColumnComponent }, { token: i1.LocalizationService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
22564
+ AutoCompleteFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteFilterCellComponent, deps: [{ token: FilterService }, { token: ColumnComponent }, { token: ContextService }, { token: SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
22291
22565
  AutoCompleteFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AutoCompleteFilterCellComponent, selector: "kendo-grid-autocomplete-filter-cell", inputs: { showOperators: "showOperators", column: "column", filter: "filter", data: "data", valueField: "valueField" }, usesInheritance: true, ngImport: i0, template: `
22292
22566
  <kendo-grid-filter-wrapper-cell
22293
22567
  [column]="column"
@@ -22323,7 +22597,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22323
22597
  </kendo-grid-filter-wrapper-cell>
22324
22598
  `
22325
22599
  }]
22326
- }], ctorParameters: function () { return [{ type: FilterService }, { type: ColumnComponent }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
22600
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ColumnComponent }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
22327
22601
  type: Input
22328
22602
  }], column: [{
22329
22603
  type: Input
@@ -22413,9 +22687,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22413
22687
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22414
22688
  */
22415
22689
  class ContainsFilterOperatorComponent extends FilterOperatorBase {
22416
- constructor(localization) { super("contains", localization); }
22690
+ constructor(ctx) { super("contains", ctx); }
22417
22691
  }
22418
- ContainsFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContainsFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22692
+ ContainsFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContainsFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22419
22693
  ContainsFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ContainsFilterOperatorComponent, selector: "kendo-filter-contains-operator", providers: [
22420
22694
  {
22421
22695
  provide: FilterOperatorBase,
@@ -22434,7 +22708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22434
22708
  selector: 'kendo-filter-contains-operator',
22435
22709
  template: ``
22436
22710
  }]
22437
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22711
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22438
22712
 
22439
22713
  /**
22440
22714
  * Represents the `DoesNotContain` (**Does not contain**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22442,9 +22716,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22442
22716
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22443
22717
  */
22444
22718
  class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
22445
- constructor(localization) { super("doesnotcontain", localization); }
22719
+ constructor(ctx) { super("doesnotcontain", ctx); }
22446
22720
  }
22447
- DoesNotContainFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22721
+ DoesNotContainFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22448
22722
  DoesNotContainFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DoesNotContainFilterOperatorComponent, selector: "kendo-filter-not-contains-operator", providers: [
22449
22723
  {
22450
22724
  provide: FilterOperatorBase,
@@ -22463,7 +22737,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22463
22737
  selector: 'kendo-filter-not-contains-operator',
22464
22738
  template: ``
22465
22739
  }]
22466
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22740
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22467
22741
 
22468
22742
  /**
22469
22743
  * Represents the `EndsWith` (**Ends with**) string filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22471,9 +22745,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22471
22745
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22472
22746
  */
22473
22747
  class EndsWithFilterOperatorComponent extends FilterOperatorBase {
22474
- constructor(localization) { super("endswith", localization); }
22748
+ constructor(ctx) { super("endswith", ctx); }
22475
22749
  }
22476
- EndsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EndsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22750
+ EndsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EndsWithFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22477
22751
  EndsWithFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EndsWithFilterOperatorComponent, selector: "kendo-filter-endswith-operator", providers: [
22478
22752
  {
22479
22753
  provide: FilterOperatorBase,
@@ -22492,7 +22766,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22492
22766
  selector: 'kendo-filter-endswith-operator',
22493
22767
  template: ``
22494
22768
  }]
22495
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22769
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22496
22770
 
22497
22771
  /**
22498
22772
  * Represents the `Equal` (**Is equal to**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22500,9 +22774,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22500
22774
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22501
22775
  */
22502
22776
  class EqualFilterOperatorComponent extends FilterOperatorBase {
22503
- constructor(localization) { super("eq", localization); }
22777
+ constructor(ctx) { super("eq", ctx); }
22504
22778
  }
22505
- EqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22779
+ EqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EqualFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22506
22780
  EqualFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EqualFilterOperatorComponent, selector: "kendo-filter-eq-operator", providers: [
22507
22781
  {
22508
22782
  provide: FilterOperatorBase,
@@ -22521,7 +22795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22521
22795
  selector: 'kendo-filter-eq-operator',
22522
22796
  template: ``
22523
22797
  }]
22524
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22798
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22525
22799
 
22526
22800
  /**
22527
22801
  * Represents the `IsEmpty` (**Is empty**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22529,9 +22803,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22529
22803
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22530
22804
  */
22531
22805
  class IsEmptyFilterOperatorComponent extends FilterOperatorBase {
22532
- constructor(localization) { super("isempty", localization); }
22806
+ constructor(ctx) { super("isempty", ctx); }
22533
22807
  }
22534
- IsEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22808
+ IsEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22535
22809
  IsEmptyFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsEmptyFilterOperatorComponent, selector: "kendo-filter-isempty-operator", providers: [
22536
22810
  {
22537
22811
  provide: FilterOperatorBase,
@@ -22550,7 +22824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22550
22824
  selector: 'kendo-filter-isempty-operator',
22551
22825
  template: ``
22552
22826
  }]
22553
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22827
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22554
22828
 
22555
22829
  /**
22556
22830
  * Represents the `IsNotEmpty` (**Is not empty**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22558,9 +22832,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22558
22832
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22559
22833
  */
22560
22834
  class IsNotEmptyFilterOperatorComponent extends FilterOperatorBase {
22561
- constructor(localization) { super("isnotempty", localization); }
22835
+ constructor(ctx) { super("isnotempty", ctx); }
22562
22836
  }
22563
- IsNotEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22837
+ IsNotEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22564
22838
  IsNotEmptyFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNotEmptyFilterOperatorComponent, selector: "kendo-filter-isnotempty-operator", providers: [
22565
22839
  {
22566
22840
  provide: FilterOperatorBase,
@@ -22579,7 +22853,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22579
22853
  selector: 'kendo-filter-isnotempty-operator',
22580
22854
  template: ``
22581
22855
  }]
22582
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22856
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22583
22857
 
22584
22858
  /**
22585
22859
  * Represents the `IsNotNull` (**Is not null**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22587,9 +22861,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22587
22861
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22588
22862
  */
22589
22863
  class IsNotNullFilterOperatorComponent extends FilterOperatorBase {
22590
- constructor(localization) { super("isnotnull", localization); }
22864
+ constructor(ctx) { super("isnotnull", ctx); }
22591
22865
  }
22592
- IsNotNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22866
+ IsNotNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22593
22867
  IsNotNullFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNotNullFilterOperatorComponent, selector: "kendo-filter-isnotnull-operator", providers: [
22594
22868
  {
22595
22869
  provide: FilterOperatorBase,
@@ -22608,7 +22882,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22608
22882
  selector: 'kendo-filter-isnotnull-operator',
22609
22883
  template: ``
22610
22884
  }]
22611
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22885
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22612
22886
 
22613
22887
  /**
22614
22888
  * Represents the `IsNull` (**Is null**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22616,9 +22890,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22616
22890
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22617
22891
  */
22618
22892
  class IsNullFilterOperatorComponent extends FilterOperatorBase {
22619
- constructor(localization) { super("isnull", localization); }
22893
+ constructor(ctx) { super("isnull", ctx); }
22620
22894
  }
22621
- IsNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22895
+ IsNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22622
22896
  IsNullFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNullFilterOperatorComponent, selector: "kendo-filter-isnull-operator", providers: [
22623
22897
  {
22624
22898
  provide: FilterOperatorBase,
@@ -22637,7 +22911,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22637
22911
  selector: 'kendo-filter-isnull-operator',
22638
22912
  template: ``
22639
22913
  }]
22640
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22914
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22641
22915
 
22642
22916
  /**
22643
22917
  * Represents the `NotEqual` (**Is not equal to**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22645,9 +22919,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22645
22919
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22646
22920
  */
22647
22921
  class NotEqualFilterOperatorComponent extends FilterOperatorBase {
22648
- constructor(localization) { super("neq", localization); }
22922
+ constructor(ctx) { super("neq", ctx); }
22649
22923
  }
22650
- NotEqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22924
+ NotEqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22651
22925
  NotEqualFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NotEqualFilterOperatorComponent, selector: "kendo-filter-neq-operator", providers: [
22652
22926
  {
22653
22927
  provide: FilterOperatorBase,
@@ -22666,7 +22940,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22666
22940
  selector: 'kendo-filter-neq-operator',
22667
22941
  template: ``
22668
22942
  }]
22669
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22943
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22670
22944
 
22671
22945
  /**
22672
22946
  * Represents the `StartsWith` (**Starts with**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22674,9 +22948,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22674
22948
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22675
22949
  */
22676
22950
  class StartsWithFilterOperatorComponent extends FilterOperatorBase {
22677
- constructor(localization) { super("startswith", localization); }
22951
+ constructor(ctx) { super("startswith", ctx); }
22678
22952
  }
22679
- StartsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22953
+ StartsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22680
22954
  StartsWithFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StartsWithFilterOperatorComponent, selector: "kendo-filter-startswith-operator", providers: [
22681
22955
  {
22682
22956
  provide: FilterOperatorBase,
@@ -22695,16 +22969,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22695
22969
  selector: 'kendo-filter-startswith-operator',
22696
22970
  template: ``
22697
22971
  }]
22698
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22972
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22699
22973
 
22700
22974
  /**
22701
22975
  * Represents the `Greater` (**Is greater than**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
22702
22976
  * [See example](slug:filter_row#toc-default-filter-operator).
22703
22977
  */
22704
22978
  class GreaterFilterOperatorComponent extends FilterOperatorBase {
22705
- constructor(localization) { super("gt", localization); }
22979
+ constructor(ctx) { super("gt", ctx); }
22706
22980
  }
22707
- GreaterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22981
+ GreaterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22708
22982
  GreaterFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GreaterFilterOperatorComponent, selector: "kendo-filter-gt-operator", providers: [
22709
22983
  {
22710
22984
  provide: FilterOperatorBase,
@@ -22723,16 +22997,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22723
22997
  selector: 'kendo-filter-gt-operator',
22724
22998
  template: ``
22725
22999
  }]
22726
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23000
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22727
23001
 
22728
23002
  /**
22729
23003
  * Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
22730
23004
  * [See example](slug:filter_row#toc-default-filter-operator).
22731
23005
  */
22732
23006
  class GreaterOrEqualToFilterOperatorComponent extends FilterOperatorBase {
22733
- constructor(localization) { super("gte", localization); }
23007
+ constructor(ctx) { super("gte", ctx); }
22734
23008
  }
22735
- GreaterOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23009
+ GreaterOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22736
23010
  GreaterOrEqualToFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GreaterOrEqualToFilterOperatorComponent, selector: "kendo-filter-gte-operator", providers: [
22737
23011
  {
22738
23012
  provide: FilterOperatorBase,
@@ -22751,7 +23025,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22751
23025
  selector: 'kendo-filter-gte-operator',
22752
23026
  template: ``
22753
23027
  }]
22754
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23028
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22755
23029
 
22756
23030
  /**
22757
23031
  * Represents the `Less` (**Is less than**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
@@ -22759,9 +23033,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22759
23033
  * [See example](slug:filter_row#toc-default-filter-operator).
22760
23034
  */
22761
23035
  class LessFilterOperatorComponent extends FilterOperatorBase {
22762
- constructor(localization) { super("lt", localization); }
23036
+ constructor(ctx) { super("lt", ctx); }
22763
23037
  }
22764
- LessFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23038
+ LessFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22765
23039
  LessFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LessFilterOperatorComponent, selector: "kendo-filter-lt-operator", providers: [
22766
23040
  {
22767
23041
  provide: FilterOperatorBase,
@@ -22780,7 +23054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22780
23054
  selector: 'kendo-filter-lt-operator',
22781
23055
  template: ``
22782
23056
  }]
22783
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23057
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22784
23058
 
22785
23059
  /**
22786
23060
  * Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
@@ -22788,9 +23062,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22788
23062
  * [See example](slug:filter_row#toc-default-filter-operator).
22789
23063
  */
22790
23064
  class LessOrEqualToFilterOperatorComponent extends FilterOperatorBase {
22791
- constructor(localization) { super("lte", localization); }
23065
+ constructor(ctx) { super("lte", ctx); }
22792
23066
  }
22793
- LessOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23067
+ LessOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22794
23068
  LessOrEqualToFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LessOrEqualToFilterOperatorComponent, selector: "kendo-filter-lte-operator", providers: [
22795
23069
  {
22796
23070
  provide: FilterOperatorBase,
@@ -22809,14 +23083,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22809
23083
  selector: 'kendo-filter-lte-operator',
22810
23084
  template: ``
22811
23085
  }]
22812
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23086
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22813
23087
 
22814
23088
  /**
22815
23089
  * Represents the `Greater` (**Is after**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22816
23090
  * [See example](slug:filter_row#toc-default-filter-operator).
22817
23091
  */
22818
23092
  class AfterFilterOperatorComponent extends FilterOperatorBase {
22819
- constructor(localization) { super("after", localization); }
23093
+ constructor(ctx) { super("after", ctx); }
22820
23094
  /**
22821
23095
  * @hidden
22822
23096
  */
@@ -22827,7 +23101,7 @@ class AfterFilterOperatorComponent extends FilterOperatorBase {
22827
23101
  };
22828
23102
  }
22829
23103
  }
22830
- AfterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23104
+ AfterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22831
23105
  AfterFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AfterFilterOperatorComponent, selector: "kendo-filter-after-operator", providers: [
22832
23106
  {
22833
23107
  provide: FilterOperatorBase,
@@ -22846,14 +23120,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22846
23120
  selector: 'kendo-filter-after-operator',
22847
23121
  template: ``
22848
23122
  }]
22849
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23123
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22850
23124
 
22851
23125
  /**
22852
23126
  * Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22853
23127
  * [See example](slug:filter_row#toc-default-filter-operator).
22854
23128
  */
22855
23129
  class AfterEqFilterOperatorComponent extends FilterOperatorBase {
22856
- constructor(localization) { super("after-eq", localization); }
23130
+ constructor(ctx) { super("after-eq", ctx); }
22857
23131
  /**
22858
23132
  * @hidden
22859
23133
  */
@@ -22864,7 +23138,7 @@ class AfterEqFilterOperatorComponent extends FilterOperatorBase {
22864
23138
  };
22865
23139
  }
22866
23140
  }
22867
- AfterEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterEqFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23141
+ AfterEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterEqFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22868
23142
  AfterEqFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AfterEqFilterOperatorComponent, selector: "kendo-filter-after-eq-operator", providers: [
22869
23143
  {
22870
23144
  provide: FilterOperatorBase,
@@ -22883,14 +23157,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22883
23157
  selector: 'kendo-filter-after-eq-operator',
22884
23158
  template: ``
22885
23159
  }]
22886
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23160
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22887
23161
 
22888
23162
  /**
22889
23163
  * Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22890
23164
  * [See example](slug:filter_row#toc-default-filter-operator).
22891
23165
  */
22892
23166
  class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
22893
- constructor(localization) { super("before-eq", localization); }
23167
+ constructor(ctx) { super("before-eq", ctx); }
22894
23168
  /**
22895
23169
  * @hidden
22896
23170
  */
@@ -22901,7 +23175,7 @@ class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
22901
23175
  };
22902
23176
  }
22903
23177
  }
22904
- BeforeEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeEqFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23178
+ BeforeEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeEqFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22905
23179
  BeforeEqFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BeforeEqFilterOperatorComponent, selector: "kendo-filter-before-eq-operator", providers: [
22906
23180
  {
22907
23181
  provide: FilterOperatorBase,
@@ -22920,14 +23194,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22920
23194
  selector: 'kendo-filter-before-eq-operator',
22921
23195
  template: ``
22922
23196
  }]
22923
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23197
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22924
23198
 
22925
23199
  /**
22926
23200
  * Represents the `Less than` (**Is before**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22927
23201
  * [See example](slug:filter_row#toc-default-filter-operator).
22928
23202
  */
22929
23203
  class BeforeFilterOperatorComponent extends FilterOperatorBase {
22930
- constructor(localization) { super("before", localization); }
23204
+ constructor(ctx) { super("before", ctx); }
22931
23205
  /**
22932
23206
  * @hidden
22933
23207
  */
@@ -22938,7 +23212,7 @@ class BeforeFilterOperatorComponent extends FilterOperatorBase {
22938
23212
  };
22939
23213
  }
22940
23214
  }
22941
- BeforeFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23215
+ BeforeFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22942
23216
  BeforeFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BeforeFilterOperatorComponent, selector: "kendo-filter-before-operator", providers: [
22943
23217
  {
22944
23218
  provide: FilterOperatorBase,
@@ -22957,7 +23231,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22957
23231
  selector: 'kendo-filter-before-operator',
22958
23232
  template: ``
22959
23233
  }]
22960
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23234
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22961
23235
 
22962
23236
  const FILTER_OPERATORS = [
22963
23237
  FilterCellOperatorsComponent,
@@ -23364,7 +23638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23364
23638
  }] });
23365
23639
 
23366
23640
  /**
23367
- * Represents the component for toggling the visibility of the Grid columns. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
23641
+ * Represents the component for toggling the Grid columns visibility. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
23368
23642
  * To show and hide the columns without including the column chooser item in the [Column Menu](slug:columnmenu_grid),
23369
23643
  * add the component inside the [ToolbarTemplate](slug:toolbartemplate_grid) directive.
23370
23644
  *
@@ -23379,8 +23653,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23379
23653
  * ```
23380
23654
  */
23381
23655
  class ColumnChooserComponent {
23382
- constructor(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
23383
- this.localization = localization;
23656
+ constructor(ctx, columnInfoService, popupService, ngZone, renderer, changeDetector) {
23657
+ this.ctx = ctx;
23384
23658
  this.columnInfoService = columnInfoService;
23385
23659
  this.popupService = popupService;
23386
23660
  this.ngZone = ngZone;
@@ -23414,7 +23688,7 @@ class ColumnChooserComponent {
23414
23688
  */
23415
23689
  toggle(anchor, template) {
23416
23690
  if (!this.popupRef) {
23417
- const direction = this.localization.rtl ? 'right' : 'left';
23691
+ const direction = this.ctx.localization.rtl ? 'right' : 'left';
23418
23692
  this.popupRef = this.popupService.open({
23419
23693
  anchor: anchor.element,
23420
23694
  content: template,
@@ -23422,7 +23696,7 @@ class ColumnChooserComponent {
23422
23696
  anchorAlign: { vertical: 'bottom', horizontal: direction },
23423
23697
  popupAlign: { vertical: 'top', horizontal: direction }
23424
23698
  });
23425
- this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
23699
+ this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.ctx.localization.rtl ? 'rtl' : 'ltr');
23426
23700
  if (!isDocumentAvailable()) {
23427
23701
  return;
23428
23702
  }
@@ -23467,22 +23741,22 @@ class ColumnChooserComponent {
23467
23741
  }
23468
23742
  }
23469
23743
  }
23470
- ColumnChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: i1.LocalizationService }, { token: ColumnInfoService }, { token: i1$2.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
23744
+ ColumnChooserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }, { token: i1$2.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
23471
23745
  ColumnChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnChooserComponent, selector: "kendo-grid-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0, template: `
23472
23746
  <button #anchor
23473
23747
  kendoButton
23474
23748
  type="button"
23475
23749
  (click)="toggle(anchor, template)"
23476
23750
  fillMode="flat"
23477
- [attr.title]="localization.get('columns')"
23751
+ [attr.title]="ctx.localization.get('columns')"
23478
23752
  icon="columns"
23479
23753
  [svgIcon]="columnsIcon"></button>
23480
23754
  <ng-template #template>
23481
- <span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
23755
+ <span class='k-column-chooser-title'>{{ ctx.localization.get('columns') }}</span>
23482
23756
  <kendo-grid-columnlist
23483
23757
  [columns]="columns"
23484
- [applyText]="localization.get('columnsApply')"
23485
- [resetText]="localization.get('columnsReset')"
23758
+ [applyText]="ctx.localization.get('columnsApply')"
23759
+ [resetText]="ctx.localization.get('columnsReset')"
23486
23760
  [autoSync]="autoSync"
23487
23761
  [allowHideAll]="allowHideAll"
23488
23762
  (apply)="onApply($event)"
@@ -23500,15 +23774,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23500
23774
  type="button"
23501
23775
  (click)="toggle(anchor, template)"
23502
23776
  fillMode="flat"
23503
- [attr.title]="localization.get('columns')"
23777
+ [attr.title]="ctx.localization.get('columns')"
23504
23778
  icon="columns"
23505
23779
  [svgIcon]="columnsIcon"></button>
23506
23780
  <ng-template #template>
23507
- <span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
23781
+ <span class='k-column-chooser-title'>{{ ctx.localization.get('columns') }}</span>
23508
23782
  <kendo-grid-columnlist
23509
23783
  [columns]="columns"
23510
- [applyText]="localization.get('columnsApply')"
23511
- [resetText]="localization.get('columnsReset')"
23784
+ [applyText]="ctx.localization.get('columnsApply')"
23785
+ [resetText]="ctx.localization.get('columnsReset')"
23512
23786
  [autoSync]="autoSync"
23513
23787
  [allowHideAll]="allowHideAll"
23514
23788
  (apply)="onApply($event)"
@@ -23517,7 +23791,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23517
23791
  </ng-template>
23518
23792
  `
23519
23793
  }]
23520
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i1$2.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { autoSync: [{
23794
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i1$2.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { autoSync: [{
23521
23795
  type: Input
23522
23796
  }], allowHideAll: [{
23523
23797
  type: Input
@@ -23581,7 +23855,7 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
23581
23855
  ColumnMenuStickComponent,
23582
23856
  ColumnMenuPositionComponent,
23583
23857
  ColumnMenuAutoSizeColumnComponent,
23584
- ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule], exports: [ColumnListComponent,
23858
+ ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule, TabStripModule], exports: [ColumnListComponent,
23585
23859
  ColumnChooserComponent,
23586
23860
  ColumnMenuChooserComponent,
23587
23861
  ColumnMenuFilterComponent,
@@ -23597,12 +23871,12 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
23597
23871
  ColumnMenuPositionComponent,
23598
23872
  ColumnMenuAutoSizeColumnComponent,
23599
23873
  ColumnMenuAutoSizeAllColumnsComponent] });
23600
- ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule]] });
23874
+ ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule, TabStripModule]] });
23601
23875
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuModule, decorators: [{
23602
23876
  type: NgModule,
23603
23877
  args: [{
23604
23878
  declarations: [COMPONENTS],
23605
- imports: [CommonModule, FilterMenuModule, ButtonModule],
23879
+ imports: [CommonModule, FilterMenuModule, ButtonModule, TabStripModule],
23606
23880
  exports: [COMPONENTS]
23607
23881
  }]
23608
23882
  }] });
@@ -23739,8 +24013,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23739
24013
  *
23740
24014
  */
23741
24015
  class EditCommandDirective extends Button {
23742
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23743
- super(element, renderer, null, localization, ngZone);
24016
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24017
+ super(element, renderer, null, ctx.localization, ngZone);
23744
24018
  this.editService = editService;
23745
24019
  this.cellContext = cellContext;
23746
24020
  /**
@@ -23768,7 +24042,7 @@ class EditCommandDirective extends Button {
23768
24042
  }
23769
24043
  }
23770
24044
  }
23771
- EditCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24045
+ EditCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
23772
24046
  EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditCommandDirective, selector: "[kendoGridEditCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-edit-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
23773
24047
  <kendo-icon-wrapper
23774
24048
  *ngIf="icon || svgIcon"
@@ -23802,7 +24076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23802
24076
  return [{ type: EditService }, { type: undefined, decorators: [{
23803
24077
  type: Inject,
23804
24078
  args: [CELL_CONTEXT]
23805
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }];
24079
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }];
23806
24080
  }, propDecorators: { visible: [{
23807
24081
  type: HostBinding,
23808
24082
  args: ['style.display']
@@ -23836,8 +24110,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23836
24110
  * ```
23837
24111
  */
23838
24112
  class CancelCommandDirective extends Button {
23839
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23840
- super(element, renderer, null, localization, ngZone);
24113
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24114
+ super(element, renderer, null, ctx.localization, ngZone);
23841
24115
  this.editService = editService;
23842
24116
  this.cellContext = cellContext;
23843
24117
  /**
@@ -23867,7 +24141,7 @@ class CancelCommandDirective extends Button {
23867
24141
  }
23868
24142
  }
23869
24143
  }
23870
- CancelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CancelCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24144
+ CancelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CancelCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
23871
24145
  CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CancelCommandDirective, selector: "[kendoGridCancelCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-cancel-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
23872
24146
  <kendo-icon-wrapper
23873
24147
  *ngIf="icon || svgIcon"
@@ -23901,7 +24175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23901
24175
  return [{ type: EditService }, { type: undefined, decorators: [{
23902
24176
  type: Inject,
23903
24177
  args: [CELL_CONTEXT]
23904
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }];
24178
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }];
23905
24179
  }, propDecorators: { visible: [{
23906
24180
  type: HostBinding,
23907
24181
  args: ['style.display']
@@ -23935,8 +24209,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23935
24209
  * ```
23936
24210
  */
23937
24211
  class SaveCommandDirective extends Button {
23938
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23939
- super(element, renderer, null, localization, ngZone);
24212
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24213
+ super(element, renderer, null, ctx.localization, ngZone);
23940
24214
  this.editService = editService;
23941
24215
  this.cellContext = cellContext;
23942
24216
  /**
@@ -23966,7 +24240,7 @@ class SaveCommandDirective extends Button {
23966
24240
  }
23967
24241
  }
23968
24242
  }
23969
- SaveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SaveCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24243
+ SaveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SaveCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
23970
24244
  SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SaveCommandDirective, selector: "[kendoGridSaveCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-save-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
23971
24245
  <kendo-icon-wrapper
23972
24246
  *ngIf="icon || svgIcon"
@@ -24000,7 +24274,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24000
24274
  return [{ type: EditService }, { type: undefined, decorators: [{
24001
24275
  type: Inject,
24002
24276
  args: [CELL_CONTEXT]
24003
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }];
24277
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }];
24004
24278
  }, propDecorators: { visible: [{
24005
24279
  type: HostBinding,
24006
24280
  args: ['style.display']
@@ -24033,8 +24307,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24033
24307
  * ```
24034
24308
  */
24035
24309
  class RemoveCommandDirective extends Button {
24036
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
24037
- super(element, renderer, null, localization, ngZone);
24310
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24311
+ super(element, renderer, null, ctx.localization, ngZone);
24038
24312
  this.editService = editService;
24039
24313
  this.cellContext = cellContext;
24040
24314
  /**
@@ -24062,7 +24336,7 @@ class RemoveCommandDirective extends Button {
24062
24336
  }
24063
24337
  }
24064
24338
  }
24065
- RemoveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24339
+ RemoveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24066
24340
  RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: RemoveCommandDirective, selector: "[kendoGridRemoveCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-remove-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
24067
24341
  <kendo-icon-wrapper
24068
24342
  *ngIf="icon || svgIcon"
@@ -24096,7 +24370,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24096
24370
  return [{ type: EditService }, { type: undefined, decorators: [{
24097
24371
  type: Inject,
24098
24372
  args: [CELL_CONTEXT]
24099
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }];
24373
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }];
24100
24374
  }, propDecorators: { visible: [{
24101
24375
  type: HostBinding,
24102
24376
  args: ['style.display']
@@ -24125,8 +24399,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24125
24399
  * ```
24126
24400
  */
24127
24401
  class AddCommandDirective extends Button {
24128
- constructor(editService, element, renderer, localization, ngZone) {
24129
- super(element, renderer, null, localization, ngZone);
24402
+ constructor(editService, element, renderer, ctx, ngZone) {
24403
+ super(element, renderer, null, ctx.localization, ngZone);
24130
24404
  this.editService = editService;
24131
24405
  }
24132
24406
  /**
@@ -24143,7 +24417,7 @@ class AddCommandDirective extends Button {
24143
24417
  return true;
24144
24418
  }
24145
24419
  }
24146
- AddCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AddCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24420
+ AddCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AddCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
24147
24421
  AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AddCommandDirective, selector: "[kendoGridAddCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-add-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
24148
24422
  <kendo-icon-wrapper
24149
24423
  *ngIf="icon || svgIcon"
@@ -24173,7 +24447,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24173
24447
  <span class="k-button-text"><ng-content></ng-content></span>
24174
24448
  `
24175
24449
  }]
24176
- }], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
24450
+ }], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
24177
24451
  type: HostListener,
24178
24452
  args: ['click', ['$event']]
24179
24453
  }], commandClass: [{
@@ -25666,8 +25940,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25666
25940
  * ```
25667
25941
  */
25668
25942
  class PDFCommandDirective extends Button {
25669
- constructor(pdfService, element, renderer, localization, ngZone) {
25670
- super(element, renderer, null, localization, ngZone);
25943
+ constructor(pdfService, element, renderer, ctx, ngZone) {
25944
+ super(element, renderer, null, ctx.localization, ngZone);
25671
25945
  this.pdfService = pdfService;
25672
25946
  this.ngZone = ngZone;
25673
25947
  }
@@ -25685,7 +25959,7 @@ class PDFCommandDirective extends Button {
25685
25959
  return true;
25686
25960
  }
25687
25961
  }
25688
- PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
25962
+ PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PDFCommandDirective, deps: [{ token: PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
25689
25963
  PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PDFCommandDirective, selector: "[kendoGridPDFCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-pdf": "this.pdfClass" } }, usesInheritance: true, ngImport: i0, template: `
25690
25964
  <kendo-icon-wrapper
25691
25965
  *ngIf="icon || svgIcon"
@@ -25715,7 +25989,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25715
25989
  <span class="k-button-text"><ng-content></ng-content></span>
25716
25990
  `
25717
25991
  }]
25718
- }], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
25992
+ }], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
25719
25993
  type: HostListener,
25720
25994
  args: ['click', ['$event']]
25721
25995
  }], pdfClass: [{
@@ -25832,8 +26106,8 @@ const componentColumns = (component) => {
25832
26106
  * Configures the settings for the export of Grid in Excel ([see example]({% slug excelexport_grid %})).
25833
26107
  */
25834
26108
  class ExcelComponent {
25835
- constructor(excelService, localization, zone) {
25836
- this.localization = localization;
26109
+ constructor(excelService, ctx, zone) {
26110
+ this.ctx = ctx;
25837
26111
  this.zone = zone;
25838
26112
  /**
25839
26113
  * Specifies the file name of the exported Excel file.
@@ -25878,7 +26152,7 @@ class ExcelComponent {
25878
26152
  date: this.date,
25879
26153
  paddingCellOptions: this.paddingCellOptions,
25880
26154
  headerPaddingCellOptions: this.headerPaddingCellOptions,
25881
- rtl: this.localization.rtl,
26155
+ rtl: this.ctx.localization.rtl,
25882
26156
  collapsible: this.collapsible
25883
26157
  });
25884
26158
  const args = new ExcelExportEvent(options);
@@ -25896,7 +26170,7 @@ class ExcelComponent {
25896
26170
  });
25897
26171
  }
25898
26172
  }
25899
- ExcelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelComponent, deps: [{ token: ExcelService }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
26173
+ ExcelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelComponent, deps: [{ token: ExcelService }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
25900
26174
  ExcelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ExcelComponent, selector: "kendo-grid-excel", inputs: { fileName: "fileName", filterable: "filterable", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", fetchData: "fetchData", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions", collapsible: "collapsible" }, queries: [{ propertyName: "columns", predicate: ColumnBase$1, descendants: true }], ngImport: i0, template: ``, isInline: true });
25901
26175
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelComponent, decorators: [{
25902
26176
  type: Component,
@@ -25904,7 +26178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25904
26178
  selector: 'kendo-grid-excel',
25905
26179
  template: ``
25906
26180
  }]
25907
- }], ctorParameters: function () { return [{ type: ExcelService }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { fileName: [{
26181
+ }], ctorParameters: function () { return [{ type: ExcelService }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { fileName: [{
25908
26182
  type: Input
25909
26183
  }], filterable: [{
25910
26184
  type: Input
@@ -25949,8 +26223,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25949
26223
  * ```
25950
26224
  */
25951
26225
  class ExcelCommandDirective extends Button {
25952
- constructor(excelService, element, renderer, localization, ngZone) {
25953
- super(element, renderer, null, localization, ngZone);
26226
+ constructor(excelService, element, renderer, ctx, ngZone) {
26227
+ super(element, renderer, null, ctx.localization, ngZone);
25954
26228
  this.excelService = excelService;
25955
26229
  this.ngZone = ngZone;
25956
26230
  }
@@ -25968,7 +26242,7 @@ class ExcelCommandDirective extends Button {
25968
26242
  return true;
25969
26243
  }
25970
26244
  }
25971
- ExcelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelCommandDirective, deps: [{ token: ExcelService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
26245
+ ExcelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelCommandDirective, deps: [{ token: ExcelService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
25972
26246
  ExcelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ExcelCommandDirective, selector: "[kendoGridExcelCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-excel": "this.excelClass" } }, usesInheritance: true, ngImport: i0, template: `
25973
26247
  <kendo-icon-wrapper
25974
26248
  *ngIf="icon || svgIcon"
@@ -25998,7 +26272,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25998
26272
  <span class="k-button-text"><ng-content></ng-content></span>
25999
26273
  `
26000
26274
  }]
26001
- }], ctorParameters: function () { return [{ type: ExcelService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
26275
+ }], ctorParameters: function () { return [{ type: ExcelService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
26002
26276
  type: HostListener,
26003
26277
  args: ['click', ['$event']]
26004
26278
  }], excelClass: [{