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
@@ -1,4 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
+ import { Signal } from "@angular/core";
2
3
  import { Field, FieldTree } from "@angular/forms/signals";
3
4
  import { WrFieldSpec } from "ngwr/form";
4
5
  /** One field the template draws, resolved once per schema change. */
@@ -14,8 +15,29 @@ interface WrRenderedField {
14
15
  * template is re-run on every pass, and this is decided once per schema.
15
16
  */
16
17
  readonly labelAbove: string;
17
- /** `grid-column`, already clamped to the form's own `columns`. */
18
+ /** `grid-column`, already clamped to the columns of the grid the field sits on. */
18
19
  readonly column: string;
20
+ /** DOM id prefix for the parts of an `array` field. */
21
+ readonly id: string;
22
+ /** The item fields of an `array`, in order. Empty for every other kind. */
23
+ readonly items: Signal<readonly FieldTree<object>[]>;
24
+ }
25
+ /** A run of fields drawn inside one `<fieldset>`. */
26
+ interface WrRenderedSection {
27
+ readonly id: string;
28
+ readonly title: string;
29
+ readonly description: string;
30
+ /** `grid-template-columns` of the section's own grid. */
31
+ readonly template: string;
32
+ readonly fields: WrRenderedField[];
33
+ /** False while the schema hides every field in it: an empty fieldset announces a group of nothing. */
34
+ readonly visible: Signal<boolean>;
35
+ }
36
+ /** One child of the form's grid: a field, or a section holding several. */
37
+ interface WrRenderedCell {
38
+ readonly key: string;
39
+ readonly field?: WrRenderedField;
40
+ readonly section?: WrRenderedSection;
19
41
  }
20
42
  /**
21
43
  * A form drawn from a Signal Forms schema — one `<wr-form-field>`, one control
@@ -52,8 +74,15 @@ interface WrRenderedField {
52
74
  * Re-declaring any of them here would be a second source of truth for state the
53
75
  * form already owns.
54
76
  *
55
- * **Why its own entry point rather than `ngwr/form`.** Drawing nine kinds means
56
- * depending on nine controls, and `ngwr/form` is the layout primitive every
77
+ * **A section is a spec key, a repeating group is a kind.** Fields naming the
78
+ * same `section` are drawn in one `<fieldset>` under its title. A field of
79
+ * `kind: 'array'` over an array of objects draws one group per item, each a
80
+ * `<wr-schema-form>` of its own, so the items' fields are described once with
81
+ * `applyEach`. Add and Remove write the array, and `minLength` and `maxLength`
82
+ * on it are the bounds they stop at.
83
+ *
84
+ * **Why its own entry point rather than `ngwr/form`.** Drawing every kind means
85
+ * depending on every control, and `ngwr/form` is the layout primitive every
57
86
  * form imports — folding this in would put a date picker and a slider into the
58
87
  * bundle of an app that only wanted `<wr-form-field>`.
59
88
  *
@@ -71,22 +100,53 @@ export declare class WrSchemaForm<T extends object> {
71
100
  * @default 1
72
101
  */
73
102
  readonly columns: import("@angular/core").InputSignalWithTransform<number, unknown>;
103
+ /** Text of the button that adds an item to a repeating group. Falls back to `common.add`. */
104
+ readonly addLabel: import("@angular/core").InputSignal<string | null>;
105
+ /** Text of the button that removes one item of a repeating group. Falls back to `common.remove`. */
106
+ readonly removeLabel: import("@angular/core").InputSignal<string | null>;
107
+ protected readonly resolvedAdd: Signal<string>;
108
+ protected readonly resolvedRemove: Signal<string>;
109
+ private readonly injector;
110
+ private readonly uid;
74
111
  /**
75
112
  * The track list, written as a style rather than published as a
76
113
  * `--wr-schema-form-columns` hook: `columns` always has a value, so the
77
114
  * inline style would win over any declaration a consumer wrote and the hook
78
115
  * would be one nobody could use.
79
116
  */
80
- protected readonly template: import("@angular/core").Signal<string>;
117
+ protected readonly template: Signal<string>;
81
118
  /**
82
- * The described fields, in the model's key order.
119
+ * The described fields, in the model's key order, with the fields of a
120
+ * section gathered where its first field stands.
83
121
  *
84
122
  * A field tree over an object is iterable as `[key, field]` pairs, which is
85
123
  * the whole reason this component needs no field list of its own. `isFieldTree`
86
124
  * guards the pair: a model carrying a method or a non-field property would
87
125
  * otherwise be read as a field and answer `undefined` to everything.
88
126
  */
89
- protected readonly fields: import("@angular/core").Signal<readonly WrRenderedField[]>;
127
+ protected readonly cells: Signal<readonly WrRenderedCell[]>;
128
+ /** Types the context of the cell template, which an outlet hands over untyped. */
129
+ protected rendered(field: unknown): WrRenderedField;
130
+ /** Whether a repeating group may take one more item: not past `maxLength`, and not disabled or read-only. */
131
+ protected canAdd(f: WrRenderedField): boolean;
132
+ /** Whether a repeating group may lose an item: not under `minLength`, and not disabled or read-only. */
133
+ protected canRemove(f: WrRenderedField): boolean;
134
+ /**
135
+ * What describes a repeating group: its own errors while it shows any, else
136
+ * its hint. The ids are the ones `<wr-form-field>` derives from `controlId`,
137
+ * and the condition is the one it shows errors on, so the reference never
138
+ * names an element that is not drawn.
139
+ */
140
+ protected describedBy(f: WrRenderedField): string | null;
141
+ /** Append a new item and move focus into it. */
142
+ protected add(f: WrRenderedField): void;
143
+ /**
144
+ * Remove one item. Focus goes to the item that took its place, and from the
145
+ * last one to the Add button, so it never falls back to the page.
146
+ */
147
+ protected remove(f: WrRenderedField, index: number, list: HTMLElement): void;
148
+ private write;
149
+ private focusItem;
90
150
  static ɵfac: i0.ɵɵFactoryDeclaration<WrSchemaForm<any>, never>;
91
151
  static ɵcmp: i0.ɵɵComponentDeclaration<WrSchemaForm<any>, "wr-schema-form", never, {
92
152
  "field": {
@@ -99,6 +159,16 @@ export declare class WrSchemaForm<T extends object> {
99
159
  "required": false;
100
160
  "isSignal": true;
101
161
  };
162
+ "addLabel": {
163
+ "alias": "addLabel";
164
+ "required": false;
165
+ "isSignal": true;
166
+ };
167
+ "removeLabel": {
168
+ "alias": "removeLabel";
169
+ "required": false;
170
+ "isSignal": true;
171
+ };
102
172
  }, {}, never, never, true, never>;
103
173
  }
104
174
  export {};
@@ -136,6 +136,25 @@ export declare class WrSelectHarness extends ComponentHarness {
136
136
  getOptionLabels(): Promise<string[]>;
137
137
  /** Open the panel if needed, then click the first option matching the filters. */
138
138
  selectOption(filters: WrOptionHarnessFilters): Promise<void>;
139
+ /**
140
+ * Open the panel if needed, then click the select-all row.
141
+ *
142
+ * Throws when the panel has no such row, and names the reasons: the row needs
143
+ * `selectAll`, multi mode, and at least one option on offer, so a search that
144
+ * matches nothing takes it away.
145
+ */
146
+ toggleSelectAll(): Promise<void>;
147
+ /**
148
+ * Whether every option the panel is offering is selected: the row's
149
+ * `aria-checked="true"`. Under a search that is every MATCHING option, which
150
+ * is what the row toggles. `false` covers both "none" and "some";
151
+ * {@link getSelectAllState} tells those apart.
152
+ */
153
+ isAllSelected(): Promise<boolean>;
154
+ /** The select-all row's state, read from `aria-checked`. Throws when there is no row. */
155
+ getSelectAllState(): Promise<'checked' | 'mixed' | 'unchecked'>;
156
+ /** Whether the open panel is showing a select-all row. */
157
+ hasSelectAll(): Promise<boolean>;
139
158
  /** Type into a search or tag select's input, replacing whatever is there. */
140
159
  typeSearch(query: string): Promise<void>;
141
160
  /** Click the clear (×) control. It only exists on a `clearable` select with a selection. */
@@ -157,6 +176,7 @@ export declare class WrSelectHarness extends ComponentHarness {
157
176
  isLoading(): Promise<boolean>;
158
177
  /** Move keyboard focus to the select. */
159
178
  focus(): Promise<void>;
179
+ private selectAllRow;
160
180
  /** The text input of a search or tag select, or `null` for the button trigger. */
161
181
  private searchInput;
162
182
  /** One element inside THIS select's panel, or `null`. */
@@ -40,6 +40,8 @@ interface WrSelectOptionRegistration {
40
40
  * plain reader let the trigger cache the English fallback forever.
41
41
  */
42
42
  readonly label: Signal<string>;
43
+ /** `label` lowercased once, for the search filter. Optional, like `host`. */
44
+ readonly searchLabel?: Signal<string>;
43
45
  /**
44
46
  * The option's own element, when it has one. The keyboard cursor walks the
45
47
  * registry, and registration order is CREATION order — projected children are
@@ -117,6 +119,8 @@ interface WrSelectContext {
117
119
  selectOption(value: unknown): void;
118
120
  /** Register an option; returns an unregister function. */
119
121
  registerOption(reg: WrSelectOptionRegistration): () => void;
122
+ /** Replace a registered option, matched by id, without moving it. */
123
+ updateOption(reg: WrSelectOptionRegistration): void;
120
124
  }
121
125
  /**
122
126
  * @license
@@ -636,6 +640,24 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
636
640
  * disabled look — and refuse a pick until one is removed. @default 0
637
641
  */
638
642
  readonly maxItems: import("@angular/core").InputSignalWithTransform<number, unknown>;
643
+ /**
644
+ * Multi mode: a first, pinned "Select all" row in the panel. It toggles every
645
+ * enabled option the panel is offering, so under a search only the ones the
646
+ * query matches, and with `virtualScroll` the whole filtered list rather than
647
+ * the rendered rows. It adds in display order and stops at `maxItems`; a
648
+ * second press, with nothing left to add, takes the offered options out again.
649
+ * A selection the search is hiding is never touched.
650
+ *
651
+ * The row is a `role="option"`, since a listbox owns nothing else, and says
652
+ * its state through `aria-checked`: `true` when every offered option is
653
+ * selected, `mixed` when some are, `false` when none. The arrows and Home
654
+ * reach it like any row and Enter or Space toggles it. Not drawn in single
655
+ * mode, in tag mode, or while the panel offers no option. @default false
656
+ */
657
+ readonly selectAll: import("@angular/core").InputSignalWithTransform<boolean, any>;
658
+ /** Text of the select-all row. Falls back to `select.selectAll`, then `'Select all'`. */
659
+ readonly selectAllLabel: import("@angular/core").InputSignal<string | null>;
660
+ protected readonly resolvedSelectAll: import("@angular/core").Signal<string>;
639
661
  /**
640
662
  * Maximum number of chips rendered before collapsing the rest into a
641
663
  * `+N more` indicator. `0` = render every chip. @default 0
@@ -655,24 +677,52 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
655
677
  readonly closed: import("@angular/core").OutputEmitterRef<void>;
656
678
  /** Listbox id used by the trigger's `aria-controls`. */
657
679
  protected readonly listboxId: string;
658
- /** Registered options (insertion order). Internal — distinct from the public `[options]` input. */
659
- private readonly registry;
680
+ /**
681
+ * Registered options by id, in creation order. Internal, distinct from the
682
+ * public `[options]` input. A plain map and not a signal of arrays: every
683
+ * option registers as the panel opens and unregisters as it closes, and a
684
+ * copy of the list per option is quadratic. Readers track `registryVersion`.
685
+ */
686
+ private readonly registrations;
687
+ private readonly registryVersion;
688
+ /** The first registration carrying each value, as `find` over creation order answered. */
689
+ private readonly registryByValue;
690
+ /**
691
+ * The registry sorted by document position. Kept between reads and appended
692
+ * to while each new option follows the last one, as every `[options]` row of
693
+ * an opening panel does: each option's `active` binding reads the order
694
+ * between two registrations, so a sort per read is a sort per option.
695
+ */
696
+ private ordered;
697
+ private orderStale;
698
+ /** `ordered` is also creation order, so an option no sort can place goes last in both. */
699
+ private orderIsCreation;
660
700
  /**
661
701
  * The registry in DOM order — the list the keyboard cursor walks.
662
702
  *
663
- * `registry` is CREATION order, and projected `<wr-option>` children are created
703
+ * The registry is CREATION order, and projected `<wr-option>` children are created
664
704
  * before the panel renders its own `[options]` rows, so with both in play the
665
705
  * cursor moved in an order the eye could not follow: opening highlighted the
666
- * third row on screen and ArrowDown went to the last. Value lookups keep reading
667
- * `registry` — they do not care about order — and a registration with no element
668
- * keeps its place, since the sort is stable.
706
+ * third row on screen and ArrowDown went to the last. Value lookups do not
707
+ * care about order, and a registration with no element keeps its place, since
708
+ * the sort is stable.
709
+ *
710
+ * It hands out the one `ordered` array, so it never compares equal.
669
711
  */
670
712
  private readonly orderedRegistry;
713
+ /**
714
+ * Bumped once the panel is attached. Only then are projected option hosts in
715
+ * the document, so only then can `orderedRegistry` sort what was added or
716
+ * moved while the panel was closed.
717
+ */
718
+ private readonly panelAttached;
671
719
  /** Keyboard cursor index into `options`. -1 = none. */
672
720
  protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
673
721
  /** Id of the active option (for `aria-activedescendant`). */
674
722
  readonly activeOptionId: import("@angular/core").Signal<string | null>;
675
- protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
723
+ private readonly openState;
724
+ /** Whether the panel is open. Read-only: `open()` and `close()` change it. */
725
+ readonly isOpen: import("@angular/core").Signal<boolean>;
676
726
  /** WrSelectContext — whether the panel is open. Options gate their leading visual on it. */
677
727
  readonly panelOpen: import("@angular/core").Signal<boolean>;
678
728
  /**
@@ -732,7 +782,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
732
782
  * Trigger label for single mode. Multi reads `selectedChips` instead.
733
783
  *
734
784
  * A `computed`, and that is the whole point. It used to be a `signal` written
735
- * from an effect keyed on `value` / `registry` / `isMulti` / `displayWith` —
785
+ * from an effect keyed on `value` / the registry / `isMulti` / `displayWith` —
736
786
  * not one of which moves when the OPTION'S OWN TEXT does, and that text is
737
787
  * projected content whose ordinary way of changing is a translation catalog
738
788
  * landing a microtask after the first pass. The trigger kept the English
@@ -761,6 +811,9 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
761
811
  * `<wr-option>` in the panel, in every mode that has one.
762
812
  */
763
813
  protected readonly dynamicOptions: import("@angular/core").Signal<readonly T[]>;
814
+ private readonly dynamicOptionSet;
815
+ /** Lowercased labels of `dynamicOptions()`, by index: a query reads them, and never `displayWith`. */
816
+ private readonly dynamicSearchLabels;
764
817
  private static readonly FALLBACK_ROW_PX;
765
818
  private static readonly FALLBACK_VIEWPORT_PX;
766
819
  /**
@@ -893,6 +946,34 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
893
946
  protected readonly retryOffered: import("@angular/core").Signal<boolean>;
894
947
  /** Id of the error row, which `aria-activedescendant` names while it offers a retry. */
895
948
  protected readonly retryRowId: string;
949
+ /** Id of the select-all row, which `aria-activedescendant` names while the cursor is on it. */
950
+ protected readonly selectAllId: string;
951
+ /**
952
+ * What the select-all row acts on: the value of every enabled option the panel
953
+ * is offering, in display order. The virtual path reads the filtered data, not
954
+ * the rendered window; the full-render path reads the registry, where a
955
+ * filtered-out option stays registered and has to be dropped by hand.
956
+ */
957
+ private readonly selectAllTargets;
958
+ /** Whether the panel draws the select-all row: asked for, multi, and with something to select. */
959
+ protected readonly showSelectAll: import("@angular/core").Signal<boolean>;
960
+ /** How many of the offered options are selected: every one, some, or none. */
961
+ protected readonly selectAllState: import("@angular/core").Signal<"some" | "none" | "all">;
962
+ /** The row's `aria-checked`. */
963
+ protected readonly selectAllChecked: import("@angular/core").Signal<"true" | "false" | "mixed">;
964
+ /**
965
+ * `maxItems` is full of options the panel is not offering, so the row can
966
+ * neither add one nor take one out.
967
+ */
968
+ protected readonly selectAllUnavailable: import("@angular/core").Signal<boolean>;
969
+ /** Whether the keyboard cursor is on the select-all row. */
970
+ protected readonly selectAllActive: import("@angular/core").Signal<boolean>;
971
+ /**
972
+ * The select-all row. While an offered option can still be added it adds them,
973
+ * in display order, up to `maxItems`; with nothing left to add it removes the
974
+ * offered ones. Values the search is hiding stay as they are either way.
975
+ */
976
+ protected toggleSelectAll(): void;
896
977
  /** Search mode: is this option hidden by the current query? @internal */
897
978
  private isOptionHidden;
898
979
  protected readonly panelTpl: import("@angular/core").Signal<TemplateRef<any>>;
@@ -937,7 +1018,9 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
937
1018
  protected onSearchBlur(): void;
938
1019
  /** A pointer is down inside the panel: until it lifts, a blur of the field is not a leave. */
939
1020
  private pressInPanel;
1021
+ private pressEnd;
940
1022
  protected onPanelPointerDown(event: PointerEvent): void;
1023
+ private endPanelPress;
941
1024
  /** `freeText`: a non-empty trimmed query becomes the value. */
942
1025
  private commitQuery;
943
1026
  protected onSearchKey(event: KeyboardEvent): void;
@@ -1007,6 +1090,11 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1007
1090
  * is not exported from `ngwr/select`. @internal
1008
1091
  */
1009
1092
  registerOption(reg: WrSelectOptionRegistration): () => void;
1093
+ /**
1094
+ * Replaces a registered option in its slot, so a change of value or disabled
1095
+ * does not move it in the keyboard order. @internal
1096
+ */
1097
+ updateOption(reg: WrSelectOptionRegistration): void;
1010
1098
  /**
1011
1099
  * Remove one selection (chip × button) BY POSITION. Works for multi and tag
1012
1100
  * modes.
@@ -1047,15 +1135,17 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1047
1135
  protected onTriggerKey(event: KeyboardEvent): void;
1048
1136
  /**
1049
1137
  * A seed was taken before the panel attached. The panel's own `[options]` rows
1050
- * register as the portal attaches, so a seed over a registry without them is
1051
- * redone then; a click-open seeds nothing and stays cursor-less.
1138
+ * register as the portal attaches, and projected ones can only be put in DOM
1139
+ * order then, so a seed is redone over the list as rendered: `selected` as
1140
+ * `seedActiveIndex` takes it, `first` as a query does. A click-open seeds
1141
+ * nothing and stays cursor-less.
1052
1142
  */
1053
1143
  private reseedOnAttach;
1054
1144
  private seedActiveIndex;
1055
1145
  private moveActive;
1056
1146
  /**
1057
1147
  * Both scan `orderedRegistry`, and that is not interchangeable with
1058
- * `registry`.
1148
+ * creation order.
1059
1149
  *
1060
1150
  * They RETURN an index, and every reader of `activeIndex` — `activeOptionId`,
1061
1151
  * `moveActive`, `seedActiveIndex`, the Enter branch of `onTriggerKey` —
@@ -1247,6 +1337,16 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1247
1337
  "required": false;
1248
1338
  "isSignal": true;
1249
1339
  };
1340
+ "selectAll": {
1341
+ "alias": "selectAll";
1342
+ "required": false;
1343
+ "isSignal": true;
1344
+ };
1345
+ "selectAllLabel": {
1346
+ "alias": "selectAllLabel";
1347
+ "required": false;
1348
+ "isSignal": true;
1349
+ };
1250
1350
  "maxTagCount": {
1251
1351
  "alias": "maxTagCount";
1252
1352
  "required": false;
@@ -1352,6 +1452,7 @@ export declare class WrOption {
1352
1452
  * chip is never what a `[label]="person.name"` on a missing name meant.
1353
1453
  */
1354
1454
  private readonly resolvedLabel;
1455
+ private readonly searchLabel;
1355
1456
  /**
1356
1457
  * @internal — true when this option is currently selected. Works for
1357
1458
  * both single and multi-select parents via `WrSelectContext.isSelected`.
@@ -0,0 +1,176 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ /** Narrows which `<wr-sidebar>` a harness query matches. */
3
+ interface WrSidebarHarnessFilters extends BaseHarnessFilters {
4
+ /** Match the landmark's accessible name: a string is an exact match, a RegExp is tested. */
5
+ readonly label?: string | RegExp;
6
+ }
7
+ /** Narrows which sidebar row a harness query matches. */
8
+ interface WrSidebarItemHarnessFilters extends BaseHarnessFilters {
9
+ /** Match the row's title: a string is an exact match, a RegExp is tested. */
10
+ readonly title?: string | RegExp;
11
+ /** Match only the current page (`true`) or only the other rows (`false`). */
12
+ readonly current?: boolean;
13
+ /** Match only disabled (`true`) or only enabled (`false`) rows. */
14
+ readonly disabled?: boolean;
15
+ }
16
+ /** Narrows which sidebar group a harness query matches. */
17
+ interface WrSidebarGroupHarnessFilters extends BaseHarnessFilters {
18
+ /** Match the group's title: a string is an exact match, a RegExp is tested. */
19
+ readonly title?: string | RegExp;
20
+ /** Match only open (`true`) or only closed (`false`) groups, as the toggle announces it. */
21
+ readonly open?: boolean;
22
+ }
23
+ /**
24
+ * Test harness for one row of a `<wr-sidebar>`: a page link, a disabled page,
25
+ * or the title row of a group.
26
+ *
27
+ * A row's accessible name is its title, badge and count joined by a hidden
28
+ * separator. Each reader here answers one piece without that separator, so
29
+ * `getTitle()` is `'Guides'` and never `'Guides,'`.
30
+ *
31
+ * @see https://ngwr.dev/guides/testing
32
+ */
33
+ export declare class WrSidebarItemHarness extends ComponentHarness {
34
+ static hostSelector: string;
35
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
36
+ static with(options?: WrSidebarItemHarnessFilters): HarnessPredicate<WrSidebarItemHarness>;
37
+ /** The row's title, trimmed. */
38
+ getTitle(): Promise<string>;
39
+ /** The line under the title, or `null`. */
40
+ getSubtitle(): Promise<string | null>;
41
+ /** The word badge (`New`, `Soon`), or `null`. */
42
+ getBadge(): Promise<string | null>;
43
+ /** The count as drawn at the end of the row (`'12'`, `'99+'`), or `null`. */
44
+ getCount(): Promise<string | null>;
45
+ /** The nesting level, from 1, out of the row's `wr-sidebar__row--level-<n>` modifier. Level 3 and deeper read `3`. */
46
+ getLevel(): Promise<number>;
47
+ /** Whether this row is the current page, from `aria-current="page"`. */
48
+ isCurrent(): Promise<boolean>;
49
+ /** Whether the row is a disabled page: plain text, out of the tab order. */
50
+ isDisabled(): Promise<boolean>;
51
+ /** Whether the row is the title of a group. {@link WrSidebarGroupHarness} opens and closes it. */
52
+ isGroup(): Promise<boolean>;
53
+ /**
54
+ * Click the row: a link navigates, and a group with no page of its own
55
+ * toggles. Throws for a disabled page, which is text and does nothing.
56
+ */
57
+ click(): Promise<void>;
58
+ /** Move keyboard focus to the row. */
59
+ focus(): Promise<void>;
60
+ /** Whether the row holds focus. */
61
+ isFocused(): Promise<boolean>;
62
+ }
63
+ /**
64
+ * Test harness for one group of a `<wr-sidebar>`: a title row, and the rows it
65
+ * opens.
66
+ *
67
+ * A group comes in two shapes and the harness covers both. Without a page of
68
+ * its own the whole title row is the toggle. With one, the title is a link and
69
+ * the arrow beside it is a separate button: {@link isLink} tells them apart,
70
+ * and {@link toggle} presses whichever element carries `aria-expanded`.
71
+ *
72
+ * Open and closed are read from that attribute. The rows of a closed group
73
+ * stay in the DOM, so {@link isContentHidden} is how a spec checks they are out
74
+ * of reach of the keyboard.
75
+ *
76
+ * @see https://ngwr.dev/guides/testing
77
+ */
78
+ export declare class WrSidebarGroupHarness extends ComponentHarness {
79
+ static hostSelector: string;
80
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
81
+ static with(options?: WrSidebarGroupHarnessFilters): HarnessPredicate<WrSidebarGroupHarness>;
82
+ private readonly row;
83
+ private readonly toggleElement;
84
+ private readonly body;
85
+ /** The group's title, trimmed. */
86
+ getTitle(): Promise<string>;
87
+ /** The group's title row, for its subtitle, badge, count and current state. */
88
+ getRow(): Promise<WrSidebarItemHarness>;
89
+ /** Whether the group is open, from its toggle's `aria-expanded`. */
90
+ isOpen(): Promise<boolean>;
91
+ /** Whether the group is a page as well: its title is a link, and the arrow is a button of its own. */
92
+ isLink(): Promise<boolean>;
93
+ /** The toggle's own accessible name: only a split group's arrow has one, the rest are named by their row. */
94
+ getToggleLabel(): Promise<string | null>;
95
+ /**
96
+ * Whether the group is closed around the current page, from the
97
+ * `wr-sidebar__row--holds-active` modifier that draws its dot.
98
+ */
99
+ holdsCurrent(): Promise<boolean>;
100
+ /** Whether the group's rows are out of reach of the keyboard, from `inert` on its body. */
101
+ isContentHidden(): Promise<boolean>;
102
+ /**
103
+ * The rows under this group, in order, nested groups' rows included.
104
+ * Answered whether the group is open or not: ask {@link isOpen} first when
105
+ * the question is what a user can reach.
106
+ */
107
+ getItems(filters?: WrSidebarItemHarnessFilters): Promise<WrSidebarItemHarness[]>;
108
+ /** The titles of the rows under this group, in order. */
109
+ getItemTitles(): Promise<string[]>;
110
+ /** Press the toggle. */
111
+ toggle(): Promise<void>;
112
+ /** Open the group. An already-open one is left alone. */
113
+ open(): Promise<void>;
114
+ /** Close the group. An already-closed one is left alone. */
115
+ close(): Promise<void>;
116
+ /** The body's own id, which the toggle's `aria-controls` names. */
117
+ private bodySelector;
118
+ }
119
+ /**
120
+ * Test harness for `<wr-sidebar>`, the navigation drawn from data.
121
+ *
122
+ * The sidebar has no collapsed state of its own: its groups open and close,
123
+ * each through a {@link WrSidebarGroupHarness}. A closed group keeps its rows
124
+ * in the DOM so its height can animate, which means a plain query finds links
125
+ * nobody can reach. {@link getItems} and {@link getGroups} answer with what is
126
+ * reachable, the rows outside every closed group, and `clickItem()` on a row
127
+ * inside one fails and names the rows that are there.
128
+ *
129
+ * The current page is asked for separately, across every row, because a
130
+ * collapsed group can hold it: see {@link getCurrentTitles}.
131
+ *
132
+ * @example
133
+ * ```ts
134
+ * const nav = await loader.getHarness(WrSidebarHarness);
135
+ *
136
+ * await nav.openGroup('Settings');
137
+ * await nav.clickItem('Billing');
138
+ * expect(await nav.getCurrentTitles()).toEqual(['Billing']);
139
+ * ```
140
+ *
141
+ * @see https://ngwr.dev/guides/testing
142
+ */
143
+ export declare class WrSidebarHarness extends ComponentHarness {
144
+ static hostSelector: string;
145
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
146
+ static with(options?: WrSidebarHarnessFilters): HarnessPredicate<WrSidebarHarness>;
147
+ /** The accessible name of the navigation landmark. */
148
+ getLabel(): Promise<string | null>;
149
+ /** The reachable rows, in order: pages, disabled pages and group titles, outside every closed group. */
150
+ getItems(filters?: WrSidebarItemHarnessFilters): Promise<WrSidebarItemHarness[]>;
151
+ /** The titles of the reachable rows, in order. */
152
+ getItemTitles(): Promise<string[]>;
153
+ /** The first reachable row with this title, or a failure naming the rows that are reachable. */
154
+ getItem(title: string | RegExp): Promise<WrSidebarItemHarness>;
155
+ /** The reachable groups, in order. */
156
+ getGroups(filters?: WrSidebarGroupHarnessFilters): Promise<WrSidebarGroupHarness[]>;
157
+ /** The first reachable group with this title, or a failure naming the groups that are reachable. */
158
+ getGroup(title: string | RegExp): Promise<WrSidebarGroupHarness>;
159
+ /**
160
+ * The title of every row marked `aria-current="page"`, in order, whether it
161
+ * is reachable or inside a closed group.
162
+ *
163
+ * A list, because the default match is a path prefix: an entry at `['/']`
164
+ * is current on every route unless it asks for an exact match.
165
+ */
166
+ getCurrentTitles(): Promise<string[]>;
167
+ /** Click the first reachable row with this title. Throws when it is out of reach, or disabled. */
168
+ clickItem(title: string | RegExp): Promise<void>;
169
+ /** Whether the first reachable group with this title is open. */
170
+ isGroupOpen(title: string | RegExp): Promise<boolean>;
171
+ /** Open the first reachable group with this title. */
172
+ openGroup(title: string | RegExp): Promise<void>;
173
+ /** Close the first reachable group with this title. */
174
+ closeGroup(title: string | RegExp): Promise<void>;
175
+ }
176
+ export type { WrSidebarGroupHarnessFilters, WrSidebarHarnessFilters, WrSidebarItemHarnessFilters };
@@ -1,5 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
- import { WrSliderMark, WrSliderValue } from "ngwr/slider";
2
+ import { WrSliderMark, WrSliderSize, WrSliderValue } from "ngwr/slider";
3
3
  /** Which end of a range slider a thumb is — the `--low` / `--high` modifier it carries. */
4
4
  type WrSliderThumbPosition = 'low' | 'high';
5
5
  /** Narrows which `<wr-slider>` a harness query matches. */
@@ -221,6 +221,8 @@ export declare class WrSliderHarness extends ComponentHarness {
221
221
  static with(options?: WrSliderHarnessFilters): HarnessPredicate<WrSliderHarness>;
222
222
  /** Whether the slider has two thumbs and answers with a `[low, high]` tuple. */
223
223
  isRange(): Promise<boolean>;
224
+ /** The control size. `'md'` is the default and paints no modifier of its own. */
225
+ getSize(): Promise<WrSliderSize>;
224
226
  /**
225
227
  * Whether the slider refuses interaction.
226
228
  *
@@ -14,6 +14,14 @@ interface WrSliderMark {
14
14
  /** Text under the mark, and the thumb's `aria-valuetext` while it stands on it. */
15
15
  readonly label?: string;
16
16
  }
17
+ /**
18
+ * @license
19
+ *
20
+ * Use of this source code is governed by an MIT-style license that can be
21
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
22
+ */
23
+ /** Size of a `<wr-slider>`. */
24
+ type WrSliderSize = 'sm' | 'md' | 'lg';
17
25
  /**
18
26
  * @license
19
27
  *
@@ -139,6 +147,13 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
139
147
  * @default 'horizontal'
140
148
  */
141
149
  readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
150
+ /**
151
+ * Control size: the track's thickness, the thumb, the marks and both kinds
152
+ * of label text.
153
+ *
154
+ * @default 'md'
155
+ */
156
+ readonly size: import("@angular/core").InputSignal<WrSliderSize>;
142
157
  /**
143
158
  * Accessible name of the thumb — the single one, or the LOWER one in range
144
159
  * mode. Falls back to `slider.label` / `slider.lower`.
@@ -392,6 +407,11 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
392
407
  "required": false;
393
408
  "isSignal": true;
394
409
  };
410
+ "size": {
411
+ "alias": "size";
412
+ "required": false;
413
+ "isSignal": true;
414
+ };
395
415
  "ariaLabel": {
396
416
  "alias": "ariaLabel";
397
417
  "required": false;
@@ -412,4 +432,4 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
412
432
  "touch": "touch";
413
433
  }, never, never, true, never>;
414
434
  }
415
- export type { WrSliderMark, WrSliderValue };
435
+ export type { WrSliderMark, WrSliderSize, WrSliderValue };
@@ -34,6 +34,8 @@ interface WrSortableListContext {
34
34
  * the slot it had left.
35
35
  */
36
36
  readonly items: Signal<readonly unknown[]>;
37
+ /** A row's pointer drag was cancelled with Escape; the drop that follows changes nothing. */
38
+ cancelDrag(drag: object): void;
37
39
  /** Register a row on construction, in projection order. */
38
40
  register(item: {
39
41
  readonly host: ElementRef<HTMLElement>;
@@ -231,6 +233,10 @@ export declare class WrSortableList<T = unknown> implements WrSortableListContex
231
233
  /** True while a keyboard move is handing focus back — see `onRowFocusout`. */
232
234
  private restoringFocus;
233
235
  constructor();
236
+ /** Rows whose pointer drag Escape cancelled; the drop that follows is ignored. */
237
+ private readonly cancelledDrags;
238
+ /** @internal A row's pointer drag was cancelled with Escape. */
239
+ cancelDrag(drag: object): void;
234
240
  private onDrop;
235
241
  /**
236
242
  * The keyboard reorder path: pick up, move, drop — deliberately a two-step