@progress/kendo-angular-grid 17.0.0-develop.9 → 17.0.1-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 (464) 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 +5 -4
  5. package/column-menu/column-chooser.component.d.ts +1 -1
  6. package/column-menu/column-list.component.d.ts +2 -2
  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/{pager → common}/pager-settings.d.ts +15 -2
  29. package/common/remove-confirmation.d.ts +1 -1
  30. package/common/size-options.d.ts +1 -1
  31. package/data/data.iterators.d.ts +1 -1
  32. package/data/grid-item.interface.d.ts +1 -1
  33. package/databinding.directive.d.ts +1 -1
  34. package/directives.d.ts +8 -21
  35. package/dragdrop/context-types.d.ts +1 -1
  36. package/dragdrop/draggable-column.directive.d.ts +1 -1
  37. package/dragdrop/drop-target.directive.d.ts +1 -1
  38. package/editing/add-command-tool.directive.d.ts +39 -0
  39. package/editing/edit.service.d.ts +3 -3
  40. package/editing-directives/editing-directive-base.d.ts +1 -1
  41. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  42. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  43. package/editing-directives/template-editing.directive.d.ts +1 -1
  44. package/{esm2020 → esm2022}/aggregates/selection-aggregate.service.mjs +20 -17
  45. package/{esm2020 → esm2022}/aggregates/status-bar-template.directive.mjs +4 -3
  46. package/{esm2020 → esm2022}/aggregates/status-bar.component.mjs +10 -8
  47. package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +45 -0
  48. package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +35 -23
  49. package/{esm2020 → esm2022}/column-menu/column-list-kb-nav.service.mjs +6 -4
  50. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +108 -96
  51. package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
  52. package/{esm2020 → esm2022}/column-menu/column-menu-autosize-all.component.mjs +6 -5
  53. package/{esm2020 → esm2022}/column-menu/column-menu-autosize.component.mjs +10 -5
  54. package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +33 -29
  55. package/{esm2020 → esm2022}/column-menu/column-menu-container.component.mjs +8 -5
  56. package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +28 -26
  57. package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
  58. package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
  59. package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +73 -42
  60. package/{esm2020 → esm2022}/column-menu/column-menu-item.directive.mjs +38 -28
  61. package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
  62. package/{esm2020 → esm2022}/column-menu/column-menu-position.component.mjs +38 -28
  63. package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +9 -6
  64. package/{esm2020 → esm2022}/column-menu/column-menu-stick.component.mjs +9 -6
  65. package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
  66. package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +97 -63
  67. package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +34 -10
  68. package/{esm2020 → esm2022}/column-menu/column-sticky-change-event.mjs +4 -0
  69. package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
  70. package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +23 -15
  71. package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
  72. package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
  73. package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +24 -16
  74. package/{esm2020 → esm2022}/columns/column-base.mjs +188 -84
  75. package/{esm2020 → esm2022}/columns/column-group.component.mjs +29 -20
  76. package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
  77. package/{esm2020 → esm2022}/columns/column.component.mjs +62 -46
  78. package/{esm2020 → esm2022}/columns/columns-container.mjs +16 -15
  79. package/{esm2020 → esm2022}/columns/command-column.component.mjs +10 -8
  80. package/{esm2020 → esm2022}/columns/reorder-column.component.mjs +23 -12
  81. package/{esm2020 → esm2022}/columns/span-column.component.mjs +49 -29
  82. package/esm2022/common/clipboard.directive.mjs +190 -0
  83. package/{esm2020 → esm2022}/common/clipboard.service.mjs +12 -9
  84. package/{esm2020 → esm2022}/common/column-info.service.mjs +10 -10
  85. package/esm2022/common/dom-events.service.mjs +26 -0
  86. package/{esm2020 → esm2022}/common/error-messages.mjs +4 -1
  87. package/{esm2020 → esm2022}/common/event-emitter.mjs +1 -0
  88. package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
  89. package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
  90. package/{esm2020 → esm2022}/common/provider.service.mjs +10 -3
  91. package/{esm2020 → esm2022}/common/single-popup.service.mjs +21 -10
  92. package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
  93. package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
  94. package/{esm2020 → esm2022}/data/data.collection.mjs +5 -0
  95. package/{esm2020 → esm2022}/data/data.iterators.mjs +16 -1
  96. package/{esm2020 → esm2022}/databinding.directive.mjs +24 -16
  97. package/{esm2020 → esm2022}/directives.mjs +8 -30
  98. package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
  99. package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
  100. package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
  101. package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
  102. package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
  103. package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
  104. package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
  105. package/esm2022/editing/add-command-tool.directive.mjs +64 -0
  106. package/{esm2020 → esm2022}/editing/add-command.directive.mjs +9 -8
  107. package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +17 -13
  108. package/{esm2020 → esm2022}/editing/cell-close-event.mjs +21 -4
  109. package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +17 -13
  110. package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
  111. package/{esm2020 → esm2022}/editing/edit.service.mjs +13 -8
  112. package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
  113. package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +17 -13
  114. package/{esm2020 → esm2022}/editing/save-command.directive.mjs +17 -13
  115. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -9
  116. package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +10 -3
  117. package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +2 -0
  118. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +9 -3
  119. package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +4 -3
  120. package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +11 -3
  121. package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
  122. package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +11 -10
  123. package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
  124. package/{esm2020 → esm2022}/excel/excel.component.mjs +66 -12
  125. package/{esm2020 → esm2022}/excel/excel.module.mjs +9 -7
  126. package/{esm2020 → esm2022}/excel/excel.service.mjs +5 -7
  127. package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +22 -11
  128. package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +24 -32
  129. package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +18 -15
  130. package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +10 -8
  131. package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +25 -23
  132. package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
  133. package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +59 -38
  134. package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
  135. package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
  136. package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +9 -9
  137. package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +25 -18
  138. package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +27 -19
  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 +17 -15
  144. package/{esm2020 → esm2022}/filtering/filter.service.mjs +14 -10
  145. package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +33 -23
  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-radio-button.directive.mjs +7 -3
  155. package/{esm2020 → esm2022}/filtering/menu/menu-tabbing.service.mjs +9 -8
  156. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +51 -15
  157. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +42 -37
  158. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +25 -16
  159. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +36 -21
  160. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  161. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  162. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  167. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  168. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  169. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  170. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  171. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  172. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  173. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  174. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  175. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  176. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  177. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  178. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  179. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  180. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  181. package/{esm2020 → esm2022}/grid.component.mjs +648 -396
  182. package/esm2022/grid.module.mjs +216 -0
  183. package/{esm2020 → esm2022}/grouping/group-footer-template.directive.mjs +4 -3
  184. package/{esm2020 → esm2022}/grouping/group-header-column-template.directive.mjs +4 -3
  185. package/{esm2020 → esm2022}/grouping/group-header-template.directive.mjs +4 -3
  186. package/{esm2020 → esm2022}/grouping/group-header.component.mjs +25 -16
  187. package/{esm2020 → esm2022}/grouping/group-info.service.mjs +1 -3
  188. package/{esm2020 → esm2022}/grouping/group-panel.component.mjs +71 -53
  189. package/{esm2020 → esm2022}/grouping/group-scroll-binding.directive.mjs +11 -9
  190. package/{esm2020 → esm2022}/grouping/groups.service.mjs +6 -7
  191. package/{esm2020 → esm2022}/index.mjs +6 -24
  192. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  193. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  194. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  195. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  196. package/{esm2020 → esm2022}/layout/sizing-options.service.mjs +4 -6
  197. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  198. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  199. package/esm2022/localization/messages.mjs +591 -0
  200. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
  201. package/{esm2020 → esm2022}/navigation/focus-group.mjs +10 -9
  202. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  203. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +23 -17
  204. package/{esm2020 → esm2022}/navigation/grid-focusable-element.mjs +1 -0
  205. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  206. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +38 -23
  207. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +18 -12
  208. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  209. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +12 -4
  210. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  211. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +49 -29
  212. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  213. package/{esm2020 → esm2022}/pdf/grid-query.mjs +4 -0
  214. package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
  215. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  216. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  217. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  218. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +39 -12
  219. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +5 -4
  220. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  221. package/{esm2020 → esm2022}/rendering/cell-loading.template.directive.mjs +4 -3
  222. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  223. package/{esm2020 → esm2022}/rendering/cell.component.mjs +64 -75
  224. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +8 -9
  225. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  226. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +10 -8
  227. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +12 -7
  228. package/{esm2020 → esm2022}/rendering/details/detail-collapse-event.mjs +8 -0
  229. package/{esm2020 → esm2022}/rendering/details/detail-expand-event.mjs +8 -0
  230. package/{esm2020 → esm2022}/rendering/details/detail-template.directive.mjs +8 -7
  231. package/{esm2020 → esm2022}/rendering/details/details.service.mjs +6 -7
  232. package/{esm2020 → esm2022}/rendering/details-expand.directive.mjs +28 -25
  233. package/{esm2020 → esm2022}/rendering/footer/footer-template.directive.mjs +4 -3
  234. package/{esm2020 → esm2022}/rendering/footer/footer.component.mjs +19 -15
  235. package/{esm2020 → esm2022}/rendering/grid-table.directive.mjs +9 -8
  236. package/{esm2020 → esm2022}/rendering/groups-expand.directive.mjs +21 -18
  237. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  238. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +78 -55
  239. package/{esm2020 → esm2022}/rendering/list.component.mjs +99 -52
  240. package/{esm2020 → esm2022}/rendering/loading-template.directive.mjs +4 -3
  241. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  242. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +60 -29
  243. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  244. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  245. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +8 -7
  246. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +17 -13
  247. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -10
  248. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +5 -2
  249. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  250. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  251. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -1
  252. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  253. package/{esm2020 → esm2022}/selection/cell-selection.service.mjs +31 -20
  254. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +16 -4
  255. package/{esm2020 → esm2022}/selection/pair-set.mjs +16 -16
  256. package/esm2022/selection/selectall-checkbox.directive.mjs +144 -0
  257. package/{esm2020 → esm2022}/selection/selection-checkbox.directive.mjs +36 -15
  258. package/{esm2020 → esm2022}/selection/selection-default.mjs +46 -25
  259. package/{esm2020 → esm2022}/selection/selection.directive.mjs +4 -3
  260. package/{esm2020 → esm2022}/selection/selection.service.mjs +31 -18
  261. package/excel/excel-command-tool.directive.d.ts +41 -0
  262. package/excel/excel-command.directive.d.ts +1 -1
  263. package/excel/excel.component.d.ts +1 -1
  264. package/excel/excel.module.d.ts +3 -2
  265. package/{fesm2020 → fesm2022}/progress-kendo-angular-grid.mjs +5338 -5029
  266. package/filtering/base-filter-cell.component.d.ts +5 -1
  267. package/filtering/boolean-filter.component.d.ts +2 -17
  268. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  269. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  270. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  271. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  272. package/filtering/cell/filter-cell.component.d.ts +1 -1
  273. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  274. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  275. package/filtering/date-filter.component.d.ts +2 -11
  276. package/filtering/filter-host.directive.d.ts +2 -2
  277. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  278. package/filtering/filter-input.directive.d.ts +1 -1
  279. package/filtering/filter-row.component.d.ts +1 -1
  280. package/filtering/filterable.d.ts +1 -1
  281. package/filtering/menu/boolean-filter-menu.component.d.ts +3 -2
  282. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  283. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  284. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  285. package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +1 -1
  286. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  287. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  288. package/filtering/menu/filter-menu.component.d.ts +1 -1
  289. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  290. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  291. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  292. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  293. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  294. package/filtering/numeric-filter.component.d.ts +2 -11
  295. package/filtering/operators/filter-operator.base.d.ts +1 -1
  296. package/filtering/string-filter.component.d.ts +2 -11
  297. package/grid.component.d.ts +5 -6
  298. package/grid.module.d.ts +94 -101
  299. package/grouping/group-header.component.d.ts +1 -1
  300. package/grouping/group-panel.component.d.ts +1 -1
  301. package/grouping/group-scroll-binding.directive.d.ts +1 -1
  302. package/index.d.ts +7 -27
  303. package/layout/resizable.directive.d.ts +1 -1
  304. package/localization/messages.d.ts +10 -6
  305. package/navigation/focusable.directive.d.ts +1 -1
  306. package/navigation/logical-cell.directive.d.ts +1 -1
  307. package/navigation/logical-row.directive.d.ts +1 -1
  308. package/navigation/navigable-settings.d.ts +2 -2
  309. package/navigation/navigation.service.d.ts +1 -1
  310. package/package.json +29 -33
  311. package/pdf/pdf-command-tool.directive.d.ts +41 -0
  312. package/pdf/pdf.component.d.ts +1 -1
  313. package/pdf/pdf.module.d.ts +2 -1
  314. package/rendering/cell.component.d.ts +1 -1
  315. package/rendering/common/cell-context.d.ts +1 -1
  316. package/rendering/common/col-group.component.d.ts +1 -1
  317. package/rendering/common/loading.component.d.ts +1 -1
  318. package/rendering/common/row-class.d.ts +4 -4
  319. package/rendering/common/spacer.component.d.ts +1 -1
  320. package/rendering/details/detail-template.directive.d.ts +2 -2
  321. package/rendering/details-expand.directive.d.ts +1 -1
  322. package/rendering/footer/footer.component.d.ts +1 -1
  323. package/rendering/grid-table.directive.d.ts +1 -1
  324. package/rendering/groups-expand.directive.d.ts +1 -1
  325. package/rendering/header/header.component.d.ts +1 -1
  326. package/rendering/list.component.d.ts +1 -1
  327. package/rendering/table-body.component.d.ts +1 -1
  328. package/rendering/toolbar/toolbar-position.d.ts +1 -1
  329. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  330. package/rendering/toolbar/toolbar.component.d.ts +1 -1
  331. package/row-reordering/types.d.ts +1 -1
  332. package/schematics/ngAdd/index.js +5 -5
  333. package/scrolling/scroll-sync.service.d.ts +1 -1
  334. package/scrolling/scroller.service.d.ts +1 -1
  335. package/scrolling/scrollmode.d.ts +1 -1
  336. package/selection/cell-selection.service.d.ts +1 -1
  337. package/selection/selectall-checkbox.directive.d.ts +9 -7
  338. package/selection/selection-checkbox.directive.d.ts +6 -5
  339. package/selection/selection-default.d.ts +1 -1
  340. package/selection/selection.service.d.ts +1 -1
  341. package/selection/types.d.ts +4 -4
  342. package/utils.d.ts +1 -1
  343. package/esm2020/column-menu/column-chooser-item-checked.directive.mjs +0 -39
  344. package/esm2020/common/clipboard.directive.mjs +0 -186
  345. package/esm2020/common/dom-events.service.mjs +0 -28
  346. package/esm2020/filtering/cell/row-filtering.module.mjs +0 -112
  347. package/esm2020/filtering/menu/filter-menu.module.mjs +0 -116
  348. package/esm2020/filtering/shared-filtering.module.mjs +0 -92
  349. package/esm2020/grid.module.mjs +0 -219
  350. package/esm2020/grouping/group.module.mjs +0 -53
  351. package/esm2020/localization/messages.mjs +0 -187
  352. package/esm2020/pager/pager-context.service.mjs +0 -41
  353. package/esm2020/pager/pager-dropdown.directive.mjs +0 -39
  354. package/esm2020/pager/pager-element.component.mjs +0 -109
  355. package/esm2020/pager/pager-info.component.mjs +0 -76
  356. package/esm2020/pager/pager-input.component.mjs +0 -142
  357. package/esm2020/pager/pager-input.directive.mjs +0 -30
  358. package/esm2020/pager/pager-next-buttons.component.mjs +0 -114
  359. package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -257
  360. package/esm2020/pager/pager-page-sizes.component.mjs +0 -145
  361. package/esm2020/pager/pager-prev-buttons.component.mjs +0 -116
  362. package/esm2020/pager/pager-template.directive.mjs +0 -48
  363. package/esm2020/pager/pager.component.mjs +0 -457
  364. package/esm2020/pager/pager.module.mjs +0 -51
  365. package/esm2020/pager/pagesize-item.interface.mjs +0 -5
  366. package/esm2020/rendering/body.module.mjs +0 -88
  367. package/esm2020/rendering/footer/footer.module.mjs +0 -41
  368. package/esm2020/rendering/header/header.module.mjs +0 -152
  369. package/esm2020/selection/selectall-checkbox.directive.mjs +0 -115
  370. package/esm2020/shared.module.mjs +0 -41
  371. package/fesm2015/progress-kendo-angular-grid.mjs +0 -28474
  372. package/filtering/cell/row-filtering.module.d.ts +0 -59
  373. package/filtering/menu/filter-menu.module.d.ts +0 -63
  374. package/filtering/shared-filtering.module.d.ts +0 -49
  375. package/grouping/group.module.d.ts +0 -38
  376. package/pager/pager-context.service.d.ts +0 -30
  377. package/pager/pager-dropdown.directive.d.ts +0 -18
  378. package/pager/pager-element.component.d.ts +0 -79
  379. package/pager/pager-info.component.d.ts +0 -43
  380. package/pager/pager-input.component.d.ts +0 -45
  381. package/pager/pager-input.directive.d.ts +0 -18
  382. package/pager/pager-next-buttons.component.d.ts +0 -28
  383. package/pager/pager-numeric-buttons.component.d.ts +0 -52
  384. package/pager/pager-page-sizes.component.d.ts +0 -49
  385. package/pager/pager-prev-buttons.component.d.ts +0 -28
  386. package/pager/pager-template.directive.d.ts +0 -38
  387. package/pager/pager.component.d.ts +0 -80
  388. package/pager/pager.module.d.ts +0 -37
  389. package/pager/pagesize-item.interface.d.ts +0 -14
  390. package/rendering/body.module.d.ts +0 -50
  391. package/rendering/footer/footer.module.d.ts +0 -30
  392. package/rendering/header/header.module.d.ts +0 -101
  393. package/shared.module.d.ts +0 -29
  394. /package/{esm2020 → esm2022}/aggregates/aggregate-types.mjs +0 -0
  395. /package/{esm2020 → esm2022}/column-menu/column-menu-expandable-item.interface.mjs +0 -0
  396. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  397. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  398. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  399. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  400. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  401. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  402. /package/{esm2020 → esm2022}/common/clipboard-types.mjs +0 -0
  403. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  404. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  405. /package/{esm2020 → esm2022}/common/fetch-data-callback.mjs +0 -0
  406. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  407. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  408. /package/{esm2020/pager → esm2022/common}/pager-settings.mjs +0 -0
  409. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  410. /package/{esm2020 → esm2022}/common/size-options.mjs +0 -0
  411. /package/{esm2020 → esm2022}/constants.mjs +0 -0
  412. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  413. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  414. /package/{esm2020 → esm2022}/data/grid-item.interface.mjs +0 -0
  415. /package/{esm2020 → esm2022}/data/group-footer-item.interface.mjs +0 -0
  416. /package/{esm2020 → esm2022}/data/group-item.interface.mjs +0 -0
  417. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  418. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  419. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  420. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  421. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  422. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  423. /package/{esm2020 → esm2022}/editing/edit-row-options.interface.mjs +0 -0
  424. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  425. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  426. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  427. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  428. /package/{esm2020 → esm2022}/editing-directives/local-row-edit.service.mjs +0 -0
  429. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  430. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  431. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  432. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  433. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  434. /package/{esm2020 → esm2022}/grouping/group-key.interface.mjs +0 -0
  435. /package/{esm2020 → esm2022}/grouping/group-rows-args.interface.mjs +0 -0
  436. /package/{esm2020 → esm2022}/grouping/group-settings.mjs +0 -0
  437. /package/{esm2020 → esm2022}/grouping/utils.mjs +0 -0
  438. /package/{esm2020 → esm2022}/grouping/virtual-group-result.interface.mjs +0 -0
  439. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  440. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  441. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  442. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  443. /package/{esm2020 → esm2022}/navigation/navigable-settings.mjs +0 -0
  444. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  445. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  446. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  447. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  448. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  449. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  450. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  451. /package/{esm2020 → esm2022}/progress-kendo-angular-grid.mjs +0 -0
  452. /package/{esm2020 → esm2022}/rendering/common/cell-context.mjs +0 -0
  453. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  454. /package/{esm2020 → esm2022}/rendering/common/row-args.mjs +0 -0
  455. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  456. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  457. /package/{esm2020 → esm2022}/rendering/toolbar/toolbar-position.mjs +0 -0
  458. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  459. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  460. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  461. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  462. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  463. /package/{esm2020 → esm2022}/selection/types.mjs +0 -0
  464. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -12,15 +12,11 @@ import * as i1 from "./../../common/provider.service";
12
12
  * @hidden
13
13
  */
14
14
  export class ToolbarComponent {
15
- constructor(ctx, wrapper) {
16
- this.ctx = ctx;
17
- this.wrapper = wrapper;
18
- this.context = {};
19
- this.role = 'toolbar';
20
- this.hostClasses = true;
21
- this._size = 'medium';
22
- this.navigationService = this.ctx[`${this.wrapper.nativeElement.getAttribute('position')}ToolbarNavigation`];
23
- }
15
+ ctx;
16
+ wrapper;
17
+ context = {};
18
+ role = 'toolbar';
19
+ hostClasses = true;
24
20
  get sizeSmallClass() {
25
21
  return this.size === 'small';
26
22
  }
@@ -84,18 +80,26 @@ export class ToolbarComponent {
84
80
  this.navigationService.updateFocus();
85
81
  }
86
82
  }
83
+ navigable;
87
84
  get toolbarTemplateRef() {
88
85
  return this.ctx.grid.toolbarTemplate ? this.ctx.grid.toolbarTemplate.templateRef : undefined;
89
86
  }
90
- }
91
- ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.ContextService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
92
- ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "kendo-grid-toolbar", inputs: { position: "position", size: "size", navigable: "navigable" }, host: { listeners: { "click": "clickHandler($event)", "keydown.arrowleft": "arrowLeftListener($event)", "keydown.arrowright": "arrowRightListener($event)", "keydown.home": "homeKeyListener($event)", "keydown.end": "endKeyListener($event)" }, properties: { "attr.role": "this.role", "class.k-toolbar": "this.hostClasses", "class.k-grid-toolbar": "this.hostClasses", "class.k-toolbar-solid": "this.hostClasses", "class.k-toolbar-sm": "this.sizeSmallClass", "class.k-toolbar-md": "this.sizeMediumClass" } }, ngImport: i0, template: `
87
+ _size = 'medium';
88
+ navigationService;
89
+ constructor(ctx, wrapper) {
90
+ this.ctx = ctx;
91
+ this.wrapper = wrapper;
92
+ this.navigationService = this.ctx[`${this.wrapper.nativeElement.getAttribute('position')}ToolbarNavigation`];
93
+ }
94
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.ContextService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
95
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarComponent, isStandalone: true, selector: "kendo-grid-toolbar", inputs: { position: "position", size: "size", navigable: "navigable" }, host: { listeners: { "click": "clickHandler($event)", "keydown.arrowleft": "arrowLeftListener($event)", "keydown.arrowright": "arrowRightListener($event)", "keydown.home": "homeKeyListener($event)", "keydown.end": "endKeyListener($event)" }, properties: { "attr.role": "this.role", "class.k-toolbar": "this.hostClasses", "class.k-grid-toolbar": "this.hostClasses", "class.k-toolbar-solid": "this.hostClasses", "class.k-toolbar-sm": "this.sizeSmallClass", "class.k-toolbar-md": "this.sizeMediumClass" } }, ngImport: i0, template: `
93
96
  <ng-template
94
97
  *ngIf="toolbarTemplateRef"
95
98
  [ngTemplateOutlet]="toolbarTemplateRef"
96
99
  [ngTemplateOutletContext]="context"></ng-template>
97
100
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, decorators: [{
101
+ }
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
99
103
  type: Component,
100
104
  args: [{
101
105
  selector: 'kendo-grid-toolbar',
@@ -10,15 +10,19 @@ import * as i0 from "@angular/core";
10
10
  * @hidden
11
11
  */
12
12
  export class RowReorderService {
13
+ renderer;
14
+ hintElement = null;
15
+ defaultSelectors = defaultSelectors;
16
+ hintText = '';
17
+ skip;
18
+ dropIndicator;
19
+ lastDropPosition = dropPosition.forbidden;
20
+ dragTarget = null;
21
+ dropTarget = null;
22
+ offsetY;
23
+ rowReorder = new EventEmitter();
13
24
  constructor(renderer) {
14
25
  this.renderer = renderer;
15
- this.hintElement = null;
16
- this.defaultSelectors = defaultSelectors;
17
- this.hintText = '';
18
- this.lastDropPosition = dropPosition.forbidden;
19
- this.dragTarget = null;
20
- this.dropTarget = null;
21
- this.rowReorder = new EventEmitter();
22
26
  }
23
27
  press(ev) {
24
28
  this.dragTarget = ev.dragTarget;
@@ -218,10 +222,10 @@ export class RowReorderService {
218
222
  this.dropIndicator.style.display = '';
219
223
  }
220
224
  }
225
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
226
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService });
221
227
  }
222
- RowReorderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
223
- RowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService });
224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService, decorators: [{
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService, decorators: [{
225
229
  type: Injectable
226
230
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { rowReorder: [{
227
231
  type: Output
@@ -13,12 +13,15 @@ const update = (arr, idx, value) => ([
13
13
  * @hidden
14
14
  */
15
15
  export class RowHeightService {
16
+ total;
17
+ rowHeight;
18
+ detailRowHeight;
19
+ offsets = [];
20
+ heights = [];
16
21
  constructor(total = 0, rowHeight, detailRowHeight) {
17
22
  this.total = total;
18
23
  this.rowHeight = rowHeight;
19
24
  this.detailRowHeight = detailRowHeight;
20
- this.offsets = [];
21
- this.heights = [];
22
25
  let agg = 0;
23
26
  for (let idx = 0; idx < total; idx++) {
24
27
  this.offsets.push(agg);
@@ -9,18 +9,16 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class ScrollRequestService {
12
- constructor() {
13
- this.requests = new Subject();
14
- }
12
+ requests = new Subject();
15
13
  scrollTo(request, adjustIndex = true) {
16
14
  this.requests.next({ request, adjustIndex });
17
15
  }
18
16
  scrollToItem(request) {
19
17
  this.requests.next({ request });
20
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollRequestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollRequestService });
21
21
  }
22
- ScrollRequestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollRequestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
- ScrollRequestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollRequestService });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollRequestService, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollRequestService, decorators: [{
25
23
  type: Injectable
26
24
  }] });
@@ -10,13 +10,15 @@ import * as i0 from "@angular/core";
10
10
  * @hidden
11
11
  */
12
12
  export class ScrollSyncService {
13
+ ngZone;
14
+ changes = new Subject();
15
+ elements = [];
16
+ source;
17
+ subscriptions = new Subscription();
18
+ headerSubscription = new Subscription();
19
+ bodySubscription = new Subscription();
13
20
  constructor(ngZone) {
14
21
  this.ngZone = ngZone;
15
- this.changes = new Subject();
16
- this.elements = [];
17
- this.subscriptions = new Subscription();
18
- this.headerSubscription = new Subscription();
19
- this.bodySubscription = new Subscription();
20
22
  this.subscriptions.add(this.changes.subscribe(args => this.scrollLeft(args)));
21
23
  }
22
24
  registerEmitter(el, sourceType) {
@@ -70,9 +72,9 @@ export class ScrollSyncService {
70
72
  this.elements.splice(index, 1);
71
73
  }
72
74
  }
75
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
76
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService });
73
77
  }
74
- ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
75
- ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService, decorators: [{
77
79
  type: Injectable
78
80
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -8,6 +8,7 @@ import { Observable, BehaviorSubject } from 'rxjs';
8
8
  * @hidden
9
9
  */
10
10
  export class ScrollAction {
11
+ offset;
11
12
  constructor(offset) {
12
13
  this.offset = offset;
13
14
  }
@@ -16,6 +17,8 @@ export class ScrollAction {
16
17
  * @hidden
17
18
  */
18
19
  export class PageAction {
20
+ skip;
21
+ take;
19
22
  constructor(skip, take) {
20
23
  this.skip = skip;
21
24
  this.take = take;
@@ -31,9 +34,17 @@ const SCROLL_BOTTOM_THRESHOLD = 2;
31
34
  * @hidden
32
35
  */
33
36
  export class ScrollerService {
37
+ scrollObservable;
38
+ firstLoaded = 0;
39
+ lastLoaded;
40
+ lastScrollTop;
41
+ take;
42
+ total;
43
+ rowHeightService;
44
+ scrollSubscription;
45
+ subscription;
34
46
  constructor(scrollObservable) {
35
47
  this.scrollObservable = scrollObservable;
36
- this.firstLoaded = 0;
37
48
  }
38
49
  create(rowHeightService, skip, take, total) {
39
50
  this.rowHeightService = rowHeightService;
@@ -8,12 +8,10 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class SuspendService {
11
- constructor() {
12
- this.scroll = false;
13
- }
11
+ scroll = false;
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuspendService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuspendService });
14
14
  }
15
- SuspendService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuspendService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- SuspendService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuspendService });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuspendService, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuspendService, decorators: [{
18
16
  type: Injectable
19
17
  }] });
@@ -18,23 +18,17 @@ import * as i4 from "../navigation/navigation.service";
18
18
  * @hidden
19
19
  */
20
20
  export class CellSelectionService {
21
- constructor(domEvents, aggregateService, localDataChangesService, navigationService) {
22
- this.domEvents = domEvents;
23
- this.aggregateService = aggregateService;
24
- this.localDataChangesService = localDataChangesService;
25
- this.navigationService = navigationService;
26
- this.changes = new EventEmitter();
27
- this.mouseUpEvent = new EventEmitter();
28
- this.currentSelection = [];
29
- this.active = false;
30
- this.nonSelectableRows = new Map();
31
- this.dragging = false;
32
- this.dragSelectDeselect = false;
33
- this.lastSelectionItem = { itemKey: 0, columnKey: 0 };
34
- this.lastSelectionItemRowIndex = 0;
35
- this.lastSelectionItemColIndex = 0;
36
- this.addSubscriptions();
37
- }
21
+ domEvents;
22
+ aggregateService;
23
+ localDataChangesService;
24
+ navigationService;
25
+ changes = new EventEmitter();
26
+ mouseUpEvent = new EventEmitter();
27
+ currentSelection = [];
28
+ settings;
29
+ active = false;
30
+ aggregates;
31
+ nonSelectableRows = new Map();
38
32
  get enableMarquee() {
39
33
  const checkboxOnly = this.settings && typeof this.settings === 'object' && this.settings.checkboxOnly;
40
34
  if (!this.settings || checkboxOnly) {
@@ -52,6 +46,23 @@ export class CellSelectionService {
52
46
  get hasNonSelectable() {
53
47
  return this.nonSelectableRows.size > 0;
54
48
  }
49
+ mouseDownEventArgs;
50
+ mouseUpEventArgs;
51
+ dragging = false;
52
+ dragSelectDeselect = false;
53
+ lastSelectionItem = { itemKey: 0, columnKey: 0 };
54
+ lastSelectionItemRowIndex = 0;
55
+ lastSelectionItemColIndex = 0;
56
+ cellClickSubscription;
57
+ dataChangedSubscription;
58
+ mousedownSubscription;
59
+ constructor(domEvents, aggregateService, localDataChangesService, navigationService) {
60
+ this.domEvents = domEvents;
61
+ this.aggregateService = aggregateService;
62
+ this.localDataChangesService = localDataChangesService;
63
+ this.navigationService = navigationService;
64
+ this.addSubscriptions();
65
+ }
55
66
  init(settings) {
56
67
  this.settings = settings;
57
68
  this.currentSelection = [];
@@ -319,9 +330,9 @@ export class CellSelectionService {
319
330
  this.dataChangedSubscription = null;
320
331
  }
321
332
  }
333
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellSelectionService, deps: [{ token: i1.DomEventsService }, { token: i2.CellSelectionAggregateService }, { token: i3.LocalDataChangesService }, { token: i4.NavigationService }], target: i0.ɵɵFactoryTarget.Injectable });
334
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellSelectionService });
322
335
  }
323
- CellSelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellSelectionService, deps: [{ token: i1.DomEventsService }, { token: i2.CellSelectionAggregateService }, { token: i3.LocalDataChangesService }, { token: i4.NavigationService }], target: i0.ɵɵFactoryTarget.Injectable });
324
- CellSelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellSelectionService });
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellSelectionService, decorators: [{
336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellSelectionService, decorators: [{
326
337
  type: Injectable
327
338
  }], ctorParameters: function () { return [{ type: i1.DomEventsService }, { type: i2.CellSelectionAggregateService }, { type: i3.LocalDataChangesService }, { type: i4.NavigationService }]; } });
@@ -37,6 +37,19 @@ const offsets = {
37
37
  * @hidden
38
38
  */
39
39
  export class GridMarqueeDirective {
40
+ draggable;
41
+ selection;
42
+ cellSelection;
43
+ domEvents;
44
+ host;
45
+ renderer;
46
+ // possibly add snap
47
+ pressArgs;
48
+ marqueeElement;
49
+ pressTarget;
50
+ subscriptions;
51
+ selectionStarted = false;
52
+ dragEndSubscription;
40
53
  constructor(draggable, selection, cellSelection, domEvents, host, renderer) {
41
54
  this.draggable = draggable;
42
55
  this.selection = selection;
@@ -44,7 +57,6 @@ export class GridMarqueeDirective {
44
57
  this.domEvents = domEvents;
45
58
  this.host = host;
46
59
  this.renderer = renderer;
47
- this.selectionStarted = false;
48
60
  }
49
61
  ngOnInit() {
50
62
  this.subscriptions = (this.draggable.kendoPress.subscribe(this.start.bind(this)));
@@ -159,10 +171,10 @@ export class GridMarqueeDirective {
159
171
  }
160
172
  return null;
161
173
  }
174
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridMarqueeDirective, deps: [{ token: i1.DraggableDirective }, { token: i2.SelectionService }, { token: i3.CellSelectionService }, { token: i4.DomEventsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
175
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GridMarqueeDirective, isStandalone: true, selector: "[kendoGridSelectionMarquee]", ngImport: i0 });
162
176
  }
163
- GridMarqueeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridMarqueeDirective, deps: [{ token: i1.DraggableDirective }, { token: i2.SelectionService }, { token: i3.CellSelectionService }, { token: i4.DomEventsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
164
- GridMarqueeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GridMarqueeDirective, isStandalone: true, selector: "[kendoGridSelectionMarquee]", ngImport: i0 });
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridMarqueeDirective, decorators: [{
177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridMarqueeDirective, decorators: [{
166
178
  type: Directive,
167
179
  args: [{
168
180
  selector: '[kendoGridSelectionMarquee]',
@@ -10,28 +10,28 @@
10
10
  * Supports both primitive keys and object keys (compared by reference).
11
11
  */
12
12
  export class PairSet {
13
- constructor(items, keyXField, keyYField) {
14
- /**
15
- * Holds a set of Y keys for each defined X key.
16
- * Each X key creates a map which holds a set of Y keys.
17
- *
18
- * Map { 1 => Set { 1, 2, 3 } } // pairs: [1, 1], [1, 2], [1, 3]
19
- */
20
- this.keysX = new Map();
21
- /**
22
- * Count the each added or deleted key manually to avoid iterating over all items when calling `this.size`.
23
- */
24
- this.totalKeysCount = 0;
25
- if (items && keyXField && keyYField) {
26
- items.forEach(item => this.add(item[keyXField], item[keyYField]));
27
- }
28
- }
29
13
  /**
30
14
  * Gets the total number of X/Y key pairs.
31
15
  */
32
16
  get size() {
33
17
  return this.totalKeysCount;
34
18
  }
19
+ /**
20
+ * Holds a set of Y keys for each defined X key.
21
+ * Each X key creates a map which holds a set of Y keys.
22
+ *
23
+ * Map { 1 => Set { 1, 2, 3 } } // pairs: [1, 1], [1, 2], [1, 3]
24
+ */
25
+ keysX = new Map();
26
+ /**
27
+ * Count the each added or deleted key manually to avoid iterating over all items when calling `this.size`.
28
+ */
29
+ totalKeysCount = 0;
30
+ constructor(items, keyXField, keyYField) {
31
+ if (items && keyXField && keyYField) {
32
+ items.forEach(item => this.add(item[keyXField], item[keyYField]));
33
+ }
34
+ }
35
35
  /**
36
36
  * Adds a couple of items identified as a combination.
37
37
  */
@@ -0,0 +1,144 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Input, Output, EventEmitter, NgZone, Host, Optional, Renderer2, ElementRef } from '@angular/core';
6
+ import { SelectionService } from './selection.service';
7
+ import { isPresent } from '../utils';
8
+ import { hasObservers } from '@progress/kendo-angular-common';
9
+ import { CellSelectionService } from './cell-selection.service';
10
+ import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "./selection.service";
13
+ import * as i2 from "./cell-selection.service";
14
+ import * as i3 from "@progress/kendo-angular-inputs";
15
+ /**
16
+ * Represents the select-all checkbox feature of the Grid ([see example](slug:grid_selection_persistence#toc-selecting-all-items)).
17
+ *
18
+ * @example
19
+ * ```html
20
+ * <input
21
+ * type="checkbox"
22
+ * kendoCheckBox
23
+ * kendoGridSelectAllCheckbox
24
+ * [state]="selectAllState"
25
+ * (selectAllChange)="onSelectAllChange($event)"
26
+ * />
27
+ * ```
28
+ */
29
+ export class SelectAllCheckboxDirective {
30
+ selectionService;
31
+ cellSelectionService;
32
+ ngZone;
33
+ element;
34
+ renderer;
35
+ checkbox;
36
+ /**
37
+ * Explicitly overrides the state of the select-all checkbox.
38
+ */
39
+ state;
40
+ /**
41
+ * Fires when the user clicks the `kendoGridSelectAllCheckbox` select-all checkbox
42
+ * ([see example](slug:grid_row_selection#toc-select-all-checkbox)).
43
+ */
44
+ selectAllChange = new EventEmitter();
45
+ destroyClick;
46
+ checkboxChange;
47
+ stateSet = false;
48
+ ngAfterContentChecked() {
49
+ this.setState();
50
+ }
51
+ ngOnChanges() {
52
+ this.stateSet = true;
53
+ }
54
+ constructor(selectionService, cellSelectionService, ngZone, element, renderer, checkbox) {
55
+ this.selectionService = selectionService;
56
+ this.cellSelectionService = cellSelectionService;
57
+ this.ngZone = ngZone;
58
+ this.element = element;
59
+ this.renderer = renderer;
60
+ this.checkbox = checkbox;
61
+ this.ngZone.runOutsideAngular(() => {
62
+ if (this.checkbox) {
63
+ this.checkboxChange = this.checkbox.checkedStateChange.subscribe(this.onClick.bind(this));
64
+ }
65
+ else {
66
+ this.destroyClick = this.renderer.listen(this.element.nativeElement, 'click', this.onClick.bind(this));
67
+ }
68
+ });
69
+ }
70
+ ngOnDestroy() {
71
+ if (this.checkboxChange) {
72
+ this.checkboxChange.unsubscribe();
73
+ }
74
+ if (this.destroyClick) {
75
+ this.destroyClick();
76
+ }
77
+ }
78
+ /**
79
+ * @hidden
80
+ */
81
+ onClick() {
82
+ const isIndeterminateState = this.checkbox?.checkedState === 'indeterminate' || this.element.nativeElement.indeterminate;
83
+ const isCheckedState = this.checkbox?.checkedState === true || this.element.nativeElement.checked;
84
+ const checkboxState = isCheckedState ? 'checked' : isIndeterminateState ? 'indeterminate' : 'unchecked';
85
+ const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : isCheckedState;
86
+ const options = this.selectionService.options;
87
+ const enabledAndMultiple = options.enabled && options.mode === 'multiple' && !this.cellSelectionService.active;
88
+ const shouldEmitSelectAll = hasObservers(this.selectAllChange);
89
+ if (enabledAndMultiple || shouldEmitSelectAll) {
90
+ this.ngZone.run(() => {
91
+ if (enabledAndMultiple) {
92
+ this.selectionService.updateAll(isChecked);
93
+ }
94
+ if (shouldEmitSelectAll) {
95
+ this.selectAllChange.emit(checkboxState);
96
+ }
97
+ });
98
+ }
99
+ }
100
+ /**
101
+ * @hidden
102
+ */
103
+ setState() {
104
+ const state = this.stateSet ? this.stateToBool() : this.selectionService.selectAllState;
105
+ if (this.checkbox) {
106
+ this.checkbox.checkedState = isPresent(state) ? state : 'indeterminate';
107
+ }
108
+ else {
109
+ const elem = this.element.nativeElement;
110
+ this.renderer.setProperty(elem, 'indeterminate', !isPresent(state));
111
+ this.renderer.setProperty(elem, 'checked', isPresent(state) ? state : false);
112
+ }
113
+ }
114
+ /**
115
+ * @hidden
116
+ */
117
+ stateToBool() {
118
+ switch (this.state) {
119
+ case 'checked':
120
+ return true;
121
+ case 'unchecked':
122
+ return false;
123
+ default:
124
+ return undefined;
125
+ }
126
+ }
127
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
128
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" }, usesOnChanges: true, ngImport: i0 });
129
+ }
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, decorators: [{
131
+ type: Directive,
132
+ args: [{
133
+ selector: '[kendoGridSelectAllCheckbox]',
134
+ standalone: true
135
+ }]
136
+ }], ctorParameters: function () { return [{ type: i1.SelectionService }, { type: i2.CellSelectionService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i3.CheckBoxComponent, decorators: [{
137
+ type: Host
138
+ }, {
139
+ type: Optional
140
+ }] }]; }, propDecorators: { state: [{
141
+ type: Input
142
+ }], selectAllChange: [{
143
+ type: Output
144
+ }] } });
@@ -2,19 +2,21 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Directive, HostBinding, ElementRef, Input, Renderer2, NgZone } from '@angular/core';
5
+ import { Directive, ElementRef, Input, Renderer2, NgZone, Host, Optional } from '@angular/core';
6
6
  import { SelectionService } from './selection.service';
7
7
  import { Keys } from '@progress/kendo-angular-common';
8
8
  import { CellSelectionAggregateService } from '../aggregates/selection-aggregate.service';
9
9
  import { CellSelectionService } from './cell-selection.service';
10
+ import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "./selection.service";
12
13
  import * as i2 from "./cell-selection.service";
13
14
  import * as i3 from "../aggregates/selection-aggregate.service";
15
+ import * as i4 from "@progress/kendo-angular-inputs";
14
16
  /**
15
17
  * Represents the row-selection checkbox of the Grid. The directive expects the
16
18
  * index of the current row as an input parameter. Inside the [`CellTemplateDirective`](slug:api_grid_celltemplatedirective), apply the
17
- * `kendoGridSelectionCheckbox` to an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
19
+ * `kendoGridSelectionCheckbox` to a `<kendo-checkbox></kendo-checkbox>` or an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
18
20
  * with the directive, a [selectionChange](slug:api_grid_gridcomponent#toc-selectionChange)
19
21
  * event is triggered.
20
22
  *
@@ -30,22 +32,35 @@ import * as i3 from "../aggregates/selection-aggregate.service";
30
32
  * ```
31
33
  */
32
34
  export class SelectionCheckboxDirective {
33
- constructor(selectionService, cellSelectionService, aggregateService, el, renderer, ngZone) {
35
+ selectionService;
36
+ cellSelectionService;
37
+ aggregateService;
38
+ el;
39
+ renderer;
40
+ ngZone;
41
+ checkbox;
42
+ /**
43
+ * The current index of the `dataItem` that will be selected.
44
+ */
45
+ itemIndex;
46
+ destroyClick;
47
+ destroyKeyDown;
48
+ ngAfterContentChecked() {
49
+ this.setCheckedState();
50
+ }
51
+ constructor(selectionService, cellSelectionService, aggregateService, el, renderer, ngZone, checkbox) {
34
52
  this.selectionService = selectionService;
35
53
  this.cellSelectionService = cellSelectionService;
36
54
  this.aggregateService = aggregateService;
37
55
  this.el = el;
38
56
  this.renderer = renderer;
39
57
  this.ngZone = ngZone;
40
- this.type = 'checkbox';
58
+ this.checkbox = checkbox;
41
59
  this.ngZone.runOutsideAngular(() => {
42
60
  this.destroyClick = this.renderer.listen(this.el.nativeElement, 'click', this.onClick.bind(this));
43
61
  this.destroyKeyDown = this.renderer.listen(this.el.nativeElement, 'keydown', this.onKeyDown.bind(this));
44
62
  });
45
63
  }
46
- ngAfterContentChecked() {
47
- this.setCheckedState();
48
- }
49
64
  ngOnDestroy() {
50
65
  if (this.destroyClick) {
51
66
  this.destroyClick();
@@ -90,21 +105,27 @@ export class SelectionCheckboxDirective {
90
105
  */
91
106
  setCheckedState() {
92
107
  const isSelected = this.selectionService.nonSelectableRows.has(this.itemIndex) ? false : this.selectionService.isSelected(this.itemIndex);
93
- this.renderer.setProperty(this.el.nativeElement, 'checked', isSelected);
108
+ if (this.checkbox) {
109
+ this.checkbox.checkedState = isSelected;
110
+ }
111
+ else {
112
+ this.renderer.setProperty(this.el.nativeElement, 'checked', isSelected);
113
+ }
94
114
  }
115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i3.CellSelectionAggregateService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i4.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
116
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] }, ngImport: i0 });
95
117
  }
96
- SelectionCheckboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i3.CellSelectionAggregateService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
97
- SelectionCheckboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] }, host: { properties: { "attr.type": "this.type" } }, ngImport: i0 });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionCheckboxDirective, decorators: [{
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, decorators: [{
99
119
  type: Directive,
100
120
  args: [{
101
121
  selector: '[kendoGridSelectionCheckbox]',
102
122
  standalone: true
103
123
  }]
104
- }], ctorParameters: function () { return [{ type: i1.SelectionService }, { type: i2.CellSelectionService }, { type: i3.CellSelectionAggregateService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { itemIndex: [{
124
+ }], ctorParameters: function () { return [{ type: i1.SelectionService }, { type: i2.CellSelectionService }, { type: i3.CellSelectionAggregateService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i4.CheckBoxComponent, decorators: [{
125
+ type: Host
126
+ }, {
127
+ type: Optional
128
+ }] }]; }, propDecorators: { itemIndex: [{
105
129
  type: Input,
106
130
  args: ['kendoGridSelectionCheckbox']
107
- }], type: [{
108
- type: HostBinding,
109
- args: ['attr.type']
110
131
  }] } });