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

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
@@ -7,9 +7,9 @@ import { InjectionToken, Component, HostBinding, Input, EventEmitter, Injectable
7
7
  import * as i1$1 from '@progress/kendo-angular-common';
8
8
  import { isDocumentAvailable, Keys, isPresent as isPresent$1, closest as closest$1, isFocusable as isFocusable$1, anyChanged, isChanged as isChanged$1, KendoInput, guid, hasObservers, ResizeSensorComponent, DraggableModule, EventsModule, ResizeSensorModule } from '@progress/kendo-angular-common';
9
9
  import { merge, of, Subject, from, Subscription, interval, fromEvent, zip as zip$1, BehaviorSubject, Observable } from 'rxjs';
10
+ import { switchMap, take, map, filter, takeUntil, switchMapTo, delay, auditTime, distinctUntilChanged, tap, throttleTime, debounceTime, bufferCount } from 'rxjs/operators';
10
11
  import * as i1 from '@progress/kendo-angular-l10n';
11
12
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
12
- import { switchMap, take, map, filter, takeUntil, switchMapTo, delay, auditTime, distinctUntilChanged, tap, throttleTime, debounceTime, bufferCount } from 'rxjs/operators';
13
13
  import * as i4 from '@angular/common';
14
14
  import { CommonModule } from '@angular/common';
15
15
  import * as i4$2 from '@angular/forms';
@@ -21,7 +21,7 @@ import { PopupModule } from '@progress/kendo-angular-popup';
21
21
  import * as i1$3 from '@angular/platform-browser';
22
22
  import * as i3 from '@progress/kendo-angular-icons';
23
23
  import { IconsModule } from '@progress/kendo-angular-icons';
24
- 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';
24
+ 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';
25
25
  import * as i40 from '@progress/kendo-angular-utils';
26
26
  import { DragTargetContainerDirective, DropTargetContainerDirective, DragAndDropModule as DragAndDropModule$1 } from '@progress/kendo-angular-utils';
27
27
  import * as i4$1 from '@progress/kendo-angular-buttons';
@@ -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';
@@ -1420,6 +1422,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1420
1422
  type: Injectable
1421
1423
  }] });
1422
1424
 
1425
+ /**
1426
+ * @hidden
1427
+ */
1428
+ class GridToolbarNavigationService {
1429
+ constructor(renderer) {
1430
+ this.renderer = renderer;
1431
+ this.navigableElements = [];
1432
+ this.currentActiveIndex = 0;
1433
+ this.defaultFocusableSelector = `
1434
+ [kendogridtoolbarfocusable],
1435
+ [kendogridaddcommand],
1436
+ [kendogridcancelcommand],
1437
+ [kendogrideditcommand],
1438
+ [kendogridremovecommand],
1439
+ [kendogridsavecommand],
1440
+ [kendogridexcelcommand],
1441
+ [kendogridpdfcommand]
1442
+ `;
1443
+ }
1444
+ notify() {
1445
+ // ensure focusable elements are in the same order as in the DOM
1446
+ this.navigableElements = this.navigableElements.length && Array.from(this.navigableElements[0].parentElement.querySelectorAll(this.defaultFocusableSelector)) || [];
1447
+ this.currentActiveIndex = 0;
1448
+ this.updateFocus();
1449
+ }
1450
+ focus() {
1451
+ this.navigableElements[this.currentActiveIndex]?.focus();
1452
+ }
1453
+ updateFocus() {
1454
+ if (!this.navigableElements.length) {
1455
+ return;
1456
+ }
1457
+ this.navigableElements.forEach(el => {
1458
+ this.renderer.setAttribute(el, 'tabindex', '-1');
1459
+ });
1460
+ this.renderer.setAttribute(this.navigableElements[this.currentActiveIndex], 'tabindex', '0');
1461
+ if (isDocumentAvailable() && document.activeElement.closest('.k-toolbar')) {
1462
+ this.navigableElements[this.currentActiveIndex].focus();
1463
+ }
1464
+ }
1465
+ }
1466
+ GridToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
1467
+ GridToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService });
1468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, decorators: [{
1469
+ type: Injectable
1470
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
1471
+
1472
+ /**
1473
+ * @hidden
1474
+ *
1475
+ * The Context service is used to provide common
1476
+ * services and DI tokens for a Grid instance.
1477
+ *
1478
+ * This keeps the constructor parameters stable
1479
+ * and a avoids dependency cycles between components.
1480
+ */
1481
+ class ContextService {
1482
+ constructor(renderer, localization) {
1483
+ this.renderer = renderer;
1484
+ this.localization = localization;
1485
+ this.topToolbarNavigation = new GridToolbarNavigationService(this.renderer);
1486
+ this.bottomToolbarNavigation = new GridToolbarNavigationService(this.renderer);
1487
+ }
1488
+ }
1489
+ 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 });
1490
+ ContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService });
1491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, decorators: [{
1492
+ type: Injectable
1493
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
1494
+
1423
1495
  const isInSameGrid = (element, gridElement) => closest(element, matchesNodeName('kendo-grid')) === gridElement;
1424
1496
  const matchHeaderCell = matchesNodeName('th');
1425
1497
  const matchDataCell = matchesNodeName('td');
@@ -1475,7 +1547,7 @@ class NavigationViewport {
1475
1547
  * @hidden
1476
1548
  */
1477
1549
  class NavigationService {
1478
- constructor(zone, domEvents, pagerContextService, scrollRequestService, groupsService, detailsService, focusRoot, editService, cd, localization, focusableParent) {
1550
+ constructor(zone, domEvents, pagerContextService, scrollRequestService, groupsService, detailsService, focusRoot, editService, cd, ctx, focusableParent) {
1479
1551
  this.zone = zone;
1480
1552
  this.domEvents = domEvents;
1481
1553
  this.pagerContextService = pagerContextService;
@@ -1485,7 +1557,7 @@ class NavigationService {
1485
1557
  this.focusRoot = focusRoot;
1486
1558
  this.editService = editService;
1487
1559
  this.cd = cd;
1488
- this.localization = localization;
1560
+ this.ctx = ctx;
1489
1561
  this.focusableParent = focusableParent;
1490
1562
  this.cellKeydown = new EventEmitter();
1491
1563
  this.activeRowIndex = 0;
@@ -1773,10 +1845,10 @@ class NavigationService {
1773
1845
  .forEach(cell => cell.focusGroup && cell.focusGroup.activate());
1774
1846
  }
1775
1847
  moveCursorFwd() {
1776
- return this.localization.rtl ? this.cursor.moveLeft() : this.cursor.moveRight();
1848
+ return this.ctx.localization.rtl ? this.cursor.moveLeft() : this.cursor.moveRight();
1777
1849
  }
1778
1850
  moveCursorBwd() {
1779
- return this.localization.rtl ? this.cursor.moveRight() : this.cursor.moveLeft();
1851
+ return this.ctx.localization.rtl ? this.cursor.moveRight() : this.cursor.moveLeft();
1780
1852
  }
1781
1853
  onCursorKeydown(args) {
1782
1854
  let preventDefault = false;
@@ -1985,11 +2057,11 @@ class NavigationService {
1985
2057
  this.cursor.reset();
1986
2058
  }
1987
2059
  }
1988
- 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 });
2060
+ 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 });
1989
2061
  NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationService });
1990
2062
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NavigationService, decorators: [{
1991
2063
  type: Injectable
1992
- }], ctorParameters: function () { 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: [{
2064
+ }], ctorParameters: function () { 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: [{
1993
2065
  type: Optional
1994
2066
  }] }]; } });
1995
2067
 
@@ -2827,8 +2899,8 @@ const packageMetadata = {
2827
2899
  name: '@progress/kendo-angular-grid',
2828
2900
  productName: 'Kendo UI for Angular',
2829
2901
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
2830
- publishDate: 1684780267,
2831
- version: '12.2.0-develop.7',
2902
+ publishDate: 1684845506,
2903
+ version: '13.0.0-develop.1',
2832
2904
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
2833
2905
  };
2834
2906
 
@@ -4434,75 +4506,6 @@ class PairSet {
4434
4506
  }
4435
4507
  }
4436
4508
 
4437
- /**
4438
- * @hidden
4439
- */
4440
- class GridToolbarNavigationService {
4441
- constructor(renderer) {
4442
- this.renderer = renderer;
4443
- this.navigableElements = [];
4444
- this.currentActiveIndex = 0;
4445
- this.defaultFocusableSelector = `
4446
- [kendogridtoolbarfocusable],
4447
- [kendogridaddcommand],
4448
- [kendogridcancelcommand],
4449
- [kendogrideditcommand],
4450
- [kendogridremovecommand],
4451
- [kendogridsavecommand],
4452
- [kendogridexcelcommand],
4453
- [kendogridpdfcommand]
4454
- `;
4455
- }
4456
- notify() {
4457
- // ensure focusable elements are in the same order as in the DOM
4458
- this.navigableElements = this.navigableElements.length && Array.from(this.navigableElements[0].parentElement.querySelectorAll(this.defaultFocusableSelector)) || [];
4459
- this.currentActiveIndex = 0;
4460
- this.updateFocus();
4461
- }
4462
- focus() {
4463
- this.navigableElements[this.currentActiveIndex]?.focus();
4464
- }
4465
- updateFocus() {
4466
- if (!this.navigableElements.length) {
4467
- return;
4468
- }
4469
- this.navigableElements.forEach(el => {
4470
- this.renderer.setAttribute(el, 'tabindex', '-1');
4471
- });
4472
- this.renderer.setAttribute(this.navigableElements[this.currentActiveIndex], 'tabindex', '0');
4473
- if (isDocumentAvailable() && document.activeElement.closest('.k-toolbar')) {
4474
- this.navigableElements[this.currentActiveIndex].focus();
4475
- }
4476
- }
4477
- }
4478
- GridToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
4479
- GridToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService });
4480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridToolbarNavigationService, decorators: [{
4481
- type: Injectable
4482
- }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
4483
-
4484
- /**
4485
- * @hidden
4486
- *
4487
- * The Context service is used to provide common
4488
- * services and DI tokens for a Grid instance.
4489
- *
4490
- * This keeps the constructor parameters stable
4491
- * and a avoids dependency cycles between components.
4492
- */
4493
- class ContextService {
4494
- constructor(renderer) {
4495
- this.renderer = renderer;
4496
- this.topToolbarNavigation = new GridToolbarNavigationService(this.renderer);
4497
- this.bottomToolbarNavigation = new GridToolbarNavigationService(this.renderer);
4498
- }
4499
- }
4500
- ContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
4501
- ContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService });
4502
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContextService, decorators: [{
4503
- type: Injectable
4504
- }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
4505
-
4506
4509
  /**
4507
4510
  * @hidden
4508
4511
  */
@@ -4981,6 +4984,7 @@ class MenuTabbingService {
4981
4984
  constructor() {
4982
4985
  this.isColumnMenu = false;
4983
4986
  this.isPopupOpen = false;
4987
+ this.isTabbedInterface = false;
4984
4988
  }
4985
4989
  }
4986
4990
  MenuTabbingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MenuTabbingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
@@ -5496,11 +5500,11 @@ class SinglePopupService {
5496
5500
  /**
5497
5501
  * @hidden
5498
5502
  */
5499
- constructor(popupService, renderer, ngZone, scrollSyncService, localization) {
5503
+ constructor(popupService, renderer, ngZone, scrollSyncService, ctx) {
5500
5504
  this.popupService = popupService;
5501
5505
  this.renderer = renderer;
5502
5506
  this.ngZone = ngZone;
5503
- this.localization = localization;
5507
+ this.ctx = ctx;
5504
5508
  /**
5505
5509
  * Fires when the filter or column menus are about to close because the user clicked outside their popups.
5506
5510
  * Used to prevent the popup from closing.
@@ -5516,7 +5520,7 @@ class SinglePopupService {
5516
5520
  const toggle = isPresent(popupRef) && this.popupRef === popupRef;
5517
5521
  this.destroy();
5518
5522
  if (!toggle) {
5519
- const direction = this.localization.rtl ? 'right' : 'left';
5523
+ const direction = this.ctx.localization.rtl ? 'right' : 'left';
5520
5524
  this.popupRef = this.popupService.open({
5521
5525
  anchorAlign: { vertical: 'bottom', horizontal: direction },
5522
5526
  popupAlign: { vertical: 'top', horizontal: direction },
@@ -5525,7 +5529,7 @@ class SinglePopupService {
5525
5529
  content: template,
5526
5530
  positionMode: "absolute"
5527
5531
  });
5528
- this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
5532
+ this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.ctx.localization.rtl ? 'rtl' : 'ltr');
5529
5533
  this.attachClose(anchor);
5530
5534
  }
5531
5535
  const popupEl = this.popupRef?.popupElement;
@@ -5584,11 +5588,11 @@ class SinglePopupService {
5584
5588
  });
5585
5589
  }
5586
5590
  }
5587
- 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 });
5591
+ 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 });
5588
5592
  SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SinglePopupService });
5589
5593
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SinglePopupService, decorators: [{
5590
5594
  type: Injectable
5591
- }], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: i1.LocalizationService }]; } });
5595
+ }], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: ContextService }]; } });
5592
5596
 
5593
5597
  /* eslint-disable no-bitwise */
5594
5598
  /**
@@ -6663,8 +6667,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6663
6667
  * @hidden
6664
6668
  */
6665
6669
  class PagerElementComponent {
6666
- constructor(localization, pagerContext, cd) {
6667
- this.localization = localization;
6670
+ constructor(ctx, pagerContext, cd) {
6671
+ this.ctx = ctx;
6668
6672
  this.pagerContext = pagerContext;
6669
6673
  this.cd = cd;
6670
6674
  this.total = this.pagerContext.total;
@@ -6705,7 +6709,7 @@ class PagerElementComponent {
6705
6709
  * @memberOf PagerElementComponent
6706
6710
  */
6707
6711
  textFor(key) {
6708
- return this.localization.get(key);
6712
+ return this.ctx.localization.get(key);
6709
6713
  }
6710
6714
  /**
6711
6715
  * @hidden
@@ -6725,7 +6729,7 @@ class PagerElementComponent {
6725
6729
  */
6726
6730
  ngOnInit() {
6727
6731
  this.subscriptions = this.pagerContext.changes.subscribe(this.onChanges.bind(this));
6728
- this.subscriptions.add(this.localization.changes.subscribe(() => this.cd.markForCheck()));
6732
+ this.subscriptions.add(this.ctx.localization.changes.subscribe(() => this.cd.markForCheck()));
6729
6733
  }
6730
6734
  ngOnDestroy() {
6731
6735
  if (this.subscriptions) {
@@ -6733,12 +6737,12 @@ class PagerElementComponent {
6733
6737
  }
6734
6738
  }
6735
6739
  }
6736
- 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 });
6740
+ 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 });
6737
6741
  PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: PagerElementComponent, inputs: { size: "size" }, ngImport: i0 });
6738
6742
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerElementComponent, decorators: [{
6739
6743
  type: Directive,
6740
6744
  args: [{}]
6741
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
6745
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
6742
6746
  type: Input
6743
6747
  }] } });
6744
6748
 
@@ -6746,8 +6750,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6746
6750
  * Displays buttons for navigating to the first and to the previous page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
6747
6751
  */
6748
6752
  class PagerPrevButtonsComponent extends PagerElementComponent {
6749
- constructor(localization, pagerContext, cd, navigationService) {
6750
- super(localization, pagerContext, cd);
6753
+ constructor(ctx, pagerContext, cd, navigationService) {
6754
+ super(ctx, pagerContext, cd);
6751
6755
  this.navigationService = navigationService;
6752
6756
  this.caretAltLeftIcon = caretAltLeftIcon;
6753
6757
  this.caretAltToLeftIcon = caretAltToLeftIcon;
@@ -6769,7 +6773,7 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
6769
6773
  this.cd.markForCheck();
6770
6774
  }
6771
6775
  }
6772
- 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 });
6776
+ 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 });
6773
6777
  PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons", usesInheritance: true, ngImport: i0, template: `
6774
6778
  <button
6775
6779
  [kendoGridFocusable]="!disabled"
@@ -6842,14 +6846,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6842
6846
  </button>
6843
6847
  `
6844
6848
  }]
6845
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
6849
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
6846
6850
 
6847
6851
  /**
6848
6852
  * Displays numeric buttons to enable navigation between the pages ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
6849
6853
  */
6850
6854
  class PagerNumericButtonsComponent extends PagerElementComponent {
6851
- constructor(localization, cd, pagerContext) {
6852
- super(localization, pagerContext, cd);
6855
+ constructor(ctx, cd, pagerContext) {
6856
+ super(ctx, pagerContext, cd);
6853
6857
  this.pagerContext = pagerContext;
6854
6858
  this.numbersWrapClass = true;
6855
6859
  }
@@ -6920,7 +6924,7 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
6920
6924
  this.cd.markForCheck();
6921
6925
  }
6922
6926
  }
6923
- 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 });
6927
+ 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 });
6924
6928
  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: `
6925
6929
  <select
6926
6930
  class="k-dropdown-list k-dropdown k-picker k-picker-solid k-rounded-md"
@@ -7073,7 +7077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7073
7077
  </div>
7074
7078
  `
7075
7079
  }]
7076
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { numbersWrapClass: [{
7080
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { numbersWrapClass: [{
7077
7081
  type: HostBinding,
7078
7082
  args: ['class.k-pager-numbers-wrap']
7079
7083
  }], buttonCount: [{
@@ -7104,8 +7108,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7104
7108
  * 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)).
7105
7109
  */
7106
7110
  class PagerInputComponent extends PagerElementComponent {
7107
- constructor(localization, pagerContext, zone, navigationService, cd) {
7108
- super(localization, pagerContext, cd);
7111
+ constructor(ctx, pagerContext, zone, navigationService, cd) {
7112
+ super(ctx, pagerContext, cd);
7109
7113
  this.pagerContext = pagerContext;
7110
7114
  this.zone = zone;
7111
7115
  this.navigationService = navigationService;
@@ -7163,7 +7167,7 @@ class PagerInputComponent extends PagerElementComponent {
7163
7167
  this.cd.markForCheck();
7164
7168
  }
7165
7169
  }
7166
- 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 });
7170
+ 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 });
7167
7171
  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: `
7168
7172
  <span class="k-pager-input k-label">
7169
7173
  {{textFor('pagerPage')}}
@@ -7219,7 +7223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7219
7223
  </span>
7220
7224
  `
7221
7225
  }]
7222
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.NgZone }, { type: NavigationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numericInput: [{
7226
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.NgZone }, { type: NavigationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numericInput: [{
7223
7227
  type: ViewChild,
7224
7228
  args: [NumericTextBoxComponent, { static: false }]
7225
7229
  }] } });
@@ -7228,8 +7232,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7228
7232
  * Displays buttons for navigating to the next and to the last page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7229
7233
  */
7230
7234
  class PagerNextButtonsComponent extends PagerElementComponent {
7231
- constructor(localization, pagerContext, cd, navigationService) {
7232
- super(localization, pagerContext, cd);
7235
+ constructor(ctx, pagerContext, cd, navigationService) {
7236
+ super(ctx, pagerContext, cd);
7233
7237
  this.navigationService = navigationService;
7234
7238
  this.caretAltRightIcon = caretAltRightIcon;
7235
7239
  this.caretAltToRightIcon = caretAltToRightIcon;
@@ -7251,7 +7255,7 @@ class PagerNextButtonsComponent extends PagerElementComponent {
7251
7255
  this.cd.markForCheck();
7252
7256
  }
7253
7257
  }
7254
- 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 });
7258
+ 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 });
7255
7259
  PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PagerNextButtonsComponent, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
7256
7260
  <button
7257
7261
  kendoButton
@@ -7322,15 +7326,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7322
7326
  </button>
7323
7327
  `
7324
7328
  }]
7325
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
7329
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }, { type: NavigationService }]; } });
7326
7330
 
7327
7331
  // eslint-disable no-access-missing-member
7328
7332
  /**
7329
7333
  * Displays information about the current page and the total number of records ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7330
7334
  */
7331
7335
  class PagerInfoComponent extends PagerElementComponent {
7332
- constructor(localization, cd, pagerContext) {
7333
- super(localization, pagerContext, cd);
7336
+ constructor(ctx, cd, pagerContext) {
7337
+ super(ctx, pagerContext, cd);
7334
7338
  this.pagerContext = pagerContext;
7335
7339
  }
7336
7340
  /**
@@ -7372,7 +7376,7 @@ class PagerInfoComponent extends PagerElementComponent {
7372
7376
  this.cd.markForCheck();
7373
7377
  }
7374
7378
  }
7375
- 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 });
7379
+ 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 });
7376
7380
  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 });
7377
7381
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PagerInfoComponent, decorators: [{
7378
7382
  type: Component,
@@ -7381,7 +7385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7381
7385
  selector: 'kendo-pager-info',
7382
7386
  template: `{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}`
7383
7387
  }]
7384
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { classes: [{
7388
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }]; }, propDecorators: { classes: [{
7385
7389
  type: HostBinding,
7386
7390
  args: ["class.k-pager-info"]
7387
7391
  }, {
@@ -7421,8 +7425,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7421
7425
  * Displays a drop-down list for the page size selection ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
7422
7426
  */
7423
7427
  class PagerPageSizesComponent extends PagerElementComponent {
7424
- constructor(localization, cd, pagerContext, navigationService) {
7425
- super(localization, pagerContext, cd);
7428
+ constructor(ctx, cd, pagerContext, navigationService) {
7429
+ super(ctx, pagerContext, cd);
7426
7430
  this.pagerContext = pagerContext;
7427
7431
  this.navigationService = navigationService;
7428
7432
  this._pageSizes = [];
@@ -7495,7 +7499,7 @@ class PagerPageSizesComponent extends PagerElementComponent {
7495
7499
  this.cd.markForCheck();
7496
7500
  }
7497
7501
  }
7498
- 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 });
7502
+ 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 });
7499
7503
  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: `
7500
7504
  <kendo-dropdownlist
7501
7505
  class="k-dropdown"
@@ -7534,7 +7538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7534
7538
  <kendo-label [for]="dropdownlist" [text]="textFor('pagerItemsPerPage')"></kendo-label>
7535
7539
  `
7536
7540
  }]
7537
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }, { type: NavigationService }]; }, propDecorators: { pageSizes: [{
7541
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ChangeDetectorRef }, { type: PagerContextService }, { type: NavigationService }]; }, propDecorators: { pageSizes: [{
7538
7542
  type: Input
7539
7543
  }], classes: [{
7540
7544
  type: HostBinding,
@@ -7548,13 +7552,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7548
7552
  * @hidden
7549
7553
  */
7550
7554
  class PagerComponent {
7551
- constructor(pagerContext, navigationService, element, renderer, zone, localizationService, cellContext, focusRoot, focusGroup) {
7555
+ constructor(pagerContext, navigationService, element, renderer, zone, ctx, cellContext, focusRoot, focusGroup) {
7552
7556
  this.pagerContext = pagerContext;
7553
7557
  this.navigationService = navigationService;
7554
7558
  this.element = element;
7555
7559
  this.renderer = renderer;
7556
7560
  this.zone = zone;
7557
- this.localizationService = localizationService;
7561
+ this.ctx = ctx;
7558
7562
  this.cellContext = cellContext;
7559
7563
  this.focusRoot = focusRoot;
7560
7564
  this.focusGroup = focusGroup;
@@ -7613,7 +7617,7 @@ class PagerComponent {
7613
7617
  return this.navigationService.pagerEnabled ? this.pagerLabel : undefined;
7614
7618
  }
7615
7619
  get pagerLabel() {
7616
- const localizationMsg = this.localizationService.get('pagerLabel') || '';
7620
+ const localizationMsg = this.ctx.localization.get('pagerLabel') || '';
7617
7621
  return replaceMessagePlaceholder(replaceMessagePlaceholder(localizationMsg, 'currentPage', this.currentPage.toString()), 'totalPages', this.totalPages.toString());
7618
7622
  }
7619
7623
  get focusTrapTabIndex() {
@@ -7762,7 +7766,7 @@ class PagerComponent {
7762
7766
  }
7763
7767
  }
7764
7768
  }
7765
- 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 });
7769
+ 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 });
7766
7770
  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: [{
7767
7771
  provide: FOCUS_ROOT_ACTIVE,
7768
7772
  useValue: true
@@ -7869,7 +7873,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
7869
7873
  <kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>
7870
7874
  `
7871
7875
  }]
7872
- }], ctorParameters: function () { return [{ type: PagerContextService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
7876
+ }], ctorParameters: function () { return [{ type: PagerContextService }, { type: NavigationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ContextService }, { type: undefined, decorators: [{
7873
7877
  type: Optional
7874
7878
  }, {
7875
7879
  type: Inject,
@@ -8123,11 +8127,11 @@ const indicatorRules = or(overSameTarget, and(overLastTarget, isLastGroup));
8123
8127
  * @hidden
8124
8128
  */
8125
8129
  class GroupPanelComponent {
8126
- constructor(hint, cue, groupInfoService, localization, cd) {
8130
+ constructor(hint, cue, groupInfoService, ctx, cd) {
8127
8131
  this.hint = hint;
8128
8132
  this.cue = cue;
8129
8133
  this.groupInfoService = groupInfoService;
8130
- this.localization = localization;
8134
+ this.ctx = ctx;
8131
8135
  this.cd = cd;
8132
8136
  this.change = new EventEmitter();
8133
8137
  this.groups = [];
@@ -8142,14 +8146,14 @@ class GroupPanelComponent {
8142
8146
  this.emptyText = value;
8143
8147
  }
8144
8148
  get text() {
8145
- return this.emptyText ? this.emptyText : this.localization.get('groupPanelEmpty');
8149
+ return this.emptyText ? this.emptyText : this.ctx.localization.get('groupPanelEmpty');
8146
8150
  }
8147
8151
  ngAfterViewInit() {
8148
8152
  this.subscription.add(observe(this.dropTargets)
8149
8153
  .subscribe(this.attachTargets.bind(this)));
8150
8154
  }
8151
8155
  ngOnInit() {
8152
- this.subscription.add(this.localization.changes.subscribe(() => this.cd.markForCheck()));
8156
+ this.subscription.add(this.ctx.localization.changes.subscribe(() => this.cd.markForCheck()));
8153
8157
  }
8154
8158
  ngDoCheck() {
8155
8159
  const currentTitles = this.groups.map(group => this.groupInfoService.groupTitle(group));
@@ -8167,7 +8171,7 @@ class GroupPanelComponent {
8167
8171
  }
8168
8172
  }
8169
8173
  messageFor(token) {
8170
- return this.localization.get(token);
8174
+ return this.ctx.localization.get(token);
8171
8175
  }
8172
8176
  getTitle(group) {
8173
8177
  return this.messageFor(group.dir === 'desc' ? 'sortedDescending' : 'sortedAscending');
@@ -8221,7 +8225,7 @@ class GroupPanelComponent {
8221
8225
  enter({ draggable, target }) {
8222
8226
  this.hint.enable();
8223
8227
  let before = target.context.lastTarget || isTargetBefore(draggable.element.nativeElement, target.element.nativeElement);
8224
- if (this.localization.rtl) {
8228
+ if (this.ctx.localization.rtl) {
8225
8229
  before = !before;
8226
8230
  }
8227
8231
  this.cue.position(position(target.element.nativeElement, before));
@@ -8236,7 +8240,7 @@ class GroupPanelComponent {
8236
8240
  this.insert(field, index);
8237
8241
  }
8238
8242
  }
8239
- 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 });
8243
+ 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 });
8240
8244
  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: `
8241
8245
  <div
8242
8246
  *ngIf="groups.length === 0"
@@ -8337,7 +8341,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
8337
8341
  >&nbsp;</div>
8338
8342
  `
8339
8343
  }]
8340
- }], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
8344
+ }], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: ContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
8341
8345
  type: Output
8342
8346
  }], groupHeaderClass: [{
8343
8347
  type: HostBinding,
@@ -8513,12 +8517,12 @@ const toJSON = (xs) => xs.map(x => x.toJSON());
8513
8517
  * @hidden
8514
8518
  */
8515
8519
  class FilterOperatorBase {
8516
- constructor(operator, localization) {
8520
+ constructor(operator, ctx) {
8517
8521
  this.operator = operator;
8518
- this.localization = localization;
8519
- this.messages = operatorTexts(this.localization);
8522
+ this.ctx = ctx;
8523
+ this.messages = operatorTexts(this.ctx.localization);
8520
8524
  this._text = this.messages[this.operator];
8521
- this.subscription = this.localization.changes.subscribe(this.refreshText.bind(this));
8525
+ this.subscription = this.ctx.localization.changes.subscribe(this.refreshText.bind(this));
8522
8526
  }
8523
8527
  /**
8524
8528
  * The text that will be displayed in the drop-down list.
@@ -8548,13 +8552,13 @@ class FilterOperatorBase {
8548
8552
  }
8549
8553
  refreshText() {
8550
8554
  const update = this._text === this.messages[this.operator];
8551
- this.messages = operatorTexts(this.localization);
8555
+ this.messages = operatorTexts(this.ctx.localization);
8552
8556
  if (update) {
8553
8557
  this._text = this.messages[this.operator];
8554
8558
  }
8555
8559
  }
8556
8560
  }
8557
- 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 });
8561
+ 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 });
8558
8562
  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 });
8559
8563
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterOperatorBase, decorators: [{
8560
8564
  type: Component,
@@ -8565,7 +8569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
8565
8569
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
8566
8570
  type: Inject,
8567
8571
  args: ['filterOperator']
8568
- }] }, { type: i1.LocalizationService }]; }, propDecorators: { text: [{
8572
+ }] }, { type: ContextService }]; }, propDecorators: { text: [{
8569
8573
  type: Input
8570
8574
  }] } });
8571
8575
 
@@ -8849,9 +8853,9 @@ const stringOperators$1 = localizeOperators({
8849
8853
  * Represents a base string filter component.
8850
8854
  */
8851
8855
  class StringFilterComponent extends BaseFilterCellComponent {
8852
- constructor(filterService, localization) {
8856
+ constructor(filterService, ctx) {
8853
8857
  super(filterService);
8854
- this.localization = localization;
8858
+ this.ctx = ctx;
8855
8859
  /**
8856
8860
  * The default filter operator.
8857
8861
  * @type {string}
@@ -8876,7 +8880,7 @@ class StringFilterComponent extends BaseFilterCellComponent {
8876
8880
  return this.currentFilter ? this.currentFilter.operator : this.operator;
8877
8881
  }
8878
8882
  ngOnInit() {
8879
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
8883
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
8880
8884
  }
8881
8885
  ngOnDestroy() {
8882
8886
  if (this.subscription) {
@@ -8885,18 +8889,18 @@ class StringFilterComponent extends BaseFilterCellComponent {
8885
8889
  super.ngOnDestroy();
8886
8890
  }
8887
8891
  localizationChange() {
8888
- this.defaultOperators = stringOperators$1(this.localization);
8892
+ this.defaultOperators = stringOperators$1(this.ctx.localization);
8889
8893
  if (this.operatorList.length) {
8890
8894
  this.operators = toJSON(this.operatorList.toArray());
8891
8895
  }
8892
8896
  }
8893
8897
  }
8894
- 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 });
8898
+ 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 });
8895
8899
  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 });
8896
8900
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterComponent, decorators: [{
8897
8901
  type: Directive,
8898
8902
  args: [{}]
8899
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
8903
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
8900
8904
  type: Input
8901
8905
  }], filter: [{
8902
8906
  type: Input
@@ -9133,9 +9137,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9133
9137
  * @hidden
9134
9138
  */
9135
9139
  class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
9136
- constructor(localizationService) {
9140
+ constructor(ctx) {
9137
9141
  super(null);
9138
- this.localizationService = localizationService;
9142
+ this.ctx = ctx;
9139
9143
  }
9140
9144
  /**
9141
9145
  * @hidden
@@ -9144,7 +9148,9 @@ class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
9144
9148
  return false;
9145
9149
  }
9146
9150
  ngAfterViewInit() {
9147
- if (this.isFirstDropDown && this.filterService && this.filterService.menuTabbingService) {
9151
+ const shouldFocusFirstFocusable = this.isFirstDropDown && this.filterService && this.filterService.menuTabbingService;
9152
+ const isTabbedInterface = this.menuTabbingService?.isTabbedInterface;
9153
+ if (shouldFocusFirstFocusable && !isTabbedInterface) {
9148
9154
  this.filterService.menuTabbingService.firstFocusable = this.firstOperatorDropDown;
9149
9155
  this.firstOperatorDropDown.focus();
9150
9156
  }
@@ -9190,12 +9196,12 @@ class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
9190
9196
  }
9191
9197
  }
9192
9198
  get filterMenuDropDownLabel() {
9193
- const localizationMsg = this.localizationService.get('filterMenuOperatorsDropDownLabel') || '';
9199
+ const localizationMsg = this.ctx.localization.get('filterMenuOperatorsDropDownLabel') || '';
9194
9200
  const columnName = this.column ? this.column.title || this.column.field : '';
9195
9201
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9196
9202
  }
9197
9203
  }
9198
- FilterMenuInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuInputWrapperComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9204
+ FilterMenuInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterMenuInputWrapperComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9199
9205
  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: `
9200
9206
  <kendo-dropdownlist
9201
9207
  kendoFilterMenuDropDown
@@ -9229,7 +9235,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9229
9235
  <ng-content></ng-content>
9230
9236
  `
9231
9237
  }]
9232
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { filterService: [{
9238
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { filterService: [{
9233
9239
  type: Input
9234
9240
  }], isFirstDropDown: [{
9235
9241
  type: Input
@@ -9246,17 +9252,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9246
9252
  * @hidden
9247
9253
  */
9248
9254
  class StringFilterMenuInputComponent {
9249
- constructor(localizationService) {
9250
- this.localizationService = localizationService;
9255
+ constructor(ctx) {
9256
+ this.ctx = ctx;
9251
9257
  this.operators = [];
9252
9258
  }
9253
9259
  get columnLabel() {
9254
- const localizationMsg = this.localizationService.get('filterInputLabel') || '';
9260
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
9255
9261
  const columnName = this.column ? this.column.title || this.column.field : '';
9256
9262
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9257
9263
  }
9258
9264
  }
9259
- StringFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuInputComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9265
+ StringFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuInputComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9260
9266
  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: `
9261
9267
  <kendo-grid-filter-menu-input-wrapper
9262
9268
  [column]="column"
@@ -9300,7 +9306,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9300
9306
  </kendo-grid-filter-menu-input-wrapper>
9301
9307
  `
9302
9308
  }]
9303
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { operators: [{
9309
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { operators: [{
9304
9310
  type: Input
9305
9311
  }], column: [{
9306
9312
  type: Input
@@ -9335,9 +9341,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9335
9341
  * ```
9336
9342
  */
9337
9343
  class StringFilterMenuComponent extends StringFilterComponent {
9338
- constructor(localization) {
9339
- super(null, localization);
9340
- this.logicOperators = logicOperators(this.localization);
9344
+ constructor(ctx) {
9345
+ super(null, ctx);
9346
+ this.logicOperators = logicOperators(this.ctx.localization);
9341
9347
  /**
9342
9348
  * The current menu filter.
9343
9349
  * @type {CompositeFilterDescriptor}
@@ -9365,16 +9371,16 @@ class StringFilterMenuComponent extends StringFilterComponent {
9365
9371
  this.filter.logic = value;
9366
9372
  }
9367
9373
  get filterMenuDropDownLabel() {
9368
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
9374
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
9369
9375
  const columnName = this.column ? this.column.title || this.column.field : '';
9370
9376
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9371
9377
  }
9372
9378
  localizationChange() {
9373
- this.logicOperators = logicOperators(this.localization);
9379
+ this.logicOperators = logicOperators(this.ctx.localization);
9374
9380
  super.localizationChange();
9375
9381
  }
9376
9382
  }
9377
- StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9383
+ StringFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9378
9384
  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: `
9379
9385
  <kendo-grid-string-filter-menu-input
9380
9386
  [currentFilter]="firstFilter"
@@ -9442,7 +9448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9442
9448
  </kendo-grid-string-filter-menu-input>
9443
9449
  `
9444
9450
  }]
9445
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
9451
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
9446
9452
  type: HostBinding,
9447
9453
  args: ['class.k-filtercell']
9448
9454
  }], column: [{
@@ -9472,9 +9478,9 @@ const numericOperators = localizeOperators({
9472
9478
  * Represents a base numeric filter component.
9473
9479
  */
9474
9480
  class NumericFilterComponent extends BaseFilterCellComponent {
9475
- constructor(filterService, localization) {
9481
+ constructor(filterService, ctx) {
9476
9482
  super(filterService);
9477
- this.localization = localization;
9483
+ this.ctx = ctx;
9478
9484
  /**
9479
9485
  * The default filter operator.
9480
9486
  * @type {string}
@@ -9493,7 +9499,7 @@ class NumericFilterComponent extends BaseFilterCellComponent {
9493
9499
  * @default true
9494
9500
  */
9495
9501
  this.spinners = true;
9496
- this.defaultOperators = numericOperators(this.localization);
9502
+ this.defaultOperators = numericOperators(this.ctx.localization);
9497
9503
  }
9498
9504
  /**
9499
9505
  * Specifies the number format used when the component is not focused.
@@ -9530,7 +9536,7 @@ class NumericFilterComponent extends BaseFilterCellComponent {
9530
9536
  extractFormat(this.column.format) : "n2";
9531
9537
  }
9532
9538
  ngOnInit() {
9533
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
9539
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
9534
9540
  }
9535
9541
  ngOnDestroy() {
9536
9542
  if (this.subscription) {
@@ -9539,18 +9545,18 @@ class NumericFilterComponent extends BaseFilterCellComponent {
9539
9545
  super.ngOnDestroy();
9540
9546
  }
9541
9547
  localizationChange() {
9542
- this.defaultOperators = numericOperators(this.localization);
9548
+ this.defaultOperators = numericOperators(this.ctx.localization);
9543
9549
  if (this.operatorList.length) {
9544
9550
  this.operators = toJSON(this.operatorList.toArray());
9545
9551
  }
9546
9552
  }
9547
9553
  }
9548
- 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 });
9554
+ 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 });
9549
9555
  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 });
9550
9556
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterComponent, decorators: [{
9551
9557
  type: Directive,
9552
9558
  args: [{}]
9553
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
9559
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
9554
9560
  type: Input
9555
9561
  }], filter: [{
9556
9562
  type: Input
@@ -9574,8 +9580,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9574
9580
  * @hidden
9575
9581
  */
9576
9582
  class NumericFilterMenuInputComponent {
9577
- constructor(localization) {
9578
- this.localization = localization;
9583
+ constructor(ctx) {
9584
+ this.ctx = ctx;
9579
9585
  this.operators = [];
9580
9586
  /**
9581
9587
  * Specifies the value which is used to increment or decrement the component value.
@@ -9589,18 +9595,18 @@ class NumericFilterMenuInputComponent {
9589
9595
  this.spinners = true;
9590
9596
  }
9591
9597
  messageFor(key) {
9592
- return this.localization.get(key);
9598
+ return this.ctx.localization.get(key);
9593
9599
  }
9594
9600
  /**
9595
9601
  * @hidden
9596
9602
  */
9597
9603
  get columnLabel() {
9598
- const localizationMsg = this.localization.get('filterInputLabel') || '';
9604
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
9599
9605
  const columnName = this.column ? this.column.title || this.column.field : '';
9600
9606
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9601
9607
  }
9602
9608
  }
9603
- NumericFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuInputComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9609
+ NumericFilterMenuInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuInputComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9604
9610
  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: `
9605
9611
  <kendo-grid-filter-menu-input-wrapper
9606
9612
  [column]="column"
@@ -9670,7 +9676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9670
9676
  </kendo-grid-filter-menu-input-wrapper>
9671
9677
  `
9672
9678
  }]
9673
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { operators: [{
9679
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { operators: [{
9674
9680
  type: Input
9675
9681
  }], column: [{
9676
9682
  type: Input
@@ -9719,9 +9725,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9719
9725
  * ```
9720
9726
  */
9721
9727
  class NumericFilterMenuComponent extends NumericFilterComponent {
9722
- constructor(localization) {
9723
- super(null, localization);
9724
- this.logicOperators = logicOperators(this.localization);
9728
+ constructor(ctx) {
9729
+ super(null, ctx);
9730
+ this.logicOperators = logicOperators(this.ctx.localization);
9725
9731
  /**
9726
9732
  * The current menu filter.
9727
9733
  * @type {CompositeFilterDescriptor}
@@ -9755,16 +9761,16 @@ class NumericFilterMenuComponent extends NumericFilterComponent {
9755
9761
  this.filter.logic = value;
9756
9762
  }
9757
9763
  get filterMenuDropDownLabel() {
9758
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
9764
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
9759
9765
  const columnName = this.column ? this.column.title || this.column.field : '';
9760
9766
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
9761
9767
  }
9762
9768
  localizationChange() {
9763
- this.logicOperators = logicOperators(this.localization);
9769
+ this.logicOperators = logicOperators(this.ctx.localization);
9764
9770
  super.localizationChange();
9765
9771
  }
9766
9772
  }
9767
- NumericFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
9773
+ NumericFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumericFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
9768
9774
  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: `
9769
9775
  <kendo-grid-numeric-filter-menu-input
9770
9776
  [currentFilter]="firstFilter"
@@ -9864,7 +9870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9864
9870
  </kendo-grid-numeric-filter-menu-input>
9865
9871
  `
9866
9872
  }]
9867
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
9873
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
9868
9874
  type: HostBinding,
9869
9875
  args: ['class.k-filtercell']
9870
9876
  }], column: [{
@@ -9896,9 +9902,9 @@ const dateOperators = localizeOperators({
9896
9902
  * @hidden
9897
9903
  */
9898
9904
  class DateFilterComponent extends BaseFilterCellComponent {
9899
- constructor(filterService, localization) {
9905
+ constructor(filterService, ctx) {
9900
9906
  super(filterService);
9901
- this.localization = localization;
9907
+ this.ctx = ctx;
9902
9908
  /**
9903
9909
  * The default filter operator. Defaults to `contains`.
9904
9910
  * @type {string}
@@ -9927,7 +9933,7 @@ class DateFilterComponent extends BaseFilterCellComponent {
9927
9933
  * @default false
9928
9934
  */
9929
9935
  this.weekNumber = false;
9930
- this.defaultOperators = dateOperators(this.localization);
9936
+ this.defaultOperators = dateOperators(this.ctx.localization);
9931
9937
  }
9932
9938
  /**
9933
9939
  * The current filter for the associated column field.
@@ -9967,7 +9973,7 @@ class DateFilterComponent extends BaseFilterCellComponent {
9967
9973
  extractFormat(this.column.format) : "d";
9968
9974
  }
9969
9975
  ngOnInit() {
9970
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
9976
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
9971
9977
  }
9972
9978
  ngOnDestroy() {
9973
9979
  if (this.subscription) {
@@ -9976,13 +9982,13 @@ class DateFilterComponent extends BaseFilterCellComponent {
9976
9982
  super.ngOnDestroy();
9977
9983
  }
9978
9984
  localizationChange() {
9979
- this.defaultOperators = dateOperators(this.localization);
9985
+ this.defaultOperators = dateOperators(this.ctx.localization);
9980
9986
  if (this.operatorList.length) {
9981
9987
  this.operators = toJSON(this.operatorList.toArray());
9982
9988
  }
9983
9989
  }
9984
9990
  }
9985
- 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 });
9991
+ 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 });
9986
9992
  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 });
9987
9993
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterComponent, decorators: [{
9988
9994
  type: Component,
@@ -9990,7 +9996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9990
9996
  selector: 'kendo-grid-date-filter-base',
9991
9997
  template: ``
9992
9998
  }]
9993
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
9999
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { column: [{
9994
10000
  type: Input
9995
10001
  }], filter: [{
9996
10002
  type: Input
@@ -10020,9 +10026,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10020
10026
  * @hidden
10021
10027
  */
10022
10028
  class DateFilterMenuInputComponent {
10023
- constructor(popupService, localizationService) {
10029
+ constructor(popupService, ctx) {
10024
10030
  this.popupService = popupService;
10025
- this.localizationService = localizationService;
10031
+ this.ctx = ctx;
10026
10032
  this.operators = [];
10027
10033
  }
10028
10034
  ngOnDestroy() {
@@ -10036,15 +10042,15 @@ class DateFilterMenuInputComponent {
10036
10042
  .subscribe(e => e.preventDefault());
10037
10043
  }
10038
10044
  messageFor(key) {
10039
- return this.localizationService.get(key);
10045
+ return this.ctx.localization.get(key);
10040
10046
  }
10041
10047
  get columnLabel() {
10042
- const localizationMsg = this.localizationService.get('filterInputLabel') || '';
10048
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
10043
10049
  const columnName = this.column ? this.column.title || this.column.field : '';
10044
10050
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10045
10051
  }
10046
10052
  }
10047
- 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 });
10053
+ 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 });
10048
10054
  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: `
10049
10055
  <kendo-grid-filter-menu-input-wrapper
10050
10056
  [column]="column"
@@ -10122,7 +10128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10122
10128
  </kendo-grid-filter-menu-input-wrapper>
10123
10129
  `
10124
10130
  }]
10125
- }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: i1.LocalizationService }]; }, propDecorators: { operators: [{
10131
+ }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: ContextService }]; }, propDecorators: { operators: [{
10126
10132
  type: Input
10127
10133
  }], column: [{
10128
10134
  type: Input
@@ -10175,9 +10181,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10175
10181
  * ```
10176
10182
  */
10177
10183
  class DateFilterMenuComponent extends DateFilterComponent {
10178
- constructor(localization) {
10179
- super(null, localization);
10180
- this.logicOperators = logicOperators(this.localization);
10184
+ constructor(ctx) {
10185
+ super(null, ctx);
10186
+ this.logicOperators = logicOperators(this.ctx.localization);
10181
10187
  /**
10182
10188
  * The current menu filter.
10183
10189
  * @type {CompositeFilterDescriptor}
@@ -10205,16 +10211,16 @@ class DateFilterMenuComponent extends DateFilterComponent {
10205
10211
  this.filter.logic = value;
10206
10212
  }
10207
10213
  get filterMenuDropDownLabel() {
10208
- const localizationMsg = this.localization.get('filterMenuLogicDropDownLabel') || '';
10214
+ const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
10209
10215
  const columnName = this.column ? this.column.title || this.column.field : '';
10210
10216
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10211
10217
  }
10212
10218
  localizationChange() {
10213
- this.logicOperators = logicOperators(this.localization);
10219
+ this.logicOperators = logicOperators(this.ctx.localization);
10214
10220
  super.localizationChange();
10215
10221
  }
10216
10222
  }
10217
- DateFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10223
+ DateFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10218
10224
  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: `
10219
10225
  <kendo-grid-date-filter-menu-input
10220
10226
  [currentFilter]="firstFilter"
@@ -10324,7 +10330,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10324
10330
  </kendo-grid-date-filter-menu-input>
10325
10331
  `
10326
10332
  }]
10327
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
10333
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
10328
10334
  type: HostBinding,
10329
10335
  args: ['class.k-filtercell']
10330
10336
  }], column: [{
@@ -10344,9 +10350,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10344
10350
  * @hidden
10345
10351
  */
10346
10352
  class BooleanFilterComponent extends BaseFilterCellComponent {
10347
- constructor(filterService, localization) {
10353
+ constructor(filterService, ctx) {
10348
10354
  super(filterService);
10349
- this.localization = localization;
10355
+ this.ctx = ctx;
10350
10356
  /**
10351
10357
  * @hidden
10352
10358
  */
@@ -10355,13 +10361,13 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
10355
10361
  * @hidden
10356
10362
  */
10357
10363
  this.items = [
10358
- { text: this.localization.get("filterIsTrue"), value: true },
10359
- { text: this.localization.get("filterIsFalse"), value: false }
10364
+ { text: this.ctx.localization.get("filterIsTrue"), value: true },
10365
+ { text: this.ctx.localization.get("filterIsFalse"), value: false }
10360
10366
  ];
10361
10367
  /**
10362
10368
  * @hidden
10363
10369
  */
10364
- this.defaultItem = { text: this.localization.get("filterBooleanAll"), value: null };
10370
+ this.defaultItem = { text: this.ctx.localization.get("filterBooleanAll"), value: null };
10365
10371
  }
10366
10372
  /**
10367
10373
  * @hidden
@@ -10386,7 +10392,7 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
10386
10392
  return this.currentFilter ? this.currentFilter.operator : this.operator;
10387
10393
  }
10388
10394
  ngOnInit() {
10389
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
10395
+ this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
10390
10396
  }
10391
10397
  ngOnDestroy() {
10392
10398
  if (this.subscription) {
@@ -10396,13 +10402,13 @@ class BooleanFilterComponent extends BaseFilterCellComponent {
10396
10402
  }
10397
10403
  localizationChange() {
10398
10404
  this.items = [
10399
- { text: this.localization.get("filterIsTrue"), value: true },
10400
- { text: this.localization.get("filterIsFalse"), value: false }
10405
+ { text: this.ctx.localization.get("filterIsTrue"), value: true },
10406
+ { text: this.ctx.localization.get("filterIsFalse"), value: false }
10401
10407
  ];
10402
- this.defaultItem = { text: this.localization.get("filterBooleanAll"), value: null };
10408
+ this.defaultItem = { text: this.ctx.localization.get("filterBooleanAll"), value: null };
10403
10409
  }
10404
10410
  }
10405
- 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 });
10411
+ 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 });
10406
10412
  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 });
10407
10413
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterComponent, decorators: [{
10408
10414
  type: Component,
@@ -10410,7 +10416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10410
10416
  selector: 'kendo-grid-boolean-filter-base',
10411
10417
  template: ``
10412
10418
  }]
10413
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
10419
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }]; }, propDecorators: { hostClasses: [{
10414
10420
  type: HostBinding,
10415
10421
  args: ['class.k-filtercell-boolean']
10416
10422
  }], column: [{
@@ -10459,8 +10465,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10459
10465
  * ```
10460
10466
  */
10461
10467
  class BooleanFilterMenuComponent extends BooleanFilterComponent {
10462
- constructor(localization) {
10463
- super(null, localization);
10468
+ constructor(ctx) {
10469
+ super(null, ctx);
10464
10470
  /**
10465
10471
  * The current menu filter.
10466
10472
  * @type {CompositeFilterDescriptor}
@@ -10476,7 +10482,9 @@ class BooleanFilterMenuComponent extends BooleanFilterComponent {
10476
10482
  }
10477
10483
  ngAfterViewInit() {
10478
10484
  this.filterService.menuTabbingService.firstFocusable = this.radioButtons.first.radioButtonEl;
10479
- this.radioButtons.first.radioButtonEl.focus();
10485
+ if (!this.menuTabbingService?.isTabbedInterface) {
10486
+ this.radioButtons.first.radioButtonEl.focus();
10487
+ }
10480
10488
  }
10481
10489
  /**
10482
10490
  * @hidden
@@ -10514,12 +10522,12 @@ class BooleanFilterMenuComponent extends BooleanFilterComponent {
10514
10522
  * @hidden
10515
10523
  */
10516
10524
  get columnLabel() {
10517
- const localizationMsg = this.localization.get('filterInputLabel') || '';
10525
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
10518
10526
  const columnName = this.column.title || this.column.field;
10519
10527
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10520
10528
  }
10521
10529
  }
10522
- BooleanFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterMenuComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
10530
+ BooleanFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BooleanFilterMenuComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
10523
10531
  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: `
10524
10532
  <ul class="k-radio-list k-reset">
10525
10533
  <li *ngFor="let item of items">
@@ -10561,7 +10569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10561
10569
  </ul>
10562
10570
  `
10563
10571
  }]
10564
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
10572
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClasses: [{
10565
10573
  type: HostBinding,
10566
10574
  args: ['class.k-filtercell']
10567
10575
  }], filter: [{
@@ -10650,10 +10658,10 @@ const parentLogicOfDefault = (filter, field, def = "and") => {
10650
10658
  * @hidden
10651
10659
  */
10652
10660
  class FilterMenuContainerComponent {
10653
- constructor(parentService, childService, localization, cd, menuTabbingService) {
10661
+ constructor(parentService, childService, ctx, cd, menuTabbingService) {
10654
10662
  this.parentService = parentService;
10655
10663
  this.childService = childService;
10656
- this.localization = localization;
10664
+ this.ctx = ctx;
10657
10665
  this.cd = cd;
10658
10666
  this.close = new EventEmitter();
10659
10667
  /**
@@ -10684,7 +10692,7 @@ class FilterMenuContainerComponent {
10684
10692
  }
10685
10693
  ngOnInit() {
10686
10694
  this.subscription = this.childService.changes.subscribe(filter => this._childFilter = filter);
10687
- this.subscription.add(this.localization.changes.subscribe(() => this.cd.markForCheck()));
10695
+ this.subscription.add(this.ctx.localization.changes.subscribe(() => this.cd.markForCheck()));
10688
10696
  }
10689
10697
  ngAfterViewChecked() {
10690
10698
  if (!this.menuTabbingService.isColumnMenu || (this.isLast && this.isExpanded)) {
@@ -10747,13 +10755,13 @@ class FilterMenuContainerComponent {
10747
10755
  }
10748
10756
  }
10749
10757
  get clearText() {
10750
- return this.localization.get("filterClearButton");
10758
+ return this.ctx.localization.get("filterClearButton");
10751
10759
  }
10752
10760
  get filterText() {
10753
- return this.localization.get("filterFilterButton");
10761
+ return this.ctx.localization.get("filterFilterButton");
10754
10762
  }
10755
10763
  }
10756
- 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 });
10764
+ 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 });
10757
10765
  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: [
10758
10766
  FilterService,
10759
10767
  MenuTabbingService
@@ -10844,7 +10852,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10844
10852
  }]
10845
10853
  }], ctorParameters: function () { return [{ type: FilterService, decorators: [{
10846
10854
  type: SkipSelf
10847
- }] }, { type: FilterService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MenuTabbingService }]; }, propDecorators: { close: [{
10855
+ }] }, { type: FilterService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type: MenuTabbingService }]; }, propDecorators: { close: [{
10848
10856
  type: Output
10849
10857
  }], column: [{
10850
10858
  type: Input
@@ -10870,10 +10878,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10870
10878
  * @hidden
10871
10879
  */
10872
10880
  class FilterMenuComponent {
10873
- constructor(filterService, popupService, localization, navigationService) {
10881
+ constructor(filterService, popupService, ctx, navigationService) {
10874
10882
  this.filterService = filterService;
10875
10883
  this.popupService = popupService;
10876
- this.localization = localization;
10884
+ this.ctx = ctx;
10877
10885
  this.navigationService = navigationService;
10878
10886
  this.filterIcon = filterIcon;
10879
10887
  this.tabIndex = '-1';
@@ -10885,7 +10893,7 @@ class FilterMenuComponent {
10885
10893
  * @hidden
10886
10894
  */
10887
10895
  get filterLabel() {
10888
- const localizationMsg = this.localization.get('filterMenuTitle') || '';
10896
+ const localizationMsg = this.ctx.localization.get('filterMenuTitle') || '';
10889
10897
  const columnName = this.column.title || this.column.field;
10890
10898
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
10891
10899
  }
@@ -10911,7 +10919,7 @@ class FilterMenuComponent {
10911
10919
  }
10912
10920
  }
10913
10921
  }
10914
- 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 });
10922
+ 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 });
10915
10923
  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: `
10916
10924
  <a #anchor
10917
10925
  class="k-grid-filter-menu k-grid-header-menu"
@@ -10965,7 +10973,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10965
10973
  </ng-template>
10966
10974
  `
10967
10975
  }]
10968
- }], ctorParameters: function () { return [{ type: FilterService }, { type: SinglePopupService }, { type: i1.LocalizationService }, { type: NavigationService }]; }, propDecorators: { column: [{
10976
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: SinglePopupService }, { type: ContextService }, { type: NavigationService }]; }, propDecorators: { column: [{
10969
10977
  type: Input
10970
10978
  }], filter: [{
10971
10979
  type: Input
@@ -11268,10 +11276,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11268
11276
 
11269
11277
  /**
11270
11278
  * Represents the column-menu item for locking and unlocking columns in the Grid. [See example](slug:columnmenu_grid#toc-lock-and-unlock-items).
11271
- *
11272
11279
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11273
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11274
- * the template to the service input of the `kendo-grid-columnmenu-lock` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
11280
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
11281
+ *
11282
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11283
+ * the template to the service input of the `kendo-grid-columnmenu-lock` component.
11275
11284
  *
11276
11285
  * @example
11277
11286
  * ```html
@@ -11284,16 +11293,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11284
11293
  * ```
11285
11294
  */
11286
11295
  class ColumnMenuLockComponent extends ColumnMenuItemBase {
11287
- constructor(localization, columnInfoService, changeDetector) {
11296
+ constructor(ctx, columnInfoService, changeDetector) {
11288
11297
  super();
11289
- this.localization = localization;
11298
+ this.ctx = ctx;
11290
11299
  this.columnInfoService = columnInfoService;
11291
11300
  this.changeDetector = changeDetector;
11292
11301
  this.unlockIcon = unlockIcon;
11293
11302
  this.lockIcon = lockIcon;
11294
11303
  }
11295
11304
  get text() {
11296
- return this.localization.get(this.locked ? 'unlock' : 'lock');
11305
+ return this.ctx.localization.get(this.locked ? 'unlock' : 'lock');
11297
11306
  }
11298
11307
  get icon() {
11299
11308
  return this.locked ? 'unlock' : 'lock';
@@ -11333,7 +11342,7 @@ class ColumnMenuLockComponent extends ColumnMenuItemBase {
11333
11342
  return this.service.column.locked;
11334
11343
  }
11335
11344
  }
11336
- 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 });
11345
+ 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 });
11337
11346
  ColumnMenuLockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock", usesInheritance: true, ngImport: i0, template: `
11338
11347
  <kendo-grid-columnmenu-item
11339
11348
  [text]="text"
@@ -11357,7 +11366,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11357
11366
  </kendo-grid-columnmenu-item>
11358
11367
  `
11359
11368
  }]
11360
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11369
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11361
11370
 
11362
11371
  /**
11363
11372
  * Represents the column-menu item that sticks or unsticks columns in the Grid.
@@ -11379,16 +11388,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11379
11388
  * ```
11380
11389
  */
11381
11390
  class ColumnMenuStickComponent extends ColumnMenuItemBase {
11382
- constructor(localization, columnInfoService, changeDetector) {
11391
+ constructor(ctx, columnInfoService, changeDetector) {
11383
11392
  super();
11384
- this.localization = localization;
11393
+ this.ctx = ctx;
11385
11394
  this.columnInfoService = columnInfoService;
11386
11395
  this.changeDetector = changeDetector;
11387
11396
  this.stickIcon = stickIcon;
11388
11397
  this.unstickIcon = unstickIcon;
11389
11398
  }
11390
11399
  get text() {
11391
- return this.localization.get(this.sticky ? 'unstick' : 'stick');
11400
+ return this.ctx.localization.get(this.sticky ? 'unstick' : 'stick');
11392
11401
  }
11393
11402
  get icon() {
11394
11403
  return this.sticky ? 'unstick' : 'stick';
@@ -11428,7 +11437,7 @@ class ColumnMenuStickComponent extends ColumnMenuItemBase {
11428
11437
  return this.service.column.sticky;
11429
11438
  }
11430
11439
  }
11431
- 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 });
11440
+ 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 });
11432
11441
  ColumnMenuStickComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick", usesInheritance: true, ngImport: i0, template: `
11433
11442
  <kendo-grid-columnmenu-item
11434
11443
  [text]="text"
@@ -11452,14 +11461,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11452
11461
  </kendo-grid-columnmenu-item>
11453
11462
  `
11454
11463
  }]
11455
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11464
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; } });
11456
11465
 
11457
11466
  /**
11458
11467
  * Represents the column-menu item which combines the lock and sticky column functionalities.
11459
- *
11468
+ * [See example](slug:columnmenu_grid#toc-set-column-position-item).
11460
11469
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11461
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11462
- * the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-set-column-position-item).
11470
+ *
11471
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11472
+ * the template to the service input of the `kendo-grid-columnmenu-filter` component.
11463
11473
  *
11464
11474
  * @example
11465
11475
  * ```html
@@ -11472,9 +11482,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11472
11482
  * ```
11473
11483
  */
11474
11484
  class ColumnMenuPositionComponent extends ColumnMenuItemBase {
11475
- constructor(localization, hostElement) {
11485
+ constructor(ctx, hostElement) {
11476
11486
  super();
11477
- this.localization = localization;
11487
+ this.ctx = ctx;
11478
11488
  this.hostElement = hostElement;
11479
11489
  /**
11480
11490
  * Fires when the content is expanded.
@@ -11547,10 +11557,10 @@ class ColumnMenuPositionComponent extends ColumnMenuItemBase {
11547
11557
  return menuItems[lastFocusableIndex];
11548
11558
  }
11549
11559
  }
11550
- 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 });
11560
+ 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 });
11551
11561
  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: `
11552
11562
  <kendo-grid-columnmenu-item
11553
- [text]="localization.get('setColumnPosition')"
11563
+ [text]="ctx.localization.get('setColumnPosition')"
11554
11564
  icon="set-column-position"
11555
11565
  [svgIcon]="setColumnPositionIcon"
11556
11566
  [expanded]="expanded"
@@ -11577,7 +11587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11577
11587
  selector: 'kendo-grid-columnmenu-position',
11578
11588
  template: `
11579
11589
  <kendo-grid-columnmenu-item
11580
- [text]="localization.get('setColumnPosition')"
11590
+ [text]="ctx.localization.get('setColumnPosition')"
11581
11591
  icon="set-column-position"
11582
11592
  [svgIcon]="setColumnPositionIcon"
11583
11593
  [expanded]="expanded"
@@ -11599,7 +11609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11599
11609
  </kendo-grid-columnmenu-item>
11600
11610
  `
11601
11611
  }]
11602
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
11612
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
11603
11613
  type: Output
11604
11614
  }], collapse: [{
11605
11615
  type: Output
@@ -11819,10 +11829,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11819
11829
 
11820
11830
  /**
11821
11831
  * Represents the column-menu item for selecting columns in the Grid. [See example](slug:columnmenu_grid#toc-column-chooser-item).
11822
- *
11823
11832
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11824
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11825
- * the template to the service input of the `kendo-grid-columnmenu-chooser` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
11833
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
11834
+ *
11835
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11836
+ * the template to the service input of the `kendo-grid-columnmenu-chooser` component.
11826
11837
  *
11827
11838
  * @example
11828
11839
  * ```html
@@ -11834,9 +11845,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11834
11845
  * ```
11835
11846
  */
11836
11847
  class ColumnMenuChooserComponent extends ColumnMenuItemBase {
11837
- constructor(localization, columnInfoService, changeDetector, hostElement) {
11848
+ constructor(ctx, columnInfoService, changeDetector, hostElement) {
11838
11849
  super();
11839
- this.localization = localization;
11850
+ this.ctx = ctx;
11840
11851
  this.columnInfoService = columnInfoService;
11841
11852
  this.changeDetector = changeDetector;
11842
11853
  this.hostElement = hostElement;
@@ -11894,10 +11905,10 @@ class ColumnMenuChooserComponent extends ColumnMenuItemBase {
11894
11905
  this.expand.emit();
11895
11906
  }
11896
11907
  }
11897
- 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 });
11908
+ 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 });
11898
11909
  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: `
11899
11910
  <kendo-grid-columnmenu-item
11900
- [text]="localization.get('columns')"
11911
+ [text]="ctx.localization.get('columns')"
11901
11912
  icon="columns"
11902
11913
  [svgIcon]="columnsIcon"
11903
11914
  [expanded]="expanded"
@@ -11905,8 +11916,8 @@ ColumnMenuChooserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
11905
11916
  (expand)="onExpand()">
11906
11917
  <ng-template kendoGridColumnMenuItemContentTemplate>
11907
11918
  <kendo-grid-columnlist
11908
- [applyText]="localization.get('columnsApply')"
11909
- [resetText]="localization.get('columnsReset')"
11919
+ [applyText]="ctx.localization.get('columnsApply')"
11920
+ [resetText]="ctx.localization.get('columnsReset')"
11910
11921
  [columns]="columns"
11911
11922
  [autoSync]="false"
11912
11923
  [allowHideAll]="false"
@@ -11925,7 +11936,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11925
11936
  selector: 'kendo-grid-columnmenu-chooser',
11926
11937
  template: `
11927
11938
  <kendo-grid-columnmenu-item
11928
- [text]="localization.get('columns')"
11939
+ [text]="ctx.localization.get('columns')"
11929
11940
  icon="columns"
11930
11941
  [svgIcon]="columnsIcon"
11931
11942
  [expanded]="expanded"
@@ -11933,8 +11944,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11933
11944
  (expand)="onExpand()">
11934
11945
  <ng-template kendoGridColumnMenuItemContentTemplate>
11935
11946
  <kendo-grid-columnlist
11936
- [applyText]="localization.get('columnsApply')"
11937
- [resetText]="localization.get('columnsReset')"
11947
+ [applyText]="ctx.localization.get('columnsApply')"
11948
+ [resetText]="ctx.localization.get('columnsReset')"
11938
11949
  [columns]="columns"
11939
11950
  [autoSync]="false"
11940
11951
  [allowHideAll]="false"
@@ -11948,7 +11959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11948
11959
  </kendo-grid-columnmenu-item>
11949
11960
  `
11950
11961
  }]
11951
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
11962
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
11952
11963
  type: Output
11953
11964
  }], collapse: [{
11954
11965
  type: Output
@@ -11960,10 +11971,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11960
11971
 
11961
11972
  /**
11962
11973
  * Represents the column-menu item for editing column filters in the Grid. [See example](slug:columnmenu_grid#toc-filter-item).
11963
- *
11964
11974
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11965
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11966
- * the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
11975
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
11976
+ *
11977
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
11978
+ * the template to the service input of the `kendo-grid-columnmenu-filter` component.
11967
11979
  *
11968
11980
  * @example
11969
11981
  * ```html
@@ -11976,9 +11988,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11976
11988
  * ```
11977
11989
  */
11978
11990
  class ColumnMenuFilterComponent extends ColumnMenuItemBase {
11979
- constructor(localization, hostElement) {
11991
+ constructor(ctx, hostElement) {
11980
11992
  super();
11981
- this.localization = localization;
11993
+ this.ctx = ctx;
11982
11994
  this.hostElement = hostElement;
11983
11995
  /**
11984
11996
  * Fires when the content is expanded.
@@ -12021,10 +12033,10 @@ class ColumnMenuFilterComponent extends ColumnMenuItemBase {
12021
12033
  this.expand.emit();
12022
12034
  }
12023
12035
  }
12024
- 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 });
12036
+ 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 });
12025
12037
  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: `
12026
12038
  <kendo-grid-columnmenu-item
12027
- [text]="localization.get('filter')"
12039
+ [text]="ctx.localization.get('filter')"
12028
12040
  icon="filter"
12029
12041
  [svgIcon]="filterIcon"
12030
12042
  [expanded]="expanded"
@@ -12050,7 +12062,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12050
12062
  selector: 'kendo-grid-columnmenu-filter',
12051
12063
  template: `
12052
12064
  <kendo-grid-columnmenu-item
12053
- [text]="localization.get('filter')"
12065
+ [text]="ctx.localization.get('filter')"
12054
12066
  icon="filter"
12055
12067
  [svgIcon]="filterIcon"
12056
12068
  [expanded]="expanded"
@@ -12071,7 +12083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12071
12083
  </kendo-grid-columnmenu-item>
12072
12084
  `
12073
12085
  }]
12074
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
12086
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i0.ElementRef }]; }, propDecorators: { expand: [{
12075
12087
  type: Output
12076
12088
  }], collapse: [{
12077
12089
  type: Output
@@ -12212,10 +12224,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12212
12224
  /**
12213
12225
  * Represents the column-menu item for sorting Grid columns.
12214
12226
  * [See example](slug:columnmenu_grid#toc-sort-item).
12227
+ * The compoenent can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12228
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
12215
12229
  *
12216
- * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12217
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12218
- * the template to the service input of the `kendo-grid-columnmenu-sort` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
12230
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12231
+ * the template to the service input of the `kendo-grid-columnmenu-sort` component.
12219
12232
  *
12220
12233
  * @example
12221
12234
  * ```html
@@ -12228,9 +12241,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12228
12241
  * ```
12229
12242
  */
12230
12243
  class ColumnMenuSortComponent extends ColumnMenuItemBase {
12231
- constructor(localization, sortService, renderer) {
12244
+ constructor(ctx, sortService, renderer) {
12232
12245
  super();
12233
- this.localization = localization;
12246
+ this.ctx = ctx;
12234
12247
  this.sortService = sortService;
12235
12248
  this.renderer = renderer;
12236
12249
  this.sortAscSmallIcon = sortAscSmallIcon;
@@ -12267,17 +12280,17 @@ class ColumnMenuSortComponent extends ColumnMenuItemBase {
12267
12280
  return [].concat(this.service.sort || []).find(s => s.field === this.service.column.field);
12268
12281
  }
12269
12282
  }
12270
- 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 });
12283
+ 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 });
12271
12284
  ColumnMenuSortComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort", usesInheritance: true, ngImport: i0, template: `
12272
12285
  <kendo-grid-columnmenu-item
12273
- [text]="localization.get('sortAscending')"
12286
+ [text]="ctx.localization.get('sortAscending')"
12274
12287
  icon="sort-asc-small"
12275
12288
  [svgIcon]="sortAscSmallIcon"
12276
12289
  (itemClick)="toggleSort('asc')"
12277
12290
  [selected]="sortedAsc">
12278
12291
  </kendo-grid-columnmenu-item>
12279
12292
  <kendo-grid-columnmenu-item
12280
- [text]="localization.get('sortDescending')"
12293
+ [text]="ctx.localization.get('sortDescending')"
12281
12294
  icon="sort-desc-small"
12282
12295
  [svgIcon]="sortDescSmallIcon"
12283
12296
  (itemClick)="toggleSort('desc')"
@@ -12290,14 +12303,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12290
12303
  selector: 'kendo-grid-columnmenu-sort',
12291
12304
  template: `
12292
12305
  <kendo-grid-columnmenu-item
12293
- [text]="localization.get('sortAscending')"
12306
+ [text]="ctx.localization.get('sortAscending')"
12294
12307
  icon="sort-asc-small"
12295
12308
  [svgIcon]="sortAscSmallIcon"
12296
12309
  (itemClick)="toggleSort('asc')"
12297
12310
  [selected]="sortedAsc">
12298
12311
  </kendo-grid-columnmenu-item>
12299
12312
  <kendo-grid-columnmenu-item
12300
- [text]="localization.get('sortDescending')"
12313
+ [text]="ctx.localization.get('sortDescending')"
12301
12314
  icon="sort-desc-small"
12302
12315
  [svgIcon]="sortDescSmallIcon"
12303
12316
  (itemClick)="toggleSort('desc')"
@@ -12305,7 +12318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12305
12318
  </kendo-grid-columnmenu-item>
12306
12319
  `
12307
12320
  }]
12308
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: SortService }, { type: i0.Renderer2 }]; } });
12321
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: SortService }, { type: i0.Renderer2 }]; } });
12309
12322
 
12310
12323
  /**
12311
12324
  * 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.
@@ -12327,9 +12340,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12327
12340
  * ```
12328
12341
  */
12329
12342
  class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
12330
- constructor(localization, ctx) {
12343
+ constructor(ctx) {
12331
12344
  super();
12332
- this.localization = localization;
12333
12345
  this.ctx = ctx;
12334
12346
  this.maxWidthIcon = maxWidthIcon;
12335
12347
  }
@@ -12346,12 +12358,12 @@ class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase {
12346
12358
  autoSizeColumn(this.ctx.grid, this.service, this.column);
12347
12359
  }
12348
12360
  }
12349
- 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 });
12361
+ ColumnMenuAutoSizeColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuAutoSizeColumnComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12350
12362
  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: `
12351
12363
  <kendo-grid-columnmenu-item
12352
12364
  *ngIf="!this.ctx.grid.virtualColumns"
12353
12365
  class="k-grid-columnmenu-autosize-column"
12354
- [text]="localization.get('autosizeThisColumn')"
12366
+ [text]="ctx.localization.get('autosizeThisColumn')"
12355
12367
  icon="max-width"
12356
12368
  [svgIcon]="maxWidthIcon"
12357
12369
  (itemClick)="autoSizeColumn()"
@@ -12365,24 +12377,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12365
12377
  <kendo-grid-columnmenu-item
12366
12378
  *ngIf="!this.ctx.grid.virtualColumns"
12367
12379
  class="k-grid-columnmenu-autosize-column"
12368
- [text]="localization.get('autosizeThisColumn')"
12380
+ [text]="ctx.localization.get('autosizeThisColumn')"
12369
12381
  icon="max-width"
12370
12382
  [svgIcon]="maxWidthIcon"
12371
12383
  (itemClick)="autoSizeColumn()"
12372
12384
  ></kendo-grid-columnmenu-item>
12373
12385
  `
12374
12386
  }]
12375
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; }, propDecorators: { column: [{
12387
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { column: [{
12376
12388
  type: Input
12377
12389
  }] } });
12378
12390
 
12379
12391
  /**
12380
12392
  * 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.
12381
12393
  * [See example](slug:columnmenu_grid#toc-autosize-all-columns-item).
12382
- *
12383
12394
  * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
12384
- * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12385
- * the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
12395
+ * [See example](slug:columnmenu_grid#toc-customizing-the-content).
12396
+ *
12397
+ * You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
12398
+ * the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component.
12386
12399
  *
12387
12400
  * @example
12388
12401
  * ```html
@@ -12395,11 +12408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12395
12408
  * ```
12396
12409
  */
12397
12410
  class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
12398
- constructor(localization, ctx) {
12411
+ constructor(ctx) {
12399
12412
  super();
12400
- this.localization = localization;
12401
12413
  this.ctx = ctx;
12402
- this.displayInlineBlockIcon = displayInlineBlockIcon;
12414
+ this.displayInlineFlexIcon = displayInlineFlexIcon;
12403
12415
  }
12404
12416
  ngOnInit() {
12405
12417
  const isVirtualColumns = this.ctx.grid.columnMenuTemplate && this.ctx.grid.virtualColumns;
@@ -12414,13 +12426,13 @@ class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase {
12414
12426
  autoSizeColumn(this.ctx.grid, this.service);
12415
12427
  }
12416
12428
  }
12417
- 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 });
12429
+ ColumnMenuAutoSizeAllColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuAutoSizeAllColumnsComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
12418
12430
  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: `
12419
12431
  <kendo-grid-columnmenu-item
12420
12432
  *ngIf="!this.ctx.grid.virtualColumns"
12421
- [text]="localization.get('autosizeAllColumns')"
12422
- icon="display-inline-block"
12423
- [svgIcon]="displayInlineBlockIcon"
12433
+ [text]="ctx.localization.get('autosizeAllColumns')"
12434
+ icon="display-inline-flex"
12435
+ [svgIcon]="displayInlineFlexIcon"
12424
12436
  (itemClick)="autoSizeAllColumns()"
12425
12437
  ></kendo-grid-columnmenu-item>
12426
12438
  `, 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"] }] });
@@ -12431,14 +12443,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12431
12443
  template: `
12432
12444
  <kendo-grid-columnmenu-item
12433
12445
  *ngIf="!this.ctx.grid.virtualColumns"
12434
- [text]="localization.get('autosizeAllColumns')"
12435
- icon="display-inline-block"
12436
- [svgIcon]="displayInlineBlockIcon"
12446
+ [text]="ctx.localization.get('autosizeAllColumns')"
12447
+ icon="display-inline-flex"
12448
+ [svgIcon]="displayInlineFlexIcon"
12437
12449
  (itemClick)="autoSizeAllColumns()"
12438
12450
  ></kendo-grid-columnmenu-item>
12439
12451
  `
12440
12452
  }]
12441
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ContextService }]; } });
12453
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
12442
12454
 
12443
12455
  const POPUP_CLASS = 'k-grid-columnmenu-popup';
12444
12456
  /**
@@ -12453,12 +12465,14 @@ const POPUP_CLASS = 'k-grid-columnmenu-popup';
12453
12465
  * </kendo-grid>
12454
12466
  */
12455
12467
  class ColumnMenuComponent {
12456
- constructor(navigationService, popupService, localization, service, ctx) {
12468
+ constructor(navigationService, popupService, service, ctx, renderer, cdr, columnInfoService) {
12457
12469
  this.navigationService = navigationService;
12458
12470
  this.popupService = popupService;
12459
- this.localization = localization;
12460
12471
  this.service = service;
12461
12472
  this.ctx = ctx;
12473
+ this.renderer = renderer;
12474
+ this.cdr = cdr;
12475
+ this.columnInfoService = columnInfoService;
12462
12476
  /**
12463
12477
  * @hidden
12464
12478
  */
@@ -12475,6 +12489,22 @@ class ColumnMenuComponent {
12475
12489
  * @hidden
12476
12490
  */
12477
12491
  this.tabIndex = '-1';
12492
+ /**
12493
+ * @hidden
12494
+ */
12495
+ this.columnsIcon = columnsIcon;
12496
+ /**
12497
+ * @hidden
12498
+ */
12499
+ this.actionsClass = 'k-actions';
12500
+ /**
12501
+ * @hidden
12502
+ */
12503
+ this.moreHorizontalIcon = moreHorizontalIcon;
12504
+ /**
12505
+ * @hidden
12506
+ */
12507
+ this.filterIcon = filterIcon;
12478
12508
  /**
12479
12509
  * @hidden
12480
12510
  */
@@ -12490,6 +12520,17 @@ class ColumnMenuComponent {
12490
12520
  this.moreVerticalIcon = moreVerticalIcon;
12491
12521
  this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
12492
12522
  }
12523
+ /**
12524
+ * @hidden
12525
+ */
12526
+ get showGeneralTab() {
12527
+ return this.hasSort
12528
+ || this.hasLock
12529
+ || this.hasStick
12530
+ || this.hasPosition
12531
+ || this.hasAutoSizeColumn
12532
+ || this.hasAutoSizeAllColumns;
12533
+ }
12493
12534
  /**
12494
12535
  * @hidden
12495
12536
  */
@@ -12515,6 +12556,16 @@ class ColumnMenuComponent {
12515
12556
  get hasColumnChooser() {
12516
12557
  return hasColumnChooser(this.settings);
12517
12558
  }
12559
+ /**
12560
+ * @hidden
12561
+ */
12562
+ onApply(changed) {
12563
+ this.close();
12564
+ if (changed.length) {
12565
+ this.cdr.markForCheck();
12566
+ this.columnInfoService.changeVisibility(changed);
12567
+ }
12568
+ }
12518
12569
  /**
12519
12570
  * @hidden
12520
12571
  */
@@ -12545,6 +12596,12 @@ class ColumnMenuComponent {
12545
12596
  get hasPosition() {
12546
12597
  return hasPosition(this.settings, this.column);
12547
12598
  }
12599
+ /**
12600
+ * @hidden
12601
+ */
12602
+ get columns() {
12603
+ return this.columnInfoService.leafNamedColumns;
12604
+ }
12548
12605
  ngAfterViewInit() {
12549
12606
  if (this.ctx.grid.virtualColumns && isDevMode()) {
12550
12607
  if (this.settings.autoSizeAllColumns) {
@@ -12556,6 +12613,7 @@ class ColumnMenuComponent {
12556
12613
  console.warn(ColunnMenuErrorMessages.autoSizeColumn);
12557
12614
  }
12558
12615
  }
12616
+ this.service.menuTabbingService.isTabbedInterface = this.settings.view === 'tabbed' ? true : false;
12559
12617
  }
12560
12618
  ngOnChanges() {
12561
12619
  this.service.column = this.column;
@@ -12579,6 +12637,11 @@ class ColumnMenuComponent {
12579
12637
  this.expandedColumns = this.getExpandedState(this.settings.columnChooser);
12580
12638
  this.expandedPosition = this.getExpandedState(this.settings.setColumnPosition);
12581
12639
  this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
12640
+ if (this.popupRef && this.settings.view === 'tabbed') {
12641
+ this.renderer.addClass(this.popupRef.popupElement.firstChild, 'k-column-menu-tabbed');
12642
+ this.cdr.detectChanges();
12643
+ this.tabStrip?.selectTab(0);
12644
+ }
12582
12645
  if (!this.popupRef) {
12583
12646
  if (this.navigationService.tableEnabled) {
12584
12647
  this.navigationService.focusCell(0, this.column.leafIndex);
@@ -12605,7 +12668,7 @@ class ColumnMenuComponent {
12605
12668
  * @hidden
12606
12669
  */
12607
12670
  get columnMenuTitle() {
12608
- const localizationMsg = this.localization.get('columnMenu') || '';
12671
+ const localizationMsg = this.ctx.localization.get('columnMenu') || '';
12609
12672
  const columnName = this.column.title || this.column.field;
12610
12673
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
12611
12674
  }
@@ -12613,11 +12676,11 @@ class ColumnMenuComponent {
12613
12676
  return typeof (menuItemSettings) === 'object' ? menuItemSettings.expanded : false;
12614
12677
  }
12615
12678
  }
12616
- 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 });
12679
+ 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 });
12617
12680
  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: [
12618
12681
  ColumnMenuService,
12619
12682
  MenuTabbingService
12620
- ], 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: `
12683
+ ], 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: `
12621
12684
  <a #anchor
12622
12685
  class="k-grid-header-menu k-grid-column-menu"
12623
12686
  [ngClass]="{ 'k-active': isActive }"
@@ -12632,7 +12695,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
12632
12695
  </a>
12633
12696
  <ng-template #template>
12634
12697
  <ng-container
12635
- [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"
12698
+ [ngTemplateOutlet]="this.column.columnMenuTemplateRef || this.columnMenuTemplate || (this.settings.view === 'tabbed' ? this.tabbedInterfaceTemplate : this.defaultTemplate)"
12636
12699
  [ngTemplateOutletContext]="{ service: service, column: column }">
12637
12700
  </ng-container>
12638
12701
  </ng-template>
@@ -12689,7 +12752,95 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
12689
12752
  </kendo-grid-columnmenu-filter>
12690
12753
  </kendo-grid-columnmenu-container>
12691
12754
  </ng-template>
12692
- `, 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"] }] });
12755
+ <ng-template #tabbedInterfaceTemplate>
12756
+ <kendo-tabstrip #tabstrip (keydown.escape)="close()">
12757
+ <kendo-tabstrip-tab *ngIf="hasFilter">
12758
+ <ng-template kendoTabTitle>
12759
+ <kendo-icon-wrapper
12760
+ [attr.title]="ctx.localization.get('columnMenuFilterTabTitle')"
12761
+ name="filter"
12762
+ [svgIcon]="filterIcon">
12763
+ </kendo-icon-wrapper>
12764
+ </ng-template>
12765
+ <ng-template kendoTabContent>
12766
+ <kendo-grid-filter-menu-container
12767
+ [column]="service.column"
12768
+ [menuTabbingService]="service.menuTabbingService"
12769
+ [filter]="service.filter"
12770
+ [actionsClass]="actionsClass"
12771
+ (keydown.shift.tab)="$event.stopImmediatePropagation()"
12772
+ (close)="close()">
12773
+ </kendo-grid-filter-menu-container>
12774
+ </ng-template>
12775
+ </kendo-tabstrip-tab>
12776
+ <kendo-tabstrip-tab *ngIf="showGeneralTab">
12777
+ <ng-template kendoTabTitle>
12778
+ <kendo-icon-wrapper
12779
+ [attr.title]="ctx.localization.get('columnMenuGeneralTabTitle')"
12780
+ name="more-horizontal"
12781
+ [svgIcon]="moreHorizontalIcon">
12782
+ </kendo-icon-wrapper>
12783
+ </ng-template>
12784
+ <ng-template kendoTabContent>
12785
+ <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">
12786
+ </kendo-grid-columnmenu-sort>
12787
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasSort && (hasLock || hasStick || hasPosition || hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12788
+ <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">
12789
+ </kendo-grid-columnmenu-lock>
12790
+ <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">
12791
+ </kendo-grid-columnmenu-stick>
12792
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="(hasLock || hasStick) && !hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12793
+ <kendo-grid-columnmenu-position
12794
+ #positionItem
12795
+ *ngIf="hasPosition"
12796
+ [showLock]="hasLock"
12797
+ [showStick]="hasStick"
12798
+ [kendoGridColumnMenuItem]="positionItem"
12799
+ [service]="service"
12800
+ [expanded]="expandedPosition">
12801
+ </kendo-grid-columnmenu-position>
12802
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12803
+ <kendo-grid-columnmenu-autosize-column
12804
+ #autoSizeColumnItem
12805
+ *ngIf="hasAutoSizeColumn"
12806
+ [service]="service"
12807
+ [kendoGridColumnMenuItem]="autoSizeColumnItem"
12808
+ [column]="column"
12809
+ >
12810
+ </kendo-grid-columnmenu-autosize-column>
12811
+ <kendo-grid-columnmenu-autosize-all-columns
12812
+ #autoSizeAllColumnsItem
12813
+ *ngIf="hasAutoSizeAllColumns"
12814
+ [service]="service"
12815
+ [kendoGridColumnMenuItem]="autoSizeAllColumnsItem"
12816
+ >
12817
+ </kendo-grid-columnmenu-autosize-all-columns>
12818
+ </ng-template>
12819
+ </kendo-tabstrip-tab>
12820
+ <kendo-tabstrip-tab *ngIf="hasColumnChooser">
12821
+ <ng-template kendoTabTitle>
12822
+ <kendo-icon-wrapper
12823
+ [attr.title]="ctx.localization.get('columnMenuColumnsTabTitle')"
12824
+ name="columns"
12825
+ [svgIcon]="columnsIcon">
12826
+ </kendo-icon-wrapper>
12827
+ </ng-template>
12828
+ <ng-template kendoTabContent>
12829
+ <kendo-grid-columnlist
12830
+ [applyText]="ctx.localization.get('columnsApply')"
12831
+ [resetText]="ctx.localization.get('columnsReset')"
12832
+ [columns]="columns"
12833
+ [autoSync]="false"
12834
+ [allowHideAll]="false"
12835
+ [actionsClass]="actionsClass"
12836
+ [service]="service"
12837
+ (apply)="onApply($event)">
12838
+ </kendo-grid-columnlist>
12839
+ </ng-template>
12840
+ </kendo-tabstrip-tab>
12841
+ </kendo-tabstrip>
12842
+ </ng-template>
12843
+ `, 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]" }] });
12693
12844
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuComponent, decorators: [{
12694
12845
  type: Component,
12695
12846
  args: [{
@@ -12713,7 +12864,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12713
12864
  </a>
12714
12865
  <ng-template #template>
12715
12866
  <ng-container
12716
- [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"
12867
+ [ngTemplateOutlet]="this.column.columnMenuTemplateRef || this.columnMenuTemplate || (this.settings.view === 'tabbed' ? this.tabbedInterfaceTemplate : this.defaultTemplate)"
12717
12868
  [ngTemplateOutletContext]="{ service: service, column: column }">
12718
12869
  </ng-container>
12719
12870
  </ng-template>
@@ -12770,9 +12921,97 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12770
12921
  </kendo-grid-columnmenu-filter>
12771
12922
  </kendo-grid-columnmenu-container>
12772
12923
  </ng-template>
12924
+ <ng-template #tabbedInterfaceTemplate>
12925
+ <kendo-tabstrip #tabstrip (keydown.escape)="close()">
12926
+ <kendo-tabstrip-tab *ngIf="hasFilter">
12927
+ <ng-template kendoTabTitle>
12928
+ <kendo-icon-wrapper
12929
+ [attr.title]="ctx.localization.get('columnMenuFilterTabTitle')"
12930
+ name="filter"
12931
+ [svgIcon]="filterIcon">
12932
+ </kendo-icon-wrapper>
12933
+ </ng-template>
12934
+ <ng-template kendoTabContent>
12935
+ <kendo-grid-filter-menu-container
12936
+ [column]="service.column"
12937
+ [menuTabbingService]="service.menuTabbingService"
12938
+ [filter]="service.filter"
12939
+ [actionsClass]="actionsClass"
12940
+ (keydown.shift.tab)="$event.stopImmediatePropagation()"
12941
+ (close)="close()">
12942
+ </kendo-grid-filter-menu-container>
12943
+ </ng-template>
12944
+ </kendo-tabstrip-tab>
12945
+ <kendo-tabstrip-tab *ngIf="showGeneralTab">
12946
+ <ng-template kendoTabTitle>
12947
+ <kendo-icon-wrapper
12948
+ [attr.title]="ctx.localization.get('columnMenuGeneralTabTitle')"
12949
+ name="more-horizontal"
12950
+ [svgIcon]="moreHorizontalIcon">
12951
+ </kendo-icon-wrapper>
12952
+ </ng-template>
12953
+ <ng-template kendoTabContent>
12954
+ <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">
12955
+ </kendo-grid-columnmenu-sort>
12956
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasSort && (hasLock || hasStick || hasPosition || hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12957
+ <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">
12958
+ </kendo-grid-columnmenu-lock>
12959
+ <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">
12960
+ </kendo-grid-columnmenu-stick>
12961
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="(hasLock || hasStick) && !hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12962
+ <kendo-grid-columnmenu-position
12963
+ #positionItem
12964
+ *ngIf="hasPosition"
12965
+ [showLock]="hasLock"
12966
+ [showStick]="hasStick"
12967
+ [kendoGridColumnMenuItem]="positionItem"
12968
+ [service]="service"
12969
+ [expanded]="expandedPosition">
12970
+ </kendo-grid-columnmenu-position>
12971
+ <span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" *ngIf="hasPosition && (hasAutoSizeColumn || hasAutoSizeAllColumns)" class="k-separator"></span>
12972
+ <kendo-grid-columnmenu-autosize-column
12973
+ #autoSizeColumnItem
12974
+ *ngIf="hasAutoSizeColumn"
12975
+ [service]="service"
12976
+ [kendoGridColumnMenuItem]="autoSizeColumnItem"
12977
+ [column]="column"
12978
+ >
12979
+ </kendo-grid-columnmenu-autosize-column>
12980
+ <kendo-grid-columnmenu-autosize-all-columns
12981
+ #autoSizeAllColumnsItem
12982
+ *ngIf="hasAutoSizeAllColumns"
12983
+ [service]="service"
12984
+ [kendoGridColumnMenuItem]="autoSizeAllColumnsItem"
12985
+ >
12986
+ </kendo-grid-columnmenu-autosize-all-columns>
12987
+ </ng-template>
12988
+ </kendo-tabstrip-tab>
12989
+ <kendo-tabstrip-tab *ngIf="hasColumnChooser">
12990
+ <ng-template kendoTabTitle>
12991
+ <kendo-icon-wrapper
12992
+ [attr.title]="ctx.localization.get('columnMenuColumnsTabTitle')"
12993
+ name="columns"
12994
+ [svgIcon]="columnsIcon">
12995
+ </kendo-icon-wrapper>
12996
+ </ng-template>
12997
+ <ng-template kendoTabContent>
12998
+ <kendo-grid-columnlist
12999
+ [applyText]="ctx.localization.get('columnsApply')"
13000
+ [resetText]="ctx.localization.get('columnsReset')"
13001
+ [columns]="columns"
13002
+ [autoSync]="false"
13003
+ [allowHideAll]="false"
13004
+ [actionsClass]="actionsClass"
13005
+ [service]="service"
13006
+ (apply)="onApply($event)">
13007
+ </kendo-grid-columnlist>
13008
+ </ng-template>
13009
+ </kendo-tabstrip-tab>
13010
+ </kendo-tabstrip>
13011
+ </ng-template>
12773
13012
  `
12774
13013
  }]
12775
- }], ctorParameters: function () { return [{ type: NavigationService }, { type: SinglePopupService }, { type: i1.LocalizationService }, { type: ColumnMenuService }, { type: ContextService }]; }, propDecorators: { standalone: [{
13014
+ }], ctorParameters: function () { return [{ type: NavigationService }, { type: SinglePopupService }, { type: ColumnMenuService }, { type: ContextService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: ColumnInfoService }]; }, propDecorators: { standalone: [{
12776
13015
  type: HostBinding,
12777
13016
  args: ['class.k-grid-column-menu-standalone']
12778
13017
  }, {
@@ -12797,6 +13036,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12797
13036
  }], template: [{
12798
13037
  type: ViewChild,
12799
13038
  args: ['template', { static: true, read: TemplateRef }]
13039
+ }], defaultTemplate: [{
13040
+ type: ViewChild,
13041
+ args: ['defaultTemplate', { static: true, read: TemplateRef }]
13042
+ }], tabbedInterfaceTemplate: [{
13043
+ type: ViewChild,
13044
+ args: ['tabbedInterfaceTemplate', { static: true, read: TemplateRef }]
13045
+ }], tabStrip: [{
13046
+ type: ViewChild,
13047
+ args: [TabStripComponent]
12800
13048
  }] } });
12801
13049
 
12802
13050
  /**
@@ -12817,8 +13065,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12817
13065
  * ```
12818
13066
  */
12819
13067
  class FilterCellOperatorsComponent {
12820
- constructor(localization, sizing) {
12821
- this.localization = localization;
13068
+ constructor(ctx, sizing) {
13069
+ this.ctx = ctx;
12822
13070
  this.sizing = sizing;
12823
13071
  this.clearText = 'Clear';
12824
13072
  this.filterClearIcon = filterClearIcon;
@@ -12887,7 +13135,7 @@ class FilterCellOperatorsComponent {
12887
13135
  }
12888
13136
  }
12889
13137
  ngOnInit() {
12890
- this.subs = this.localization.changes.subscribe(() => this.clearText = this.localization.get('filterClearButton'));
13138
+ this.subs = this.ctx.localization.changes.subscribe(() => this.clearText = this.ctx.localization.get('filterClearButton'));
12891
13139
  this.subs.add(this.sizing.changes.subscribe((size) => this.size = size));
12892
13140
  }
12893
13141
  ngOnDestroy() {
@@ -12896,7 +13144,7 @@ class FilterCellOperatorsComponent {
12896
13144
  }
12897
13145
  }
12898
13146
  }
12899
- 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 });
13147
+ 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 });
12900
13148
  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: `
12901
13149
  <kendo-dropdownlist
12902
13150
  #dropdown
@@ -12958,7 +13206,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12958
13206
  (keydown)="clearKeydown($event)"></button>
12959
13207
  `
12960
13208
  }]
12961
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { hostClasses: [{
13209
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { hostClasses: [{
12962
13210
  type: HostBinding,
12963
13211
  args: ['class.k-filtercell-operator']
12964
13212
  }], dropdown: [{
@@ -13055,8 +13303,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13055
13303
  * ```
13056
13304
  */
13057
13305
  class StringFilterCellComponent extends StringFilterComponent {
13058
- constructor(filterService, localization, sizingService) {
13059
- super(filterService, localization);
13306
+ constructor(filterService, ctx, sizingService) {
13307
+ super(filterService, ctx);
13060
13308
  /**
13061
13309
  * Determines the delay time (in milliseconds) before the filter value is submitted.
13062
13310
  * A value of `0` indicates no delay.
@@ -13081,12 +13329,12 @@ class StringFilterCellComponent extends StringFilterComponent {
13081
13329
  * @hidden
13082
13330
  */
13083
13331
  get columnLabel() {
13084
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13332
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13085
13333
  const columnName = this.column.title || this.column.field;
13086
13334
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13087
13335
  }
13088
13336
  }
13089
- 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 });
13337
+ 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 });
13090
13338
  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: `
13091
13339
  <kendo-grid-filter-wrapper-cell
13092
13340
  [column]="column"
@@ -13126,7 +13374,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13126
13374
  </kendo-grid-filter-wrapper-cell>
13127
13375
  `
13128
13376
  }]
13129
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13377
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13130
13378
  type: Input
13131
13379
  }], showOperators: [{
13132
13380
  type: Input
@@ -13149,13 +13397,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13149
13397
  * ```
13150
13398
  */
13151
13399
  class NumericFilterCellComponent extends NumericFilterComponent {
13152
- constructor(filterService, localization, sizingService) {
13153
- super(filterService, localization);
13154
- this.localization = localization;
13400
+ constructor(filterService, ctx, sizingService) {
13401
+ super(filterService, ctx);
13402
+ this.ctx = ctx;
13155
13403
  /**
13156
13404
  * Determines the delay time (in milliseconds) before the filter value is submitted.
13157
13405
  * A value of `0` indicates no delay. The default value is `500`.
13158
- * @type {boolean}
13406
+ * @type {boolean}\
13159
13407
  * @default 500
13160
13408
  */
13161
13409
  this.filterDelay = 500;
@@ -13175,18 +13423,18 @@ class NumericFilterCellComponent extends NumericFilterComponent {
13175
13423
  * @hidden
13176
13424
  */
13177
13425
  messageFor(key) {
13178
- return this.localization.get(key);
13426
+ return this.ctx.localization.get(key);
13179
13427
  }
13180
13428
  /**
13181
13429
  * @hidden
13182
13430
  */
13183
13431
  get columnLabel() {
13184
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13432
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13185
13433
  const columnName = this.column.title || this.column.field;
13186
13434
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13187
13435
  }
13188
13436
  }
13189
- 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 });
13437
+ 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 });
13190
13438
  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: `
13191
13439
  <kendo-grid-filter-wrapper-cell
13192
13440
  [column]="column"
@@ -13254,7 +13502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13254
13502
  </kendo-grid-filter-wrapper-cell>
13255
13503
  `
13256
13504
  }]
13257
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13505
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { filterDelay: [{
13258
13506
  type: Input
13259
13507
  }], showOperators: [{
13260
13508
  type: Input
@@ -13278,8 +13526,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13278
13526
  * ```
13279
13527
  */
13280
13528
  class BooleanFilterCellComponent extends BooleanFilterComponent {
13281
- constructor(filterService, localization, cd, sizingService) {
13282
- super(filterService, localization);
13529
+ constructor(filterService, ctx, cd, sizingService) {
13530
+ super(filterService, ctx);
13283
13531
  this.cd = cd;
13284
13532
  /**
13285
13533
  * @hidden
@@ -13298,12 +13546,12 @@ class BooleanFilterCellComponent extends BooleanFilterComponent {
13298
13546
  * @hidden
13299
13547
  */
13300
13548
  get columnLabel() {
13301
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13549
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13302
13550
  const columnName = this.column.title || this.column.field;
13303
13551
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13304
13552
  }
13305
13553
  }
13306
- 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 });
13554
+ 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 });
13307
13555
  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: `
13308
13556
  <kendo-grid-filter-wrapper-cell
13309
13557
  [column]="column"
@@ -13351,7 +13599,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13351
13599
  </kendo-grid-filter-wrapper-cell>
13352
13600
  `
13353
13601
  }]
13354
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: SizingOptionsService }]; } });
13602
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type: SizingOptionsService }]; } });
13355
13603
 
13356
13604
  /**
13357
13605
  * Represents a [DatePicker](slug:overview_datepicker) filter-cell component.
@@ -13370,9 +13618,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13370
13618
  * ```
13371
13619
  */
13372
13620
  class DateFilterCellComponent extends DateFilterComponent {
13373
- constructor(filterService, localization, sizingService) {
13374
- super(filterService, localization);
13375
- this.localization = localization;
13621
+ constructor(filterService, ctx, sizingService) {
13622
+ super(filterService, ctx);
13623
+ this.ctx = ctx;
13376
13624
  /**
13377
13625
  * Represents a [DatePicker](slug:overview_datepicker) filter-cell component.
13378
13626
  * [See example](slug:filter_row#toc-built-in-filter-row-components).
@@ -13401,18 +13649,18 @@ class DateFilterCellComponent extends DateFilterComponent {
13401
13649
  * @hidden
13402
13650
  */
13403
13651
  messageFor(key) {
13404
- return this.localization.get(key);
13652
+ return this.ctx.localization.get(key);
13405
13653
  }
13406
13654
  /**
13407
13655
  * @hidden
13408
13656
  */
13409
13657
  get columnLabel() {
13410
- const localizationMsg = this.localization.get('filterInputLabel') || '';
13658
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13411
13659
  const columnName = this.column.title || this.column.field;
13412
13660
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13413
13661
  }
13414
13662
  }
13415
- 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 });
13663
+ 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 });
13416
13664
  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: `
13417
13665
  <kendo-grid-filter-wrapper-cell
13418
13666
  [column]="column"
@@ -13482,7 +13730,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13482
13730
  </kendo-grid-filter-wrapper-cell>
13483
13731
  `
13484
13732
  }]
13485
- }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
13733
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
13486
13734
  type: Input
13487
13735
  }] } });
13488
13736
 
@@ -13777,8 +14025,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13777
14025
  * @hidden
13778
14026
  */
13779
14027
  class FilterRowComponent {
13780
- constructor(localization, columnInfoService) {
13781
- this.localization = localization;
14028
+ constructor(ctx, columnInfoService) {
14029
+ this.ctx = ctx;
13782
14030
  this.columnInfoService = columnInfoService;
13783
14031
  this.columns = [];
13784
14032
  this.groups = [];
@@ -13789,12 +14037,12 @@ class FilterRowComponent {
13789
14037
  return { ...sticky, ...column.filterStyle };
13790
14038
  }
13791
14039
  filterLabel(column) {
13792
- const localizationMsg = this.localization.get('filterInputLabel') || '';
14040
+ const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
13793
14041
  const columnName = column.title || column.field;
13794
14042
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
13795
14043
  }
13796
14044
  }
13797
- 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 });
14045
+ 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 });
13798
14046
  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: `
13799
14047
  <td
13800
14048
  class="k-table-td"
@@ -13854,7 +14102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
13854
14102
  ></td>
13855
14103
  `
13856
14104
  }]
13857
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }]; }, propDecorators: { columns: [{
14105
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }]; }, propDecorators: { columns: [{
13858
14106
  type: Input
13859
14107
  }], filter: [{
13860
14108
  type: Input
@@ -14164,13 +14412,13 @@ const indexOf = (target, list) => {
14164
14412
  * @hidden
14165
14413
  */
14166
14414
  class ColumnHandleDirective {
14167
- constructor(draggable, element, service, zone, cdr, localization, columnInfoService) {
14415
+ constructor(draggable, element, service, zone, cdr, ctx, columnInfoService) {
14168
14416
  this.draggable = draggable;
14169
14417
  this.element = element;
14170
14418
  this.service = service;
14171
14419
  this.zone = zone;
14172
14420
  this.cdr = cdr;
14173
- this.localization = localization;
14421
+ this.ctx = ctx;
14174
14422
  this.columnInfoService = columnInfoService;
14175
14423
  this.columns = [];
14176
14424
  this.subscriptions = new Subscription();
@@ -14225,7 +14473,7 @@ class ColumnHandleDirective {
14225
14473
  .subscribe(this.sizeToFit.bind(this)));
14226
14474
  this.subscriptions.add(service.pipe(filter(e => e.type === 'triggerAutoFit'))
14227
14475
  .subscribe(this.autoFit.bind(this)));
14228
- this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
14476
+ this.subscriptions.add(this.ctx.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
14229
14477
  }
14230
14478
  ngOnDestroy() {
14231
14479
  if (this.subscriptions) {
@@ -14301,7 +14549,7 @@ class ColumnHandleDirective {
14301
14549
  }
14302
14550
  }
14303
14551
  }
14304
- 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 });
14552
+ 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 });
14305
14553
  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 });
14306
14554
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnHandleDirective, decorators: [{
14307
14555
  type: Directive,
@@ -14310,7 +14558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
14310
14558
  }]
14311
14559
  }], ctorParameters: function () { return [{ type: i1$1.DraggableDirective, decorators: [{
14312
14560
  type: Host
14313
- }] }, { type: i0.ElementRef }, { type: ColumnResizingService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: ColumnInfoService }]; }, propDecorators: { columns: [{
14561
+ }] }, { type: i0.ElementRef }, { type: ColumnResizingService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: ColumnInfoService }]; }, propDecorators: { columns: [{
14314
14562
  type: Input
14315
14563
  }], column: [{
14316
14564
  type: Input
@@ -14353,14 +14601,13 @@ const modifierKeys = ['alt', 'ctrl', 'shift', 'meta'];
14353
14601
  * @hidden
14354
14602
  */
14355
14603
  class HeaderComponent {
14356
- constructor(popupService, hint, cue, reorderService, idService, sortService, localization, columnInfoService, cd, contextService) {
14604
+ constructor(popupService, hint, cue, reorderService, idService, sortService, columnInfoService, cd, contextService) {
14357
14605
  this.popupService = popupService;
14358
14606
  this.hint = hint;
14359
14607
  this.cue = cue;
14360
14608
  this.reorderService = reorderService;
14361
14609
  this.idService = idService;
14362
14610
  this.sortService = sortService;
14363
- this.localization = localization;
14364
14611
  this.columnInfoService = columnInfoService;
14365
14612
  this.cd = cd;
14366
14613
  this.contextService = contextService;
@@ -14386,7 +14633,7 @@ class HeaderComponent {
14386
14633
  return !this.scrollable;
14387
14634
  }
14388
14635
  get sortableLabel() {
14389
- return this.localization.get('sortable');
14636
+ return this.contextService.localization.get('sortable');
14390
14637
  }
14391
14638
  get columnMenuSettings() {
14392
14639
  return this.columnMenu;
@@ -14452,7 +14699,7 @@ class HeaderComponent {
14452
14699
  args.preventDefault();
14453
14700
  const columnsCount = this.columnInfoService.leafNamedColumns.length;
14454
14701
  const reorderDirection = args.keyCode === Keys.ArrowLeft ? -1 : 1;
14455
- const rtlMultiplier = this.localization.rtl ? -1 : 1;
14702
+ const rtlMultiplier = this.contextService.localization.rtl ? -1 : 1;
14456
14703
  const reorderDirectionOffset = reorderDirection * rtlMultiplier;
14457
14704
  const newIndex = column.leafIndex + reorderDirectionOffset;
14458
14705
  const normalizedNewIndex = Math.min(Math.max(0, newIndex), columnsCount - 1);
@@ -14510,7 +14757,7 @@ class HeaderComponent {
14510
14757
  else if (state.dir === 'desc') {
14511
14758
  msg = 'sortedDescending';
14512
14759
  }
14513
- return this.localization.get(msg);
14760
+ return this.contextService.localization.get(msg);
14514
14761
  }
14515
14762
  /**
14516
14763
  *
@@ -14556,7 +14803,7 @@ class HeaderComponent {
14556
14803
  }
14557
14804
  }
14558
14805
  ngOnInit() {
14559
- this.subscription.add(this.localization.changes
14806
+ this.subscription.add(this.contextService.localization.changes
14560
14807
  .subscribe(() => this.cd.markForCheck()));
14561
14808
  }
14562
14809
  ngOnDestroy() {
@@ -14572,7 +14819,7 @@ class HeaderComponent {
14572
14819
  return this.idService.selectAllCheckboxId();
14573
14820
  }
14574
14821
  get selectAllCheckboxLabel() {
14575
- return this.localization.get('selectAllCheckboxLabel');
14822
+ return this.contextService.localization.get('selectAllCheckboxLabel');
14576
14823
  }
14577
14824
  isFirstOnRow(column, index) {
14578
14825
  const isTailing = (c) => c &&
@@ -14710,7 +14957,7 @@ class HeaderComponent {
14710
14957
  const halfWidth = targetElement.offsetWidth / 2;
14711
14958
  const middle = left + halfWidth;
14712
14959
  before = middle > mouseEvent.pageX;
14713
- if (this.localization.rtl) {
14960
+ if (this.contextService.localization.rtl) {
14714
14961
  before = !before;
14715
14962
  }
14716
14963
  }
@@ -14721,7 +14968,7 @@ class HeaderComponent {
14721
14968
  }
14722
14969
  enter({ target, before }) {
14723
14970
  this.hint.enable();
14724
- if (this.localization.rtl) {
14971
+ if (this.contextService.localization.rtl) {
14725
14972
  before = !before;
14726
14973
  }
14727
14974
  this.cue.position(position(target.element.nativeElement, before));
@@ -14739,7 +14986,7 @@ class HeaderComponent {
14739
14986
  });
14740
14987
  }
14741
14988
  }
14742
- 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 });
14989
+ 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 });
14743
14990
  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: `
14744
14991
  <ng-container>
14745
14992
  <tr *ngFor="let i of columnLevels; let levelIndex = index"
@@ -15197,7 +15444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15197
15444
  </ng-container>
15198
15445
  `
15199
15446
  }]
15200
- }], 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: [{
15447
+ }], ctorParameters: function () { return [{ type: SinglePopupService }, { type: DragHintService }, { type: DropCueService }, { type: ColumnReorderService }, { type: IdService }, { type: SortService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }, { type: ContextService }]; }, propDecorators: { totalColumnLevels: [{
15201
15448
  type: Input
15202
15449
  }], columns: [{
15203
15450
  type: Input
@@ -15614,10 +15861,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15614
15861
  * @hidden
15615
15862
  */
15616
15863
  class CellComponent {
15617
- constructor(editService, idService, localizationService, cellContext) {
15864
+ constructor(editService, idService, ctx, cellContext) {
15618
15865
  this.editService = editService;
15619
15866
  this.idService = idService;
15620
- this.localizationService = localizationService;
15867
+ this.ctx = ctx;
15621
15868
  this.cellContext = cellContext;
15622
15869
  this.isNew = false;
15623
15870
  this.isLoading = false;
@@ -15633,7 +15880,7 @@ class CellComponent {
15633
15880
  return isRowReorderColumn(this.column);
15634
15881
  }
15635
15882
  get dragRowHandleLabel() {
15636
- return isRowReorderColumn(this.column) ? this.localizationService.get('dragRowHandleLabel') : undefined;
15883
+ return isRowReorderColumn(this.column) ? this.ctx.localization.get('dragRowHandleLabel') : undefined;
15637
15884
  }
15638
15885
  set rowIndex(index) {
15639
15886
  this._rowIndex = index;
@@ -15683,7 +15930,7 @@ class CellComponent {
15683
15930
  return this.idService.selectionCheckboxId(this.rowIndex);
15684
15931
  }
15685
15932
  get selectionCheckboxLabel() {
15686
- return this.localizationService.get('selectionCheckboxLabel');
15933
+ return this.ctx.localization.get('selectionCheckboxLabel');
15687
15934
  }
15688
15935
  get isSpanColumn() {
15689
15936
  return isSpanColumn(this.column) && !this.column.templateRef;
@@ -15739,7 +15986,7 @@ class CellComponent {
15739
15986
  context.$implicit = this.dataItem;
15740
15987
  }
15741
15988
  }
15742
- 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 });
15989
+ 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 });
15743
15990
  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: `
15744
15991
  <ng-container [ngSwitch]="isEdited">
15745
15992
  <ng-container *ngSwitchCase="false">
@@ -15899,7 +16146,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15899
16146
  </ng-container>
15900
16147
  `
15901
16148
  }]
15902
- }], ctorParameters: function () { return [{ type: EditService }, { type: IdService }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
16149
+ }], ctorParameters: function () { return [{ type: EditService }, { type: IdService }, { type: ContextService }, { type: undefined, decorators: [{
15903
16150
  type: Optional
15904
16151
  }, {
15905
16152
  type: Inject,
@@ -15938,10 +16185,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
15938
16185
  * @hidden
15939
16186
  */
15940
16187
  class GroupHeaderComponent {
15941
- constructor(groupsService, groupInfoService, localization) {
16188
+ constructor(groupsService, groupInfoService, ctx) {
15942
16189
  this.groupsService = groupsService;
15943
16190
  this.groupInfoService = groupInfoService;
15944
- this.localization = localization;
16191
+ this.ctx = ctx;
15945
16192
  this.skipGroupDecoration = false;
15946
16193
  this.hasDetails = false;
15947
16194
  this.totalColumnsCount = 0;
@@ -15999,10 +16246,10 @@ class GroupHeaderComponent {
15999
16246
  }
16000
16247
  get groupButtonTitle() {
16001
16248
  const messageKey = this.isExpanded ? 'groupCollapse' : 'groupExpand';
16002
- return this.localization.get(messageKey);
16249
+ return this.ctx.localization.get(messageKey);
16003
16250
  }
16004
16251
  }
16005
- 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 });
16252
+ 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 });
16006
16253
  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: `
16007
16254
  <ng-container *ngIf="!skipGroupDecoration">
16008
16255
  <td class="k-group-cell k-table-td"
@@ -16148,7 +16395,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16148
16395
  </ng-container>
16149
16396
  `
16150
16397
  }]
16151
- }], ctorParameters: function () { return [{ type: GroupsService }, { type: GroupInfoService }, { type: i1.LocalizationService }]; }, propDecorators: { rowIndex: [{
16398
+ }], ctorParameters: function () { return [{ type: GroupsService }, { type: GroupInfoService }, { type: ContextService }]; }, propDecorators: { rowIndex: [{
16152
16399
  type: Input
16153
16400
  }], logicalRowIndex: [{
16154
16401
  type: Input
@@ -16191,12 +16438,12 @@ const columnCellIndex = (cell, cells) => {
16191
16438
  * @hidden
16192
16439
  */
16193
16440
  class TableBodyComponent {
16194
- constructor(detailsService, groupsService, changeNotification, editService, localization, ngZone, renderer, element, domEvents, selectionService, cellSelectionService, columnInfoService, navigationService) {
16441
+ constructor(detailsService, groupsService, changeNotification, editService, ctx, ngZone, renderer, element, domEvents, selectionService, cellSelectionService, columnInfoService, navigationService) {
16195
16442
  this.detailsService = detailsService;
16196
16443
  this.groupsService = groupsService;
16197
16444
  this.changeNotification = changeNotification;
16198
16445
  this.editService = editService;
16199
- this.localization = localization;
16446
+ this.ctx = ctx;
16200
16447
  this.ngZone = ngZone;
16201
16448
  this.renderer = renderer;
16202
16449
  this.element = element;
@@ -16208,7 +16455,7 @@ class TableBodyComponent {
16208
16455
  this.columns = [];
16209
16456
  this.groups = [];
16210
16457
  this.skip = 0;
16211
- this.noRecordsText = this.localization.get('noRecords');
16458
+ this.noRecordsText = this.ctx.localization.get('noRecords');
16212
16459
  this.isLocked = false;
16213
16460
  this.skipGroupDecoration = false;
16214
16461
  this.showGroupFooters = false;
@@ -16251,7 +16498,7 @@ class TableBodyComponent {
16251
16498
  }
16252
16499
  detailButtonTitle(viewItem) {
16253
16500
  const messageKey = this.isExpanded(viewItem) ? 'detailCollapse' : 'detailExpand';
16254
- return this.localization.get(messageKey);
16501
+ return this.ctx.localization.get(messageKey);
16255
16502
  }
16256
16503
  isGroup(item) {
16257
16504
  return item.type === 'group';
@@ -16360,10 +16607,10 @@ class TableBodyComponent {
16360
16607
  touchendSubscription();
16361
16608
  };
16362
16609
  });
16363
- let originalNoRecordText = this.localization.get('noRecords');
16364
- this.l10nSubscription = this.localization.changes.subscribe(() => {
16610
+ let originalNoRecordText = this.ctx.localization.get('noRecords');
16611
+ this.l10nSubscription = this.ctx.localization.changes.subscribe(() => {
16365
16612
  if (this.noRecordsText === originalNoRecordText) {
16366
- this.noRecordsText = this.localization.get('noRecords');
16613
+ this.noRecordsText = this.ctx.localization.get('noRecords');
16367
16614
  originalNoRecordText = this.noRecordsText;
16368
16615
  }
16369
16616
  });
@@ -16521,7 +16768,7 @@ class TableBodyComponent {
16521
16768
  }
16522
16769
  }
16523
16770
  }
16524
- 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 });
16771
+ 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 });
16525
16772
  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: `
16526
16773
  <ng-container *ngIf="editService.hasNewItem">
16527
16774
  <tr class="k-grid-add-row k-grid-edit-row k-master-row"
@@ -16971,7 +17218,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16971
17218
  <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
16972
17219
  `
16973
17220
  }]
16974
- }], 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: [{
17221
+ }], 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: [{
16975
17222
  type: Input
16976
17223
  }], allColumns: [{
16977
17224
  type: Input
@@ -17294,7 +17541,7 @@ const bufferSize = 1;
17294
17541
  * @hidden
17295
17542
  */
17296
17543
  class ListComponent {
17297
- constructor(scrollerFactory, detailsService, changeNotification, suspendService, groupsService, ngZone, renderer, scrollSyncService, resizeService, editService, supportService, navigationService, scrollRequestService, localization, columnResizingService, changeDetector, pdfService, columnInfo) {
17544
+ constructor(scrollerFactory, detailsService, changeNotification, suspendService, groupsService, ngZone, renderer, scrollSyncService, resizeService, editService, supportService, navigationService, scrollRequestService, ctx, columnResizingService, changeDetector, pdfService, columnInfo) {
17298
17545
  this.changeNotification = changeNotification;
17299
17546
  this.suspendService = suspendService;
17300
17547
  this.groupsService = groupsService;
@@ -17305,7 +17552,7 @@ class ListComponent {
17305
17552
  this.editService = editService;
17306
17553
  this.supportService = supportService;
17307
17554
  this.navigationService = navigationService;
17308
- this.localization = localization;
17555
+ this.ctx = ctx;
17309
17556
  this.columnResizingService = columnResizingService;
17310
17557
  this.changeDetector = changeDetector;
17311
17558
  this.pdfService = pdfService;
@@ -17381,7 +17628,7 @@ class ListComponent {
17381
17628
  });
17382
17629
  }
17383
17630
  }));
17384
- this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
17631
+ this.subscriptions.add(this.ctx.localization.changes.subscribe(({ rtl }) => this.rtl = rtl));
17385
17632
  }
17386
17633
  ngOnChanges(changes) {
17387
17634
  if (!isDocumentAvailable()) {
@@ -17776,7 +18023,7 @@ class ListComponent {
17776
18023
  return element.offsetLeft;
17777
18024
  }
17778
18025
  }
17779
- 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 });
18026
+ 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 });
17780
18027
  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: [
17781
18028
  {
17782
18029
  provide: SCROLLER_FACTORY_TOKEN,
@@ -18014,7 +18261,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18014
18261
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
18015
18262
  type: Inject,
18016
18263
  args: [SCROLLER_FACTORY_TOKEN]
18017
- }] }, { 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 }]; }, propDecorators: { hostClass: [{
18264
+ }] }, { 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 }]; }, propDecorators: { hostClass: [{
18018
18265
  type: HostBinding,
18019
18266
  args: ['class.k-grid-container']
18020
18267
  }], hostRole: [{
@@ -18241,15 +18488,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18241
18488
  * @hidden
18242
18489
  */
18243
18490
  class LoadingComponent {
18244
- constructor(localization) {
18245
- this.localization = localization;
18491
+ constructor(ctx) {
18492
+ this.ctx = ctx;
18246
18493
  this.hostClass = true;
18247
18494
  }
18248
18495
  get loadingText() {
18249
- return this.localization.get('loading');
18496
+ return this.ctx.localization.get('loading');
18250
18497
  }
18251
18498
  }
18252
- LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LoadingComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
18499
+ LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LoadingComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
18253
18500
  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: `
18254
18501
  <ng-container *ngIf="!loadingTemplate">
18255
18502
  <span class="k-loading-text">{{ loadingText }}</span>
@@ -18273,7 +18520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18273
18520
  </ng-template>
18274
18521
  `
18275
18522
  }]
18276
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
18523
+ }], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { hostClass: [{
18277
18524
  type: HostBinding,
18278
18525
  args: ['class.k-loading-mask']
18279
18526
  }], loadingTemplate: [{
@@ -18286,7 +18533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18286
18533
  class GridMessages extends ComponentMessages {
18287
18534
  }
18288
18535
  GridMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
18289
- 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 });
18536
+ 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 });
18290
18537
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridMessages, decorators: [{
18291
18538
  type: Directive,
18292
18539
  args: [{
@@ -18445,6 +18692,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
18445
18692
  type: Input
18446
18693
  }], dragRowHandleLabel: [{
18447
18694
  type: Input
18695
+ }], columnMenuFilterTabTitle: [{
18696
+ type: Input
18697
+ }], columnMenuGeneralTabTitle: [{
18698
+ type: Input
18699
+ }], columnMenuColumnsTabTitle: [{
18700
+ type: Input
18448
18701
  }] } });
18449
18702
 
18450
18703
  /**
@@ -20590,6 +20843,15 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
20590
20843
 
20591
20844
  i18n-dragRowHandleLabel="kendo.grid.dragRowHandleLabel|The label for the Grid drag row handle"
20592
20845
  dragRowHandleLabel="Drag row"
20846
+
20847
+ i18n-columnMenuFilterTabTitle="kendo.grid.columnMenuFilterTabTitle|The title for the column menu Filter tab"
20848
+ columnMenuFilterTabTitle="Filter"
20849
+
20850
+ i18n-columnMenuGeneralTabTitle="kendo.grid.columnMenuGeneralTabTitle|The title for the column menu General tab"
20851
+ columnMenuGeneralTabTitle="General"
20852
+
20853
+ i18n-columnMenuColumnsTabTitle="kendo.grid.columnMenuColumnsTabTitle|The title for the column menu Columns tab"
20854
+ columnMenuColumnsTabTitle="Columns"
20593
20855
  >
20594
20856
  </ng-container>
20595
20857
  <kendo-grid-toolbar
@@ -21190,6 +21452,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
21190
21452
 
21191
21453
  i18n-dragRowHandleLabel="kendo.grid.dragRowHandleLabel|The label for the Grid drag row handle"
21192
21454
  dragRowHandleLabel="Drag row"
21455
+
21456
+ i18n-columnMenuFilterTabTitle="kendo.grid.columnMenuFilterTabTitle|The title for the column menu Filter tab"
21457
+ columnMenuFilterTabTitle="Filter"
21458
+
21459
+ i18n-columnMenuGeneralTabTitle="kendo.grid.columnMenuGeneralTabTitle|The title for the column menu General tab"
21460
+ columnMenuGeneralTabTitle="General"
21461
+
21462
+ i18n-columnMenuColumnsTabTitle="kendo.grid.columnMenuColumnsTabTitle|The title for the column menu Columns tab"
21463
+ columnMenuColumnsTabTitle="Columns"
21193
21464
  >
21194
21465
  </ng-container>
21195
21466
  <kendo-grid-toolbar
@@ -22187,12 +22458,12 @@ const stringOperators = localizeOperators({
22187
22458
  * @hidden
22188
22459
  */
22189
22460
  class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
22190
- constructor(filterService, column, localization, sizingOptionsService) {
22461
+ constructor(filterService, column, ctx, sizingOptionsService) {
22191
22462
  super(filterService);
22192
- this.localization = localization;
22463
+ this.ctx = ctx;
22193
22464
  this.showOperators = true;
22194
22465
  this.size = 'medium';
22195
- this.defaultOperators = stringOperators(this.localization);
22466
+ this.defaultOperators = stringOperators(this.ctx.localization);
22196
22467
  this.column = column;
22197
22468
  this.subs = sizingOptionsService.changes.subscribe(size => this.size = size);
22198
22469
  }
@@ -22214,7 +22485,7 @@ class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
22214
22485
  }
22215
22486
  }
22216
22487
  }
22217
- 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 });
22488
+ 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 });
22218
22489
  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: `
22219
22490
  <kendo-grid-filter-wrapper-cell
22220
22491
  [column]="column"
@@ -22250,7 +22521,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22250
22521
  </kendo-grid-filter-wrapper-cell>
22251
22522
  `
22252
22523
  }]
22253
- }], ctorParameters: function () { return [{ type: FilterService }, { type: ColumnComponent }, { type: i1.LocalizationService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
22524
+ }], ctorParameters: function () { return [{ type: FilterService }, { type: ColumnComponent }, { type: ContextService }, { type: SizingOptionsService }]; }, propDecorators: { showOperators: [{
22254
22525
  type: Input
22255
22526
  }], column: [{
22256
22527
  type: Input
@@ -22340,9 +22611,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22340
22611
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22341
22612
  */
22342
22613
  class ContainsFilterOperatorComponent extends FilterOperatorBase {
22343
- constructor(localization) { super("contains", localization); }
22614
+ constructor(ctx) { super("contains", ctx); }
22344
22615
  }
22345
- ContainsFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContainsFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22616
+ ContainsFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ContainsFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22346
22617
  ContainsFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ContainsFilterOperatorComponent, selector: "kendo-filter-contains-operator", providers: [
22347
22618
  {
22348
22619
  provide: FilterOperatorBase,
@@ -22361,7 +22632,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22361
22632
  selector: 'kendo-filter-contains-operator',
22362
22633
  template: ``
22363
22634
  }]
22364
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22635
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22365
22636
 
22366
22637
  /**
22367
22638
  * Represents the `DoesNotContain` (**Does not contain**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22369,9 +22640,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22369
22640
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22370
22641
  */
22371
22642
  class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
22372
- constructor(localization) { super("doesnotcontain", localization); }
22643
+ constructor(ctx) { super("doesnotcontain", ctx); }
22373
22644
  }
22374
- DoesNotContainFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22645
+ DoesNotContainFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22375
22646
  DoesNotContainFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DoesNotContainFilterOperatorComponent, selector: "kendo-filter-not-contains-operator", providers: [
22376
22647
  {
22377
22648
  provide: FilterOperatorBase,
@@ -22390,7 +22661,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22390
22661
  selector: 'kendo-filter-not-contains-operator',
22391
22662
  template: ``
22392
22663
  }]
22393
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22664
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22394
22665
 
22395
22666
  /**
22396
22667
  * Represents the `EndsWith` (**Ends with**) string filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22398,9 +22669,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22398
22669
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22399
22670
  */
22400
22671
  class EndsWithFilterOperatorComponent extends FilterOperatorBase {
22401
- constructor(localization) { super("endswith", localization); }
22672
+ constructor(ctx) { super("endswith", ctx); }
22402
22673
  }
22403
- EndsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EndsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22674
+ EndsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EndsWithFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22404
22675
  EndsWithFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EndsWithFilterOperatorComponent, selector: "kendo-filter-endswith-operator", providers: [
22405
22676
  {
22406
22677
  provide: FilterOperatorBase,
@@ -22419,7 +22690,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22419
22690
  selector: 'kendo-filter-endswith-operator',
22420
22691
  template: ``
22421
22692
  }]
22422
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22693
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22423
22694
 
22424
22695
  /**
22425
22696
  * Represents the `Equal` (**Is equal to**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22427,9 +22698,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22427
22698
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22428
22699
  */
22429
22700
  class EqualFilterOperatorComponent extends FilterOperatorBase {
22430
- constructor(localization) { super("eq", localization); }
22701
+ constructor(ctx) { super("eq", ctx); }
22431
22702
  }
22432
- EqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22703
+ EqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EqualFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22433
22704
  EqualFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EqualFilterOperatorComponent, selector: "kendo-filter-eq-operator", providers: [
22434
22705
  {
22435
22706
  provide: FilterOperatorBase,
@@ -22448,7 +22719,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22448
22719
  selector: 'kendo-filter-eq-operator',
22449
22720
  template: ``
22450
22721
  }]
22451
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22722
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22452
22723
 
22453
22724
  /**
22454
22725
  * Represents the `IsEmpty` (**Is empty**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22456,9 +22727,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22456
22727
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22457
22728
  */
22458
22729
  class IsEmptyFilterOperatorComponent extends FilterOperatorBase {
22459
- constructor(localization) { super("isempty", localization); }
22730
+ constructor(ctx) { super("isempty", ctx); }
22460
22731
  }
22461
- IsEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22732
+ IsEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsEmptyFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22462
22733
  IsEmptyFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsEmptyFilterOperatorComponent, selector: "kendo-filter-isempty-operator", providers: [
22463
22734
  {
22464
22735
  provide: FilterOperatorBase,
@@ -22477,7 +22748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22477
22748
  selector: 'kendo-filter-isempty-operator',
22478
22749
  template: ``
22479
22750
  }]
22480
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22751
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22481
22752
 
22482
22753
  /**
22483
22754
  * Represents the `IsNotEmpty` (**Is not empty**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22485,9 +22756,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22485
22756
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22486
22757
  */
22487
22758
  class IsNotEmptyFilterOperatorComponent extends FilterOperatorBase {
22488
- constructor(localization) { super("isnotempty", localization); }
22759
+ constructor(ctx) { super("isnotempty", ctx); }
22489
22760
  }
22490
- IsNotEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22761
+ IsNotEmptyFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotEmptyFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22491
22762
  IsNotEmptyFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNotEmptyFilterOperatorComponent, selector: "kendo-filter-isnotempty-operator", providers: [
22492
22763
  {
22493
22764
  provide: FilterOperatorBase,
@@ -22506,7 +22777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22506
22777
  selector: 'kendo-filter-isnotempty-operator',
22507
22778
  template: ``
22508
22779
  }]
22509
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22780
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22510
22781
 
22511
22782
  /**
22512
22783
  * Represents the `IsNotNull` (**Is not null**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22514,9 +22785,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22514
22785
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22515
22786
  */
22516
22787
  class IsNotNullFilterOperatorComponent extends FilterOperatorBase {
22517
- constructor(localization) { super("isnotnull", localization); }
22788
+ constructor(ctx) { super("isnotnull", ctx); }
22518
22789
  }
22519
- IsNotNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22790
+ IsNotNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNotNullFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22520
22791
  IsNotNullFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNotNullFilterOperatorComponent, selector: "kendo-filter-isnotnull-operator", providers: [
22521
22792
  {
22522
22793
  provide: FilterOperatorBase,
@@ -22535,7 +22806,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22535
22806
  selector: 'kendo-filter-isnotnull-operator',
22536
22807
  template: ``
22537
22808
  }]
22538
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22809
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22539
22810
 
22540
22811
  /**
22541
22812
  * Represents the `IsNull` (**Is null**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22543,9 +22814,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22543
22814
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22544
22815
  */
22545
22816
  class IsNullFilterOperatorComponent extends FilterOperatorBase {
22546
- constructor(localization) { super("isnull", localization); }
22817
+ constructor(ctx) { super("isnull", ctx); }
22547
22818
  }
22548
- IsNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22819
+ IsNullFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: IsNullFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22549
22820
  IsNullFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: IsNullFilterOperatorComponent, selector: "kendo-filter-isnull-operator", providers: [
22550
22821
  {
22551
22822
  provide: FilterOperatorBase,
@@ -22564,7 +22835,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22564
22835
  selector: 'kendo-filter-isnull-operator',
22565
22836
  template: ``
22566
22837
  }]
22567
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22838
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22568
22839
 
22569
22840
  /**
22570
22841
  * Represents the `NotEqual` (**Is not equal to**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22572,9 +22843,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22572
22843
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22573
22844
  */
22574
22845
  class NotEqualFilterOperatorComponent extends FilterOperatorBase {
22575
- constructor(localization) { super("neq", localization); }
22846
+ constructor(ctx) { super("neq", ctx); }
22576
22847
  }
22577
- NotEqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22848
+ NotEqualFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22578
22849
  NotEqualFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NotEqualFilterOperatorComponent, selector: "kendo-filter-neq-operator", providers: [
22579
22850
  {
22580
22851
  provide: FilterOperatorBase,
@@ -22593,7 +22864,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22593
22864
  selector: 'kendo-filter-neq-operator',
22594
22865
  template: ``
22595
22866
  }]
22596
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22867
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22597
22868
 
22598
22869
  /**
22599
22870
  * Represents the `StartsWith` (**Starts with**) filter operator. [See example](slug:filtering_grid#toc-using-the-built-in-directive).
@@ -22601,9 +22872,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22601
22872
  * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row#toc-default-filter-operator).
22602
22873
  */
22603
22874
  class StartsWithFilterOperatorComponent extends FilterOperatorBase {
22604
- constructor(localization) { super("startswith", localization); }
22875
+ constructor(ctx) { super("startswith", ctx); }
22605
22876
  }
22606
- StartsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22877
+ StartsWithFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22607
22878
  StartsWithFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StartsWithFilterOperatorComponent, selector: "kendo-filter-startswith-operator", providers: [
22608
22879
  {
22609
22880
  provide: FilterOperatorBase,
@@ -22622,16 +22893,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22622
22893
  selector: 'kendo-filter-startswith-operator',
22623
22894
  template: ``
22624
22895
  }]
22625
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22896
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22626
22897
 
22627
22898
  /**
22628
22899
  * Represents the `Greater` (**Is greater than**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
22629
22900
  * [See example](slug:filter_row#toc-default-filter-operator).
22630
22901
  */
22631
22902
  class GreaterFilterOperatorComponent extends FilterOperatorBase {
22632
- constructor(localization) { super("gt", localization); }
22903
+ constructor(ctx) { super("gt", ctx); }
22633
22904
  }
22634
- GreaterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22905
+ GreaterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22635
22906
  GreaterFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GreaterFilterOperatorComponent, selector: "kendo-filter-gt-operator", providers: [
22636
22907
  {
22637
22908
  provide: FilterOperatorBase,
@@ -22650,16 +22921,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22650
22921
  selector: 'kendo-filter-gt-operator',
22651
22922
  template: ``
22652
22923
  }]
22653
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22924
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22654
22925
 
22655
22926
  /**
22656
22927
  * Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
22657
22928
  * [See example](slug:filter_row#toc-default-filter-operator).
22658
22929
  */
22659
22930
  class GreaterOrEqualToFilterOperatorComponent extends FilterOperatorBase {
22660
- constructor(localization) { super("gte", localization); }
22931
+ constructor(ctx) { super("gte", ctx); }
22661
22932
  }
22662
- GreaterOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22933
+ GreaterOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GreaterOrEqualToFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22663
22934
  GreaterOrEqualToFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GreaterOrEqualToFilterOperatorComponent, selector: "kendo-filter-gte-operator", providers: [
22664
22935
  {
22665
22936
  provide: FilterOperatorBase,
@@ -22678,7 +22949,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22678
22949
  selector: 'kendo-filter-gte-operator',
22679
22950
  template: ``
22680
22951
  }]
22681
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22952
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22682
22953
 
22683
22954
  /**
22684
22955
  * Represents the `Less` (**Is less than**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
@@ -22686,9 +22957,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22686
22957
  * [See example](slug:filter_row#toc-default-filter-operator).
22687
22958
  */
22688
22959
  class LessFilterOperatorComponent extends FilterOperatorBase {
22689
- constructor(localization) { super("lt", localization); }
22960
+ constructor(ctx) { super("lt", ctx); }
22690
22961
  }
22691
- LessFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22962
+ LessFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22692
22963
  LessFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LessFilterOperatorComponent, selector: "kendo-filter-lt-operator", providers: [
22693
22964
  {
22694
22965
  provide: FilterOperatorBase,
@@ -22707,7 +22978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22707
22978
  selector: 'kendo-filter-lt-operator',
22708
22979
  template: ``
22709
22980
  }]
22710
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
22981
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22711
22982
 
22712
22983
  /**
22713
22984
  * Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter](slug:filtering_grid#toc-numeric-filter) operator.
@@ -22715,9 +22986,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22715
22986
  * [See example](slug:filter_row#toc-default-filter-operator).
22716
22987
  */
22717
22988
  class LessOrEqualToFilterOperatorComponent extends FilterOperatorBase {
22718
- constructor(localization) { super("lte", localization); }
22989
+ constructor(ctx) { super("lte", ctx); }
22719
22990
  }
22720
- LessOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
22991
+ LessOrEqualToFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LessOrEqualToFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22721
22992
  LessOrEqualToFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LessOrEqualToFilterOperatorComponent, selector: "kendo-filter-lte-operator", providers: [
22722
22993
  {
22723
22994
  provide: FilterOperatorBase,
@@ -22736,14 +23007,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22736
23007
  selector: 'kendo-filter-lte-operator',
22737
23008
  template: ``
22738
23009
  }]
22739
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23010
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22740
23011
 
22741
23012
  /**
22742
23013
  * Represents the `Greater` (**Is after**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22743
23014
  * [See example](slug:filter_row#toc-default-filter-operator).
22744
23015
  */
22745
23016
  class AfterFilterOperatorComponent extends FilterOperatorBase {
22746
- constructor(localization) { super("after", localization); }
23017
+ constructor(ctx) { super("after", ctx); }
22747
23018
  /**
22748
23019
  * @hidden
22749
23020
  */
@@ -22754,7 +23025,7 @@ class AfterFilterOperatorComponent extends FilterOperatorBase {
22754
23025
  };
22755
23026
  }
22756
23027
  }
22757
- AfterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23028
+ AfterFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22758
23029
  AfterFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AfterFilterOperatorComponent, selector: "kendo-filter-after-operator", providers: [
22759
23030
  {
22760
23031
  provide: FilterOperatorBase,
@@ -22773,14 +23044,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22773
23044
  selector: 'kendo-filter-after-operator',
22774
23045
  template: ``
22775
23046
  }]
22776
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23047
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22777
23048
 
22778
23049
  /**
22779
23050
  * Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22780
23051
  * [See example](slug:filter_row#toc-default-filter-operator).
22781
23052
  */
22782
23053
  class AfterEqFilterOperatorComponent extends FilterOperatorBase {
22783
- constructor(localization) { super("after-eq", localization); }
23054
+ constructor(ctx) { super("after-eq", ctx); }
22784
23055
  /**
22785
23056
  * @hidden
22786
23057
  */
@@ -22791,7 +23062,7 @@ class AfterEqFilterOperatorComponent extends FilterOperatorBase {
22791
23062
  };
22792
23063
  }
22793
23064
  }
22794
- AfterEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterEqFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23065
+ AfterEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AfterEqFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22795
23066
  AfterEqFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AfterEqFilterOperatorComponent, selector: "kendo-filter-after-eq-operator", providers: [
22796
23067
  {
22797
23068
  provide: FilterOperatorBase,
@@ -22810,14 +23081,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22810
23081
  selector: 'kendo-filter-after-eq-operator',
22811
23082
  template: ``
22812
23083
  }]
22813
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23084
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22814
23085
 
22815
23086
  /**
22816
23087
  * Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22817
23088
  * [See example](slug:filter_row#toc-default-filter-operator).
22818
23089
  */
22819
23090
  class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
22820
- constructor(localization) { super("before-eq", localization); }
23091
+ constructor(ctx) { super("before-eq", ctx); }
22821
23092
  /**
22822
23093
  * @hidden
22823
23094
  */
@@ -22828,7 +23099,7 @@ class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
22828
23099
  };
22829
23100
  }
22830
23101
  }
22831
- BeforeEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeEqFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23102
+ BeforeEqFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeEqFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22832
23103
  BeforeEqFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BeforeEqFilterOperatorComponent, selector: "kendo-filter-before-eq-operator", providers: [
22833
23104
  {
22834
23105
  provide: FilterOperatorBase,
@@ -22847,14 +23118,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22847
23118
  selector: 'kendo-filter-before-eq-operator',
22848
23119
  template: ``
22849
23120
  }]
22850
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23121
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22851
23122
 
22852
23123
  /**
22853
23124
  * Represents the `Less than` (**Is before**) [date filter](slug:filtering_grid#toc-date-filter) operator.
22854
23125
  * [See example](slug:filter_row#toc-default-filter-operator).
22855
23126
  */
22856
23127
  class BeforeFilterOperatorComponent extends FilterOperatorBase {
22857
- constructor(localization) { super("before", localization); }
23128
+ constructor(ctx) { super("before", ctx); }
22858
23129
  /**
22859
23130
  * @hidden
22860
23131
  */
@@ -22865,7 +23136,7 @@ class BeforeFilterOperatorComponent extends FilterOperatorBase {
22865
23136
  };
22866
23137
  }
22867
23138
  }
22868
- BeforeFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23139
+ BeforeFilterOperatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BeforeFilterOperatorComponent, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
22869
23140
  BeforeFilterOperatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: BeforeFilterOperatorComponent, selector: "kendo-filter-before-operator", providers: [
22870
23141
  {
22871
23142
  provide: FilterOperatorBase,
@@ -22884,7 +23155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
22884
23155
  selector: 'kendo-filter-before-operator',
22885
23156
  template: ``
22886
23157
  }]
22887
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
23158
+ }], ctorParameters: function () { return [{ type: ContextService }]; } });
22888
23159
 
22889
23160
  const FILTER_OPERATORS = [
22890
23161
  FilterCellOperatorsComponent,
@@ -23291,7 +23562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23291
23562
  }] });
23292
23563
 
23293
23564
  /**
23294
- * Represents the component for toggling the visibility of the Grid columns. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
23565
+ * Represents the component for toggling the Grid columns visibility. [See example](slug:columnmenu_grid#toc-using-standalone-column-chooser).
23295
23566
  * To show and hide the columns without including the column chooser item in the [Column Menu](slug:columnmenu_grid),
23296
23567
  * add the component inside the [ToolbarTemplate](slug:toolbartemplate_grid) directive.
23297
23568
  *
@@ -23306,8 +23577,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23306
23577
  * ```
23307
23578
  */
23308
23579
  class ColumnChooserComponent {
23309
- constructor(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
23310
- this.localization = localization;
23580
+ constructor(ctx, columnInfoService, popupService, ngZone, renderer, changeDetector) {
23581
+ this.ctx = ctx;
23311
23582
  this.columnInfoService = columnInfoService;
23312
23583
  this.popupService = popupService;
23313
23584
  this.ngZone = ngZone;
@@ -23341,7 +23612,7 @@ class ColumnChooserComponent {
23341
23612
  */
23342
23613
  toggle(anchor, template) {
23343
23614
  if (!this.popupRef) {
23344
- const direction = this.localization.rtl ? 'right' : 'left';
23615
+ const direction = this.ctx.localization.rtl ? 'right' : 'left';
23345
23616
  this.popupRef = this.popupService.open({
23346
23617
  anchor: anchor.element,
23347
23618
  content: template,
@@ -23349,7 +23620,7 @@ class ColumnChooserComponent {
23349
23620
  anchorAlign: { vertical: 'bottom', horizontal: direction },
23350
23621
  popupAlign: { vertical: 'top', horizontal: direction }
23351
23622
  });
23352
- this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.localization.rtl ? 'rtl' : 'ltr');
23623
+ this.renderer.setAttribute(this.popupRef.popupElement, 'dir', this.ctx.localization.rtl ? 'rtl' : 'ltr');
23353
23624
  if (!isDocumentAvailable()) {
23354
23625
  return;
23355
23626
  }
@@ -23394,22 +23665,22 @@ class ColumnChooserComponent {
23394
23665
  }
23395
23666
  }
23396
23667
  }
23397
- 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 });
23668
+ 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 });
23398
23669
  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: `
23399
23670
  <button #anchor
23400
23671
  kendoButton
23401
23672
  type="button"
23402
23673
  (click)="toggle(anchor, template)"
23403
23674
  fillMode="flat"
23404
- [attr.title]="localization.get('columns')"
23675
+ [attr.title]="ctx.localization.get('columns')"
23405
23676
  icon="columns"
23406
23677
  [svgIcon]="columnsIcon"></button>
23407
23678
  <ng-template #template>
23408
- <span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
23679
+ <span class='k-column-chooser-title'>{{ ctx.localization.get('columns') }}</span>
23409
23680
  <kendo-grid-columnlist
23410
23681
  [columns]="columns"
23411
- [applyText]="localization.get('columnsApply')"
23412
- [resetText]="localization.get('columnsReset')"
23682
+ [applyText]="ctx.localization.get('columnsApply')"
23683
+ [resetText]="ctx.localization.get('columnsReset')"
23413
23684
  [autoSync]="autoSync"
23414
23685
  [allowHideAll]="allowHideAll"
23415
23686
  (apply)="onApply($event)"
@@ -23427,15 +23698,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23427
23698
  type="button"
23428
23699
  (click)="toggle(anchor, template)"
23429
23700
  fillMode="flat"
23430
- [attr.title]="localization.get('columns')"
23701
+ [attr.title]="ctx.localization.get('columns')"
23431
23702
  icon="columns"
23432
23703
  [svgIcon]="columnsIcon"></button>
23433
23704
  <ng-template #template>
23434
- <span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
23705
+ <span class='k-column-chooser-title'>{{ ctx.localization.get('columns') }}</span>
23435
23706
  <kendo-grid-columnlist
23436
23707
  [columns]="columns"
23437
- [applyText]="localization.get('columnsApply')"
23438
- [resetText]="localization.get('columnsReset')"
23708
+ [applyText]="ctx.localization.get('columnsApply')"
23709
+ [resetText]="ctx.localization.get('columnsReset')"
23439
23710
  [autoSync]="autoSync"
23440
23711
  [allowHideAll]="allowHideAll"
23441
23712
  (apply)="onApply($event)"
@@ -23444,7 +23715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23444
23715
  </ng-template>
23445
23716
  `
23446
23717
  }]
23447
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: ColumnInfoService }, { type: i1$2.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { autoSync: [{
23718
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i1$2.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { autoSync: [{
23448
23719
  type: Input
23449
23720
  }], allowHideAll: [{
23450
23721
  type: Input
@@ -23508,7 +23779,7 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
23508
23779
  ColumnMenuStickComponent,
23509
23780
  ColumnMenuPositionComponent,
23510
23781
  ColumnMenuAutoSizeColumnComponent,
23511
- ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule], exports: [ColumnListComponent,
23782
+ ColumnMenuAutoSizeAllColumnsComponent], imports: [CommonModule, FilterMenuModule, ButtonModule, TabStripModule], exports: [ColumnListComponent,
23512
23783
  ColumnChooserComponent,
23513
23784
  ColumnMenuChooserComponent,
23514
23785
  ColumnMenuFilterComponent,
@@ -23524,12 +23795,12 @@ ColumnMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
23524
23795
  ColumnMenuPositionComponent,
23525
23796
  ColumnMenuAutoSizeColumnComponent,
23526
23797
  ColumnMenuAutoSizeAllColumnsComponent] });
23527
- ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule]] });
23798
+ ColumnMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuModule, imports: [[CommonModule, FilterMenuModule, ButtonModule, TabStripModule]] });
23528
23799
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColumnMenuModule, decorators: [{
23529
23800
  type: NgModule,
23530
23801
  args: [{
23531
23802
  declarations: [COMPONENTS],
23532
- imports: [CommonModule, FilterMenuModule, ButtonModule],
23803
+ imports: [CommonModule, FilterMenuModule, ButtonModule, TabStripModule],
23533
23804
  exports: [COMPONENTS]
23534
23805
  }]
23535
23806
  }] });
@@ -23664,8 +23935,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23664
23935
  *
23665
23936
  */
23666
23937
  class EditCommandDirective extends Button {
23667
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23668
- super(element, renderer, null, localization, ngZone);
23938
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
23939
+ super(element, renderer, null, ctx.localization, ngZone);
23669
23940
  this.editService = editService;
23670
23941
  this.cellContext = cellContext;
23671
23942
  /**
@@ -23693,7 +23964,7 @@ class EditCommandDirective extends Button {
23693
23964
  }
23694
23965
  }
23695
23966
  }
23696
- 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 });
23967
+ 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 });
23697
23968
  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: `
23698
23969
  <kendo-icon-wrapper
23699
23970
  *ngIf="icon || svgIcon"
@@ -23726,7 +23997,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23726
23997
  }], ctorParameters: function () { return [{ type: EditService }, { type: undefined, decorators: [{
23727
23998
  type: Inject,
23728
23999
  args: [CELL_CONTEXT]
23729
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
24000
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
23730
24001
  type: HostBinding,
23731
24002
  args: ['style.display']
23732
24003
  }], commandClass: [{
@@ -23759,8 +24030,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23759
24030
  * ```
23760
24031
  */
23761
24032
  class CancelCommandDirective extends Button {
23762
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23763
- super(element, renderer, null, localization, ngZone);
24033
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24034
+ super(element, renderer, null, ctx.localization, ngZone);
23764
24035
  this.editService = editService;
23765
24036
  this.cellContext = cellContext;
23766
24037
  /**
@@ -23790,7 +24061,7 @@ class CancelCommandDirective extends Button {
23790
24061
  }
23791
24062
  }
23792
24063
  }
23793
- 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 });
24064
+ 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 });
23794
24065
  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: `
23795
24066
  <kendo-icon-wrapper
23796
24067
  *ngIf="icon || svgIcon"
@@ -23823,7 +24094,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23823
24094
  }], ctorParameters: function () { return [{ type: EditService }, { type: undefined, decorators: [{
23824
24095
  type: Inject,
23825
24096
  args: [CELL_CONTEXT]
23826
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
24097
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
23827
24098
  type: HostBinding,
23828
24099
  args: ['style.display']
23829
24100
  }], commandClass: [{
@@ -23856,8 +24127,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23856
24127
  * ```
23857
24128
  */
23858
24129
  class SaveCommandDirective extends Button {
23859
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23860
- super(element, renderer, null, localization, ngZone);
24130
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24131
+ super(element, renderer, null, ctx.localization, ngZone);
23861
24132
  this.editService = editService;
23862
24133
  this.cellContext = cellContext;
23863
24134
  /**
@@ -23887,7 +24158,7 @@ class SaveCommandDirective extends Button {
23887
24158
  }
23888
24159
  }
23889
24160
  }
23890
- 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 });
24161
+ 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 });
23891
24162
  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: `
23892
24163
  <kendo-icon-wrapper
23893
24164
  *ngIf="icon || svgIcon"
@@ -23920,7 +24191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23920
24191
  }], ctorParameters: function () { return [{ type: EditService }, { type: undefined, decorators: [{
23921
24192
  type: Inject,
23922
24193
  args: [CELL_CONTEXT]
23923
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
24194
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
23924
24195
  type: HostBinding,
23925
24196
  args: ['style.display']
23926
24197
  }], commandClass: [{
@@ -23952,8 +24223,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
23952
24223
  * ```
23953
24224
  */
23954
24225
  class RemoveCommandDirective extends Button {
23955
- constructor(editService, cellContext, element, renderer, localization, ngZone) {
23956
- super(element, renderer, null, localization, ngZone);
24226
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
24227
+ super(element, renderer, null, ctx.localization, ngZone);
23957
24228
  this.editService = editService;
23958
24229
  this.cellContext = cellContext;
23959
24230
  /**
@@ -23981,7 +24252,7 @@ class RemoveCommandDirective extends Button {
23981
24252
  }
23982
24253
  }
23983
24254
  }
23984
- 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 });
24255
+ 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 });
23985
24256
  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: `
23986
24257
  <kendo-icon-wrapper
23987
24258
  *ngIf="icon || svgIcon"
@@ -24014,7 +24285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24014
24285
  }], ctorParameters: function () { return [{ type: EditService }, { type: undefined, decorators: [{
24015
24286
  type: Inject,
24016
24287
  args: [CELL_CONTEXT]
24017
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
24288
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { visible: [{
24018
24289
  type: HostBinding,
24019
24290
  args: ['style.display']
24020
24291
  }], commandClass: [{
@@ -24042,8 +24313,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24042
24313
  * ```
24043
24314
  */
24044
24315
  class AddCommandDirective extends Button {
24045
- constructor(editService, element, renderer, localization, ngZone) {
24046
- super(element, renderer, null, localization, ngZone);
24316
+ constructor(editService, element, renderer, ctx, ngZone) {
24317
+ super(element, renderer, null, ctx.localization, ngZone);
24047
24318
  this.editService = editService;
24048
24319
  }
24049
24320
  /**
@@ -24060,7 +24331,7 @@ class AddCommandDirective extends Button {
24060
24331
  return true;
24061
24332
  }
24062
24333
  }
24063
- 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 });
24334
+ 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 });
24064
24335
  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: `
24065
24336
  <kendo-icon-wrapper
24066
24337
  *ngIf="icon || svgIcon"
@@ -24090,7 +24361,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
24090
24361
  <span class="k-button-text"><ng-content></ng-content></span>
24091
24362
  `
24092
24363
  }]
24093
- }], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
24364
+ }], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
24094
24365
  type: HostListener,
24095
24366
  args: ['click', ['$event']]
24096
24367
  }], commandClass: [{
@@ -25577,8 +25848,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25577
25848
  * ```
25578
25849
  */
25579
25850
  class PDFCommandDirective extends Button {
25580
- constructor(pdfService, element, renderer, localization, ngZone) {
25581
- super(element, renderer, null, localization, ngZone);
25851
+ constructor(pdfService, element, renderer, ctx, ngZone) {
25852
+ super(element, renderer, null, ctx.localization, ngZone);
25582
25853
  this.pdfService = pdfService;
25583
25854
  this.ngZone = ngZone;
25584
25855
  }
@@ -25596,7 +25867,7 @@ class PDFCommandDirective extends Button {
25596
25867
  return true;
25597
25868
  }
25598
25869
  }
25599
- 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 });
25870
+ 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 });
25600
25871
  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: `
25601
25872
  <kendo-icon-wrapper
25602
25873
  *ngIf="icon || svgIcon"
@@ -25626,7 +25897,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25626
25897
  <span class="k-button-text"><ng-content></ng-content></span>
25627
25898
  `
25628
25899
  }]
25629
- }], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
25900
+ }], ctorParameters: function () { return [{ type: PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
25630
25901
  type: HostListener,
25631
25902
  args: ['click', ['$event']]
25632
25903
  }], pdfClass: [{
@@ -25743,8 +26014,8 @@ const componentColumns = (component) => {
25743
26014
  * Configures the settings for the export of Grid in Excel ([see example]({% slug excelexport_grid %})).
25744
26015
  */
25745
26016
  class ExcelComponent {
25746
- constructor(excelService, localization, zone) {
25747
- this.localization = localization;
26017
+ constructor(excelService, ctx, zone) {
26018
+ this.ctx = ctx;
25748
26019
  this.zone = zone;
25749
26020
  /**
25750
26021
  * Specifies the file name of the exported Excel file.
@@ -25789,7 +26060,7 @@ class ExcelComponent {
25789
26060
  date: this.date,
25790
26061
  paddingCellOptions: this.paddingCellOptions,
25791
26062
  headerPaddingCellOptions: this.headerPaddingCellOptions,
25792
- rtl: this.localization.rtl,
26063
+ rtl: this.ctx.localization.rtl,
25793
26064
  collapsible: this.collapsible
25794
26065
  });
25795
26066
  const args = new ExcelExportEvent(options);
@@ -25807,7 +26078,7 @@ class ExcelComponent {
25807
26078
  });
25808
26079
  }
25809
26080
  }
25810
- 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 });
26081
+ 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 });
25811
26082
  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 });
25812
26083
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ExcelComponent, decorators: [{
25813
26084
  type: Component,
@@ -25815,7 +26086,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25815
26086
  selector: 'kendo-grid-excel',
25816
26087
  template: ``
25817
26088
  }]
25818
- }], ctorParameters: function () { return [{ type: ExcelService }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { fileName: [{
26089
+ }], ctorParameters: function () { return [{ type: ExcelService }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { fileName: [{
25819
26090
  type: Input
25820
26091
  }], filterable: [{
25821
26092
  type: Input
@@ -25860,8 +26131,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25860
26131
  * ```
25861
26132
  */
25862
26133
  class ExcelCommandDirective extends Button {
25863
- constructor(excelService, element, renderer, localization, ngZone) {
25864
- super(element, renderer, null, localization, ngZone);
26134
+ constructor(excelService, element, renderer, ctx, ngZone) {
26135
+ super(element, renderer, null, ctx.localization, ngZone);
25865
26136
  this.excelService = excelService;
25866
26137
  this.ngZone = ngZone;
25867
26138
  }
@@ -25879,7 +26150,7 @@ class ExcelCommandDirective extends Button {
25879
26150
  return true;
25880
26151
  }
25881
26152
  }
25882
- 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 });
26153
+ 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 });
25883
26154
  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: `
25884
26155
  <kendo-icon-wrapper
25885
26156
  *ngIf="icon || svgIcon"
@@ -25909,7 +26180,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
25909
26180
  <span class="k-button-text"><ng-content></ng-content></span>
25910
26181
  `
25911
26182
  }]
25912
- }], ctorParameters: function () { return [{ type: ExcelService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
26183
+ }], ctorParameters: function () { return [{ type: ExcelService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
25913
26184
  type: HostListener,
25914
26185
  args: ['click', ['$event']]
25915
26186
  }], excelClass: [{