ngwr 15.9.0 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/animations/aurora/styles/_index.scss +1 -1
  2. package/animations/blur-reveal/styles/_index.scss +1 -1
  3. package/animations/decode/styles/_index.scss +1 -1
  4. package/animations/dot-grid/styles/_index.scss +1 -1
  5. package/animations/flow-lines/styles/_index.scss +1 -1
  6. package/animations/fluid-cursor/styles/_index.scss +1 -1
  7. package/animations/{core → internal}/styles/_mixins.scss +1 -1
  8. package/animations/reveal/styles/_index.scss +1 -1
  9. package/animations/ripple-grid/styles/_index.scss +1 -1
  10. package/animations/rotate-reveal/styles/_index.scss +1 -1
  11. package/animations/thread-lines/styles/_index.scss +1 -1
  12. package/animations/typewriter/styles/_index.scss +1 -1
  13. package/copy-value/styles/_index.scss +104 -0
  14. package/date-picker/styles/_index.scss +117 -0
  15. package/fesm2022/{ngwr-animations-core.mjs → internal-BaQU4t_0.mjs} +6 -49
  16. package/fesm2022/internal-BaQU4t_0.mjs.map +1 -0
  17. package/fesm2022/ngwr-alert.mjs +2 -2
  18. package/fesm2022/ngwr-alert.mjs.map +1 -1
  19. package/fesm2022/ngwr-animations-aurora.mjs +21 -21
  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 +2 -2
  24. package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
  25. package/fesm2022/ngwr-animations-confetti.mjs +5 -5
  26. package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
  27. package/fesm2022/ngwr-animations-decode.mjs +4 -4
  28. package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
  29. package/fesm2022/ngwr-animations-destruct.mjs +5 -5
  30. package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
  31. package/fesm2022/ngwr-animations-dot-grid.mjs +7 -7
  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 +17 -17
  36. package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
  37. package/fesm2022/ngwr-animations-fluid-cursor.mjs +12 -12
  38. package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
  39. package/fesm2022/ngwr-animations-glitch.mjs +2 -2
  40. package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
  41. package/fesm2022/ngwr-animations-marquee.mjs +2 -2
  42. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  43. package/fesm2022/ngwr-animations-orbit.mjs +7 -7
  44. package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
  45. package/fesm2022/ngwr-animations-reveal.mjs +4 -4
  46. package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
  47. package/fesm2022/ngwr-animations-ripple-grid.mjs +5 -5
  48. package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
  49. package/fesm2022/ngwr-animations-rotate-reveal.mjs +4 -4
  50. package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
  51. package/fesm2022/ngwr-animations-shimmer.mjs +2 -2
  52. package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
  53. package/fesm2022/ngwr-animations-spotlight.mjs +1 -1
  54. package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
  55. package/fesm2022/ngwr-animations-thread-lines.mjs +16 -16
  56. package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
  57. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  58. package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
  59. package/fesm2022/ngwr-animations-typewriter.mjs +4 -4
  60. package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
  61. package/fesm2022/ngwr-avatar.mjs +3 -3
  62. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  63. package/fesm2022/ngwr-badge.mjs.map +1 -1
  64. package/fesm2022/ngwr-cascader.mjs +43 -20
  65. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  66. package/fesm2022/ngwr-charts-bar-chart.mjs +13 -13
  67. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-boxplot-chart.mjs +9 -9
  69. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  70. package/fesm2022/ngwr-charts-bullet-chart.mjs +8 -8
  71. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-candlestick-chart.mjs +11 -11
  73. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-chart-legend.mjs +2 -2
  75. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-core.mjs +20 -20
  77. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-donut-chart.mjs +2 -2
  79. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-funnel-chart.mjs +6 -6
  81. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  83. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  85. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  86. package/fesm2022/ngwr-charts-line-chart.mjs +10 -10
  87. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  88. package/fesm2022/ngwr-charts-meter-group.mjs +2 -2
  89. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  90. package/fesm2022/ngwr-charts-radar-chart.mjs +11 -11
  91. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  92. package/fesm2022/ngwr-charts-scatter-chart.mjs +10 -10
  93. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  94. package/fesm2022/ngwr-charts-treemap-chart.mjs +4 -4
  95. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  96. package/fesm2022/ngwr-charts-waterfall-chart.mjs +7 -7
  97. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  98. package/fesm2022/ngwr-checkbox.mjs +2 -2
  99. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  100. package/fesm2022/ngwr-collapse.mjs +2 -2
  101. package/fesm2022/ngwr-collapse.mjs.map +1 -1
  102. package/fesm2022/ngwr-color-picker.mjs +52 -52
  103. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  104. package/fesm2022/ngwr-command-palette.mjs +4 -4
  105. package/fesm2022/ngwr-command-palette.mjs.map +1 -1
  106. package/fesm2022/ngwr-comment.mjs +2 -2
  107. package/fesm2022/ngwr-comment.mjs.map +1 -1
  108. package/fesm2022/ngwr-compare.mjs +6 -6
  109. package/fesm2022/ngwr-compare.mjs.map +1 -1
  110. package/fesm2022/ngwr-context-menu.mjs +4 -4
  111. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  112. package/fesm2022/ngwr-copy-value-testing.mjs +58 -0
  113. package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -0
  114. package/fesm2022/ngwr-copy-value.mjs +196 -0
  115. package/fesm2022/ngwr-copy-value.mjs.map +1 -0
  116. package/fesm2022/ngwr-counter.mjs +3 -3
  117. package/fesm2022/ngwr-counter.mjs.map +1 -1
  118. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  119. package/fesm2022/ngwr-date-picker.mjs +217 -40
  120. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  121. package/fesm2022/ngwr-date.mjs +27 -5
  122. package/fesm2022/ngwr-date.mjs.map +1 -1
  123. package/fesm2022/ngwr-dialog.mjs +32 -3
  124. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  125. package/fesm2022/ngwr-directives.mjs +116 -1
  126. package/fesm2022/ngwr-directives.mjs.map +1 -1
  127. package/fesm2022/ngwr-drawer.mjs +3 -3
  128. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  129. package/fesm2022/ngwr-dropdown.mjs +13 -12
  130. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  131. package/fesm2022/ngwr-editor.mjs +28 -28
  132. package/fesm2022/ngwr-editor.mjs.map +1 -1
  133. package/fesm2022/ngwr-event-calendar.mjs +5 -5
  134. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  135. package/fesm2022/ngwr-file-upload.mjs +8 -8
  136. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  137. package/fesm2022/ngwr-graph.mjs +3 -3
  138. package/fesm2022/ngwr-graph.mjs.map +1 -1
  139. package/fesm2022/ngwr-hotkey.mjs +22 -22
  140. package/fesm2022/ngwr-hotkey.mjs.map +1 -1
  141. package/fesm2022/ngwr-i18n-ar.mjs +5 -0
  142. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  143. package/fesm2022/ngwr-i18n-cs.mjs +5 -0
  144. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  145. package/fesm2022/ngwr-i18n-de.mjs +5 -0
  146. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  147. package/fesm2022/ngwr-i18n-en.mjs +5 -0
  148. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  149. package/fesm2022/ngwr-i18n-es.mjs +5 -0
  150. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  151. package/fesm2022/ngwr-i18n-fr.mjs +5 -0
  152. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  153. package/fesm2022/ngwr-i18n-he.mjs +5 -0
  154. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  155. package/fesm2022/ngwr-i18n-hi.mjs +5 -0
  156. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  157. package/fesm2022/ngwr-i18n-id.mjs +5 -0
  158. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  159. package/fesm2022/ngwr-i18n-it.mjs +5 -0
  160. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  161. package/fesm2022/ngwr-i18n-ja.mjs +5 -0
  162. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  163. package/fesm2022/ngwr-i18n-ko.mjs +5 -0
  164. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  165. package/fesm2022/ngwr-i18n-nl.mjs +5 -0
  166. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  167. package/fesm2022/ngwr-i18n-pl.mjs +5 -0
  168. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  169. package/fesm2022/ngwr-i18n-pt.mjs +5 -0
  170. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  171. package/fesm2022/ngwr-i18n-ru.mjs +5 -0
  172. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  173. package/fesm2022/ngwr-i18n-sv.mjs +5 -0
  174. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  175. package/fesm2022/ngwr-i18n-tr.mjs +5 -0
  176. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  177. package/fesm2022/ngwr-i18n-uk.mjs +5 -0
  178. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  179. package/fesm2022/ngwr-i18n-vi.mjs +5 -0
  180. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  181. package/fesm2022/ngwr-i18n-zh-tw.mjs +5 -0
  182. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  183. package/fesm2022/ngwr-i18n-zh.mjs +5 -0
  184. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  185. package/fesm2022/ngwr-i18n.mjs +2 -2
  186. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  187. package/fesm2022/ngwr-icon.mjs +5 -5
  188. package/fesm2022/ngwr-icon.mjs.map +1 -1
  189. package/fesm2022/ngwr-image-cropper.mjs +11 -11
  190. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  191. package/fesm2022/ngwr-input-number.mjs +4 -4
  192. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  193. package/fesm2022/ngwr-input-otp.mjs +2 -2
  194. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  195. package/fesm2022/ngwr-input.mjs +15 -15
  196. package/fesm2022/ngwr-input.mjs.map +1 -1
  197. package/fesm2022/ngwr-keyboard.mjs +28 -28
  198. package/fesm2022/ngwr-keyboard.mjs.map +1 -1
  199. package/fesm2022/ngwr-knob.mjs +4 -4
  200. package/fesm2022/ngwr-knob.mjs.map +1 -1
  201. package/fesm2022/ngwr-lightbox.mjs +2 -2
  202. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  203. package/fesm2022/ngwr-load-state.mjs +2 -2
  204. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  205. package/fesm2022/ngwr-mention.mjs +6 -6
  206. package/fesm2022/ngwr-mention.mjs.map +1 -1
  207. package/fesm2022/ngwr-meta.mjs +19 -3
  208. package/fesm2022/ngwr-meta.mjs.map +1 -1
  209. package/fesm2022/ngwr-overlay.mjs +3 -3
  210. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  211. package/fesm2022/ngwr-pagination.mjs +7 -5
  212. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  213. package/fesm2022/ngwr-pipes.mjs +3 -5
  214. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  215. package/fesm2022/ngwr-platform.mjs +4 -1
  216. package/fesm2022/ngwr-platform.mjs.map +1 -1
  217. package/fesm2022/ngwr-popconfirm.mjs +6 -5
  218. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  219. package/fesm2022/ngwr-popover.mjs +31 -30
  220. package/fesm2022/ngwr-popover.mjs.map +1 -1
  221. package/fesm2022/ngwr-pull-to-refresh.mjs +2 -2
  222. package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
  223. package/fesm2022/ngwr-qr.mjs +6 -6
  224. package/fesm2022/ngwr-qr.mjs.map +1 -1
  225. package/fesm2022/ngwr-radio.mjs +3 -3
  226. package/fesm2022/ngwr-radio.mjs.map +1 -1
  227. package/fesm2022/ngwr-rating.mjs +10 -10
  228. package/fesm2022/ngwr-rating.mjs.map +1 -1
  229. package/fesm2022/ngwr-schema-form.mjs +15 -5
  230. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  231. package/fesm2022/ngwr-select.mjs +57 -34
  232. package/fesm2022/ngwr-select.mjs.map +1 -1
  233. package/fesm2022/ngwr-sidebar.mjs +3 -3
  234. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  235. package/fesm2022/ngwr-skeleton.mjs +2 -2
  236. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  237. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  238. package/fesm2022/ngwr-slider.mjs +13 -13
  239. package/fesm2022/ngwr-slider.mjs.map +1 -1
  240. package/fesm2022/ngwr-sortable-list.mjs +3 -3
  241. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  242. package/fesm2022/ngwr-splitter.mjs +5 -5
  243. package/fesm2022/ngwr-splitter.mjs.map +1 -1
  244. package/fesm2022/ngwr-statistic.mjs +5 -3
  245. package/fesm2022/ngwr-statistic.mjs.map +1 -1
  246. package/fesm2022/ngwr-storage.mjs +6 -4
  247. package/fesm2022/ngwr-storage.mjs.map +1 -1
  248. package/fesm2022/ngwr-switch.mjs +2 -2
  249. package/fesm2022/ngwr-switch.mjs.map +1 -1
  250. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  251. package/fesm2022/ngwr-table.mjs +231 -27
  252. package/fesm2022/ngwr-table.mjs.map +1 -1
  253. package/fesm2022/ngwr-tabs.mjs +2 -2
  254. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  255. package/fesm2022/ngwr-toast-testing.mjs +8 -1
  256. package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
  257. package/fesm2022/ngwr-toast.mjs +63 -20
  258. package/fesm2022/ngwr-toast.mjs.map +1 -1
  259. package/fesm2022/ngwr-tour.mjs +7 -7
  260. package/fesm2022/ngwr-tour.mjs.map +1 -1
  261. package/fesm2022/ngwr-transfer.mjs +20 -9
  262. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  263. package/fesm2022/ngwr-tree.mjs +64 -24
  264. package/fesm2022/ngwr-tree.mjs.map +1 -1
  265. package/fesm2022/ngwr-utils.mjs +98 -55
  266. package/fesm2022/ngwr-utils.mjs.map +1 -1
  267. package/fesm2022/ngwr-validators.mjs +2 -2
  268. package/fesm2022/ngwr-validators.mjs.map +1 -1
  269. package/fesm2022/ngwr-version.mjs +1 -1
  270. package/fesm2022/ngwr-version.mjs.map +1 -1
  271. package/fesm2022/ngwr-window.mjs +26 -26
  272. package/fesm2022/ngwr-window.mjs.map +1 -1
  273. package/fesm2022/ngwr.mjs.map +1 -1
  274. package/i18n/ar.json +5 -0
  275. package/i18n/cs.json +5 -0
  276. package/i18n/de.json +5 -0
  277. package/i18n/en.json +5 -0
  278. package/i18n/es.json +5 -0
  279. package/i18n/fr.json +5 -0
  280. package/i18n/he.json +5 -0
  281. package/i18n/hi.json +5 -0
  282. package/i18n/id.json +5 -0
  283. package/i18n/it.json +5 -0
  284. package/i18n/ja.json +5 -0
  285. package/i18n/ko.json +5 -0
  286. package/i18n/nl.json +5 -0
  287. package/i18n/pl.json +5 -0
  288. package/i18n/pt.json +5 -0
  289. package/i18n/ru.json +5 -0
  290. package/i18n/sv.json +5 -0
  291. package/i18n/tr.json +5 -0
  292. package/i18n/uk.json +5 -0
  293. package/i18n/vi.json +5 -0
  294. package/i18n/zh-TW.json +5 -0
  295. package/i18n/zh.json +5 -0
  296. package/input-number/styles/_index.scss +6 -0
  297. package/llms-full.txt +31 -19
  298. package/llms.txt +37 -19
  299. package/mcp/providers.js +1 -1
  300. package/package.json +15 -10
  301. package/schematics/icon-set/index.js +3 -3
  302. package/schematics/migrations/v16/index.js +742 -0
  303. package/schematics/migrations.json +5 -0
  304. package/schematics/ng-add/index.js +4 -4
  305. package/schematics/provider/index.js +4 -4
  306. package/schematics/use/symbol-map.json +2 -0
  307. package/select/styles/_index.scss +1 -1
  308. package/skills/ngwr/SKILL.md +6 -4
  309. package/skills/ngwr/references/catalog.md +4 -2
  310. package/skills/ngwr/references/setup.md +10 -9
  311. package/table/styles/_index.scss +85 -29
  312. package/toast/styles/_index.scss +30 -0
  313. package/tree/styles/_index.scss +17 -0
  314. package/types/index-CXbgza47.d.ts +13 -0
  315. package/types/ngwr-animations-aurora.d.ts +1 -1
  316. package/types/ngwr-animations-blur-reveal.d.ts +2 -2
  317. package/types/ngwr-animations-dot-grid.d.ts +1 -2
  318. package/types/ngwr-animations-flow-lines.d.ts +1 -1
  319. package/types/ngwr-animations-fluid-cursor.d.ts +1 -1
  320. package/types/ngwr-animations-reveal.d.ts +4 -8
  321. package/types/ngwr-animations-ripple-grid.d.ts +1 -1
  322. package/types/ngwr-animations-spotlight.d.ts +1 -1
  323. package/types/ngwr-animations-thread-lines.d.ts +1 -1
  324. package/types/ngwr-animations-tilt.d.ts +1 -1
  325. package/types/ngwr-avatar.d.ts +2 -2
  326. package/types/ngwr-badge.d.ts +1 -1
  327. package/types/ngwr-cascader.d.ts +12 -1
  328. package/types/ngwr-charts-boxplot-chart.d.ts +1 -1
  329. package/types/ngwr-charts-bullet-chart.d.ts +2 -2
  330. package/types/ngwr-charts-candlestick-chart.d.ts +1 -1
  331. package/types/ngwr-charts-core.d.ts +12 -12
  332. package/types/ngwr-charts-line-chart.d.ts +2 -2
  333. package/types/ngwr-charts-radar-chart.d.ts +1 -1
  334. package/types/ngwr-charts-scatter-chart.d.ts +2 -2
  335. package/types/ngwr-charts-waterfall-chart.d.ts +1 -1
  336. package/types/ngwr-color-picker.d.ts +12 -12
  337. package/types/ngwr-copy-value-testing.d.ts +87 -0
  338. package/types/ngwr-copy-value.d.ts +95 -0
  339. package/types/ngwr-date-picker-testing.d.ts +3 -3
  340. package/types/ngwr-date-picker.d.ts +97 -1
  341. package/types/ngwr-date.d.ts +44 -3
  342. package/types/ngwr-dialog.d.ts +50 -3
  343. package/types/ngwr-directives.d.ts +40 -0
  344. package/types/ngwr-drawer.d.ts +1 -1
  345. package/types/ngwr-dropdown.d.ts +3 -2
  346. package/types/ngwr-hotkey.d.ts +5 -5
  347. package/types/ngwr-i18n.d.ts +3 -3
  348. package/types/ngwr-icon.d.ts +26 -26
  349. package/types/ngwr-input-number.d.ts +2 -2
  350. package/types/ngwr-input.d.ts +8 -8
  351. package/types/ngwr-load-state.d.ts +6 -6
  352. package/types/ngwr-meta.d.ts +18 -0
  353. package/types/ngwr-pipes.d.ts +6 -4
  354. package/types/ngwr-platform.d.ts +2 -1
  355. package/types/ngwr-popconfirm.d.ts +3 -2
  356. package/types/ngwr-popover.d.ts +4 -3
  357. package/types/ngwr-select.d.ts +33 -18
  358. package/types/ngwr-slider-testing.d.ts +2 -2
  359. package/types/ngwr-slider.d.ts +3 -3
  360. package/types/ngwr-statistic.d.ts +5 -1
  361. package/types/ngwr-storage.d.ts +1 -1
  362. package/types/ngwr-table-testing.d.ts +2 -1
  363. package/types/ngwr-table.d.ts +136 -11
  364. package/types/ngwr-tabs.d.ts +10 -2
  365. package/types/ngwr-toast-testing.d.ts +6 -2
  366. package/types/ngwr-toast.d.ts +33 -5
  367. package/types/ngwr-transfer.d.ts +5 -0
  368. package/types/ngwr-tree.d.ts +22 -2
  369. package/types/ngwr-utils.d.ts +157 -82
  370. package/types/ngwr-validators.d.ts +4 -2
  371. package/types/ngwr-version.d.ts +1 -1
  372. package/types/ngwr.d.ts +1 -0
  373. package/types/pointer-tracker-D7fXxLQL.d.ts +24 -0
  374. package/fesm2022/ngwr-animations-core.mjs.map +0 -1
  375. package/types/ngwr-animations-core.d.ts +0 -294
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { TemplateRef } from "@angular/core";
3
- import { SafeAny, WrClassInput } from "ngwr/utils";
3
+ import { WrClassInput, WrSafeAny } from "ngwr/utils";
4
4
  import { WrPaginationSize } from "ngwr/pagination";
5
5
  import { CdkDragDrop } from "@angular/cdk/drag-drop";
6
6
  /**
@@ -93,6 +93,18 @@ interface WrTableSortState {
93
93
  readonly key: string;
94
94
  readonly direction: WrTableSortDirection;
95
95
  }
96
+ /**
97
+ * @license
98
+ *
99
+ * Use of this source code is governed by an MIT-style license that can be
100
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
101
+ */
102
+ /**
103
+ * Reads the value a column sorts by; `key` is the column key. Pass one to
104
+ * `wrSortRows` for a key that is not a field of the row: a computed column or
105
+ * a nested value.
106
+ */
107
+ type WrTableSortAccessor<T> = (item: T, key: string) => string | number;
96
108
  /**
97
109
  * @license
98
110
  *
@@ -417,6 +429,23 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
417
429
  * select-all header; `'single'` keeps one row selected. @default null (off)
418
430
  */
419
431
  readonly rowSelection: import("@angular/core").InputSignal<"single" | "multiple" | null>;
432
+ /**
433
+ * What the header select-all covers. `'page'` is the rows on screen: the
434
+ * current page, less a collapsed group's rows and a closed parent's children.
435
+ * `'all'` is the same rule over every page of `items`, so the box reads
436
+ * checked only when all of them are selected, mixed when some are, and one
437
+ * click selects or clears them all. Either way a selected key that is not in
438
+ * the scope stays selected.
439
+ *
440
+ * The table filters nothing itself: `items` is already what the filters left,
441
+ * so `'all'` never reaches a row a filter removed. Group band checkboxes keep
442
+ * their page scope, since grouping runs after pagination.
443
+ *
444
+ * In server mode (`total` set) the table holds one page and cannot name the
445
+ * rows of the others, so `'all'` behaves as `'page'` there.
446
+ * @default 'page'
447
+ */
448
+ readonly selectAllScope: import("@angular/core").InputSignal<"page" | "all">;
420
449
  /**
421
450
  * Extra CSS classes per body row, from the row and its drawn index.
422
451
  *
@@ -682,10 +711,25 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
682
711
  */
683
712
  readonly rowHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
684
713
  /**
685
- * Height of the scroll viewport when `virtualScroll` is on — a number (px) or
686
- * any CSS length (`'70vh'`). Applied as `max-height` on `.wr-table__scroll`
687
- * (a short table shrinks to fit; a long one caps and scrolls). A numeric px
688
- * value lets the server prerender the exact first window. @default 480
714
+ * Gives the table its own vertical scroll area, with the header row stuck to
715
+ * its top and the summary footer to its bottom, in every mode: plain, paged,
716
+ * grouped, tree, with pinned columns or selection. The pager stays below the
717
+ * scroll area. `viewportHeight` sizes it. A virtualized table already
718
+ * scrolls this way, so the input adds nothing there.
719
+ * @default false
720
+ */
721
+ readonly stickyHeader: import("@angular/core").InputSignalWithTransform<boolean, any>;
722
+ /**
723
+ * Height of the scroll area when `virtualScroll` or `stickyHeader` is on — a
724
+ * number (px), any CSS length (`'70vh'`) or `'fill'`. A length is applied as
725
+ * `max-height` on `.wr-table__scroll` through `--wr-table-scroll-height` (a
726
+ * short table shrinks to fit; a long one caps and scrolls). `'fill'` takes
727
+ * the height the parent has left instead: the parent must be a flex column
728
+ * with a definite height (every flex ancestor up the chain needs
729
+ * `min-height: 0`), or a block with a definite height. The table then never
730
+ * shrinks below `--wr-table-scroll-min-height`. A numeric px value lets the
731
+ * server prerender the exact first window of a virtualized table.
732
+ * @default 480
689
733
  */
690
734
  readonly viewportHeight: import("@angular/core").InputSignal<string | number>;
691
735
  /** Extra rows kept rendered above and below the viewport as scroll headroom. @default 6 */
@@ -748,6 +792,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
748
792
  private readonly projectedTemplates;
749
793
  private readonly hostEl;
750
794
  constructor();
795
+ private setOverflow;
751
796
  private measurePins;
752
797
  /**
753
798
  * Sticky `inset-inline-start` offset (px) for a `pin: 'left'` column, else `null`.
@@ -761,6 +806,16 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
761
806
  protected leftPin(key: string): number | null;
762
807
  /** Sticky `inset-inline-end` offset (px) for a `pin: 'right'` column, else `null`. See {@link leftPin}. */
763
808
  protected rightPin(key: string): number | null;
809
+ private readonly hasPins;
810
+ /**
811
+ * Whether columns are hidden past the start and the end of the scroll area,
812
+ * the host's `wr-table--overflow-start` / `--overflow-end`. Only a table with
813
+ * a pinned column measures it.
814
+ */
815
+ protected readonly overflow: import("@angular/core").WritableSignal<{
816
+ start: boolean;
817
+ end: boolean;
818
+ }>;
764
819
  /** Whether `key` is the inner-edge pinned column on `side` (carries the shadow). */
765
820
  protected isPinEdge(key: string, side: 'left' | 'right'): boolean;
766
821
  /**
@@ -816,6 +871,8 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
816
871
  private static readonly FALLBACK_VIEWPORT_PX;
817
872
  /** The `.wr-table__scroll` div (always in the template; only read when virtual). */
818
873
  private readonly scrollEl;
874
+ private readonly headEl;
875
+ private readonly footEl;
819
876
  /** Live vertical scroll offset (px); 0 on the server / before first scroll. */
820
877
  private readonly scrollTop;
821
878
  /** Measured viewport clientHeight (px); 0 until the browser observer fires. */
@@ -830,8 +887,16 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
830
887
  protected readonly effRowH: import("@angular/core").Signal<number>;
831
888
  /** Deterministic viewport px for SSR + first paint (numeric height, else fallback). */
832
889
  private readonly fallbackViewportPx;
833
- /** `viewportHeight` as a CSS length for the inline max-height. */
834
- protected readonly resolvedViewportHeight: import("@angular/core").Signal<string>;
890
+ /** The table scrolls vertically inside `.wr-table__scroll`, under a sticky header. */
891
+ protected readonly scrollable: import("@angular/core").Signal<boolean>;
892
+ protected readonly fillsParent: import("@angular/core").Signal<boolean>;
893
+ /** `viewportHeight` as the value of `--wr-table-scroll-height`; `null` leaves the hook to the stylesheet. */
894
+ protected readonly scrollHeight: import("@angular/core").Signal<string | null>;
895
+ /** Measured heights (px) of the sticky header and footer, which `scroll-padding` keeps clear; `null` until measured. */
896
+ protected readonly stickyEdges: import("@angular/core").WritableSignal<{
897
+ head: number | null;
898
+ foot: number | null;
899
+ }>;
835
900
  /** Rendered window [start,end) + spacer pads (px). Pure math, O(1) per scroll frame. */
836
901
  protected readonly virtualWindow: import("@angular/core").Signal<{
837
902
  start: number;
@@ -872,8 +937,13 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
872
937
  * swept in, which keeps the checkbox honest about what it just did.
873
938
  */
874
939
  protected readonly pageRowKeys: import("@angular/core").Signal<readonly unknown[]>;
940
+ /**
941
+ * The header select-all's keys: {@link pageRowKeys}, or under
942
+ * `selectAllScope="all"` the keys every page would put on screen.
943
+ */
944
+ protected readonly selectAllKeys: import("@angular/core").Signal<ReadonlySet<unknown>>;
875
945
  protected isRowSelected(row: Record<string, unknown>): boolean;
876
- /** Every current-page row selected (drives the header checkbox). */
946
+ /** Every row in the select-all scope selected (drives the header checkbox). */
877
947
  protected readonly allSelected: import("@angular/core").Signal<boolean>;
878
948
  /** Some but not all selected (drives the header indeterminate). */
879
949
  protected readonly someSelected: import("@angular/core").Signal<boolean>;
@@ -962,6 +1032,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
962
1032
  /** Total rendered columns (data + leading), for detail-row / empty colspans. */
963
1033
  protected readonly totalCols: import("@angular/core").Signal<number>;
964
1034
  protected expandTemplate(): TemplateRef<WrTableExpandContext> | undefined;
1035
+ private readonly expandedSet;
965
1036
  protected isExpanded(row: Record<string, unknown>): boolean;
966
1037
  protected toggleExpand(row: Record<string, unknown>): void;
967
1038
  protected expandContext(row: Record<string, unknown>): WrTableExpandContext;
@@ -1096,6 +1167,11 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1096
1167
  "required": false;
1097
1168
  "isSignal": true;
1098
1169
  };
1170
+ "selectAllScope": {
1171
+ "alias": "selectAllScope";
1172
+ "required": false;
1173
+ "isSignal": true;
1174
+ };
1099
1175
  "rowClass": {
1100
1176
  "alias": "rowClass";
1101
1177
  "required": false;
@@ -1231,6 +1307,11 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1231
1307
  "required": false;
1232
1308
  "isSignal": true;
1233
1309
  };
1310
+ "stickyHeader": {
1311
+ "alias": "stickyHeader";
1312
+ "required": false;
1313
+ "isSignal": true;
1314
+ };
1234
1315
  "viewportHeight": {
1235
1316
  "alias": "viewportHeight";
1236
1317
  "required": false;
@@ -1270,7 +1351,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
1270
1351
  * </wr-table>
1271
1352
  * ```
1272
1353
  */
1273
- export declare class WrTableCell<T extends WrTableRow = SafeAny, K extends string = string> {
1354
+ export declare class WrTableCell<T extends WrTableRow = WrSafeAny, K extends string = string> {
1274
1355
  /** Column key the template applies to. */
1275
1356
  readonly columnKey: import("@angular/core").InputSignal<K>;
1276
1357
  /**
@@ -1282,7 +1363,7 @@ export declare class WrTableCell<T extends WrTableRow = SafeAny, K extends strin
1282
1363
  /**
1283
1364
  * Types the template's `let-` variables under `strictTemplates`.
1284
1365
  *
1285
- * `T` defaults to `SafeAny` for the reason `WrOptionLeading` gives: a
1366
+ * `T` defaults to `WrSafeAny` for the reason `WrOptionLeading` gives: a
1286
1367
  * template without `[wrTableCellOf]` has nothing to infer the row from, and
1287
1368
  * narrowed to `unknown` every `row.email` would stop compiling. With the
1288
1369
  * input bound, `K` is the key the attribute names, so `let-value` is that
@@ -1482,4 +1563,48 @@ export declare class WrTableFilter {
1482
1563
  "selectionChange": "selectionChange";
1483
1564
  }, never, never, true, never>;
1484
1565
  }
1485
- export type { WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableRow, WrTableRowClass, WrTableSortDirection, WrTableSortState, WrTableSummary, WrTableSummaryContext };
1566
+ /**
1567
+ * Reads the column `key` off a row as the value `wrSortRows` compares.
1568
+ *
1569
+ * - `null`, `undefined`, `''` and an invalid `Date` read as `''`.
1570
+ * - A number stays a number, and a bigint reads as one.
1571
+ * - A string that is a finite number reads as that number, so `'10'` sorts
1572
+ * after `'9'`. A blank string stays a string: it is not `0`.
1573
+ * - A boolean reads as `0` or `1`, so `false` sorts before `true`.
1574
+ * - A `Date` reads as its timestamp.
1575
+ * - Anything else reads as `String(value)`.
1576
+ *
1577
+ * @example
1578
+ * ```ts
1579
+ * wrReadField({ qty: '10' }, 'qty'); // 10
1580
+ * wrReadField({ qty: null }, 'qty'); // ''
1581
+ * ```
1582
+ *
1583
+ * @param item The row.
1584
+ * @param key The column key, a property of the row.
1585
+ */
1586
+ export declare function wrReadField<T>(item: T, key: string): string | number;
1587
+ /**
1588
+ * Sorts rows by the sort state `<wr-table>` holds. The table draws the arrows
1589
+ * and never reorders `items`, so the host sorts them.
1590
+ *
1591
+ * Entries apply in array order: the first decides, later ones break ties. An
1592
+ * entry with a `null` direction is skipped. Within a column, empty values come
1593
+ * first, then numbers, then text in code-unit order; `desc` reverses all of
1594
+ * it. Rows equal on every key keep their input order.
1595
+ *
1596
+ * Returns `rows` itself when there is nothing to sort, and a sorted copy
1597
+ * otherwise: the input is never mutated.
1598
+ *
1599
+ * @example
1600
+ * ```ts
1601
+ * protected readonly sort = signal<readonly WrTableSortState[]>([]);
1602
+ * protected readonly rows = computed(() => wrSortRows(this.source(), this.sort()));
1603
+ * ```
1604
+ *
1605
+ * @param rows The rows to sort.
1606
+ * @param sort The table's `sort` state.
1607
+ * @param accessor Reads the value of a key; defaults to `wrReadField`.
1608
+ */
1609
+ export declare function wrSortRows<T>(rows: readonly T[], sort: readonly WrTableSortState[], accessor?: WrTableSortAccessor<T>): readonly T[];
1610
+ export type { WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableRow, WrTableRowClass, WrTableSortAccessor, WrTableSortDirection, WrTableSortState, WrTableSummary, WrTableSummaryContext };
@@ -134,6 +134,14 @@ interface WrTabsRoutingAdapter {
134
134
  */
135
135
  navigate(commands: string | readonly string[], event: MouseEvent): void;
136
136
  }
137
+ /**
138
+ * @license
139
+ *
140
+ * Use of this source code is governed by an MIT-style license that can be
141
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
142
+ */
143
+ /** Size variant of `<wr-tabs>`. */
144
+ type WrTabsSize = 'sm' | 'md' | 'lg';
137
145
  /**
138
146
  * Tabbed container. Two modes depending on the child `<wr-tab>`
139
147
  * definitions:
@@ -169,7 +177,7 @@ export declare class WrTabs implements WrTabsContext {
169
177
  /** Two-way bindable active tab key (content mode). */
170
178
  readonly active: import("@angular/core").ModelSignal<string | null>;
171
179
  /** Visual size variant. */
172
- readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg">;
180
+ readonly size: import("@angular/core").InputSignal<WrTabsSize>;
173
181
  protected readonly tabs: import("@angular/core").Signal<readonly WrTab[]>;
174
182
  private readonly dir;
175
183
  /**
@@ -267,4 +275,4 @@ export declare const WR_TABS: InjectionToken<WrTabsContext>;
267
275
  * which is what keeps `@angular/router` out of a content-only strip.
268
276
  */
269
277
  export declare const WR_TABS_ROUTING: InjectionToken<WrTabsRoutingAdapter>;
270
- export type { WrTabsContext, WrTabsRoutingAdapter };
278
+ export type { WrTabsContext, WrTabsRoutingAdapter, WrTabsSize };
@@ -50,13 +50,17 @@ export declare class WrToastHarness extends ComponentHarness {
50
50
  /** `'assertive'` for danger and warning, `'polite'` otherwise. */
51
51
  getLiveLevel(): Promise<string | null>;
52
52
  /** Whether the toast offers a dismiss button. */
53
- isDismissible(): Promise<boolean>;
53
+ isClosable(): Promise<boolean>;
54
54
  /** Whether the toast offers a copy button. */
55
55
  hasCopyAction(): Promise<boolean>;
56
- /** Click the dismiss button. Throws on a toast shown `dismissible: false`. */
56
+ /** Click the dismiss button. Throws on a toast shown `closable: false`. */
57
57
  dismiss(): Promise<void>;
58
58
  /** Click the copy button. Throws unless the toast was shown `showCopy: true`. */
59
59
  copy(): Promise<void>;
60
+ /** The action button's text, or `null` for a toast shown without an `action`. */
61
+ getActionLabel(): Promise<string | null>;
62
+ /** Click the action button. Throws on a toast shown without an `action`. */
63
+ runAction(): Promise<void>;
60
64
  /** Whether the auto-dismiss progress bar is showing. */
61
65
  hasProgressBar(): Promise<boolean>;
62
66
  /** Hover the toast — which is what pauses its auto-dismiss timer. */
@@ -15,6 +15,22 @@ type WrToastType = 'info' | 'success' | 'warning' | 'danger';
15
15
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
16
16
  */
17
17
  type WrToastPosition = 'top-start' | 'top' | 'top-end' | 'bottom-start' | 'bottom' | 'bottom-end';
18
+ /**
19
+ * @license
20
+ *
21
+ * Use of this source code is governed by an MIT-style license that can be
22
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
23
+ */
24
+ /**
25
+ * A button on a toast: "Undo" on "Item deleted", "Retry" on "Upload failed".
26
+ * Pressing it closes the toast and calls `run`, once.
27
+ */
28
+ interface WrToastAction {
29
+ /** The button's text. The app supplies it: the library ships no copy for it. */
30
+ readonly label: string;
31
+ /** Called once when the button is pressed, after the toast has closed. */
32
+ readonly run: () => void;
33
+ }
18
34
  /**
19
35
  * Per-toast options passed to {@link WrToast.show}. Any field
20
36
  * omitted falls back to the global {@link WrToastConfig}.
@@ -28,8 +44,14 @@ interface WrToastOptions {
28
44
  readonly message: string;
29
45
  /** Auto-dismiss after N ms. `0` disables auto-dismiss. Default from global config. */
30
46
  readonly duration?: number;
47
+ /**
48
+ * A text button beside the message, such as "Undo". Pressing it closes the
49
+ * toast and calls `run`. The countdown still runs, and holds while the pointer
50
+ * or focus is on the toast: pass a longer `duration` when the action matters.
51
+ */
52
+ readonly action?: WrToastAction;
31
53
  /** Show a close (×) button. @default true */
32
- readonly dismissible?: boolean;
54
+ readonly closable?: boolean;
33
55
  /**
34
56
  * Corner this toast opens in. The whole stack shares one host, so this is
35
57
  * not per-toast: passing a different corner relocates the toasts already on
@@ -139,6 +161,7 @@ export declare class WrToastRef {
139
161
  * toast.show({ type: 'success', title: 'Saved', message: 'Profile updated.' });
140
162
  * toast.show({ type: 'danger', message: 'Network error', duration: 0 });
141
163
  * toast.show({ message: 'Permalink copied', position: 'bottom', showCopy: true });
164
+ * toast.show({ message: 'Item deleted', action: { label: 'Undo', run: () => restore() } });
142
165
  * ```
143
166
  *
144
167
  * @see https://ngwr.dev/reference/components/toast
@@ -167,6 +190,11 @@ export declare class WrToast {
167
190
  show(options: WrToastOptions): WrToastRef;
168
191
  /** Dismiss a single toast by id. */
169
192
  dismiss(id: number): void;
193
+ /**
194
+ * Closes first: a second press finds no entry, so `run` cannot fire twice,
195
+ * and a `run` that throws still leaves the toast closed.
196
+ */
197
+ private runAction;
170
198
  /** Dismiss every visible toast. Wired to the host's "Close all" button. */
171
199
  dismissAll(): void;
172
200
  /** Change the corner the stack opens in. Affects future toasts. */
@@ -230,7 +258,7 @@ export declare class WrToast {
230
258
  }
231
259
  /**
232
260
  * Registers a global {@link WrToastConfig} for {@link WrToast}, as a feature of
233
- * `provideWr()`. Any field you omit falls back to {@link DEFAULT_TOAST_CONFIG};
261
+ * `provideWr()`. Any field you omit falls back to {@link DEFAULT_WR_TOAST_CONFIG};
234
262
  * the `labels` sub-object is merged separately so you can override a single
235
263
  * string at a time (useful for i18n).
236
264
  *
@@ -268,11 +296,11 @@ export declare function withToast(config: Partial<Omit<WrToastConfig, 'labels'>>
268
296
  * Merged shallowly with the consumer's overrides (the `labels` sub-object is
269
297
  * merged separately so callers can override one string at a time).
270
298
  */
271
- export declare const DEFAULT_TOAST_CONFIG: WrToastConfig;
299
+ export declare const DEFAULT_WR_TOAST_CONFIG: WrToastConfig;
272
300
  /**
273
301
  * Holds the global {@link WrToastConfig} used by {@link WrToast}.
274
- * The default factory returns {@link DEFAULT_TOAST_CONFIG} so the service
302
+ * The default factory returns {@link DEFAULT_WR_TOAST_CONFIG} so the service
275
303
  * works out of the box; override via `provideWr(withToast(...))`.
276
304
  */
277
305
  export declare const WR_TOAST_CONFIG: InjectionToken<WrToastConfig>;
278
- export type { WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType };
306
+ export type { WrToastAction, WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType };
@@ -150,7 +150,12 @@ export declare class WrTransfer implements FormValueControl<readonly unknown[]>
150
150
  private readonly selected;
151
151
  private readonly valueSet;
152
152
  protected readonly source: import("@angular/core").Signal<PaneState>;
153
+ /** The first item per value, which is the one a scan of `items` would find. */
154
+ private readonly itemByValue;
155
+ private readonly targetRows;
153
156
  protected readonly target: import("@angular/core").Signal<PaneState>;
157
+ /** Values no item matches. Equal by content, so its reader runs once per distinct set. */
158
+ private readonly orphans;
154
159
  /**
155
160
  * Say something when `value` holds a value no `items` entry matches.
156
161
  *
@@ -15,6 +15,8 @@ interface WrTreeNode<TId = string> {
15
15
  readonly children?: readonly WrTreeNode<TId>[];
16
16
  readonly disabled?: boolean;
17
17
  }
18
+ /** Trigger size for an overlay {@link WrTree} — shares the `--wr-control-*` contract. */
19
+ type WrTreeSize = 'sm' | 'md' | 'lg';
18
20
  /** Selection mode for {@link WrTree}. */
19
21
  type WrTreeSelectionMode = 'none' | 'single' | 'multi';
20
22
  interface FlatNode<TId> {
@@ -108,6 +110,8 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
108
110
  protected readonly fieldAria: import("ngwr/form").WrFormFieldAria;
109
111
  /** Render shape. @default 'inline' */
110
112
  readonly openOn: import("@angular/core").InputSignal<"inline" | "overlay">;
113
+ /** Trigger size — shares the `--wr-control-*` contract. The panel keeps its size. @default 'md' */
114
+ readonly size: import("@angular/core").InputSignal<WrTreeSize>;
111
115
  /** Placeholder shown on the trigger when no node is selected. */
112
116
  readonly placeholder: import("@angular/core").InputSignal<string>;
113
117
  /**
@@ -186,6 +190,10 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
186
190
  readonly value: import("@angular/core").ModelSignal<unknown>;
187
191
  /** Emitted on blur so a bound field can mark itself touched. */
188
192
  readonly touch: import("@angular/core").OutputEmitterRef<void>;
193
+ /** Fires after the overlay panel opens. */
194
+ readonly opened: import("@angular/core").OutputEmitterRef<void>;
195
+ /** Fires after the overlay panel closes. */
196
+ readonly closed: import("@angular/core").OutputEmitterRef<void>;
189
197
  private readonly host;
190
198
  private readonly overlay;
191
199
  private readonly outsideClick;
@@ -253,7 +261,7 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
253
261
  protected readonly hiddenChipCount: import("@angular/core").Signal<number>;
254
262
  protected readonly singleLabel: import("@angular/core").Signal<string | null>;
255
263
  /** Overlay open state. Only meaningful when `openOn='overlay'`. */
256
- protected readonly open: import("@angular/core").WritableSignal<boolean>;
264
+ protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
257
265
  /** Trigger / panel id for `aria-controls`. */
258
266
  protected readonly panelId: string;
259
267
  protected readonly classes: import("@angular/core").Signal<string>;
@@ -322,6 +330,10 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
322
330
  * mode that is the trigger, and the panel stays shut.
323
331
  */
324
332
  focus(options?: FocusOptions): void;
333
+ /** Open the overlay panel, as the trigger does. Refused inline, and while disabled or read-only. */
334
+ open(): void;
335
+ /** Close the overlay panel. */
336
+ close(): void;
325
337
  protected onTriggerClick(): void;
326
338
  /** Trigger blur — mark the bound field touched. */
327
339
  /**
@@ -374,6 +386,7 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
374
386
  private focusIndex;
375
387
  private collectExpandableIds;
376
388
  private openOverlay;
389
+ /** `notify: false` is the destroy path: an output cannot emit from a destroyed view. */
377
390
  private closeOverlay;
378
391
  static ɵfac: i0.ɵɵFactoryDeclaration<WrTree<any>, never>;
379
392
  static ɵcmp: i0.ɵɵComponentDeclaration<WrTree<any>, "wr-tree", never, {
@@ -412,6 +425,11 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
412
425
  "required": false;
413
426
  "isSignal": true;
414
427
  };
428
+ "size": {
429
+ "alias": "size";
430
+ "required": false;
431
+ "isSignal": true;
432
+ };
415
433
  "placeholder": {
416
434
  "alias": "placeholder";
417
435
  "required": false;
@@ -472,6 +490,8 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
472
490
  "expanded": "expandedChange";
473
491
  "value": "valueChange";
474
492
  "touch": "touch";
493
+ "opened": "opened";
494
+ "closed": "closed";
475
495
  }, never, never, true, never>;
476
496
  }
477
- export type { WrTreeNode, WrTreeSelectionMode };
497
+ export type { WrTreeNode, WrTreeSelectionMode, WrTreeSize };