ngwr 16.2.0 → 16.4.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 (418) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/carousel/styles/_index.scss +53 -1
  4. package/cascader/styles/_rules.scss +7 -0
  5. package/color-picker/styles/_index.scss +21 -0
  6. package/date-picker/styles/_index.scss +19 -0
  7. package/dropdown/styles/_index.scss +13 -19
  8. package/fesm2022/ngwr-affix.mjs +3 -3
  9. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  10. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  11. package/fesm2022/ngwr-alert.mjs +3 -3
  12. package/fesm2022/ngwr-anchor.mjs +17 -6
  13. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  14. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  15. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  16. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  17. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  18. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  19. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  20. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  21. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  22. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  23. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  25. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  26. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  27. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  28. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  29. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  30. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  31. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  32. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  33. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  34. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  35. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  36. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  37. package/fesm2022/ngwr-avatar.mjs +3 -3
  38. package/fesm2022/ngwr-back-top.mjs +3 -3
  39. package/fesm2022/ngwr-badge.mjs +129 -11
  40. package/fesm2022/ngwr-badge.mjs.map +1 -1
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  42. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  43. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  44. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  45. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  46. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  47. package/fesm2022/ngwr-burger.mjs +3 -3
  48. package/fesm2022/ngwr-button.mjs +6 -6
  49. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  50. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  51. package/fesm2022/ngwr-calendar.mjs +500 -73
  52. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  53. package/fesm2022/ngwr-card.mjs +9 -9
  54. package/fesm2022/ngwr-carousel-testing.mjs +24 -1
  55. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  56. package/fesm2022/ngwr-carousel.mjs +73 -10
  57. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  58. package/fesm2022/ngwr-cascader.mjs +45 -37
  59. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  60. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  61. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  62. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  63. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  64. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  65. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  66. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  67. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-core.mjs +3 -3
  69. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  70. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  71. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  72. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  73. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  74. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  75. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  77. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  79. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  81. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  83. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  85. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  86. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  87. package/fesm2022/ngwr-checkbox.mjs +6 -6
  88. package/fesm2022/ngwr-clipboard.mjs +3 -3
  89. package/fesm2022/ngwr-collapse.mjs +9 -9
  90. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  91. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  92. package/fesm2022/ngwr-color-picker.mjs +153 -37
  93. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  94. package/fesm2022/ngwr-command-palette.mjs +3 -3
  95. package/fesm2022/ngwr-comment.mjs +10 -6
  96. package/fesm2022/ngwr-comment.mjs.map +1 -1
  97. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  98. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  99. package/fesm2022/ngwr-compare.mjs +3 -3
  100. package/fesm2022/ngwr-context-menu.mjs +28 -13
  101. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  102. package/fesm2022/ngwr-cookie.mjs +3 -3
  103. package/fesm2022/ngwr-copy-value.mjs +3 -3
  104. package/fesm2022/ngwr-counter.mjs +6 -6
  105. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  106. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  107. package/fesm2022/ngwr-date-picker.mjs +342 -69
  108. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  109. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  110. package/fesm2022/ngwr-date.mjs +59 -8
  111. package/fesm2022/ngwr-date.mjs.map +1 -1
  112. package/fesm2022/ngwr-density.mjs +6 -6
  113. package/fesm2022/ngwr-descriptions.mjs +6 -6
  114. package/fesm2022/ngwr-dialog.mjs +18 -18
  115. package/fesm2022/ngwr-directives.mjs +15 -15
  116. package/fesm2022/ngwr-divider.mjs +3 -3
  117. package/fesm2022/ngwr-drawer.mjs +51 -29
  118. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  119. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  120. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  121. package/fesm2022/ngwr-dropdown.mjs +70 -99
  122. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  123. package/fesm2022/ngwr-editor.mjs +4 -3
  124. package/fesm2022/ngwr-editor.mjs.map +1 -1
  125. package/fesm2022/ngwr-empty.mjs +3 -3
  126. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  127. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  128. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  129. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  130. package/fesm2022/ngwr-file-upload.mjs +279 -16
  131. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  132. package/fesm2022/ngwr-form.mjs +9 -9
  133. package/fesm2022/ngwr-form.mjs.map +1 -1
  134. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  135. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  136. package/fesm2022/ngwr-graph.mjs +664 -43
  137. package/fesm2022/ngwr-graph.mjs.map +1 -1
  138. package/fesm2022/ngwr-hotkey.mjs +6 -6
  139. package/fesm2022/ngwr-i18n-ar.mjs +27 -8
  140. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  141. package/fesm2022/ngwr-i18n-cs.mjs +27 -8
  142. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  143. package/fesm2022/ngwr-i18n-de.mjs +27 -8
  144. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  145. package/fesm2022/ngwr-i18n-en.mjs +27 -8
  146. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  147. package/fesm2022/ngwr-i18n-es.mjs +27 -8
  148. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  149. package/fesm2022/ngwr-i18n-fr.mjs +27 -8
  150. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  151. package/fesm2022/ngwr-i18n-he.mjs +27 -8
  152. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  153. package/fesm2022/ngwr-i18n-hi.mjs +27 -8
  154. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  155. package/fesm2022/ngwr-i18n-id.mjs +27 -8
  156. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  157. package/fesm2022/ngwr-i18n-it.mjs +27 -8
  158. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  159. package/fesm2022/ngwr-i18n-ja.mjs +27 -8
  160. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  161. package/fesm2022/ngwr-i18n-ko.mjs +27 -8
  162. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  163. package/fesm2022/ngwr-i18n-nl.mjs +27 -8
  164. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  165. package/fesm2022/ngwr-i18n-pl.mjs +27 -8
  166. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  167. package/fesm2022/ngwr-i18n-pt.mjs +27 -8
  168. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  169. package/fesm2022/ngwr-i18n-ru.mjs +27 -8
  170. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  171. package/fesm2022/ngwr-i18n-sv.mjs +27 -8
  172. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  173. package/fesm2022/ngwr-i18n-tr.mjs +27 -8
  174. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  175. package/fesm2022/ngwr-i18n-uk.mjs +27 -8
  176. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  177. package/fesm2022/ngwr-i18n-vi.mjs +27 -8
  178. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  179. package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
  180. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  181. package/fesm2022/ngwr-i18n-zh.mjs +27 -8
  182. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  183. package/fesm2022/ngwr-i18n.mjs +9 -9
  184. package/fesm2022/ngwr-icon.mjs +6 -6
  185. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  186. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  187. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  188. package/fesm2022/ngwr-input-number.mjs +68 -7
  189. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  190. package/fesm2022/ngwr-input-otp.mjs +23 -3
  191. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  192. package/fesm2022/ngwr-input-testing.mjs +24 -1
  193. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  194. package/fesm2022/ngwr-input.mjs +152 -36
  195. package/fesm2022/ngwr-input.mjs.map +1 -1
  196. package/fesm2022/ngwr-keyboard.mjs +3 -3
  197. package/fesm2022/ngwr-knob.mjs +3 -3
  198. package/fesm2022/ngwr-layout.mjs +15 -15
  199. package/fesm2022/ngwr-lightbox.mjs +8 -8
  200. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  201. package/fesm2022/ngwr-list.mjs +8 -8
  202. package/fesm2022/ngwr-list.mjs.map +1 -1
  203. package/fesm2022/ngwr-load-state.mjs +15 -15
  204. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  205. package/fesm2022/ngwr-mention.mjs +6 -6
  206. package/fesm2022/ngwr-meta.mjs +6 -6
  207. package/fesm2022/ngwr-overlay.mjs +175 -13
  208. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  209. package/fesm2022/ngwr-page-header.mjs +3 -3
  210. package/fesm2022/ngwr-pagination.mjs +6 -3
  211. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  212. package/fesm2022/ngwr-pipes.mjs +31 -29
  213. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  214. package/fesm2022/ngwr-platform.mjs +9 -9
  215. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  216. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  217. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  218. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  219. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  220. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  221. package/fesm2022/ngwr-popover.mjs +58 -156
  222. package/fesm2022/ngwr-popover.mjs.map +1 -1
  223. package/fesm2022/ngwr-progress.mjs +50 -9
  224. package/fesm2022/ngwr-progress.mjs.map +1 -1
  225. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  226. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  227. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  228. package/fesm2022/ngwr-qr.mjs +3 -3
  229. package/fesm2022/ngwr-radio.mjs +6 -6
  230. package/fesm2022/ngwr-rating.mjs +3 -3
  231. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  232. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  233. package/fesm2022/ngwr-resizable.mjs +3 -3
  234. package/fesm2022/ngwr-result.mjs +12 -12
  235. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  236. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  237. package/fesm2022/ngwr-schema-form.mjs +416 -19
  238. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  239. package/fesm2022/ngwr-scroll.mjs +3 -3
  240. package/fesm2022/ngwr-segmented.mjs +3 -3
  241. package/fesm2022/ngwr-select-testing.mjs +19 -0
  242. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  243. package/fesm2022/ngwr-select.mjs +361 -84
  244. package/fesm2022/ngwr-select.mjs.map +1 -1
  245. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  246. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  247. package/fesm2022/ngwr-sidebar.mjs +3 -3
  248. package/fesm2022/ngwr-skeleton.mjs +3 -3
  249. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  250. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  251. package/fesm2022/ngwr-slider.mjs +21 -3
  252. package/fesm2022/ngwr-slider.mjs.map +1 -1
  253. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  254. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  255. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  256. package/fesm2022/ngwr-spinner.mjs +3 -3
  257. package/fesm2022/ngwr-splitter.mjs +3 -3
  258. package/fesm2022/ngwr-statistic.mjs +9 -9
  259. package/fesm2022/ngwr-stepper.mjs +42 -11
  260. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  261. package/fesm2022/ngwr-storage.mjs +3 -3
  262. package/fesm2022/ngwr-switch.mjs +3 -3
  263. package/fesm2022/ngwr-table-testing.mjs +157 -3
  264. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-table.mjs +1051 -74
  266. package/fesm2022/ngwr-table.mjs.map +1 -1
  267. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  268. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  269. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  270. package/fesm2022/ngwr-tabs.mjs +15 -10
  271. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  272. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  273. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  274. package/fesm2022/ngwr-textarea.mjs +128 -16
  275. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  276. package/fesm2022/ngwr-theme.mjs +3 -3
  277. package/fesm2022/ngwr-timeline.mjs +6 -6
  278. package/fesm2022/ngwr-toast.mjs +40 -19
  279. package/fesm2022/ngwr-toast.mjs.map +1 -1
  280. package/fesm2022/ngwr-toolbar.mjs +3 -3
  281. package/fesm2022/ngwr-tour-testing.mjs +13 -1
  282. package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tour.mjs +19 -15
  284. package/fesm2022/ngwr-tour.mjs.map +1 -1
  285. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  286. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  287. package/fesm2022/ngwr-transfer.mjs +24 -5
  288. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  289. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  290. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  291. package/fesm2022/ngwr-tree.mjs +978 -79
  292. package/fesm2022/ngwr-tree.mjs.map +1 -1
  293. package/fesm2022/ngwr-typography.mjs +3 -3
  294. package/fesm2022/ngwr-utils-router.mjs +3 -3
  295. package/fesm2022/ngwr-utils.mjs +97 -1
  296. package/fesm2022/ngwr-utils.mjs.map +1 -1
  297. package/fesm2022/ngwr-version.mjs +1 -1
  298. package/fesm2022/ngwr-version.mjs.map +1 -1
  299. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  300. package/fesm2022/ngwr-window.mjs +33 -22
  301. package/fesm2022/ngwr-window.mjs.map +1 -1
  302. package/file-upload/styles/_index.scss +156 -0
  303. package/graph/styles/_index.scss +87 -0
  304. package/i18n/ar.json +29 -8
  305. package/i18n/cs.json +29 -8
  306. package/i18n/de.json +29 -8
  307. package/i18n/en.json +29 -8
  308. package/i18n/es.json +29 -8
  309. package/i18n/fr.json +29 -8
  310. package/i18n/he.json +29 -8
  311. package/i18n/hi.json +29 -8
  312. package/i18n/id.json +29 -8
  313. package/i18n/it.json +29 -8
  314. package/i18n/ja.json +29 -8
  315. package/i18n/ko.json +29 -8
  316. package/i18n/nl.json +29 -8
  317. package/i18n/pl.json +29 -8
  318. package/i18n/pt.json +29 -8
  319. package/i18n/ru.json +29 -8
  320. package/i18n/sv.json +29 -8
  321. package/i18n/tr.json +29 -8
  322. package/i18n/uk.json +29 -8
  323. package/i18n/vi.json +29 -8
  324. package/i18n/zh-TW.json +29 -8
  325. package/i18n/zh.json +29 -8
  326. package/input/styles/_index.scss +68 -1
  327. package/input-otp/styles/_index.scss +14 -0
  328. package/llms-full.txt +53 -21
  329. package/llms.txt +57 -24
  330. package/overlay/styles/_arrow.scss +4 -4
  331. package/package.json +33 -1
  332. package/popconfirm/styles/_index.scss +3 -11
  333. package/progress/styles/_index.scss +32 -0
  334. package/schema-form/styles/_index.scss +78 -0
  335. package/schematics/collection.json +5 -0
  336. package/schematics/eject/index.js +158 -0
  337. package/schematics/eject/schema.js +8 -0
  338. package/schematics/eject/schema.json +24 -0
  339. package/schematics/eject/source.js +295 -0
  340. package/schematics/use/rule.js +2 -0
  341. package/schematics/use/symbol-map.json +5 -0
  342. package/select/styles/_index.scss +127 -22
  343. package/skills/ngwr/SKILL.md +31 -4
  344. package/skills/ngwr/references/catalog.md +9 -1
  345. package/slider/styles/_index.scss +22 -0
  346. package/table/styles/_index.scss +191 -3
  347. package/textarea/styles/_index.scss +80 -0
  348. package/theme/styles/_focus.scss +16 -1
  349. package/theme/styles/_motion.scss +5 -0
  350. package/transfer/styles/_index.scss +84 -0
  351. package/tree/styles/_index.scss +138 -5
  352. package/types/ngwr-alert-testing.d.ts +88 -0
  353. package/types/ngwr-badge.d.ts +72 -2
  354. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  355. package/types/ngwr-burger-testing.d.ts +51 -0
  356. package/types/ngwr-calendar-testing.d.ts +18 -6
  357. package/types/ngwr-calendar.d.ts +272 -22
  358. package/types/ngwr-carousel-testing.d.ts +27 -6
  359. package/types/ngwr-carousel.d.ts +42 -6
  360. package/types/ngwr-cascader.d.ts +13 -6
  361. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  362. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  363. package/types/ngwr-charts-line-chart.d.ts +7 -4
  364. package/types/ngwr-color-picker-testing.d.ts +15 -4
  365. package/types/ngwr-color-picker.d.ts +76 -6
  366. package/types/ngwr-compare-testing.d.ts +72 -0
  367. package/types/ngwr-context-menu.d.ts +2 -0
  368. package/types/ngwr-date-picker-testing.d.ts +23 -8
  369. package/types/ngwr-date-picker.d.ts +100 -9
  370. package/types/ngwr-date.d.ts +71 -1
  371. package/types/ngwr-drawer.d.ts +9 -0
  372. package/types/ngwr-dropdown-testing.d.ts +20 -0
  373. package/types/ngwr-dropdown.d.ts +26 -6
  374. package/types/ngwr-event-calendar.d.ts +66 -8
  375. package/types/ngwr-file-upload-testing.d.ts +31 -2
  376. package/types/ngwr-file-upload.d.ts +156 -3
  377. package/types/ngwr-form.d.ts +47 -3
  378. package/types/ngwr-graph-testing.d.ts +36 -3
  379. package/types/ngwr-graph.d.ts +309 -13
  380. package/types/ngwr-input-number-testing.d.ts +10 -0
  381. package/types/ngwr-input-number.d.ts +30 -1
  382. package/types/ngwr-input-otp.d.ts +10 -0
  383. package/types/ngwr-input-testing.d.ts +30 -0
  384. package/types/ngwr-input.d.ts +54 -3
  385. package/types/ngwr-overlay.d.ts +84 -5
  386. package/types/ngwr-pipes.d.ts +2 -1
  387. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  388. package/types/ngwr-popconfirm.d.ts +28 -3
  389. package/types/ngwr-popover-testing.d.ts +19 -2
  390. package/types/ngwr-popover.d.ts +22 -2
  391. package/types/ngwr-progress.d.ts +29 -1
  392. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  393. package/types/ngwr-resizable-testing.d.ts +116 -0
  394. package/types/ngwr-schema-form-testing.d.ts +260 -0
  395. package/types/ngwr-schema-form.d.ts +76 -6
  396. package/types/ngwr-select-testing.d.ts +20 -0
  397. package/types/ngwr-select.d.ts +149 -11
  398. package/types/ngwr-sidebar-testing.d.ts +176 -0
  399. package/types/ngwr-slider-testing.d.ts +3 -1
  400. package/types/ngwr-slider.d.ts +21 -1
  401. package/types/ngwr-sortable-list.d.ts +6 -0
  402. package/types/ngwr-stepper.d.ts +20 -11
  403. package/types/ngwr-table-testing.d.ts +122 -7
  404. package/types/ngwr-table.d.ts +572 -50
  405. package/types/ngwr-tabs-testing.d.ts +14 -17
  406. package/types/ngwr-tabs.d.ts +6 -0
  407. package/types/ngwr-textarea-testing.d.ts +10 -0
  408. package/types/ngwr-textarea.d.ts +48 -2
  409. package/types/ngwr-toast.d.ts +8 -1
  410. package/types/ngwr-tour-testing.d.ts +10 -0
  411. package/types/ngwr-tour.d.ts +11 -2
  412. package/types/ngwr-transfer-testing.d.ts +3 -0
  413. package/types/ngwr-transfer.d.ts +24 -1
  414. package/types/ngwr-tree-testing.d.ts +65 -1
  415. package/types/ngwr-tree.d.ts +335 -12
  416. package/types/ngwr-utils.d.ts +107 -1
  417. package/types/ngwr-version.d.ts +1 -1
  418. package/types/ngwr-window.d.ts +7 -4
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
- import { TemplateRef } from "@angular/core";
2
+ import { TemplateRef, WritableSignal } from "@angular/core";
3
3
  import { WrClassInput, WrSafeAny } from "ngwr/utils";
4
4
  import { WrPaginationSize } from "ngwr/pagination";
5
- import { CdkDragDrop } from "@angular/cdk/drag-drop";
5
+ import { CdkDragDrop, CdkDragMove, CdkDragSortEvent, CdkDragStart } from "@angular/cdk/drag-drop";
6
6
  /**
7
7
  * @license
8
8
  *
@@ -250,6 +250,16 @@ interface WrTableColumn<T extends WrTableRow = WrTableRow> {
250
250
  * `'left'` and the rightmost `'right'`; several per side stack in order.
251
251
  */
252
252
  readonly pin?: 'left' | 'right';
253
+ /**
254
+ * `false` keeps the column out of reach of `hiddenColumns`: it is always
255
+ * shown, and its checkbox in the column chooser is disabled.
256
+ */
257
+ readonly hideable?: boolean;
258
+ /**
259
+ * `false` keeps the column's cells read-only even with a `[wrTableEditCell]`
260
+ * template for its key.
261
+ */
262
+ readonly editable?: boolean;
253
263
  /** Show a drag handle on the header edge to resize the column. */
254
264
  readonly resizable?: boolean;
255
265
  /** Initial column width in px. Overridden once the user drags to resize. */
@@ -332,6 +342,76 @@ interface WrTableCellContext<T extends WrTableRow = Record<string, unknown>, K e
332
342
  /** The column definition. */
333
343
  readonly column: WrTableColumn<T>;
334
344
  }
345
+ /**
346
+ * Payload emitted by `<wr-table>` when a cell edit commits. The table does not
347
+ * write the value: the handler updates the data behind `items`.
348
+ */
349
+ interface WrTableCellEdit<T extends WrTableRow = WrTableRow> {
350
+ /** The row's own object, as it sits in `items`. */
351
+ readonly row: T;
352
+ /** The column key of the edited cell. */
353
+ readonly key: string;
354
+ /** The committed value. */
355
+ readonly value: unknown;
356
+ /** The cell's value when the edit started. */
357
+ readonly previous: unknown;
358
+ }
359
+ /**
360
+ * @license
361
+ *
362
+ * Use of this source code is governed by an MIT-style license that can be
363
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
364
+ */
365
+ /** One row of a column chooser: a column of the table, shown or hidden. */
366
+ interface WrTableChooserColumn {
367
+ /** The column's key in `columns`, the value `hiddenColumns` lists. */
368
+ readonly key: string;
369
+ /** The column's title, or its `headerHint`, or its key when it has neither. */
370
+ readonly title: string;
371
+ /** Whether the table leaves the column out. */
372
+ readonly hidden: boolean;
373
+ /** `false` for a `hideable: false` column, which is always shown. */
374
+ readonly hideable: boolean;
375
+ /** Whether the checkbox is disabled: a `hideable: false` column, or the last one shown. */
376
+ readonly locked: boolean;
377
+ }
378
+ /**
379
+ * Context passed to a `[wrTableEditCell]` template, the editor of one cell.
380
+ *
381
+ * `T` is the row and `K` the column key, both from the directive's
382
+ * `[wrTableEditCellOf]` input, the way `[wrTableCellOf]` types a cell template.
383
+ *
384
+ * `set` and `commit` take `unknown`: a control's own value type is often wider
385
+ * than the cell's (a cleared number field emits `null`), and `cellEdit` hands
386
+ * the value on as `unknown` for the handler to check.
387
+ */
388
+ interface WrTableEditCellContext<T extends WrTableRow = Record<string, unknown>, K extends string = string> {
389
+ /**
390
+ * The pending value: the cell's own when the edit starts, then whatever
391
+ * `set` last took. Use as `let-value`.
392
+ */
393
+ readonly $implicit: K extends keyof T ? T[K] : unknown;
394
+ /** The row being edited. */
395
+ readonly row: T;
396
+ /** The column definition. */
397
+ readonly column: WrTableColumn<T>;
398
+ /**
399
+ * Keeps a value without ending the edit. Enter, Tab and a click outside the
400
+ * cell commit the last one kept.
401
+ */
402
+ readonly set: (value: unknown) => void;
403
+ /** Ends the edit with this value: the table emits `cellEdit` and focus returns to the cell. */
404
+ readonly commit: (value: unknown) => void;
405
+ /** Ends the edit and drops the pending value. Focus returns to the cell. */
406
+ readonly cancel: () => void;
407
+ }
408
+ /**
409
+ * Decides whether one cell can be edited, from its row and its column key. It
410
+ * is asked only for a column that has a `[wrTableEditCell]` template and does
411
+ * not say `editable: false`, and it runs during change detection: keep it a
412
+ * pure read of the row.
413
+ */
414
+ type WrTableEditable<T extends WrTableRow = WrTableRow> = (row: T, key: string) => boolean;
335
415
  /**
336
416
  * @license
337
417
  *
@@ -382,6 +462,49 @@ interface WrTableExpandContext {
382
462
  * - `'bar'` — a thin progress bar along the top edge, rows left as they are
383
463
  */
384
464
  type WrTableLoadingMode = 'auto' | 'overlay' | 'bar';
465
+ /**
466
+ * Context of the `[wrTableSelectionBar]` template, the actions of the bar the
467
+ * table draws over its header while rows are selected.
468
+ */
469
+ interface WrTableSelectionContext<T extends WrTableRow = WrTableRow> {
470
+ /**
471
+ * The selected rows the table holds, in `items` order. In server mode
472
+ * (`total` set) that is the selected rows of the current page: a key
473
+ * selected on another page is counted and is not here.
474
+ */
475
+ readonly $implicit: readonly T[];
476
+ /** How many keys `selection` holds. */
477
+ readonly count: number;
478
+ /** Empties the selection. Focus goes back to the table when it was in the bar. */
479
+ readonly clear: () => void;
480
+ /**
481
+ * What the header select-all covers: `selectAllScope`, or `'page'` in server
482
+ * mode, where the table holds one page.
483
+ */
484
+ readonly scope: 'page' | 'all';
485
+ }
486
+ /**
487
+ * Everything a reader can change about a `<wr-table>`, in one object: what
488
+ * `(stateChange)` emits and `[state]` restores. It holds plain data, so a
489
+ * state whose filter values are primitives survives `JSON.stringify`.
490
+ */
491
+ interface WrTableState {
492
+ /** The sort, in application order: the `sort` model. */
493
+ readonly sort: readonly WrTableSortState[];
494
+ /**
495
+ * The selected filter values per column key. A column with nothing selected
496
+ * has no entry.
497
+ */
498
+ readonly filters: Readonly<Record<string, readonly unknown[]>>;
499
+ /** The 1-based current page: the `page` model. */
500
+ readonly page: number;
501
+ /** The rows per page in force, `0` when the table does not page. */
502
+ readonly pageSize: number;
503
+ /** The `columnOrder` model: empty until a column is dragged. */
504
+ readonly columnOrder: readonly string[];
505
+ /** The `hiddenColumns` model. */
506
+ readonly hiddenColumns: readonly string[];
507
+ }
385
508
  /** One `<tbody>` row descriptor. Not exported — same precedent as the tree's flat node. */
386
509
  type RenderRow = {
387
510
  readonly kind: 'group';
@@ -406,6 +529,48 @@ type RenderRow = {
406
529
  readonly id: string;
407
530
  readonly summaries: ReadonlyMap<string, unknown>;
408
531
  };
532
+ /**
533
+ * A display column with everything its cells draw from the column alone, so a
534
+ * cell binding reads a property instead of calling a method on every pass.
535
+ */
536
+ interface CellColumn<T extends WrTableRow> {
537
+ readonly key: string;
538
+ readonly column: WrTableColumn<T>;
539
+ readonly thClass: string;
540
+ readonly tdClass: string;
541
+ readonly footClass: string;
542
+ readonly pinned: boolean;
543
+ readonly pinLeft: boolean;
544
+ readonly pinRight: boolean;
545
+ /** The inner-edge pinned column of its side, which carries the shadow. */
546
+ readonly edgeLeft: boolean;
547
+ readonly edgeRight: boolean;
548
+ /** Sticky `inset-inline-start` / `-end` offsets in px, `null` off the pinned set. */
549
+ readonly start: number | null;
550
+ readonly end: number | null;
551
+ /** The `<col>` width in px, `null` for auto. A live resize wins. */
552
+ readonly width: number | null;
553
+ /** The `width` a truncated column's cells are capped at. */
554
+ readonly maxWidth: number | null;
555
+ /** Whether its cell names the row (see `labelColumnKey`). */
556
+ readonly label: boolean;
557
+ /** Whether its cell carries the tree indent and toggle. */
558
+ readonly tree: boolean;
559
+ readonly template: TemplateRef<WrTableCellContext> | undefined;
560
+ /** The column's editor, `undefined` without one and under `editable: false`. */
561
+ readonly editTemplate: TemplateRef<WrTableEditCellContext> | undefined;
562
+ /** The context each row's cell template gets, kept so a pass hands the outlet the same object. */
563
+ readonly contexts: WeakMap<Record<string, unknown>, WrTableCellContext>;
564
+ }
565
+ /** One cell edit in flight. */
566
+ interface CellEdit {
567
+ readonly row: Record<string, unknown>;
568
+ readonly key: string;
569
+ readonly td: HTMLElement;
570
+ readonly previous: unknown;
571
+ readonly pending: WritableSignal<unknown>;
572
+ readonly context: WrTableEditCellContext;
573
+ }
409
574
  /**
410
575
  * Data table with sortable / filterable headers and custom cell templates.
411
576
  *
@@ -481,6 +646,22 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
481
646
  * listed, and updates this on drag. Bind it to persist a user's arrangement.
482
647
  */
483
648
  readonly columnOrder: import("@angular/core").ModelSignal<readonly string[]>;
649
+ /**
650
+ * Two-way bindable hidden columns, an array of column keys. A hidden column
651
+ * renders nothing: no header, no cell, no summary, no `<col>`. Its sort and
652
+ * its filter selection stay as they are, and `toCsv()` leaves it out. A
653
+ * column with `hideable: false` is shown whatever this lists, and so is the
654
+ * first column when the list would leave none. Bind it beside `columnOrder`
655
+ * to persist a user's arrangement.
656
+ */
657
+ readonly hiddenColumns: import("@angular/core").ModelSignal<readonly string[]>;
658
+ /**
659
+ * Show a toolbar above the table with a button that opens the column
660
+ * chooser: one checkbox per column, in column order, named by the column's
661
+ * title. A `hideable: false` column and the last visible one cannot be
662
+ * unchecked. Each toggle writes `hiddenColumns`. @default false
663
+ */
664
+ readonly columnChooser: import("@angular/core").InputSignalWithTransform<boolean, any>;
484
665
  /**
485
666
  * Row selection with a leading checkbox column — `'multiple'` adds a
486
667
  * select-all header; `'single'` keeps one row selected. @default null (off)
@@ -642,6 +823,15 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
642
823
  readonly toggleGroupLabel: import("@angular/core").InputSignal<string | null>;
643
824
  /** Accessible name of the loading overlay or bar. Falls back to `table.loading`. */
644
825
  readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
826
+ /**
827
+ * Text of the selection bar's count, with `{{count}}` where the number goes.
828
+ * Falls back to `table.selected`.
829
+ */
830
+ readonly selectedLabel: import("@angular/core").InputSignal<string | null>;
831
+ /** Text of the selection bar's clear button. Falls back to `table.clearSelection`. */
832
+ readonly clearSelectionLabel: import("@angular/core").InputSignal<string | null>;
833
+ /** Text of the column chooser's button and name of its panel. Falls back to `table.columns`. */
834
+ readonly columnsLabel: import("@angular/core").InputSignal<string | null>;
645
835
  protected readonly resolvedEmptyLabel: import("@angular/core").Signal<string>;
646
836
  /**
647
837
  * The loading overlay was a bare spinner in a `<div>` — a busy state with no
@@ -650,6 +840,9 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
650
840
  * never read.
651
841
  */
652
842
  protected readonly resolvedLoadingLabel: import("@angular/core").Signal<string>;
843
+ protected readonly resolvedColumnsLabel: import("@angular/core").Signal<string>;
844
+ protected readonly resolvedClearSelectionLabel: import("@angular/core").Signal<string>;
845
+ private readonly selectedText;
653
846
  private readonly sortText;
654
847
  /**
655
848
  * The sort button's accessible name, with the COLUMN in it.
@@ -701,6 +894,31 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
701
894
  protected groupControlLabelledby(action: 'select-group' | 'toggle-group', groupId: string): string;
702
895
  /** Fires whenever a column's filter selection changes. */
703
896
  readonly filterChange: import("@angular/core").OutputEmitterRef<WrTableFilterChange>;
897
+ /**
898
+ * Restores the table in one write: the sort, each column's filter selection,
899
+ * the page, the page size, the column order and the hidden columns. A saved
900
+ * view binds here. It is applied when the bound object changes, so hand it a
901
+ * new object to restore the same view a second time; a key left out keeps
902
+ * what the table has. The models it writes fire their own `*Change`, and
903
+ * `pageSizeChange` fires for a new size; `filterChange` and `stateChange` do
904
+ * not, since the host already holds what it restored. Pairs with
905
+ * `stateChange` as `[(state)]`.
906
+ * @default null
907
+ */
908
+ readonly state: import("@angular/core").InputSignal<Partial<WrTableState> | null>;
909
+ /**
910
+ * Fires with the whole state after a change the reader makes: a sort, a
911
+ * filter, a page, a page size, a column drag, a column shown or hidden. One
912
+ * action is one event, so a new page size that also moves the page fires
913
+ * once. A write from the host, through `state` or a model, does not fire.
914
+ */
915
+ readonly stateChange: import("@angular/core").OutputEmitterRef<WrTableState>;
916
+ /** Bumped by every reader action `stateChange` reports. */
917
+ private readonly readerChanges;
918
+ /** The last state emitted, which comes straight back under `[(state)]`. */
919
+ private emittedState;
920
+ private currentState;
921
+ private restoreState;
704
922
  /**
705
923
  * Fires when a body row is clicked, with the row, its index in `items` and the
706
924
  * click. Group bands, summary rows and detail rows do not fire it.
@@ -740,7 +958,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
740
958
  /** Fires with the size the reader picks in the pager's size menu. */
741
959
  readonly pageSizeChange: import("@angular/core").OutputEmitterRef<number>;
742
960
  /** The size in force: the bound `pageSize`, until the reader picks another. */
743
- protected readonly currentPageSize: import("@angular/core").WritableSignal<number>;
961
+ protected readonly currentPageSize: WritableSignal<number>;
744
962
  /** Two-way bindable 1-based current page. */
745
963
  readonly page: import("@angular/core").ModelSignal<number>;
746
964
  /**
@@ -815,6 +1033,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
815
1033
  /** Show the pager footer only when paging is enabled and rows overflow. */
816
1034
  protected readonly showPager: import("@angular/core").Signal<boolean>;
817
1035
  protected onPageSizeChange(size: number): void;
1036
+ protected onPagerPage(page: number): void;
818
1037
  /**
819
1038
  * Typed at the context's own default: the directive's `T` is whatever each
820
1039
  * template declared, and the table hands every one the same record.
@@ -822,6 +1041,9 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
822
1041
  private readonly cellTemplates;
823
1042
  /** Map of column key → custom template (if provided via `[wrTableCell]`). */
824
1043
  protected readonly cellMap: import("@angular/core").Signal<Map<string, TemplateRef<WrTableCellContext<Record<string, unknown>, string>>>>;
1044
+ private readonly editTemplates;
1045
+ /** Map of column key → editor template (if provided via `[wrTableEditCell]`). */
1046
+ private readonly editMap;
825
1047
  private readonly platformId;
826
1048
  private readonly headerCells;
827
1049
  /**
@@ -836,14 +1058,37 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
836
1058
  private readonly dir;
837
1059
  private isRtl;
838
1060
  /**
839
- * Columns in render order — declaration order, overridden by `columnOrder`
840
- * once reordered; new keys append, removed keys drop out. Pin and resize
841
- * measurement key off this, so it must equal the rendered order.
1061
+ * Every column in order, hidden ones included — declaration order, overridden
1062
+ * by `columnOrder` once reordered; new keys append, removed keys drop out.
1063
+ */
1064
+ private readonly orderedColumns;
1065
+ /**
1066
+ * Columns in render order: {@link orderedColumns} less `hiddenColumns`. Pin
1067
+ * and resize measurement key off this, so it must equal the rendered order.
1068
+ * The same array as `orderedColumns()` while nothing is hidden.
842
1069
  */
843
1070
  protected readonly displayColumns: import("@angular/core").Signal<readonly {
844
1071
  key: string;
845
1072
  column: WrTableColumn<T>;
846
1073
  }[]>;
1074
+ /**
1075
+ * One entry per column in column order, hidden ones included: what a column
1076
+ * chooser lists. `<wr-table-column-chooser>` reads it, and so can a menu of
1077
+ * your own.
1078
+ */
1079
+ readonly chooserColumns: import("@angular/core").Signal<readonly WrTableChooserColumn[]>;
1080
+ /**
1081
+ * Hide a shown column or show a hidden one, as its checkbox in the column
1082
+ * chooser does: it writes `hiddenColumns` and reports a `stateChange`. A
1083
+ * locked column (`hideable: false`, or the last one shown) stays as it is.
1084
+ */
1085
+ toggleColumn(key: string): void;
1086
+ /**
1087
+ * Write `hiddenColumns` as a reader action, so `stateChange` reports it. A
1088
+ * `hideable: false` column is left out of the list, and so is the first
1089
+ * column when the list would hide every one.
1090
+ */
1091
+ setHiddenColumns(keys: readonly string[]): void;
847
1092
  /**
848
1093
  * Sticky offsets for pinned columns, measured from the header cells so any
849
1094
  * number of columns can stack per side. Also names the inner-edge column on
@@ -869,43 +1114,38 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
869
1114
  constructor();
870
1115
  private setOverflow;
871
1116
  private measurePins;
1117
+ /** Per column key. Rebuilt with the columns and the cell templates, never on a pin measurement, a resize or a hidden column. */
1118
+ private readonly cellContexts;
872
1119
  /**
873
- * Sticky `inset-inline-start` offset (px) for a `pin: 'left'` column, else `null`.
1120
+ * {@link displayColumns} with the per-column half of every cell resolved
1121
+ * once. Apart from `displayColumns` because the pin effect reads that one
1122
+ * and writes `pins`, which this reads.
874
1123
  *
875
- * The input keeps its physical name — it is public API — but the offset it
876
- * produces is LOGICAL. `measurePins()` accumulates in DOM order, which is
877
- * start-to-end semantics, and under `dir="rtl"` the column order mirrors: a
878
- * `pin: 'left'` column then sits at the physical right, where a `left: 0`
879
- * sticky inset can never catch it and the column just scrolls away.
880
- */
881
- protected leftPin(key: string): number | null;
882
- /** Sticky `inset-inline-end` offset (px) for a `pin: 'right'` column, else `null`. See {@link leftPin}. */
883
- protected rightPin(key: string): number | null;
1124
+ * `pin` keeps its physical name — it is public API — but the offsets are
1125
+ * LOGICAL. `measurePins()` accumulates in DOM order, which is start-to-end
1126
+ * semantics, and under `dir="rtl"` the column order mirrors: a `pin: 'left'`
1127
+ * column then sits at the physical right, where a `left: 0` sticky inset can
1128
+ * never catch it and the column just scrolls away.
1129
+ *
1130
+ * The class strings are the BEM class and the consumer's own, merged. One
1131
+ * binding rather than a static `class` beside a `[class]` — Angular does
1132
+ * merge the two, but `no-duplicate-attributes` refuses the shape, and a
1133
+ * reader should not have to know the merge rules to know what a cell ends up
1134
+ * with. The summary and group-footer cells take `align` only, on the body
1135
+ * cell's modifier, the way they already wear `__td--pin-*`: `column.class`
1136
+ * stays off them, as its docs say.
1137
+ */
1138
+ protected readonly cellColumns: import("@angular/core").Signal<readonly CellColumn<T>[]>;
884
1139
  private readonly hasPins;
885
1140
  /**
886
1141
  * Whether columns are hidden past the start and the end of the scroll area,
887
1142
  * the host's `wr-table--overflow-start` / `--overflow-end`. Only a table with
888
1143
  * a pinned column measures it.
889
1144
  */
890
- protected readonly overflow: import("@angular/core").WritableSignal<{
1145
+ protected readonly overflow: WritableSignal<{
891
1146
  start: boolean;
892
1147
  end: boolean;
893
1148
  }>;
894
- /** Whether `key` is the inner-edge pinned column on `side` (carries the shadow). */
895
- protected isPinEdge(key: string, side: 'left' | 'right'): boolean;
896
- /**
897
- * The BEM class and the consumer's own, merged into one string.
898
- *
899
- * One binding rather than a static `class` beside a `[class]` — Angular does
900
- * merge the two, but `no-duplicate-attributes` refuses the shape, and a reader
901
- * should not have to know the merge rules to know what a cell ends up with.
902
- * Each returns the shared constant untouched when the column sets neither
903
- * `align` nor `class`, so a table without these hooks allocates nothing per
904
- * cell.
905
- */
906
- protected thClasses(column: WrTableColumn<T>): string;
907
- /** Body-cell half of {@link thClasses}, with the `truncate` modifier. */
908
- protected tdClasses(column: WrTableColumn<T>): string;
909
1149
  /**
910
1150
  * `'tooltip'` cuts every body cell to one line with an ellipsis and shows a
911
1151
  * cut cell's full text in a tooltip on hover and focus; a cell that fits
@@ -916,8 +1156,6 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
916
1156
  * @default null
917
1157
  */
918
1158
  readonly truncate: import("@angular/core").InputSignal<"tooltip" | null>;
919
- /** Whether a column's cells are cut to one line. */
920
- protected truncates(column: WrTableColumn<T>): boolean;
921
1159
  /**
922
1160
  * A column's name for its controls: the title, the hint after it, or the hint
923
1161
  * alone under an empty title.
@@ -930,19 +1168,13 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
930
1168
  * for the whole table, created on the first hint or cut cell the pointer or
931
1169
  * the focus reaches: a table of thousands of cells holds none before that.
932
1170
  */
933
- protected readonly tip: import("@angular/core").WritableSignal<{
1171
+ protected readonly tip: WritableSignal<{
934
1172
  readonly el: HTMLElement;
935
1173
  readonly text: string;
936
1174
  } | null>;
937
1175
  private readonly modality;
938
1176
  private onTipTarget;
939
- /**
940
- * Summary and group-footer half of {@link thClasses}: `align` only, on the
941
- * body cell's modifier, the way those cells already wear `__td--pin-*`.
942
- * `column.class` stays off them, as its docs say.
943
- */
944
- protected footClasses(column: WrTableColumn<T>): string;
945
- /** Row half of {@link thClasses}, resolved through the `rowClass` predicate. */
1177
+ /** The row's class with the consumer's own, resolved through the `rowClass` predicate. */
946
1178
  protected rowClasses(row: Record<string, unknown>, index: number): string;
947
1179
  private readonly resizeWidths;
948
1180
  private resizeKey;
@@ -953,9 +1185,16 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
953
1185
  * Once a column has been dragged, the table switches to fixed layout so the
954
1186
  * `<col>` widths are honoured exactly (auto layout treats them as minimums).
955
1187
  */
956
- protected readonly fixedLayout: import("@angular/core").WritableSignal<boolean>;
957
- /** Current width (px) for a column, or `null` for auto — a live resize wins. */
958
- protected colWidth(key: string): number | null;
1188
+ protected readonly fixedLayout: WritableSignal<boolean>;
1189
+ /**
1190
+ * Fixed layout held only while a cell edits, so an editor of another width
1191
+ * cannot move the columns. `editHold` keeps the widths in force before it, to
1192
+ * put back when the edit ends.
1193
+ */
1194
+ protected readonly editHeld: WritableSignal<boolean>;
1195
+ private editHold;
1196
+ private holdWidthsForEdit;
1197
+ private releaseEditHold;
959
1198
  /** Freeze every column at its current rendered header width (skips frozen keys). */
960
1199
  private freezeColumnWidths;
961
1200
  protected onResizeStart(event: PointerEvent, key: string, th: HTMLElement): void;
@@ -998,7 +1237,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
998
1237
  /** `viewportHeight` as the value of `--wr-table-scroll-height`; `null` leaves the hook to the stylesheet. */
999
1238
  protected readonly scrollHeight: import("@angular/core").Signal<string | null>;
1000
1239
  /** Measured heights (px) of the sticky header and footer, which `scroll-padding` keeps clear; `null` until measured. */
1001
- protected readonly stickyEdges: import("@angular/core").WritableSignal<{
1240
+ protected readonly stickyEdges: WritableSignal<{
1002
1241
  head: number | null;
1003
1242
  foot: number | null;
1004
1243
  }>;
@@ -1034,6 +1273,36 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1034
1273
  * back to DOM order.
1035
1274
  */
1036
1275
  protected readonly sortPredicate: (index: number) => boolean;
1276
+ /**
1277
+ * The one rule for a header slot, in the CDK's left-to-right sweep order: it
1278
+ * is open unless a pinned column holds it. The drop guard and the drag cursor
1279
+ * both ask it, so they cannot disagree.
1280
+ */
1281
+ private slotOpen;
1282
+ private readonly doc;
1283
+ private readonly destroyRef;
1284
+ /** Sweep-order `[left, right]` of each header slot, measured when a drag starts. */
1285
+ private dragSlots;
1286
+ private dragInList;
1287
+ private dragActive;
1288
+ private dragCancelled;
1289
+ private stopDragCancel;
1290
+ /** The dragged column's current slot in DOM order, kept by the CDK's `sorted` event. */
1291
+ private dragOwn;
1292
+ private readonly clearDragCursor;
1293
+ /**
1294
+ * The pointer cursor of a column drag lives on `<html>`: the CDK preview has
1295
+ * `pointer-events: none`, so the cursor is whatever sits under it, and a class
1296
+ * on the root is the only place that covers the whole page, margins included
1297
+ * (`<body>` ends where its content does).
1298
+ */
1299
+ private setDragCursor;
1300
+ protected onColumnDragStart(event: CdkDragStart): void;
1301
+ protected onColumnDragMoved(event: CdkDragMove): void;
1302
+ protected onColumnListSorted(event: CdkDragSortEvent): void;
1303
+ protected onColumnListEntered(): void;
1304
+ protected onColumnListExited(): void;
1305
+ protected onColumnDragEnd(): void;
1037
1306
  private rowKeyOf;
1038
1307
  /** Keys of the rows on the current page — the select-all scope. */
1039
1308
  /**
@@ -1056,6 +1325,23 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1056
1325
  /** Add (or remove) a set of row keys from the selection in one update. */
1057
1326
  private applySelection;
1058
1327
  protected toggleAll(checked: boolean): void;
1328
+ private readonly selectionBarTpl;
1329
+ private readonly selectionBarEl;
1330
+ /** Whether a `[wrTableSelectionBar]` template was projected. */
1331
+ protected readonly hasSelectionBar: import("@angular/core").Signal<boolean>;
1332
+ /** The bar's template while rows are selected, `null` while the bar is away. */
1333
+ protected readonly selectionBar: import("@angular/core").Signal<TemplateRef<WrTableSelectionContext<object>> | null>;
1334
+ /** The header's measured height in px for the bar to match; `null` until measured. */
1335
+ protected readonly selectionBarHeight: WritableSignal<number | null>;
1336
+ protected readonly selectionCountText: import("@angular/core").Signal<string>;
1337
+ protected readonly selectionContext: import("@angular/core").Signal<WrTableSelectionContext<object>>;
1338
+ /**
1339
+ * Empty the selection. When the focus is in the selection bar, which leaves
1340
+ * with the last selected row, it moves to the table.
1341
+ */
1342
+ clearSelection(): void;
1343
+ /** Focus the first control of the table: a selection checkbox, else the scroll area. */
1344
+ private focusTable;
1059
1345
  private readonly expandTpl;
1060
1346
  /** Whether the expand column shows (a `[wrTableExpand]` template was projected). */
1061
1347
  /**
@@ -1132,6 +1418,61 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1132
1418
  * focus had not yet left.
1133
1419
  */
1134
1420
  private focusTreeRow;
1421
+ /**
1422
+ * Vetoes the edit of single cells: called with the row and the column key,
1423
+ * `false` keeps that cell read-only. Asked only for a column that has a
1424
+ * `[wrTableEditCell]` template and does not say `editable: false`.
1425
+ */
1426
+ readonly editable: import("@angular/core").InputSignal<WrTableEditable<T> | null>;
1427
+ /**
1428
+ * Emits when a cell edit commits with a value other than the cell's own. The
1429
+ * table does not write it: update the data behind `items` in the handler.
1430
+ */
1431
+ readonly cellEdit: import("@angular/core").OutputEmitterRef<WrTableCellEdit<T>>;
1432
+ /** The edit in flight. One cell edits at a time. */
1433
+ protected readonly editing: WritableSignal<CellEdit | null>;
1434
+ /** Whether any column has an editor: the table is then a grid of focusable cells. */
1435
+ protected readonly editGrid: import("@angular/core").Signal<boolean>;
1436
+ /** The rendered data rows, 1:1 with {@link rowEls}. */
1437
+ private readonly dataRows;
1438
+ /** The cell the keyboard last stood on, by `rowKey` and column key. */
1439
+ private readonly activeCell;
1440
+ /**
1441
+ * The grid's one tab stop: the active cell while it is on screen, else the
1442
+ * first data cell. `null` in a tree, where the row holds the tab stop.
1443
+ */
1444
+ private readonly tabStopCell;
1445
+ protected cellEditable(row: Record<string, unknown>, col: CellColumn<T>): boolean;
1446
+ /**
1447
+ * A data cell's `tabindex` in an editable table. In a tree the tab-stop
1448
+ * row's editable cells are tab stops, so Tab walks from the row into them.
1449
+ */
1450
+ protected cellTabindex(entry: Extract<RenderRow, {
1451
+ kind: 'row';
1452
+ }>, col: CellColumn<T>): 0 | -1;
1453
+ /** The data cell an event came from, with its row and column. */
1454
+ private cellAt;
1455
+ protected onCellFocusin(event: FocusEvent): void;
1456
+ protected onCellDblclick(event: MouseEvent): void;
1457
+ protected onCellKeydown(event: KeyboardEvent): void;
1458
+ /** Arrow, Home and End on a focused cell. Ctrl is the first or last row's chord. */
1459
+ private moveCellFocus;
1460
+ private onEditorKeydown;
1461
+ /** The next or previous editable cell of the edited row. */
1462
+ private editableSibling;
1463
+ /**
1464
+ * Put a cell's editor in its place and move focus into it. `typed` is the
1465
+ * character that started the edit: it replaces the content of a text field.
1466
+ */
1467
+ private startEdit;
1468
+ /**
1469
+ * End the edit in flight. `commit` emits `cellEdit` when the pending value
1470
+ * differs from the cell's. `focus` hands focus back to the cell: always, or
1471
+ * (`'inside'`) only when the editor held it. Either way a field that held
1472
+ * focus is blurred first when `flush` is set, for a control that publishes
1473
+ * its value on blur.
1474
+ */
1475
+ private endEdit;
1135
1476
  /** Leading control columns — selection + expand. */
1136
1477
  protected readonly leadingCols: import("@angular/core").Signal<number>;
1137
1478
  /** Total rendered columns (data + leading), for detail-row / empty colspans. */
@@ -1140,6 +1481,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1140
1481
  private readonly expandedSet;
1141
1482
  protected isExpanded(row: Record<string, unknown>): boolean;
1142
1483
  protected toggleExpand(row: Record<string, unknown>): void;
1484
+ private readonly expandContexts;
1143
1485
  protected expandContext(row: Record<string, unknown>): WrTableExpandContext;
1144
1486
  /** Whether any column defines a `summary` (so the footer row shows). */
1145
1487
  protected readonly hasSummary: import("@angular/core").Signal<boolean>;
@@ -1227,14 +1569,13 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1227
1569
  protected sortOrderFor(key: string): number | null;
1228
1570
  protected cycleSort(key: string): void;
1229
1571
  protected onFilter(key: string, items: readonly WrTableFilterItem[]): void;
1230
- protected cellContext(item: Record<string, unknown>, key: string, column: unknown): WrTableCellContext;
1572
+ protected cellContext(item: Record<string, unknown>, col: CellColumn<T>): WrTableCellContext;
1231
1573
  /**
1232
1574
  * What a plain cell shows: the column's `empty` for a missing value, its
1233
1575
  * `format` over the value, else the value itself. A cell template takes
1234
1576
  * this path's place entirely (see table.html).
1235
1577
  */
1236
1578
  protected cellText(item: Record<string, unknown>, key: string, column: WrTableColumn<T>): unknown;
1237
- protected templateFor(key: unknown): TemplateRef<WrTableCellContext> | undefined;
1238
1579
  static ɵfac: i0.ɵɵFactoryDeclaration<WrTable<any>, never>;
1239
1580
  static ɵcmp: i0.ɵɵComponentDeclaration<WrTable<any>, "wr-table", never, {
1240
1581
  "columns": {
@@ -1272,6 +1613,16 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1272
1613
  "required": false;
1273
1614
  "isSignal": true;
1274
1615
  };
1616
+ "hiddenColumns": {
1617
+ "alias": "hiddenColumns";
1618
+ "required": false;
1619
+ "isSignal": true;
1620
+ };
1621
+ "columnChooser": {
1622
+ "alias": "columnChooser";
1623
+ "required": false;
1624
+ "isSignal": true;
1625
+ };
1275
1626
  "rowSelection": {
1276
1627
  "alias": "rowSelection";
1277
1628
  "required": false;
@@ -1382,6 +1733,26 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1382
1733
  "required": false;
1383
1734
  "isSignal": true;
1384
1735
  };
1736
+ "selectedLabel": {
1737
+ "alias": "selectedLabel";
1738
+ "required": false;
1739
+ "isSignal": true;
1740
+ };
1741
+ "clearSelectionLabel": {
1742
+ "alias": "clearSelectionLabel";
1743
+ "required": false;
1744
+ "isSignal": true;
1745
+ };
1746
+ "columnsLabel": {
1747
+ "alias": "columnsLabel";
1748
+ "required": false;
1749
+ "isSignal": true;
1750
+ };
1751
+ "state": {
1752
+ "alias": "state";
1753
+ "required": false;
1754
+ "isSignal": true;
1755
+ };
1385
1756
  "pageSize": {
1386
1757
  "alias": "pageSize";
1387
1758
  "required": false;
@@ -1437,17 +1808,25 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1437
1808
  "required": false;
1438
1809
  "isSignal": true;
1439
1810
  };
1811
+ "editable": {
1812
+ "alias": "editable";
1813
+ "required": false;
1814
+ "isSignal": true;
1815
+ };
1440
1816
  }, {
1441
1817
  "columnOrder": "columnOrderChange";
1818
+ "hiddenColumns": "hiddenColumnsChange";
1442
1819
  "selection": "selectionChange";
1443
1820
  "expanded": "expandedChange";
1444
1821
  "collapsedGroups": "collapsedGroupsChange";
1445
1822
  "sort": "sortChange";
1446
1823
  "filterChange": "filterChange";
1824
+ "stateChange": "stateChange";
1447
1825
  "rowClick": "rowClick";
1448
1826
  "pageSizeChange": "pageSizeChange";
1449
1827
  "page": "pageChange";
1450
- }, ["cellTemplates", "projectedTemplates", "expandTpl", "groupTpl"], never, true, never>;
1828
+ "cellEdit": "cellEdit";
1829
+ }, ["cellTemplates", "editTemplates", "projectedTemplates", "selectionBarTpl", "expandTpl", "groupTpl"], never, true, never>;
1451
1830
  }
1452
1831
  /**
1453
1832
  * Provide a custom template for a specific column's cells.
@@ -1500,6 +1879,114 @@ export declare class WrTableCell<T extends WrTableRow = WrSafeAny, K extends str
1500
1879
  };
1501
1880
  }, {}, never, never, true, never>;
1502
1881
  }
1882
+ /**
1883
+ * The column list of a `<wr-table>`, for a menu of your own: one checkbox per
1884
+ * column, in column order, under a "Show all" row. Place it in a popover, a
1885
+ * dropdown or a drawer and hand it the table. Every toggle writes the table's
1886
+ * `hiddenColumns`, so `hiddenColumnsChange` and `stateChange` fire as they do
1887
+ * from the built-in `columnChooser`, which renders this same list.
1888
+ *
1889
+ * A `hideable: false` column and the last visible one stay checked and
1890
+ * disabled. "Show all" shows every column; pressed while all are shown, it
1891
+ * hides every column that can be hidden, less the first when none is
1892
+ * `hideable: false`.
1893
+ *
1894
+ * @example
1895
+ * ```html
1896
+ * <button wr-btn type="button" [wrPopover]="menu">Columns</button>
1897
+ * <ng-template #menu>
1898
+ * <wr-table-column-chooser [table]="table" />
1899
+ * </ng-template>
1900
+ *
1901
+ * <wr-table #table [columns]="columns" [items]="rows" [(hiddenColumns)]="hidden" />
1902
+ * ```
1903
+ *
1904
+ * @see https://ngwr.dev/reference/components/table
1905
+ */
1906
+ export declare class WrTableColumnChooser {
1907
+ constructor();
1908
+ /** The table whose columns the list shows and hides. */
1909
+ readonly table: import("@angular/core").InputSignal<WrTable<any>>;
1910
+ /** Text of the "Show all" row. Falls back to `table.showAllColumns`. */
1911
+ readonly showAllLabel: import("@angular/core").InputSignal<string | null>;
1912
+ /** Accessible name of the list. Falls back to `table.columns`. */
1913
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
1914
+ protected readonly resolvedShowAll: import("@angular/core").Signal<string>;
1915
+ protected readonly resolvedLabel: import("@angular/core").Signal<string>;
1916
+ protected readonly columns: import("@angular/core").Signal<readonly WrTableChooserColumn[]>;
1917
+ /** How many of the hideable columns are shown: every one, some, or none. */
1918
+ protected readonly showAllState: import("@angular/core").Signal<"some" | "none" | "all">;
1919
+ /** No column can be shown or hidden, so the row has nothing to do. */
1920
+ protected readonly showAllDisabled: import("@angular/core").Signal<boolean>;
1921
+ /**
1922
+ * Shows every column while one is hidden. Once all are shown it hides every
1923
+ * hideable one, and the table keeps its first column when that would leave none.
1924
+ */
1925
+ protected toggleShowAll(): void;
1926
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrTableColumnChooser, never>;
1927
+ static ɵcmp: i0.ɵɵComponentDeclaration<WrTableColumnChooser, "wr-table-column-chooser", never, {
1928
+ "table": {
1929
+ "alias": "table";
1930
+ "required": true;
1931
+ "isSignal": true;
1932
+ };
1933
+ "showAllLabel": {
1934
+ "alias": "showAllLabel";
1935
+ "required": false;
1936
+ "isSignal": true;
1937
+ };
1938
+ "ariaLabel": {
1939
+ "alias": "ariaLabel";
1940
+ "required": false;
1941
+ "isSignal": true;
1942
+ };
1943
+ }, {}, never, never, true, never>;
1944
+ }
1945
+ /**
1946
+ * Provide the editor for a column's cells, and with it make the column
1947
+ * editable: a double click, Enter, F2 or a typed character on a cell swaps its
1948
+ * content for this template, and the table emits `cellEdit` when the edit
1949
+ * commits. A column whose definition says `editable: false` stays read-only.
1950
+ *
1951
+ * `set` keeps a value while the reader types and `commit` ends the edit with
1952
+ * one. Enter, Tab and a click outside commit the value last kept; Escape and
1953
+ * `cancel` drop it. `[wrTableEditCellOf]` types the variables, the way
1954
+ * `[wrTableCellOf]` does.
1955
+ *
1956
+ * @example
1957
+ * ```html
1958
+ * <wr-table [columns]="columns" [items]="products" (cellEdit)="save($event)">
1959
+ * <ng-template wrTableEditCell="price" [wrTableEditCellOf]="products" let-value let-set="set">
1960
+ * <wr-input-number aria-label="Price" [value]="value" (valueChange)="set($event)" />
1961
+ * </ng-template>
1962
+ * </wr-table>
1963
+ * ```
1964
+ */
1965
+ export declare class WrTableEditCell<T extends WrTableRow = WrSafeAny, K extends string = string> {
1966
+ /** Column key the editor applies to. */
1967
+ readonly columnKey: import("@angular/core").InputSignal<K>;
1968
+ /**
1969
+ * The rows the table draws, for the type checker: nothing reads it at
1970
+ * runtime. Bind the same array as the table's `[items]`.
1971
+ */
1972
+ readonly wrTableEditCellOf: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
1973
+ readonly template: TemplateRef<WrTableEditCellContext<T, K>>;
1974
+ /** Types the template's `let-` variables under `strictTemplates`, as `WrTableCell` does. */
1975
+ static ngTemplateContextGuard<T extends WrTableRow, K extends string>(_dir: WrTableEditCell<T, K>, _ctx: unknown): _ctx is WrTableEditCellContext<T, K>;
1976
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrTableEditCell<any, any>, never>;
1977
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WrTableEditCell<any, any>, "[wrTableEditCell]", never, {
1978
+ "columnKey": {
1979
+ "alias": "wrTableEditCell";
1980
+ "required": true;
1981
+ "isSignal": true;
1982
+ };
1983
+ "wrTableEditCellOf": {
1984
+ "alias": "wrTableEditCellOf";
1985
+ "required": false;
1986
+ "isSignal": true;
1987
+ };
1988
+ }, {}, never, never, true, never>;
1989
+ }
1503
1990
  /**
1504
1991
  * Provide the detail template revealed when a row is expanded. Adding it turns
1505
1992
  * on the leading expand column; the row object is the template's implicit
@@ -1540,6 +2027,41 @@ export declare class WrTableGroupHeader {
1540
2027
  static ɵfac: i0.ɵɵFactoryDeclaration<WrTableGroupHeader, never>;
1541
2028
  static ɵdir: i0.ɵɵDirectiveDeclaration<WrTableGroupHeader, "ng-template[wrTableGroupHeader]", never, {}, {}, never, never, true, never>;
1542
2029
  }
2030
+ /**
2031
+ * Provide the actions of the selection bar. With it, the table draws a bar
2032
+ * over its header while `selection` is not empty: the count, a clear button
2033
+ * and this template between them. The selected rows are the template's
2034
+ * implicit context, beside `count`, `clear` and `scope`.
2035
+ *
2036
+ * Name the rows through `[wrTableSelectionBarOf]` and `let-rows` arrives
2037
+ * typed, the way `[wrTableCellOf]` types a cell template.
2038
+ *
2039
+ * @example
2040
+ * ```html
2041
+ * <wr-table rowKey="id" rowSelection="multiple" [columns]="columns" [items]="users" [(selection)]="selected">
2042
+ * <ng-template wrTableSelectionBar [wrTableSelectionBarOf]="users" let-rows>
2043
+ * <button wr-btn type="button" size="sm" color="danger" (click)="remove(rows)">Delete</button>
2044
+ * </ng-template>
2045
+ * </wr-table>
2046
+ * ```
2047
+ */
2048
+ export declare class WrTableSelectionBar<T extends WrTableRow = WrSafeAny> {
2049
+ /**
2050
+ * The rows the template receives, for the type checker: nothing reads it at
2051
+ * runtime. Bind the same array as the table's `[items]`.
2052
+ */
2053
+ readonly wrTableSelectionBarOf: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
2054
+ readonly template: TemplateRef<WrTableSelectionContext<T>>;
2055
+ static ngTemplateContextGuard<T extends WrTableRow>(_dir: WrTableSelectionBar<T>, _ctx: unknown): _ctx is WrTableSelectionContext<T>;
2056
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrTableSelectionBar<any>, never>;
2057
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WrTableSelectionBar<any>, "ng-template[wrTableSelectionBar]", never, {
2058
+ "wrTableSelectionBarOf": {
2059
+ "alias": "wrTableSelectionBarOf";
2060
+ "required": false;
2061
+ "isSignal": true;
2062
+ };
2063
+ }, {}, never, never, true, never>;
2064
+ }
1543
2065
  /**
1544
2066
  * Sort indicator rendered in a sortable column's header.
1545
2067
  *
@@ -1723,4 +2245,4 @@ export declare function wrReadField<T>(item: T, key: string): string | number;
1723
2245
  * @param accessor Reads the value of a key; defaults to `wrReadField`.
1724
2246
  */
1725
2247
  export declare function wrSortRows<T>(rows: readonly T[], sort: readonly WrTableSortState[], accessor?: WrTableSortAccessor<T>): readonly T[];
1726
- export type { WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSortAccessor, WrTableSortDirection, WrTableSortState, WrTableSummary, WrTableSummaryContext, WrTableTruncate };
2248
+ export type { WrTableCellContext, WrTableCellEdit, WrTableChooserColumn, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableEditCellContext, WrTableEditable, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSelectionContext, WrTableSortAccessor, WrTableSortDirection, WrTableSortState, WrTableState, WrTableSummary, WrTableSummaryContext, WrTableTruncate };