@progress/kendo-angular-grid 17.0.0-develop.3 → 17.0.0-develop.31

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 (445) hide show
  1. package/README.md +46 -36
  2. package/aggregates/aggregate-types.d.ts +1 -1
  3. package/aggregates/status-bar.component.d.ts +1 -1
  4. package/column-menu/column-chooser-item-checked.directive.d.ts +1 -1
  5. package/column-menu/column-chooser.component.d.ts +1 -1
  6. package/column-menu/column-list.component.d.ts +1 -1
  7. package/column-menu/column-menu-autosize.component.d.ts +1 -1
  8. package/column-menu/column-menu-chooser.component.d.ts +1 -1
  9. package/column-menu/column-menu-filter.component.d.ts +1 -1
  10. package/column-menu/column-menu-item-base.d.ts +1 -1
  11. package/column-menu/column-menu-item.component.d.ts +1 -1
  12. package/column-menu/column-menu-item.directive.d.ts +1 -1
  13. package/column-menu/column-menu-position.component.d.ts +1 -1
  14. package/column-menu/column-menu.component.d.ts +1 -1
  15. package/column-resizing/column-handle.directive.d.ts +1 -1
  16. package/column-resizing/column-resize.interface.d.ts +3 -3
  17. package/column-resizing/table.directive.d.ts +1 -1
  18. package/columns/checkbox-column.component.d.ts +1 -1
  19. package/columns/column-base.d.ts +1 -1
  20. package/columns/column.component.d.ts +1 -1
  21. package/columns/reorder-column.component.d.ts +1 -1
  22. package/columns/sort-settings.d.ts +2 -2
  23. package/columns/span-column.component.d.ts +1 -1
  24. package/common/clipboard-types.d.ts +2 -2
  25. package/common/clipboard.directive.d.ts +1 -1
  26. package/common/create-form-group.d.ts +1 -1
  27. package/common/fetch-data-callback.d.ts +1 -1
  28. package/common/remove-confirmation.d.ts +1 -1
  29. package/common/size-options.d.ts +1 -1
  30. package/data/data.iterators.d.ts +1 -1
  31. package/data/grid-item.interface.d.ts +1 -1
  32. package/databinding.directive.d.ts +1 -1
  33. package/directives.d.ts +8 -5
  34. package/dragdrop/context-types.d.ts +1 -1
  35. package/dragdrop/draggable-column.directive.d.ts +1 -1
  36. package/dragdrop/drop-target.directive.d.ts +1 -1
  37. package/editing/add-command-tool.directive.d.ts +39 -0
  38. package/editing/edit.service.d.ts +3 -3
  39. package/editing-directives/editing-directive-base.d.ts +1 -1
  40. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  41. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  42. package/editing-directives/template-editing.directive.d.ts +1 -1
  43. package/{esm2020 → esm2022}/aggregates/selection-aggregate.service.mjs +20 -17
  44. package/{esm2020 → esm2022}/aggregates/status-bar-template.directive.mjs +4 -3
  45. package/{esm2020 → esm2022}/aggregates/status-bar.component.mjs +10 -8
  46. package/{esm2020 → esm2022}/column-menu/column-chooser-item-checked.directive.mjs +7 -4
  47. package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +36 -24
  48. package/{esm2020 → esm2022}/column-menu/column-list-kb-nav.service.mjs +6 -4
  49. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +51 -32
  50. package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
  51. package/{esm2020 → esm2022}/column-menu/column-menu-autosize-all.component.mjs +6 -5
  52. package/{esm2020 → esm2022}/column-menu/column-menu-autosize.component.mjs +10 -5
  53. package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +33 -29
  54. package/{esm2020 → esm2022}/column-menu/column-menu-container.component.mjs +8 -5
  55. package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +28 -26
  56. package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
  57. package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
  58. package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +73 -42
  59. package/{esm2020 → esm2022}/column-menu/column-menu-item.directive.mjs +38 -28
  60. package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
  61. package/{esm2020 → esm2022}/column-menu/column-menu-position.component.mjs +38 -28
  62. package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +9 -6
  63. package/{esm2020 → esm2022}/column-menu/column-menu-stick.component.mjs +9 -6
  64. package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
  65. package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +97 -63
  66. package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +34 -10
  67. package/{esm2020 → esm2022}/column-menu/column-sticky-change-event.mjs +4 -0
  68. package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
  69. package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +23 -15
  70. package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
  71. package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
  72. package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +24 -16
  73. package/{esm2020 → esm2022}/columns/column-base.mjs +188 -84
  74. package/{esm2020 → esm2022}/columns/column-group.component.mjs +29 -20
  75. package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
  76. package/{esm2020 → esm2022}/columns/column.component.mjs +62 -46
  77. package/{esm2020 → esm2022}/columns/columns-container.mjs +16 -15
  78. package/{esm2020 → esm2022}/columns/command-column.component.mjs +10 -8
  79. package/{esm2020 → esm2022}/columns/reorder-column.component.mjs +23 -12
  80. package/{esm2020 → esm2022}/columns/span-column.component.mjs +49 -29
  81. package/esm2022/common/clipboard.directive.mjs +190 -0
  82. package/{esm2020 → esm2022}/common/clipboard.service.mjs +12 -9
  83. package/{esm2020 → esm2022}/common/column-info.service.mjs +10 -10
  84. package/esm2022/common/dom-events.service.mjs +26 -0
  85. package/{esm2020 → esm2022}/common/error-messages.mjs +4 -1
  86. package/{esm2020 → esm2022}/common/event-emitter.mjs +1 -0
  87. package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
  88. package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
  89. package/{esm2020 → esm2022}/common/provider.service.mjs +10 -3
  90. package/{esm2020 → esm2022}/common/single-popup.service.mjs +21 -10
  91. package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
  92. package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
  93. package/{esm2020 → esm2022}/data/data.collection.mjs +5 -0
  94. package/{esm2020 → esm2022}/data/data.iterators.mjs +16 -1
  95. package/{esm2020 → esm2022}/databinding.directive.mjs +24 -16
  96. package/{esm2020 → esm2022}/directives.mjs +8 -2
  97. package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
  98. package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
  99. package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
  100. package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
  101. package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
  102. package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
  103. package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
  104. package/esm2022/editing/add-command-tool.directive.mjs +64 -0
  105. package/{esm2020 → esm2022}/editing/add-command.directive.mjs +9 -8
  106. package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +17 -13
  107. package/{esm2020 → esm2022}/editing/cell-close-event.mjs +21 -4
  108. package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +17 -13
  109. package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
  110. package/{esm2020 → esm2022}/editing/edit.service.mjs +13 -8
  111. package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
  112. package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +17 -13
  113. package/{esm2020 → esm2022}/editing/save-command.directive.mjs +17 -13
  114. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -9
  115. package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +10 -3
  116. package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +2 -0
  117. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +9 -3
  118. package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +4 -3
  119. package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +11 -3
  120. package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
  121. package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +11 -10
  122. package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
  123. package/{esm2020 → esm2022}/excel/excel.component.mjs +66 -12
  124. package/{esm2020 → esm2022}/excel/excel.module.mjs +5 -4
  125. package/{esm2020 → esm2022}/excel/excel.service.mjs +5 -7
  126. package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +22 -11
  127. package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +25 -24
  128. package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +18 -15
  129. package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +10 -8
  130. package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +25 -23
  131. package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
  132. package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +60 -39
  133. package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
  134. package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
  135. package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +9 -9
  136. package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +25 -18
  137. package/{esm2020 → esm2022}/filtering/cell/row-filtering.module.mjs +18 -18
  138. package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +23 -17
  139. package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -38
  140. package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
  141. package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
  142. package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +20 -13
  143. package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +13 -7
  144. package/{esm2020 → esm2022}/filtering/filter.service.mjs +14 -10
  145. package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +25 -13
  146. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +24 -5
  147. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +26 -21
  148. package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +46 -20
  149. package/{esm2020 → esm2022}/filtering/menu/filter-menu-dropdownlist.directive.mjs +11 -9
  150. package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +5 -3
  151. package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +14 -8
  152. package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
  153. package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +27 -6
  154. package/{esm2020 → esm2022}/filtering/menu/filter-menu.module.mjs +18 -18
  155. package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
  156. package/{esm2020 → esm2022}/filtering/menu/menu-tabbing.service.mjs +9 -8
  157. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +51 -15
  158. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +42 -37
  159. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +14 -5
  160. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +36 -21
  161. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  162. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  167. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  168. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  169. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  170. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  171. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  172. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  173. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  174. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  175. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  176. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  177. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  178. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  179. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  180. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  181. package/{esm2020 → esm2022}/filtering/shared-filtering.module.mjs +18 -18
  182. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  183. package/{esm2020 → esm2022}/grid.component.mjs +480 -365
  184. package/esm2022/grid.module.mjs +221 -0
  185. package/{esm2020 → esm2022}/grouping/group-footer-template.directive.mjs +4 -3
  186. package/{esm2020 → esm2022}/grouping/group-header-column-template.directive.mjs +4 -3
  187. package/{esm2020 → esm2022}/grouping/group-header-template.directive.mjs +4 -3
  188. package/{esm2020 → esm2022}/grouping/group-header.component.mjs +23 -14
  189. package/{esm2020 → esm2022}/grouping/group-info.service.mjs +1 -3
  190. package/{esm2020 → esm2022}/grouping/group-panel.component.mjs +71 -53
  191. package/{esm2020 → esm2022}/grouping/group-scroll-binding.directive.mjs +11 -9
  192. package/{esm2020 → esm2022}/grouping/group.module.mjs +4 -4
  193. package/{esm2020 → esm2022}/grouping/groups.service.mjs +6 -7
  194. package/{esm2020 → esm2022}/index.mjs +6 -3
  195. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  196. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  197. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  198. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  199. package/{esm2020 → esm2022}/layout/sizing-options.service.mjs +4 -6
  200. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  201. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  202. package/esm2022/localization/messages.mjs +585 -0
  203. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +8 -5
  204. package/{esm2020 → esm2022}/navigation/focus-group.mjs +10 -9
  205. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  206. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +23 -17
  207. package/{esm2020 → esm2022}/navigation/grid-focusable-element.mjs +1 -0
  208. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  209. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +38 -23
  210. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +18 -12
  211. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  212. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +12 -4
  213. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  214. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +47 -27
  215. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  216. package/{esm2020 → esm2022}/pager/pager-context.service.mjs +5 -4
  217. package/{esm2020 → esm2022}/pager/pager-dropdown.directive.mjs +10 -9
  218. package/{esm2020 → esm2022}/pager/pager-element.component.mjs +27 -20
  219. package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
  220. package/{esm2020 → esm2022}/pager/pager-input.component.mjs +43 -39
  221. package/{esm2020 → esm2022}/pager/pager-input.directive.mjs +5 -3
  222. package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +10 -9
  223. package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +19 -9
  224. package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
  225. package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +6 -5
  226. package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
  227. package/{esm2020 → esm2022}/pager/pager.component.mjs +82 -68
  228. package/{esm2020 → esm2022}/pager/pager.module.mjs +4 -4
  229. package/{esm2020 → esm2022}/pdf/grid-query.mjs +4 -0
  230. package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
  231. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  232. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  233. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  234. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +39 -12
  235. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +5 -4
  236. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  237. package/{esm2020 → esm2022}/rendering/body.module.mjs +18 -17
  238. package/{esm2020 → esm2022}/rendering/cell-loading.template.directive.mjs +4 -3
  239. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  240. package/{esm2020 → esm2022}/rendering/cell.component.mjs +25 -16
  241. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +8 -9
  242. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  243. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +10 -8
  244. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +11 -6
  245. package/{esm2020 → esm2022}/rendering/details/detail-collapse-event.mjs +8 -0
  246. package/{esm2020 → esm2022}/rendering/details/detail-expand-event.mjs +8 -0
  247. package/{esm2020 → esm2022}/rendering/details/detail-template.directive.mjs +8 -7
  248. package/{esm2020 → esm2022}/rendering/details/details.service.mjs +6 -7
  249. package/{esm2020 → esm2022}/rendering/details-expand.directive.mjs +28 -25
  250. package/{esm2020 → esm2022}/rendering/footer/footer-template.directive.mjs +4 -3
  251. package/{esm2020 → esm2022}/rendering/footer/footer.component.mjs +17 -13
  252. package/{esm2020 → esm2022}/rendering/footer/footer.module.mjs +4 -4
  253. package/{esm2020 → esm2022}/rendering/grid-table.directive.mjs +9 -8
  254. package/{esm2020 → esm2022}/rendering/groups-expand.directive.mjs +21 -18
  255. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  256. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +61 -35
  257. package/{esm2020 → esm2022}/rendering/header/header.module.mjs +18 -18
  258. package/{esm2020 → esm2022}/rendering/list.component.mjs +95 -48
  259. package/{esm2020 → esm2022}/rendering/loading-template.directive.mjs +4 -3
  260. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  261. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +50 -17
  262. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  263. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  264. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +8 -7
  265. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +26 -12
  266. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -10
  267. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +5 -2
  268. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  269. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  270. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -1
  271. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  272. package/{esm2020 → esm2022}/selection/cell-selection.service.mjs +31 -20
  273. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +16 -4
  274. package/{esm2020 → esm2022}/selection/pair-set.mjs +16 -16
  275. package/{esm2020 → esm2022}/selection/selectall-checkbox.directive.mjs +26 -16
  276. package/{esm2020 → esm2022}/selection/selection-checkbox.directive.mjs +19 -7
  277. package/{esm2020 → esm2022}/selection/selection-default.mjs +46 -25
  278. package/{esm2020 → esm2022}/selection/selection.directive.mjs +4 -3
  279. package/{esm2020 → esm2022}/selection/selection.service.mjs +31 -18
  280. package/{esm2020 → esm2022}/shared.module.mjs +4 -4
  281. package/excel/excel-command-tool.directive.d.ts +41 -0
  282. package/excel/excel-command.directive.d.ts +1 -1
  283. package/excel/excel.component.d.ts +1 -1
  284. package/excel/excel.module.d.ts +3 -2
  285. package/{fesm2020 → fesm2022}/progress-kendo-angular-grid.mjs +5040 -3031
  286. package/filtering/base-filter-cell.component.d.ts +5 -1
  287. package/filtering/boolean-filter.component.d.ts +2 -13
  288. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  289. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  290. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  291. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  292. package/filtering/cell/filter-cell.component.d.ts +1 -1
  293. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  294. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  295. package/filtering/date-filter.component.d.ts +2 -11
  296. package/filtering/filter-host.directive.d.ts +2 -2
  297. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  298. package/filtering/filter-input.directive.d.ts +1 -1
  299. package/filtering/filter-row.component.d.ts +1 -1
  300. package/filtering/filterable.d.ts +1 -1
  301. package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
  302. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  303. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  304. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  305. package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +1 -1
  306. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  307. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  308. package/filtering/menu/filter-menu.component.d.ts +1 -1
  309. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  310. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  311. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  312. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  313. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  314. package/filtering/numeric-filter.component.d.ts +2 -11
  315. package/filtering/operators/filter-operator.base.d.ts +1 -1
  316. package/filtering/string-filter.component.d.ts +2 -11
  317. package/grid.component.d.ts +1 -1
  318. package/grid.module.d.ts +103 -101
  319. package/grouping/group-header.component.d.ts +1 -1
  320. package/grouping/group-panel.component.d.ts +1 -1
  321. package/grouping/group-scroll-binding.directive.d.ts +1 -1
  322. package/index.d.ts +6 -3
  323. package/layout/resizable.directive.d.ts +1 -1
  324. package/localization/messages.d.ts +1 -1
  325. package/navigation/focusable.directive.d.ts +1 -1
  326. package/navigation/logical-cell.directive.d.ts +1 -1
  327. package/navigation/logical-row.directive.d.ts +1 -1
  328. package/navigation/navigable-settings.d.ts +2 -2
  329. package/package.json +28 -33
  330. package/pager/pager-context.service.d.ts +1 -1
  331. package/pager/pager-element.component.d.ts +1 -1
  332. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  333. package/pager/pager-page-sizes.component.d.ts +1 -1
  334. package/pager/pager-settings.d.ts +2 -2
  335. package/pager/pager.component.d.ts +1 -1
  336. package/pdf/pdf-command-tool.directive.d.ts +41 -0
  337. package/pdf/pdf.component.d.ts +1 -1
  338. package/pdf/pdf.module.d.ts +2 -1
  339. package/rendering/body.module.d.ts +5 -4
  340. package/rendering/cell.component.d.ts +1 -1
  341. package/rendering/common/cell-context.d.ts +1 -1
  342. package/rendering/common/col-group.component.d.ts +1 -1
  343. package/rendering/common/loading.component.d.ts +1 -1
  344. package/rendering/common/row-class.d.ts +4 -4
  345. package/rendering/common/spacer.component.d.ts +1 -1
  346. package/rendering/details/detail-template.directive.d.ts +2 -2
  347. package/rendering/details-expand.directive.d.ts +1 -1
  348. package/rendering/footer/footer.component.d.ts +1 -1
  349. package/rendering/grid-table.directive.d.ts +1 -1
  350. package/rendering/groups-expand.directive.d.ts +1 -1
  351. package/rendering/header/header.component.d.ts +1 -1
  352. package/rendering/list.component.d.ts +1 -1
  353. package/rendering/table-body.component.d.ts +1 -1
  354. package/rendering/toolbar/toolbar-position.d.ts +1 -1
  355. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  356. package/rendering/toolbar/toolbar.component.d.ts +2 -1
  357. package/row-reordering/types.d.ts +1 -1
  358. package/schematics/ngAdd/index.js +4 -4
  359. package/scrolling/scroll-sync.service.d.ts +1 -1
  360. package/scrolling/scroller.service.d.ts +1 -1
  361. package/scrolling/scrollmode.d.ts +1 -1
  362. package/selection/cell-selection.service.d.ts +1 -1
  363. package/selection/selectall-checkbox.directive.d.ts +1 -1
  364. package/selection/selection-checkbox.directive.d.ts +1 -1
  365. package/selection/selection-default.d.ts +1 -1
  366. package/selection/selection.service.d.ts +1 -1
  367. package/selection/types.d.ts +4 -4
  368. package/utils.d.ts +1 -1
  369. package/esm2020/common/clipboard.directive.mjs +0 -186
  370. package/esm2020/common/dom-events.service.mjs +0 -28
  371. package/esm2020/grid.module.mjs +0 -219
  372. package/esm2020/localization/messages.mjs +0 -187
  373. package/fesm2015/progress-kendo-angular-grid.mjs +0 -28466
  374. /package/{esm2020 → esm2022}/aggregates/aggregate-types.mjs +0 -0
  375. /package/{esm2020 → esm2022}/column-menu/column-menu-expandable-item.interface.mjs +0 -0
  376. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  377. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  378. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  379. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  380. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  381. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  382. /package/{esm2020 → esm2022}/common/clipboard-types.mjs +0 -0
  383. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  384. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  385. /package/{esm2020 → esm2022}/common/fetch-data-callback.mjs +0 -0
  386. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  387. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  388. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  389. /package/{esm2020 → esm2022}/common/size-options.mjs +0 -0
  390. /package/{esm2020 → esm2022}/constants.mjs +0 -0
  391. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  392. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  393. /package/{esm2020 → esm2022}/data/grid-item.interface.mjs +0 -0
  394. /package/{esm2020 → esm2022}/data/group-footer-item.interface.mjs +0 -0
  395. /package/{esm2020 → esm2022}/data/group-item.interface.mjs +0 -0
  396. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  397. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  398. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  399. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  400. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  401. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  402. /package/{esm2020 → esm2022}/editing/edit-row-options.interface.mjs +0 -0
  403. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  404. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  405. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  406. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  407. /package/{esm2020 → esm2022}/editing-directives/local-row-edit.service.mjs +0 -0
  408. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  409. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  410. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  411. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  412. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  413. /package/{esm2020 → esm2022}/grouping/group-key.interface.mjs +0 -0
  414. /package/{esm2020 → esm2022}/grouping/group-rows-args.interface.mjs +0 -0
  415. /package/{esm2020 → esm2022}/grouping/group-settings.mjs +0 -0
  416. /package/{esm2020 → esm2022}/grouping/utils.mjs +0 -0
  417. /package/{esm2020 → esm2022}/grouping/virtual-group-result.interface.mjs +0 -0
  418. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  419. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  420. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  421. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  422. /package/{esm2020 → esm2022}/navigation/navigable-settings.mjs +0 -0
  423. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  424. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  425. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  426. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  427. /package/{esm2020 → esm2022}/pager/pager-settings.mjs +0 -0
  428. /package/{esm2020 → esm2022}/pager/pagesize-item.interface.mjs +0 -0
  429. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  430. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  431. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  432. /package/{esm2020 → esm2022}/progress-kendo-angular-grid.mjs +0 -0
  433. /package/{esm2020 → esm2022}/rendering/common/cell-context.mjs +0 -0
  434. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  435. /package/{esm2020 → esm2022}/rendering/common/row-args.mjs +0 -0
  436. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  437. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  438. /package/{esm2020 → esm2022}/rendering/toolbar/toolbar-position.mjs +0 -0
  439. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  440. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  441. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  442. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  443. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  444. /package/{esm2020 → esm2022}/selection/types.mjs +0 -0
  445. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -19,49 +19,53 @@ import * as i3 from "./../navigation/navigation.service";
19
19
  * 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)).
20
20
  */
21
21
  export class PagerInputComponent extends PagerElementComponent {
22
+ pagerContext;
23
+ zone;
24
+ navigationService;
25
+ numericInput;
22
26
  constructor(ctx, pagerContext, zone, navigationService, cd) {
23
27
  super(ctx, pagerContext, cd);
24
28
  this.pagerContext = pagerContext;
25
29
  this.zone = zone;
26
30
  this.navigationService = navigationService;
27
- /**
28
- * @hidden
29
- *
30
- * @param {string} value
31
- *
32
- * @memberOf PagerInputComponent
33
- */
34
- this.handleKeyDown = (event) => {
35
- const incomingValue = this.numericInput.value || this.current;
36
- if (event.keyCode === Keys.Enter) {
37
- event.preventDefault();
38
- if (incomingValue !== this.current) {
39
- this.zone.run(() => {
40
- this.changePage(incomingValue - 1);
41
- });
42
- }
43
- }
44
- };
45
- /**
46
- * @hidden
47
- *
48
- * @param {string} value
49
- *
50
- * @memberOf PagerInputComponent
51
- */
52
- this.handleBlur = () => {
53
- const inputValue = this.numericInput.value;
54
- if (!inputValue) {
55
- this.numericInput.writeValue(this.current);
56
- return;
57
- }
58
- if (inputValue !== this.current) {
31
+ }
32
+ /**
33
+ * @hidden
34
+ *
35
+ * @param {string} value
36
+ *
37
+ * @memberOf PagerInputComponent
38
+ */
39
+ handleKeyDown = (event) => {
40
+ const incomingValue = this.numericInput.value || this.current;
41
+ if (event.keyCode === Keys.Enter) {
42
+ event.preventDefault();
43
+ if (incomingValue !== this.current) {
59
44
  this.zone.run(() => {
60
- this.changePage(inputValue - 1);
45
+ this.changePage(incomingValue - 1);
61
46
  });
62
47
  }
63
- };
64
- }
48
+ }
49
+ };
50
+ /**
51
+ * @hidden
52
+ *
53
+ * @param {string} value
54
+ *
55
+ * @memberOf PagerInputComponent
56
+ */
57
+ handleBlur = () => {
58
+ const inputValue = this.numericInput.value;
59
+ if (!inputValue) {
60
+ this.numericInput.writeValue(this.current);
61
+ return;
62
+ }
63
+ if (inputValue !== this.current) {
64
+ this.zone.run(() => {
65
+ this.changePage(inputValue - 1);
66
+ });
67
+ }
68
+ };
65
69
  /**
66
70
  * @hidden
67
71
  */
@@ -77,9 +81,8 @@ export class PagerInputComponent extends PagerElementComponent {
77
81
  this.pageSize = pageSize;
78
82
  this.cd.markForCheck();
79
83
  }
80
- }
81
- PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.NgZone }, { token: i3.NavigationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
82
- PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputComponent, isStandalone: true, selector: "kendo-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.NgZone }, { token: i3.NavigationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
85
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerInputComponent, isStandalone: true, selector: "kendo-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
83
86
  <span class="k-pager-input k-label">
84
87
  {{textFor('pagerPage')}}
85
88
  <kendo-numerictextbox
@@ -104,7 +107,8 @@ PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
104
107
  {{textFor('pagerOf')}} {{totalPages}}
105
108
  </span>
106
109
  `, isInline: true, dependencies: [{ kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: PagerInputDirective, selector: "[kendoGridPagerInput]" }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputComponent, decorators: [{
110
+ }
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputComponent, decorators: [{
108
112
  type: Component,
109
113
  args: [{
110
114
  selector: 'kendo-pager-input',
@@ -10,6 +10,8 @@ import * as i1 from "@progress/kendo-angular-inputs";
10
10
  * @hidden
11
11
  */
12
12
  export class PagerInputDirective {
13
+ host;
14
+ renderer;
13
15
  constructor(host, renderer) {
14
16
  this.host = host;
15
17
  this.renderer = renderer;
@@ -18,10 +20,10 @@ export class PagerInputDirective {
18
20
  const inputElement = this.host.numericInput.nativeElement;
19
21
  this.renderer.addClass(inputElement, 'k-pager-nav');
20
22
  }
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputDirective, deps: [{ token: i1.NumericTextBoxComponent }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
24
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PagerInputDirective, isStandalone: true, selector: "[kendoGridPagerInput]", ngImport: i0 });
21
25
  }
22
- PagerInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputDirective, deps: [{ token: i1.NumericTextBoxComponent }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
23
- PagerInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputDirective, isStandalone: true, selector: "[kendoGridPagerInput]", ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputDirective, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputDirective, decorators: [{
25
27
  type: Directive,
26
28
  args: [{
27
29
  selector: '[kendoGridPagerInput]',
@@ -17,10 +17,7 @@ import * as i3 from "./../navigation/navigation.service";
17
17
  * Displays buttons for navigating to the next and to the last page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
18
18
  */
19
19
  export class PagerNextButtonsComponent extends PagerElementComponent {
20
- constructor(ctx, pagerContext, cd, navigationService) {
21
- super(ctx, pagerContext, cd);
22
- this.navigationService = navigationService;
23
- }
20
+ navigationService;
24
21
  /**
25
22
  * @hidden
26
23
  *
@@ -31,15 +28,18 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
31
28
  get disabled() {
32
29
  return this.currentPage === this.totalPages || !this.total;
33
30
  }
31
+ constructor(ctx, pagerContext, cd, navigationService) {
32
+ super(ctx, pagerContext, cd);
33
+ this.navigationService = navigationService;
34
+ }
34
35
  onChanges({ total, skip, pageSize }) {
35
36
  this.total = total;
36
37
  this.skip = skip;
37
38
  this.pageSize = pageSize;
38
39
  this.cd.markForCheck();
39
40
  }
40
- }
41
- PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
42
- PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
43
43
  <button
44
44
  kendoButton
45
45
  [kendoGridFocusable]="!disabled"
@@ -70,8 +70,9 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
70
70
  [attr.aria-label]="textFor('pagerLastPage')"
71
71
  (click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
72
72
  </button>
73
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
73
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
74
+ }
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
75
76
  type: Component,
76
77
  args: [{
77
78
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -16,10 +16,16 @@ import * as i2 from "./pager-context.service";
16
16
  * Displays numeric buttons to enable navigation between the pages ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
17
17
  */
18
18
  export class PagerNumericButtonsComponent extends PagerElementComponent {
19
- constructor(ctx, cd, pagerContext) {
20
- super(ctx, pagerContext, cd);
21
- this.pagerContext = pagerContext;
22
- }
19
+ pagerContext;
20
+ selectElement;
21
+ numbersElement;
22
+ /**
23
+ * The count of the displayed buttons.
24
+ *
25
+ * @type {number}
26
+ * @memberOf PagerNumericButtonsComponent
27
+ */
28
+ buttonCount;
23
29
  /**
24
30
  * @hidden
25
31
  *
@@ -52,6 +58,10 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
52
58
  }
53
59
  return 1;
54
60
  }
61
+ constructor(ctx, cd, pagerContext) {
62
+ super(ctx, pagerContext, cd);
63
+ this.pagerContext = pagerContext;
64
+ }
55
65
  /**
56
66
  * @hidden
57
67
  */
@@ -86,9 +96,8 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
86
96
  this.pageSize = pageSize;
87
97
  this.cd.markForCheck();
88
98
  }
89
- }
90
- PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
91
- PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
100
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
92
101
  <select
93
102
  #select
94
103
  class="k-dropdown-list k-dropdown k-picker k-picker-solid k-rounded-md"
@@ -162,8 +171,9 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
162
171
  [attr.title]="pageLabel(end + 1)"
163
172
  (click)="changePage(end)">...</button>
164
173
  </div>
165
- `, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
174
+ `, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
175
+ }
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
167
177
  type: Component,
168
178
  args: [{
169
179
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -19,12 +19,8 @@ import * as i3 from "./../navigation/navigation.service";
19
19
  * Displays a drop-down list for the page size selection ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
20
20
  */
21
21
  export class PagerPageSizesComponent extends PagerElementComponent {
22
- constructor(ctx, cd, pagerContext, navigationService) {
23
- super(ctx, pagerContext, cd);
24
- this.pagerContext = pagerContext;
25
- this.navigationService = navigationService;
26
- this._pageSizes = [];
27
- }
22
+ pagerContext;
23
+ navigationService;
28
24
  /**
29
25
  * The page sizes collection. Can be an Array of numbers and/or [`PageSizeItem`](slug:api_grid_pagesizeitem) objects
30
26
  * ([see example](slug:pager_template_grid))
@@ -73,6 +69,12 @@ export class PagerPageSizesComponent extends PagerElementComponent {
73
69
  })
74
70
  .length === 0;
75
71
  }
72
+ _pageSizes = [];
73
+ constructor(ctx, cd, pagerContext, navigationService) {
74
+ super(ctx, pagerContext, cd);
75
+ this.pagerContext = pagerContext;
76
+ this.navigationService = navigationService;
77
+ }
76
78
  /**
77
79
  * @hidden
78
80
  */
@@ -92,9 +94,8 @@ export class PagerPageSizesComponent extends PagerElementComponent {
92
94
  this.pageSize = typeof pageSize === 'number' ? pageSize : this.total;
93
95
  this.cd.markForCheck();
94
96
  }
95
- }
96
- PagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
97
- PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerPageSizesComponent, isStandalone: true, 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: `
97
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
98
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerPageSizesComponent, isStandalone: true, 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: `
98
99
  <kendo-dropdownlist
99
100
  class="k-dropdown"
100
101
  #dropdownlist
@@ -110,7 +111,8 @@ PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
110
111
  (valueChange)="pageSizeChange($event)"></kendo-dropdownlist>
111
112
  <kendo-label [for]="dropdownlist" [text]="textFor('pagerItemsPerPage')"></kendo-label>
112
113
  `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: PagerDropDownListDirective, selector: "[kendoGridPagerDropDown]" }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
114
+ }
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
114
116
  type: Component,
115
117
  args: [{
116
118
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -17,6 +17,7 @@ import * as i3 from "./../navigation/navigation.service";
17
17
  * Displays buttons for navigating to the first and to the previous page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
18
18
  */
19
19
  export class PagerPrevButtonsComponent extends PagerElementComponent {
20
+ navigationService;
20
21
  constructor(ctx, pagerContext, cd, navigationService) {
21
22
  super(ctx, pagerContext, cd);
22
23
  this.navigationService = navigationService;
@@ -37,9 +38,8 @@ export class PagerPrevButtonsComponent extends PagerElementComponent {
37
38
  this.pageSize = pageSize;
38
39
  this.cd.markForCheck();
39
40
  }
40
- }
41
- PagerPrevButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
42
- PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerPrevButtonsComponent, isStandalone: true, selector: "kendo-pager-prev-buttons", usesInheritance: true, ngImport: i0, template: `
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.ContextService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerPrevButtonsComponent, isStandalone: true, selector: "kendo-pager-prev-buttons", usesInheritance: true, ngImport: i0, template: `
43
43
  <button
44
44
  [kendoGridFocusable]="!disabled"
45
45
  kendoButton
@@ -71,8 +71,9 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
71
71
  [attr.aria-label]="textFor('pagerPreviousPage')"
72
72
  (click)="currentPage !== 1 ? changePage(currentPage-2) : false">
73
73
  </button>
74
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPrevButtonsComponent, decorators: [{
74
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
75
+ }
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPrevButtonsComponent, decorators: [{
76
77
  type: Component,
77
78
  args: [{
78
79
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -31,13 +31,14 @@ import * as i0 from "@angular/core";
31
31
  * ```
32
32
  */
33
33
  export class PagerTemplateDirective {
34
+ templateRef;
34
35
  constructor(templateRef) {
35
36
  this.templateRef = templateRef;
36
37
  }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
39
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PagerTemplateDirective, isStandalone: true, selector: "[kendoPagerTemplate]", ngImport: i0 });
37
40
  }
38
- PagerTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
39
- PagerTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerTemplateDirective, isStandalone: true, selector: "[kendoPagerTemplate]", ngImport: i0 });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerTemplateDirective, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerTemplateDirective, decorators: [{
41
42
  type: Directive,
42
43
  args: [{
43
44
  selector: '[kendoPagerTemplate]',
@@ -34,59 +34,21 @@ import * as i5 from "../navigation/focus-group";
34
34
  * @hidden
35
35
  */
36
36
  export class PagerComponent {
37
- constructor(pagerContext, navigationService, element, renderer, zone, ctx, cellContext, focusRoot, focusGroup) {
38
- this.pagerContext = pagerContext;
39
- this.navigationService = navigationService;
40
- this.element = element;
41
- this.renderer = renderer;
42
- this.zone = zone;
43
- this.ctx = ctx;
44
- this.cellContext = cellContext;
45
- this.focusRoot = focusRoot;
46
- this.focusGroup = focusGroup;
47
- this.total = 0;
48
- this.skip = 1;
49
- this.pageChange = new EventEmitter();
50
- this.gridPagerClass = true;
51
- this.settings = normalize({});
52
- this.subscriptions = new Subscription();
53
- this._templateContext = {};
54
- this._isFocused = false;
55
- this._size = 'medium';
56
- this.resizeHandler = () => {
57
- const element = this.element.nativeElement;
58
- if (this.template || !element) {
59
- return;
60
- }
61
- this.zone.runOutsideAngular(() => {
62
- setTimeout(() => {
63
- const width = element.offsetWidth;
64
- if (this.numericButtons) {
65
- const selectElement = this.numericButtons.selectElement.nativeElement;
66
- const numbersElement = this.numericButtons.numbersElement.nativeElement;
67
- this.renderer.removeStyle(numbersElement, 'display');
68
- this.renderer.setStyle(selectElement, 'display', 'none');
69
- if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
70
- this.renderer.removeStyle(selectElement, 'display');
71
- this.renderer.setStyle(numbersElement, 'display', 'none');
72
- }
73
- }
74
- if (this.pagerInfo) {
75
- this.renderer.removeStyle(this.pagerInfo.nativeElement, 'display');
76
- if (width < RESPONSIVE_BREAKPOINT_LARGE) {
77
- this.renderer.setStyle(this.pagerInfo.nativeElement, 'display', 'none');
78
- }
79
- }
80
- if (this.pagerPageSizes) {
81
- this.renderer.removeStyle(this.pagerPageSizes.nativeElement, 'display');
82
- if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
83
- this.renderer.setStyle(this.pagerPageSizes.nativeElement, 'display', 'none');
84
- }
85
- }
86
- });
87
- });
88
- };
89
- }
37
+ pagerContext;
38
+ navigationService;
39
+ element;
40
+ renderer;
41
+ zone;
42
+ ctx;
43
+ cellContext;
44
+ focusRoot;
45
+ focusGroup;
46
+ pagerInfo;
47
+ pagerPageSizes;
48
+ numericButtons;
49
+ total = 0;
50
+ skip = 1;
51
+ pageSize;
90
52
  set options(value) {
91
53
  this.settings = normalize(value);
92
54
  }
@@ -99,12 +61,20 @@ export class PagerComponent {
99
61
  get size() {
100
62
  return this._size;
101
63
  }
64
+ template;
65
+ pageChange = new EventEmitter();
66
+ gridPagerClass = true;
102
67
  get sizeSmallClass() {
103
68
  return this.size === 'small';
104
69
  }
105
70
  get sizeMediumClass() {
106
71
  return this.size === 'medium' || !this.size;
107
72
  }
73
+ settings = normalize({});
74
+ subscriptions = new Subscription();
75
+ _templateContext = {};
76
+ _isFocused = false;
77
+ _size = 'medium';
108
78
  get isFocused() {
109
79
  return this._isFocused;
110
80
  }
@@ -187,6 +157,17 @@ export class PagerComponent {
187
157
  context.currentPage = this.currentPage;
188
158
  return context;
189
159
  }
160
+ constructor(pagerContext, navigationService, element, renderer, zone, ctx, cellContext, focusRoot, focusGroup) {
161
+ this.pagerContext = pagerContext;
162
+ this.navigationService = navigationService;
163
+ this.element = element;
164
+ this.renderer = renderer;
165
+ this.zone = zone;
166
+ this.ctx = ctx;
167
+ this.cellContext = cellContext;
168
+ this.focusRoot = focusRoot;
169
+ this.focusGroup = focusGroup;
170
+ }
190
171
  ngOnInit() {
191
172
  this.subscriptions.add(this.pagerContext.pageChange.subscribe(this.changePage.bind(this)));
192
173
  if (this.navigationService.pagerEnabled) {
@@ -220,6 +201,39 @@ export class PagerComponent {
220
201
  changePage(event) {
221
202
  this.pageChange.emit(event);
222
203
  }
204
+ resizeHandler = () => {
205
+ const element = this.element.nativeElement;
206
+ if (this.template || !element) {
207
+ return;
208
+ }
209
+ this.zone.runOutsideAngular(() => {
210
+ setTimeout(() => {
211
+ const width = element.offsetWidth;
212
+ if (this.numericButtons) {
213
+ const selectElement = this.numericButtons.selectElement.nativeElement;
214
+ const numbersElement = this.numericButtons.numbersElement.nativeElement;
215
+ this.renderer.removeStyle(numbersElement, 'display');
216
+ this.renderer.setStyle(selectElement, 'display', 'none');
217
+ if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
218
+ this.renderer.removeStyle(selectElement, 'display');
219
+ this.renderer.setStyle(numbersElement, 'display', 'none');
220
+ }
221
+ }
222
+ if (this.pagerInfo) {
223
+ this.renderer.removeStyle(this.pagerInfo.nativeElement, 'display');
224
+ if (width < RESPONSIVE_BREAKPOINT_LARGE) {
225
+ this.renderer.setStyle(this.pagerInfo.nativeElement, 'display', 'none');
226
+ }
227
+ }
228
+ if (this.pagerPageSizes) {
229
+ this.renderer.removeStyle(this.pagerPageSizes.nativeElement, 'display');
230
+ if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
231
+ this.renderer.setStyle(this.pagerPageSizes.nativeElement, 'display', 'none');
232
+ }
233
+ }
234
+ });
235
+ });
236
+ };
223
237
  onInnerFocusIn(event, position) {
224
238
  this.zone.onStable.pipe(take(1)).subscribe(() => {
225
239
  if (position === 'start') {
@@ -269,20 +283,19 @@ export class PagerComponent {
269
283
  });
270
284
  });
271
285
  }
272
- }
273
- PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerComponent, deps: [{ token: i1.PagerContextService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.ContextService }, { token: CELL_CONTEXT, optional: true }, { token: i4.FocusRoot }, { token: i5.FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
274
- PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerComponent, isStandalone: true, 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-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: [{
275
- provide: FOCUS_ROOT_ACTIVE,
276
- useValue: true
277
- }, {
278
- provide: FocusRoot,
279
- deps: [FOCUS_ROOT_ACTIVE],
280
- useClass: FocusRoot
281
- }, {
282
- provide: FocusGroup,
283
- deps: [FocusRoot],
284
- useClass: FocusGroup
285
- }], viewQueries: [{ propertyName: "pagerInfo", first: true, predicate: PagerInfoComponent, descendants: true, read: ElementRef }, { propertyName: "pagerPageSizes", first: true, predicate: PagerPageSizesComponent, descendants: true, read: ElementRef }, { propertyName: "numericButtons", first: true, predicate: PagerNumericButtonsComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
286
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerComponent, deps: [{ token: i1.PagerContextService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.ContextService }, { token: CELL_CONTEXT, optional: true }, { token: i4.FocusRoot }, { token: i5.FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
287
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerComponent, isStandalone: true, 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-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: [{
288
+ provide: FOCUS_ROOT_ACTIVE,
289
+ useValue: true
290
+ }, {
291
+ provide: FocusRoot,
292
+ deps: [FOCUS_ROOT_ACTIVE],
293
+ useClass: FocusRoot
294
+ }, {
295
+ provide: FocusGroup,
296
+ deps: [FocusRoot],
297
+ useClass: FocusGroup
298
+ }], viewQueries: [{ propertyName: "pagerInfo", first: true, predicate: PagerInfoComponent, descendants: true, read: ElementRef }, { propertyName: "pagerPageSizes", first: true, predicate: PagerPageSizesComponent, descendants: true, read: ElementRef }, { propertyName: "numericButtons", first: true, predicate: PagerNumericButtonsComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
286
299
  <div
287
300
  *ngIf="navigationService.pagerEnabled"
288
301
  class="k-sr-only"
@@ -322,7 +335,8 @@ PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
322
335
  </div>
323
336
  <kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>
324
337
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons" }, { kind: "component", type: PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: ["buttonCount"] }, { kind: "component", type: PagerInputComponent, selector: "kendo-pager-input" }, { kind: "component", type: PagerNextButtonsComponent, selector: "kendo-pager-next-buttons" }, { kind: "component", type: PagerInfoComponent, selector: "kendo-pager-info" }, { kind: "component", type: PagerPageSizesComponent, selector: "kendo-pager-page-sizes", inputs: ["pageSizes"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerComponent, decorators: [{
338
+ }
339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerComponent, decorators: [{
326
340
  type: Component,
327
341
  args: [{
328
342
  selector: 'kendo-pager',
@@ -37,11 +37,11 @@ import * as i24 from "./pager-input.directive";
37
37
  * @hidden
38
38
  */
39
39
  export class PagerModule {
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
41
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent, i22.PagerTemplateDirective, i23.PagerDropDownListDirective, i24.PagerInputDirective], exports: [i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent, i22.PagerTemplateDirective, i23.PagerDropDownListDirective, i24.PagerInputDirective] });
42
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i21.PagerPageSizesComponent] });
40
43
  }
41
- PagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
42
- PagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent, i22.PagerTemplateDirective, i23.PagerDropDownListDirective, i24.PagerInputDirective], exports: [i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent, i22.PagerTemplateDirective, i23.PagerDropDownListDirective, i24.PagerInputDirective] });
43
- PagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i13.LoadingComponent, i15.PagerComponent, i16.PagerPrevButtonsComponent, i17.PagerNextButtonsComponent, i18.PagerNumericButtonsComponent, i19.PagerInputComponent, i20.PagerInfoComponent, i21.PagerPageSizesComponent] });
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, decorators: [{
45
45
  type: NgModule,
46
46
  args: [{
47
47
  exports: [...KENDO_GRID_PAGER_EXPORTS],
@@ -20,6 +20,10 @@ const suffix = (locked) => locked ? 'locked' : 'wrap';
20
20
  * @hidden
21
21
  */
22
22
  export class GridQuery {
23
+ element;
24
+ headerWrap;
25
+ list;
26
+ footerWrap;
23
27
  constructor(element) {
24
28
  this.element = element;
25
29
  this.list = findElement(element, matchesList);