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
@@ -132,9 +132,10 @@ export declare class WrCascaderOptionHarness extends ComponentHarness {
132
132
  * handler).
133
133
  *
134
134
  * Sent to THIS option, wherever the caret is. A keyboard user reaches it with
135
- * the arrows (and type-ahead) from the panel's one tab stop — opening the panel
136
- * moves focus onto the selected path's leaf, else the first enabled root — and
137
- * Tab leaves the panel rather than walking it. Call {@link focus} first when a
135
+ * the arrows (and type-ahead) from the panel's one tab stop — ArrowDown or Tab
136
+ * on the trigger of an open panel moves focus onto the selected path's leaf,
137
+ * else the first enabled root; opening alone moves nothing unless `autoFocus`
138
+ * is set — and Tab leaves the panel rather than walking it. Call {@link focus} first when a
138
139
  * spec wants the caret where a reader's would be.
139
140
  */
140
141
  selectByKeyboard(): Promise<void>;
@@ -115,6 +115,14 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
115
115
  readonly changeOnSelect: import("@angular/core").InputSignalWithTransform<boolean, any>;
116
116
  /** Separator between labels in the trigger display. @default '/' */
117
117
  readonly separator: import("@angular/core").InputSignal<string>;
118
+ /**
119
+ * Focus the selected option, or the first one, when the panel opens. Off,
120
+ * focus stays on the trigger: ArrowDown, ArrowUp or Tab there move into the
121
+ * panel, and a letter jumps to the option it starts.
122
+ *
123
+ * @default false
124
+ */
125
+ readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
118
126
  /**
119
127
  * Extra CSS classes for the column panel's overlay pane.
120
128
  *
@@ -166,9 +174,9 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
166
174
  readonly col: number;
167
175
  readonly value: T;
168
176
  } | null>;
177
+ private readonly liveLocale;
169
178
  /** Letters typed in quick succession, for type-ahead. */
170
- private typeahead;
171
- private typeaheadAt;
179
+ private readonly typeahead;
172
180
  /** Panel id used by the trigger's `aria-controls`. */
173
181
  protected readonly panelId: string;
174
182
  /**
@@ -214,10 +222,18 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
214
222
  * and the shape `wr-dropdown`'s trigger uses. Enter and Space need no branch: the
215
223
  * trigger is a real `<button>`, so the browser turns them into the click above.
216
224
  *
217
- * Only while closed. Once the panel is up the caret is inside it, and its options
218
- * own their own keys.
225
+ * Opening leaves the caret here unless `autoFocus` asks, so while the panel is
226
+ * up the trigger is the way in: see {@link enterPanelFromTrigger}.
219
227
  */
220
228
  protected onTriggerKeydown(event: KeyboardEvent): void;
229
+ /**
230
+ * Keys on the trigger while the panel is open. The arrows and Tab move to the
231
+ * panel's tab stop: the pane sits at the end of `<body>`, where the browser's
232
+ * own Tab would not find it. A letter jumps to the option of that column it
233
+ * starts. Shift+Tab, or Tab with nothing to land on, closes the panel and
234
+ * moves on through the page.
235
+ */
236
+ private enterPanelFromTrigger;
221
237
  protected onOptionClick(colIndex: number, opt: WrCascaderOption<T>, event: Event): void;
222
238
  /**
223
239
  * The tree keys the panel's roles promise, per the APG tree pattern: Up / Down
@@ -237,9 +253,10 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
237
253
  protected isTabStop(colIndex: number, opt: WrCascaderOption<T>): boolean;
238
254
  /**
239
255
  * Move to the next enabled option in `column` whose label starts with the letters
240
- * typed so far. A pause of {@link TYPEAHEAD_MS} starts a new run. One letter
241
- * pressed again cycles through the options that start with it; a longer run keeps
242
- * the option it already matches, so `g` then `e` stays on "Germany".
256
+ * typed so far: {@link wrTypeahead} over the column's labels. `current` is
257
+ * `null` when the caret is not in the column yet.
258
+ *
259
+ * @returns whether the caret moved.
243
260
  */
244
261
  private typeAhead;
245
262
  protected clearSelection(event: Event): void;
@@ -339,6 +356,11 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
339
356
  "required": false;
340
357
  "isSignal": true;
341
358
  };
359
+ "autoFocus": {
360
+ "alias": "autoFocus";
361
+ "required": false;
362
+ "isSignal": true;
363
+ };
342
364
  "panelClass": {
343
365
  "alias": "panelClass";
344
366
  "required": false;
@@ -11,7 +11,7 @@ interface WrBarChartHarnessFilters extends BaseHarnessFilters {
11
11
  interface WrBarChartBar {
12
12
  /** The label printed under the column, or in the gutter lying down — decoration, and `aria-hidden`. */
13
13
  readonly label: string;
14
- /** The value printed at the bar, or `null` when `showValues` is off. */
14
+ /** The value printed at the bar, or `null` when `showValues` is off, which is the default. */
15
15
  readonly value: string | null;
16
16
  /** What the column announces: the label and the value in one string. */
17
17
  readonly name: string | null;
@@ -44,7 +44,10 @@ interface WrBarChartSeriesBar {
44
44
  readonly sizePercent: number;
45
45
  /** The colour the component wrote on the bar: its series' own, or the palette's. */
46
46
  readonly color: string | null;
47
- /** The `stroke-dasharray` of the bar's outline, `''` for a solid one. */
47
+ /**
48
+ * The series' own dash, `''` for the first: the pattern its outline takes when
49
+ * `--wr-bar-chart-series-edge-width` gives the bars one. Bars are solid fills by default.
50
+ */
48
51
  readonly dash: string;
49
52
  }
50
53
  /**
@@ -99,10 +102,13 @@ interface WrBarChartHarnessLine {
99
102
  * Test harness for `<wr-bar-chart>`.
100
103
  *
101
104
  * **The bars are read as PERCENTAGES, not as pixels.** Each bar's share of the value
102
- * axis — of the chart's maximum, while zero is the axis minimum — is written inline, as
103
- * its `flex-grow` from 0 to 1 and reported here times 100, which is the one number that
105
+ * axis - of the axis maximum, while zero is the axis minimum - is written inline, as
106
+ * `--wr-bar-chart-size` from 0 to 1, and reported here times 100, which is the one number that
104
107
  * survives a test with no layout — and it is also the component's whole job, since
105
- * the maximum is either given or derived from the data. That share is read off the
108
+ * the maximum is either given or derived from the data. With the grid or the scale shown
109
+ * (`showGrid`, `showAxis`, both on by default) the axis is snapped to round numbers, so
110
+ * the tallest bar reads its value over the axis' top rather than 100; with both off the
111
+ * axis is the data's own extent. That share is read off the
106
112
  * `style` ATTRIBUTE rather than through `getCssValue()`, and the difference is not
107
113
  * cosmetic: `getCssValue()` is `getComputedStyle()`, which answered a used height
108
114
  * in pixels in a real browser and the declared value in jsdom, with no error to say
@@ -130,8 +136,8 @@ interface WrBarChartHarnessLine {
130
136
  * **What it cannot read** is where anything lands: jsdom lays nothing out, so there is no
131
137
  * method for a bar's pixels, for whether a name was ellipsised, or for which side of the
132
138
  * plot the gutter sits on under RTL. {@link getOrientation} reads the orientation the
133
- * component declared. The tooltip opens on a category's `mouseenter`, which a spec can
134
- * dispatch, but what it SAYS is in the data table, which {@link getTableRows} reads.
139
+ * component declared. The tooltip opens on a `mouseover` inside a category, which a spec
140
+ * can dispatch, but what it SAYS is in the data table, which {@link getTableRows} reads.
135
141
  *
136
142
  * @example
137
143
  * ```ts
@@ -161,10 +167,6 @@ export declare class WrBarChartHarness extends ComponentHarness {
161
167
  * Where zero is along the value axis, as a percentage of the axis from its minimum: the
162
168
  * line every bar starts at, read off the share the component wrote on the track. 0 until
163
169
  * a value — a `series` bar, a line, or a `data` bar beside `lines` — goes below zero.
164
- *
165
- * Throws for a chart drawn from `data` standing up without `lines`, which draws no track:
166
- * its bars always stand on the bottom of the plot, and answering 0 there would read the
167
- * same for a chart that failed to write the share it does write everywhere else.
168
170
  */
169
171
  getZeroPercent(): Promise<number>;
170
172
  /** The category names the chart prints — under the columns, or in the gutter sideways — in order. */
@@ -209,7 +211,7 @@ export declare class WrBarChartHarness extends ComponentHarness {
209
211
  /**
210
212
  * The values printed at the bars, in the order drawn: above each `data` column, or past
211
213
  * the end of each series bar — a pile's total for each sign under `stacked`. `[]` with
212
- * `showValues` off. The hidden copies the plot keeps its room from are not read.
214
+ * `showValues` off, which is the default. The hidden copies the plot keeps its room from are not read.
213
215
  */
214
216
  getValues(): Promise<string[]>;
215
217
  /** How many of `lines` the chart draws: a hidden line draws nothing, so it is not counted. */
@@ -222,7 +224,7 @@ export declare class WrBarChartHarness extends ComponentHarness {
222
224
  * shows. `[]` for a chart without lines.
223
225
  */
224
226
  getLines(): Promise<WrBarChartHarnessLine[]>;
225
- /** Whether the legend is rendered (`series` or `lines`, and `showLegend`). */
227
+ /** Whether the legend is rendered: `series` or `lines`, `showLegend`, and a `legendPosition` other than `none`. */
226
228
  hasLegend(): Promise<boolean>;
227
229
  /**
228
230
  * The legend, as a {@link WrChartLegendHarness}: each row's name, its key and its hidden
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { WrChartLegendItem } from "ngwr/charts/chart-legend";
2
+ import { WrChartLegendItem, WrChartLegendPosition } from "ngwr/charts/chart-legend";
3
3
  import { WrChartMarkerShape, WrChartTableData } from "ngwr/charts/core";
4
4
  /** One bar's worth of data, for a `<wr-bar-chart>` drawn from `data`. */
5
5
  interface WrBarChartDatum {
@@ -65,8 +65,14 @@ interface SeriesBar {
65
65
  /** The series' position in `series`, which is what the bar is tracked by. */
66
66
  readonly series: number;
67
67
  readonly color: string;
68
- /** The outline's `stroke-dasharray`, `''` for a solid one. */
68
+ /** The series' own dash, `''` for a solid one: the `stroke-dasharray` its key in the legend had before bars were solid. */
69
69
  readonly dash: string;
70
+ /**
71
+ * Under `stacked`, how far down its side's paint order the bar sits, as a `z-index`: the
72
+ * bar nearest zero is on top, and each one past it under the one before, since every
73
+ * bar of a pile is drawn from zero to its own end. `null` side by side.
74
+ */
75
+ readonly layer: number | null;
70
76
  /** Where the bar starts along the value axis, as a share of it from its minimum. */
71
77
  readonly start: number;
72
78
  /** How much of the value axis the bar covers. */
@@ -93,13 +99,26 @@ interface EndLabel {
93
99
  */
94
100
  interface Lane {
95
101
  readonly key: number;
96
- readonly bars: readonly SeriesBar[];
102
+ /** The bars that grow up from zero (or along from it), nearest zero first. */
103
+ readonly up: readonly SeriesBar[];
104
+ /** The bars that grow down from zero, nearest zero first. */
105
+ readonly down: readonly SeriesBar[];
97
106
  readonly ends: readonly EndLabel[];
98
107
  }
99
108
  /** One category drawn from `series`: its name and its lanes. */
100
109
  interface Category {
101
110
  readonly label: string;
102
111
  readonly lanes: readonly Lane[];
112
+ /** How far the category's bars reach along the value axis, as shares of it: what its tooltip points at. */
113
+ readonly from: number;
114
+ readonly to: number;
115
+ }
116
+ /** One tick of the value axis: its place, and the label printed beside it. */
117
+ interface Tick {
118
+ readonly value: number;
119
+ /** Where the tick is along the value axis, as a share of it from its minimum. */
120
+ readonly at: number;
121
+ readonly text: string;
103
122
  }
104
123
  /**
105
124
  * Where something of a line sits in the line's own box, as percentages of it: `x` from
@@ -117,11 +136,6 @@ interface LinePoint extends LinePosition {
117
136
  /** The category's name and the line's value there: the point's accessible name. */
118
137
  readonly name: string;
119
138
  }
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
139
  /** One line of `lines`, as the chart draws it. */
126
140
  interface LineLayer {
127
141
  /** The line's position in `lines`, which is what it is tracked by. */
@@ -135,15 +149,25 @@ interface LineLayer {
135
149
  readonly d: string;
136
150
  /** How many categories the line's box spans, which the stylesheet sizes the box from. */
137
151
  readonly count: number;
138
- readonly segments: readonly LineSegment[];
152
+ /**
153
+ * The whole line as one path, in the 0 to 100 box the stylesheet stretches over the
154
+ * line's own: a move to the first point of each run and a line to each one after it.
155
+ * `''` for a line of lone points.
156
+ */
157
+ readonly path: string;
158
+ /** How many straight runs `path` holds: one fewer than its points, less one for each break. */
159
+ readonly segments: number;
139
160
  readonly points: readonly LinePoint[];
161
+ /** The line's row in the legend, which is what the hover dims by. */
162
+ readonly key: number;
140
163
  }
141
164
  /**
142
165
  * Bar chart. Pass `[data]` for one series — each datum becomes a bar — or `[series]`
143
166
  * with `[categories]` for several, drawn side by side or, with `stacked`, piled on each
144
167
  * 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.
168
+ * axis with the category names in a gutter beside them. A grid and a value axis by
169
+ * default (`showGrid`, `showAxis`), and the values printed at the bars on request
170
+ * (`showValues`). No external dependency.
147
171
  *
148
172
  * @example
149
173
  * ```html
@@ -166,11 +190,21 @@ interface LineLayer {
166
190
  * **Several series.** Every category gets a bar per series shown, in series order —
167
191
  * or, with `stacked`, one pile, positive values up from zero and negative ones down
168
192
  * 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.
193
+ * below the zero line, which `series` draws wherever zero falls. Each series is a solid
194
+ * fill in the next colour of the chart palette (`--wr-chart-1` to `--wr-chart-8`), whose
195
+ * neighbours alternate between a deep and a mid tone, so two series side by side differ
196
+ * in lightness as well as in hue; the segments of a pile are parted by a 1px line in
197
+ * `--wr-chart-separator`. Hovering a bar or a legend row dims every other series.
198
+ *
199
+ * **Grid, axis and values.** The value axis is snapped to round numbers and drawn as
200
+ * gridlines across the plot (`showGrid`) with a scale beside it (`showAxis`), both on by
201
+ * default; `showValues` prints each value past the end of its bar, and is off by
202
+ * default, since the scale already reads them. With the grid and the axis both off the
203
+ * axis is fitted to the data instead, so the longest bar reaches the end of the plot.
204
+ *
205
+ * **Empty, loading, error.** With nothing to draw the chart keeps its frame and says
206
+ * "No data"; `loading` and `error` put their own message there in place of the bars.
207
+ * Each message has a `*Label` input over the catalog's `chart.*` keys.
174
208
  *
175
209
  * **`data` is unchanged**: one series, a bar per datum, a negative value drawn as an
176
210
  * empty bar with its number still printed — except beside `lines`, whose axis can reach
@@ -292,14 +326,33 @@ export declare class WrBarChart {
292
326
  private readonly datumText;
293
327
  /** A category with no name of its own, by its position from 1 in the reader's own digits. */
294
328
  private readonly ordinals;
295
- /** Default bar colour when a datum has none. `data` only. @default 'var(--wr-color-primary)' */
329
+ /**
330
+ * Default bar colour when a datum has none: the chart palette's first colour, which is
331
+ * the brand colour unless `--wr-chart-1` says otherwise. `data` only.
332
+ * @default 'var(--wr-chart-1)'
333
+ */
296
334
  readonly color: import("@angular/core").InputSignal<string>;
335
+ /**
336
+ * Draw the gridlines: one across the plot at every tick of the value axis, level
337
+ * standing up and upright lying down. Their colour is `--wr-bar-chart-grid-color`,
338
+ * which defaults to the chart theme's `--wr-chart-grid`. With the grid or the axis on,
339
+ * the value axis is snapped to round numbers; with both off it is fitted to the data.
340
+ * @default true
341
+ */
342
+ readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean, any>;
343
+ /**
344
+ * Print the value axis' scale: a number at every tick, in a gutter at inline start
345
+ * standing up and under the plot lying down, written compact (`1.2K`) or through
346
+ * `valueFormat`. Decoration: the bars' names carry the values. @default true
347
+ */
348
+ readonly showAxis: import("@angular/core").InputSignalWithTransform<boolean, any>;
297
349
  /**
298
350
  * Show value labels at each bar, past its end: above a bar standing up, beyond its end
299
351
  * lying down — below (or before) a negative `series` bar, and the pile's total for each
300
352
  * sign with `stacked`. A value too wide for a `series` bar standing up is left out
301
353
  * rather than cut, since a cut number reads as another one; the tooltip and each bar's
302
- * name carry it whole. @default true
354
+ * name carry it whole. Off by default, since the axis already reads the values.
355
+ * @default false
303
356
  */
304
357
  readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
305
358
  /**
@@ -317,11 +370,42 @@ export declare class WrBarChart {
317
370
  /**
318
371
  * Show a tooltip with the bar's label and value on hover — with `series`, the
319
372
  * category's name and a row per series shown. Pointer only — the accessible names
320
- * already carry every value. @default true
373
+ * already carry every value.
374
+ *
375
+ * By default the pointer passes under the chip to the chart, so the next section
376
+ * answers at once and the chip closes off the chart; `'hoverable'` lets the pointer
377
+ * rest on the chip instead, as WCAG 1.4.13 asks of a hint. @default true
378
+ */
379
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | "hoverable", unknown>;
380
+ /**
381
+ * Show the legend. With `series`, or beside `lines`, which it then lists. `'auto'`
382
+ * shows it when there is something to tell apart - two series or more, or any line -
383
+ * and leaves it out for a single series, which has nothing to key; `true` shows it
384
+ * for one series too. @default 'auto'
385
+ */
386
+ readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean | "auto", unknown>;
387
+ /**
388
+ * Where the legend sits: `bottom` or `top` of the chart as a wrapping row, `start` or
389
+ * `end` of it as a column, or `none` for no legend at all - `hiddenSeries` and
390
+ * `hiddenLines` still hide a series from outside. @default 'bottom'
321
391
  */
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>;
392
+ readonly legendPosition: import("@angular/core").InputSignal<WrChartLegendPosition>;
393
+ /**
394
+ * A request for the chart's data is in flight: the bars give way to the loading
395
+ * message, over the grid and the axis the chart had. @default false
396
+ */
397
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
398
+ /**
399
+ * The chart's data failed to load: the bars give way to the error message. `loading`
400
+ * wins while both are set. @default false
401
+ */
402
+ readonly error: import("@angular/core").InputSignalWithTransform<boolean, any>;
403
+ /** The message shown when there is nothing to draw. Falls back to `chart.empty`, then `'No data'`. */
404
+ readonly emptyLabel: import("@angular/core").InputSignal<string | null>;
405
+ /** The message shown while `loading`. Falls back to `chart.loading`, then `'Loading…'`. */
406
+ readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
407
+ /** The message shown on `error`. Falls back to `chart.error`, then `'Could not load'`. */
408
+ readonly errorLabel: import("@angular/core").InputSignal<string | null>;
325
409
  /**
326
410
  * Make each legend row a toggle button that shows and hides its series, through
327
411
  * `hiddenSeries` — or its line, through `hiddenLines`. A row is a
@@ -377,10 +461,15 @@ export declare class WrBarChart {
377
461
  * abbreviate.
378
462
  */
379
463
  private readonly numbers;
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;
464
+ private readonly host;
465
+ /** The track every bar, the grid and each line is drawn in: the box of the value axis. */
466
+ private readonly trackEl;
467
+ /** The row of category names under the bars, standing up: what the names are thinned against. */
468
+ private readonly labelsEl;
469
+ /** How wide the row of category names is, in px: 0 until it is laid out, and lying down. */
470
+ private readonly labelsSize;
471
+ /** How wide the longest category name is, in px: 0 until it is measured. */
472
+ private readonly labelWidth;
384
473
  constructor();
385
474
  /** Whether the chart draws `series` rather than `data`. */
386
475
  protected readonly seriesMode: import("@angular/core").Signal<boolean>;
@@ -425,15 +514,15 @@ export declare class WrBarChart {
425
514
  text: string;
426
515
  color: string;
427
516
  /**
428
- * The bar's share of the plot, from 0 to 1, written as its `flex-grow` — see
429
- * the stylesheet for why a grow factor and not a `height` percentage.
517
+ * How much of the value axis the bar covers, from 0 to 1. The stylesheet draws
518
+ * the bar from it and from `start`, as a transform.
430
519
  */
431
520
  share: number;
432
521
  /** Whether the bar hangs below zero, beside `lines`: its value is printed past its lower end. */
433
522
  below: boolean;
434
523
  /**
435
524
  * 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.
525
+ * own end for one below it.
437
526
  */
438
527
  start: number;
439
528
  /** Where the bar ends along the value axis, from its minimum: what the value printed past it is placed by. */
@@ -472,8 +561,23 @@ export declare class WrBarChart {
472
561
  * to 1.
473
562
  */
474
563
  private readonly seriesScale;
475
- /** The value axis the chart draws on: `series`' or `data`'s. */
564
+ /**
565
+ * The value axis the chart draws on: `series`' or `data`'s, and the ticks its grid and
566
+ * its scale are drawn at.
567
+ *
568
+ * With the grid or the axis shown, the ends are snapped outward to a round step (1, 2,
569
+ * 2.5 or 5 times a power of ten), so every gridline is a number a reader can do
570
+ * arithmetic against. The top stops at the data's peak when that is already a tick: a
571
+ * bar ending on the top gridline is not cut off, the way a line ending on the frame
572
+ * reads. An explicit `max` is the top as given, with the ticks that fit under it. With
573
+ * neither shown there is nothing to snap for, and the axis is the data's own extent,
574
+ * so the longest bar reaches the end of the plot.
575
+ */
476
576
  private readonly scale;
577
+ /** The ticks of the value axis, from the top down: where each is, and the label beside it. */
578
+ protected readonly ticks: import("@angular/core").Signal<readonly Tick[]>;
579
+ /** The longest tick labels, as hidden copies the axis gutter takes its width from. */
580
+ protected readonly tickProbes: import("@angular/core").Signal<string[]>;
477
581
  /** A value's place along the value axis, as a share of it from its minimum, held to the axis. */
478
582
  private at;
479
583
  /**
@@ -492,14 +596,23 @@ export declare class WrBarChart {
492
596
  */
493
597
  protected readonly zero: import("@angular/core").Signal<number>;
494
598
  /**
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.
599
+ * The longest values printed past each end of the axis: the room the plot keeps beyond
600
+ * that end is a hidden copy of these, so it is as large as the largest, in the value's
601
+ * own font. The few longest by length, not every value: ten thousand bars used to
602
+ * keep ten thousand hidden copies to learn the width of one.
498
603
  */
499
604
  protected readonly rooms: import("@angular/core").Signal<{
500
605
  max: string[];
501
606
  min: string[];
502
607
  }>;
608
+ /** The longest category names, as hidden copies the label row is thinned against. */
609
+ protected readonly labelProbes: import("@angular/core").Signal<string[]>;
610
+ /**
611
+ * How many categories each printed name stands for, standing up: 1 while the longest
612
+ * name fits its own band, 2 to print every second one, and so on, so a long list
613
+ * keeps whole names rather than a row of ellipses. 1 until the row is measured.
614
+ */
615
+ protected readonly labelStep: import("@angular/core").Signal<number>;
503
616
  /**
504
617
  * Every line shown, as the chart draws it: its segments and its points, placed in the
505
618
  * line's own box. The box runs from the middle of the first category to the middle of
@@ -518,10 +631,24 @@ export declare class WrBarChart {
518
631
  */
519
632
  protected readonly lineReach: import("@angular/core").Signal<number>;
520
633
  /**
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.
634
+ * The legend's rows: every series, keyed by a dot in its colour, then every line, keyed
635
+ * by its dash and its marker - hidden ones included.
523
636
  */
524
637
  protected readonly legendItems: import("@angular/core").Signal<readonly WrChartLegendItem[]>;
638
+ /**
639
+ * Whether the chart draws its legend: with `series` or beside `lines`, unless
640
+ * `legendPosition` is `none` or `showLegend` is off. Under `showLegend="auto"` a single
641
+ * series with no line has nothing to tell apart, and draws none.
642
+ */
643
+ protected readonly legendShown: import("@angular/core").Signal<boolean>;
644
+ /** Whether the legend comes before the plot, in the DOM as on screen: above it, or at inline start. */
645
+ protected readonly legendFirst: import("@angular/core").Signal<boolean>;
646
+ /** Whether the legend sits beside the plot rather than above or below it. */
647
+ protected readonly legendSide: import("@angular/core").Signal<boolean>;
648
+ /** Whether the chart has nothing to draw: no datum, or no category. */
649
+ private readonly empty;
650
+ /** What the chart shows in place of its bars, or `null` while it draws them. */
651
+ protected readonly state: import("@angular/core").Signal<import("ngwr/charts/core").WrChartStateView | null>;
525
652
  /**
526
653
  * The legend's hidden rows. Its rows are the series and then the lines, so a hidden
527
654
  * line is its position in `lines` past the series' count. A position `hiddenSeries`
@@ -544,30 +671,35 @@ export declare class WrBarChart {
544
671
  * One tooltip for the whole chart, with the whole figure — the label above the bar
545
672
  * may be compact, and the tooltip is where a reader goes for the exact one.
546
673
  *
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.
552
- * The bar is the anchor element itself, so an open chip follows it through the
553
- * height transition a data change starts.
674
+ * With `data` it points at the END of the bar - above it standing up, below it when
675
+ * there is no room - rather than at the column, which is the full height of the plot
676
+ * and would put the chip above every bar alike. A bar with nothing to draw (zero, or a
677
+ * negative value without `lines`) points at the zero line; a missing value opens none,
678
+ * unless a line has a value in its category.
554
679
  *
555
680
  * 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.
681
+ * shown with a value there, pointing at the end of the longest of its bars. A category
682
+ * no series shown has a value in opens none.
558
683
  *
559
684
  * Each line shown with a value in the category adds a row after the bars', and the box
560
685
  * the chip points at takes in the line's point too, so the chip covers neither. Beside
561
686
  * `data`, the chip keeps the bar's label and value as its heading, over the lines' rows.
687
+ *
688
+ * The box is worked out from the shares the chart wrote and the track's own box, not
689
+ * read off the bars: a bar is moved by a transform, and its box mid-transition is not
690
+ * where it is going. Two measurements per hover, however many bars the category has.
562
691
  */
563
692
  protected readonly tip: import("ngwr/popover").WrChartTooltip;
564
693
  private barTip;
565
694
  /** A row per line shown with a value in category `index`, after the bars' rows. */
566
695
  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;
696
+ /**
697
+ * The box round a stretch of the value axis in category `index`, in viewport px, as a
698
+ * tooltip anchor: across, the category's own box; along the value axis, from share
699
+ * `from` to share `to` of the track, widened to every line's point in the category and
700
+ * by how far a marker reaches past its point. `null` while the category is not drawn.
701
+ */
702
+ private sectionBox;
571
703
  private categoryTip;
572
704
  static ɵfac: i0.ɵɵFactoryDeclaration<WrBarChart, never>;
573
705
  static ɵcmp: i0.ɵɵComponentDeclaration<WrBarChart, "wr-bar-chart", never, {
@@ -611,6 +743,16 @@ export declare class WrBarChart {
611
743
  "required": false;
612
744
  "isSignal": true;
613
745
  };
746
+ "showGrid": {
747
+ "alias": "showGrid";
748
+ "required": false;
749
+ "isSignal": true;
750
+ };
751
+ "showAxis": {
752
+ "alias": "showAxis";
753
+ "required": false;
754
+ "isSignal": true;
755
+ };
614
756
  "showValues": {
615
757
  "alias": "showValues";
616
758
  "required": false;
@@ -636,6 +778,36 @@ export declare class WrBarChart {
636
778
  "required": false;
637
779
  "isSignal": true;
638
780
  };
781
+ "legendPosition": {
782
+ "alias": "legendPosition";
783
+ "required": false;
784
+ "isSignal": true;
785
+ };
786
+ "loading": {
787
+ "alias": "loading";
788
+ "required": false;
789
+ "isSignal": true;
790
+ };
791
+ "error": {
792
+ "alias": "error";
793
+ "required": false;
794
+ "isSignal": true;
795
+ };
796
+ "emptyLabel": {
797
+ "alias": "emptyLabel";
798
+ "required": false;
799
+ "isSignal": true;
800
+ };
801
+ "loadingLabel": {
802
+ "alias": "loadingLabel";
803
+ "required": false;
804
+ "isSignal": true;
805
+ };
806
+ "errorLabel": {
807
+ "alias": "errorLabel";
808
+ "required": false;
809
+ "isSignal": true;
810
+ };
639
811
  "toggleableLegend": {
640
812
  "alias": "toggleableLegend";
641
813
  "required": false;
@@ -15,7 +15,7 @@ interface WrBoxplotChartHarnessStats {
15
15
  readonly q3: number;
16
16
  /** Where the upper whisker ends. */
17
17
  readonly max: number;
18
- /** The outliers drawn, ascending. */
18
+ /** The outliers drawn, ascending: a group with more than a hundred on one side of its box draws a sample of them. */
19
19
  readonly outliers: readonly number[];
20
20
  }
21
21
  /**
@@ -128,7 +128,14 @@ export declare class WrBoxplotChartHarness extends ComponentHarness {
128
128
  getGroups(): Promise<WrBoxplotChartHarnessGroup[]>;
129
129
  /** Whether the gridlines are drawn (`showGrid`). */
130
130
  hasGrid(): Promise<boolean>;
131
- /** The value axis' tick labels, top to bottom; `[]` with `showGrid` off. */
131
+ /** Whether the value axis' scale is printed beside the plot (`showAxis`). */
132
+ hasAxis(): Promise<boolean>;
133
+ /**
134
+ * The message the chart shows in place of its boxes: "No data" with nothing to draw, or
135
+ * the loading or error message. `null` while it draws its boxes.
136
+ */
137
+ getStateLabel(): Promise<string | null>;
138
+ /** The value axis' tick labels, top to bottom; `[]` with `showAxis` off. */
132
139
  getYTicks(): Promise<string[]>;
133
140
  /**
134
141
  * The axes' names as drawn. The chart draws a name only when `xLabel` or `yLabel` is