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
@@ -52,6 +52,14 @@ type WrDateInputError = {
52
52
  type WrDateRangeInputError = WrDateInputError & {
53
53
  readonly end: 'start' | 'end';
54
54
  };
55
+ /**
56
+ * @license
57
+ *
58
+ * Use of this source code is governed by an MIT-style license that can be
59
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
60
+ */
61
+ /** Control size for `<wr-date-picker>` and `<wr-date-range-picker>` — shares the `--wr-control-*` contract. */
62
+ type WrDatePickerSize = 'sm' | 'md' | 'lg';
55
63
  /**
56
64
  * @license
57
65
  *
@@ -145,6 +153,19 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
145
153
  readonly showSeconds: import("@angular/core").InputSignalWithTransform<boolean, any>;
146
154
  /** Minute / second step for the time panel. @default 1 */
147
155
  readonly step: import("@angular/core").InputSignalWithTransform<number, unknown>;
156
+ /**
157
+ * Control size — forwarded to the field's `[size]`, and shares the
158
+ * `--wr-control-*` contract. The panel keeps its size. @default 'md'
159
+ */
160
+ readonly size: import("@angular/core").InputSignal<WrDatePickerSize>;
161
+ /**
162
+ * Show a clear (×) button once a date is picked. It is a pointer control: from the
163
+ * keyboard, emptying the field clears the value. @default false
164
+ */
165
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
166
+ /** Clear (×) button aria-label. Falls back to `common.clear`. */
167
+ readonly clearLabel: import("@angular/core").InputSignal<string | null>;
168
+ protected readonly resolvedClear: Signal<string>;
148
169
  /**
149
170
  * Disable interaction. Bound automatically from the field's disabled state
150
171
  * when used with `[formField]`.
@@ -174,8 +195,13 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
174
195
  readonly value: import("@angular/core").ModelSignal<Date | null>;
175
196
  /** Emitted on blur so a bound field can mark itself touched. */
176
197
  readonly touch: import("@angular/core").OutputEmitterRef<void>;
198
+ /** Fires after the popup opens. */
199
+ readonly opened: import("@angular/core").OutputEmitterRef<void>;
200
+ /** Fires after the popup closes. */
201
+ readonly closed: import("@angular/core").OutputEmitterRef<void>;
177
202
  /** Text currently in the input (may be partial / invalid mid-type). */
178
203
  protected readonly text: import("@angular/core").WritableSignal<string>;
204
+ protected readonly hasValue: Signal<boolean>;
179
205
  /** Whether the popover is currently open. */
180
206
  protected readonly overlayOpen: import("@angular/core").WritableSignal<boolean>;
181
207
  /**
@@ -347,6 +373,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
347
373
  private lastFormat;
348
374
  constructor();
349
375
  protected onInput(event: Event): void;
376
+ /** The clear (×) button — the same commit an emptied field makes. */
377
+ protected clear(event: Event): void;
350
378
  /**
351
379
  * In `time` mode the typed string carries no date, so the adapter fills one in — and
352
380
  * the date already in the model is the better answer than whatever default it picks.
@@ -416,6 +444,13 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
416
444
  private focusPanel;
417
445
  /** Hand focus back to whatever opened the panel, if it is still on the page. */
418
446
  private restoreFocus;
447
+ /**
448
+ * Open the popup, as a click on the field does: focus stays where it is.
449
+ * Refused while disabled; a read-only picker still opens, as its field and trigger do.
450
+ */
451
+ open(): void;
452
+ /** Close the popup. */
453
+ close(): void;
419
454
  private openOverlay;
420
455
  private attachDate;
421
456
  private attachTime;
@@ -482,6 +517,21 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
482
517
  "required": false;
483
518
  "isSignal": true;
484
519
  };
520
+ "size": {
521
+ "alias": "size";
522
+ "required": false;
523
+ "isSignal": true;
524
+ };
525
+ "clearable": {
526
+ "alias": "clearable";
527
+ "required": false;
528
+ "isSignal": true;
529
+ };
530
+ "clearLabel": {
531
+ "alias": "clearLabel";
532
+ "required": false;
533
+ "isSignal": true;
534
+ };
485
535
  "disabled": {
486
536
  "alias": "disabled";
487
537
  "required": false;
@@ -515,6 +565,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
515
565
  }, {
516
566
  "value": "valueChange";
517
567
  "touch": "touch";
568
+ "opened": "opened";
569
+ "closed": "closed";
518
570
  }, never, never, true, never>;
519
571
  }
520
572
  /** Which end of the range an edit applies to. */
@@ -597,6 +649,19 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
597
649
  readonly showSeconds: import("@angular/core").InputSignalWithTransform<boolean, any>;
598
650
  /** Minute / second step for the time panels. @default 1 */
599
651
  readonly step: import("@angular/core").InputSignalWithTransform<number, unknown>;
652
+ /**
653
+ * Control size — forwarded to each field's `[size]`, and shares the
654
+ * `--wr-control-*` contract. The panel keeps its size. @default 'md'
655
+ */
656
+ readonly size: import("@angular/core").InputSignal<WrDatePickerSize>;
657
+ /**
658
+ * Show a clear (×) button once either end is picked. It is a pointer control: from the
659
+ * keyboard, emptying both fields clears the value. @default false
660
+ */
661
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
662
+ /** Clear (×) button aria-label. Falls back to `common.clear`. */
663
+ readonly clearLabel: import("@angular/core").InputSignal<string | null>;
664
+ protected readonly resolvedClear: Signal<string>;
600
665
  /**
601
666
  * Disable interaction. Bound automatically from the field's disabled state
602
667
  * when used with `[formField]`.
@@ -637,9 +702,14 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
637
702
  readonly value: import("@angular/core").ModelSignal<WrDateRange | null>;
638
703
  /** Emitted on blur so a bound field can mark itself touched. */
639
704
  readonly touch: import("@angular/core").OutputEmitterRef<void>;
705
+ /** Fires after the popup opens. */
706
+ readonly opened: import("@angular/core").OutputEmitterRef<void>;
707
+ /** Fires after the popup closes. */
708
+ readonly closed: import("@angular/core").OutputEmitterRef<void>;
640
709
  /** Text currently in each input (may be partial / invalid mid-type). */
641
710
  protected readonly startText: import("@angular/core").WritableSignal<string>;
642
711
  protected readonly endText: import("@angular/core").WritableSignal<string>;
712
+ protected readonly hasValue: Signal<boolean>;
643
713
  /** Whether the popover is currently open. */
644
714
  protected readonly overlayOpen: import("@angular/core").WritableSignal<boolean>;
645
715
  /**
@@ -822,6 +892,15 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
822
892
  /** Hand focus back to whatever opened the popup, if it is still on the page. */
823
893
  private restoreFocus;
824
894
  private onRangeInput;
895
+ /** The clear (×) button — the same commit two emptied fields make. */
896
+ protected clear(event: Event): void;
897
+ /**
898
+ * Open the popup, as a click on the start field does: focus stays where it is.
899
+ * Refused while disabled or read-only.
900
+ */
901
+ open(): void;
902
+ /** Close the popup. */
903
+ close(): void;
825
904
  private openOverlay;
826
905
  /**
827
906
  * Close the popover, handing focus back to whichever field or button opened
@@ -931,6 +1010,21 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
931
1010
  "required": false;
932
1011
  "isSignal": true;
933
1012
  };
1013
+ "size": {
1014
+ "alias": "size";
1015
+ "required": false;
1016
+ "isSignal": true;
1017
+ };
1018
+ "clearable": {
1019
+ "alias": "clearable";
1020
+ "required": false;
1021
+ "isSignal": true;
1022
+ };
1023
+ "clearLabel": {
1024
+ "alias": "clearLabel";
1025
+ "required": false;
1026
+ "isSignal": true;
1027
+ };
934
1028
  "disabled": {
935
1029
  "alias": "disabled";
936
1030
  "required": false;
@@ -959,6 +1053,8 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
959
1053
  }, {
960
1054
  "value": "valueChange";
961
1055
  "touch": "touch";
1056
+ "opened": "opened";
1057
+ "closed": "closed";
962
1058
  }, never, never, true, never>;
963
1059
  }
964
- export type { WrDateInputError, WrDateRange, WrDateRangeInputError };
1060
+ export type { WrDateInputError, WrDatePickerSize, WrDateRange, WrDateRangeInputError };
@@ -48,7 +48,7 @@ interface WrDatesOptions {
48
48
  readonly locale?: string;
49
49
  }
50
50
  /** Whether `value` is one of the shared named format keys. */
51
- declare function isNamedFormat(value: string): value is WrDateFormat;
51
+ declare function wrIsNamedFormat(value: string): value is WrDateFormat;
52
52
  /**
53
53
  * Abstraction over a date object so the calendar, date picker and time picker
54
54
  * can work with `Date` or any other library a consumer prefers — without
@@ -316,7 +316,48 @@ export declare class WrNativeDateAdapter extends WrDateAdapter<Date> {
316
316
  *
317
317
  * @internal
318
318
  */
319
- export declare function toLocalDate(value: string | number): Date;
319
+ export declare function wrToLocalDate(value: string | number): Date;
320
+ /**
321
+ * @license
322
+ *
323
+ * Use of this source code is governed by an MIT-style license that can be
324
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
325
+ */
326
+ /**
327
+ * What a backend sends for a date, as a `Date`, or `null` when it holds none.
328
+ * Never an Invalid Date, so the result needs one check rather than two.
329
+ *
330
+ * - A `Date` comes back as it is, the same object; an Invalid Date gives `null`.
331
+ * - A number is epoch milliseconds; `NaN`, an infinity and a number outside the
332
+ * range of `Date` give `null`.
333
+ * - `2026-03-01 14:30:00`, a space where ISO 8601 has a `T`, is rewritten to the
334
+ * ISO form first. Chrome reads the space form and Safari gives an Invalid Date
335
+ * for it. Seconds, a fraction and a zone are optional; the fraction is cut to
336
+ * milliseconds and a zone of hours alone (`+05`, as PostgreSQL prints it) is
337
+ * completed. Without a zone it is local time, as the `T` form is.
338
+ * - A date-only string (`2026-03-01`, `2026-03`, `2026`) is that day's LOCAL
339
+ * midnight, as `wrDate` and `WrValidators.minDate` read it. `new Date()` would
340
+ * make it UTC midnight, the evening before for a reader west of Greenwich.
341
+ * - Any other string is left to `new Date()`, so an ISO string with `Z` or an
342
+ * offset is the instant it names.
343
+ * - `null`, `undefined`, an empty or blank string and a string the engine
344
+ * refuses give `null`.
345
+ *
346
+ * Surrounding whitespace is ignored. A plain function: no adapter and no
347
+ * injection context, so it runs in a mapper, a resolver or a store.
348
+ *
349
+ * @example
350
+ * ```ts
351
+ * wrParseDate('2026-03-01 14:30:00'); // 1 March 2026, 14:30 local
352
+ * wrParseDate('2026-03-01'); // 1 March 2026, 00:00 local
353
+ * wrParseDate('2026-03-01T09:30:00+05:00'); // that instant
354
+ * wrParseDate(1772343000000); // epoch milliseconds
355
+ * wrParseDate('n/a'); // null
356
+ * ```
357
+ *
358
+ * @see https://ngwr.dev/reference/pipes/wr-date
359
+ */
360
+ export declare function wrParseDate(value: Date | string | number | null | undefined): Date | null;
320
361
  /**
321
362
  * Replace the date adapter the calendar / date picker / time picker use, or pin
322
363
  * the locale it formats in, as a feature of `provideWr()`. Optional: with no
@@ -372,4 +413,4 @@ export declare function withDates(options?: WrDatesOptions): WrFeature<'dates'>;
372
413
  * through `Intl`, localize and the field's own text does not.
373
414
  */
374
415
  export declare const WR_DATE_LOCALE: InjectionToken<string>;
375
- export { type WrDateFormat, type WrDatesOptions, isNamedFormat };
416
+ export { type WrDateFormat, type WrDatesOptions, wrIsNamedFormat };
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { ComponentRef, ElementRef, InjectionToken, Injector, Signal } from "@angular/core";
3
- import { WrClassInput } from "ngwr/utils";
3
+ import { WrClassInput, WrFeature } from "ngwr/utils";
4
4
  import { WrColor } from "ngwr/theme";
5
5
  import { ComponentType } from "@angular/cdk/portal";
6
6
  import { ConfigurableFocusTrap } from "@angular/cdk/a11y";
@@ -139,6 +139,17 @@ interface WrDialogOptions<D = unknown> {
139
139
  * splitting happens here.
140
140
  */
141
141
  readonly panelClass?: WrClassInput;
142
+ /**
143
+ * When `true`, the browser tab reads the dialog's title in front of the page
144
+ * title while the dialog is open, and the page title comes back when it
145
+ * closes. The text is read from the `[wrDialogTitle]` element, so it is
146
+ * already translated; a dialog without one leaves the tab alone. With dialogs
147
+ * stacked, the top one names the tab. It is written through `WrMeta` from
148
+ * `ngwr/meta`, as a `titlePrefix` layer, so `titleTemplate` and
149
+ * `titleSeparator` from `withMeta()` apply.
150
+ * @default false, or what `withDialog()` sets
151
+ */
152
+ readonly tabTitle?: boolean;
142
153
  }
143
154
  /**
144
155
  * Options accepted by `WrDialog.confirm()`.
@@ -147,7 +158,7 @@ interface WrDialogOptions<D = unknown> {
147
158
  * and a `[wrDialogFooter]` with two `wr-btn`. Anything richer than a title and
148
159
  * a line of text is a component of your own through `open()`.
149
160
  */
150
- interface WrDialogConfirmOptions extends Pick<WrDialogOptions, 'width' | 'maxWidth' | 'panelClass' | 'closeOnBackdropClick' | 'closeOnEscape' | 'closeOnNavigation'> {
161
+ interface WrDialogConfirmOptions extends Pick<WrDialogOptions, 'width' | 'maxWidth' | 'panelClass' | 'closeOnBackdropClick' | 'closeOnEscape' | 'closeOnNavigation' | 'tabTitle'> {
151
162
  /** The question. Names the dialog through `aria-labelledby`. */
152
163
  readonly title: string;
153
164
  /**
@@ -167,6 +178,8 @@ interface WrDialogConfirmOptions extends Pick<WrDialogOptions, 'width' | 'maxWid
167
178
  */
168
179
  readonly confirmColor?: WrColor;
169
180
  }
181
+ /** App-wide dialog defaults, passed to `provideWr(withDialog(...))`. */
182
+ type WrDialogDefaults = Pick<WrDialogOptions, 'tabTitle'>;
170
183
  /**
171
184
  * Opens dialog components in an isolated NGWR overlay.
172
185
  *
@@ -198,6 +211,7 @@ export declare class WrDialog {
198
211
  private readonly dir;
199
212
  private readonly location;
200
213
  private readonly destroyRef;
214
+ private readonly defaults;
201
215
  open<C, R = unknown, D = unknown>(component: ComponentType<C>, options?: WrDialogOptions<D>): WrDialogRef<C, R>;
202
216
  /**
203
217
  * Ask a yes-or-no question and get the answer: `true` only when the user
@@ -244,6 +258,20 @@ export declare class WrDialog {
244
258
  * pending forever.
245
259
  */
246
260
  private watchNavigation;
261
+ /**
262
+ * Put the dialog's title in front of the page title for as long as the
263
+ * overlay is attached, and hand back where to write that title.
264
+ *
265
+ * A `titlePrefix` layer rather than a composed `title`: the page title stays
266
+ * whatever the layers under it resolve to, so a page that retitles itself
267
+ * under an open dialog is followed, and closing restores nothing, it only
268
+ * removes the layer. Stacked dialogs each hold a layer and the top one wins.
269
+ *
270
+ * `WrMeta` is resolved here and not injected with the service: constructing
271
+ * it applies its defaults to `<head>`, which an app that never asked for
272
+ * `tabTitle` must not pay for.
273
+ */
274
+ private nameTab;
247
275
  /**
248
276
  * The dismiss button's accessible name.
249
277
  *
@@ -300,6 +328,25 @@ export declare const WR_DIALOG_DATA: InjectionToken<unknown>;
300
328
  * ```
301
329
  */
302
330
  export declare const WR_DIALOG_REF: InjectionToken<WrDialogRef<unknown, unknown>>;
331
+ /**
332
+ * App-wide dialog defaults, as a feature of `provideWr()`: today `tabTitle`,
333
+ * so every dialog names the browser tab while it is open. The same option on
334
+ * `open()` or `confirm()` still wins.
335
+ *
336
+ * Bootstrap only: `WrDialog` is root-provided and reads it once, from the root
337
+ * injector, so in a route's `providers` it changes nothing.
338
+ *
339
+ * @example
340
+ * ```ts
341
+ * import { provideWr } from 'ngwr';
342
+ * import { withDialog } from 'ngwr/dialog';
343
+ *
344
+ * bootstrapApplication(App, {
345
+ * providers: [provideWr(withDialog({ tabTitle: true }))],
346
+ * });
347
+ * ```
348
+ */
349
+ export declare function withDialog(defaults: WrDialogDefaults): WrFeature<'dialog'>;
303
350
  /**
304
351
  * Styles a dialog title row. Use on a heading inside an opened dialog.
305
352
  * Auto-assigns an `id` so the dialog panel can reference it via
@@ -413,4 +460,4 @@ export declare class WrDialogClose<R = unknown> {
413
460
  };
414
461
  }, {}, never, never, true, never>;
415
462
  }
416
- export type { WrDialogConfirmOptions, WrDialogOptions, WrDialogRole };
463
+ export type { WrDialogConfirmOptions, WrDialogDefaults, WrDialogOptions, WrDialogRole };
@@ -139,4 +139,44 @@ export declare class WrCopyToClipboard {
139
139
  "copied": "copied";
140
140
  "copyFailed": "copyFailed";
141
141
  }, never, never, true, never>;
142
+ }
143
+ /**
144
+ * Shrink a block whose text wraps to the width of its longest line.
145
+ *
146
+ * A wrapped block keeps the width it was offered, so a tinted pill with three
147
+ * lines of text carries an empty band of background beside them, and CSS has
148
+ * no way to take it back. The lines are measured and the host's inline `width`
149
+ * is set to the widest one, padding and border included as its `box-sizing`
150
+ * needs. Every line already fits that width, so the line breaks stay where
151
+ * they were. It is measured again when the text changes and when the parent is
152
+ * resized; a block on one line is left alone.
153
+ *
154
+ * The host needs a box that takes a width (block, inline-block, a flex or grid
155
+ * item) and holds text and inline content.
156
+ *
157
+ * @example
158
+ * ```html
159
+ * <wr-tag wrFitText>A label long enough to wrap onto a second line</wr-tag>
160
+ * <p [wrFitText]="fit()">…</p>
161
+ * ```
162
+ */
163
+ export declare class WrFitText {
164
+ /** `false` switches the fitting off and removes the width it wrote. Bare `wrFitText` is on. */
165
+ readonly wrFitText: import("@angular/core").InputSignalWithTransform<boolean, any>;
166
+ private readonly el;
167
+ private frame;
168
+ private started;
169
+ /** The width this directive wrote, so switching off removes that and nothing else. */
170
+ private written;
171
+ constructor();
172
+ private schedule;
173
+ private fit;
174
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrFitText, never>;
175
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WrFitText, "[wrFitText]", never, {
176
+ "wrFitText": {
177
+ "alias": "wrFitText";
178
+ "required": false;
179
+ "isSignal": true;
180
+ };
181
+ }, {}, never, never, true, never>;
142
182
  }
@@ -419,7 +419,7 @@ export declare class WrDrawerManager {
419
419
  * Resolved per open, not stored as a plain string at injection: this is a root
420
420
  * service, so a one-shot read — which is what `WrDialog` used to have, and moved
421
421
  * off for this reason — would run before an async catalog had loaded and then
422
- * freeze that answer for the life of the app. (`readI18nText` hands back a signal
422
+ * freeze that answer for the life of the app. (`wrReadI18nText` hands back a signal
423
423
  * now, so it would no longer freeze; the name still has to be pushed onto the
424
424
  * button per open either way.) `WrDialog.closeLabel()` is the matching precedent,
425
425
  * not the counter-example.
@@ -110,8 +110,9 @@ export declare class WrDropdown {
110
110
  private readonly scrollStrategies;
111
111
  private readonly injector;
112
112
  private readonly destroyRef;
113
- /** @internal Public so host bindings can read it. */
114
- readonly isOpen: import("@angular/core").WritableSignal<boolean>;
113
+ private readonly openState;
114
+ /** Whether the menu is open. Read-only: `open()` and `close()` change it. */
115
+ readonly isOpen: import("@angular/core").Signal<boolean>;
115
116
  /** The id used only when the consumer's element carries none of its own. */
116
117
  private readonly fallbackId;
117
118
  /**
@@ -183,7 +183,7 @@ interface WrParsedHotkey {
183
183
  * @param spec - the spec to parse
184
184
  * @param isMac - when true, `mod` resolves to `meta` (Cmd); otherwise `ctrl`
185
185
  */
186
- declare function parseHotkeySpec(spec: WrHotkeySpec, isMac?: boolean): WrParsedHotkey;
186
+ declare function wrParseHotkeySpec(spec: WrHotkeySpec, isMac?: boolean): WrParsedHotkey;
187
187
  /**
188
188
  * Does `event` satisfy the parsed hotkey?
189
189
  *
@@ -196,7 +196,7 @@ declare function parseHotkeySpec(spec: WrHotkeySpec, isMac?: boolean): WrParsedH
196
196
  * Nor does a chord holding Alt, since macOS Option and Windows AltGr type a
197
197
  * symbol on purpose, `€` on AltGr+E among them.
198
198
  */
199
- declare function matchesHotkey(event: KeyboardEvent, parsed: WrParsedHotkey): boolean;
199
+ declare function wrMatchesHotkey(event: KeyboardEvent, parsed: WrParsedHotkey): boolean;
200
200
  /**
201
201
  * The platform a chord is written for, from a user agent: `'mac'` when it
202
202
  * names a Mac (iPhone and iPad say "like Mac OS X", and their hardware
@@ -209,7 +209,7 @@ export declare function wrHotkeyPlatform(userAgent?: string | null): WrHotkeyPla
209
209
  * A chord written the way the platform writes it: `'mod+k'` is `⌘K` on macOS
210
210
  * and `Ctrl+K` elsewhere, `'mod+shift+k'` is `⇧⌘K` and `Ctrl+Shift+K`.
211
211
  * Modifiers follow Apple's order (`⌃⌥⇧⌘`) on a Mac and Win, Ctrl, Alt, Shift
212
- * elsewhere. A named key is labelled from `KEY_LABELS` in `ngwr/utils`, with
212
+ * elsewhere. A named key is labelled from `WR_KEY_LABELS` in `ngwr/utils`, with
213
213
  * Apple's glyph on a Mac (`↩`, `⎋`, `⌫`); an arrow is its glyph everywhere; a
214
214
  * letter is uppercased; a key neither table knows is passed through as typed.
215
215
  *
@@ -220,8 +220,8 @@ export declare function wrHotkeyPlatform(userAgent?: string | null): WrHotkeyPla
220
220
  * in `afterNextRender` for that reason. Pass `platform` from such a signal, or
221
221
  * let `wr-kbd` print the chord.
222
222
  *
223
- * `labels` replaces a word from `KEY_LABELS` by its `KEYS` value, for a
223
+ * `labels` replaces a word from `WR_KEY_LABELS` by its `WR_KEYS` value, for a
224
224
  * translation; `wr-kbd` passes the i18n catalog's. A glyph is never replaced.
225
225
  */
226
226
  export declare function wrFormatChord(chord: WrHotkeySpec, platform?: WrHotkeyPlatform, labels?: Readonly<Partial<Record<WrKey, string>>>): string;
227
- export { type WrHotkeyEntry, type WrHotkeyHandle, type WrHotkeyOptions, type WrHotkeyPlatform, type WrHotkeySpec, type WrParsedHotkey, matchesHotkey, parseHotkeySpec };
227
+ export { type WrHotkeyEntry, type WrHotkeyHandle, type WrHotkeyOptions, type WrHotkeyPlatform, type WrHotkeySpec, type WrParsedHotkey, wrMatchesHotkey, wrParseHotkeySpec };
@@ -261,7 +261,7 @@ interface WrI18nLoader {
261
261
  *
262
262
  * Defaults to one that serves an empty catalog, which is what makes
263
263
  * `provideWrI18n()` genuinely optional: every ngwr component routes its
264
- * built-in strings through `useI18nText` / `readI18nText`, those inject
264
+ * built-in strings through `useI18nText` / `wrReadI18nText`, those inject
265
265
  * `WrI18n` optionally — and because `WrI18n` is `providedIn: 'root'`, an
266
266
  * optional inject still CONSTRUCTS it. Without a default here that construction
267
267
  * threw `NG0201: No provider found for WR_I18N_LOADER`, so an app that had
@@ -444,7 +444,7 @@ export declare function useI18nText(binding: Signal<string | null | undefined>,
444
444
  * `<wr-date-picker>` the field said "Открыть календарь" and the calendar
445
445
  * button beside it "Open calendar", off the same key.
446
446
  */
447
- export declare function readI18nText(key: string, fallback: string): Signal<string>;
447
+ export declare function wrReadI18nText(key: string, fallback: string): Signal<string>;
448
448
  /**
449
449
  * Build a per-call formatter for parametrized labels (e.g. ARIA labels
450
450
  * that interpolate a per-row value: `"Remove {{label}}"`). Returns a
@@ -458,7 +458,7 @@ export declare function readI18nText(key: string, fallback: string): Signal<stri
458
458
  * key is missing.
459
459
  *
460
460
  * Use this for labels that vary per row. For static labels, prefer
461
- * {@link useI18nText} or {@link readI18nText}.
461
+ * {@link useI18nText} or {@link wrReadI18nText}.
462
462
  *
463
463
  * @example
464
464
  * ```ts
@@ -75,14 +75,14 @@ export declare class WrIcon {
75
75
  *
76
76
  * Kept as a string alias so consumers can pass any name they've wired
77
77
  * — there are no built-ins shipped by ngwr. Bring an icon set via
78
- * `svgIcon()`, or `lucideIcons()` for Lucide.
78
+ * `wrSvgIcon()`, or `wrLucideIcons()` for Lucide.
79
79
  */
80
80
  type WrIconName = string;
81
81
  /**
82
82
  * Shape of an icon registered with the icon registry.
83
83
  *
84
- * **ngwr ships no icons.** Every `WrIconDef` comes from `svgIcon()` over
85
- * raw SVG, or from `lucideIcons()` over Lucide's IconNode tuples, so the set
84
+ * **ngwr ships no icons.** Every `WrIconDef` comes from `wrSvgIcon()` over
85
+ * raw SVG, or from `wrLucideIcons()` over Lucide's IconNode tuples, so the set
86
86
  * an app pays for is the set it registers.
87
87
  *
88
88
  * @example
@@ -117,33 +117,33 @@ interface WrIconDef {
117
117
  /**
118
118
  * Shape of a `lucide` icon export — an array of `[tag, attrs]` tuples
119
119
  * representing the inner SVG children. The outer `<svg>` wrapper is
120
- * added by {@link lucide} when converting to a {@link WrIconDef}.
120
+ * added by {@link wrLucide} when converting to a {@link WrIconDef}.
121
121
  */
122
- type LucideIconNode = readonly (readonly [string, Record<string, string | number | undefined>])[];
122
+ type WrLucideIconNode = readonly (readonly [string, Record<string, string | number | undefined>])[];
123
123
  /**
124
124
  * Wrap a single Lucide icon in the {@link WrIconDef} envelope. Use this
125
125
  * when you need fine-grained control over the registered name, or when
126
- * the bulk {@link lucideIcons} helper isn't a good fit.
126
+ * the bulk {@link wrLucideIcons} helper isn't a good fit.
127
127
  *
128
128
  * @example
129
129
  * ```ts
130
130
  * import { Plus } from 'lucide';
131
- * import { lucide, provideWrIcons } from 'ngwr/icon';
131
+ * import { wrLucide, provideWrIcons } from 'ngwr/icon';
132
132
  *
133
- * provideWrIcons([lucide('plus', Plus)]);
133
+ * provideWrIcons([wrLucide('plus', Plus)]);
134
134
  * ```
135
135
  */
136
- declare function lucide(name: string, children: LucideIconNode): WrIconDef;
136
+ declare function wrLucide(name: string, children: WrLucideIconNode): WrIconDef;
137
137
  /**
138
138
  * Wrap a bag of Lucide icons in one shot. Keys become the registered
139
139
  * names **verbatim** — exactly what you pass to `<wr-icon name>` — matching
140
- * the singular `lucide()` helper and `svgIcon()`. Kebab-case by
140
+ * the singular `wrLucide()` helper and `wrSvgIcon()`. Kebab-case by
141
141
  * convention, so quote multi-word keys (`'chevron-down'`). Values are the
142
142
  * upstream IconNode tuples.
143
143
  *
144
144
  * Lucide is the one set with a converter here because it is the one that
145
145
  * ships no SVG markup at all; every other set, Feather included, registers
146
- * its own SVG through `svgIcon()`.
146
+ * its own SVG through `wrSvgIcon()`.
147
147
  *
148
148
  * Tree-shaking: every `Plus`, `Trash`, … import lives in *your* file
149
149
  * — ngwr ships only this wrapper, not the icon data. Unused icons in
@@ -152,16 +152,16 @@ declare function lucide(name: string, children: LucideIconNode): WrIconDef;
152
152
  * @example
153
153
  * ```ts
154
154
  * import { Plus, Trash, ChevronDown } from 'lucide';
155
- * import { lucideIcons, provideWrIcons } from 'ngwr/icon';
155
+ * import { wrLucideIcons, provideWrIcons } from 'ngwr/icon';
156
156
  *
157
157
  * bootstrapApplication(AppComponent, {
158
158
  * providers: [
159
- * provideWrIcons(lucideIcons({ plus: Plus, trash: Trash, 'chevron-down': ChevronDown })),
159
+ * provideWrIcons(wrLucideIcons({ plus: Plus, trash: Trash, 'chevron-down': ChevronDown })),
160
160
  * ],
161
161
  * });
162
162
  * ```
163
163
  */
164
- declare function lucideIcons(icons: Record<string, LucideIconNode>): WrIconDef[];
164
+ declare function wrLucideIcons(icons: Record<string, WrLucideIconNode>): WrIconDef[];
165
165
  /**
166
166
  * Registers a set of icons for use by `<wr-icon>`.
167
167
  *
@@ -184,25 +184,25 @@ declare function lucideIcons(icons: Record<string, LucideIconNode>): WrIconDef[]
184
184
  * ```ts
185
185
  * // App-level registration, from the app's own `lucide` install.
186
186
  * import { Home, Settings, User } from 'lucide';
187
- * import { lucideIcons, provideWrIcons } from 'ngwr/icon';
187
+ * import { wrLucideIcons, provideWrIcons } from 'ngwr/icon';
188
188
  *
189
189
  * export const appConfig: ApplicationConfig = {
190
- * providers: [provideWrIcons(lucideIcons({ home: Home, user: User, settings: Settings }))],
190
+ * providers: [provideWrIcons(wrLucideIcons({ home: Home, user: User, settings: Settings }))],
191
191
  * };
192
192
  * ```
193
193
  *
194
194
  * @example
195
195
  * ```ts
196
- * // Component-level registration, from raw SVG. `svgIcon` names the glyph;
196
+ * // Component-level registration, from raw SVG. `wrSvgIcon` names the glyph;
197
197
  * // the name is what `<wr-icon name="…">` looks up.
198
- * import { WrIcon, provideWrIcons, svgIcon } from 'ngwr/icon';
198
+ * import { WrIcon, provideWrIcons, wrSvgIcon } from 'ngwr/icon';
199
199
  *
200
200
  * const BRAND = '<svg viewBox="0 0 24 24"><path d="M4 12h16" /></svg>';
201
201
  *
202
202
  * @Component({
203
203
  * selector: 'ngwr-header',
204
204
  * imports: [WrIcon],
205
- * providers: [provideWrIcons([svgIcon('brand', BRAND)])],
205
+ * providers: [provideWrIcons([wrSvgIcon('brand', BRAND)])],
206
206
  * template: `<wr-icon name="brand" />`,
207
207
  * })
208
208
  * export class HeaderComponent {}
@@ -220,13 +220,13 @@ export declare function provideWrIcons(icons: WrIconDef[]): Provider[];
220
220
  * a string at build time.
221
221
  *
222
222
  * Lucide is the one set that ships no SVG markup — its exports are IconNode
223
- * tuples — so it goes through {@link lucideIcons} instead. Feather needs no
223
+ * tuples — so it goes through {@link wrLucideIcons} instead. Feather needs no
224
224
  * converter: `feather-icons` ships every icon as a complete `<svg>` under
225
225
  * `dist/icons/`, the same string `feather.icons[name].toSvg()` returns.
226
226
  *
227
227
  * @example
228
228
  * ```ts
229
- * import { svgIcon, provideWrIcons } from 'ngwr/icon';
229
+ * import { wrSvgIcon, provideWrIcons } from 'ngwr/icon';
230
230
  * // Vite: the `?raw` suffix returns the file as a string.
231
231
  * import plusSvg from '@tabler/icons/icons/outline/plus.svg?raw';
232
232
  * import phosphorPlusSvg from '@phosphor-icons/core/assets/regular/plus.svg?raw';
@@ -235,9 +235,9 @@ export declare function provideWrIcons(icons: WrIconDef[]): Provider[];
235
235
  * bootstrapApplication(AppComponent, {
236
236
  * providers: [
237
237
  * provideWrIcons([
238
- * svgIcon('plus', plusSvg),
239
- * svgIcon('plus-phosphor', phosphorPlusSvg),
240
- * svgIcon('plus-feather', featherPlusSvg),
238
+ * wrSvgIcon('plus', plusSvg),
239
+ * wrSvgIcon('plus-phosphor', phosphorPlusSvg),
240
+ * wrSvgIcon('plus-feather', featherPlusSvg),
241
241
  * ]),
242
242
  * ],
243
243
  * });
@@ -252,5 +252,5 @@ export declare function provideWrIcons(icons: WrIconDef[]): Provider[];
252
252
  * before anything reaches the DOM. In dev mode the component names what it
253
253
  * removed, so a legitimate icon that loses something says so out loud.
254
254
  */
255
- export declare function svgIcon(name: string, svg: string): WrIconDef;
256
- export { type LucideIconNode, type WrIconDef, type WrIconName, lucide, lucideIcons };
255
+ export declare function wrSvgIcon(name: string, svg: string): WrIconDef;
256
+ export { type WrIconDef, type WrIconName, type WrLucideIconNode, wrLucide, wrLucideIcons };
@@ -181,10 +181,10 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
181
181
  /**
182
182
  * Above this, the anti-drift round is skipped — it would MANUFACTURE drift.
183
183
  *
184
- * `round(v, 10)` is `Math.round((v + EPSILON) * 1e10) / 1e10`, and the scale
184
+ * `wrRound(v, 10)` is `Math.round((v + EPSILON) * 1e10) / 1e10`, and the scale
185
185
  * factor is only exact while `v * 1e10` stays inside 2^53, i.e. |v| under
186
186
  * about 900,720. In practice the round-trip still recovers up to ~9.2e8 and
187
- * then breaks: `round(1000000001, 10)` is `1000000000.9999999`, and since
187
+ * then breaks: `wrRound(1000000001, 10)` is `1000000000.9999999`, and since
188
188
  * `format` prints up to 20 fraction digits that tail reaches the screen —
189
189
  * and compounds, because the next press starts from it. Integer stepping at
190
190
  * that magnitude is exact in IEEE754 and needed no help; the only thing this