ngwr 15.0.1 → 15.2.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 (420) hide show
  1. package/anchor/styles/_index.scss +13 -2
  2. package/bits/aurora/styles/_rules.scss +11 -0
  3. package/bits/dot-grid/dot-grid.scss +1 -0
  4. package/bits/dot-grid/styles/_index.scss +8 -0
  5. package/bits/dot-grid/styles/_rules.scss +54 -0
  6. package/bits/iridescence/iridescence.scss +1 -0
  7. package/bits/iridescence/styles/_index.scss +8 -0
  8. package/bits/iridescence/styles/_rules.scss +72 -0
  9. package/bits/marquee/styles/_rules.scss +7 -3
  10. package/bits/ripple-grid/ripple-grid.scss +1 -0
  11. package/bits/ripple-grid/styles/_index.scss +8 -0
  12. package/bits/ripple-grid/styles/_rules.scss +63 -0
  13. package/bits/spotlight-card/styles/_rules.scss +7 -4
  14. package/bits/star-border/styles/_rules.scss +5 -2
  15. package/bits/threads/styles/_index.scss +8 -0
  16. package/bits/threads/styles/_rules.scss +76 -0
  17. package/bits/threads/threads.scss +1 -0
  18. package/bits/waves/styles/_rules.scss +8 -1
  19. package/charts/bar-chart/styles/_index.scss +607 -7
  20. package/charts/boxplot-chart/styles/_index.scss +297 -0
  21. package/charts/bullet-chart/styles/_index.scss +268 -0
  22. package/charts/calendar-heatmap/styles/_index.scss +25 -3
  23. package/charts/candlestick-chart/styles/_index.scss +307 -0
  24. package/charts/chart-legend/styles/_index.scss +143 -0
  25. package/charts/core/styles/_index.scss +30 -0
  26. package/charts/donut-chart/styles/_index.scss +39 -3
  27. package/charts/funnel-chart/styles/_index.scss +237 -0
  28. package/charts/gauge/styles/_index.scss +4 -2
  29. package/charts/heatmap-chart/styles/_index.scss +329 -0
  30. package/charts/line-chart/styles/_index.scss +141 -8
  31. package/charts/meter-group/styles/_index.scss +44 -13
  32. package/charts/radar-chart/styles/_index.scss +206 -0
  33. package/charts/scatter-chart/styles/_index.scss +245 -0
  34. package/charts/sparkline/styles/_index.scss +10 -1
  35. package/charts/treemap-chart/styles/_index.scss +215 -0
  36. package/charts/waterfall-chart/styles/_index.scss +321 -0
  37. package/collapse/styles/_index.scss +6 -1
  38. package/fesm2022/ngwr-affix.mjs +3 -3
  39. package/fesm2022/ngwr-alert.mjs +3 -3
  40. package/fesm2022/ngwr-anchor.mjs +3 -3
  41. package/fesm2022/ngwr-avatar.mjs +3 -3
  42. package/fesm2022/ngwr-back-top.mjs +3 -3
  43. package/fesm2022/ngwr-badge.mjs +6 -6
  44. package/fesm2022/ngwr-bits-aurora.mjs +30 -38
  45. package/fesm2022/ngwr-bits-aurora.mjs.map +1 -1
  46. package/fesm2022/ngwr-bits-blur-text.mjs +3 -3
  47. package/fesm2022/ngwr-bits-border-glow-testing.mjs.map +1 -1
  48. package/fesm2022/ngwr-bits-border-glow.mjs +11 -5
  49. package/fesm2022/ngwr-bits-border-glow.mjs.map +1 -1
  50. package/fesm2022/ngwr-bits-circular-text.mjs +3 -3
  51. package/fesm2022/ngwr-bits-click-spark.mjs +3 -3
  52. package/fesm2022/ngwr-bits-confetti.mjs +3 -3
  53. package/fesm2022/ngwr-bits-decrypt-text.mjs +3 -3
  54. package/fesm2022/ngwr-bits-dot-grid-testing.mjs +40 -0
  55. package/fesm2022/ngwr-bits-dot-grid-testing.mjs.map +1 -0
  56. package/fesm2022/ngwr-bits-dot-grid.mjs +482 -0
  57. package/fesm2022/ngwr-bits-dot-grid.mjs.map +1 -0
  58. package/fesm2022/ngwr-bits-falling-text.mjs +3 -3
  59. package/fesm2022/ngwr-bits-fuzzy-text.mjs +3 -3
  60. package/fesm2022/ngwr-bits-glitch-text.mjs +3 -3
  61. package/fesm2022/ngwr-bits-gradient-text.mjs +3 -3
  62. package/fesm2022/ngwr-bits-iridescence-testing.mjs +31 -0
  63. package/fesm2022/ngwr-bits-iridescence-testing.mjs.map +1 -0
  64. package/fesm2022/ngwr-bits-iridescence.mjs +591 -0
  65. package/fesm2022/ngwr-bits-iridescence.mjs.map +1 -0
  66. package/fesm2022/ngwr-bits-marquee-testing.mjs +1 -1
  67. package/fesm2022/ngwr-bits-marquee-testing.mjs.map +1 -1
  68. package/fesm2022/ngwr-bits-marquee.mjs +7 -7
  69. package/fesm2022/ngwr-bits-marquee.mjs.map +1 -1
  70. package/fesm2022/ngwr-bits-ripple-grid-testing.mjs +40 -0
  71. package/fesm2022/ngwr-bits-ripple-grid-testing.mjs.map +1 -0
  72. package/fesm2022/ngwr-bits-ripple-grid.mjs +805 -0
  73. package/fesm2022/ngwr-bits-ripple-grid.mjs.map +1 -0
  74. package/fesm2022/ngwr-bits-rotating-text.mjs +3 -3
  75. package/fesm2022/ngwr-bits-shiny-text.mjs +6 -6
  76. package/fesm2022/ngwr-bits-splash-cursor.mjs +3 -3
  77. package/fesm2022/ngwr-bits-split-text.mjs +3 -3
  78. package/fesm2022/ngwr-bits-spotlight-card-testing.mjs +1 -1
  79. package/fesm2022/ngwr-bits-spotlight-card-testing.mjs.map +1 -1
  80. package/fesm2022/ngwr-bits-spotlight-card.mjs +10 -10
  81. package/fesm2022/ngwr-bits-spotlight-card.mjs.map +1 -1
  82. package/fesm2022/ngwr-bits-star-border-testing.mjs +1 -1
  83. package/fesm2022/ngwr-bits-star-border-testing.mjs.map +1 -1
  84. package/fesm2022/ngwr-bits-star-border.mjs +7 -7
  85. package/fesm2022/ngwr-bits-star-border.mjs.map +1 -1
  86. package/fesm2022/ngwr-bits-threads-testing.mjs +41 -0
  87. package/fesm2022/ngwr-bits-threads-testing.mjs.map +1 -0
  88. package/fesm2022/ngwr-bits-threads.mjs +482 -0
  89. package/fesm2022/ngwr-bits-threads.mjs.map +1 -0
  90. package/fesm2022/ngwr-bits-tilt-card.mjs +6 -6
  91. package/fesm2022/ngwr-bits-typewriter.mjs +3 -3
  92. package/fesm2022/ngwr-bits-waves-testing.mjs.map +1 -1
  93. package/fesm2022/ngwr-bits-waves.mjs +60 -41
  94. package/fesm2022/ngwr-bits-waves.mjs.map +1 -1
  95. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  96. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  97. package/fesm2022/ngwr-burger.mjs +3 -3
  98. package/fesm2022/ngwr-button.mjs +6 -6
  99. package/fesm2022/ngwr-calendar.mjs +3 -3
  100. package/fesm2022/ngwr-card.mjs +9 -9
  101. package/fesm2022/ngwr-carousel.mjs +6 -6
  102. package/fesm2022/ngwr-cascader.mjs +5 -5
  103. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  104. package/fesm2022/ngwr-charts-bar-chart-testing.mjs +127 -3
  105. package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
  106. package/fesm2022/ngwr-charts-bar-chart.mjs +683 -49
  107. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  108. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +161 -0
  109. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -0
  110. package/fesm2022/ngwr-charts-boxplot-chart.mjs +517 -0
  111. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -0
  112. package/fesm2022/ngwr-charts-bullet-chart-testing.mjs +68 -0
  113. package/fesm2022/ngwr-charts-bullet-chart-testing.mjs.map +1 -0
  114. package/fesm2022/ngwr-charts-bullet-chart.mjs +459 -0
  115. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -0
  116. package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs +27 -0
  117. package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs.map +1 -1
  118. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +96 -17
  119. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  120. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +107 -0
  121. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -0
  122. package/fesm2022/ngwr-charts-candlestick-chart.mjs +508 -0
  123. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -0
  124. package/fesm2022/ngwr-charts-chart-legend-testing.mjs +126 -0
  125. package/fesm2022/ngwr-charts-chart-legend-testing.mjs.map +1 -0
  126. package/fesm2022/ngwr-charts-chart-legend.mjs +251 -0
  127. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -0
  128. package/fesm2022/ngwr-charts-core.mjs +383 -0
  129. package/fesm2022/ngwr-charts-core.mjs.map +1 -0
  130. package/fesm2022/ngwr-charts-donut-chart-testing.mjs +10 -1
  131. package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
  132. package/fesm2022/ngwr-charts-donut-chart.mjs +187 -31
  133. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  134. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +100 -0
  135. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -0
  136. package/fesm2022/ngwr-charts-funnel-chart.mjs +415 -0
  137. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -0
  138. package/fesm2022/ngwr-charts-gauge-testing.mjs +9 -3
  139. package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
  140. package/fesm2022/ngwr-charts-gauge.mjs +9 -15
  141. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  142. package/fesm2022/ngwr-charts-heatmap-chart-testing.mjs +120 -0
  143. package/fesm2022/ngwr-charts-heatmap-chart-testing.mjs.map +1 -0
  144. package/fesm2022/ngwr-charts-heatmap-chart.mjs +519 -0
  145. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -0
  146. package/fesm2022/ngwr-charts-line-chart-testing.mjs +43 -1
  147. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  148. package/fesm2022/ngwr-charts-line-chart.mjs +436 -122
  149. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  150. package/fesm2022/ngwr-charts-meter-group-testing.mjs +14 -2
  151. package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
  152. package/fesm2022/ngwr-charts-meter-group.mjs +101 -32
  153. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  154. package/fesm2022/ngwr-charts-radar-chart-testing.mjs +98 -0
  155. package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -0
  156. package/fesm2022/ngwr-charts-radar-chart.mjs +720 -0
  157. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -0
  158. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +132 -0
  159. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -0
  160. package/fesm2022/ngwr-charts-scatter-chart.mjs +545 -0
  161. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -0
  162. package/fesm2022/ngwr-charts-sparkline-testing.mjs.map +1 -1
  163. package/fesm2022/ngwr-charts-sparkline.mjs +14 -16
  164. package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
  165. package/fesm2022/ngwr-charts-treemap-chart-testing.mjs +103 -0
  166. package/fesm2022/ngwr-charts-treemap-chart-testing.mjs.map +1 -0
  167. package/fesm2022/ngwr-charts-treemap-chart.mjs +535 -0
  168. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -0
  169. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +131 -0
  170. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -0
  171. package/fesm2022/ngwr-charts-waterfall-chart.mjs +462 -0
  172. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -0
  173. package/fesm2022/ngwr-checkbox.mjs +6 -6
  174. package/fesm2022/ngwr-clipboard.mjs +3 -3
  175. package/fesm2022/ngwr-collapse.mjs +9 -9
  176. package/fesm2022/ngwr-color-picker.mjs +6 -6
  177. package/fesm2022/ngwr-command-palette.mjs +3 -3
  178. package/fesm2022/ngwr-compare.mjs +3 -3
  179. package/fesm2022/ngwr-context-menu.mjs +12 -12
  180. package/fesm2022/ngwr-cookie.mjs +3 -3
  181. package/fesm2022/ngwr-counter.mjs +6 -6
  182. package/fesm2022/ngwr-date-picker.mjs +21 -21
  183. package/fesm2022/ngwr-date.mjs +6 -6
  184. package/fesm2022/ngwr-density.mjs +6 -6
  185. package/fesm2022/ngwr-descriptions.mjs +6 -6
  186. package/fesm2022/ngwr-dialog.mjs +15 -15
  187. package/fesm2022/ngwr-directives.mjs +12 -12
  188. package/fesm2022/ngwr-divider.mjs +3 -3
  189. package/fesm2022/ngwr-drawer.mjs +18 -18
  190. package/fesm2022/ngwr-dropdown.mjs +9 -9
  191. package/fesm2022/ngwr-editor.mjs +3 -3
  192. package/fesm2022/ngwr-empty.mjs +3 -3
  193. package/fesm2022/ngwr-event-calendar.mjs +6 -6
  194. package/fesm2022/ngwr-file-upload.mjs +3 -3
  195. package/fesm2022/ngwr-form.mjs +9 -9
  196. package/fesm2022/ngwr-graph.mjs +6 -6
  197. package/fesm2022/ngwr-hotkey.mjs +6 -6
  198. package/fesm2022/ngwr-i18n-ar.mjs +90 -4
  199. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  200. package/fesm2022/ngwr-i18n-cs.mjs +90 -4
  201. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  202. package/fesm2022/ngwr-i18n-de.mjs +90 -4
  203. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  204. package/fesm2022/ngwr-i18n-en.mjs +90 -4
  205. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  206. package/fesm2022/ngwr-i18n-es.mjs +90 -4
  207. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  208. package/fesm2022/ngwr-i18n-fr.mjs +90 -4
  209. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  210. package/fesm2022/ngwr-i18n-he.mjs +90 -4
  211. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  212. package/fesm2022/ngwr-i18n-hi.mjs +90 -4
  213. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  214. package/fesm2022/ngwr-i18n-id.mjs +90 -4
  215. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  216. package/fesm2022/ngwr-i18n-it.mjs +90 -4
  217. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  218. package/fesm2022/ngwr-i18n-ja.mjs +90 -4
  219. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  220. package/fesm2022/ngwr-i18n-ko.mjs +90 -4
  221. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  222. package/fesm2022/ngwr-i18n-nl.mjs +90 -4
  223. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  224. package/fesm2022/ngwr-i18n-pl.mjs +90 -4
  225. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  226. package/fesm2022/ngwr-i18n-pt.mjs +90 -4
  227. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  228. package/fesm2022/ngwr-i18n-ru.mjs +90 -4
  229. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  230. package/fesm2022/ngwr-i18n-sv.mjs +90 -4
  231. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  232. package/fesm2022/ngwr-i18n-tr.mjs +90 -4
  233. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  234. package/fesm2022/ngwr-i18n-uk.mjs +90 -4
  235. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  236. package/fesm2022/ngwr-i18n-vi.mjs +90 -4
  237. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  238. package/fesm2022/ngwr-i18n-zh-tw.mjs +90 -4
  239. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  240. package/fesm2022/ngwr-i18n-zh.mjs +90 -4
  241. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  242. package/fesm2022/ngwr-i18n.mjs +9 -9
  243. package/fesm2022/ngwr-icon.mjs +6 -6
  244. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  245. package/fesm2022/ngwr-input-number.mjs +3 -3
  246. package/fesm2022/ngwr-input-otp.mjs +3 -3
  247. package/fesm2022/ngwr-input.mjs +15 -15
  248. package/fesm2022/ngwr-keyboard.mjs +3 -3
  249. package/fesm2022/ngwr-knob.mjs +3 -3
  250. package/fesm2022/ngwr-layout.mjs +15 -15
  251. package/fesm2022/ngwr-lightbox.mjs +5 -5
  252. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  253. package/fesm2022/ngwr-list.mjs +8 -8
  254. package/fesm2022/ngwr-list.mjs.map +1 -1
  255. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  256. package/fesm2022/ngwr-mention.mjs +6 -6
  257. package/fesm2022/ngwr-meta.mjs +6 -6
  258. package/fesm2022/ngwr-overlay.mjs +6 -6
  259. package/fesm2022/ngwr-page-header.mjs +3 -3
  260. package/fesm2022/ngwr-pagination.mjs +3 -3
  261. package/fesm2022/ngwr-pipes.mjs +21 -21
  262. package/fesm2022/ngwr-platform.mjs +6 -6
  263. package/fesm2022/ngwr-popconfirm.mjs +6 -6
  264. package/fesm2022/ngwr-popover.mjs +43 -20
  265. package/fesm2022/ngwr-popover.mjs.map +1 -1
  266. package/fesm2022/ngwr-progress.mjs +3 -3
  267. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  268. package/fesm2022/ngwr-qr.mjs +4 -3
  269. package/fesm2022/ngwr-qr.mjs.map +1 -1
  270. package/fesm2022/ngwr-radio.mjs +6 -6
  271. package/fesm2022/ngwr-rating.mjs +3 -3
  272. package/fesm2022/ngwr-result.mjs +12 -12
  273. package/fesm2022/ngwr-schema-form.mjs +3 -3
  274. package/fesm2022/ngwr-scroll.mjs +3 -3
  275. package/fesm2022/ngwr-segmented.mjs +3 -3
  276. package/fesm2022/ngwr-select.mjs +12 -12
  277. package/fesm2022/ngwr-sidebar.mjs +3 -3
  278. package/fesm2022/ngwr-skeleton.mjs +3 -3
  279. package/fesm2022/ngwr-slider.mjs +3 -3
  280. package/fesm2022/ngwr-sortable-list.mjs +11 -11
  281. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  282. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  283. package/fesm2022/ngwr-spinner.mjs +3 -3
  284. package/fesm2022/ngwr-splitter.mjs +3 -3
  285. package/fesm2022/ngwr-statistic.mjs +9 -9
  286. package/fesm2022/ngwr-stepper.mjs +6 -6
  287. package/fesm2022/ngwr-storage.mjs +3 -3
  288. package/fesm2022/ngwr-switch.mjs +3 -3
  289. package/fesm2022/ngwr-table.mjs +18 -18
  290. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  291. package/fesm2022/ngwr-tabs.mjs +6 -6
  292. package/fesm2022/ngwr-textarea.mjs +3 -3
  293. package/fesm2022/ngwr-theme.mjs +3 -3
  294. package/fesm2022/ngwr-timeline.mjs +6 -6
  295. package/fesm2022/ngwr-toast-testing.mjs +2 -1
  296. package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
  297. package/fesm2022/ngwr-toast.mjs +34 -15
  298. package/fesm2022/ngwr-toast.mjs.map +1 -1
  299. package/fesm2022/ngwr-toolbar.mjs +3 -3
  300. package/fesm2022/ngwr-tour.mjs +6 -6
  301. package/fesm2022/ngwr-transfer.mjs +3 -3
  302. package/fesm2022/ngwr-tree.mjs +3 -3
  303. package/fesm2022/ngwr-typography.mjs +3 -3
  304. package/fesm2022/ngwr-utils.mjs +31 -1
  305. package/fesm2022/ngwr-utils.mjs.map +1 -1
  306. package/fesm2022/ngwr-version.mjs +1 -1
  307. package/fesm2022/ngwr-version.mjs.map +1 -1
  308. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  309. package/fesm2022/ngwr-window-testing.mjs +61 -5
  310. package/fesm2022/ngwr-window-testing.mjs.map +1 -1
  311. package/fesm2022/ngwr-window.mjs +1538 -895
  312. package/fesm2022/ngwr-window.mjs.map +1 -1
  313. package/fesm2022/ngwr.mjs.map +1 -1
  314. package/i18n/ar.json +84 -4
  315. package/i18n/cs.json +84 -4
  316. package/i18n/de.json +84 -4
  317. package/i18n/en.json +84 -4
  318. package/i18n/es.json +84 -4
  319. package/i18n/fr.json +84 -4
  320. package/i18n/he.json +84 -4
  321. package/i18n/hi.json +84 -4
  322. package/i18n/id.json +84 -4
  323. package/i18n/it.json +84 -4
  324. package/i18n/ja.json +84 -4
  325. package/i18n/ko.json +84 -4
  326. package/i18n/nl.json +84 -4
  327. package/i18n/pl.json +84 -4
  328. package/i18n/pt.json +84 -4
  329. package/i18n/ru.json +84 -4
  330. package/i18n/sv.json +84 -4
  331. package/i18n/tr.json +84 -4
  332. package/i18n/uk.json +84 -4
  333. package/i18n/vi.json +84 -4
  334. package/i18n/zh-TW.json +84 -4
  335. package/i18n/zh.json +84 -4
  336. package/llms-full.txt +266 -9
  337. package/llms.txt +30 -7
  338. package/mcp/api.js +69 -1
  339. package/mcp/catalog.js +10 -1
  340. package/mcp/server.js +15 -1
  341. package/mcp/tools.js +122 -26
  342. package/package.json +132 -1
  343. package/popover/styles/_index.scss +75 -7
  344. package/schematics/component-style/index.js +3 -0
  345. package/schematics/migrations/v15/index.js +3 -26
  346. package/schematics/ng-add/index.js +2 -2
  347. package/schematics/use/symbol-map.json +14 -0
  348. package/schematics/utility/global-styles.js +19 -4
  349. package/schematics/utility/v15-moves.js +55 -0
  350. package/skills/ngwr/SKILL.md +8 -2
  351. package/skills/ngwr/references/catalog.md +28 -0
  352. package/skills/ngwr/references/setup.md +5 -4
  353. package/theme/styles/_focus.scss +8 -0
  354. package/toast/styles/_index.scss +103 -12
  355. package/types/ngwr-bits-aurora.d.ts +11 -0
  356. package/types/ngwr-bits-border-glow-testing.d.ts +5 -6
  357. package/types/ngwr-bits-border-glow.d.ts +5 -1
  358. package/types/ngwr-bits-dot-grid-testing.d.ts +92 -0
  359. package/types/ngwr-bits-dot-grid.d.ts +158 -0
  360. package/types/ngwr-bits-iridescence-testing.d.ts +85 -0
  361. package/types/ngwr-bits-iridescence.d.ts +244 -0
  362. package/types/ngwr-bits-ripple-grid-testing.d.ts +96 -0
  363. package/types/ngwr-bits-ripple-grid.d.ts +294 -0
  364. package/types/ngwr-bits-splash-cursor.d.ts +0 -1
  365. package/types/ngwr-bits-spotlight-card-testing.d.ts +3 -1
  366. package/types/ngwr-bits-star-border-testing.d.ts +7 -7
  367. package/types/ngwr-bits-threads-testing.d.ts +97 -0
  368. package/types/ngwr-bits-threads.d.ts +216 -0
  369. package/types/ngwr-bits-waves-testing.d.ts +1 -1
  370. package/types/ngwr-bits-waves.d.ts +20 -3
  371. package/types/ngwr-charts-bar-chart-testing.d.ts +193 -14
  372. package/types/ngwr-charts-bar-chart.d.ts +546 -38
  373. package/types/ngwr-charts-boxplot-chart-testing.d.ts +165 -0
  374. package/types/ngwr-charts-boxplot-chart.d.ts +308 -0
  375. package/types/ngwr-charts-bullet-chart-testing.d.ts +99 -0
  376. package/types/ngwr-charts-bullet-chart.d.ts +262 -0
  377. package/types/ngwr-charts-calendar-heatmap-testing.d.ts +32 -1
  378. package/types/ngwr-charts-calendar-heatmap.d.ts +55 -6
  379. package/types/ngwr-charts-candlestick-chart-testing.d.ts +135 -0
  380. package/types/ngwr-charts-candlestick-chart.d.ts +361 -0
  381. package/types/ngwr-charts-chart-legend-testing.d.ts +84 -0
  382. package/types/ngwr-charts-chart-legend.d.ts +178 -0
  383. package/types/ngwr-charts-core.d.ts +391 -0
  384. package/types/ngwr-charts-donut-chart-testing.d.ts +28 -5
  385. package/types/ngwr-charts-donut-chart.d.ts +124 -12
  386. package/types/ngwr-charts-funnel-chart-testing.d.ts +130 -0
  387. package/types/ngwr-charts-funnel-chart.d.ts +296 -0
  388. package/types/ngwr-charts-gauge-testing.d.ts +5 -0
  389. package/types/ngwr-charts-gauge.d.ts +6 -4
  390. package/types/ngwr-charts-heatmap-chart-testing.d.ts +148 -0
  391. package/types/ngwr-charts-heatmap-chart.d.ts +359 -0
  392. package/types/ngwr-charts-line-chart-testing.d.ts +72 -11
  393. package/types/ngwr-charts-line-chart.d.ts +291 -67
  394. package/types/ngwr-charts-meter-group-testing.d.ts +16 -2
  395. package/types/ngwr-charts-meter-group.d.ts +71 -11
  396. package/types/ngwr-charts-radar-chart-testing.d.ts +162 -0
  397. package/types/ngwr-charts-radar-chart.d.ts +461 -0
  398. package/types/ngwr-charts-scatter-chart-testing.d.ts +147 -0
  399. package/types/ngwr-charts-scatter-chart.d.ts +396 -0
  400. package/types/ngwr-charts-sparkline-testing.d.ts +4 -1
  401. package/types/ngwr-charts-sparkline.d.ts +8 -6
  402. package/types/ngwr-charts-treemap-chart-testing.d.ts +131 -0
  403. package/types/ngwr-charts-treemap-chart.d.ts +295 -0
  404. package/types/ngwr-charts-waterfall-chart-testing.d.ts +149 -0
  405. package/types/ngwr-charts-waterfall-chart.d.ts +338 -0
  406. package/types/ngwr-color-picker.d.ts +0 -21
  407. package/types/ngwr-dropdown.d.ts +0 -52
  408. package/types/ngwr-editor.d.ts +2 -84
  409. package/types/ngwr-i18n.d.ts +0 -15
  410. package/types/ngwr-mention.d.ts +0 -13
  411. package/types/ngwr-popconfirm.d.ts +0 -33
  412. package/types/ngwr-popover.d.ts +29 -53
  413. package/types/ngwr-toast-testing.d.ts +6 -1
  414. package/types/ngwr-tour.d.ts +0 -2
  415. package/types/ngwr-utils.d.ts +49 -7
  416. package/types/ngwr-version.d.ts +1 -1
  417. package/types/ngwr-window-testing.d.ts +65 -7
  418. package/types/ngwr-window.d.ts +831 -207
  419. package/types/ngwr.d.ts +1 -0
  420. package/window/styles/_index.scss +528 -82
@@ -1,13 +1,149 @@
1
1
  import * as i0 from "@angular/core";
2
- /** One bar's worth of data. */
2
+ import { WrChartLegendItem } from "ngwr/charts/chart-legend";
3
+ import { WrChartMarkerShape, WrChartTableData } from "ngwr/charts/core";
4
+ /** One bar's worth of data, for a `<wr-bar-chart>` drawn from `data`. */
3
5
  interface WrBarChartDatum {
6
+ /** The category's name: under the bar, in the tooltip, the bar's accessible name and the data table's row header. */
4
7
  readonly label: string;
8
+ /**
9
+ * The bar's value. A negative one draws an empty bar with its number printed — or, beside
10
+ * `lines`, a bar down from zero. One that is not a finite number is MISSING: an empty
11
+ * bar with no number printed, named by its label alone, and an empty cell in the data
12
+ * table.
13
+ */
5
14
  readonly value: number;
15
+ /** Any CSS colour, `var(--wr-…)` included. Left out, the bar takes the chart's `color`. */
16
+ readonly color?: string;
17
+ }
18
+ /**
19
+ * One series of a `<wr-bar-chart>` drawn from `series`: a name, one value per
20
+ * category, and optionally its own colour.
21
+ */
22
+ interface WrBarSeries {
23
+ /** The series' name, in the legend, the tooltip, each bar's accessible name and the data table's column heading. */
24
+ readonly label: string;
25
+ /**
26
+ * One value per category, in the order of `categories`. `null`, or anything that is
27
+ * not a finite number, is MISSING: that category draws no bar for the series and
28
+ * leaves its cell in the data table empty. A shorter list is missing past its end.
29
+ */
30
+ readonly data: readonly (number | null)[];
31
+ /** Any CSS colour, `var(--wr-…)` included. Left out, the series takes the next palette colour. */
32
+ readonly color?: string;
33
+ }
34
+ /**
35
+ * One line of a `<wr-bar-chart>`'s `lines`, drawn over the bars through the middle of
36
+ * each category, on the bars' own value axis: a name, one value per category, and
37
+ * optionally its own colour.
38
+ */
39
+ interface WrBarLine {
40
+ /** The line's name, in the legend, the tooltip, the accessible name of its points' group and the data table's column heading. */
41
+ readonly label: string;
42
+ /**
43
+ * One value per category, in the chart's category order: the order of `categories`
44
+ * with `series`, of `data` without. `null`, or anything that is not a finite number,
45
+ * is MISSING: the line breaks there and that category draws no point. A shorter list
46
+ * is missing past its end, and a value past the last category is not drawn, since the
47
+ * categories belong to the bars.
48
+ */
49
+ readonly data: readonly (number | null)[];
50
+ /**
51
+ * Any CSS colour, `var(--wr-…)` included. Left out, the line takes the palette's next
52
+ * colour after the bars': past the last series with `series`, the palette's second
53
+ * with `data`.
54
+ */
6
55
  readonly color?: string;
7
56
  }
8
57
  /**
9
- * Minimal vertical bar chart. Pass `[data]` — each datum becomes a bar.
10
- * Axis-free; for the simple "show me a comparison" case.
58
+ * Which way the bars run. `vertical` stands them up from a baseline under the
59
+ * categories; `horizontal` lays them along the inline axis, the categories in a
60
+ * gutter at inline start — on the right under RTL, with the bars growing leftwards.
61
+ */
62
+ type WrBarOrientation = 'vertical' | 'horizontal';
63
+ /** One series' bar in one category, as `series` draws it. */
64
+ interface SeriesBar {
65
+ /** The series' position in `series`, which is what the bar is tracked by. */
66
+ readonly series: number;
67
+ readonly color: string;
68
+ /** The outline's `stroke-dasharray`, `''` for a solid one. */
69
+ readonly dash: string;
70
+ /** Where the bar starts along the value axis, as a share of it from its minimum. */
71
+ readonly start: number;
72
+ /** How much of the value axis the bar covers. */
73
+ readonly size: number;
74
+ /** The series' name and its own value: the bar's accessible name. */
75
+ readonly name: string;
76
+ }
77
+ /** A value printed past the end of a bar, or of a pile of them. */
78
+ interface EndLabel {
79
+ readonly text: string;
80
+ /** Where the end is along the value axis, as a share of it from its minimum. */
81
+ readonly at: number;
82
+ /** Whether the bar grows towards the axis' minimum, so the value goes past that end. */
83
+ readonly below: boolean;
84
+ /**
85
+ * What the printed value announces: a pile's total, "Total: 20", under `stacked`, where
86
+ * no bar's own name carries it. `null` past a single bar, whose name already does.
87
+ */
88
+ readonly name: string | null;
89
+ }
90
+ /**
91
+ * One lane of a category: the strip one bar runs along. Grouped, a lane per series
92
+ * shown, side by side; stacked, one lane holding every series' bar.
93
+ */
94
+ interface Lane {
95
+ readonly key: number;
96
+ readonly bars: readonly SeriesBar[];
97
+ readonly ends: readonly EndLabel[];
98
+ }
99
+ /** One category drawn from `series`: its name and its lanes. */
100
+ interface Category {
101
+ readonly label: string;
102
+ readonly lanes: readonly Lane[];
103
+ }
104
+ /**
105
+ * Where something of a line sits in the line's own box, as percentages of it: `x` from
106
+ * its left edge, `y` from its top. The box runs from the middle of the first category to
107
+ * the middle of the last, so the categories are evenly spaced along it.
108
+ */
109
+ interface LinePosition {
110
+ readonly x: number;
111
+ readonly y: number;
112
+ }
113
+ /** One point of a line: a category with a value. */
114
+ interface LinePoint extends LinePosition {
115
+ /** The category's position, which is what the point is tracked by. */
116
+ readonly category: number;
117
+ /** The category's name and the line's value there: the point's accessible name. */
118
+ readonly name: string;
119
+ }
120
+ /** One straight run of a line, between the points of two neighbouring categories. */
121
+ interface LineSegment {
122
+ readonly from: LinePosition;
123
+ readonly to: LinePosition;
124
+ }
125
+ /** One line of `lines`, as the chart draws it. */
126
+ interface LineLayer {
127
+ /** The line's position in `lines`, which is what it is tracked by. */
128
+ readonly index: number;
129
+ readonly label: string;
130
+ readonly color: string;
131
+ /** The line's `stroke-dasharray`, `''` for a solid one. */
132
+ readonly dash: string;
133
+ readonly marker: WrChartMarkerShape;
134
+ /** The marker's path, drawn about its point. */
135
+ readonly d: string;
136
+ /** How many categories the line's box spans, which the stylesheet sizes the box from. */
137
+ readonly count: number;
138
+ readonly segments: readonly LineSegment[];
139
+ readonly points: readonly LinePoint[];
140
+ }
141
+ /**
142
+ * Bar chart. Pass `[data]` for one series — each datum becomes a bar — or `[series]`
143
+ * with `[categories]` for several, drawn side by side or, with `stacked`, piled on each
144
+ * other. Vertical by default; `orientation="horizontal"` lays the bars along the inline
145
+ * axis with the category names in a gutter beside them. Axis-free: the values are
146
+ * printed at the bars. No external dependency.
11
147
  *
12
148
  * @example
13
149
  * ```html
@@ -16,75 +152,273 @@ interface WrBarChartDatum {
16
152
  * { label: 'Tue', value: 18, color: 'var(--wr-color-success)' },
17
153
  * { label: 'Wed', value: 9 }
18
154
  * ]" />
155
+ *
156
+ * <wr-bar-chart
157
+ * [categories]="['Q1', 'Q2', 'Q3', 'Q4']"
158
+ * [series]="[
159
+ * { label: 'North', data: [12, 18, 9, 22] },
160
+ * { label: 'South', data: [8, 11, 14, 10] }
161
+ * ]"
162
+ * stacked
163
+ * />
19
164
  * ```
20
165
  *
166
+ * **Several series.** Every category gets a bar per series shown, in series order —
167
+ * or, with `stacked`, one pile, positive values up from zero and negative ones down
168
+ * from it, each sign on its own, as `wr-line-chart` stacks. A negative value draws
169
+ * below the zero line, which `series` draws wherever zero falls. Each series takes its
170
+ * colour and its own dash: the bar's body is a tint of the colour and its outline the
171
+ * colour itself, in the series' dash, the first one solid. The default palette's
172
+ * colours sit within about 1.06:1 of each other in luminance, so the dash is what tells
173
+ * two series apart without hue, and the legend keys each series by the same dash.
174
+ *
175
+ * **`data` is unchanged**: one series, a bar per datum, a negative value drawn as an
176
+ * empty bar with its number still printed — except beside `lines`, whose axis can reach
177
+ * below zero: there a negative value is drawn down from zero, as `series` draws it. With
178
+ * both set, `series` wins, and dev mode says so.
179
+ *
180
+ * **Lines over the bars.** `lines` draws a line per entry through the middle of each
181
+ * category, with a point at every value, on the bars' own value axis: a fitted axis is
182
+ * fitted to the bars and the lines together, so a line above every bar raises the top
183
+ * and one below zero brings the zero line up, `data` bars included — and a negative
184
+ * `data` bar draws down from it. It works with
185
+ * `data` and with `series`, grouped or stacked, and lying down, where the lines run down
186
+ * the rows. A line takes the next palette colour after the bars', its own dash, the
187
+ * first one solid, and its own marker shape, the first a circle; the legend keys each
188
+ * by both, the tooltip gives its value, and the data table a column. A line never
189
+ * stacks, and prints no value at its points: the tooltip and each point's name carry it.
190
+ * The track keeps room at each end of the value axis for the largest marker, so a point
191
+ * at either end is not cut off by the chart's box.
192
+ *
193
+ * **What a screen reader gets.** The plot is a named `role="group"`. With `data`, each
194
+ * bar is a `role="img"` named by its label and its value. With `series`, each category
195
+ * is a `role="group"` named by the category, and each bar in it a `role="img"` named by
196
+ * its series and its own value; under `stacked`, each pile's printed total is a
197
+ * `role="img"` too, "Total: 20", since no bar's name carries it. Each of `lines` is a
198
+ * `role="group"` named by the line, after the bars, and each of its points a
199
+ * `role="img"` named by its category and the line's value there. No part of the chart is
200
+ * a tab stop, unless
201
+ * `toggleableLegend` makes the legend rows buttons. `dataTable` adds the same figures as
202
+ * a table, for a reader who wants to move cell by cell.
203
+ *
21
204
  * @see https://ngwr.dev/charts/bar-chart
22
205
  */
23
206
  export declare class WrBarChart {
24
207
  /**
25
208
  * The bars, left to right. One series: a datum with no `color` of its own
26
209
  * takes the chart's `color`, so by default every bar comes out the same.
210
+ * A negative value draws an empty bar with its number printed — or, beside `lines`,
211
+ * a bar down from zero. A value that is not a finite number is MISSING: an empty bar
212
+ * with no number printed, named by its label alone, an empty cell in the data table.
213
+ * Ignored while `series` has entries.
27
214
  */
28
215
  readonly data: import("@angular/core").InputSignal<readonly WrBarChartDatum[]>;
29
216
  /**
30
- * Accessible name of the CHART. Falls back to `barChart.label`, then
31
- * `'Bar chart'`.
217
+ * Several series over the same categories: one bar per series in every category,
218
+ * side by side, or piled up with `stacked`. A series with no `color` takes the next
219
+ * entry from the chart's palette, and each takes the next dash for its outline, the
220
+ * first one solid. Wins over `data` while it has entries.
221
+ */
222
+ readonly series: import("@angular/core").InputSignal<readonly WrBarSeries[]>;
223
+ /**
224
+ * The categories' names for `series`, in order: a series takes one value per
225
+ * category. A category past the end of this list, which a longer series reaches, is
226
+ * named by its position, counting from 1, in `LOCALE_ID`'s digits. Not read with
227
+ * `data`, whose datums carry their own labels.
228
+ */
229
+ readonly categories: import("@angular/core").InputSignal<readonly string[]>;
230
+ /**
231
+ * Lines drawn over the bars, through the middle of each category, with a point at
232
+ * every value: a target, a rate, a running average beside the figures it describes.
233
+ * Each takes one value per category, on the bars' own value axis, and a fitted axis is
234
+ * fitted to the bars and the lines together. Works with `data` and with `series`,
235
+ * grouped or stacked, standing up or lying down, where the lines run down the rows.
236
+ *
237
+ * A line with no `color` takes the palette's next colour after the bars' — past the
238
+ * last series, or the palette's second beside `data` — and each takes the next dash and
239
+ * the next marker shape, the first solid with a circle, so two lines differ without
240
+ * hue. The legend lists every line after the series, keyed by its dash and its marker;
241
+ * the tooltip gives each line's value in the category; the data table a column per line
242
+ * after the series' columns, or after the bars'. A missing value breaks the line, and a
243
+ * lone value between two missing ones is a point with no line. Lines never stack, and
244
+ * print no value: the tooltip and each point's name carry it.
32
245
  *
33
- * Every bar already carries its own `role="img"` and its own "Mon: 12", and
34
- * that is what the plot had instead of a name of its own — so the chart
35
- * announced as whatever its first bar said, and a page with three bar charts
36
- * offered a reader three images called by a weekday. The four sibling charts
37
- * all name the plot; this one was the omission.
246
+ * Beside `data`, a negative bar draws down from zero rather than as an empty bar, since
247
+ * the lines' axis can reach below zero and an empty bar there would read as zero. The
248
+ * track keeps room at each end of the value axis for the largest marker, ring included,
249
+ * so a point on either end is not cut off.
250
+ */
251
+ readonly lines: import("@angular/core").InputSignal<readonly WrBarLine[]>;
252
+ /**
253
+ * Pile each category's bars on each other, in series order, so the end of the pile
254
+ * reads the total. Positive values pile up from zero and negative ones down from it,
255
+ * each sign on its own, so no bar crosses another. A missing value adds nothing.
256
+ * Each bar's accessible name, the tooltip and the data table keep each series' own
257
+ * value; the value printed past a pile (`showValues`) is the pile's total, one for
258
+ * each sign the category has, and announces itself as "Total: 20" (`barChart.total`).
259
+ * `series` only. @default false
260
+ */
261
+ readonly stacked: import("@angular/core").InputSignalWithTransform<boolean, any>;
262
+ /**
263
+ * Which way the bars run. `horizontal` lays them along the inline axis, one row per
264
+ * category, with the names in a gutter at inline start as wide as the longest (up to
265
+ * `--wr-bar-chart-label-max-width`, then ellipsised). Under RTL the gutter is on the
266
+ * right and the bars grow leftwards. Lying down, `height` is the least the plot takes:
267
+ * the rows share it, but each bar's row keeps at least `--wr-bar-chart-row-min-size`
268
+ * (one line of the value's text), so a long list of categories or series grows the
269
+ * chart rather than thinning its bars to nothing. @default 'vertical'
270
+ */
271
+ readonly orientation: import("@angular/core").InputSignal<WrBarOrientation>;
272
+ /**
273
+ * Accessible name of the chart. Falls back to `barChart.label`, then `'Bar chart'`.
274
+ * Also the data table's caption.
38
275
  */
39
276
  readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
40
277
  protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
41
- /** Default bar colour when a datum has none. @default primary */
278
+ /**
279
+ * The word a stacked pile's printed total announces itself by, "Total: 20". From the
280
+ * catalog only, as the legend's "hidden" is: one word an app rewords once there.
281
+ */
282
+ private readonly totalText;
283
+ /**
284
+ * The data table's heading for the column of `data`'s bars, which have no series name
285
+ * of their own. From the catalog only, as the total's word is.
286
+ */
287
+ private readonly valueText;
288
+ /**
289
+ * How a bar, a point and a pile's total name themselves: a label and a figure, "Mon: 12",
290
+ * from the catalog, so a language that joins the two another way can.
291
+ */
292
+ private readonly datumText;
293
+ /** A category with no name of its own, by its position from 1 in the reader's own digits. */
294
+ private readonly ordinals;
295
+ /** Default bar colour when a datum has none. `data` only. @default 'var(--wr-color-primary)' */
42
296
  readonly color: import("@angular/core").InputSignal<string>;
43
- /** Show value labels above each bar. @default true */
297
+ /**
298
+ * Show value labels at each bar, past its end: above a bar standing up, beyond its end
299
+ * lying down — below (or before) a negative `series` bar, and the pile's total for each
300
+ * sign with `stacked`. A value too wide for a `series` bar standing up is left out
301
+ * rather than cut, since a cut number reads as another one; the tooltip and each bar's
302
+ * name carry it whole. @default true
303
+ */
44
304
  readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
45
- /** Pixel height of the chart area. @default 200 */
305
+ /**
306
+ * Pixel height of the chart area. With `orientation="horizontal"` it is the least the
307
+ * plot takes: each bar's row keeps at least `--wr-bar-chart-row-min-size`, so rows that
308
+ * need more grow the plot past it. @default 200
309
+ */
46
310
  readonly height: import("@angular/core").InputSignalWithTransform<number, unknown>;
47
- /** Explicit max value. `0` = auto. @default 0 */
311
+ /**
312
+ * Explicit max value. `0` = auto. With `series` it fixes the positive end of the axis;
313
+ * the negative end is still fitted to the data. A value past it is drawn to the edge,
314
+ * and its name, the tooltip and the data table still give its own figure. @default 0
315
+ */
48
316
  readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
49
317
  /**
50
- * Show a tooltip with the bar's label and value on hover. Pointer only — the
51
- * column's accessible name already carries both. @default true
318
+ * Show a tooltip with the bar's label and value on hover — with `series`, the
319
+ * category's name and a row per series shown. Pointer only — the accessible names
320
+ * already carry every value. @default true
52
321
  */
53
322
  readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
323
+ /** Show the legend above the chart. With `series`, or beside `lines`, which it then lists. @default true */
324
+ readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
325
+ /**
326
+ * Make each legend row a toggle button that shows and hides its series, through
327
+ * `hiddenSeries` — or its line, through `hiddenLines`. A row is a
328
+ * `<button aria-pressed>`, pressed while its series is shown, so the legend becomes one
329
+ * tab stop per row. With `series`, or beside `lines`. @default false
330
+ */
331
+ readonly toggleableLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
54
332
  /**
55
- * Writes every number the chart shows: the labels above the bars, the tooltip and
333
+ * The positions in `series` of the series that are hidden. Positions rather than
334
+ * labels, since two series may share a label. A toggleable legend writes it, and a
335
+ * host may bind it with or without one: `[(hiddenSeries)]`.
336
+ *
337
+ * A hidden series is left out of everything that reads its values: it draws no bars
338
+ * and leaves its lane, so the others widen; it leaves the stack, the tooltip and the
339
+ * data table; and a fitted axis is fitted to the series still shown. The categories do
340
+ * not change, since they belong to the chart rather than to one series. The legend
341
+ * keeps the hidden series' row, struck through, so it can be shown again. A position
342
+ * past the end of `series` is kept and ignored.
343
+ */
344
+ readonly hiddenSeries: import("@angular/core").ModelSignal<readonly number[]>;
345
+ /**
346
+ * The positions in `lines` of the lines that are hidden, as `hiddenSeries` holds the
347
+ * series': a toggleable legend writes it, and a host may bind it with or without one,
348
+ * `[(hiddenLines)]`. A hidden line draws nothing and leaves the tooltip and the data
349
+ * table, and a fitted axis is fitted to what is still shown. The legend keeps its row,
350
+ * struck through. A position past the end of `lines` is kept and ignored.
351
+ */
352
+ readonly hiddenLines: import("@angular/core").ModelSignal<readonly number[]>;
353
+ /**
354
+ * Render the chart's figures as a table that only assistive technology reaches: a row
355
+ * per category, headed by its name, and a column per series shown — or, with `data`,
356
+ * one column for the bars, headed "Value" (`barChart.value`) — then one per line shown,
357
+ * every value written the way the tooltip writes it. A missing value is an empty cell,
358
+ * and a stacked chart's table keeps each series' own values.
359
+ *
360
+ * Each bar's accessible name already carries its value; the table is for a reader
361
+ * who wants to move cell by cell. It is rendered beside the plot, clipped to nothing:
362
+ * it takes no room, draws nothing and holds no tab stop. A hidden series or line leaves
363
+ * it. @default false
364
+ */
365
+ readonly dataTable: import("@angular/core").InputSignalWithTransform<boolean, any>;
366
+ /**
367
+ * Writes every number the chart shows: the labels at the bars, the tooltip and
56
368
  * each bar's accessible name. `null` uses `Intl.NumberFormat` in `LOCALE_ID`, with
57
369
  * compact labels from a thousand up (`1.2K`, `3.4M`).
58
370
  */
59
371
  readonly valueFormat: import("@angular/core").InputSignal<((value: number) => string) | null>;
60
- private readonly locale;
61
- private readonly numbers;
62
- /** Below one, by significant digits, which keep 0.0004 from rounding to `0`. */
63
- private readonly smallNumbers;
64
- private readonly compactNumbers;
65
- /** A value as the tooltip and the accessible name write it. */
66
- private formatValue;
67
- /**
68
- * A value as the label above its bar writes it: compact from a thousand up, where a
69
- * column is too narrow for `1,234,567`, and exactly as the tooltip writes it below —
372
+ /**
373
+ * The chart's number writers: `value` for the tooltip and each bar's accessible
374
+ * name, the whole figure; `label` above the bar, compact from a thousand up, where a
375
+ * column is too narrow for `1,234,567`, and exactly as `value` writes it below —
70
376
  * compact rounding would print 12.5 as `13`, and below a thousand there is nothing to
71
377
  * abbreviate.
72
378
  */
73
- private formatLabel;
379
+ private readonly numbers;
74
380
  private readonly barEls;
381
+ private readonly categoryEls;
382
+ /** Every point of every line, in the order {@link lineLayers} lists them. */
383
+ private readonly pointEls;
384
+ constructor();
385
+ /** Whether the chart draws `series` rather than `data`. */
386
+ protected readonly seriesMode: import("@angular/core").Signal<boolean>;
387
+ protected readonly horizontal: import("@angular/core").Signal<boolean>;
388
+ /**
389
+ * Whether the chart has `lines` to draw, shown or hidden. Beside `data` it moves the
390
+ * bars into the layout `series` uses, whose track the lines are drawn over; hiding
391
+ * every line keeps that layout, so a legend toggle never reflows the bars.
392
+ */
393
+ protected readonly hasLines: import("@angular/core").Signal<boolean>;
75
394
  /**
76
- * A datum's value, with anything non-finite read as `0`.
395
+ * A datum's value, with anything non-finite read as `0` for the geometry.
77
396
  *
78
397
  * One `NaN` used to take out the whole chart rather than its own bar:
79
398
  * `Math.max(...values)` is `NaN` as soon as one value is, so the scale fell
80
399
  * back to `1` and every OTHER bar was asked for a height of `value * 100`%.
81
- * The bad bar also printed the literal text `NaN` above itself.
400
+ * The bad bar also printed the literal text `NaN` above itself. It is not a zero
401
+ * either, so nothing a reader meets prints one for it (see `bars`).
82
402
  */
83
403
  private static value;
84
- protected readonly resolvedMax: import("@angular/core").Signal<number>;
404
+ /** A label and a figure, as a name: "Mon: 12". */
405
+ private name;
406
+ /** How many categories the chart draws, whichever input it draws. */
407
+ protected readonly categoryTotal: import("@angular/core").Signal<number>;
408
+ /**
409
+ * The value axis for `data`, from `lo` to `hi`: from zero to the tallest bar, or to
410
+ * `max` when one is given. Beside `lines` it is stretched to every line value shown and
411
+ * to every bar below zero — which then draws down from zero, as a `series` bar does,
412
+ * rather than as an empty bar that would read as zero on an axis reaching below it — so
413
+ * either lifts the zero line the bars stand on. With nothing to scale it runs from 0
414
+ * to 1.
415
+ */
416
+ private readonly dataScale;
85
417
  protected readonly bars: import("@angular/core").Signal<{
86
418
  label: string;
87
419
  value: number;
420
+ /** Whether the datum's value is not a finite number: no figure is printed, named or tabled for it. */
421
+ missing: boolean;
88
422
  /** The label printed above the bar. */
89
423
  display: string;
90
424
  /** The whole figure, for the tooltip. */
@@ -95,25 +429,146 @@ export declare class WrBarChart {
95
429
  * the stylesheet for why a grow factor and not a `height` percentage.
96
430
  */
97
431
  share: number;
432
+ /** Whether the bar hangs below zero, beside `lines`: its value is printed past its lower end. */
433
+ below: boolean;
434
+ /**
435
+ * Where the bar starts along the value axis, from its minimum: zero, or the bar's
436
+ * own end for one below it. Beside `lines`, the share the spacer under it takes.
437
+ */
438
+ start: number;
439
+ /** Where the bar ends along the value axis, from its minimum: what the value printed past it is placed by. */
440
+ at: number;
98
441
  /**
99
442
  * The bar's accessible name. The label and the value sit in separate
100
443
  * rows, so a screen reader read every number and then every label with
101
444
  * nothing tying the two together — and with `showValues` off the
102
- * numbers were not in the accessible tree at all.
445
+ * numbers were not in the accessible tree at all. A missing value is the
446
+ * label alone.
103
447
  */
104
448
  name: string;
105
449
  }[]>;
450
+ /**
451
+ * Every series, resolved: its palette colour, its dash, and its data with `null` at
452
+ * every missing value. Hidden ones included, since the legend lists them.
453
+ */
454
+ private readonly resolvedSeries;
455
+ /** The series drawn, read and fitted to: every one `hiddenSeries` does not name. */
456
+ private readonly visibleSeries;
457
+ /**
458
+ * Every line, resolved: its colour — the palette's next after the bars' — its dash, its
459
+ * marker, and its data with `null` at every missing value. Hidden ones included, since
460
+ * the legend lists them.
461
+ */
462
+ private readonly resolvedLines;
463
+ /** The lines drawn, read and fitted to: every one `hiddenLines` does not name. */
464
+ private readonly visibleLines;
465
+ /** How many categories `series` has: as many as are named, or as the longest series reaches. */
466
+ private readonly categoryCount;
467
+ /**
468
+ * The value axis for `series`, from `lo` (zero or below) to `hi` (above zero): the
469
+ * extremes of the series shown, or of their piles under `stacked`, and of the lines
470
+ * shown, so the longest bar or the farthest point reaches the end of the plot, as it
471
+ * does with `data`. A positive `max` fixes `hi`. With nothing to scale it runs from 0
472
+ * to 1.
473
+ */
474
+ private readonly seriesScale;
475
+ /** The value axis the chart draws on: `series`' or `data`'s. */
476
+ private readonly scale;
477
+ /** A value's place along the value axis, as a share of it from its minimum, held to the axis. */
478
+ private at;
479
+ /**
480
+ * Every category `series` draws, with its lanes: grouped, a lane per series shown, a
481
+ * missing value leaving its lane empty so the bars beside it keep their places;
482
+ * stacked, one lane holding each series' bar on the pile of the ones before it on the
483
+ * same side of zero. With `showValues`, a lane also carries the values printed past
484
+ * its ends: each bar's own, or each pile's total.
485
+ */
486
+ protected readonly seriesCategories: import("@angular/core").Signal<readonly Category[]>;
487
+ /** The category names, in order, whichever input the chart draws. */
488
+ protected readonly categoryLabels: import("@angular/core").Signal<string[]>;
489
+ /**
490
+ * Where zero is along the value axis, as a share of it: the baseline. `data` goes below
491
+ * zero only where one of `lines` does.
492
+ */
493
+ protected readonly zero: import("@angular/core").Signal<number>;
494
+ /**
495
+ * The values printed past the bars, sorted by the end they go past: the room the plot
496
+ * keeps beyond each end of the axis is a hidden copy of these, so it is exactly as
497
+ * large as the largest, in the value's own font. Each text once.
498
+ */
499
+ protected readonly rooms: import("@angular/core").Signal<{
500
+ max: string[];
501
+ min: string[];
502
+ }>;
503
+ /**
504
+ * Every line shown, as the chart draws it: its segments and its points, placed in the
505
+ * line's own box. The box runs from the middle of the first category to the middle of
506
+ * the last (the stylesheet sizes it from `count`), so category `c` of `n` is `c / (n − 1)`
507
+ * of the way along it — or its middle, with one category. Across the box is the value
508
+ * axis: up from the bottom standing up, along from inline start lying down, where the
509
+ * stylesheet mirrors the box under RTL as the bars mirror.
510
+ */
511
+ protected readonly lineLayers: import("@angular/core").Signal<readonly LineLayer[]>;
512
+ /**
513
+ * How far the largest of `lines`' markers reaches past its point along the value axis,
514
+ * in px, before its ring: up or down standing up, sideways lying down. By SHAPE, not
515
+ * radius — a triangle's point stands 1.56 times its radius off its centre. Every line
516
+ * counts, hidden ones included, so a legend toggle never reflows the bars. The
517
+ * stylesheet adds the ring and keeps that much room at each end of the track.
518
+ */
519
+ protected readonly lineReach: import("@angular/core").Signal<number>;
520
+ /**
521
+ * The legend's rows: every series, keyed by its own dash, then every line, keyed by its
522
+ * dash and its marker — hidden ones included.
523
+ */
524
+ protected readonly legendItems: import("@angular/core").Signal<readonly WrChartLegendItem[]>;
525
+ /**
526
+ * The legend's hidden rows. Its rows are the series and then the lines, so a hidden
527
+ * line is its position in `lines` past the series' count. A position `hiddenSeries`
528
+ * keeps past the end of `series` is not handed over beside lines, where it would name
529
+ * a line; without lines `hiddenSeries` goes through as it is.
530
+ */
531
+ protected readonly legendHidden: import("@angular/core").Signal<readonly number[]>;
532
+ /** A toggle on the legend, split back into `hiddenSeries` and `hiddenLines`. Writes only the one that moved. */
533
+ protected onLegendHidden(next: readonly number[]): void;
534
+ /**
535
+ * The figures for `dataTable`: the chart's name as the caption, a column per series
536
+ * shown — or, with `data`, one for the bars, headed by `barChart.value` — then per line
537
+ * shown, and a row per category. Each cell is the series' own value, stacked or not,
538
+ * written as the tooltip writes it, and empty where it is missing; a bar's is the figure
539
+ * its name gives. With every series and line hidden there is nothing to tabulate, and
540
+ * no rows.
541
+ */
542
+ protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
106
543
  /**
107
544
  * One tooltip for the whole chart, with the whole figure — the label above the bar
108
- * may be compact, and the tooltip is where a reader goes for the exact one. It points at the top edge of the BAR — above it, below it when there is
109
- * no room — rather than at the column, which is the full height of the plot and
110
- * would put the chip above every bar alike. A bar with nothing to draw (zero, a
111
- * negative value) keeps its 1px floor on the baseline, so its chip points there.
545
+ * may be compact, and the tooltip is where a reader goes for the exact one.
112
546
  *
547
+ * With `data` it points at the top edge of the BAR — above it, below it when there is
548
+ * no room — rather than at the column, which is the full height of the plot and
549
+ * would put the chip above every bar alike. A bar with nothing to draw (zero, or a
550
+ * negative value without `lines`) keeps its 1px floor on the baseline, so its chip
551
+ * points there; a missing value opens none, unless a line has a value in its category.
113
552
  * The bar is the anchor element itself, so an open chip follows it through the
114
553
  * height transition a data change starts.
554
+ *
555
+ * With `series` it is one chip per category: the category's name and a row per series
556
+ * shown with a value there, pointing at the top of the box round the category's bars.
557
+ * A category no series shown has a value in opens none.
558
+ *
559
+ * Each line shown with a value in the category adds a row after the bars', and the box
560
+ * the chip points at takes in the line's point too, so the chip covers neither. Beside
561
+ * `data`, the chip keeps the bar's label and value as its heading, over the lines' rows.
115
562
  */
116
563
  protected readonly tip: import("ngwr/popover").WrChartTooltip;
564
+ private barTip;
565
+ /** A row per line shown with a value in category `index`, after the bars' rows. */
566
+ private lineRows;
567
+ /** The box round each line's point in category `index`: the marker, not the 1px viewport it is drawn from. */
568
+ private pointBoxes;
569
+ /** The box round several, as a tooltip anchor. */
570
+ private static around;
571
+ private categoryTip;
117
572
  static ɵfac: i0.ɵɵFactoryDeclaration<WrBarChart, never>;
118
573
  static ɵcmp: i0.ɵɵComponentDeclaration<WrBarChart, "wr-bar-chart", never, {
119
574
  "data": {
@@ -121,6 +576,31 @@ export declare class WrBarChart {
121
576
  "required": false;
122
577
  "isSignal": true;
123
578
  };
579
+ "series": {
580
+ "alias": "series";
581
+ "required": false;
582
+ "isSignal": true;
583
+ };
584
+ "categories": {
585
+ "alias": "categories";
586
+ "required": false;
587
+ "isSignal": true;
588
+ };
589
+ "lines": {
590
+ "alias": "lines";
591
+ "required": false;
592
+ "isSignal": true;
593
+ };
594
+ "stacked": {
595
+ "alias": "stacked";
596
+ "required": false;
597
+ "isSignal": true;
598
+ };
599
+ "orientation": {
600
+ "alias": "orientation";
601
+ "required": false;
602
+ "isSignal": true;
603
+ };
124
604
  "ariaLabel": {
125
605
  "alias": "ariaLabel";
126
606
  "required": false;
@@ -151,11 +631,39 @@ export declare class WrBarChart {
151
631
  "required": false;
152
632
  "isSignal": true;
153
633
  };
634
+ "showLegend": {
635
+ "alias": "showLegend";
636
+ "required": false;
637
+ "isSignal": true;
638
+ };
639
+ "toggleableLegend": {
640
+ "alias": "toggleableLegend";
641
+ "required": false;
642
+ "isSignal": true;
643
+ };
644
+ "hiddenSeries": {
645
+ "alias": "hiddenSeries";
646
+ "required": false;
647
+ "isSignal": true;
648
+ };
649
+ "hiddenLines": {
650
+ "alias": "hiddenLines";
651
+ "required": false;
652
+ "isSignal": true;
653
+ };
654
+ "dataTable": {
655
+ "alias": "dataTable";
656
+ "required": false;
657
+ "isSignal": true;
658
+ };
154
659
  "valueFormat": {
155
660
  "alias": "valueFormat";
156
661
  "required": false;
157
662
  "isSignal": true;
158
663
  };
159
- }, {}, never, never, true, never>;
664
+ }, {
665
+ "hiddenSeries": "hiddenSeriesChange";
666
+ "hiddenLines": "hiddenLinesChange";
667
+ }, never, never, true, never>;
160
668
  }
161
- export type { WrBarChartDatum };
669
+ export type { WrBarChartDatum, WrBarLine, WrBarOrientation, WrBarSeries };