lintje 0.6.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.
- package/NOTICE.md +2 -0
- package/README.md +2 -2
- package/dist-elements/actions.js +1 -1
- package/dist-elements/chat.js +1 -1
- package/dist-elements/chunks/addon-B-nZKTVZ.js +5 -0
- package/dist-elements/chunks/avatar-C1Wj9drG.js +1 -0
- package/dist-elements/chunks/axes-DPj3RyPk.js +129 -0
- package/dist-elements/chunks/base-lxVG98kf.js +226 -0
- package/dist-elements/chunks/chart-styles-sK3xVPFj.js +45 -0
- package/dist-elements/chunks/controls-lVYdiFQu.js +1 -0
- package/dist-elements/chunks/{date-format-5bii3QLP.js → date-format-DvDaZtFc.js} +1 -1
- package/dist-elements/chunks/dialog-close-DpjJ6JbT.js +1 -0
- package/dist-elements/chunks/disclosure-Ch2SwnkG.js +1 -0
- package/dist-elements/chunks/disclosure-o3Agc4Ji.js +20 -0
- package/dist-elements/chunks/download-C74iql1Q.js +18 -0
- package/dist-elements/chunks/focus-trap-xGyZPSzU.js +1 -0
- package/dist-elements/chunks/follow-7IBDa51N.js +1 -0
- package/dist-elements/chunks/frame-BMR48Vea.js +1 -0
- package/dist-elements/chunks/input-C7MnFu5X.js +8 -0
- package/dist-elements/chunks/input-CCT6CcW1.js +1 -0
- package/dist-elements/chunks/month-grid-CoYFI13w.js +26 -0
- package/dist-elements/chunks/other-D_wlqvPA.js +11 -0
- package/dist-elements/chunks/{player-Dh7ZHcMF.js → player-BW0tPg9_.js} +14 -14
- package/dist-elements/chunks/{prose-DOF7h3je.js → prose-aNcSsHId.js} +1 -1
- package/dist-elements/chunks/search-text-i-Em9oIy.js +1 -0
- package/dist-elements/chunks/sentence-CJX3W7W5.js +3 -0
- package/dist-elements/chunks/stagger-DYloMMgF.js +27 -0
- package/dist-elements/chunks/wheel-Co2Dpj0Q.js +1 -0
- package/dist-elements/content.js +1 -1
- package/dist-elements/core.js +1 -1
- package/dist-elements/custom-elements.json +1757 -222
- package/dist-elements/data-types.json +3857 -1500
- package/dist-elements/feedback.js +1 -1
- package/dist-elements/graph.d.ts +1 -0
- package/dist-elements/graph.js +1 -0
- package/dist-elements/guides/events.md +13 -3
- package/dist-elements/guides/loading.md +12 -9
- package/dist-elements/inputs.js +1 -1
- package/dist-elements/layout.js +1 -1
- package/dist-elements/lintje.js +3240 -2434
- package/dist-elements/overlays.js +1 -1
- package/dist-elements/skills/lintje/SKILL.md +26 -5
- package/dist-elements/skills/lintje/check.mjs +180 -0
- package/dist-elements/skills/lintje/reference.mjs +24 -3
- package/dist-elements/tables.js +1 -1
- package/dist-elements/tag/accordion.d.ts +1 -0
- package/dist-elements/tag/accordion.js +6 -0
- package/dist-elements/tag/activity-log.js +13 -11
- package/dist-elements/tag/ai-label.js +5 -5
- package/dist-elements/tag/announcement.js +9 -9
- package/dist-elements/tag/app-search.js +15 -15
- package/dist-elements/tag/attachment.d.ts +1 -0
- package/dist-elements/tag/attachment.js +54 -0
- package/dist-elements/tag/audio-player.js +27 -27
- package/dist-elements/tag/badge.js +1 -1
- package/dist-elements/tag/breadcrumbs.js +7 -7
- package/dist-elements/tag/button.js +1 -1
- package/dist-elements/tag/card-list.js +8 -8
- package/dist-elements/tag/card.js +36 -30
- package/dist-elements/tag/chart.js +674 -411
- package/dist-elements/tag/chat-answer.js +43 -41
- package/dist-elements/tag/chat-composer.js +101 -43
- package/dist-elements/tag/chat-message.js +16 -11
- package/dist-elements/tag/chat-questions.d.ts +1 -0
- package/dist-elements/tag/chat-questions.js +133 -0
- package/dist-elements/tag/chat-steps.d.ts +1 -0
- package/dist-elements/tag/chat-steps.js +52 -0
- package/dist-elements/tag/chat-strip.js +7 -7
- package/dist-elements/tag/chat-suggestions.js +7 -8
- package/dist-elements/tag/chat.js +65 -37
- package/dist-elements/tag/checkbox-group.js +14 -6
- package/dist-elements/tag/checkbox.js +8 -8
- package/dist-elements/tag/code.js +8 -8
- package/dist-elements/tag/combobox.js +18 -18
- package/dist-elements/tag/conflict-alert.js +4 -4
- package/dist-elements/tag/copy-button.js +7 -7
- package/dist-elements/tag/data-table.js +255 -246
- package/dist-elements/tag/date-input.js +17 -41
- package/dist-elements/tag/date-range.js +22 -46
- package/dist-elements/tag/description-list.js +17 -15
- package/dist-elements/tag/dialog.js +7 -7
- package/dist-elements/tag/document-viewer.js +34 -26
- package/dist-elements/tag/drawer.js +9 -9
- package/dist-elements/tag/empty-state.js +1 -1
- package/dist-elements/tag/error-page.js +7 -7
- package/dist-elements/tag/error-summary.js +12 -12
- package/dist-elements/tag/expander.js +5 -5
- package/dist-elements/tag/explainer.js +5 -5
- package/dist-elements/tag/field.js +5 -5
- package/dist-elements/tag/file-upload.js +34 -44
- package/dist-elements/tag/filter-bar.js +18 -18
- package/dist-elements/tag/filter-sheet.js +3 -3
- package/dist-elements/tag/filter-zone.js +14 -15
- package/dist-elements/tag/find.js +14 -14
- package/dist-elements/tag/footer.js +14 -14
- package/dist-elements/tag/form-actions.js +3 -3
- package/dist-elements/tag/form-section.js +4 -4
- package/dist-elements/tag/form.js +5 -5
- package/dist-elements/tag/gallery.js +11 -11
- package/dist-elements/tag/graph.d.ts +1 -0
- package/dist-elements/tag/graph.js +102 -0
- package/dist-elements/tag/grid-item.js +1 -1
- package/dist-elements/tag/grid.js +1 -1
- package/dist-elements/tag/hero.js +5 -5
- package/dist-elements/tag/highlight.js +1 -1
- package/dist-elements/tag/icon-button.js +1 -1
- package/dist-elements/tag/icon.js +1 -1
- package/dist-elements/tag/job-list.js +3 -3
- package/dist-elements/tag/key.d.ts +1 -0
- package/dist-elements/tag/key.js +1 -0
- package/dist-elements/tag/kpi-row.js +5 -5
- package/dist-elements/tag/kpi.js +69 -69
- package/dist-elements/tag/level-meter.js +5 -5
- package/dist-elements/tag/list.js +29 -28
- package/dist-elements/tag/log-viewer.js +68 -68
- package/dist-elements/tag/logo.js +26 -29
- package/dist-elements/tag/map.js +161 -158
- package/dist-elements/tag/menu-button.js +32 -32
- package/dist-elements/tag/modal.js +6 -6
- package/dist-elements/tag/multiselect.js +21 -22
- package/dist-elements/tag/note.js +2 -2
- package/dist-elements/tag/notifications.js +21 -21
- package/dist-elements/tag/number-input.js +18 -17
- package/dist-elements/tag/page-header.js +15 -16
- package/dist-elements/tag/pagination.js +18 -20
- package/dist-elements/tag/person-group.d.ts +1 -0
- package/dist-elements/tag/person-group.js +36 -0
- package/dist-elements/tag/person.d.ts +1 -0
- package/dist-elements/tag/person.js +11 -0
- package/dist-elements/tag/popover.js +1 -1
- package/dist-elements/tag/progress-bar.js +1 -1
- package/dist-elements/tag/prose.js +1 -1
- package/dist-elements/tag/qr-code.js +5 -5
- package/dist-elements/tag/radio-group.js +31 -22
- package/dist-elements/tag/range.js +27 -31
- package/dist-elements/tag/recording-status.js +8 -8
- package/dist-elements/tag/repeater.js +4 -4
- package/dist-elements/tag/segmented.js +11 -11
- package/dist-elements/tag/select.js +6 -6
- package/dist-elements/tag/shell.js +229 -240
- package/dist-elements/tag/skeleton.js +1 -1
- package/dist-elements/tag/slot-picker.js +11 -11
- package/dist-elements/tag/sortable-list.js +8 -8
- package/dist-elements/tag/spinner.js +1 -1
- package/dist-elements/tag/split-pane.js +5 -5
- package/dist-elements/tag/status-dot.js +1 -1
- package/dist-elements/tag/stepper.js +12 -12
- package/dist-elements/tag/streaming-text.js +12 -12
- package/dist-elements/tag/sub-nav.js +20 -20
- package/dist-elements/tag/tabs.js +12 -13
- package/dist-elements/tag/tag-input.js +22 -22
- package/dist-elements/tag/text-editor.js +26 -25
- package/dist-elements/tag/text-input.js +52 -37
- package/dist-elements/tag/textarea.js +14 -14
- package/dist-elements/tag/tile.js +1 -1
- package/dist-elements/tag/time-input.js +14 -14
- package/dist-elements/tag/toast.js +8 -8
- package/dist-elements/tag/toggle.js +7 -7
- package/dist-elements/tag/toggletip.js +6 -7
- package/dist-elements/tag/token-value.js +1 -1
- package/dist-elements/tag/tooltip.js +1 -1
- package/dist-elements/tag/transcript.js +27 -27
- package/dist-elements/tag/translator.js +6 -6
- package/dist-elements/tag/tree-view.js +18 -18
- package/dist-elements/tag/user-menu.js +34 -22
- package/dist-elements/tag/video-player.js +17 -14
- package/dist-elements/tokens.css +54 -1
- package/dist-elements/tokens.json +704 -312
- package/dist-elements/types/bundle/chat.d.ts +2 -0
- package/dist-elements/types/bundle/content.d.ts +2 -0
- package/dist-elements/types/bundle/graph.d.ts +2 -0
- package/dist-elements/types/bundle/index.d.ts +1 -1
- package/dist-elements/types/bundle/layout.d.ts +1 -0
- package/dist-elements/types/bundle/tables.d.ts +2 -0
- package/dist-elements/types/components/actions/button/button.d.ts +1 -0
- package/dist-elements/types/components/actions/icon/icon.d.ts +2 -1
- package/dist-elements/types/components/actions/icon-button/icon-button.d.ts +0 -5
- package/dist-elements/types/components/actions/logo/logo.d.ts +7 -2
- package/dist-elements/types/components/charts/chart/chart.d.ts +3 -12
- package/dist-elements/types/components/chat/chat/chat.d.ts +11 -4
- package/dist-elements/types/components/chat/chat-answer/chat-answer.d.ts +6 -4
- package/dist-elements/types/components/chat/chat-composer/chat-composer.d.ts +62 -15
- package/dist-elements/types/components/chat/chat-message/chat-message.d.ts +6 -2
- package/dist-elements/types/components/chat/chat-questions/chat-questions.d.ts +106 -0
- package/dist-elements/types/components/chat/chat-steps/chat-steps.d.ts +53 -0
- package/dist-elements/types/components/chat/chat-suggestions/chat-suggestions.d.ts +4 -11
- package/dist-elements/types/components/content/attachment/attachment.d.ts +58 -0
- package/dist-elements/types/components/content/audio-player/audio-player.d.ts +2 -1
- package/dist-elements/types/components/content/document-viewer/document-viewer.d.ts +14 -1
- package/dist-elements/types/components/content/key/key.d.ts +21 -0
- package/dist-elements/types/components/content/log-viewer/log-viewer.d.ts +1 -0
- package/dist-elements/types/components/content/prose/prose.d.ts +4 -3
- package/dist-elements/types/components/content/shared/player.d.ts +2 -1
- package/dist-elements/types/components/content/transcript/transcript.d.ts +7 -0
- package/dist-elements/types/components/content/video-player/video-player.d.ts +12 -3
- package/dist-elements/types/components/feedback/empty-state/empty-state.d.ts +2 -2
- package/dist-elements/types/components/feedback/job-list/job-list.d.ts +9 -2
- package/dist-elements/types/components/feedback/status-dot/status-dot.d.ts +13 -2
- package/dist-elements/types/components/filters/filter-bar/filter-bar.d.ts +3 -0
- package/dist-elements/types/components/filters/filter-sheet/filter-sheet.d.ts +2 -7
- package/dist-elements/types/components/filters/filter-zone/filter-zone.d.ts +0 -2
- package/dist-elements/types/components/forms/error-summary/error-summary.d.ts +5 -1
- package/dist-elements/types/components/forms/form/form.d.ts +10 -3
- package/dist-elements/types/components/forms/form-actions/form-actions.d.ts +9 -3
- package/dist-elements/types/components/frame/app-search/app-search.d.ts +1 -2
- package/dist-elements/types/components/frame/page-header/page-header.d.ts +1 -1
- package/dist-elements/types/components/frame/shell/header.d.ts +6 -8
- package/dist-elements/types/components/frame/shell/navigation.d.ts +0 -7
- package/dist-elements/types/components/frame/shell/shell.d.ts +7 -6
- package/dist-elements/types/components/frame/shell/top-bar.d.ts +5 -2
- package/dist-elements/types/components/frame/user-menu/user-menu.d.ts +17 -4
- package/dist-elements/types/components/graph/graph/graph.d.ts +147 -0
- package/dist-elements/types/components/graph/graph/layout-runner.d.ts +13 -0
- package/dist-elements/types/components/graph/graph/layout-worker.d.ts +1 -0
- package/dist-elements/types/components/graph/graph/layout.d.ts +27 -0
- package/dist-elements/types/components/graph/graph/model.d.ts +81 -0
- package/dist-elements/types/components/graph/graph/routes.d.ts +62 -0
- package/dist-elements/types/components/graph/graph/view.d.ts +58 -0
- package/dist-elements/types/components/index.d.ts +22 -5
- package/dist-elements/types/components/inputs/checkbox-group/checkbox-group.d.ts +13 -7
- package/dist-elements/types/components/inputs/combobox/combobox.d.ts +0 -2
- package/dist-elements/types/components/inputs/date-input/date-input.d.ts +1 -1
- package/dist-elements/types/components/inputs/date-range/date-range.d.ts +17 -6
- package/dist-elements/types/components/inputs/file-upload/file-upload.d.ts +10 -33
- package/dist-elements/types/components/inputs/multiselect/multiselect.d.ts +1 -11
- package/dist-elements/types/components/inputs/number-input/number-input.d.ts +4 -2
- package/dist-elements/types/components/inputs/radio-group/radio-group.d.ts +16 -4
- package/dist-elements/types/components/inputs/range/range.d.ts +0 -1
- package/dist-elements/types/components/inputs/segmented/segmented.d.ts +0 -2
- package/dist-elements/types/components/inputs/shared/addon.d.ts +14 -0
- package/dist-elements/types/components/inputs/shared/input.d.ts +58 -1
- package/dist-elements/types/components/inputs/text-input/text-input.d.ts +15 -1
- package/dist-elements/types/components/inputs/textarea/textarea.d.ts +3 -2
- package/dist-elements/types/components/layout/accordion/accordion.d.ts +37 -0
- package/dist-elements/types/components/layout/expander/expander.d.ts +5 -1
- package/dist-elements/types/components/layout/split-pane/split-pane.d.ts +2 -0
- package/dist-elements/types/components/layout/tabs/tabs.d.ts +3 -4
- package/dist-elements/types/components/overlays/popover/popover.d.ts +9 -4
- package/dist-elements/types/components/overlays/toggletip/toggletip.d.ts +2 -4
- package/dist-elements/types/components/overlays/tooltip/tooltip.d.ts +1 -3
- package/dist-elements/types/components/shared/avatar.d.ts +21 -0
- package/dist-elements/types/components/shared/charts/bar-chart/bar-chart.d.ts +3 -2
- package/dist-elements/types/components/shared/charts/dumbbell-chart/dumbbell-chart.d.ts +33 -0
- package/dist-elements/types/components/shared/charts/index.d.ts +6 -2
- package/dist-elements/types/components/shared/charts/kinds.d.ts +22 -4
- package/dist-elements/types/components/shared/charts/line-chart/line-chart.d.ts +3 -2
- package/dist-elements/types/components/shared/charts/sankey-chart/sankey-chart.d.ts +124 -0
- package/dist-elements/types/components/shared/charts/shared/axes.d.ts +33 -6
- package/dist-elements/types/components/shared/charts/shared/chart-states.d.ts +1 -1
- package/dist-elements/types/components/shared/charts/shared/chart-styles.d.ts +2 -0
- package/dist-elements/types/components/shared/charts/shared/colors.d.ts +29 -4
- package/dist-elements/types/components/shared/charts/shared/controller.d.ts +23 -3
- package/dist-elements/types/components/shared/charts/shared/forecast.d.ts +21 -0
- package/dist-elements/types/components/shared/charts/shared/plot-keys.d.ts +5 -0
- package/dist-elements/types/components/shared/charts/shared/tints.d.ts +2 -0
- package/dist-elements/types/components/shared/charts/shared/types.d.ts +146 -0
- package/dist-elements/types/components/shared/charts/shared/wheel.d.ts +11 -0
- package/dist-elements/types/components/shared/charts/treemap-chart/squarify.d.ts +16 -0
- package/dist-elements/types/components/shared/charts/treemap-chart/treemap-chart.d.ts +18 -0
- package/dist-elements/types/components/shared/charts/treemap-chart/treemap-labels.d.ts +36 -0
- package/dist-elements/types/components/shared/charts/treemap-chart/treemap-parts.d.ts +64 -0
- package/dist-elements/types/components/shared/controls.d.ts +26 -0
- package/dist-elements/types/components/shared/cut-text.d.ts +6 -0
- package/dist-elements/types/components/shared/dialog.d.ts +8 -2
- package/dist-elements/types/components/shared/disclosure.d.ts +5 -3
- package/dist-elements/types/components/shared/download.d.ts +28 -2
- package/dist-elements/types/components/shared/empty-state-block.d.ts +1 -1
- package/dist-elements/types/components/shared/files.d.ts +67 -0
- package/dist-elements/types/components/shared/focus-trap.d.ts +2 -0
- package/dist-elements/types/components/shared/follow.d.ts +8 -0
- package/dist-elements/types/components/shared/heading.d.ts +4 -0
- package/dist-elements/types/components/shared/month-grid.d.ts +33 -0
- package/dist-elements/types/components/shared/other.d.ts +24 -0
- package/dist-elements/types/components/shared/overflow.d.ts +4 -3
- package/dist-elements/types/components/shared/place.d.ts +7 -2
- package/dist-elements/types/components/shared/search-text.d.ts +5 -0
- package/dist-elements/types/components/tables/activity-log/activity-log.d.ts +9 -2
- package/dist-elements/types/components/tables/card/card.d.ts +13 -2
- package/dist-elements/types/components/tables/data-table/actions.d.ts +1 -1
- package/dist-elements/types/components/tables/data-table/data-table.d.ts +15 -3
- package/dist-elements/types/components/tables/data-table/editing.d.ts +7 -2
- package/dist-elements/types/components/tables/data-table/filters.d.ts +2 -0
- package/dist-elements/types/components/tables/description-list/description-list.d.ts +4 -0
- package/dist-elements/types/components/tables/list/list.d.ts +11 -6
- package/dist-elements/types/components/tables/person/person.d.ts +35 -0
- package/dist-elements/types/components/tables/person-group/person-group.d.ts +42 -0
- package/dist-elements/types/core/format.d.ts +2 -2
- package/dist-elements/types/core/frame-state.d.ts +2 -0
- package/dist-elements/types/core/id.d.ts +2 -0
- package/dist-elements/types/icons/register.d.ts +1 -1
- package/dist-elements/types/icons/render.d.ts +1 -1
- package/dist-elements/types/types.d.ts +221 -19
- package/dist-elements/workers/layout-worker.js +3 -0
- package/dist-icons/functioneel-link.svg +1 -0
- package/dist-icons/functioneel-ondertiteling.svg +1 -0
- package/package.json +8 -1
- package/dist-elements/chunks/base-DuuwEY22.js +0 -224
- package/dist-elements/chunks/chart-styles-zJy-DGvZ.js +0 -44
- package/dist-elements/chunks/controls-IwMNNdZt.js +0 -1
- package/dist-elements/chunks/dialog-CuB90unp.js +0 -1
- package/dist-elements/chunks/dialog-close-CIwpGpo7.js +0 -1
- package/dist-elements/chunks/disclosure-DHZz0V4I.js +0 -22
- package/dist-elements/chunks/disclosure-DjLQzn9n.js +0 -1
- package/dist-elements/chunks/download-D1wbtARJ.js +0 -13
- package/dist-elements/chunks/focus-trap-qYvMiFZF.js +0 -1
- package/dist-elements/chunks/frame-resize-observer-BGZg6VbV.js +0 -1
- package/dist-elements/chunks/input-CTxDOlLs.js +0 -1
- package/dist-elements/chunks/input-fzGBdp-5.js +0 -8
- package/dist-elements/chunks/sentence-DCIShaRE.js +0 -3
- package/dist-elements/chunks/stagger-nGiD5JgJ.js +0 -133
|
@@ -654,16 +654,6 @@
|
|
|
654
654
|
"attribute": "disabled",
|
|
655
655
|
"reflects": true
|
|
656
656
|
},
|
|
657
|
-
{
|
|
658
|
-
"kind": "field",
|
|
659
|
-
"name": "size",
|
|
660
|
-
"type": {
|
|
661
|
-
"text": "28 | 32 | 36 | 40 | 44"
|
|
662
|
-
},
|
|
663
|
-
"default": "32",
|
|
664
|
-
"description": "Accepted for hosts that set it; the box is always `--h-icon-button`.",
|
|
665
|
-
"attribute": "size"
|
|
666
|
-
},
|
|
667
657
|
{
|
|
668
658
|
"kind": "field",
|
|
669
659
|
"name": "pressed",
|
|
@@ -750,15 +740,6 @@
|
|
|
750
740
|
},
|
|
751
741
|
"default": "false"
|
|
752
742
|
},
|
|
753
|
-
{
|
|
754
|
-
"name": "size",
|
|
755
|
-
"fieldName": "size",
|
|
756
|
-
"type": {
|
|
757
|
-
"text": "28 | 32 | 36 | 40 | 44"
|
|
758
|
-
},
|
|
759
|
-
"default": "32",
|
|
760
|
-
"description": "Accepted for hosts that set it; the box is always `--h-icon-button`."
|
|
761
|
-
},
|
|
762
743
|
{
|
|
763
744
|
"name": "pressed",
|
|
764
745
|
"fieldName": "pressed",
|
|
@@ -816,7 +797,7 @@
|
|
|
816
797
|
"name": "LintjeIcon",
|
|
817
798
|
"tagName": "lintje-icon",
|
|
818
799
|
"customElement": true,
|
|
819
|
-
"description": "`<lintje-icon>` — one icon, named by its file in `dist-icons/` (without `.svg`).\n\nFor plain HTML pages; inside a component use `renderIcon()`, which this element also draws\nthrough. It takes `src`, else the register, else a loaded file
|
|
800
|
+
"description": "`<lintje-icon>` — one icon, named by its file in `dist-icons/` (without `.svg`).\n\nFor plain HTML pages; inside a component use `renderIcon()`, which this element also draws\nthrough. It takes `src`, else the register, else a loaded file. Without any it draws nothing\nyou see: with a `label` that label stays, as hidden text, so a screen reader still hears it.",
|
|
820
801
|
"superclass": {
|
|
821
802
|
"name": "LintjeElement"
|
|
822
803
|
},
|
|
@@ -955,7 +936,7 @@
|
|
|
955
936
|
"name": "LintjeLogo",
|
|
956
937
|
"tagName": "lintje-logo",
|
|
957
938
|
"customElement": true,
|
|
958
|
-
"description": "`<lintje-logo>` — the theme's emblem: the ribbon, with the organisation's name as text.\n\nEvery emblem file stands on `viewBox=\"0 0 346 75\"` with the 38 × 75 ribbon at x 154…192;\nthe element changes only how much of it is in frame, so the ribbon never moves. A file on any\nother viewBox is drawn whole. The name is text (`aria-hidden
|
|
939
|
+
"description": "`<lintje-logo>` — the theme's emblem: the ribbon, with the organisation's name as text.\n\nEvery emblem file stands on `viewBox=\"0 0 346 75\"` with the 38 × 75 ribbon at x 154…192;\nthe element changes only how much of it is in frame, so the ribbon never moves. A file on any\nother viewBox is drawn whole. The name is text (`aria-hidden`); the drawing carries `alt`, and\nthe byline after a comma wherever the byline is drawn.",
|
|
959
940
|
"superclass": {
|
|
960
941
|
"name": "LintjeElement"
|
|
961
942
|
},
|
|
@@ -978,7 +959,7 @@
|
|
|
978
959
|
"text": "number"
|
|
979
960
|
},
|
|
980
961
|
"default": "44",
|
|
981
|
-
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio.",
|
|
962
|
+
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio. A surrounding element\nthat sets `--lintje-logo-ribbon` (a CSS length) wins over it, as the logo bar does with\n`--w-ribbon`.",
|
|
982
963
|
"attribute": "width"
|
|
983
964
|
},
|
|
984
965
|
{
|
|
@@ -1055,7 +1036,7 @@
|
|
|
1055
1036
|
"text": "number"
|
|
1056
1037
|
},
|
|
1057
1038
|
"default": "44",
|
|
1058
|
-
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio."
|
|
1039
|
+
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio. A surrounding element\nthat sets `--lintje-logo-ribbon` (a CSS length) wins over it, as the logo bar does with\n`--w-ribbon`."
|
|
1059
1040
|
},
|
|
1060
1041
|
{
|
|
1061
1042
|
"name": "src",
|
|
@@ -1540,7 +1521,7 @@
|
|
|
1540
1521
|
"name": "LintjeChart",
|
|
1541
1522
|
"tagName": "lintje-chart",
|
|
1542
1523
|
"customElement": true,
|
|
1543
|
-
"description": "`<lintje-chart>` — a chart in its tile, with loading, empty and error states.\n\nExpand and download are handled here.
|
|
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 }`).",
|
|
1544
1525
|
"superclass": {
|
|
1545
1526
|
"name": "LintjeContentTileElement"
|
|
1546
1527
|
},
|
|
@@ -1612,8 +1593,6 @@
|
|
|
1612
1593
|
"slots": [],
|
|
1613
1594
|
"draws": [
|
|
1614
1595
|
"lintje-announcement",
|
|
1615
|
-
"lintje-data-table",
|
|
1616
|
-
"lintje-segmented",
|
|
1617
1596
|
"lintje-tile"
|
|
1618
1597
|
]
|
|
1619
1598
|
}
|
|
@@ -2293,24 +2272,24 @@
|
|
|
2293
2272
|
"type": {
|
|
2294
2273
|
"text": "string"
|
|
2295
2274
|
},
|
|
2296
|
-
"description": "`streaming`: the step that is running.",
|
|
2275
|
+
"description": "`streaming`: the step that is running; not drawn when `steps` has one.",
|
|
2297
2276
|
"attribute": "status"
|
|
2298
2277
|
},
|
|
2299
2278
|
{
|
|
2300
2279
|
"kind": "field",
|
|
2301
|
-
"name": "
|
|
2280
|
+
"name": "steps",
|
|
2302
2281
|
"type": {
|
|
2303
|
-
"text": "
|
|
2282
|
+
"text": "ChatStepsData"
|
|
2304
2283
|
},
|
|
2305
|
-
"description": "
|
|
2284
|
+
"description": "What the assistant did, above the text in every state; its running step is the status."
|
|
2306
2285
|
},
|
|
2307
2286
|
{
|
|
2308
2287
|
"kind": "field",
|
|
2309
|
-
"name": "
|
|
2288
|
+
"name": "error",
|
|
2310
2289
|
"type": {
|
|
2311
|
-
"text": "
|
|
2290
|
+
"text": "{ title?: string; text: string }"
|
|
2312
2291
|
},
|
|
2313
|
-
"description": "
|
|
2292
|
+
"description": "`error`: what went wrong, and the way out in words."
|
|
2314
2293
|
},
|
|
2315
2294
|
{
|
|
2316
2295
|
"kind": "field",
|
|
@@ -2379,7 +2358,7 @@
|
|
|
2379
2358
|
"type": {
|
|
2380
2359
|
"text": "string"
|
|
2381
2360
|
},
|
|
2382
|
-
"description": "`streaming`: the step that is running."
|
|
2361
|
+
"description": "`streaming`: the step that is running; not drawn when `steps` has one."
|
|
2383
2362
|
},
|
|
2384
2363
|
{
|
|
2385
2364
|
"name": "current",
|
|
@@ -2416,8 +2395,10 @@
|
|
|
2416
2395
|
"slots": [],
|
|
2417
2396
|
"draws": [
|
|
2418
2397
|
"lintje-announcement",
|
|
2398
|
+
"lintje-attachment",
|
|
2419
2399
|
"lintje-button",
|
|
2420
2400
|
"lintje-chart",
|
|
2401
|
+
"lintje-chat-steps",
|
|
2421
2402
|
"lintje-chat-strip",
|
|
2422
2403
|
"lintje-chat-suggestions",
|
|
2423
2404
|
"lintje-data-table",
|
|
@@ -2448,7 +2429,7 @@
|
|
|
2448
2429
|
"name": "LintjeChatComposer",
|
|
2449
2430
|
"tagName": "lintje-chat-composer",
|
|
2450
2431
|
"customElement": true,
|
|
2451
|
-
"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 }
|
|
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`.",
|
|
2452
2433
|
"superclass": {
|
|
2453
2434
|
"name": "LintjeElement"
|
|
2454
2435
|
},
|
|
@@ -2491,7 +2472,8 @@
|
|
|
2491
2472
|
"type": {
|
|
2492
2473
|
"text": "string"
|
|
2493
2474
|
},
|
|
2494
|
-
"default": "
|
|
2475
|
+
"default": "PLACEHOLDER",
|
|
2476
|
+
"description": "Left out or emptied, \"Stel een vraag over de gegevens\".",
|
|
2495
2477
|
"attribute": "placeholder"
|
|
2496
2478
|
},
|
|
2497
2479
|
{
|
|
@@ -2577,9 +2559,75 @@
|
|
|
2577
2559
|
"description": "Whether the browser keeps the field to plain text by itself.",
|
|
2578
2560
|
"attribute": "plain",
|
|
2579
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"
|
|
2580
2619
|
}
|
|
2581
2620
|
],
|
|
2582
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
|
+
},
|
|
2583
2631
|
{
|
|
2584
2632
|
"kind": "method",
|
|
2585
2633
|
"name": "openSources",
|
|
@@ -2622,7 +2670,8 @@
|
|
|
2622
2670
|
"type": {
|
|
2623
2671
|
"text": "string"
|
|
2624
2672
|
},
|
|
2625
|
-
"default": "
|
|
2673
|
+
"default": "PLACEHOLDER",
|
|
2674
|
+
"description": "Left out or emptied, \"Stel een vraag over de gegevens\"."
|
|
2626
2675
|
},
|
|
2627
2676
|
{
|
|
2628
2677
|
"name": "busy",
|
|
@@ -2674,6 +2723,49 @@
|
|
|
2674
2723
|
},
|
|
2675
2724
|
"default": "true",
|
|
2676
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."
|
|
2677
2769
|
}
|
|
2678
2770
|
],
|
|
2679
2771
|
"events": [
|
|
@@ -2690,16 +2782,36 @@
|
|
|
2690
2782
|
},
|
|
2691
2783
|
"description": "Not composed: it stops at the shadow root."
|
|
2692
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
|
+
},
|
|
2693
2799
|
{
|
|
2694
2800
|
"name": "lintje-draft-change",
|
|
2695
2801
|
"type": {
|
|
2696
2802
|
"text": "CustomEvent<{ text }>"
|
|
2697
2803
|
}
|
|
2698
2804
|
},
|
|
2805
|
+
{
|
|
2806
|
+
"name": "lintje-files-add",
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "CustomEvent<passed>"
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2699
2811
|
{
|
|
2700
2812
|
"name": "lintje-message-send",
|
|
2701
2813
|
"type": {
|
|
2702
|
-
"text": "CustomEvent<{ text, terms, sources, form }>"
|
|
2814
|
+
"text": "CustomEvent<{ text, terms, sources, form, attachments }>"
|
|
2703
2815
|
}
|
|
2704
2816
|
},
|
|
2705
2817
|
{
|
|
@@ -2718,6 +2830,7 @@
|
|
|
2718
2830
|
],
|
|
2719
2831
|
"slots": [],
|
|
2720
2832
|
"draws": [
|
|
2833
|
+
"lintje-attachment",
|
|
2721
2834
|
"lintje-button",
|
|
2722
2835
|
"lintje-icon-button",
|
|
2723
2836
|
"lintje-multiselect",
|
|
@@ -2745,7 +2858,7 @@
|
|
|
2745
2858
|
"name": "LintjeChatMessage",
|
|
2746
2859
|
"tagName": "lintje-chat-message",
|
|
2747
2860
|
"customElement": true,
|
|
2748
|
-
"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).",
|
|
2749
2862
|
"superclass": {
|
|
2750
2863
|
"name": "LintjeElement"
|
|
2751
2864
|
},
|
|
@@ -2777,6 +2890,14 @@
|
|
|
2777
2890
|
"text": "ChatTermRange[]"
|
|
2778
2891
|
}
|
|
2779
2892
|
},
|
|
2893
|
+
{
|
|
2894
|
+
"kind": "field",
|
|
2895
|
+
"name": "attachments",
|
|
2896
|
+
"type": {
|
|
2897
|
+
"text": "UploadFile[]"
|
|
2898
|
+
},
|
|
2899
|
+
"description": "What was sent along with the question."
|
|
2900
|
+
},
|
|
2780
2901
|
{
|
|
2781
2902
|
"kind": "field",
|
|
2782
2903
|
"name": "time",
|
|
@@ -2896,6 +3017,7 @@
|
|
|
2896
3017
|
],
|
|
2897
3018
|
"slots": [],
|
|
2898
3019
|
"draws": [
|
|
3020
|
+
"lintje-attachment",
|
|
2899
3021
|
"lintje-chat-composer",
|
|
2900
3022
|
"lintje-icon-button"
|
|
2901
3023
|
]
|
|
@@ -2912,6 +3034,209 @@
|
|
|
2912
3034
|
}
|
|
2913
3035
|
]
|
|
2914
3036
|
},
|
|
3037
|
+
{
|
|
3038
|
+
"kind": "javascript-module",
|
|
3039
|
+
"path": "src/components/chat/chat-questions/chat-questions.ts",
|
|
3040
|
+
"declarations": [
|
|
3041
|
+
{
|
|
3042
|
+
"kind": "class",
|
|
3043
|
+
"name": "LintjeChatQuestions",
|
|
3044
|
+
"tagName": "lintje-chat-questions",
|
|
3045
|
+
"customElement": true,
|
|
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).",
|
|
3047
|
+
"superclass": {
|
|
3048
|
+
"name": "LintjeElement"
|
|
3049
|
+
},
|
|
3050
|
+
"members": [
|
|
3051
|
+
{
|
|
3052
|
+
"kind": "field",
|
|
3053
|
+
"name": "mode",
|
|
3054
|
+
"type": {
|
|
3055
|
+
"text": "'light' | 'dark'"
|
|
3056
|
+
},
|
|
3057
|
+
"attribute": "mode",
|
|
3058
|
+
"inheritedFrom": {
|
|
3059
|
+
"name": "LintjeElement"
|
|
3060
|
+
}
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"kind": "field",
|
|
3064
|
+
"name": "data",
|
|
3065
|
+
"type": {
|
|
3066
|
+
"text": "ChatQuestionsData | null"
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"kind": "field",
|
|
3071
|
+
"name": "turnId",
|
|
3072
|
+
"type": {
|
|
3073
|
+
"text": "string"
|
|
3074
|
+
},
|
|
3075
|
+
"description": "The turn whose answer asks; it comes back in the event.",
|
|
3076
|
+
"attribute": "turn-id"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
"methods": [
|
|
3080
|
+
{
|
|
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
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
],
|
|
3090
|
+
"attributes": [
|
|
3091
|
+
{
|
|
3092
|
+
"name": "mode",
|
|
3093
|
+
"fieldName": "mode",
|
|
3094
|
+
"type": {
|
|
3095
|
+
"text": "'light' | 'dark'"
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"name": "turn-id",
|
|
3100
|
+
"fieldName": "turnId",
|
|
3101
|
+
"type": {
|
|
3102
|
+
"text": "string"
|
|
3103
|
+
},
|
|
3104
|
+
"description": "The turn whose answer asks; it comes back in the event."
|
|
3105
|
+
}
|
|
3106
|
+
],
|
|
3107
|
+
"events": [
|
|
3108
|
+
{
|
|
3109
|
+
"name": "lintje-questions-answer",
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "CustomEvent<{ turnId, answers, text }>"
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
],
|
|
3115
|
+
"slots": [],
|
|
3116
|
+
"draws": [
|
|
3117
|
+
"lintje-button",
|
|
3118
|
+
"lintje-checkbox-group",
|
|
3119
|
+
"lintje-progress-bar",
|
|
3120
|
+
"lintje-radio-group",
|
|
3121
|
+
"lintje-textarea"
|
|
3122
|
+
]
|
|
3123
|
+
}
|
|
3124
|
+
],
|
|
3125
|
+
"exports": [
|
|
3126
|
+
{
|
|
3127
|
+
"kind": "custom-element-definition",
|
|
3128
|
+
"name": "lintje-chat-questions",
|
|
3129
|
+
"declaration": {
|
|
3130
|
+
"name": "LintjeChatQuestions",
|
|
3131
|
+
"module": "src/components/chat/chat-questions/chat-questions.ts"
|
|
3132
|
+
}
|
|
3133
|
+
}
|
|
3134
|
+
]
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"kind": "javascript-module",
|
|
3138
|
+
"path": "src/components/chat/chat-steps/chat-steps.ts",
|
|
3139
|
+
"declarations": [
|
|
3140
|
+
{
|
|
3141
|
+
"kind": "class",
|
|
3142
|
+
"name": "LintjeChatSteps",
|
|
3143
|
+
"tagName": "lintje-chat-steps",
|
|
3144
|
+
"customElement": true,
|
|
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).",
|
|
3146
|
+
"superclass": {
|
|
3147
|
+
"name": "LintjeElement"
|
|
3148
|
+
},
|
|
3149
|
+
"members": [
|
|
3150
|
+
{
|
|
3151
|
+
"kind": "field",
|
|
3152
|
+
"name": "mode",
|
|
3153
|
+
"type": {
|
|
3154
|
+
"text": "'light' | 'dark'"
|
|
3155
|
+
},
|
|
3156
|
+
"attribute": "mode",
|
|
3157
|
+
"inheritedFrom": {
|
|
3158
|
+
"name": "LintjeElement"
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"kind": "field",
|
|
3163
|
+
"name": "items",
|
|
3164
|
+
"type": {
|
|
3165
|
+
"text": "ChatStep[]"
|
|
3166
|
+
},
|
|
3167
|
+
"default": "[]"
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "field",
|
|
3171
|
+
"name": "duration",
|
|
3172
|
+
"type": {
|
|
3173
|
+
"text": "string"
|
|
3174
|
+
},
|
|
3175
|
+
"description": "How long it took, as the host formats it (\"12 s\"); not drawn while a step runs.",
|
|
3176
|
+
"attribute": "duration"
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"kind": "field",
|
|
3180
|
+
"name": "open",
|
|
3181
|
+
"type": {
|
|
3182
|
+
"text": "boolean"
|
|
3183
|
+
},
|
|
3184
|
+
"default": "false",
|
|
3185
|
+
"attribute": "open",
|
|
3186
|
+
"reflects": true
|
|
3187
|
+
}
|
|
3188
|
+
],
|
|
3189
|
+
"methods": [],
|
|
3190
|
+
"attributes": [
|
|
3191
|
+
{
|
|
3192
|
+
"name": "mode",
|
|
3193
|
+
"fieldName": "mode",
|
|
3194
|
+
"type": {
|
|
3195
|
+
"text": "'light' | 'dark'"
|
|
3196
|
+
}
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"name": "duration",
|
|
3200
|
+
"fieldName": "duration",
|
|
3201
|
+
"type": {
|
|
3202
|
+
"text": "string"
|
|
3203
|
+
},
|
|
3204
|
+
"description": "How long it took, as the host formats it (\"12 s\"); not drawn while a step runs."
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
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
|
+
},
|
|
2915
3240
|
{
|
|
2916
3241
|
"kind": "javascript-module",
|
|
2917
3242
|
"path": "src/components/chat/chat-strip/chat-strip.ts",
|
|
@@ -3066,7 +3391,7 @@
|
|
|
3066
3391
|
"name": "LintjeChatSuggestions",
|
|
3067
3392
|
"tagName": "lintje-chat-suggestions",
|
|
3068
3393
|
"customElement": true,
|
|
3069
|
-
"description": "`<lintje-chat-suggestions>` — sentences the reader can send with one press, on the reader's side
|
|
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).",
|
|
3070
3395
|
"superclass": {
|
|
3071
3396
|
"name": "LintjeElement"
|
|
3072
3397
|
},
|
|
@@ -3091,26 +3416,6 @@
|
|
|
3091
3416
|
"description": "The caps line above the sentences: \"Jij, als vervolgvraag\".",
|
|
3092
3417
|
"attribute": "label"
|
|
3093
3418
|
},
|
|
3094
|
-
{
|
|
3095
|
-
"kind": "field",
|
|
3096
|
-
"name": "hint",
|
|
3097
|
-
"type": {
|
|
3098
|
-
"text": "string"
|
|
3099
|
-
},
|
|
3100
|
-
"description": "The gray line under a set of choices.",
|
|
3101
|
-
"attribute": "hint"
|
|
3102
|
-
},
|
|
3103
|
-
{
|
|
3104
|
-
"kind": "field",
|
|
3105
|
-
"name": "kind",
|
|
3106
|
-
"type": {
|
|
3107
|
-
"text": "'suggestion' | 'choice'"
|
|
3108
|
-
},
|
|
3109
|
-
"default": "'suggestion'",
|
|
3110
|
-
"description": "A rule, not decoration: `suggestion` (dashed) is something the reader could ask, `choice`\n(solid) an answer the assistant is waiting for.",
|
|
3111
|
-
"attribute": "kind",
|
|
3112
|
-
"reflects": true
|
|
3113
|
-
},
|
|
3114
3419
|
{
|
|
3115
3420
|
"kind": "field",
|
|
3116
3421
|
"name": "align",
|
|
@@ -3156,23 +3461,6 @@
|
|
|
3156
3461
|
},
|
|
3157
3462
|
"description": "The caps line above the sentences: \"Jij, als vervolgvraag\"."
|
|
3158
3463
|
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "hint",
|
|
3161
|
-
"fieldName": "hint",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "string"
|
|
3164
|
-
},
|
|
3165
|
-
"description": "The gray line under a set of choices."
|
|
3166
|
-
},
|
|
3167
|
-
{
|
|
3168
|
-
"name": "kind",
|
|
3169
|
-
"fieldName": "kind",
|
|
3170
|
-
"type": {
|
|
3171
|
-
"text": "'suggestion' | 'choice'"
|
|
3172
|
-
},
|
|
3173
|
-
"default": "'suggestion'",
|
|
3174
|
-
"description": "A rule, not decoration: `suggestion` (dashed) is something the reader could ask, `choice`\n(solid) an answer the assistant is waiting for."
|
|
3175
|
-
},
|
|
3176
3464
|
{
|
|
3177
3465
|
"name": "align",
|
|
3178
3466
|
"fieldName": "align",
|
|
@@ -3195,7 +3483,7 @@
|
|
|
3195
3483
|
{
|
|
3196
3484
|
"name": "lintje-suggestion-select",
|
|
3197
3485
|
"type": {
|
|
3198
|
-
"text": "CustomEvent<{ turnId,
|
|
3486
|
+
"text": "CustomEvent<{ turnId, label, value }>"
|
|
3199
3487
|
}
|
|
3200
3488
|
}
|
|
3201
3489
|
],
|
|
@@ -3223,58 +3511,231 @@
|
|
|
3223
3511
|
"name": "LintjeChat",
|
|
3224
3512
|
"tagName": "lintje-chat",
|
|
3225
3513
|
"customElement": true,
|
|
3226
|
-
"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.",
|
|
3227
3515
|
"superclass": {
|
|
3228
3516
|
"name": "LintjeElement"
|
|
3229
3517
|
},
|
|
3230
3518
|
"members": [
|
|
3231
3519
|
{
|
|
3232
|
-
"kind": "field",
|
|
3233
|
-
"name": "mode",
|
|
3520
|
+
"kind": "field",
|
|
3521
|
+
"name": "mode",
|
|
3522
|
+
"type": {
|
|
3523
|
+
"text": "'light' | 'dark'"
|
|
3524
|
+
},
|
|
3525
|
+
"attribute": "mode",
|
|
3526
|
+
"inheritedFrom": {
|
|
3527
|
+
"name": "LintjeElement"
|
|
3528
|
+
}
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"kind": "field",
|
|
3532
|
+
"name": "data",
|
|
3533
|
+
"type": {
|
|
3534
|
+
"text": "ChatData | null"
|
|
3535
|
+
}
|
|
3536
|
+
}
|
|
3537
|
+
],
|
|
3538
|
+
"methods": [],
|
|
3539
|
+
"attributes": [
|
|
3540
|
+
{
|
|
3541
|
+
"name": "mode",
|
|
3542
|
+
"fieldName": "mode",
|
|
3543
|
+
"type": {
|
|
3544
|
+
"text": "'light' | 'dark'"
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
],
|
|
3548
|
+
"events": [],
|
|
3549
|
+
"slots": [],
|
|
3550
|
+
"draws": [
|
|
3551
|
+
"lintje-button",
|
|
3552
|
+
"lintje-chat-answer",
|
|
3553
|
+
"lintje-chat-composer",
|
|
3554
|
+
"lintje-chat-message",
|
|
3555
|
+
"lintje-chat-questions",
|
|
3556
|
+
"lintje-chat-suggestions"
|
|
3557
|
+
]
|
|
3558
|
+
}
|
|
3559
|
+
],
|
|
3560
|
+
"exports": [
|
|
3561
|
+
{
|
|
3562
|
+
"kind": "custom-element-definition",
|
|
3563
|
+
"name": "lintje-chat",
|
|
3564
|
+
"declaration": {
|
|
3565
|
+
"name": "LintjeChat",
|
|
3566
|
+
"module": "src/components/chat/chat/chat.ts"
|
|
3567
|
+
}
|
|
3568
|
+
}
|
|
3569
|
+
]
|
|
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",
|
|
3234
3705
|
"type": {
|
|
3235
|
-
"text": "
|
|
3236
|
-
},
|
|
3237
|
-
"attribute": "mode",
|
|
3238
|
-
"inheritedFrom": {
|
|
3239
|
-
"name": "LintjeElement"
|
|
3706
|
+
"text": "CustomEvent"
|
|
3240
3707
|
}
|
|
3241
3708
|
},
|
|
3242
3709
|
{
|
|
3243
|
-
"
|
|
3244
|
-
"name": "data",
|
|
3710
|
+
"name": "lintje-file-remove",
|
|
3245
3711
|
"type": {
|
|
3246
|
-
"text": "
|
|
3712
|
+
"text": "CustomEvent"
|
|
3247
3713
|
}
|
|
3248
|
-
}
|
|
3249
|
-
],
|
|
3250
|
-
"methods": [],
|
|
3251
|
-
"attributes": [
|
|
3714
|
+
},
|
|
3252
3715
|
{
|
|
3253
|
-
"name": "
|
|
3254
|
-
"fieldName": "mode",
|
|
3716
|
+
"name": "lintje-file-retry",
|
|
3255
3717
|
"type": {
|
|
3256
|
-
"text": "
|
|
3718
|
+
"text": "CustomEvent"
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"name": "lintje-navigate",
|
|
3723
|
+
"type": {
|
|
3724
|
+
"text": "CustomEvent<{ href }>"
|
|
3257
3725
|
}
|
|
3258
3726
|
}
|
|
3259
3727
|
],
|
|
3260
|
-
"events": [],
|
|
3261
3728
|
"slots": [],
|
|
3262
|
-
"draws": [
|
|
3263
|
-
"lintje-button",
|
|
3264
|
-
"lintje-chat-answer",
|
|
3265
|
-
"lintje-chat-composer",
|
|
3266
|
-
"lintje-chat-message",
|
|
3267
|
-
"lintje-chat-suggestions"
|
|
3268
|
-
]
|
|
3729
|
+
"draws": []
|
|
3269
3730
|
}
|
|
3270
3731
|
],
|
|
3271
3732
|
"exports": [
|
|
3272
3733
|
{
|
|
3273
3734
|
"kind": "custom-element-definition",
|
|
3274
|
-
"name": "lintje-
|
|
3735
|
+
"name": "lintje-attachment",
|
|
3275
3736
|
"declaration": {
|
|
3276
|
-
"name": "
|
|
3277
|
-
"module": "src/components/
|
|
3737
|
+
"name": "LintjeAttachment",
|
|
3738
|
+
"module": "src/components/content/attachment/attachment.ts"
|
|
3278
3739
|
}
|
|
3279
3740
|
}
|
|
3280
3741
|
]
|
|
@@ -3288,7 +3749,7 @@
|
|
|
3288
3749
|
"name": "LintjeAudioPlayer",
|
|
3289
3750
|
"tagName": "lintje-audio-player",
|
|
3290
3751
|
"customElement": true,
|
|
3291
|
-
"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).",
|
|
3292
3753
|
"superclass": {
|
|
3293
3754
|
"name": "LintjePlayerElement"
|
|
3294
3755
|
},
|
|
@@ -3487,6 +3948,12 @@
|
|
|
3487
3948
|
"text": "CustomEvent"
|
|
3488
3949
|
}
|
|
3489
3950
|
},
|
|
3951
|
+
{
|
|
3952
|
+
"name": "lintje-retry",
|
|
3953
|
+
"type": {
|
|
3954
|
+
"text": "CustomEvent"
|
|
3955
|
+
}
|
|
3956
|
+
},
|
|
3490
3957
|
{
|
|
3491
3958
|
"name": "lintje-seek",
|
|
3492
3959
|
"type": {
|
|
@@ -3688,7 +4155,7 @@
|
|
|
3688
4155
|
"name": "LintjeDocumentViewer",
|
|
3689
4156
|
"tagName": "lintje-document-viewer",
|
|
3690
4157
|
"customElement": true,
|
|
3691
|
-
"description": "`<lintje-document-viewer>` — a document page by page: leaf, zoom and download.\n\nIt shows images only: the host renders a PDF to page images, and gives each page's text in\n`texts`, which a screen reader reads after the page. The file behind \"Downloaden\" is the\naccessible version: a tagged PDF, not a scan. Page and zoom are the element's; every change is\nreported.\n\nEvents: `lintje-page-change` `number` (the page, from 1), `lintje-zoom-change`\n`number | 'fit'` (a percentage), `lintje-download`.",
|
|
4158
|
+
"description": "`<lintje-document-viewer>` — a document page by page: leaf, zoom and download.\n\nIt shows images only: the host renders a PDF to page images, and gives each page's text in\n`texts`, which a screen reader reads after the page. The file behind \"Downloaden\" is the\naccessible version: a tagged PDF, not a scan. Page and zoom are the element's; every change is\nreported. The toolbar is one Tab stop: the arrows move along its buttons, while Home and End\nstay the first and the last page, as PageUp, PageDown, + and − stay the page and the zoom.\n\nEvents: `lintje-page-change` `number` (the page, from 1), `lintje-zoom-change`\n`number | 'fit'` (a percentage), `lintje-download`.",
|
|
3692
4159
|
"superclass": {
|
|
3693
4160
|
"name": "LintjeElement"
|
|
3694
4161
|
},
|
|
@@ -4084,6 +4551,79 @@
|
|
|
4084
4551
|
}
|
|
4085
4552
|
]
|
|
4086
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
|
+
}
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"kind": "field",
|
|
4581
|
+
"name": "key",
|
|
4582
|
+
"type": {
|
|
4583
|
+
"text": "string"
|
|
4584
|
+
},
|
|
4585
|
+
"description": "The key's text, for a host that sets it rather than writing it inside; the content wins.",
|
|
4586
|
+
"attribute": "key"
|
|
4587
|
+
}
|
|
4588
|
+
],
|
|
4589
|
+
"methods": [],
|
|
4590
|
+
"attributes": [
|
|
4591
|
+
{
|
|
4592
|
+
"name": "mode",
|
|
4593
|
+
"fieldName": "mode",
|
|
4594
|
+
"type": {
|
|
4595
|
+
"text": "'light' | 'dark'"
|
|
4596
|
+
}
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
"name": "key",
|
|
4600
|
+
"fieldName": "key",
|
|
4601
|
+
"type": {
|
|
4602
|
+
"text": "string"
|
|
4603
|
+
},
|
|
4604
|
+
"description": "The key's text, for a host that sets it rather than writing it inside; the content wins."
|
|
4605
|
+
}
|
|
4606
|
+
],
|
|
4607
|
+
"events": [],
|
|
4608
|
+
"slots": [
|
|
4609
|
+
{
|
|
4610
|
+
"name": ""
|
|
4611
|
+
}
|
|
4612
|
+
],
|
|
4613
|
+
"draws": []
|
|
4614
|
+
}
|
|
4615
|
+
],
|
|
4616
|
+
"exports": [
|
|
4617
|
+
{
|
|
4618
|
+
"kind": "custom-element-definition",
|
|
4619
|
+
"name": "lintje-key",
|
|
4620
|
+
"declaration": {
|
|
4621
|
+
"name": "LintjeKey",
|
|
4622
|
+
"module": "src/components/content/key/key.ts"
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
]
|
|
4626
|
+
},
|
|
4087
4627
|
{
|
|
4088
4628
|
"kind": "javascript-module",
|
|
4089
4629
|
"path": "src/components/content/log-viewer/log-viewer.ts",
|
|
@@ -4211,7 +4751,7 @@
|
|
|
4211
4751
|
"name": "LintjeProse",
|
|
4212
4752
|
"tagName": "lintje-prose",
|
|
4213
4753
|
"customElement": true,
|
|
4214
|
-
"description": "`<lintje-prose>` — a block of text on the type scale: `html`, else `text`, else the slot.\n\
|
|
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.",
|
|
4215
4755
|
"superclass": {
|
|
4216
4756
|
"name": "LintjeGridItemElement"
|
|
4217
4757
|
},
|
|
@@ -4246,7 +4786,7 @@
|
|
|
4246
4786
|
"type": {
|
|
4247
4787
|
"text": "string"
|
|
4248
4788
|
},
|
|
4249
|
-
"description": "
|
|
4789
|
+
"description": "Formatted content: server-rendered, server-sanitised HTML. A property only."
|
|
4250
4790
|
},
|
|
4251
4791
|
{
|
|
4252
4792
|
"kind": "field",
|
|
@@ -4951,7 +5491,7 @@
|
|
|
4951
5491
|
"name": "LintjeVideoPlayer",
|
|
4952
5492
|
"tagName": "lintje-video-player",
|
|
4953
5493
|
"customElement": true,
|
|
4954
|
-
"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).",
|
|
4955
5495
|
"superclass": {
|
|
4956
5496
|
"name": "LintjePlayerElement"
|
|
4957
5497
|
},
|
|
@@ -5021,7 +5561,7 @@
|
|
|
5021
5561
|
"text": "boolean"
|
|
5022
5562
|
},
|
|
5023
5563
|
"default": "false",
|
|
5024
|
-
"description": "Whether the captions show; the reader switches it
|
|
5564
|
+
"description": "Whether the captions show; the reader switches it with the bar's button or with C.",
|
|
5025
5565
|
"attribute": "captions",
|
|
5026
5566
|
"reflects": true
|
|
5027
5567
|
},
|
|
@@ -5107,7 +5647,7 @@
|
|
|
5107
5647
|
"text": "boolean"
|
|
5108
5648
|
},
|
|
5109
5649
|
"default": "false",
|
|
5110
|
-
"description": "Whether the captions show; the reader switches it
|
|
5650
|
+
"description": "Whether the captions show; the reader switches it with the bar's button or with C."
|
|
5111
5651
|
},
|
|
5112
5652
|
{
|
|
5113
5653
|
"name": "described-src",
|
|
@@ -5140,6 +5680,12 @@
|
|
|
5140
5680
|
"text": "CustomEvent"
|
|
5141
5681
|
}
|
|
5142
5682
|
},
|
|
5683
|
+
{
|
|
5684
|
+
"name": "lintje-retry",
|
|
5685
|
+
"type": {
|
|
5686
|
+
"text": "CustomEvent"
|
|
5687
|
+
}
|
|
5688
|
+
},
|
|
5143
5689
|
{
|
|
5144
5690
|
"name": "lintje-seek",
|
|
5145
5691
|
"type": {
|
|
@@ -5981,7 +6527,7 @@
|
|
|
5981
6527
|
"name": "LintjeJobList",
|
|
5982
6528
|
"tagName": "lintje-job-list",
|
|
5983
6529
|
"customElement": true,
|
|
5984
|
-
"description": "`<lintje-job-list>` — the queue of long tasks: what runs, what is done and what went wrong, in\nthe work list's rows (`lintje-list`).\n\nIt never fetches: the host sets `jobs` again when a job moves. A job that changes state is read\nout once, as a sentence, from a status region of its own; the list itself is not live. A row\nwith an `href` opens a done job's result, or what runs where it can be followed.\n\nEvents: `lintje-job-cancel`, `lintje-job-retry`, `lintje-job-resume`, `lintje-job-remove`, each\n`string` (the job's id), `lintje-navigate` `{ href }` (a row with an `href`; cancel it to route).",
|
|
6530
|
+
"description": "`<lintje-job-list>` — the queue of long tasks: what runs, what is done and what went wrong, in\nthe work list's rows (`lintje-list`).\n\nIt never fetches: the host sets `jobs` again when a job moves. A job that changes state is read\nout once, as a sentence, from a status region of its own; the list itself is not live. A row\nwith an `href` opens a done job's result, or what runs where it can be followed.\n\nEvents: `lintje-job-cancel`, `lintje-job-retry`, `lintje-job-resume`, `lintje-job-remove`, each\n`string` (the job's id), `lintje-navigate` `{ href }` (a row with an `href`; cancel it to route),\n`lintje-jobs-empty` (the last job went with the focus in the list; cancel it to put the focus on\na visible target of your own, or it lands on the status region).",
|
|
5985
6531
|
"superclass": {
|
|
5986
6532
|
"name": "LintjeElement"
|
|
5987
6533
|
},
|
|
@@ -6001,9 +6547,10 @@
|
|
|
6001
6547
|
"kind": "field",
|
|
6002
6548
|
"name": "jobs",
|
|
6003
6549
|
"type": {
|
|
6004
|
-
"text": "Job[]"
|
|
6550
|
+
"text": "Job[] | undefined"
|
|
6005
6551
|
},
|
|
6006
|
-
"default": "
|
|
6552
|
+
"default": "undefined",
|
|
6553
|
+
"description": "The jobs, in the host's order. Unset until the host loads them: the first value is the load\nand is not read out; every change after it is, also the first job in an empty list."
|
|
6007
6554
|
},
|
|
6008
6555
|
{
|
|
6009
6556
|
"kind": "field",
|
|
@@ -6066,6 +6613,12 @@
|
|
|
6066
6613
|
"text": "CustomEvent"
|
|
6067
6614
|
}
|
|
6068
6615
|
},
|
|
6616
|
+
{
|
|
6617
|
+
"name": "lintje-jobs-empty",
|
|
6618
|
+
"type": {
|
|
6619
|
+
"text": "CustomEvent"
|
|
6620
|
+
}
|
|
6621
|
+
},
|
|
6069
6622
|
{
|
|
6070
6623
|
"name": "lintje-navigate",
|
|
6071
6624
|
"type": {
|
|
@@ -7449,7 +8002,7 @@
|
|
|
7449
8002
|
"name": "LintjeErrorSummary",
|
|
7450
8003
|
"tagName": "lintje-error-summary",
|
|
7451
8004
|
"customElement": true,
|
|
7452
|
-
"description": "`<lintje-error-summary>` — the error summary above a form, with a link to each field.\n\nIt never validates, and with nothing to show it draws nothing. A link focuses the field, found\nby `name` or `id` in the summary's own tree or, from a shadow root, in its host's light DOM, and\nscrolls it into view clear of a sticky top bar and the form's action bar.\n\nEvents: `lintje-retry` (\"Opnieuw proberen\" was pressed).",
|
|
8005
|
+
"description": "`<lintje-error-summary>` — the error summary above a form, with a link to each field.\n\nIt never validates, and with nothing to show it draws nothing. A link focuses the field, found\nby `name` or `id` in the summary's own tree or, from a shadow root, in its host's light DOM, and\nscrolls it into view clear of a sticky top bar and the form's action bar. `<name>-other` is the\nfield under a choice group's \"Anders\".\n\nIt is no alert: the focus is the announcement. A host that shows it after an attempt calls its\n`focus()`, as `lintje-form` does; a page that arrives with its errors set leaves the focus alone.\n\nEvents: `lintje-retry` (\"Opnieuw proberen\" was pressed).",
|
|
7453
8006
|
"superclass": {
|
|
7454
8007
|
"name": "LintjeElement"
|
|
7455
8008
|
},
|
|
@@ -7580,7 +8133,7 @@
|
|
|
7580
8133
|
"name": "LintjeFormActions",
|
|
7581
8134
|
"tagName": "lintje-form-actions",
|
|
7582
8135
|
"customElement": true,
|
|
7583
|
-
"description": "`<lintje-form-actions>` — the sticky action bar of a form: the draft status on the left, the\nslotted `lintje-button`s on the right, the last one primary.\n\nWhile connected it reserves its height as the page scroller's `scroll-padding-bottom`, so a\nfield the focus scrolls to is not hidden behind it.",
|
|
8136
|
+
"description": "`<lintje-form-actions>` — the sticky action bar of a form: the draft status on the left, the\nslotted `lintje-button`s on the right, the last one primary.\n\nWhile connected it reserves its height as the page scroller's `scroll-padding-bottom`, so a\nfield the focus scrolls to is not hidden behind it, and scrolls a focused element that still\nends up under it clear. While the form scrolls behind it, it casts its shadow upward. Below a\nviewport height of 30rem it does not stick and reserves nothing: it stands after the last field.",
|
|
7584
8137
|
"superclass": {
|
|
7585
8138
|
"name": "LintjeElement"
|
|
7586
8139
|
},
|
|
@@ -7603,7 +8156,7 @@
|
|
|
7603
8156
|
"text": "'' | 'dirty' | 'busy' | 'saved' | 'draft'"
|
|
7604
8157
|
},
|
|
7605
8158
|
"default": "''",
|
|
7606
|
-
"description": "
|
|
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.",
|
|
7607
8160
|
"attribute": "state",
|
|
7608
8161
|
"reflects": true
|
|
7609
8162
|
},
|
|
@@ -7633,7 +8186,7 @@
|
|
|
7633
8186
|
"text": "'' | 'dirty' | 'busy' | 'saved' | 'draft'"
|
|
7634
8187
|
},
|
|
7635
8188
|
"default": "''",
|
|
7636
|
-
"description": "
|
|
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."
|
|
7637
8190
|
},
|
|
7638
8191
|
{
|
|
7639
8192
|
"name": "saved-at",
|
|
@@ -7801,7 +8354,7 @@
|
|
|
7801
8354
|
"name": "LintjeForm",
|
|
7802
8355
|
"tagName": "lintje-form",
|
|
7803
8356
|
"customElement": true,
|
|
7804
|
-
"description": "`<lintje-form>` — collects the values of its light-DOM fields, keeps the draft, asks for one\nsubmit and puts the host's errors under their fields.\n\nIts `<form>` is in the shadow root, so slotted fields have no form owner: Enter and a submit\nbutton reach it through the element's own handlers, once. It stops `lintje-values-change`, so\nform input never reaches the URL
|
|
8357
|
+
"description": "`<lintje-form>` — collects the values of its light-DOM fields, keeps the draft, asks for one\nsubmit and puts the host's errors under their fields.\n\nIts `<form>` is in the shadow root, so slotted fields have no form owner: Enter and a submit\nbutton reach it through the element's own handlers, once. It stops `lintje-values-change`, so\nform input never reaches the URL. A choice group's \"Anders\" text is a value of its own, under\n`<name>-other`, in the draft, the submit and `errors.fields`.\n\nEvents: `lintje-submit` `{ values }`, `lintje-invalid` `FormErrors`, `lintje-dirty-change`\n`boolean`.",
|
|
7805
8358
|
"superclass": {
|
|
7806
8359
|
"name": "LintjeElement"
|
|
7807
8360
|
},
|
|
@@ -7888,7 +8441,7 @@
|
|
|
7888
8441
|
{
|
|
7889
8442
|
"kind": "method",
|
|
7890
8443
|
"name": "collect",
|
|
7891
|
-
"description": "The values to send: `values` with the draft over it; silent and native controls are read.",
|
|
8444
|
+
"description": "The values to send: `values` with the draft over it; silent and native controls are read. A\ngroup with \"Anders\" adds `<name>-other`: its text while \"Anders\" is chosen, else `null`.",
|
|
7892
8445
|
"parameters": "()",
|
|
7893
8446
|
"return": {
|
|
7894
8447
|
"text": "FormValues"
|
|
@@ -7897,7 +8450,7 @@
|
|
|
7897
8450
|
{
|
|
7898
8451
|
"kind": "method",
|
|
7899
8452
|
"name": "forget",
|
|
7900
|
-
"description": "Drops a field from `values` and the draft; the form does this when a
|
|
8453
|
+
"description": "Drops a field from `values` and the draft, with its \"Anders\" text; the form does this when a\nnamed field leaves.",
|
|
7901
8454
|
"parameters": "(name: string)",
|
|
7902
8455
|
"return": {
|
|
7903
8456
|
"text": "void"
|
|
@@ -9232,8 +9785,8 @@
|
|
|
9232
9785
|
{
|
|
9233
9786
|
"kind": "method",
|
|
9234
9787
|
"name": "renderUserMenu",
|
|
9235
|
-
"description": "
|
|
9236
|
-
"parameters": "(
|
|
9788
|
+
"description": "`bar`: the avatar in the bar opens it. `sheet`: inline, the foot of the mobile menu. `side`:\nthe foot of the side menu opens it, folded to the avatar in the folded rail.",
|
|
9789
|
+
"parameters": "(place: 'bar' | 'sheet' | 'side', folded = false)",
|
|
9237
9790
|
"return": {
|
|
9238
9791
|
"text": "TemplateResult | typeof nothing"
|
|
9239
9792
|
}
|
|
@@ -9445,7 +9998,7 @@
|
|
|
9445
9998
|
"name": "LintjeUserMenu",
|
|
9446
9999
|
"tagName": "lintje-user-menu",
|
|
9447
10000
|
"customElement": true,
|
|
9448
|
-
"description": "`<lintje-user-menu>` — the user's avatar in the navigation bar and the menu it opens: name and\nrole, the host's rows (`MenuEntry`), \"Afmelden\" and the version.\n\nA menu, not a dialog: it traps no focus, and an Escape in a dialog opened over it is the\ndialog's.\n\nEvents: `lintje-action` `string` (the row's value), `lintje-navigate` `{ href }` (a link row),\n`lintje-logout` (without `logout-action`).",
|
|
10001
|
+
"description": "`<lintje-user-menu>` — the user's avatar in the navigation bar and the menu it opens: name and\nrole, the host's rows (`MenuEntry`), \"Afmelden\" and the version. With `variant=\"side\"` it is\nthe foot of the side menu: the avatar with the name and role beside it, the menu above it.\n\nA menu, not a dialog: it traps no focus, and an Escape in a dialog opened over it is the\ndialog's.\n\nEvents: `lintje-action` `string` (the row's value), `lintje-navigate` `{ href }` (a link row),\n`lintje-logout` (without `logout-action`), `lintje-toggle` `{ open }` (the menu opens or closes).",
|
|
9449
10002
|
"superclass": {
|
|
9450
10003
|
"name": "LintjeElement"
|
|
9451
10004
|
},
|
|
@@ -9465,7 +10018,7 @@
|
|
|
9465
10018
|
"kind": "field",
|
|
9466
10019
|
"name": "user",
|
|
9467
10020
|
"type": {
|
|
9468
|
-
"text": "
|
|
10021
|
+
"text": "Person | null"
|
|
9469
10022
|
}
|
|
9470
10023
|
},
|
|
9471
10024
|
{
|
|
@@ -9515,6 +10068,28 @@
|
|
|
9515
10068
|
"attribute": "inline",
|
|
9516
10069
|
"reflects": true
|
|
9517
10070
|
},
|
|
10071
|
+
{
|
|
10072
|
+
"kind": "field",
|
|
10073
|
+
"name": "variant",
|
|
10074
|
+
"type": {
|
|
10075
|
+
"text": "'bar' | 'side'"
|
|
10076
|
+
},
|
|
10077
|
+
"default": "'bar'",
|
|
10078
|
+
"description": "`bar`: the avatar in the navigation bar, the menu below it. `side`: the foot of the side\nmenu, named by the user's name with the role beside it, the menu above it.",
|
|
10079
|
+
"attribute": "variant",
|
|
10080
|
+
"reflects": true
|
|
10081
|
+
},
|
|
10082
|
+
{
|
|
10083
|
+
"kind": "field",
|
|
10084
|
+
"name": "folded",
|
|
10085
|
+
"type": {
|
|
10086
|
+
"text": "boolean"
|
|
10087
|
+
},
|
|
10088
|
+
"default": "false",
|
|
10089
|
+
"description": "`side` in the folded rail: only the avatar shows; name and role stay for a screen reader.",
|
|
10090
|
+
"attribute": "folded",
|
|
10091
|
+
"reflects": true
|
|
10092
|
+
},
|
|
9518
10093
|
{
|
|
9519
10094
|
"kind": "field",
|
|
9520
10095
|
"name": "open",
|
|
@@ -9552,56 +10127,185 @@
|
|
|
9552
10127
|
"description": "The URL \"Afmelden\" posts a real `<form>` to: signing out leaves the page, which a fetch\ncannot do. Without it \"Afmelden\" sends `lintje-logout`."
|
|
9553
10128
|
},
|
|
9554
10129
|
{
|
|
9555
|
-
"name": "csrf",
|
|
9556
|
-
"fieldName": "csrf",
|
|
10130
|
+
"name": "csrf",
|
|
10131
|
+
"fieldName": "csrf",
|
|
10132
|
+
"type": {
|
|
10133
|
+
"text": "string"
|
|
10134
|
+
},
|
|
10135
|
+
"default": "''",
|
|
10136
|
+
"description": "The session's CSRF token, posted with \"Afmelden\" in a hidden `csrf_token` field."
|
|
10137
|
+
},
|
|
10138
|
+
{
|
|
10139
|
+
"name": "inline",
|
|
10140
|
+
"fieldName": "inline",
|
|
10141
|
+
"type": {
|
|
10142
|
+
"text": "boolean"
|
|
10143
|
+
},
|
|
10144
|
+
"default": "false",
|
|
10145
|
+
"description": "The content without button and popover, on the navigation's colours: for the mobile sheet."
|
|
10146
|
+
},
|
|
10147
|
+
{
|
|
10148
|
+
"name": "variant",
|
|
10149
|
+
"fieldName": "variant",
|
|
10150
|
+
"type": {
|
|
10151
|
+
"text": "'bar' | 'side'"
|
|
10152
|
+
},
|
|
10153
|
+
"default": "'bar'",
|
|
10154
|
+
"description": "`bar`: the avatar in the navigation bar, the menu below it. `side`: the foot of the side\nmenu, named by the user's name with the role beside it, the menu above it."
|
|
10155
|
+
},
|
|
10156
|
+
{
|
|
10157
|
+
"name": "folded",
|
|
10158
|
+
"fieldName": "folded",
|
|
10159
|
+
"type": {
|
|
10160
|
+
"text": "boolean"
|
|
10161
|
+
},
|
|
10162
|
+
"default": "false",
|
|
10163
|
+
"description": "`side` in the folded rail: only the avatar shows; name and role stay for a screen reader."
|
|
10164
|
+
},
|
|
10165
|
+
{
|
|
10166
|
+
"name": "open",
|
|
10167
|
+
"fieldName": "open",
|
|
10168
|
+
"type": {
|
|
10169
|
+
"text": "boolean"
|
|
10170
|
+
},
|
|
10171
|
+
"default": "false"
|
|
10172
|
+
}
|
|
10173
|
+
],
|
|
10174
|
+
"events": [
|
|
10175
|
+
{
|
|
10176
|
+
"name": "lintje-action",
|
|
10177
|
+
"type": {
|
|
10178
|
+
"text": "CustomEvent<item.value>"
|
|
10179
|
+
}
|
|
10180
|
+
},
|
|
10181
|
+
{
|
|
10182
|
+
"name": "lintje-logout",
|
|
10183
|
+
"type": {
|
|
10184
|
+
"text": "CustomEvent"
|
|
10185
|
+
}
|
|
10186
|
+
},
|
|
10187
|
+
{
|
|
10188
|
+
"name": "lintje-navigate",
|
|
10189
|
+
"type": {
|
|
10190
|
+
"text": "CustomEvent<{ href }>"
|
|
10191
|
+
}
|
|
10192
|
+
},
|
|
10193
|
+
{
|
|
10194
|
+
"name": "lintje-toggle",
|
|
10195
|
+
"type": {
|
|
10196
|
+
"text": "CustomEvent<{ open }>"
|
|
10197
|
+
}
|
|
10198
|
+
}
|
|
10199
|
+
],
|
|
10200
|
+
"slots": [],
|
|
10201
|
+
"draws": [
|
|
10202
|
+
"lintje-menu-button",
|
|
10203
|
+
"lintje-popover",
|
|
10204
|
+
"lintje-tooltip"
|
|
10205
|
+
]
|
|
10206
|
+
}
|
|
10207
|
+
],
|
|
10208
|
+
"exports": [
|
|
10209
|
+
{
|
|
10210
|
+
"kind": "custom-element-definition",
|
|
10211
|
+
"name": "lintje-user-menu",
|
|
10212
|
+
"declaration": {
|
|
10213
|
+
"name": "LintjeUserMenu",
|
|
10214
|
+
"module": "src/components/frame/user-menu/user-menu.ts"
|
|
10215
|
+
}
|
|
10216
|
+
}
|
|
10217
|
+
]
|
|
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",
|
|
9557
10260
|
"type": {
|
|
9558
|
-
"text": "
|
|
9559
|
-
}
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
10261
|
+
"text": "GraphData | null"
|
|
10262
|
+
}
|
|
10263
|
+
}
|
|
10264
|
+
],
|
|
10265
|
+
"methods": [],
|
|
10266
|
+
"attributes": [
|
|
9563
10267
|
{
|
|
9564
|
-
"name": "
|
|
9565
|
-
"fieldName": "
|
|
10268
|
+
"name": "mode",
|
|
10269
|
+
"fieldName": "mode",
|
|
9566
10270
|
"type": {
|
|
9567
|
-
"text": "
|
|
9568
|
-
}
|
|
9569
|
-
"default": "false",
|
|
9570
|
-
"description": "The content without button and popover, on the navigation's colours: for the mobile sheet."
|
|
10271
|
+
"text": "'light' | 'dark'"
|
|
10272
|
+
}
|
|
9571
10273
|
},
|
|
9572
10274
|
{
|
|
9573
|
-
"name": "
|
|
9574
|
-
"fieldName": "
|
|
10275
|
+
"name": "span",
|
|
10276
|
+
"fieldName": "span",
|
|
9575
10277
|
"type": {
|
|
9576
|
-
"text": "
|
|
10278
|
+
"text": "number"
|
|
9577
10279
|
},
|
|
9578
|
-
"
|
|
10280
|
+
"description": "Columns of the 12-column grid; default one."
|
|
9579
10281
|
}
|
|
9580
10282
|
],
|
|
9581
10283
|
"events": [
|
|
9582
10284
|
{
|
|
9583
|
-
"name": "lintje-
|
|
10285
|
+
"name": "lintje-node-expand",
|
|
9584
10286
|
"type": {
|
|
9585
|
-
"text": "CustomEvent<
|
|
10287
|
+
"text": "CustomEvent<{ id }>"
|
|
9586
10288
|
}
|
|
9587
10289
|
},
|
|
9588
10290
|
{
|
|
9589
|
-
"name": "lintje-
|
|
10291
|
+
"name": "lintje-node-select",
|
|
9590
10292
|
"type": {
|
|
9591
10293
|
"text": "CustomEvent"
|
|
9592
10294
|
}
|
|
9593
10295
|
},
|
|
9594
10296
|
{
|
|
9595
|
-
"name": "lintje-
|
|
10297
|
+
"name": "lintje-node-toggle",
|
|
9596
10298
|
"type": {
|
|
9597
|
-
"text": "CustomEvent<{
|
|
10299
|
+
"text": "CustomEvent<{ id, open }>"
|
|
9598
10300
|
}
|
|
9599
10301
|
}
|
|
9600
10302
|
],
|
|
9601
10303
|
"slots": [],
|
|
9602
10304
|
"draws": [
|
|
9603
|
-
"lintje-
|
|
9604
|
-
"lintje-
|
|
10305
|
+
"lintje-announcement",
|
|
10306
|
+
"lintje-spinner",
|
|
10307
|
+
"lintje-status-dot",
|
|
10308
|
+
"lintje-tile",
|
|
9605
10309
|
"lintje-tooltip"
|
|
9606
10310
|
]
|
|
9607
10311
|
}
|
|
@@ -9609,10 +10313,10 @@
|
|
|
9609
10313
|
"exports": [
|
|
9610
10314
|
{
|
|
9611
10315
|
"kind": "custom-element-definition",
|
|
9612
|
-
"name": "lintje-
|
|
10316
|
+
"name": "lintje-graph",
|
|
9613
10317
|
"declaration": {
|
|
9614
|
-
"name": "
|
|
9615
|
-
"module": "src/components/
|
|
10318
|
+
"name": "LintjeGraph",
|
|
10319
|
+
"module": "src/components/graph/graph/graph.ts"
|
|
9616
10320
|
}
|
|
9617
10321
|
}
|
|
9618
10322
|
]
|
|
@@ -9626,9 +10330,9 @@
|
|
|
9626
10330
|
"name": "LintjeCheckboxGroup",
|
|
9627
10331
|
"tagName": "lintje-checkbox-group",
|
|
9628
10332
|
"customElement": true,
|
|
9629
|
-
"description": "`<lintje-checkbox-group>` — several options under one label, a checkbox per line, with one hint\nand one message for the group.\n\nOnly the group tells the host: its rows carry no `name`. `required` draws nothing and sets no\nARIA, since a group cannot carry `aria-required`: the browser's message in a native form and\nthe host's message say what is missing.\n\nEvents: `lintje-change` `string[]` (the checked values), `lintje-values-change`\n`{ [name]: value }` (with a `name`)
|
|
10333
|
+
"description": "`<lintje-checkbox-group>` — several options under one label, a checkbox per line, with one hint\nand one message for the group.\n\nOnly the group tells the host: its rows carry no `name`. `required` draws nothing and sets no\nARIA, since a group cannot carry `aria-required`: the browser's message in a native form and\nthe host's message say what is missing. With `other` the last row is \"Anders\", value `other`,\nwith a text field under it while it is checked; the host sets `other-error` for an empty one.\n\nEvents: `lintje-change` `string[]` (the checked values), `lintje-other-change` `string` (the\nfield's text, on leaving it or Enter), `lintje-values-change`\n`{ [name]: value, [name-other]: text | null }` (with a `name`; the second key with `other`),\n`lintje-reset` (the reset link was pressed).",
|
|
9630
10334
|
"superclass": {
|
|
9631
|
-
"name": "
|
|
10335
|
+
"name": "LintjeChoiceGroupElement"
|
|
9632
10336
|
},
|
|
9633
10337
|
"members": [
|
|
9634
10338
|
{
|
|
@@ -9794,6 +10498,67 @@
|
|
|
9794
10498
|
"name": "LintjeInputElement"
|
|
9795
10499
|
}
|
|
9796
10500
|
},
|
|
10501
|
+
{
|
|
10502
|
+
"kind": "field",
|
|
10503
|
+
"name": "other",
|
|
10504
|
+
"type": {
|
|
10505
|
+
"text": "boolean"
|
|
10506
|
+
},
|
|
10507
|
+
"default": "false",
|
|
10508
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`.",
|
|
10509
|
+
"attribute": "other",
|
|
10510
|
+
"inheritedFrom": {
|
|
10511
|
+
"name": "LintjeChoiceGroupElement"
|
|
10512
|
+
}
|
|
10513
|
+
},
|
|
10514
|
+
{
|
|
10515
|
+
"kind": "field",
|
|
10516
|
+
"name": "otherLabel",
|
|
10517
|
+
"type": {
|
|
10518
|
+
"text": "string"
|
|
10519
|
+
},
|
|
10520
|
+
"default": "'Anders, namelijk'",
|
|
10521
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden.",
|
|
10522
|
+
"attribute": "other-label",
|
|
10523
|
+
"inheritedFrom": {
|
|
10524
|
+
"name": "LintjeChoiceGroupElement"
|
|
10525
|
+
}
|
|
10526
|
+
},
|
|
10527
|
+
{
|
|
10528
|
+
"kind": "field",
|
|
10529
|
+
"name": "otherText",
|
|
10530
|
+
"type": {
|
|
10531
|
+
"text": "string"
|
|
10532
|
+
},
|
|
10533
|
+
"default": "''",
|
|
10534
|
+
"description": "What the reader typed under \"Anders\". It changes when the field commits (leaving it, Enter)\nand stays when \"Anders\" goes. A property, not an attribute: a server-rendered page sets it as\ndata.",
|
|
10535
|
+
"inheritedFrom": {
|
|
10536
|
+
"name": "LintjeChoiceGroupElement"
|
|
10537
|
+
}
|
|
10538
|
+
},
|
|
10539
|
+
{
|
|
10540
|
+
"kind": "field",
|
|
10541
|
+
"name": "otherPlaceholder",
|
|
10542
|
+
"type": {
|
|
10543
|
+
"text": "string"
|
|
10544
|
+
},
|
|
10545
|
+
"attribute": "other-placeholder",
|
|
10546
|
+
"inheritedFrom": {
|
|
10547
|
+
"name": "LintjeChoiceGroupElement"
|
|
10548
|
+
}
|
|
10549
|
+
},
|
|
10550
|
+
{
|
|
10551
|
+
"kind": "field",
|
|
10552
|
+
"name": "otherError",
|
|
10553
|
+
"type": {
|
|
10554
|
+
"text": "string"
|
|
10555
|
+
},
|
|
10556
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself.",
|
|
10557
|
+
"attribute": "other-error",
|
|
10558
|
+
"inheritedFrom": {
|
|
10559
|
+
"name": "LintjeChoiceGroupElement"
|
|
10560
|
+
}
|
|
10561
|
+
},
|
|
9797
10562
|
{
|
|
9798
10563
|
"kind": "field",
|
|
9799
10564
|
"name": "options",
|
|
@@ -9809,7 +10574,7 @@
|
|
|
9809
10574
|
"text": "string[]"
|
|
9810
10575
|
},
|
|
9811
10576
|
"default": "[]",
|
|
9812
|
-
"description": "The checked values, in the order of `options
|
|
10577
|
+
"description": "The checked values, in the order of `options`, `other` after them; a value the options do not\nhold is kept at the end. A property, not an attribute: a server-rendered page sets it as data."
|
|
9813
10578
|
}
|
|
9814
10579
|
],
|
|
9815
10580
|
"methods": [],
|
|
@@ -9919,6 +10684,39 @@
|
|
|
9919
10684
|
"text": "string"
|
|
9920
10685
|
},
|
|
9921
10686
|
"description": "With `modified`: a link under the field (\"Terugzetten naar 2 tot 12\") that sends\n`lintje-reset`. A reader hears the field's `label` after it."
|
|
10687
|
+
},
|
|
10688
|
+
{
|
|
10689
|
+
"name": "other",
|
|
10690
|
+
"fieldName": "other",
|
|
10691
|
+
"type": {
|
|
10692
|
+
"text": "boolean"
|
|
10693
|
+
},
|
|
10694
|
+
"default": "false",
|
|
10695
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`."
|
|
10696
|
+
},
|
|
10697
|
+
{
|
|
10698
|
+
"name": "other-label",
|
|
10699
|
+
"fieldName": "otherLabel",
|
|
10700
|
+
"type": {
|
|
10701
|
+
"text": "string"
|
|
10702
|
+
},
|
|
10703
|
+
"default": "'Anders, namelijk'",
|
|
10704
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden."
|
|
10705
|
+
},
|
|
10706
|
+
{
|
|
10707
|
+
"name": "other-placeholder",
|
|
10708
|
+
"fieldName": "otherPlaceholder",
|
|
10709
|
+
"type": {
|
|
10710
|
+
"text": "string"
|
|
10711
|
+
}
|
|
10712
|
+
},
|
|
10713
|
+
{
|
|
10714
|
+
"name": "other-error",
|
|
10715
|
+
"fieldName": "otherError",
|
|
10716
|
+
"type": {
|
|
10717
|
+
"text": "string"
|
|
10718
|
+
},
|
|
10719
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself."
|
|
9922
10720
|
}
|
|
9923
10721
|
],
|
|
9924
10722
|
"events": [
|
|
@@ -9929,6 +10727,13 @@
|
|
|
9929
10727
|
},
|
|
9930
10728
|
"description": "Not composed: it stops at the shadow root."
|
|
9931
10729
|
},
|
|
10730
|
+
{
|
|
10731
|
+
"name": "lintje-other-change",
|
|
10732
|
+
"type": {
|
|
10733
|
+
"text": "CustomEvent<text>"
|
|
10734
|
+
},
|
|
10735
|
+
"description": "Not composed: it stops at the shadow root."
|
|
10736
|
+
},
|
|
9932
10737
|
{
|
|
9933
10738
|
"name": "lintje-reset",
|
|
9934
10739
|
"type": {
|
|
@@ -9939,7 +10744,7 @@
|
|
|
9939
10744
|
{
|
|
9940
10745
|
"name": "lintje-values-change",
|
|
9941
10746
|
"type": {
|
|
9942
|
-
"text": "CustomEvent<
|
|
10747
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
9943
10748
|
}
|
|
9944
10749
|
}
|
|
9945
10750
|
],
|
|
@@ -10293,6 +11098,13 @@
|
|
|
10293
11098
|
},
|
|
10294
11099
|
"description": "Not composed: it stops at the shadow root."
|
|
10295
11100
|
},
|
|
11101
|
+
{
|
|
11102
|
+
"name": "lintje-other-change",
|
|
11103
|
+
"type": {
|
|
11104
|
+
"text": "CustomEvent<text>"
|
|
11105
|
+
},
|
|
11106
|
+
"description": "Not composed: it stops at the shadow root."
|
|
11107
|
+
},
|
|
10296
11108
|
{
|
|
10297
11109
|
"name": "lintje-reset",
|
|
10298
11110
|
"type": {
|
|
@@ -10303,7 +11115,7 @@
|
|
|
10303
11115
|
{
|
|
10304
11116
|
"name": "lintje-values-change",
|
|
10305
11117
|
"type": {
|
|
10306
|
-
"text": "CustomEvent<
|
|
11118
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
10307
11119
|
}
|
|
10308
11120
|
}
|
|
10309
11121
|
],
|
|
@@ -10747,6 +11559,13 @@
|
|
|
10747
11559
|
},
|
|
10748
11560
|
"description": "Not composed: it stops at the shadow root."
|
|
10749
11561
|
},
|
|
11562
|
+
{
|
|
11563
|
+
"name": "lintje-other-change",
|
|
11564
|
+
"type": {
|
|
11565
|
+
"text": "CustomEvent<text>"
|
|
11566
|
+
},
|
|
11567
|
+
"description": "Not composed: it stops at the shadow root."
|
|
11568
|
+
},
|
|
10750
11569
|
{
|
|
10751
11570
|
"name": "lintje-reset",
|
|
10752
11571
|
"type": {
|
|
@@ -10763,7 +11582,7 @@
|
|
|
10763
11582
|
{
|
|
10764
11583
|
"name": "lintje-values-change",
|
|
10765
11584
|
"type": {
|
|
10766
|
-
"text": "CustomEvent<
|
|
11585
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
10767
11586
|
}
|
|
10768
11587
|
}
|
|
10769
11588
|
],
|
|
@@ -11205,6 +12024,13 @@
|
|
|
11205
12024
|
},
|
|
11206
12025
|
"description": "Not composed: it stops at the shadow root."
|
|
11207
12026
|
},
|
|
12027
|
+
{
|
|
12028
|
+
"name": "lintje-other-change",
|
|
12029
|
+
"type": {
|
|
12030
|
+
"text": "CustomEvent<text>"
|
|
12031
|
+
},
|
|
12032
|
+
"description": "Not composed: it stops at the shadow root."
|
|
12033
|
+
},
|
|
11208
12034
|
{
|
|
11209
12035
|
"name": "lintje-reset",
|
|
11210
12036
|
"type": {
|
|
@@ -11215,7 +12041,7 @@
|
|
|
11215
12041
|
{
|
|
11216
12042
|
"name": "lintje-values-change",
|
|
11217
12043
|
"type": {
|
|
11218
|
-
"text": "CustomEvent<
|
|
12044
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
11219
12045
|
}
|
|
11220
12046
|
}
|
|
11221
12047
|
],
|
|
@@ -11245,7 +12071,7 @@
|
|
|
11245
12071
|
"name": "LintjeDateRange",
|
|
11246
12072
|
"tagName": "lintje-date-range",
|
|
11247
12073
|
"customElement": true,
|
|
11248
|
-
"description": "`<lintje-date-range>` — the date range picker: a field and a popover with a calendar, presets\nand \"Wissen\"/\"Toepassen\".\n\
|
|
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).",
|
|
11249
12075
|
"superclass": {
|
|
11250
12076
|
"name": "LintjeInputElement"
|
|
11251
12077
|
},
|
|
@@ -11611,6 +12437,13 @@
|
|
|
11611
12437
|
},
|
|
11612
12438
|
"description": "Not composed: it stops at the shadow root."
|
|
11613
12439
|
},
|
|
12440
|
+
{
|
|
12441
|
+
"name": "lintje-other-change",
|
|
12442
|
+
"type": {
|
|
12443
|
+
"text": "CustomEvent<text>"
|
|
12444
|
+
},
|
|
12445
|
+
"description": "Not composed: it stops at the shadow root."
|
|
12446
|
+
},
|
|
11614
12447
|
{
|
|
11615
12448
|
"name": "lintje-reset",
|
|
11616
12449
|
"type": {
|
|
@@ -11621,7 +12454,7 @@
|
|
|
11621
12454
|
{
|
|
11622
12455
|
"name": "lintje-values-change",
|
|
11623
12456
|
"type": {
|
|
11624
|
-
"text": "CustomEvent<
|
|
12457
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
11625
12458
|
}
|
|
11626
12459
|
}
|
|
11627
12460
|
],
|
|
@@ -11760,7 +12593,7 @@
|
|
|
11760
12593
|
"name": "LintjeFileUpload",
|
|
11761
12594
|
"tagName": "lintje-file-upload",
|
|
11762
12595
|
"customElement": true,
|
|
11763
|
-
"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
|
|
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 }`.",
|
|
11764
12597
|
"superclass": {
|
|
11765
12598
|
"name": "LintjeInputElement"
|
|
11766
12599
|
},
|
|
@@ -12128,22 +12961,17 @@
|
|
|
12128
12961
|
"description": "Not composed: it stops at the shadow root."
|
|
12129
12962
|
},
|
|
12130
12963
|
{
|
|
12131
|
-
"name": "lintje-
|
|
12132
|
-
"type": {
|
|
12133
|
-
"text": "CustomEvent<{ id }>"
|
|
12134
|
-
}
|
|
12135
|
-
},
|
|
12136
|
-
{
|
|
12137
|
-
"name": "lintje-file-remove",
|
|
12964
|
+
"name": "lintje-files-add",
|
|
12138
12965
|
"type": {
|
|
12139
|
-
"text": "CustomEvent<
|
|
12966
|
+
"text": "CustomEvent<passed>"
|
|
12140
12967
|
}
|
|
12141
12968
|
},
|
|
12142
12969
|
{
|
|
12143
|
-
"name": "lintje-
|
|
12970
|
+
"name": "lintje-other-change",
|
|
12144
12971
|
"type": {
|
|
12145
|
-
"text": "CustomEvent<
|
|
12146
|
-
}
|
|
12972
|
+
"text": "CustomEvent<text>"
|
|
12973
|
+
},
|
|
12974
|
+
"description": "Not composed: it stops at the shadow root."
|
|
12147
12975
|
},
|
|
12148
12976
|
{
|
|
12149
12977
|
"name": "lintje-reset",
|
|
@@ -12155,14 +12983,14 @@
|
|
|
12155
12983
|
{
|
|
12156
12984
|
"name": "lintje-values-change",
|
|
12157
12985
|
"type": {
|
|
12158
|
-
"text": "CustomEvent<
|
|
12986
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
12159
12987
|
}
|
|
12160
12988
|
}
|
|
12161
12989
|
],
|
|
12162
12990
|
"slots": [],
|
|
12163
12991
|
"draws": [
|
|
12164
|
-
"lintje-
|
|
12165
|
-
"lintje-
|
|
12992
|
+
"lintje-attachment",
|
|
12993
|
+
"lintje-button"
|
|
12166
12994
|
]
|
|
12167
12995
|
}
|
|
12168
12996
|
],
|
|
@@ -12572,6 +13400,13 @@
|
|
|
12572
13400
|
"text": "CustomEvent<direction>"
|
|
12573
13401
|
}
|
|
12574
13402
|
},
|
|
13403
|
+
{
|
|
13404
|
+
"name": "lintje-other-change",
|
|
13405
|
+
"type": {
|
|
13406
|
+
"text": "CustomEvent<text>"
|
|
13407
|
+
},
|
|
13408
|
+
"description": "Not composed: it stops at the shadow root."
|
|
13409
|
+
},
|
|
12575
13410
|
{
|
|
12576
13411
|
"name": "lintje-reset",
|
|
12577
13412
|
"type": {
|
|
@@ -12582,7 +13417,7 @@
|
|
|
12582
13417
|
{
|
|
12583
13418
|
"name": "lintje-values-change",
|
|
12584
13419
|
"type": {
|
|
12585
|
-
"text": "CustomEvent<
|
|
13420
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
12586
13421
|
}
|
|
12587
13422
|
}
|
|
12588
13423
|
],
|
|
@@ -12982,6 +13817,13 @@
|
|
|
12982
13817
|
},
|
|
12983
13818
|
"description": "Not composed: it stops at the shadow root."
|
|
12984
13819
|
},
|
|
13820
|
+
{
|
|
13821
|
+
"name": "lintje-other-change",
|
|
13822
|
+
"type": {
|
|
13823
|
+
"text": "CustomEvent<text>"
|
|
13824
|
+
},
|
|
13825
|
+
"description": "Not composed: it stops at the shadow root."
|
|
13826
|
+
},
|
|
12985
13827
|
{
|
|
12986
13828
|
"name": "lintje-reset",
|
|
12987
13829
|
"type": {
|
|
@@ -12992,7 +13834,7 @@
|
|
|
12992
13834
|
{
|
|
12993
13835
|
"name": "lintje-values-change",
|
|
12994
13836
|
"type": {
|
|
12995
|
-
"text": "CustomEvent<
|
|
13837
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
12996
13838
|
}
|
|
12997
13839
|
}
|
|
12998
13840
|
],
|
|
@@ -13022,7 +13864,7 @@
|
|
|
13022
13864
|
"name": "LintjeNumberInput",
|
|
13023
13865
|
"tagName": "lintje-number-input",
|
|
13024
13866
|
"customElement": true,
|
|
13025
|
-
"description": "`<lintje-number-input>` — a −/+ stepper around a centred value, or a
|
|
13867
|
+
"description": "`<lintje-number-input>` — a −/+ stepper around a centred value, or without the stepper a fixed\ntext before the value (`prefix`) and a unit after it.\n\nIt commits on `change`; a press on − or + commits at once and says the new value, since the\nfocus stays on the step. At `min` or `max` the step stays focusable but does nothing.\n\nEvents: `lintje-change` `number | null`, `lintje-values-change` `{ [name]: value }` (with a\n`name`), `lintje-reset` (the reset link was pressed).",
|
|
13026
13868
|
"superclass": {
|
|
13027
13869
|
"name": "LintjeFormInputElement"
|
|
13028
13870
|
},
|
|
@@ -13237,6 +14079,16 @@
|
|
|
13237
14079
|
"default": "1",
|
|
13238
14080
|
"attribute": "step"
|
|
13239
14081
|
},
|
|
14082
|
+
{
|
|
14083
|
+
"kind": "field",
|
|
14084
|
+
"name": "prefix",
|
|
14085
|
+
"type": {
|
|
14086
|
+
"text": "string | null"
|
|
14087
|
+
},
|
|
14088
|
+
"default": "null",
|
|
14089
|
+
"description": "The fixed text before the value, e.g. \"€\", which describes the field; only without the stepper.",
|
|
14090
|
+
"attribute": "prefix"
|
|
14091
|
+
},
|
|
13240
14092
|
{
|
|
13241
14093
|
"kind": "field",
|
|
13242
14094
|
"name": "unit",
|
|
@@ -13412,6 +14264,15 @@
|
|
|
13412
14264
|
},
|
|
13413
14265
|
"default": "1"
|
|
13414
14266
|
},
|
|
14267
|
+
{
|
|
14268
|
+
"name": "prefix",
|
|
14269
|
+
"fieldName": "prefix",
|
|
14270
|
+
"type": {
|
|
14271
|
+
"text": "string | null"
|
|
14272
|
+
},
|
|
14273
|
+
"default": "null",
|
|
14274
|
+
"description": "The fixed text before the value, e.g. \"€\", which describes the field; only without the stepper."
|
|
14275
|
+
},
|
|
13415
14276
|
{
|
|
13416
14277
|
"name": "unit",
|
|
13417
14278
|
"fieldName": "unit",
|
|
@@ -13446,6 +14307,13 @@
|
|
|
13446
14307
|
},
|
|
13447
14308
|
"description": "Not composed: it stops at the shadow root."
|
|
13448
14309
|
},
|
|
14310
|
+
{
|
|
14311
|
+
"name": "lintje-other-change",
|
|
14312
|
+
"type": {
|
|
14313
|
+
"text": "CustomEvent<text>"
|
|
14314
|
+
},
|
|
14315
|
+
"description": "Not composed: it stops at the shadow root."
|
|
14316
|
+
},
|
|
13449
14317
|
{
|
|
13450
14318
|
"name": "lintje-reset",
|
|
13451
14319
|
"type": {
|
|
@@ -13456,7 +14324,7 @@
|
|
|
13456
14324
|
{
|
|
13457
14325
|
"name": "lintje-values-change",
|
|
13458
14326
|
"type": {
|
|
13459
|
-
"text": "CustomEvent<
|
|
14327
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
13460
14328
|
}
|
|
13461
14329
|
}
|
|
13462
14330
|
],
|
|
@@ -13484,9 +14352,9 @@
|
|
|
13484
14352
|
"name": "LintjeRadioGroup",
|
|
13485
14353
|
"tagName": "lintje-radio-group",
|
|
13486
14354
|
"customElement": true,
|
|
13487
|
-
"description": "`<lintje-radio-group>` — one option per line, for options that do not fit `lintje-segmented`.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a
|
|
14355
|
+
"description": "`<lintje-radio-group>` — one option per line, for options that do not fit `lintje-segmented`.\n\nWith `other` the last option is \"Anders\", value `other`, with a text field under it while it is\nchosen; a click, a tap or Space puts the focus in it, an arrow key does not. The group checks\nnothing: the host sets `error`, and `other-error` for an empty field. Cards draw no \"Anders\".\n\nEvents: `lintje-change` `string`, `lintje-other-change` `string` (the field's text, on leaving\nit or Enter), `lintje-values-change` `{ [name]: value, [name-other]: text | null }` (with a\n`name`; the second key with `other`), `lintje-reset` (the reset link was pressed).",
|
|
13488
14356
|
"superclass": {
|
|
13489
|
-
"name": "
|
|
14357
|
+
"name": "LintjeChoiceGroupElement"
|
|
13490
14358
|
},
|
|
13491
14359
|
"members": [
|
|
13492
14360
|
{
|
|
@@ -13624,32 +14492,93 @@
|
|
|
13624
14492
|
"description": "Marks the label \"(niet verplicht)\", inside the label so it is in the accessible name.",
|
|
13625
14493
|
"attribute": "optional",
|
|
13626
14494
|
"inheritedFrom": {
|
|
13627
|
-
"name": "LintjeInputElement"
|
|
14495
|
+
"name": "LintjeInputElement"
|
|
14496
|
+
}
|
|
14497
|
+
},
|
|
14498
|
+
{
|
|
14499
|
+
"kind": "field",
|
|
14500
|
+
"name": "layout",
|
|
14501
|
+
"type": {
|
|
14502
|
+
"text": "'row'"
|
|
14503
|
+
},
|
|
14504
|
+
"description": "`row`: a setting's row — the name and its hint on the left, the control on the right; stacked\nagain when the field itself is narrower than 35rem (a phone, a drawer). Left out, the label\nstands above the control.",
|
|
14505
|
+
"attribute": "layout",
|
|
14506
|
+
"reflects": true,
|
|
14507
|
+
"inheritedFrom": {
|
|
14508
|
+
"name": "LintjeInputElement"
|
|
14509
|
+
}
|
|
14510
|
+
},
|
|
14511
|
+
{
|
|
14512
|
+
"kind": "field",
|
|
14513
|
+
"name": "resetLabel",
|
|
14514
|
+
"type": {
|
|
14515
|
+
"text": "string"
|
|
14516
|
+
},
|
|
14517
|
+
"description": "With `modified`: a link under the field (\"Terugzetten naar 2 tot 12\") that sends\n`lintje-reset`. A reader hears the field's `label` after it.",
|
|
14518
|
+
"attribute": "reset-label",
|
|
14519
|
+
"inheritedFrom": {
|
|
14520
|
+
"name": "LintjeInputElement"
|
|
14521
|
+
}
|
|
14522
|
+
},
|
|
14523
|
+
{
|
|
14524
|
+
"kind": "field",
|
|
14525
|
+
"name": "other",
|
|
14526
|
+
"type": {
|
|
14527
|
+
"text": "boolean"
|
|
14528
|
+
},
|
|
14529
|
+
"default": "false",
|
|
14530
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`.",
|
|
14531
|
+
"attribute": "other",
|
|
14532
|
+
"inheritedFrom": {
|
|
14533
|
+
"name": "LintjeChoiceGroupElement"
|
|
14534
|
+
}
|
|
14535
|
+
},
|
|
14536
|
+
{
|
|
14537
|
+
"kind": "field",
|
|
14538
|
+
"name": "otherLabel",
|
|
14539
|
+
"type": {
|
|
14540
|
+
"text": "string"
|
|
14541
|
+
},
|
|
14542
|
+
"default": "'Anders, namelijk'",
|
|
14543
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden.",
|
|
14544
|
+
"attribute": "other-label",
|
|
14545
|
+
"inheritedFrom": {
|
|
14546
|
+
"name": "LintjeChoiceGroupElement"
|
|
14547
|
+
}
|
|
14548
|
+
},
|
|
14549
|
+
{
|
|
14550
|
+
"kind": "field",
|
|
14551
|
+
"name": "otherText",
|
|
14552
|
+
"type": {
|
|
14553
|
+
"text": "string"
|
|
14554
|
+
},
|
|
14555
|
+
"default": "''",
|
|
14556
|
+
"description": "What the reader typed under \"Anders\". It changes when the field commits (leaving it, Enter)\nand stays when \"Anders\" goes. A property, not an attribute: a server-rendered page sets it as\ndata.",
|
|
14557
|
+
"inheritedFrom": {
|
|
14558
|
+
"name": "LintjeChoiceGroupElement"
|
|
13628
14559
|
}
|
|
13629
14560
|
},
|
|
13630
14561
|
{
|
|
13631
14562
|
"kind": "field",
|
|
13632
|
-
"name": "
|
|
14563
|
+
"name": "otherPlaceholder",
|
|
13633
14564
|
"type": {
|
|
13634
|
-
"text": "
|
|
14565
|
+
"text": "string"
|
|
13635
14566
|
},
|
|
13636
|
-
"
|
|
13637
|
-
"attribute": "layout",
|
|
13638
|
-
"reflects": true,
|
|
14567
|
+
"attribute": "other-placeholder",
|
|
13639
14568
|
"inheritedFrom": {
|
|
13640
|
-
"name": "
|
|
14569
|
+
"name": "LintjeChoiceGroupElement"
|
|
13641
14570
|
}
|
|
13642
14571
|
},
|
|
13643
14572
|
{
|
|
13644
14573
|
"kind": "field",
|
|
13645
|
-
"name": "
|
|
14574
|
+
"name": "otherError",
|
|
13646
14575
|
"type": {
|
|
13647
14576
|
"text": "string"
|
|
13648
14577
|
},
|
|
13649
|
-
"description": "
|
|
13650
|
-
"attribute": "
|
|
14578
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself.",
|
|
14579
|
+
"attribute": "other-error",
|
|
13651
14580
|
"inheritedFrom": {
|
|
13652
|
-
"name": "
|
|
14581
|
+
"name": "LintjeChoiceGroupElement"
|
|
13653
14582
|
}
|
|
13654
14583
|
},
|
|
13655
14584
|
{
|
|
@@ -13666,7 +14595,8 @@
|
|
|
13666
14595
|
"name": "options",
|
|
13667
14596
|
"type": {
|
|
13668
14597
|
"text": "FilterOption[]"
|
|
13669
|
-
}
|
|
14598
|
+
},
|
|
14599
|
+
"description": "A `description` stands under its label, tied to its radio."
|
|
13670
14600
|
},
|
|
13671
14601
|
{
|
|
13672
14602
|
"kind": "field",
|
|
@@ -13788,6 +14718,39 @@
|
|
|
13788
14718
|
},
|
|
13789
14719
|
"description": "With `modified`: a link under the field (\"Terugzetten naar 2 tot 12\") that sends\n`lintje-reset`. A reader hears the field's `label` after it."
|
|
13790
14720
|
},
|
|
14721
|
+
{
|
|
14722
|
+
"name": "other",
|
|
14723
|
+
"fieldName": "other",
|
|
14724
|
+
"type": {
|
|
14725
|
+
"text": "boolean"
|
|
14726
|
+
},
|
|
14727
|
+
"default": "false",
|
|
14728
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`."
|
|
14729
|
+
},
|
|
14730
|
+
{
|
|
14731
|
+
"name": "other-label",
|
|
14732
|
+
"fieldName": "otherLabel",
|
|
14733
|
+
"type": {
|
|
14734
|
+
"text": "string"
|
|
14735
|
+
},
|
|
14736
|
+
"default": "'Anders, namelijk'",
|
|
14737
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden."
|
|
14738
|
+
},
|
|
14739
|
+
{
|
|
14740
|
+
"name": "other-placeholder",
|
|
14741
|
+
"fieldName": "otherPlaceholder",
|
|
14742
|
+
"type": {
|
|
14743
|
+
"text": "string"
|
|
14744
|
+
}
|
|
14745
|
+
},
|
|
14746
|
+
{
|
|
14747
|
+
"name": "other-error",
|
|
14748
|
+
"fieldName": "otherError",
|
|
14749
|
+
"type": {
|
|
14750
|
+
"text": "string"
|
|
14751
|
+
},
|
|
14752
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself."
|
|
14753
|
+
},
|
|
13791
14754
|
{
|
|
13792
14755
|
"name": "value",
|
|
13793
14756
|
"fieldName": "value",
|
|
@@ -13814,6 +14777,13 @@
|
|
|
13814
14777
|
},
|
|
13815
14778
|
"description": "Not composed: it stops at the shadow root."
|
|
13816
14779
|
},
|
|
14780
|
+
{
|
|
14781
|
+
"name": "lintje-other-change",
|
|
14782
|
+
"type": {
|
|
14783
|
+
"text": "CustomEvent<text>"
|
|
14784
|
+
},
|
|
14785
|
+
"description": "Not composed: it stops at the shadow root."
|
|
14786
|
+
},
|
|
13817
14787
|
{
|
|
13818
14788
|
"name": "lintje-reset",
|
|
13819
14789
|
"type": {
|
|
@@ -13824,7 +14794,7 @@
|
|
|
13824
14794
|
{
|
|
13825
14795
|
"name": "lintje-values-change",
|
|
13826
14796
|
"type": {
|
|
13827
|
-
"text": "CustomEvent<
|
|
14797
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
13828
14798
|
}
|
|
13829
14799
|
}
|
|
13830
14800
|
],
|
|
@@ -14253,6 +15223,13 @@
|
|
|
14253
15223
|
},
|
|
14254
15224
|
"description": "Not composed: it stops at the shadow root."
|
|
14255
15225
|
},
|
|
15226
|
+
{
|
|
15227
|
+
"name": "lintje-other-change",
|
|
15228
|
+
"type": {
|
|
15229
|
+
"text": "CustomEvent<text>"
|
|
15230
|
+
},
|
|
15231
|
+
"description": "Not composed: it stops at the shadow root."
|
|
15232
|
+
},
|
|
14256
15233
|
{
|
|
14257
15234
|
"name": "lintje-reset",
|
|
14258
15235
|
"type": {
|
|
@@ -14263,7 +15240,7 @@
|
|
|
14263
15240
|
{
|
|
14264
15241
|
"name": "lintje-values-change",
|
|
14265
15242
|
"type": {
|
|
14266
|
-
"text": "CustomEvent<
|
|
15243
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
14267
15244
|
}
|
|
14268
15245
|
}
|
|
14269
15246
|
],
|
|
@@ -14638,6 +15615,13 @@
|
|
|
14638
15615
|
},
|
|
14639
15616
|
"description": "Not composed: it stops at the shadow root."
|
|
14640
15617
|
},
|
|
15618
|
+
{
|
|
15619
|
+
"name": "lintje-other-change",
|
|
15620
|
+
"type": {
|
|
15621
|
+
"text": "CustomEvent<text>"
|
|
15622
|
+
},
|
|
15623
|
+
"description": "Not composed: it stops at the shadow root."
|
|
15624
|
+
},
|
|
14641
15625
|
{
|
|
14642
15626
|
"name": "lintje-reset",
|
|
14643
15627
|
"type": {
|
|
@@ -14648,7 +15632,7 @@
|
|
|
14648
15632
|
{
|
|
14649
15633
|
"name": "lintje-values-change",
|
|
14650
15634
|
"type": {
|
|
14651
|
-
"text": "CustomEvent<
|
|
15635
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
14652
15636
|
}
|
|
14653
15637
|
}
|
|
14654
15638
|
],
|
|
@@ -15025,6 +16009,13 @@
|
|
|
15025
16009
|
},
|
|
15026
16010
|
"description": "Not composed: it stops at the shadow root."
|
|
15027
16011
|
},
|
|
16012
|
+
{
|
|
16013
|
+
"name": "lintje-other-change",
|
|
16014
|
+
"type": {
|
|
16015
|
+
"text": "CustomEvent<text>"
|
|
16016
|
+
},
|
|
16017
|
+
"description": "Not composed: it stops at the shadow root."
|
|
16018
|
+
},
|
|
15028
16019
|
{
|
|
15029
16020
|
"name": "lintje-reset",
|
|
15030
16021
|
"type": {
|
|
@@ -15035,7 +16026,7 @@
|
|
|
15035
16026
|
{
|
|
15036
16027
|
"name": "lintje-values-change",
|
|
15037
16028
|
"type": {
|
|
15038
|
-
"text": "CustomEvent<
|
|
16029
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
15039
16030
|
}
|
|
15040
16031
|
}
|
|
15041
16032
|
],
|
|
@@ -15375,6 +16366,13 @@
|
|
|
15375
16366
|
},
|
|
15376
16367
|
"description": "Not composed: it stops at the shadow root."
|
|
15377
16368
|
},
|
|
16369
|
+
{
|
|
16370
|
+
"name": "lintje-other-change",
|
|
16371
|
+
"type": {
|
|
16372
|
+
"text": "CustomEvent<text>"
|
|
16373
|
+
},
|
|
16374
|
+
"description": "Not composed: it stops at the shadow root."
|
|
16375
|
+
},
|
|
15378
16376
|
{
|
|
15379
16377
|
"name": "lintje-reset",
|
|
15380
16378
|
"type": {
|
|
@@ -15385,7 +16383,7 @@
|
|
|
15385
16383
|
{
|
|
15386
16384
|
"name": "lintje-values-change",
|
|
15387
16385
|
"type": {
|
|
15388
|
-
"text": "CustomEvent<
|
|
16386
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
15389
16387
|
}
|
|
15390
16388
|
}
|
|
15391
16389
|
],
|
|
@@ -15750,6 +16748,13 @@
|
|
|
15750
16748
|
},
|
|
15751
16749
|
"description": "Not composed: it stops at the shadow root."
|
|
15752
16750
|
},
|
|
16751
|
+
{
|
|
16752
|
+
"name": "lintje-other-change",
|
|
16753
|
+
"type": {
|
|
16754
|
+
"text": "CustomEvent<text>"
|
|
16755
|
+
},
|
|
16756
|
+
"description": "Not composed: it stops at the shadow root."
|
|
16757
|
+
},
|
|
15753
16758
|
{
|
|
15754
16759
|
"name": "lintje-reset",
|
|
15755
16760
|
"type": {
|
|
@@ -15760,7 +16765,7 @@
|
|
|
15760
16765
|
{
|
|
15761
16766
|
"name": "lintje-values-change",
|
|
15762
16767
|
"type": {
|
|
15763
|
-
"text": "CustomEvent<
|
|
16768
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
15764
16769
|
}
|
|
15765
16770
|
}
|
|
15766
16771
|
],
|
|
@@ -16093,6 +17098,13 @@
|
|
|
16093
17098
|
},
|
|
16094
17099
|
"description": "Not composed: it stops at the shadow root."
|
|
16095
17100
|
},
|
|
17101
|
+
{
|
|
17102
|
+
"name": "lintje-other-change",
|
|
17103
|
+
"type": {
|
|
17104
|
+
"text": "CustomEvent<text>"
|
|
17105
|
+
},
|
|
17106
|
+
"description": "Not composed: it stops at the shadow root."
|
|
17107
|
+
},
|
|
16096
17108
|
{
|
|
16097
17109
|
"name": "lintje-reset",
|
|
16098
17110
|
"type": {
|
|
@@ -16103,7 +17115,7 @@
|
|
|
16103
17115
|
{
|
|
16104
17116
|
"name": "lintje-values-change",
|
|
16105
17117
|
"type": {
|
|
16106
|
-
"text": "CustomEvent<
|
|
17118
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
16107
17119
|
}
|
|
16108
17120
|
}
|
|
16109
17121
|
],
|
|
@@ -16134,7 +17146,7 @@
|
|
|
16134
17146
|
"name": "LintjeTextInput",
|
|
16135
17147
|
"tagName": "lintje-text-input",
|
|
16136
17148
|
"customElement": true,
|
|
16137
|
-
"description": "`<lintje-text-input>` — a text field: text, search, password or email.\n\nIt checks nothing itself: the host sets `error`. It commits on `change` (leaving the field,\nEnter), since every commit is a URL change and a tile reload, and never commits the same value\ntwice.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a `name`),\n`lintje-reset` (the reset link was pressed).",
|
|
17149
|
+
"description": "`<lintje-text-input>` — a text field: text, search, password or email.\n\nIt checks nothing itself: the host sets `error`. It commits on `change` (leaving the field,\nEnter), since every commit is a URL change and a tile reload, and never commits the same value\ntwice.\n\nA fixed text may stand before or after the input (`prefix`, `suffix`) and one button at the end\n(`action`). A password ignores `action`: its end holds Tonen.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a `name`),\n`lintje-reset` (the reset link was pressed), `lintje-action` `string` (the button was pressed,\nafter the typed text was committed).",
|
|
16138
17150
|
"superclass": {
|
|
16139
17151
|
"name": "LintjeFormInputElement"
|
|
16140
17152
|
},
|
|
@@ -16380,6 +17392,34 @@
|
|
|
16380
17392
|
"default": "''",
|
|
16381
17393
|
"description": "Passed to the native input as is.",
|
|
16382
17394
|
"attribute": "autocomplete"
|
|
17395
|
+
},
|
|
17396
|
+
{
|
|
17397
|
+
"kind": "field",
|
|
17398
|
+
"name": "prefix",
|
|
17399
|
+
"type": {
|
|
17400
|
+
"text": "string | null"
|
|
17401
|
+
},
|
|
17402
|
+
"default": "null",
|
|
17403
|
+
"description": "The fixed text before the input, as written (\"€\", \"www.\"); never part of `value`.",
|
|
17404
|
+
"attribute": "prefix"
|
|
17405
|
+
},
|
|
17406
|
+
{
|
|
17407
|
+
"kind": "field",
|
|
17408
|
+
"name": "suffix",
|
|
17409
|
+
"type": {
|
|
17410
|
+
"text": "string"
|
|
17411
|
+
},
|
|
17412
|
+
"description": "The fixed text after the input (\".nl\", \"@rijksoverheid.nl\"); never part of `value`.",
|
|
17413
|
+
"attribute": "suffix"
|
|
17414
|
+
},
|
|
17415
|
+
{
|
|
17416
|
+
"kind": "field",
|
|
17417
|
+
"name": "action",
|
|
17418
|
+
"type": {
|
|
17419
|
+
"text": "string"
|
|
17420
|
+
},
|
|
17421
|
+
"description": "The word on the button at the end (\"Zoek\"). A press commits the typed text as Enter does,\nthen sends `lintje-action`; it works when `readonly`. Ignored for a password.",
|
|
17422
|
+
"attribute": "action"
|
|
16383
17423
|
}
|
|
16384
17424
|
],
|
|
16385
17425
|
"methods": [],
|
|
@@ -16554,9 +17594,40 @@
|
|
|
16554
17594
|
},
|
|
16555
17595
|
"default": "''",
|
|
16556
17596
|
"description": "Passed to the native input as is."
|
|
17597
|
+
},
|
|
17598
|
+
{
|
|
17599
|
+
"name": "prefix",
|
|
17600
|
+
"fieldName": "prefix",
|
|
17601
|
+
"type": {
|
|
17602
|
+
"text": "string | null"
|
|
17603
|
+
},
|
|
17604
|
+
"default": "null",
|
|
17605
|
+
"description": "The fixed text before the input, as written (\"€\", \"www.\"); never part of `value`."
|
|
17606
|
+
},
|
|
17607
|
+
{
|
|
17608
|
+
"name": "suffix",
|
|
17609
|
+
"fieldName": "suffix",
|
|
17610
|
+
"type": {
|
|
17611
|
+
"text": "string"
|
|
17612
|
+
},
|
|
17613
|
+
"description": "The fixed text after the input (\".nl\", \"@rijksoverheid.nl\"); never part of `value`."
|
|
17614
|
+
},
|
|
17615
|
+
{
|
|
17616
|
+
"name": "action",
|
|
17617
|
+
"fieldName": "action",
|
|
17618
|
+
"type": {
|
|
17619
|
+
"text": "string"
|
|
17620
|
+
},
|
|
17621
|
+
"description": "The word on the button at the end (\"Zoek\"). A press commits the typed text as Enter does,\nthen sends `lintje-action`; it works when `readonly`. Ignored for a password."
|
|
16557
17622
|
}
|
|
16558
17623
|
],
|
|
16559
17624
|
"events": [
|
|
17625
|
+
{
|
|
17626
|
+
"name": "lintje-action",
|
|
17627
|
+
"type": {
|
|
17628
|
+
"text": "CustomEvent<this.value>"
|
|
17629
|
+
}
|
|
17630
|
+
},
|
|
16560
17631
|
{
|
|
16561
17632
|
"name": "lintje-change",
|
|
16562
17633
|
"type": {
|
|
@@ -16564,6 +17635,13 @@
|
|
|
16564
17635
|
},
|
|
16565
17636
|
"description": "Not composed: it stops at the shadow root."
|
|
16566
17637
|
},
|
|
17638
|
+
{
|
|
17639
|
+
"name": "lintje-other-change",
|
|
17640
|
+
"type": {
|
|
17641
|
+
"text": "CustomEvent<text>"
|
|
17642
|
+
},
|
|
17643
|
+
"description": "Not composed: it stops at the shadow root."
|
|
17644
|
+
},
|
|
16567
17645
|
{
|
|
16568
17646
|
"name": "lintje-reset",
|
|
16569
17647
|
"type": {
|
|
@@ -16574,7 +17652,7 @@
|
|
|
16574
17652
|
{
|
|
16575
17653
|
"name": "lintje-values-change",
|
|
16576
17654
|
"type": {
|
|
16577
|
-
"text": "CustomEvent<
|
|
17655
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
16578
17656
|
}
|
|
16579
17657
|
}
|
|
16580
17658
|
],
|
|
@@ -16604,7 +17682,7 @@
|
|
|
16604
17682
|
"name": "LintjeTextarea",
|
|
16605
17683
|
"tagName": "lintje-textarea",
|
|
16606
17684
|
"customElement": true,
|
|
16607
|
-
"description": "`<lintje-textarea>` — the multi-line text field: three to twelve lines, with a counter when\nthere is a `maxlength`.\n\nIt commits like `lintje-text-input`; Ctrl+Enter commits and submits a host's form. Typing past\nthe limit is allowed, so a paste lands whole: the field shows the error. The counter is
|
|
17685
|
+
"description": "`<lintje-textarea>` — the multi-line text field: three to twelve lines, with a counter when\nthere is a `maxlength`.\n\nIt commits like `lintje-text-input`; Ctrl+Enter commits and submits a host's form. Typing past\nthe limit is allowed, so a paste lands whole: the field shows the error. The counter stands\nright on the line of the hint or the error, and drops under it, still right, where the two do\nnot fit side by side. It is `part=\"counter\"`, so a surface can stand it on its own line.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a `name`),\n`lintje-reset` (the reset link was pressed).",
|
|
16608
17686
|
"superclass": {
|
|
16609
17687
|
"name": "LintjeFormInputElement"
|
|
16610
17688
|
},
|
|
@@ -17035,6 +18113,13 @@
|
|
|
17035
18113
|
},
|
|
17036
18114
|
"description": "Not composed: it stops at the shadow root."
|
|
17037
18115
|
},
|
|
18116
|
+
{
|
|
18117
|
+
"name": "lintje-other-change",
|
|
18118
|
+
"type": {
|
|
18119
|
+
"text": "CustomEvent<text>"
|
|
18120
|
+
},
|
|
18121
|
+
"description": "Not composed: it stops at the shadow root."
|
|
18122
|
+
},
|
|
17038
18123
|
{
|
|
17039
18124
|
"name": "lintje-reset",
|
|
17040
18125
|
"type": {
|
|
@@ -17045,7 +18130,7 @@
|
|
|
17045
18130
|
{
|
|
17046
18131
|
"name": "lintje-values-change",
|
|
17047
18132
|
"type": {
|
|
17048
|
-
"text": "CustomEvent<
|
|
18133
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
17049
18134
|
}
|
|
17050
18135
|
}
|
|
17051
18136
|
],
|
|
@@ -17484,6 +18569,13 @@
|
|
|
17484
18569
|
},
|
|
17485
18570
|
"description": "Not composed: it stops at the shadow root."
|
|
17486
18571
|
},
|
|
18572
|
+
{
|
|
18573
|
+
"name": "lintje-other-change",
|
|
18574
|
+
"type": {
|
|
18575
|
+
"text": "CustomEvent<text>"
|
|
18576
|
+
},
|
|
18577
|
+
"description": "Not composed: it stops at the shadow root."
|
|
18578
|
+
},
|
|
17487
18579
|
{
|
|
17488
18580
|
"name": "lintje-reset",
|
|
17489
18581
|
"type": {
|
|
@@ -17494,7 +18586,7 @@
|
|
|
17494
18586
|
{
|
|
17495
18587
|
"name": "lintje-values-change",
|
|
17496
18588
|
"type": {
|
|
17497
|
-
"text": "CustomEvent<
|
|
18589
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
17498
18590
|
}
|
|
17499
18591
|
}
|
|
17500
18592
|
],
|
|
@@ -17828,6 +18920,13 @@
|
|
|
17828
18920
|
},
|
|
17829
18921
|
"description": "Not composed: it stops at the shadow root."
|
|
17830
18922
|
},
|
|
18923
|
+
{
|
|
18924
|
+
"name": "lintje-other-change",
|
|
18925
|
+
"type": {
|
|
18926
|
+
"text": "CustomEvent<text>"
|
|
18927
|
+
},
|
|
18928
|
+
"description": "Not composed: it stops at the shadow root."
|
|
18929
|
+
},
|
|
17831
18930
|
{
|
|
17832
18931
|
"name": "lintje-reset",
|
|
17833
18932
|
"type": {
|
|
@@ -17838,7 +18937,7 @@
|
|
|
17838
18937
|
{
|
|
17839
18938
|
"name": "lintje-values-change",
|
|
17840
18939
|
"type": {
|
|
17841
|
-
"text": "CustomEvent<
|
|
18940
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
17842
18941
|
}
|
|
17843
18942
|
}
|
|
17844
18943
|
],
|
|
@@ -17849,10 +18948,124 @@
|
|
|
17849
18948
|
"exports": [
|
|
17850
18949
|
{
|
|
17851
18950
|
"kind": "custom-element-definition",
|
|
17852
|
-
"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",
|
|
17853
19066
|
"declaration": {
|
|
17854
|
-
"name": "
|
|
17855
|
-
"module": "src/components/
|
|
19067
|
+
"name": "LintjeAccordion",
|
|
19068
|
+
"module": "src/components/layout/accordion/accordion.ts"
|
|
17856
19069
|
}
|
|
17857
19070
|
}
|
|
17858
19071
|
]
|
|
@@ -17866,7 +19079,7 @@
|
|
|
17866
19079
|
"name": "LintjeExpander",
|
|
17867
19080
|
"tagName": "lintje-expander",
|
|
17868
19081
|
"customElement": true,
|
|
17869
|
-
"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).",
|
|
17870
19083
|
"superclass": {
|
|
17871
19084
|
"name": "LintjeGridItemElement"
|
|
17872
19085
|
},
|
|
@@ -17963,6 +19176,15 @@
|
|
|
17963
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.",
|
|
17964
19177
|
"attribute": "columns",
|
|
17965
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"
|
|
17966
19188
|
}
|
|
17967
19189
|
],
|
|
17968
19190
|
"methods": [],
|
|
@@ -18039,6 +19261,14 @@
|
|
|
18039
19261
|
},
|
|
18040
19262
|
"default": "false",
|
|
18041
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."
|
|
18042
19272
|
}
|
|
18043
19273
|
],
|
|
18044
19274
|
"events": [
|
|
@@ -19589,7 +20819,7 @@
|
|
|
19589
20819
|
"kind": "field",
|
|
19590
20820
|
"name": "placement",
|
|
19591
20821
|
"type": {
|
|
19592
|
-
"text": "
|
|
20822
|
+
"text": "Placement"
|
|
19593
20823
|
},
|
|
19594
20824
|
"default": "'bottom-start'",
|
|
19595
20825
|
"attribute": "placement"
|
|
@@ -19627,6 +20857,14 @@
|
|
|
19627
20857
|
"text": "Element | null"
|
|
19628
20858
|
},
|
|
19629
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."
|
|
19630
20868
|
}
|
|
19631
20869
|
],
|
|
19632
20870
|
"methods": [],
|
|
@@ -19651,7 +20889,7 @@
|
|
|
19651
20889
|
"name": "placement",
|
|
19652
20890
|
"fieldName": "placement",
|
|
19653
20891
|
"type": {
|
|
19654
|
-
"text": "
|
|
20892
|
+
"text": "Placement"
|
|
19655
20893
|
},
|
|
19656
20894
|
"default": "'bottom-start'"
|
|
19657
20895
|
},
|
|
@@ -20035,7 +21273,8 @@
|
|
|
20035
21273
|
"events": [],
|
|
20036
21274
|
"slots": [],
|
|
20037
21275
|
"draws": [
|
|
20038
|
-
"lintje-button"
|
|
21276
|
+
"lintje-button",
|
|
21277
|
+
"lintje-person"
|
|
20039
21278
|
]
|
|
20040
21279
|
}
|
|
20041
21280
|
],
|
|
@@ -20404,6 +21643,8 @@
|
|
|
20404
21643
|
"draws": [
|
|
20405
21644
|
"lintje-button",
|
|
20406
21645
|
"lintje-icon-button",
|
|
21646
|
+
"lintje-person",
|
|
21647
|
+
"lintje-person-group",
|
|
20407
21648
|
"lintje-skeleton"
|
|
20408
21649
|
]
|
|
20409
21650
|
}
|
|
@@ -20428,7 +21669,7 @@
|
|
|
20428
21669
|
"name": "LintjeDataTable",
|
|
20429
21670
|
"tagName": "lintje-data-table",
|
|
20430
21671
|
"customElement": true,
|
|
20431
|
-
"description": "`<lintje-data-table>` — the data table, inside a tile; below 768 px a two-column list.\n\nA missing value is a muted dash, never 0. The table never filters, saves or confirms: it shows a\nchange at once, and the host confirms it in the next `data`. Open rows and collapsed groups are\nthe table's own: it sends nothing for them. A row with an `href` goes there after its\n`lintje-row-click` or `lintje-row-open`, which is cancelable: a host that routes itself cancels\nit. A modifier or middle click on such a row opens the `href` in a new tab, without that event.\n\nEvents: `lintje-sort-change` `{ key, direction } | null`, `lintje-row-click`\n`{ id, label, href? }`, `lintje-row-open` `{ id, label, href? }`, `lintje-checked-change`\n`string[]`, `lintje-cell-edit` `{ id, column, value }`, `lintje-row-action`
|
|
21672
|
+
"description": "`<lintje-data-table>` — the data table, inside a tile; below 768 px a two-column list.\n\nA missing value is a muted dash, never 0. The table never filters, saves or confirms: it shows a\nchange at once, and the host confirms it in the next `data`. Open rows and collapsed groups are\nthe table's own: it sends nothing for them. A row with an `href` goes there after its\n`lintje-row-click` or `lintje-row-open`, which is cancelable: a host that routes itself cancels\nit. A modifier or middle click on such a row opens the `href` in a new tab, without that event.\n\nEvents: `lintje-sort-change` `{ key, direction } | null`, `lintje-row-click`\n`{ id, label, href? }`, `lintje-row-open` `{ id, label, href? }`, `lintje-checked-change`\n`string[]`, `lintje-cell-edit` `{ id, column, value }`, `lintje-row-action`\n`{ id, label, action }`, `lintje-bulk-action` `{ ids, action }`, `lintje-filter-change`\n`{ column, value }`, `lintje-columns-change` `{ order, hidden }`.",
|
|
20432
21673
|
"superclass": {
|
|
20433
21674
|
"name": "LintjeContentTileElement"
|
|
20434
21675
|
},
|
|
@@ -20562,7 +21803,7 @@
|
|
|
20562
21803
|
{
|
|
20563
21804
|
"name": "lintje-row-action",
|
|
20564
21805
|
"type": {
|
|
20565
|
-
"text": "CustomEvent<{ id, action }>"
|
|
21806
|
+
"text": "CustomEvent<{ id, label, action }>"
|
|
20566
21807
|
}
|
|
20567
21808
|
},
|
|
20568
21809
|
{
|
|
@@ -20594,6 +21835,7 @@
|
|
|
20594
21835
|
"lintje-empty-state",
|
|
20595
21836
|
"lintje-menu-button",
|
|
20596
21837
|
"lintje-pagination",
|
|
21838
|
+
"lintje-person",
|
|
20597
21839
|
"lintje-popover",
|
|
20598
21840
|
"lintje-sortable-list",
|
|
20599
21841
|
"lintje-spinner",
|
|
@@ -20753,7 +21995,8 @@
|
|
|
20753
21995
|
}
|
|
20754
21996
|
],
|
|
20755
21997
|
"draws": [
|
|
20756
|
-
"lintje-badge"
|
|
21998
|
+
"lintje-badge",
|
|
21999
|
+
"lintje-key"
|
|
20757
22000
|
]
|
|
20758
22001
|
}
|
|
20759
22002
|
],
|
|
@@ -20777,7 +22020,7 @@
|
|
|
20777
22020
|
"name": "LintjeList",
|
|
20778
22021
|
"tagName": "lintje-list",
|
|
20779
22022
|
"customElement": true,
|
|
20780
|
-
"description": "`<lintje-list>` — rows for what needs no columns: title, a muted line, a fact or actions.\n\nIt is also the work list: what someone made or had made, with its kind, state and progress, in\nruns under a moment (\"Vandaag\"). It does not navigate: a plain click on a row is cancelled and\nsent as `lintje-row-click`, and a link row in a menu also sends `lintje-navigate` after its\n`lintje-row-action`. A row with `rename` turns its title into a field in place; the host keeps\nthat state, as for every row.\n\nEvents: `lintje-row-click` `{ id, label, href? }`, `lintje-row-action` `{ id, label,
|
|
22023
|
+
"description": "`<lintje-list>` — rows for what needs no columns: title, a muted line, a fact or actions.\n\nIt is also the work list: what someone made or had made, with its kind, state and progress, in\nruns under a moment (\"Vandaag\"). It does not navigate: a plain click on a row is cancelled and\nsent as `lintje-row-click`, and a link row in a menu also sends `lintje-navigate` after its\n`lintje-row-action`. A row with `rename` turns its title into a field in place; the host keeps\nthat state, as for every row.\n\nEvents: `lintje-row-click` `{ id, label, href? }`, `lintje-row-action` `{ id, label, action }` (a\nchosen menu row or the row's own action), `lintje-row-rename` `{ id, value }`,\n`lintje-row-rename-cancel` `{ id }`.",
|
|
20781
22024
|
"superclass": {
|
|
20782
22025
|
"name": "LintjeElement"
|
|
20783
22026
|
},
|
|
@@ -20884,7 +22127,7 @@
|
|
|
20884
22127
|
{
|
|
20885
22128
|
"name": "lintje-row-action",
|
|
20886
22129
|
"type": {
|
|
20887
|
-
"text": "CustomEvent<{ id, label,
|
|
22130
|
+
"text": "CustomEvent<{ id, label, action }>"
|
|
20888
22131
|
}
|
|
20889
22132
|
},
|
|
20890
22133
|
{
|
|
@@ -20916,6 +22159,7 @@
|
|
|
20916
22159
|
"lintje-button",
|
|
20917
22160
|
"lintje-empty-state",
|
|
20918
22161
|
"lintje-menu-button",
|
|
22162
|
+
"lintje-person",
|
|
20919
22163
|
"lintje-progress-bar",
|
|
20920
22164
|
"lintje-text-input"
|
|
20921
22165
|
]
|
|
@@ -21171,6 +22415,297 @@
|
|
|
21171
22415
|
}
|
|
21172
22416
|
]
|
|
21173
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
|
+
},
|
|
21174
22709
|
{
|
|
21175
22710
|
"kind": "javascript-module",
|
|
21176
22711
|
"path": "src/components/tables/sortable-list/sortable-list.ts",
|