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
@@ -21,7 +21,7 @@ import { Observable } from "rxjs";
21
21
  * CDK for an overlay pane rather than bound to an element, and a conditional
22
22
  * belongs in the `computed()` that produces the value.
23
23
  *
24
- * @see {@link toClassList} — normalises one into the token array both paths need.
24
+ * @see {@link wrToClassList} — normalises one into the token array both paths need.
25
25
  */
26
26
  type WrClassInput = string | readonly string[] | null | undefined;
27
27
  /**
@@ -38,20 +38,20 @@ type WrClassInput = string | readonly string[] | null | undefined;
38
38
  *
39
39
  * @example
40
40
  * ```ts
41
- * function findUser(id: string): Maybe<User> {
41
+ * function findUser(id: string): WrMaybe<User> {
42
42
  * return db.get(id) ?? null;
43
43
  * }
44
44
  *
45
- * const user: Maybe<User> = findUser('42');
45
+ * const user: WrMaybe<User> = findUser('42');
46
46
  *
47
- * if (isDefined(user)) {
47
+ * if (wrIsDefined(user)) {
48
48
  * // user is User
49
49
  * }
50
50
  * ```
51
51
  *
52
- * @see {@link isDefined} — type guard that narrows `Maybe<T>` to `T`.
52
+ * @see {@link wrIsDefined} — type guard that narrows `WrMaybe<T>` to `T`.
53
53
  */
54
- type Maybe<T> = T | null | undefined;
54
+ type WrMaybe<T> = T | null | undefined;
55
55
  /**
56
56
  * @license
57
57
  *
@@ -69,42 +69,42 @@ type Maybe<T> = T | null | undefined;
69
69
  *
70
70
  * @example
71
71
  * ```ts
72
- * function wrapThirdPartyCallback(fn: (...args: SafeAny[]) => SafeAny): void {
72
+ * function wrapThirdPartyCallback(fn: (...args: WrSafeAny[]) => WrSafeAny): void {
73
73
  * // ...
74
74
  * }
75
75
  * ```
76
76
  */
77
- type SafeAny = any;
77
+ type WrSafeAny = any;
78
78
  /**
79
79
  * Type guard that checks if a value is neither `null` nor `undefined`.
80
80
  *
81
81
  * @example
82
82
  * ```ts
83
- * const maybeValue: Maybe<number> = getValue();
83
+ * const maybeValue: WrMaybe<number> = getValue();
84
84
  *
85
- * if (isDefined(maybeValue)) {
85
+ * if (wrIsDefined(maybeValue)) {
86
86
  * // here maybeValue is number
87
87
  * console.log(maybeValue.toFixed(2));
88
88
  * }
89
89
  * ```
90
90
  *
91
- * @see {@link Maybe}
91
+ * @see {@link WrMaybe}
92
92
  */
93
- export declare function isDefined<T>(value: Maybe<T>): value is T;
93
+ export declare function wrIsDefined<T>(value: WrMaybe<T>): value is T;
94
94
  /**
95
95
  * Type guard that checks if a value is an array with at least one element.
96
96
  *
97
97
  * @example
98
98
  * ```ts
99
- * const items: Maybe<string[]> = getItems();
99
+ * const items: WrMaybe<string[]> = getItems();
100
100
  *
101
- * if (isNonEmptyArray(items)) {
101
+ * if (wrIsNonEmptyArray(items)) {
102
102
  * // items is string[]
103
103
  * console.log(items[0]);
104
104
  * }
105
105
  * ```
106
106
  */
107
- export declare function isNonEmptyArray<T>(value: Maybe<T[]>): value is [T, ...T[]];
107
+ export declare function wrIsNonEmptyArray<T>(value: WrMaybe<T[]>): value is [T, ...T[]];
108
108
  /**
109
109
  * Type guard that checks whether a value looks like an RxJS `Observable`.
110
110
  *
@@ -113,23 +113,23 @@ export declare function isNonEmptyArray<T>(value: Maybe<T[]>): value is [T, ...T
113
113
  *
114
114
  * @example
115
115
  * ```ts
116
- * if (isObservable(stream)) {
116
+ * if (wrIsObservable(stream)) {
117
117
  * stream.subscribe(value => console.log(value));
118
118
  * }
119
119
  * ```
120
120
  */
121
- export declare function isObservable<T = unknown>(value: unknown): value is Observable<T>;
121
+ export declare function wrIsObservable<T = unknown>(value: unknown): value is Observable<T>;
122
122
  /**
123
123
  * Clamps `value` into the inclusive `[min, max]` range.
124
124
  *
125
125
  * @example
126
126
  * ```ts
127
- * clamp(140, 0, 100); // 100
128
- * clamp(-3, 0, 100); // 0
129
- * clamp(42, 0, 100); // 42
127
+ * wrClamp(140, 0, 100); // 100
128
+ * wrClamp(-3, 0, 100); // 0
129
+ * wrClamp(42, 0, 100); // 42
130
130
  * ```
131
131
  */
132
- export declare function clamp(value: number, min: number, max: number): number;
132
+ export declare function wrClamp(value: number, min: number, max: number): number;
133
133
  /**
134
134
  * @license
135
135
  *
@@ -191,7 +191,7 @@ export declare function wrDecimalCompare(a: WrDecimalLike, b: WrDecimalLike): -1
191
191
  * Sets the scale to exactly `decimals` places: pads with zeros
192
192
  * (`wrDecimalRound('1.5', 2)` is `'1.50'`) or rounds half away from zero
193
193
  * (`wrDecimalRound('2.345', 2)` is `'2.35'`, `wrDecimalRound('-2.5', 0)` is
194
- * `'-3'`). Unlike `round` from the same entry point there is no float on the
194
+ * `'-3'`). Unlike `wrRound` from the same entry point there is no float on the
195
195
  * way, so `'1.005'` rounds to `'1.01'` because that is what the digits say.
196
196
  * `null` when the value is malformed or `decimals` is not a whole number of
197
197
  * places.
@@ -217,12 +217,12 @@ type WrDecimalLike = string | number | bigint | null | undefined;
217
217
  *
218
218
  * @example
219
219
  * ```ts
220
- * round(0.1 + 0.2, 2); // 0.3
221
- * round(1.005, 2); // 1.01
222
- * round(7.4); // 7
220
+ * wrRound(0.1 + 0.2, 2); // 0.3
221
+ * wrRound(1.005, 2); // 1.01
222
+ * wrRound(7.4); // 7
223
223
  * ```
224
224
  */
225
- export declare function round(value: number, decimals?: number): number;
225
+ export declare function wrRound(value: number, decimals?: number): number;
226
226
  /**
227
227
  * Input-transform factory: coerces any bound value to a number, falling
228
228
  * back to `fallback` for `null` / `undefined` / unparsable input. The
@@ -230,10 +230,10 @@ export declare function round(value: number, decimals?: number): number;
230
230
  *
231
231
  * @example
232
232
  * ```ts
233
- * readonly speed = input(4, { transform: numAttr(4) });
233
+ * readonly speed = input(4, { transform: wrNumAttr(4) });
234
234
  * ```
235
235
  */
236
- export declare const numAttr: (fallback: number) => (value: unknown) => number;
236
+ export declare const wrNumAttr: (fallback: number) => (value: unknown) => number;
237
237
  /**
238
238
  * Flattens class inputs into the de-duplicated token array `classList.add()`
239
239
  * and the CDK both require.
@@ -251,11 +251,11 @@ export declare const numAttr: (fallback: number) => (value: unknown) => number;
251
251
  *
252
252
  * @example
253
253
  * ```ts
254
- * toClassList('wr-dropdown-overlay', this.arrow() && 'wr-dropdown-overlay--arrow', this.panelClass());
254
+ * wrToClassList('wr-dropdown-overlay', this.arrow() && 'wr-dropdown-overlay--arrow', this.panelClass());
255
255
  * // ['wr-dropdown-overlay', 'wr-dropdown-overlay--arrow', 'p-4', 'rounded-xl']
256
256
  * ```
257
257
  */
258
- export declare function toClassList(...values: readonly (WrClassInput | false)[]): string[];
258
+ export declare function wrToClassList(...values: readonly (WrClassInput | false)[]): string[];
259
259
  /**
260
260
  * @license
261
261
  *
@@ -292,15 +292,15 @@ export declare function toClassList(...values: readonly (WrClassInput | false)[]
292
292
  *
293
293
  * @example
294
294
  * ```ts
295
- * isSafeCssValue('var(--wr-color-primary)'); // true
296
- * isSafeCssValue('color-mix(in srgb, red 50%, blue)'); // true
297
- * isSafeCssValue('red), url("https://x.test/beacon"), linear-gradient(red'); // false
295
+ * wrIsSafeCssValue('var(--wr-color-primary)'); // true
296
+ * wrIsSafeCssValue('color-mix(in srgb, red 50%, blue)'); // true
297
+ * wrIsSafeCssValue('red), url("https://x.test/beacon"), linear-gradient(red'); // false
298
298
  * ```
299
299
  *
300
300
  * @param value Raw value handed to the component.
301
301
  * @returns `true` when the value stays inside its slot.
302
302
  */
303
- export declare function isSafeCssValue(value: string): boolean;
303
+ export declare function wrIsSafeCssValue(value: string): boolean;
304
304
  /**
305
305
  * @license
306
306
  *
@@ -308,9 +308,9 @@ export declare function isSafeCssValue(value: string): boolean;
308
308
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
309
309
  */
310
310
  /**
311
- * Options for {@link resolveCssSize}.
311
+ * Options for {@link wrResolveCssSize}.
312
312
  */
313
- interface ResolveCssSizeOptions {
313
+ interface WrResolveCssSizeOptions {
314
314
  /**
315
315
  * Fallback value used when the raw input is `null` or `undefined`.
316
316
  *
@@ -326,9 +326,9 @@ interface ResolveCssSizeOptions {
326
326
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
327
327
  */
328
328
  /**
329
- * Result of resolving a CSS size value via {@link resolveCssSize}.
329
+ * Result of resolving a CSS size value via {@link wrResolveCssSize}.
330
330
  */
331
- interface ResolvedCssSize {
331
+ interface WrResolvedCssSize {
332
332
  /**
333
333
  * Value suitable for use in CSS styles (e.g. `"48px"`, `"3rem"`, `"80%"`).
334
334
  */
@@ -354,19 +354,19 @@ interface ResolvedCssSize {
354
354
  *
355
355
  * @example
356
356
  * ```ts
357
- * const size = resolveCssSize('3rem', { defaultValue: '6rem' });
357
+ * const size = wrResolveCssSize('3rem', { defaultValue: '6rem' });
358
358
  * // size.cssValue === '3rem'
359
- * // size.pxValue === 3 * getRootFontSize()
359
+ * // size.pxValue === 3 * wrGetRootFontSize()
360
360
  * ```
361
361
  *
362
362
  * @param raw - Value to resolve. Accepts numbers, pixel/rem/percent strings, or `null`/`undefined`.
363
363
  * @param options - Optional configuration.
364
364
  * @returns Resolved CSS value and its pixel equivalent when computable.
365
365
  *
366
- * @see {@link ResolvedCssSize}
367
- * @see {@link ResolveCssSizeOptions}
366
+ * @see {@link WrResolvedCssSize}
367
+ * @see {@link WrResolveCssSizeOptions}
368
368
  */
369
- export declare function resolveCssSize(raw: unknown, options?: ResolveCssSizeOptions): ResolvedCssSize;
369
+ export declare function wrResolveCssSize(raw: unknown, options?: WrResolveCssSizeOptions): WrResolvedCssSize;
370
370
  /**
371
371
  * @license
372
372
  *
@@ -474,14 +474,14 @@ export declare function wrDownloadBlob(blob: Blob, fileName: string): void;
474
474
  *
475
475
  * @example
476
476
  * ```ts
477
- * const rootFontSize = getRootFontSize(); // e.g. 16
478
- * const customFallback = getRootFontSize(14); // uses 14 if DOM is unavailable
477
+ * const rootFontSize = wrGetRootFontSize(); // e.g. 16
478
+ * const customFallback = wrGetRootFontSize(14); // uses 14 if DOM is unavailable
479
479
  * ```
480
480
  *
481
481
  * @param fallback - Value in pixels when DOM is unavailable. Defaults to `16`.
482
482
  * @returns Root font size in pixels.
483
483
  */
484
- export declare function getRootFontSize(fallback?: number): number;
484
+ export declare function wrGetRootFontSize(fallback?: number): number;
485
485
  /**
486
486
  * Return every focusable descendant of `root`, in DOM ORDER — not in tab order.
487
487
  * A positive `tabindex` is not reordered, because a trap that honoured it would
@@ -492,13 +492,13 @@ export declare function getRootFontSize(fallback?: number): number;
492
492
  * currently has focus: a trap must still be able to find where it is standing,
493
493
  * and an element can be focused and then hidden by the same interaction.
494
494
  */
495
- export declare function getFocusableElements(root: HTMLElement): readonly HTMLElement[];
495
+ export declare function wrGetFocusableElements(root: HTMLElement): readonly HTMLElement[];
496
496
  /**
497
497
  * Trap Tab navigation inside `root` for a keyboard event — call from a
498
498
  * `keydown` handler. Cycles focus from first ↔ last focusable element.
499
499
  * Returns `true` when focus was redirected (event was handled).
500
500
  */
501
- export declare function trapFocus(root: HTMLElement, event: KeyboardEvent): boolean;
501
+ export declare function wrTrapFocus(root: HTMLElement, event: KeyboardEvent): boolean;
502
502
  /**
503
503
  * Hand focus back to `el` after something closed, as a PROGRAMMATIC focus.
504
504
  *
@@ -520,7 +520,7 @@ export declare function wrRestoreFocus(el: HTMLElement, monitor?: FocusMonitor |
520
520
  * computes for it, which a canvas can paint with: `rgb(…)` / `rgba(…)` for a
521
521
  * legacy colour, `color(srgb r g b / a)` (channels 0–1) for a `color-mix()`
522
522
  * result. A colour authored in another space — `oklch()`, `lab()` — computes
523
- * to itself; a caller that needs numbers wants {@link resolveCssColorChannels},
523
+ * to itself; a caller that needs numbers wants {@link wrResolveCssColorChannels},
524
524
  * which reads all of these.
525
525
  *
526
526
  * A 2D context and a WebGL uniform cannot read CSS: a `var()` is refused
@@ -558,7 +558,7 @@ export declare function wrRestoreFocus(el: HTMLElement, monitor?: FocusMonitor |
558
558
  * @example
559
559
  * ```ts
560
560
  * const canvas = this.canvasRef().nativeElement;
561
- * ctx.strokeStyle = resolveCssColor(canvas, 'var(--wr-color-on-surface)', '#0f172a');
561
+ * ctx.strokeStyle = wrResolveCssColor(canvas, 'var(--wr-color-on-surface)', '#0f172a');
562
562
  * ```
563
563
  *
564
564
  * @param context - Element to resolve against; the probe is appended inside it.
@@ -566,25 +566,25 @@ export declare function wrRestoreFocus(el: HTMLElement, monitor?: FocusMonitor |
566
566
  * @param fallback - Returned as-is when the expression cannot be resolved.
567
567
  * @returns The computed colour, or `fallback`.
568
568
  */
569
- export declare function resolveCssColor(context: Element, expression: string, fallback: string): string;
569
+ export declare function wrResolveCssColor(context: Element, expression: string, fallback: string): string;
570
570
  /**
571
571
  * Resolves a CSS colour expression against an element to 0–1 sRGB channels, with
572
572
  * the alpha dropped, for what takes numbers rather than a string: a WebGL `vec3`
573
573
  * uniform, above all.
574
574
  *
575
- * {@link resolveCssColor} does the cascade, so a `var()`, a `light-dark()` and a
575
+ * {@link wrResolveCssColor} does the cascade, so a `var()`, a `light-dark()` and a
576
576
  * `color-mix()` all resolve as they would for the element itself, and this reads
577
577
  * the result: `rgb()`, `rgba()` and `color(srgb …)`, with `none` as 0 and every
578
578
  * channel clamped to 0–1, so a `color-mix()` from a wider gamut stays in range. A
579
579
  * colour authored in another space — `oklch()`, `lab()`, `display-p3` — computes
580
580
  * to itself, and mixing it into sRGB is what brings it to a form this reads.
581
581
  *
582
- * Total: it always returns three finite channels. When {@link resolveCssColor}
582
+ * Total: it always returns three finite channels. When {@link wrResolveCssColor}
583
583
  * cannot resolve the expression it reads `fallback`, a literal colour in any form
584
584
  * CSS parses, hex included; when that cannot be read either, it returns
585
585
  * `[0, 0, 0]`, so a uniform never receives a `NaN`.
586
586
  *
587
- * It costs what {@link resolveCssColor} costs plus a parse, so a caller drawing
587
+ * It costs what {@link wrResolveCssColor} costs plus a parse, so a caller drawing
588
588
  * every frame can hold on to the string that function returns and call this only
589
589
  * when it changes.
590
590
  *
@@ -594,7 +594,7 @@ export declare function resolveCssColor(context: Element, expression: string, fa
594
594
  * @example
595
595
  * ```ts
596
596
  * const canvas = this.canvasRef().nativeElement;
597
- * const [r, g, b] = resolveCssColorChannels(canvas, 'var(--wr-color-primary)', '#3969e2');
597
+ * const [r, g, b] = wrResolveCssColorChannels(canvas, 'var(--wr-color-primary)', '#3969e2');
598
598
  * gl.uniform3f(this.tint, r, g, b);
599
599
  * ```
600
600
  *
@@ -603,11 +603,11 @@ export declare function resolveCssColor(context: Element, expression: string, fa
603
603
  * @param fallback - The literal colour to read when the expression cannot be resolved.
604
604
  * @returns The red, green and blue channels, each 0–1.
605
605
  */
606
- export declare function resolveCssColorChannels(context: Element, expression: string, fallback: string): [number, number, number];
606
+ export declare function wrResolveCssColorChannels(context: Element, expression: string, fallback: string): [number, number, number];
607
607
  /** The colour scheme a page resolves to: what `light-dark()` picks on its root. */
608
608
  type WrColorScheme = 'light' | 'dark';
609
- /** Options for {@link watchColorScheme}. */
610
- interface WatchColorSchemeOptions {
609
+ /** Options for {@link wrWatchColorScheme}. */
610
+ interface WrWatchColorSchemeOptions {
611
611
  /**
612
612
  * The injector to take `DestroyRef`, `DOCUMENT` and `PLATFORM_ID` from, for
613
613
  * a call made outside an injection context — from `afterNextRender`, say.
@@ -620,7 +620,7 @@ interface WatchColorSchemeOptions {
620
620
  * resolves to changes, and never for a change that leaves it where it was.
621
621
  *
622
622
  * A canvas or a WebGL uniform cannot take `light-dark()` or a `var()`, so a
623
- * drawing resolves its colours once, through {@link resolveCssColor}, and holds
623
+ * drawing resolves its colours once, through {@link wrResolveCssColor}, and holds
624
624
  * pixels from then on. A frame loop repaints anyway; a still frame — the one a
625
625
  * reduced-motion visitor gets — keeps the old scheme's colours until something
626
626
  * asks it to redraw. This is that something.
@@ -645,14 +645,14 @@ interface WatchColorSchemeOptions {
645
645
  * ```ts
646
646
  * constructor() {
647
647
  * afterNextRender(() => this.draw());
648
- * watchColorScheme(() => this.draw());
648
+ * wrWatchColorScheme(() => this.draw());
649
649
  * }
650
650
  *
651
651
  * private draw(): void {
652
652
  * const canvas = this.canvas().nativeElement;
653
653
  * const ctx = canvas.getContext('2d');
654
654
  * if (!ctx) return;
655
- * ctx.fillStyle = resolveCssColor(canvas, 'var(--wr-color-primary)', '#3969e2');
655
+ * ctx.fillStyle = wrResolveCssColor(canvas, 'var(--wr-color-primary)', '#3969e2');
656
656
  * ctx.fillRect(0, 0, canvas.width, canvas.height);
657
657
  * }
658
658
  * ```
@@ -661,7 +661,7 @@ interface WatchColorSchemeOptions {
661
661
  * @param options - An injector, for a call outside an injection context.
662
662
  * @returns A function that stops watching early.
663
663
  */
664
- export declare function watchColorScheme(callback: (scheme: WrColorScheme) => void, options?: WatchColorSchemeOptions): () => void;
664
+ export declare function wrWatchColorScheme(callback: (scheme: WrColorScheme) => void, options?: WrWatchColorSchemeOptions): () => void;
665
665
  /**
666
666
  * @license
667
667
  *
@@ -681,13 +681,13 @@ export declare function watchColorScheme(callback: (scheme: WrColorScheme) => vo
681
681
  *
682
682
  * @example
683
683
  * ```ts
684
- * randomId();
684
+ * wrRandomId();
685
685
  * // → "wr-a8f2bx1k9q4z"
686
686
  *
687
- * randomId('ng', 8);
687
+ * wrRandomId('ng', 8);
688
688
  * // → "ng-k2f9mbeo"
689
689
  *
690
- * randomId('wr', 24);
690
+ * wrRandomId('wr', 24);
691
691
  * // → "wr-a8f2bx1k9q4zmneo73wplr"
692
692
  * ```
693
693
  *
@@ -697,7 +697,7 @@ export declare function watchColorScheme(callback: (scheme: WrColorScheme) => vo
697
697
  * When omitted, uses `crypto.getRandomValues` with a `Math.random` fallback.
698
698
  * @returns A pseudo-random id string matching `/^[a-z]+-[a-z0-9]+$/`.
699
699
  */
700
- export declare function randomId(prefix?: string, length?: number, random?: (byteLength: number) => Uint8Array): string;
700
+ export declare function wrRandomId(prefix?: string, length?: number, random?: (byteLength: number) => Uint8Array): string;
701
701
  /**
702
702
  * @license
703
703
  *
@@ -718,7 +718,7 @@ export declare function randomId(prefix?: string, length?: number, random?: (byt
718
718
  * }
719
719
  * ```
720
720
  */
721
- export declare const noop: () => void;
721
+ export declare const wrNoop: () => void;
722
722
  /**
723
723
  * @license
724
724
  *
@@ -735,11 +735,11 @@ type WrDebouncedFn<TArgs extends readonly unknown[]> = ((...args: TArgs) => void
735
735
  *
736
736
  * @example
737
737
  * ```ts
738
- * const onResize = debounce(() => recalcLayout(), 150);
738
+ * const onResize = wrDebounce(() => recalcLayout(), 150);
739
739
  * window.addEventListener('resize', onResize);
740
740
  * ```
741
741
  */
742
- export declare function debounce<TArgs extends readonly unknown[]>(fn: (...args: TArgs) => void, waitMs: number): WrDebouncedFn<TArgs>;
742
+ export declare function wrDebounce<TArgs extends readonly unknown[]>(fn: (...args: TArgs) => void, waitMs: number): WrDebouncedFn<TArgs>;
743
743
  /**
744
744
  * @license
745
745
  *
@@ -755,7 +755,7 @@ type WrThrottledFn<TArgs extends readonly unknown[]> = ((...args: TArgs) => void
755
755
  * fires immediately; trailing-edge call fires once at the end of the window
756
756
  * if there were further invocations.
757
757
  */
758
- export declare function throttle<TArgs extends readonly unknown[]>(fn: (...args: TArgs) => void, waitMs: number): WrThrottledFn<TArgs>;
758
+ export declare function wrThrottle<TArgs extends readonly unknown[]>(fn: (...args: TArgs) => void, waitMs: number): WrThrottledFn<TArgs>;
759
759
  /**
760
760
  * @license
761
761
  *
@@ -769,7 +769,7 @@ export declare function throttle<TArgs extends readonly unknown[]>(fn: (...args:
769
769
  * literal `' '` — and a typo like `'Esacpe'` never matches and never errors.
770
770
  * These give you autocomplete and the {@link WrKey} union to match against.
771
771
  */
772
- export declare const KEYS: {
772
+ export declare const WR_KEYS: {
773
773
  readonly ENTER: "Enter";
774
774
  readonly ESCAPE: "Escape";
775
775
  readonly TAB: "Tab";
@@ -789,15 +789,15 @@ export declare const KEYS: {
789
789
  readonly ALT: "Alt";
790
790
  readonly META: "Meta";
791
791
  };
792
- type WrKey = (typeof KEYS)[keyof typeof KEYS];
792
+ type WrKey = (typeof WR_KEYS)[keyof typeof WR_KEYS];
793
793
  /**
794
- * What each key in {@link KEYS} is called on a PC keycap, for a shortcut hint
794
+ * What each key in {@link WR_KEYS} is called on a PC keycap, for a shortcut hint
795
795
  * or a cheat sheet: `Esc`, `Enter`, `Ctrl`, an arrow as its glyph. English, the
796
796
  * way the keys are printed: `wr-kbd` reads the words from the i18n catalog
797
797
  * instead. `wrFormatChord` in `ngwr/hotkey` prints a whole chord from these and
798
798
  * swaps in Apple's glyphs (`⌘`, `⇧`, `↩`) on macOS.
799
799
  */
800
- export declare const KEY_LABELS: Readonly<Record<WrKey, string>>;
800
+ export declare const WR_KEY_LABELS: Readonly<Record<WrKey, string>>;
801
801
  /**
802
802
  * @license
803
803
  *
@@ -805,13 +805,13 @@ export declare const KEY_LABELS: Readonly<Record<WrKey, string>>;
805
805
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
806
806
  */
807
807
  /** True when any modifier key (Ctrl / Cmd / Alt / Shift / Meta) is held. */
808
- export declare function hasModifier(event: KeyboardEvent): boolean;
808
+ export declare function wrHasModifier(event: KeyboardEvent): boolean;
809
809
  /**
810
810
  * True when the key is a single printable character (letters, digits,
811
811
  * punctuation, etc.). Skips function keys, arrows, modifiers, and named
812
812
  * keys like `Backspace` or `Tab`.
813
813
  */
814
- export declare function isPrintableKey(event: KeyboardEvent): boolean;
814
+ export declare function wrIsPrintableKey(event: KeyboardEvent): boolean;
815
815
  /**
816
816
  * True while an input method is composing — the key belongs to the IME, not to
817
817
  * your handler. **Return early on it in every `keydown` handler that reads
@@ -838,12 +838,35 @@ export declare function isPrintableKey(event: KeyboardEvent): boolean;
838
838
  *
839
839
  * ```ts
840
840
  * protected onKeydown(event: KeyboardEvent): void {
841
- * if (isComposing(event)) return;
841
+ * if (wrIsComposing(event)) return;
842
842
  * // …
843
843
  * }
844
844
  * ```
845
845
  */
846
- export declare function isComposing(event: KeyboardEvent): boolean;
846
+ export declare function wrIsComposing(event: KeyboardEvent): boolean;
847
+ /**
848
+ * @license
849
+ *
850
+ * Use of this source code is governed by an MIT-style license that can be
851
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
852
+ */
853
+ /**
854
+ * Logs a coloured pill followed by a payload at error level.
855
+ *
856
+ * The same pill as `wrBadgeLog`, through `console.error`, so the message keeps
857
+ * its stack trace and the browser's Errors filter still catches it.
858
+ *
859
+ * @example
860
+ * ```ts
861
+ * wrBadgeError('icons', '#fc6c6c', new Error('plus failed to load'));
862
+ * // → [icons] Error: plus failed to load
863
+ * ```
864
+ *
865
+ * @param badgeText Short label shown inside the pill.
866
+ * @param color CSS colour applied to the pill border and text.
867
+ * @param message Anything you'd pass to `console.error` as the second argument.
868
+ */
869
+ export declare function wrBadgeError(badgeText: string, color: string, message: unknown): void;
847
870
  /**
848
871
  * @license
849
872
  *
@@ -858,7 +881,7 @@ export declare function isComposing(event: KeyboardEvent): boolean;
858
881
  *
859
882
  * @example
860
883
  * ```ts
861
- * badgeLog('icons', '#3969e2', { name: 'plus', registered: true });
884
+ * wrBadgeLog('icons', '#3969e2', { name: 'plus', registered: true });
862
885
  * // → [icons] { name: 'plus', registered: true }
863
886
  * ```
864
887
  *
@@ -866,13 +889,46 @@ export declare function isComposing(event: KeyboardEvent): boolean;
866
889
  * @param color CSS colour applied to the pill border and text.
867
890
  * @param message Anything you'd pass to `console.log` as the second argument.
868
891
  */
869
- export declare function badgeLog(badgeText: string, color: string, message: unknown): void;
892
+ export declare function wrBadgeLog(badgeText: string, color: string, message: unknown): void;
870
893
  /**
871
894
  * @license
872
895
  *
873
896
  * Use of this source code is governed by an MIT-style license that can be
874
897
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
875
898
  */
899
+ /**
900
+ * Logs a coloured pill followed by a payload at warning level.
901
+ *
902
+ * The same pill as `wrBadgeLog`, through `console.warn`, so the message keeps
903
+ * its stack trace and the browser's Warnings filter still catches it.
904
+ *
905
+ * @example
906
+ * ```ts
907
+ * wrBadgeWarn('icons', '#fac72e', 'plus is registered twice');
908
+ * // → [icons] plus is registered twice
909
+ * ```
910
+ *
911
+ * @param badgeText Short label shown inside the pill.
912
+ * @param color CSS colour applied to the pill border and text.
913
+ * @param message Anything you'd pass to `console.warn` as the second argument.
914
+ */
915
+ export declare function wrBadgeWarn(badgeText: string, color: string, message: unknown): void;
916
+ /**
917
+ * @license
918
+ *
919
+ * Use of this source code is governed by an MIT-style license that can be
920
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
921
+ */
922
+ /** How `wrInitials` writes a name: its letters (`RK`), or the family name with initials (`Khegay R.`). */
923
+ type WrInitialsStyle = 'letters' | 'surname';
924
+ /** The order of the parts in the name given: `Roman Khegay`, or `Хегай Роман`. */
925
+ type WrInitialsOrder = 'given-first' | 'family-first';
926
+ interface WrInitialsOptions {
927
+ /** `'letters'` gives up to two initials; `'surname'` the family name and an initial for each other part. */
928
+ readonly style?: WrInitialsStyle;
929
+ /** Where the family name sits in the input. Read by `'surname'` only. */
930
+ readonly order?: WrInitialsOrder;
931
+ }
876
932
  /**
877
933
  * Up to two initials of a name, one grapheme each, upper-cased.
878
934
  *
@@ -897,6 +953,22 @@ export declare function badgeLog(badgeText: string, color: string, message: unkn
897
953
  *
898
954
  * `null`, `undefined`, an empty string and a name with no initial give `''`.
899
955
  *
956
+ * `options.style: 'surname'` writes the family name whole, then each other part
957
+ * as its initial and a dot: `Roman Khegay` gives `Khegay R.`. `options.order`
958
+ * says where the family name sits in the input: last for `'given-first'` (the
959
+ * default), so `Ada King Lovelace` gives `Lovelace A. K.`, and first for
960
+ * `'family-first'`, so `Иванов Иван Иванович` gives `Иванов И. И.`. The family
961
+ * name is kept as written, hyphen and case included, and a one-part name comes
962
+ * back as it is. Every part gives an initial, not the first two, each taken and
963
+ * upper-cased as above: a hyphenated given name gives one (`Jean-Luc Picard`
964
+ * gives `Picard J.`) and a part of punctuation alone is dropped before the
965
+ * family name is chosen. The one-initial rule for Han, Hangul and kana does not
966
+ * apply: it keeps two characters from reading as a word, and here the dot
967
+ * already marks an initial, so `王 小明` with `'family-first'` gives `王 小.`.
968
+ *
969
+ * `order` does nothing for `'letters'`, which reads the first two words in the
970
+ * order written.
971
+ *
900
972
  * @example
901
973
  * ```ts
902
974
  * wrInitials('Roman Khegay'); // 'RK'
@@ -905,11 +977,14 @@ export declare function badgeLog(badgeText: string, color: string, message: unkn
905
977
  * wrInitials('王小明'); // '王'
906
978
  * wrInitials('👩🏽‍🚀 Valentina'); // '👩🏽‍🚀V'
907
979
  * wrInitials('...'); // ''
980
+ *
981
+ * wrInitials('Roman Khegay', undefined, { style: 'surname' }); // 'Khegay R.'
982
+ * wrInitials('Хегай Роман', undefined, { style: 'surname', order: 'family-first' }); // 'Хегай Р.'
908
983
  * ```
909
984
  *
910
985
  * @see https://ngwr.dev/reference/utils/wr-initials
911
986
  */
912
- export declare function wrInitials(name: string | null | undefined, locale?: string): string;
987
+ export declare function wrInitials(name: string | null | undefined, locale?: string, options?: WrInitialsOptions): string;
913
988
  /**
914
989
  * One piece of app-wide configuration, passed to `provideWr()` from `ngwr` —
915
990
  * the shape Angular gives `RouterFeature` for `provideRouter(routes, withX())`.
@@ -1058,4 +1133,4 @@ export declare function wrKeyedAction<K, A = void, R = void>(fn: (key: K, arg: A
1058
1133
  * @returns A read-only signal of the value.
1059
1134
  */
1060
1135
  export declare function wrResourceValue<T>(resource: Resource<T | undefined>, fallback: NoInfer<T>): Signal<T>;
1061
- export type { Maybe, ResolveCssSizeOptions, ResolvedCssSize, SafeAny, WatchColorSchemeOptions, WrAction, WrActionStatus, WrClassInput, WrColorScheme, WrDebouncedFn, WrDecimalLike, WrFeature, WrKey, WrKeyedAction, WrThrottledFn };
1136
+ export type { WrAction, WrActionStatus, WrClassInput, WrColorScheme, WrDebouncedFn, WrDecimalLike, WrFeature, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WrKey, WrKeyedAction, WrMaybe, WrResolveCssSizeOptions, WrResolvedCssSize, WrSafeAny, WrThrottledFn, WrWatchColorSchemeOptions };
@@ -119,12 +119,14 @@ export declare const WrValidators: {
119
119
  oneOf: <T>(allowed: readonly T[]) => ValidatorFn;
120
120
  /**
121
121
  * Value (Date | parseable) must be ≥ `min`. A date-only string (`'2026-01-01'`),
122
- * as the bound or the value, is that day's LOCAL midnight.
122
+ * as the bound or the value, is that day's LOCAL midnight, and a backend's
123
+ * `'2026-01-01 14:30:00'` is read as its `T` form.
123
124
  */
124
125
  minDate: (min: Date | string | number) => ValidatorFn;
125
126
  /**
126
127
  * Value (Date | parseable) must be ≤ `max`. A date-only string (`'2026-12-31'`),
127
- * as the bound or the value, is that day's LOCAL midnight.
128
+ * as the bound or the value, is that day's LOCAL midnight, and a backend's
129
+ * `'2026-12-31 14:30:00'` is read as its `T` form.
128
130
  */
129
131
  maxDate: (max: Date | string | number) => ValidatorFn;
130
132
  };
@@ -15,7 +15,7 @@ import { InjectionToken } from "@angular/core";
15
15
  * Distinct from `Version` exported by `@angular/core`, which reports the
16
16
  * loaded Angular runtime version (e.g. `'22.0.0'`), not ngwr's.
17
17
  */
18
- export declare const NGWR_VERSION = "15.9.0";
18
+ export declare const NGWR_VERSION = "16.0.0";
19
19
  /**
20
20
  * Injection token holding the ngwr library version string.
21
21
  *
package/types/ngwr.d.ts CHANGED
@@ -15,6 +15,7 @@ import { WrFeature } from "ngwr/utils";
15
15
  * | `withStorage()` | `ngwr/storage` | the storage engine, key prefix, JSON envelope and TTL |
16
16
  * | `withMeta()` | `ngwr/meta` | `<head>` defaults for every route |
17
17
  * | `withWindows()` | `ngwr/window` | the work area every floating window keeps inside |
18
+ * | `withDialog()` | `ngwr/dialog` | dialog defaults: the tab title follows the open dialog |
18
19
  *
19
20
  * Icons and i18n stay calls of their own (`provideWrIcons()`, `provideWrI18n()`
20
21
  * and its loaders), because both chain: a route adds icons or catalog keys to