ngwr 16.2.0 → 16.4.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 (418) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/carousel/styles/_index.scss +53 -1
  4. package/cascader/styles/_rules.scss +7 -0
  5. package/color-picker/styles/_index.scss +21 -0
  6. package/date-picker/styles/_index.scss +19 -0
  7. package/dropdown/styles/_index.scss +13 -19
  8. package/fesm2022/ngwr-affix.mjs +3 -3
  9. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  10. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  11. package/fesm2022/ngwr-alert.mjs +3 -3
  12. package/fesm2022/ngwr-anchor.mjs +17 -6
  13. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  14. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  15. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  16. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  17. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  18. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  19. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  20. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  21. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  22. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  23. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  25. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  26. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  27. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  28. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  29. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  30. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  31. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  32. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  33. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  34. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  35. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  36. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  37. package/fesm2022/ngwr-avatar.mjs +3 -3
  38. package/fesm2022/ngwr-back-top.mjs +3 -3
  39. package/fesm2022/ngwr-badge.mjs +129 -11
  40. package/fesm2022/ngwr-badge.mjs.map +1 -1
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  42. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  43. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  44. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  45. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  46. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  47. package/fesm2022/ngwr-burger.mjs +3 -3
  48. package/fesm2022/ngwr-button.mjs +6 -6
  49. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  50. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  51. package/fesm2022/ngwr-calendar.mjs +500 -73
  52. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  53. package/fesm2022/ngwr-card.mjs +9 -9
  54. package/fesm2022/ngwr-carousel-testing.mjs +24 -1
  55. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  56. package/fesm2022/ngwr-carousel.mjs +73 -10
  57. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  58. package/fesm2022/ngwr-cascader.mjs +45 -37
  59. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  60. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  61. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  62. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  63. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  64. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  65. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  66. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  67. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-core.mjs +3 -3
  69. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  70. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  71. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  72. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  73. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  74. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  75. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  77. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  79. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  81. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  83. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  85. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  86. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  87. package/fesm2022/ngwr-checkbox.mjs +6 -6
  88. package/fesm2022/ngwr-clipboard.mjs +3 -3
  89. package/fesm2022/ngwr-collapse.mjs +9 -9
  90. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  91. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  92. package/fesm2022/ngwr-color-picker.mjs +153 -37
  93. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  94. package/fesm2022/ngwr-command-palette.mjs +3 -3
  95. package/fesm2022/ngwr-comment.mjs +10 -6
  96. package/fesm2022/ngwr-comment.mjs.map +1 -1
  97. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  98. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  99. package/fesm2022/ngwr-compare.mjs +3 -3
  100. package/fesm2022/ngwr-context-menu.mjs +28 -13
  101. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  102. package/fesm2022/ngwr-cookie.mjs +3 -3
  103. package/fesm2022/ngwr-copy-value.mjs +3 -3
  104. package/fesm2022/ngwr-counter.mjs +6 -6
  105. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  106. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  107. package/fesm2022/ngwr-date-picker.mjs +342 -69
  108. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  109. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  110. package/fesm2022/ngwr-date.mjs +59 -8
  111. package/fesm2022/ngwr-date.mjs.map +1 -1
  112. package/fesm2022/ngwr-density.mjs +6 -6
  113. package/fesm2022/ngwr-descriptions.mjs +6 -6
  114. package/fesm2022/ngwr-dialog.mjs +18 -18
  115. package/fesm2022/ngwr-directives.mjs +15 -15
  116. package/fesm2022/ngwr-divider.mjs +3 -3
  117. package/fesm2022/ngwr-drawer.mjs +51 -29
  118. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  119. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  120. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  121. package/fesm2022/ngwr-dropdown.mjs +70 -99
  122. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  123. package/fesm2022/ngwr-editor.mjs +4 -3
  124. package/fesm2022/ngwr-editor.mjs.map +1 -1
  125. package/fesm2022/ngwr-empty.mjs +3 -3
  126. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  127. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  128. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  129. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  130. package/fesm2022/ngwr-file-upload.mjs +279 -16
  131. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  132. package/fesm2022/ngwr-form.mjs +9 -9
  133. package/fesm2022/ngwr-form.mjs.map +1 -1
  134. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  135. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  136. package/fesm2022/ngwr-graph.mjs +664 -43
  137. package/fesm2022/ngwr-graph.mjs.map +1 -1
  138. package/fesm2022/ngwr-hotkey.mjs +6 -6
  139. package/fesm2022/ngwr-i18n-ar.mjs +27 -8
  140. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  141. package/fesm2022/ngwr-i18n-cs.mjs +27 -8
  142. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  143. package/fesm2022/ngwr-i18n-de.mjs +27 -8
  144. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  145. package/fesm2022/ngwr-i18n-en.mjs +27 -8
  146. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  147. package/fesm2022/ngwr-i18n-es.mjs +27 -8
  148. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  149. package/fesm2022/ngwr-i18n-fr.mjs +27 -8
  150. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  151. package/fesm2022/ngwr-i18n-he.mjs +27 -8
  152. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  153. package/fesm2022/ngwr-i18n-hi.mjs +27 -8
  154. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  155. package/fesm2022/ngwr-i18n-id.mjs +27 -8
  156. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  157. package/fesm2022/ngwr-i18n-it.mjs +27 -8
  158. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  159. package/fesm2022/ngwr-i18n-ja.mjs +27 -8
  160. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  161. package/fesm2022/ngwr-i18n-ko.mjs +27 -8
  162. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  163. package/fesm2022/ngwr-i18n-nl.mjs +27 -8
  164. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  165. package/fesm2022/ngwr-i18n-pl.mjs +27 -8
  166. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  167. package/fesm2022/ngwr-i18n-pt.mjs +27 -8
  168. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  169. package/fesm2022/ngwr-i18n-ru.mjs +27 -8
  170. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  171. package/fesm2022/ngwr-i18n-sv.mjs +27 -8
  172. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  173. package/fesm2022/ngwr-i18n-tr.mjs +27 -8
  174. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  175. package/fesm2022/ngwr-i18n-uk.mjs +27 -8
  176. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  177. package/fesm2022/ngwr-i18n-vi.mjs +27 -8
  178. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  179. package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
  180. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  181. package/fesm2022/ngwr-i18n-zh.mjs +27 -8
  182. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  183. package/fesm2022/ngwr-i18n.mjs +9 -9
  184. package/fesm2022/ngwr-icon.mjs +6 -6
  185. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  186. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  187. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  188. package/fesm2022/ngwr-input-number.mjs +68 -7
  189. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  190. package/fesm2022/ngwr-input-otp.mjs +23 -3
  191. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  192. package/fesm2022/ngwr-input-testing.mjs +24 -1
  193. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  194. package/fesm2022/ngwr-input.mjs +152 -36
  195. package/fesm2022/ngwr-input.mjs.map +1 -1
  196. package/fesm2022/ngwr-keyboard.mjs +3 -3
  197. package/fesm2022/ngwr-knob.mjs +3 -3
  198. package/fesm2022/ngwr-layout.mjs +15 -15
  199. package/fesm2022/ngwr-lightbox.mjs +8 -8
  200. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  201. package/fesm2022/ngwr-list.mjs +8 -8
  202. package/fesm2022/ngwr-list.mjs.map +1 -1
  203. package/fesm2022/ngwr-load-state.mjs +15 -15
  204. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  205. package/fesm2022/ngwr-mention.mjs +6 -6
  206. package/fesm2022/ngwr-meta.mjs +6 -6
  207. package/fesm2022/ngwr-overlay.mjs +175 -13
  208. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  209. package/fesm2022/ngwr-page-header.mjs +3 -3
  210. package/fesm2022/ngwr-pagination.mjs +6 -3
  211. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  212. package/fesm2022/ngwr-pipes.mjs +31 -29
  213. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  214. package/fesm2022/ngwr-platform.mjs +9 -9
  215. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  216. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  217. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  218. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  219. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  220. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  221. package/fesm2022/ngwr-popover.mjs +58 -156
  222. package/fesm2022/ngwr-popover.mjs.map +1 -1
  223. package/fesm2022/ngwr-progress.mjs +50 -9
  224. package/fesm2022/ngwr-progress.mjs.map +1 -1
  225. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  226. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  227. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  228. package/fesm2022/ngwr-qr.mjs +3 -3
  229. package/fesm2022/ngwr-radio.mjs +6 -6
  230. package/fesm2022/ngwr-rating.mjs +3 -3
  231. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  232. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  233. package/fesm2022/ngwr-resizable.mjs +3 -3
  234. package/fesm2022/ngwr-result.mjs +12 -12
  235. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  236. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  237. package/fesm2022/ngwr-schema-form.mjs +416 -19
  238. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  239. package/fesm2022/ngwr-scroll.mjs +3 -3
  240. package/fesm2022/ngwr-segmented.mjs +3 -3
  241. package/fesm2022/ngwr-select-testing.mjs +19 -0
  242. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  243. package/fesm2022/ngwr-select.mjs +361 -84
  244. package/fesm2022/ngwr-select.mjs.map +1 -1
  245. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  246. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  247. package/fesm2022/ngwr-sidebar.mjs +3 -3
  248. package/fesm2022/ngwr-skeleton.mjs +3 -3
  249. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  250. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  251. package/fesm2022/ngwr-slider.mjs +21 -3
  252. package/fesm2022/ngwr-slider.mjs.map +1 -1
  253. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  254. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  255. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  256. package/fesm2022/ngwr-spinner.mjs +3 -3
  257. package/fesm2022/ngwr-splitter.mjs +3 -3
  258. package/fesm2022/ngwr-statistic.mjs +9 -9
  259. package/fesm2022/ngwr-stepper.mjs +42 -11
  260. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  261. package/fesm2022/ngwr-storage.mjs +3 -3
  262. package/fesm2022/ngwr-switch.mjs +3 -3
  263. package/fesm2022/ngwr-table-testing.mjs +157 -3
  264. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-table.mjs +1051 -74
  266. package/fesm2022/ngwr-table.mjs.map +1 -1
  267. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  268. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  269. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  270. package/fesm2022/ngwr-tabs.mjs +15 -10
  271. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  272. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  273. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  274. package/fesm2022/ngwr-textarea.mjs +128 -16
  275. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  276. package/fesm2022/ngwr-theme.mjs +3 -3
  277. package/fesm2022/ngwr-timeline.mjs +6 -6
  278. package/fesm2022/ngwr-toast.mjs +40 -19
  279. package/fesm2022/ngwr-toast.mjs.map +1 -1
  280. package/fesm2022/ngwr-toolbar.mjs +3 -3
  281. package/fesm2022/ngwr-tour-testing.mjs +13 -1
  282. package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tour.mjs +19 -15
  284. package/fesm2022/ngwr-tour.mjs.map +1 -1
  285. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  286. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  287. package/fesm2022/ngwr-transfer.mjs +24 -5
  288. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  289. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  290. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  291. package/fesm2022/ngwr-tree.mjs +978 -79
  292. package/fesm2022/ngwr-tree.mjs.map +1 -1
  293. package/fesm2022/ngwr-typography.mjs +3 -3
  294. package/fesm2022/ngwr-utils-router.mjs +3 -3
  295. package/fesm2022/ngwr-utils.mjs +97 -1
  296. package/fesm2022/ngwr-utils.mjs.map +1 -1
  297. package/fesm2022/ngwr-version.mjs +1 -1
  298. package/fesm2022/ngwr-version.mjs.map +1 -1
  299. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  300. package/fesm2022/ngwr-window.mjs +33 -22
  301. package/fesm2022/ngwr-window.mjs.map +1 -1
  302. package/file-upload/styles/_index.scss +156 -0
  303. package/graph/styles/_index.scss +87 -0
  304. package/i18n/ar.json +29 -8
  305. package/i18n/cs.json +29 -8
  306. package/i18n/de.json +29 -8
  307. package/i18n/en.json +29 -8
  308. package/i18n/es.json +29 -8
  309. package/i18n/fr.json +29 -8
  310. package/i18n/he.json +29 -8
  311. package/i18n/hi.json +29 -8
  312. package/i18n/id.json +29 -8
  313. package/i18n/it.json +29 -8
  314. package/i18n/ja.json +29 -8
  315. package/i18n/ko.json +29 -8
  316. package/i18n/nl.json +29 -8
  317. package/i18n/pl.json +29 -8
  318. package/i18n/pt.json +29 -8
  319. package/i18n/ru.json +29 -8
  320. package/i18n/sv.json +29 -8
  321. package/i18n/tr.json +29 -8
  322. package/i18n/uk.json +29 -8
  323. package/i18n/vi.json +29 -8
  324. package/i18n/zh-TW.json +29 -8
  325. package/i18n/zh.json +29 -8
  326. package/input/styles/_index.scss +68 -1
  327. package/input-otp/styles/_index.scss +14 -0
  328. package/llms-full.txt +53 -21
  329. package/llms.txt +57 -24
  330. package/overlay/styles/_arrow.scss +4 -4
  331. package/package.json +33 -1
  332. package/popconfirm/styles/_index.scss +3 -11
  333. package/progress/styles/_index.scss +32 -0
  334. package/schema-form/styles/_index.scss +78 -0
  335. package/schematics/collection.json +5 -0
  336. package/schematics/eject/index.js +158 -0
  337. package/schematics/eject/schema.js +8 -0
  338. package/schematics/eject/schema.json +24 -0
  339. package/schematics/eject/source.js +295 -0
  340. package/schematics/use/rule.js +2 -0
  341. package/schematics/use/symbol-map.json +5 -0
  342. package/select/styles/_index.scss +127 -22
  343. package/skills/ngwr/SKILL.md +31 -4
  344. package/skills/ngwr/references/catalog.md +9 -1
  345. package/slider/styles/_index.scss +22 -0
  346. package/table/styles/_index.scss +191 -3
  347. package/textarea/styles/_index.scss +80 -0
  348. package/theme/styles/_focus.scss +16 -1
  349. package/theme/styles/_motion.scss +5 -0
  350. package/transfer/styles/_index.scss +84 -0
  351. package/tree/styles/_index.scss +138 -5
  352. package/types/ngwr-alert-testing.d.ts +88 -0
  353. package/types/ngwr-badge.d.ts +72 -2
  354. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  355. package/types/ngwr-burger-testing.d.ts +51 -0
  356. package/types/ngwr-calendar-testing.d.ts +18 -6
  357. package/types/ngwr-calendar.d.ts +272 -22
  358. package/types/ngwr-carousel-testing.d.ts +27 -6
  359. package/types/ngwr-carousel.d.ts +42 -6
  360. package/types/ngwr-cascader.d.ts +13 -6
  361. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  362. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  363. package/types/ngwr-charts-line-chart.d.ts +7 -4
  364. package/types/ngwr-color-picker-testing.d.ts +15 -4
  365. package/types/ngwr-color-picker.d.ts +76 -6
  366. package/types/ngwr-compare-testing.d.ts +72 -0
  367. package/types/ngwr-context-menu.d.ts +2 -0
  368. package/types/ngwr-date-picker-testing.d.ts +23 -8
  369. package/types/ngwr-date-picker.d.ts +100 -9
  370. package/types/ngwr-date.d.ts +71 -1
  371. package/types/ngwr-drawer.d.ts +9 -0
  372. package/types/ngwr-dropdown-testing.d.ts +20 -0
  373. package/types/ngwr-dropdown.d.ts +26 -6
  374. package/types/ngwr-event-calendar.d.ts +66 -8
  375. package/types/ngwr-file-upload-testing.d.ts +31 -2
  376. package/types/ngwr-file-upload.d.ts +156 -3
  377. package/types/ngwr-form.d.ts +47 -3
  378. package/types/ngwr-graph-testing.d.ts +36 -3
  379. package/types/ngwr-graph.d.ts +309 -13
  380. package/types/ngwr-input-number-testing.d.ts +10 -0
  381. package/types/ngwr-input-number.d.ts +30 -1
  382. package/types/ngwr-input-otp.d.ts +10 -0
  383. package/types/ngwr-input-testing.d.ts +30 -0
  384. package/types/ngwr-input.d.ts +54 -3
  385. package/types/ngwr-overlay.d.ts +84 -5
  386. package/types/ngwr-pipes.d.ts +2 -1
  387. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  388. package/types/ngwr-popconfirm.d.ts +28 -3
  389. package/types/ngwr-popover-testing.d.ts +19 -2
  390. package/types/ngwr-popover.d.ts +22 -2
  391. package/types/ngwr-progress.d.ts +29 -1
  392. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  393. package/types/ngwr-resizable-testing.d.ts +116 -0
  394. package/types/ngwr-schema-form-testing.d.ts +260 -0
  395. package/types/ngwr-schema-form.d.ts +76 -6
  396. package/types/ngwr-select-testing.d.ts +20 -0
  397. package/types/ngwr-select.d.ts +149 -11
  398. package/types/ngwr-sidebar-testing.d.ts +176 -0
  399. package/types/ngwr-slider-testing.d.ts +3 -1
  400. package/types/ngwr-slider.d.ts +21 -1
  401. package/types/ngwr-sortable-list.d.ts +6 -0
  402. package/types/ngwr-stepper.d.ts +20 -11
  403. package/types/ngwr-table-testing.d.ts +122 -7
  404. package/types/ngwr-table.d.ts +572 -50
  405. package/types/ngwr-tabs-testing.d.ts +14 -17
  406. package/types/ngwr-tabs.d.ts +6 -0
  407. package/types/ngwr-textarea-testing.d.ts +10 -0
  408. package/types/ngwr-textarea.d.ts +48 -2
  409. package/types/ngwr-toast.d.ts +8 -1
  410. package/types/ngwr-tour-testing.d.ts +10 -0
  411. package/types/ngwr-tour.d.ts +11 -2
  412. package/types/ngwr-transfer-testing.d.ts +3 -0
  413. package/types/ngwr-transfer.d.ts +24 -1
  414. package/types/ngwr-tree-testing.d.ts +65 -1
  415. package/types/ngwr-tree.d.ts +335 -12
  416. package/types/ngwr-utils.d.ts +107 -1
  417. package/types/ngwr-version.d.ts +1 -1
  418. package/types/ngwr-window.d.ts +7 -4
@@ -2,19 +2,48 @@ import * as i0 from "@angular/core";
2
2
  import { TemplateRef } from "@angular/core";
3
3
  import { WrClassInput } from "ngwr/utils";
4
4
  import { FormValueControl } from "@angular/forms/signals";
5
- /**
6
- * @license
7
- *
8
- * Use of this source code is governed by an MIT-style license that can be
9
- * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
10
- */
5
+ import { Observable } from "rxjs";
11
6
  /** A single node in a {@link WrTree}. Nodes are immutable. */
12
7
  interface WrTreeNode<TId = string> {
13
8
  readonly id: TId;
14
9
  readonly label: string;
15
10
  readonly children?: readonly WrTreeNode<TId>[];
11
+ /**
12
+ * The node has children it has not loaded. With `children` left undefined the
13
+ * row draws a toggle, and its first expand calls the tree's `loadChildren`.
14
+ */
15
+ readonly hasChildren?: boolean;
16
16
  readonly disabled?: boolean;
17
17
  }
18
+ /**
19
+ * Loads the children of a node that set `hasChildren`. Called once, on the
20
+ * first expand; the answer is cached by node id. An array, a Promise or an
21
+ * Observable (its first value is taken), as `wr-select`'s search loader.
22
+ */
23
+ type WrTreeChildrenLoader<TId = string> = (node: WrTreeNode<TId>) => Observable<readonly WrTreeNode<TId>[]> | Promise<readonly WrTreeNode<TId>[]> | readonly WrTreeNode<TId>[];
24
+ /** Decides whether a node matches the tree's `filter` text. */
25
+ type WrTreeFilterFn<TId = string> = (node: WrTreeNode<TId>, query: string) => boolean;
26
+ /** One end of a move: the parent (`null` for the root list) and the index among its children. */
27
+ interface WrTreeMoveEnd<TId = string> {
28
+ readonly parentId: TId | null;
29
+ readonly index: number;
30
+ }
31
+ /**
32
+ * Payload of `nodeMove`. `to.index` counts the new siblings WITHOUT the moved
33
+ * node, so applying it is "remove at `from`, then insert at `to`", which is
34
+ * what {@link wrMoveTreeNode} does.
35
+ */
36
+ interface WrTreeMoveEvent<TId = string> {
37
+ readonly node: WrTreeNode<TId>;
38
+ readonly from: WrTreeMoveEnd<TId>;
39
+ readonly to: WrTreeMoveEnd<TId>;
40
+ }
41
+ /** Where a node is about to land, as `canDrop` sees it. `parent` is `null` for the root list. */
42
+ interface WrTreeDropTarget<TId = string> extends WrTreeMoveEnd<TId> {
43
+ readonly parent: WrTreeNode<TId> | null;
44
+ }
45
+ /** Refuses a drop, by drag and by keyboard alike. */
46
+ type WrTreeCanDrop<TId = string> = (node: WrTreeNode<TId>, target: WrTreeDropTarget<TId>) => boolean;
18
47
  /** Trigger size for an overlay {@link WrTree} — shares the `--wr-control-*` contract. */
19
48
  type WrTreeSize = 'sm' | 'md' | 'lg';
20
49
  /** Selection mode for {@link WrTree}. */
@@ -29,6 +58,18 @@ interface FlatNode<TId> {
29
58
  readonly posinset: number;
30
59
  /** Sibling count at this level (ARIA `aria-setsize`). */
31
60
  readonly setsize: number;
61
+ /** `@for` key: the node id, or an object of its own for a status row. */
62
+ readonly key: unknown;
63
+ /** Set on the row standing for a branch's pending or failed load; `node` is that branch. */
64
+ readonly status: 'loading' | 'error' | null;
65
+ /** The node's own children are loading. */
66
+ readonly busy: boolean;
67
+ }
68
+ /** The row that carries the drop indicator, and how. */
69
+ interface DropMark {
70
+ readonly row: number;
71
+ readonly position: 'before' | 'after' | 'inside';
72
+ readonly depth: number;
32
73
  }
33
74
  interface SelectedChip<TId> {
34
75
  readonly id: TId;
@@ -80,6 +121,14 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
80
121
  readonly selected: import("@angular/core").ModelSignal<readonly TId[]>;
81
122
  /** Expanded node ids (two-way bindable). */
82
123
  readonly expanded: import("@angular/core").ModelSignal<readonly TId[]>;
124
+ /**
125
+ * Opens and closes a node by a click anywhere on its row, not only on the
126
+ * arrow. In `selectionMode="single"` the click selects too. Under `cascade`
127
+ * the checkbox is the way to check a branch, so a click elsewhere on its row
128
+ * only opens it. A disabled node and a leaf behave as without it.
129
+ * @default true
130
+ */
131
+ readonly expandOnClick: import("@angular/core").InputSignalWithTransform<boolean, any>;
83
132
  /** Selection behavior. @default 'single' */
84
133
  readonly selectionMode: import("@angular/core").InputSignal<WrTreeSelectionMode>;
85
134
  /**
@@ -180,6 +229,58 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
180
229
  * class of its own.
181
230
  */
182
231
  readonly panelClass: import("@angular/core").InputSignal<WrClassInput>;
232
+ /**
233
+ * Loads the children of a node that set `hasChildren` and left `children`
234
+ * undefined. Runs once, on the first expand, and the answer is cached by node
235
+ * id: the row shows a loading row meanwhile and an error row with a retry
236
+ * when the loader fails. Accepts an array, a Promise or an Observable.
237
+ * @default null
238
+ */
239
+ readonly loadChildren: import("@angular/core").InputSignal<WrTreeChildrenLoader<TId> | null>;
240
+ /**
241
+ * Filter text. While set, only matching nodes and their ancestors show, the
242
+ * ancestors open to reveal the matches and the match is highlighted.
243
+ * `[(expanded)]` is left alone, so clearing the text restores it. Children a
244
+ * `loadChildren` has not fetched yet are not searched.
245
+ * @default ''
246
+ */
247
+ readonly filter: import("@angular/core").InputSignal<string | null>;
248
+ /**
249
+ * Decides whether a node matches `filter`. The default is a case-insensitive
250
+ * substring of the label.
251
+ * @default null
252
+ */
253
+ readonly filterFn: import("@angular/core").InputSignal<WrTreeFilterFn<TId> | null>;
254
+ /**
255
+ * Cascading checks, in `selectionMode="multi"` only. Every row draws a
256
+ * checkbox and a click toggles it: checking a node checks its loaded,
257
+ * enabled descendants, and an ancestor is checked exactly while all of its
258
+ * enabled children are. An ancestor with only some of them checked announces
259
+ * `aria-checked="mixed"`. The value holds EVERY checked node, parents and
260
+ * leaves alike, never a mixed one. Rows announce `aria-checked` in place of
261
+ * `aria-selected`.
262
+ * @default false
263
+ */
264
+ readonly cascade: import("@angular/core").InputSignalWithTransform<boolean, any>;
265
+ /**
266
+ * Lets rows be moved: dragged between rows to reorder, onto a row to become
267
+ * its child. The keyboard twin is Alt+Enter to pick the row up, the arrows to
268
+ * move it (up and down among siblings, toward the indent into the sibling
269
+ * above, away from it out of the parent), Enter to drop and Escape to cancel.
270
+ * The tree never writes to `nodes`: apply `nodeMove` yourself, with
271
+ * `wrMoveTreeNode`. Off while a `filter` is set, and for rows that came from
272
+ * `loadChildren`, which `nodes` does not hold.
273
+ * @default false
274
+ */
275
+ readonly draggable: import("@angular/core").InputSignalWithTransform<boolean, any>;
276
+ /**
277
+ * Refuses a drop, by drag and by keyboard alike. A node is never offered its
278
+ * own subtree, so that case does not reach the predicate.
279
+ * @default null
280
+ */
281
+ readonly canDrop: import("@angular/core").InputSignal<WrTreeCanDrop<TId> | null>;
282
+ /** Fired once when a row is dropped somewhere new. The tree does not move it: the handler does. */
283
+ readonly nodeMove: import("@angular/core").OutputEmitterRef<WrTreeMoveEvent<TId>>;
183
284
  /**
184
285
  * Form value — the current selection as seen by a bound field. Bound by
185
286
  * `[formField]`, or two-way via `[(value)]`. Shape follows `selectionMode`:
@@ -202,6 +303,7 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
202
303
  private readonly destroyRef;
203
304
  private readonly platformId;
204
305
  private readonly injector;
306
+ private readonly pendingTasks;
205
307
  /**
206
308
  * Ambient reading direction. Optional so a bare `TestBed` — or a consumer who
207
309
  * never set a direction — needs no provider; `Directionality` is root-provided
@@ -212,6 +314,8 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
212
314
  * `wrFollowDirection` in `openOverlay()` is where that lives.
213
315
  */
214
316
  private readonly dir;
317
+ private readonly liveLocale;
318
+ private readonly typeahead;
215
319
  /** Currently focused row's index in the flattened visible list. */
216
320
  protected readonly focusedIndex: import("@angular/core").WritableSignal<number>;
217
321
  /**
@@ -221,6 +325,14 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
221
325
  * slot — the next arrow walked from a row the user had never been on.
222
326
  */
223
327
  private readonly cursorId;
328
+ /** What `loadChildren` has answered so far, by node id. */
329
+ private readonly lazy;
330
+ /**
331
+ * Every node the tree knows, loaded children included: the node and its
332
+ * parent by id, and which ids sit under a `loadChildren` answer. Those live
333
+ * in this component's cache rather than in `nodes`, so a move cannot touch them.
334
+ */
335
+ private readonly lookup;
224
336
  /** Each node's parent id, so a cursor hidden by a collapse can climb to a visible row. */
225
337
  private readonly parentMap;
226
338
  /**
@@ -235,10 +347,38 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
235
347
  * because `onKeydown` bails when `flat[i]` is undefined.
236
348
  */
237
349
  protected readonly cursorIndex: import("@angular/core").Signal<number>;
350
+ /** Accessible name of the clear button. Falls back to `tree.clearSelection`, then `'Clear selection'`. */
351
+ readonly clearSelectionLabel: import("@angular/core").InputSignal<string | null>;
352
+ /** Accessible name of the toggle of a collapsed node. Falls back to `tree.expand`, then `'Expand'`. */
353
+ readonly expandLabel: import("@angular/core").InputSignal<string | null>;
354
+ /** Accessible name of the toggle of an expanded node. Falls back to `tree.collapse`, then `'Collapse'`. */
355
+ readonly collapseLabel: import("@angular/core").InputSignal<string | null>;
356
+ /** Text of the row shown while children load. Falls back to `select.loading`, then `'Loading…'`. */
357
+ readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
358
+ /** Text of the row shown when `loadChildren` failed. Falls back to `loadState.failed`, then `'Could not load'`. */
359
+ readonly loadErrorLabel: import("@angular/core").InputSignal<string | null>;
360
+ /** Label of the retry button on that row. Falls back to `loadState.retry`, then `'Try again'`. */
361
+ readonly retryLabel: import("@angular/core").InputSignal<string | null>;
362
+ /** Shown in place of the rows when `filter` matches nothing. Falls back to `select.noResults`. */
363
+ readonly noMatchesLabel: import("@angular/core").InputSignal<string | null>;
364
+ /**
365
+ * The keyboard move, as a screen reader hears it on entering a `draggable`
366
+ * tree. Falls back to `tree.moveKeyHelp`.
367
+ */
368
+ readonly moveHelpLabel: import("@angular/core").InputSignal<string | null>;
369
+ protected readonly resolvedLoadingLabel: import("@angular/core").Signal<string>;
370
+ protected readonly resolvedLoadErrorLabel: import("@angular/core").Signal<string>;
371
+ protected readonly resolvedNoMatchesLabel: import("@angular/core").Signal<string>;
372
+ protected readonly resolvedRetryLabel: import("@angular/core").Signal<string>;
373
+ protected readonly resolvedMoveHelp: import("@angular/core").Signal<string>;
374
+ private readonly grabbedText;
375
+ private readonly movedText;
376
+ private readonly droppedText;
377
+ private readonly cancelledText;
238
378
  /** Resolved ARIA labels — signals, so they follow both a late catalog and a locale switch. */
239
- protected readonly clearLabel: import("@angular/core").Signal<string>;
240
- protected readonly expandLabel: import("@angular/core").Signal<string>;
241
- protected readonly collapseLabel: import("@angular/core").Signal<string>;
379
+ protected readonly resolvedClearSelectionLabel: import("@angular/core").Signal<string>;
380
+ protected readonly resolvedExpandLabel: import("@angular/core").Signal<string>;
381
+ protected readonly resolvedCollapseLabel: import("@angular/core").Signal<string>;
242
382
  protected readonly chipRemoveLabel: (params?: import("ngwr/i18n").WrI18nParams) => string;
243
383
  /**
244
384
  * The overflow chip past `maxTagCount`. It was the literal `+{{ extra }} more`
@@ -247,10 +387,36 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
247
387
  * `["Черновик", "+2 more"]`.
248
388
  */
249
389
  protected readonly chipMoreLabel: (params?: import("ngwr/i18n").WrI18nParams) => string;
390
+ /** The trimmed filter text; `''` means no filter. */
391
+ protected readonly filterQuery: import("@angular/core").Signal<string>;
392
+ /**
393
+ * Under a filter: the nodes that show (a match, or an ancestor of one) and
394
+ * the ancestors that open to reveal a match. `null` with no filter.
395
+ */
396
+ private readonly filterView;
397
+ /**
398
+ * What the user opened and closed while a filter was showing, kept apart
399
+ * from `expanded` so that clearing the filter restores the tree they had.
400
+ * It belongs to one filter text and is ignored under any other.
401
+ */
402
+ private readonly filterToggles;
403
+ /** A status row's `@for` key, one object per branch, so it never collides with a node id. */
404
+ private readonly statusKeys;
405
+ /** The visible rows, and the lazy branches that are open with nothing loaded yet. */
406
+ private readonly view;
250
407
  /** Flattened list of currently visible nodes — what the template renders. */
251
408
  protected readonly flat: import("@angular/core").Signal<readonly FlatNode<TId>[]>;
409
+ /** Each visible node's row, the first one when an id repeats. */
410
+ private readonly flatIndex;
252
411
  protected readonly selectedSet: import("@angular/core").Signal<Set<TId>>;
412
+ /**
413
+ * The branches that are open right now. `expanded` alone with no filter; under
414
+ * one, also every ancestor of a match, then whatever the user toggled since.
415
+ */
253
416
  protected readonly expandedSet: import("@angular/core").Signal<Set<TId>>;
417
+ protected readonly isCascade: import("@angular/core").Signal<boolean>;
418
+ /** Cascade only: the nodes that are not checked themselves and have a checked node below them. */
419
+ protected readonly mixedSet: import("@angular/core").Signal<ReadonlySet<TId>>;
254
420
  protected readonly isOverlay: import("@angular/core").Signal<boolean>;
255
421
  protected readonly isMulti: import("@angular/core").Signal<boolean>;
256
422
  protected readonly hasSelection: import("@angular/core").Signal<boolean>;
@@ -260,8 +426,12 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
260
426
  protected readonly visibleChips: import("@angular/core").Signal<readonly SelectedChip<TId>[]>;
261
427
  protected readonly hiddenChipCount: import("@angular/core").Signal<number>;
262
428
  protected readonly singleLabel: import("@angular/core").Signal<string | null>;
263
- /** Overlay open state. Only meaningful when `openOn='overlay'`. */
264
- protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
429
+ private readonly openState;
430
+ /**
431
+ * Whether the overlay panel is open. Read-only: `open()` and `close()` change it.
432
+ * Only meaningful when `openOn='overlay'`.
433
+ */
434
+ readonly isOpen: import("@angular/core").Signal<boolean>;
265
435
  /** Trigger / panel id for `aria-controls`. */
266
436
  protected readonly panelId: string;
267
437
  protected readonly classes: import("@angular/core").Signal<string>;
@@ -383,6 +553,69 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
383
553
  private toggleExpanded;
384
554
  private select;
385
555
  private emit;
556
+ private writeValue;
557
+ /**
558
+ * The cascade rule, in one place. Down: the node and its loaded descendants
559
+ * take the new state, and a disabled node keeps its own and shields its
560
+ * subtree. Up: each ancestor is checked exactly while all of its enabled
561
+ * children are.
562
+ */
563
+ private setChecked;
564
+ private load;
565
+ /** The error row's retry: by its button, or by Enter while the cursor is on the row. */
566
+ protected retryLoad(node: WrTreeNode<TId>, event?: Event): void;
567
+ private readonly move;
568
+ /** The node being moved, for the row's `--dragging` modifier. */
569
+ protected readonly movingNode: import("@angular/core").Signal<WrTreeNode<TId> | null>;
570
+ /** Live-region text. Written by the keyboard move only: a drag is its own feedback. */
571
+ protected readonly announcement: import("@angular/core").WritableSignal<string>;
572
+ /** Links the tree to the keyboard move's description. */
573
+ protected readonly moveHelpId: string;
574
+ protected readonly listDescribedBy: import("@angular/core").Signal<string | null>;
575
+ private hoverExpand;
576
+ /** A filter shows a subset of every sibling group, and an index into a subset is not one into `nodes`. */
577
+ private readonly movable;
578
+ protected canDrag(row: FlatNode<TId>): boolean;
579
+ /** A sibling group as `nodes` holds it, without the node being moved. */
580
+ private siblings;
581
+ private locate;
582
+ /** Whether `node` may land at `target`: never under itself, never in the cache, and `canDrop` willing. */
583
+ private allows;
584
+ /** Where the drop indicator sits for the current target. */
585
+ protected readonly dropMark: import("@angular/core").Signal<DropMark | null>;
586
+ private rowOf;
587
+ protected onDragStart(event: DragEvent): void;
588
+ protected onDragOver(event: DragEvent): void;
589
+ protected onDragLeave(event: DragEvent): void;
590
+ protected onDrop(event: DragEvent): void;
591
+ protected endDrag(): void;
592
+ /**
593
+ * The target a pointer names on a row: its top quarter places the node
594
+ * before it, its bottom quarter after it (as the first child, when the row
595
+ * is an open branch), the middle makes it the row's last child. Where the
596
+ * middle is refused the row splits in half instead.
597
+ */
598
+ private pointerTarget;
599
+ /** A drag resting on a collapsed branch opens it, so its children can be reached. */
600
+ private restOn;
601
+ private clearHoverExpand;
602
+ /** Reports the move and opens the new parent, so the row is in view once the consumer applies it. */
603
+ private commit;
604
+ private grab;
605
+ /**
606
+ * The held row's keys. Up and Down walk its sibling group, stepping over a
607
+ * place `canDrop` refuses; the arrow toward the indent makes it the last
608
+ * child of the sibling above, the other one puts it after its parent. The row
609
+ * itself stays where it is until the consumer applies the drop: the
610
+ * indicator and the live region say where it would land.
611
+ */
612
+ private onMoveKey;
613
+ private cancelMove;
614
+ /** A held row is put back when focus leaves the list: nothing was written, so nothing is lost. */
615
+ protected onListFocusOut(event: FocusEvent): void;
616
+ private position;
617
+ /** Puts real focus back on the cursor row, after the element that held it left the DOM or was moved in it. */
618
+ private refocusCursor;
386
619
  private focusIndex;
387
620
  private collectExpandableIds;
388
621
  private openOverlay;
@@ -405,6 +638,11 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
405
638
  "required": false;
406
639
  "isSignal": true;
407
640
  };
641
+ "expandOnClick": {
642
+ "alias": "expandOnClick";
643
+ "required": false;
644
+ "isSignal": true;
645
+ };
408
646
  "selectionMode": {
409
647
  "alias": "selectionMode";
410
648
  "required": false;
@@ -480,18 +718,103 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
480
718
  "required": false;
481
719
  "isSignal": true;
482
720
  };
721
+ "loadChildren": {
722
+ "alias": "loadChildren";
723
+ "required": false;
724
+ "isSignal": true;
725
+ };
726
+ "filter": {
727
+ "alias": "filter";
728
+ "required": false;
729
+ "isSignal": true;
730
+ };
731
+ "filterFn": {
732
+ "alias": "filterFn";
733
+ "required": false;
734
+ "isSignal": true;
735
+ };
736
+ "cascade": {
737
+ "alias": "cascade";
738
+ "required": false;
739
+ "isSignal": true;
740
+ };
741
+ "draggable": {
742
+ "alias": "draggable";
743
+ "required": false;
744
+ "isSignal": true;
745
+ };
746
+ "canDrop": {
747
+ "alias": "canDrop";
748
+ "required": false;
749
+ "isSignal": true;
750
+ };
483
751
  "value": {
484
752
  "alias": "value";
485
753
  "required": false;
486
754
  "isSignal": true;
487
755
  };
756
+ "clearSelectionLabel": {
757
+ "alias": "clearSelectionLabel";
758
+ "required": false;
759
+ "isSignal": true;
760
+ };
761
+ "expandLabel": {
762
+ "alias": "expandLabel";
763
+ "required": false;
764
+ "isSignal": true;
765
+ };
766
+ "collapseLabel": {
767
+ "alias": "collapseLabel";
768
+ "required": false;
769
+ "isSignal": true;
770
+ };
771
+ "loadingLabel": {
772
+ "alias": "loadingLabel";
773
+ "required": false;
774
+ "isSignal": true;
775
+ };
776
+ "loadErrorLabel": {
777
+ "alias": "loadErrorLabel";
778
+ "required": false;
779
+ "isSignal": true;
780
+ };
781
+ "retryLabel": {
782
+ "alias": "retryLabel";
783
+ "required": false;
784
+ "isSignal": true;
785
+ };
786
+ "noMatchesLabel": {
787
+ "alias": "noMatchesLabel";
788
+ "required": false;
789
+ "isSignal": true;
790
+ };
791
+ "moveHelpLabel": {
792
+ "alias": "moveHelpLabel";
793
+ "required": false;
794
+ "isSignal": true;
795
+ };
488
796
  }, {
489
797
  "selected": "selectedChange";
490
798
  "expanded": "expandedChange";
799
+ "nodeMove": "nodeMove";
491
800
  "value": "valueChange";
492
801
  "touch": "touch";
493
802
  "opened": "opened";
494
803
  "closed": "closed";
495
804
  }, never, never, true, never>;
496
805
  }
497
- export type { WrTreeNode, WrTreeSelectionMode, WrTreeSize };
806
+ /**
807
+ * Applies a `nodeMove` to a node array and returns the new one. `wr-tree`
808
+ * never writes to `nodes`, so this is the line a `(nodeMove)` handler needs.
809
+ * Nothing is mutated, a branch the move does not touch keeps its identity, and
810
+ * a move into a parent the array does not hold returns the array as it was.
811
+ *
812
+ * @example
813
+ * ```ts
814
+ * onMove(move: WrTreeMoveEvent): void {
815
+ * this.nodes.update(nodes => wrMoveTreeNode(nodes, move));
816
+ * }
817
+ * ```
818
+ */
819
+ export declare function wrMoveTreeNode<TId = string>(nodes: readonly WrTreeNode<TId>[], move: WrTreeMoveEvent<TId>): readonly WrTreeNode<TId>[];
820
+ export type { WrTreeCanDrop, WrTreeChildrenLoader, WrTreeDropTarget, WrTreeFilterFn, WrTreeMoveEnd, WrTreeMoveEvent, WrTreeNode, WrTreeSelectionMode, WrTreeSize };
@@ -662,6 +662,34 @@ interface WrWatchColorSchemeOptions {
662
662
  * @returns A function that stops watching early.
663
663
  */
664
664
  export declare function wrWatchColorScheme(callback: (scheme: WrColorScheme) => void, options?: WrWatchColorSchemeOptions): () => void;
665
+ /**
666
+ * @license
667
+ *
668
+ * Use of this source code is governed by an MIT-style license that can be
669
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
670
+ */
671
+ /**
672
+ * CDK's `cdkDrag` has no cancel: a pointer drag ends on the release event of the
673
+ * input that started it, and the drop always reorders. This listens for Escape
674
+ * on the document and, when it comes, ends the drag the way the CDK ends it, so
675
+ * the preview flies back and `cdkDragEnded` still fires.
676
+ *
677
+ * The release is `touchend` for a touch start and `mouseup` for a mouse start,
678
+ * the two events the CDK's drag registry binds on the document. The caller marks
679
+ * the drag cancelled in `onCancel`, which runs before the release, so the drop
680
+ * handler that follows can ignore it. Escape is prevented and stopped (capture
681
+ * phase) so a dialog around the drag does not close on the same key.
682
+ *
683
+ * Call it from `cdkDragStarted` and call the returned function from
684
+ * `cdkDragEnded` and on destroy; the listener lives no longer than that.
685
+ *
686
+ * @internal Shared by the entry points; not a consumer API.
687
+ * @param doc The document the drag runs in.
688
+ * @param start The event the drag started with, `CdkDragStart.event`.
689
+ * @param onCancel Runs once when Escape cancels the drag.
690
+ * @returns Removes the listener. Safe to call twice.
691
+ */
692
+ export declare function wrWatchDragCancel(doc: Document, start: Event, onCancel: () => void): () => void;
665
693
  /**
666
694
  * @license
667
695
  *
@@ -844,6 +872,84 @@ export declare function wrIsPrintableKey(event: KeyboardEvent): boolean;
844
872
  * ```
845
873
  */
846
874
  export declare function wrIsComposing(event: KeyboardEvent): boolean;
875
+ /**
876
+ * @license
877
+ *
878
+ * Use of this source code is governed by an MIT-style license that can be
879
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
880
+ */
881
+ /** Options of {@link wrTypeahead}. */
882
+ interface WrTypeaheadOptions {
883
+ /**
884
+ * The pause, in milliseconds, after which the next key starts a new run.
885
+ * @default 500
886
+ */
887
+ readonly resetMs?: number;
888
+ /**
889
+ * The language the labels are written in, as a BCP 47 tag or a function that
890
+ * returns one, for the case folding (`I` and `ı` in Turkish). The browser's
891
+ * own locale when omitted.
892
+ */
893
+ readonly locale?: string | (() => string | undefined);
894
+ }
895
+ /** One row of the list a {@link WrTypeahead} searches. */
896
+ interface WrTypeaheadItem {
897
+ /** The text the row is matched by. */
898
+ readonly label: string;
899
+ /** A disabled row is never a match. */
900
+ readonly disabled?: boolean;
901
+ }
902
+ /** What {@link wrTypeahead} returns. */
903
+ interface WrTypeahead {
904
+ /**
905
+ * Feed a `keydown` and get the row to move to: `type()` and `find()` in one
906
+ * call.
907
+ *
908
+ * @returns the index of the match, `-1` when the key joined the run and no row
909
+ * matches it, or `null` when the key is not a typeahead key and the caller's
910
+ * own handling goes on.
911
+ */
912
+ handleKey(event: KeyboardEvent, items: readonly (string | WrTypeaheadItem)[], current: number): number | null;
913
+ /**
914
+ * Add a `keydown` to the run. Returns whether the key was taken: a printable
915
+ * character with no Ctrl, Meta or Alt, outside an IME composition and outside
916
+ * a text field. Space is taken only while a run is active, so it keeps its
917
+ * own job as the first key.
918
+ */
919
+ type(event: KeyboardEvent): boolean;
920
+ /**
921
+ * The row the run points at, or `-1`. One letter, typed once or repeated,
922
+ * looks from the row after `current` and wraps, so the same letter cycles. A
923
+ * longer run looks from `current` itself, so the row it already matches stays.
924
+ */
925
+ find(items: readonly (string | WrTypeaheadItem)[], current: number): number;
926
+ /** Whether a run is in progress: a key was taken less than `resetMs` ago. */
927
+ readonly active: boolean;
928
+ /** Drop the run. */
929
+ reset(): void;
930
+ }
931
+ /**
932
+ * Type-to-jump for a list: the letters typed in a row select the next row whose
933
+ * label starts with them, as the WAI-ARIA listbox, menu and tree patterns ask.
934
+ *
935
+ * It holds the letters typed so far and nothing else: the caller passes the
936
+ * labels and the current row with each key, and moves its own cursor to the
937
+ * index that comes back. Matching ignores case, skips disabled rows and wraps
938
+ * past the end.
939
+ *
940
+ * @example
941
+ * ```ts
942
+ * private readonly typeahead = wrTypeahead();
943
+ *
944
+ * protected onKeydown(event: KeyboardEvent): void {
945
+ * const index = this.typeahead.handleKey(event, this.labels(), this.cursor());
946
+ * if (index === null) return this.onOtherKey(event);
947
+ * event.preventDefault();
948
+ * if (index >= 0) this.cursor.set(index);
949
+ * }
950
+ * ```
951
+ */
952
+ export declare function wrTypeahead(options?: WrTypeaheadOptions): WrTypeahead;
847
953
  /**
848
954
  * @license
849
955
  *
@@ -1140,4 +1246,4 @@ export declare function wrKeyedAction<K, A = void, R = void>(fn: (key: K, arg: A
1140
1246
  * @returns A read-only signal of the value.
1141
1247
  */
1142
1248
  export declare function wrResourceValue<T>(resource: Resource<T | undefined>, fallback: NoInfer<T>): Signal<T>;
1143
- export type { WrAction, WrActionStatus, WrClassInput, WrColorScheme, WrDebouncedFn, WrDecimalLike, WrFeature, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WrKey, WrKeyedAction, WrMaybe, WrResolveCssSizeOptions, WrResolvedCssSize, WrSafeAny, WrThrottledFn, WrWatchColorSchemeOptions };
1249
+ export type { WrAction, WrActionStatus, WrClassInput, WrColorScheme, WrDebouncedFn, WrDecimalLike, WrFeature, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WrKey, WrKeyedAction, WrMaybe, WrResolveCssSizeOptions, WrResolvedCssSize, WrSafeAny, WrThrottledFn, WrTypeahead, WrTypeaheadItem, WrTypeaheadOptions, WrWatchColorSchemeOptions };
@@ -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 = "16.2.0";
18
+ export declare const NGWR_VERSION = "16.4.0";
19
19
  /**
20
20
  * Injection token holding the ngwr library version string.
21
21
  *
@@ -813,9 +813,9 @@ export declare class WrWindowManager implements WrWindowRefHost {
813
813
  /** The taskbars on the page, registered by each `<wr-window-taskbar>` for its lifetime. */
814
814
  private readonly taskbars;
815
815
  /**
816
- * ONE viewport for every window, kept by one `resize` listener. Each window
817
- * used to add its own — twenty listeners for twenty windows, each writing its
818
- * own copy of the same two numbers.
816
+ * ONE viewport for every window, kept by one `resize` listener while any
817
+ * window is open. Each window used to add its own — twenty listeners for
818
+ * twenty windows, each writing its own copy of the same two numbers.
819
819
  */
820
820
  private readonly viewport;
821
821
  /** Bumped when an element used as `bounds` may have moved: it resized, or something scrolled. */
@@ -824,6 +824,8 @@ export declare class WrWindowManager implements WrWindowRefHost {
824
824
  private boundsObserver;
825
825
  private readonly boundElements;
826
826
  private readonly bumpLayout;
827
+ private readonly measure;
828
+ constructor();
827
829
  /** The strip the taskbars cover, edge by edge. */
828
830
  private readonly reserve;
829
831
  /** All currently-open windows, in the order they opened. */
@@ -888,8 +890,9 @@ export declare class WrWindowManager implements WrWindowRefHost {
888
890
  * none is.
889
891
  */
890
892
  private readonly onFocusIn;
891
- /** Install the shared listeners, once, on the first open in a browser. */
893
+ /** Install the shared listeners while a window is open. */
892
894
  private listen;
895
+ private unlisten;
893
896
  private boundsElement;
894
897
  /**
895
898
  * The work area for one window: its bounds, cut to the viewport, minus the