ngwr 16.2.0 → 16.3.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 (398) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/cascader/styles/_rules.scss +7 -0
  4. package/color-picker/styles/_index.scss +21 -0
  5. package/date-picker/styles/_index.scss +19 -0
  6. package/dropdown/styles/_index.scss +13 -19
  7. package/fesm2022/ngwr-affix.mjs +3 -3
  8. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  9. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  10. package/fesm2022/ngwr-alert.mjs +3 -3
  11. package/fesm2022/ngwr-anchor.mjs +17 -6
  12. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  13. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  14. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  15. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  16. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  17. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  18. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  19. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  20. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  21. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  22. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  23. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  25. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  26. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  27. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  28. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  29. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  30. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  31. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  32. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  33. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  34. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  35. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  36. package/fesm2022/ngwr-avatar.mjs +3 -3
  37. package/fesm2022/ngwr-back-top.mjs +3 -3
  38. package/fesm2022/ngwr-badge.mjs +129 -11
  39. package/fesm2022/ngwr-badge.mjs.map +1 -1
  40. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  42. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  43. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  44. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  45. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  46. package/fesm2022/ngwr-burger.mjs +3 -3
  47. package/fesm2022/ngwr-button.mjs +6 -6
  48. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  49. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  50. package/fesm2022/ngwr-calendar.mjs +500 -73
  51. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  52. package/fesm2022/ngwr-card.mjs +9 -9
  53. package/fesm2022/ngwr-carousel.mjs +6 -6
  54. package/fesm2022/ngwr-cascader.mjs +37 -16
  55. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  56. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  57. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  58. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  59. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  60. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  61. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  62. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  63. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  64. package/fesm2022/ngwr-charts-core.mjs +3 -3
  65. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  66. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  67. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  68. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  69. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  70. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  71. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  73. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  75. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  77. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  79. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  81. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  82. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  83. package/fesm2022/ngwr-checkbox.mjs +6 -6
  84. package/fesm2022/ngwr-clipboard.mjs +3 -3
  85. package/fesm2022/ngwr-collapse.mjs +9 -9
  86. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  87. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  88. package/fesm2022/ngwr-color-picker.mjs +153 -37
  89. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  90. package/fesm2022/ngwr-command-palette.mjs +3 -3
  91. package/fesm2022/ngwr-comment.mjs +10 -6
  92. package/fesm2022/ngwr-comment.mjs.map +1 -1
  93. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  94. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  95. package/fesm2022/ngwr-compare.mjs +3 -3
  96. package/fesm2022/ngwr-context-menu.mjs +12 -12
  97. package/fesm2022/ngwr-cookie.mjs +3 -3
  98. package/fesm2022/ngwr-copy-value.mjs +3 -3
  99. package/fesm2022/ngwr-counter.mjs +6 -6
  100. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  101. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  102. package/fesm2022/ngwr-date-picker.mjs +342 -69
  103. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  104. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  105. package/fesm2022/ngwr-date.mjs +59 -8
  106. package/fesm2022/ngwr-date.mjs.map +1 -1
  107. package/fesm2022/ngwr-density.mjs +6 -6
  108. package/fesm2022/ngwr-descriptions.mjs +6 -6
  109. package/fesm2022/ngwr-dialog.mjs +18 -18
  110. package/fesm2022/ngwr-directives.mjs +15 -15
  111. package/fesm2022/ngwr-divider.mjs +3 -3
  112. package/fesm2022/ngwr-drawer.mjs +51 -29
  113. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  114. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  115. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  116. package/fesm2022/ngwr-dropdown.mjs +52 -95
  117. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  118. package/fesm2022/ngwr-editor.mjs +4 -3
  119. package/fesm2022/ngwr-editor.mjs.map +1 -1
  120. package/fesm2022/ngwr-empty.mjs +3 -3
  121. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  122. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  123. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  124. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  125. package/fesm2022/ngwr-file-upload.mjs +274 -15
  126. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  127. package/fesm2022/ngwr-form.mjs +9 -9
  128. package/fesm2022/ngwr-form.mjs.map +1 -1
  129. package/fesm2022/ngwr-graph-testing.mjs +3 -0
  130. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  131. package/fesm2022/ngwr-graph.mjs +102 -42
  132. package/fesm2022/ngwr-graph.mjs.map +1 -1
  133. package/fesm2022/ngwr-hotkey.mjs +6 -6
  134. package/fesm2022/ngwr-i18n-ar.mjs +19 -4
  135. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  136. package/fesm2022/ngwr-i18n-cs.mjs +19 -4
  137. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-de.mjs +19 -4
  139. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-en.mjs +19 -4
  141. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-es.mjs +19 -4
  143. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-fr.mjs +19 -4
  145. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-he.mjs +19 -4
  147. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-hi.mjs +19 -4
  149. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-id.mjs +19 -4
  151. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-it.mjs +19 -4
  153. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-ja.mjs +19 -4
  155. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-ko.mjs +19 -4
  157. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-nl.mjs +19 -4
  159. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-pl.mjs +19 -4
  161. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-pt.mjs +19 -4
  163. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-ru.mjs +19 -4
  165. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-sv.mjs +19 -4
  167. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-tr.mjs +19 -4
  169. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-uk.mjs +19 -4
  171. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-vi.mjs +19 -4
  173. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  174. package/fesm2022/ngwr-i18n-zh-tw.mjs +19 -4
  175. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-zh.mjs +19 -4
  177. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n.mjs +9 -9
  179. package/fesm2022/ngwr-icon.mjs +6 -6
  180. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  181. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  182. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  183. package/fesm2022/ngwr-input-number.mjs +68 -7
  184. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  185. package/fesm2022/ngwr-input-otp.mjs +23 -3
  186. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  187. package/fesm2022/ngwr-input-testing.mjs +24 -1
  188. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  189. package/fesm2022/ngwr-input.mjs +152 -36
  190. package/fesm2022/ngwr-input.mjs.map +1 -1
  191. package/fesm2022/ngwr-keyboard.mjs +3 -3
  192. package/fesm2022/ngwr-knob.mjs +3 -3
  193. package/fesm2022/ngwr-layout.mjs +15 -15
  194. package/fesm2022/ngwr-lightbox.mjs +8 -8
  195. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  196. package/fesm2022/ngwr-list.mjs +8 -8
  197. package/fesm2022/ngwr-list.mjs.map +1 -1
  198. package/fesm2022/ngwr-load-state.mjs +15 -15
  199. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  200. package/fesm2022/ngwr-mention.mjs +6 -6
  201. package/fesm2022/ngwr-meta.mjs +6 -6
  202. package/fesm2022/ngwr-overlay.mjs +175 -13
  203. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  204. package/fesm2022/ngwr-page-header.mjs +3 -3
  205. package/fesm2022/ngwr-pagination.mjs +5 -3
  206. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  207. package/fesm2022/ngwr-pipes.mjs +31 -29
  208. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  209. package/fesm2022/ngwr-platform.mjs +9 -9
  210. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  211. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  212. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  213. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  214. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  215. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  216. package/fesm2022/ngwr-popover.mjs +58 -156
  217. package/fesm2022/ngwr-popover.mjs.map +1 -1
  218. package/fesm2022/ngwr-progress.mjs +50 -9
  219. package/fesm2022/ngwr-progress.mjs.map +1 -1
  220. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  221. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  222. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  223. package/fesm2022/ngwr-qr.mjs +3 -3
  224. package/fesm2022/ngwr-radio.mjs +6 -6
  225. package/fesm2022/ngwr-rating.mjs +3 -3
  226. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  227. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  228. package/fesm2022/ngwr-resizable.mjs +3 -3
  229. package/fesm2022/ngwr-result.mjs +12 -12
  230. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  231. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  232. package/fesm2022/ngwr-schema-form.mjs +415 -19
  233. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  234. package/fesm2022/ngwr-scroll.mjs +3 -3
  235. package/fesm2022/ngwr-segmented.mjs +3 -3
  236. package/fesm2022/ngwr-select-testing.mjs +19 -0
  237. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  238. package/fesm2022/ngwr-select.mjs +263 -83
  239. package/fesm2022/ngwr-select.mjs.map +1 -1
  240. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  241. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  242. package/fesm2022/ngwr-sidebar.mjs +3 -3
  243. package/fesm2022/ngwr-skeleton.mjs +3 -3
  244. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  245. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  246. package/fesm2022/ngwr-slider.mjs +21 -3
  247. package/fesm2022/ngwr-slider.mjs.map +1 -1
  248. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  249. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  250. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  251. package/fesm2022/ngwr-spinner.mjs +3 -3
  252. package/fesm2022/ngwr-splitter.mjs +3 -3
  253. package/fesm2022/ngwr-statistic.mjs +9 -9
  254. package/fesm2022/ngwr-stepper.mjs +42 -11
  255. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  256. package/fesm2022/ngwr-storage.mjs +3 -3
  257. package/fesm2022/ngwr-switch.mjs +3 -3
  258. package/fesm2022/ngwr-table-testing.mjs +88 -2
  259. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  260. package/fesm2022/ngwr-table.mjs +891 -74
  261. package/fesm2022/ngwr-table.mjs.map +1 -1
  262. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  263. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  264. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-tabs.mjs +15 -10
  266. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  267. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  268. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  269. package/fesm2022/ngwr-textarea.mjs +128 -16
  270. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  271. package/fesm2022/ngwr-theme.mjs +3 -3
  272. package/fesm2022/ngwr-timeline.mjs +6 -6
  273. package/fesm2022/ngwr-toast.mjs +40 -19
  274. package/fesm2022/ngwr-toast.mjs.map +1 -1
  275. package/fesm2022/ngwr-toolbar.mjs +3 -3
  276. package/fesm2022/ngwr-tour.mjs +6 -6
  277. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  278. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  279. package/fesm2022/ngwr-transfer.mjs +24 -5
  280. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  281. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  282. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tree.mjs +966 -78
  284. package/fesm2022/ngwr-tree.mjs.map +1 -1
  285. package/fesm2022/ngwr-typography.mjs +3 -3
  286. package/fesm2022/ngwr-utils-router.mjs +3 -3
  287. package/fesm2022/ngwr-utils.mjs +34 -1
  288. package/fesm2022/ngwr-utils.mjs.map +1 -1
  289. package/fesm2022/ngwr-version.mjs +1 -1
  290. package/fesm2022/ngwr-version.mjs.map +1 -1
  291. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  292. package/fesm2022/ngwr-window.mjs +33 -22
  293. package/fesm2022/ngwr-window.mjs.map +1 -1
  294. package/file-upload/styles/_index.scss +156 -0
  295. package/i18n/ar.json +21 -4
  296. package/i18n/cs.json +21 -4
  297. package/i18n/de.json +21 -4
  298. package/i18n/en.json +21 -4
  299. package/i18n/es.json +21 -4
  300. package/i18n/fr.json +21 -4
  301. package/i18n/he.json +21 -4
  302. package/i18n/hi.json +21 -4
  303. package/i18n/id.json +21 -4
  304. package/i18n/it.json +21 -4
  305. package/i18n/ja.json +21 -4
  306. package/i18n/ko.json +21 -4
  307. package/i18n/nl.json +21 -4
  308. package/i18n/pl.json +21 -4
  309. package/i18n/pt.json +21 -4
  310. package/i18n/ru.json +21 -4
  311. package/i18n/sv.json +21 -4
  312. package/i18n/tr.json +21 -4
  313. package/i18n/uk.json +21 -4
  314. package/i18n/vi.json +21 -4
  315. package/i18n/zh-TW.json +21 -4
  316. package/i18n/zh.json +21 -4
  317. package/input/styles/_index.scss +68 -1
  318. package/input-otp/styles/_index.scss +14 -0
  319. package/llms-full.txt +52 -20
  320. package/overlay/styles/_arrow.scss +4 -4
  321. package/package.json +33 -1
  322. package/popconfirm/styles/_index.scss +3 -11
  323. package/progress/styles/_index.scss +32 -0
  324. package/schema-form/styles/_index.scss +78 -0
  325. package/schematics/use/rule.js +2 -0
  326. package/schematics/use/symbol-map.json +4 -0
  327. package/select/styles/_index.scss +114 -22
  328. package/skills/ngwr/SKILL.md +1 -1
  329. package/skills/ngwr/references/catalog.md +9 -1
  330. package/slider/styles/_index.scss +22 -0
  331. package/table/styles/_index.scss +167 -3
  332. package/textarea/styles/_index.scss +80 -0
  333. package/theme/styles/_focus.scss +5 -0
  334. package/theme/styles/_motion.scss +5 -0
  335. package/transfer/styles/_index.scss +84 -0
  336. package/tree/styles/_index.scss +138 -5
  337. package/types/ngwr-alert-testing.d.ts +88 -0
  338. package/types/ngwr-badge.d.ts +72 -2
  339. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  340. package/types/ngwr-burger-testing.d.ts +51 -0
  341. package/types/ngwr-calendar-testing.d.ts +18 -6
  342. package/types/ngwr-calendar.d.ts +272 -22
  343. package/types/ngwr-cascader.d.ts +10 -1
  344. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  345. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  346. package/types/ngwr-charts-line-chart.d.ts +7 -4
  347. package/types/ngwr-color-picker-testing.d.ts +15 -4
  348. package/types/ngwr-color-picker.d.ts +76 -6
  349. package/types/ngwr-compare-testing.d.ts +72 -0
  350. package/types/ngwr-date-picker-testing.d.ts +23 -8
  351. package/types/ngwr-date-picker.d.ts +100 -9
  352. package/types/ngwr-date.d.ts +71 -1
  353. package/types/ngwr-drawer.d.ts +9 -0
  354. package/types/ngwr-dropdown-testing.d.ts +20 -0
  355. package/types/ngwr-dropdown.d.ts +24 -6
  356. package/types/ngwr-event-calendar.d.ts +66 -8
  357. package/types/ngwr-file-upload-testing.d.ts +31 -2
  358. package/types/ngwr-file-upload.d.ts +148 -1
  359. package/types/ngwr-form.d.ts +47 -3
  360. package/types/ngwr-graph-testing.d.ts +8 -3
  361. package/types/ngwr-graph.d.ts +147 -7
  362. package/types/ngwr-input-number-testing.d.ts +10 -0
  363. package/types/ngwr-input-number.d.ts +30 -1
  364. package/types/ngwr-input-otp.d.ts +10 -0
  365. package/types/ngwr-input-testing.d.ts +30 -0
  366. package/types/ngwr-input.d.ts +54 -3
  367. package/types/ngwr-overlay.d.ts +84 -5
  368. package/types/ngwr-pipes.d.ts +2 -1
  369. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  370. package/types/ngwr-popconfirm.d.ts +28 -3
  371. package/types/ngwr-popover-testing.d.ts +19 -2
  372. package/types/ngwr-popover.d.ts +22 -2
  373. package/types/ngwr-progress.d.ts +29 -1
  374. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  375. package/types/ngwr-resizable-testing.d.ts +116 -0
  376. package/types/ngwr-schema-form-testing.d.ts +260 -0
  377. package/types/ngwr-schema-form.d.ts +76 -6
  378. package/types/ngwr-select-testing.d.ts +20 -0
  379. package/types/ngwr-select.d.ts +112 -11
  380. package/types/ngwr-sidebar-testing.d.ts +176 -0
  381. package/types/ngwr-slider-testing.d.ts +3 -1
  382. package/types/ngwr-slider.d.ts +21 -1
  383. package/types/ngwr-sortable-list.d.ts +6 -0
  384. package/types/ngwr-stepper.d.ts +20 -11
  385. package/types/ngwr-table-testing.d.ts +70 -6
  386. package/types/ngwr-table.d.ts +480 -50
  387. package/types/ngwr-tabs-testing.d.ts +14 -17
  388. package/types/ngwr-tabs.d.ts +6 -0
  389. package/types/ngwr-textarea-testing.d.ts +10 -0
  390. package/types/ngwr-textarea.d.ts +48 -2
  391. package/types/ngwr-toast.d.ts +8 -1
  392. package/types/ngwr-transfer-testing.d.ts +3 -0
  393. package/types/ngwr-transfer.d.ts +24 -1
  394. package/types/ngwr-tree-testing.d.ts +65 -1
  395. package/types/ngwr-tree.d.ts +333 -12
  396. package/types/ngwr-utils.d.ts +28 -0
  397. package/types/ngwr-version.d.ts +1 -1
  398. 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
@@ -221,6 +323,14 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
221
323
  * slot — the next arrow walked from a row the user had never been on.
222
324
  */
223
325
  private readonly cursorId;
326
+ /** What `loadChildren` has answered so far, by node id. */
327
+ private readonly lazy;
328
+ /**
329
+ * Every node the tree knows, loaded children included: the node and its
330
+ * parent by id, and which ids sit under a `loadChildren` answer. Those live
331
+ * in this component's cache rather than in `nodes`, so a move cannot touch them.
332
+ */
333
+ private readonly lookup;
224
334
  /** Each node's parent id, so a cursor hidden by a collapse can climb to a visible row. */
225
335
  private readonly parentMap;
226
336
  /**
@@ -235,10 +345,38 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
235
345
  * because `onKeydown` bails when `flat[i]` is undefined.
236
346
  */
237
347
  protected readonly cursorIndex: import("@angular/core").Signal<number>;
348
+ /** Accessible name of the clear button. Falls back to `tree.clearSelection`, then `'Clear selection'`. */
349
+ readonly clearSelectionLabel: import("@angular/core").InputSignal<string | null>;
350
+ /** Accessible name of the toggle of a collapsed node. Falls back to `tree.expand`, then `'Expand'`. */
351
+ readonly expandLabel: import("@angular/core").InputSignal<string | null>;
352
+ /** Accessible name of the toggle of an expanded node. Falls back to `tree.collapse`, then `'Collapse'`. */
353
+ readonly collapseLabel: import("@angular/core").InputSignal<string | null>;
354
+ /** Text of the row shown while children load. Falls back to `select.loading`, then `'Loading…'`. */
355
+ readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
356
+ /** Text of the row shown when `loadChildren` failed. Falls back to `loadState.failed`, then `'Could not load'`. */
357
+ readonly loadErrorLabel: import("@angular/core").InputSignal<string | null>;
358
+ /** Label of the retry button on that row. Falls back to `loadState.retry`, then `'Try again'`. */
359
+ readonly retryLabel: import("@angular/core").InputSignal<string | null>;
360
+ /** Shown in place of the rows when `filter` matches nothing. Falls back to `select.noResults`. */
361
+ readonly noMatchesLabel: import("@angular/core").InputSignal<string | null>;
362
+ /**
363
+ * The keyboard move, as a screen reader hears it on entering a `draggable`
364
+ * tree. Falls back to `tree.moveKeyHelp`.
365
+ */
366
+ readonly moveHelpLabel: import("@angular/core").InputSignal<string | null>;
367
+ protected readonly resolvedLoadingLabel: import("@angular/core").Signal<string>;
368
+ protected readonly resolvedLoadErrorLabel: import("@angular/core").Signal<string>;
369
+ protected readonly resolvedNoMatchesLabel: import("@angular/core").Signal<string>;
370
+ protected readonly resolvedRetryLabel: import("@angular/core").Signal<string>;
371
+ protected readonly resolvedMoveHelp: import("@angular/core").Signal<string>;
372
+ private readonly grabbedText;
373
+ private readonly movedText;
374
+ private readonly droppedText;
375
+ private readonly cancelledText;
238
376
  /** 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>;
377
+ protected readonly resolvedClearSelectionLabel: import("@angular/core").Signal<string>;
378
+ protected readonly resolvedExpandLabel: import("@angular/core").Signal<string>;
379
+ protected readonly resolvedCollapseLabel: import("@angular/core").Signal<string>;
242
380
  protected readonly chipRemoveLabel: (params?: import("ngwr/i18n").WrI18nParams) => string;
243
381
  /**
244
382
  * The overflow chip past `maxTagCount`. It was the literal `+{{ extra }} more`
@@ -247,10 +385,36 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
247
385
  * `["Черновик", "+2 more"]`.
248
386
  */
249
387
  protected readonly chipMoreLabel: (params?: import("ngwr/i18n").WrI18nParams) => string;
388
+ /** The trimmed filter text; `''` means no filter. */
389
+ protected readonly filterQuery: import("@angular/core").Signal<string>;
390
+ /**
391
+ * Under a filter: the nodes that show (a match, or an ancestor of one) and
392
+ * the ancestors that open to reveal a match. `null` with no filter.
393
+ */
394
+ private readonly filterView;
395
+ /**
396
+ * What the user opened and closed while a filter was showing, kept apart
397
+ * from `expanded` so that clearing the filter restores the tree they had.
398
+ * It belongs to one filter text and is ignored under any other.
399
+ */
400
+ private readonly filterToggles;
401
+ /** A status row's `@for` key, one object per branch, so it never collides with a node id. */
402
+ private readonly statusKeys;
403
+ /** The visible rows, and the lazy branches that are open with nothing loaded yet. */
404
+ private readonly view;
250
405
  /** Flattened list of currently visible nodes — what the template renders. */
251
406
  protected readonly flat: import("@angular/core").Signal<readonly FlatNode<TId>[]>;
407
+ /** Each visible node's row, the first one when an id repeats. */
408
+ private readonly flatIndex;
252
409
  protected readonly selectedSet: import("@angular/core").Signal<Set<TId>>;
410
+ /**
411
+ * The branches that are open right now. `expanded` alone with no filter; under
412
+ * one, also every ancestor of a match, then whatever the user toggled since.
413
+ */
253
414
  protected readonly expandedSet: import("@angular/core").Signal<Set<TId>>;
415
+ protected readonly isCascade: import("@angular/core").Signal<boolean>;
416
+ /** Cascade only: the nodes that are not checked themselves and have a checked node below them. */
417
+ protected readonly mixedSet: import("@angular/core").Signal<ReadonlySet<TId>>;
254
418
  protected readonly isOverlay: import("@angular/core").Signal<boolean>;
255
419
  protected readonly isMulti: import("@angular/core").Signal<boolean>;
256
420
  protected readonly hasSelection: import("@angular/core").Signal<boolean>;
@@ -260,8 +424,12 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
260
424
  protected readonly visibleChips: import("@angular/core").Signal<readonly SelectedChip<TId>[]>;
261
425
  protected readonly hiddenChipCount: import("@angular/core").Signal<number>;
262
426
  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>;
427
+ private readonly openState;
428
+ /**
429
+ * Whether the overlay panel is open. Read-only: `open()` and `close()` change it.
430
+ * Only meaningful when `openOn='overlay'`.
431
+ */
432
+ readonly isOpen: import("@angular/core").Signal<boolean>;
265
433
  /** Trigger / panel id for `aria-controls`. */
266
434
  protected readonly panelId: string;
267
435
  protected readonly classes: import("@angular/core").Signal<string>;
@@ -383,6 +551,69 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
383
551
  private toggleExpanded;
384
552
  private select;
385
553
  private emit;
554
+ private writeValue;
555
+ /**
556
+ * The cascade rule, in one place. Down: the node and its loaded descendants
557
+ * take the new state, and a disabled node keeps its own and shields its
558
+ * subtree. Up: each ancestor is checked exactly while all of its enabled
559
+ * children are.
560
+ */
561
+ private setChecked;
562
+ private load;
563
+ /** The error row's retry: by its button, or by Enter while the cursor is on the row. */
564
+ protected retryLoad(node: WrTreeNode<TId>, event?: Event): void;
565
+ private readonly move;
566
+ /** The node being moved, for the row's `--dragging` modifier. */
567
+ protected readonly movingNode: import("@angular/core").Signal<WrTreeNode<TId> | null>;
568
+ /** Live-region text. Written by the keyboard move only: a drag is its own feedback. */
569
+ protected readonly announcement: import("@angular/core").WritableSignal<string>;
570
+ /** Links the tree to the keyboard move's description. */
571
+ protected readonly moveHelpId: string;
572
+ protected readonly listDescribedBy: import("@angular/core").Signal<string | null>;
573
+ private hoverExpand;
574
+ /** A filter shows a subset of every sibling group, and an index into a subset is not one into `nodes`. */
575
+ private readonly movable;
576
+ protected canDrag(row: FlatNode<TId>): boolean;
577
+ /** A sibling group as `nodes` holds it, without the node being moved. */
578
+ private siblings;
579
+ private locate;
580
+ /** Whether `node` may land at `target`: never under itself, never in the cache, and `canDrop` willing. */
581
+ private allows;
582
+ /** Where the drop indicator sits for the current target. */
583
+ protected readonly dropMark: import("@angular/core").Signal<DropMark | null>;
584
+ private rowOf;
585
+ protected onDragStart(event: DragEvent): void;
586
+ protected onDragOver(event: DragEvent): void;
587
+ protected onDragLeave(event: DragEvent): void;
588
+ protected onDrop(event: DragEvent): void;
589
+ protected endDrag(): void;
590
+ /**
591
+ * The target a pointer names on a row: its top quarter places the node
592
+ * before it, its bottom quarter after it (as the first child, when the row
593
+ * is an open branch), the middle makes it the row's last child. Where the
594
+ * middle is refused the row splits in half instead.
595
+ */
596
+ private pointerTarget;
597
+ /** A drag resting on a collapsed branch opens it, so its children can be reached. */
598
+ private restOn;
599
+ private clearHoverExpand;
600
+ /** Reports the move and opens the new parent, so the row is in view once the consumer applies it. */
601
+ private commit;
602
+ private grab;
603
+ /**
604
+ * The held row's keys. Up and Down walk its sibling group, stepping over a
605
+ * place `canDrop` refuses; the arrow toward the indent makes it the last
606
+ * child of the sibling above, the other one puts it after its parent. The row
607
+ * itself stays where it is until the consumer applies the drop: the
608
+ * indicator and the live region say where it would land.
609
+ */
610
+ private onMoveKey;
611
+ private cancelMove;
612
+ /** A held row is put back when focus leaves the list: nothing was written, so nothing is lost. */
613
+ protected onListFocusOut(event: FocusEvent): void;
614
+ private position;
615
+ /** Puts real focus back on the cursor row, after the element that held it left the DOM or was moved in it. */
616
+ private refocusCursor;
386
617
  private focusIndex;
387
618
  private collectExpandableIds;
388
619
  private openOverlay;
@@ -405,6 +636,11 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
405
636
  "required": false;
406
637
  "isSignal": true;
407
638
  };
639
+ "expandOnClick": {
640
+ "alias": "expandOnClick";
641
+ "required": false;
642
+ "isSignal": true;
643
+ };
408
644
  "selectionMode": {
409
645
  "alias": "selectionMode";
410
646
  "required": false;
@@ -480,18 +716,103 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
480
716
  "required": false;
481
717
  "isSignal": true;
482
718
  };
719
+ "loadChildren": {
720
+ "alias": "loadChildren";
721
+ "required": false;
722
+ "isSignal": true;
723
+ };
724
+ "filter": {
725
+ "alias": "filter";
726
+ "required": false;
727
+ "isSignal": true;
728
+ };
729
+ "filterFn": {
730
+ "alias": "filterFn";
731
+ "required": false;
732
+ "isSignal": true;
733
+ };
734
+ "cascade": {
735
+ "alias": "cascade";
736
+ "required": false;
737
+ "isSignal": true;
738
+ };
739
+ "draggable": {
740
+ "alias": "draggable";
741
+ "required": false;
742
+ "isSignal": true;
743
+ };
744
+ "canDrop": {
745
+ "alias": "canDrop";
746
+ "required": false;
747
+ "isSignal": true;
748
+ };
483
749
  "value": {
484
750
  "alias": "value";
485
751
  "required": false;
486
752
  "isSignal": true;
487
753
  };
754
+ "clearSelectionLabel": {
755
+ "alias": "clearSelectionLabel";
756
+ "required": false;
757
+ "isSignal": true;
758
+ };
759
+ "expandLabel": {
760
+ "alias": "expandLabel";
761
+ "required": false;
762
+ "isSignal": true;
763
+ };
764
+ "collapseLabel": {
765
+ "alias": "collapseLabel";
766
+ "required": false;
767
+ "isSignal": true;
768
+ };
769
+ "loadingLabel": {
770
+ "alias": "loadingLabel";
771
+ "required": false;
772
+ "isSignal": true;
773
+ };
774
+ "loadErrorLabel": {
775
+ "alias": "loadErrorLabel";
776
+ "required": false;
777
+ "isSignal": true;
778
+ };
779
+ "retryLabel": {
780
+ "alias": "retryLabel";
781
+ "required": false;
782
+ "isSignal": true;
783
+ };
784
+ "noMatchesLabel": {
785
+ "alias": "noMatchesLabel";
786
+ "required": false;
787
+ "isSignal": true;
788
+ };
789
+ "moveHelpLabel": {
790
+ "alias": "moveHelpLabel";
791
+ "required": false;
792
+ "isSignal": true;
793
+ };
488
794
  }, {
489
795
  "selected": "selectedChange";
490
796
  "expanded": "expandedChange";
797
+ "nodeMove": "nodeMove";
491
798
  "value": "valueChange";
492
799
  "touch": "touch";
493
800
  "opened": "opened";
494
801
  "closed": "closed";
495
802
  }, never, never, true, never>;
496
803
  }
497
- export type { WrTreeNode, WrTreeSelectionMode, WrTreeSize };
804
+ /**
805
+ * Applies a `nodeMove` to a node array and returns the new one. `wr-tree`
806
+ * never writes to `nodes`, so this is the line a `(nodeMove)` handler needs.
807
+ * Nothing is mutated, a branch the move does not touch keeps its identity, and
808
+ * a move into a parent the array does not hold returns the array as it was.
809
+ *
810
+ * @example
811
+ * ```ts
812
+ * onMove(move: WrTreeMoveEvent): void {
813
+ * this.nodes.update(nodes => wrMoveTreeNode(nodes, move));
814
+ * }
815
+ * ```
816
+ */
817
+ export declare function wrMoveTreeNode<TId = string>(nodes: readonly WrTreeNode<TId>[], move: WrTreeMoveEvent<TId>): readonly WrTreeNode<TId>[];
818
+ 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
  *
@@ -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.3.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