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

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 +27 -32
  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
@@ -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
  */
@@ -25,29 +25,39 @@ import * as i2 from "./cell-selection.service";
25
25
  * ```
26
26
  */
27
27
  export class SelectAllCheckboxDirective {
28
+ selectionService;
29
+ cellSelectionService;
30
+ el;
31
+ renderer;
32
+ ngZone;
33
+ /**
34
+ * Explicitly overrides the state of the select-all checkbox.
35
+ */
36
+ state;
37
+ /**
38
+ * Fires when the user clicks the `kendoGridSelectAllCheckbox` select-all checkbox
39
+ * ([see example](slug:grid_row_selection#toc-select-all-checkbox)).
40
+ */
41
+ selectAllChange = new EventEmitter();
42
+ type = 'checkbox';
43
+ destroyClick;
44
+ stateSet = false;
45
+ ngAfterContentChecked() {
46
+ this.setState();
47
+ }
48
+ ngOnChanges() {
49
+ this.stateSet = true;
50
+ }
28
51
  constructor(selectionService, cellSelectionService, el, renderer, ngZone) {
29
52
  this.selectionService = selectionService;
30
53
  this.cellSelectionService = cellSelectionService;
31
54
  this.el = el;
32
55
  this.renderer = renderer;
33
56
  this.ngZone = ngZone;
34
- /**
35
- * Fires when the user clicks the `kendoGridSelectAllCheckbox` select-all checkbox
36
- * ([see example](slug:grid_row_selection#toc-select-all-checkbox)).
37
- */
38
- this.selectAllChange = new EventEmitter();
39
- this.type = 'checkbox';
40
- this.stateSet = false;
41
57
  this.ngZone.runOutsideAngular(() => {
42
58
  this.destroyClick = this.renderer.listen(this.el.nativeElement, 'click', this.onClick.bind(this));
43
59
  });
44
60
  }
45
- ngAfterContentChecked() {
46
- this.setState();
47
- }
48
- ngOnChanges() {
49
- this.stateSet = true;
50
- }
51
61
  ngOnDestroy() {
52
62
  if (this.destroyClick) {
53
63
  this.destroyClick();
@@ -96,10 +106,10 @@ export class SelectAllCheckboxDirective {
96
106
  return undefined;
97
107
  }
98
108
  }
109
+ 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.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
110
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" }, host: { properties: { "attr.type": "this.type" } }, usesOnChanges: true, ngImport: i0 });
99
111
  }
100
- SelectAllCheckboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
101
- SelectAllCheckboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" }, host: { properties: { "attr.type": "this.type" } }, usesOnChanges: true, ngImport: i0 });
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectAllCheckboxDirective, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, decorators: [{
103
113
  type: Directive,
104
114
  args: [{
105
115
  selector: '[kendoGridSelectAllCheckbox]',
@@ -30,6 +30,22 @@ import * as i3 from "../aggregates/selection-aggregate.service";
30
30
  * ```
31
31
  */
32
32
  export class SelectionCheckboxDirective {
33
+ selectionService;
34
+ cellSelectionService;
35
+ aggregateService;
36
+ el;
37
+ renderer;
38
+ ngZone;
39
+ /**
40
+ * The current index of the `dataItem` that will be selected.
41
+ */
42
+ itemIndex;
43
+ type = 'checkbox';
44
+ destroyClick;
45
+ destroyKeyDown;
46
+ ngAfterContentChecked() {
47
+ this.setCheckedState();
48
+ }
33
49
  constructor(selectionService, cellSelectionService, aggregateService, el, renderer, ngZone) {
34
50
  this.selectionService = selectionService;
35
51
  this.cellSelectionService = cellSelectionService;
@@ -37,15 +53,11 @@ export class SelectionCheckboxDirective {
37
53
  this.el = el;
38
54
  this.renderer = renderer;
39
55
  this.ngZone = ngZone;
40
- this.type = 'checkbox';
41
56
  this.ngZone.runOutsideAngular(() => {
42
57
  this.destroyClick = this.renderer.listen(this.el.nativeElement, 'click', this.onClick.bind(this));
43
58
  this.destroyKeyDown = this.renderer.listen(this.el.nativeElement, 'keydown', this.onKeyDown.bind(this));
44
59
  });
45
60
  }
46
- ngAfterContentChecked() {
47
- this.setCheckedState();
48
- }
49
61
  ngOnDestroy() {
50
62
  if (this.destroyClick) {
51
63
  this.destroyClick();
@@ -92,10 +104,10 @@ export class SelectionCheckboxDirective {
92
104
  const isSelected = this.selectionService.nonSelectableRows.has(this.itemIndex) ? false : this.selectionService.isSelected(this.itemIndex);
93
105
  this.renderer.setProperty(this.el.nativeElement, 'checked', isSelected);
94
106
  }
107
+ 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 }], target: i0.ɵɵFactoryTarget.Directive });
108
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] }, host: { properties: { "attr.type": "this.type" } }, ngImport: i0 });
95
109
  }
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: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, decorators: [{
99
111
  type: Directive,
100
112
  args: [{
101
113
  selector: '[kendoGridSelectionCheckbox]',
@@ -12,34 +12,55 @@ import * as i1 from "../common/provider.service";
12
12
  * @hidden
13
13
  */
14
14
  export class Selection {
15
- constructor(ctx, cd) {
16
- this.ctx = ctx;
17
- this.cd = cd;
18
- /**
19
- * Defines the collection that will store the selected item keys.
20
- * @default []
21
- */
22
- this.selectedKeys = [];
23
- /**
24
- * Defines the initial shift-click range selection starting column index when cell selection is enabled.
25
- *
26
- * @default 0
27
- */
28
- this.rangeSelectionStartColumnIndex = 0;
29
- /**
30
- * Fires when the `selectedKeys` collection has been updated.
31
- */
32
- this.selectedKeysChange = new EventEmitter();
33
- this.rowSelectionState = new Set();
34
- this.cellSelectionState = new PairSet();
35
- this.init();
36
- }
15
+ ctx;
16
+ cd;
17
+ /**
18
+ * Defines the collection that will store the selected item keys.
19
+ * @default []
20
+ */
21
+ selectedKeys = [];
22
+ /**
23
+ * Defines the initial shift-click range selection starting row index.
24
+ *
25
+ * @default 0
26
+ */
27
+ rangeSelectionStartRow;
28
+ /**
29
+ * Defines the initial shift-click range selection starting column index when cell selection is enabled.
30
+ *
31
+ * @default 0
32
+ */
33
+ rangeSelectionStartColumnIndex = 0;
34
+ /**
35
+ * Defines the item key that will be stored in the `selectedKeys` collection.
36
+ */
37
+ selectionKey;
38
+ /**
39
+ * Defines a function that determines the column key of a data cell.
40
+ *
41
+ * The function should return an unique value for each column.
42
+ * By default, the Grid uses the column index as a column key.
43
+ */
44
+ columnKey;
45
+ /**
46
+ * Fires when the `selectedKeys` collection has been updated.
47
+ */
48
+ selectedKeysChange = new EventEmitter();
49
+ rowSelectionState = new Set();
50
+ cellSelectionState = new PairSet();
37
51
  /**
38
52
  * @hidden
39
53
  */
40
54
  get isCellSelectionMode() {
41
55
  return isPresent(this.ctx.grid.selectable) && this.ctx.grid.selectable['cell'];
42
56
  }
57
+ lastSelectionState;
58
+ selectionChangeSubscription;
59
+ constructor(ctx, cd) {
60
+ this.ctx = ctx;
61
+ this.cd = cd;
62
+ this.init();
63
+ }
43
64
  ngOnChanges(changes) {
44
65
  // skip reinitialization if the user data is the same as the last state change
45
66
  if (isPresent(changes['selectedKeys']) && this.lastSelectionState !== this.selectedKeys) {
@@ -161,10 +182,10 @@ export class Selection {
161
182
  this.rowSelectionState = new Set(selectedKeys);
162
183
  }
163
184
  }
185
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Selection, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
186
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Selection, selector: "kendo-grid-selection-base", inputs: { selectedKeys: "selectedKeys", rangeSelectionStartRow: "rangeSelectionStartRow", rangeSelectionStartColumnIndex: "rangeSelectionStartColumnIndex", selectionKey: ["kendoGridSelectBy", "selectionKey"], columnKey: "columnKey" }, outputs: { selectedKeysChange: "selectedKeysChange" }, usesOnChanges: true, ngImport: i0 });
164
187
  }
165
- Selection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Selection, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
166
- Selection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Selection, selector: "kendo-grid-selection-base", inputs: { selectedKeys: "selectedKeys", rangeSelectionStartRow: "rangeSelectionStartRow", rangeSelectionStartColumnIndex: "rangeSelectionStartColumnIndex", selectionKey: ["kendoGridSelectBy", "selectionKey"], columnKey: "columnKey" }, outputs: { selectedKeysChange: "selectedKeysChange" }, usesOnChanges: true, ngImport: i0 });
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Selection, decorators: [{
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Selection, decorators: [{
168
189
  type: Directive,
169
190
  args: [{
170
191
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -12,6 +12,7 @@ import * as i1 from "../common/provider.service";
12
12
  * ([see example]({% slug selection_grid %}#toc-toggling-the-selection-functionality)).
13
13
  */
14
14
  export class SelectionDirective extends Selection {
15
+ ctx;
15
16
  constructor(ctx, cd) {
16
17
  super(ctx, cd);
17
18
  this.ctx = ctx;
@@ -31,10 +32,10 @@ export class SelectionDirective extends Selection {
31
32
  ngOnDestroy() {
32
33
  super.destroy();
33
34
  }
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionDirective, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
36
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionDirective, isStandalone: true, selector: "[kendoGridSelectBy]", usesInheritance: true, ngImport: i0 });
34
37
  }
35
- SelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionDirective, deps: [{ token: i1.ContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
36
- SelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectionDirective, isStandalone: true, selector: "[kendoGridSelectBy]", usesInheritance: true, ngImport: i0 });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionDirective, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionDirective, decorators: [{
38
39
  type: Directive,
39
40
  args: [{
40
41
  selector: '[kendoGridSelectBy]',
@@ -20,21 +20,19 @@ import * as i5 from "../common/provider.service";
20
20
  * @hidden
21
21
  */
22
22
  export class SelectionService {
23
- constructor(domEvents, aggregateService, localDataChangesService, navigationService, ctxService) {
24
- this.domEvents = domEvents;
25
- this.aggregateService = aggregateService;
26
- this.localDataChangesService = localDataChangesService;
27
- this.navigationService = navigationService;
28
- this.ctxService = ctxService;
29
- this.changes = new EventEmitter();
30
- this.currentSelection = [];
31
- this.nonSelectableRows = new Map();
32
- this.selectAllChecked = false;
33
- this.active = false;
34
- this.dragging = false;
35
- this.lastSelectionData = {};
36
- this.addSubscriptions();
37
- }
23
+ domEvents;
24
+ aggregateService;
25
+ localDataChangesService;
26
+ navigationService;
27
+ ctxService;
28
+ changes = new EventEmitter();
29
+ lastSelectionStartIndex;
30
+ currentSelection = [];
31
+ nonSelectableRows = new Map();
32
+ selectAllChecked = false;
33
+ settings;
34
+ active = false;
35
+ aggregates;
38
36
  get enableMarquee() {
39
37
  const checkboxOnly = this.settings && typeof this.settings === 'object' && this.settings.checkboxOnly;
40
38
  if (!this.settings || checkboxOnly) {
@@ -49,9 +47,24 @@ export class SelectionService {
49
47
  selectableSettings.drag;
50
48
  return this.active && dragAndMultiple;
51
49
  }
50
+ mouseDownEventArgs;
51
+ dragging = false;
52
52
  get hasNonSelectable() {
53
53
  return this.nonSelectableRows.size > 0;
54
54
  }
55
+ cellClickSubscription;
56
+ mousedownSubscription;
57
+ dataChangedSubscription;
58
+ lastSelectionData = {};
59
+ _selectAllState;
60
+ constructor(domEvents, aggregateService, localDataChangesService, navigationService, ctxService) {
61
+ this.domEvents = domEvents;
62
+ this.aggregateService = aggregateService;
63
+ this.localDataChangesService = localDataChangesService;
64
+ this.navigationService = navigationService;
65
+ this.ctxService = ctxService;
66
+ this.addSubscriptions();
67
+ }
55
68
  init(settings) {
56
69
  this.settings = settings;
57
70
  if (!isPresent(this.lastSelectionStartIndex)) {
@@ -411,9 +424,9 @@ export class SelectionService {
411
424
  this.dataChangedSubscription = null;
412
425
  }
413
426
  }
427
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService, deps: [{ token: i1.DomEventsService }, { token: i2.CellSelectionAggregateService }, { token: i3.LocalDataChangesService }, { token: i4.NavigationService }, { token: i5.ContextService }], target: i0.ɵɵFactoryTarget.Injectable });
428
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService });
414
429
  }
415
- SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService, deps: [{ token: i1.DomEventsService }, { token: i2.CellSelectionAggregateService }, { token: i3.LocalDataChangesService }, { token: i4.NavigationService }, { token: i5.ContextService }], target: i0.ɵɵFactoryTarget.Injectable });
416
- SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService });
417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService, decorators: [{
430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService, decorators: [{
418
431
  type: Injectable
419
432
  }], ctorParameters: function () { return [{ type: i1.DomEventsService }, { type: i2.CellSelectionAggregateService }, { type: i3.LocalDataChangesService }, { type: i4.NavigationService }, { type: i5.ContextService }]; } });
@@ -27,11 +27,11 @@ import * as i14 from "./rendering/grid-table.directive";
27
27
  * This module is deprecated and will be removed in a future major version release.
28
28
  */
29
29
  export class SharedModule {
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SharedModule, 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], exports: [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, DraggableModule] });
32
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedModule, providers: [IconsService], imports: [DraggableModule] });
30
33
  }
31
- SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
- SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, 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], exports: [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, DraggableModule] });
33
- SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, providers: [IconsService], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i13.LoadingComponent, DraggableModule] });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedModule, decorators: [{
35
35
  type: NgModule,
36
36
  args: [{
37
37
  exports: [...KENDO_GRID_SHARED, DraggableModule],
@@ -0,0 +1,41 @@
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 { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
6
+ import { ExcelService } from './excel.service';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the `export-to-Excel` toolbar tool of the Grid.
10
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
11
+ * ToolbarComponent used in the Grid.
12
+ *
13
+ * When the user clicks a button associated with the directive, the
14
+ * [excelExport]({% slug api_grid_gridcomponent %}#toc-excelexport) event
15
+ * fires ([see example]({% slug excelexport_grid %})).
16
+ *
17
+ * @example
18
+ * ```html-no-run
19
+ * <kendo-grid>
20
+ * <kendo-toolbar>
21
+ * <kendo-toolbar-button text="Excel Export" kendoGridExcelTool></kendo-toolbar-button>
22
+ * </kendo-toolbar>
23
+ * <kendo-grid-excel fileName="Grid.xlsx">
24
+ * </kendo-grid-excel>
25
+ * </kendo-grid>
26
+ * ```
27
+ */
28
+ export declare class ExcelCommandToolbarDirective {
29
+ private excelService;
30
+ private host;
31
+ private clickSub;
32
+ constructor(excelService: ExcelService, host: ToolBarButtonComponent);
33
+ ngOnInit(): void;
34
+ ngOnDestroy(): void;
35
+ /**
36
+ * @hidden
37
+ */
38
+ onClick(e: any): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExcelCommandToolbarDirective, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ExcelCommandToolbarDirective, "[kendoGridExcelTool]", never, {}, {}, never, never, true, never>;
41
+ }
@@ -19,7 +19,7 @@ import * as i0 from "@angular/core";
19
19
  * ```html
20
20
  * <kendo-grid>
21
21
  * <ng-template kendoGridToolbarTemplate>
22
- * <button kendoGridExcelCommand>Export to PDF</button>
22
+ * <button kendoGridExcelCommand>Export to Excel</button>
23
23
  * </ng-template>
24
24
  * <kendo-grid-excel fileName="Grid.xlsx">
25
25
  * </kendo-grid-excel>
@@ -82,5 +82,5 @@ export declare class ExcelComponent implements OnDestroy {
82
82
  protected exportData(component: GridComponent, result: ExcelExportData): void;
83
83
  protected saveFile(options: any): void;
84
84
  static ɵfac: i0.ɵɵFactoryDeclaration<ExcelComponent, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<ExcelComponent, "kendo-grid-excel", never, { "fileName": "fileName"; "filterable": "filterable"; "creator": "creator"; "date": "date"; "forceProxy": "forceProxy"; "proxyURL": "proxyURL"; "fetchData": "fetchData"; "paddingCellOptions": "paddingCellOptions"; "headerPaddingCellOptions": "headerPaddingCellOptions"; "collapsible": "collapsible"; }, {}, ["columns"], never, true, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExcelComponent, "kendo-grid-excel", never, { "fileName": { "alias": "fileName"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "creator": { "alias": "creator"; "required": false; }; "date": { "alias": "date"; "required": false; }; "forceProxy": { "alias": "forceProxy"; "required": false; }; "proxyURL": { "alias": "proxyURL"; "required": false; }; "fetchData": { "alias": "fetchData"; "required": false; }; "paddingCellOptions": { "alias": "paddingCellOptions"; "required": false; }; "headerPaddingCellOptions": { "alias": "headerPaddingCellOptions"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; }, {}, ["columns"], never, true, never>;
86
86
  }
@@ -6,7 +6,8 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "@progress/kendo-angular-icons";
7
7
  import * as i2 from "./excel.component";
8
8
  import * as i3 from "./excel-command.directive";
9
- import * as i4 from "@progress/kendo-angular-excel-export";
9
+ import * as i4 from "./excel-command-tool.directive";
10
+ import * as i5 from "@progress/kendo-angular-excel-export";
10
11
  /**
11
12
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
12
13
  * definition for the Excel component of the Grid.
@@ -30,6 +31,6 @@ import * as i4 from "@progress/kendo-angular-excel-export";
30
31
  */
31
32
  export declare class ExcelModule {
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ExcelModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<ExcelModule, never, [typeof i1.IconComponent, typeof i1.SVGIconComponent, typeof i2.ExcelComponent, typeof i3.ExcelCommandDirective], [typeof i2.ExcelComponent, typeof i3.ExcelCommandDirective, typeof i4.ExcelExportModule]>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExcelModule, never, [typeof i1.IconComponent, typeof i1.SVGIconComponent, typeof i2.ExcelComponent, typeof i3.ExcelCommandDirective, typeof i4.ExcelCommandToolbarDirective], [typeof i2.ExcelComponent, typeof i3.ExcelCommandDirective, typeof i4.ExcelCommandToolbarDirective, typeof i5.ExcelExportModule]>;
34
35
  static ɵinj: i0.ɵɵInjectorDeclaration<ExcelModule>;
35
36
  }