dso-toolkit 35.0.0 → 36.0.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/components/Componenten/description/description.config.yml +0 -20
- package/components/Componenten/description/description.njk +1 -1
- package/components/Voorbeelden/20-Toepassingen/20-Samenwerken/overzicht-samenwerkingen.njk +2 -4
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Mijn Projecten.njk +4 -2
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.njk +12 -11
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Verzoek detail.njk +22 -12
- package/dist/library/@dso-toolkit/core/cjs/dso-alert.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-attachments-counter.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-badge.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-banner.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-date-picker.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-dropdown-menu.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +16 -7
- package/dist/library/@dso-toolkit/core/cjs/dso-helpcenter-panel.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-icon.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +4 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-label.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-controls.cjs.entry.js +22 -19
- package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +36 -24
- package/dist/library/@dso-toolkit/core/cjs/dso-progress-bar.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-progress-indicator.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +8 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-tree-view.cjs.entry.js +9 -9
- package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +4 -4
- package/dist/library/@dso-toolkit/core/cjs/{focus-trap.esm-8d3e3fb6.js → focus-trap.esm-a85643b0.js} +102 -68
- package/dist/library/@dso-toolkit/core/cjs/{index-5ea63531.js → index-dfb4ea62.js} +73 -64
- package/dist/library/@dso-toolkit/core/cjs/index.esm-3520a2a6.js +427 -0
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/alert/alert.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/anchor/anchor.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.css +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/badge/badge.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/button/button.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.css +6 -6
- package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.stories.js +5 -7
- package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/definition-list/definition-list.template.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/dropdown-menu/dropdown-menu.stories.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/dropdown-menu/dropdown-menu.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/header/header.js +38 -9
- package/dist/library/@dso-toolkit/core/collection/components/header/header.template.js +4 -2
- package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.template.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.template.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/icon/icon.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/label/label.template.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/list/list.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.js +17 -19
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.stories.js +4 -6
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/get-node-name.function.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +2 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/fallback.node.js +2 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +15 -15
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +9 -5
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +76 -23
- package/dist/library/@dso-toolkit/core/collection/components/progress-bar/progress-bar.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/progress-indicator/progress-indicator.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.css +7 -1
- package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/toggletip/toggletip.template.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.css +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.template.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/tree-view/tree-item.js +7 -7
- package/dist/library/@dso-toolkit/core/collection/components/tree-view/tree-view.css +86 -15
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +2 -2
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +438 -216
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-016ed5a8.entry.js +1 -0
- package/dist/{toolkit/core/p-c6f467b3.entry.js → library/@dso-toolkit/core/dso-toolkit/p-0216f283.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-348414bf.entry.js → p-09bcacd0.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-2b6a3dfa.entry.js → p-117a31fe.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-131d54e3.js +5 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-50b63cf4.entry.js → p-1eeadd3e.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-ad540748.entry.js → p-2279329b.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-258e8371.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-bc14cafd.entry.js → p-3ced438e.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-c54ecae1.entry.js → p-406b179d.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-225bbb28.entry.js → p-4b5f6b4c.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-3b493a2c.entry.js → p-527a85b6.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-94dffa65.entry.js → p-52f159e7.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-dc86d830.entry.js → p-58f5e092.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-5e5fbd41.js +5 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-f0b67246.entry.js → p-639228f6.entry.js} +1 -1
- package/dist/{toolkit/core/p-951f5872.entry.js → library/@dso-toolkit/core/dso-toolkit/p-6a8452bd.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-4e573fc5.entry.js → p-98ef5f8c.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-94b79e43.entry.js → p-a1c9bb35.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-3c4dbd89.entry.js → p-a5008a4e.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-c95108fe.entry.js → p-a59dcbb0.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b06c275a.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b4222d6e.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-dad72605.js → p-b9eb3491.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-bec38cf5.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-ad2210ad.entry.js → p-d0d3ca99.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-5037944e.entry.js → p-d72edd80.entry.js} +1 -1
- package/dist/{toolkit/core/p-1fefbf8c.entry.js → library/@dso-toolkit/core/dso-toolkit/p-e1934ab6.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-alert.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-attachments-counter.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-badge.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-banner.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-date-picker.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-dropdown-menu.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +16 -7
- package/dist/library/@dso-toolkit/core/esm/dso-helpcenter-panel.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-highlight-box.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-icon.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +4 -4
- package/dist/library/@dso-toolkit/core/esm/dso-info-button.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-label.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-controls.entry.js +22 -19
- package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +36 -24
- package/dist/library/@dso-toolkit/core/esm/dso-progress-bar.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-progress-indicator.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-toggletip.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +8 -4
- package/dist/library/@dso-toolkit/core/esm/dso-tree-view.entry.js +9 -9
- package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +4 -4
- package/dist/library/@dso-toolkit/core/esm/{focus-trap.esm-299989f2.js → focus-trap.esm-a01ad6c9.js} +102 -68
- package/dist/library/@dso-toolkit/core/esm/{index-d54cae76.js → index-9ec8c07f.js} +73 -64
- package/dist/library/@dso-toolkit/core/esm/index.esm-45465af7.js +422 -0
- package/dist/library/@dso-toolkit/core/esm/loader.js +2 -2
- package/dist/library/@dso-toolkit/core/types/components/header/header.d.ts +7 -1
- package/dist/library/@dso-toolkit/core/types/components/header/header.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/get-node-name.function.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/noot.node.d.ts +2 -2
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-mapper.d.ts +0 -1
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-context.interface.d.ts +0 -1
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node.interface.d.ts +0 -1
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +0 -1
- package/dist/library/@dso-toolkit/core/types/components.d.ts +3 -2
- package/dist/library/@dso-toolkit/core/types/icon/dso-icon-sass-function.d.ts +1 -1
- package/dist/library/_highlight.js_styles/dark.css +1 -1
- package/dist/library/_highlight.js_styles/default.css +1 -1
- package/dist/library/_highlight.js_styles/felipec.css +7 -0
- package/dist/library/_highlight.js_styles/gradient-dark.css +1 -1
- package/dist/library/_highlight.js_styles/gradient-light.css +1 -1
- package/dist/library/_highlight.js_styles/intellij-light.css +1 -0
- package/dist/library/_highlight.js_styles/tokyo-night-dark.css +8 -0
- package/dist/library/_highlight.js_styles/tokyo-night-light.css +8 -0
- package/dist/library/components/detail/description--default.html +3 -5
- package/dist/library/components/detail/description--expanded.html +3 -5
- package/dist/library/components/detail/description.html +4 -51
- package/dist/library/components/detail/form--autocomplete.html +1 -1
- package/dist/library/components/detail/form--form-horizontal.html +1 -1
- package/dist/library/components/detail/form--form-vertical.html +1 -1
- package/dist/library/components/detail/form--multi-page.html +1 -1
- package/dist/library/components/detail/form--sections.html +1 -1
- package/dist/library/components/detail/form--simple-form.html +1 -1
- package/dist/library/components/detail/form--single-page.html +1 -1
- package/dist/library/components/detail/form.html +1 -1
- package/dist/library/components/detail/mijn-projecten.html +12 -8
- package/dist/library/components/detail/overzicht-samenwerkingen.html +6 -10
- package/dist/library/components/detail/project-overzicht.html +26 -24
- package/dist/library/components/detail/verzoek-detail.html +59 -39
- package/dist/library/components/preview/description.html +0 -50
- package/dist/library/components/preview/mijn-projecten.html +4 -2
- package/dist/library/components/preview/overzicht-samenwerkingen.html +2 -4
- package/dist/library/components/preview/project-overzicht.html +26 -26
- package/dist/library/components/preview/verzoek-detail.html +23 -13
- package/dist/library/components/render/description.html +0 -50
- package/dist/library/components/render/mijn-projecten.html +4 -2
- package/dist/library/components/render/overzicht-samenwerkingen.html +2 -4
- package/dist/library/components/render/project-overzicht.html +12 -11
- package/dist/library/components/render/verzoek-detail.html +23 -13
- package/dist/library/styles/dso.css +79 -57
- package/dist/library/theme/theme.js +8 -3
- package/dist/library/theme/theme.js.map +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -0
- package/dist/toolkit/core/{index.esm.js → packages/core/dist/dso-toolkit/index.esm.js} +0 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-016ed5a8.entry.js +1 -0
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-c6f467b3.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-0216f283.entry.js} +1 -1
- package/dist/toolkit/core/{p-348414bf.entry.js → packages/core/dist/dso-toolkit/p-09bcacd0.entry.js} +1 -1
- package/dist/toolkit/core/{p-2b6a3dfa.entry.js → packages/core/dist/dso-toolkit/p-117a31fe.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-131d54e3.js +5 -0
- package/dist/toolkit/core/{p-1805f5b0.js → packages/core/dist/dso-toolkit/p-1805f5b0.js} +0 -0
- package/dist/toolkit/core/{p-19b890a3.js → packages/core/dist/dso-toolkit/p-19b890a3.js} +0 -0
- package/dist/toolkit/core/{p-50b63cf4.entry.js → packages/core/dist/dso-toolkit/p-1eeadd3e.entry.js} +1 -1
- package/dist/toolkit/core/{p-ad540748.entry.js → packages/core/dist/dso-toolkit/p-2279329b.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-258e8371.entry.js +1 -0
- package/dist/toolkit/core/{p-bc14cafd.entry.js → packages/core/dist/dso-toolkit/p-3ced438e.entry.js} +1 -1
- package/dist/toolkit/core/{p-c54ecae1.entry.js → packages/core/dist/dso-toolkit/p-406b179d.entry.js} +1 -1
- package/dist/toolkit/core/{p-4070c1e5.js → packages/core/dist/dso-toolkit/p-4070c1e5.js} +0 -0
- package/dist/toolkit/core/{p-225bbb28.entry.js → packages/core/dist/dso-toolkit/p-4b5f6b4c.entry.js} +1 -1
- package/dist/toolkit/core/{p-3b493a2c.entry.js → packages/core/dist/dso-toolkit/p-527a85b6.entry.js} +1 -1
- package/dist/toolkit/core/{p-94dffa65.entry.js → packages/core/dist/dso-toolkit/p-52f159e7.entry.js} +1 -1
- package/dist/toolkit/core/{p-dc86d830.entry.js → packages/core/dist/dso-toolkit/p-58f5e092.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-5e5fbd41.js +5 -0
- package/dist/toolkit/core/{p-f0b67246.entry.js → packages/core/dist/dso-toolkit/p-639228f6.entry.js} +1 -1
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-951f5872.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-6a8452bd.entry.js} +1 -1
- package/dist/toolkit/core/{p-7b37bd52.js → packages/core/dist/dso-toolkit/p-7b37bd52.js} +0 -0
- package/dist/toolkit/core/{p-4e573fc5.entry.js → packages/core/dist/dso-toolkit/p-98ef5f8c.entry.js} +1 -1
- package/dist/toolkit/core/{p-94b79e43.entry.js → packages/core/dist/dso-toolkit/p-a1c9bb35.entry.js} +1 -1
- package/dist/toolkit/core/{p-3c4dbd89.entry.js → packages/core/dist/dso-toolkit/p-a5008a4e.entry.js} +1 -1
- package/dist/toolkit/core/{p-c95108fe.entry.js → packages/core/dist/dso-toolkit/p-a59dcbb0.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-b06c275a.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-b4222d6e.entry.js +1 -0
- package/dist/toolkit/core/{p-dad72605.js → packages/core/dist/dso-toolkit/p-b9eb3491.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-bec38cf5.entry.js +1 -0
- package/dist/toolkit/core/{p-ad2210ad.entry.js → packages/core/dist/dso-toolkit/p-d0d3ca99.entry.js} +1 -1
- package/dist/toolkit/core/{p-5037944e.entry.js → packages/core/dist/dso-toolkit/p-d72edd80.entry.js} +1 -1
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-1fefbf8c.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-e1934ab6.entry.js} +1 -1
- package/dist/toolkit/styles/dso.css +79 -57
- package/hydrate/index.js +417 -194
- package/libs/@dso-toolkit/css/src/components/button-row/button-row.scss +20 -0
- package/libs/@dso-toolkit/css/src/components/description/description.scss +1 -10
- package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.scss +1 -1
- package/libs/@dso-toolkit/css/src/dso.scss +1 -0
- package/libs/@dso-toolkit/sources/package.json +3 -3
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.stories.ts +1 -5
- package/libs/@dso-toolkit/sources/src/components/button-row/button-row.args.ts +23 -0
- package/libs/@dso-toolkit/sources/src/components/button-row/button-row.models.ts +5 -0
- package/libs/@dso-toolkit/sources/src/components/button-row/button-row.stories.ts +111 -0
- package/libs/@dso-toolkit/sources/src/components/date-picker/date-picker.stories.ts +3 -8
- package/libs/@dso-toolkit/sources/src/components/description/description.args.ts +1 -15
- package/libs/@dso-toolkit/sources/src/components/description/description.content.ts +2 -13
- package/libs/@dso-toolkit/sources/src/components/description/description.models.ts +0 -1
- package/libs/@dso-toolkit/sources/src/components/description/description.scss +28 -41
- package/libs/@dso-toolkit/sources/src/components/description/description.stories.ts +3 -13
- package/libs/@dso-toolkit/sources/src/components/dropdown-menu/dropdown-menu.scss +1 -1
- package/libs/@dso-toolkit/sources/src/components/header/header.args.ts +15 -1
- package/libs/@dso-toolkit/sources/src/components/header/header.models.ts +13 -1
- package/libs/@dso-toolkit/sources/src/components/header/header.stories.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.stories.ts +2 -3
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.stories.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/selectable/selectable.scss +5 -1
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.scss +1 -1
- package/libs/@dso-toolkit/sources/src/index.ts +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/zindex.scss +25 -5
- package/libs/bootstrap/_forms.scss +1 -1
- package/libs/bootstrap/_input-groups.scss +4 -4
- package/libs/bootstrap/_navbar.scss +2 -2
- package/libs/bootstrap/_popovers.scss +1 -1
- package/package.json +18 -18
- package/reference/render/mijn-projecten.html +8 -6
- package/reference/render/overzicht-samenwerkingen.html +4 -6
- package/reference/render/project-overzicht.html +14 -13
- package/reference/render/verzoek-detail.html +37 -27
- package/src/styles/components/_modal.scss +2 -3
- package/dist/library/@dso-toolkit/core/cjs/index.esm-2ac7081c.js +0 -267
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-44905fb1.js +0 -5
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-88bc5873.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8b6e3abc.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8bf3a60e.js +0 -5
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-a7306b7b.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-daa1e29d.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-f193c258.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/esm/index.esm-a1362957.js +0 -262
- package/dist/library/components/detail/description--note-expanded.html +0 -1480
- package/dist/library/components/detail/description--note.html +0 -1480
- package/dist/library/components/preview/description--note-expanded.html +0 -38
- package/dist/library/components/preview/description--note.html +0 -38
- package/dist/library/components/render/description--note-expanded.html +0 -17
- package/dist/library/components/render/description--note.html +0 -17
- package/dist/toolkit/core/dso-toolkit.css +0 -1
- package/dist/toolkit/core/dso-toolkit.esm.js +0 -1
- package/dist/toolkit/core/p-44905fb1.js +0 -5
- package/dist/toolkit/core/p-88bc5873.entry.js +0 -1
- package/dist/toolkit/core/p-8b6e3abc.entry.js +0 -1
- package/dist/toolkit/core/p-8bf3a60e.js +0 -5
- package/dist/toolkit/core/p-a7306b7b.entry.js +0 -1
- package/dist/toolkit/core/p-daa1e29d.entry.js +0 -1
- package/dist/toolkit/core/p-f193c258.entry.js +0 -1
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
$
|
|
2
|
-
$
|
|
3
|
-
|
|
4
|
-
$
|
|
5
|
-
$
|
|
1
|
+
$zx-viewer-grid-sizing-buttons: -1;
|
|
2
|
+
$zx-viewer-grid-map-panel: 100;
|
|
3
|
+
|
|
4
|
+
$zx-datepicker: 100;
|
|
5
|
+
$zx-datepicker-dialog: 210;
|
|
6
|
+
|
|
7
|
+
$zx-description-open: 100;
|
|
8
|
+
|
|
9
|
+
$zx-selectable: 100;
|
|
10
|
+
$zx-input-group: 101;
|
|
11
|
+
|
|
12
|
+
$zx-form-control-feedback: 101;
|
|
13
|
+
$zx-searchbar-icon: 101;
|
|
14
|
+
|
|
15
|
+
$zx-autosuggest: 200;
|
|
16
|
+
$zx-dropdown-options: 220;
|
|
17
|
+
$zx-tooltip: 410;
|
|
18
|
+
|
|
19
|
+
$zx-nav: 500;
|
|
20
|
+
|
|
21
|
+
$zx-leaflet: 110;
|
|
22
|
+
$zx-popover: 520;
|
|
23
|
+
$zx-modal: 530;
|
|
24
|
+
|
|
25
|
+
$zx-image-overlay: 20;
|
|
@@ -263,7 +263,7 @@ textarea.form-control {
|
|
|
263
263
|
position: absolute;
|
|
264
264
|
top: 0;
|
|
265
265
|
right: 0;
|
|
266
|
-
z-index:
|
|
266
|
+
z-index: $zx-form-control-feedback; // Ensure icon is above input groups
|
|
267
267
|
display: block;
|
|
268
268
|
width: $input-height-base;
|
|
269
269
|
height: $input-height-base;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
// Ensure that the input is always above the *appended* addon button for
|
|
21
21
|
// proper border colors.
|
|
22
22
|
position: relative;
|
|
23
|
-
z-index:
|
|
23
|
+
z-index: $zx-input-group;
|
|
24
24
|
|
|
25
25
|
// IE9 fubars the placeholder attribute in text inputs and the arrows on
|
|
26
26
|
// select elements in input groups. To fix it, we float the input. Details:
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
margin-bottom: 0;
|
|
32
32
|
|
|
33
33
|
&:focus {
|
|
34
|
-
z-index:
|
|
34
|
+
z-index: $zx-input-group + 1;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
&:hover,
|
|
148
148
|
&:focus,
|
|
149
149
|
&:active {
|
|
150
|
-
z-index:
|
|
150
|
+
z-index: $zx-input-group;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
&:last-child {
|
|
162
162
|
> .btn,
|
|
163
163
|
> .btn-group {
|
|
164
|
-
z-index:
|
|
164
|
+
z-index: $zx-input-group;
|
|
165
165
|
margin-left: -1px;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
position: fixed;
|
|
102
102
|
right: 0;
|
|
103
103
|
left: 0;
|
|
104
|
-
z-index: $
|
|
104
|
+
z-index: $zx-nav + 10;
|
|
105
105
|
|
|
106
106
|
// Undo the rounded corners
|
|
107
107
|
@media (min-width: $grid-float-breakpoint) {
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
// Static top (unfixed, but 100% wide) navbar
|
|
149
149
|
.navbar-static-top {
|
|
150
|
-
z-index: $
|
|
150
|
+
z-index: $zx-nav;
|
|
151
151
|
border-width: 0 0 1px;
|
|
152
152
|
|
|
153
153
|
@media (min-width: $grid-float-breakpoint) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dso-toolkit",
|
|
3
3
|
"description": "DSO Toolkit and Component Library",
|
|
4
4
|
"license": "SEE LICENSE IN DISCLAIMER.txt",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "36.0.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "gulp",
|
|
8
8
|
"build": "gulp build",
|
|
@@ -18,36 +18,36 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dso-toolkit.nl/",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babel/core": "^7.
|
|
22
|
-
"@babel/preset-env": "^7.
|
|
23
|
-
"@dso-toolkit/core": "
|
|
21
|
+
"@babel/core": "^7.17.9",
|
|
22
|
+
"@babel/preset-env": "^7.16.11",
|
|
23
|
+
"@dso-toolkit/core": "36.0.0",
|
|
24
24
|
"@dso-toolkit/css": "0.0.0",
|
|
25
25
|
"@dso-toolkit/sources": "0.0.0",
|
|
26
|
-
"@frctl/fractal": "1.5.
|
|
27
|
-
"@frctl/nunjucks": "2.0.
|
|
28
|
-
"@rollup/plugin-babel": "^5.3.
|
|
29
|
-
"@rollup/plugin-commonjs": "^
|
|
30
|
-
"@rollup/plugin-inject": "^4.0.
|
|
31
|
-
"@rollup/plugin-node-resolve": "^13.
|
|
26
|
+
"@frctl/fractal": "1.5.13",
|
|
27
|
+
"@frctl/nunjucks": "2.0.14",
|
|
28
|
+
"@rollup/plugin-babel": "^5.3.1",
|
|
29
|
+
"@rollup/plugin-commonjs": "^22.0.0",
|
|
30
|
+
"@rollup/plugin-inject": "^4.0.4",
|
|
31
|
+
"@rollup/plugin-node-resolve": "^13.2.1",
|
|
32
32
|
"@types/fancy-log": "^1.3.1",
|
|
33
|
-
"@types/prettier": "^2.
|
|
33
|
+
"@types/prettier": "^2.6.0",
|
|
34
34
|
"cheerio": "1.0.0-rc.10",
|
|
35
35
|
"del": "6.0.0",
|
|
36
|
-
"fancy-log": "^
|
|
37
|
-
"fs-extra": "10.
|
|
36
|
+
"fancy-log": "^2.0.0",
|
|
37
|
+
"fs-extra": "10.1.0",
|
|
38
38
|
"gulp": "4.0.2",
|
|
39
39
|
"gulp-filter": "7.0.0",
|
|
40
|
-
"gulp-sass": "5.
|
|
40
|
+
"gulp-sass": "5.1.0",
|
|
41
41
|
"gulp-svgmin": "4.1.0",
|
|
42
42
|
"gulp-tap": "2.0.0",
|
|
43
43
|
"gulp-trim": "1.0.2",
|
|
44
44
|
"hiff": "0.3.1",
|
|
45
|
-
"highlight.js": "^11.
|
|
45
|
+
"highlight.js": "^11.5.1",
|
|
46
46
|
"jquery": "^2.2.4",
|
|
47
47
|
"jquery-pjax": "git+https://github.com/defunkt/jquery-pjax.git",
|
|
48
|
-
"prettier": "^2.
|
|
48
|
+
"prettier": "^2.6.2",
|
|
49
49
|
"pretty": "2.0.0",
|
|
50
|
-
"rollup": "^2.
|
|
51
|
-
"sass": "^1.
|
|
50
|
+
"rollup": "^2.70.2",
|
|
51
|
+
"sass": "^1.50.1"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -51,12 +51,14 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
<div class="dso-context-wrapper">
|
|
53
53
|
<div class="dso-context-label">
|
|
54
|
-
<
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
54
|
+
<div class="dso-button-row">
|
|
55
|
+
<button type="button" class="dso-secondary">
|
|
56
|
+
<dso-icon icon="plus"></dso-icon><span >Nieuw project</span>
|
|
57
|
+
</button>
|
|
58
|
+
<button type="button" class="dso-secondary">
|
|
59
|
+
<dso-icon icon="email"></dso-icon><span >Actiecode invoeren</span>
|
|
60
|
+
</button>
|
|
61
|
+
</div>
|
|
60
62
|
</div>
|
|
61
63
|
<div class="dso-context-container">
|
|
62
64
|
<div class="dso-search-bar">
|
|
@@ -42,12 +42,10 @@
|
|
|
42
42
|
Overzicht samenwerkingen
|
|
43
43
|
</h2>
|
|
44
44
|
</div>
|
|
45
|
-
<div class="dso-
|
|
46
|
-
<
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
</button>
|
|
50
|
-
</div>
|
|
45
|
+
<div class="dso-button-row">
|
|
46
|
+
<button type="button" class="dso-tertiary">
|
|
47
|
+
<dso-icon icon="plus"></dso-icon><span >Samenwerking toevoegen</span>
|
|
48
|
+
</button>
|
|
51
49
|
</div>
|
|
52
50
|
<div class="dso-table-responsive">
|
|
53
51
|
<table class="table">
|
|
@@ -48,13 +48,11 @@
|
|
|
48
48
|
<main>
|
|
49
49
|
<div class="row">
|
|
50
50
|
<div class="col-md-12">
|
|
51
|
-
<
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<div class="row">
|
|
57
|
-
<div class="col-md-12">
|
|
51
|
+
<div class="dso-button-row">
|
|
52
|
+
<a href="#" class="dso-tertiary">
|
|
53
|
+
<dso-icon icon="chevron-left"></dso-icon><span >Bekijk andere projecten</span>
|
|
54
|
+
</a>
|
|
55
|
+
</div>
|
|
58
56
|
<div class="dso-app-heading">
|
|
59
57
|
<h1>Boom kappen in de achtertuin</h1>
|
|
60
58
|
</div>
|
|
@@ -201,14 +199,17 @@
|
|
|
201
199
|
</ul>
|
|
202
200
|
</div>
|
|
203
201
|
</div>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
<div class="row">
|
|
205
|
+
<div class="col-md-12">
|
|
206
|
+
<div class="dso-button-row">
|
|
207
|
+
<a href="#" class="dso-tertiary">
|
|
208
|
+
<dso-icon icon="chevron-left"></dso-icon><span >Bekijk andere projecten</span>
|
|
209
|
+
</a>
|
|
210
210
|
</div>
|
|
211
211
|
</div>
|
|
212
|
+
</div>
|
|
212
213
|
</main>
|
|
213
214
|
<footer>
|
|
214
215
|
<div class="row">
|
|
@@ -48,13 +48,11 @@
|
|
|
48
48
|
<main>
|
|
49
49
|
<div class="row">
|
|
50
50
|
<div class="col-md-12">
|
|
51
|
-
<
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<div class="row">
|
|
57
|
-
<div class="col-md-12">
|
|
51
|
+
<div class="dso-button-row">
|
|
52
|
+
<a href="#" class="dso-tertiary">
|
|
53
|
+
<dso-icon icon="chevron-left"></dso-icon><span >Naar project overzicht</span>
|
|
54
|
+
</a>
|
|
55
|
+
</div>
|
|
58
56
|
<div class="dso-app-heading">
|
|
59
57
|
<h1>Boom kappen in de achtertuin</h1>
|
|
60
58
|
<h2>
|
|
@@ -65,15 +63,17 @@
|
|
|
65
63
|
</div>
|
|
66
64
|
<div class="row">
|
|
67
65
|
<div class="col-md-12">
|
|
68
|
-
<
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
<
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
|
|
66
|
+
<div class="dso-button-row">
|
|
67
|
+
<button type="button" class="dso-secondary">
|
|
68
|
+
<dso-icon icon="pencil"></dso-icon><span >Aanvullen</span>
|
|
69
|
+
</button>
|
|
70
|
+
<button type="button" class="dso-secondary">
|
|
71
|
+
<dso-icon icon="undo"></dso-icon><span >Intrekken</span>
|
|
72
|
+
</button>
|
|
73
|
+
<button type="button" class="dso-secondary">
|
|
74
|
+
<dso-icon icon="trash"></dso-icon><span >Verwijderen</span>
|
|
75
|
+
</button>
|
|
76
|
+
</div>
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
79
79
|
<div class="row">
|
|
@@ -99,18 +99,26 @@
|
|
|
99
99
|
<dd>20220101 00201 002 - 02-01-2022</dd>
|
|
100
100
|
<dd>20220101 00201 002 - 02-01-2022</dd>
|
|
101
101
|
</dl>
|
|
102
|
-
<button type="button" class="dso-secondary">
|
|
103
|
-
<dso-icon icon="download"></dso-icon><span >Download verzoek als PDF</span>
|
|
104
|
-
</button>
|
|
105
102
|
</div>
|
|
106
103
|
</div>
|
|
107
|
-
<
|
|
108
|
-
|
|
104
|
+
<div class="row">
|
|
105
|
+
<div class="col-md-6 col-sm-12">
|
|
106
|
+
<div class="dso-button-row">
|
|
107
|
+
<button type="button" class="dso-secondary">
|
|
108
|
+
<dso-icon icon="download"></dso-icon><span >Download verzoek als PDF</span>
|
|
109
|
+
</button>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
109
113
|
<div class="row">
|
|
110
114
|
<div class="col-md-12">
|
|
111
|
-
<
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
<hr>
|
|
116
|
+
<h3>Bijlagen</h3>
|
|
117
|
+
<div class="dso-button-row">
|
|
118
|
+
<button type="button" class="dso-secondary">
|
|
119
|
+
<dso-icon icon="download"></dso-icon><span >Download alle bijlagen</span>
|
|
120
|
+
</button>
|
|
121
|
+
</div>
|
|
114
122
|
</div>
|
|
115
123
|
</div>
|
|
116
124
|
<div class="row">
|
|
@@ -170,9 +178,11 @@
|
|
|
170
178
|
</div>
|
|
171
179
|
<div class="row">
|
|
172
180
|
<div class="col-md-12">
|
|
173
|
-
<
|
|
174
|
-
<
|
|
175
|
-
|
|
181
|
+
<div class="dso-button-row">
|
|
182
|
+
<a href="#" class="dso-tertiary">
|
|
183
|
+
<dso-icon icon="chevron-left"></dso-icon><span >Naar project overzicht</span>
|
|
184
|
+
</a>
|
|
185
|
+
</div>
|
|
176
186
|
</div>
|
|
177
187
|
</div>
|
|
178
188
|
</main>
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
$dso-modal-z-index: 20;
|
|
2
1
|
$dso-modal-max-width: 640px;
|
|
3
2
|
$dso-modal-max-height: 70vh;
|
|
4
3
|
|
|
@@ -48,7 +47,7 @@ body.dso-modal-open {
|
|
|
48
47
|
position: fixed;
|
|
49
48
|
right: 0;
|
|
50
49
|
top: 0;
|
|
51
|
-
z-index:
|
|
50
|
+
z-index: $zx-modal - 1;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
|
|
@@ -137,7 +136,7 @@ body.dso-modal-open {
|
|
|
137
136
|
position: fixed;
|
|
138
137
|
right: 0;
|
|
139
138
|
top: 0;
|
|
140
|
-
z-index: $
|
|
139
|
+
z-index: $zx-modal;
|
|
141
140
|
|
|
142
141
|
.dso-dialog {
|
|
143
142
|
animation: 1s ease-out 0s 1 slideInFromTop;
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/*!
|
|
4
|
-
* tabbable 5.2.1
|
|
5
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
6
|
-
*/
|
|
7
|
-
var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
|
|
8
|
-
var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
|
|
9
|
-
var matches = typeof Element === 'undefined' ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
10
|
-
|
|
11
|
-
var getCandidates = function getCandidates(el, includeContainer, filter) {
|
|
12
|
-
var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
|
|
13
|
-
|
|
14
|
-
if (includeContainer && matches.call(el, candidateSelector)) {
|
|
15
|
-
candidates.unshift(el);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
candidates = candidates.filter(filter);
|
|
19
|
-
return candidates;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
var isContentEditable = function isContentEditable(node) {
|
|
23
|
-
return node.contentEditable === 'true';
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
var getTabindex = function getTabindex(node) {
|
|
27
|
-
var tabindexAttr = parseInt(node.getAttribute('tabindex'), 10);
|
|
28
|
-
|
|
29
|
-
if (!isNaN(tabindexAttr)) {
|
|
30
|
-
return tabindexAttr;
|
|
31
|
-
} // Browsers do not return `tabIndex` correctly for contentEditable nodes;
|
|
32
|
-
// so if they don't have a tabindex attribute specifically set, assume it's 0.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
if (isContentEditable(node)) {
|
|
36
|
-
return 0;
|
|
37
|
-
} // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
|
|
38
|
-
// `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
|
|
39
|
-
// yet they are still part of the regular tab order; in FF, they get a default
|
|
40
|
-
// `tabIndex` of 0; since Chrome still puts those elements in the regular tab
|
|
41
|
-
// order, consider their tab index to be 0.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
if ((node.nodeName === 'AUDIO' || node.nodeName === 'VIDEO' || node.nodeName === 'DETAILS') && node.getAttribute('tabindex') === null) {
|
|
45
|
-
return 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return node.tabIndex;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
|
|
52
|
-
return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
var isInput = function isInput(node) {
|
|
56
|
-
return node.tagName === 'INPUT';
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
var isHiddenInput = function isHiddenInput(node) {
|
|
60
|
-
return isInput(node) && node.type === 'hidden';
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
var isDetailsWithSummary = function isDetailsWithSummary(node) {
|
|
64
|
-
var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
|
|
65
|
-
return child.tagName === 'SUMMARY';
|
|
66
|
-
});
|
|
67
|
-
return r;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var getCheckedRadio = function getCheckedRadio(nodes, form) {
|
|
71
|
-
for (var i = 0; i < nodes.length; i++) {
|
|
72
|
-
if (nodes[i].checked && nodes[i].form === form) {
|
|
73
|
-
return nodes[i];
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
var isTabbableRadio = function isTabbableRadio(node) {
|
|
79
|
-
if (!node.name) {
|
|
80
|
-
return true;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
var radioScope = node.form || node.ownerDocument;
|
|
84
|
-
|
|
85
|
-
var queryRadios = function queryRadios(name) {
|
|
86
|
-
return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
var radioSet;
|
|
90
|
-
|
|
91
|
-
if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
|
|
92
|
-
radioSet = queryRadios(window.CSS.escape(node.name));
|
|
93
|
-
} else {
|
|
94
|
-
try {
|
|
95
|
-
radioSet = queryRadios(node.name);
|
|
96
|
-
} catch (err) {
|
|
97
|
-
// eslint-disable-next-line no-console
|
|
98
|
-
console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
|
|
99
|
-
return false;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
var checked = getCheckedRadio(radioSet, node.form);
|
|
104
|
-
return !checked || checked === node;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
var isRadio = function isRadio(node) {
|
|
108
|
-
return isInput(node) && node.type === 'radio';
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
var isNonTabbableRadio = function isNonTabbableRadio(node) {
|
|
112
|
-
return isRadio(node) && !isTabbableRadio(node);
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
var isHidden = function isHidden(node, displayCheck) {
|
|
116
|
-
if (getComputedStyle(node).visibility === 'hidden') {
|
|
117
|
-
return true;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
|
|
121
|
-
var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
|
|
122
|
-
|
|
123
|
-
if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
|
|
124
|
-
return true;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (!displayCheck || displayCheck === 'full') {
|
|
128
|
-
while (node) {
|
|
129
|
-
if (getComputedStyle(node).display === 'none') {
|
|
130
|
-
return true;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
node = node.parentElement;
|
|
134
|
-
}
|
|
135
|
-
} else if (displayCheck === 'non-zero-area') {
|
|
136
|
-
var _node$getBoundingClie = node.getBoundingClientRect(),
|
|
137
|
-
width = _node$getBoundingClie.width,
|
|
138
|
-
height = _node$getBoundingClie.height;
|
|
139
|
-
|
|
140
|
-
return width === 0 && height === 0;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
return false;
|
|
144
|
-
}; // form fields (nested) inside a disabled fieldset are not focusable/tabbable
|
|
145
|
-
// unless they are in the _first_ <legend> element of the top-most disabled
|
|
146
|
-
// fieldset
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
|
|
150
|
-
if (isInput(node) || node.tagName === 'SELECT' || node.tagName === 'TEXTAREA' || node.tagName === 'BUTTON') {
|
|
151
|
-
var parentNode = node.parentElement;
|
|
152
|
-
|
|
153
|
-
while (parentNode) {
|
|
154
|
-
if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
|
|
155
|
-
// look for the first <legend> as an immediate child of the disabled
|
|
156
|
-
// <fieldset>: if the node is in that legend, it'll be enabled even
|
|
157
|
-
// though the fieldset is disabled; otherwise, the node is in a
|
|
158
|
-
// secondary/subsequent legend, or somewhere else within the fieldset
|
|
159
|
-
// (however deep nested) and it'll be disabled
|
|
160
|
-
for (var i = 0; i < parentNode.children.length; i++) {
|
|
161
|
-
var child = parentNode.children.item(i);
|
|
162
|
-
|
|
163
|
-
if (child.tagName === 'LEGEND') {
|
|
164
|
-
if (child.contains(node)) {
|
|
165
|
-
return false;
|
|
166
|
-
} // the node isn't in the first legend (in doc order), so no matter
|
|
167
|
-
// where it is now, it'll be disabled
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
return true;
|
|
171
|
-
}
|
|
172
|
-
} // the node isn't in a legend, so no matter where it is now, it'll be disabled
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
return true;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
parentNode = parentNode.parentElement;
|
|
179
|
-
}
|
|
180
|
-
} // else, node's tabbable/focusable state should not be affected by a fieldset's
|
|
181
|
-
// enabled/disabled state
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
return false;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
|
|
188
|
-
if (node.disabled || isHiddenInput(node) || isHidden(node, options.displayCheck) || // For a details element with a summary, the summary element gets the focus
|
|
189
|
-
isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
|
|
190
|
-
return false;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
return true;
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
|
|
197
|
-
if (!isNodeMatchingSelectorFocusable(options, node) || isNonTabbableRadio(node) || getTabindex(node) < 0) {
|
|
198
|
-
return false;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
return true;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
var tabbable = function tabbable(el, options) {
|
|
205
|
-
options = options || {};
|
|
206
|
-
var regularTabbables = [];
|
|
207
|
-
var orderedTabbables = [];
|
|
208
|
-
var candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
|
|
209
|
-
candidates.forEach(function (candidate, i) {
|
|
210
|
-
var candidateTabindex = getTabindex(candidate);
|
|
211
|
-
|
|
212
|
-
if (candidateTabindex === 0) {
|
|
213
|
-
regularTabbables.push(candidate);
|
|
214
|
-
} else {
|
|
215
|
-
orderedTabbables.push({
|
|
216
|
-
documentOrder: i,
|
|
217
|
-
tabIndex: candidateTabindex,
|
|
218
|
-
node: candidate
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
var tabbableNodes = orderedTabbables.sort(sortOrderedTabbables).map(function (a) {
|
|
223
|
-
return a.node;
|
|
224
|
-
}).concat(regularTabbables);
|
|
225
|
-
return tabbableNodes;
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
var focusable = function focusable(el, options) {
|
|
229
|
-
options = options || {};
|
|
230
|
-
var candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
|
|
231
|
-
return candidates;
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
var isTabbable = function isTabbable(node, options) {
|
|
235
|
-
options = options || {};
|
|
236
|
-
|
|
237
|
-
if (!node) {
|
|
238
|
-
throw new Error('No node provided');
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
if (matches.call(node, candidateSelector) === false) {
|
|
242
|
-
return false;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
return isNodeMatchingSelectorTabbable(options, node);
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
|
|
249
|
-
|
|
250
|
-
var isFocusable = function isFocusable(node, options) {
|
|
251
|
-
options = options || {};
|
|
252
|
-
|
|
253
|
-
if (!node) {
|
|
254
|
-
throw new Error('No node provided');
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
if (matches.call(node, focusableCandidateSelector) === false) {
|
|
258
|
-
return false;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
return isNodeMatchingSelectorFocusable(options, node);
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
exports.focusable = focusable;
|
|
265
|
-
exports.isFocusable = isFocusable;
|
|
266
|
-
exports.isTabbable = isTabbable;
|
|
267
|
-
exports.tabbable = tabbable;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{t as n,f as t,i as e,a as r}from"./p-8bf3a60e.js";
|
|
2
|
-
/*!
|
|
3
|
-
* focus-trap 6.7.3
|
|
4
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
5
|
-
*/function o(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function u(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var i,a=(i=[],{activateTrap:function(n){if(i.length>0){var t=i[i.length-1];t!==n&&t.pause()}var e=i.indexOf(n);-1===e||i.splice(e,1),i.push(n)},deactivateTrap:function(n){var t=i.indexOf(n);-1!==t&&i.splice(t,1),i.length>0&&i[i.length-1].unpause()}}),c=function(n){return setTimeout(n,0)},f=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},s=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},v=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},l=function(i,l){var b,d=(null==l?void 0:l.document)||document,p=function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?o(Object(e),!0).forEach((function(t){u(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},l),h={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},w=function(n,t,e){return n&&void 0!==n[t]?n[t]:p[e||t]},m=function(n){return!(!n||!h.containers.some((function(t){return t.contains(n)})))},F=function(n){var t=p[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=d.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return u},O=function(){var n=F("initialFocus");if(!1===n)return!1;if(void 0===n)if(m(d.activeElement))n=d.activeElement;else{var t=h.tabbableGroups[0];n=t&&t.firstTabbableNode||F("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},j=function(){if(h.tabbableGroups=h.containers.map((function(r){var o=n(r),u=t(r);if(o.length>0)return{container:r,firstTabbableNode:o[0],lastTabbableNode:o[o.length-1],nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(t){return t===n}));return t?u.slice(r+1).find((function(n){return e(n)})):u.slice(0,r).reverse().find((function(n){return e(n)}))}}})).filter((function(n){return!!n})),h.tabbableGroups.length<=0&&!F("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},y=function n(t){!1!==t&&t!==d.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!p.preventScroll}),h.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(O()))},k=function(n){var t=F("setReturnFocus",n);return t||!1!==t&&n},T=function(n){var t=v(n);m(t)||(s(p.clickOutsideDeactivates,n)?b.deactivate({returnFocus:p.returnFocusOnDeactivate&&!r(t)}):s(p.allowOutsideClick,n)||n.preventDefault())},E=function(n){var t=v(n),e=m(t);e||t instanceof Document?e&&(h.mostRecentlyFocusedNode=t):(n.stopImmediatePropagation(),y(h.mostRecentlyFocusedNode||O()))},D=function(n){if(function(n){return"Escape"===n.key||"Esc"===n.key||27===n.keyCode}(n)&&!1!==s(p.escapeDeactivates,n))return n.preventDefault(),void b.deactivate();(function(n){return"Tab"===n.key||9===n.keyCode})(n)&&function(n){var t=v(n);j();var o=null;if(h.tabbableGroups.length>0){var u=f(h.tabbableGroups,(function(n){return n.container.contains(t)})),i=u>=0?h.tabbableGroups[u]:void 0;if(u<0)o=n.shiftKey?h.tabbableGroups[h.tabbableGroups.length-1].lastTabbableNode:h.tabbableGroups[0].firstTabbableNode;else if(n.shiftKey){var a=f(h.tabbableGroups,(function(n){return t===n.firstTabbableNode}));a<0&&(i.container===t||r(t)&&!e(t)&&!i.nextTabbableNode(t,!1))&&(a=u),a>=0&&(o=h.tabbableGroups[0===a?h.tabbableGroups.length-1:a-1].lastTabbableNode)}else{var c=f(h.tabbableGroups,(function(n){return t===n.lastTabbableNode}));c<0&&(i.container===t||r(t)&&!e(t)&&!i.nextTabbableNode(t))&&(c=u),c>=0&&(o=h.tabbableGroups[c===h.tabbableGroups.length-1?0:c+1].firstTabbableNode)}}else o=F("fallbackFocus");o&&(n.preventDefault(),y(o))}(n)},A=function(n){if(!s(p.clickOutsideDeactivates,n)){var t=v(n);m(t)||s(p.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())}},N=function(){if(h.active)return a.activateTrap(b),h.delayInitialFocusTimer=p.delayInitialFocus?c((function(){y(O())})):y(O()),d.addEventListener("focusin",E,!0),d.addEventListener("mousedown",T,{capture:!0,passive:!1}),d.addEventListener("touchstart",T,{capture:!0,passive:!1}),d.addEventListener("click",A,{capture:!0,passive:!1}),d.addEventListener("keydown",D,{capture:!0,passive:!1}),b},g=function(){if(h.active)return d.removeEventListener("focusin",E,!0),d.removeEventListener("mousedown",T,!0),d.removeEventListener("touchstart",T,!0),d.removeEventListener("click",A,!0),d.removeEventListener("keydown",D,!0),b};return(b={activate:function(n){if(h.active)return this;var t=w(n,"onActivate"),e=w(n,"onPostActivate"),r=w(n,"checkCanFocusTrap");r||j(),h.active=!0,h.paused=!1,h.nodeFocusedBeforeActivation=d.activeElement,t&&t();var o=function(){r&&j(),N(),e&&e()};return r?(r(h.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!h.active)return this;clearTimeout(h.delayInitialFocusTimer),h.delayInitialFocusTimer=void 0,g(),h.active=!1,h.paused=!1,a.deactivateTrap(b);var t=w(n,"onDeactivate"),e=w(n,"onPostDeactivate"),r=w(n,"checkCanReturnFocus");t&&t();var o=w(n,"returnFocus","returnFocusOnDeactivate"),u=function(){c((function(){o&&y(k(h.nodeFocusedBeforeActivation)),e&&e()}))};return o&&r?(r(k(h.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(){return h.paused||!h.active||(h.paused=!0,g()),this},unpause:function(){return h.paused&&h.active?(h.paused=!1,j(),N(),this):this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return h.containers=t.map((function(n){return"string"==typeof n?d.querySelector(n):n})),h.active&&j(),this}}).updateContainerElements(i),b};export{l as c}
|