ngwr 16.3.0 → 16.5.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 (295) hide show
  1. package/carousel/styles/_index.scss +53 -1
  2. package/charts/bar-chart/styles/_index.scss +494 -305
  3. package/charts/boxplot-chart/styles/_index.scss +114 -48
  4. package/charts/bullet-chart/styles/_index.scss +113 -42
  5. package/charts/calendar-heatmap/styles/_index.scss +111 -20
  6. package/charts/candlestick-chart/styles/_index.scss +61 -26
  7. package/charts/chart-legend/styles/_index.scss +119 -1
  8. package/charts/core/styles/_index.scss +201 -5
  9. package/charts/donut-chart/styles/_index.scss +76 -21
  10. package/charts/funnel-chart/styles/_index.scss +66 -38
  11. package/charts/gauge/styles/_index.scss +12 -1
  12. package/charts/heatmap-chart/styles/_index.scss +90 -53
  13. package/charts/line-chart/styles/_index.scss +143 -139
  14. package/charts/meter-group/styles/_index.scss +87 -25
  15. package/charts/radar-chart/styles/_index.scss +82 -40
  16. package/charts/scatter-chart/styles/_index.scss +117 -44
  17. package/charts/sparkline/styles/_index.scss +7 -1
  18. package/charts/treemap-chart/styles/_index.scss +94 -42
  19. package/charts/waterfall-chart/styles/_index.scss +150 -87
  20. package/color-picker/styles/_index.scss +7 -3
  21. package/copy-value/styles/_index.scss +21 -2
  22. package/date-stamp/styles/_index.scss +2 -1
  23. package/dialog/styles/_index.scss +6 -0
  24. package/drawer/styles/_index.scss +5 -1
  25. package/fesm2022/ngwr-breadcrumbs.mjs +2 -2
  26. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  27. package/fesm2022/ngwr-carousel-testing.mjs +27 -1
  28. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  29. package/fesm2022/ngwr-carousel.mjs +86 -4
  30. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  31. package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
  32. package/fesm2022/ngwr-cascader.mjs +56 -25
  33. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  34. package/fesm2022/ngwr-charts-bar-chart-testing.mjs +16 -14
  35. package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
  36. package/fesm2022/ngwr-charts-bar-chart.mjs +399 -141
  37. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  38. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +19 -5
  39. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -1
  40. package/fesm2022/ngwr-charts-boxplot-chart.mjs +250 -56
  41. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  42. package/fesm2022/ngwr-charts-bullet-chart.mjs +118 -18
  43. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  44. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +266 -46
  45. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  46. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +21 -10
  47. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -1
  48. package/fesm2022/ngwr-charts-candlestick-chart.mjs +319 -72
  49. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  50. package/fesm2022/ngwr-charts-chart-legend.mjs +211 -9
  51. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  52. package/fesm2022/ngwr-charts-core.mjs +299 -18
  53. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  54. package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
  55. package/fesm2022/ngwr-charts-donut-chart.mjs +206 -27
  56. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  57. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +4 -4
  58. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -1
  59. package/fesm2022/ngwr-charts-funnel-chart.mjs +113 -10
  60. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  61. package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
  62. package/fesm2022/ngwr-charts-gauge.mjs +98 -12
  63. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  64. package/fesm2022/ngwr-charts-heatmap-chart.mjs +226 -31
  65. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  66. package/fesm2022/ngwr-charts-line-chart-testing.mjs +16 -4
  67. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-line-chart.mjs +407 -172
  69. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  70. package/fesm2022/ngwr-charts-meter-group-testing.mjs +4 -4
  71. package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-meter-group.mjs +223 -31
  73. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-radar-chart-testing.mjs +2 -1
  75. package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-radar-chart.mjs +255 -66
  77. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +39 -18
  79. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-scatter-chart.mjs +431 -53
  81. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-sparkline.mjs +19 -8
  83. package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-treemap-chart.mjs +253 -44
  85. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  86. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +15 -7
  87. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -1
  88. package/fesm2022/ngwr-charts-waterfall-chart.mjs +151 -23
  89. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  90. package/fesm2022/ngwr-color-picker.mjs +44 -4
  91. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  92. package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -1
  93. package/fesm2022/ngwr-context-menu.mjs +60 -17
  94. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  95. package/fesm2022/ngwr-copy-value-testing.mjs +5 -1
  96. package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -1
  97. package/fesm2022/ngwr-copy-value.mjs +38 -2
  98. package/fesm2022/ngwr-copy-value.mjs.map +1 -1
  99. package/fesm2022/ngwr-date-picker.mjs +56 -8
  100. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  101. package/fesm2022/ngwr-dialog.mjs +13 -5
  102. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  103. package/fesm2022/ngwr-drawer.mjs +19 -3
  104. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  105. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  106. package/fesm2022/ngwr-dropdown.mjs +49 -6
  107. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  108. package/fesm2022/ngwr-editor.mjs +1 -0
  109. package/fesm2022/ngwr-editor.mjs.map +1 -1
  110. package/fesm2022/ngwr-file-upload.mjs +7 -3
  111. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  112. package/fesm2022/ngwr-graph-testing.mjs +27 -0
  113. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  114. package/fesm2022/ngwr-graph.mjs +643 -14
  115. package/fesm2022/ngwr-graph.mjs.map +1 -1
  116. package/fesm2022/ngwr-i18n-ar.mjs +13 -4
  117. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  118. package/fesm2022/ngwr-i18n-cs.mjs +13 -4
  119. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  120. package/fesm2022/ngwr-i18n-de.mjs +13 -4
  121. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  122. package/fesm2022/ngwr-i18n-en.mjs +13 -4
  123. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  124. package/fesm2022/ngwr-i18n-es.mjs +13 -4
  125. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  126. package/fesm2022/ngwr-i18n-fr.mjs +13 -4
  127. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  128. package/fesm2022/ngwr-i18n-he.mjs +13 -4
  129. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  130. package/fesm2022/ngwr-i18n-hi.mjs +13 -4
  131. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  132. package/fesm2022/ngwr-i18n-id.mjs +13 -4
  133. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  134. package/fesm2022/ngwr-i18n-it.mjs +13 -4
  135. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  136. package/fesm2022/ngwr-i18n-ja.mjs +13 -4
  137. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-ko.mjs +13 -4
  139. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-nl.mjs +13 -4
  141. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-pl.mjs +13 -4
  143. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-pt.mjs +13 -4
  145. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-ru.mjs +13 -4
  147. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-sv.mjs +13 -4
  149. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-tr.mjs +13 -4
  151. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-uk.mjs +13 -4
  153. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-vi.mjs +13 -4
  155. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-zh-tw.mjs +13 -4
  157. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-zh.mjs +13 -4
  159. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  160. package/fesm2022/ngwr-lightbox.mjs +22 -5
  161. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  162. package/fesm2022/ngwr-list.mjs +2 -2
  163. package/fesm2022/ngwr-list.mjs.map +1 -1
  164. package/fesm2022/ngwr-overlay.mjs +21 -2
  165. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  166. package/fesm2022/ngwr-pagination.mjs +1 -0
  167. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  168. package/fesm2022/ngwr-popconfirm-testing.mjs +4 -1
  169. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  170. package/fesm2022/ngwr-popconfirm.mjs +41 -5
  171. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  172. package/fesm2022/ngwr-popover.mjs +67 -12
  173. package/fesm2022/ngwr-popover.mjs.map +1 -1
  174. package/fesm2022/ngwr-schema-form.mjs +3 -0
  175. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  176. package/fesm2022/ngwr-select.mjs +100 -3
  177. package/fesm2022/ngwr-select.mjs.map +1 -1
  178. package/fesm2022/ngwr-sortable-list.mjs +2 -2
  179. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  180. package/fesm2022/ngwr-table-testing.mjs +71 -3
  181. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  182. package/fesm2022/ngwr-table.mjs +173 -11
  183. package/fesm2022/ngwr-table.mjs.map +1 -1
  184. package/fesm2022/ngwr-tour-testing.mjs +13 -1
  185. package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
  186. package/fesm2022/ngwr-tour.mjs +25 -16
  187. package/fesm2022/ngwr-tour.mjs.map +1 -1
  188. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  189. package/fesm2022/ngwr-tree.mjs +52 -8
  190. package/fesm2022/ngwr-tree.mjs.map +1 -1
  191. package/fesm2022/ngwr-utils.mjs +64 -1
  192. package/fesm2022/ngwr-utils.mjs.map +1 -1
  193. package/fesm2022/ngwr-version.mjs +1 -1
  194. package/fesm2022/ngwr-version.mjs.map +1 -1
  195. package/fesm2022/ngwr-window.mjs +16 -9
  196. package/fesm2022/ngwr-window.mjs.map +1 -1
  197. package/graph/styles/_index.scss +87 -0
  198. package/i18n/ar.json +13 -4
  199. package/i18n/cs.json +13 -4
  200. package/i18n/de.json +13 -4
  201. package/i18n/en.json +13 -4
  202. package/i18n/es.json +13 -4
  203. package/i18n/fr.json +13 -4
  204. package/i18n/he.json +13 -4
  205. package/i18n/hi.json +13 -4
  206. package/i18n/id.json +13 -4
  207. package/i18n/it.json +13 -4
  208. package/i18n/ja.json +13 -4
  209. package/i18n/ko.json +13 -4
  210. package/i18n/nl.json +13 -4
  211. package/i18n/pl.json +13 -4
  212. package/i18n/pt.json +13 -4
  213. package/i18n/ru.json +13 -4
  214. package/i18n/sv.json +13 -4
  215. package/i18n/tr.json +13 -4
  216. package/i18n/uk.json +13 -4
  217. package/i18n/vi.json +13 -4
  218. package/i18n/zh-TW.json +13 -4
  219. package/i18n/zh.json +13 -4
  220. package/llms-full.txt +12 -12
  221. package/llms.txt +64 -27
  222. package/package.json +1 -1
  223. package/popconfirm/styles/_index.scss +6 -0
  224. package/popover/styles/_index.scss +24 -13
  225. package/schematics/collection.json +5 -0
  226. package/schematics/eject/index.js +158 -0
  227. package/schematics/eject/schema.js +8 -0
  228. package/schematics/eject/schema.json +24 -0
  229. package/schematics/eject/source.js +295 -0
  230. package/schematics/use/symbol-map.json +2 -0
  231. package/select/styles/_index.scss +13 -0
  232. package/skills/ngwr/SKILL.md +30 -3
  233. package/skills/ngwr/references/catalog.md +2 -2
  234. package/table/styles/_index.scss +24 -0
  235. package/theme/styles/_focus.scss +11 -1
  236. package/tour/styles/_index.scss +6 -0
  237. package/types/ngwr-carousel-testing.d.ts +29 -6
  238. package/types/ngwr-carousel.d.ts +52 -5
  239. package/types/ngwr-cascader-testing.d.ts +4 -3
  240. package/types/ngwr-cascader.d.ts +29 -7
  241. package/types/ngwr-charts-bar-chart-testing.d.ts +15 -13
  242. package/types/ngwr-charts-bar-chart.d.ts +220 -48
  243. package/types/ngwr-charts-boxplot-chart-testing.d.ts +9 -2
  244. package/types/ngwr-charts-boxplot-chart.d.ts +110 -19
  245. package/types/ngwr-charts-bullet-chart.d.ts +72 -12
  246. package/types/ngwr-charts-calendar-heatmap.d.ts +119 -15
  247. package/types/ngwr-charts-candlestick-chart-testing.d.ts +19 -9
  248. package/types/ngwr-charts-candlestick-chart.d.ts +195 -62
  249. package/types/ngwr-charts-chart-legend.d.ts +142 -5
  250. package/types/ngwr-charts-core.d.ts +259 -21
  251. package/types/ngwr-charts-donut-chart-testing.d.ts +11 -5
  252. package/types/ngwr-charts-donut-chart.d.ts +124 -16
  253. package/types/ngwr-charts-funnel-chart.d.ts +62 -6
  254. package/types/ngwr-charts-gauge-testing.d.ts +5 -1
  255. package/types/ngwr-charts-gauge.d.ts +72 -10
  256. package/types/ngwr-charts-heatmap-chart.d.ts +103 -20
  257. package/types/ngwr-charts-line-chart-testing.d.ts +16 -2
  258. package/types/ngwr-charts-line-chart.d.ts +215 -86
  259. package/types/ngwr-charts-meter-group.d.ts +96 -7
  260. package/types/ngwr-charts-radar-chart-testing.d.ts +14 -3
  261. package/types/ngwr-charts-radar-chart.d.ts +148 -28
  262. package/types/ngwr-charts-scatter-chart-testing.d.ts +22 -10
  263. package/types/ngwr-charts-scatter-chart.d.ts +188 -18
  264. package/types/ngwr-charts-sparkline.d.ts +26 -4
  265. package/types/ngwr-charts-treemap-chart.d.ts +121 -23
  266. package/types/ngwr-charts-waterfall-chart-testing.d.ts +8 -1
  267. package/types/ngwr-charts-waterfall-chart.d.ts +108 -21
  268. package/types/ngwr-color-picker.d.ts +27 -0
  269. package/types/ngwr-context-menu-testing.d.ts +10 -9
  270. package/types/ngwr-context-menu.d.ts +19 -0
  271. package/types/ngwr-copy-value.d.ts +8 -0
  272. package/types/ngwr-date-picker.d.ts +34 -2
  273. package/types/ngwr-dialog.d.ts +30 -10
  274. package/types/ngwr-drawer.d.ts +32 -1
  275. package/types/ngwr-dropdown-testing.d.ts +8 -5
  276. package/types/ngwr-dropdown.d.ts +31 -6
  277. package/types/ngwr-file-upload.d.ts +8 -2
  278. package/types/ngwr-graph-testing.d.ts +28 -0
  279. package/types/ngwr-graph.d.ts +263 -91
  280. package/types/ngwr-lightbox.d.ts +15 -0
  281. package/types/ngwr-overlay.d.ts +16 -1
  282. package/types/ngwr-popconfirm-testing.d.ts +11 -2
  283. package/types/ngwr-popconfirm.d.ts +28 -1
  284. package/types/ngwr-popover.d.ts +59 -9
  285. package/types/ngwr-select.d.ts +37 -0
  286. package/types/ngwr-table-testing.d.ts +52 -1
  287. package/types/ngwr-table.d.ts +102 -10
  288. package/types/ngwr-tour-testing.d.ts +10 -0
  289. package/types/ngwr-tour.d.ts +32 -4
  290. package/types/ngwr-tree-testing.d.ts +1 -2
  291. package/types/ngwr-tree.d.ts +35 -2
  292. package/types/ngwr-utils.d.ts +79 -1
  293. package/types/ngwr-version.d.ts +1 -1
  294. package/types/ngwr-window.d.ts +14 -11
  295. package/window/styles/_index.scss +5 -10
@@ -72,6 +72,7 @@ interface DrawnBox {
72
72
  readonly max: number;
73
73
  readonly median: number;
74
74
  readonly min: number;
75
+ /** The outliers drawn: every one of a group with few, a sample of each side past a hundred. */
75
76
  readonly outliers: readonly {
76
77
  readonly value: number;
77
78
  readonly top: number;
@@ -90,6 +91,10 @@ interface DrawnGroup {
90
91
  readonly color: string;
91
92
  /** Its summary, or `null` when it has nothing to draw. */
92
93
  readonly stats: Summary | null;
94
+ /** The slot's classes, in one binding: its own, and `--active` or `--empty`, which never meet. */
95
+ readonly classes: string;
96
+ /** Its five numbers, lower whisker first, in one attribute for the harness; `null` with nothing drawn. */
97
+ readonly figures: string | null;
93
98
  /**
94
99
  * Where its slot starts, as a percentage of the drawing's width from its inline start:
95
100
  * the left, or the right under RTL.
@@ -123,7 +128,10 @@ interface DrawnGroup {
123
128
  * worked out elsewhere goes in `stats` and is drawn exactly as given.
124
129
  *
125
130
  * The value axis is fitted to every number drawn, outliers included, with no zero forced
126
- * in — a box plot has no baseline — and snapped outward to a readable step. The groups
131
+ * in — a box plot has no baseline — and snapped outward to a readable step: gridlines
132
+ * across the plot (`showGrid`) and a scale beside it (`showAxis`), both on by default.
133
+ * With no group to draw the chart keeps that frame and says "No data"; `loading` and
134
+ * `error` put their own message there in place of the boxes. The groups
127
135
  * share the drawing's width in equal slots under their names, in reading order: left to
128
136
  * right, and right to left under RTL, as the bar chart's columns are, so the first group
129
137
  * stands beside the value axis either way.
@@ -132,6 +140,10 @@ interface DrawnGroup {
132
140
  * numbers and the outliers past them, is pointer only. `dataTable` renders every group's
133
141
  * numbers as a table only assistive technology reaches.
134
142
  *
143
+ * A group of raw `values` is sorted once, in a typed array, and a group with more than a
144
+ * hundred outliers on one side of its box draws a hundred of them there, the farthest
145
+ * and the nearest included: the tooltip still counts every one.
146
+ *
135
147
  * @see https://ngwr.dev/charts/boxplot-chart
136
148
  */
137
149
  export declare class WrBoxplotChart {
@@ -154,7 +166,7 @@ export declare class WrBoxplotChart {
154
166
  * `boxplotChart.group` ("Group").
155
167
  */
156
168
  readonly xLabel: import("@angular/core").InputSignal<string | null>;
157
- /** What the values measure, with their unit. Drawn above the value axis only when given. */
169
+ /** What the values measure, with their unit. Drawn along the value axis, reading upwards, only when given. */
158
170
  readonly yLabel: import("@angular/core").InputSignal<string | null>;
159
171
  protected readonly xName: import("@angular/core").Signal<string>;
160
172
  private readonly upperName;
@@ -182,30 +194,64 @@ export declare class WrBoxplotChart {
182
194
  * locales, and a space is the digit grouping of Russian and French: `9 000 12 000`.
183
195
  */
184
196
  private readonly list;
185
- /** The colour of every group with no `color` of its own. Any CSS colour. @default 'var(--wr-color-primary)' */
197
+ /**
198
+ * The colour of every group with no `color` of its own. Any CSS colour. Defaults to the
199
+ * first colour of the chart palette, `--wr-chart-1`. @default 'var(--wr-chart-1)'
200
+ */
186
201
  readonly color: import("@angular/core").InputSignal<string>;
187
202
  /**
188
203
  * The plot's height in px, at least 80. Under 160 the value axis aims for fewer ticks,
189
204
  * so their labels keep clear of one another. @default 240
190
205
  */
191
206
  readonly height: import("@angular/core").InputSignalWithTransform<number, unknown>;
192
- /** Show the gridlines and the value axis' tick labels. @default true */
207
+ /**
208
+ * Draw the gridlines: one across the plot at every tick of the value axis. Their colour
209
+ * is `--wr-boxplot-chart-grid-color`, which defaults to the chart theme's
210
+ * `--wr-chart-grid`; the one at zero, when the axis reaches it, is the stronger
211
+ * `--wr-boxplot-chart-zero-color`. @default true
212
+ */
193
213
  readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean, any>;
214
+ /**
215
+ * Draw the value axis' scale: a number at every tick, beside the plot. Decoration, as
216
+ * the tooltip and the data table carry every figure. @default true
217
+ */
218
+ readonly showAxis: import("@angular/core").InputSignalWithTransform<boolean, any>;
219
+ /**
220
+ * A request for the chart's data is in flight: the boxes give way to the loading
221
+ * message, over the grid and the axis the chart keeps. @default false
222
+ */
223
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
224
+ /**
225
+ * The chart's data failed to load: the boxes give way to the error message. `loading`
226
+ * comes first when both are set. @default false
227
+ */
228
+ readonly error: import("@angular/core").InputSignalWithTransform<boolean, any>;
229
+ /** The message shown when no group has anything to draw. Falls back to `chart.empty`, then `'No data'`. */
230
+ readonly emptyLabel: import("@angular/core").InputSignal<string | null>;
231
+ /** The message shown while `loading`. Falls back to `chart.loading`, then `'Loading…'`. */
232
+ readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
233
+ /** The message shown on `error`. Falls back to `chart.error`, then `'Could not load'`. */
234
+ readonly errorLabel: import("@angular/core").InputSignal<string | null>;
194
235
  /**
195
236
  * Show a tooltip with the hovered group's five numbers — the whiskers' ends, the
196
- * quartiles and the median — and its outliers' values, the lowest three, then how many
197
- * more there are. Pointer only. @default true
237
+ * quartiles and the median — and its outliers' values, the lowest three, then how
238
+ * many more there are: every outlier is counted, drawn or not. Pointer only.
239
+ *
240
+ * By default the pointer passes under the chip to the chart, so the next section
241
+ * answers at once and the chip closes off the chart; `'hoverable'` lets the pointer
242
+ * rest on the chip instead, as WCAG 1.4.13 asks of a hint. @default true
198
243
  */
199
- readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
244
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | "hoverable", unknown>;
200
245
  /**
201
246
  * Render every group's numbers as a table only assistive technology reaches, beside the
202
247
  * drawing: a row per group, a column for each of the five numbers from the lower
203
- * whisker up and, when a group has any, one listing its outliers. The drawing is one
248
+ * whisker up and, when a group has any, one listing its outliers - all of them up to
249
+ * fifty, and past that the lowest, the highest and how many more. The drawing is one
204
250
  * named image, so without it the numbers are nowhere a screen reader can walk.
205
251
  * @default false
206
252
  */
207
253
  readonly dataTable: import("@angular/core").InputSignalWithTransform<boolean, any>;
208
- private readonly groupEls;
254
+ private readonly host;
209
255
  /** Every group with its colour and its summary, in order. */
210
256
  private readonly resolvedGroups;
211
257
  /**
@@ -219,20 +265,37 @@ export declare class WrBoxplotChart {
219
265
  * floor, four gaps put five labels in 64px of drawing.
220
266
  */
221
267
  protected readonly axis: import("@angular/core").Signal<import("ngwr/charts/core").WrChartAxis>;
222
- /** The groups as drawn: an equal slot each across the drawing, and their marks placed on the axis. */
268
+ /**
269
+ * The groups as placed: an equal slot each across the drawing, and their marks on the
270
+ * axis. Hovering rebuilds none of it: the hovered slot's class is added in
271
+ * {@link drawnGroups}.
272
+ */
273
+ private readonly placedGroups;
274
+ /** The groups as drawn: placed, each with its slot's classes, the hovered one's among them. */
223
275
  protected readonly drawnGroups: import("@angular/core").Signal<readonly DrawnGroup[]>;
224
276
  /** The value axis' ticks, top to bottom: each value's label and its gridline's distance from the top, in percent. */
225
277
  protected readonly yTicks: import("@angular/core").Signal<{
226
278
  label: string;
227
279
  top: number;
280
+ zero: boolean;
228
281
  }[]>;
282
+ /** Whether the chart has nothing to draw: no group, or none with a summary. */
283
+ private readonly empty;
284
+ /** What the chart shows in place of its boxes, or `null` while it draws them. */
285
+ protected readonly state: import("@angular/core").Signal<import("ngwr/charts/core").WrChartStateView | null>;
286
+ /**
287
+ * Whether the slots are drawn: always, but under `loading` and `error`. With nothing to
288
+ * draw each group still keeps its slot and its name, under the "No data" message.
289
+ */
290
+ protected readonly slotsShown: import("@angular/core").Signal<boolean>;
229
291
  /**
230
292
  * One tooltip for the group under the pointer: its name and colour as the heading, then
231
293
  * the five numbers top to bottom, the way the box is drawn, and its outliers when it has
232
294
  * any — their VALUES, as the data table's column of the same name lists them: the lowest
233
295
  * three a row each under the one label, so a long figure never shares a line with
234
- * another and pushes past the chip, then a row counting the rest. It points at the top
235
- * of everything the group draws, so the chip covers none of its marks.
296
+ * another and pushes past the chip, then a row counting the rest - every outlier of the
297
+ * summary, the ones a crowded group does not draw included. It points at the top of
298
+ * everything the group draws, so the chip covers none of its marks.
236
299
  */
237
300
  protected readonly tip: import("ngwr/popover").WrChartTooltip;
238
301
  /** The group the tooltip is reading, washed in the drawing. Never one with nothing drawn. */
@@ -241,16 +304,14 @@ export declare class WrBoxplotChart {
241
304
  * The figures for `dataTable`: the chart's name as the caption, a row per group headed
242
305
  * by its name, and its five numbers ascending, as a five-number summary reads, written
243
306
  * as the tooltip writes them. The outliers column appears once any group has an
244
- * outlier, and lists that group's ascending. A group with nothing to draw has a row of
245
- * empty cells.
307
+ * outlier, and lists that group's ascending: all of them up to fifty, and past that
308
+ * the lowest, the highest and a count of the rest. A group with nothing to draw has a
309
+ * row of empty cells.
246
310
  */
247
311
  protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
312
+ /** A group's outliers in one data table cell: every one of a few, the two ends and a count of many. */
313
+ private outlierList;
248
314
  constructor();
249
- /**
250
- * The pointer entered a group's slot. A group with nothing drawn reads as leaving, so a
251
- * chip open on its neighbour closes after the usual grace rather than at once.
252
- */
253
- protected onEnter(index: number, event: MouseEvent): void;
254
315
  static ɵfac: i0.ɵɵFactoryDeclaration<WrBoxplotChart, never>;
255
316
  static ɵcmp: i0.ɵɵComponentDeclaration<WrBoxplotChart, "wr-boxplot-chart", never, {
256
317
  "groups": {
@@ -293,6 +354,36 @@ export declare class WrBoxplotChart {
293
354
  "required": false;
294
355
  "isSignal": true;
295
356
  };
357
+ "showAxis": {
358
+ "alias": "showAxis";
359
+ "required": false;
360
+ "isSignal": true;
361
+ };
362
+ "loading": {
363
+ "alias": "loading";
364
+ "required": false;
365
+ "isSignal": true;
366
+ };
367
+ "error": {
368
+ "alias": "error";
369
+ "required": false;
370
+ "isSignal": true;
371
+ };
372
+ "emptyLabel": {
373
+ "alias": "emptyLabel";
374
+ "required": false;
375
+ "isSignal": true;
376
+ };
377
+ "loadingLabel": {
378
+ "alias": "loadingLabel";
379
+ "required": false;
380
+ "isSignal": true;
381
+ };
382
+ "errorLabel": {
383
+ "alias": "errorLabel";
384
+ "required": false;
385
+ "isSignal": true;
386
+ };
296
387
  "tooltip": {
297
388
  "alias": "tooltip";
298
389
  "required": false;
@@ -5,7 +5,7 @@ interface Band {
5
5
  readonly index: number;
6
6
  readonly start: number;
7
7
  readonly size: number;
8
- /** How far its shade has moved from the strongest grey towards the faintest, as a CSS percentage. */
8
+ /** How far its shade has moved from the strongest step towards the faintest, as a CSS percentage. */
9
9
  readonly mix: string;
10
10
  }
11
11
  /** A tick of the scale: its label, its share of the scale, and which end of the scale it sits on, if either. */
@@ -25,12 +25,17 @@ interface Tick {
25
25
  * ```
26
26
  *
27
27
  * **What is drawn.** `ranges` are the upper limits of the qualitative bands — poor,
28
- * satisfactory, good — drawn as stepped greys from the theme's neutral roles, the
29
- * strongest nearest zero and each band after it fainter, so they read as steps in
30
- * LIGHTNESS and survive greyscale. The value is a bar a third of the line high, from zero;
31
- * the target is a perpendicular marker. The two are told apart by shape, not by colour,
32
- * and both are drawn in the text colour, which keeps 3:1 against the strongest band in
33
- * either theme where the primary blue does not.
28
+ * satisfactory, good — drawn as steps of the chart theme's sequential scale
29
+ * (`--wr-chart-seq-3` down to `-1`, tints of the first palette colour), the strongest
30
+ * nearest zero and each band after it fainter, so they read as steps in LIGHTNESS, survive
31
+ * greyscale, and follow the palette when an app retints it. A 1px line in the surface
32
+ * parts two bands. The value is a bar a third of the line high, from zero; the target is
33
+ * a perpendicular marker. The two are told apart by shape, not by colour, and both are
34
+ * drawn in the text colour, which holds 7:1 against the strongest band in either scheme
35
+ * where the palette colour itself, a step of the same scale, would not reach 3:1.
36
+ *
37
+ * **Empty, loading, error.** With neither a value nor a target the track is empty and
38
+ * says "No data"; `loading` and `error` put their own message there.
34
39
  *
35
40
  * **The scale** starts at zero, or lower where a value, the target or a range limit is
36
41
  * negative, and ends at `max` — by default the largest of the value, the target and the
@@ -64,14 +69,14 @@ export declare class WrBulletChart {
64
69
  * The upper limit of each qualitative band, in any order: `[150, 225, 300]` draws a band
65
70
  * from the scale's start to 150, one from 150 to 225 and one from 225 to 300. They are
66
71
  * sorted, a repeated limit counts once, and one that is not a finite number is dropped.
67
- * The band nearest zero is the strongest grey and each one after it fainter, between
72
+ * The band nearest zero is the strongest step and each one after it fainter, between
68
73
  * `--wr-bullet-chart-range-start` and `--wr-bullet-chart-range-end`. Few recommends no
69
74
  * more than five.
70
75
  *
71
76
  * The first band is everything below the first limit, so it has room only where the
72
77
  * scale reaches below that limit. A negative first limit lower than both the value and
73
78
  * the target is where the scale starts, which leaves that band no room: it is not drawn,
74
- * and the drawing opens with the second band and its paler grey. Where the scale runs on
79
+ * and the drawing opens with the second band and its paler step. Where the scale runs on
75
80
  * past the last limit, a rule marks where the last band ends.
76
81
  */
77
82
  readonly ranges: import("@angular/core").InputSignal<readonly number[]>;
@@ -107,10 +112,33 @@ export declare class WrBulletChart {
107
112
  /** Show the scale's ticks under the drawing. @default true */
108
113
  readonly showScale: import("@angular/core").InputSignalWithTransform<boolean, any>;
109
114
  /**
110
- * Show a tooltip with the label, the value and the target while the pointer is over the
111
- * drawing. Pointer only: the accessible name says the same. @default true
115
+ * Show a tooltip with the label, the value and the target while the pointer is over
116
+ * the drawing. Pointer only: the accessible name says the same.
117
+ *
118
+ * By default the pointer passes under the chip to the chart, so the next section
119
+ * answers at once and the chip closes off the chart; `'hoverable'` lets the pointer
120
+ * rest on the chip instead, as WCAG 1.4.13 asks of a hint. @default true
121
+ */
122
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | "hoverable", unknown>;
123
+ /**
124
+ * A request for the measure is in flight: the bands, the bar and the marker give way to
125
+ * the loading message on the track. @default false
112
126
  */
113
- readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
127
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
128
+ /**
129
+ * The measure failed to load: the marks give way to the error message. `loading` wins
130
+ * while both are set. @default false
131
+ */
132
+ readonly error: import("@angular/core").InputSignalWithTransform<boolean, any>;
133
+ /**
134
+ * The message shown with neither a value nor a target. Falls back to `chart.empty`,
135
+ * then `'No data'`.
136
+ */
137
+ readonly emptyLabel: import("@angular/core").InputSignal<string | null>;
138
+ /** The message shown while `loading`. Falls back to `chart.loading`, then `'Loading…'`. */
139
+ readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
140
+ /** The message shown on `error`. Falls back to `chart.error`, then `'Could not load'`. */
141
+ readonly errorLabel: import("@angular/core").InputSignal<string | null>;
114
142
  /** The exact figures and the scale's compact ticks, in `LOCALE_ID` unless `valueFormat` is given. */
115
143
  private readonly numbers;
116
144
  private readonly track;
@@ -123,6 +151,11 @@ export declare class WrBulletChart {
123
151
  private readonly measured;
124
152
  /** The drawing's width as the observer last reported it, in px; 0 until it has. */
125
153
  private trackWidth;
154
+ /**
155
+ * The drawing's box, on the observer every chart shares: a table of a hundred bullets
156
+ * is one observer and one callback a frame, where each bullet used to make its own.
157
+ */
158
+ private readonly trackSize;
126
159
  constructor();
127
160
  /**
128
161
  * Read a tick label's width per character off the labels as laid out, and keep it with
@@ -182,6 +215,8 @@ export declare class WrBulletChart {
182
215
  private ticksFor;
183
216
  /** Whether each tick label ends at least `TICK_GAP` before the next begins, placed as the stylesheet places them. */
184
217
  private fits;
218
+ /** What the chart shows in place of its marks, or `null` while it draws them. */
219
+ protected readonly state: import("@angular/core").Signal<import("ngwr/charts/core").WrChartStateView | null>;
185
220
  /** The accessible name's subject: the label, else the catalog's name for the chart. */
186
221
  private readonly subject;
187
222
  private readonly summaryText;
@@ -257,6 +292,31 @@ export declare class WrBulletChart {
257
292
  "required": false;
258
293
  "isSignal": true;
259
294
  };
295
+ "loading": {
296
+ "alias": "loading";
297
+ "required": false;
298
+ "isSignal": true;
299
+ };
300
+ "error": {
301
+ "alias": "error";
302
+ "required": false;
303
+ "isSignal": true;
304
+ };
305
+ "emptyLabel": {
306
+ "alias": "emptyLabel";
307
+ "required": false;
308
+ "isSignal": true;
309
+ };
310
+ "loadingLabel": {
311
+ "alias": "loadingLabel";
312
+ "required": false;
313
+ "isSignal": true;
314
+ };
315
+ "errorLabel": {
316
+ "alias": "errorLabel";
317
+ "required": false;
318
+ "isSignal": true;
319
+ };
260
320
  }, {}, never, never, true, never>;
261
321
  }
262
322
  export {};
@@ -11,12 +11,27 @@ interface Cell {
11
11
  readonly date: Date;
12
12
  readonly value: number;
13
13
  readonly intensity: number;
14
+ /** Its step on the scale: 0 for a day of nothing, 1 to 5 for a day of something. */
15
+ readonly level: number;
16
+ /** The paint of its level, written on the square. */
17
+ readonly paint: string;
14
18
  readonly week: number;
15
19
  readonly day: number;
16
20
  }
17
21
  /**
18
22
  * GitHub-style year-grid heatmap. One column per ISO week, one row per
19
- * weekday — cells coloured by `value` relative to the data set's max.
23
+ * weekday — cells coloured by `value` relative to the largest day drawn.
24
+ *
25
+ * **The scale.** A day of something takes one of five levels by its share of the largest
26
+ * day, painted with the chart theme's sequential scale: `--wr-chart-seq-1`, a tint of the
27
+ * first palette colour, up to `--wr-chart-seq-5`, the colour itself. `color` steps the same
28
+ * five from a colour of the chart's own. A day of nothing is the theme's track, and every
29
+ * square carries a faint edge, so the lowest level still reads on a dark surface. A scale
30
+ * key under the grid shows the levels from 0 to the largest day (`showLegend`,
31
+ * `legendPosition`).
32
+ *
33
+ * **Empty, loading, error.** With no data the grid keeps its squares and says "No data"
34
+ * under them; `loading` and `error` put their own message there.
20
35
  *
21
36
  * **A year does not reflow.** Its 53 columns are a fixed cell size, so in a container
22
37
  * narrower than the grid the host scrolls sideways. While it does, it is a tab stop with
@@ -40,7 +55,8 @@ interface Cell {
40
55
  export declare class WrCalendarHeatmap {
41
56
  /**
42
57
  * One entry per day — `{ date, value }`. Days you pass nothing for render as
43
- * empty cells, so a sparse array is the normal shape rather than a gap.
58
+ * empty cells, so a sparse array is the normal shape rather than a gap. Rows outside
59
+ * the weeks drawn are skipped, and do not move the scale.
44
60
  */
45
61
  readonly data: import("@angular/core").InputSignal<readonly WrHeatmapDatum[]>;
46
62
  /**
@@ -89,22 +105,62 @@ export declare class WrCalendarHeatmap {
89
105
  readonly endDate: import("@angular/core").InputSignal<string | Date | null>;
90
106
  /** Number of weeks (columns) to render. @default 53 */
91
107
  readonly weeks: import("@angular/core").InputSignalWithTransform<number, unknown>;
92
- /** Cell side in CSS pixels. @default 11 */
108
+ /**
109
+ * Cell side in CSS pixels. Twelve with a gap of three reads as a grid of days; the
110
+ * eleven and two it was before 16.5 ran the squares together. @default 12
111
+ */
93
112
  readonly cellSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
94
- /** Pixel gap between cells. @default 2 */
113
+ /** Pixel gap between cells. @default 3 */
95
114
  readonly cellGap: import("@angular/core").InputSignalWithTransform<number, unknown>;
96
- /** Cell fill colour at full intensity. @default 'var(--wr-color-primary)' */
97
- readonly color: import("@angular/core").InputSignal<string>;
98
- /** Background colour for zero-value days. @default color-mix(in srgb, var(--wr-border-base) 50%, transparent) */
99
- readonly emptyColor: import("@angular/core").InputSignal<string>;
115
+ /**
116
+ * The colour of the highest level: any CSS colour, `var(--wr-…)` included. The four
117
+ * levels under it are stepped from it toward the surface, as the chart theme steps its
118
+ * own scale. `null` paints the levels with the theme's sequential scale,
119
+ * `--wr-chart-seq-1` to `-5`, which an app retints for every chart at once.
120
+ * @default null
121
+ */
122
+ readonly color: import("@angular/core").InputSignal<string | null>;
123
+ /**
124
+ * Background colour for zero-value days. `null` takes `--wr-calendar-heatmap-empty`,
125
+ * the chart theme's track. @default null
126
+ */
127
+ readonly emptyColor: import("@angular/core").InputSignal<string | null>;
128
+ /** Show the scale key: the levels from 0 to the largest day. @default true */
129
+ readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
130
+ /**
131
+ * Where the scale key sits: under the grid, over it, or `none` for no key at all. It
132
+ * keeps to the inline end, where the newest weeks are, so it stays in sight while the
133
+ * year scrolls. @default 'bottom'
134
+ */
135
+ readonly legendPosition: import("@angular/core").InputSignal<"none" | "top" | "bottom">;
136
+ /**
137
+ * A request for the days is in flight: the grid keeps its squares, all empty, and the
138
+ * loading message sits under them. @default false
139
+ */
140
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
141
+ /**
142
+ * The days failed to load: the grid keeps its squares, all empty, with the error
143
+ * message under them. `loading` wins while both are set. @default false
144
+ */
145
+ readonly error: import("@angular/core").InputSignalWithTransform<boolean, any>;
146
+ /** The message shown with no data. Falls back to `chart.empty`, then `'No data'`. */
147
+ readonly emptyLabel: import("@angular/core").InputSignal<string | null>;
148
+ /** The message shown while `loading`. Falls back to `chart.loading`, then `'Loading…'`. */
149
+ readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
150
+ /** The message shown on `error`. Falls back to `chart.error`, then `'Could not load'`. */
151
+ readonly errorLabel: import("@angular/core").InputSignal<string | null>;
100
152
  /** Show the weekday + month labels around the grid. @default true */
101
153
  readonly showLabels: import("@angular/core").InputSignalWithTransform<boolean, any>;
102
154
  /**
103
- * Show a tooltip with the day and its count on hover. It is the sentence the
104
- * square's `title` carried, so the `title` is written only while this is off —
105
- * or the browser would open a second copy a moment later. @default true
155
+ * Show a tooltip with the day and its count on hover. It is the sentence the square's
156
+ * `title` carried, so the `title` is written only while this is off — or the browser
157
+ * would open a second copy a moment later.
158
+ *
159
+ * By default the pointer passes under the chip to the chart, so the next section
160
+ * answers at once and the chip closes off the chart; `'hoverable'` lets the pointer
161
+ * rest on the chip instead, as WCAG 1.4.13 asks of a hint. @default true
106
162
  */
107
- readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
163
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | "hoverable", unknown>;
108
164
  /**
109
165
  * Writes each day's count in the tooltip, the `title` and the data table. `null` uses
110
166
  * `Intl.NumberFormat` in `LOCALE_ID`.
@@ -155,6 +211,21 @@ export declare class WrCalendarHeatmap {
155
211
  label: string;
156
212
  week: number;
157
213
  }[]>;
214
+ /** The largest day drawn, which the highest level stands for; 0 with no day of something. */
215
+ private readonly peak;
216
+ /**
217
+ * The scale key: a day of nothing, then the five levels, between 0 and the largest day
218
+ * as the tooltip writes a count. With no day of something it keys the empty square alone.
219
+ */
220
+ protected readonly legend: import("@angular/core").Signal<{
221
+ min: string;
222
+ max: string | null;
223
+ steps: string[];
224
+ }>;
225
+ /** Whether the chart draws its scale key: with `showLegend`, unless `legendPosition` is `none`. */
226
+ protected readonly legendShown: import("@angular/core").Signal<boolean>;
227
+ /** What the chart shows under its grid in place of the scale key, or `null` while it draws its days. */
228
+ protected readonly state: import("@angular/core").Signal<import("ngwr/charts/core").WrChartStateView | null>;
158
229
  protected readonly columnCount: import("@angular/core").Signal<number>;
159
230
  /** Each day's position in `cells()`, for the square the pointer lands on. */
160
231
  private readonly indexByIso;
@@ -175,7 +246,7 @@ export declare class WrCalendarHeatmap {
175
246
  * Which square the pointer is on, from a `mousemove` on the grid. Over the gap
176
247
  * between two squares it is on none, and the tooltip starts to leave.
177
248
  */
178
- protected onCellsPointer(event: MouseEvent): void;
249
+ private onCellsPointer;
179
250
  constructor();
180
251
  /**
181
252
  * Scrolls the host to its inline end, where the newest weeks are: the right in LTR and
@@ -183,8 +254,6 @@ export declare class WrCalendarHeatmap {
183
254
  * value is clamped by the browser, so either sign of the whole width lands on the end.
184
255
  */
185
256
  private static scrollToEnd;
186
- protected colorFor(intensity: number): string;
187
- protected opacityFor(intensity: number): number;
188
257
  static ɵfac: i0.ɵɵFactoryDeclaration<WrCalendarHeatmap, never>;
189
258
  static ɵcmp: i0.ɵɵComponentDeclaration<WrCalendarHeatmap, "wr-calendar-heatmap", never, {
190
259
  "data": {
@@ -227,6 +296,41 @@ export declare class WrCalendarHeatmap {
227
296
  "required": false;
228
297
  "isSignal": true;
229
298
  };
299
+ "showLegend": {
300
+ "alias": "showLegend";
301
+ "required": false;
302
+ "isSignal": true;
303
+ };
304
+ "legendPosition": {
305
+ "alias": "legendPosition";
306
+ "required": false;
307
+ "isSignal": true;
308
+ };
309
+ "loading": {
310
+ "alias": "loading";
311
+ "required": false;
312
+ "isSignal": true;
313
+ };
314
+ "error": {
315
+ "alias": "error";
316
+ "required": false;
317
+ "isSignal": true;
318
+ };
319
+ "emptyLabel": {
320
+ "alias": "emptyLabel";
321
+ "required": false;
322
+ "isSignal": true;
323
+ };
324
+ "loadingLabel": {
325
+ "alias": "loadingLabel";
326
+ "required": false;
327
+ "isSignal": true;
328
+ };
329
+ "errorLabel": {
330
+ "alias": "errorLabel";
331
+ "required": false;
332
+ "isSignal": true;
333
+ };
230
334
  "showLabels": {
231
335
  "alias": "showLabels";
232
336
  "required": false;
@@ -17,9 +17,8 @@ interface WrCandlestickChartHarnessCandle {
17
17
  /** The period's close. */
18
18
  readonly close: number;
19
19
  /**
20
- * `'increase'` for a candle drawn rising — hollow, in the increase colour — and
21
- * `'decrease'` for one drawn falling, filled: the waterfall's words for a change up and
22
- * a change down.
20
+ * `'increase'` for a candle drawn rising, in the increase colour, and `'decrease'` for
21
+ * one drawn falling: the waterfall's words for a change up and a change down.
23
22
  */
24
23
  readonly direction: 'increase' | 'decrease';
25
24
  /** Where the candle's centre sits, as a percentage of the drawing's width from its left edge. */
@@ -46,11 +45,13 @@ interface WrCandlestickChartTableRow {
46
45
  * **Candles are read off what the component WROTE, never off a layout.** jsdom lays
47
46
  * nothing out, so a measured box would read 0 for a working chart and a broken one
48
47
  * alike. Every candle is a box the component places by percentage, and it carries its
49
- * period's prices in `data-*` attributes beside that placement — so {@link getCandles}
48
+ * period's prices in one `data-candle` attribute beside that placement — so {@link getCandles}
50
49
  * answers both questions a spec has: which period is this, and where did the chart put
51
50
  * it. A candle with the right prices at the wrong height is exactly the defect worth
52
- * catching. Hollow or filled is read as the `--increase` / `--decrease` modifier the
53
- * stylesheet draws it from; what that paints is a browser's question.
51
+ * catching. Rising or falling is read as the `--increase` / `--decrease` modifier the
52
+ * stylesheet draws it from; what that paints is a browser's question. Past two periods a
53
+ * pixel the chart merges them (`decimate`), and a candle read here is then the merged
54
+ * one: the index of its first period, and the prices the run comes to.
54
55
  *
55
56
  * **A body's width is not read**: it is a share of the slot that the stylesheet holds
56
57
  * between 1px and a ceiling, and jsdom has no stylesheet. {@link isDense} reads the
@@ -92,14 +93,23 @@ export declare class WrCandlestickChartHarness extends ComponentHarness {
92
93
  */
93
94
  getCandles(): Promise<WrCandlestickChartHarnessCandle[]>;
94
95
  /**
95
- * Whether the chart is drawn dense: its bodies too narrow to leave hollow, so a rising
96
- * one is dotted. Decided on the measured body in a browser, and on the assumed 560px
96
+ * Whether the chart is drawn dense: its bodies too narrow to leave hollow, so under
97
+ * `hollow` a rising one is dotted. Decided on the measured body in a browser, and on the assumed 560px
97
98
  * drawing before that — which is every unit test.
98
99
  */
99
100
  isDense(): Promise<boolean>;
100
101
  /** Whether the gridlines are drawn (`showGrid`). */
101
102
  hasGrid(): Promise<boolean>;
102
- /** The y-axis tick labels, top to bottom; `[]` with `showGrid` off. */
103
+ /** Whether the price axis' scale is printed beside the plot (`showAxis`). */
104
+ hasAxis(): Promise<boolean>;
105
+ /** Whether a rising body is drawn as an outline rather than solid (`hollow`). */
106
+ isHollow(): Promise<boolean>;
107
+ /**
108
+ * The message the chart shows in place of its candles: "No data" with nothing to draw,
109
+ * or the loading or error message. `null` while it draws its candles.
110
+ */
111
+ getStateLabel(): Promise<string | null>;
112
+ /** The y-axis tick labels, top to bottom; `[]` with `showAxis` off. */
103
113
  getYTicks(): Promise<string[]>;
104
114
  /**
105
115
  * The period labels printed under the candles, left to right — every n-th where they