@contraagent/elements 0.0.0-stage → 0.1.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 (609) hide show
  1. package/README.md +72 -2
  2. package/custom-elements.json +4260 -0
  3. package/dist/charts/bar-chart.d.ts +32 -0
  4. package/dist/charts/bar-chart.d.ts.map +1 -0
  5. package/dist/charts/bar-chart.js +70 -0
  6. package/dist/charts/bar-chart.js.map +1 -0
  7. package/dist/charts/base.d.ts +48 -0
  8. package/dist/charts/base.d.ts.map +1 -0
  9. package/dist/charts/base.js +203 -0
  10. package/dist/charts/base.js.map +1 -0
  11. package/dist/charts/column-chart.d.ts +42 -0
  12. package/dist/charts/column-chart.d.ts.map +1 -0
  13. package/dist/charts/column-chart.js +146 -0
  14. package/dist/charts/column-chart.js.map +1 -0
  15. package/dist/charts/heatmap.d.ts +42 -0
  16. package/dist/charts/heatmap.d.ts.map +1 -0
  17. package/dist/charts/heatmap.js +124 -0
  18. package/dist/charts/heatmap.js.map +1 -0
  19. package/dist/charts/index.d.ts +9 -0
  20. package/dist/charts/index.d.ts.map +1 -0
  21. package/dist/charts/index.js +11 -0
  22. package/dist/charts/index.js.map +1 -0
  23. package/dist/charts/line-chart.d.ts +36 -0
  24. package/dist/charts/line-chart.d.ts.map +1 -0
  25. package/dist/charts/line-chart.js +118 -0
  26. package/dist/charts/line-chart.js.map +1 -0
  27. package/dist/charts/scale.d.ts +32 -0
  28. package/dist/charts/scale.d.ts.map +1 -0
  29. package/dist/charts/scale.js +50 -0
  30. package/dist/charts/scale.js.map +1 -0
  31. package/dist/charts/state-grid.d.ts +64 -0
  32. package/dist/charts/state-grid.d.ts.map +1 -0
  33. package/dist/charts/state-grid.js +223 -0
  34. package/dist/charts/state-grid.js.map +1 -0
  35. package/dist/charts/types.d.ts +34 -0
  36. package/dist/charts/types.d.ts.map +1 -0
  37. package/dist/charts/types.js +11 -0
  38. package/dist/charts/types.js.map +1 -0
  39. package/dist/checks/check-table.d.ts +32 -0
  40. package/dist/checks/check-table.d.ts.map +1 -0
  41. package/dist/checks/check-table.js +94 -0
  42. package/dist/checks/check-table.js.map +1 -0
  43. package/dist/checks/index.d.ts +4 -0
  44. package/dist/checks/index.d.ts.map +1 -0
  45. package/dist/checks/index.js +6 -0
  46. package/dist/checks/index.js.map +1 -0
  47. package/dist/checks/styles.d.ts +5 -0
  48. package/dist/checks/styles.d.ts.map +1 -0
  49. package/dist/checks/styles.js +30 -0
  50. package/dist/checks/styles.js.map +1 -0
  51. package/dist/checks/types.d.ts +35 -0
  52. package/dist/checks/types.d.ts.map +1 -0
  53. package/dist/checks/types.js +12 -0
  54. package/dist/checks/types.js.map +1 -0
  55. package/dist/core/clock.d.ts +20 -0
  56. package/dist/core/clock.d.ts.map +1 -0
  57. package/dist/core/clock.js +45 -0
  58. package/dist/core/clock.js.map +1 -0
  59. package/dist/core/define.d.ts +3 -0
  60. package/dist/core/define.d.ts.map +1 -0
  61. package/dist/core/define.js +8 -0
  62. package/dist/core/define.js.map +1 -0
  63. package/dist/core/events.d.ts +78 -0
  64. package/dist/core/events.d.ts.map +1 -0
  65. package/dist/core/events.js +8 -0
  66. package/dist/core/events.js.map +1 -0
  67. package/dist/core/format.d.ts +8 -0
  68. package/dist/core/format.d.ts.map +1 -0
  69. package/dist/core/format.js +28 -0
  70. package/dist/core/format.js.map +1 -0
  71. package/dist/core/frame.d.ts +4 -0
  72. package/dist/core/frame.d.ts.map +1 -0
  73. package/dist/core/frame.js +5 -0
  74. package/dist/core/frame.js.map +1 -0
  75. package/dist/core/strings.d.ts +3 -0
  76. package/dist/core/strings.d.ts.map +1 -0
  77. package/dist/core/strings.js +14 -0
  78. package/dist/core/strings.js.map +1 -0
  79. package/dist/core/tone.d.ts +8 -0
  80. package/dist/core/tone.d.ts.map +1 -0
  81. package/dist/core/tone.js +9 -0
  82. package/dist/core/tone.js.map +1 -0
  83. package/dist/count/count.d.ts +22 -0
  84. package/dist/count/count.d.ts.map +1 -0
  85. package/dist/count/count.js +60 -0
  86. package/dist/count/count.js.map +1 -0
  87. package/dist/count/elapsed.d.ts +18 -0
  88. package/dist/count/elapsed.d.ts.map +1 -0
  89. package/dist/count/elapsed.js +33 -0
  90. package/dist/count/elapsed.js.map +1 -0
  91. package/dist/count/index.d.ts +3 -0
  92. package/dist/count/index.d.ts.map +1 -0
  93. package/dist/count/index.js +5 -0
  94. package/dist/count/index.js.map +1 -0
  95. package/dist/define/all.d.ts +13 -0
  96. package/dist/define/all.d.ts.map +1 -0
  97. package/dist/define/all.js +14 -0
  98. package/dist/define/all.js.map +1 -0
  99. package/dist/define/charts.d.ts +8 -0
  100. package/dist/define/charts.d.ts.map +1 -0
  101. package/dist/define/charts.js +15 -0
  102. package/dist/define/charts.js.map +1 -0
  103. package/dist/define/check-table.d.ts +4 -0
  104. package/dist/define/check-table.d.ts.map +1 -0
  105. package/dist/define/check-table.js +7 -0
  106. package/dist/define/check-table.js.map +1 -0
  107. package/dist/define/count.d.ts +5 -0
  108. package/dist/define/count.d.ts.map +1 -0
  109. package/dist/define/count.js +9 -0
  110. package/dist/define/count.js.map +1 -0
  111. package/dist/define/data-table.d.ts +4 -0
  112. package/dist/define/data-table.d.ts.map +1 -0
  113. package/dist/define/data-table.js +7 -0
  114. package/dist/define/data-table.js.map +1 -0
  115. package/dist/define/graph.d.ts +6 -0
  116. package/dist/define/graph.d.ts.map +1 -0
  117. package/dist/define/graph.js +9 -0
  118. package/dist/define/graph.js.map +1 -0
  119. package/dist/define/json-tree.d.ts +4 -0
  120. package/dist/define/json-tree.d.ts.map +1 -0
  121. package/dist/define/json-tree.js +7 -0
  122. package/dist/define/json-tree.js.map +1 -0
  123. package/dist/define/lanes.d.ts +4 -0
  124. package/dist/define/lanes.d.ts.map +1 -0
  125. package/dist/define/lanes.js +7 -0
  126. package/dist/define/lanes.js.map +1 -0
  127. package/dist/define/markdown.d.ts +4 -0
  128. package/dist/define/markdown.d.ts.map +1 -0
  129. package/dist/define/markdown.js +7 -0
  130. package/dist/define/markdown.js.map +1 -0
  131. package/dist/define/matrix.d.ts +4 -0
  132. package/dist/define/matrix.d.ts.map +1 -0
  133. package/dist/define/matrix.js +7 -0
  134. package/dist/define/matrix.js.map +1 -0
  135. package/dist/define/segmented.d.ts +4 -0
  136. package/dist/define/segmented.d.ts.map +1 -0
  137. package/dist/define/segmented.js +7 -0
  138. package/dist/define/segmented.js.map +1 -0
  139. package/dist/define/tiles.d.ts +5 -0
  140. package/dist/define/tiles.d.ts.map +1 -0
  141. package/dist/define/tiles.js +9 -0
  142. package/dist/define/tiles.js.map +1 -0
  143. package/dist/define/transcript.d.ts +4 -0
  144. package/dist/define/transcript.d.ts.map +1 -0
  145. package/dist/define/transcript.js +7 -0
  146. package/dist/define/transcript.js.map +1 -0
  147. package/dist/graph/arrange.d.ts +43 -0
  148. package/dist/graph/arrange.d.ts.map +1 -0
  149. package/dist/graph/arrange.js +390 -0
  150. package/dist/graph/arrange.js.map +1 -0
  151. package/dist/graph/card.d.ts +71 -0
  152. package/dist/graph/card.d.ts.map +1 -0
  153. package/dist/graph/card.js +185 -0
  154. package/dist/graph/card.js.map +1 -0
  155. package/dist/graph/host.d.ts +82 -0
  156. package/dist/graph/host.d.ts.map +1 -0
  157. package/dist/graph/host.js +21 -0
  158. package/dist/graph/host.js.map +1 -0
  159. package/dist/graph/icons.d.ts +7 -0
  160. package/dist/graph/icons.d.ts.map +1 -0
  161. package/dist/graph/icons.js +18 -0
  162. package/dist/graph/icons.js.map +1 -0
  163. package/dist/graph/index.d.ts +15 -0
  164. package/dist/graph/index.d.ts.map +1 -0
  165. package/dist/graph/index.js +17 -0
  166. package/dist/graph/index.js.map +1 -0
  167. package/dist/graph/layered-graph.d.ts +226 -0
  168. package/dist/graph/layered-graph.d.ts.map +1 -0
  169. package/dist/graph/layered-graph.js +396 -0
  170. package/dist/graph/layered-graph.js.map +1 -0
  171. package/dist/graph/layout.d.ts +80 -0
  172. package/dist/graph/layout.d.ts.map +1 -0
  173. package/dist/graph/layout.js +264 -0
  174. package/dist/graph/layout.js.map +1 -0
  175. package/dist/graph/marks.d.ts +24 -0
  176. package/dist/graph/marks.d.ts.map +1 -0
  177. package/dist/graph/marks.js +38 -0
  178. package/dist/graph/marks.js.map +1 -0
  179. package/dist/graph/nav.d.ts +14 -0
  180. package/dist/graph/nav.d.ts.map +1 -0
  181. package/dist/graph/nav.js +14 -0
  182. package/dist/graph/nav.js.map +1 -0
  183. package/dist/graph/pan-zoom.d.ts +80 -0
  184. package/dist/graph/pan-zoom.d.ts.map +1 -0
  185. package/dist/graph/pan-zoom.js +191 -0
  186. package/dist/graph/pan-zoom.js.map +1 -0
  187. package/dist/graph/paths.d.ts +9 -0
  188. package/dist/graph/paths.d.ts.map +1 -0
  189. package/dist/graph/paths.js +44 -0
  190. package/dist/graph/paths.js.map +1 -0
  191. package/dist/graph/place-card.d.ts +36 -0
  192. package/dist/graph/place-card.d.ts.map +1 -0
  193. package/dist/graph/place-card.js +68 -0
  194. package/dist/graph/place-card.js.map +1 -0
  195. package/dist/graph/strings.d.ts +50 -0
  196. package/dist/graph/strings.d.ts.map +1 -0
  197. package/dist/graph/strings.js +37 -0
  198. package/dist/graph/strings.js.map +1 -0
  199. package/dist/graph/styles.d.ts +2 -0
  200. package/dist/graph/styles.d.ts.map +1 -0
  201. package/dist/graph/styles.js +203 -0
  202. package/dist/graph/styles.js.map +1 -0
  203. package/dist/graph/types.d.ts +184 -0
  204. package/dist/graph/types.d.ts.map +1 -0
  205. package/dist/graph/types.js +2 -0
  206. package/dist/graph/types.js.map +1 -0
  207. package/dist/graph/view.d.ts +17 -0
  208. package/dist/graph/view.d.ts.map +1 -0
  209. package/dist/graph/view.js +21 -0
  210. package/dist/graph/view.js.map +1 -0
  211. package/dist/graph/views/dag.d.ts +10 -0
  212. package/dist/graph/views/dag.d.ts.map +1 -0
  213. package/dist/graph/views/dag.js +292 -0
  214. package/dist/graph/views/dag.js.map +1 -0
  215. package/dist/graph/views/foot.d.ts +8 -0
  216. package/dist/graph/views/foot.d.ts.map +1 -0
  217. package/dist/graph/views/foot.js +103 -0
  218. package/dist/graph/views/foot.js.map +1 -0
  219. package/dist/graph/views/node-table.d.ts +17 -0
  220. package/dist/graph/views/node-table.d.ts.map +1 -0
  221. package/dist/graph/views/node-table.js +80 -0
  222. package/dist/graph/views/node-table.js.map +1 -0
  223. package/dist/index.d.ts +22 -0
  224. package/dist/index.d.ts.map +1 -0
  225. package/dist/index.js +26 -0
  226. package/dist/index.js.map +1 -0
  227. package/dist/json/index.d.ts +2 -0
  228. package/dist/json/index.d.ts.map +1 -0
  229. package/dist/json/index.js +3 -0
  230. package/dist/json/index.js.map +1 -0
  231. package/dist/json/json-tree.d.ts +21 -0
  232. package/dist/json/json-tree.d.ts.map +1 -0
  233. package/dist/json/json-tree.js +51 -0
  234. package/dist/json/json-tree.js.map +1 -0
  235. package/dist/lanes/index.d.ts +5 -0
  236. package/dist/lanes/index.d.ts.map +1 -0
  237. package/dist/lanes/index.js +7 -0
  238. package/dist/lanes/index.js.map +1 -0
  239. package/dist/lanes/lanes.d.ts +56 -0
  240. package/dist/lanes/lanes.d.ts.map +1 -0
  241. package/dist/lanes/lanes.js +160 -0
  242. package/dist/lanes/lanes.js.map +1 -0
  243. package/dist/lanes/stack.d.ts +26 -0
  244. package/dist/lanes/stack.d.ts.map +1 -0
  245. package/dist/lanes/stack.js +43 -0
  246. package/dist/lanes/stack.js.map +1 -0
  247. package/dist/lanes/styles.d.ts +2 -0
  248. package/dist/lanes/styles.d.ts.map +1 -0
  249. package/dist/lanes/styles.js +30 -0
  250. package/dist/lanes/styles.js.map +1 -0
  251. package/dist/lanes/types.d.ts +41 -0
  252. package/dist/lanes/types.d.ts.map +1 -0
  253. package/dist/lanes/types.js +6 -0
  254. package/dist/lanes/types.js.map +1 -0
  255. package/dist/markdown/cae-markdown.d.ts +37 -0
  256. package/dist/markdown/cae-markdown.d.ts.map +1 -0
  257. package/dist/markdown/cae-markdown.js +68 -0
  258. package/dist/markdown/cae-markdown.js.map +1 -0
  259. package/dist/markdown/highlight.d.ts +5 -0
  260. package/dist/markdown/highlight.d.ts.map +1 -0
  261. package/dist/markdown/highlight.js +86 -0
  262. package/dist/markdown/highlight.js.map +1 -0
  263. package/dist/markdown/index.d.ts +4 -0
  264. package/dist/markdown/index.d.ts.map +1 -0
  265. package/dist/markdown/index.js +6 -0
  266. package/dist/markdown/index.js.map +1 -0
  267. package/dist/markdown/markdown.d.ts +4 -0
  268. package/dist/markdown/markdown.d.ts.map +1 -0
  269. package/dist/markdown/markdown.js +105 -0
  270. package/dist/markdown/markdown.js.map +1 -0
  271. package/dist/matrix/grid-step.d.ts +8 -0
  272. package/dist/matrix/grid-step.d.ts.map +1 -0
  273. package/dist/matrix/grid-step.js +69 -0
  274. package/dist/matrix/grid-step.js.map +1 -0
  275. package/dist/matrix/index.d.ts +5 -0
  276. package/dist/matrix/index.d.ts.map +1 -0
  277. package/dist/matrix/index.js +7 -0
  278. package/dist/matrix/index.js.map +1 -0
  279. package/dist/matrix/mark-matrix.d.ts +97 -0
  280. package/dist/matrix/mark-matrix.d.ts.map +1 -0
  281. package/dist/matrix/mark-matrix.js +272 -0
  282. package/dist/matrix/mark-matrix.js.map +1 -0
  283. package/dist/matrix/styles.d.ts +4 -0
  284. package/dist/matrix/styles.d.ts.map +1 -0
  285. package/dist/matrix/styles.js +47 -0
  286. package/dist/matrix/styles.js.map +1 -0
  287. package/dist/matrix/types.d.ts +79 -0
  288. package/dist/matrix/types.d.ts.map +1 -0
  289. package/dist/matrix/types.js +5 -0
  290. package/dist/matrix/types.js.map +1 -0
  291. package/dist/primitives/fact-line.d.ts +14 -0
  292. package/dist/primitives/fact-line.d.ts.map +1 -0
  293. package/dist/primitives/fact-line.js +18 -0
  294. package/dist/primitives/fact-line.js.map +1 -0
  295. package/dist/primitives/icon.d.ts +14 -0
  296. package/dist/primitives/icon.d.ts.map +1 -0
  297. package/dist/primitives/icon.js +19 -0
  298. package/dist/primitives/icon.js.map +1 -0
  299. package/dist/primitives/index.d.ts +10 -0
  300. package/dist/primitives/index.d.ts.map +1 -0
  301. package/dist/primitives/index.js +13 -0
  302. package/dist/primitives/index.js.map +1 -0
  303. package/dist/primitives/legend.d.ts +28 -0
  304. package/dist/primitives/legend.d.ts.map +1 -0
  305. package/dist/primitives/legend.js +28 -0
  306. package/dist/primitives/legend.js.map +1 -0
  307. package/dist/primitives/pill.d.ts +23 -0
  308. package/dist/primitives/pill.d.ts.map +1 -0
  309. package/dist/primitives/pill.js +40 -0
  310. package/dist/primitives/pill.js.map +1 -0
  311. package/dist/primitives/roving-focus.d.ts +47 -0
  312. package/dist/primitives/roving-focus.d.ts.map +1 -0
  313. package/dist/primitives/roving-focus.js +111 -0
  314. package/dist/primitives/roving-focus.js.map +1 -0
  315. package/dist/primitives/segmented.d.ts +41 -0
  316. package/dist/primitives/segmented.d.ts.map +1 -0
  317. package/dist/primitives/segmented.js +88 -0
  318. package/dist/primitives/segmented.js.map +1 -0
  319. package/dist/primitives/share-bar.d.ts +37 -0
  320. package/dist/primitives/share-bar.d.ts.map +1 -0
  321. package/dist/primitives/share-bar.js +69 -0
  322. package/dist/primitives/share-bar.js.map +1 -0
  323. package/dist/primitives/states.d.ts +19 -0
  324. package/dist/primitives/states.d.ts.map +1 -0
  325. package/dist/primitives/states.js +11 -0
  326. package/dist/primitives/states.js.map +1 -0
  327. package/dist/primitives/window.d.ts +24 -0
  328. package/dist/primitives/window.d.ts.map +1 -0
  329. package/dist/primitives/window.js +56 -0
  330. package/dist/primitives/window.js.map +1 -0
  331. package/dist/styles/chips.d.ts +2 -0
  332. package/dist/styles/chips.d.ts.map +1 -0
  333. package/dist/styles/chips.js +18 -0
  334. package/dist/styles/chips.js.map +1 -0
  335. package/dist/styles/facts.d.ts +2 -0
  336. package/dist/styles/facts.d.ts.map +1 -0
  337. package/dist/styles/facts.js +7 -0
  338. package/dist/styles/facts.js.map +1 -0
  339. package/dist/styles/index.d.ts +16 -0
  340. package/dist/styles/index.d.ts.map +1 -0
  341. package/dist/styles/index.js +15 -0
  342. package/dist/styles/index.js.map +1 -0
  343. package/dist/styles/layout.d.ts +2 -0
  344. package/dist/styles/layout.d.ts.map +1 -0
  345. package/dist/styles/layout.js +33 -0
  346. package/dist/styles/layout.js.map +1 -0
  347. package/dist/styles/marks.d.ts +2 -0
  348. package/dist/styles/marks.d.ts.map +1 -0
  349. package/dist/styles/marks.js +30 -0
  350. package/dist/styles/marks.js.map +1 -0
  351. package/dist/styles/meter.d.ts +3 -0
  352. package/dist/styles/meter.d.ts.map +1 -0
  353. package/dist/styles/meter.js +9 -0
  354. package/dist/styles/meter.js.map +1 -0
  355. package/dist/styles/motion.d.ts +2 -0
  356. package/dist/styles/motion.d.ts.map +1 -0
  357. package/dist/styles/motion.js +27 -0
  358. package/dist/styles/motion.js.map +1 -0
  359. package/dist/styles/prose.d.ts +3 -0
  360. package/dist/styles/prose.d.ts.map +1 -0
  361. package/dist/styles/prose.js +59 -0
  362. package/dist/styles/prose.js.map +1 -0
  363. package/dist/styles/reset.d.ts +2 -0
  364. package/dist/styles/reset.d.ts.map +1 -0
  365. package/dist/styles/reset.js +13 -0
  366. package/dist/styles/reset.js.map +1 -0
  367. package/dist/styles/status.d.ts +2 -0
  368. package/dist/styles/status.d.ts.map +1 -0
  369. package/dist/styles/status.js +52 -0
  370. package/dist/styles/status.js.map +1 -0
  371. package/dist/styles/text.d.ts +2 -0
  372. package/dist/styles/text.d.ts.map +1 -0
  373. package/dist/styles/text.js +21 -0
  374. package/dist/styles/text.js.map +1 -0
  375. package/dist/styles/tokens.d.ts +8 -0
  376. package/dist/styles/tokens.d.ts.map +1 -0
  377. package/dist/styles/tokens.js +32 -0
  378. package/dist/styles/tokens.js.map +1 -0
  379. package/dist/table/data-table.d.ts +106 -0
  380. package/dist/table/data-table.d.ts.map +1 -0
  381. package/dist/table/data-table.js +408 -0
  382. package/dist/table/data-table.js.map +1 -0
  383. package/dist/table/index.d.ts +4 -0
  384. package/dist/table/index.d.ts.map +1 -0
  385. package/dist/table/index.js +6 -0
  386. package/dist/table/index.js.map +1 -0
  387. package/dist/table/styles.d.ts +2 -0
  388. package/dist/table/styles.d.ts.map +1 -0
  389. package/dist/table/styles.js +32 -0
  390. package/dist/table/styles.js.map +1 -0
  391. package/dist/table/types.d.ts +48 -0
  392. package/dist/table/types.d.ts.map +1 -0
  393. package/dist/table/types.js +30 -0
  394. package/dist/table/types.js.map +1 -0
  395. package/dist/themes/boot.d.ts +7 -0
  396. package/dist/themes/boot.d.ts.map +1 -0
  397. package/dist/themes/boot.js +14 -0
  398. package/dist/themes/boot.js.map +1 -0
  399. package/dist/themes/choice.d.ts +16 -0
  400. package/dist/themes/choice.d.ts.map +1 -0
  401. package/dist/themes/choice.js +45 -0
  402. package/dist/themes/choice.js.map +1 -0
  403. package/dist/themes/data.d.ts +43 -0
  404. package/dist/themes/data.d.ts.map +1 -0
  405. package/dist/themes/data.js +408 -0
  406. package/dist/themes/data.js.map +1 -0
  407. package/dist/themes/index.d.ts +7 -0
  408. package/dist/themes/index.d.ts.map +1 -0
  409. package/dist/themes/index.js +11 -0
  410. package/dist/themes/index.js.map +1 -0
  411. package/dist/themes/sheet.d.ts +16 -0
  412. package/dist/themes/sheet.d.ts.map +1 -0
  413. package/dist/themes/sheet.js +28 -0
  414. package/dist/themes/sheet.js.map +1 -0
  415. package/dist/themes/token-meanings.d.ts +3 -0
  416. package/dist/themes/token-meanings.d.ts.map +1 -0
  417. package/dist/themes/token-meanings.js +67 -0
  418. package/dist/themes/token-meanings.js.map +1 -0
  419. package/dist/themes/tokens-list.d.ts +14 -0
  420. package/dist/themes/tokens-list.d.ts.map +1 -0
  421. package/dist/themes/tokens-list.js +69 -0
  422. package/dist/themes/tokens-list.js.map +1 -0
  423. package/dist/tiles/index.d.ts +4 -0
  424. package/dist/tiles/index.d.ts.map +1 -0
  425. package/dist/tiles/index.js +6 -0
  426. package/dist/tiles/index.js.map +1 -0
  427. package/dist/tiles/stat-tiles.d.ts +40 -0
  428. package/dist/tiles/stat-tiles.d.ts.map +1 -0
  429. package/dist/tiles/stat-tiles.js +99 -0
  430. package/dist/tiles/stat-tiles.js.map +1 -0
  431. package/dist/tiles/styles.d.ts +2 -0
  432. package/dist/tiles/styles.d.ts.map +1 -0
  433. package/dist/tiles/styles.js +23 -0
  434. package/dist/tiles/styles.js.map +1 -0
  435. package/dist/tiles/types.d.ts +22 -0
  436. package/dist/tiles/types.d.ts.map +1 -0
  437. package/dist/tiles/types.js +2 -0
  438. package/dist/tiles/types.js.map +1 -0
  439. package/dist/transcript/follow-scroll.d.ts +21 -0
  440. package/dist/transcript/follow-scroll.d.ts.map +1 -0
  441. package/dist/transcript/follow-scroll.js +76 -0
  442. package/dist/transcript/follow-scroll.js.map +1 -0
  443. package/dist/transcript/index.d.ts +5 -0
  444. package/dist/transcript/index.d.ts.map +1 -0
  445. package/dist/transcript/index.js +7 -0
  446. package/dist/transcript/index.js.map +1 -0
  447. package/dist/transcript/styles.d.ts +2 -0
  448. package/dist/transcript/styles.d.ts.map +1 -0
  449. package/dist/transcript/styles.js +114 -0
  450. package/dist/transcript/styles.js.map +1 -0
  451. package/dist/transcript/tags.d.ts +6 -0
  452. package/dist/transcript/tags.d.ts.map +1 -0
  453. package/dist/transcript/tags.js +13 -0
  454. package/dist/transcript/tags.js.map +1 -0
  455. package/dist/transcript/tool-card.d.ts +16 -0
  456. package/dist/transcript/tool-card.d.ts.map +1 -0
  457. package/dist/transcript/tool-card.js +87 -0
  458. package/dist/transcript/tool-card.js.map +1 -0
  459. package/dist/transcript/transcript.d.ts +103 -0
  460. package/dist/transcript/transcript.d.ts.map +1 -0
  461. package/dist/transcript/transcript.js +397 -0
  462. package/dist/transcript/transcript.js.map +1 -0
  463. package/dist/transcript/types.d.ts +161 -0
  464. package/dist/transcript/types.d.ts.map +1 -0
  465. package/dist/transcript/types.js +25 -0
  466. package/dist/transcript/types.js.map +1 -0
  467. package/docs/charts.md +58 -0
  468. package/docs/check-table.md +40 -0
  469. package/docs/data-table.md +57 -0
  470. package/docs/examples/charts.ts +61 -0
  471. package/docs/examples/check-table.ts +19 -0
  472. package/docs/examples/ci-pipeline.ts +271 -0
  473. package/docs/examples/data-table.ts +39 -0
  474. package/docs/examples/graph.ts +57 -0
  475. package/docs/examples/lanes.ts +40 -0
  476. package/docs/examples/matrix.ts +56 -0
  477. package/docs/examples/page.css +34 -0
  478. package/docs/examples/segmented.ts +18 -0
  479. package/docs/examples/status.ts +30 -0
  480. package/docs/examples/theme.css +54 -0
  481. package/docs/examples/tiles.ts +27 -0
  482. package/docs/examples/transcript.ts +59 -0
  483. package/docs/graph.md +112 -0
  484. package/docs/lanes.md +48 -0
  485. package/docs/matrix.md +34 -0
  486. package/docs/page.md +87 -0
  487. package/docs/primitives.md +57 -0
  488. package/docs/strings.md +16 -0
  489. package/docs/theming.md +147 -0
  490. package/docs/tiles.md +40 -0
  491. package/docs/transcript.md +73 -0
  492. package/docs/tsconfig.json +20 -0
  493. package/package.json +161 -4
  494. package/src/charts/bar-chart.ts +74 -0
  495. package/src/charts/base.ts +188 -0
  496. package/src/charts/column-chart.ts +153 -0
  497. package/src/charts/heatmap.ts +129 -0
  498. package/src/charts/index.ts +10 -0
  499. package/src/charts/line-chart.ts +128 -0
  500. package/src/charts/scale.ts +61 -0
  501. package/src/charts/state-grid.ts +245 -0
  502. package/src/charts/types.ts +48 -0
  503. package/src/checks/check-table.ts +85 -0
  504. package/src/checks/index.ts +5 -0
  505. package/src/checks/styles.ts +31 -0
  506. package/src/checks/types.ts +48 -0
  507. package/src/core/clock.ts +46 -0
  508. package/src/core/define.ts +7 -0
  509. package/src/core/events.ts +89 -0
  510. package/src/core/format.ts +25 -0
  511. package/src/core/frame.ts +5 -0
  512. package/src/core/strings.ts +11 -0
  513. package/src/core/tone.ts +14 -0
  514. package/src/count/count.ts +54 -0
  515. package/src/count/elapsed.ts +33 -0
  516. package/src/count/index.ts +4 -0
  517. package/src/define/all.ts +13 -0
  518. package/src/define/charts.ts +17 -0
  519. package/src/define/check-table.ts +9 -0
  520. package/src/define/count.ts +11 -0
  521. package/src/define/data-table.ts +9 -0
  522. package/src/define/graph.ts +11 -0
  523. package/src/define/json-tree.ts +9 -0
  524. package/src/define/lanes.ts +9 -0
  525. package/src/define/markdown.ts +9 -0
  526. package/src/define/matrix.ts +9 -0
  527. package/src/define/segmented.ts +9 -0
  528. package/src/define/tiles.ts +11 -0
  529. package/src/define/transcript.ts +9 -0
  530. package/src/graph/arrange.ts +399 -0
  531. package/src/graph/card.ts +209 -0
  532. package/src/graph/host.ts +100 -0
  533. package/src/graph/icons.ts +23 -0
  534. package/src/graph/index.ts +16 -0
  535. package/src/graph/layered-graph.ts +417 -0
  536. package/src/graph/layout.ts +331 -0
  537. package/src/graph/marks.ts +42 -0
  538. package/src/graph/nav.ts +19 -0
  539. package/src/graph/pan-zoom.ts +219 -0
  540. package/src/graph/paths.ts +41 -0
  541. package/src/graph/place-card.ts +93 -0
  542. package/src/graph/strings.ts +86 -0
  543. package/src/graph/styles.ts +204 -0
  544. package/src/graph/types.ts +202 -0
  545. package/src/graph/view.ts +28 -0
  546. package/src/graph/views/dag.ts +294 -0
  547. package/src/graph/views/foot.ts +109 -0
  548. package/src/graph/views/node-table.ts +90 -0
  549. package/src/index.ts +25 -0
  550. package/src/json/index.ts +2 -0
  551. package/src/json/json-tree.ts +49 -0
  552. package/src/lanes/index.ts +6 -0
  553. package/src/lanes/lanes.ts +143 -0
  554. package/src/lanes/stack.ts +51 -0
  555. package/src/lanes/styles.ts +30 -0
  556. package/src/lanes/types.ts +51 -0
  557. package/src/markdown/cae-markdown.ts +64 -0
  558. package/src/markdown/highlight.ts +94 -0
  559. package/src/markdown/index.ts +5 -0
  560. package/src/markdown/markdown.ts +110 -0
  561. package/src/matrix/grid-step.ts +58 -0
  562. package/src/matrix/index.ts +6 -0
  563. package/src/matrix/mark-matrix.ts +285 -0
  564. package/src/matrix/styles.ts +48 -0
  565. package/src/matrix/types.ts +83 -0
  566. package/src/primitives/fact-line.ts +26 -0
  567. package/src/primitives/icon.ts +26 -0
  568. package/src/primitives/index.ts +12 -0
  569. package/src/primitives/legend.ts +56 -0
  570. package/src/primitives/pill.ts +58 -0
  571. package/src/primitives/roving-focus.ts +138 -0
  572. package/src/primitives/segmented.ts +92 -0
  573. package/src/primitives/share-bar.ts +94 -0
  574. package/src/primitives/states.ts +28 -0
  575. package/src/primitives/window.ts +65 -0
  576. package/src/styles/chips.ts +18 -0
  577. package/src/styles/facts.ts +7 -0
  578. package/src/styles/index.ts +19 -0
  579. package/src/styles/layout.ts +33 -0
  580. package/src/styles/marks.ts +30 -0
  581. package/src/styles/meter.ts +9 -0
  582. package/src/styles/motion.ts +27 -0
  583. package/src/styles/prose.ts +59 -0
  584. package/src/styles/reset.ts +13 -0
  585. package/src/styles/status.ts +52 -0
  586. package/src/styles/text.ts +21 -0
  587. package/src/styles/tokens.ts +35 -0
  588. package/src/table/data-table.ts +367 -0
  589. package/src/table/index.ts +5 -0
  590. package/src/table/styles.ts +32 -0
  591. package/src/table/types.ts +73 -0
  592. package/src/themes/boot.ts +14 -0
  593. package/src/themes/choice.ts +47 -0
  594. package/src/themes/data.ts +433 -0
  595. package/src/themes/index.ts +10 -0
  596. package/src/themes/sheet.ts +29 -0
  597. package/src/themes/token-meanings.ts +67 -0
  598. package/src/themes/tokens-list.ts +82 -0
  599. package/src/tiles/index.ts +5 -0
  600. package/src/tiles/stat-tiles.ts +92 -0
  601. package/src/tiles/styles.ts +23 -0
  602. package/src/tiles/types.ts +20 -0
  603. package/src/transcript/follow-scroll.ts +72 -0
  604. package/src/transcript/index.ts +6 -0
  605. package/src/transcript/styles.ts +114 -0
  606. package/src/transcript/tags.ts +18 -0
  607. package/src/transcript/tool-card.ts +103 -0
  608. package/src/transcript/transcript.ts +358 -0
  609. package/src/transcript/types.ts +167 -0
@@ -0,0 +1,4260 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/charts/bar-chart.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "Horizontal bars, one per label, in the order given (a funnel's stages, a ranking):\neach its label, a bar as long as its value against the longest, and the value in\nwords. A bar with a `tone` takes that status colour, the others one colour. Every\nvalue is written beside its bar, so no tooltip is needed; the switch shows them as\na table.",
12
+ "name": "CaeBarChart",
13
+ "cssParts": [
14
+ {
15
+ "description": "the bars",
16
+ "name": "plot"
17
+ },
18
+ {
19
+ "description": "the table of its values",
20
+ "name": "table"
21
+ },
22
+ {
23
+ "description": "the button between the two",
24
+ "name": "switch"
25
+ },
26
+ {
27
+ "description": "what it shows with no values",
28
+ "name": "empty"
29
+ }
30
+ ],
31
+ "members": [
32
+ {
33
+ "kind": "field",
34
+ "name": "bars",
35
+ "type": {
36
+ "text": "readonly ChartBar[]"
37
+ },
38
+ "default": "[]"
39
+ },
40
+ {
41
+ "kind": "method",
42
+ "name": "hasValues",
43
+ "privacy": "protected",
44
+ "return": {
45
+ "type": {
46
+ "text": "boolean"
47
+ }
48
+ }
49
+ },
50
+ {
51
+ "kind": "method",
52
+ "name": "legendItems",
53
+ "privacy": "protected",
54
+ "return": {
55
+ "type": {
56
+ "text": "LegendItem[]"
57
+ }
58
+ }
59
+ },
60
+ {
61
+ "kind": "method",
62
+ "name": "itemCount",
63
+ "privacy": "protected",
64
+ "return": {
65
+ "type": {
66
+ "text": "number"
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "kind": "method",
72
+ "name": "plot",
73
+ "privacy": "protected",
74
+ "return": {
75
+ "type": {
76
+ "text": "TemplateResult"
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "kind": "method",
82
+ "name": "table",
83
+ "privacy": "protected",
84
+ "return": {
85
+ "type": {
86
+ "text": "TemplateResult"
87
+ }
88
+ }
89
+ }
90
+ ],
91
+ "superclass": {
92
+ "name": "ChartElement",
93
+ "module": "/src/charts/base.js"
94
+ },
95
+ "tagName": "cae-bar-chart",
96
+ "customElement": true
97
+ }
98
+ ],
99
+ "exports": [
100
+ {
101
+ "kind": "js",
102
+ "name": "CaeBarChart",
103
+ "declaration": {
104
+ "name": "CaeBarChart",
105
+ "module": "src/charts/bar-chart.ts"
106
+ }
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "kind": "javascript-module",
112
+ "path": "src/charts/column-chart.ts",
113
+ "declarations": [
114
+ {
115
+ "kind": "function",
116
+ "name": "barPath",
117
+ "return": {
118
+ "type": {
119
+ "text": "string"
120
+ }
121
+ },
122
+ "parameters": [
123
+ {
124
+ "name": "x",
125
+ "type": {
126
+ "text": "number"
127
+ }
128
+ },
129
+ {
130
+ "name": "y",
131
+ "type": {
132
+ "text": "number"
133
+ }
134
+ },
135
+ {
136
+ "name": "w",
137
+ "type": {
138
+ "text": "number"
139
+ }
140
+ },
141
+ {
142
+ "name": "h",
143
+ "type": {
144
+ "text": "number"
145
+ }
146
+ },
147
+ {
148
+ "name": "round",
149
+ "type": {
150
+ "text": "boolean"
151
+ }
152
+ }
153
+ ],
154
+ "description": "A bar from the axis up, its top corners rounded when `round`."
155
+ },
156
+ {
157
+ "kind": "class",
158
+ "description": "Vertical bars, one group per label of `x`: a bar per series side by side, or with\n`stacked`, the series of a label on one bar. Six series take the series colours in\ntheir order; past six, the sixth and later are one bar part, \"other\". A legend\nnames the series when there are two or more. Pointing at a label, or moving to it\nwith the arrow keys, shows its values; the switch shows them all as a table.",
159
+ "name": "CaeColumnChart",
160
+ "cssParts": [
161
+ {
162
+ "description": "the chart",
163
+ "name": "plot"
164
+ },
165
+ {
166
+ "description": "the table of its values",
167
+ "name": "table"
168
+ },
169
+ {
170
+ "description": "the button between the two",
171
+ "name": "switch"
172
+ },
173
+ {
174
+ "description": "what it shows with no values",
175
+ "name": "empty"
176
+ },
177
+ {
178
+ "description": "the legend",
179
+ "name": "legend"
180
+ }
181
+ ],
182
+ "members": [
183
+ {
184
+ "kind": "field",
185
+ "name": "x",
186
+ "type": {
187
+ "text": "readonly string[]"
188
+ },
189
+ "default": "[]",
190
+ "description": "A label per group of bars, in order."
191
+ },
192
+ {
193
+ "kind": "field",
194
+ "name": "series",
195
+ "type": {
196
+ "text": "readonly ChartSeries[]"
197
+ },
198
+ "default": "[]"
199
+ },
200
+ {
201
+ "kind": "field",
202
+ "name": "stacked",
203
+ "type": {
204
+ "text": "boolean"
205
+ },
206
+ "default": "false",
207
+ "description": "The series of a label on one bar, instead of side by side.",
208
+ "attribute": "stacked"
209
+ },
210
+ {
211
+ "kind": "field",
212
+ "name": "drawn",
213
+ "type": {
214
+ "text": "DrawnSeries[]"
215
+ },
216
+ "privacy": "private",
217
+ "readonly": true
218
+ },
219
+ {
220
+ "kind": "method",
221
+ "name": "hasValues",
222
+ "privacy": "protected",
223
+ "return": {
224
+ "type": {
225
+ "text": "boolean"
226
+ }
227
+ }
228
+ },
229
+ {
230
+ "kind": "method",
231
+ "name": "legendItems",
232
+ "privacy": "protected",
233
+ "return": {
234
+ "type": {
235
+ "text": "LegendItem[]"
236
+ }
237
+ }
238
+ },
239
+ {
240
+ "kind": "method",
241
+ "name": "itemCount",
242
+ "privacy": "protected",
243
+ "return": {
244
+ "type": {
245
+ "text": "number"
246
+ }
247
+ }
248
+ },
249
+ {
250
+ "kind": "method",
251
+ "name": "total",
252
+ "privacy": "private",
253
+ "return": {
254
+ "type": {
255
+ "text": "number"
256
+ }
257
+ },
258
+ "parameters": [
259
+ {
260
+ "name": "j",
261
+ "type": {
262
+ "text": "number"
263
+ }
264
+ }
265
+ ],
266
+ "description": "The total of label `j` (the stacked bar's height)."
267
+ },
268
+ {
269
+ "kind": "method",
270
+ "name": "plot",
271
+ "privacy": "protected",
272
+ "return": {
273
+ "type": {
274
+ "text": "TemplateResult"
275
+ }
276
+ }
277
+ },
278
+ {
279
+ "kind": "method",
280
+ "name": "tipBody",
281
+ "privacy": "private",
282
+ "return": {
283
+ "type": {
284
+ "text": "TemplateResult"
285
+ }
286
+ },
287
+ "parameters": [
288
+ {
289
+ "name": "j",
290
+ "type": {
291
+ "text": "number"
292
+ }
293
+ }
294
+ ]
295
+ },
296
+ {
297
+ "kind": "method",
298
+ "name": "table",
299
+ "privacy": "protected",
300
+ "return": {
301
+ "type": {
302
+ "text": "TemplateResult"
303
+ }
304
+ }
305
+ }
306
+ ],
307
+ "attributes": [
308
+ {
309
+ "name": "stacked",
310
+ "type": {
311
+ "text": "boolean"
312
+ },
313
+ "default": "false",
314
+ "description": "The series of a label on one bar, instead of side by side.",
315
+ "fieldName": "stacked"
316
+ }
317
+ ],
318
+ "superclass": {
319
+ "name": "ChartElement",
320
+ "module": "/src/charts/base.js"
321
+ },
322
+ "tagName": "cae-column-chart",
323
+ "customElement": true
324
+ }
325
+ ],
326
+ "exports": [
327
+ {
328
+ "kind": "js",
329
+ "name": "barPath",
330
+ "declaration": {
331
+ "name": "barPath",
332
+ "module": "src/charts/column-chart.ts"
333
+ }
334
+ },
335
+ {
336
+ "kind": "js",
337
+ "name": "CaeColumnChart",
338
+ "declaration": {
339
+ "name": "CaeColumnChart",
340
+ "module": "src/charts/column-chart.ts"
341
+ }
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "kind": "javascript-module",
347
+ "path": "src/charts/heatmap.ts",
348
+ "declarations": [
349
+ {
350
+ "kind": "variable",
351
+ "name": "HEAT_STEPS",
352
+ "type": {
353
+ "text": "[16, 34, 52, 72, 92]"
354
+ },
355
+ "default": "[16, 34, 52, 72, 92]",
356
+ "description": "One hue, light to dark: a value's share of the colour, by its step of five."
357
+ },
358
+ {
359
+ "kind": "function",
360
+ "name": "heatColour",
361
+ "return": {
362
+ "type": {
363
+ "text": "string"
364
+ }
365
+ },
366
+ "parameters": [
367
+ {
368
+ "name": "pct",
369
+ "type": {
370
+ "text": "number"
371
+ }
372
+ }
373
+ ],
374
+ "description": "A colour of the scale: `pct` percent of its hue over the card."
375
+ },
376
+ {
377
+ "kind": "function",
378
+ "name": "heatStep",
379
+ "return": {
380
+ "type": {
381
+ "text": "number"
382
+ }
383
+ },
384
+ "parameters": [
385
+ {
386
+ "name": "v",
387
+ "type": {
388
+ "text": "number"
389
+ }
390
+ },
391
+ {
392
+ "name": "low",
393
+ "type": {
394
+ "text": "number"
395
+ }
396
+ },
397
+ {
398
+ "name": "high",
399
+ "type": {
400
+ "text": "number"
401
+ }
402
+ }
403
+ ],
404
+ "description": "The step (0..4) of `v` between `low` and `high`."
405
+ },
406
+ {
407
+ "kind": "class",
408
+ "description": "A value per row (`y`) and column (`x`), each a cell coloured on one scale, light to\ndark (`values[row][column]`; a null cell is left empty, a 0 is the lightest step).\nThe legend gives the scale's lowest and highest value. Pointing at a cell, or moving\nto it with the arrow keys (up and down by a row), shows its row, column and value;\nthe switch shows them all as a table.",
409
+ "name": "CaeHeatmap",
410
+ "cssParts": [
411
+ {
412
+ "description": "the chart",
413
+ "name": "plot"
414
+ },
415
+ {
416
+ "description": "the table of its values",
417
+ "name": "table"
418
+ },
419
+ {
420
+ "description": "the button between the two",
421
+ "name": "switch"
422
+ },
423
+ {
424
+ "description": "what it shows with no values",
425
+ "name": "empty"
426
+ },
427
+ {
428
+ "description": "the legend",
429
+ "name": "legend"
430
+ }
431
+ ],
432
+ "members": [
433
+ {
434
+ "kind": "field",
435
+ "name": "x",
436
+ "type": {
437
+ "text": "readonly string[]"
438
+ },
439
+ "default": "[]"
440
+ },
441
+ {
442
+ "kind": "field",
443
+ "name": "y",
444
+ "type": {
445
+ "text": "readonly string[]"
446
+ },
447
+ "default": "[]"
448
+ },
449
+ {
450
+ "kind": "field",
451
+ "name": "values",
452
+ "type": {
453
+ "text": "readonly (readonly (number | null)[])[]"
454
+ },
455
+ "default": "[]"
456
+ },
457
+ {
458
+ "kind": "field",
459
+ "name": "range",
460
+ "type": {
461
+ "text": "[number, number]"
462
+ },
463
+ "privacy": "private",
464
+ "readonly": true
465
+ },
466
+ {
467
+ "kind": "method",
468
+ "name": "hasValues",
469
+ "privacy": "protected",
470
+ "return": {
471
+ "type": {
472
+ "text": "boolean"
473
+ }
474
+ }
475
+ },
476
+ {
477
+ "kind": "method",
478
+ "name": "legendItems",
479
+ "privacy": "protected",
480
+ "return": {
481
+ "type": {
482
+ "text": "LegendItem[]"
483
+ }
484
+ }
485
+ },
486
+ {
487
+ "kind": "method",
488
+ "name": "itemCount",
489
+ "privacy": "protected",
490
+ "return": {
491
+ "type": {
492
+ "text": "number"
493
+ }
494
+ }
495
+ },
496
+ {
497
+ "kind": "method",
498
+ "name": "rowLength",
499
+ "privacy": "protected",
500
+ "return": {
501
+ "type": {
502
+ "text": "number"
503
+ }
504
+ }
505
+ },
506
+ {
507
+ "kind": "method",
508
+ "name": "plot",
509
+ "privacy": "protected",
510
+ "return": {
511
+ "type": {
512
+ "text": "TemplateResult"
513
+ }
514
+ }
515
+ },
516
+ {
517
+ "kind": "method",
518
+ "name": "tipBody",
519
+ "privacy": "private",
520
+ "return": {
521
+ "type": {
522
+ "text": "TemplateResult"
523
+ }
524
+ },
525
+ "parameters": [
526
+ {
527
+ "name": "r",
528
+ "type": {
529
+ "text": "number"
530
+ }
531
+ },
532
+ {
533
+ "name": "c",
534
+ "type": {
535
+ "text": "number"
536
+ }
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "kind": "method",
542
+ "name": "table",
543
+ "privacy": "protected",
544
+ "return": {
545
+ "type": {
546
+ "text": "TemplateResult"
547
+ }
548
+ }
549
+ }
550
+ ],
551
+ "superclass": {
552
+ "name": "ChartElement",
553
+ "module": "/src/charts/base.js"
554
+ },
555
+ "tagName": "cae-heatmap",
556
+ "customElement": true
557
+ }
558
+ ],
559
+ "exports": [
560
+ {
561
+ "kind": "js",
562
+ "name": "HEAT_STEPS",
563
+ "declaration": {
564
+ "name": "HEAT_STEPS",
565
+ "module": "src/charts/heatmap.ts"
566
+ }
567
+ },
568
+ {
569
+ "kind": "js",
570
+ "name": "heatColour",
571
+ "declaration": {
572
+ "name": "heatColour",
573
+ "module": "src/charts/heatmap.ts"
574
+ }
575
+ },
576
+ {
577
+ "kind": "js",
578
+ "name": "heatStep",
579
+ "declaration": {
580
+ "name": "heatStep",
581
+ "module": "src/charts/heatmap.ts"
582
+ }
583
+ },
584
+ {
585
+ "kind": "js",
586
+ "name": "CaeHeatmap",
587
+ "declaration": {
588
+ "name": "CaeHeatmap",
589
+ "module": "src/charts/heatmap.ts"
590
+ }
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "kind": "javascript-module",
596
+ "path": "src/charts/line-chart.ts",
597
+ "declarations": [
598
+ {
599
+ "kind": "function",
600
+ "name": "linePath",
601
+ "return": {
602
+ "type": {
603
+ "text": "string"
604
+ }
605
+ },
606
+ "parameters": [
607
+ {
608
+ "name": "points",
609
+ "type": {
610
+ "text": "readonly ([number, number] | null)[]"
611
+ }
612
+ }
613
+ ],
614
+ "description": "The path of a series: a line through its values, broken where a value is null."
615
+ },
616
+ {
617
+ "kind": "class",
618
+ "description": "Lines over the labels of `x`, one per series (a value per label; null breaks the\nline). Six series take the series colours in their order; any past six are drawn in\nthe colour of \"other\" and named in the legend and the tooltip. Pointing at a label,\nor moving to it with the arrow keys, marks it with a rule and shows every series'\nvalue there; the switch shows them all as a table.",
619
+ "name": "CaeLineChart",
620
+ "cssParts": [
621
+ {
622
+ "description": "the chart",
623
+ "name": "plot"
624
+ },
625
+ {
626
+ "description": "the table of its values",
627
+ "name": "table"
628
+ },
629
+ {
630
+ "description": "the button between the two",
631
+ "name": "switch"
632
+ },
633
+ {
634
+ "description": "what it shows with no values",
635
+ "name": "empty"
636
+ },
637
+ {
638
+ "description": "the legend",
639
+ "name": "legend"
640
+ }
641
+ ],
642
+ "members": [
643
+ {
644
+ "kind": "field",
645
+ "name": "x",
646
+ "type": {
647
+ "text": "readonly string[]"
648
+ },
649
+ "default": "[]"
650
+ },
651
+ {
652
+ "kind": "field",
653
+ "name": "series",
654
+ "type": {
655
+ "text": "readonly ChartSeries[]"
656
+ },
657
+ "default": "[]"
658
+ },
659
+ {
660
+ "kind": "method",
661
+ "name": "hasValues",
662
+ "privacy": "protected",
663
+ "return": {
664
+ "type": {
665
+ "text": "boolean"
666
+ }
667
+ }
668
+ },
669
+ {
670
+ "kind": "method",
671
+ "name": "legendItems",
672
+ "privacy": "protected",
673
+ "return": {
674
+ "type": {
675
+ "text": "LegendItem[]"
676
+ }
677
+ }
678
+ },
679
+ {
680
+ "kind": "method",
681
+ "name": "itemCount",
682
+ "privacy": "protected",
683
+ "return": {
684
+ "type": {
685
+ "text": "number"
686
+ }
687
+ }
688
+ },
689
+ {
690
+ "kind": "method",
691
+ "name": "plot",
692
+ "privacy": "protected",
693
+ "return": {
694
+ "type": {
695
+ "text": "TemplateResult"
696
+ }
697
+ }
698
+ },
699
+ {
700
+ "kind": "method",
701
+ "name": "tipBody",
702
+ "privacy": "private",
703
+ "return": {
704
+ "type": {
705
+ "text": "TemplateResult"
706
+ }
707
+ },
708
+ "parameters": [
709
+ {
710
+ "name": "j",
711
+ "type": {
712
+ "text": "number"
713
+ }
714
+ }
715
+ ]
716
+ },
717
+ {
718
+ "kind": "method",
719
+ "name": "table",
720
+ "privacy": "protected",
721
+ "return": {
722
+ "type": {
723
+ "text": "TemplateResult"
724
+ }
725
+ }
726
+ }
727
+ ],
728
+ "superclass": {
729
+ "name": "ChartElement",
730
+ "module": "/src/charts/base.js"
731
+ },
732
+ "tagName": "cae-line-chart",
733
+ "customElement": true
734
+ }
735
+ ],
736
+ "exports": [
737
+ {
738
+ "kind": "js",
739
+ "name": "linePath",
740
+ "declaration": {
741
+ "name": "linePath",
742
+ "module": "src/charts/line-chart.ts"
743
+ }
744
+ },
745
+ {
746
+ "kind": "js",
747
+ "name": "CaeLineChart",
748
+ "declaration": {
749
+ "name": "CaeLineChart",
750
+ "module": "src/charts/line-chart.ts"
751
+ }
752
+ }
753
+ ]
754
+ },
755
+ {
756
+ "kind": "javascript-module",
757
+ "path": "src/count/count.ts",
758
+ "declarations": [
759
+ {
760
+ "kind": "class",
761
+ "description": "A number that counts up (or down) to its new value when it changes; at once\nfor a reader who asks for reduced motion.",
762
+ "name": "CaeCount",
763
+ "members": [
764
+ {
765
+ "kind": "field",
766
+ "name": "value",
767
+ "type": {
768
+ "text": "number"
769
+ },
770
+ "default": "0",
771
+ "attribute": "value"
772
+ },
773
+ {
774
+ "kind": "field",
775
+ "name": "shown",
776
+ "type": {
777
+ "text": "number"
778
+ },
779
+ "privacy": "private",
780
+ "default": "0"
781
+ },
782
+ {
783
+ "kind": "field",
784
+ "name": "frame",
785
+ "type": {
786
+ "text": "number"
787
+ },
788
+ "privacy": "private",
789
+ "default": "0"
790
+ }
791
+ ],
792
+ "attributes": [
793
+ {
794
+ "name": "value",
795
+ "type": {
796
+ "text": "number"
797
+ },
798
+ "default": "0",
799
+ "fieldName": "value"
800
+ }
801
+ ],
802
+ "superclass": {
803
+ "name": "LitElement",
804
+ "package": "lit"
805
+ },
806
+ "tagName": "cae-count",
807
+ "customElement": true
808
+ }
809
+ ],
810
+ "exports": [
811
+ {
812
+ "kind": "js",
813
+ "name": "CaeCount",
814
+ "declaration": {
815
+ "name": "CaeCount",
816
+ "module": "src/count/count.ts"
817
+ }
818
+ }
819
+ ]
820
+ },
821
+ {
822
+ "kind": "javascript-module",
823
+ "path": "src/count/elapsed.ts",
824
+ "declarations": [
825
+ {
826
+ "kind": "class",
827
+ "description": "Time since `since` (epoch ms), ticking every second: `42s`, `3m 05s`, `1h 02m`.",
828
+ "name": "CaeElapsed",
829
+ "members": [
830
+ {
831
+ "kind": "field",
832
+ "name": "since",
833
+ "type": {
834
+ "text": "number"
835
+ },
836
+ "default": "0",
837
+ "attribute": "since"
838
+ }
839
+ ],
840
+ "attributes": [
841
+ {
842
+ "name": "since",
843
+ "type": {
844
+ "text": "number"
845
+ },
846
+ "default": "0",
847
+ "fieldName": "since"
848
+ }
849
+ ],
850
+ "superclass": {
851
+ "name": "LitElement",
852
+ "package": "lit"
853
+ },
854
+ "tagName": "cae-elapsed",
855
+ "customElement": true
856
+ }
857
+ ],
858
+ "exports": [
859
+ {
860
+ "kind": "js",
861
+ "name": "CaeElapsed",
862
+ "declaration": {
863
+ "name": "CaeElapsed",
864
+ "module": "src/count/elapsed.ts"
865
+ }
866
+ }
867
+ ]
868
+ },
869
+ {
870
+ "kind": "javascript-module",
871
+ "path": "src/define/check-table.ts",
872
+ "declarations": [],
873
+ "exports": [
874
+ {
875
+ "kind": "js",
876
+ "name": "CaeCheckTable",
877
+ "declaration": {
878
+ "name": "CaeCheckTable",
879
+ "module": "src/define/check-table.ts"
880
+ }
881
+ },
882
+ {
883
+ "kind": "js",
884
+ "name": "CaeEventMap",
885
+ "declaration": {
886
+ "name": "CaeEventMap",
887
+ "module": "../core/events.js"
888
+ }
889
+ }
890
+ ]
891
+ },
892
+ {
893
+ "kind": "javascript-module",
894
+ "path": "src/define/count.ts",
895
+ "declarations": [],
896
+ "exports": [
897
+ {
898
+ "kind": "js",
899
+ "name": "CaeCount",
900
+ "declaration": {
901
+ "name": "CaeCount",
902
+ "module": "src/define/count.ts"
903
+ }
904
+ },
905
+ {
906
+ "kind": "js",
907
+ "name": "CaeElapsed",
908
+ "declaration": {
909
+ "name": "CaeElapsed",
910
+ "module": "src/define/count.ts"
911
+ }
912
+ },
913
+ {
914
+ "kind": "js",
915
+ "name": "CaeEventMap",
916
+ "declaration": {
917
+ "name": "CaeEventMap",
918
+ "module": "../core/events.js"
919
+ }
920
+ }
921
+ ]
922
+ },
923
+ {
924
+ "kind": "javascript-module",
925
+ "path": "src/define/data-table.ts",
926
+ "declarations": [],
927
+ "exports": [
928
+ {
929
+ "kind": "js",
930
+ "name": "CaeDataTable",
931
+ "declaration": {
932
+ "name": "CaeDataTable",
933
+ "module": "src/define/data-table.ts"
934
+ }
935
+ },
936
+ {
937
+ "kind": "js",
938
+ "name": "CaeEventMap",
939
+ "declaration": {
940
+ "name": "CaeEventMap",
941
+ "module": "../core/events.js"
942
+ }
943
+ }
944
+ ]
945
+ },
946
+ {
947
+ "kind": "javascript-module",
948
+ "path": "src/define/json-tree.ts",
949
+ "declarations": [],
950
+ "exports": [
951
+ {
952
+ "kind": "js",
953
+ "name": "CaeJsonTree",
954
+ "declaration": {
955
+ "name": "CaeJsonTree",
956
+ "module": "src/define/json-tree.ts"
957
+ }
958
+ },
959
+ {
960
+ "kind": "js",
961
+ "name": "CaeEventMap",
962
+ "declaration": {
963
+ "name": "CaeEventMap",
964
+ "module": "../core/events.js"
965
+ }
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "kind": "javascript-module",
971
+ "path": "src/define/lanes.ts",
972
+ "declarations": [],
973
+ "exports": [
974
+ {
975
+ "kind": "js",
976
+ "name": "CaeLanes",
977
+ "declaration": {
978
+ "name": "CaeLanes",
979
+ "module": "src/define/lanes.ts"
980
+ }
981
+ },
982
+ {
983
+ "kind": "js",
984
+ "name": "CaeEventMap",
985
+ "declaration": {
986
+ "name": "CaeEventMap",
987
+ "module": "../core/events.js"
988
+ }
989
+ }
990
+ ]
991
+ },
992
+ {
993
+ "kind": "javascript-module",
994
+ "path": "src/define/segmented.ts",
995
+ "declarations": [],
996
+ "exports": [
997
+ {
998
+ "kind": "js",
999
+ "name": "CaeSegmented",
1000
+ "declaration": {
1001
+ "name": "CaeSegmented",
1002
+ "module": "src/define/segmented.ts"
1003
+ }
1004
+ },
1005
+ {
1006
+ "kind": "js",
1007
+ "name": "CaeEventMap",
1008
+ "declaration": {
1009
+ "name": "CaeEventMap",
1010
+ "module": "../core/events.js"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "kind": "javascript-module",
1017
+ "path": "src/define/transcript.ts",
1018
+ "declarations": [],
1019
+ "exports": [
1020
+ {
1021
+ "kind": "js",
1022
+ "name": "CaeTranscript",
1023
+ "declaration": {
1024
+ "name": "CaeTranscript",
1025
+ "module": "src/define/transcript.ts"
1026
+ }
1027
+ },
1028
+ {
1029
+ "kind": "js",
1030
+ "name": "CaeEventMap",
1031
+ "declaration": {
1032
+ "name": "CaeEventMap",
1033
+ "module": "../core/events.js"
1034
+ }
1035
+ }
1036
+ ]
1037
+ },
1038
+ {
1039
+ "kind": "javascript-module",
1040
+ "path": "src/checks/check-table.ts",
1041
+ "declarations": [
1042
+ {
1043
+ "kind": "function",
1044
+ "name": "verdict",
1045
+ "return": {
1046
+ "type": {
1047
+ "text": "TemplateResult | typeof nothing"
1048
+ }
1049
+ },
1050
+ "parameters": [
1051
+ {
1052
+ "name": "v",
1053
+ "type": {
1054
+ "text": "Verdict"
1055
+ }
1056
+ },
1057
+ {
1058
+ "name": "label",
1059
+ "type": {
1060
+ "text": "string"
1061
+ }
1062
+ },
1063
+ {
1064
+ "name": "tip",
1065
+ "default": "''"
1066
+ }
1067
+ ],
1068
+ "description": "A verdict in words (`.verdict`, `data-verdict`; `verdictStyles`): ✓ before a\npass, ✕ before a failure, hidden from screen readers, which read the word.\nNothing for `none` without a word."
1069
+ },
1070
+ {
1071
+ "kind": "class",
1072
+ "description": "Named values checked one by one: a row per name, with what it must be, what\nit is and the verdict. Without `showValues`, only the names and what each\nmust be (nothing to check them against).",
1073
+ "name": "CaeCheckTable",
1074
+ "cssParts": [
1075
+ {
1076
+ "description": "the `<table>`",
1077
+ "name": "table"
1078
+ },
1079
+ {
1080
+ "description": "each row of a name",
1081
+ "name": "row"
1082
+ },
1083
+ {
1084
+ "description": "each verdict",
1085
+ "name": "verdict"
1086
+ }
1087
+ ],
1088
+ "members": [
1089
+ {
1090
+ "kind": "field",
1091
+ "name": "rows",
1092
+ "type": {
1093
+ "text": "readonly CheckRow[]"
1094
+ },
1095
+ "default": "[]"
1096
+ },
1097
+ {
1098
+ "kind": "field",
1099
+ "name": "showValues",
1100
+ "type": {
1101
+ "text": "boolean"
1102
+ },
1103
+ "default": "true",
1104
+ "description": "Show the values and the verdicts.",
1105
+ "attribute": "showValues"
1106
+ },
1107
+ {
1108
+ "kind": "field",
1109
+ "name": "strings",
1110
+ "type": {
1111
+ "text": "Partial<CheckTableStrings>"
1112
+ },
1113
+ "default": "{}"
1114
+ }
1115
+ ],
1116
+ "attributes": [
1117
+ {
1118
+ "name": "showValues",
1119
+ "type": {
1120
+ "text": "boolean"
1121
+ },
1122
+ "default": "true",
1123
+ "description": "Show the values and the verdicts.",
1124
+ "fieldName": "showValues"
1125
+ }
1126
+ ],
1127
+ "superclass": {
1128
+ "name": "LitElement",
1129
+ "package": "lit"
1130
+ },
1131
+ "tagName": "cae-check-table",
1132
+ "customElement": true
1133
+ }
1134
+ ],
1135
+ "exports": [
1136
+ {
1137
+ "kind": "js",
1138
+ "name": "verdict",
1139
+ "declaration": {
1140
+ "name": "verdict",
1141
+ "module": "src/checks/check-table.ts"
1142
+ }
1143
+ },
1144
+ {
1145
+ "kind": "js",
1146
+ "name": "CaeCheckTable",
1147
+ "declaration": {
1148
+ "name": "CaeCheckTable",
1149
+ "module": "src/checks/check-table.ts"
1150
+ }
1151
+ }
1152
+ ]
1153
+ },
1154
+ {
1155
+ "kind": "javascript-module",
1156
+ "path": "src/graph/layered-graph.ts",
1157
+ "declarations": [
1158
+ {
1159
+ "kind": "variable",
1160
+ "name": "NARROW",
1161
+ "type": {
1162
+ "text": "number"
1163
+ },
1164
+ "default": "640",
1165
+ "description": "Below this width, `direction: 'auto'` draws top to bottom, without zoom."
1166
+ },
1167
+ {
1168
+ "kind": "class",
1169
+ "description": "A layered graph: each node in a layer by the longest path to it, edges bending only\nin the gaps between layers and never passing a node or a cluster's label; a cluster\nof nodes in a box (a cluster in a cluster: a box in a box), with, when it `cycle`s,\na dotted return from its last layer to its first; an edge from outside the graph\nfrom a named stub. Inside each node, one mark per series id, at the same place in\nevery node, so a series can be followed across the graph; a mark is drawn in its\nstate's look (`states`). Above `barAt` marks, a node shows a bar of its counts and\nlists its failed marks. The order depends on the structure only, and keeps a\nprevious `order`: nodes that appear later are added at the end of their layer.\n\nA click selects a mark, a node or a cluster (`cae-select`); a card beside it (the\nhost's content, in the `inspector` slot) moves with it as the graph pans and zooms,\nand hides while it is out of the frame; on a narrow screen it is a sheet under the\nframe. A double click or Enter is the item's action (`cae-activate`), or opens its\ninner view (`cae-drill`, for an item with `drill`). Hovering or focusing a mark\nhighlights its series and what `related` names. The frame first shows the whole\ngraph; Ctrl (or ⌘) and the wheel, or the buttons, zoom; dragging pans; \"Show all\"\ngoes back. \"Graph | Table\" changes the view (`cae-view-change`): the table is a row\nper node, with its status and the nodes it is joined to. With `matrix`, the frame\nshows that `<cae-mark-matrix>` as the table instead.\n\nSize: the element is as wide as its container. Without a height set on it, the\nframe is as tall as the whole drawing at that width (never scaled up), up to 70% of\nthe window's height or 360 px, whichever is more, and taller when the card needs\nit; top to bottom, as tall as the drawing. A height set on the element\n(or given it by a flex or grid container) is shared: the `crumbs` slot and the row\nunder the frame keep theirs, and the frame takes the rest, the drawing fitted in it.\n\nKeyboard: Tab moves between nodes; the arrow keys, Home and End move between a\nnode's marks, and a mark out of the frame is brought into it; Shift and an arrow\nkey move along an edge to an earlier or a later node, on the same series; what has\nthe focus is selected (Tab goes on to the card); Enter is the item's action; Escape\nclears the selection (and, with none, is left to the host).",
1170
+ "name": "CaeLayeredGraph",
1171
+ "cssParts": [
1172
+ {
1173
+ "description": "the frame every view is drawn in",
1174
+ "name": "frame"
1175
+ },
1176
+ {
1177
+ "description": "what pans and zooms",
1178
+ "name": "stage"
1179
+ },
1180
+ {
1181
+ "description": "each node",
1182
+ "name": "node"
1183
+ },
1184
+ {
1185
+ "description": "a node's first line",
1186
+ "name": "node-header"
1187
+ },
1188
+ {
1189
+ "description": "a node's name",
1190
+ "name": "node-name"
1191
+ },
1192
+ {
1193
+ "description": "each mark",
1194
+ "name": "mark"
1195
+ },
1196
+ {
1197
+ "description": "each cluster",
1198
+ "name": "cluster"
1199
+ },
1200
+ {
1201
+ "description": "a cluster's header",
1202
+ "name": "cluster-label"
1203
+ },
1204
+ {
1205
+ "description": "each edge",
1206
+ "name": "edge"
1207
+ },
1208
+ {
1209
+ "description": "each stub",
1210
+ "name": "stub"
1211
+ },
1212
+ {
1213
+ "description": "the legend",
1214
+ "name": "legend"
1215
+ },
1216
+ {
1217
+ "description": "the line of key hints under the legend",
1218
+ "name": "keys"
1219
+ },
1220
+ {
1221
+ "description": "the selected item's card",
1222
+ "name": "inspector"
1223
+ },
1224
+ {
1225
+ "description": "the node table",
1226
+ "name": "table"
1227
+ },
1228
+ {
1229
+ "description": "each row of the node table",
1230
+ "name": "row"
1231
+ }
1232
+ ],
1233
+ "slots": [
1234
+ {
1235
+ "description": "the selected item's card: its first heading and its `[data-status]` name it to a screen reader",
1236
+ "name": "inspector"
1237
+ },
1238
+ {
1239
+ "description": "a line above the frame (where the graph is)",
1240
+ "name": "crumbs"
1241
+ }
1242
+ ],
1243
+ "members": [
1244
+ {
1245
+ "kind": "field",
1246
+ "name": "graph",
1247
+ "privacy": "public",
1248
+ "type": {
1249
+ "text": "GraphInput"
1250
+ },
1251
+ "default": "{ series: [], nodes: [], clusters: [], edges: [], stubs: [] }"
1252
+ },
1253
+ {
1254
+ "kind": "field",
1255
+ "name": "states",
1256
+ "privacy": "public",
1257
+ "type": {
1258
+ "text": "StateStyles"
1259
+ },
1260
+ "default": "{}"
1261
+ },
1262
+ {
1263
+ "kind": "field",
1264
+ "name": "selected",
1265
+ "privacy": "public",
1266
+ "type": {
1267
+ "text": "string | null"
1268
+ },
1269
+ "default": "null",
1270
+ "description": "The selected item's id (a mark's, a node's or a cluster's), or null."
1271
+ },
1272
+ {
1273
+ "kind": "field",
1274
+ "name": "highlight",
1275
+ "privacy": "public",
1276
+ "type": {
1277
+ "text": "string | null"
1278
+ },
1279
+ "default": "null",
1280
+ "description": "The series highlighted while no mark is hovered, focused or selected."
1281
+ },
1282
+ {
1283
+ "kind": "field",
1284
+ "name": "order",
1285
+ "privacy": "public",
1286
+ "type": {
1287
+ "text": "GraphOrder | undefined"
1288
+ },
1289
+ "default": "undefined",
1290
+ "description": "The order of an earlier drawing of this graph (`arrange(...).order`): its items stay where they are."
1291
+ },
1292
+ {
1293
+ "kind": "field",
1294
+ "name": "key",
1295
+ "privacy": "public",
1296
+ "type": {
1297
+ "text": "string"
1298
+ },
1299
+ "default": "''",
1300
+ "description": "The graph's identity: a new key is a new graph (the frame shows all of it again); the same key while the graph changes keeps the zoom and pan.",
1301
+ "attribute": "key"
1302
+ },
1303
+ {
1304
+ "kind": "field",
1305
+ "name": "direction",
1306
+ "privacy": "public",
1307
+ "type": {
1308
+ "text": "'auto' | 'across' | 'down'"
1309
+ },
1310
+ "default": "'auto'",
1311
+ "description": "Left to right, top to bottom, or by the width (`auto`: top to bottom below `NARROW` px).",
1312
+ "attribute": "direction"
1313
+ },
1314
+ {
1315
+ "kind": "field",
1316
+ "name": "view",
1317
+ "privacy": "public",
1318
+ "type": {
1319
+ "text": "'graph' | 'table'"
1320
+ },
1321
+ "default": "'graph'",
1322
+ "description": "The node table instead of the drawing.",
1323
+ "attribute": "view"
1324
+ },
1325
+ {
1326
+ "kind": "field",
1327
+ "name": "matrix",
1328
+ "privacy": "public",
1329
+ "type": {
1330
+ "text": "MarkMatrixInput | null"
1331
+ },
1332
+ "default": "null",
1333
+ "description": "A mark matrix shown in the frame as the table, or null."
1334
+ },
1335
+ {
1336
+ "kind": "field",
1337
+ "name": "barAt",
1338
+ "privacy": "public",
1339
+ "type": {
1340
+ "text": "number"
1341
+ },
1342
+ "default": "BAR_MARKS",
1343
+ "description": "Above this many marks, a node shows a bar of its counts.",
1344
+ "attribute": "barAt"
1345
+ },
1346
+ {
1347
+ "kind": "field",
1348
+ "name": "related",
1349
+ "privacy": "public",
1350
+ "type": {
1351
+ "text": "((key: string) => ReadonlySet<string>) | undefined"
1352
+ },
1353
+ "default": "undefined",
1354
+ "description": "The marks a hovered or selected series (or a mark's id, outside any series) lights; default: its own."
1355
+ },
1356
+ {
1357
+ "kind": "field",
1358
+ "name": "strings",
1359
+ "privacy": "public",
1360
+ "type": {
1361
+ "text": "Partial<LayeredGraphStrings>"
1362
+ },
1363
+ "default": "{}"
1364
+ },
1365
+ {
1366
+ "kind": "field",
1367
+ "name": "matrixStrings",
1368
+ "privacy": "public",
1369
+ "type": {
1370
+ "text": "Partial<MarkMatrixStrings>"
1371
+ },
1372
+ "default": "{}"
1373
+ },
1374
+ {
1375
+ "kind": "field",
1376
+ "name": "renderIcon",
1377
+ "privacy": "public",
1378
+ "type": {
1379
+ "text": "(name: string) => unknown"
1380
+ },
1381
+ "description": "Draws an icon of a node, a matrix header and the legend; default: `icon(name)`."
1382
+ },
1383
+ {
1384
+ "kind": "field",
1385
+ "name": "iconStyles",
1386
+ "privacy": "public",
1387
+ "type": {
1388
+ "text": "readonly CSSResult[]"
1389
+ },
1390
+ "default": "[]",
1391
+ "description": "Styles for what `renderIcon` draws, added to the element's own."
1392
+ },
1393
+ {
1394
+ "kind": "field",
1395
+ "name": "hover",
1396
+ "privacy": "private",
1397
+ "type": {
1398
+ "text": "string | null"
1399
+ },
1400
+ "default": "null",
1401
+ "description": "The series (or a mark's id) under the pointer or focus.",
1402
+ "attribute": "hover"
1403
+ },
1404
+ {
1405
+ "kind": "field",
1406
+ "name": "down",
1407
+ "privacy": "private",
1408
+ "type": {
1409
+ "text": "boolean"
1410
+ },
1411
+ "default": "false",
1412
+ "description": "Top to bottom.",
1413
+ "attribute": "down"
1414
+ },
1415
+ {
1416
+ "kind": "field",
1417
+ "name": "lay",
1418
+ "privacy": "private",
1419
+ "type": {
1420
+ "text": "GraphLayout | null"
1421
+ },
1422
+ "default": "null",
1423
+ "description": "Where everything is drawn, from the sizes measured after the last render.",
1424
+ "attribute": "lay"
1425
+ },
1426
+ {
1427
+ "kind": "field",
1428
+ "name": "announced",
1429
+ "privacy": "private",
1430
+ "type": {
1431
+ "text": "string"
1432
+ },
1433
+ "default": "''",
1434
+ "description": "What the live region says: the item just selected, and its status.",
1435
+ "attribute": "announced"
1436
+ },
1437
+ {
1438
+ "kind": "field",
1439
+ "name": "arr",
1440
+ "type": {
1441
+ "text": "Arrangement"
1442
+ },
1443
+ "privacy": "private"
1444
+ },
1445
+ {
1446
+ "kind": "field",
1447
+ "name": "words",
1448
+ "type": {
1449
+ "text": "LayeredGraphStrings"
1450
+ },
1451
+ "privacy": "private",
1452
+ "default": "DEFAULT_LAYERED_GRAPH_STRINGS"
1453
+ },
1454
+ {
1455
+ "kind": "field",
1456
+ "name": "drawn",
1457
+ "type": {
1458
+ "text": "DrawnGraph"
1459
+ },
1460
+ "privacy": "private",
1461
+ "default": "{ ...EMPTY, nodes: [] }",
1462
+ "description": "The graph, its nodes with their defaults."
1463
+ },
1464
+ {
1465
+ "kind": "field",
1466
+ "name": "nodes",
1467
+ "privacy": "private",
1468
+ "default": "new Map<string, GraphNode>()"
1469
+ },
1470
+ {
1471
+ "kind": "field",
1472
+ "name": "clusters",
1473
+ "privacy": "private",
1474
+ "default": "new Map<string, GraphClusterInput>()"
1475
+ },
1476
+ {
1477
+ "kind": "field",
1478
+ "name": "markSeries",
1479
+ "privacy": "private",
1480
+ "default": "new Map<string, string>()",
1481
+ "description": "Each mark's series ('' outside any series), by its id."
1482
+ },
1483
+ {
1484
+ "kind": "field",
1485
+ "name": "active",
1486
+ "privacy": "private",
1487
+ "readonly": true,
1488
+ "default": "new Map<string, number>()",
1489
+ "description": "Each group's focused mark (roving tabindex): one tab stop per group."
1490
+ },
1491
+ {
1492
+ "kind": "field",
1493
+ "name": "measured",
1494
+ "type": {
1495
+ "text": "{ graph: GraphInput; key: string } | null"
1496
+ },
1497
+ "privacy": "private",
1498
+ "default": "null",
1499
+ "description": "What the sizes were last measured for, what the layout was computed from, and the graph it is of."
1500
+ },
1501
+ {
1502
+ "kind": "field",
1503
+ "name": "layKey",
1504
+ "type": {
1505
+ "text": "string"
1506
+ },
1507
+ "privacy": "private",
1508
+ "default": "''"
1509
+ },
1510
+ {
1511
+ "kind": "field",
1512
+ "name": "layFor",
1513
+ "type": {
1514
+ "text": "string | null"
1515
+ },
1516
+ "privacy": "private",
1517
+ "default": "null"
1518
+ },
1519
+ {
1520
+ "kind": "field",
1521
+ "name": "litCache",
1522
+ "type": {
1523
+ "text": "{ key: string | null; graph: GraphInput; related: unknown; on: ReadonlySet<string> | null } | null"
1524
+ },
1525
+ "privacy": "private",
1526
+ "default": "null"
1527
+ },
1528
+ {
1529
+ "kind": "field",
1530
+ "name": "scrolled",
1531
+ "type": {
1532
+ "text": "Element | null"
1533
+ },
1534
+ "privacy": "private",
1535
+ "default": "null"
1536
+ },
1537
+ {
1538
+ "kind": "field",
1539
+ "name": "pz",
1540
+ "privacy": "private",
1541
+ "readonly": true,
1542
+ "default": "new PanZoomController(this, { frame: () => this.renderRoot.querySelector<HTMLElement>('.frame'), stage: () => this.renderRoot.querySelector<HTMLElement>('.stage'), drawing: () => (this.lay && !this.matrix ? { w: this.lay.w, h: this.lay.h, down: this.down, room: this.card.room } : null), wheel: () => this.view !== 'table' && !this.matrix, down: () => this.down, onMove: () => this.card.place(), onResize: () => { this.fit(); this.card.place(); }, })"
1543
+ },
1544
+ {
1545
+ "kind": "field",
1546
+ "name": "card",
1547
+ "type": {
1548
+ "text": "CardController"
1549
+ },
1550
+ "privacy": "private",
1551
+ "readonly": true,
1552
+ "default": "new CardController(this, { docked: () => this.down, frameH: () => this.pz.frameH, // A mark matrix: the frame's least height holds the card. grow: () => (this.matrix ? this.requestUpdate() : this.fit()), pressed: () => this.pz.pressed, inner: () => this.matrixEl()?.renderRoot ?? null, })"
1553
+ },
1554
+ {
1555
+ "kind": "field",
1556
+ "name": "h",
1557
+ "privacy": "private",
1558
+ "readonly": true,
1559
+ "default": "this as unknown",
1560
+ "description": "This element as its views see it (`host.ts`), its private members included."
1561
+ },
1562
+ {
1563
+ "kind": "method",
1564
+ "name": "matrixEl",
1565
+ "privacy": "private",
1566
+ "return": {
1567
+ "type": {
1568
+ "text": "CaeMarkMatrix | null"
1569
+ }
1570
+ }
1571
+ },
1572
+ {
1573
+ "kind": "method",
1574
+ "name": "focusToggle",
1575
+ "return": {
1576
+ "type": {
1577
+ "text": "void"
1578
+ }
1579
+ },
1580
+ "parameters": [
1581
+ {
1582
+ "name": "id",
1583
+ "type": {
1584
+ "text": "string"
1585
+ }
1586
+ },
1587
+ {
1588
+ "name": "tries",
1589
+ "default": "4"
1590
+ }
1591
+ ],
1592
+ "description": "Put the focus on an item's open or close control (`toggle`), else on the item: where it was after the item was drawn again."
1593
+ },
1594
+ {
1595
+ "kind": "method",
1596
+ "name": "focusItem",
1597
+ "return": {
1598
+ "type": {
1599
+ "text": "void"
1600
+ }
1601
+ },
1602
+ "parameters": [
1603
+ {
1604
+ "name": "id",
1605
+ "type": {
1606
+ "text": "string | null"
1607
+ }
1608
+ }
1609
+ ]
1610
+ },
1611
+ {
1612
+ "kind": "method",
1613
+ "name": "selectionChanged",
1614
+ "privacy": "private",
1615
+ "return": {
1616
+ "type": {
1617
+ "text": "void"
1618
+ }
1619
+ },
1620
+ "description": "After a new selection: the card describes the item, the live region names it, and on a narrow screen the item is scrolled into view."
1621
+ },
1622
+ {
1623
+ "kind": "method",
1624
+ "name": "place",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "void"
1629
+ }
1630
+ },
1631
+ "description": "Measure what was drawn when the graph or the width changed; lay it out again when the structure or a size changed."
1632
+ },
1633
+ {
1634
+ "kind": "method",
1635
+ "name": "fit",
1636
+ "privacy": "private",
1637
+ "return": {
1638
+ "type": {
1639
+ "text": "void"
1640
+ }
1641
+ },
1642
+ "description": "Top to bottom on a narrow screen (`auto`); otherwise the whole graph in a frame, until the reader zooms or pans."
1643
+ },
1644
+ {
1645
+ "kind": "field",
1646
+ "name": "onEscape",
1647
+ "privacy": "private",
1648
+ "readonly": true
1649
+ },
1650
+ {
1651
+ "kind": "method",
1652
+ "name": "select",
1653
+ "privacy": "private",
1654
+ "return": {
1655
+ "type": {
1656
+ "text": "void"
1657
+ }
1658
+ },
1659
+ "parameters": [
1660
+ {
1661
+ "name": "id",
1662
+ "type": {
1663
+ "text": "string | null"
1664
+ }
1665
+ }
1666
+ ]
1667
+ },
1668
+ {
1669
+ "kind": "method",
1670
+ "name": "act",
1671
+ "privacy": "protected",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1677
+ "parameters": [
1678
+ {
1679
+ "name": "id",
1680
+ "type": {
1681
+ "text": "string"
1682
+ }
1683
+ }
1684
+ ],
1685
+ "description": "An item's action: its inner view when it has one."
1686
+ },
1687
+ {
1688
+ "kind": "method",
1689
+ "name": "findMark",
1690
+ "privacy": "private",
1691
+ "return": {
1692
+ "type": {
1693
+ "text": "{ drill?: boolean } | null"
1694
+ }
1695
+ },
1696
+ "parameters": [
1697
+ {
1698
+ "name": "id",
1699
+ "type": {
1700
+ "text": "string"
1701
+ }
1702
+ }
1703
+ ]
1704
+ },
1705
+ {
1706
+ "kind": "method",
1707
+ "name": "lit",
1708
+ "privacy": "protected",
1709
+ "return": {
1710
+ "type": {
1711
+ "text": "{ key: string | null; on: ReadonlySet<string> | null }"
1712
+ }
1713
+ },
1714
+ "description": "The series (or mark id) highlighted: the one hovered or focused, else the selected mark's, else `highlight`; and the marks it lights."
1715
+ },
1716
+ {
1717
+ "kind": "method",
1718
+ "name": "known",
1719
+ "privacy": "private",
1720
+ "return": {
1721
+ "type": {
1722
+ "text": "boolean"
1723
+ }
1724
+ },
1725
+ "parameters": [
1726
+ {
1727
+ "name": "id",
1728
+ "type": {
1729
+ "text": "string"
1730
+ }
1731
+ }
1732
+ ]
1733
+ },
1734
+ {
1735
+ "kind": "method",
1736
+ "name": "matrixView",
1737
+ "privacy": "private",
1738
+ "parameters": [
1739
+ {
1740
+ "name": "mx",
1741
+ "type": {
1742
+ "text": "MarkMatrixInput"
1743
+ }
1744
+ }
1745
+ ],
1746
+ "description": "A mark matrix in the frame, at least as tall as the drawing was (and as the card needs), centred in it."
1747
+ },
1748
+ {
1749
+ "kind": "field",
1750
+ "name": "laidOut",
1751
+ "type": {
1752
+ "text": "boolean"
1753
+ },
1754
+ "privacy": "protected",
1755
+ "readonly": true
1756
+ },
1757
+ {
1758
+ "kind": "field",
1759
+ "name": "asTable",
1760
+ "type": {
1761
+ "text": "boolean"
1762
+ },
1763
+ "privacy": "protected",
1764
+ "readonly": true
1765
+ },
1766
+ {
1767
+ "kind": "method",
1768
+ "name": "focusSelect",
1769
+ "privacy": "protected",
1770
+ "return": {
1771
+ "type": {
1772
+ "text": "void"
1773
+ }
1774
+ },
1775
+ "parameters": [
1776
+ {
1777
+ "name": "id",
1778
+ "type": {
1779
+ "text": "string"
1780
+ }
1781
+ }
1782
+ ]
1783
+ },
1784
+ {
1785
+ "kind": "method",
1786
+ "name": "drill",
1787
+ "privacy": "protected",
1788
+ "return": {
1789
+ "type": {
1790
+ "text": "void"
1791
+ }
1792
+ },
1793
+ "parameters": [
1794
+ {
1795
+ "name": "id",
1796
+ "type": {
1797
+ "text": "string"
1798
+ }
1799
+ }
1800
+ ]
1801
+ },
1802
+ {
1803
+ "kind": "method",
1804
+ "name": "toggle",
1805
+ "privacy": "protected",
1806
+ "return": {
1807
+ "type": {
1808
+ "text": "void"
1809
+ }
1810
+ },
1811
+ "parameters": [
1812
+ {
1813
+ "name": "id",
1814
+ "type": {
1815
+ "text": "string"
1816
+ }
1817
+ },
1818
+ {
1819
+ "name": "open",
1820
+ "type": {
1821
+ "text": "boolean"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "kind": "method",
1828
+ "name": "showView",
1829
+ "privacy": "protected",
1830
+ "return": {
1831
+ "type": {
1832
+ "text": "void"
1833
+ }
1834
+ },
1835
+ "parameters": [
1836
+ {
1837
+ "name": "v",
1838
+ "type": {
1839
+ "text": "'graph' | 'table'"
1840
+ }
1841
+ }
1842
+ ]
1843
+ }
1844
+ ],
1845
+ "events": [
1846
+ {
1847
+ "description": "`{id}`: a mark, a node, a cluster or a table row was selected; `{id: null}`: the selection was cleared",
1848
+ "name": "cae-select"
1849
+ },
1850
+ {
1851
+ "description": "`{id}`: an item's action (a double click or Enter)",
1852
+ "name": "cae-activate"
1853
+ },
1854
+ {
1855
+ "description": "`{id}`: an item's inner view (a double click or Enter on an item with `drill`, a cluster's chip in the table, a later part of a cluster's `path`)",
1856
+ "name": "cae-drill"
1857
+ },
1858
+ {
1859
+ "description": "`{id, open}`: an item's open or close control (`toggle`) was used",
1860
+ "name": "cae-toggle"
1861
+ },
1862
+ {
1863
+ "description": "`{view}`: \"Graph\" or \"Table\" was chosen",
1864
+ "name": "cae-view-change"
1865
+ }
1866
+ ],
1867
+ "attributes": [
1868
+ {
1869
+ "name": "key",
1870
+ "type": {
1871
+ "text": "string"
1872
+ },
1873
+ "default": "''",
1874
+ "description": "The graph's identity: a new key is a new graph (the frame shows all of it again); the same key while the graph changes keeps the zoom and pan.",
1875
+ "fieldName": "key"
1876
+ },
1877
+ {
1878
+ "name": "direction",
1879
+ "type": {
1880
+ "text": "'auto' | 'across' | 'down'"
1881
+ },
1882
+ "default": "'auto'",
1883
+ "description": "Left to right, top to bottom, or by the width (`auto`: top to bottom below `NARROW` px).",
1884
+ "fieldName": "direction"
1885
+ },
1886
+ {
1887
+ "name": "view",
1888
+ "type": {
1889
+ "text": "'graph' | 'table'"
1890
+ },
1891
+ "default": "'graph'",
1892
+ "description": "The node table instead of the drawing.",
1893
+ "fieldName": "view"
1894
+ },
1895
+ {
1896
+ "name": "barAt",
1897
+ "type": {
1898
+ "text": "number"
1899
+ },
1900
+ "default": "BAR_MARKS",
1901
+ "description": "Above this many marks, a node shows a bar of its counts.",
1902
+ "fieldName": "barAt"
1903
+ },
1904
+ {
1905
+ "name": "hover",
1906
+ "type": {
1907
+ "text": "string | null"
1908
+ },
1909
+ "default": "null",
1910
+ "description": "The series (or a mark's id) under the pointer or focus.",
1911
+ "fieldName": "hover"
1912
+ },
1913
+ {
1914
+ "name": "down",
1915
+ "type": {
1916
+ "text": "boolean"
1917
+ },
1918
+ "default": "false",
1919
+ "description": "Top to bottom.",
1920
+ "fieldName": "down"
1921
+ },
1922
+ {
1923
+ "name": "lay",
1924
+ "type": {
1925
+ "text": "GraphLayout | null"
1926
+ },
1927
+ "default": "null",
1928
+ "description": "Where everything is drawn, from the sizes measured after the last render.",
1929
+ "fieldName": "lay"
1930
+ },
1931
+ {
1932
+ "name": "announced",
1933
+ "type": {
1934
+ "text": "string"
1935
+ },
1936
+ "default": "''",
1937
+ "description": "What the live region says: the item just selected, and its status.",
1938
+ "fieldName": "announced"
1939
+ }
1940
+ ],
1941
+ "superclass": {
1942
+ "name": "LitElement",
1943
+ "package": "lit"
1944
+ },
1945
+ "tagName": "cae-layered-graph",
1946
+ "customElement": true
1947
+ }
1948
+ ],
1949
+ "exports": [
1950
+ {
1951
+ "kind": "js",
1952
+ "name": "NARROW",
1953
+ "declaration": {
1954
+ "name": "NARROW",
1955
+ "module": "src/graph/layered-graph.ts"
1956
+ }
1957
+ },
1958
+ {
1959
+ "kind": "js",
1960
+ "name": "CaeLayeredGraph",
1961
+ "declaration": {
1962
+ "name": "CaeLayeredGraph",
1963
+ "module": "src/graph/layered-graph.ts"
1964
+ }
1965
+ }
1966
+ ]
1967
+ },
1968
+ {
1969
+ "kind": "javascript-module",
1970
+ "path": "src/json/json-tree.ts",
1971
+ "declarations": [
1972
+ {
1973
+ "kind": "class",
1974
+ "description": "Any JSON value as a foldable tree: the first level open, deeper levels folded.",
1975
+ "name": "CaeJsonTree",
1976
+ "cssParts": [
1977
+ {
1978
+ "description": "the tree",
1979
+ "name": "tree"
1980
+ }
1981
+ ],
1982
+ "members": [
1983
+ {
1984
+ "kind": "field",
1985
+ "name": "value",
1986
+ "type": {
1987
+ "text": "unknown"
1988
+ }
1989
+ },
1990
+ {
1991
+ "kind": "field",
1992
+ "name": "open",
1993
+ "type": {
1994
+ "text": "number"
1995
+ },
1996
+ "default": "1",
1997
+ "description": "Levels opened from the start.",
1998
+ "attribute": "open"
1999
+ },
2000
+ {
2001
+ "kind": "method",
2002
+ "name": "node",
2003
+ "privacy": "private",
2004
+ "return": {
2005
+ "type": {
2006
+ "text": "TemplateResult | string"
2007
+ }
2008
+ },
2009
+ "parameters": [
2010
+ {
2011
+ "name": "v",
2012
+ "type": {
2013
+ "text": "unknown"
2014
+ }
2015
+ },
2016
+ {
2017
+ "name": "depth",
2018
+ "type": {
2019
+ "text": "number"
2020
+ }
2021
+ }
2022
+ ]
2023
+ }
2024
+ ],
2025
+ "attributes": [
2026
+ {
2027
+ "name": "open",
2028
+ "type": {
2029
+ "text": "number"
2030
+ },
2031
+ "default": "1",
2032
+ "description": "Levels opened from the start.",
2033
+ "fieldName": "open"
2034
+ }
2035
+ ],
2036
+ "superclass": {
2037
+ "name": "LitElement",
2038
+ "package": "lit"
2039
+ },
2040
+ "tagName": "cae-json-tree",
2041
+ "customElement": true
2042
+ }
2043
+ ],
2044
+ "exports": [
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "CaeJsonTree",
2048
+ "declaration": {
2049
+ "name": "CaeJsonTree",
2050
+ "module": "src/json/json-tree.ts"
2051
+ }
2052
+ }
2053
+ ]
2054
+ },
2055
+ {
2056
+ "kind": "javascript-module",
2057
+ "path": "src/lanes/lanes.ts",
2058
+ "declarations": [
2059
+ {
2060
+ "kind": "class",
2061
+ "description": "Bars on a time axis, a lane per group: each bar as long as it took, the\noverlapping bars of a lane stacked, a running bar (`end` null) growing until\nnow and a line at now. A bar's look is its style in `barStyles`, whose\nlabels are the legend (a row per `group`). The bars grow in when they are\nfirst drawn.\n\nIts look: `--cae-lanes-label-width` (the lanes' labels; 112px, 78px on a\nnarrow screen) and the parts.",
2062
+ "name": "CaeLanes",
2063
+ "cssParts": [
2064
+ {
2065
+ "description": "the times above the lanes",
2066
+ "name": "axis"
2067
+ },
2068
+ {
2069
+ "description": "each lane",
2070
+ "name": "lane"
2071
+ },
2072
+ {
2073
+ "description": "a lane's label",
2074
+ "name": "lane-label"
2075
+ },
2076
+ {
2077
+ "description": "the area of a lane's bars",
2078
+ "name": "track"
2079
+ },
2080
+ {
2081
+ "description": "each bar",
2082
+ "name": "bar"
2083
+ },
2084
+ {
2085
+ "description": "the line at now, while a bar runs",
2086
+ "name": "now"
2087
+ },
2088
+ {
2089
+ "description": "each row of the legend",
2090
+ "name": "legend"
2091
+ },
2092
+ {
2093
+ "description": "what the element shows with no bars",
2094
+ "name": "empty"
2095
+ }
2096
+ ],
2097
+ "slots": [
2098
+ {
2099
+ "description": "what the element shows with no bars, instead of `strings.empty`",
2100
+ "name": "empty"
2101
+ }
2102
+ ],
2103
+ "members": [
2104
+ {
2105
+ "kind": "field",
2106
+ "name": "lanes",
2107
+ "type": {
2108
+ "text": "readonly Lane[]"
2109
+ },
2110
+ "default": "[]"
2111
+ },
2112
+ {
2113
+ "kind": "field",
2114
+ "name": "barStyles",
2115
+ "type": {
2116
+ "text": "Readonly<Record<string, LaneStyle>>"
2117
+ },
2118
+ "default": "{}",
2119
+ "description": "A look per style key of the bars, in legend order."
2120
+ },
2121
+ {
2122
+ "kind": "field",
2123
+ "name": "range",
2124
+ "type": {
2125
+ "text": "TimeRange | null"
2126
+ },
2127
+ "default": "null",
2128
+ "description": "The time the axis spans; null fits the bars (`fitRange`)."
2129
+ },
2130
+ {
2131
+ "kind": "field",
2132
+ "name": "live",
2133
+ "type": {
2134
+ "text": "boolean"
2135
+ },
2136
+ "default": "false",
2137
+ "description": "Draws again every second, so the running bars and the line at now move.",
2138
+ "attribute": "live"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "omitted",
2143
+ "type": {
2144
+ "text": "number"
2145
+ },
2146
+ "default": "0",
2147
+ "description": "Bars the host left out, as a note after the legend.",
2148
+ "attribute": "omitted"
2149
+ },
2150
+ {
2151
+ "kind": "field",
2152
+ "name": "locale",
2153
+ "type": {
2154
+ "text": "string"
2155
+ },
2156
+ "default": "''",
2157
+ "description": "The language of the axis' times; by default the page's (`lang`).",
2158
+ "attribute": "locale"
2159
+ },
2160
+ {
2161
+ "kind": "field",
2162
+ "name": "strings",
2163
+ "type": {
2164
+ "text": "Partial<LanesStrings>"
2165
+ },
2166
+ "default": "{}"
2167
+ },
2168
+ {
2169
+ "kind": "field",
2170
+ "name": "timer",
2171
+ "type": {
2172
+ "text": "ReturnType<typeof setInterval> | null"
2173
+ },
2174
+ "privacy": "private",
2175
+ "default": "null"
2176
+ },
2177
+ {
2178
+ "kind": "field",
2179
+ "name": "drawn",
2180
+ "type": {
2181
+ "text": "boolean"
2182
+ },
2183
+ "privacy": "private",
2184
+ "default": "false",
2185
+ "description": "The bars have been drawn once: later bars do not grow in."
2186
+ },
2187
+ {
2188
+ "kind": "method",
2189
+ "name": "tick",
2190
+ "privacy": "private",
2191
+ "return": {
2192
+ "type": {
2193
+ "text": "void"
2194
+ }
2195
+ },
2196
+ "parameters": [
2197
+ {
2198
+ "name": "on",
2199
+ "type": {
2200
+ "text": "boolean"
2201
+ }
2202
+ }
2203
+ ]
2204
+ },
2205
+ {
2206
+ "kind": "method",
2207
+ "name": "time",
2208
+ "privacy": "private",
2209
+ "return": {
2210
+ "type": {
2211
+ "text": "string"
2212
+ }
2213
+ },
2214
+ "parameters": [
2215
+ {
2216
+ "name": "t",
2217
+ "type": {
2218
+ "text": "number"
2219
+ }
2220
+ },
2221
+ {
2222
+ "name": "seconds",
2223
+ "type": {
2224
+ "text": "boolean"
2225
+ }
2226
+ }
2227
+ ]
2228
+ },
2229
+ {
2230
+ "kind": "method",
2231
+ "name": "lane",
2232
+ "privacy": "private",
2233
+ "return": {
2234
+ "type": {
2235
+ "text": "TemplateResult"
2236
+ }
2237
+ },
2238
+ "parameters": [
2239
+ {
2240
+ "name": "l",
2241
+ "type": {
2242
+ "text": "Lane"
2243
+ }
2244
+ },
2245
+ {
2246
+ "name": "range",
2247
+ "type": {
2248
+ "text": "TimeRange"
2249
+ }
2250
+ },
2251
+ {
2252
+ "name": "now",
2253
+ "type": {
2254
+ "text": "number"
2255
+ }
2256
+ }
2257
+ ]
2258
+ },
2259
+ {
2260
+ "kind": "method",
2261
+ "name": "legends",
2262
+ "privacy": "private",
2263
+ "return": {
2264
+ "type": {
2265
+ "text": "TemplateResult[]"
2266
+ }
2267
+ },
2268
+ "parameters": [
2269
+ {
2270
+ "name": "s",
2271
+ "type": {
2272
+ "text": "LanesStrings"
2273
+ }
2274
+ }
2275
+ ],
2276
+ "description": "A legend row per group of styles, in key order; the note of omitted bars ends the last."
2277
+ }
2278
+ ],
2279
+ "attributes": [
2280
+ {
2281
+ "name": "live",
2282
+ "type": {
2283
+ "text": "boolean"
2284
+ },
2285
+ "default": "false",
2286
+ "description": "Draws again every second, so the running bars and the line at now move.",
2287
+ "fieldName": "live"
2288
+ },
2289
+ {
2290
+ "name": "omitted",
2291
+ "type": {
2292
+ "text": "number"
2293
+ },
2294
+ "default": "0",
2295
+ "description": "Bars the host left out, as a note after the legend.",
2296
+ "fieldName": "omitted"
2297
+ },
2298
+ {
2299
+ "name": "locale",
2300
+ "type": {
2301
+ "text": "string"
2302
+ },
2303
+ "default": "''",
2304
+ "description": "The language of the axis' times; by default the page's (`lang`).",
2305
+ "fieldName": "locale"
2306
+ }
2307
+ ],
2308
+ "superclass": {
2309
+ "name": "LitElement",
2310
+ "package": "lit"
2311
+ },
2312
+ "tagName": "cae-lanes",
2313
+ "customElement": true
2314
+ }
2315
+ ],
2316
+ "exports": [
2317
+ {
2318
+ "kind": "js",
2319
+ "name": "CaeLanes",
2320
+ "declaration": {
2321
+ "name": "CaeLanes",
2322
+ "module": "src/lanes/lanes.ts"
2323
+ }
2324
+ }
2325
+ ]
2326
+ },
2327
+ {
2328
+ "kind": "javascript-module",
2329
+ "path": "src/markdown/cae-markdown.ts",
2330
+ "declarations": [
2331
+ {
2332
+ "kind": "variable",
2333
+ "name": "DEFAULT_MARKDOWN_STRINGS",
2334
+ "type": {
2335
+ "text": "Readonly<MarkdownStrings>"
2336
+ },
2337
+ "default": "{ showRendered: 'Show rendered', showSource: 'Show source' }"
2338
+ },
2339
+ {
2340
+ "kind": "class",
2341
+ "description": "A markdown text with a rendered/source switch. `split` may take a leading line\noff the text, shown apart above the rendered body; the source is the text as\nit is.",
2342
+ "name": "CaeMarkdown",
2343
+ "cssParts": [
2344
+ {
2345
+ "description": "the rendered/source button",
2346
+ "name": "toggle"
2347
+ }
2348
+ ],
2349
+ "members": [
2350
+ {
2351
+ "kind": "field",
2352
+ "name": "text",
2353
+ "type": {
2354
+ "text": "string"
2355
+ },
2356
+ "default": "''",
2357
+ "attribute": "text"
2358
+ },
2359
+ {
2360
+ "kind": "field",
2361
+ "name": "split",
2362
+ "type": {
2363
+ "text": "(text: string) => { head: string; body: string } | undefined"
2364
+ },
2365
+ "description": "Takes a leading line off the text (`head`), shown apart above the rendered `body`."
2366
+ },
2367
+ {
2368
+ "kind": "field",
2369
+ "name": "transform",
2370
+ "type": {
2371
+ "text": "(html: string) => string | undefined"
2372
+ },
2373
+ "description": "Marks up the rendered (escaped) HTML further, as `mdFile`'s `mark`."
2374
+ },
2375
+ {
2376
+ "kind": "field",
2377
+ "name": "strings",
2378
+ "type": {
2379
+ "text": "Partial<MarkdownStrings>"
2380
+ },
2381
+ "default": "{}",
2382
+ "description": "The visible words; English by default."
2383
+ },
2384
+ {
2385
+ "kind": "field",
2386
+ "name": "source",
2387
+ "type": {
2388
+ "text": "boolean"
2389
+ },
2390
+ "privacy": "private",
2391
+ "default": "false"
2392
+ }
2393
+ ],
2394
+ "attributes": [
2395
+ {
2396
+ "name": "text",
2397
+ "type": {
2398
+ "text": "string"
2399
+ },
2400
+ "default": "''",
2401
+ "fieldName": "text"
2402
+ }
2403
+ ],
2404
+ "superclass": {
2405
+ "name": "LitElement",
2406
+ "package": "lit"
2407
+ },
2408
+ "tagName": "cae-markdown",
2409
+ "customElement": true
2410
+ }
2411
+ ],
2412
+ "exports": [
2413
+ {
2414
+ "kind": "js",
2415
+ "name": "DEFAULT_MARKDOWN_STRINGS",
2416
+ "declaration": {
2417
+ "name": "DEFAULT_MARKDOWN_STRINGS",
2418
+ "module": "src/markdown/cae-markdown.ts"
2419
+ }
2420
+ },
2421
+ {
2422
+ "kind": "js",
2423
+ "name": "CaeMarkdown",
2424
+ "declaration": {
2425
+ "name": "CaeMarkdown",
2426
+ "module": "src/markdown/cae-markdown.ts"
2427
+ }
2428
+ }
2429
+ ]
2430
+ },
2431
+ {
2432
+ "kind": "javascript-module",
2433
+ "path": "src/matrix/mark-matrix.ts",
2434
+ "declarations": [
2435
+ {
2436
+ "kind": "class",
2437
+ "description": "A table of marks: a row per series (its label, then a value), a column per item,\nthe columns under nested groups (a border where a group starts). A mark is\ndrawn in its state's look (`states`). A click selects a mark (`cae-select`);\na double click or Enter is its action (`cae-activate`, or `cae-drill` for a mark\nwith an inner view). The arrow keys, Home, End, Page Up and Page Down move\nbetween the marks (Ctrl with Home and End: the first and the last row). The\nhovered, focused or selected mark's row is highlighted, else `highlight`'s. The\nhost sorts the rows: the sort control sends `cae-sort`. Above `windowAt` rows,\nonly the rows in view are drawn.",
2438
+ "name": "CaeMarkMatrix",
2439
+ "cssParts": [
2440
+ {
2441
+ "description": "the `<table>`",
2442
+ "name": "matrix"
2443
+ },
2444
+ {
2445
+ "description": "each header cell",
2446
+ "name": "head-cell"
2447
+ },
2448
+ {
2449
+ "description": "each row's label",
2450
+ "name": "row-header"
2451
+ },
2452
+ {
2453
+ "description": "each mark",
2454
+ "name": "mark"
2455
+ },
2456
+ {
2457
+ "description": "the sort control",
2458
+ "name": "sort"
2459
+ }
2460
+ ],
2461
+ "members": [
2462
+ {
2463
+ "kind": "field",
2464
+ "name": "matrix",
2465
+ "privacy": "public",
2466
+ "type": {
2467
+ "text": "MarkMatrixInput"
2468
+ },
2469
+ "default": "{ caption: '', label: '', head: [], columns: [], rows: [] }"
2470
+ },
2471
+ {
2472
+ "kind": "field",
2473
+ "name": "states",
2474
+ "privacy": "public",
2475
+ "type": {
2476
+ "text": "StateStyles"
2477
+ },
2478
+ "default": "{}"
2479
+ },
2480
+ {
2481
+ "kind": "field",
2482
+ "name": "selected",
2483
+ "privacy": "public",
2484
+ "type": {
2485
+ "text": "string | null"
2486
+ },
2487
+ "default": "null",
2488
+ "description": "The selected mark's id, or null."
2489
+ },
2490
+ {
2491
+ "kind": "field",
2492
+ "name": "highlight",
2493
+ "privacy": "public",
2494
+ "type": {
2495
+ "text": "string | null"
2496
+ },
2497
+ "default": "null",
2498
+ "description": "The row highlighted while no mark is hovered, focused or selected."
2499
+ },
2500
+ {
2501
+ "kind": "field",
2502
+ "name": "key",
2503
+ "privacy": "public",
2504
+ "type": {
2505
+ "text": "string"
2506
+ },
2507
+ "default": "''",
2508
+ "description": "The matrix's identity: a new key is a new matrix (the scroll and the focused mark start over).",
2509
+ "attribute": "key"
2510
+ },
2511
+ {
2512
+ "kind": "field",
2513
+ "name": "windowAt",
2514
+ "privacy": "public",
2515
+ "type": {
2516
+ "text": "number"
2517
+ },
2518
+ "default": "150",
2519
+ "description": "Above this many rows, only the rows in view are drawn.",
2520
+ "attribute": "windowAt"
2521
+ },
2522
+ {
2523
+ "kind": "field",
2524
+ "name": "strings",
2525
+ "privacy": "public",
2526
+ "type": {
2527
+ "text": "Partial<MarkMatrixStrings>"
2528
+ },
2529
+ "default": "{}"
2530
+ },
2531
+ {
2532
+ "kind": "field",
2533
+ "name": "renderIcon",
2534
+ "privacy": "public",
2535
+ "type": {
2536
+ "text": "(name: string) => unknown"
2537
+ },
2538
+ "description": "Draws an icon of a header cell; default: `icon(name)`."
2539
+ },
2540
+ {
2541
+ "kind": "field",
2542
+ "name": "iconStyles",
2543
+ "privacy": "public",
2544
+ "type": {
2545
+ "text": "readonly CSSResult[]"
2546
+ },
2547
+ "default": "[]",
2548
+ "description": "Styles for what `renderIcon` draws, added to the element's own."
2549
+ },
2550
+ {
2551
+ "kind": "field",
2552
+ "name": "hover",
2553
+ "privacy": "private",
2554
+ "type": {
2555
+ "text": "string | null"
2556
+ },
2557
+ "default": "null",
2558
+ "description": "The row (or a mark without one) under the pointer or focus.",
2559
+ "attribute": "hover"
2560
+ },
2561
+ {
2562
+ "kind": "field",
2563
+ "name": "scrollRow",
2564
+ "privacy": "private",
2565
+ "type": {
2566
+ "text": "number"
2567
+ },
2568
+ "default": "0",
2569
+ "description": "The first row in view, and the focused cell (row, column).",
2570
+ "attribute": "scrollRow"
2571
+ },
2572
+ {
2573
+ "kind": "field",
2574
+ "name": "cell",
2575
+ "type": {
2576
+ "text": "[number, number] | null"
2577
+ },
2578
+ "privacy": "private",
2579
+ "default": "null"
2580
+ },
2581
+ {
2582
+ "kind": "method",
2583
+ "name": "lit",
2584
+ "privacy": "private",
2585
+ "return": {
2586
+ "type": {
2587
+ "text": "string | null"
2588
+ }
2589
+ },
2590
+ "description": "The highlighted row: the one hovered or focused, else the selected mark's, else `highlight`."
2591
+ },
2592
+ {
2593
+ "kind": "method",
2594
+ "name": "select",
2595
+ "privacy": "private",
2596
+ "return": {
2597
+ "type": {
2598
+ "text": "void"
2599
+ }
2600
+ },
2601
+ "parameters": [
2602
+ {
2603
+ "name": "id",
2604
+ "type": {
2605
+ "text": "string"
2606
+ }
2607
+ }
2608
+ ]
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "act",
2613
+ "privacy": "private",
2614
+ "return": {
2615
+ "type": {
2616
+ "text": "void"
2617
+ }
2618
+ },
2619
+ "parameters": [
2620
+ {
2621
+ "name": "m",
2622
+ "type": {
2623
+ "text": "MatrixMark"
2624
+ }
2625
+ }
2626
+ ]
2627
+ },
2628
+ {
2629
+ "kind": "method",
2630
+ "name": "mark",
2631
+ "privacy": "private",
2632
+ "parameters": [
2633
+ {
2634
+ "name": "r",
2635
+ "type": {
2636
+ "text": "MatrixRowInput"
2637
+ }
2638
+ },
2639
+ {
2640
+ "name": "m",
2641
+ "type": {
2642
+ "text": "MatrixMark"
2643
+ }
2644
+ },
2645
+ {
2646
+ "name": "ri",
2647
+ "type": {
2648
+ "text": "number"
2649
+ }
2650
+ },
2651
+ {
2652
+ "name": "ci",
2653
+ "type": {
2654
+ "text": "number"
2655
+ }
2656
+ },
2657
+ {
2658
+ "name": "tabStop",
2659
+ "type": {
2660
+ "text": "boolean"
2661
+ }
2662
+ },
2663
+ {
2664
+ "name": "hl",
2665
+ "type": {
2666
+ "text": "string | null"
2667
+ }
2668
+ }
2669
+ ]
2670
+ },
2671
+ {
2672
+ "kind": "field",
2673
+ "name": "onScroll",
2674
+ "privacy": "private",
2675
+ "readonly": true
2676
+ },
2677
+ {
2678
+ "kind": "method",
2679
+ "name": "onKey",
2680
+ "privacy": "private",
2681
+ "return": {
2682
+ "type": {
2683
+ "text": "void"
2684
+ }
2685
+ },
2686
+ "parameters": [
2687
+ {
2688
+ "name": "e",
2689
+ "type": {
2690
+ "text": "KeyboardEvent"
2691
+ }
2692
+ },
2693
+ {
2694
+ "name": "rows",
2695
+ "type": {
2696
+ "text": "readonly MatrixRowInput[]"
2697
+ }
2698
+ }
2699
+ ]
2700
+ }
2701
+ ],
2702
+ "events": [
2703
+ {
2704
+ "description": "`{id}`: a mark was clicked or focused",
2705
+ "name": "cae-select"
2706
+ },
2707
+ {
2708
+ "description": "`{id}`: a mark's action (a double click or Enter)",
2709
+ "name": "cae-activate"
2710
+ },
2711
+ {
2712
+ "description": "`{id}`: a mark's inner view (a double click or Enter on a mark with `drill`)",
2713
+ "name": "cae-drill"
2714
+ },
2715
+ {
2716
+ "description": "`{id, direction: 'asc'}`: an order was chosen",
2717
+ "name": "cae-sort"
2718
+ }
2719
+ ],
2720
+ "attributes": [
2721
+ {
2722
+ "name": "key",
2723
+ "type": {
2724
+ "text": "string"
2725
+ },
2726
+ "default": "''",
2727
+ "description": "The matrix's identity: a new key is a new matrix (the scroll and the focused mark start over).",
2728
+ "fieldName": "key"
2729
+ },
2730
+ {
2731
+ "name": "windowAt",
2732
+ "type": {
2733
+ "text": "number"
2734
+ },
2735
+ "default": "150",
2736
+ "description": "Above this many rows, only the rows in view are drawn.",
2737
+ "fieldName": "windowAt"
2738
+ },
2739
+ {
2740
+ "name": "hover",
2741
+ "type": {
2742
+ "text": "string | null"
2743
+ },
2744
+ "default": "null",
2745
+ "description": "The row (or a mark without one) under the pointer or focus.",
2746
+ "fieldName": "hover"
2747
+ },
2748
+ {
2749
+ "name": "scrollRow",
2750
+ "type": {
2751
+ "text": "number"
2752
+ },
2753
+ "default": "0",
2754
+ "description": "The first row in view, and the focused cell (row, column).",
2755
+ "fieldName": "scrollRow"
2756
+ }
2757
+ ],
2758
+ "superclass": {
2759
+ "name": "LitElement",
2760
+ "package": "lit"
2761
+ },
2762
+ "tagName": "cae-mark-matrix",
2763
+ "customElement": true
2764
+ }
2765
+ ],
2766
+ "exports": [
2767
+ {
2768
+ "kind": "js",
2769
+ "name": "CaeMarkMatrix",
2770
+ "declaration": {
2771
+ "name": "CaeMarkMatrix",
2772
+ "module": "src/matrix/mark-matrix.ts"
2773
+ }
2774
+ }
2775
+ ]
2776
+ },
2777
+ {
2778
+ "kind": "javascript-module",
2779
+ "path": "src/primitives/segmented.ts",
2780
+ "declarations": [
2781
+ {
2782
+ "kind": "class",
2783
+ "description": "One choice among a few, as a row of buttons (a radio group): a click, or the\narrow keys, Home and End, choose. The group is one tab stop.\n\nIts look: `--cae-segmented-radius`, `--cae-segmented-height`,\n`--cae-segmented-padding`, `--cae-segmented-font-size`,\n`--cae-segmented-divider` (the line between options) and\n`--cae-segmented-hover` (an option's text under the pointer), or the parts.",
2784
+ "name": "CaeSegmented",
2785
+ "cssParts": [
2786
+ {
2787
+ "description": "the row of options",
2788
+ "name": "group"
2789
+ },
2790
+ {
2791
+ "description": "each option",
2792
+ "name": "option"
2793
+ },
2794
+ {
2795
+ "description": "the chosen option",
2796
+ "name": "option-selected"
2797
+ }
2798
+ ],
2799
+ "members": [
2800
+ {
2801
+ "kind": "field",
2802
+ "name": "options",
2803
+ "type": {
2804
+ "text": "readonly SegmentedOption[]"
2805
+ },
2806
+ "default": "[]"
2807
+ },
2808
+ {
2809
+ "kind": "field",
2810
+ "name": "value",
2811
+ "type": {
2812
+ "text": "string"
2813
+ },
2814
+ "default": "''",
2815
+ "attribute": "value"
2816
+ },
2817
+ {
2818
+ "kind": "field",
2819
+ "name": "label",
2820
+ "type": {
2821
+ "text": "string"
2822
+ },
2823
+ "default": "''",
2824
+ "description": "The group's accessible name.",
2825
+ "attribute": "label"
2826
+ },
2827
+ {
2828
+ "kind": "field",
2829
+ "name": "roving",
2830
+ "privacy": "private",
2831
+ "readonly": true,
2832
+ "default": "new RovingFocusController(this, { items: () => [...(this.renderRoot.querySelectorAll<HTMLButtonElement>('button:not(:disabled)') ?? [])], layout: 'horizontal', wrap: true, onMove: (el) => this.choose(el.dataset['value'] ?? ''), })"
2833
+ },
2834
+ {
2835
+ "kind": "method",
2836
+ "name": "choose",
2837
+ "privacy": "private",
2838
+ "return": {
2839
+ "type": {
2840
+ "text": "void"
2841
+ }
2842
+ },
2843
+ "parameters": [
2844
+ {
2845
+ "name": "value",
2846
+ "type": {
2847
+ "text": "string"
2848
+ }
2849
+ }
2850
+ ]
2851
+ }
2852
+ ],
2853
+ "events": [
2854
+ {
2855
+ "description": "`{value}`: the option the reader chose",
2856
+ "name": "cae-change"
2857
+ }
2858
+ ],
2859
+ "attributes": [
2860
+ {
2861
+ "name": "value",
2862
+ "type": {
2863
+ "text": "string"
2864
+ },
2865
+ "default": "''",
2866
+ "fieldName": "value"
2867
+ },
2868
+ {
2869
+ "name": "label",
2870
+ "type": {
2871
+ "text": "string"
2872
+ },
2873
+ "default": "''",
2874
+ "description": "The group's accessible name.",
2875
+ "fieldName": "label"
2876
+ }
2877
+ ],
2878
+ "superclass": {
2879
+ "name": "LitElement",
2880
+ "package": "lit"
2881
+ },
2882
+ "tagName": "cae-segmented",
2883
+ "customElement": true
2884
+ }
2885
+ ],
2886
+ "exports": [
2887
+ {
2888
+ "kind": "js",
2889
+ "name": "CaeSegmented",
2890
+ "declaration": {
2891
+ "name": "CaeSegmented",
2892
+ "module": "src/primitives/segmented.ts"
2893
+ }
2894
+ }
2895
+ ]
2896
+ },
2897
+ {
2898
+ "kind": "javascript-module",
2899
+ "path": "src/table/data-table.ts",
2900
+ "declarations": [
2901
+ {
2902
+ "kind": "class",
2903
+ "description": "A table of rows, one per item, in a real `<table>`: a header cell per column\n(`scope=\"col\"`), the first `rowHeader` column as the row's header. The rows\nare one tab stop: the arrow keys, Home and End move between them, and Enter or\na click is the row's primary action (`cae-activate`), or chooses it as the\nselection when the table is not `activatable` (`cae-select`). A sortable\nheader sends `cae-sort`; the host orders the rows (`sortRows`) and sets them.\nAbove `windowAt` rows, only the rows on screen are drawn, and a spacer stands\nfor the others: as high as those rows were when drawn, or, for a row not drawn\nyet, as the rows drawn are on average. Rows may differ in height.\n\nIts look: `--cae-data-table-gap` (between the columns), `--cae-data-table-row-padding`,\nthe parts, and `cellStyles` (styles for what the cells draw, added to the\ntable's own).",
2904
+ "name": "CaeDataTable",
2905
+ "cssParts": [
2906
+ {
2907
+ "description": "the `<table>`",
2908
+ "name": "table"
2909
+ },
2910
+ {
2911
+ "description": "the caption",
2912
+ "name": "caption"
2913
+ },
2914
+ {
2915
+ "description": "the header row's group",
2916
+ "name": "head"
2917
+ },
2918
+ {
2919
+ "description": "each header cell",
2920
+ "name": "header-cell"
2921
+ },
2922
+ {
2923
+ "description": "each row",
2924
+ "name": "row"
2925
+ },
2926
+ {
2927
+ "description": "the selected row",
2928
+ "name": "row-selected"
2929
+ },
2930
+ {
2931
+ "description": "each cell",
2932
+ "name": "cell"
2933
+ },
2934
+ {
2935
+ "description": "the cell that stands for no rows",
2936
+ "name": "empty"
2937
+ }
2938
+ ],
2939
+ "slots": [
2940
+ {
2941
+ "description": "the caption, instead of `caption`",
2942
+ "name": "caption"
2943
+ },
2944
+ {
2945
+ "description": "what the table shows with no rows, instead of `strings.empty`",
2946
+ "name": "empty"
2947
+ }
2948
+ ],
2949
+ "members": [
2950
+ {
2951
+ "kind": "field",
2952
+ "name": "columns",
2953
+ "type": {
2954
+ "text": "readonly DataColumn<R>[]"
2955
+ },
2956
+ "default": "[]"
2957
+ },
2958
+ {
2959
+ "kind": "field",
2960
+ "name": "rows",
2961
+ "type": {
2962
+ "text": "readonly R[]"
2963
+ },
2964
+ "default": "[]"
2965
+ },
2966
+ {
2967
+ "kind": "field",
2968
+ "name": "rowKey",
2969
+ "type": {
2970
+ "text": "(row: R) => string"
2971
+ },
2972
+ "description": "A row's id: unique among the rows (`data-key`, the `id` of the events). By default its `id`."
2973
+ },
2974
+ {
2975
+ "kind": "field",
2976
+ "name": "rowTone",
2977
+ "type": {
2978
+ "text": "(row: R) => Tone | undefined | undefined"
2979
+ },
2980
+ "description": "A row's tone (`data-tone` on the row)."
2981
+ },
2982
+ {
2983
+ "kind": "field",
2984
+ "name": "rowAttrs",
2985
+ "type": {
2986
+ "text": "(row: R) => Readonly<Record<string, string>> | undefined"
2987
+ },
2988
+ "description": "More attributes on a row (`data-*`), for the host's styles and tests."
2989
+ },
2990
+ {
2991
+ "kind": "field",
2992
+ "name": "activatable",
2993
+ "type": {
2994
+ "text": "boolean"
2995
+ },
2996
+ "default": "true",
2997
+ "description": "A click or Enter on a row is its primary action (`cae-activate`); otherwise it selects the row (`cae-select`).",
2998
+ "attribute": "activatable"
2999
+ },
3000
+ {
3001
+ "kind": "field",
3002
+ "name": "selected",
3003
+ "type": {
3004
+ "text": "string | null"
3005
+ },
3006
+ "default": "null",
3007
+ "description": "The id of the selected row.",
3008
+ "attribute": "selected"
3009
+ },
3010
+ {
3011
+ "kind": "field",
3012
+ "name": "sort",
3013
+ "type": {
3014
+ "text": "SortState | null"
3015
+ },
3016
+ "default": "null",
3017
+ "description": "The column the rows are ordered by: shown in its header (`aria-sort`). The host orders the rows."
3018
+ },
3019
+ {
3020
+ "kind": "field",
3021
+ "name": "windowAt",
3022
+ "type": {
3023
+ "text": "number"
3024
+ },
3025
+ "default": "200",
3026
+ "description": "Above this many rows, only the rows on screen are drawn.",
3027
+ "attribute": "windowAt"
3028
+ },
3029
+ {
3030
+ "kind": "field",
3031
+ "name": "rowHeight",
3032
+ "type": {
3033
+ "text": "number"
3034
+ },
3035
+ "default": "32",
3036
+ "description": "A row's height in px, until rows are measured.",
3037
+ "attribute": "rowHeight"
3038
+ },
3039
+ {
3040
+ "kind": "field",
3041
+ "name": "caption",
3042
+ "type": {
3043
+ "text": "string"
3044
+ },
3045
+ "default": "''",
3046
+ "description": "The table's caption (its accessible name).",
3047
+ "attribute": "caption"
3048
+ },
3049
+ {
3050
+ "kind": "field",
3051
+ "name": "strings",
3052
+ "type": {
3053
+ "text": "Partial<DataTableStrings>"
3054
+ },
3055
+ "default": "{}"
3056
+ },
3057
+ {
3058
+ "kind": "field",
3059
+ "name": "cellStyles",
3060
+ "type": {
3061
+ "text": "readonly CSSResult[]"
3062
+ },
3063
+ "default": "[]",
3064
+ "description": "Styles for what the cells draw, added after the table's own (the rows are `tr`, the cells `th` and `td`)."
3065
+ },
3066
+ {
3067
+ "kind": "field",
3068
+ "name": "range",
3069
+ "type": {
3070
+ "text": "{ from: number; to: number }"
3071
+ },
3072
+ "privacy": "private",
3073
+ "default": "{ from: 0, to: FIRST_ROWS }",
3074
+ "description": "The rows drawn, when windowed."
3075
+ },
3076
+ {
3077
+ "kind": "field",
3078
+ "name": "heights",
3079
+ "privacy": "private",
3080
+ "default": "new Map<string, number>()",
3081
+ "description": "Each drawn row's height, by its key: what stands for it while it is not drawn."
3082
+ },
3083
+ {
3084
+ "kind": "field",
3085
+ "name": "offsets",
3086
+ "type": {
3087
+ "text": "number[] | null"
3088
+ },
3089
+ "privacy": "private",
3090
+ "default": "null",
3091
+ "description": "Where each row starts (`rowOffsets`), for the rows as they are; null: to work out again."
3092
+ },
3093
+ {
3094
+ "kind": "field",
3095
+ "name": "focusKey",
3096
+ "type": {
3097
+ "text": "string | null"
3098
+ },
3099
+ "privacy": "private",
3100
+ "default": "null",
3101
+ "description": "The row that holds the tab stop."
3102
+ },
3103
+ {
3104
+ "kind": "field",
3105
+ "name": "scroller",
3106
+ "type": {
3107
+ "text": "HTMLElement | Window | null"
3108
+ },
3109
+ "privacy": "private",
3110
+ "default": "null"
3111
+ },
3112
+ {
3113
+ "kind": "field",
3114
+ "name": "resized",
3115
+ "type": {
3116
+ "text": "ResizeObserver | null"
3117
+ },
3118
+ "privacy": "private",
3119
+ "default": "null"
3120
+ },
3121
+ {
3122
+ "kind": "field",
3123
+ "name": "frame",
3124
+ "type": {
3125
+ "text": "number"
3126
+ },
3127
+ "privacy": "private",
3128
+ "default": "0"
3129
+ },
3130
+ {
3131
+ "kind": "field",
3132
+ "name": "held",
3133
+ "type": {
3134
+ "text": "boolean"
3135
+ },
3136
+ "privacy": "private",
3137
+ "default": "false",
3138
+ "description": "The next update keeps `range` as set (Home and End set it before the scroller reports)."
3139
+ },
3140
+ {
3141
+ "kind": "field",
3142
+ "name": "roving",
3143
+ "privacy": "private",
3144
+ "readonly": true,
3145
+ "default": "new RovingFocusController(this, { items: () => [...this.renderRoot.querySelectorAll<HTMLElement>('tbody tr[data-key]')], layout: 'vertical', onMove: (el) => (this.focusKey = el.dataset['key'] ?? null), })"
3146
+ },
3147
+ {
3148
+ "kind": "field",
3149
+ "name": "windowed",
3150
+ "type": {
3151
+ "text": "boolean"
3152
+ },
3153
+ "privacy": "private",
3154
+ "readonly": true
3155
+ },
3156
+ {
3157
+ "kind": "method",
3158
+ "name": "rowStarts",
3159
+ "privacy": "private",
3160
+ "return": {
3161
+ "type": {
3162
+ "text": "number[]"
3163
+ }
3164
+ },
3165
+ "description": "Where each row starts: its measured height, else the drawn rows' average."
3166
+ },
3167
+ {
3168
+ "kind": "method",
3169
+ "name": "visible",
3170
+ "privacy": "private",
3171
+ "return": {
3172
+ "type": {
3173
+ "text": "RowWindow"
3174
+ }
3175
+ },
3176
+ "description": "The rows on screen, from where the table's body is in its scroller."
3177
+ },
3178
+ {
3179
+ "kind": "method",
3180
+ "name": "scrollToEnd",
3181
+ "privacy": "private",
3182
+ "return": {
3183
+ "type": {
3184
+ "text": "void"
3185
+ }
3186
+ },
3187
+ "parameters": [
3188
+ {
3189
+ "name": "last",
3190
+ "type": {
3191
+ "text": "boolean"
3192
+ }
3193
+ }
3194
+ ],
3195
+ "description": "Scrolls the body's first row (or its last, `last`) into the scroller's view."
3196
+ },
3197
+ {
3198
+ "kind": "method",
3199
+ "name": "reframe",
3200
+ "privacy": "private",
3201
+ "return": {
3202
+ "type": {
3203
+ "text": "void"
3204
+ }
3205
+ }
3206
+ },
3207
+ {
3208
+ "kind": "field",
3209
+ "name": "onScroll",
3210
+ "privacy": "private",
3211
+ "readonly": true
3212
+ },
3213
+ {
3214
+ "kind": "method",
3215
+ "name": "findScroller",
3216
+ "privacy": "private",
3217
+ "return": {
3218
+ "type": {
3219
+ "text": "HTMLElement | Window"
3220
+ }
3221
+ },
3222
+ "description": "The nearest ancestor that scrolls the table vertically, across shadow roots; the window when none does."
3223
+ },
3224
+ {
3225
+ "kind": "method",
3226
+ "name": "watch",
3227
+ "privacy": "private",
3228
+ "return": {
3229
+ "type": {
3230
+ "text": "void"
3231
+ }
3232
+ }
3233
+ },
3234
+ {
3235
+ "kind": "method",
3236
+ "name": "unwatch",
3237
+ "privacy": "private",
3238
+ "return": {
3239
+ "type": {
3240
+ "text": "void"
3241
+ }
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "method",
3246
+ "name": "shown",
3247
+ "privacy": "private",
3248
+ "return": {
3249
+ "type": {
3250
+ "text": "readonly R[]"
3251
+ }
3252
+ },
3253
+ "description": "The rows drawn now."
3254
+ },
3255
+ {
3256
+ "kind": "method",
3257
+ "name": "rowOf",
3258
+ "privacy": "private",
3259
+ "return": {
3260
+ "type": {
3261
+ "text": "{ tr: HTMLElement; id: string } | null"
3262
+ }
3263
+ },
3264
+ "parameters": [
3265
+ {
3266
+ "name": "e",
3267
+ "type": {
3268
+ "text": "Event"
3269
+ }
3270
+ }
3271
+ ],
3272
+ "description": "The row of an event, and its id."
3273
+ },
3274
+ {
3275
+ "kind": "method",
3276
+ "name": "act",
3277
+ "privacy": "private",
3278
+ "return": {
3279
+ "type": {
3280
+ "text": "void"
3281
+ }
3282
+ },
3283
+ "parameters": [
3284
+ {
3285
+ "name": "id",
3286
+ "type": {
3287
+ "text": "string"
3288
+ }
3289
+ }
3290
+ ]
3291
+ },
3292
+ {
3293
+ "kind": "field",
3294
+ "name": "onClick",
3295
+ "privacy": "private",
3296
+ "readonly": true
3297
+ },
3298
+ {
3299
+ "kind": "field",
3300
+ "name": "onFocusIn",
3301
+ "privacy": "private",
3302
+ "readonly": true
3303
+ },
3304
+ {
3305
+ "kind": "field",
3306
+ "name": "onKey",
3307
+ "privacy": "private",
3308
+ "readonly": true
3309
+ },
3310
+ {
3311
+ "kind": "method",
3312
+ "name": "header",
3313
+ "privacy": "private",
3314
+ "return": {
3315
+ "type": {
3316
+ "text": "TemplateResult"
3317
+ }
3318
+ },
3319
+ "parameters": [
3320
+ {
3321
+ "name": "c",
3322
+ "type": {
3323
+ "text": "DataColumn<R>"
3324
+ }
3325
+ },
3326
+ {
3327
+ "name": "s",
3328
+ "type": {
3329
+ "text": "DataTableStrings"
3330
+ }
3331
+ }
3332
+ ]
3333
+ },
3334
+ {
3335
+ "kind": "method",
3336
+ "name": "row",
3337
+ "privacy": "private",
3338
+ "return": {
3339
+ "type": {
3340
+ "text": "TemplateResult"
3341
+ }
3342
+ },
3343
+ "parameters": [
3344
+ {
3345
+ "name": "r",
3346
+ "type": {
3347
+ "text": "R"
3348
+ }
3349
+ },
3350
+ {
3351
+ "name": "index",
3352
+ "type": {
3353
+ "text": "number"
3354
+ }
3355
+ },
3356
+ {
3357
+ "name": "head",
3358
+ "type": {
3359
+ "text": "string | undefined"
3360
+ }
3361
+ }
3362
+ ]
3363
+ }
3364
+ ],
3365
+ "events": [
3366
+ {
3367
+ "description": "`{id}`: a row's primary action (a click or Enter, when `activatable`)",
3368
+ "name": "cae-activate"
3369
+ },
3370
+ {
3371
+ "description": "`{id}`: a row chosen as the selection (a click or Enter, when not `activatable`)",
3372
+ "name": "cae-select"
3373
+ },
3374
+ {
3375
+ "description": "`{id, direction}`: a sortable header was clicked",
3376
+ "name": "cae-sort"
3377
+ }
3378
+ ],
3379
+ "attributes": [
3380
+ {
3381
+ "name": "activatable",
3382
+ "type": {
3383
+ "text": "boolean"
3384
+ },
3385
+ "default": "true",
3386
+ "description": "A click or Enter on a row is its primary action (`cae-activate`); otherwise it selects the row (`cae-select`).",
3387
+ "fieldName": "activatable"
3388
+ },
3389
+ {
3390
+ "name": "selected",
3391
+ "type": {
3392
+ "text": "string | null"
3393
+ },
3394
+ "default": "null",
3395
+ "description": "The id of the selected row.",
3396
+ "fieldName": "selected"
3397
+ },
3398
+ {
3399
+ "name": "windowAt",
3400
+ "type": {
3401
+ "text": "number"
3402
+ },
3403
+ "default": "200",
3404
+ "description": "Above this many rows, only the rows on screen are drawn.",
3405
+ "fieldName": "windowAt"
3406
+ },
3407
+ {
3408
+ "name": "rowHeight",
3409
+ "type": {
3410
+ "text": "number"
3411
+ },
3412
+ "default": "32",
3413
+ "description": "A row's height in px, until rows are measured.",
3414
+ "fieldName": "rowHeight"
3415
+ },
3416
+ {
3417
+ "name": "caption",
3418
+ "type": {
3419
+ "text": "string"
3420
+ },
3421
+ "default": "''",
3422
+ "description": "The table's caption (its accessible name).",
3423
+ "fieldName": "caption"
3424
+ }
3425
+ ],
3426
+ "superclass": {
3427
+ "name": "LitElement",
3428
+ "package": "lit"
3429
+ },
3430
+ "tagName": "cae-data-table",
3431
+ "customElement": true
3432
+ }
3433
+ ],
3434
+ "exports": [
3435
+ {
3436
+ "kind": "js",
3437
+ "name": "CaeDataTable",
3438
+ "declaration": {
3439
+ "name": "CaeDataTable",
3440
+ "module": "src/table/data-table.ts"
3441
+ }
3442
+ }
3443
+ ]
3444
+ },
3445
+ {
3446
+ "kind": "javascript-module",
3447
+ "path": "src/tiles/stat-tiles.ts",
3448
+ "declarations": [
3449
+ {
3450
+ "kind": "class",
3451
+ "description": "Figures as a grid of tiles: each its label, its value (a number counts up in\n`<cae-count>`), the lines of facts under it and a link. A tile whose number\nchanges bumps, unless `bump` is off or the reader asks for reduced motion.\n\nIts look: `columns` (fewer in a narrow element: 4 below 1100px of its\nwidth, 2 below 660px, 1 below 240px), `--cae-stat-tiles-gap` and the parts.",
3452
+ "name": "CaeStatTiles",
3453
+ "cssParts": [
3454
+ {
3455
+ "description": "the grid",
3456
+ "name": "tiles"
3457
+ },
3458
+ {
3459
+ "description": "each tile (`data-id` is its id, `data-tone` its tone)",
3460
+ "name": "tile"
3461
+ },
3462
+ {
3463
+ "description": "a tile's label",
3464
+ "name": "label"
3465
+ },
3466
+ {
3467
+ "description": "a tile's value",
3468
+ "name": "value"
3469
+ },
3470
+ {
3471
+ "description": "each line under the value",
3472
+ "name": "sub"
3473
+ },
3474
+ {
3475
+ "description": "a tile's link",
3476
+ "name": "action"
3477
+ }
3478
+ ],
3479
+ "members": [
3480
+ {
3481
+ "kind": "field",
3482
+ "name": "tiles",
3483
+ "type": {
3484
+ "text": "readonly StatTile[]"
3485
+ },
3486
+ "default": "[]"
3487
+ },
3488
+ {
3489
+ "kind": "field",
3490
+ "name": "columns",
3491
+ "type": {
3492
+ "text": "number"
3493
+ },
3494
+ "default": "5",
3495
+ "description": "Tiles per row on a wide screen.",
3496
+ "attribute": "columns"
3497
+ },
3498
+ {
3499
+ "kind": "field",
3500
+ "name": "bump",
3501
+ "type": {
3502
+ "text": "boolean"
3503
+ },
3504
+ "default": "true",
3505
+ "description": "A tile whose number changes bumps.",
3506
+ "attribute": "bump"
3507
+ },
3508
+ {
3509
+ "kind": "field",
3510
+ "name": "prev",
3511
+ "privacy": "private",
3512
+ "readonly": true,
3513
+ "default": "new Map<string, number>()",
3514
+ "description": "The last number each tile showed."
3515
+ },
3516
+ {
3517
+ "kind": "field",
3518
+ "name": "changed",
3519
+ "type": {
3520
+ "text": "string[]"
3521
+ },
3522
+ "privacy": "private",
3523
+ "default": "[]"
3524
+ },
3525
+ {
3526
+ "kind": "method",
3527
+ "name": "tile",
3528
+ "privacy": "private",
3529
+ "return": {
3530
+ "type": {
3531
+ "text": "TemplateResult"
3532
+ }
3533
+ },
3534
+ "parameters": [
3535
+ {
3536
+ "name": "t",
3537
+ "type": {
3538
+ "text": "StatTile"
3539
+ }
3540
+ }
3541
+ ]
3542
+ }
3543
+ ],
3544
+ "events": [
3545
+ {
3546
+ "description": "`{id, action}`: a tile's link, by the tile's id and the action's id",
3547
+ "name": "cae-action"
3548
+ }
3549
+ ],
3550
+ "attributes": [
3551
+ {
3552
+ "name": "columns",
3553
+ "type": {
3554
+ "text": "number"
3555
+ },
3556
+ "default": "5",
3557
+ "description": "Tiles per row on a wide screen.",
3558
+ "fieldName": "columns"
3559
+ },
3560
+ {
3561
+ "name": "bump",
3562
+ "type": {
3563
+ "text": "boolean"
3564
+ },
3565
+ "default": "true",
3566
+ "description": "A tile whose number changes bumps.",
3567
+ "fieldName": "bump"
3568
+ }
3569
+ ],
3570
+ "superclass": {
3571
+ "name": "LitElement",
3572
+ "package": "lit"
3573
+ },
3574
+ "tagName": "cae-stat-tiles",
3575
+ "customElement": true
3576
+ }
3577
+ ],
3578
+ "exports": [
3579
+ {
3580
+ "kind": "js",
3581
+ "name": "CaeStatTiles",
3582
+ "declaration": {
3583
+ "name": "CaeStatTiles",
3584
+ "module": "src/tiles/stat-tiles.ts"
3585
+ }
3586
+ }
3587
+ ]
3588
+ },
3589
+ {
3590
+ "kind": "javascript-module",
3591
+ "path": "src/transcript/transcript.ts",
3592
+ "declarations": [
3593
+ {
3594
+ "kind": "class",
3595
+ "description": "A conversation with an agent, in sections (one session each): chat bubbles,\nreasoning, notices and collapsible tool cards (a web search lists the pages\nit returned as links). Above two sections, a picker shows one at a time;\nthe latest is followed unless `shown` names another. While the reader is at\nthe bottom, new content scrolls into view; once they scroll up, it stays,\nand a button counts what arrived below. A new section that starts while\nthey read the latest one keeps the one they read on screen.\n\nGive it a new element (or set `loading` until the content arrives) for\nanother transcript: what the reader opened and where they were belong to one\ntranscript, kept in `memory`.",
3596
+ "name": "CaeTranscript",
3597
+ "cssParts": [
3598
+ {
3599
+ "description": "the section picker",
3600
+ "name": "picker"
3601
+ },
3602
+ {
3603
+ "description": "the section shown",
3604
+ "name": "section"
3605
+ },
3606
+ {
3607
+ "description": "a chip at the head of the section",
3608
+ "name": "tag"
3609
+ },
3610
+ {
3611
+ "description": "a prompt, an answer, reasoning or an event",
3612
+ "name": "bubble"
3613
+ },
3614
+ {
3615
+ "description": "a line of the agent's log",
3616
+ "name": "notice"
3617
+ },
3618
+ {
3619
+ "description": "a tool card",
3620
+ "name": "tool"
3621
+ },
3622
+ {
3623
+ "description": "an open tool card's body",
3624
+ "name": "tool-body"
3625
+ },
3626
+ {
3627
+ "description": "the box after the items (`footer`)",
3628
+ "name": "verdict"
3629
+ }
3630
+ ],
3631
+ "members": [
3632
+ {
3633
+ "kind": "field",
3634
+ "name": "sections",
3635
+ "type": {
3636
+ "text": "readonly TranscriptSection[]"
3637
+ },
3638
+ "default": "[]"
3639
+ },
3640
+ {
3641
+ "kind": "field",
3642
+ "name": "shown",
3643
+ "type": {
3644
+ "text": "number | null"
3645
+ },
3646
+ "default": "null",
3647
+ "description": "The section to show, 0-based; null follows the latest."
3648
+ },
3649
+ {
3650
+ "kind": "field",
3651
+ "name": "live",
3652
+ "type": {
3653
+ "text": "boolean"
3654
+ },
3655
+ "default": "false",
3656
+ "description": "The transcript is still being written: it shows the agent working; a tool call with no result is running, not interrupted.",
3657
+ "attribute": "live"
3658
+ },
3659
+ {
3660
+ "kind": "field",
3661
+ "name": "earlier",
3662
+ "type": {
3663
+ "text": "number"
3664
+ },
3665
+ "default": "0",
3666
+ "description": "Lines before the content that are not loaded: above 0, a button asks for them (`cae-load-earlier`).",
3667
+ "attribute": "earlier"
3668
+ },
3669
+ {
3670
+ "kind": "field",
3671
+ "name": "loading",
3672
+ "type": {
3673
+ "text": "boolean"
3674
+ },
3675
+ "default": "false",
3676
+ "description": "The content has not arrived yet: the reader's position is restored once it has.",
3677
+ "attribute": "loading"
3678
+ },
3679
+ {
3680
+ "kind": "field",
3681
+ "name": "count",
3682
+ "type": {
3683
+ "text": "number | null"
3684
+ },
3685
+ "default": "null",
3686
+ "description": "How much the transcript holds, for the count of what arrived below; by default its sections and items."
3687
+ },
3688
+ {
3689
+ "kind": "field",
3690
+ "name": "mode",
3691
+ "type": {
3692
+ "text": "'full' | 'tabs' | 'none'"
3693
+ },
3694
+ "default": "'full'",
3695
+ "description": "`full`; `tabs`: only the section picker; `none`: hidden.",
3696
+ "attribute": "mode",
3697
+ "reflects": true
3698
+ },
3699
+ {
3700
+ "kind": "field",
3701
+ "name": "memory",
3702
+ "type": {
3703
+ "text": "TranscriptMemory | null"
3704
+ },
3705
+ "default": "null",
3706
+ "description": "Where the open tool cards and the scroll position are kept."
3707
+ },
3708
+ {
3709
+ "kind": "field",
3710
+ "name": "markdown",
3711
+ "type": {
3712
+ "text": "((text: string) => string) | null"
3713
+ },
3714
+ "default": "null",
3715
+ "description": "Markdown to safe HTML (the text escaped), for answers and reasoning; without it they show as plain text."
3716
+ },
3717
+ {
3718
+ "kind": "field",
3719
+ "name": "renderDetail",
3720
+ "type": {
3721
+ "text": "((detail: TranscriptDetail) => unknown) | null"
3722
+ },
3723
+ "default": "null",
3724
+ "description": "Draws an open prose detail (a prompt); by default as `markdown`."
3725
+ },
3726
+ {
3727
+ "kind": "field",
3728
+ "name": "strings",
3729
+ "type": {
3730
+ "text": "Partial<TranscriptStrings>"
3731
+ },
3732
+ "default": "{}"
3733
+ },
3734
+ {
3735
+ "kind": "field",
3736
+ "name": "bulk",
3737
+ "type": {
3738
+ "text": "boolean"
3739
+ },
3740
+ "privacy": "private",
3741
+ "default": "true"
3742
+ },
3743
+ {
3744
+ "kind": "field",
3745
+ "name": "unseen",
3746
+ "type": {
3747
+ "text": "number"
3748
+ },
3749
+ "privacy": "private",
3750
+ "default": "0"
3751
+ },
3752
+ {
3753
+ "kind": "field",
3754
+ "name": "pinned",
3755
+ "type": {
3756
+ "text": "number | null"
3757
+ },
3758
+ "privacy": "private",
3759
+ "default": "null",
3760
+ "description": "A section kept on screen while the reader reads it and a new one starts (`shown` still says \"latest\")."
3761
+ },
3762
+ {
3763
+ "kind": "field",
3764
+ "name": "revealed",
3765
+ "type": {
3766
+ "text": "string"
3767
+ },
3768
+ "privacy": "private",
3769
+ "default": "''",
3770
+ "description": "The card `reveal` asked for: scrolled to once it is drawn."
3771
+ },
3772
+ {
3773
+ "kind": "field",
3774
+ "name": "revealPending",
3775
+ "type": {
3776
+ "text": "boolean"
3777
+ },
3778
+ "privacy": "private",
3779
+ "default": "false"
3780
+ },
3781
+ {
3782
+ "kind": "field",
3783
+ "name": "scroller",
3784
+ "type": {
3785
+ "text": "HTMLElement | undefined"
3786
+ },
3787
+ "privacy": "private"
3788
+ },
3789
+ {
3790
+ "kind": "field",
3791
+ "name": "follow",
3792
+ "privacy": "private",
3793
+ "readonly": true,
3794
+ "default": "new FollowScroll(() => this.scroller)"
3795
+ },
3796
+ {
3797
+ "kind": "field",
3798
+ "name": "started",
3799
+ "type": {
3800
+ "text": "boolean"
3801
+ },
3802
+ "privacy": "private",
3803
+ "default": "false"
3804
+ },
3805
+ {
3806
+ "kind": "field",
3807
+ "name": "total",
3808
+ "type": {
3809
+ "text": "number"
3810
+ },
3811
+ "privacy": "private",
3812
+ "default": "0"
3813
+ },
3814
+ {
3815
+ "kind": "field",
3816
+ "name": "reloading",
3817
+ "type": {
3818
+ "text": "boolean"
3819
+ },
3820
+ "privacy": "private",
3821
+ "default": "false",
3822
+ "description": "The next `sections` is the content again, from further back (`cae-load-earlier`)."
3823
+ },
3824
+ {
3825
+ "kind": "field",
3826
+ "name": "lastShown",
3827
+ "type": {
3828
+ "text": "number"
3829
+ },
3830
+ "privacy": "private",
3831
+ "default": "-1"
3832
+ },
3833
+ {
3834
+ "kind": "field",
3835
+ "name": "opened",
3836
+ "privacy": "private",
3837
+ "readonly": true,
3838
+ "default": "new Set<string>()"
3839
+ },
3840
+ {
3841
+ "kind": "field",
3842
+ "name": "folds",
3843
+ "privacy": "private",
3844
+ "readonly": true,
3845
+ "default": "new Set<string>()"
3846
+ },
3847
+ {
3848
+ "kind": "field",
3849
+ "name": "openDetails",
3850
+ "privacy": "private",
3851
+ "readonly": true,
3852
+ "default": "new Set<string>()"
3853
+ },
3854
+ {
3855
+ "kind": "field",
3856
+ "name": "mdCache",
3857
+ "privacy": "private",
3858
+ "readonly": true,
3859
+ "default": "new Map<string, { raw: string; html: string }>()"
3860
+ },
3861
+ {
3862
+ "kind": "field",
3863
+ "name": "shownIndex",
3864
+ "type": {
3865
+ "text": "number"
3866
+ },
3867
+ "description": "The section on screen, 0-based; -1 with none.",
3868
+ "readonly": true
3869
+ },
3870
+ {
3871
+ "kind": "method",
3872
+ "name": "reveal",
3873
+ "return": {
3874
+ "type": {
3875
+ "text": "number"
3876
+ }
3877
+ },
3878
+ "parameters": [
3879
+ {
3880
+ "name": "id",
3881
+ "type": {
3882
+ "text": "string"
3883
+ }
3884
+ }
3885
+ ],
3886
+ "description": "Opens the tool card `id` and scrolls it into view once its section is shown.\nReturns that section's index (the host shows it), or -1 when no section has the card."
3887
+ },
3888
+ {
3889
+ "kind": "method",
3890
+ "name": "onLatest",
3891
+ "privacy": "private",
3892
+ "return": {
3893
+ "type": {
3894
+ "text": "boolean"
3895
+ }
3896
+ }
3897
+ },
3898
+ {
3899
+ "kind": "method",
3900
+ "name": "isOpen",
3901
+ "privacy": "private",
3902
+ "return": {
3903
+ "type": {
3904
+ "text": "boolean"
3905
+ }
3906
+ },
3907
+ "parameters": [
3908
+ {
3909
+ "name": "id",
3910
+ "type": {
3911
+ "text": "string"
3912
+ }
3913
+ }
3914
+ ]
3915
+ },
3916
+ {
3917
+ "kind": "method",
3918
+ "name": "setOpen",
3919
+ "privacy": "private",
3920
+ "return": {
3921
+ "type": {
3922
+ "text": "void"
3923
+ }
3924
+ },
3925
+ "parameters": [
3926
+ {
3927
+ "name": "id",
3928
+ "type": {
3929
+ "text": "string"
3930
+ }
3931
+ },
3932
+ {
3933
+ "name": "open",
3934
+ "type": {
3935
+ "text": "boolean"
3936
+ }
3937
+ }
3938
+ ]
3939
+ },
3940
+ {
3941
+ "kind": "method",
3942
+ "name": "afterFirst",
3943
+ "privacy": "private",
3944
+ "return": {
3945
+ "type": {
3946
+ "text": "Promise<void>"
3947
+ }
3948
+ },
3949
+ "description": "The first content is drawn without entry animations, then the reader is put back where they were."
3950
+ },
3951
+ {
3952
+ "kind": "method",
3953
+ "name": "onScroll",
3954
+ "privacy": "private",
3955
+ "return": {
3956
+ "type": {
3957
+ "text": "void"
3958
+ }
3959
+ }
3960
+ },
3961
+ {
3962
+ "kind": "method",
3963
+ "name": "pick",
3964
+ "privacy": "private",
3965
+ "return": {
3966
+ "type": {
3967
+ "text": "void"
3968
+ }
3969
+ },
3970
+ "parameters": [
3971
+ {
3972
+ "name": "i",
3973
+ "type": {
3974
+ "text": "number"
3975
+ }
3976
+ }
3977
+ ]
3978
+ },
3979
+ {
3980
+ "kind": "method",
3981
+ "name": "toLatest",
3982
+ "privacy": "private",
3983
+ "return": {
3984
+ "type": {
3985
+ "text": "void"
3986
+ }
3987
+ }
3988
+ },
3989
+ {
3990
+ "kind": "method",
3991
+ "name": "loadEarlier",
3992
+ "privacy": "private",
3993
+ "return": {
3994
+ "type": {
3995
+ "text": "void"
3996
+ }
3997
+ }
3998
+ },
3999
+ {
4000
+ "kind": "method",
4001
+ "name": "renderPicker",
4002
+ "privacy": "private",
4003
+ "parameters": [
4004
+ {
4005
+ "name": "sections",
4006
+ "type": {
4007
+ "text": "readonly TranscriptSection[]"
4008
+ }
4009
+ },
4010
+ {
4011
+ "name": "shown",
4012
+ "type": {
4013
+ "text": "number"
4014
+ }
4015
+ },
4016
+ {
4017
+ "name": "s",
4018
+ "type": {
4019
+ "text": "TranscriptStrings"
4020
+ }
4021
+ }
4022
+ ]
4023
+ },
4024
+ {
4025
+ "kind": "method",
4026
+ "name": "renderSection",
4027
+ "privacy": "private",
4028
+ "parameters": [
4029
+ {
4030
+ "name": "sec",
4031
+ "type": {
4032
+ "text": "TranscriptSection"
4033
+ }
4034
+ },
4035
+ {
4036
+ "name": "isLast",
4037
+ "type": {
4038
+ "text": "boolean"
4039
+ }
4040
+ },
4041
+ {
4042
+ "name": "s",
4043
+ "type": {
4044
+ "text": "TranscriptStrings"
4045
+ }
4046
+ },
4047
+ {
4048
+ "name": "cards",
4049
+ "type": {
4050
+ "text": "CardHost"
4051
+ }
4052
+ }
4053
+ ]
4054
+ },
4055
+ {
4056
+ "kind": "method",
4057
+ "name": "renderHead",
4058
+ "privacy": "private",
4059
+ "parameters": [
4060
+ {
4061
+ "name": "sec",
4062
+ "type": {
4063
+ "text": "TranscriptSection"
4064
+ }
4065
+ }
4066
+ ]
4067
+ },
4068
+ {
4069
+ "kind": "method",
4070
+ "name": "renderProse",
4071
+ "privacy": "private",
4072
+ "parameters": [
4073
+ {
4074
+ "name": "sec",
4075
+ "type": {
4076
+ "text": "TranscriptSection"
4077
+ }
4078
+ },
4079
+ {
4080
+ "name": "d",
4081
+ "type": {
4082
+ "text": "TranscriptDetail"
4083
+ }
4084
+ }
4085
+ ],
4086
+ "description": "A prose detail is drawn only while it is open."
4087
+ },
4088
+ {
4089
+ "kind": "method",
4090
+ "name": "md",
4091
+ "privacy": "private",
4092
+ "parameters": [
4093
+ {
4094
+ "name": "id",
4095
+ "type": {
4096
+ "text": "string"
4097
+ }
4098
+ },
4099
+ {
4100
+ "name": "raw",
4101
+ "type": {
4102
+ "text": "string"
4103
+ }
4104
+ }
4105
+ ]
4106
+ },
4107
+ {
4108
+ "kind": "method",
4109
+ "name": "bubble",
4110
+ "privacy": "private",
4111
+ "parameters": [
4112
+ {
4113
+ "name": "av",
4114
+ "type": {
4115
+ "text": "string"
4116
+ }
4117
+ },
4118
+ {
4119
+ "name": "avCls",
4120
+ "type": {
4121
+ "text": "string"
4122
+ }
4123
+ },
4124
+ {
4125
+ "name": "head",
4126
+ "type": {
4127
+ "text": "string"
4128
+ }
4129
+ },
4130
+ {
4131
+ "name": "body",
4132
+ "type": {
4133
+ "text": "TemplateResult | string"
4134
+ }
4135
+ },
4136
+ {
4137
+ "name": "title",
4138
+ "optional": true,
4139
+ "type": {
4140
+ "text": "string"
4141
+ }
4142
+ }
4143
+ ]
4144
+ },
4145
+ {
4146
+ "kind": "method",
4147
+ "name": "renderItem",
4148
+ "privacy": "private",
4149
+ "parameters": [
4150
+ {
4151
+ "name": "it",
4152
+ "type": {
4153
+ "text": "TranscriptItem"
4154
+ }
4155
+ },
4156
+ {
4157
+ "name": "s",
4158
+ "type": {
4159
+ "text": "TranscriptStrings"
4160
+ }
4161
+ },
4162
+ {
4163
+ "name": "cards",
4164
+ "type": {
4165
+ "text": "CardHost"
4166
+ }
4167
+ }
4168
+ ]
4169
+ },
4170
+ {
4171
+ "kind": "method",
4172
+ "name": "typing",
4173
+ "privacy": "private",
4174
+ "parameters": [
4175
+ {
4176
+ "name": "s",
4177
+ "type": {
4178
+ "text": "TranscriptStrings"
4179
+ }
4180
+ }
4181
+ ]
4182
+ }
4183
+ ],
4184
+ "events": [
4185
+ {
4186
+ "description": "`{index}`: the reader picked a section (null: the latest)",
4187
+ "name": "cae-section-change"
4188
+ },
4189
+ {
4190
+ "description": "`{index}`: the section on screen changed (-1: none)",
4191
+ "name": "cae-section-shown"
4192
+ },
4193
+ {
4194
+ "description": "the reader asked for the content before `earlier`",
4195
+ "name": "cae-load-earlier"
4196
+ }
4197
+ ],
4198
+ "attributes": [
4199
+ {
4200
+ "name": "live",
4201
+ "type": {
4202
+ "text": "boolean"
4203
+ },
4204
+ "default": "false",
4205
+ "description": "The transcript is still being written: it shows the agent working; a tool call with no result is running, not interrupted.",
4206
+ "fieldName": "live"
4207
+ },
4208
+ {
4209
+ "name": "earlier",
4210
+ "type": {
4211
+ "text": "number"
4212
+ },
4213
+ "default": "0",
4214
+ "description": "Lines before the content that are not loaded: above 0, a button asks for them (`cae-load-earlier`).",
4215
+ "fieldName": "earlier"
4216
+ },
4217
+ {
4218
+ "name": "loading",
4219
+ "type": {
4220
+ "text": "boolean"
4221
+ },
4222
+ "default": "false",
4223
+ "description": "The content has not arrived yet: the reader's position is restored once it has.",
4224
+ "fieldName": "loading"
4225
+ },
4226
+ {
4227
+ "name": "mode",
4228
+ "type": {
4229
+ "text": "'full' | 'tabs' | 'none'"
4230
+ },
4231
+ "default": "'full'",
4232
+ "description": "`full`; `tabs`: only the section picker; `none`: hidden.",
4233
+ "fieldName": "mode"
4234
+ }
4235
+ ],
4236
+ "superclass": {
4237
+ "name": "LitElement",
4238
+ "package": "lit"
4239
+ },
4240
+ "tagName": "cae-transcript",
4241
+ "customElement": true
4242
+ },
4243
+ {
4244
+ "kind": "variable",
4245
+ "name": "s"
4246
+ }
4247
+ ],
4248
+ "exports": [
4249
+ {
4250
+ "kind": "js",
4251
+ "name": "CaeTranscript",
4252
+ "declaration": {
4253
+ "name": "CaeTranscript",
4254
+ "module": "src/transcript/transcript.ts"
4255
+ }
4256
+ }
4257
+ ]
4258
+ }
4259
+ ]
4260
+ }