ngwr 16.1.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 (412) 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 +108 -1
  6. package/dropdown/styles/_index.scss +40 -10
  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 +48 -4
  101. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  102. package/fesm2022/ngwr-date-picker.mjs +492 -75
  103. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  104. package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -1
  105. package/fesm2022/ngwr-date-stamp.mjs +76 -12
  106. package/fesm2022/ngwr-date-stamp.mjs.map +1 -1
  107. package/fesm2022/ngwr-date.mjs +144 -12
  108. package/fesm2022/ngwr-date.mjs.map +1 -1
  109. package/fesm2022/ngwr-density.mjs +6 -6
  110. package/fesm2022/ngwr-descriptions.mjs +6 -6
  111. package/fesm2022/ngwr-dialog.mjs +18 -18
  112. package/fesm2022/ngwr-directives.mjs +15 -15
  113. package/fesm2022/ngwr-divider.mjs +3 -3
  114. package/fesm2022/ngwr-drawer.mjs +51 -29
  115. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  116. package/fesm2022/ngwr-dropdown-testing.mjs +48 -5
  117. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  118. package/fesm2022/ngwr-dropdown.mjs +407 -116
  119. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  120. package/fesm2022/ngwr-editor.mjs +4 -3
  121. package/fesm2022/ngwr-editor.mjs.map +1 -1
  122. package/fesm2022/ngwr-empty.mjs +3 -3
  123. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  124. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  125. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  126. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  127. package/fesm2022/ngwr-file-upload.mjs +274 -15
  128. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  129. package/fesm2022/ngwr-form.mjs +9 -9
  130. package/fesm2022/ngwr-form.mjs.map +1 -1
  131. package/fesm2022/ngwr-graph-testing.mjs +3 -0
  132. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  133. package/fesm2022/ngwr-graph.mjs +102 -42
  134. package/fesm2022/ngwr-graph.mjs.map +1 -1
  135. package/fesm2022/ngwr-hotkey.mjs +6 -6
  136. package/fesm2022/ngwr-i18n-ar.mjs +26 -6
  137. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-cs.mjs +26 -6
  139. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-de.mjs +26 -6
  141. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-en.mjs +26 -6
  143. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-es.mjs +26 -6
  145. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-fr.mjs +26 -6
  147. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-he.mjs +26 -6
  149. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-hi.mjs +26 -6
  151. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-id.mjs +26 -6
  153. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-it.mjs +26 -6
  155. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-ja.mjs +26 -6
  157. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-ko.mjs +26 -6
  159. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-nl.mjs +26 -6
  161. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-pl.mjs +26 -6
  163. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-pt.mjs +26 -6
  165. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-ru.mjs +26 -6
  167. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-sv.mjs +26 -6
  169. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-tr.mjs +26 -6
  171. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-uk.mjs +26 -6
  173. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  174. package/fesm2022/ngwr-i18n-vi.mjs +26 -6
  175. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-zh-tw.mjs +26 -6
  177. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n-zh.mjs +26 -6
  179. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  180. package/fesm2022/ngwr-i18n.mjs +9 -9
  181. package/fesm2022/ngwr-icon.mjs +6 -6
  182. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  183. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  184. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  185. package/fesm2022/ngwr-input-number.mjs +68 -7
  186. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  187. package/fesm2022/ngwr-input-otp.mjs +23 -3
  188. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  189. package/fesm2022/ngwr-input-testing.mjs +24 -1
  190. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  191. package/fesm2022/ngwr-input.mjs +152 -36
  192. package/fesm2022/ngwr-input.mjs.map +1 -1
  193. package/fesm2022/ngwr-keyboard.mjs +3 -3
  194. package/fesm2022/ngwr-knob.mjs +3 -3
  195. package/fesm2022/ngwr-layout.mjs +15 -15
  196. package/fesm2022/ngwr-lightbox-testing.mjs +26 -0
  197. package/fesm2022/ngwr-lightbox-testing.mjs.map +1 -1
  198. package/fesm2022/ngwr-lightbox.mjs +249 -13
  199. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  200. package/fesm2022/ngwr-list.mjs +8 -8
  201. package/fesm2022/ngwr-list.mjs.map +1 -1
  202. package/fesm2022/ngwr-load-state.mjs +15 -15
  203. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  204. package/fesm2022/ngwr-mention.mjs +6 -6
  205. package/fesm2022/ngwr-meta.mjs +6 -6
  206. package/fesm2022/ngwr-overlay.mjs +175 -13
  207. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  208. package/fesm2022/ngwr-page-header.mjs +3 -3
  209. package/fesm2022/ngwr-pagination.mjs +5 -3
  210. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  211. package/fesm2022/ngwr-pipes.mjs +57 -33
  212. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  213. package/fesm2022/ngwr-platform.mjs +9 -9
  214. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  215. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  216. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  217. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  218. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  219. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  220. package/fesm2022/ngwr-popover.mjs +58 -156
  221. package/fesm2022/ngwr-popover.mjs.map +1 -1
  222. package/fesm2022/ngwr-progress.mjs +50 -9
  223. package/fesm2022/ngwr-progress.mjs.map +1 -1
  224. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  225. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  226. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  227. package/fesm2022/ngwr-qr.mjs +3 -3
  228. package/fesm2022/ngwr-radio.mjs +6 -6
  229. package/fesm2022/ngwr-rating.mjs +3 -3
  230. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  231. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  232. package/fesm2022/ngwr-resizable.mjs +3 -3
  233. package/fesm2022/ngwr-result.mjs +12 -12
  234. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  235. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  236. package/fesm2022/ngwr-schema-form.mjs +418 -19
  237. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  238. package/fesm2022/ngwr-scroll.mjs +3 -3
  239. package/fesm2022/ngwr-segmented.mjs +3 -3
  240. package/fesm2022/ngwr-select-testing.mjs +19 -0
  241. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  242. package/fesm2022/ngwr-select.mjs +263 -83
  243. package/fesm2022/ngwr-select.mjs.map +1 -1
  244. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  245. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  246. package/fesm2022/ngwr-sidebar.mjs +3 -3
  247. package/fesm2022/ngwr-skeleton.mjs +3 -3
  248. package/fesm2022/ngwr-slider-testing.mjs +23 -0
  249. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  250. package/fesm2022/ngwr-slider.mjs +108 -14
  251. package/fesm2022/ngwr-slider.mjs.map +1 -1
  252. package/fesm2022/ngwr-sortable-list-testing.mjs +103 -0
  253. package/fesm2022/ngwr-sortable-list-testing.mjs.map +1 -0
  254. package/fesm2022/ngwr-sortable-list.mjs +284 -63
  255. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  256. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  257. package/fesm2022/ngwr-spinner.mjs +3 -3
  258. package/fesm2022/ngwr-splitter.mjs +3 -3
  259. package/fesm2022/ngwr-statistic.mjs +9 -9
  260. package/fesm2022/ngwr-stepper.mjs +42 -11
  261. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  262. package/fesm2022/ngwr-storage.mjs +3 -3
  263. package/fesm2022/ngwr-switch.mjs +3 -3
  264. package/fesm2022/ngwr-table-testing.mjs +88 -2
  265. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  266. package/fesm2022/ngwr-table.mjs +891 -74
  267. package/fesm2022/ngwr-table.mjs.map +1 -1
  268. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  269. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  270. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  271. package/fesm2022/ngwr-tabs.mjs +15 -10
  272. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  273. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  274. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  275. package/fesm2022/ngwr-textarea.mjs +128 -16
  276. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  277. package/fesm2022/ngwr-theme.mjs +3 -3
  278. package/fesm2022/ngwr-timeline.mjs +6 -6
  279. package/fesm2022/ngwr-toast.mjs +40 -19
  280. package/fesm2022/ngwr-toast.mjs.map +1 -1
  281. package/fesm2022/ngwr-toolbar.mjs +3 -3
  282. package/fesm2022/ngwr-tour.mjs +6 -6
  283. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  284. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  285. package/fesm2022/ngwr-transfer.mjs +24 -5
  286. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  287. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  288. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  289. package/fesm2022/ngwr-tree.mjs +966 -78
  290. package/fesm2022/ngwr-tree.mjs.map +1 -1
  291. package/fesm2022/ngwr-typography.mjs +3 -3
  292. package/fesm2022/ngwr-utils-router.mjs +3 -3
  293. package/fesm2022/ngwr-utils.mjs +34 -1
  294. package/fesm2022/ngwr-utils.mjs.map +1 -1
  295. package/fesm2022/ngwr-version.mjs +1 -1
  296. package/fesm2022/ngwr-version.mjs.map +1 -1
  297. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  298. package/fesm2022/ngwr-window.mjs +33 -22
  299. package/fesm2022/ngwr-window.mjs.map +1 -1
  300. package/file-upload/styles/_index.scss +156 -0
  301. package/i18n/ar.json +28 -6
  302. package/i18n/cs.json +28 -6
  303. package/i18n/de.json +28 -6
  304. package/i18n/en.json +28 -6
  305. package/i18n/es.json +28 -6
  306. package/i18n/fr.json +28 -6
  307. package/i18n/he.json +28 -6
  308. package/i18n/hi.json +28 -6
  309. package/i18n/id.json +28 -6
  310. package/i18n/it.json +28 -6
  311. package/i18n/ja.json +28 -6
  312. package/i18n/ko.json +28 -6
  313. package/i18n/nl.json +28 -6
  314. package/i18n/pl.json +28 -6
  315. package/i18n/pt.json +28 -6
  316. package/i18n/ru.json +28 -6
  317. package/i18n/sv.json +28 -6
  318. package/i18n/tr.json +28 -6
  319. package/i18n/uk.json +28 -6
  320. package/i18n/vi.json +28 -6
  321. package/i18n/zh-TW.json +28 -6
  322. package/i18n/zh.json +28 -6
  323. package/input/styles/_index.scss +68 -1
  324. package/input-otp/styles/_index.scss +14 -0
  325. package/lightbox/styles/_rules.scss +96 -0
  326. package/llms-full.txt +61 -25
  327. package/llms.txt +12 -0
  328. package/overlay/styles/_arrow.scss +4 -4
  329. package/package.json +37 -1
  330. package/popconfirm/styles/_index.scss +3 -11
  331. package/progress/styles/_index.scss +32 -0
  332. package/schema-form/styles/_index.scss +78 -0
  333. package/schematics/use/rule.js +2 -0
  334. package/schematics/use/symbol-map.json +5 -0
  335. package/select/styles/_index.scss +114 -22
  336. package/skills/ngwr/SKILL.md +1 -1
  337. package/skills/ngwr/references/catalog.md +11 -2
  338. package/slider/styles/_index.scss +128 -0
  339. package/sortable-list/styles/_rules.scss +23 -1
  340. package/table/styles/_index.scss +167 -3
  341. package/textarea/styles/_index.scss +80 -0
  342. package/theme/styles/_focus.scss +5 -0
  343. package/theme/styles/_motion.scss +5 -0
  344. package/transfer/styles/_index.scss +84 -0
  345. package/tree/styles/_index.scss +138 -5
  346. package/types/ngwr-alert-testing.d.ts +88 -0
  347. package/types/ngwr-badge.d.ts +72 -2
  348. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  349. package/types/ngwr-burger-testing.d.ts +51 -0
  350. package/types/ngwr-calendar-testing.d.ts +18 -6
  351. package/types/ngwr-calendar.d.ts +272 -22
  352. package/types/ngwr-cascader.d.ts +10 -1
  353. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  354. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  355. package/types/ngwr-charts-line-chart.d.ts +7 -4
  356. package/types/ngwr-color-picker-testing.d.ts +15 -4
  357. package/types/ngwr-color-picker.d.ts +76 -6
  358. package/types/ngwr-compare-testing.d.ts +72 -0
  359. package/types/ngwr-date-picker-testing.d.ts +40 -8
  360. package/types/ngwr-date-picker.d.ts +178 -10
  361. package/types/ngwr-date-stamp-testing.d.ts +1 -1
  362. package/types/ngwr-date-stamp.d.ts +53 -7
  363. package/types/ngwr-date.d.ts +188 -15
  364. package/types/ngwr-drawer.d.ts +9 -0
  365. package/types/ngwr-dropdown-testing.d.ts +73 -5
  366. package/types/ngwr-dropdown.d.ts +124 -6
  367. package/types/ngwr-event-calendar.d.ts +66 -8
  368. package/types/ngwr-file-upload-testing.d.ts +31 -2
  369. package/types/ngwr-file-upload.d.ts +148 -1
  370. package/types/ngwr-form.d.ts +47 -3
  371. package/types/ngwr-graph-testing.d.ts +8 -3
  372. package/types/ngwr-graph.d.ts +147 -7
  373. package/types/ngwr-input-number-testing.d.ts +10 -0
  374. package/types/ngwr-input-number.d.ts +30 -1
  375. package/types/ngwr-input-otp.d.ts +10 -0
  376. package/types/ngwr-input-testing.d.ts +30 -0
  377. package/types/ngwr-input.d.ts +54 -3
  378. package/types/ngwr-lightbox-testing.d.ts +27 -0
  379. package/types/ngwr-lightbox.d.ts +71 -6
  380. package/types/ngwr-overlay.d.ts +84 -5
  381. package/types/ngwr-pipes.d.ts +34 -13
  382. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  383. package/types/ngwr-popconfirm.d.ts +28 -3
  384. package/types/ngwr-popover-testing.d.ts +19 -2
  385. package/types/ngwr-popover.d.ts +22 -2
  386. package/types/ngwr-progress.d.ts +29 -1
  387. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  388. package/types/ngwr-resizable-testing.d.ts +116 -0
  389. package/types/ngwr-schema-form-testing.d.ts +260 -0
  390. package/types/ngwr-schema-form.d.ts +76 -6
  391. package/types/ngwr-select-testing.d.ts +20 -0
  392. package/types/ngwr-select.d.ts +112 -11
  393. package/types/ngwr-sidebar-testing.d.ts +176 -0
  394. package/types/ngwr-slider-testing.d.ts +10 -1
  395. package/types/ngwr-slider.d.ts +109 -3
  396. package/types/ngwr-sortable-list-testing.d.ts +79 -0
  397. package/types/ngwr-sortable-list.d.ts +119 -10
  398. package/types/ngwr-stepper.d.ts +20 -11
  399. package/types/ngwr-table-testing.d.ts +70 -6
  400. package/types/ngwr-table.d.ts +480 -50
  401. package/types/ngwr-tabs-testing.d.ts +14 -17
  402. package/types/ngwr-tabs.d.ts +6 -0
  403. package/types/ngwr-textarea-testing.d.ts +10 -0
  404. package/types/ngwr-textarea.d.ts +48 -2
  405. package/types/ngwr-toast.d.ts +8 -1
  406. package/types/ngwr-transfer-testing.d.ts +3 -0
  407. package/types/ngwr-transfer.d.ts +24 -1
  408. package/types/ngwr-tree-testing.d.ts +65 -1
  409. package/types/ngwr-tree.d.ts +333 -12
  410. package/types/ngwr-utils.d.ts +28 -0
  411. package/types/ngwr-version.d.ts +1 -1
  412. package/types/ngwr-window.d.ts +7 -4
@@ -102,9 +102,8 @@ 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
@@ -135,6 +134,12 @@ export declare class WrGraphHarness extends ComponentHarness {
135
134
  * element that carries it, never the host.
136
135
  */
137
136
  getAccessibleName(): Promise<string | null>;
137
+ /**
138
+ * Whether an asynchronous layout is still running, from the host's
139
+ * `wr-graph--pending`. The graph draws its previous picture meanwhile, so wait
140
+ * for this to turn `false` before reading the nodes of the new one.
141
+ */
142
+ isPending(): Promise<boolean>;
138
143
  /**
139
144
  * This graph's nodes, in reading order, narrowed by the filters.
140
145
  *
@@ -102,6 +102,12 @@ interface GraphView<TData> {
102
102
  * the consumer's: `nodeWidth` / `nodeHeight` for every node, or `width` /
103
103
  * `height` on one. A prerender therefore ships the finished picture.
104
104
  *
105
+ * A provided `WrGraphLayout` may answer with a Promise. The last picture stays
106
+ * on screen until it resolves, `layoutPending` is true meanwhile, and a newer
107
+ * run or the graph's destruction aborts it through the `AbortSignal` it was
108
+ * given. The server does not wait for it: a prerender ships an empty, pending
109
+ * graph and the browser draws it.
110
+ *
105
111
  * What the lines show is also written out: every node carries visually hidden
106
112
  * text naming its parents and children, and the lines themselves are hidden
107
113
  * from assistive technology.
@@ -141,6 +147,11 @@ export declare class WrGraph<TData = unknown> {
141
147
  readonly nodeHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
142
148
  /** Accessible name of the scrolling viewport. Falls back to `graph.label`, then `'Graph'`. */
143
149
  readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
150
+ /**
151
+ * An asynchronous layout rejected. Carries the rejection as thrown. The last
152
+ * picture stays on screen, and a run that was aborted never reports here.
153
+ */
154
+ readonly layoutError: import("@angular/core").OutputEmitterRef<unknown>;
144
155
  protected readonly label: import("@angular/core").Signal<string>;
145
156
  private readonly parentsText;
146
157
  private readonly childrenText;
@@ -162,13 +173,22 @@ export declare class WrGraph<TData = unknown> {
162
173
  */
163
174
  private readonly defaultSize;
164
175
  private readonly prepared;
165
- /** The engine's answer, as returned. A fresh signal per run: nothing aborts a synchronous layout. */
166
- private readonly raw;
176
+ /** One run per cleaned input. A controller of its own, so aborting a run never touches another. */
177
+ private readonly run;
178
+ /** The asynchronous run that last settled. */
179
+ private readonly settled;
167
180
  /**
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.
181
+ * What is drawn. A synchronous answer is drawn in the pass that computed it. A
182
+ * Promise keeps the previous drawing until it resolves, and a rejected one
183
+ * keeps it for good.
170
184
  */
171
- private readonly result;
185
+ private readonly drawing;
186
+ /**
187
+ * Whether an asynchronous layout is running for the current inputs. The host
188
+ * carries `wr-graph--pending` and the viewport `aria-busy` while it is. Always
189
+ * `false` with a synchronous layout.
190
+ */
191
+ readonly layoutPending: import("@angular/core").Signal<boolean>;
172
192
  /** Layout joined to the nodes and edges, direction-free, nodes in reading order. */
173
193
  private readonly placed;
174
194
  /**
@@ -211,6 +231,126 @@ export declare class WrGraph<TData = unknown> {
211
231
  "required": false;
212
232
  "isSignal": true;
213
233
  };
214
- }, {}, ["nodeTemplate"], never, true, never>;
234
+ }, {
235
+ "layoutError": "layoutError";
236
+ }, ["nodeTemplate"], never, true, never>;
237
+ }
238
+ /**
239
+ * @license
240
+ *
241
+ * Use of this source code is governed by an MIT-style license that can be
242
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
243
+ */
244
+ /** A point in graph space: origin top-left, y grows downward. */
245
+ interface WrGraphPoint {
246
+ readonly x: number;
247
+ readonly y: number;
248
+ }
249
+ /**
250
+ * What a layout reads about a node: resolved, plain and serialisable. The
251
+ * consumer's `data` never reaches a layout, and neither does the DOM — sizes
252
+ * arrive as finite numbers the component already resolved.
253
+ */
254
+ interface WrGraphLayoutNode {
255
+ readonly id: string;
256
+ readonly width: number;
257
+ readonly height: number;
258
+ }
259
+ /** A layout edge. `from` is the parent, `to` the child; `id` is unique per edge. */
260
+ interface WrGraphLayoutEdge {
261
+ readonly id: string;
262
+ readonly from: string;
263
+ readonly to: string;
264
+ }
265
+ /**
266
+ * The whole graph a layout works on. Input order IS the tie-break order, so the
267
+ * same arrays always produce the same picture. Parallel edges and self-loops
268
+ * are legal here; an edge naming a missing node is dropped silently, because
269
+ * the component has already warned about it.
270
+ */
271
+ interface WrGraphLayoutInput {
272
+ readonly nodes: readonly WrGraphLayoutNode[];
273
+ readonly edges: readonly WrGraphLayoutEdge[];
274
+ }
275
+ /**
276
+ * Per-call context. An object from day one so later fields are additive. The
277
+ * signal aborts when the input changes, or the graph is destroyed, before an
278
+ * asynchronous layout settles. An engine that cannot stop its work can leave it
279
+ * running: the graph drops the late result.
280
+ */
281
+ interface WrGraphLayoutContext {
282
+ readonly signal: AbortSignal;
283
+ }
284
+ /** Where a node goes: its TOP-LEFT corner in graph space, which maps straight onto a CSS translate. */
285
+ interface WrGraphNodePlacement {
286
+ readonly id: string;
287
+ readonly x: number;
288
+ readonly y: number;
289
+ }
290
+ /** The polyline of one edge, from the `from` end to the `to` end — at least two points. */
291
+ interface WrGraphEdgeRoute {
292
+ readonly id: string;
293
+ readonly points: readonly WrGraphPoint[];
294
+ }
295
+ /**
296
+ * A finished layout. The bounding box starts at (0, 0) and measures
297
+ * `width` × `height`. Direction-free: RTL is applied after the layout, so these
298
+ * numbers never depend on `dir`.
299
+ */
300
+ interface WrGraphLayoutResult {
301
+ readonly nodes: readonly WrGraphNodePlacement[];
302
+ readonly edges: readonly WrGraphEdgeRoute[];
303
+ readonly width: number;
304
+ readonly height: number;
305
+ }
306
+ /**
307
+ * The seam a layout engine plugs into. Used as both the type and the DI token,
308
+ * the way `WrDateAdapter` is.
309
+ *
310
+ * A synchronous result is drawn in the same pass. A Promise is for an engine
311
+ * that works in a worker or on a server: the graph keeps its last picture until
312
+ * the Promise resolves, and reports a rejection through `layoutError`.
313
+ *
314
+ * @example
315
+ * ```ts
316
+ * providers: [{ provide: WrGraphLayout, useClass: WorkerLayout }]
317
+ * ```
318
+ */
319
+ export declare abstract class WrGraphLayout {
320
+ abstract layout(input: WrGraphLayoutInput, context: WrGraphLayoutContext): WrGraphLayoutResult | Promise<WrGraphLayoutResult>;
321
+ }
322
+ /** Options for {@link WrLayeredGraphLayout}. Spacing lives here, not on the component: the names are engine-specific. */
323
+ interface WrLayeredGraphLayoutOptions {
324
+ /** Horizontal gap between two nodes in one layer. Default `24`. */
325
+ readonly nodeGap?: number;
326
+ /** Vertical gap between two layers. Default `48`. */
327
+ readonly layerGap?: number;
328
+ /** Gap between an edge's bend and its neighbours, and between ports on one side. Default `12`. */
329
+ readonly edgeGap?: number;
330
+ /** Horizontal gap between two unconnected parts of the graph. Default `48`. */
331
+ readonly componentGap?: number;
332
+ }
333
+ /**
334
+ * The built-in layered layout: parents above children, pure TypeScript, no DOM
335
+ * and no dependency, so it runs the same under prerender as in the browser.
336
+ *
337
+ * It is deliberately the light version of the pipeline: DFS cycle breaking,
338
+ * source-based longest-path ranking with one tightening pass, barycenter sweeps
339
+ * with a pairwise crossing count, and averaged forward/backward compaction for
340
+ * coordinates. Network simplex and Brandes–Köpf would draw some graphs more
341
+ * compactly at several times the code.
342
+ *
343
+ * Deterministic by construction rather than by luck: ids are turned into indices
344
+ * in input order before anything else, every loop is capped by a count, every
345
+ * comparator is total with an integer tie-break, and the arithmetic is limited
346
+ * to operations the language specifies exactly — so the server and the browser
347
+ * agree to the last bit. Nothing is kept between calls and the input is never
348
+ * written to.
349
+ */
350
+ export declare class WrLayeredGraphLayout extends WrGraphLayout {
351
+ private readonly gaps;
352
+ constructor(options?: WrLayeredGraphLayoutOptions);
353
+ /** Synchronous — a narrowing of the base signature, so a caller holding this class needs no `await`. */
354
+ layout(input: WrGraphLayoutInput): WrGraphLayoutResult;
215
355
  }
216
- export type { WrGraphEdge, WrGraphNode, WrGraphNodeContext };
356
+ 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 };
@@ -136,8 +136,12 @@ export declare class WrInputSuffix {
136
136
  * inner native input drops its own border so it visually melts into the
137
137
  * group.
138
138
  *
139
- * Pure layout — no signals shared with the inner directive, focus styling is
140
- * driven entirely by `:focus-within` so any focusable child counts.
139
+ * Focus styling is driven entirely by `:focus-within`, so any focusable child
140
+ * counts.
141
+ *
142
+ * `clearable` and `loading` draw a clear (×) button and a spinner after the
143
+ * field, before any `[wrInputSuffix]` or `<wr-password-toggle>`. Both act on the
144
+ * first `wrInput` the group wraps.
141
145
  *
142
146
  * @example
143
147
  * ```html
@@ -146,14 +150,44 @@ export declare class WrInputSuffix {
146
150
  * <input wrInput [(ngModel)]="amount" type="number" />
147
151
  * <span wrInputSuffix>USD</span>
148
152
  * </wr-input-group>
153
+ *
154
+ * <!-- a search box: a clear button, and a spinner while the lookup runs -->
155
+ * <wr-input-group clearable [loading]="pending()">
156
+ * <input wrInput [(ngModel)]="query" placeholder="Search" />
157
+ * </wr-input-group>
149
158
  * ```
150
159
  *
151
160
  * @see https://ngwr.dev/reference/components/input
152
161
  */
153
162
  export declare class WrInputGroup {
163
+ private readonly renderer;
154
164
  constructor();
155
165
  /** Pill-shaped corners. @default false */
156
166
  readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
167
+ /**
168
+ * Show a clear (×) button while the field holds text and is neither disabled
169
+ * nor read-only. Clearing empties the field through an `input` event, so
170
+ * whatever is bound to it (`ngModel`, `[formField]`, an `(input)` listener)
171
+ * hears it as an edit, and puts focus back in the field. It is a pointer
172
+ * control: from the keyboard, emptying the field clears it. @default false
173
+ */
174
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
175
+ /** Clear (×) button aria-label. Falls back to `common.clear`. */
176
+ readonly clearLabel: import("@angular/core").InputSignal<string | null>;
177
+ /**
178
+ * Show a spinner after the field and mark the field `aria-busy`. The field
179
+ * stays editable. @default false
180
+ */
181
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
182
+ /** Emitted after the clear (×) button emptied the field. */
183
+ readonly cleared: import("@angular/core").OutputEmitterRef<void>;
184
+ protected readonly resolvedClear: import("@angular/core").Signal<string>;
185
+ private readonly field;
186
+ /** Whether the field has text a user could clear right now. */
187
+ private readonly fieldClearable;
188
+ protected readonly clearShown: import("@angular/core").Signal<boolean>;
189
+ protected syncClear(): void;
190
+ protected clear(): void;
157
191
  protected readonly classes: import("@angular/core").Signal<string>;
158
192
  static ɵfac: i0.ɵɵFactoryDeclaration<WrInputGroup, never>;
159
193
  static ɵcmp: i0.ɵɵComponentDeclaration<WrInputGroup, "wr-input-group", never, {
@@ -162,7 +196,24 @@ export declare class WrInputGroup {
162
196
  "required": false;
163
197
  "isSignal": true;
164
198
  };
165
- }, {}, never, ["*"], true, never>;
199
+ "clearable": {
200
+ "alias": "clearable";
201
+ "required": false;
202
+ "isSignal": true;
203
+ };
204
+ "clearLabel": {
205
+ "alias": "clearLabel";
206
+ "required": false;
207
+ "isSignal": true;
208
+ };
209
+ "loading": {
210
+ "alias": "loading";
211
+ "required": false;
212
+ "isSignal": true;
213
+ };
214
+ }, {
215
+ "cleared": "cleared";
216
+ }, ["field"], ["*", "[wrInputSuffix], wr-password-toggle"], true, never>;
166
217
  }
167
218
  /**
168
219
  * Self-contained eye-toggle button. Flips the linked `<input>`'s `type`
@@ -99,6 +99,32 @@ export declare class WrLightboxHarness extends ComponentHarness {
99
99
  sendEscape(): Promise<void>;
100
100
  /** The full-size image's `src`. Throws while the viewer is closed. */
101
101
  getFullSrc(): Promise<string>;
102
+ /**
103
+ * The image the viewer is showing right now.
104
+ *
105
+ * {@link getFullSrc} under the name a gallery spec reads better with: after
106
+ * {@link next} it is another member's `src`, not this lightbox's own.
107
+ */
108
+ getCurrentSrc(): Promise<string>;
109
+ /**
110
+ * Go to the next image of the group through the viewer's button.
111
+ *
112
+ * At the last image without `loop` the button is `aria-disabled` and the click
113
+ * lands on nothing — read {@link isNextDisabled} to tell the two apart. Throws on
114
+ * a lightbox that is closed, or that has no gallery to move through.
115
+ */
116
+ next(): Promise<void>;
117
+ /** Go to the previous image of the group. The mirror of {@link next}. */
118
+ previous(): Promise<void>;
119
+ /** Whether the next button reports the end of the group (`aria-disabled`). */
120
+ isNextDisabled(): Promise<boolean>;
121
+ /** Whether the previous button reports the start of the group (`aria-disabled`). */
122
+ isPreviousDisabled(): Promise<boolean>;
123
+ /**
124
+ * The counter as drawn, e.g. `2 / 3`, or `null` for a lightbox outside a gallery.
125
+ * Throws while the viewer is closed.
126
+ */
127
+ getCounter(): Promise<string | null>;
102
128
  /** The caption under the full image, or `null` when there is none. Throws while closed. */
103
129
  getCaption(): Promise<string | null>;
104
130
  /** The name the viewer dialog announces — its alt text, or the catalog's fallback. */
@@ -131,6 +157,7 @@ export declare class WrLightboxHarness extends ComponentHarness {
131
157
  /** The id the trigger currently points at, or `null` while the viewer is closed. */
132
158
  private viewerId;
133
159
  private requireViewer;
160
+ private navButton;
134
161
  private viewerPart;
135
162
  }
136
163
  export type { WrLightboxHarnessFilters };
@@ -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
  import { WrClassInput } from "ngwr/utils";
4
4
  /**
5
5
  * Image with click-to-zoom lightbox. The thumbnail is a plain `<img>`
@@ -7,6 +7,9 @@ import { WrClassInput } from "ngwr/utils";
7
7
  * overlay showing the full image, with Escape + close button + backdrop
8
8
  * to dismiss.
9
9
  *
10
+ * Lightboxes that share a `group` form a gallery in document order: the viewer
11
+ * gains previous and next buttons, a counter and the arrow keys.
12
+ *
10
13
  * @example
11
14
  * ```html
12
15
  * <wr-lightbox
@@ -23,7 +26,7 @@ export declare class WrLightbox {
23
26
  readonly openLabel: import("@angular/core").InputSignal<string | null>;
24
27
  /** Accessible name of the viewer's close button. Falls back to `image.close`, then `'Close preview'`. */
25
28
  readonly closeLabel: import("@angular/core").InputSignal<string | null>;
26
- protected readonly resolvedCloseLabel: import("@angular/core").Signal<string>;
29
+ protected readonly resolvedCloseLabel: Signal<string>;
27
30
  /** Image source. */
28
31
  readonly src: import("@angular/core").InputSignal<string>;
29
32
  /** Alt text. Required for a11y; falls back to an empty string. @default '' */
@@ -34,8 +37,8 @@ export declare class WrLightbox {
34
37
  * to it later.
35
38
  */
36
39
  readonly preview: import("@angular/core").InputSignal<string | null>;
37
- protected readonly resolvedOpenLabel: import("@angular/core").Signal<string>;
38
- protected readonly resolvedViewerLabel: import("@angular/core").Signal<string>;
40
+ protected readonly resolvedOpenLabel: Signal<string>;
41
+ protected readonly resolvedViewerLabel: Signal<string>;
39
42
  /** Disable the click-to-zoom lightbox. @default false */
40
43
  readonly disablePreview: import("@angular/core").InputSignalWithTransform<boolean, any>;
41
44
  /** Caption shown under the full image in the lightbox. */
@@ -57,6 +60,22 @@ export declare class WrLightbox {
57
60
  * handle on it. A space-separated string works as well as an array.
58
61
  */
59
62
  readonly panelClass: import("@angular/core").InputSignal<WrClassInput>;
63
+ /**
64
+ * Gallery name. Every `wr-lightbox` with the same group, in document order,
65
+ * can be paged through from whichever one was opened. A lightbox with
66
+ * `disablePreview` stays out of it. @default null
67
+ */
68
+ readonly group: import("@angular/core").InputSignal<string | null>;
69
+ /** Wrap from the last image of the group to the first, and back. @default false */
70
+ readonly loop: import("@angular/core").InputSignalWithTransform<boolean, any>;
71
+ /** Accessible name of the viewer's previous button. Falls back to `common.previous`. */
72
+ readonly previousLabel: import("@angular/core").InputSignal<string | null>;
73
+ /** Accessible name of the viewer's next button. Falls back to `common.next`. */
74
+ readonly nextLabel: import("@angular/core").InputSignal<string | null>;
75
+ protected readonly resolvedPreviousLabel: Signal<string>;
76
+ protected readonly resolvedNextLabel: Signal<string>;
77
+ private readonly counterText;
78
+ private readonly positionText;
60
79
  protected readonly open: import("@angular/core").WritableSignal<boolean>;
61
80
  protected readonly loaded: import("@angular/core").WritableSignal<boolean>;
62
81
  /**
@@ -65,8 +84,11 @@ export declare class WrLightbox {
65
84
  * @internal Public so the host bindings can read it.
66
85
  */
67
86
  protected readonly viewerId: string;
68
- protected readonly classes: import("@angular/core").Signal<string>;
69
- protected readonly panelTpl: import("@angular/core").Signal<TemplateRef<unknown>>;
87
+ protected readonly classes: Signal<string>;
88
+ protected readonly panelTpl: Signal<TemplateRef<unknown>>;
89
+ private readonly groups;
90
+ private readonly host;
91
+ private readonly isBrowser;
70
92
  private readonly focusMonitor;
71
93
  private readonly overlay;
72
94
  private readonly vcr;
@@ -90,14 +112,36 @@ export declare class WrLightbox {
90
112
  private focusTrap;
91
113
  private previouslyFocused;
92
114
  private overlayRef;
115
+ /** The gallery this lightbox pages through; empty when it stands alone. */
116
+ protected readonly gallery: Signal<readonly WrLightbox[]>;
117
+ private readonly target;
118
+ private lastIndex;
119
+ /** The lightbox whose image the viewer is showing. */
120
+ protected readonly shown: Signal<WrLightbox>;
121
+ protected readonly index: Signal<number>;
122
+ protected readonly canPrevious: Signal<boolean>;
123
+ protected readonly canNext: Signal<boolean>;
124
+ protected readonly counter: Signal<string>;
125
+ protected readonly announcement: Signal<string>;
126
+ private readonly preloaded;
93
127
  constructor();
94
128
  protected onClick(): void;
129
+ /** Move through the gallery by one image; a no-op at an end unless `loop` is set. */
130
+ protected step(delta: -1 | 1): void;
131
+ private show;
132
+ private wrap;
133
+ private place;
134
+ private preload;
95
135
  protected onClose(): void;
136
+ private viewerStartX;
96
137
  private viewerStartY;
97
138
  private viewerSwiping;
98
139
  protected onViewerSwipeStart(event: TouchEvent): void;
99
140
  protected onViewerSwipeMove(event: TouchEvent, viewer: HTMLElement): void;
100
141
  protected onViewerSwipeEnd(event: TouchEvent, viewer: HTMLElement): void;
142
+ /** A drag that belongs to the gallery rather than to swipe-down-to-dismiss. */
143
+ private isSideways;
144
+ private isRtl;
101
145
  /**
102
146
  * The thumbnail has settled, one way or the other. A failure counts: `--loading`
103
147
  * animates a shimmer AND sets `opacity: 0` on the image, so a broken `src` with no
@@ -106,6 +150,7 @@ export declare class WrLightbox {
106
150
  */
107
151
  protected onSettled(): void;
108
152
  private openOverlay;
153
+ private onGalleryKey;
109
154
  private closeOverlay;
110
155
  static ɵfac: i0.ɵɵFactoryDeclaration<WrLightbox, never>;
111
156
  static ɵcmp: i0.ɵɵComponentDeclaration<WrLightbox, "wr-lightbox", never, {
@@ -154,5 +199,25 @@ export declare class WrLightbox {
154
199
  "required": false;
155
200
  "isSignal": true;
156
201
  };
202
+ "group": {
203
+ "alias": "group";
204
+ "required": false;
205
+ "isSignal": true;
206
+ };
207
+ "loop": {
208
+ "alias": "loop";
209
+ "required": false;
210
+ "isSignal": true;
211
+ };
212
+ "previousLabel": {
213
+ "alias": "previousLabel";
214
+ "required": false;
215
+ "isSignal": true;
216
+ };
217
+ "nextLabel": {
218
+ "alias": "nextLabel";
219
+ "required": false;
220
+ "isSignal": true;
221
+ };
157
222
  }, {}, never, never, true, never>;
158
223
  }