ngwr 16.2.0 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/carousel/styles/_index.scss +53 -1
  4. package/cascader/styles/_rules.scss +7 -0
  5. package/color-picker/styles/_index.scss +21 -0
  6. package/date-picker/styles/_index.scss +19 -0
  7. package/dropdown/styles/_index.scss +13 -19
  8. package/fesm2022/ngwr-affix.mjs +3 -3
  9. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  10. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  11. package/fesm2022/ngwr-alert.mjs +3 -3
  12. package/fesm2022/ngwr-anchor.mjs +17 -6
  13. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  14. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  15. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  16. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  17. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  18. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  19. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  20. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  21. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  22. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  23. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  25. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  26. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  27. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  28. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  29. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  30. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  31. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  32. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  33. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  34. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  35. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  36. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  37. package/fesm2022/ngwr-avatar.mjs +3 -3
  38. package/fesm2022/ngwr-back-top.mjs +3 -3
  39. package/fesm2022/ngwr-badge.mjs +129 -11
  40. package/fesm2022/ngwr-badge.mjs.map +1 -1
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  42. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  43. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  44. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  45. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  46. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  47. package/fesm2022/ngwr-burger.mjs +3 -3
  48. package/fesm2022/ngwr-button.mjs +6 -6
  49. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  50. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  51. package/fesm2022/ngwr-calendar.mjs +500 -73
  52. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  53. package/fesm2022/ngwr-card.mjs +9 -9
  54. package/fesm2022/ngwr-carousel-testing.mjs +24 -1
  55. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  56. package/fesm2022/ngwr-carousel.mjs +73 -10
  57. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  58. package/fesm2022/ngwr-cascader.mjs +45 -37
  59. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  60. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  61. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  62. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  63. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  64. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  65. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  66. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  67. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-core.mjs +3 -3
  69. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  70. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  71. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  72. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  73. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  74. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  75. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  77. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  79. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  81. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  83. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  85. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  86. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  87. package/fesm2022/ngwr-checkbox.mjs +6 -6
  88. package/fesm2022/ngwr-clipboard.mjs +3 -3
  89. package/fesm2022/ngwr-collapse.mjs +9 -9
  90. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  91. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  92. package/fesm2022/ngwr-color-picker.mjs +153 -37
  93. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  94. package/fesm2022/ngwr-command-palette.mjs +3 -3
  95. package/fesm2022/ngwr-comment.mjs +10 -6
  96. package/fesm2022/ngwr-comment.mjs.map +1 -1
  97. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  98. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  99. package/fesm2022/ngwr-compare.mjs +3 -3
  100. package/fesm2022/ngwr-context-menu.mjs +28 -13
  101. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  102. package/fesm2022/ngwr-cookie.mjs +3 -3
  103. package/fesm2022/ngwr-copy-value.mjs +3 -3
  104. package/fesm2022/ngwr-counter.mjs +6 -6
  105. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  106. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  107. package/fesm2022/ngwr-date-picker.mjs +342 -69
  108. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  109. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  110. package/fesm2022/ngwr-date.mjs +59 -8
  111. package/fesm2022/ngwr-date.mjs.map +1 -1
  112. package/fesm2022/ngwr-density.mjs +6 -6
  113. package/fesm2022/ngwr-descriptions.mjs +6 -6
  114. package/fesm2022/ngwr-dialog.mjs +18 -18
  115. package/fesm2022/ngwr-directives.mjs +15 -15
  116. package/fesm2022/ngwr-divider.mjs +3 -3
  117. package/fesm2022/ngwr-drawer.mjs +51 -29
  118. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  119. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  120. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  121. package/fesm2022/ngwr-dropdown.mjs +70 -99
  122. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  123. package/fesm2022/ngwr-editor.mjs +4 -3
  124. package/fesm2022/ngwr-editor.mjs.map +1 -1
  125. package/fesm2022/ngwr-empty.mjs +3 -3
  126. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  127. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  128. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  129. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  130. package/fesm2022/ngwr-file-upload.mjs +279 -16
  131. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  132. package/fesm2022/ngwr-form.mjs +9 -9
  133. package/fesm2022/ngwr-form.mjs.map +1 -1
  134. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  135. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  136. package/fesm2022/ngwr-graph.mjs +664 -43
  137. package/fesm2022/ngwr-graph.mjs.map +1 -1
  138. package/fesm2022/ngwr-hotkey.mjs +6 -6
  139. package/fesm2022/ngwr-i18n-ar.mjs +27 -8
  140. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  141. package/fesm2022/ngwr-i18n-cs.mjs +27 -8
  142. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  143. package/fesm2022/ngwr-i18n-de.mjs +27 -8
  144. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  145. package/fesm2022/ngwr-i18n-en.mjs +27 -8
  146. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  147. package/fesm2022/ngwr-i18n-es.mjs +27 -8
  148. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  149. package/fesm2022/ngwr-i18n-fr.mjs +27 -8
  150. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  151. package/fesm2022/ngwr-i18n-he.mjs +27 -8
  152. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  153. package/fesm2022/ngwr-i18n-hi.mjs +27 -8
  154. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  155. package/fesm2022/ngwr-i18n-id.mjs +27 -8
  156. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  157. package/fesm2022/ngwr-i18n-it.mjs +27 -8
  158. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  159. package/fesm2022/ngwr-i18n-ja.mjs +27 -8
  160. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  161. package/fesm2022/ngwr-i18n-ko.mjs +27 -8
  162. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  163. package/fesm2022/ngwr-i18n-nl.mjs +27 -8
  164. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  165. package/fesm2022/ngwr-i18n-pl.mjs +27 -8
  166. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  167. package/fesm2022/ngwr-i18n-pt.mjs +27 -8
  168. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  169. package/fesm2022/ngwr-i18n-ru.mjs +27 -8
  170. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  171. package/fesm2022/ngwr-i18n-sv.mjs +27 -8
  172. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  173. package/fesm2022/ngwr-i18n-tr.mjs +27 -8
  174. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  175. package/fesm2022/ngwr-i18n-uk.mjs +27 -8
  176. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  177. package/fesm2022/ngwr-i18n-vi.mjs +27 -8
  178. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  179. package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
  180. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  181. package/fesm2022/ngwr-i18n-zh.mjs +27 -8
  182. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  183. package/fesm2022/ngwr-i18n.mjs +9 -9
  184. package/fesm2022/ngwr-icon.mjs +6 -6
  185. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  186. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  187. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  188. package/fesm2022/ngwr-input-number.mjs +68 -7
  189. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  190. package/fesm2022/ngwr-input-otp.mjs +23 -3
  191. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  192. package/fesm2022/ngwr-input-testing.mjs +24 -1
  193. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  194. package/fesm2022/ngwr-input.mjs +152 -36
  195. package/fesm2022/ngwr-input.mjs.map +1 -1
  196. package/fesm2022/ngwr-keyboard.mjs +3 -3
  197. package/fesm2022/ngwr-knob.mjs +3 -3
  198. package/fesm2022/ngwr-layout.mjs +15 -15
  199. package/fesm2022/ngwr-lightbox.mjs +8 -8
  200. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  201. package/fesm2022/ngwr-list.mjs +8 -8
  202. package/fesm2022/ngwr-list.mjs.map +1 -1
  203. package/fesm2022/ngwr-load-state.mjs +15 -15
  204. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  205. package/fesm2022/ngwr-mention.mjs +6 -6
  206. package/fesm2022/ngwr-meta.mjs +6 -6
  207. package/fesm2022/ngwr-overlay.mjs +175 -13
  208. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  209. package/fesm2022/ngwr-page-header.mjs +3 -3
  210. package/fesm2022/ngwr-pagination.mjs +6 -3
  211. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  212. package/fesm2022/ngwr-pipes.mjs +31 -29
  213. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  214. package/fesm2022/ngwr-platform.mjs +9 -9
  215. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  216. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  217. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  218. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  219. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  220. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  221. package/fesm2022/ngwr-popover.mjs +58 -156
  222. package/fesm2022/ngwr-popover.mjs.map +1 -1
  223. package/fesm2022/ngwr-progress.mjs +50 -9
  224. package/fesm2022/ngwr-progress.mjs.map +1 -1
  225. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  226. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  227. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  228. package/fesm2022/ngwr-qr.mjs +3 -3
  229. package/fesm2022/ngwr-radio.mjs +6 -6
  230. package/fesm2022/ngwr-rating.mjs +3 -3
  231. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  232. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  233. package/fesm2022/ngwr-resizable.mjs +3 -3
  234. package/fesm2022/ngwr-result.mjs +12 -12
  235. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  236. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  237. package/fesm2022/ngwr-schema-form.mjs +416 -19
  238. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  239. package/fesm2022/ngwr-scroll.mjs +3 -3
  240. package/fesm2022/ngwr-segmented.mjs +3 -3
  241. package/fesm2022/ngwr-select-testing.mjs +19 -0
  242. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  243. package/fesm2022/ngwr-select.mjs +361 -84
  244. package/fesm2022/ngwr-select.mjs.map +1 -1
  245. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  246. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  247. package/fesm2022/ngwr-sidebar.mjs +3 -3
  248. package/fesm2022/ngwr-skeleton.mjs +3 -3
  249. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  250. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  251. package/fesm2022/ngwr-slider.mjs +21 -3
  252. package/fesm2022/ngwr-slider.mjs.map +1 -1
  253. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  254. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  255. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  256. package/fesm2022/ngwr-spinner.mjs +3 -3
  257. package/fesm2022/ngwr-splitter.mjs +3 -3
  258. package/fesm2022/ngwr-statistic.mjs +9 -9
  259. package/fesm2022/ngwr-stepper.mjs +42 -11
  260. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  261. package/fesm2022/ngwr-storage.mjs +3 -3
  262. package/fesm2022/ngwr-switch.mjs +3 -3
  263. package/fesm2022/ngwr-table-testing.mjs +157 -3
  264. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-table.mjs +1051 -74
  266. package/fesm2022/ngwr-table.mjs.map +1 -1
  267. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  268. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  269. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  270. package/fesm2022/ngwr-tabs.mjs +15 -10
  271. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  272. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  273. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  274. package/fesm2022/ngwr-textarea.mjs +128 -16
  275. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  276. package/fesm2022/ngwr-theme.mjs +3 -3
  277. package/fesm2022/ngwr-timeline.mjs +6 -6
  278. package/fesm2022/ngwr-toast.mjs +40 -19
  279. package/fesm2022/ngwr-toast.mjs.map +1 -1
  280. package/fesm2022/ngwr-toolbar.mjs +3 -3
  281. package/fesm2022/ngwr-tour-testing.mjs +13 -1
  282. package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tour.mjs +19 -15
  284. package/fesm2022/ngwr-tour.mjs.map +1 -1
  285. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  286. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  287. package/fesm2022/ngwr-transfer.mjs +24 -5
  288. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  289. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  290. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  291. package/fesm2022/ngwr-tree.mjs +978 -79
  292. package/fesm2022/ngwr-tree.mjs.map +1 -1
  293. package/fesm2022/ngwr-typography.mjs +3 -3
  294. package/fesm2022/ngwr-utils-router.mjs +3 -3
  295. package/fesm2022/ngwr-utils.mjs +97 -1
  296. package/fesm2022/ngwr-utils.mjs.map +1 -1
  297. package/fesm2022/ngwr-version.mjs +1 -1
  298. package/fesm2022/ngwr-version.mjs.map +1 -1
  299. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  300. package/fesm2022/ngwr-window.mjs +33 -22
  301. package/fesm2022/ngwr-window.mjs.map +1 -1
  302. package/file-upload/styles/_index.scss +156 -0
  303. package/graph/styles/_index.scss +87 -0
  304. package/i18n/ar.json +29 -8
  305. package/i18n/cs.json +29 -8
  306. package/i18n/de.json +29 -8
  307. package/i18n/en.json +29 -8
  308. package/i18n/es.json +29 -8
  309. package/i18n/fr.json +29 -8
  310. package/i18n/he.json +29 -8
  311. package/i18n/hi.json +29 -8
  312. package/i18n/id.json +29 -8
  313. package/i18n/it.json +29 -8
  314. package/i18n/ja.json +29 -8
  315. package/i18n/ko.json +29 -8
  316. package/i18n/nl.json +29 -8
  317. package/i18n/pl.json +29 -8
  318. package/i18n/pt.json +29 -8
  319. package/i18n/ru.json +29 -8
  320. package/i18n/sv.json +29 -8
  321. package/i18n/tr.json +29 -8
  322. package/i18n/uk.json +29 -8
  323. package/i18n/vi.json +29 -8
  324. package/i18n/zh-TW.json +29 -8
  325. package/i18n/zh.json +29 -8
  326. package/input/styles/_index.scss +68 -1
  327. package/input-otp/styles/_index.scss +14 -0
  328. package/llms-full.txt +53 -21
  329. package/llms.txt +57 -24
  330. package/overlay/styles/_arrow.scss +4 -4
  331. package/package.json +33 -1
  332. package/popconfirm/styles/_index.scss +3 -11
  333. package/progress/styles/_index.scss +32 -0
  334. package/schema-form/styles/_index.scss +78 -0
  335. package/schematics/collection.json +5 -0
  336. package/schematics/eject/index.js +158 -0
  337. package/schematics/eject/schema.js +8 -0
  338. package/schematics/eject/schema.json +24 -0
  339. package/schematics/eject/source.js +295 -0
  340. package/schematics/use/rule.js +2 -0
  341. package/schematics/use/symbol-map.json +5 -0
  342. package/select/styles/_index.scss +127 -22
  343. package/skills/ngwr/SKILL.md +31 -4
  344. package/skills/ngwr/references/catalog.md +9 -1
  345. package/slider/styles/_index.scss +22 -0
  346. package/table/styles/_index.scss +191 -3
  347. package/textarea/styles/_index.scss +80 -0
  348. package/theme/styles/_focus.scss +16 -1
  349. package/theme/styles/_motion.scss +5 -0
  350. package/transfer/styles/_index.scss +84 -0
  351. package/tree/styles/_index.scss +138 -5
  352. package/types/ngwr-alert-testing.d.ts +88 -0
  353. package/types/ngwr-badge.d.ts +72 -2
  354. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  355. package/types/ngwr-burger-testing.d.ts +51 -0
  356. package/types/ngwr-calendar-testing.d.ts +18 -6
  357. package/types/ngwr-calendar.d.ts +272 -22
  358. package/types/ngwr-carousel-testing.d.ts +27 -6
  359. package/types/ngwr-carousel.d.ts +42 -6
  360. package/types/ngwr-cascader.d.ts +13 -6
  361. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  362. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  363. package/types/ngwr-charts-line-chart.d.ts +7 -4
  364. package/types/ngwr-color-picker-testing.d.ts +15 -4
  365. package/types/ngwr-color-picker.d.ts +76 -6
  366. package/types/ngwr-compare-testing.d.ts +72 -0
  367. package/types/ngwr-context-menu.d.ts +2 -0
  368. package/types/ngwr-date-picker-testing.d.ts +23 -8
  369. package/types/ngwr-date-picker.d.ts +100 -9
  370. package/types/ngwr-date.d.ts +71 -1
  371. package/types/ngwr-drawer.d.ts +9 -0
  372. package/types/ngwr-dropdown-testing.d.ts +20 -0
  373. package/types/ngwr-dropdown.d.ts +26 -6
  374. package/types/ngwr-event-calendar.d.ts +66 -8
  375. package/types/ngwr-file-upload-testing.d.ts +31 -2
  376. package/types/ngwr-file-upload.d.ts +156 -3
  377. package/types/ngwr-form.d.ts +47 -3
  378. package/types/ngwr-graph-testing.d.ts +36 -3
  379. package/types/ngwr-graph.d.ts +309 -13
  380. package/types/ngwr-input-number-testing.d.ts +10 -0
  381. package/types/ngwr-input-number.d.ts +30 -1
  382. package/types/ngwr-input-otp.d.ts +10 -0
  383. package/types/ngwr-input-testing.d.ts +30 -0
  384. package/types/ngwr-input.d.ts +54 -3
  385. package/types/ngwr-overlay.d.ts +84 -5
  386. package/types/ngwr-pipes.d.ts +2 -1
  387. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  388. package/types/ngwr-popconfirm.d.ts +28 -3
  389. package/types/ngwr-popover-testing.d.ts +19 -2
  390. package/types/ngwr-popover.d.ts +22 -2
  391. package/types/ngwr-progress.d.ts +29 -1
  392. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  393. package/types/ngwr-resizable-testing.d.ts +116 -0
  394. package/types/ngwr-schema-form-testing.d.ts +260 -0
  395. package/types/ngwr-schema-form.d.ts +76 -6
  396. package/types/ngwr-select-testing.d.ts +20 -0
  397. package/types/ngwr-select.d.ts +149 -11
  398. package/types/ngwr-sidebar-testing.d.ts +176 -0
  399. package/types/ngwr-slider-testing.d.ts +3 -1
  400. package/types/ngwr-slider.d.ts +21 -1
  401. package/types/ngwr-sortable-list.d.ts +6 -0
  402. package/types/ngwr-stepper.d.ts +20 -11
  403. package/types/ngwr-table-testing.d.ts +122 -7
  404. package/types/ngwr-table.d.ts +572 -50
  405. package/types/ngwr-tabs-testing.d.ts +14 -17
  406. package/types/ngwr-tabs.d.ts +6 -0
  407. package/types/ngwr-textarea-testing.d.ts +10 -0
  408. package/types/ngwr-textarea.d.ts +48 -2
  409. package/types/ngwr-toast.d.ts +8 -1
  410. package/types/ngwr-tour-testing.d.ts +10 -0
  411. package/types/ngwr-tour.d.ts +11 -2
  412. package/types/ngwr-transfer-testing.d.ts +3 -0
  413. package/types/ngwr-transfer.d.ts +24 -1
  414. package/types/ngwr-tree-testing.d.ts +65 -1
  415. package/types/ngwr-tree.d.ts +335 -12
  416. package/types/ngwr-utils.d.ts +107 -1
  417. package/types/ngwr-version.d.ts +1 -1
  418. package/types/ngwr-window.d.ts +7 -4
@@ -77,7 +77,10 @@ export declare class WrLineChartHarness extends ComponentHarness {
77
77
  * legend row and draws no line — the legend harness's `getHidden()` names those.
78
78
  */
79
79
  getLineCount(): Promise<number>;
80
- /** How many point dots were drawn across every series (`showDots`). */
80
+ /**
81
+ * How many point dots were drawn across every series (`showDots`). A series draws its
82
+ * dots as one path with a subpath each, so this counts subpaths, not elements.
83
+ */
81
84
  getDotCount(): Promise<number>;
82
85
  /**
83
86
  * Whether the chart is in area mode (`showArea`), read off its
@@ -273,17 +273,20 @@ export declare class WrLineChart {
273
273
  */
274
274
  protected pathFor(values: readonly (number | null)[]): string;
275
275
  /**
276
- * Every series shown as the template draws it: its line's path, and with `showDots` a
277
- * dot's path per x, `null` on a hole. Built once per change to the data or the axis, so
278
- * moving the pointer from x to x, which re-renders the hover layer, rebuilds no path.
276
+ * Every series shown as the template draws it: its line's path, and with `showDots` one
277
+ * path holding a subpath per dot, empty when there is none to draw. Built once per change
278
+ * to the data or the axis, so moving the pointer from x to x, which re-renders the hover
279
+ * layer, rebuilds no path.
279
280
  */
280
281
  protected readonly drawn: import("@angular/core").Signal<{
281
282
  index: number;
282
283
  color: string;
283
284
  dash: string;
284
285
  d: string;
285
- dots: (string | null)[];
286
+ dots: string;
286
287
  }[]>;
288
+ /** A series' dots as one path, a subpath each. A hole in the data gets none. */
289
+ private dotsFor;
287
290
  /**
288
291
  * The fills under the lines with `showArea`: one per unbroken run of two points or
289
292
  * more, from the line down to zero, or down to the top of the band below under
@@ -1,4 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ import { WrColorPickerSize } from "ngwr/color-picker";
2
3
  import { WrSegmentedHarness } from "ngwr/segmented/testing";
3
4
  /** Which set of numeric fields the picker is showing. */
4
5
  type WrColorPickerTab = 'hex' | 'rgb' | 'hsl';
@@ -164,16 +165,26 @@ export declare class WrColorPickerHarness extends ComponentHarness {
164
165
  * same signal.
165
166
  */
166
167
  isDisabled(): Promise<boolean>;
167
- /** The preset colours offered under the fields, as the strings the consumer passed. */
168
+ /**
169
+ * The preset colours offered under the fields: the string the consumer passed, or
170
+ * the `value` of a named preset.
171
+ */
168
172
  getSwatches(): Promise<string[]>;
173
+ /**
174
+ * What each preset button announces, in order: the `label` of a named preset, and
175
+ * the colour string itself for a bare one.
176
+ */
177
+ getSwatchLabels(): Promise<string[]>;
169
178
  /**
170
179
  * Click a preset.
171
180
  *
172
- * Matched on the string the consumer passed, which is what the button publishes as
173
- * its accessible name — the rendered background is a CSS colour and would come back
174
- * normalised and alpha-stripped. Throws when nothing matches, naming what is offered.
181
+ * Matched on the colour string the consumer passed, or on a named preset's label —
182
+ * the rendered background is a CSS colour and would come back normalised and
183
+ * alpha-stripped. Throws when nothing matches, naming what is offered.
175
184
  */
176
185
  pickSwatch(color: string): Promise<void>;
186
+ /** The panel size. `'md'` is the default and paints no modifier of its own. */
187
+ getSize(): Promise<WrColorPickerSize>;
177
188
  /**
178
189
  * Where the three thumbs sit, in percent along their surfaces.
179
190
  *
@@ -117,6 +117,28 @@ export declare function wrToHex(rgb: WrRgb, withAlpha?: boolean): string;
117
117
  * `[(value)]` binding round-trips its own output.
118
118
  */
119
119
  type WrColorFormat = 'hex' | 'rgba' | 'hsla';
120
+ /**
121
+ * @license
122
+ *
123
+ * Use of this source code is governed by an MIT-style license that can be
124
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
125
+ */
126
+ /** Size of a `<wr-color-picker>` panel. */
127
+ type WrColorPickerSize = 'sm' | 'md' | 'lg';
128
+ /**
129
+ * @license
130
+ *
131
+ * Use of this source code is governed by an MIT-style license that can be
132
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
133
+ */
134
+ /**
135
+ * A preset colour in `<wr-color-picker>`'s `swatches`: a bare colour string, or
136
+ * a colour with the name its button announces. A bare string announces itself.
137
+ */
138
+ type WrColorPickerSwatch = string | {
139
+ readonly value: string;
140
+ readonly label: string;
141
+ };
120
142
  type Tab = 'hex' | 'rgb' | 'hsl';
121
143
  type Edges = 'sv' | 'hue' | 'alpha';
122
144
  /**
@@ -180,8 +202,41 @@ export declare class WrColorPicker implements FormValueControl<string> {
180
202
  * three are accepted on the way in whichever one is set. @default 'hex'
181
203
  */
182
204
  readonly format: import("@angular/core").InputSignal<WrColorFormat>;
183
- /** Preset hex colours rendered as a clickable row beneath the inputs. Empty = no row. @default [] */
184
- readonly swatches: import("@angular/core").InputSignal<readonly string[]>;
205
+ /**
206
+ * Preset hex colours rendered as a clickable row beneath the inputs. Empty =
207
+ * no row. An entry is a colour string, or `{ value, label }` to give its
208
+ * button a name: a bare string announces itself, `#3366ff`.
209
+ *
210
+ * @default []
211
+ */
212
+ readonly swatches: import("@angular/core").InputSignal<readonly WrColorPickerSwatch[]>;
213
+ /** The presets, each with the name its button announces. */
214
+ protected readonly presets: import("@angular/core").Signal<{
215
+ value: string;
216
+ label: string;
217
+ named: boolean;
218
+ }[]>;
219
+ /**
220
+ * The swatch the picker's one tooltip is for, and its name. A bare string has
221
+ * none: its value is already its accessible name and a tooltip would only
222
+ * repeat it. `aria-describedby` lands on the tooltip's hidden host, so the
223
+ * button keeps `aria-label` as its only name and nothing is read twice.
224
+ */
225
+ protected readonly tip: import("@angular/core").WritableSignal<{
226
+ readonly el: HTMLElement;
227
+ readonly text: string;
228
+ } | null>;
229
+ private readonly swatchRow;
230
+ private readonly modality;
231
+ private readonly platformId;
232
+ /**
233
+ * Panel size: its width, padding, the saturation surface and the thumbs. The
234
+ * preset buttons follow the width. The format tabs and the channel fields
235
+ * keep their size.
236
+ *
237
+ * @default 'md'
238
+ */
239
+ readonly size: import("@angular/core").InputSignal<WrColorPickerSize>;
185
240
  /** The selected colour as a string. Bound by `[formField]`, or two-way via `[(value)]`. */
186
241
  readonly value: import("@angular/core").ModelSignal<string>;
187
242
  /** Emitted on blur so a bound field can mark itself touched. */
@@ -287,6 +342,7 @@ export declare class WrColorPicker implements FormValueControl<string> {
287
342
  */
288
343
  private lastEmitted;
289
344
  private readonly area;
345
+ private onSwatchTarget;
290
346
  constructor();
291
347
  /**
292
348
  * Focus the picker — what Signal Forms calls to focus this control, from
@@ -386,6 +442,11 @@ export declare class WrColorPicker implements FormValueControl<string> {
386
442
  "required": false;
387
443
  "isSignal": true;
388
444
  };
445
+ "size": {
446
+ "alias": "size";
447
+ "required": false;
448
+ "isSignal": true;
449
+ };
389
450
  "value": {
390
451
  "alias": "value";
391
452
  "required": false;
@@ -401,7 +462,7 @@ export declare class WrColorPicker implements FormValueControl<string> {
401
462
  *
402
463
  * Apply to any clickable element (typically a button). Two-way binds the
403
464
  * current colour through `[(value)]`; forwards `alpha` / `format` /
404
- * `swatches` / `disabled` to the inner picker.
465
+ * `swatches` / `size` / `disabled` to the inner picker.
405
466
  *
406
467
  * Same overlay isolation as the rest of the lib — uses {@link WR_OVERLAY},
407
468
  * not CDK's root container.
@@ -426,7 +487,9 @@ export declare class WrColorPickerTrigger {
426
487
  /** Forwarded to the inner picker. @default 'hex' */
427
488
  readonly format: import("@angular/core").InputSignal<WrColorFormat>;
428
489
  /** Forwarded to the inner picker. @default [] */
429
- readonly swatches: import("@angular/core").InputSignal<readonly string[]>;
490
+ readonly swatches: import("@angular/core").InputSignal<readonly WrColorPickerSwatch[]>;
491
+ /** Forwarded to the inner picker: the size of the panel this opens. @default 'md' */
492
+ readonly size: import("@angular/core").InputSignal<WrColorPickerSize>;
430
493
  /** Disable the trigger entirely. @default false */
431
494
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
432
495
  /**
@@ -457,7 +520,9 @@ export declare class WrColorPickerTrigger {
457
520
  * simply reads as `ltr`.
458
521
  */
459
522
  private readonly dir;
460
- protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
523
+ private readonly openState;
524
+ /** Whether the picker panel is open. Read-only: `open()` and `close()` change it. */
525
+ readonly isOpen: import("@angular/core").Signal<boolean>;
461
526
  private overlayRef;
462
527
  /** @internal Public so the host binding can read it. */
463
528
  protected readonly panelId: string;
@@ -491,6 +556,11 @@ export declare class WrColorPickerTrigger {
491
556
  "required": false;
492
557
  "isSignal": true;
493
558
  };
559
+ "size": {
560
+ "alias": "size";
561
+ "required": false;
562
+ "isSignal": true;
563
+ };
494
564
  "disabled": {
495
565
  "alias": "disabled";
496
566
  "required": false;
@@ -507,4 +577,4 @@ export declare class WrColorPickerTrigger {
507
577
  "closed": "closed";
508
578
  }, never, never, true, never>;
509
579
  }
510
- export type { WrColorFormat, WrHsl, WrHsv, WrRgb };
580
+ export type { WrColorFormat, WrColorPickerSize, WrColorPickerSwatch, WrHsl, WrHsv, WrRgb };
@@ -0,0 +1,72 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ /** Narrows which `<wr-compare>` a harness query matches. */
3
+ interface WrCompareHarnessFilters extends BaseHarnessFilters {
4
+ /** Match the divider's accessible name: a string is an exact match, a RegExp is tested. */
5
+ readonly label?: string | RegExp;
6
+ /** Match the axis the divider moves along. */
7
+ readonly orientation?: 'horizontal' | 'vertical';
8
+ /** Match only enabled (`false`) or only disabled (`true`) sliders. */
9
+ readonly disabled?: boolean;
10
+ }
11
+ /**
12
+ * Test harness for `<wr-compare>`, the before/after slider.
13
+ *
14
+ * The position is read from the slider's `aria-valuenow`, in whole percent,
15
+ * and written with the keyboard. There is no `dragTo()`: a drag divides the
16
+ * pointer's offset by the host's measured width, a unit test has no layout, and
17
+ * the component keeps its position when the host measures zero, so a dragging
18
+ * method would resolve having moved nothing.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const compare = await loader.getHarness(WrCompareHarness);
23
+ *
24
+ * await compare.setPosition(30);
25
+ * expect(await compare.getPosition()).toBe(30);
26
+ * ```
27
+ *
28
+ * @see https://ngwr.dev/guides/testing
29
+ */
30
+ export declare class WrCompareHarness extends ComponentHarness {
31
+ static hostSelector: string;
32
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
33
+ static with(options?: WrCompareHarnessFilters): HarnessPredicate<WrCompareHarness>;
34
+ private readonly slider;
35
+ /** The divider position in whole percent, from `aria-valuenow`. */
36
+ getPosition(): Promise<number>;
37
+ /** The lowest position the divider may reach, from `aria-valuemin`. */
38
+ getMinPosition(): Promise<number>;
39
+ /** The highest position the divider may reach, from `aria-valuemax`. */
40
+ getMaxPosition(): Promise<number>;
41
+ /** The axis the divider moves along, from `aria-orientation`. */
42
+ getOrientation(): Promise<'horizontal' | 'vertical'>;
43
+ /** The slider's accessible name. */
44
+ getLabel(): Promise<string | null>;
45
+ /** Whether the slider refuses interaction, from `aria-disabled`. */
46
+ isDisabled(): Promise<boolean>;
47
+ /** Whether the round drag handle is drawn on the divider (`showHandle`). */
48
+ hasHandle(): Promise<boolean>;
49
+ /** The text of the "before" layer, trimmed. */
50
+ getBeforeText(): Promise<string>;
51
+ /** The text of the "after" layer, trimmed. */
52
+ getAfterText(): Promise<string>;
53
+ /** Move keyboard focus to the slider. */
54
+ focus(): Promise<void>;
55
+ /** Whether the slider holds focus. */
56
+ isFocused(): Promise<boolean>;
57
+ /**
58
+ * Walk the divider to `target` with the keys a user has: Home and End for the
59
+ * bounds, Shift+arrow for tens, an arrow for ones.
60
+ *
61
+ * Which arrow grows the position depends on the orientation and on the reading
62
+ * direction, which a harness cannot read, so the walk watches where each press
63
+ * lands and turns around when the first one went the wrong way.
64
+ *
65
+ * Throws for a target outside `[min, max]`, for a fractional one (a key lands
66
+ * on a whole percent) and when the divider stops moving, which is what a
67
+ * disabled slider does.
68
+ */
69
+ setPosition(target: number): Promise<void>;
70
+ private numeric;
71
+ }
72
+ export type { WrCompareHarnessFilters };
@@ -81,6 +81,7 @@ export declare class WrContextMenu {
81
81
  private readonly scrollStrategies;
82
82
  private readonly injector;
83
83
  private readonly destroyRef;
84
+ private readonly liveLocale;
84
85
  /**
85
86
  * Id of the menu element while this trigger's menu is open, published on the
86
87
  * host as `aria-controls`. The pane is portalled into the overlay container, a
@@ -259,6 +260,7 @@ export declare class WrContextMenuItem {
259
260
  private readonly scrollStrategies;
260
261
  private readonly injector;
261
262
  private readonly destroyRef;
263
+ private readonly liveLocale;
262
264
  private submenuRef;
263
265
  private submenuKeys;
264
266
  private openTimer;
@@ -1,5 +1,6 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessLoader, HarnessPredicate, TestElement } from "@angular/cdk/testing";
2
2
  import { WrCalendarDayHarness as WrDatePickerDayHarness } from "ngwr/calendar/testing";
3
+ import { WrDatePickerMode, WrDateRangePickerMode } from "ngwr/date-picker";
3
4
  /** Column order inside the stepper, which is also the order the boxes render in. */
4
5
  declare const UNITS: readonly ["hours", "minutes", "seconds"];
5
6
  /** One unit of a time stepper. */
@@ -103,10 +104,12 @@ declare abstract class WrDatePickerHarnessBase extends ComponentHarness {
103
104
  */
104
105
  getPanelAriaLabel(): Promise<string | null>;
105
106
  /**
106
- * Which of the calendar's three views is showing. The header label zooms out
107
- * (day → month → year); picking a month or a year zooms back in.
107
+ * Which of the calendar's views is showing. The header label zooms out
108
+ * (day, then month, then year); picking a month or a year zooms back in. A period
109
+ * mode opens on the view it picks from, and `quarter` exists only in
110
+ * `mode="quarter"`.
108
111
  */
109
- getView(): Promise<'day' | 'month' | 'year'>;
112
+ getView(): Promise<'day' | 'month' | 'quarter' | 'year'>;
110
113
  /**
111
114
  * The calendar's header: `'January 2025'` in the day view, `'2025'` in the month
112
115
  * view, `'2016 – 2027'` in the year view.
@@ -129,6 +132,17 @@ declare abstract class WrDatePickerHarnessBase extends ComponentHarness {
129
132
  zoomOut(): Promise<void>;
130
133
  /** Pick a month in the month view, by 0-based index or by the label the calendar renders. */
131
134
  selectMonth(month: number | string): Promise<void>;
135
+ /**
136
+ * Pick a quarter, 1 to 4, of the year in the header. `mode="quarter"` only:
137
+ * no other mode has a quarter view.
138
+ */
139
+ selectQuarter(quarter: 1 | 2 | 3 | 4): Promise<void>;
140
+ /**
141
+ * Pick the week holding a day of the month on show. `mode="week"` only: the
142
+ * click is a day click, and what makes it a week is the mode, so in any other
143
+ * mode this throws rather than quietly picking a day.
144
+ */
145
+ selectWeek(dayOfMonth: number): Promise<void>;
132
146
  /** Pick a year in the year view. Only the twelve on show can be picked. */
133
147
  selectYear(year: number): Promise<void>;
134
148
  /**
@@ -205,7 +219,7 @@ export declare class WrDateRangePickerHarness extends WrDatePickerHarnessBase {
205
219
  static with(options?: WrDateRangePickerHarnessFilters): HarnessPredicate<WrDateRangePickerHarness>;
206
220
  protected readonly harnessName = "WrDateRangePickerHarness";
207
221
  /** Which mode the picker is in, read from the `wr-date-range-picker--*` modifier. */
208
- getMode(): Promise<'date' | 'datetime'>;
222
+ getMode(): Promise<WrDateRangePickerMode>;
209
223
  /** What the start field is showing — `''` while that end is unpicked. */
210
224
  getStartText(): Promise<string>;
211
225
  /** What the end field is showing — `''` while that end is unpicked. */
@@ -308,7 +322,7 @@ interface WrDatePickerHarnessFilters extends BaseHarnessFilters {
308
322
  /** Match the field's placeholder — a string is an exact match, a RegExp is tested. */
309
323
  readonly placeholder?: string | RegExp;
310
324
  /** Match one mode only. */
311
- readonly mode?: 'date' | 'time' | 'datetime';
325
+ readonly mode?: WrDatePickerMode;
312
326
  /** Match only enabled (`false`) or only disabled (`true`) pickers. */
313
327
  readonly disabled?: boolean;
314
328
  /** Match only pickers whose popup is up (`true`) or down (`false`). */
@@ -321,7 +335,7 @@ interface WrDateRangePickerHarnessFilters extends BaseHarnessFilters {
321
335
  /** Match the text in the END field. A string is an exact match, a RegExp is tested. */
322
336
  readonly endText?: string | RegExp;
323
337
  /** Match one mode only. The range picker has no `time` mode. */
324
- readonly mode?: 'date' | 'datetime';
338
+ readonly mode?: WrDateRangePickerMode;
325
339
  /** Match only enabled (`false`) or only disabled (`true`) pickers. */
326
340
  readonly disabled?: boolean;
327
341
  /** Match only pickers whose popup is up (`true`) or down (`false`). */
@@ -367,7 +381,8 @@ interface WrDatePickerTimeFields {
367
381
  }
368
382
  /**
369
383
  * Test harness for `<wr-date-picker>` — the `date`, `time` and `datetime` modes
370
- * of the one component.
384
+ * of the one component, and its period modes: `selectMonth()`, `selectYear()`,
385
+ * `selectQuarter()` and `selectWeek()` are the pick where the mode makes them one.
371
386
  *
372
387
  * The popup is NOT inside the picker: it is a pane in the overlay container, a
373
388
  * sibling of the whole app. Everything inside it is therefore reached through the
@@ -399,7 +414,7 @@ export declare class WrDatePickerHarness extends WrDatePickerHarnessBase {
399
414
  static with(options?: WrDatePickerHarnessFilters): HarnessPredicate<WrDatePickerHarness>;
400
415
  protected readonly harnessName = "WrDatePickerHarness";
401
416
  /** Which mode the picker is in, read from the `wr-date-picker--*` modifier. */
402
- getMode(): Promise<'date' | 'time' | 'datetime'>;
417
+ getMode(): Promise<WrDatePickerMode>;
403
418
  /**
404
419
  * What the field is showing: the value in the picker's `format`, or `''` when it
405
420
  * is empty and the placeholder is up.
@@ -52,6 +52,27 @@ type WrDateInputError = {
52
52
  type WrDateRangeInputError = WrDateInputError & {
53
53
  readonly end: 'start' | 'end';
54
54
  };
55
+ /**
56
+ * @license
57
+ *
58
+ * Use of this source code is governed by an MIT-style license that can be
59
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
60
+ */
61
+ /**
62
+ * What `<wr-date-picker>` picks:
63
+ *
64
+ * - `date`, `time`, `datetime`: a day, a time of day, or both
65
+ * - `week`, `month`, `quarter`, `year`: a period, held as its first day
66
+ */
67
+ type WrDatePickerMode = 'date' | 'time' | 'datetime' | 'week' | 'month' | 'quarter' | 'year';
68
+ /**
69
+ * What each end of `<wr-date-range-picker>` picks:
70
+ *
71
+ * - `date`, `datetime`: a day, or a day and a time
72
+ * - `month`, `quarter`, `year`: a period. The range runs from the first day of
73
+ * the start period to the last day of the end period.
74
+ */
75
+ type WrDateRangePickerMode = 'date' | 'datetime' | 'month' | 'quarter' | 'year';
55
76
  /**
56
77
  * @license
57
78
  *
@@ -116,6 +137,19 @@ interface WrDateRangePreset {
116
137
  * Stays open while editing; close with outside-click or Escape.
117
138
  * - `'datetime'` — popover stacks calendar + time stepper. Picking a date
118
139
  * does NOT close (the user typically wants to set the time next).
140
+ * - `'month'`, `'quarter'`, `'year'`: popover renders that view of the
141
+ * calendar, and a pick closes it. The value is the first day of the period
142
+ * and the field shows the period: `March 2026`, `Q1 2026`, `2026`.
143
+ * - `'week'`: popover renders the day grid, where hovering and picking take a
144
+ * whole week. The value is the week's first day and the field shows
145
+ * `Week 12, 2026`. A week starts on the adapter's first day of the week and
146
+ * week 1 holds 4 January, which with Monday first is the ISO week.
147
+ *
148
+ * In a period mode `min`, `max` and `dateFilter` refuse a period only when
149
+ * they refuse every day in it, and the field reads back what it writes, so a
150
+ * period can be typed. Its text is built from the adapter's month names and
151
+ * year and arranged by the i18n catalog; `[format]`, when set, replaces it,
152
+ * and the date typed in that format stands for the period it is in.
119
153
  *
120
154
  * A signal-forms native control: it implements `FormValueControl<Date | null>`,
121
155
  * so `[formField]` binds straight to its `value` model — no
@@ -155,20 +189,32 @@ interface WrDateRangePreset {
155
189
  * @see https://ngwr.dev/reference/components/date-picker
156
190
  */
157
191
  export declare class WrDatePicker implements FormValueControl<Date | null> {
158
- /** Picker behavior — see class doc. @default 'date' */
159
- readonly mode: import("@angular/core").InputSignal<"time" | "date" | "datetime">;
192
+ /**
193
+ * What the picker picks: `'date'`, `'time'`, `'datetime'`, or a period held
194
+ * as its first day: `'week'`, `'month'`, `'quarter'`, `'year'`.
195
+ * @default 'date'
196
+ */
197
+ readonly mode: import("@angular/core").InputSignal<WrDatePickerMode>;
160
198
  /**
161
199
  * Format used for both display and parsing. When `null` (default), the
162
200
  * format is derived from `mode` (`shortDate` / `time` / `shortDateTime`),
163
201
  * with the hour cycle of `timeFormat` and the seconds of `showSeconds`
164
202
  * (`time24hSeconds`, …). Pass a named key or raw token string to override.
203
+ * A period mode writes the period when this is `null`, and with a format
204
+ * (`MM.yyyy`) reads the typed date as the period it is in.
165
205
  */
166
206
  readonly format: import("@angular/core").InputSignal<WrDateFormat | (string & {}) | null>;
167
207
  /** Placeholder shown when the input is empty. */
168
208
  readonly placeholder: import("@angular/core").InputSignal<string>;
169
- /** Min selectable date (forwarded to the calendar). Ignored in `time` mode. */
209
+ /**
210
+ * Min selectable date (forwarded to the calendar). Ignored in `time` mode. A
211
+ * period mode refuses a period that ends before it.
212
+ */
170
213
  readonly min: import("@angular/core").InputSignal<Date | undefined>;
171
- /** Max selectable date (forwarded to the calendar). Ignored in `time` mode. */
214
+ /**
215
+ * Max selectable date (forwarded to the calendar). Ignored in `time` mode. A
216
+ * period mode refuses a period that starts after it.
217
+ */
172
218
  readonly max: import("@angular/core").InputSignal<Date | undefined>;
173
219
  /** Predicate to disable specific dates (forwarded to the calendar). Ignored in `time` mode. */
174
220
  readonly dateFilter: import("@angular/core").InputSignal<((date: Date) => boolean) | null>;
@@ -190,6 +236,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
190
236
  * `--wr-control-*` contract. The panel keeps its size. @default 'md'
191
237
  */
192
238
  readonly size: import("@angular/core").InputSignal<WrDatePickerSize>;
239
+ /** Pill-shaped corners on the field. The panel keeps its shape. @default false */
240
+ readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
193
241
  /**
194
242
  * Show a clear (×) button once a date is picked. It is a pointer control: from the
195
243
  * keyboard, emptying the field clears the value. @default false
@@ -238,6 +286,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
238
286
  protected readonly hasValue: Signal<boolean>;
239
287
  /** Whether the popover is currently open. */
240
288
  protected readonly overlayOpen: import("@angular/core").WritableSignal<boolean>;
289
+ /** Whether the popup is open. Read-only: `open()` and `close()` change it. */
290
+ readonly isOpen: Signal<boolean>;
241
291
  /**
242
292
  * Where focus came from, captured as an explicit argument at open time —
243
293
  * never read off `document.activeElement`, which by then may already be the
@@ -255,6 +305,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
255
305
  protected readonly resolvedFormat: Signal<string>;
256
306
  protected readonly isTime: Signal<boolean>;
257
307
  protected readonly isDateTime: Signal<boolean>;
308
+ /** The period a period mode names, `null` in the day and time modes. */
309
+ private readonly period;
258
310
  private readonly labelDate;
259
311
  private readonly labelTime;
260
312
  private readonly labelDateTime;
@@ -290,6 +342,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
290
342
  protected readonly panelId: string;
291
343
  protected readonly resolvedPanelLabel: Signal<string>;
292
344
  private readonly refusals;
345
+ /** What the field writes and reads: the adapter's format, or the period in a period mode. */
346
+ private readonly fieldText;
293
347
  private readonly reportToForm;
294
348
  private readonly inputField;
295
349
  /**
@@ -559,6 +613,11 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
559
613
  "required": false;
560
614
  "isSignal": true;
561
615
  };
616
+ "rounded": {
617
+ "alias": "rounded";
618
+ "required": false;
619
+ "isSignal": true;
620
+ };
562
621
  "clearable": {
563
622
  "alias": "clearable";
564
623
  "required": false;
@@ -623,6 +682,11 @@ type EndRefusals = readonly [WrDateInputError | null, WrDateInputError | null];
623
682
  * date closes the overlay.
624
683
  * - `'datetime'` — popover adds a time stepper per end. Picking dates does NOT
625
684
  * close, since the user typically sets the times next.
685
+ * - `'month'`, `'quarter'`, `'year'`: popover renders that view of the
686
+ * calendar and each pick is a period. The range runs from the first day of
687
+ * the start period to the LAST day of the end period, so it stays an
688
+ * inclusive run of days, as a `date` range is. Each field shows its period
689
+ * (`March 2026`, `Q1 2026`, `2026`) and reads the same text back.
626
690
  *
627
691
  * A signal-forms native control: it implements
628
692
  * `FormValueControl<WrDateRange | null>`, so `[formField]` binds straight to
@@ -654,14 +718,19 @@ type EndRefusals = readonly [WrDateInputError | null, WrDateInputError | null];
654
718
  * @see https://ngwr.dev/reference/components/date-picker
655
719
  */
656
720
  export declare class WrDateRangePicker implements FormValueControl<WrDateRange | null> {
657
- /** Picker behavior — see class doc. @default 'date' */
658
- readonly mode: import("@angular/core").InputSignal<"date" | "datetime">;
721
+ /**
722
+ * What each end picks: `'date'`, `'datetime'`, or a period: `'month'`,
723
+ * `'quarter'`, `'year'`. A range of periods runs to the last day of the end
724
+ * period.
725
+ * @default 'date'
726
+ */
727
+ readonly mode: import("@angular/core").InputSignal<WrDateRangePickerMode>;
659
728
  /**
660
729
  * Format used for both display and parsing, on both ends. When `null`
661
730
  * (default), it is derived from `mode` (`shortDate` / `shortDateTime`), with
662
731
  * the hour cycle of `timeFormat` and the seconds of `showSeconds`
663
732
  * (`shortDateTime24hSeconds`, …). Pass a named key or raw token string to
664
- * override.
733
+ * override. A period mode writes the period when this is `null`.
665
734
  */
666
735
  readonly format: import("@angular/core").InputSignal<WrDateFormat | (string & {}) | null>;
667
736
  /** Placeholder for the start input. */
@@ -694,6 +763,8 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
694
763
  * `--wr-control-*` contract. The panel keeps its size. @default 'md'
695
764
  */
696
765
  readonly size: import("@angular/core").InputSignal<WrDatePickerSize>;
766
+ /** Pill-shaped corners on the field. The panel keeps its shape. @default false */
767
+ readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
697
768
  /**
698
769
  * Show a clear (×) button once either end is picked. It is a pointer control: from the
699
770
  * keyboard, emptying both fields clears the value. @default false
@@ -770,6 +841,8 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
770
841
  protected readonly hasValue: Signal<boolean>;
771
842
  /** Whether the popover is currently open. */
772
843
  protected readonly overlayOpen: import("@angular/core").WritableSignal<boolean>;
844
+ /** Whether the popup is open. Read-only: `open()` and `close()` change it. */
845
+ readonly isOpen: Signal<boolean>;
773
846
  /**
774
847
  * Which element opened the popup — captured as an argument, never read off
775
848
  * `document.activeElement`, which by then may already be the pane. With TWO
@@ -783,6 +856,8 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
783
856
  /** Resolved format — falls back to a mode-appropriate default. */
784
857
  protected readonly resolvedFormat: Signal<string>;
785
858
  protected readonly isDateTime: Signal<boolean>;
859
+ /** The period a period mode names, `null` in `date` and `datetime`. */
860
+ private readonly period;
786
861
  protected readonly triggerLabel: Signal<string>;
787
862
  protected readonly startLabel: Signal<string>;
788
863
  protected readonly endLabel: Signal<string>;
@@ -808,6 +883,8 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
808
883
  protected readonly panelId: string;
809
884
  protected readonly resolvedPanelLabel: Signal<string>;
810
885
  private readonly refusalBuilder;
886
+ /** What each field writes and reads: the adapter's format, or the period in a period mode. */
887
+ private readonly fieldText;
811
888
  private readonly reportToForm;
812
889
  private readonly inputField;
813
890
  /** Why each end's text was not committed. */
@@ -985,8 +1062,17 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
985
1062
  private commitRange;
986
1063
  private current;
987
1064
  private display;
1065
+ /**
1066
+ * The date an end's text names. In a period mode the start field reads the
1067
+ * first day of its period and the end field the last day of its own, which is
1068
+ * what a pick in the panel gives each of them.
1069
+ */
988
1070
  private parseText;
989
- /** Keep `[start, end]` in chronological order once both ends exist. */
1071
+ /**
1072
+ * Keep `[start, end]` in chronological order once both ends exist. Two
1073
+ * periods that swap are widened again, each to the side it has moved to; a
1074
+ * range already in order is left exactly as it was written.
1075
+ */
990
1076
  private normalise;
991
1077
  /**
992
1078
  * Chronological comparison at the precision the mode needs. The adapter's
@@ -1073,6 +1159,11 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
1073
1159
  "required": false;
1074
1160
  "isSignal": true;
1075
1161
  };
1162
+ "rounded": {
1163
+ "alias": "rounded";
1164
+ "required": false;
1165
+ "isSignal": true;
1166
+ };
1076
1167
  "clearable": {
1077
1168
  "alias": "clearable";
1078
1169
  "required": false;
@@ -1141,4 +1232,4 @@ export declare function wrThisWeek(): WrDateRangePresetFn;
1141
1232
  export declare function wrThisMonth(): WrDateRangePresetFn;
1142
1233
  /** The month before the one today is in, from its first day to its last. */
1143
1234
  export declare function wrLastMonth(): WrDateRangePresetFn;
1144
- export type { WrDateInputError, WrDatePickerSize, WrDateRange, WrDateRangeInputError, WrDateRangePreset, WrDateRangePresetContext, WrDateRangePresetFn };
1235
+ export type { WrDateInputError, WrDatePickerMode, WrDatePickerSize, WrDateRange, WrDateRangeInputError, WrDateRangePickerMode, WrDateRangePreset, WrDateRangePresetContext, WrDateRangePresetFn };