ngwr 16.2.0 → 16.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/cascader/styles/_rules.scss +7 -0
  4. package/color-picker/styles/_index.scss +21 -0
  5. package/date-picker/styles/_index.scss +19 -0
  6. package/dropdown/styles/_index.scss +13 -19
  7. package/fesm2022/ngwr-affix.mjs +3 -3
  8. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  9. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  10. package/fesm2022/ngwr-alert.mjs +3 -3
  11. package/fesm2022/ngwr-anchor.mjs +17 -6
  12. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  13. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  14. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  15. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  16. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  17. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  18. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  19. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  20. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  21. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  22. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  23. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  25. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  26. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  27. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  28. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  29. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  30. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  31. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  32. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  33. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  34. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  35. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  36. package/fesm2022/ngwr-avatar.mjs +3 -3
  37. package/fesm2022/ngwr-back-top.mjs +3 -3
  38. package/fesm2022/ngwr-badge.mjs +129 -11
  39. package/fesm2022/ngwr-badge.mjs.map +1 -1
  40. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  42. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  43. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  44. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  45. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  46. package/fesm2022/ngwr-burger.mjs +3 -3
  47. package/fesm2022/ngwr-button.mjs +6 -6
  48. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  49. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  50. package/fesm2022/ngwr-calendar.mjs +500 -73
  51. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  52. package/fesm2022/ngwr-card.mjs +9 -9
  53. package/fesm2022/ngwr-carousel.mjs +6 -6
  54. package/fesm2022/ngwr-cascader.mjs +37 -16
  55. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  56. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  57. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  58. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  59. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  60. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  61. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  62. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  63. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  64. package/fesm2022/ngwr-charts-core.mjs +3 -3
  65. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  66. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  67. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  68. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  69. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  70. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  71. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  73. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  75. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  77. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  79. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  81. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  82. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  83. package/fesm2022/ngwr-checkbox.mjs +6 -6
  84. package/fesm2022/ngwr-clipboard.mjs +3 -3
  85. package/fesm2022/ngwr-collapse.mjs +9 -9
  86. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  87. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  88. package/fesm2022/ngwr-color-picker.mjs +153 -37
  89. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  90. package/fesm2022/ngwr-command-palette.mjs +3 -3
  91. package/fesm2022/ngwr-comment.mjs +10 -6
  92. package/fesm2022/ngwr-comment.mjs.map +1 -1
  93. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  94. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  95. package/fesm2022/ngwr-compare.mjs +3 -3
  96. package/fesm2022/ngwr-context-menu.mjs +12 -12
  97. package/fesm2022/ngwr-cookie.mjs +3 -3
  98. package/fesm2022/ngwr-copy-value.mjs +3 -3
  99. package/fesm2022/ngwr-counter.mjs +6 -6
  100. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  101. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  102. package/fesm2022/ngwr-date-picker.mjs +342 -69
  103. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  104. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  105. package/fesm2022/ngwr-date.mjs +59 -8
  106. package/fesm2022/ngwr-date.mjs.map +1 -1
  107. package/fesm2022/ngwr-density.mjs +6 -6
  108. package/fesm2022/ngwr-descriptions.mjs +6 -6
  109. package/fesm2022/ngwr-dialog.mjs +18 -18
  110. package/fesm2022/ngwr-directives.mjs +15 -15
  111. package/fesm2022/ngwr-divider.mjs +3 -3
  112. package/fesm2022/ngwr-drawer.mjs +51 -29
  113. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  114. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  115. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  116. package/fesm2022/ngwr-dropdown.mjs +52 -95
  117. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  118. package/fesm2022/ngwr-editor.mjs +4 -3
  119. package/fesm2022/ngwr-editor.mjs.map +1 -1
  120. package/fesm2022/ngwr-empty.mjs +3 -3
  121. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  122. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  123. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  124. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  125. package/fesm2022/ngwr-file-upload.mjs +274 -15
  126. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  127. package/fesm2022/ngwr-form.mjs +9 -9
  128. package/fesm2022/ngwr-form.mjs.map +1 -1
  129. package/fesm2022/ngwr-graph-testing.mjs +3 -0
  130. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  131. package/fesm2022/ngwr-graph.mjs +102 -42
  132. package/fesm2022/ngwr-graph.mjs.map +1 -1
  133. package/fesm2022/ngwr-hotkey.mjs +6 -6
  134. package/fesm2022/ngwr-i18n-ar.mjs +19 -4
  135. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  136. package/fesm2022/ngwr-i18n-cs.mjs +19 -4
  137. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-de.mjs +19 -4
  139. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-en.mjs +19 -4
  141. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-es.mjs +19 -4
  143. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-fr.mjs +19 -4
  145. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-he.mjs +19 -4
  147. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-hi.mjs +19 -4
  149. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-id.mjs +19 -4
  151. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-it.mjs +19 -4
  153. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-ja.mjs +19 -4
  155. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-ko.mjs +19 -4
  157. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-nl.mjs +19 -4
  159. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-pl.mjs +19 -4
  161. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-pt.mjs +19 -4
  163. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-ru.mjs +19 -4
  165. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-sv.mjs +19 -4
  167. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-tr.mjs +19 -4
  169. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-uk.mjs +19 -4
  171. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-vi.mjs +19 -4
  173. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  174. package/fesm2022/ngwr-i18n-zh-tw.mjs +19 -4
  175. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-zh.mjs +19 -4
  177. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n.mjs +9 -9
  179. package/fesm2022/ngwr-icon.mjs +6 -6
  180. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  181. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  182. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  183. package/fesm2022/ngwr-input-number.mjs +68 -7
  184. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  185. package/fesm2022/ngwr-input-otp.mjs +23 -3
  186. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  187. package/fesm2022/ngwr-input-testing.mjs +24 -1
  188. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  189. package/fesm2022/ngwr-input.mjs +152 -36
  190. package/fesm2022/ngwr-input.mjs.map +1 -1
  191. package/fesm2022/ngwr-keyboard.mjs +3 -3
  192. package/fesm2022/ngwr-knob.mjs +3 -3
  193. package/fesm2022/ngwr-layout.mjs +15 -15
  194. package/fesm2022/ngwr-lightbox.mjs +8 -8
  195. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  196. package/fesm2022/ngwr-list.mjs +8 -8
  197. package/fesm2022/ngwr-list.mjs.map +1 -1
  198. package/fesm2022/ngwr-load-state.mjs +15 -15
  199. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  200. package/fesm2022/ngwr-mention.mjs +6 -6
  201. package/fesm2022/ngwr-meta.mjs +6 -6
  202. package/fesm2022/ngwr-overlay.mjs +175 -13
  203. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  204. package/fesm2022/ngwr-page-header.mjs +3 -3
  205. package/fesm2022/ngwr-pagination.mjs +5 -3
  206. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  207. package/fesm2022/ngwr-pipes.mjs +31 -29
  208. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  209. package/fesm2022/ngwr-platform.mjs +9 -9
  210. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  211. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  212. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  213. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  214. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  215. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  216. package/fesm2022/ngwr-popover.mjs +58 -156
  217. package/fesm2022/ngwr-popover.mjs.map +1 -1
  218. package/fesm2022/ngwr-progress.mjs +50 -9
  219. package/fesm2022/ngwr-progress.mjs.map +1 -1
  220. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  221. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  222. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  223. package/fesm2022/ngwr-qr.mjs +3 -3
  224. package/fesm2022/ngwr-radio.mjs +6 -6
  225. package/fesm2022/ngwr-rating.mjs +3 -3
  226. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  227. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  228. package/fesm2022/ngwr-resizable.mjs +3 -3
  229. package/fesm2022/ngwr-result.mjs +12 -12
  230. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  231. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  232. package/fesm2022/ngwr-schema-form.mjs +415 -19
  233. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  234. package/fesm2022/ngwr-scroll.mjs +3 -3
  235. package/fesm2022/ngwr-segmented.mjs +3 -3
  236. package/fesm2022/ngwr-select-testing.mjs +19 -0
  237. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  238. package/fesm2022/ngwr-select.mjs +263 -83
  239. package/fesm2022/ngwr-select.mjs.map +1 -1
  240. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  241. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  242. package/fesm2022/ngwr-sidebar.mjs +3 -3
  243. package/fesm2022/ngwr-skeleton.mjs +3 -3
  244. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  245. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  246. package/fesm2022/ngwr-slider.mjs +21 -3
  247. package/fesm2022/ngwr-slider.mjs.map +1 -1
  248. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  249. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  250. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  251. package/fesm2022/ngwr-spinner.mjs +3 -3
  252. package/fesm2022/ngwr-splitter.mjs +3 -3
  253. package/fesm2022/ngwr-statistic.mjs +9 -9
  254. package/fesm2022/ngwr-stepper.mjs +42 -11
  255. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  256. package/fesm2022/ngwr-storage.mjs +3 -3
  257. package/fesm2022/ngwr-switch.mjs +3 -3
  258. package/fesm2022/ngwr-table-testing.mjs +88 -2
  259. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  260. package/fesm2022/ngwr-table.mjs +891 -74
  261. package/fesm2022/ngwr-table.mjs.map +1 -1
  262. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  263. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  264. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-tabs.mjs +15 -10
  266. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  267. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  268. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  269. package/fesm2022/ngwr-textarea.mjs +128 -16
  270. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  271. package/fesm2022/ngwr-theme.mjs +3 -3
  272. package/fesm2022/ngwr-timeline.mjs +6 -6
  273. package/fesm2022/ngwr-toast.mjs +40 -19
  274. package/fesm2022/ngwr-toast.mjs.map +1 -1
  275. package/fesm2022/ngwr-toolbar.mjs +3 -3
  276. package/fesm2022/ngwr-tour.mjs +6 -6
  277. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  278. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  279. package/fesm2022/ngwr-transfer.mjs +24 -5
  280. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  281. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  282. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tree.mjs +966 -78
  284. package/fesm2022/ngwr-tree.mjs.map +1 -1
  285. package/fesm2022/ngwr-typography.mjs +3 -3
  286. package/fesm2022/ngwr-utils-router.mjs +3 -3
  287. package/fesm2022/ngwr-utils.mjs +34 -1
  288. package/fesm2022/ngwr-utils.mjs.map +1 -1
  289. package/fesm2022/ngwr-version.mjs +1 -1
  290. package/fesm2022/ngwr-version.mjs.map +1 -1
  291. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  292. package/fesm2022/ngwr-window.mjs +33 -22
  293. package/fesm2022/ngwr-window.mjs.map +1 -1
  294. package/file-upload/styles/_index.scss +156 -0
  295. package/i18n/ar.json +21 -4
  296. package/i18n/cs.json +21 -4
  297. package/i18n/de.json +21 -4
  298. package/i18n/en.json +21 -4
  299. package/i18n/es.json +21 -4
  300. package/i18n/fr.json +21 -4
  301. package/i18n/he.json +21 -4
  302. package/i18n/hi.json +21 -4
  303. package/i18n/id.json +21 -4
  304. package/i18n/it.json +21 -4
  305. package/i18n/ja.json +21 -4
  306. package/i18n/ko.json +21 -4
  307. package/i18n/nl.json +21 -4
  308. package/i18n/pl.json +21 -4
  309. package/i18n/pt.json +21 -4
  310. package/i18n/ru.json +21 -4
  311. package/i18n/sv.json +21 -4
  312. package/i18n/tr.json +21 -4
  313. package/i18n/uk.json +21 -4
  314. package/i18n/vi.json +21 -4
  315. package/i18n/zh-TW.json +21 -4
  316. package/i18n/zh.json +21 -4
  317. package/input/styles/_index.scss +68 -1
  318. package/input-otp/styles/_index.scss +14 -0
  319. package/llms-full.txt +52 -20
  320. package/overlay/styles/_arrow.scss +4 -4
  321. package/package.json +33 -1
  322. package/popconfirm/styles/_index.scss +3 -11
  323. package/progress/styles/_index.scss +32 -0
  324. package/schema-form/styles/_index.scss +78 -0
  325. package/schematics/use/rule.js +2 -0
  326. package/schematics/use/symbol-map.json +4 -0
  327. package/select/styles/_index.scss +114 -22
  328. package/skills/ngwr/SKILL.md +1 -1
  329. package/skills/ngwr/references/catalog.md +9 -1
  330. package/slider/styles/_index.scss +22 -0
  331. package/table/styles/_index.scss +167 -3
  332. package/textarea/styles/_index.scss +80 -0
  333. package/theme/styles/_focus.scss +5 -0
  334. package/theme/styles/_motion.scss +5 -0
  335. package/transfer/styles/_index.scss +84 -0
  336. package/tree/styles/_index.scss +138 -5
  337. package/types/ngwr-alert-testing.d.ts +88 -0
  338. package/types/ngwr-badge.d.ts +72 -2
  339. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  340. package/types/ngwr-burger-testing.d.ts +51 -0
  341. package/types/ngwr-calendar-testing.d.ts +18 -6
  342. package/types/ngwr-calendar.d.ts +272 -22
  343. package/types/ngwr-cascader.d.ts +10 -1
  344. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  345. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  346. package/types/ngwr-charts-line-chart.d.ts +7 -4
  347. package/types/ngwr-color-picker-testing.d.ts +15 -4
  348. package/types/ngwr-color-picker.d.ts +76 -6
  349. package/types/ngwr-compare-testing.d.ts +72 -0
  350. package/types/ngwr-date-picker-testing.d.ts +23 -8
  351. package/types/ngwr-date-picker.d.ts +100 -9
  352. package/types/ngwr-date.d.ts +71 -1
  353. package/types/ngwr-drawer.d.ts +9 -0
  354. package/types/ngwr-dropdown-testing.d.ts +20 -0
  355. package/types/ngwr-dropdown.d.ts +24 -6
  356. package/types/ngwr-event-calendar.d.ts +66 -8
  357. package/types/ngwr-file-upload-testing.d.ts +31 -2
  358. package/types/ngwr-file-upload.d.ts +148 -1
  359. package/types/ngwr-form.d.ts +47 -3
  360. package/types/ngwr-graph-testing.d.ts +8 -3
  361. package/types/ngwr-graph.d.ts +147 -7
  362. package/types/ngwr-input-number-testing.d.ts +10 -0
  363. package/types/ngwr-input-number.d.ts +30 -1
  364. package/types/ngwr-input-otp.d.ts +10 -0
  365. package/types/ngwr-input-testing.d.ts +30 -0
  366. package/types/ngwr-input.d.ts +54 -3
  367. package/types/ngwr-overlay.d.ts +84 -5
  368. package/types/ngwr-pipes.d.ts +2 -1
  369. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  370. package/types/ngwr-popconfirm.d.ts +28 -3
  371. package/types/ngwr-popover-testing.d.ts +19 -2
  372. package/types/ngwr-popover.d.ts +22 -2
  373. package/types/ngwr-progress.d.ts +29 -1
  374. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  375. package/types/ngwr-resizable-testing.d.ts +116 -0
  376. package/types/ngwr-schema-form-testing.d.ts +260 -0
  377. package/types/ngwr-schema-form.d.ts +76 -6
  378. package/types/ngwr-select-testing.d.ts +20 -0
  379. package/types/ngwr-select.d.ts +112 -11
  380. package/types/ngwr-sidebar-testing.d.ts +176 -0
  381. package/types/ngwr-slider-testing.d.ts +3 -1
  382. package/types/ngwr-slider.d.ts +21 -1
  383. package/types/ngwr-sortable-list.d.ts +6 -0
  384. package/types/ngwr-stepper.d.ts +20 -11
  385. package/types/ngwr-table-testing.d.ts +70 -6
  386. package/types/ngwr-table.d.ts +480 -50
  387. package/types/ngwr-tabs-testing.d.ts +14 -17
  388. package/types/ngwr-tabs.d.ts +6 -0
  389. package/types/ngwr-textarea-testing.d.ts +10 -0
  390. package/types/ngwr-textarea.d.ts +48 -2
  391. package/types/ngwr-toast.d.ts +8 -1
  392. package/types/ngwr-transfer-testing.d.ts +3 -0
  393. package/types/ngwr-transfer.d.ts +24 -1
  394. package/types/ngwr-tree-testing.d.ts +65 -1
  395. package/types/ngwr-tree.d.ts +333 -12
  396. package/types/ngwr-utils.d.ts +28 -0
  397. package/types/ngwr-version.d.ts +1 -1
  398. package/types/ngwr-window.d.ts +7 -4
@@ -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 };
@@ -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 };
@@ -24,6 +24,28 @@ import { WrFeature } from "ngwr/utils";
24
24
  * implementation for the supported tokens (`yyyy`, `MM`, `dd`, `HH`, …).
25
25
  */
26
26
  type WrDateFormat = 'shortDate' | 'mediumDate' | 'longDate' | 'time' | 'time12h' | 'time24h' | 'timeSeconds' | 'time12hSeconds' | 'time24hSeconds' | 'shortDateTime' | 'shortDateTime12h' | 'shortDateTime24h' | 'shortDateTimeSeconds' | 'shortDateTime12hSeconds' | 'shortDateTime24hSeconds' | 'mediumDateTime';
27
+ /**
28
+ * @license
29
+ *
30
+ * Use of this source code is governed by an MIT-style license that can be
31
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
32
+ */
33
+ /**
34
+ * A span of days a date can stand for: the week, month, quarter or year it is
35
+ * in. `wrPeriodStart` and `wrPeriodEnd` give its two ends, and the period modes
36
+ * of `<wr-date-picker>` hold its first day.
37
+ */
38
+ type WrDatePeriod = 'week' | 'month' | 'quarter' | 'year';
39
+ /** A week of the year: its number, and the year that number counts in. */
40
+ interface WrWeekOfYear {
41
+ /** 1 to 53. */
42
+ readonly week: number;
43
+ /**
44
+ * The year the week belongs to, which near 1 January is not always the
45
+ * year of the date: 29 December 2025 is in week 1 of 2026.
46
+ */
47
+ readonly year: number;
48
+ }
27
49
  /**
28
50
  * What a number counts since the epoch: milliseconds, microseconds or seconds.
29
51
  *
@@ -517,6 +539,54 @@ export declare function wrToLocalDate(value: string | number): Date;
517
539
  * @see https://ngwr.dev/reference/pipes/wr-date
518
540
  */
519
541
  export declare function wrParseDate(value: Date | string | number | null | undefined, options?: WrParseDateOptions): Date | null;
542
+ /**
543
+ * The first day of the week, month, quarter or year `date` is in, at the
544
+ * adapter's start of day.
545
+ *
546
+ * A week starts on the adapter's `getFirstDayOfWeek()`, so it follows the
547
+ * locale. Quarters are calendar quarters: January, April, July and October
548
+ * open them.
549
+ *
550
+ * @example
551
+ * ```ts
552
+ * wrPeriodStart(adapter, new Date(2026, 4, 20), 'quarter'); // 1 April 2026
553
+ * ```
554
+ */
555
+ export declare function wrPeriodStart<TDate>(adapter: WrDateAdapter<TDate>, date: TDate, period: WrDatePeriod): TDate;
556
+ /**
557
+ * The last day of the week, month, quarter or year `date` is in, at the
558
+ * adapter's start of day: with {@link wrPeriodStart} it is the period as an
559
+ * inclusive range of days.
560
+ *
561
+ * @example
562
+ * ```ts
563
+ * wrPeriodEnd(adapter, new Date(2026, 1, 3), 'month'); // 28 February 2026
564
+ * ```
565
+ */
566
+ export declare function wrPeriodEnd<TDate>(adapter: WrDateAdapter<TDate>, date: TDate, period: WrDatePeriod): TDate;
567
+ /**
568
+ * The week of the year `date` is in.
569
+ *
570
+ * Week 1 is the week holding 4 January, so the first week with four or more
571
+ * days of the new year. With Monday as the first day of the week that is the
572
+ * ISO 8601 week; with another first day the same rule runs on that week.
573
+ *
574
+ * @example
575
+ * ```ts
576
+ * wrWeekOfYear(adapter, new Date(2026, 2, 18)); // { week: 12, year: 2026 }
577
+ * ```
578
+ */
579
+ export declare function wrWeekOfYear<TDate>(adapter: WrDateAdapter<TDate>, date: TDate): WrWeekOfYear;
580
+ /**
581
+ * The first day of week `week` of `year`, counted as {@link wrWeekOfYear}
582
+ * counts, or `null` when that year has no such week (week 53 of most years).
583
+ *
584
+ * @example
585
+ * ```ts
586
+ * wrWeekStart(adapter, 2026, 12); // Monday 16 March 2026, in a Monday-first locale
587
+ * ```
588
+ */
589
+ export declare function wrWeekStart<TDate>(adapter: WrDateAdapter<TDate>, year: number, week: number): TDate | null;
520
590
  /**
521
591
  * The locale dates are written in, as a signal. Highest first:
522
592
  *
@@ -627,4 +697,4 @@ export declare const WR_DATE_INPUT: InjectionToken<{
627
697
  * `withDates()` does not import a component.
628
698
  */
629
699
  export declare const WR_DATE_STAMP_DEFAULTS: InjectionToken<WrDateStampDefaults>;
630
- export { type WrDateFormat, type WrDateStampDefaults, type WrDatesOptions, type WrEpochUnit, type WrParseDateOptions, type WrZonelessIn, wrIsNamedFormat };
700
+ export { type WrDateFormat, type WrDatePeriod, type WrDateStampDefaults, type WrDatesOptions, type WrEpochUnit, type WrParseDateOptions, type WrWeekOfYear, type WrZonelessIn, wrIsNamedFormat };
@@ -215,6 +215,8 @@ export declare class WrDrawer {
215
215
  private previouslyFocused;
216
216
  /** Whether the open panel is modal — `hasBackdrop` as it was when it opened. */
217
217
  private modal;
218
+ /** The side the open overlay sits on. */
219
+ private side;
218
220
  constructor();
219
221
  /**
220
222
  * Point the panel's `aria-labelledby` at the CURRENT `[wrDrawerTitle]`.
@@ -228,6 +230,13 @@ export declare class WrDrawer {
228
230
  * so. A missing title clears the attribute for the same reason.
229
231
  */
230
232
  private syncLabel;
233
+ private positionStrategy;
234
+ private size;
235
+ /**
236
+ * Carry `position`, `width`, `height` and `maxHeight` over to the open
237
+ * overlay. The CDK reads them once, in `create()`.
238
+ */
239
+ private syncOverlay;
231
240
  private openOverlay;
232
241
  private closeOverlay;
233
242
  static ɵfac: i0.ɵɵFactoryDeclaration<WrDrawer, never>;