ngwr 16.5.0 → 16.7.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 (450) hide show
  1. package/avatar/styles/_index.scss +39 -0
  2. package/back-top/styles/_index.scss +6 -0
  3. package/breadcrumbs/styles/_rules.scss +34 -0
  4. package/button/styles/_index.scss +45 -2
  5. package/cascader/styles/_rules.scss +7 -0
  6. package/charts/chart-legend/styles/_index.scss +1 -9
  7. package/copy-value/styles/_index.scss +4 -0
  8. package/counter/styles/_index.scss +1 -8
  9. package/date-picker/styles/_index.scss +15 -9
  10. package/dialog/styles/_index.scss +37 -0
  11. package/dropdown/styles/_index.scss +17 -0
  12. package/editor/styles/_index.scss +1 -8
  13. package/event-calendar/styles/_index.scss +2 -6
  14. package/fesm2022/ngwr-affix.mjs +4 -4
  15. package/fesm2022/ngwr-affix.mjs.map +1 -1
  16. package/fesm2022/ngwr-alert.mjs +3 -3
  17. package/fesm2022/ngwr-anchor.mjs +12 -5
  18. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  19. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  20. package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
  21. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  22. package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
  23. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  24. package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
  25. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  26. package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
  27. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  28. package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
  29. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  30. package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
  31. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  32. package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
  33. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  34. package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
  35. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  36. package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
  37. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  38. package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
  39. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  40. package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
  41. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  42. package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
  43. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  44. package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
  45. package/fesm2022/ngwr-animations-marquee.mjs +4 -3
  46. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  47. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  48. package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
  49. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  50. package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
  51. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  52. package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
  53. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  54. package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
  55. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  56. package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
  57. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  58. package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
  59. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  60. package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
  61. package/fesm2022/ngwr-animations-tilt.mjs +23 -16
  62. package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
  63. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  64. package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
  65. package/fesm2022/ngwr-avatar.mjs +171 -6
  66. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  67. package/fesm2022/ngwr-back-top.mjs +3 -3
  68. package/fesm2022/ngwr-badge.mjs +6 -6
  69. package/fesm2022/ngwr-breadcrumbs.mjs +47 -13
  70. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  71. package/fesm2022/ngwr-burger.mjs +3 -3
  72. package/fesm2022/ngwr-button.mjs +38 -9
  73. package/fesm2022/ngwr-button.mjs.map +1 -1
  74. package/fesm2022/ngwr-calendar.mjs +3 -3
  75. package/fesm2022/ngwr-card.mjs +9 -9
  76. package/fesm2022/ngwr-carousel.mjs +14 -8
  77. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  78. package/fesm2022/ngwr-cascader.mjs +27 -7
  79. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-bar-chart.mjs +3 -3
  81. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  82. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  83. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  84. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  85. package/fesm2022/ngwr-charts-chart-legend.mjs +9 -9
  86. package/fesm2022/ngwr-charts-core.mjs +18 -11
  87. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  88. package/fesm2022/ngwr-charts-donut-chart.mjs +3 -3
  89. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  90. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  91. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  92. package/fesm2022/ngwr-charts-line-chart.mjs +3 -3
  93. package/fesm2022/ngwr-charts-meter-group.mjs +7 -5
  94. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  95. package/fesm2022/ngwr-charts-radar-chart.mjs +3 -3
  96. package/fesm2022/ngwr-charts-scatter-chart.mjs +3 -3
  97. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  98. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  99. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  100. package/fesm2022/ngwr-checkbox.mjs +9 -8
  101. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  102. package/fesm2022/ngwr-clipboard.mjs +3 -3
  103. package/fesm2022/ngwr-collapse.mjs +9 -9
  104. package/fesm2022/ngwr-color-picker.mjs +27 -7
  105. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  106. package/fesm2022/ngwr-command-palette.mjs +3 -3
  107. package/fesm2022/ngwr-comment.mjs +7 -6
  108. package/fesm2022/ngwr-comment.mjs.map +1 -1
  109. package/fesm2022/ngwr-compare.mjs +3 -3
  110. package/fesm2022/ngwr-context-menu.mjs +16 -17
  111. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  112. package/fesm2022/ngwr-cookie.mjs +3 -3
  113. package/fesm2022/ngwr-copy-value.mjs +3 -3
  114. package/fesm2022/ngwr-counter.mjs +6 -6
  115. package/fesm2022/ngwr-date-picker-testing.mjs +35 -0
  116. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  117. package/fesm2022/ngwr-date-picker.mjs +151 -54
  118. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  119. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  120. package/fesm2022/ngwr-date.mjs +40 -16
  121. package/fesm2022/ngwr-date.mjs.map +1 -1
  122. package/fesm2022/ngwr-density.mjs +6 -6
  123. package/fesm2022/ngwr-descriptions.mjs +6 -6
  124. package/fesm2022/ngwr-dialog.mjs +35 -24
  125. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  126. package/fesm2022/ngwr-directives.mjs +189 -23
  127. package/fesm2022/ngwr-directives.mjs.map +1 -1
  128. package/fesm2022/ngwr-divider.mjs +3 -3
  129. package/fesm2022/ngwr-drawer.mjs +18 -18
  130. package/fesm2022/ngwr-dropdown-testing.mjs +5 -1
  131. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  132. package/fesm2022/ngwr-dropdown.mjs +59 -16
  133. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  134. package/fesm2022/ngwr-editor.mjs +6 -5
  135. package/fesm2022/ngwr-editor.mjs.map +1 -1
  136. package/fesm2022/ngwr-empty.mjs +3 -3
  137. package/fesm2022/ngwr-event-calendar.mjs +27 -15
  138. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  139. package/fesm2022/ngwr-file-upload-testing.mjs +5 -0
  140. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  141. package/fesm2022/ngwr-file-upload.mjs +68 -13
  142. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  143. package/fesm2022/ngwr-form.mjs +181 -12
  144. package/fesm2022/ngwr-form.mjs.map +1 -1
  145. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  146. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  147. package/fesm2022/ngwr-graph.mjs +100 -11
  148. package/fesm2022/ngwr-graph.mjs.map +1 -1
  149. package/fesm2022/ngwr-hotkey.mjs +6 -6
  150. package/fesm2022/ngwr-i18n-ar.mjs +21 -2
  151. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-cs.mjs +21 -2
  153. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-de.mjs +21 -2
  155. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-en.mjs +21 -2
  157. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-es.mjs +21 -2
  159. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-fr.mjs +21 -2
  161. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-he.mjs +21 -2
  163. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-hi.mjs +21 -2
  165. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-id.mjs +21 -2
  167. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-it.mjs +21 -2
  169. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-ja.mjs +21 -2
  171. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-kk.mjs +520 -0
  173. package/fesm2022/ngwr-i18n-kk.mjs.map +1 -0
  174. package/fesm2022/ngwr-i18n-ko.mjs +21 -2
  175. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-nl.mjs +21 -2
  177. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n-pl.mjs +21 -2
  179. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  180. package/fesm2022/ngwr-i18n-pt.mjs +21 -2
  181. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  182. package/fesm2022/ngwr-i18n-ru.mjs +21 -2
  183. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  184. package/fesm2022/ngwr-i18n-sv.mjs +21 -2
  185. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  186. package/fesm2022/ngwr-i18n-tr.mjs +21 -2
  187. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  188. package/fesm2022/ngwr-i18n-uk.mjs +21 -2
  189. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  190. package/fesm2022/ngwr-i18n-vi.mjs +21 -2
  191. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  192. package/fesm2022/ngwr-i18n-zh-tw.mjs +21 -2
  193. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  194. package/fesm2022/ngwr-i18n-zh.mjs +21 -2
  195. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  196. package/fesm2022/ngwr-i18n.mjs +91 -20
  197. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  198. package/fesm2022/ngwr-icon.mjs +6 -6
  199. package/fesm2022/ngwr-image-cropper.mjs +8 -4
  200. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  201. package/fesm2022/ngwr-input-number.mjs +27 -4
  202. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  203. package/fesm2022/ngwr-input-otp.mjs +5 -5
  204. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  205. package/fesm2022/ngwr-input.mjs +25 -17
  206. package/fesm2022/ngwr-input.mjs.map +1 -1
  207. package/fesm2022/ngwr-keyboard.mjs +3 -3
  208. package/fesm2022/ngwr-knob.mjs +3 -3
  209. package/fesm2022/ngwr-layout.mjs +15 -15
  210. package/fesm2022/ngwr-layout.mjs.map +1 -1
  211. package/fesm2022/ngwr-lightbox.mjs +8 -8
  212. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  213. package/fesm2022/ngwr-list.mjs +9 -9
  214. package/fesm2022/ngwr-list.mjs.map +1 -1
  215. package/fesm2022/ngwr-load-state.mjs +16 -15
  216. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  217. package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
  218. package/fesm2022/ngwr-loading-bar.mjs +8 -8
  219. package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
  220. package/fesm2022/ngwr-mention.mjs +14 -6
  221. package/fesm2022/ngwr-mention.mjs.map +1 -1
  222. package/fesm2022/ngwr-meta.mjs +15 -12
  223. package/fesm2022/ngwr-meta.mjs.map +1 -1
  224. package/fesm2022/ngwr-overlay.mjs +9 -9
  225. package/fesm2022/ngwr-page-header.mjs +24 -3
  226. package/fesm2022/ngwr-page-header.mjs.map +1 -1
  227. package/fesm2022/ngwr-pagination-testing.mjs +3 -0
  228. package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
  229. package/fesm2022/ngwr-pagination.mjs +34 -5
  230. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  231. package/fesm2022/ngwr-pipes.mjs +35 -28
  232. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  233. package/fesm2022/ngwr-platform.mjs +9 -9
  234. package/fesm2022/ngwr-popconfirm.mjs +9 -7
  235. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  236. package/fesm2022/ngwr-popover.mjs +162 -18
  237. package/fesm2022/ngwr-popover.mjs.map +1 -1
  238. package/fesm2022/ngwr-progress.mjs +75 -10
  239. package/fesm2022/ngwr-progress.mjs.map +1 -1
  240. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  241. package/fesm2022/ngwr-qr.mjs +9 -5
  242. package/fesm2022/ngwr-qr.mjs.map +1 -1
  243. package/fesm2022/ngwr-radio.mjs +77 -11
  244. package/fesm2022/ngwr-radio.mjs.map +1 -1
  245. package/fesm2022/ngwr-rating.mjs +3 -3
  246. package/fesm2022/ngwr-resizable.mjs +3 -3
  247. package/fesm2022/ngwr-result.mjs +12 -12
  248. package/fesm2022/ngwr-schema-form.mjs +20 -7
  249. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  250. package/fesm2022/ngwr-scroll.mjs +233 -10
  251. package/fesm2022/ngwr-scroll.mjs.map +1 -1
  252. package/fesm2022/ngwr-segmented.mjs +23 -3
  253. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  254. package/fesm2022/ngwr-select.mjs +106 -26
  255. package/fesm2022/ngwr-select.mjs.map +1 -1
  256. package/fesm2022/ngwr-sidebar-testing.mjs +17 -1
  257. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -1
  258. package/fesm2022/ngwr-sidebar.mjs +66 -11
  259. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  260. package/fesm2022/ngwr-skeleton.mjs +3 -3
  261. package/fesm2022/ngwr-slider.mjs +3 -3
  262. package/fesm2022/ngwr-sortable-list.mjs +27 -15
  263. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  264. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  265. package/fesm2022/ngwr-spinner.mjs +3 -3
  266. package/fesm2022/ngwr-splitter.mjs +3 -3
  267. package/fesm2022/ngwr-statistic.mjs +9 -9
  268. package/fesm2022/ngwr-stepper.mjs +6 -6
  269. package/fesm2022/ngwr-storage.mjs +4 -4
  270. package/fesm2022/ngwr-storage.mjs.map +1 -1
  271. package/fesm2022/ngwr-switch.mjs +5 -5
  272. package/fesm2022/ngwr-switch.mjs.map +1 -1
  273. package/fesm2022/ngwr-table-router.mjs +89 -0
  274. package/fesm2022/ngwr-table-router.mjs.map +1 -0
  275. package/fesm2022/ngwr-table-testing.mjs +5 -0
  276. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  277. package/fesm2022/ngwr-table.mjs +307 -47
  278. package/fesm2022/ngwr-table.mjs.map +1 -1
  279. package/fesm2022/ngwr-tabs-router.mjs +9 -5
  280. package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
  281. package/fesm2022/ngwr-tabs-testing.mjs +8 -1
  282. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tabs.mjs +60 -10
  284. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  285. package/fesm2022/ngwr-textarea.mjs +5 -5
  286. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  287. package/fesm2022/ngwr-theme.mjs +3 -3
  288. package/fesm2022/ngwr-timeline.mjs +6 -6
  289. package/fesm2022/ngwr-toast.mjs +43 -15
  290. package/fesm2022/ngwr-toast.mjs.map +1 -1
  291. package/fesm2022/ngwr-toolbar.mjs +3 -3
  292. package/fesm2022/ngwr-tour.mjs +9 -8
  293. package/fesm2022/ngwr-tour.mjs.map +1 -1
  294. package/fesm2022/ngwr-transfer.mjs +4 -3
  295. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  296. package/fesm2022/ngwr-tree.mjs +3 -3
  297. package/fesm2022/ngwr-typography.mjs +23 -3
  298. package/fesm2022/ngwr-typography.mjs.map +1 -1
  299. package/fesm2022/ngwr-utils-router.mjs +3 -3
  300. package/fesm2022/ngwr-utils-router.mjs.map +1 -1
  301. package/fesm2022/ngwr-utils.mjs +74 -4
  302. package/fesm2022/ngwr-utils.mjs.map +1 -1
  303. package/fesm2022/ngwr-validators.mjs +33 -1
  304. package/fesm2022/ngwr-validators.mjs.map +1 -1
  305. package/fesm2022/ngwr-version.mjs +1 -1
  306. package/fesm2022/ngwr-version.mjs.map +1 -1
  307. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  308. package/fesm2022/ngwr-window.mjs +18 -13
  309. package/fesm2022/ngwr-window.mjs.map +1 -1
  310. package/file-upload/styles/_index.scss +16 -0
  311. package/form/styles/_index.scss +37 -0
  312. package/graph/styles/_index.scss +49 -9
  313. package/i18n/ar.json +19 -2
  314. package/i18n/cs.json +19 -2
  315. package/i18n/de.json +19 -2
  316. package/i18n/en.json +19 -2
  317. package/i18n/es.json +19 -2
  318. package/i18n/fr.json +19 -2
  319. package/i18n/he.json +19 -2
  320. package/i18n/hi.json +19 -2
  321. package/i18n/id.json +19 -2
  322. package/i18n/it.json +19 -2
  323. package/i18n/ja.json +19 -2
  324. package/i18n/kk.json +567 -0
  325. package/i18n/ko.json +19 -2
  326. package/i18n/nl.json +19 -2
  327. package/i18n/pl.json +19 -2
  328. package/i18n/pt.json +19 -2
  329. package/i18n/ru.json +19 -2
  330. package/i18n/sv.json +19 -2
  331. package/i18n/tr.json +19 -2
  332. package/i18n/uk.json +19 -2
  333. package/i18n/vi.json +19 -2
  334. package/i18n/zh-TW.json +19 -2
  335. package/i18n/zh.json +19 -2
  336. package/image-cropper/styles/_index.scss +1 -9
  337. package/input-number/styles/_index.scss +7 -0
  338. package/layout/styles/_index.scss +13 -1
  339. package/llms-full.txt +37 -26
  340. package/llms.txt +4 -1
  341. package/loading-bar/styles/_rules.scss +6 -0
  342. package/package.json +16 -8
  343. package/page-header/styles/_index.scss +18 -0
  344. package/pagination/styles/_index.scss +6 -0
  345. package/popover/styles/_index.scss +9 -0
  346. package/progress/styles/_index.scss +64 -0
  347. package/schematics/use/symbol-map.json +7 -0
  348. package/segmented/styles/_index.scss +7 -0
  349. package/select/styles/_index.scss +7 -0
  350. package/sidebar/styles/_index.scss +64 -6
  351. package/skills/ngwr/SKILL.md +7 -6
  352. package/skills/ngwr/references/catalog.md +7 -5
  353. package/sortable-list/styles/_rules.scss +1 -9
  354. package/speed-dial/styles/_index.scss +6 -0
  355. package/stepper/styles/_index.scss +1 -9
  356. package/table/styles/_index.scss +168 -30
  357. package/tabs/styles/_index.scss +9 -0
  358. package/theme/_index.scss +12 -1
  359. package/theme/styles/_colors.scss +11 -0
  360. package/theme/styles/_contrast.scss +6 -0
  361. package/theme/styles/_focus.scss +3 -1
  362. package/theme/styles/_index.scss +1 -0
  363. package/theme/styles/_mixins.scss +45 -0
  364. package/theme/styles/_print.scss +17 -0
  365. package/toast/styles/_index.scss +7 -0
  366. package/tour/styles/_index.scss +9 -0
  367. package/tree/styles/_index.scss +1 -9
  368. package/types/ngwr-anchor.d.ts +3 -0
  369. package/types/ngwr-animations-aurora.d.ts +6 -0
  370. package/types/ngwr-animations-blur-reveal.d.ts +6 -0
  371. package/types/ngwr-animations-click-sparks.d.ts +6 -0
  372. package/types/ngwr-animations-confetti.d.ts +6 -0
  373. package/types/ngwr-animations-decode.d.ts +6 -0
  374. package/types/ngwr-animations-destruct.d.ts +6 -0
  375. package/types/ngwr-animations-dot-grid.d.ts +6 -0
  376. package/types/ngwr-animations-falling-letters.d.ts +6 -0
  377. package/types/ngwr-animations-flow-lines.d.ts +6 -0
  378. package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
  379. package/types/ngwr-animations-glitch.d.ts +6 -0
  380. package/types/ngwr-animations-glow-border.d.ts +6 -0
  381. package/types/ngwr-animations-gradient-flow.d.ts +6 -0
  382. package/types/ngwr-animations-marquee.d.ts +6 -0
  383. package/types/ngwr-animations-orbit.d.ts +6 -0
  384. package/types/ngwr-animations-reveal.d.ts +6 -0
  385. package/types/ngwr-animations-ripple-grid.d.ts +6 -0
  386. package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
  387. package/types/ngwr-animations-shimmer.d.ts +6 -0
  388. package/types/ngwr-animations-spotlight.d.ts +6 -0
  389. package/types/ngwr-animations-thread-lines.d.ts +6 -0
  390. package/types/ngwr-animations-tilt.d.ts +10 -0
  391. package/types/ngwr-animations-typewriter.d.ts +6 -0
  392. package/types/ngwr-avatar.d.ts +39 -0
  393. package/types/ngwr-breadcrumbs.d.ts +25 -0
  394. package/types/ngwr-button.d.ts +35 -3
  395. package/types/ngwr-carousel.d.ts +2 -0
  396. package/types/ngwr-cascader.d.ts +7 -0
  397. package/types/ngwr-charts-core.d.ts +16 -0
  398. package/types/ngwr-charts-meter-group.d.ts +2 -0
  399. package/types/ngwr-checkbox.d.ts +1 -0
  400. package/types/ngwr-color-picker.d.ts +1 -0
  401. package/types/ngwr-context-menu.d.ts +1 -1
  402. package/types/ngwr-date-picker-testing.d.ts +22 -0
  403. package/types/ngwr-date-picker.d.ts +97 -17
  404. package/types/ngwr-date.d.ts +51 -0
  405. package/types/ngwr-dialog.d.ts +39 -8
  406. package/types/ngwr-directives.d.ts +57 -4
  407. package/types/ngwr-drawer.d.ts +1 -1
  408. package/types/ngwr-dropdown-testing.d.ts +8 -1
  409. package/types/ngwr-dropdown.d.ts +30 -1
  410. package/types/ngwr-event-calendar.d.ts +4 -0
  411. package/types/ngwr-file-upload-testing.d.ts +10 -0
  412. package/types/ngwr-file-upload.d.ts +55 -1
  413. package/types/ngwr-form.d.ts +87 -1
  414. package/types/ngwr-graph-testing.d.ts +28 -1
  415. package/types/ngwr-graph.d.ts +53 -3
  416. package/types/ngwr-i18n-kk.d.ts +3 -0
  417. package/types/ngwr-i18n.d.ts +65 -5
  418. package/types/ngwr-image-cropper.d.ts +6 -0
  419. package/types/ngwr-input-number.d.ts +8 -0
  420. package/types/ngwr-input.d.ts +7 -0
  421. package/types/ngwr-layout.d.ts +1 -1
  422. package/types/ngwr-loading-bar-router.d.ts +6 -0
  423. package/types/ngwr-page-header.d.ts +23 -1
  424. package/types/ngwr-pagination-testing.d.ts +8 -0
  425. package/types/ngwr-pagination.d.ts +16 -0
  426. package/types/ngwr-popconfirm.d.ts +1 -1
  427. package/types/ngwr-popover.d.ts +67 -4
  428. package/types/ngwr-progress.d.ts +63 -1
  429. package/types/ngwr-radio.d.ts +47 -5
  430. package/types/ngwr-scroll.d.ts +86 -0
  431. package/types/ngwr-segmented.d.ts +7 -0
  432. package/types/ngwr-select.d.ts +88 -25
  433. package/types/ngwr-sidebar-testing.d.ts +21 -7
  434. package/types/ngwr-sidebar.d.ts +66 -4
  435. package/types/ngwr-sortable-list.d.ts +20 -7
  436. package/types/ngwr-table-router.d.ts +49 -0
  437. package/types/ngwr-table-testing.d.ts +7 -0
  438. package/types/ngwr-table.d.ts +241 -10
  439. package/types/ngwr-tabs-router.d.ts +7 -1
  440. package/types/ngwr-tabs-testing.d.ts +5 -1
  441. package/types/ngwr-tabs.d.ts +34 -1
  442. package/types/ngwr-toast.d.ts +11 -0
  443. package/types/ngwr-tour.d.ts +0 -1
  444. package/types/ngwr-typography.d.ts +7 -0
  445. package/types/ngwr-utils-router.d.ts +6 -0
  446. package/types/ngwr-utils.d.ts +69 -2
  447. package/types/ngwr-validators.d.ts +49 -1
  448. package/types/ngwr-version.d.ts +1 -1
  449. package/typography/styles/_index.scss +4 -0
  450. package/window/styles/_index.scss +1 -9
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { TemplateRef, WritableSignal } from "@angular/core";
2
+ import { InjectionToken, TemplateRef, WritableSignal } from "@angular/core";
3
3
  import { WrClassInput, WrSafeAny } from "ngwr/utils";
4
4
  import { WrPaginationSize } from "ngwr/pagination";
5
5
  import { CdkDragDrop, CdkDragMove, CdkDragSortEvent, CdkDragStart } from "@angular/cdk/drag-drop";
@@ -84,6 +84,38 @@ interface WrTableRowClick<T extends WrTableRow = WrTableRow> {
84
84
  /** The click itself, for its modifier keys. */
85
85
  readonly event: MouseEvent;
86
86
  }
87
+ /**
88
+ * Where a body row leads: an href, or `null` for a row that leads nowhere.
89
+ *
90
+ * With `WrTableRouting` from `ngwr/table/router` on the table the value is a
91
+ * router link instead, a URL string or an array of commands, the two forms
92
+ * `routerLink` takes. An array needs the adapter: without it the row gets no
93
+ * link.
94
+ *
95
+ * It runs for every rendered row when the rows, the function or a signal it
96
+ * reads change: keep it a pure read of the row.
97
+ */
98
+ type WrTableRowLink<T extends WrTableRow = WrTableRow> = (row: T) => string | readonly unknown[] | null | undefined;
99
+ /**
100
+ * @license
101
+ *
102
+ * Use of this source code is governed by an MIT-style license that can be
103
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
104
+ */
105
+ /**
106
+ * What `wr-table` asks of a router for its row links. `WrTableRouting` from
107
+ * `ngwr/table/router` implements it over `@angular/router`, which keeps the
108
+ * router out of `ngwr/table`.
109
+ */
110
+ interface WrTableRoutingAdapter {
111
+ /** The href a row link renders for a `rowLink` value. */
112
+ href(link: string | readonly unknown[]): string;
113
+ /**
114
+ * Handle a click on a row link. A modified or non-primary click is left to
115
+ * the browser, so ctrl/cmd-click still opens the row in a new tab.
116
+ */
117
+ navigate(link: string | readonly unknown[], event: MouseEvent): void;
118
+ }
87
119
  /**
88
120
  * @license
89
121
  *
@@ -240,6 +272,11 @@ interface WrTableColumn<T extends WrTableRow = WrTableRow> {
240
272
  * `title` (an icon column) it is the column's name.
241
273
  */
242
274
  readonly headerHint?: string;
275
+ /**
276
+ * `false` keeps the column out of the table's `search`. A column takes part
277
+ * by default, through its `format` or its value; an `actions` column never does.
278
+ */
279
+ readonly searchable?: boolean;
243
280
  /** Show a clickable sort indicator in the header. */
244
281
  readonly sortable?: boolean;
245
282
  /** When non-empty, shows a filter dropdown in the header. */
@@ -299,6 +336,14 @@ interface WrTableColumn<T extends WrTableRow = WrTableRow> {
299
336
  * the column cannot grow: give it a `width`.
300
337
  */
301
338
  readonly truncate?: WrTableTruncate | null;
339
+ /**
340
+ * A column of row actions. Its `[wrTableCell]` template renders inside
341
+ * `.wr-table__actions`, a single row with a gap at the end of the cell, for
342
+ * icon-only `wr-btn`s. The column shrinks to its buttons
343
+ * (`.wr-table__th--actions`, `.wr-table__td--actions`); under
344
+ * `layout="fixed"` give it a `width`. `toCsv()` leaves it out.
345
+ */
346
+ readonly actions?: boolean;
302
347
  /**
303
348
  * Extra CSS classes for this column's header cell AND every body cell under
304
349
  * it - the one place to set a monospace face or any other treatment of your
@@ -448,6 +493,19 @@ interface WrTableExpandContext {
448
493
  /** The expanded row (alias of `$implicit`). */
449
494
  readonly row: Record<string, unknown>;
450
495
  }
496
+ /**
497
+ * @license
498
+ *
499
+ * Use of this source code is governed by an MIT-style license that can be
500
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
501
+ */
502
+ /**
503
+ * How `<wr-table>` sizes its columns.
504
+ *
505
+ * - `'auto'` - the browser sizes each column to its content
506
+ * - `'fixed'` - a column keeps its `width`, the rest share what is left, and text wraps
507
+ */
508
+ type WrTableLayout = 'auto' | 'fixed';
451
509
  /**
452
510
  * @license
453
511
  *
@@ -468,7 +526,8 @@ type WrTableLoadingMode = 'auto' | 'overlay' | 'bar';
468
526
  */
469
527
  interface WrTableSelectionContext<T extends WrTableRow = WrTableRow> {
470
528
  /**
471
- * The selected rows the table holds, in `items` order. In server mode
529
+ * The selected rows the table holds, in `items` order, including the ones a
530
+ * `search` hides: the same set `count` counts. In server mode
472
531
  * (`total` set) that is the selected rows of the current page: a key
473
532
  * selected on another page is counted and is not here.
474
533
  */
@@ -483,6 +542,19 @@ interface WrTableSelectionContext<T extends WrTableRow = WrTableRow> {
483
542
  */
484
543
  readonly scope: 'page' | 'all';
485
544
  }
545
+ /**
546
+ * @license
547
+ *
548
+ * Use of this source code is governed by an MIT-style license that can be
549
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
550
+ */
551
+ /**
552
+ * How tightly `<wr-table>` pads its cells.
553
+ *
554
+ * - `'md'` - the default padding
555
+ * - `'sm'` - compact cells, for a dense table
556
+ */
557
+ type WrTableSize = 'sm' | 'md';
486
558
  /**
487
559
  * Everything a reader can change about a `<wr-table>`, in one object: what
488
560
  * `(stateChange)` emits and `[state]` restores. It holds plain data, so a
@@ -552,8 +624,12 @@ interface CellColumn<T extends WrTableRow> {
552
624
  readonly width: number | null;
553
625
  /** The `width` a truncated column's cells are capped at. */
554
626
  readonly maxWidth: number | null;
627
+ /** Whether its template renders inside `.wr-table__actions`. */
628
+ readonly actions: boolean;
555
629
  /** Whether its cell names the row (see `labelColumnKey`). */
556
630
  readonly label: boolean;
631
+ /** Whether its cell holds the row's link (see `linkColumnKey`). */
632
+ readonly link: boolean;
557
633
  /** Whether its cell carries the tree indent and toggle. */
558
634
  readonly tree: boolean;
559
635
  readonly template: TemplateRef<WrTableCellContext> | undefined;
@@ -571,6 +647,11 @@ interface CellEdit {
571
647
  readonly pending: WritableSignal<unknown>;
572
648
  readonly context: WrTableEditCellContext;
573
649
  }
650
+ /** A row's link as rendered, and the `rowLink` value a routed one came from. */
651
+ interface RowLink {
652
+ readonly href: string;
653
+ readonly routed: string | readonly unknown[] | null;
654
+ }
574
655
  /**
575
656
  * Data table with sortable / filterable headers and custom cell templates.
576
657
  *
@@ -618,6 +699,37 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
618
699
  * One cast at the boundary: the INPUT is wide so any object shape binds, while
619
700
  * the body keeps indexing rows the way it always has.
620
701
  */
702
+ private readonly source;
703
+ /**
704
+ * Client-side text search. A row stays when the text some searchable column
705
+ * shows contains the query, ignoring case and accents: the column's `format`
706
+ * over the value, else the value as text. A missing value shows nothing, so
707
+ * its `empty` placeholder is not searched. Columns that take part: the ones
708
+ * on screen, less `actions` columns and `searchable: false`. An empty or
709
+ * blank query is no search.
710
+ *
711
+ * The table filters nothing else itself, so a search runs over whatever
712
+ * `items` holds: filter and sort `items` as before, the search narrows the
713
+ * result. It comes before paging, so the pager counts the matches and the
714
+ * page returns to 1 when the query changes, and `toCsv()`, the summary row
715
+ * and the select-all scope see the matching rows only. In tree mode a parent
716
+ * stays while it or any descendant matches and shows only the children that
717
+ * stay; it keeps its open state, so a parent kept for a deep match may need
718
+ * opening. Server mode (`total` set) holds one page and ignores it.
719
+ * A selection survives a search: rows it hides stay selected, and the count,
720
+ * the bar's `$implicit` and `toCsv({ selectedOnly })` all use the whole selection.
721
+ * @default ''
722
+ */
723
+ readonly search: import("@angular/core").InputSignal<string>;
724
+ /**
725
+ * The columns the search reads, with the folded text of each cell per row,
726
+ * so a new query only re-runs `includes`. A new `items` array or column list
727
+ * starts an empty cache: `format` may read any field of its row, so only a
728
+ * new list says what a cell shows may have changed.
729
+ */
730
+ private readonly searchColumns;
731
+ /** The rows after the search, plus the kept children per parent in tree mode. */
732
+ private readonly searched;
621
733
  private readonly rows;
622
734
  /** Mark the table as loading; `loadingMode` picks how it shows. @default false */
623
735
  readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
@@ -931,10 +1043,56 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
931
1043
  *
932
1044
  * Pointer only: a row takes no focus and no key for it, so give the same
933
1045
  * action a control of its own in the row (a link or a button in a cell) for
934
- * keyboard and screen reader users. The table adds no cursor either: style
935
- * `.wr-table__tr` when the rows are clickable.
1046
+ * keyboard and screen reader users, or use `rowLink` when the row leads to a
1047
+ * URL. The table adds no cursor either: style `.wr-table__tr--clickable`.
1048
+ *
1049
+ * While it is bound the rows wear `wr-table__tr--clickable` and tint on
1050
+ * hover. A row with a `rowLink` does not fire it for a click that follows
1051
+ * the link.
936
1052
  */
937
1053
  readonly rowClick: import("@angular/core").OutputEmitterRef<WrTableRowClick<T>>;
1054
+ /**
1055
+ * Whether anything listens to `rowClick`. Angular has no public read for
1056
+ * it, so this looks at the emitter's own list, and `table-row-link.spec.ts`
1057
+ * holds it across Angular bumps.
1058
+ */
1059
+ protected rowClickBound(): boolean;
1060
+ /**
1061
+ * Makes a row a link: a function from the row to its href, or to `null` for
1062
+ * a row that leads nowhere. Each linked row renders one real `<a>` laid
1063
+ * under its cells, so Enter, middle click, ctrl / cmd click and "copy link"
1064
+ * work anywhere on the row, and the row is one tab stop.
1065
+ *
1066
+ * The link is named by the row's label cell: the tree column in tree mode,
1067
+ * else the first column. Controls in the row stay their own: the same list
1068
+ * `rowClick` skips, with `wrTableIgnoreRowClick` for anything else.
1069
+ *
1070
+ * A plain href loads the page. In a routed app add `WrTableRouting` from
1071
+ * `ngwr/table/router` to the table, and the value becomes a router link: a
1072
+ * URL string or an array of commands.
1073
+ *
1074
+ * Linked rows wear `wr-table__tr--link` and tint on hover.
1075
+ *
1076
+ * @example
1077
+ * ```html
1078
+ * <wr-table [columns]="columns" [items]="orders" [rowLink]="orderLink" />
1079
+ * ```
1080
+ * ```ts
1081
+ * protected readonly orderLink = (order: Order) => `/orders/${order.id}`;
1082
+ * ```
1083
+ * @default null
1084
+ */
1085
+ readonly rowLink: import("@angular/core").InputSignal<WrTableRowLink<T> | null>;
1086
+ /** The routing adapter, when `WrTableRouting` from `ngwr/table/router` is on the table. */
1087
+ private readonly routing;
1088
+ /** The link of every rendered row that has one, so a virtualized body resolves its window only. */
1089
+ protected readonly rowLinks: import("@angular/core").Signal<ReadonlyMap<Record<string, unknown>, RowLink>>;
1090
+ /**
1091
+ * The column whose cell holds the row's link: the first one that is not
1092
+ * pinned, since a pinned cell is sticky and would hold the stretched link
1093
+ * inside its own box. The label column when every column is pinned.
1094
+ */
1095
+ protected readonly linkColumnKey: import("@angular/core").Signal<string | null>;
938
1096
  protected onBodyClick(event: MouseEvent): void;
939
1097
  /**
940
1098
  * Rows per page. Set to `0` (default) to disable client-side pagination
@@ -1028,6 +1186,14 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1028
1186
  readonly overscan: import("@angular/core").InputSignalWithTransform<number, unknown>;
1029
1187
  /** Total row count derived for the pager (server-mode wins). */
1030
1188
  protected readonly resolvedTotal: import("@angular/core").Signal<number>;
1189
+ /**
1190
+ * The page the table shows. Clamped at BOTH ends, because `page` is a model the
1191
+ * host owns (a `model()` takes no transform) and the data can shrink under it,
1192
+ * which used to leave an empty slice with no way back except paging by hand.
1193
+ * Below 1 the offset goes negative and `Array.slice` reads a negative start
1194
+ * from the END; `|| 1` folds `0` and `NaN` in.
1195
+ */
1196
+ protected readonly shownPage: import("@angular/core").Signal<number>;
1031
1197
  /** Items visible on the current page (client mode slices; server mode passes through). */
1032
1198
  protected readonly visibleItems: import("@angular/core").Signal<readonly Record<string, unknown>[] | null | undefined>;
1033
1199
  /** Show the pager footer only when paging is enabled and rows overflow. */
@@ -1151,11 +1317,29 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1151
1317
  * cut cell's full text in a tooltip on hover and focus; a cell that fits
1152
1318
  * shows none. A column's own `truncate` wins, and `null` there turns it off
1153
1319
  * for that column. A cell is cut only where its column cannot grow: give the
1154
- * column a `width`, or the table a fixed layout (a resized or virtualized
1155
- * one has it).
1320
+ * column a `width`, or the table a fixed layout (`layout="fixed"`, and a
1321
+ * resized or virtualized one has it).
1156
1322
  * @default null
1157
1323
  */
1158
1324
  readonly truncate: import("@angular/core").InputSignal<"tooltip" | null>;
1325
+ /**
1326
+ * How the columns are sized. `'auto'` lets the browser size each column to
1327
+ * its content. `'fixed'` keeps every column at its `width`, shares what is
1328
+ * left between the columns without one, and wraps the text of the header and
1329
+ * body cells: sorting or paging never moves a column. A column's
1330
+ * `truncate` still cuts its cells to one line. Resizing works in both; a
1331
+ * virtualized table keeps its one-line rows.
1332
+ * @default 'auto'
1333
+ */
1334
+ readonly layout: import("@angular/core").InputSignal<WrTableLayout>;
1335
+ /**
1336
+ * How tightly the cells are padded. `'sm'` is the compact table: it sets
1337
+ * `--wr-table-cell-padding-y` and `-x` one notch tighter, for header, body
1338
+ * and footer cells alike. The app's density still multiplies both, so `sm`
1339
+ * is relative to it. Card mode keeps its own padding.
1340
+ * @default 'md'
1341
+ */
1342
+ readonly size: import("@angular/core").InputSignal<WrTableSize>;
1159
1343
  /**
1160
1344
  * A column's name for its controls: the title, the hint after it, or the hint
1161
1345
  * alone under an empty title.
@@ -1175,7 +1359,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1175
1359
  private readonly modality;
1176
1360
  private onTipTarget;
1177
1361
  /** The row's class with the consumer's own, resolved through the `rowClass` predicate. */
1178
- protected rowClasses(row: Record<string, unknown>, index: number): string;
1362
+ protected rowClasses(row: Record<string, unknown>, index: number, linked: boolean): string;
1179
1363
  private readonly resizeWidths;
1180
1364
  private resizeKey;
1181
1365
  private resizeStartX;
@@ -1223,6 +1407,14 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1223
1407
  private readonly viewportPx;
1224
1408
  /** Measured first-row height (px) when `rowHeight` is auto; 0 until measured. */
1225
1409
  private readonly measuredRowPx;
1410
+ /** True for the render that measures a row after a size change. */
1411
+ protected readonly remeasuring: WritableSignal<boolean>;
1412
+ /**
1413
+ * `--wr-table-row-h` on a virtualized table, once a height is known: a given
1414
+ * `rowHeight` or a measured one. Unset while measuring, so a row is measured at
1415
+ * its own height and not at the fallback or at an older measure.
1416
+ */
1417
+ protected readonly rowHeightVar: import("@angular/core").Signal<number | null>;
1226
1418
  /** Fixed layout forced ON by virtualization (distinct from the resize latch). */
1227
1419
  private readonly virtualFixed;
1228
1420
  /** `virtualScroll` requested AND the data shape is safe to window. SSR-deterministic. */
@@ -1252,8 +1444,14 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1252
1444
  protected readonly windowStart: import("@angular/core").Signal<number>;
1253
1445
  /** Rows placed in `<tbody>`. SAME array instance as `renderRows()` when off → byte-identical DOM. */
1254
1446
  protected readonly windowRows: import("@angular/core").Signal<readonly RenderRow[]>;
1255
- /** Fixed layout is on when a resize drag latched it OR virtualization forces it. */
1447
+ /** Whether the columns hold their widths: `layout="fixed"`, a resize latch, virtualization or an edit hold. */
1256
1448
  protected readonly fixedLayoutActive: import("@angular/core").Signal<boolean>;
1449
+ /**
1450
+ * The fixed layout that also cuts every cell to one line, `.wr-table__table--fixed`.
1451
+ * A virtualized body needs it for its row height. A resize or an edit hold
1452
+ * takes it only over `layout="auto"`, where the cells did not wrap before.
1453
+ */
1454
+ protected readonly clippedLayout: import("@angular/core").Signal<boolean>;
1257
1455
  /** Scroll a flat row index to the top of the virtual viewport. No-op on the server / when not virtual. */
1258
1456
  scrollToRow(index: number, behavior?: ScrollBehavior): void;
1259
1457
  protected onColumnDrop(event: CdkDragDrop<unknown>): void;
@@ -1522,7 +1720,8 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1522
1720
  * titles, then one row per item in the current column order. A cell is what
1523
1721
  * the plain cell shows: the column's `empty` for a missing value, its
1524
1722
  * `format` over the value, else the raw value. A `[wrTableCell]` template is
1525
- * not run, so a column drawn by one exports its `format` or its data.
1723
+ * not run, so a column drawn by one exports its `format` or its data. An
1724
+ * `actions` column has no data and is left out.
1526
1725
  *
1527
1726
  * Covers the current `items`, so in server-side mode (`total` set) it
1528
1727
  * exports the current page, while client-side pagination exports every page.
@@ -1567,6 +1766,12 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1567
1766
  * say nothing the arrow does not.
1568
1767
  */
1569
1768
  protected sortOrderFor(key: string): number | null;
1769
+ /**
1770
+ * A click anywhere in a sortable header cell sorts, as a click on its sort
1771
+ * button does. A control in the cell keeps its own click: the sort button
1772
+ * (which cycles by itself), the filter trigger, the resize handle.
1773
+ */
1774
+ protected onHeaderClick(event: MouseEvent, key: string, sortable: boolean | undefined): void;
1570
1775
  protected cycleSort(key: string): void;
1571
1776
  protected onFilter(key: string, items: readonly WrTableFilterItem[]): void;
1572
1777
  protected cellContext(item: Record<string, unknown>, col: CellColumn<T>): WrTableCellContext;
@@ -1588,6 +1793,11 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1588
1793
  "required": false;
1589
1794
  "isSignal": true;
1590
1795
  };
1796
+ "search": {
1797
+ "alias": "search";
1798
+ "required": false;
1799
+ "isSignal": true;
1800
+ };
1591
1801
  "loading": {
1592
1802
  "alias": "loading";
1593
1803
  "required": false;
@@ -1753,6 +1963,11 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1753
1963
  "required": false;
1754
1964
  "isSignal": true;
1755
1965
  };
1966
+ "rowLink": {
1967
+ "alias": "rowLink";
1968
+ "required": false;
1969
+ "isSignal": true;
1970
+ };
1756
1971
  "pageSize": {
1757
1972
  "alias": "pageSize";
1758
1973
  "required": false;
@@ -1808,6 +2023,16 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1808
2023
  "required": false;
1809
2024
  "isSignal": true;
1810
2025
  };
2026
+ "layout": {
2027
+ "alias": "layout";
2028
+ "required": false;
2029
+ "isSignal": true;
2030
+ };
2031
+ "size": {
2032
+ "alias": "size";
2033
+ "required": false;
2034
+ "isSignal": true;
2035
+ };
1811
2036
  "editable": {
1812
2037
  "alias": "editable";
1813
2038
  "required": false;
@@ -2245,4 +2470,10 @@ export declare function wrReadField<T>(item: T, key: string): string | number;
2245
2470
  * @param accessor Reads the value of a key; defaults to `wrReadField`.
2246
2471
  */
2247
2472
  export declare function wrSortRows<T>(rows: readonly T[], sort: readonly WrTableSortState[], accessor?: WrTableSortAccessor<T>): readonly T[];
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 };
2473
+ /**
2474
+ * Token a `<wr-table>` reads to send its row links through a router. Provided
2475
+ * by the `WrTableRouting` directive from `ngwr/table/router`; absent by
2476
+ * default, which keeps `@angular/router` out of a table that links nowhere.
2477
+ */
2478
+ export declare const WR_TABLE_ROUTING: InjectionToken<WrTableRoutingAdapter>;
2479
+ export type { WrTableCellContext, WrTableCellEdit, WrTableChooserColumn, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableEditCellContext, WrTableEditable, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLayout, WrTableLoadingMode, WrTableRoutingAdapter, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableRowLink, WrTableSelectionContext, WrTableSize, WrTableSortAccessor, WrTableSortDirection, WrTableSortState, WrTableState, WrTableSummary, WrTableSummaryContext, WrTableTruncate };
@@ -1,3 +1,9 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Use of this source code is governed by an MIT-style license that can be
5
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
+ */
1
7
  import * as i0 from "@angular/core";
2
8
  import { WrTabsRoutingAdapter } from "ngwr/tabs";
3
9
  /**
@@ -56,7 +62,7 @@ export declare class WrTabsRouting implements WrTabsRoutingAdapter {
56
62
  */
57
63
  private readonly url;
58
64
  href(commands: string | readonly string[]): string;
59
- isActive(commands: string | readonly string[]): boolean;
65
+ isActive(commands: string | readonly string[], exact?: boolean): boolean;
60
66
  navigate(commands: string | readonly string[], event: MouseEvent): void;
61
67
  private tree;
62
68
  static ɵfac: i0.ɵɵFactoryDeclaration<WrTabsRouting, never>;
@@ -79,8 +79,12 @@ export declare class WrTabHarness extends ContentContainerComponentHarness {
79
79
  static hostSelector: string;
80
80
  /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
81
81
  static with(options?: WrTabHarnessFilters): HarnessPredicate<WrTabHarness>;
82
- /** The tab's visible label, trimmed — the `<wr-tab>`'s `title`. */
82
+ /** The tab's visible label, trimmed — the `<wr-tab>`'s `title`. The count is not part of it. */
83
83
  getLabel(): Promise<string>;
84
+ /** The count shown after the label, or `null` while the tab has none. */
85
+ getCount(): Promise<number | null>;
86
+ /** The accessible name the header announces: the label, plus the count when it has one ("Inbox, 3"). */
87
+ getAccessibleName(): Promise<string>;
84
88
  /**
85
89
  * The header's own id, which is what the panel points back at with
86
90
  * `aria-labelledby` — the tab is the panel's accessible name.
@@ -21,6 +21,22 @@ export declare class WrTab {
21
21
  readonly key: import("@angular/core").InputSignal<string>;
22
22
  /** Router target — when set, the tab becomes a `[routerLink]` link. */
23
23
  readonly routerLink: import("@angular/core").InputSignal<string | readonly string[] | null>;
24
+ /**
25
+ * Router tab only: select it on its own path, not on the paths below it, so an
26
+ * "Overview" tab at `/project/42` is not selected on `/project/42/settings`.
27
+ * Query params, fragment and matrix params are matched as without it.
28
+ *
29
+ * @default false
30
+ */
31
+ readonly exact: import("@angular/core").InputSignalWithTransform<boolean, any>;
32
+ /**
33
+ * A count after the label, as a small badge: unread messages, results. `null`
34
+ * (default) shows nothing, `0` shows `0`. The tab's accessible name becomes
35
+ * the label and the count, "Inbox, 3".
36
+ *
37
+ * @default null
38
+ */
39
+ readonly count: import("@angular/core").InputSignal<number | null>;
24
40
  /** Disable the tab. */
25
41
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
26
42
  /** Tab content template; portaled into the parent's panel area. @internal */
@@ -35,6 +51,12 @@ export declare class WrTab {
35
51
  * resolves `WR_TABS` above.
36
52
  */
37
53
  private readonly routing;
54
+ /**
55
+ * The header's `aria-label`: the title with the count after it, or `null` while
56
+ * there is no count and the visible label is the name already.
57
+ * @internal
58
+ */
59
+ readonly accessibleName: import("@angular/core").Signal<string | null>;
38
60
  protected readonly isRouter: import("@angular/core").Signal<boolean>;
39
61
  /**
40
62
  * Resolved href for a router tab — `null` for a content tab, and for a
@@ -69,6 +91,16 @@ export declare class WrTab {
69
91
  "required": false;
70
92
  "isSignal": true;
71
93
  };
94
+ "exact": {
95
+ "alias": "exact";
96
+ "required": false;
97
+ "isSignal": true;
98
+ };
99
+ "count": {
100
+ "alias": "count";
101
+ "required": false;
102
+ "isSignal": true;
103
+ };
72
104
  "disabled": {
73
105
  "alias": "disabled";
74
106
  "required": false;
@@ -126,8 +158,9 @@ interface WrTabsRoutingAdapter {
126
158
  /**
127
159
  * Whether the current URL selects this tab. Matched the way `routerLinkActive`
128
160
  * matches without `[routerLinkActiveOptions]`: a path prefix, not an exact URL.
161
+ * With `exact`, only the tab's own path counts, not the paths below it.
129
162
  */
130
- isActive(commands: string | readonly string[]): boolean;
163
+ isActive(commands: string | readonly string[], exact?: boolean): boolean;
131
164
  /**
132
165
  * Handle a click on a tab anchor. A modified or non-primary click is left to
133
166
  * the browser, so ctrl/cmd-click still opens the tab in a new window.
@@ -161,6 +161,8 @@ export declare class WrToastRef {
161
161
  * Global defaults come from {@link WR_TOAST_CONFIG}; register
162
162
  * `provideWr(withToast(...))` once at bootstrap to customise. Each
163
163
  * `show()` call accepts per-toast overrides via {@link WrToastOptions}.
164
+ * `info()`, `success()`, `warning()` and `danger()` are `show()` with the
165
+ * type set and the message first.
164
166
  *
165
167
  * @example
166
168
  * ```ts
@@ -171,6 +173,7 @@ export declare class WrToastRef {
171
173
  * toast.show({ message: 'Permalink copied', position: 'bottom', showCopy: true });
172
174
  * toast.show({ message: 'Item deleted', action: { label: 'Undo', run: () => restore() } });
173
175
  * toast.show({ type: 'danger', message: 'Door forced', outlet: 'alarms' });
176
+ * toast.success('Profile updated.', { title: 'Saved' });
174
177
  * ```
175
178
  *
176
179
  * @see https://ngwr.dev/reference/components/toast
@@ -197,6 +200,14 @@ export declare class WrToast {
197
200
  private readonly outlets;
198
201
  /** Open a toast. Returns a handle you can `dismiss()` early. */
199
202
  show(options: WrToastOptions): WrToastRef;
203
+ /** An `info` toast: `show({ ...options, message, type: 'info' })`. */
204
+ info(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
205
+ /** A `success` toast: `show({ ...options, message, type: 'success' })`. */
206
+ success(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
207
+ /** A `warning` toast: `show({ ...options, message, type: 'warning' })`. */
208
+ warning(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
209
+ /** A `danger` toast: `show({ ...options, message, type: 'danger' })`. */
210
+ danger(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
200
211
  /** Dismiss a single toast by id, in whichever stack holds it. */
201
212
  dismiss(id: number): void;
202
213
  /**
@@ -1,5 +1,4 @@
1
1
  import * as i0 from "@angular/core";
2
- import { InjectionToken } from "@angular/core";
3
2
  import { WrClassInput } from "ngwr/utils";
4
3
  import { WrOverlayAutoFocus } from "ngwr/overlay";
5
4
  /** Where the step popup sits relative to its target. */
@@ -66,6 +66,8 @@ export declare class WrTypography {
66
66
  readonly truncate: import("@angular/core").InputSignalWithTransform<boolean, any>;
67
67
  /** Render with monospace font. @default false (auto-true for `code`) */
68
68
  readonly mono: import("@angular/core").InputSignalWithTransform<boolean, any>;
69
+ /** Tabular digits: every digit takes the same width, so amounts line up in a column. @default false */
70
+ readonly numeric: import("@angular/core").InputSignalWithTransform<boolean, any>;
69
71
  protected readonly classes: import("@angular/core").Signal<string>;
70
72
  static ɵfac: i0.ɵɵFactoryDeclaration<WrTypography, never>;
71
73
  static ɵdir: i0.ɵɵDirectiveDeclaration<WrTypography, "[wrTypography]", never, {
@@ -94,6 +96,11 @@ export declare class WrTypography {
94
96
  "required": false;
95
97
  "isSignal": true;
96
98
  };
99
+ "numeric": {
100
+ "alias": "numeric";
101
+ "required": false;
102
+ "isSignal": true;
103
+ };
97
104
  }, {}, never, never, true, never>;
98
105
  }
99
106
  export type { WrTypographyAlign, WrTypographyTone, WrTypographyVariant };
@@ -1,3 +1,9 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Use of this source code is governed by an MIT-style license that can be
5
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
+ */
1
7
  import { WritableSignal } from "@angular/core";
2
8
  import { WrFeature } from "ngwr/utils";
3
9
  /**