lintje 0.7.0 → 0.8.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 (263) hide show
  1. package/NOTICE.md +2 -0
  2. package/README.md +2 -2
  3. package/dist-elements/actions.js +1 -1
  4. package/dist-elements/chat.js +1 -1
  5. package/dist-elements/chunks/{addon-CFoSG70u.js → addon-B-nZKTVZ.js} +2 -2
  6. package/dist-elements/chunks/avatar-C1Wj9drG.js +1 -0
  7. package/dist-elements/chunks/axes-DPj3RyPk.js +129 -0
  8. package/dist-elements/chunks/base-lxVG98kf.js +226 -0
  9. package/dist-elements/chunks/chart-styles-sK3xVPFj.js +45 -0
  10. package/dist-elements/chunks/{date-format-5bii3QLP.js → date-format-DvDaZtFc.js} +1 -1
  11. package/dist-elements/chunks/{dialog-close-CzMRXkJ6.js → dialog-close-DpjJ6JbT.js} +1 -1
  12. package/dist-elements/chunks/disclosure-Ch2SwnkG.js +1 -0
  13. package/dist-elements/chunks/disclosure-o3Agc4Ji.js +20 -0
  14. package/dist-elements/chunks/download-C74iql1Q.js +18 -0
  15. package/dist-elements/chunks/{focus-trap-BDxiHED1.js → focus-trap-xGyZPSzU.js} +1 -1
  16. package/dist-elements/chunks/frame-BMR48Vea.js +1 -0
  17. package/dist-elements/chunks/{input-C7qx0e4p.js → input-C7MnFu5X.js} +4 -4
  18. package/dist-elements/chunks/input-CCT6CcW1.js +1 -0
  19. package/dist-elements/chunks/month-grid-CoYFI13w.js +26 -0
  20. package/dist-elements/chunks/{other-BaLStKaf.js → other-D_wlqvPA.js} +3 -3
  21. package/dist-elements/chunks/player-BW0tPg9_.js +39 -0
  22. package/dist-elements/chunks/{prose-DOF7h3je.js → prose-aNcSsHId.js} +1 -1
  23. package/dist-elements/chunks/search-text-i-Em9oIy.js +1 -0
  24. package/dist-elements/chunks/sentence-CJX3W7W5.js +3 -0
  25. package/dist-elements/chunks/stagger-DYloMMgF.js +27 -0
  26. package/dist-elements/chunks/wheel-Co2Dpj0Q.js +1 -0
  27. package/dist-elements/content.js +1 -1
  28. package/dist-elements/core.js +1 -1
  29. package/dist-elements/custom-elements.json +1298 -204
  30. package/dist-elements/data-types.json +2836 -622
  31. package/dist-elements/feedback.js +1 -1
  32. package/dist-elements/graph.d.ts +1 -0
  33. package/dist-elements/graph.js +1 -0
  34. package/dist-elements/guides/events.md +7 -3
  35. package/dist-elements/guides/loading.md +12 -9
  36. package/dist-elements/layout.js +1 -1
  37. package/dist-elements/lintje.js +3002 -2246
  38. package/dist-elements/overlays.js +1 -1
  39. package/dist-elements/skills/lintje/SKILL.md +26 -5
  40. package/dist-elements/skills/lintje/check.mjs +180 -0
  41. package/dist-elements/skills/lintje/reference.mjs +24 -3
  42. package/dist-elements/tables.js +1 -1
  43. package/dist-elements/tag/accordion.d.ts +1 -0
  44. package/dist-elements/tag/accordion.js +6 -0
  45. package/dist-elements/tag/activity-log.js +13 -11
  46. package/dist-elements/tag/ai-label.js +5 -5
  47. package/dist-elements/tag/announcement.js +2 -2
  48. package/dist-elements/tag/app-search.js +19 -19
  49. package/dist-elements/tag/attachment.d.ts +1 -0
  50. package/dist-elements/tag/attachment.js +54 -0
  51. package/dist-elements/tag/audio-player.js +42 -42
  52. package/dist-elements/tag/badge.js +1 -1
  53. package/dist-elements/tag/breadcrumbs.js +8 -8
  54. package/dist-elements/tag/button.js +1 -1
  55. package/dist-elements/tag/card-list.js +9 -9
  56. package/dist-elements/tag/card.js +41 -35
  57. package/dist-elements/tag/chart.js +682 -419
  58. package/dist-elements/tag/chat-answer.js +49 -47
  59. package/dist-elements/tag/chat-composer.js +100 -40
  60. package/dist-elements/tag/chat-message.js +16 -11
  61. package/dist-elements/tag/chat-questions.d.ts +1 -0
  62. package/dist-elements/tag/chat-questions.js +133 -0
  63. package/dist-elements/tag/chat-steps.d.ts +1 -0
  64. package/dist-elements/tag/chat-steps.js +52 -0
  65. package/dist-elements/tag/chat-strip.js +27 -27
  66. package/dist-elements/tag/chat-suggestions.js +9 -10
  67. package/dist-elements/tag/chat.js +70 -42
  68. package/dist-elements/tag/checkbox-group.js +8 -8
  69. package/dist-elements/tag/checkbox.js +7 -7
  70. package/dist-elements/tag/code.js +9 -9
  71. package/dist-elements/tag/combobox.js +22 -22
  72. package/dist-elements/tag/conflict-alert.js +7 -7
  73. package/dist-elements/tag/copy-button.js +9 -9
  74. package/dist-elements/tag/data-table.js +237 -232
  75. package/dist-elements/tag/date-input.js +15 -39
  76. package/dist-elements/tag/date-range.js +21 -46
  77. package/dist-elements/tag/description-list.js +21 -19
  78. package/dist-elements/tag/dialog.js +7 -7
  79. package/dist-elements/tag/document-viewer.js +23 -23
  80. package/dist-elements/tag/drawer.js +9 -9
  81. package/dist-elements/tag/empty-state.js +1 -1
  82. package/dist-elements/tag/error-page.js +11 -11
  83. package/dist-elements/tag/error-summary.js +12 -12
  84. package/dist-elements/tag/expander.js +5 -5
  85. package/dist-elements/tag/explainer.js +5 -5
  86. package/dist-elements/tag/field.js +4 -4
  87. package/dist-elements/tag/file-upload.js +32 -42
  88. package/dist-elements/tag/filter-bar.js +20 -20
  89. package/dist-elements/tag/filter-sheet.js +3 -3
  90. package/dist-elements/tag/filter-zone.js +15 -15
  91. package/dist-elements/tag/find.js +16 -16
  92. package/dist-elements/tag/footer.js +14 -14
  93. package/dist-elements/tag/form-actions.js +2 -2
  94. package/dist-elements/tag/form-section.js +3 -3
  95. package/dist-elements/tag/form.js +3 -3
  96. package/dist-elements/tag/gallery.js +10 -10
  97. package/dist-elements/tag/graph.d.ts +1 -0
  98. package/dist-elements/tag/graph.js +102 -0
  99. package/dist-elements/tag/grid-item.js +1 -1
  100. package/dist-elements/tag/grid.js +1 -1
  101. package/dist-elements/tag/hero.js +7 -7
  102. package/dist-elements/tag/highlight.js +4 -4
  103. package/dist-elements/tag/icon-button.js +1 -1
  104. package/dist-elements/tag/icon.js +1 -1
  105. package/dist-elements/tag/job-list.js +4 -4
  106. package/dist-elements/tag/key.d.ts +1 -0
  107. package/dist-elements/tag/key.js +1 -0
  108. package/dist-elements/tag/kpi-row.js +5 -5
  109. package/dist-elements/tag/kpi.js +70 -70
  110. package/dist-elements/tag/level-meter.js +8 -8
  111. package/dist-elements/tag/list.js +43 -42
  112. package/dist-elements/tag/log-viewer.js +68 -68
  113. package/dist-elements/tag/logo.js +23 -23
  114. package/dist-elements/tag/map.js +154 -153
  115. package/dist-elements/tag/menu-button.js +34 -34
  116. package/dist-elements/tag/modal.js +9 -9
  117. package/dist-elements/tag/multiselect.js +21 -22
  118. package/dist-elements/tag/note.js +2 -2
  119. package/dist-elements/tag/notifications.js +23 -23
  120. package/dist-elements/tag/number-input.js +18 -18
  121. package/dist-elements/tag/page-header.js +13 -13
  122. package/dist-elements/tag/pagination.js +26 -26
  123. package/dist-elements/tag/person-group.d.ts +1 -0
  124. package/dist-elements/tag/person-group.js +36 -0
  125. package/dist-elements/tag/person.d.ts +1 -0
  126. package/dist-elements/tag/person.js +11 -0
  127. package/dist-elements/tag/popover.js +1 -1
  128. package/dist-elements/tag/progress-bar.js +1 -1
  129. package/dist-elements/tag/prose.js +1 -1
  130. package/dist-elements/tag/qr-code.js +5 -5
  131. package/dist-elements/tag/radio-group.js +12 -12
  132. package/dist-elements/tag/range.js +24 -24
  133. package/dist-elements/tag/recording-status.js +9 -9
  134. package/dist-elements/tag/repeater.js +5 -5
  135. package/dist-elements/tag/segmented.js +8 -8
  136. package/dist-elements/tag/select.js +8 -8
  137. package/dist-elements/tag/shell.js +199 -199
  138. package/dist-elements/tag/skeleton.js +1 -1
  139. package/dist-elements/tag/slot-picker.js +15 -15
  140. package/dist-elements/tag/sortable-list.js +20 -20
  141. package/dist-elements/tag/spinner.js +1 -1
  142. package/dist-elements/tag/split-pane.js +9 -9
  143. package/dist-elements/tag/status-dot.js +1 -1
  144. package/dist-elements/tag/stepper.js +14 -14
  145. package/dist-elements/tag/streaming-text.js +13 -13
  146. package/dist-elements/tag/sub-nav.js +20 -20
  147. package/dist-elements/tag/tabs.js +37 -38
  148. package/dist-elements/tag/tag-input.js +28 -28
  149. package/dist-elements/tag/text-editor.js +25 -24
  150. package/dist-elements/tag/text-input.js +21 -21
  151. package/dist-elements/tag/textarea.js +11 -11
  152. package/dist-elements/tag/tile.js +1 -1
  153. package/dist-elements/tag/time-input.js +13 -13
  154. package/dist-elements/tag/toast.js +8 -8
  155. package/dist-elements/tag/toggle.js +5 -5
  156. package/dist-elements/tag/toggletip.js +6 -6
  157. package/dist-elements/tag/token-value.js +2 -2
  158. package/dist-elements/tag/tooltip.js +1 -1
  159. package/dist-elements/tag/transcript.js +32 -32
  160. package/dist-elements/tag/translator.js +6 -6
  161. package/dist-elements/tag/tree-view.js +22 -22
  162. package/dist-elements/tag/user-menu.js +37 -36
  163. package/dist-elements/tag/video-player.js +17 -14
  164. package/dist-elements/tokens.css +52 -1
  165. package/dist-elements/tokens.json +701 -313
  166. package/dist-elements/types/bundle/chat.d.ts +2 -0
  167. package/dist-elements/types/bundle/content.d.ts +2 -0
  168. package/dist-elements/types/bundle/graph.d.ts +2 -0
  169. package/dist-elements/types/bundle/index.d.ts +1 -1
  170. package/dist-elements/types/bundle/layout.d.ts +1 -0
  171. package/dist-elements/types/bundle/tables.d.ts +2 -0
  172. package/dist-elements/types/components/charts/chart/chart.d.ts +3 -12
  173. package/dist-elements/types/components/chat/chat/chat.d.ts +11 -2
  174. package/dist-elements/types/components/chat/chat-answer/chat-answer.d.ts +6 -4
  175. package/dist-elements/types/components/chat/chat-composer/chat-composer.d.ts +61 -4
  176. package/dist-elements/types/components/chat/chat-message/chat-message.d.ts +6 -2
  177. package/dist-elements/types/components/chat/chat-questions/chat-questions.d.ts +106 -0
  178. package/dist-elements/types/components/chat/chat-steps/chat-steps.d.ts +53 -0
  179. package/dist-elements/types/components/chat/chat-suggestions/chat-suggestions.d.ts +4 -11
  180. package/dist-elements/types/components/content/attachment/attachment.d.ts +58 -0
  181. package/dist-elements/types/components/content/audio-player/audio-player.d.ts +2 -1
  182. package/dist-elements/types/components/content/key/key.d.ts +21 -0
  183. package/dist-elements/types/components/content/prose/prose.d.ts +4 -3
  184. package/dist-elements/types/components/content/shared/player.d.ts +2 -1
  185. package/dist-elements/types/components/content/transcript/transcript.d.ts +7 -0
  186. package/dist-elements/types/components/content/video-player/video-player.d.ts +12 -3
  187. package/dist-elements/types/components/feedback/empty-state/empty-state.d.ts +2 -2
  188. package/dist-elements/types/components/feedback/status-dot/status-dot.d.ts +13 -2
  189. package/dist-elements/types/components/forms/form-actions/form-actions.d.ts +5 -2
  190. package/dist-elements/types/components/frame/app-search/app-search.d.ts +0 -2
  191. package/dist-elements/types/components/frame/user-menu/user-menu.d.ts +2 -2
  192. package/dist-elements/types/components/graph/graph/graph.d.ts +147 -0
  193. package/dist-elements/types/components/graph/graph/layout-runner.d.ts +13 -0
  194. package/dist-elements/types/components/graph/graph/layout-worker.d.ts +1 -0
  195. package/dist-elements/types/components/graph/graph/layout.d.ts +27 -0
  196. package/dist-elements/types/components/graph/graph/model.d.ts +81 -0
  197. package/dist-elements/types/components/graph/graph/routes.d.ts +62 -0
  198. package/dist-elements/types/components/graph/graph/view.d.ts +58 -0
  199. package/dist-elements/types/components/index.d.ts +20 -4
  200. package/dist-elements/types/components/inputs/combobox/combobox.d.ts +0 -2
  201. package/dist-elements/types/components/inputs/date-input/date-input.d.ts +1 -1
  202. package/dist-elements/types/components/inputs/date-range/date-range.d.ts +17 -6
  203. package/dist-elements/types/components/inputs/file-upload/file-upload.d.ts +10 -33
  204. package/dist-elements/types/components/inputs/multiselect/multiselect.d.ts +1 -11
  205. package/dist-elements/types/components/layout/accordion/accordion.d.ts +37 -0
  206. package/dist-elements/types/components/layout/expander/expander.d.ts +5 -1
  207. package/dist-elements/types/components/layout/split-pane/split-pane.d.ts +2 -0
  208. package/dist-elements/types/components/layout/tabs/tabs.d.ts +3 -0
  209. package/dist-elements/types/components/overlays/popover/popover.d.ts +7 -0
  210. package/dist-elements/types/components/overlays/tooltip/tooltip.d.ts +1 -1
  211. package/dist-elements/types/components/shared/avatar.d.ts +21 -0
  212. package/dist-elements/types/components/shared/charts/bar-chart/bar-chart.d.ts +3 -2
  213. package/dist-elements/types/components/shared/charts/dumbbell-chart/dumbbell-chart.d.ts +33 -0
  214. package/dist-elements/types/components/shared/charts/index.d.ts +6 -2
  215. package/dist-elements/types/components/shared/charts/kinds.d.ts +22 -4
  216. package/dist-elements/types/components/shared/charts/line-chart/line-chart.d.ts +3 -2
  217. package/dist-elements/types/components/shared/charts/sankey-chart/sankey-chart.d.ts +124 -0
  218. package/dist-elements/types/components/shared/charts/shared/axes.d.ts +33 -6
  219. package/dist-elements/types/components/shared/charts/shared/chart-states.d.ts +1 -1
  220. package/dist-elements/types/components/shared/charts/shared/chart-styles.d.ts +2 -0
  221. package/dist-elements/types/components/shared/charts/shared/colors.d.ts +29 -4
  222. package/dist-elements/types/components/shared/charts/shared/controller.d.ts +23 -3
  223. package/dist-elements/types/components/shared/charts/shared/forecast.d.ts +21 -0
  224. package/dist-elements/types/components/shared/charts/shared/plot-keys.d.ts +5 -0
  225. package/dist-elements/types/components/shared/charts/shared/tints.d.ts +2 -0
  226. package/dist-elements/types/components/shared/charts/shared/types.d.ts +146 -0
  227. package/dist-elements/types/components/shared/charts/shared/wheel.d.ts +11 -0
  228. package/dist-elements/types/components/shared/charts/treemap-chart/squarify.d.ts +16 -0
  229. package/dist-elements/types/components/shared/charts/treemap-chart/treemap-chart.d.ts +18 -0
  230. package/dist-elements/types/components/shared/charts/treemap-chart/treemap-labels.d.ts +36 -0
  231. package/dist-elements/types/components/shared/charts/treemap-chart/treemap-parts.d.ts +64 -0
  232. package/dist-elements/types/components/shared/disclosure.d.ts +5 -3
  233. package/dist-elements/types/components/shared/download.d.ts +28 -2
  234. package/dist-elements/types/components/shared/empty-state-block.d.ts +1 -1
  235. package/dist-elements/types/components/shared/files.d.ts +67 -0
  236. package/dist-elements/types/components/shared/heading.d.ts +4 -0
  237. package/dist-elements/types/components/shared/month-grid.d.ts +33 -0
  238. package/dist-elements/types/components/shared/place.d.ts +2 -2
  239. package/dist-elements/types/components/shared/search-text.d.ts +5 -0
  240. package/dist-elements/types/components/tables/activity-log/activity-log.d.ts +9 -2
  241. package/dist-elements/types/components/tables/card/card.d.ts +13 -2
  242. package/dist-elements/types/components/tables/data-table/editing.d.ts +7 -2
  243. package/dist-elements/types/components/tables/description-list/description-list.d.ts +4 -0
  244. package/dist-elements/types/components/tables/list/list.d.ts +9 -0
  245. package/dist-elements/types/components/tables/person/person.d.ts +35 -0
  246. package/dist-elements/types/components/tables/person-group/person-group.d.ts +42 -0
  247. package/dist-elements/types/core/format.d.ts +2 -2
  248. package/dist-elements/types/core/id.d.ts +2 -0
  249. package/dist-elements/types/icons/register.d.ts +1 -1
  250. package/dist-elements/types/types.d.ts +194 -15
  251. package/dist-elements/workers/layout-worker.js +3 -0
  252. package/dist-icons/functioneel-link.svg +1 -0
  253. package/dist-icons/functioneel-ondertiteling.svg +1 -0
  254. package/package.json +8 -1
  255. package/dist-elements/chunks/base-BsZyWDre.js +0 -226
  256. package/dist-elements/chunks/chart-styles-C5IzbVUF.js +0 -44
  257. package/dist-elements/chunks/disclosure-CQcLUnKh.js +0 -22
  258. package/dist-elements/chunks/disclosure-DjLQzn9n.js +0 -1
  259. package/dist-elements/chunks/download-CxEzwMxI.js +0 -13
  260. package/dist-elements/chunks/input-CazTpGUd.js +0 -1
  261. package/dist-elements/chunks/player-BEG3MVCm.js +0 -39
  262. package/dist-elements/chunks/sentence-CjgQjBP9.js +0 -3
  263. package/dist-elements/chunks/stagger-CwsMNTLl.js +0 -133
@@ -1521,7 +1521,7 @@
1521
1521
  "name": "LintjeChart",
1522
1522
  "tagName": "lintje-chart",
1523
1523
  "customElement": true,
1524
- "description": "`<lintje-chart>` — a chart in its tile, with loading, empty and error states.\n\nExpand and download are handled here. The table view is the element's own state, built from the\nCSV rows; it never reaches the URL. A mark with an `href` goes there after its\n`lintje-mark-select`, and undoing goes to `data.clearHref`: the event is cancelable, and a host\nthat routes itself cancels it. A modifier or middle click on a mark opens its `href` in a new\ntab, without that event.\n\nEvents: `lintje-mark-select` `{ id, label, href }` (a mark with an `href` was clicked;\ndeselected, `{ id: null, label: null, href: data.clearHref }`).",
1524
+ "description": "`<lintje-chart>` — a chart in its tile, with loading, empty and error states.\n\nExpand and download are handled here. A mark with an `href` goes there after its\n`lintje-mark-select`, and undoing goes to `data.clearHref`: the event is cancelable, and a host\nthat routes itself cancels it. A modifier or middle click on a mark opens its `href` in a new\ntab, without that event.\n\nEvents: `lintje-mark-select` `{ id, label, href }` (a mark with an `href` was clicked;\ndeselected, `{ id: null, label: null, href: data.clearHref }`).",
1525
1525
  "superclass": {
1526
1526
  "name": "LintjeContentTileElement"
1527
1527
  },
@@ -1593,8 +1593,6 @@
1593
1593
  "slots": [],
1594
1594
  "draws": [
1595
1595
  "lintje-announcement",
1596
- "lintje-data-table",
1597
- "lintje-segmented",
1598
1596
  "lintje-tile"
1599
1597
  ]
1600
1598
  }
@@ -2274,24 +2272,24 @@
2274
2272
  "type": {
2275
2273
  "text": "string"
2276
2274
  },
2277
- "description": "`streaming`: the step that is running.",
2275
+ "description": "`streaming`: the step that is running; not drawn when `steps` has one.",
2278
2276
  "attribute": "status"
2279
2277
  },
2280
2278
  {
2281
2279
  "kind": "field",
2282
- "name": "error",
2280
+ "name": "steps",
2283
2281
  "type": {
2284
- "text": "{ title?: string; text: string }"
2282
+ "text": "ChatStepsData"
2285
2283
  },
2286
- "description": "`error`: what went wrong, and the way out in words."
2284
+ "description": "What the assistant did, above the text in every state; its running step is the status."
2287
2285
  },
2288
2286
  {
2289
2287
  "kind": "field",
2290
- "name": "choices",
2288
+ "name": "error",
2291
2289
  "type": {
2292
- "text": "ChatSuggestion[]"
2290
+ "text": "{ title?: string; text: string }"
2293
2291
  },
2294
- "description": "The choices of `out-of-scope` and `needs-clarification`."
2292
+ "description": "`error`: what went wrong, and the way out in words."
2295
2293
  },
2296
2294
  {
2297
2295
  "kind": "field",
@@ -2360,7 +2358,7 @@
2360
2358
  "type": {
2361
2359
  "text": "string"
2362
2360
  },
2363
- "description": "`streaming`: the step that is running."
2361
+ "description": "`streaming`: the step that is running; not drawn when `steps` has one."
2364
2362
  },
2365
2363
  {
2366
2364
  "name": "current",
@@ -2397,8 +2395,10 @@
2397
2395
  "slots": [],
2398
2396
  "draws": [
2399
2397
  "lintje-announcement",
2398
+ "lintje-attachment",
2400
2399
  "lintje-button",
2401
2400
  "lintje-chart",
2401
+ "lintje-chat-steps",
2402
2402
  "lintje-chat-strip",
2403
2403
  "lintje-chat-suggestions",
2404
2404
  "lintje-data-table",
@@ -2429,7 +2429,7 @@
2429
2429
  "name": "LintjeChatComposer",
2430
2430
  "tagName": "lintje-chat-composer",
2431
2431
  "customElement": true,
2432
- "description": "`<lintje-chat-composer>` — the question box: text field, source picker and split send button.\n\nThe field is plain text; the element never writes markup into it. Terms are marked through the\nCSS Custom Highlight API, so typing and undo stay the browser's; without it the field is\nunmarked. The source selection is the host's; the draft, the send key (kept in `localStorage`)\nand the answer form are the element's own.\n\nEvents: `lintje-message-send` `{ text, terms, sources, form }`, `lintje-answer-stop`,\n`lintje-sources-change` `{ ids }`, `lintje-draft-change` `{ text }` (200 ms after the last key);\nwith `variant=\"edit\"` instead `lintje-submit` `{ text, terms }` and `lintje-cancel`.",
2432
+ "description": "`<lintje-chat-composer>` — the question box: text field, source picker and split send button.\n\nThe field is plain text; the element never writes markup into it. Terms are marked through the\nCSS Custom Highlight API, so typing and undo stay the browser's; without it the field is\nunmarked. The source selection is the host's; the draft, the send key (kept in `localStorage`)\nand the answer form are the element's own. With `files` it takes attachments — the paperclip,\ndragging and pasting — and the host keeps them, as with `lintje-file-upload`; a file it refuses\nitself stays its own and never reaches the host. A question may be only its attachments.\n`lintje-chat` folds it to one line (`collapsed`) while the assistant asks, on a phone.\n\nEvents: `lintje-message-send` `{ text, terms, sources, form, attachments }` (`attachments`: the\nids of the done files), `lintje-answer-stop`, `lintje-sources-change` `{ ids }`,\n`lintje-draft-change` `{ text }` (200 ms after the last key), `lintje-files-add` `File[]`; from\nits chips `lintje-file-remove` `{ id }`, `lintje-file-cancel` `{ id }` and `lintje-file-retry`\n`{ id }`; with `variant=\"edit\"` instead `lintje-submit` `{ text, terms }` and `lintje-cancel`.",
2433
2433
  "superclass": {
2434
2434
  "name": "LintjeElement"
2435
2435
  },
@@ -2472,7 +2472,8 @@
2472
2472
  "type": {
2473
2473
  "text": "string"
2474
2474
  },
2475
- "default": "'Stel een vraag over de gegevens'",
2475
+ "default": "PLACEHOLDER",
2476
+ "description": "Left out or emptied, \"Stel een vraag over de gegevens\".",
2476
2477
  "attribute": "placeholder"
2477
2478
  },
2478
2479
  {
@@ -2558,9 +2559,75 @@
2558
2559
  "description": "Whether the browser keeps the field to plain text by itself.",
2559
2560
  "attribute": "plain",
2560
2561
  "reflects": true
2562
+ },
2563
+ {
2564
+ "kind": "field",
2565
+ "name": "accept",
2566
+ "type": {
2567
+ "text": "string"
2568
+ },
2569
+ "default": "''",
2570
+ "description": "The file chooser's filter and the box's own check: \".pdf,.xlsx\" or \"image/*\".",
2571
+ "attribute": "accept"
2572
+ },
2573
+ {
2574
+ "kind": "field",
2575
+ "name": "maxSize",
2576
+ "type": {
2577
+ "text": "number"
2578
+ },
2579
+ "description": "The largest file, in bytes.",
2580
+ "attribute": "max-size"
2581
+ },
2582
+ {
2583
+ "kind": "field",
2584
+ "name": "files",
2585
+ "type": {
2586
+ "text": "UploadFile[]"
2587
+ },
2588
+ "description": "The host's files for the question being typed. Without it, no paperclip: the box takes no files."
2589
+ },
2590
+ {
2591
+ "kind": "field",
2592
+ "name": "hint",
2593
+ "type": {
2594
+ "text": "string"
2595
+ },
2596
+ "description": "A line in the bar beside the send button; \"Kies eerst een bron\" and \"Wacht op de upload\" win.",
2597
+ "attribute": "hint"
2598
+ },
2599
+ {
2600
+ "kind": "field",
2601
+ "name": "collapsed",
2602
+ "type": {
2603
+ "text": "boolean"
2604
+ },
2605
+ "default": "false",
2606
+ "description": "One line that opens the box, with how many attachments wait in it; no source picker. A tap\nasks `lintje-chat` to open it. Only a phone's while the assistant asks.",
2607
+ "attribute": "collapsed",
2608
+ "reflects": true
2609
+ },
2610
+ {
2611
+ "kind": "field",
2612
+ "name": "collapsible",
2613
+ "type": {
2614
+ "text": "boolean"
2615
+ },
2616
+ "default": "false",
2617
+ "description": "Open, it offers \"Inklappen\", which asks `lintje-chat` to fold it again.",
2618
+ "attribute": "collapsible"
2561
2619
  }
2562
2620
  ],
2563
2621
  "methods": [
2622
+ {
2623
+ "kind": "method",
2624
+ "name": "add",
2625
+ "description": "Sends the files that pass with `lintje-files-add` and keeps a chip for those it refuses.",
2626
+ "parameters": "(chosen: File[])",
2627
+ "return": {
2628
+ "text": "void"
2629
+ }
2630
+ },
2564
2631
  {
2565
2632
  "kind": "method",
2566
2633
  "name": "openSources",
@@ -2603,7 +2670,8 @@
2603
2670
  "type": {
2604
2671
  "text": "string"
2605
2672
  },
2606
- "default": "'Stel een vraag over de gegevens'"
2673
+ "default": "PLACEHOLDER",
2674
+ "description": "Left out or emptied, \"Stel een vraag over de gegevens\"."
2607
2675
  },
2608
2676
  {
2609
2677
  "name": "busy",
@@ -2655,6 +2723,49 @@
2655
2723
  },
2656
2724
  "default": "true",
2657
2725
  "description": "Whether the browser keeps the field to plain text by itself."
2726
+ },
2727
+ {
2728
+ "name": "accept",
2729
+ "fieldName": "accept",
2730
+ "type": {
2731
+ "text": "string"
2732
+ },
2733
+ "default": "''",
2734
+ "description": "The file chooser's filter and the box's own check: \".pdf,.xlsx\" or \"image/*\"."
2735
+ },
2736
+ {
2737
+ "name": "max-size",
2738
+ "fieldName": "maxSize",
2739
+ "type": {
2740
+ "text": "number"
2741
+ },
2742
+ "description": "The largest file, in bytes."
2743
+ },
2744
+ {
2745
+ "name": "hint",
2746
+ "fieldName": "hint",
2747
+ "type": {
2748
+ "text": "string"
2749
+ },
2750
+ "description": "A line in the bar beside the send button; \"Kies eerst een bron\" and \"Wacht op de upload\" win."
2751
+ },
2752
+ {
2753
+ "name": "collapsed",
2754
+ "fieldName": "collapsed",
2755
+ "type": {
2756
+ "text": "boolean"
2757
+ },
2758
+ "default": "false",
2759
+ "description": "One line that opens the box, with how many attachments wait in it; no source picker. A tap\nasks `lintje-chat` to open it. Only a phone's while the assistant asks."
2760
+ },
2761
+ {
2762
+ "name": "collapsible",
2763
+ "fieldName": "collapsible",
2764
+ "type": {
2765
+ "text": "boolean"
2766
+ },
2767
+ "default": "false",
2768
+ "description": "Open, it offers \"Inklappen\", which asks `lintje-chat` to fold it again."
2658
2769
  }
2659
2770
  ],
2660
2771
  "events": [
@@ -2671,16 +2782,36 @@
2671
2782
  },
2672
2783
  "description": "Not composed: it stops at the shadow root."
2673
2784
  },
2785
+ {
2786
+ "name": "lintje-composer-collapse",
2787
+ "type": {
2788
+ "text": "CustomEvent"
2789
+ },
2790
+ "description": "Not composed: it stops at the shadow root."
2791
+ },
2792
+ {
2793
+ "name": "lintje-composer-expand",
2794
+ "type": {
2795
+ "text": "CustomEvent"
2796
+ },
2797
+ "description": "Not composed: it stops at the shadow root."
2798
+ },
2674
2799
  {
2675
2800
  "name": "lintje-draft-change",
2676
2801
  "type": {
2677
2802
  "text": "CustomEvent<{ text }>"
2678
2803
  }
2679
2804
  },
2805
+ {
2806
+ "name": "lintje-files-add",
2807
+ "type": {
2808
+ "text": "CustomEvent<passed>"
2809
+ }
2810
+ },
2680
2811
  {
2681
2812
  "name": "lintje-message-send",
2682
2813
  "type": {
2683
- "text": "CustomEvent<{ text, terms, sources, form }>"
2814
+ "text": "CustomEvent<{ text, terms, sources, form, attachments }>"
2684
2815
  }
2685
2816
  },
2686
2817
  {
@@ -2699,6 +2830,7 @@
2699
2830
  ],
2700
2831
  "slots": [],
2701
2832
  "draws": [
2833
+ "lintje-attachment",
2702
2834
  "lintje-button",
2703
2835
  "lintje-icon-button",
2704
2836
  "lintje-multiselect",
@@ -2726,7 +2858,7 @@
2726
2858
  "name": "LintjeChatMessage",
2727
2859
  "tagName": "lintje-chat-message",
2728
2860
  "customElement": true,
2729
- "description": "`<lintje-chat-message>` — what the reader asked: a filled bar on the right.\n\nEditing is the message's own state, in a `lintje-chat-composer`. It never changes its own text:\nasking again is an event, and the host replaces the turn.\n\nEvents: `lintje-message-edit` `{ turnId, text, terms }` (ask this instead, replacing the answer\nand all after it), `lintje-editing-change` `{ turnId, editing }` (tells the holding view which\nanswers are about to be replaced).",
2861
+ "description": "`<lintje-chat-message>` — what the reader asked: a filled bar on the right, with the files sent\nalong above it. A message of only files is its chips, without a bar.\n\nEditing is the message's own state, in a `lintje-chat-composer`. It never changes its own text:\nasking again is an event, and the host replaces the turn.\n\nEvents: `lintje-message-edit` `{ turnId, text, terms }` (ask this instead, replacing the answer\nand all after it), `lintje-editing-change` `{ turnId, editing }` (tells the holding view which\nanswers are about to be replaced).",
2730
2862
  "superclass": {
2731
2863
  "name": "LintjeElement"
2732
2864
  },
@@ -2758,6 +2890,14 @@
2758
2890
  "text": "ChatTermRange[]"
2759
2891
  }
2760
2892
  },
2893
+ {
2894
+ "kind": "field",
2895
+ "name": "attachments",
2896
+ "type": {
2897
+ "text": "UploadFile[]"
2898
+ },
2899
+ "description": "What was sent along with the question."
2900
+ },
2761
2901
  {
2762
2902
  "kind": "field",
2763
2903
  "name": "time",
@@ -2877,6 +3017,7 @@
2877
3017
  ],
2878
3018
  "slots": [],
2879
3019
  "draws": [
3020
+ "lintje-attachment",
2880
3021
  "lintje-chat-composer",
2881
3022
  "lintje-icon-button"
2882
3023
  ]
@@ -2895,14 +3036,14 @@
2895
3036
  },
2896
3037
  {
2897
3038
  "kind": "javascript-module",
2898
- "path": "src/components/chat/chat-strip/chat-strip.ts",
3039
+ "path": "src/components/chat/chat-questions/chat-questions.ts",
2899
3040
  "declarations": [
2900
3041
  {
2901
3042
  "kind": "class",
2902
- "name": "LintjeChatStrip",
2903
- "tagName": "lintje-chat-strip",
3043
+ "name": "LintjeChatQuestions",
3044
+ "tagName": "lintje-chat-questions",
2904
3045
  "customElement": true,
2905
- "description": "`<lintje-chat-strip>` — the strip under an answer's text: what the answer assumed, as\nlabel/value pairs, and how it was calculated.\n\nA value with `options` is a choice, one with `pressed` a suggestion, the rest plain text. The\nstrip keeps only whether its details are open: a change is an event, and the host sets the\nitems again.\n\nEvents: `lintje-strip-change` `{ turnId, key, value }` (`value` is the chosen option's value, or\nthe suggestion's new `pressed`).",
3046
+ "description": "`<lintje-chat-questions>` — what the assistant asks before it answers, in a box above the\nquestion box. One `one` question without descriptions is the short form: a tap sends. Anything\nelse is steps: one question at a time, with Vorige, Volgende and Versturen.\n\nEvery choice question ends in \"Iets anders…\". What the reader picked is the element's own until\nit sends, and starts over only when the questions change (other ids). It checks its own questions\nat Volgende and Versturen. `focus()` puts the focus on the first choice; `lintje-chat` calls it\nwhen the box appears while the focus is in the conversation. The host sets `state: 'sending'`\nwhile it waits, then adds a turn with `text` as the reader's message, which ends the questions.\n\nEvents: `lintje-questions-answer` `{ turnId, answers, text }` (`answers`: per question\n`{ id, values, other, skipped }`; `text`: the reader's message, a line per question).",
2906
3047
  "superclass": {
2907
3048
  "name": "LintjeElement"
2908
3049
  },
@@ -2920,59 +3061,32 @@
2920
3061
  },
2921
3062
  {
2922
3063
  "kind": "field",
2923
- "name": "items",
2924
- "type": {
2925
- "text": "ChatStripItem[]"
2926
- }
2927
- },
2928
- {
2929
- "kind": "field",
2930
- "name": "details",
3064
+ "name": "data",
2931
3065
  "type": {
2932
- "text": "{ term: string; description: string }[]"
3066
+ "text": "ChatQuestionsData | null"
2933
3067
  }
2934
3068
  },
2935
- {
2936
- "kind": "field",
2937
- "name": "detailsLabel",
2938
- "type": {
2939
- "text": "string"
2940
- },
2941
- "default": "'Berekening'",
2942
- "attribute": "details-label"
2943
- },
2944
- {
2945
- "kind": "field",
2946
- "name": "disabled",
2947
- "type": {
2948
- "text": "boolean"
2949
- },
2950
- "default": "false",
2951
- "description": "Every value is plain text and untaken suggestions are left out: the answer is a record.",
2952
- "attribute": "disabled",
2953
- "reflects": true
2954
- },
2955
3069
  {
2956
3070
  "kind": "field",
2957
3071
  "name": "turnId",
2958
3072
  "type": {
2959
3073
  "text": "string"
2960
3074
  },
2961
- "description": "The turn this strip belongs to; it comes back in the event.",
3075
+ "description": "The turn whose answer asks; it comes back in the event.",
2962
3076
  "attribute": "turn-id"
2963
- },
3077
+ }
3078
+ ],
3079
+ "methods": [
2964
3080
  {
2965
- "kind": "field",
2966
- "name": "open",
2967
- "type": {
2968
- "text": "boolean"
2969
- },
2970
- "default": "false",
2971
- "attribute": "open",
2972
- "reflects": true
3081
+ "kind": "method",
3082
+ "name": "focus",
3083
+ "description": "The focus on the current question's first choice, or the chosen one.",
3084
+ "parameters": "()",
3085
+ "return": {
3086
+ "text": "void"
3087
+ }
2973
3088
  }
2974
3089
  ],
2975
- "methods": [],
2976
3090
  "attributes": [
2977
3091
  {
2978
3092
  "name": "mode",
@@ -2981,73 +3095,54 @@
2981
3095
  "text": "'light' | 'dark'"
2982
3096
  }
2983
3097
  },
2984
- {
2985
- "name": "details-label",
2986
- "fieldName": "detailsLabel",
2987
- "type": {
2988
- "text": "string"
2989
- },
2990
- "default": "'Berekening'"
2991
- },
2992
- {
2993
- "name": "disabled",
2994
- "fieldName": "disabled",
2995
- "type": {
2996
- "text": "boolean"
2997
- },
2998
- "default": "false",
2999
- "description": "Every value is plain text and untaken suggestions are left out: the answer is a record."
3000
- },
3001
3098
  {
3002
3099
  "name": "turn-id",
3003
3100
  "fieldName": "turnId",
3004
3101
  "type": {
3005
3102
  "text": "string"
3006
3103
  },
3007
- "description": "The turn this strip belongs to; it comes back in the event."
3008
- },
3009
- {
3010
- "name": "open",
3011
- "fieldName": "open",
3012
- "type": {
3013
- "text": "boolean"
3014
- },
3015
- "default": "false"
3104
+ "description": "The turn whose answer asks; it comes back in the event."
3016
3105
  }
3017
3106
  ],
3018
3107
  "events": [
3019
3108
  {
3020
- "name": "lintje-strip-change",
3109
+ "name": "lintje-questions-answer",
3021
3110
  "type": {
3022
- "text": "CustomEvent<{ turnId, key, value }>"
3111
+ "text": "CustomEvent<{ turnId, answers, text }>"
3023
3112
  }
3024
3113
  }
3025
3114
  ],
3026
3115
  "slots": [],
3027
- "draws": []
3116
+ "draws": [
3117
+ "lintje-button",
3118
+ "lintje-checkbox-group",
3119
+ "lintje-progress-bar",
3120
+ "lintje-radio-group",
3121
+ "lintje-textarea"
3122
+ ]
3028
3123
  }
3029
3124
  ],
3030
3125
  "exports": [
3031
3126
  {
3032
3127
  "kind": "custom-element-definition",
3033
- "name": "lintje-chat-strip",
3128
+ "name": "lintje-chat-questions",
3034
3129
  "declaration": {
3035
- "name": "LintjeChatStrip",
3036
- "module": "src/components/chat/chat-strip/chat-strip.ts"
3130
+ "name": "LintjeChatQuestions",
3131
+ "module": "src/components/chat/chat-questions/chat-questions.ts"
3037
3132
  }
3038
3133
  }
3039
3134
  ]
3040
3135
  },
3041
3136
  {
3042
3137
  "kind": "javascript-module",
3043
- "path": "src/components/chat/chat-suggestions/chat-suggestions.ts",
3138
+ "path": "src/components/chat/chat-steps/chat-steps.ts",
3044
3139
  "declarations": [
3045
3140
  {
3046
3141
  "kind": "class",
3047
- "name": "LintjeChatSuggestions",
3048
- "tagName": "lintje-chat-suggestions",
3142
+ "name": "LintjeChatSteps",
3143
+ "tagName": "lintje-chat-steps",
3049
3144
  "customElement": true,
3050
- "description": "`<lintje-chat-suggestions>` — sentences the reader can send with one press, on the reader's side.\n\nEvents: `lintje-suggestion-select` `{ turnId, kind, label, value }` (`value` is the item's own,\nor its label).",
3145
+ "description": "`<lintje-chat-steps>` — what the assistant did for one answer: a series of steps on a rail that\nfolds into one line.\n\nThe closed line shows what counts now: the running step, else a failed one, else a stopped one,\nelse how many. It never opens or closes by itself; whether it is open is its own state. The\nlabels, states and duration are the host's: it counts nothing and keeps no timer. Steps are\nonly added at the end, and compared by position. Only the first step starting and a failure\nare spoken, and only once the element has drawn: steps it arrives with stay silent, except a\nlone first step that has just begun.\n\nEvents: `lintje-navigate` `{ href }` from a link in a detail (cancel it to route yourself).",
3051
3146
  "superclass": {
3052
3147
  "name": "LintjeElement"
3053
3148
  },
@@ -3065,59 +3160,160 @@
3065
3160
  },
3066
3161
  {
3067
3162
  "kind": "field",
3068
- "name": "label",
3163
+ "name": "items",
3069
3164
  "type": {
3070
- "text": "string"
3165
+ "text": "ChatStep[]"
3071
3166
  },
3072
- "description": "The caps line above the sentences: \"Jij, als vervolgvraag\".",
3073
- "attribute": "label"
3167
+ "default": "[]"
3074
3168
  },
3075
3169
  {
3076
3170
  "kind": "field",
3077
- "name": "hint",
3171
+ "name": "duration",
3078
3172
  "type": {
3079
3173
  "text": "string"
3080
3174
  },
3081
- "description": "The gray line under a set of choices.",
3082
- "attribute": "hint"
3175
+ "description": "How long it took, as the host formats it (\"12 s\"); not drawn while a step runs.",
3176
+ "attribute": "duration"
3083
3177
  },
3084
3178
  {
3085
3179
  "kind": "field",
3086
- "name": "kind",
3180
+ "name": "open",
3087
3181
  "type": {
3088
- "text": "'suggestion' | 'choice'"
3182
+ "text": "boolean"
3089
3183
  },
3090
- "default": "'suggestion'",
3091
- "description": "A rule, not decoration: `suggestion` (dashed) is something the reader could ask, `choice`\n(solid) an answer the assistant is waiting for.",
3092
- "attribute": "kind",
3184
+ "default": "false",
3185
+ "attribute": "open",
3093
3186
  "reflects": true
3187
+ }
3188
+ ],
3189
+ "methods": [],
3190
+ "attributes": [
3191
+ {
3192
+ "name": "mode",
3193
+ "fieldName": "mode",
3194
+ "type": {
3195
+ "text": "'light' | 'dark'"
3196
+ }
3094
3197
  },
3095
3198
  {
3096
- "kind": "field",
3097
- "name": "align",
3199
+ "name": "duration",
3200
+ "fieldName": "duration",
3098
3201
  "type": {
3099
- "text": "'end' | 'start'"
3202
+ "text": "string"
3100
3203
  },
3101
- "default": "'end'",
3102
- "description": "`start`: left and side by side, outside a conversation, as examples under a question box.",
3103
- "attribute": "align",
3104
- "reflects": true
3204
+ "description": "How long it took, as the host formats it (\"12 s\"); not drawn while a step runs."
3105
3205
  },
3106
3206
  {
3107
- "kind": "field",
3108
- "name": "items",
3109
- "type": {
3110
- "text": "ChatSuggestion[]"
3207
+ "name": "open",
3208
+ "fieldName": "open",
3209
+ "type": {
3210
+ "text": "boolean"
3211
+ },
3212
+ "default": "false"
3213
+ }
3214
+ ],
3215
+ "events": [
3216
+ {
3217
+ "name": "lintje-navigate",
3218
+ "type": {
3219
+ "text": "CustomEvent<{ href }>"
3220
+ }
3221
+ }
3222
+ ],
3223
+ "slots": [],
3224
+ "draws": [
3225
+ "lintje-spinner"
3226
+ ]
3227
+ }
3228
+ ],
3229
+ "exports": [
3230
+ {
3231
+ "kind": "custom-element-definition",
3232
+ "name": "lintje-chat-steps",
3233
+ "declaration": {
3234
+ "name": "LintjeChatSteps",
3235
+ "module": "src/components/chat/chat-steps/chat-steps.ts"
3236
+ }
3237
+ }
3238
+ ]
3239
+ },
3240
+ {
3241
+ "kind": "javascript-module",
3242
+ "path": "src/components/chat/chat-strip/chat-strip.ts",
3243
+ "declarations": [
3244
+ {
3245
+ "kind": "class",
3246
+ "name": "LintjeChatStrip",
3247
+ "tagName": "lintje-chat-strip",
3248
+ "customElement": true,
3249
+ "description": "`<lintje-chat-strip>` — the strip under an answer's text: what the answer assumed, as\nlabel/value pairs, and how it was calculated.\n\nA value with `options` is a choice, one with `pressed` a suggestion, the rest plain text. The\nstrip keeps only whether its details are open: a change is an event, and the host sets the\nitems again.\n\nEvents: `lintje-strip-change` `{ turnId, key, value }` (`value` is the chosen option's value, or\nthe suggestion's new `pressed`).",
3250
+ "superclass": {
3251
+ "name": "LintjeElement"
3252
+ },
3253
+ "members": [
3254
+ {
3255
+ "kind": "field",
3256
+ "name": "mode",
3257
+ "type": {
3258
+ "text": "'light' | 'dark'"
3259
+ },
3260
+ "attribute": "mode",
3261
+ "inheritedFrom": {
3262
+ "name": "LintjeElement"
3111
3263
  }
3112
3264
  },
3265
+ {
3266
+ "kind": "field",
3267
+ "name": "items",
3268
+ "type": {
3269
+ "text": "ChatStripItem[]"
3270
+ }
3271
+ },
3272
+ {
3273
+ "kind": "field",
3274
+ "name": "details",
3275
+ "type": {
3276
+ "text": "{ term: string; description: string }[]"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "field",
3281
+ "name": "detailsLabel",
3282
+ "type": {
3283
+ "text": "string"
3284
+ },
3285
+ "default": "'Berekening'",
3286
+ "attribute": "details-label"
3287
+ },
3288
+ {
3289
+ "kind": "field",
3290
+ "name": "disabled",
3291
+ "type": {
3292
+ "text": "boolean"
3293
+ },
3294
+ "default": "false",
3295
+ "description": "Every value is plain text and untaken suggestions are left out: the answer is a record.",
3296
+ "attribute": "disabled",
3297
+ "reflects": true
3298
+ },
3113
3299
  {
3114
3300
  "kind": "field",
3115
3301
  "name": "turnId",
3116
3302
  "type": {
3117
3303
  "text": "string"
3118
3304
  },
3119
- "description": "It comes back in the event.",
3305
+ "description": "The turn this strip belongs to; it comes back in the event.",
3120
3306
  "attribute": "turn-id"
3307
+ },
3308
+ {
3309
+ "kind": "field",
3310
+ "name": "open",
3311
+ "type": {
3312
+ "text": "boolean"
3313
+ },
3314
+ "default": "false",
3315
+ "attribute": "open",
3316
+ "reflects": true
3121
3317
  }
3122
3318
  ],
3123
3319
  "methods": [],
@@ -3130,29 +3326,140 @@
3130
3326
  }
3131
3327
  },
3132
3328
  {
3329
+ "name": "details-label",
3330
+ "fieldName": "detailsLabel",
3331
+ "type": {
3332
+ "text": "string"
3333
+ },
3334
+ "default": "'Berekening'"
3335
+ },
3336
+ {
3337
+ "name": "disabled",
3338
+ "fieldName": "disabled",
3339
+ "type": {
3340
+ "text": "boolean"
3341
+ },
3342
+ "default": "false",
3343
+ "description": "Every value is plain text and untaken suggestions are left out: the answer is a record."
3344
+ },
3345
+ {
3346
+ "name": "turn-id",
3347
+ "fieldName": "turnId",
3348
+ "type": {
3349
+ "text": "string"
3350
+ },
3351
+ "description": "The turn this strip belongs to; it comes back in the event."
3352
+ },
3353
+ {
3354
+ "name": "open",
3355
+ "fieldName": "open",
3356
+ "type": {
3357
+ "text": "boolean"
3358
+ },
3359
+ "default": "false"
3360
+ }
3361
+ ],
3362
+ "events": [
3363
+ {
3364
+ "name": "lintje-strip-change",
3365
+ "type": {
3366
+ "text": "CustomEvent<{ turnId, key, value }>"
3367
+ }
3368
+ }
3369
+ ],
3370
+ "slots": [],
3371
+ "draws": []
3372
+ }
3373
+ ],
3374
+ "exports": [
3375
+ {
3376
+ "kind": "custom-element-definition",
3377
+ "name": "lintje-chat-strip",
3378
+ "declaration": {
3379
+ "name": "LintjeChatStrip",
3380
+ "module": "src/components/chat/chat-strip/chat-strip.ts"
3381
+ }
3382
+ }
3383
+ ]
3384
+ },
3385
+ {
3386
+ "kind": "javascript-module",
3387
+ "path": "src/components/chat/chat-suggestions/chat-suggestions.ts",
3388
+ "declarations": [
3389
+ {
3390
+ "kind": "class",
3391
+ "name": "LintjeChatSuggestions",
3392
+ "tagName": "lintje-chat-suggestions",
3393
+ "customElement": true,
3394
+ "description": "`<lintje-chat-suggestions>` — sentences the reader can send with one press, on the reader's side,\ndashed: what the reader could ask. A question the assistant waits on is `lintje-chat-questions`.\n\nEvents: `lintje-suggestion-select` `{ turnId, label, value }` (`value` is the item's own, or its\nlabel).",
3395
+ "superclass": {
3396
+ "name": "LintjeElement"
3397
+ },
3398
+ "members": [
3399
+ {
3400
+ "kind": "field",
3401
+ "name": "mode",
3402
+ "type": {
3403
+ "text": "'light' | 'dark'"
3404
+ },
3405
+ "attribute": "mode",
3406
+ "inheritedFrom": {
3407
+ "name": "LintjeElement"
3408
+ }
3409
+ },
3410
+ {
3411
+ "kind": "field",
3133
3412
  "name": "label",
3134
- "fieldName": "label",
3135
3413
  "type": {
3136
3414
  "text": "string"
3137
3415
  },
3138
- "description": "The caps line above the sentences: \"Jij, als vervolgvraag\"."
3416
+ "description": "The caps line above the sentences: \"Jij, als vervolgvraag\".",
3417
+ "attribute": "label"
3139
3418
  },
3140
3419
  {
3141
- "name": "hint",
3142
- "fieldName": "hint",
3420
+ "kind": "field",
3421
+ "name": "align",
3422
+ "type": {
3423
+ "text": "'end' | 'start'"
3424
+ },
3425
+ "default": "'end'",
3426
+ "description": "`start`: left and side by side, outside a conversation, as examples under a question box.",
3427
+ "attribute": "align",
3428
+ "reflects": true
3429
+ },
3430
+ {
3431
+ "kind": "field",
3432
+ "name": "items",
3433
+ "type": {
3434
+ "text": "ChatSuggestion[]"
3435
+ }
3436
+ },
3437
+ {
3438
+ "kind": "field",
3439
+ "name": "turnId",
3143
3440
  "type": {
3144
3441
  "text": "string"
3145
3442
  },
3146
- "description": "The gray line under a set of choices."
3443
+ "description": "It comes back in the event.",
3444
+ "attribute": "turn-id"
3445
+ }
3446
+ ],
3447
+ "methods": [],
3448
+ "attributes": [
3449
+ {
3450
+ "name": "mode",
3451
+ "fieldName": "mode",
3452
+ "type": {
3453
+ "text": "'light' | 'dark'"
3454
+ }
3147
3455
  },
3148
3456
  {
3149
- "name": "kind",
3150
- "fieldName": "kind",
3457
+ "name": "label",
3458
+ "fieldName": "label",
3151
3459
  "type": {
3152
- "text": "'suggestion' | 'choice'"
3460
+ "text": "string"
3153
3461
  },
3154
- "default": "'suggestion'",
3155
- "description": "A rule, not decoration: `suggestion` (dashed) is something the reader could ask, `choice`\n(solid) an answer the assistant is waiting for."
3462
+ "description": "The caps line above the sentences: \"Jij, als vervolgvraag\"."
3156
3463
  },
3157
3464
  {
3158
3465
  "name": "align",
@@ -3176,7 +3483,7 @@
3176
3483
  {
3177
3484
  "name": "lintje-suggestion-select",
3178
3485
  "type": {
3179
- "text": "CustomEvent<{ turnId, kind, label, value }>"
3486
+ "text": "CustomEvent<{ turnId, label, value }>"
3180
3487
  }
3181
3488
  }
3182
3489
  ],
@@ -3204,7 +3511,7 @@
3204
3511
  "name": "LintjeChat",
3205
3512
  "tagName": "lintje-chat",
3206
3513
  "customElement": true,
3207
- "description": "`<lintje-chat>` — a conversation with data, from `ChatData`; the host owns the transport.\n\nAn answer arrives by setting `data` again: keep the objects that did not change, so only the\nchanged part is redrawn. It scrolls with what scrolls around it, and its question box stays in\nview at the bottom.\n\nIt sends no events of its own: those of its question box, messages and answers reach the host,\nwith the `turnId` where a turn sent them. The host answers `lintje-message-send` with a new turn,\n`lintje-message-edit` by asking again without that turn and all after it, and\n`lintje-strip-change` by answering again with the new assumption.",
3514
+ "description": "`<lintje-chat>` — a conversation with data, from `ChatData`; the host owns the transport.\n\nAn answer arrives by setting `data` again: keep the objects that did not change, so only the\nchanged part is redrawn. It scrolls with what scrolls around it, and its question box stays in\nview at the bottom.\n\nIt sends no events of its own: those of its question box, messages and answers reach the host,\nwith the `turnId` where a turn sent them. The host answers `lintje-message-send` with a new turn,\n`lintje-message-edit` by asking again without that turn and all after it, and\n`lintje-strip-change` by answering again with the new assumption. A turn's `divider` stands as a\ncentred line above its question. The `questions` of the last answer stand in a box above the\nquestion box until the next turn; on a phone the question box folds to one line meanwhile.",
3208
3515
  "superclass": {
3209
3516
  "name": "LintjeElement"
3210
3517
  },
@@ -3245,6 +3552,7 @@
3245
3552
  "lintje-chat-answer",
3246
3553
  "lintje-chat-composer",
3247
3554
  "lintje-chat-message",
3555
+ "lintje-chat-questions",
3248
3556
  "lintje-chat-suggestions"
3249
3557
  ]
3250
3558
  }
@@ -3260,6 +3568,178 @@
3260
3568
  }
3261
3569
  ]
3262
3570
  },
3571
+ {
3572
+ "kind": "javascript-module",
3573
+ "path": "src/components/content/attachment/attachment.ts",
3574
+ "declarations": [
3575
+ {
3576
+ "kind": "class",
3577
+ "name": "LintjeAttachment",
3578
+ "tagName": "lintje-attachment",
3579
+ "customElement": true,
3580
+ "description": "`<lintje-attachment>` — one file as a quiet chip of one line: the icon of its kind or a\nthumbnail, the name and the size, busy or with an error.\n\nIt opens nothing itself: a chip with `href` is a link, one without asks the host with\n`lintje-file-open`. A `removable` chip has the cross and opens nothing. Whoever draws a list\nputs each chip in its own `<li>`.\n\nEvents: `lintje-file-remove` `{ id }` (the cross on a done or failed file),\n`lintje-file-cancel` `{ id }` (the cross on a busy one), `lintje-file-retry` `{ id }`,\n`lintje-file-open` `{ id }` (a chip without `href`), `lintje-navigate` `{ href }` (a chip with\n`href` and without `download`; cancel it to route yourself).",
3581
+ "superclass": {
3582
+ "name": "LintjeElement"
3583
+ },
3584
+ "members": [
3585
+ {
3586
+ "kind": "field",
3587
+ "name": "mode",
3588
+ "type": {
3589
+ "text": "'light' | 'dark'"
3590
+ },
3591
+ "attribute": "mode",
3592
+ "inheritedFrom": {
3593
+ "name": "LintjeElement"
3594
+ }
3595
+ },
3596
+ {
3597
+ "kind": "field",
3598
+ "name": "data",
3599
+ "type": {
3600
+ "text": "UploadFile"
3601
+ }
3602
+ },
3603
+ {
3604
+ "kind": "field",
3605
+ "name": "removable",
3606
+ "type": {
3607
+ "text": "boolean"
3608
+ },
3609
+ "default": "false",
3610
+ "description": "The cross, in a question box or an upload field: the chip then opens nothing.",
3611
+ "attribute": "removable",
3612
+ "reflects": true
3613
+ },
3614
+ {
3615
+ "kind": "field",
3616
+ "name": "refused",
3617
+ "type": {
3618
+ "text": "boolean"
3619
+ },
3620
+ "default": "false",
3621
+ "description": "Its error is the drawing element's own refusal (\"geweigerd\"), not the host's (\"mislukt\").",
3622
+ "attribute": "refused",
3623
+ "reflects": true
3624
+ },
3625
+ {
3626
+ "kind": "field",
3627
+ "name": "disabled",
3628
+ "type": {
3629
+ "text": "boolean"
3630
+ },
3631
+ "default": "false",
3632
+ "description": "No cross, no \"Opnieuw\", and it opens nothing.",
3633
+ "attribute": "disabled",
3634
+ "reflects": true
3635
+ }
3636
+ ],
3637
+ "methods": [
3638
+ {
3639
+ "kind": "method",
3640
+ "name": "focus",
3641
+ "description": "The chip's first control: the cross, \"Opnieuw\", or the chip itself when it opens.",
3642
+ "parameters": "(options?: FocusOptions)",
3643
+ "return": {
3644
+ "text": "void"
3645
+ }
3646
+ }
3647
+ ],
3648
+ "attributes": [
3649
+ {
3650
+ "name": "mode",
3651
+ "fieldName": "mode",
3652
+ "type": {
3653
+ "text": "'light' | 'dark'"
3654
+ }
3655
+ },
3656
+ {
3657
+ "name": "removable",
3658
+ "fieldName": "removable",
3659
+ "type": {
3660
+ "text": "boolean"
3661
+ },
3662
+ "default": "false",
3663
+ "description": "The cross, in a question box or an upload field: the chip then opens nothing."
3664
+ },
3665
+ {
3666
+ "name": "refused",
3667
+ "fieldName": "refused",
3668
+ "type": {
3669
+ "text": "boolean"
3670
+ },
3671
+ "default": "false",
3672
+ "description": "Its error is the drawing element's own refusal (\"geweigerd\"), not the host's (\"mislukt\")."
3673
+ },
3674
+ {
3675
+ "name": "disabled",
3676
+ "fieldName": "disabled",
3677
+ "type": {
3678
+ "text": "boolean"
3679
+ },
3680
+ "default": "false",
3681
+ "description": "No cross, no \"Opnieuw\", and it opens nothing."
3682
+ }
3683
+ ],
3684
+ "events": [
3685
+ {
3686
+ "name": "lintje-attachment--end",
3687
+ "type": {
3688
+ "text": "CustomEvent"
3689
+ }
3690
+ },
3691
+ {
3692
+ "name": "lintje-attachment--opens",
3693
+ "type": {
3694
+ "text": "CustomEvent"
3695
+ }
3696
+ },
3697
+ {
3698
+ "name": "lintje-file-cancel",
3699
+ "type": {
3700
+ "text": "CustomEvent"
3701
+ }
3702
+ },
3703
+ {
3704
+ "name": "lintje-file-open",
3705
+ "type": {
3706
+ "text": "CustomEvent"
3707
+ }
3708
+ },
3709
+ {
3710
+ "name": "lintje-file-remove",
3711
+ "type": {
3712
+ "text": "CustomEvent"
3713
+ }
3714
+ },
3715
+ {
3716
+ "name": "lintje-file-retry",
3717
+ "type": {
3718
+ "text": "CustomEvent"
3719
+ }
3720
+ },
3721
+ {
3722
+ "name": "lintje-navigate",
3723
+ "type": {
3724
+ "text": "CustomEvent<{ href }>"
3725
+ }
3726
+ }
3727
+ ],
3728
+ "slots": [],
3729
+ "draws": []
3730
+ }
3731
+ ],
3732
+ "exports": [
3733
+ {
3734
+ "kind": "custom-element-definition",
3735
+ "name": "lintje-attachment",
3736
+ "declaration": {
3737
+ "name": "LintjeAttachment",
3738
+ "module": "src/components/content/attachment/attachment.ts"
3739
+ }
3740
+ }
3741
+ ]
3742
+ },
3263
3743
  {
3264
3744
  "kind": "javascript-module",
3265
3745
  "path": "src/components/content/audio-player/audio-player.ts",
@@ -3269,7 +3749,7 @@
3269
3749
  "name": "LintjeAudioPlayer",
3270
3750
  "tagName": "lintje-audio-player",
3271
3751
  "customElement": true,
3272
- "description": "`<lintje-audio-player>` — plays a recording: play between two 15-second skips, the position as a\nslider, the time, the volume and the speed.\n\nIt never autoplays.\n\nEvents: `lintje-time-change` `number` (seconds, at most four times a second), `lintje-seek`\n`number` (seconds: the reader moved the position), `lintje-play`, `lintje-pause`.",
3752
+ "description": "`<lintje-audio-player>` — plays a recording: play between two 15-second skips, the position as a\nslider, the time, the volume and the speed.\n\nIt never autoplays.\n\nEvents: `lintje-time-change` `number` (seconds, at most four times a second), `lintje-seek`\n`number` (seconds: the reader moved the position), `lintje-play`, `lintje-pause`, `lintje-retry`\n(\"Opnieuw proberen\" was pressed).",
3273
3753
  "superclass": {
3274
3754
  "name": "LintjePlayerElement"
3275
3755
  },
@@ -3468,6 +3948,12 @@
3468
3948
  "text": "CustomEvent"
3469
3949
  }
3470
3950
  },
3951
+ {
3952
+ "name": "lintje-retry",
3953
+ "type": {
3954
+ "text": "CustomEvent"
3955
+ }
3956
+ },
3471
3957
  {
3472
3958
  "name": "lintje-seek",
3473
3959
  "type": {
@@ -3987,17 +4473,117 @@
3987
4473
  "type": {
3988
4474
  "text": "string"
3989
4475
  },
3990
- "description": "For a term: the glossary's explanation, in a tooltip. Makes the term a button.",
3991
- "attribute": "explanation"
4476
+ "description": "For a term: the glossary's explanation, in a tooltip. Makes the term a button.",
4477
+ "attribute": "explanation"
4478
+ },
4479
+ {
4480
+ "kind": "field",
4481
+ "name": "label",
4482
+ "type": {
4483
+ "text": "string"
4484
+ },
4485
+ "description": "For a difference, what the hidden words call it (\"jouw versie\"); else \"verwijderd\" or \"toegevoegd\".",
4486
+ "attribute": "label"
4487
+ }
4488
+ ],
4489
+ "methods": [],
4490
+ "attributes": [
4491
+ {
4492
+ "name": "mode",
4493
+ "fieldName": "mode",
4494
+ "type": {
4495
+ "text": "'light' | 'dark'"
4496
+ }
4497
+ },
4498
+ {
4499
+ "name": "kind",
4500
+ "fieldName": "kind",
4501
+ "type": {
4502
+ "text": "'uncertain' | 'term' | 'match' | 'added' | 'removed'"
4503
+ },
4504
+ "default": "'match'"
4505
+ },
4506
+ {
4507
+ "name": "current",
4508
+ "fieldName": "current",
4509
+ "type": {
4510
+ "text": "boolean"
4511
+ },
4512
+ "default": "false",
4513
+ "description": "The active search match; only for `match`."
4514
+ },
4515
+ {
4516
+ "name": "explanation",
4517
+ "fieldName": "explanation",
4518
+ "type": {
4519
+ "text": "string"
4520
+ },
4521
+ "description": "For a term: the glossary's explanation, in a tooltip. Makes the term a button."
4522
+ },
4523
+ {
4524
+ "name": "label",
4525
+ "fieldName": "label",
4526
+ "type": {
4527
+ "text": "string"
4528
+ },
4529
+ "description": "For a difference, what the hidden words call it (\"jouw versie\"); else \"verwijderd\" or \"toegevoegd\"."
4530
+ }
4531
+ ],
4532
+ "events": [],
4533
+ "slots": [
4534
+ {
4535
+ "name": ""
4536
+ }
4537
+ ],
4538
+ "draws": [
4539
+ "lintje-tooltip"
4540
+ ]
4541
+ }
4542
+ ],
4543
+ "exports": [
4544
+ {
4545
+ "kind": "custom-element-definition",
4546
+ "name": "lintje-highlight",
4547
+ "declaration": {
4548
+ "name": "LintjeHighlight",
4549
+ "module": "src/components/content/highlight/highlight.ts"
4550
+ }
4551
+ }
4552
+ ]
4553
+ },
4554
+ {
4555
+ "kind": "javascript-module",
4556
+ "path": "src/components/content/key/key.ts",
4557
+ "declarations": [
4558
+ {
4559
+ "kind": "class",
4560
+ "name": "LintjeKey",
4561
+ "tagName": "lintje-key",
4562
+ "customElement": true,
4563
+ "description": "`<lintje-key>` — one keyboard key on the page, drawn as Lintje draws a key inside its own\nelements: `<lintje-key>Ctrl</lintje-key>`.\n\nA combination is two keys side by side, with a space between them. It reads as the key's text,\nis no button and takes no focus.",
4564
+ "superclass": {
4565
+ "name": "LintjeElement"
4566
+ },
4567
+ "members": [
4568
+ {
4569
+ "kind": "field",
4570
+ "name": "mode",
4571
+ "type": {
4572
+ "text": "'light' | 'dark'"
4573
+ },
4574
+ "attribute": "mode",
4575
+ "inheritedFrom": {
4576
+ "name": "LintjeElement"
4577
+ }
3992
4578
  },
3993
4579
  {
3994
4580
  "kind": "field",
3995
- "name": "label",
4581
+ "name": "key",
3996
4582
  "type": {
3997
4583
  "text": "string"
3998
4584
  },
3999
- "description": "For a difference, what the hidden words call it (\"jouw versie\"); else \"verwijderd\" or \"toegevoegd\".",
4000
- "attribute": "label"
4585
+ "description": "The key's text, for a host that sets it rather than writing it inside; the content wins.",
4586
+ "attribute": "key"
4001
4587
  }
4002
4588
  ],
4003
4589
  "methods": [],
@@ -4010,37 +4596,12 @@
4010
4596
  }
4011
4597
  },
4012
4598
  {
4013
- "name": "kind",
4014
- "fieldName": "kind",
4015
- "type": {
4016
- "text": "'uncertain' | 'term' | 'match' | 'added' | 'removed'"
4017
- },
4018
- "default": "'match'"
4019
- },
4020
- {
4021
- "name": "current",
4022
- "fieldName": "current",
4023
- "type": {
4024
- "text": "boolean"
4025
- },
4026
- "default": "false",
4027
- "description": "The active search match; only for `match`."
4028
- },
4029
- {
4030
- "name": "explanation",
4031
- "fieldName": "explanation",
4032
- "type": {
4033
- "text": "string"
4034
- },
4035
- "description": "For a term: the glossary's explanation, in a tooltip. Makes the term a button."
4036
- },
4037
- {
4038
- "name": "label",
4039
- "fieldName": "label",
4599
+ "name": "key",
4600
+ "fieldName": "key",
4040
4601
  "type": {
4041
4602
  "text": "string"
4042
4603
  },
4043
- "description": "For a difference, what the hidden words call it (\"jouw versie\"); else \"verwijderd\" or \"toegevoegd\"."
4604
+ "description": "The key's text, for a host that sets it rather than writing it inside; the content wins."
4044
4605
  }
4045
4606
  ],
4046
4607
  "events": [],
@@ -4049,18 +4610,16 @@
4049
4610
  "name": ""
4050
4611
  }
4051
4612
  ],
4052
- "draws": [
4053
- "lintje-tooltip"
4054
- ]
4613
+ "draws": []
4055
4614
  }
4056
4615
  ],
4057
4616
  "exports": [
4058
4617
  {
4059
4618
  "kind": "custom-element-definition",
4060
- "name": "lintje-highlight",
4619
+ "name": "lintje-key",
4061
4620
  "declaration": {
4062
- "name": "LintjeHighlight",
4063
- "module": "src/components/content/highlight/highlight.ts"
4621
+ "name": "LintjeKey",
4622
+ "module": "src/components/content/key/key.ts"
4064
4623
  }
4065
4624
  }
4066
4625
  ]
@@ -4192,7 +4751,7 @@
4192
4751
  "name": "LintjeProse",
4193
4752
  "tagName": "lintje-prose",
4194
4753
  "customElement": true,
4195
- "description": "`<lintje-prose>` — a block of text on the type scale: `html`, else `text`, else the slot.\n\nThe host renders the markdown and sanitises it: `html` is written into the shadow root as it\nstands.",
4754
+ "description": "`<lintje-prose>` — a block of text on the type scale: `html`, else `text`, else the slot.\n\n`html` is for formatted content: the host renders the markdown and sanitises it, and it is\nwritten into the shadow root as it stands. `text` is one paragraph. The slot is for plain text\nonly, in the block's font and colour: a heading, list or paragraph in it gets no styling.",
4196
4755
  "superclass": {
4197
4756
  "name": "LintjeGridItemElement"
4198
4757
  },
@@ -4227,7 +4786,7 @@
4227
4786
  "type": {
4228
4787
  "text": "string"
4229
4788
  },
4230
- "description": "Server-rendered, server-sanitised HTML. A property only."
4789
+ "description": "Formatted content: server-rendered, server-sanitised HTML. A property only."
4231
4790
  },
4232
4791
  {
4233
4792
  "kind": "field",
@@ -4932,7 +5491,7 @@
4932
5491
  "name": "LintjeVideoPlayer",
4933
5492
  "tagName": "lintje-video-player",
4934
5493
  "customElement": true,
4935
- "description": "`<lintje-video-player>` — the picture of a recording, with the audio player's controls.\n\nThe controls stand under the picture, never over it, also in full screen. The video never starts\nby itself, and the element does not fetch the captions: the host gives them in `segments`. While\nthe video loads or cannot be loaded, the controls stay in the tab order but do nothing; a failed\nload says so on the picture, with \"Opnieuw proberen\".\n\nEvents: `lintje-time-change` `number` (seconds, at most four times a second), `lintje-seek`\n`number` (seconds: the reader moved the position), `lintje-play`, `lintje-pause`.",
5494
+ "description": "`<lintje-video-player>` — the picture of a recording, with the audio player's controls.\n\nThe controls stand under the picture, never over it, also in full screen. The video never starts\nby itself, and the element does not fetch the captions: the host gives them in `segments`. While\nthe video loads or cannot be loaded, the controls stay in the tab order but do nothing; a failed\nload says so on the picture, with \"Opnieuw proberen\".\n\nEvents: `lintje-time-change` `number` (seconds, at most four times a second), `lintje-seek`\n`number` (seconds: the reader moved the position), `lintje-play`, `lintje-pause`, `lintje-retry`\n(\"Opnieuw proberen\" was pressed).",
4936
5495
  "superclass": {
4937
5496
  "name": "LintjePlayerElement"
4938
5497
  },
@@ -5002,7 +5561,7 @@
5002
5561
  "text": "boolean"
5003
5562
  },
5004
5563
  "default": "false",
5005
- "description": "Whether the captions show; the reader switches it, in \"Meer opties\" or with C.",
5564
+ "description": "Whether the captions show; the reader switches it with the bar's button or with C.",
5006
5565
  "attribute": "captions",
5007
5566
  "reflects": true
5008
5567
  },
@@ -5088,7 +5647,7 @@
5088
5647
  "text": "boolean"
5089
5648
  },
5090
5649
  "default": "false",
5091
- "description": "Whether the captions show; the reader switches it, in \"Meer opties\" or with C."
5650
+ "description": "Whether the captions show; the reader switches it with the bar's button or with C."
5092
5651
  },
5093
5652
  {
5094
5653
  "name": "described-src",
@@ -5121,6 +5680,12 @@
5121
5680
  "text": "CustomEvent"
5122
5681
  }
5123
5682
  },
5683
+ {
5684
+ "name": "lintje-retry",
5685
+ "type": {
5686
+ "text": "CustomEvent"
5687
+ }
5688
+ },
5124
5689
  {
5125
5690
  "name": "lintje-seek",
5126
5691
  "type": {
@@ -7591,7 +8156,7 @@
7591
8156
  "text": "'' | 'dirty' | 'busy' | 'saved' | 'draft'"
7592
8157
  },
7593
8158
  "default": "''",
7594
- "description": "Set by the surrounding `lintje-form` (with `saved-at`); standing alone, the host sets it. On\n`busy` the primary button turns `busy` and the others `disabled`; after, each has what it had.",
8159
+ "description": "What the status line shows: `''` nothing; `dirty` \"Wijzigingen nog niet opgeslagen\"; `busy`\n\"Bezig met opslaan\", with the primary button `busy` and the others `disabled` (after, each\nhas what it had); `saved` \"Opgeslagen om 10:42\", the time from `saved-at`; `draft` \"Concept\nopgeslagen om 10:42\", when `lintje-form` kept a draft in the browser (`saveDraft()`, Ctrl+S).\nSet by the surrounding `lintje-form`, with `saved-at`; standing alone, the host sets it.",
7595
8160
  "attribute": "state",
7596
8161
  "reflects": true
7597
8162
  },
@@ -7621,7 +8186,7 @@
7621
8186
  "text": "'' | 'dirty' | 'busy' | 'saved' | 'draft'"
7622
8187
  },
7623
8188
  "default": "''",
7624
- "description": "Set by the surrounding `lintje-form` (with `saved-at`); standing alone, the host sets it. On\n`busy` the primary button turns `busy` and the others `disabled`; after, each has what it had."
8189
+ "description": "What the status line shows: `''` nothing; `dirty` \"Wijzigingen nog niet opgeslagen\"; `busy`\n\"Bezig met opslaan\", with the primary button `busy` and the others `disabled` (after, each\nhas what it had); `saved` \"Opgeslagen om 10:42\", the time from `saved-at`; `draft` \"Concept\nopgeslagen om 10:42\", when `lintje-form` kept a draft in the browser (`saveDraft()`, Ctrl+S).\nSet by the surrounding `lintje-form`, with `saved-at`; standing alone, the host sets it."
7625
8190
  },
7626
8191
  {
7627
8192
  "name": "saved-at",
@@ -9453,7 +10018,7 @@
9453
10018
  "kind": "field",
9454
10019
  "name": "user",
9455
10020
  "type": {
9456
- "text": "UserMenuUser | null"
10021
+ "text": "Person | null"
9457
10022
  }
9458
10023
  },
9459
10024
  {
@@ -9651,6 +10216,111 @@
9651
10216
  }
9652
10217
  ]
9653
10218
  },
10219
+ {
10220
+ "kind": "javascript-module",
10221
+ "path": "src/components/graph/graph/graph.ts",
10222
+ "declarations": [
10223
+ {
10224
+ "kind": "class",
10225
+ "name": "LintjeGraph",
10226
+ "tagName": "lintje-graph",
10227
+ "customElement": true,
10228
+ "description": "`<lintje-graph>` — an entity diagram in its tile: nodes and the relations between them, laid\nout, folded and zoomed by the element itself.\n\nThe host sends the graph; the element finds its centre, gathers more than five leaves of one\nkind into a group, lays it out and draws it. `selected`, `collapsed` and `opened` are the\nhost's: a click shows at once and asks with an event, and the host confirms in the next `data`.\nA node with `more` asks for its neighbours and shows a busy counter until the host sends them.\nAbove a hundred nodes the layout is worked out in a worker. The zoom, the kinds switched off in\nthe legend and the pointer are the element's own.\n\nEvents: `lintje-node-select` `{ id, label }` (undone, `{ id: null, label: null }`),\n`lintje-node-toggle` `{ id, open }`, `lintje-node-expand` `{ id }`.",
10229
+ "superclass": {
10230
+ "name": "LintjeContentTileElement"
10231
+ },
10232
+ "members": [
10233
+ {
10234
+ "kind": "field",
10235
+ "name": "mode",
10236
+ "type": {
10237
+ "text": "'light' | 'dark'"
10238
+ },
10239
+ "attribute": "mode",
10240
+ "inheritedFrom": {
10241
+ "name": "LintjeElement"
10242
+ }
10243
+ },
10244
+ {
10245
+ "kind": "field",
10246
+ "name": "span",
10247
+ "type": {
10248
+ "text": "number"
10249
+ },
10250
+ "description": "Columns of the 12-column grid; default one.",
10251
+ "attribute": "span",
10252
+ "reflects": true,
10253
+ "inheritedFrom": {
10254
+ "name": "LintjeGridItemElement"
10255
+ }
10256
+ },
10257
+ {
10258
+ "kind": "field",
10259
+ "name": "data",
10260
+ "type": {
10261
+ "text": "GraphData | null"
10262
+ }
10263
+ }
10264
+ ],
10265
+ "methods": [],
10266
+ "attributes": [
10267
+ {
10268
+ "name": "mode",
10269
+ "fieldName": "mode",
10270
+ "type": {
10271
+ "text": "'light' | 'dark'"
10272
+ }
10273
+ },
10274
+ {
10275
+ "name": "span",
10276
+ "fieldName": "span",
10277
+ "type": {
10278
+ "text": "number"
10279
+ },
10280
+ "description": "Columns of the 12-column grid; default one."
10281
+ }
10282
+ ],
10283
+ "events": [
10284
+ {
10285
+ "name": "lintje-node-expand",
10286
+ "type": {
10287
+ "text": "CustomEvent<{ id }>"
10288
+ }
10289
+ },
10290
+ {
10291
+ "name": "lintje-node-select",
10292
+ "type": {
10293
+ "text": "CustomEvent"
10294
+ }
10295
+ },
10296
+ {
10297
+ "name": "lintje-node-toggle",
10298
+ "type": {
10299
+ "text": "CustomEvent<{ id, open }>"
10300
+ }
10301
+ }
10302
+ ],
10303
+ "slots": [],
10304
+ "draws": [
10305
+ "lintje-announcement",
10306
+ "lintje-spinner",
10307
+ "lintje-status-dot",
10308
+ "lintje-tile",
10309
+ "lintje-tooltip"
10310
+ ]
10311
+ }
10312
+ ],
10313
+ "exports": [
10314
+ {
10315
+ "kind": "custom-element-definition",
10316
+ "name": "lintje-graph",
10317
+ "declaration": {
10318
+ "name": "LintjeGraph",
10319
+ "module": "src/components/graph/graph/graph.ts"
10320
+ }
10321
+ }
10322
+ ]
10323
+ },
9654
10324
  {
9655
10325
  "kind": "javascript-module",
9656
10326
  "path": "src/components/inputs/checkbox-group/checkbox-group.ts",
@@ -11401,7 +12071,7 @@
11401
12071
  "name": "LintjeDateRange",
11402
12072
  "tagName": "lintje-date-range",
11403
12073
  "customElement": true,
11404
- "description": "`<lintje-date-range>` — the date range picker: a field and a popover with a calendar, presets\nand \"Wissen\"/\"Toepassen\".\n\nEscape closes only the popover; it and \"Toepassen\" give the focus back to the field. Tab out of\nthe element closes the popover.\n\nEvents: `lintje-change` `{ from, to }`, `lintje-values-change` `{ [name]: value }` (with a\n`name`), `lintje-reset` (the reset link was pressed).",
12074
+ "description": "`<lintje-date-range>` — the date range picker: a field and a popover with a calendar, presets\nand \"Wissen\"/\"Toepassen\".\n\nThe popover is fixed to the viewport, so a scrolling filter bar or tile around it does not cut it\noff. Escape closes only the popover; it and \"Toepassen\" give the focus back to the field. Tab out\nof the element closes the popover.\n\nEvents: `lintje-change` `{ from, to }`, `lintje-values-change` `{ [name]: value }` (with a\n`name`), `lintje-reset` (the reset link was pressed).",
11405
12075
  "superclass": {
11406
12076
  "name": "LintjeInputElement"
11407
12077
  },
@@ -11923,7 +12593,7 @@
11923
12593
  "name": "LintjeFileUpload",
11924
12594
  "tagName": "lintje-file-upload",
11925
12595
  "customElement": true,
11926
- "description": "`<lintje-file-upload>` — choose or drop files, and see per file how far it is and how it ended.\n\nIt never uploads: it checks files against `accept` and `max-size`, sends the ones that pass with\n`lintje-files-add` and draws the rows from `files`. A file it refuses never reaches the host.\nIts value is the ids of the rows that are done. While it takes files, a file dropped beside the\nzone does nothing, instead of opening in the browser.\n\nEvents: `lintje-files-add` `File[]`, `lintje-file-remove` `{ id }`, `lintje-file-cancel`\n`{ id }`, `lintje-change` `string[]`, `lintje-values-change` `{ [name]: value }` (with a\n`name`), `lintje-reset` (the reset link was pressed).",
12596
+ "description": "`<lintje-file-upload>` — choose or drop files, and see per file how far it is and how it ended.\n\nIt never uploads: it checks files against `accept` and `max-size`, sends the ones that pass with\n`lintje-files-add` and draws `files` as attachments under the zone. A file it refuses never\nreaches the host, nor do the events of its chip. Its value is the ids of the files that are done.\nWhile it takes files, a file dropped beside the zone does nothing, instead of opening in the browser.\n\nEvents: `lintje-files-add` `File[]`, `lintje-change` `string[]`, `lintje-values-change`\n`{ [name]: value }` (with a `name`), `lintje-reset` (the reset link was pressed); from its chips\n`lintje-file-remove` `{ id }`, `lintje-file-cancel` `{ id }` and `lintje-file-retry` `{ id }`.",
11927
12597
  "superclass": {
11928
12598
  "name": "LintjeInputElement"
11929
12599
  },
@@ -12290,18 +12960,6 @@
12290
12960
  },
12291
12961
  "description": "Not composed: it stops at the shadow root."
12292
12962
  },
12293
- {
12294
- "name": "lintje-file-cancel",
12295
- "type": {
12296
- "text": "CustomEvent<{ id }>"
12297
- }
12298
- },
12299
- {
12300
- "name": "lintje-file-remove",
12301
- "type": {
12302
- "text": "CustomEvent<{ id }>"
12303
- }
12304
- },
12305
12963
  {
12306
12964
  "name": "lintje-files-add",
12307
12965
  "type": {
@@ -12331,8 +12989,8 @@
12331
12989
  ],
12332
12990
  "slots": [],
12333
12991
  "draws": [
12334
- "lintje-button",
12335
- "lintje-progress-bar"
12992
+ "lintje-attachment",
12993
+ "lintje-button"
12336
12994
  ]
12337
12995
  }
12338
12996
  ],
@@ -18290,10 +18948,124 @@
18290
18948
  "exports": [
18291
18949
  {
18292
18950
  "kind": "custom-element-definition",
18293
- "name": "lintje-toggle",
18951
+ "name": "lintje-toggle",
18952
+ "declaration": {
18953
+ "name": "LintjeToggle",
18954
+ "module": "src/components/inputs/toggle/toggle.ts"
18955
+ }
18956
+ }
18957
+ ]
18958
+ },
18959
+ {
18960
+ "kind": "javascript-module",
18961
+ "path": "src/components/layout/accordion/accordion.ts",
18962
+ "declarations": [
18963
+ {
18964
+ "kind": "class",
18965
+ "name": "LintjeAccordion",
18966
+ "tagName": "lintje-accordion",
18967
+ "customElement": true,
18968
+ "description": "`<lintje-accordion>` — expanders stacked as one list: a row per `<lintje-expander>`, lines\nbetween them, the chevron before each title.\n\nIt holds nothing: each row keeps its own `open`, and a host that keeps an open row in the URL\nsets `open` on that row. More rows may stand open at once unless `exclusive`. Hide nothing here\nthat every reader needs: what a row holds is easily missed.\n\nEvents: none of its own. Each row sends `lintje-toggle`, also when `exclusive` or the link\n\"Alles openen\" opened or closed it.",
18969
+ "superclass": {
18970
+ "name": "LintjeElement"
18971
+ },
18972
+ "members": [
18973
+ {
18974
+ "kind": "field",
18975
+ "name": "mode",
18976
+ "type": {
18977
+ "text": "'light' | 'dark'"
18978
+ },
18979
+ "attribute": "mode",
18980
+ "inheritedFrom": {
18981
+ "name": "LintjeElement"
18982
+ }
18983
+ },
18984
+ {
18985
+ "kind": "field",
18986
+ "name": "exclusive",
18987
+ "type": {
18988
+ "text": "boolean"
18989
+ },
18990
+ "default": "false",
18991
+ "description": "Opening a row closes the others; content then moves away under the reader.",
18992
+ "attribute": "exclusive",
18993
+ "reflects": true
18994
+ },
18995
+ {
18996
+ "kind": "field",
18997
+ "name": "toggleAll",
18998
+ "type": {
18999
+ "text": "boolean"
19000
+ },
19001
+ "default": "false",
19002
+ "description": "A link above the rows, \"Alles openen\" or \"Alles sluiten\". Not with `exclusive`.",
19003
+ "attribute": "toggle-all"
19004
+ },
19005
+ {
19006
+ "kind": "field",
19007
+ "name": "level",
19008
+ "type": {
19009
+ "text": "number"
19010
+ },
19011
+ "default": "new PropertyHold('level')",
19012
+ "attribute": "level"
19013
+ }
19014
+ ],
19015
+ "methods": [],
19016
+ "attributes": [
19017
+ {
19018
+ "name": "mode",
19019
+ "fieldName": "mode",
19020
+ "type": {
19021
+ "text": "'light' | 'dark'"
19022
+ }
19023
+ },
19024
+ {
19025
+ "name": "exclusive",
19026
+ "fieldName": "exclusive",
19027
+ "type": {
19028
+ "text": "boolean"
19029
+ },
19030
+ "default": "false",
19031
+ "description": "Opening a row closes the others; content then moves away under the reader."
19032
+ },
19033
+ {
19034
+ "name": "toggle-all",
19035
+ "fieldName": "toggleAll",
19036
+ "type": {
19037
+ "text": "boolean"
19038
+ },
19039
+ "default": "false",
19040
+ "description": "A link above the rows, \"Alles openen\" or \"Alles sluiten\". Not with `exclusive`."
19041
+ },
19042
+ {
19043
+ "name": "level",
19044
+ "fieldName": "level",
19045
+ "type": {
19046
+ "text": "number"
19047
+ },
19048
+ "default": "new PropertyHold('level')"
19049
+ }
19050
+ ],
19051
+ "events": [],
19052
+ "slots": [
19053
+ {
19054
+ "name": ""
19055
+ }
19056
+ ],
19057
+ "draws": [
19058
+ "lintje-button"
19059
+ ]
19060
+ }
19061
+ ],
19062
+ "exports": [
19063
+ {
19064
+ "kind": "custom-element-definition",
19065
+ "name": "lintje-accordion",
18294
19066
  "declaration": {
18295
- "name": "LintjeToggle",
18296
- "module": "src/components/inputs/toggle/toggle.ts"
19067
+ "name": "LintjeAccordion",
19068
+ "module": "src/components/layout/accordion/accordion.ts"
18297
19069
  }
18298
19070
  }
18299
19071
  ]
@@ -18307,7 +19079,7 @@
18307
19079
  "name": "LintjeExpander",
18308
19080
  "tagName": "lintje-expander",
18309
19081
  "customElement": true,
18310
- "description": "`<lintje-expander>` — a title you press; what is slotted under it shows or hides.\n\nClosed, the content stays in the DOM, out of the tab order and the accessibility tree. What is\nslotted in `actions` stands beside the title, outside its button: a few icon buttons about the\ncontent.\n\nEvents: `lintje-toggle` `boolean` (open, after the reader pressed the title).",
19082
+ "description": "`<lintje-expander>` — a title you press; what is slotted under it shows or hides.\n\nClosed, the content stays in the DOM, out of the tab order and the accessibility tree. What is\nslotted in `actions` stands beside the title, outside its button: a few icon buttons about the\ncontent.\n\nEvents: `lintje-toggle` `boolean` (open, after the reader pressed the title, or after the\n`lintje-accordion` it stands in opened or closed it for the reader).",
18311
19083
  "superclass": {
18312
19084
  "name": "LintjeGridItemElement"
18313
19085
  },
@@ -18404,6 +19176,15 @@
18404
19176
  "description": "The title in a column of its own (`--lintje-expander-label`), the content beside it, as rows\nof text beside their speaker; a narrow expander stacks them again.",
18405
19177
  "attribute": "columns",
18406
19178
  "reflects": true
19179
+ },
19180
+ {
19181
+ "kind": "field",
19182
+ "name": "level",
19183
+ "type": {
19184
+ "text": "2 | 3 | 4 | 5 | 6"
19185
+ },
19186
+ "description": "The title's heading level, 2 to 6; `h3` when unset.",
19187
+ "attribute": "level"
18407
19188
  }
18408
19189
  ],
18409
19190
  "methods": [],
@@ -18480,6 +19261,14 @@
18480
19261
  },
18481
19262
  "default": "false",
18482
19263
  "description": "The title in a column of its own (`--lintje-expander-label`), the content beside it, as rows\nof text beside their speaker; a narrow expander stacks them again."
19264
+ },
19265
+ {
19266
+ "name": "level",
19267
+ "fieldName": "level",
19268
+ "type": {
19269
+ "text": "2 | 3 | 4 | 5 | 6"
19270
+ },
19271
+ "description": "The title's heading level, 2 to 6; `h3` when unset."
18483
19272
  }
18484
19273
  ],
18485
19274
  "events": [
@@ -20030,7 +20819,7 @@
20030
20819
  "kind": "field",
20031
20820
  "name": "placement",
20032
20821
  "type": {
20033
- "text": "'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'top-center' | 'left-center' | 'left-start'"
20822
+ "text": "Placement"
20034
20823
  },
20035
20824
  "default": "'bottom-start'",
20036
20825
  "attribute": "placement"
@@ -20068,6 +20857,14 @@
20068
20857
  "text": "Element | null"
20069
20858
  },
20070
20859
  "description": "What the panel hangs under; default the previous sibling."
20860
+ },
20861
+ {
20862
+ "kind": "field",
20863
+ "name": "opener",
20864
+ "type": {
20865
+ "text": "Element | null"
20866
+ },
20867
+ "description": "The control that opens the panel, where it is not the anchor: a press on it, or the focus it\ntakes, is not outside, so the owner's own toggle closes the panel instead of opening it again."
20071
20868
  }
20072
20869
  ],
20073
20870
  "methods": [],
@@ -20092,7 +20889,7 @@
20092
20889
  "name": "placement",
20093
20890
  "fieldName": "placement",
20094
20891
  "type": {
20095
- "text": "'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'top-center' | 'left-center' | 'left-start'"
20892
+ "text": "Placement"
20096
20893
  },
20097
20894
  "default": "'bottom-start'"
20098
20895
  },
@@ -20476,7 +21273,8 @@
20476
21273
  "events": [],
20477
21274
  "slots": [],
20478
21275
  "draws": [
20479
- "lintje-button"
21276
+ "lintje-button",
21277
+ "lintje-person"
20480
21278
  ]
20481
21279
  }
20482
21280
  ],
@@ -20845,6 +21643,8 @@
20845
21643
  "draws": [
20846
21644
  "lintje-button",
20847
21645
  "lintje-icon-button",
21646
+ "lintje-person",
21647
+ "lintje-person-group",
20848
21648
  "lintje-skeleton"
20849
21649
  ]
20850
21650
  }
@@ -21035,6 +21835,7 @@
21035
21835
  "lintje-empty-state",
21036
21836
  "lintje-menu-button",
21037
21837
  "lintje-pagination",
21838
+ "lintje-person",
21038
21839
  "lintje-popover",
21039
21840
  "lintje-sortable-list",
21040
21841
  "lintje-spinner",
@@ -21194,7 +21995,8 @@
21194
21995
  }
21195
21996
  ],
21196
21997
  "draws": [
21197
- "lintje-badge"
21998
+ "lintje-badge",
21999
+ "lintje-key"
21198
22000
  ]
21199
22001
  }
21200
22002
  ],
@@ -21357,6 +22159,7 @@
21357
22159
  "lintje-button",
21358
22160
  "lintje-empty-state",
21359
22161
  "lintje-menu-button",
22162
+ "lintje-person",
21360
22163
  "lintje-progress-bar",
21361
22164
  "lintje-text-input"
21362
22165
  ]
@@ -21612,6 +22415,297 @@
21612
22415
  }
21613
22416
  ]
21614
22417
  },
22418
+ {
22419
+ "kind": "javascript-module",
22420
+ "path": "src/components/tables/person-group/person-group.ts",
22421
+ "declarations": [
22422
+ {
22423
+ "kind": "class",
22424
+ "name": "LintjePersonGroup",
22425
+ "tagName": "lintje-person-group",
22426
+ "customElement": true,
22427
+ "description": "`<lintje-person-group>` — a row of overlapping circles with \"+n\", that opens a list of everyone.\n\nIt shows no names, so it is always a button with a panel: a disclosure, not a menu. It opens and\ncloses itself, as the user menu does, and says so; a host may set `open`. The list holds the\npeople in the host's order, each with name and role; a name with `href` is a link there.\n\nEvents: `lintje-toggle` `{ open }`, `lintje-navigate` `{ href }` (from a name in the list).",
22428
+ "superclass": {
22429
+ "name": "LintjeElement"
22430
+ },
22431
+ "members": [
22432
+ {
22433
+ "kind": "field",
22434
+ "name": "mode",
22435
+ "type": {
22436
+ "text": "'light' | 'dark'"
22437
+ },
22438
+ "attribute": "mode",
22439
+ "inheritedFrom": {
22440
+ "name": "LintjeElement"
22441
+ }
22442
+ },
22443
+ {
22444
+ "kind": "field",
22445
+ "name": "people",
22446
+ "type": {
22447
+ "text": "Person[]"
22448
+ },
22449
+ "default": "[]"
22450
+ },
22451
+ {
22452
+ "kind": "field",
22453
+ "name": "label",
22454
+ "type": {
22455
+ "text": "string"
22456
+ },
22457
+ "default": "'Personen'",
22458
+ "description": "What the row is (\"Meelezers\"): the list's heading and the start of the button's name.",
22459
+ "attribute": "label"
22460
+ },
22461
+ {
22462
+ "kind": "field",
22463
+ "name": "max",
22464
+ "type": {
22465
+ "text": "number"
22466
+ },
22467
+ "default": "4",
22468
+ "description": "The number of circles, \"+n\" included; at least 2. With more people, `max − 1` and \"+n\".",
22469
+ "attribute": "max"
22470
+ },
22471
+ {
22472
+ "kind": "field",
22473
+ "name": "size",
22474
+ "type": {
22475
+ "text": "'small' | 'medium'"
22476
+ },
22477
+ "default": "'small'",
22478
+ "description": "24 or 32 px.",
22479
+ "attribute": "size",
22480
+ "reflects": true
22481
+ },
22482
+ {
22483
+ "kind": "field",
22484
+ "name": "empty",
22485
+ "type": {
22486
+ "text": "string"
22487
+ },
22488
+ "default": "'Niemand'",
22489
+ "description": "The word where nobody is.",
22490
+ "attribute": "empty"
22491
+ },
22492
+ {
22493
+ "kind": "field",
22494
+ "name": "open",
22495
+ "type": {
22496
+ "text": "boolean"
22497
+ },
22498
+ "default": "false",
22499
+ "description": "Whether the list stands open.",
22500
+ "attribute": "open",
22501
+ "reflects": true
22502
+ }
22503
+ ],
22504
+ "methods": [],
22505
+ "attributes": [
22506
+ {
22507
+ "name": "mode",
22508
+ "fieldName": "mode",
22509
+ "type": {
22510
+ "text": "'light' | 'dark'"
22511
+ }
22512
+ },
22513
+ {
22514
+ "name": "label",
22515
+ "fieldName": "label",
22516
+ "type": {
22517
+ "text": "string"
22518
+ },
22519
+ "default": "'Personen'",
22520
+ "description": "What the row is (\"Meelezers\"): the list's heading and the start of the button's name."
22521
+ },
22522
+ {
22523
+ "name": "max",
22524
+ "fieldName": "max",
22525
+ "type": {
22526
+ "text": "number"
22527
+ },
22528
+ "default": "4",
22529
+ "description": "The number of circles, \"+n\" included; at least 2. With more people, `max − 1` and \"+n\"."
22530
+ },
22531
+ {
22532
+ "name": "size",
22533
+ "fieldName": "size",
22534
+ "type": {
22535
+ "text": "'small' | 'medium'"
22536
+ },
22537
+ "default": "'small'",
22538
+ "description": "24 or 32 px."
22539
+ },
22540
+ {
22541
+ "name": "empty",
22542
+ "fieldName": "empty",
22543
+ "type": {
22544
+ "text": "string"
22545
+ },
22546
+ "default": "'Niemand'",
22547
+ "description": "The word where nobody is."
22548
+ },
22549
+ {
22550
+ "name": "open",
22551
+ "fieldName": "open",
22552
+ "type": {
22553
+ "text": "boolean"
22554
+ },
22555
+ "default": "false",
22556
+ "description": "Whether the list stands open."
22557
+ }
22558
+ ],
22559
+ "events": [
22560
+ {
22561
+ "name": "lintje-toggle",
22562
+ "type": {
22563
+ "text": "CustomEvent<{ open }>"
22564
+ }
22565
+ }
22566
+ ],
22567
+ "slots": [],
22568
+ "draws": [
22569
+ "lintje-person",
22570
+ "lintje-popover"
22571
+ ]
22572
+ }
22573
+ ],
22574
+ "exports": [
22575
+ {
22576
+ "kind": "custom-element-definition",
22577
+ "name": "lintje-person-group",
22578
+ "declaration": {
22579
+ "name": "LintjePersonGroup",
22580
+ "module": "src/components/tables/person-group/person-group.ts"
22581
+ }
22582
+ }
22583
+ ]
22584
+ },
22585
+ {
22586
+ "kind": "javascript-module",
22587
+ "path": "src/components/tables/person/person.ts",
22588
+ "declarations": [
22589
+ {
22590
+ "kind": "class",
22591
+ "name": "LintjePerson",
22592
+ "tagName": "lintje-person",
22593
+ "customElement": true,
22594
+ "description": "`<lintje-person>` — one person: a circle with photo, initials or icon, and the name beside it.\n\nA person is a value: in a table cell, a row, a card or a log entry it reads in the letter of\nwhere it stands. Without `person` it is the empty place, read as its word. With `href` circle\nand name are one link; a table, list or card that opens itself passes the person without one.\n\nEvents: `lintje-navigate` `{ href }` (a plain click on a name with `href`).",
22595
+ "superclass": {
22596
+ "name": "LintjeElement"
22597
+ },
22598
+ "members": [
22599
+ {
22600
+ "kind": "field",
22601
+ "name": "mode",
22602
+ "type": {
22603
+ "text": "'light' | 'dark'"
22604
+ },
22605
+ "attribute": "mode",
22606
+ "inheritedFrom": {
22607
+ "name": "LintjeElement"
22608
+ }
22609
+ },
22610
+ {
22611
+ "kind": "field",
22612
+ "name": "person",
22613
+ "type": {
22614
+ "text": "Person | null"
22615
+ },
22616
+ "default": "null",
22617
+ "description": "Without a person, the empty place with `empty`."
22618
+ },
22619
+ {
22620
+ "kind": "field",
22621
+ "name": "size",
22622
+ "type": {
22623
+ "text": "'small' | 'medium' | 'large'"
22624
+ },
22625
+ "default": "'medium'",
22626
+ "description": "24, 32 or 40 px. `small` shows no second line: it does not fit beside 24 px in a row.",
22627
+ "attribute": "size",
22628
+ "reflects": true
22629
+ },
22630
+ {
22631
+ "kind": "field",
22632
+ "name": "empty",
22633
+ "type": {
22634
+ "text": "string"
22635
+ },
22636
+ "default": "NO_PERSON",
22637
+ "description": "The word where nobody is (\"Nog niemand\").",
22638
+ "attribute": "empty"
22639
+ },
22640
+ {
22641
+ "kind": "field",
22642
+ "name": "color",
22643
+ "type": {
22644
+ "text": "(typeof SPEAKER_COLOURS)[number] | 'other'"
22645
+ },
22646
+ "description": "A speaker's colour, only where the people are the variable, as the speakers of a recording.",
22647
+ "attribute": "color"
22648
+ }
22649
+ ],
22650
+ "methods": [],
22651
+ "attributes": [
22652
+ {
22653
+ "name": "mode",
22654
+ "fieldName": "mode",
22655
+ "type": {
22656
+ "text": "'light' | 'dark'"
22657
+ }
22658
+ },
22659
+ {
22660
+ "name": "size",
22661
+ "fieldName": "size",
22662
+ "type": {
22663
+ "text": "'small' | 'medium' | 'large'"
22664
+ },
22665
+ "default": "'medium'",
22666
+ "description": "24, 32 or 40 px. `small` shows no second line: it does not fit beside 24 px in a row."
22667
+ },
22668
+ {
22669
+ "name": "empty",
22670
+ "fieldName": "empty",
22671
+ "type": {
22672
+ "text": "string"
22673
+ },
22674
+ "default": "NO_PERSON",
22675
+ "description": "The word where nobody is (\"Nog niemand\")."
22676
+ },
22677
+ {
22678
+ "name": "color",
22679
+ "fieldName": "color",
22680
+ "type": {
22681
+ "text": "(typeof SPEAKER_COLOURS)[number] | 'other'"
22682
+ },
22683
+ "description": "A speaker's colour, only where the people are the variable, as the speakers of a recording."
22684
+ }
22685
+ ],
22686
+ "events": [
22687
+ {
22688
+ "name": "lintje-navigate",
22689
+ "type": {
22690
+ "text": "CustomEvent<{ href }>"
22691
+ }
22692
+ }
22693
+ ],
22694
+ "slots": [],
22695
+ "draws": []
22696
+ }
22697
+ ],
22698
+ "exports": [
22699
+ {
22700
+ "kind": "custom-element-definition",
22701
+ "name": "lintje-person",
22702
+ "declaration": {
22703
+ "name": "LintjePerson",
22704
+ "module": "src/components/tables/person/person.ts"
22705
+ }
22706
+ }
22707
+ ]
22708
+ },
21615
22709
  {
21616
22710
  "kind": "javascript-module",
21617
22711
  "path": "src/components/tables/sortable-list/sortable-list.ts",