@progress/kendo-angular-grid 17.0.0-develop.8 → 17.0.0

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
@@ -17,13 +17,14 @@ import * as i0 from "@angular/core";
17
17
  * - `isNew`—The state of the current item. Use it as an alias for a template variable by utilizing the `let-isNew="isNew"` syntax.
18
18
  */
19
19
  export class EditTemplateDirective {
20
+ templateRef;
20
21
  constructor(templateRef) {
21
22
  this.templateRef = templateRef;
22
23
  }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditTemplateDirective, isStandalone: true, selector: "[kendoGridEditTemplate]", ngImport: i0 });
23
26
  }
24
- EditTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
25
- EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, isStandalone: true, selector: "[kendoGridEditTemplate]", ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditTemplateDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  selector: '[kendoGridEditTemplate]',
@@ -24,13 +24,18 @@ const isNewRow = (index) => index === -1 || index === undefined;
24
24
  * @hidden
25
25
  */
26
26
  export class EditService {
27
+ ngZone;
28
+ changes = new EventEmitter();
29
+ changed;
30
+ editedIndices = [];
31
+ newItemGroup;
32
+ keepEditCell = false;
33
+ keepCellTimeout;
34
+ column;
35
+ closingCell = false;
36
+ changedSource = new Subject();
27
37
  constructor(ngZone) {
28
38
  this.ngZone = ngZone;
29
- this.changes = new EventEmitter();
30
- this.editedIndices = [];
31
- this.keepEditCell = false;
32
- this.closingCell = false;
33
- this.changedSource = new Subject();
34
39
  this.changed = this.changedSource.asObservable().pipe(switchMap(() => this.ngZone.onStable.asObservable().pipe(take(1))));
35
40
  }
36
41
  editRow(index, group = undefined) {
@@ -169,9 +174,9 @@ export class EditService {
169
174
  this.changedSource.next();
170
175
  });
171
176
  }
177
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
178
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService });
172
179
  }
173
- EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
174
- EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService });
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, decorators: [{
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, decorators: [{
176
181
  type: Injectable
177
182
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -8,12 +8,11 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class LocalDataChangesService {
11
- constructor() {
12
- this.changes = new EventEmitter();
13
- }
11
+ changes = new EventEmitter();
12
+ data;
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService });
14
15
  }
15
- LocalDataChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService, decorators: [{
18
17
  type: Injectable
19
18
  }] });
@@ -33,21 +33,20 @@ import * as i2 from "../common/provider.service";
33
33
  * ```
34
34
  */
35
35
  export class RemoveCommandDirective extends Button {
36
- constructor(editService, cellContext, element, renderer, ctx, ngZone) {
37
- super(element, renderer, null, ctx.localization, ngZone);
38
- this.editService = editService;
39
- this.cellContext = cellContext;
40
- /**
41
- * @hidden
42
- */
43
- this.commandClass = true;
44
- }
36
+ editService;
37
+ cellContext;
38
+ rowIndex;
39
+ isEdited;
45
40
  /**
46
41
  * @hidden
47
42
  */
48
43
  get visible() {
49
44
  return this.isEdited ? 'none' : '';
50
45
  }
46
+ /**
47
+ * @hidden
48
+ */
49
+ commandClass = true;
51
50
  /**
52
51
  * @hidden
53
52
  */
@@ -55,15 +54,19 @@ export class RemoveCommandDirective extends Button {
55
54
  e.preventDefault();
56
55
  this.editService.remove(this.rowIndex);
57
56
  }
57
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
58
+ super(element, renderer, null, ctx.localization, ngZone);
59
+ this.editService = editService;
60
+ this.cellContext = cellContext;
61
+ }
58
62
  ngDoCheck() {
59
63
  if (this.cellContext) {
60
64
  this.rowIndex = this.cellContext.rowIndex;
61
65
  this.isEdited = this.editService.isEdited(this.rowIndex);
62
66
  }
63
67
  }
64
- }
65
- RemoveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: i1.EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
66
- RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoGridRemoveCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-remove-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
68
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: i1.EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
69
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoGridRemoveCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-remove-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
67
70
  <kendo-icon-wrapper
68
71
  *ngIf="icon || svgIcon"
69
72
  innerCssClass="k-button-icon"
@@ -75,7 +78,8 @@ RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
75
78
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
76
79
  <span class="k-button-text"><ng-content></ng-content></span>
77
80
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, decorators: [{
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandDirective, decorators: [{
79
83
  type: Component,
80
84
  args: [{
81
85
  selector: '[kendoGridRemoveCommand]',
@@ -34,21 +34,20 @@ import * as i2 from "../common/provider.service";
34
34
  * ```
35
35
  */
36
36
  export class SaveCommandDirective extends Button {
37
- constructor(editService, cellContext, element, renderer, ctx, ngZone) {
38
- super(element, renderer, null, ctx.localization, ngZone);
39
- this.editService = editService;
40
- this.cellContext = cellContext;
41
- /**
42
- * @hidden
43
- */
44
- this.commandClass = true;
45
- }
37
+ editService;
38
+ cellContext;
39
+ rowIndex;
40
+ isEdited;
46
41
  /**
47
42
  * @hidden
48
43
  */
49
44
  get visible() {
50
45
  return !this.isEdited ? 'none' : '';
51
46
  }
47
+ /**
48
+ * @hidden
49
+ */
50
+ commandClass = true;
52
51
  /**
53
52
  * @hidden
54
53
  */
@@ -58,15 +57,19 @@ export class SaveCommandDirective extends Button {
58
57
  this.editService.save(this.rowIndex);
59
58
  }
60
59
  }
60
+ constructor(editService, cellContext, element, renderer, ctx, ngZone) {
61
+ super(element, renderer, null, ctx.localization, ngZone);
62
+ this.editService = editService;
63
+ this.cellContext = cellContext;
64
+ }
61
65
  ngDoCheck() {
62
66
  if (this.cellContext) {
63
67
  this.rowIndex = this.cellContext.rowIndex;
64
68
  this.isEdited = this.editService.isEdited(this.rowIndex);
65
69
  }
66
70
  }
67
- }
68
- SaveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, deps: [{ token: i1.EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
69
- SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SaveCommandDirective, isStandalone: true, selector: "[kendoGridSaveCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-save-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandDirective, deps: [{ token: i1.EditService }, { token: CELL_CONTEXT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
72
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SaveCommandDirective, isStandalone: true, selector: "[kendoGridSaveCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "style.display": "this.visible", "class.k-grid-save-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
70
73
  <kendo-icon-wrapper
71
74
  *ngIf="icon || svgIcon"
72
75
  innerCssClass="k-button-icon"
@@ -78,7 +81,8 @@ SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
78
81
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
79
82
  <span class="k-button-text"><ng-content></ng-content></span>
80
83
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, decorators: [{
84
+ }
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandDirective, decorators: [{
82
86
  type: Component,
83
87
  args: [{
84
88
  selector: '[kendoGridSaveCommand]',
@@ -15,12 +15,8 @@ import * as i2 from "../editing/local-data-changes.service";
15
15
  * @hidden
16
16
  */
17
17
  export class EditingDirectiveBase {
18
- constructor(grid, localDataChangesService) {
19
- this.grid = grid;
20
- this.localDataChangesService = localDataChangesService;
21
- this.subscriptions = new Subscription();
22
- this.defaultEditService = this.createDefaultService();
23
- }
18
+ grid;
19
+ localDataChangesService;
24
20
  // Consider adding support for the dependency injection of the service to allow for specifying a generic service without code.
25
21
  // The Input should still be kept.
26
22
  /**
@@ -32,6 +28,18 @@ export class EditingDirectiveBase {
32
28
  get editService() {
33
29
  return this.userEditService || this.defaultEditService;
34
30
  }
31
+ /**
32
+ * A function that is called to confirm if the `dataItem` will be removed.
33
+ */
34
+ removeConfirmation;
35
+ subscriptions = new Subscription();
36
+ defaultEditService;
37
+ userEditService;
38
+ constructor(grid, localDataChangesService) {
39
+ this.grid = grid;
40
+ this.localDataChangesService = localDataChangesService;
41
+ this.defaultEditService = this.createDefaultService();
42
+ }
35
43
  /**
36
44
  * @hidden
37
45
  */
@@ -97,10 +105,10 @@ export class EditingDirectiveBase {
97
105
  closeEditor(rowIndex) {
98
106
  this.grid.closeRow(rowIndex);
99
107
  }
108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
109
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditingDirectiveBase, selector: "[kendoGridEditingDirectiveBase]", inputs: { editService: "editService", removeConfirmation: "removeConfirmation" }, ngImport: i0 });
100
110
  }
101
- EditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
102
- EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditingDirectiveBase, selector: "[kendoGridEditingDirectiveBase]", inputs: { editService: "editService", removeConfirmation: "removeConfirmation" }, ngImport: i0 });
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditingDirectiveBase, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditingDirectiveBase, decorators: [{
104
112
  type: Directive,
105
113
  args: [{
106
114
  selector: '[kendoGridEditingDirectiveBase]'
@@ -16,6 +16,13 @@ import * as i2 from "../editing/local-data-changes.service";
16
16
  * editing with Reactive Forms ([see example]({% slug editing_directives_grid %}#toc-in-cell-editing)).
17
17
  */
18
18
  export class InCellEditingDirective extends EditingDirectiveBase {
19
+ grid;
20
+ localDataChangesService;
21
+ cdr;
22
+ /**
23
+ * The function that creates the `FormGroup` for the edited model.
24
+ */
25
+ createFormGroup;
19
26
  constructor(grid, localDataChangesService, cdr) {
20
27
  super(grid, localDataChangesService);
21
28
  this.grid = grid;
@@ -67,10 +74,10 @@ export class InCellEditingDirective extends EditingDirectiveBase {
67
74
  this.editService.update(dataItem);
68
75
  }
69
76
  }
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InCellEditingDirective, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
78
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: InCellEditingDirective, isStandalone: true, selector: "[kendoGridInCellEditing]", inputs: { createFormGroup: ["kendoGridInCellEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
70
79
  }
71
- InCellEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InCellEditingDirective, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
72
- InCellEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: InCellEditingDirective, isStandalone: true, selector: "[kendoGridInCellEditing]", inputs: { createFormGroup: ["kendoGridInCellEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InCellEditingDirective, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InCellEditingDirective, decorators: [{
74
81
  type: Directive,
75
82
  args: [{
76
83
  selector: '[kendoGridInCellEditing]',
@@ -8,6 +8,8 @@ import { GridConfigurationErrorMessages } from '../common/error-messages';
8
8
  * @hidden
9
9
  */
10
10
  export class LocalEditService {
11
+ grid;
12
+ localDataChangesService;
11
13
  constructor(grid, localDataChangesService) {
12
14
  this.grid = grid;
13
15
  this.localDataChangesService = localDataChangesService;
@@ -15,6 +15,12 @@ import * as i2 from "../editing/local-data-changes.service";
15
15
  * Reactive Forms ([see example](slug:editing_directives_grid#toc-reactive-editing-directive)).
16
16
  */
17
17
  export class ReactiveEditingDirective extends RowEditingDirectiveBase {
18
+ grid;
19
+ localDataChangesService;
20
+ /**
21
+ * The function that creates the `FormGroup` for the edited model.
22
+ */
23
+ createFormGroup;
18
24
  constructor(grid, localDataChangesService) {
19
25
  super(grid, localDataChangesService);
20
26
  this.grid = grid;
@@ -33,10 +39,10 @@ export class ReactiveEditingDirective extends RowEditingDirectiveBase {
33
39
  }
34
40
  markAllAsTouched(formGroup);
35
41
  }
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReactiveEditingDirective, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
43
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ReactiveEditingDirective, isStandalone: true, selector: "[kendoGridReactiveEditing]", inputs: { createFormGroup: ["kendoGridReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
36
44
  }
37
- ReactiveEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReactiveEditingDirective, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
38
- ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ReactiveEditingDirective, isStandalone: true, selector: "[kendoGridReactiveEditing]", inputs: { createFormGroup: ["kendoGridReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
40
46
  type: Directive,
41
47
  args: [{
42
48
  selector: '[kendoGridReactiveEditing]',
@@ -10,6 +10,7 @@ import * as i0 from "@angular/core";
10
10
  * @hidden
11
11
  */
12
12
  export class RowEditingDirectiveBase extends EditingDirectiveBase {
13
+ rowIndex;
13
14
  /**
14
15
  * @hidden
15
16
  */
@@ -41,10 +42,10 @@ export class RowEditingDirectiveBase extends EditingDirectiveBase {
41
42
  clean() {
42
43
  delete this.rowIndex;
43
44
  }
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowEditingDirectiveBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
46
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RowEditingDirectiveBase, selector: "[kendoGridRowEditingDirectiveBase]", usesInheritance: true, ngImport: i0 });
44
47
  }
45
- RowEditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowEditingDirectiveBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
46
- RowEditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RowEditingDirectiveBase, selector: "[kendoGridRowEditingDirectiveBase]", usesInheritance: true, ngImport: i0 });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowEditingDirectiveBase, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowEditingDirectiveBase, decorators: [{
48
49
  type: Directive,
49
50
  args: [{
50
51
  selector: '[kendoGridRowEditingDirectiveBase]'
@@ -14,6 +14,14 @@ import * as i2 from "../editing/local-data-changes.service";
14
14
  * the Template-Driven Angular Forms ([see example]({% slug editing_directives_grid %}#toc-template-editing-directive)).
15
15
  */
16
16
  export class TemplateEditingDirective extends RowEditingDirectiveBase {
17
+ grid;
18
+ localDataChangesService;
19
+ /**
20
+ * The function that creates the `dataItem` for the new rows.
21
+ */
22
+ createNewItem;
23
+ dataItem;
24
+ originalValues;
17
25
  constructor(grid, localDataChangesService) {
18
26
  super(grid, localDataChangesService);
19
27
  this.grid = grid;
@@ -43,10 +51,10 @@ export class TemplateEditingDirective extends RowEditingDirectiveBase {
43
51
  super.clean();
44
52
  delete this.dataItem;
45
53
  }
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TemplateEditingDirective, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
55
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TemplateEditingDirective, isStandalone: true, selector: "[kendoGridTemplateEditing]", inputs: { createNewItem: ["kendoGridTemplateEditing", "createNewItem"] }, usesInheritance: true, ngImport: i0 });
46
56
  }
47
- TemplateEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateEditingDirective, deps: [{ token: i1.GridComponent }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Directive });
48
- TemplateEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateEditingDirective, isStandalone: true, selector: "[kendoGridTemplateEditing]", inputs: { createNewItem: ["kendoGridTemplateEditing", "createNewItem"] }, usesInheritance: true, ngImport: i0 });
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateEditingDirective, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TemplateEditingDirective, decorators: [{
50
58
  type: Directive,
51
59
  args: [{
52
60
  selector: '[kendoGridTemplateEditing]',
@@ -0,0 +1,66 @@
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 } from '@angular/core';
6
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
7
+ import { Subscription } from 'rxjs';
8
+ import { fileExcelIcon } from '@progress/kendo-svg-icons';
9
+ import { ExcelService } from './excel.service';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "./excel.service";
12
+ import * as i2 from "@progress/kendo-angular-toolbar";
13
+ /**
14
+ * Represents the `export-to-Excel` toolbar tool of the Grid.
15
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
16
+ * ToolbarComponent used in the Grid.
17
+ *
18
+ * When the user clicks a button associated with the directive, the
19
+ * [excelExport]({% slug api_grid_gridcomponent %}#toc-excelexport) event
20
+ * fires ([see example]({% slug excelexport_grid %})).
21
+ *
22
+ * @example
23
+ * ```html-no-run
24
+ * <kendo-grid>
25
+ * <kendo-toolbar>
26
+ * <kendo-toolbar-button text="Excel Export" kendoGridExcelTool></kendo-toolbar-button>
27
+ * </kendo-toolbar>
28
+ * <kendo-grid-excel fileName="Grid.xlsx">
29
+ * </kendo-grid-excel>
30
+ * </kendo-grid>
31
+ * ```
32
+ */
33
+ export class ExcelCommandToolbarDirective {
34
+ excelService;
35
+ host;
36
+ clickSub = new Subscription();
37
+ constructor(excelService, host) {
38
+ this.excelService = excelService;
39
+ this.host = host;
40
+ }
41
+ ngOnInit() {
42
+ this.clickSub = this.host.click.subscribe(e => this.onClick(e));
43
+ this.host.className = 'k-grid-excel';
44
+ this.host.svgIcon = fileExcelIcon;
45
+ this.host.icon = 'file-excel';
46
+ }
47
+ ngOnDestroy() {
48
+ this.clickSub.unsubscribe();
49
+ }
50
+ /**
51
+ * @hidden
52
+ */
53
+ onClick(e) {
54
+ e.preventDefault();
55
+ this.excelService.exportClick.emit();
56
+ }
57
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandToolbarDirective, deps: [{ token: i1.ExcelService }, { token: i2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
58
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ExcelCommandToolbarDirective, isStandalone: true, selector: "[kendoGridExcelTool]", ngImport: i0 });
59
+ }
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandToolbarDirective, decorators: [{
61
+ type: Directive,
62
+ args: [{
63
+ selector: '[kendoGridExcelTool]',
64
+ standalone: true
65
+ }]
66
+ }], ctorParameters: function () { return [{ type: i1.ExcelService }, { type: i2.ToolBarButtonComponent }]; } });
@@ -23,7 +23,7 @@ import * as i2 from "../common/provider.service";
23
23
  * ```html
24
24
  * <kendo-grid>
25
25
  * <ng-template kendoGridToolbarTemplate>
26
- * <button kendoGridExcelCommand>Export to PDF</button>
26
+ * <button kendoGridExcelCommand>Export to Excel</button>
27
27
  * </ng-template>
28
28
  * <kendo-grid-excel fileName="Grid.xlsx">
29
29
  * </kendo-grid-excel>
@@ -31,11 +31,7 @@ import * as i2 from "../common/provider.service";
31
31
  * ```
32
32
  */
33
33
  export class ExcelCommandDirective extends Button {
34
- constructor(excelService, element, renderer, ctx, ngZone) {
35
- super(element, renderer, null, ctx.localization, ngZone);
36
- this.excelService = excelService;
37
- this.ngZone = ngZone;
38
- }
34
+ excelService;
39
35
  /**
40
36
  * @hidden
41
37
  */
@@ -49,9 +45,13 @@ export class ExcelCommandDirective extends Button {
49
45
  get excelClass() {
50
46
  return true;
51
47
  }
52
- }
53
- ExcelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelCommandDirective, deps: [{ token: i1.ExcelService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
54
- ExcelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ExcelCommandDirective, isStandalone: true, selector: "[kendoGridExcelCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-excel": "this.excelClass" } }, usesInheritance: true, ngImport: i0, template: `
48
+ constructor(excelService, element, renderer, ctx, ngZone) {
49
+ super(element, renderer, null, ctx.localization, ngZone);
50
+ this.excelService = excelService;
51
+ this.ngZone = ngZone;
52
+ }
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandDirective, deps: [{ token: i1.ExcelService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
54
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ExcelCommandDirective, isStandalone: true, selector: "[kendoGridExcelCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-excel": "this.excelClass" } }, usesInheritance: true, ngImport: i0, template: `
55
55
  <kendo-icon-wrapper
56
56
  *ngIf="icon || svgIcon"
57
57
  innerCssClass="k-button-icon"
@@ -63,7 +63,8 @@ ExcelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
63
63
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
64
64
  <span class="k-button-text"><ng-content></ng-content></span>
65
65
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelCommandDirective, decorators: [{
66
+ }
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandDirective, decorators: [{
67
68
  type: Component,
68
69
  args: [{
69
70
  selector: '[kendoGridExcelCommand]',
@@ -7,6 +7,7 @@ import { PreventableEvent } from '../common/preventable-event';
7
7
  * Arguments for the `excelExport` event.
8
8
  */
9
9
  export class ExcelExportEvent extends PreventableEvent {
10
+ workbook;
10
11
  constructor(workbook) {
11
12
  super();
12
13
  this.workbook = workbook;
@@ -60,18 +60,72 @@ const componentColumns = (component) => {
60
60
  * Configures the settings for the export of Grid in Excel ([see example]({% slug excelexport_grid %})).
61
61
  */
62
62
  export class ExcelComponent {
63
+ ctx;
64
+ zone;
65
+ /**
66
+ * Specifies the file name of the exported Excel file.
67
+ * @default "Export.xlsx"
68
+ */
69
+ fileName = 'Export.xlsx';
70
+ /**
71
+ * Enables or disables column filtering in the Excel file. This behavior is different from the filtering feature of the Grid.
72
+ */
73
+ filterable;
74
+ /**
75
+ * The author of the workbook.
76
+ */
77
+ creator;
78
+ /**
79
+ * The date on which the workbook was created. Defaults to `new Date()`.
80
+ */
81
+ date;
82
+ /**
83
+ * If set to `true`, the content is forwarded to [proxyURL](#toc-proxyurl) even if the browser supports the saving of files locally.
84
+ */
85
+ forceProxy;
86
+ /**
87
+ * The URL of the server-side proxy which streams the file to the end user.
88
+ *
89
+ * Using a proxy is required if the browser is not capable of saving files locally.
90
+ *
91
+ * Optionally, set up a proxy to reduce memory usage. This avoids copying the file contents in memory,
92
+ * but transmits it over the network instead. For this use case, set [forceProxy](#toc-forceproxy) to `true`
93
+ * to skip client-side saving even in browser that support it.
94
+ *
95
+ * In the request body, the proxy receives a POST request with the specific parameters. [See example](slug:server_proxy#toc-implementations).
96
+ * The proxy returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.xslx>"`.
97
+ *
98
+ * For details on the server-side proxy usage and implementation, see the [File Saver]({% slug overview_filesaver %}) documentation.
99
+ */
100
+ proxyURL;
101
+ /**
102
+ * The function that is used to get the exported data options. By default, uses the current data and group of the Grid.
103
+ * To export data that is different from the current Grid data, provide a custom function.
104
+ */
105
+ fetchData;
106
+ /**
107
+ * If the data is grouped, the options of the cells that are inserted before the data,
108
+ * group, and footer cells to indicate the group hierarchy.
109
+ */
110
+ paddingCellOptions;
111
+ /**
112
+ * If the data is grouped, the options of the cells that are inserted before the
113
+ * header cells to align the headers and the column values.
114
+ */
115
+ headerPaddingCellOptions;
116
+ /**
117
+ * Specifies if the groups in the Excel file are collapsible.
118
+ */
119
+ collapsible;
120
+ /**
121
+ * @hidden
122
+ */
123
+ columns = new QueryList();
124
+ saveSubscription;
125
+ dataSubscription;
63
126
  constructor(excelService, ctx, zone) {
64
127
  this.ctx = ctx;
65
128
  this.zone = zone;
66
- /**
67
- * Specifies the file name of the exported Excel file.
68
- * @default "Export.xlsx"
69
- */
70
- this.fileName = 'Export.xlsx';
71
- /**
72
- * @hidden
73
- */
74
- this.columns = new QueryList();
75
129
  this.saveSubscription = excelService.saveToExcel.subscribe(this.save.bind(this));
76
130
  }
77
131
  ngOnDestroy() {
@@ -123,10 +177,10 @@ export class ExcelComponent {
123
177
  });
124
178
  });
125
179
  }
180
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelComponent, deps: [{ token: i1.ExcelService }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
181
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ExcelComponent, isStandalone: true, selector: "kendo-grid-excel", inputs: { fileName: "fileName", filterable: "filterable", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", fetchData: "fetchData", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions", collapsible: "collapsible" }, queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], ngImport: i0, template: ``, isInline: true });
126
182
  }
127
- ExcelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelComponent, deps: [{ token: i1.ExcelService }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
128
- ExcelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ExcelComponent, isStandalone: true, selector: "kendo-grid-excel", inputs: { fileName: "fileName", filterable: "filterable", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", fetchData: "fetchData", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions", collapsible: "collapsible" }, queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], ngImport: i0, template: ``, isInline: true });
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelComponent, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelComponent, decorators: [{
130
184
  type: Component,
131
185
  args: [{
132
186
  selector: 'kendo-grid-excel',