ngwr 15.8.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 (376) 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 +263 -32
  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/pagination/styles/_index.scss +8 -0
  302. package/schematics/icon-set/index.js +3 -3
  303. package/schematics/migrations/v16/index.js +742 -0
  304. package/schematics/migrations.json +5 -0
  305. package/schematics/ng-add/index.js +4 -4
  306. package/schematics/provider/index.js +4 -4
  307. package/schematics/use/symbol-map.json +2 -0
  308. package/select/styles/_index.scss +1 -1
  309. package/skills/ngwr/SKILL.md +6 -4
  310. package/skills/ngwr/references/catalog.md +4 -2
  311. package/skills/ngwr/references/setup.md +10 -9
  312. package/table/styles/_index.scss +92 -30
  313. package/toast/styles/_index.scss +30 -0
  314. package/tree/styles/_index.scss +17 -0
  315. package/types/index-CXbgza47.d.ts +13 -0
  316. package/types/ngwr-animations-aurora.d.ts +1 -1
  317. package/types/ngwr-animations-blur-reveal.d.ts +2 -2
  318. package/types/ngwr-animations-dot-grid.d.ts +1 -2
  319. package/types/ngwr-animations-flow-lines.d.ts +1 -1
  320. package/types/ngwr-animations-fluid-cursor.d.ts +1 -1
  321. package/types/ngwr-animations-reveal.d.ts +4 -8
  322. package/types/ngwr-animations-ripple-grid.d.ts +1 -1
  323. package/types/ngwr-animations-spotlight.d.ts +1 -1
  324. package/types/ngwr-animations-thread-lines.d.ts +1 -1
  325. package/types/ngwr-animations-tilt.d.ts +1 -1
  326. package/types/ngwr-avatar.d.ts +2 -2
  327. package/types/ngwr-badge.d.ts +1 -1
  328. package/types/ngwr-cascader.d.ts +12 -1
  329. package/types/ngwr-charts-boxplot-chart.d.ts +1 -1
  330. package/types/ngwr-charts-bullet-chart.d.ts +2 -2
  331. package/types/ngwr-charts-candlestick-chart.d.ts +1 -1
  332. package/types/ngwr-charts-core.d.ts +12 -12
  333. package/types/ngwr-charts-line-chart.d.ts +2 -2
  334. package/types/ngwr-charts-radar-chart.d.ts +1 -1
  335. package/types/ngwr-charts-scatter-chart.d.ts +2 -2
  336. package/types/ngwr-charts-waterfall-chart.d.ts +1 -1
  337. package/types/ngwr-color-picker.d.ts +12 -12
  338. package/types/ngwr-copy-value-testing.d.ts +87 -0
  339. package/types/ngwr-copy-value.d.ts +95 -0
  340. package/types/ngwr-date-picker-testing.d.ts +3 -3
  341. package/types/ngwr-date-picker.d.ts +97 -1
  342. package/types/ngwr-date.d.ts +44 -3
  343. package/types/ngwr-dialog.d.ts +50 -3
  344. package/types/ngwr-directives.d.ts +40 -0
  345. package/types/ngwr-drawer.d.ts +1 -1
  346. package/types/ngwr-dropdown.d.ts +3 -2
  347. package/types/ngwr-hotkey.d.ts +5 -5
  348. package/types/ngwr-i18n.d.ts +3 -3
  349. package/types/ngwr-icon.d.ts +26 -26
  350. package/types/ngwr-input-number.d.ts +2 -2
  351. package/types/ngwr-input.d.ts +8 -8
  352. package/types/ngwr-load-state.d.ts +6 -6
  353. package/types/ngwr-meta.d.ts +18 -0
  354. package/types/ngwr-pipes.d.ts +6 -4
  355. package/types/ngwr-platform.d.ts +2 -1
  356. package/types/ngwr-popconfirm.d.ts +3 -2
  357. package/types/ngwr-popover.d.ts +4 -3
  358. package/types/ngwr-select.d.ts +33 -18
  359. package/types/ngwr-slider-testing.d.ts +2 -2
  360. package/types/ngwr-slider.d.ts +3 -3
  361. package/types/ngwr-statistic.d.ts +5 -1
  362. package/types/ngwr-storage.d.ts +1 -1
  363. package/types/ngwr-table-testing.d.ts +2 -1
  364. package/types/ngwr-table.d.ts +155 -18
  365. package/types/ngwr-tabs.d.ts +10 -2
  366. package/types/ngwr-toast-testing.d.ts +6 -2
  367. package/types/ngwr-toast.d.ts +33 -5
  368. package/types/ngwr-transfer.d.ts +5 -0
  369. package/types/ngwr-tree.d.ts +22 -2
  370. package/types/ngwr-utils.d.ts +157 -82
  371. package/types/ngwr-validators.d.ts +4 -2
  372. package/types/ngwr-version.d.ts +1 -1
  373. package/types/ngwr.d.ts +1 -0
  374. package/types/pointer-tracker-D7fXxLQL.d.ts +24 -0
  375. package/fesm2022/ngwr-animations-core.mjs.map +0 -1
  376. package/types/ngwr-animations-core.d.ts +0 -294
@@ -7,7 +7,7 @@ import { DOCUMENT as DOCUMENT$1, isPlatformBrowser } from "@angular/common";
7
7
  * Use of this source code is governed by an MIT-style license that can be
8
8
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
9
9
  */
10
- function isDefined(value) {
10
+ function wrIsDefined(value) {
11
11
  return value !== null && value !== void 0;
12
12
  }
13
13
  /**
@@ -16,7 +16,7 @@ function isDefined(value) {
16
16
  * Use of this source code is governed by an MIT-style license that can be
17
17
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
18
18
  */
19
- function isNonEmptyArray(value) {
19
+ function wrIsNonEmptyArray(value) {
20
20
  return Array.isArray(value) && value.length > 0;
21
21
  }
22
22
  /**
@@ -25,10 +25,10 @@ function isNonEmptyArray(value) {
25
25
  * Use of this source code is governed by an MIT-style license that can be
26
26
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
27
27
  */
28
- function isObservable(value) {
28
+ function wrIsObservable(value) {
29
29
  return !!value && typeof value.subscribe === "function";
30
30
  }
31
- function clamp(value, min, max) {
31
+ function wrClamp(value, min, max) {
32
32
  return Math.min(max, Math.max(min, value));
33
33
  }
34
34
  /**
@@ -154,18 +154,18 @@ function wrDecimalRound(value, decimals) {
154
154
  if (d === null || !isScale(decimals)) return null;
155
155
  return print(rescale(d, decimals));
156
156
  }
157
- function round(value, decimals = 0) {
157
+ function wrRound(value, decimals = 0) {
158
158
  const factor = 10 ** decimals;
159
159
  return Math.round((value + Number.EPSILON) * factor) / factor;
160
160
  }
161
- const numAttr = (fallback) => (value) => coerceNumberProperty(value, fallback);
161
+ const wrNumAttr = (fallback) => (value) => coerceNumberProperty(value, fallback);
162
162
  /**
163
163
  * @license
164
164
  *
165
165
  * Use of this source code is governed by an MIT-style license that can be
166
166
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
167
167
  */
168
- function toClassList(...values) {
168
+ function wrToClassList(...values) {
169
169
  const out = [];
170
170
  const seen = /* @__PURE__ */ new Set();
171
171
  for (const value of values) {
@@ -209,7 +209,7 @@ const ALLOWED_FUNCTIONS = /* @__PURE__ */ new Set([
209
209
  "max",
210
210
  "clamp"
211
211
  ]);
212
- function isSafeCssValue(value) {
212
+ function wrIsSafeCssValue(value) {
213
213
  if (typeof value !== "string") return false;
214
214
  const trimmed = value.trim();
215
215
  if (trimmed === "" || trimmed.length > MAX_LENGTH$1) return false;
@@ -318,7 +318,7 @@ function wrDownloadBlob(blob, fileName) {
318
318
  * Use of this source code is governed by an MIT-style license that can be
319
319
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
320
320
  */
321
- function getRootFontSize(fallback = 16) {
321
+ function wrGetRootFontSize(fallback = 16) {
322
322
  try {
323
323
  if (typeof window === "undefined" || typeof document === "undefined") return fallback;
324
324
  const raw = window.getComputedStyle(document.documentElement).fontSize;
@@ -353,12 +353,12 @@ function isRendered(el) {
353
353
  if (el.getClientRects().length === 0) return false;
354
354
  return el.ownerDocument.defaultView?.getComputedStyle(el).visibility !== "hidden";
355
355
  }
356
- function getFocusableElements(root) {
356
+ function wrGetFocusableElements(root) {
357
357
  return Array.from(root.querySelectorAll(FOCUSABLE_SELECTOR)).filter((el) => isRendered(el) || el === document.activeElement);
358
358
  }
359
- function trapFocus(root, event) {
359
+ function wrTrapFocus(root, event) {
360
360
  if (event.key !== "Tab") return false;
361
- const focusable = getFocusableElements(root);
361
+ const focusable = wrGetFocusableElements(root);
362
362
  if (focusable.length === 0) return false;
363
363
  const first = focusable[0];
364
364
  const last = focusable[focusable.length - 1];
@@ -435,7 +435,7 @@ function parseChannels(color) {
435
435
  4
436
436
  ].map((at) => Number.parseInt(full.slice(at, at + 2), 16) / 255);
437
437
  }
438
- function resolveCssColor(context, expression, fallback) {
438
+ function wrResolveCssColor(context, expression, fallback) {
439
439
  const view = context.ownerDocument.defaultView;
440
440
  if (!view) return fallback;
441
441
  try {
@@ -453,9 +453,9 @@ function resolveCssColor(context, expression, fallback) {
453
453
  } catch {}
454
454
  return fallback;
455
455
  }
456
- function resolveCssColorChannels(context, expression, fallback) {
457
- const read = (color) => parseChannels(color) ?? parseChannels(resolveCssColor(context, `color-mix(in srgb, ${color} 100%, transparent)`, ""));
458
- return read(resolveCssColor(context, expression, fallback)) ?? read(fallback) ?? [
456
+ function wrResolveCssColorChannels(context, expression, fallback) {
457
+ const read = (color) => parseChannels(color) ?? parseChannels(wrResolveCssColor(context, `color-mix(in srgb, ${color} 100%, transparent)`, ""));
458
+ return read(wrResolveCssColor(context, expression, fallback)) ?? read(fallback) ?? [
459
459
  0,
460
460
  0,
461
461
  0
@@ -484,8 +484,8 @@ function resolveScheme(doc, query) {
484
484
  const meta = doc.querySelector("meta[name=\"color-scheme\"]")?.content ?? "";
485
485
  return pick(declared, osDark) ?? pick(meta, osDark) ?? "light";
486
486
  }
487
- function watchColorScheme(callback, options = {}) {
488
- if (!options.injector) assertInInjectionContext(watchColorScheme);
487
+ function wrWatchColorScheme(callback, options = {}) {
488
+ if (!options.injector) assertInInjectionContext(wrWatchColorScheme);
489
489
  const injector = options.injector;
490
490
  const get = (token) => injector ? injector.get(token) : inject(token);
491
491
  if (get(PLATFORM_ID) !== "browser") return () => void 0;
@@ -519,8 +519,8 @@ function watchColorScheme(callback, options = {}) {
519
519
  * Use of this source code is governed by an MIT-style license that can be
520
520
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
521
521
  */
522
- function resolveCssSize(raw, options = {}) {
523
- const rootFontSize = getRootFontSize();
522
+ function wrResolveCssSize(raw, options = {}) {
523
+ const rootFontSize = wrGetRootFontSize();
524
524
  const value = raw ?? options.defaultValue;
525
525
  if (value == null) return {
526
526
  cssValue: "0px",
@@ -586,7 +586,7 @@ function defaultRandomBytes(count) {
586
586
  for (let i = 0; i < count; i++) buf[i] = Math.floor(Math.random() * 256);
587
587
  return buf;
588
588
  }
589
- function randomId(prefix = "wr", length = DEFAULT_LENGTH, random) {
589
+ function wrRandomId(prefix = "wr", length = DEFAULT_LENGTH, random) {
590
590
  const safeLength = Math.min(Math.max(Math.trunc(length), MIN_LENGTH), MAX_LENGTH);
591
591
  const bytes = random ? random(safeLength) : defaultRandomBytes(safeLength);
592
592
  let result = "";
@@ -599,14 +599,14 @@ function randomId(prefix = "wr", length = DEFAULT_LENGTH, random) {
599
599
  * Use of this source code is governed by an MIT-style license that can be
600
600
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
601
601
  */
602
- const noop = () => void 0;
602
+ const wrNoop = () => void 0;
603
603
  /**
604
604
  * @license
605
605
  *
606
606
  * Use of this source code is governed by an MIT-style license that can be
607
607
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
608
608
  */
609
- function debounce(fn, waitMs) {
609
+ function wrDebounce(fn, waitMs) {
610
610
  let timer = null;
611
611
  const debounced = (...args) => {
612
612
  if (timer !== null) clearTimeout(timer);
@@ -629,7 +629,7 @@ function debounce(fn, waitMs) {
629
629
  * Use of this source code is governed by an MIT-style license that can be
630
630
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
631
631
  */
632
- function throttle(fn, waitMs) {
632
+ function wrThrottle(fn, waitMs) {
633
633
  let lastInvoke = 0;
634
634
  let trailingTimer = null;
635
635
  let pendingArgs = null;
@@ -669,7 +669,7 @@ function throttle(fn, waitMs) {
669
669
  * Use of this source code is governed by an MIT-style license that can be
670
670
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
671
671
  */
672
- const KEYS = {
672
+ const WR_KEYS = {
673
673
  ENTER: "Enter",
674
674
  ESCAPE: "Escape",
675
675
  TAB: "Tab",
@@ -689,25 +689,25 @@ const KEYS = {
689
689
  ALT: "Alt",
690
690
  META: "Meta"
691
691
  };
692
- const KEY_LABELS = {
693
- [KEYS.ENTER]: "Enter",
694
- [KEYS.ESCAPE]: "Esc",
695
- [KEYS.TAB]: "Tab",
696
- [KEYS.SPACE]: "Space",
697
- [KEYS.BACKSPACE]: "Backspace",
698
- [KEYS.DELETE]: "Delete",
699
- [KEYS.ARROW_UP]: "↑",
700
- [KEYS.ARROW_DOWN]: "↓",
701
- [KEYS.ARROW_LEFT]: "←",
702
- [KEYS.ARROW_RIGHT]: "→",
703
- [KEYS.HOME]: "Home",
704
- [KEYS.END]: "End",
705
- [KEYS.PAGE_UP]: "Page Up",
706
- [KEYS.PAGE_DOWN]: "Page Down",
707
- [KEYS.CONTROL]: "Ctrl",
708
- [KEYS.SHIFT]: "Shift",
709
- [KEYS.ALT]: "Alt",
710
- [KEYS.META]: "Win"
692
+ const WR_KEY_LABELS = {
693
+ [WR_KEYS.ENTER]: "Enter",
694
+ [WR_KEYS.ESCAPE]: "Esc",
695
+ [WR_KEYS.TAB]: "Tab",
696
+ [WR_KEYS.SPACE]: "Space",
697
+ [WR_KEYS.BACKSPACE]: "Backspace",
698
+ [WR_KEYS.DELETE]: "Delete",
699
+ [WR_KEYS.ARROW_UP]: "↑",
700
+ [WR_KEYS.ARROW_DOWN]: "↓",
701
+ [WR_KEYS.ARROW_LEFT]: "←",
702
+ [WR_KEYS.ARROW_RIGHT]: "→",
703
+ [WR_KEYS.HOME]: "Home",
704
+ [WR_KEYS.END]: "End",
705
+ [WR_KEYS.PAGE_UP]: "Page Up",
706
+ [WR_KEYS.PAGE_DOWN]: "Page Down",
707
+ [WR_KEYS.CONTROL]: "Ctrl",
708
+ [WR_KEYS.SHIFT]: "Shift",
709
+ [WR_KEYS.ALT]: "Alt",
710
+ [WR_KEYS.META]: "Win"
711
711
  };
712
712
  /**
713
713
  * @license
@@ -715,13 +715,13 @@ const KEY_LABELS = {
715
715
  * Use of this source code is governed by an MIT-style license that can be
716
716
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
717
717
  */
718
- function hasModifier(event) {
718
+ function wrHasModifier(event) {
719
719
  return event.ctrlKey || event.altKey || event.metaKey || event.shiftKey;
720
720
  }
721
- function isPrintableKey(event) {
721
+ function wrIsPrintableKey(event) {
722
722
  return event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey;
723
723
  }
724
- function isComposing(event) {
724
+ function wrIsComposing(event) {
725
725
  return event.isComposing || event.keyCode === 229;
726
726
  }
727
727
  /**
@@ -730,8 +730,7 @@ function isComposing(event) {
730
730
  * Use of this source code is governed by an MIT-style license that can be
731
731
  * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
732
732
  */
733
- function badgeLog(badgeText, color, message) {
734
- const style = `
733
+ const badgeStyle = (color) => `
735
734
  display: inline-block;
736
735
  border: 1px solid ${color};
737
736
  color: ${color};
@@ -739,7 +738,32 @@ function badgeLog(badgeText, color, message) {
739
738
  border-radius: 4px;
740
739
  margin-right: 0
741
740
  `;
742
- console.log(`%c${badgeText}`, style, message);
741
+ /**
742
+ * @license
743
+ *
744
+ * Use of this source code is governed by an MIT-style license that can be
745
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
746
+ */
747
+ function wrBadgeError(badgeText, color, message) {
748
+ console.error(`%c${badgeText}`, badgeStyle(color), message);
749
+ }
750
+ /**
751
+ * @license
752
+ *
753
+ * Use of this source code is governed by an MIT-style license that can be
754
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
755
+ */
756
+ function wrBadgeLog(badgeText, color, message) {
757
+ console.log(`%c${badgeText}`, badgeStyle(color), message);
758
+ }
759
+ /**
760
+ * @license
761
+ *
762
+ * Use of this source code is governed by an MIT-style license that can be
763
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
764
+ */
765
+ function wrBadgeWarn(badgeText, color, message) {
766
+ console.warn(`%c${badgeText}`, badgeStyle(color), message);
743
767
  }
744
768
  /**
745
769
  * @license
@@ -754,16 +778,35 @@ function graphemes(text) {
754
778
  segmenter ??= new Intl.Segmenter(void 0, { granularity: "grapheme" });
755
779
  return [...segmenter.segment(text)].map((s) => s.segment);
756
780
  }
757
- function wrInitials(name, locale) {
781
+ function initialOf(word) {
782
+ return graphemes(word).find((g) => INITIAL.test(g));
783
+ }
784
+ function upperCase(initial, locale) {
785
+ const upper = locale === void 0 ? initial.toUpperCase() : initial.toLocaleUpperCase(locale);
786
+ return graphemes(upper).length === 1 ? upper : initial;
787
+ }
788
+ function surname(words, locale, order) {
789
+ const parts = words.flatMap((word) => {
790
+ const initial = initialOf(word);
791
+ return initial === void 0 ? [] : [{
792
+ word,
793
+ initial
794
+ }];
795
+ });
796
+ const family = order === "family-first" ? parts.shift() : parts.pop();
797
+ if (family === void 0) return "";
798
+ return [family.word, ...parts.map((part) => `${upperCase(part.initial, locale)}.`)].join(" ");
799
+ }
800
+ function wrInitials(name, locale, options) {
758
801
  if (name === null || name === void 0) return "";
759
802
  const words = String(name).trim().split(/\s+/u);
803
+ if (options?.style === "surname") return surname(words, locale, options.order ?? "given-first");
760
804
  let out = "";
761
805
  let count = 0;
762
806
  for (const word of words) {
763
- const initial = graphemes(word).find((g) => INITIAL.test(g));
807
+ const initial = initialOf(word);
764
808
  if (initial === void 0) continue;
765
- const upper = locale === void 0 ? initial.toUpperCase() : initial.toLocaleUpperCase(locale);
766
- out += graphemes(upper).length === 1 ? upper : initial;
809
+ out += upperCase(initial, locale);
767
810
  if (++count === 2 || SYLLABIC.test(initial)) break;
768
811
  }
769
812
  return out;
@@ -892,6 +935,6 @@ function wrResourceValue(resource, fallback) {
892
935
  effect(() => value());
893
936
  return value.asReadonly();
894
937
  }
895
- export { KEYS, KEY_LABELS, badgeLog, clamp, debounce, getFocusableElements, getRootFontSize, hasModifier, isComposing, isDefined, isNonEmptyArray, isObservable, isPrintableKey, isSafeCssValue, noop, numAttr, randomId, resolveCssColor, resolveCssColorChannels, resolveCssSize, round, throttle, toClassList, trapFocus, watchColorScheme, wrAction, wrCheckStyles, wrContentDispositionFileName, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, wrDownloadBlob, wrFeature, wrInitials, wrKeyedAction, wrResourceValue, wrRestoreFocus };
938
+ export { WR_KEYS, WR_KEY_LABELS, wrAction, wrBadgeError, wrBadgeLog, wrBadgeWarn, wrCheckStyles, wrClamp, wrContentDispositionFileName, wrDebounce, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, wrDownloadBlob, wrFeature, wrGetFocusableElements, wrGetRootFontSize, wrHasModifier, wrInitials, wrIsComposing, wrIsDefined, wrIsNonEmptyArray, wrIsObservable, wrIsPrintableKey, wrIsSafeCssValue, wrKeyedAction, wrNoop, wrNumAttr, wrRandomId, wrResolveCssColor, wrResolveCssColorChannels, wrResolveCssSize, wrResourceValue, wrRestoreFocus, wrRound, wrThrottle, wrToClassList, wrTrapFocus, wrWatchColorScheme };
896
939
 
897
940
  //# sourceMappingURL=ngwr-utils.mjs.map