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
@@ -437,13 +437,27 @@ export declare function useFormFieldAria(options?: {
437
437
  * `[required]` binding on a field-bound control (NG8022), so the second source
438
438
  * of truth is a compile error rather than a drift.
439
439
  */
440
- type WrFieldKind = 'input' | 'textarea' | 'number' | 'select' | 'checkbox' | 'switch' | 'radio' | 'date' | 'slider';
440
+ type WrFieldKind = 'input' | 'textarea' | 'number' | 'select' | 'multiselect' | 'tags' | 'checkbox' | 'switch' | 'radio' | 'segmented' | 'date' | 'daterange' | 'slider' | 'rating' | 'file' | 'array';
441
441
  /** One choice, for the kinds that offer a list. */
442
442
  interface WrFieldOption {
443
443
  readonly value: unknown;
444
444
  readonly label: string;
445
445
  readonly disabled?: boolean;
446
446
  }
447
+ /**
448
+ * A titled group of fields, drawn as a `<fieldset>` with a `<legend>`.
449
+ *
450
+ * Fields that name the same `title` are drawn together, where the first of them
451
+ * stands in the model's key order. The description and the column count come
452
+ * from the first field that states them.
453
+ */
454
+ interface WrFieldSection {
455
+ readonly title: string;
456
+ /** A line under the title, announced as the group's description. */
457
+ readonly description?: string;
458
+ /** Grid columns inside the section. Defaults to the form's own `columns`. */
459
+ readonly columns?: number;
460
+ }
447
461
  /**
448
462
  * The presentation of one field.
449
463
  *
@@ -458,7 +472,7 @@ interface WrFieldSpec {
458
472
  readonly placeholder?: string;
459
473
  /** Help text under the control. Errors replace it while the field is invalid. */
460
474
  readonly hint?: string;
461
- /** For `select` and `radio`. Ignored by every other kind. */
475
+ /** For `select`, `multiselect`, `radio` and `segmented`. Ignored by every other kind. */
462
476
  readonly options?: readonly WrFieldOption[];
463
477
  /** Native `type` for `kind: 'input'` — `email`, `password`, `url`, `tel`. */
464
478
  readonly type?: string;
@@ -476,6 +490,30 @@ interface WrFieldSpec {
476
490
  * wider.
477
491
  */
478
492
  readonly span?: number;
493
+ /**
494
+ * The section this field is drawn in: a title, or a title with a description
495
+ * and its own column count. A field with none is drawn straight on the form's
496
+ * grid.
497
+ */
498
+ readonly section?: string | WrFieldSection;
499
+ /** For `file`: accept several files, so the field holds `File[]` rather than `File | null`. */
500
+ readonly multiple?: boolean;
501
+ /** For `file`: the native `accept` list, e.g. `'image/*,.pdf'`. */
502
+ readonly accept?: string;
503
+ /**
504
+ * For `array`: the value a new item starts as. It is what draws the Add
505
+ * button, and an array with no `item` is a fixed list whose items can only be
506
+ * removed. Describe the item's own fields with `applyEach(path.x, item => …)`,
507
+ * and bound the list with `minLength` and `maxLength` on the array itself.
508
+ */
509
+ readonly item?: () => unknown;
510
+ /**
511
+ * For `array`: what one item is called, numbered in the item's heading:
512
+ * "Address 2". Defaults to the field's label.
513
+ */
514
+ readonly itemLabel?: string;
515
+ /** For `array`: grid columns inside each item. Defaults to 1. */
516
+ readonly columns?: number;
479
517
  }
480
518
  /**
481
519
  * The metadata key `<wr-schema-form>` reads.
@@ -486,6 +524,12 @@ interface WrFieldSpec {
486
524
  * email(path.email, { message: 'That is not an email address.' });
487
525
  * metadata(path.email, WR_FIELD, () => ({ kind: 'input', type: 'email', label: 'Work email' }));
488
526
  * metadata(path.role, WR_FIELD, () => ({ kind: 'select', options: ROLES }));
527
+ *
528
+ * // A repeating group: the array is described once, its items through `applyEach`.
529
+ * metadata(path.addresses, WR_FIELD, () => ({ kind: 'array', item: () => ({ city: '' }) }));
530
+ * applyEach(path.addresses, item => {
531
+ * metadata(item.city, WR_FIELD, () => ({ kind: 'input' }));
532
+ * });
489
533
  * });
490
534
  * ```
491
535
  *
@@ -495,4 +539,4 @@ interface WrFieldSpec {
495
539
  export declare const WR_FIELD: import("@angular/forms/signals").MetadataKey<import("@angular/core").Signal<WrFieldSpec | undefined>, WrFieldSpec, WrFieldSpec | undefined>;
496
540
  /** `workEmail` -> `Work email`. The fallback label, and only ever a fallback. */
497
541
  export declare function wrFieldLabel(key: string): string;
498
- export type { WrFieldKind, WrFieldOption, WrFieldSpec, WrFormFieldAria, WrFormFieldContext };
542
+ export type { WrFieldKind, WrFieldOption, WrFieldSection, WrFieldSpec, WrFormFieldAria, WrFormFieldContext };
@@ -102,14 +102,19 @@ export declare class WrGraphNodeHarness extends ComponentHarness {
102
102
  * `WrLineChartHarness`.
103
103
  * - **No node positions.** jsdom lays nothing out, so every measured box is 0×0. The
104
104
  * inline `transform` IS the component's own write and would be readable, but its
105
- * numbers belong to a layout that is internal in this release — a harness method
106
- * returning them would make every layout improvement a breaking change to consumer
107
- * specs. Coordinates are pinned in the layout's own pure spec, where the arithmetic is.
105
+ * numbers belong to the layout, built-in or provided — a harness method returning
106
+ * them would make every layout improvement a breaking change to consumer specs. Coordinates are pinned in the layout's own pure spec, where the arithmetic is.
108
107
  * - **No "is scrollable".** Overflow is layout: in jsdom `scrollWidth` and `clientWidth`
109
108
  * are both 0 for a graph that fits and for one ten times wider. The viewport's
110
109
  * `tabindex` is no proxy either — it is always `0`, precisely so the tab stop never
111
110
  * depends on a measurement.
112
111
  *
112
+ * A `zoomable` graph is driven through its own three buttons, and its zoom is read off
113
+ * the `scale()` the component wrote on the stage. The pan is not readable here for the
114
+ * reason node positions are not: its pixels depend on a viewport box jsdom does not
115
+ * have. Gestures have no method either, since the wheel, a drag and a pinch all read
116
+ * that box.
117
+ *
113
118
  * An empty graph and a graph whose layout drew nothing render the same DOM, so the
114
119
  * harness cannot tell them apart. {@link getNodes} answers `[]` for both, which is the
115
120
  * honest way to assert emptiness; {@link getEdges} refuses instead, because "no edges"
@@ -135,6 +140,12 @@ export declare class WrGraphHarness extends ComponentHarness {
135
140
  * element that carries it, never the host.
136
141
  */
137
142
  getAccessibleName(): Promise<string | null>;
143
+ /**
144
+ * Whether an asynchronous layout is still running, from the host's
145
+ * `wr-graph--pending`. The graph draws its previous picture meanwhile, so wait
146
+ * for this to turn `false` before reading the nodes of the new one.
147
+ */
148
+ isPending(): Promise<boolean>;
138
149
  /**
139
150
  * This graph's nodes, in reading order, narrowed by the filters.
140
151
  *
@@ -160,5 +171,27 @@ export declare class WrGraphHarness extends ComponentHarness {
160
171
  from: string;
161
172
  to: string;
162
173
  }[]>;
174
+ /** Whether the graph zooms and pans, from the host's `wr-graph--zoomable`. */
175
+ isZoomable(): Promise<boolean>;
176
+ /** Clicks the zoom-in button: one step, around the middle of the viewport. Throws unless `zoomable`. */
177
+ zoomIn(): Promise<void>;
178
+ /** Clicks the zoom-out button: one step, around the middle of the viewport. Throws unless `zoomable`. */
179
+ zoomOut(): Promise<void>;
180
+ /**
181
+ * Clicks the fit button. Throws unless `zoomable`.
182
+ *
183
+ * A fit needs the viewport's box, and jsdom gives every element a 0×0 one, so there
184
+ * the click changes nothing. A spec that asserts the fitted zoom has to stub
185
+ * `getBoundingClientRect` on the `.wr-graph__viewport` element first.
186
+ */
187
+ fit(): Promise<void>;
188
+ /**
189
+ * The zoom the component drew, where `1` is 100%: the `scale()` in the stage's inline
190
+ * `transform`, or `1` when it wrote none. Throws unless `zoomable`, where no zoom is
191
+ * ever drawn and `1` would be vacuously true.
192
+ */
193
+ getZoom(): Promise<number>;
194
+ private control;
195
+ private notZoomable;
163
196
  }
164
197
  export type { WrGraphHarnessFilters, WrGraphNodeHarnessFilters };
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { TemplateRef } from "@angular/core";
2
+ import { Signal, TemplateRef } from "@angular/core";
3
3
  /**
4
4
  * @license
5
5
  *
@@ -74,6 +74,90 @@ export declare class WrGraphNodeTemplate {
74
74
  static ɵfac: i0.ɵɵFactoryDeclaration<WrGraphNodeTemplate, never>;
75
75
  static ɵdir: i0.ɵɵDirectiveDeclaration<WrGraphNodeTemplate, "ng-template[wrGraphNode]", never, {}, {}, never, never, true, never>;
76
76
  }
77
+ /**
78
+ * @license
79
+ *
80
+ * Use of this source code is governed by an MIT-style license that can be
81
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
82
+ */
83
+ /** A point in graph space: origin top-left, y grows downward. */
84
+ interface WrGraphPoint {
85
+ readonly x: number;
86
+ readonly y: number;
87
+ }
88
+ /**
89
+ * What a layout reads about a node: resolved, plain and serialisable. The
90
+ * consumer's `data` never reaches a layout, and neither does the DOM — sizes
91
+ * arrive as finite numbers the component already resolved.
92
+ */
93
+ interface WrGraphLayoutNode {
94
+ readonly id: string;
95
+ readonly width: number;
96
+ readonly height: number;
97
+ }
98
+ /** A layout edge. `from` is the parent, `to` the child; `id` is unique per edge. */
99
+ interface WrGraphLayoutEdge {
100
+ readonly id: string;
101
+ readonly from: string;
102
+ readonly to: string;
103
+ }
104
+ /**
105
+ * The whole graph a layout works on. Input order IS the tie-break order, so the
106
+ * same arrays always produce the same picture. Parallel edges and self-loops
107
+ * are legal here; an edge naming a missing node is dropped silently, because
108
+ * the component has already warned about it.
109
+ */
110
+ interface WrGraphLayoutInput {
111
+ readonly nodes: readonly WrGraphLayoutNode[];
112
+ readonly edges: readonly WrGraphLayoutEdge[];
113
+ }
114
+ /**
115
+ * Per-call context. An object from day one so later fields are additive. The
116
+ * signal aborts when the input changes, or the graph is destroyed, before an
117
+ * asynchronous layout settles. An engine that cannot stop its work can leave it
118
+ * running: the graph drops the late result.
119
+ */
120
+ interface WrGraphLayoutContext {
121
+ readonly signal: AbortSignal;
122
+ }
123
+ /** Where a node goes: its TOP-LEFT corner in graph space, which maps straight onto a CSS translate. */
124
+ interface WrGraphNodePlacement {
125
+ readonly id: string;
126
+ readonly x: number;
127
+ readonly y: number;
128
+ }
129
+ /** The polyline of one edge, from the `from` end to the `to` end — at least two points. */
130
+ interface WrGraphEdgeRoute {
131
+ readonly id: string;
132
+ readonly points: readonly WrGraphPoint[];
133
+ }
134
+ /**
135
+ * A finished layout. The bounding box starts at (0, 0) and measures
136
+ * `width` × `height`. Direction-free: RTL is applied after the layout, so these
137
+ * numbers never depend on `dir`.
138
+ */
139
+ interface WrGraphLayoutResult {
140
+ readonly nodes: readonly WrGraphNodePlacement[];
141
+ readonly edges: readonly WrGraphEdgeRoute[];
142
+ readonly width: number;
143
+ readonly height: number;
144
+ }
145
+ /**
146
+ * The seam a layout engine plugs into. Used as both the type and the DI token,
147
+ * the way `WrDateAdapter` is.
148
+ *
149
+ * A synchronous result is drawn in the same pass. A Promise is for an engine
150
+ * that works in a worker or on a server: the graph keeps its last picture until
151
+ * the Promise resolves, and reports a rejection through `layoutError`.
152
+ *
153
+ * @example
154
+ * ```ts
155
+ * providers: [{ provide: WrGraphLayout, useClass: WorkerLayout }]
156
+ * ```
157
+ */
158
+ export declare abstract class WrGraphLayout {
159
+ abstract layout(input: WrGraphLayoutInput, context: WrGraphLayoutContext): WrGraphLayoutResult | Promise<WrGraphLayoutResult>;
160
+ }
77
161
  interface DrawnNode<TData> {
78
162
  readonly node: WrGraphNode<TData>;
79
163
  readonly width: number;
@@ -96,12 +180,19 @@ interface GraphView<TData> {
96
180
  /**
97
181
  * A graph of blocks joined by parent-child links, laid out in layers from top to
98
182
  * bottom. Display only: nothing is selectable, and the graph scrolls inside its
99
- * own viewport rather than the page.
183
+ * own viewport rather than the page. With `zoomable` the viewport zooms and pans
184
+ * instead of scrolling.
100
185
  *
101
186
  * The layout runs in a `computed` with no DOM and no measuring, so the sizes are
102
187
  * the consumer's: `nodeWidth` / `nodeHeight` for every node, or `width` /
103
188
  * `height` on one. A prerender therefore ships the finished picture.
104
189
  *
190
+ * A provided `WrGraphLayout` may answer with a Promise. The last picture stays
191
+ * on screen until it resolves, `layoutPending` is true meanwhile, and a newer
192
+ * run or the graph's destruction aborts it through the `AbortSignal` it was
193
+ * given. The server does not wait for it: a prerender ships an empty, pending
194
+ * graph and the browser draws it.
195
+ *
105
196
  * What the lines show is also written out: every node carries visually hidden
106
197
  * text naming its parents and children, and the lines themselves are hidden
107
198
  * from assistive technology.
@@ -141,10 +232,63 @@ export declare class WrGraph<TData = unknown> {
141
232
  readonly nodeHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
142
233
  /** Accessible name of the scrolling viewport. Falls back to `graph.label`, then `'Graph'`. */
143
234
  readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
144
- protected readonly label: import("@angular/core").Signal<string>;
235
+ /**
236
+ * Lets the viewport zoom and pan instead of scrolling: `Ctrl` or `⌘` with the
237
+ * wheel, a pinch, a drag on the field, the keyboard and three buttons. The
238
+ * drawing is fitted on first draw and whenever the layout changes its size,
239
+ * until the view is moved by hand. A touch drag on the graph then pans it
240
+ * rather than scrolling the page.
241
+ *
242
+ * @default false
243
+ */
244
+ readonly zoomable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
245
+ /**
246
+ * Lets a plain wheel zoom, with no modifier key. The page then no longer
247
+ * scrolls while the pointer is over the graph.
248
+ *
249
+ * @default false
250
+ */
251
+ readonly wheelZoom: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
252
+ /**
253
+ * The zoom, where `1` is 100%. Two-way: it follows every gesture, and a value
254
+ * written to it zooms around the middle of the viewport, kept inside
255
+ * `minZoom` and `maxZoom`. Ignored unless `zoomable`.
256
+ *
257
+ * @default 1
258
+ */
259
+ readonly zoom: import("@angular/core").ModelSignal<number>;
260
+ /**
261
+ * The smallest zoom.
262
+ *
263
+ * @default 0.25
264
+ */
265
+ readonly minZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
266
+ /**
267
+ * The largest zoom. Never below `minZoom`.
268
+ *
269
+ * @default 4
270
+ */
271
+ readonly maxZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
272
+ /** Accessible name of the zoom-in button. Falls back to `graph.zoomIn`, then `'Zoom in'`. */
273
+ readonly zoomInLabel: import("@angular/core").InputSignal<string | null>;
274
+ /** Accessible name of the zoom-out button. Falls back to `graph.zoomOut`, then `'Zoom out'`. */
275
+ readonly zoomOutLabel: import("@angular/core").InputSignal<string | null>;
276
+ /** Accessible name of the fit button. Falls back to `graph.fit`, then `'Fit to view'`. */
277
+ readonly fitLabel: import("@angular/core").InputSignal<string | null>;
278
+ /**
279
+ * An asynchronous layout rejected. Carries the rejection as thrown. The last
280
+ * picture stays on screen, and a run that was aborted never reports here.
281
+ */
282
+ readonly layoutError: import("@angular/core").OutputEmitterRef<unknown>;
283
+ protected readonly label: Signal<string>;
145
284
  private readonly parentsText;
146
285
  private readonly childrenText;
147
- protected readonly nodeTemplate: import("@angular/core").Signal<WrGraphNodeTemplate | undefined>;
286
+ protected readonly zoomInText: Signal<string>;
287
+ protected readonly zoomOutText: Signal<string>;
288
+ protected readonly fitText: Signal<string>;
289
+ protected readonly nodeTemplate: Signal<WrGraphNodeTemplate | undefined>;
290
+ private readonly viewportRef;
291
+ private readonly stageRef;
148
292
  /** `url(#…)` for every edge's `marker-end`. */
149
293
  protected readonly markerId: string;
150
294
  protected readonly markerUrl: string;
@@ -153,6 +297,8 @@ export declare class WrGraph<TData = unknown> {
153
297
  private readonly dir;
154
298
  private readonly i18n;
155
299
  private readonly localeId;
300
+ private readonly isBrowser;
301
+ private readonly reducedMotion;
156
302
  private readonly isRtl;
157
303
  private readonly locale;
158
304
  /**
@@ -162,13 +308,22 @@ export declare class WrGraph<TData = unknown> {
162
308
  */
163
309
  private readonly defaultSize;
164
310
  private readonly prepared;
165
- /** The engine's answer, as returned. A fresh signal per run: nothing aborts a synchronous layout. */
166
- private readonly raw;
311
+ /** One run per cleaned input. A controller of its own, so aborting a run never touches another. */
312
+ private readonly run;
313
+ /** The asynchronous run that last settled. */
314
+ private readonly settled;
167
315
  /**
168
- * The drawable result. An asynchronous layout is declared by the interface and
169
- * not supported by this release: a thenable draws nothing, and dev mode says so.
316
+ * What is drawn. A synchronous answer is drawn in the pass that computed it. A
317
+ * Promise keeps the previous drawing until it resolves, and a rejected one
318
+ * keeps it for good.
170
319
  */
171
- private readonly result;
320
+ private readonly drawing;
321
+ /**
322
+ * Whether an asynchronous layout is running for the current inputs. The host
323
+ * carries `wr-graph--pending` and the viewport `aria-busy` while it is. Always
324
+ * `false` with a synchronous layout.
325
+ */
326
+ readonly layoutPending: Signal<boolean>;
172
327
  /** Layout joined to the nodes and edges, direction-free, nodes in reading order. */
173
328
  private readonly placed;
174
329
  /**
@@ -176,14 +331,78 @@ export declare class WrGraph<TData = unknown> {
176
331
  * same numbers and cannot drift apart — and kept apart from the layout so a
177
332
  * direction change does not lay the graph out again.
178
333
  */
179
- protected readonly view: import("@angular/core").Signal<GraphView<TData>>;
334
+ protected readonly view: Signal<GraphView<TData>>;
335
+ /** The zoom bounds, cleaned: a positive minimum, and a maximum never under it. */
336
+ private readonly bounds;
337
+ /** Where the drawing is. The one write per frame that moves it. */
338
+ private readonly at;
339
+ /**
340
+ * How far the drawing sits from its natural place, in pixels. Moves with every
341
+ * pan and with a zoom around a point. `{ x: 0, y: 0 }` until the view is fitted
342
+ * or moved.
343
+ */
344
+ readonly pan: Signal<WrGraphPoint>;
345
+ /** The size of the drawing, which a fit answers to. Equal sizes are one value. */
346
+ private readonly size;
347
+ /** One `transform` on the stage. Absent at 100% in its natural place, which is also what a prerender ships. */
348
+ protected readonly stageTransform: Signal<string | null>;
349
+ protected readonly atMinZoom: Signal<boolean>;
350
+ protected readonly atMaxZoom: Signal<boolean>;
351
+ /** A drag or a pinch is under way: the host carries `wr-graph--panning`. */
352
+ protected readonly panning: import("@angular/core").WritableSignal<boolean>;
353
+ /** The move in flight came from a button or a key, so the stage eases to it. */
354
+ protected readonly animated: import("@angular/core").WritableSignal<boolean>;
355
+ /** The view was moved by hand, so a new layout no longer fits it. */
356
+ private moved;
357
+ /** Pointer and wheel moves wait here for the next frame. */
358
+ private queued;
359
+ private frameId;
360
+ private readonly pointers;
361
+ private dragging;
180
362
  /**
181
363
  * The visually hidden sentence per node id: its parents, then its children, as
182
364
  * name lists. Never a count — the catalogs have no plural forms. A neighbour
183
365
  * linked by several edges is named once, and names follow reading order.
184
366
  */
185
- protected readonly relations: import("@angular/core").Signal<Map<string, string>>;
367
+ protected readonly relations: Signal<Map<string, string>>;
186
368
  constructor();
369
+ /**
370
+ * Shows the whole drawing, centred, at the largest zoom that fits and never
371
+ * above 100%. The view follows the layout again afterwards: a result of
372
+ * another size is fitted too. Does nothing unless `zoomable`.
373
+ */
374
+ fit(): void;
375
+ /**
376
+ * Puts the drawing back in its natural place at 100%. Counts as moving the
377
+ * view, so a later layout does not fit it. Does nothing unless `zoomable`.
378
+ */
379
+ resetView(): void;
380
+ protected zoomIn(): void;
381
+ protected zoomOut(): void;
382
+ protected fitView(animate: boolean): void;
383
+ /** The viewport's box and where the stage starts in it. All zeros before the first render and on the server. */
384
+ private frame;
385
+ /** The fitted transform, or `null` while there is nothing to fit or no box to fit it in. */
386
+ private fitted;
387
+ /** After a new drawing or a new box: fit it, or keep a view moved by hand within reach. */
388
+ private settle;
389
+ /** The transform the next frame will show. */
390
+ private current;
391
+ private bounded;
392
+ private commit;
393
+ /** A move from a pointer or the wheel: many may arrive in one frame, and one is drawn. */
394
+ private schedule;
395
+ private cancelFrame;
396
+ /** A step from a button or a key, around the middle of the viewport. */
397
+ private zoomBy;
398
+ private panBy;
399
+ private onWheel;
400
+ private onKeydown;
401
+ private onPointerDown;
402
+ private onPointerMove;
403
+ private onPointerEnd;
404
+ /** Capture goes to the viewport only now, so a press that never moved still clicks what it pressed. */
405
+ private startDrag;
187
406
  static ɵfac: i0.ɵɵFactoryDeclaration<WrGraph<any>, never>;
188
407
  static ɵcmp: i0.ɵɵComponentDeclaration<WrGraph<any>, "wr-graph", never, {
189
408
  "nodes": {
@@ -211,6 +430,83 @@ export declare class WrGraph<TData = unknown> {
211
430
  "required": false;
212
431
  "isSignal": true;
213
432
  };
214
- }, {}, ["nodeTemplate"], never, true, never>;
433
+ "zoomable": {
434
+ "alias": "zoomable";
435
+ "required": false;
436
+ "isSignal": true;
437
+ };
438
+ "wheelZoom": {
439
+ "alias": "wheelZoom";
440
+ "required": false;
441
+ "isSignal": true;
442
+ };
443
+ "zoom": {
444
+ "alias": "zoom";
445
+ "required": false;
446
+ "isSignal": true;
447
+ };
448
+ "minZoom": {
449
+ "alias": "minZoom";
450
+ "required": false;
451
+ "isSignal": true;
452
+ };
453
+ "maxZoom": {
454
+ "alias": "maxZoom";
455
+ "required": false;
456
+ "isSignal": true;
457
+ };
458
+ "zoomInLabel": {
459
+ "alias": "zoomInLabel";
460
+ "required": false;
461
+ "isSignal": true;
462
+ };
463
+ "zoomOutLabel": {
464
+ "alias": "zoomOutLabel";
465
+ "required": false;
466
+ "isSignal": true;
467
+ };
468
+ "fitLabel": {
469
+ "alias": "fitLabel";
470
+ "required": false;
471
+ "isSignal": true;
472
+ };
473
+ }, {
474
+ "zoom": "zoomChange";
475
+ "layoutError": "layoutError";
476
+ }, ["nodeTemplate"], never, true, never>;
477
+ }
478
+ /** Options for {@link WrLayeredGraphLayout}. Spacing lives here, not on the component: the names are engine-specific. */
479
+ interface WrLayeredGraphLayoutOptions {
480
+ /** Horizontal gap between two nodes in one layer. Default `24`. */
481
+ readonly nodeGap?: number;
482
+ /** Vertical gap between two layers. Default `48`. */
483
+ readonly layerGap?: number;
484
+ /** Gap between an edge's bend and its neighbours, and between ports on one side. Default `12`. */
485
+ readonly edgeGap?: number;
486
+ /** Horizontal gap between two unconnected parts of the graph. Default `48`. */
487
+ readonly componentGap?: number;
488
+ }
489
+ /**
490
+ * The built-in layered layout: parents above children, pure TypeScript, no DOM
491
+ * and no dependency, so it runs the same under prerender as in the browser.
492
+ *
493
+ * It is deliberately the light version of the pipeline: DFS cycle breaking,
494
+ * source-based longest-path ranking with one tightening pass, barycenter sweeps
495
+ * with a pairwise crossing count, and averaged forward/backward compaction for
496
+ * coordinates. Network simplex and Brandes–Köpf would draw some graphs more
497
+ * compactly at several times the code.
498
+ *
499
+ * Deterministic by construction rather than by luck: ids are turned into indices
500
+ * in input order before anything else, every loop is capped by a count, every
501
+ * comparator is total with an integer tie-break, and the arithmetic is limited
502
+ * to operations the language specifies exactly — so the server and the browser
503
+ * agree to the last bit. Nothing is kept between calls and the input is never
504
+ * written to.
505
+ */
506
+ export declare class WrLayeredGraphLayout extends WrGraphLayout {
507
+ private readonly gaps;
508
+ constructor(options?: WrLayeredGraphLayoutOptions);
509
+ /** Synchronous — a narrowing of the base signature, so a caller holding this class needs no `await`. */
510
+ layout(input: WrGraphLayoutInput): WrGraphLayoutResult;
215
511
  }
216
- export type { WrGraphEdge, WrGraphNode, WrGraphNodeContext };
512
+ export type { WrGraphEdge, WrGraphEdgeRoute, WrGraphLayoutContext, WrGraphLayoutEdge, WrGraphLayoutInput, WrGraphLayoutNode, WrGraphLayoutResult, WrGraphNode, WrGraphNodeContext, WrGraphNodePlacement, WrGraphPoint, WrLayeredGraphLayoutOptions };
@@ -113,6 +113,16 @@ export declare class WrInputNumberHarness extends ComponentHarness {
113
113
  setValueText(text: string): Promise<void>;
114
114
  /** Empty the field, which sets the value to `null` — not to `0`. */
115
115
  clear(): Promise<void>;
116
+ /** Whether the clear (×) button is on show: `clearable`, with text, neither disabled nor read-only. */
117
+ hasClearButton(): Promise<boolean>;
118
+ /**
119
+ * Click the clear (×) button, which sets the value to `null` and emits `touch`.
120
+ * {@link clear} empties the field from the keyboard instead. Throws when the
121
+ * button is not on show.
122
+ */
123
+ clickClear(): Promise<void>;
124
+ /** Whether the field is drawing its `loading` spinner. */
125
+ isLoading(): Promise<boolean>;
116
126
  /** Whether the ▲▼ column is rendered at all — `[showSteppers]="false"` drops it. */
117
127
  hasSteppers(): Promise<boolean>;
118
128
  /**
@@ -137,6 +137,20 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
137
137
  */
138
138
  protected readonly resolvedIncrement: import("@angular/core").Signal<string>;
139
139
  protected readonly resolvedDecrement: import("@angular/core").Signal<string>;
140
+ /**
141
+ * Show a clear (×) button while the field holds text and is neither disabled
142
+ * nor read-only. Clearing sets `value` to `null`, emits `touch` and puts focus
143
+ * back in the field. It is a pointer control: from the keyboard, emptying the
144
+ * field clears the value. @default false
145
+ */
146
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
147
+ /** Clear (×) button aria-label. Falls back to `common.clear`. */
148
+ readonly clearLabel: import("@angular/core").InputSignal<string | null>;
149
+ /**
150
+ * Show a spinner after the field and mark the field `aria-busy`. The field
151
+ * stays editable. @default false
152
+ */
153
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
140
154
  /** Disable interaction. @default false */
141
155
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
142
156
  /** Read-only — values cannot be changed (steppers + typing disabled). @default false */
@@ -147,7 +161,7 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
147
161
  * `[(value)]`.
148
162
  */
149
163
  readonly value: import("@angular/core").ModelSignal<WrInputNumberValue<M>>;
150
- /** Emitted on blur so a bound field can mark itself touched. */
164
+ /** Emitted on blur, and by the clear (×) button, so a bound field can mark itself touched. */
151
165
  readonly touch: import("@angular/core").OutputEmitterRef<void>;
152
166
  private readonly locale;
153
167
  private readonly separators;
@@ -303,6 +317,21 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
303
317
  "required": false;
304
318
  "isSignal": true;
305
319
  };
320
+ "clearable": {
321
+ "alias": "clearable";
322
+ "required": false;
323
+ "isSignal": true;
324
+ };
325
+ "clearLabel": {
326
+ "alias": "clearLabel";
327
+ "required": false;
328
+ "isSignal": true;
329
+ };
330
+ "loading": {
331
+ "alias": "loading";
332
+ "required": false;
333
+ "isSignal": true;
334
+ };
306
335
  "disabled": {
307
336
  "alias": "disabled";
308
337
  "required": false;
@@ -55,6 +55,11 @@ export declare class WrInputOtp implements FormValueControl<string> {
55
55
  * sizes the whole strip however many boxes `length` renders. @default 'md'
56
56
  */
57
57
  readonly size: import("@angular/core").InputSignal<WrInputOtpSize>;
58
+ /**
59
+ * Pill-shaped corners. Every box takes them, so a square box draws a circle.
60
+ * @default false
61
+ */
62
+ readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
58
63
  /** Mask the typed characters like a password. @default false */
59
64
  readonly mask: import("@angular/core").InputSignalWithTransform<boolean, any>;
60
65
  /**
@@ -185,6 +190,11 @@ export declare class WrInputOtp implements FormValueControl<string> {
185
190
  "required": false;
186
191
  "isSignal": true;
187
192
  };
193
+ "rounded": {
194
+ "alias": "rounded";
195
+ "required": false;
196
+ "isSignal": true;
197
+ };
188
198
  "mask": {
189
199
  "alias": "mask";
190
200
  "required": false;
@@ -63,4 +63,34 @@ export declare class WrInputHarness extends ComponentHarness {
63
63
  blur(): Promise<void>;
64
64
  isFocused(): Promise<boolean>;
65
65
  }
66
+ /**
67
+ * Harness for `<wr-input-group>`: the clear (×) button and the spinner it draws
68
+ * around the field it wraps. The field itself is a {@link WrInputHarness}, from
69
+ * {@link getInput}.
70
+ *
71
+ * There is no `getPrefix()` / `getSuffix()`: an affix is the app's own markup,
72
+ * so a spec reads it straight off its own template.
73
+ *
74
+ * @example
75
+ * ```ts
76
+ * const search = await loader.getHarness(WrInputGroupHarness);
77
+ *
78
+ * await (await search.getInput()).setValue('ada');
79
+ * expect(await search.isLoading()).toBe(true);
80
+ * await search.clear();
81
+ * ```
82
+ *
83
+ * @see https://ngwr.dev/guides/testing
84
+ */
85
+ export declare class WrInputGroupHarness extends ComponentHarness {
86
+ static hostSelector: string;
87
+ /** The first field the group wraps, the one `clearable` and `loading` act on. */
88
+ getInput(): Promise<WrInputHarness>;
89
+ /** Whether the clear (×) button is on show: `clearable`, with text, neither disabled nor read-only. */
90
+ hasClearButton(): Promise<boolean>;
91
+ /** Click the clear (×) button. Throws when it is not on show. */
92
+ clear(): Promise<void>;
93
+ /** Whether the group is drawing its `loading` spinner. */
94
+ isLoading(): Promise<boolean>;
95
+ }
66
96
  export type { WrInputHarnessFilters };