dso-toolkit 34.1.0 → 35.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/anchor/anchor.njk +1 -1
- package/components/Componenten/icon/_preview.njk +1 -1
- package/components/Componenten/icon-css/_preview.njk +1 -1
- package/components/Componenten/link-list/link-list.njk +6 -0
- package/components/Voorbeelden/10-Patronen/zoeken-in-lijst-cards.njk +3 -5
- package/components/Voorbeelden/20-Toepassingen/30-Vergunningcheck/resultaat.njk +46 -47
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.config.yml +14 -0
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.njk +21 -22
- package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +5 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +62 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +4 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +281 -423
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +57 -726
- package/dist/library/@dso-toolkit/core/cjs/focus-trap.esm-8d3e3fb6.js +712 -0
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +3 -2
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.js +6 -2
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +21 -13
- package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.template.js +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +263 -0
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.js +72 -0
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.stories.js +11 -0
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.template.js +7 -0
- package/dist/library/@dso-toolkit/core/collection/components/info/info.css +20 -0
- package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js +16 -1
- package/dist/library/@dso-toolkit/core/collection/components/map-overlays/map-overlays.js +16 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +13 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/document.node.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/ext-ref.node.js +15 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/fallback.node.js +10 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/illustratie.node.js +13 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inhoud.node.js +14 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inline.nodes.js +21 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/int-ref.node.js +26 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +27 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +39 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +2 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/index.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-cell.js +25 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-colgroup.js +4 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-rows.js +5 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table.node.js +32 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/text.node.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-context.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +76 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node-context.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node-state.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +15 -7
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +21 -33
- package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.js +25 -1
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +7 -0
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +351 -3
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.js +109 -19
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +75 -4
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.template.js +7 -3
- package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +3088 -3103
- 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-225bbb28.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-3c4dbd89.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-44905fb1.js +5 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-50b63cf4.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8b6e3abc.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-ad540748.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c6f467b3.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-f193c258.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +5 -1
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +58 -0
- package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +4 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +282 -424
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +58 -727
- package/dist/library/@dso-toolkit/core/esm/focus-trap.esm-299989f2.js +710 -0
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.d.ts +15 -1
- package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.d.ts +15 -0
- package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.stories.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.template.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts +7 -2
- package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.d.ts +7 -2
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/al.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/document.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/ext-ref.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/fallback.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/illustratie.node.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/inhoud.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/inline.nodes.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/int-ref.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/noot.node.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/colspec/colspec.interface.d.ts +10 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/index.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-cell.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-rows.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table.node.d.ts +7 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/text.node.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-context.interface.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-mapper.d.ts +12 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-context.interface.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-state.interface.d.ts +3 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node.interface.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +8 -10
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.interfaces.d.ts +2 -2
- package/dist/library/@dso-toolkit/core/types/components/selectable/selectable.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.d.ts +14 -3
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components.d.ts +25 -6
- package/dist/library/components/detail/anchor--default.html +1 -1
- package/dist/library/components/detail/anchor--download.html +1 -1
- package/dist/library/components/detail/anchor--extern.html +1 -1
- package/dist/library/components/detail/anchor--icon.html +1 -1
- package/dist/library/components/detail/anchor--iconlabel.html +1 -1
- package/dist/library/components/detail/anchor--label.html +1 -1
- package/dist/library/components/detail/anchor.html +1 -1
- 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/highlight-box--link-list.html +4 -0
- package/dist/library/components/detail/highlight-box.html +4 -0
- package/dist/library/components/detail/link-list.html +8 -2
- package/dist/library/components/detail/project-overzicht.html +86 -50
- package/dist/library/components/detail/resultaat.html +92 -94
- package/dist/library/components/detail/zoeken-in-lijst-cards.html +6 -10
- package/dist/library/components/preview/404pagina.html +1 -1
- package/dist/library/components/preview/anchor--default.html +1 -1
- package/dist/library/components/preview/anchor--download.html +1 -1
- package/dist/library/components/preview/anchor--extern.html +1 -1
- package/dist/library/components/preview/anchor--icon.html +1 -1
- package/dist/library/components/preview/anchor--iconlabel.html +1 -1
- package/dist/library/components/preview/anchor--label.html +1 -1
- package/dist/library/components/preview/anchor.html +6 -6
- package/dist/library/components/preview/anchors.html +17 -17
- package/dist/library/components/preview/begrippen.html +8 -8
- package/dist/library/components/preview/beheer-basis.html +1 -1
- package/dist/library/components/preview/buttons.html +15 -15
- package/dist/library/components/preview/full-width.html +4 -4
- package/dist/library/components/preview/header.html +1 -1
- package/dist/library/components/preview/icon--air.html +1 -1
- package/dist/library/components/preview/icon--angle-down.html +1 -1
- package/dist/library/components/preview/icon--angle-left.html +1 -1
- package/dist/library/components/preview/icon--angle-right.html +1 -1
- package/dist/library/components/preview/icon--angle-up.html +1 -1
- package/dist/library/components/preview/icon--balloon.html +1 -1
- package/dist/library/components/preview/icon--bars.html +1 -1
- package/dist/library/components/preview/icon--buildings.html +1 -1
- package/dist/library/components/preview/icon--calendar.html +1 -1
- package/dist/library/components/preview/icon--call.html +1 -1
- package/dist/library/components/preview/icon--caret-down.html +1 -1
- package/dist/library/components/preview/icon--check-circle.html +1 -1
- package/dist/library/components/preview/icon--check.html +1 -1
- package/dist/library/components/preview/icon--chevron-down.html +1 -1
- package/dist/library/components/preview/icon--chevron-left.html +1 -1
- package/dist/library/components/preview/icon--chevron-right.html +1 -1
- package/dist/library/components/preview/icon--chevron-up.html +1 -1
- package/dist/library/components/preview/icon--circle-notch.html +1 -1
- package/dist/library/components/preview/icon--clock.html +1 -1
- package/dist/library/components/preview/icon--copy.html +1 -1
- package/dist/library/components/preview/icon--crown.html +1 -1
- package/dist/library/components/preview/icon--cultural.html +1 -1
- package/dist/library/components/preview/icon--document.html +1 -1
- package/dist/library/components/preview/icon--download.html +1 -1
- package/dist/library/components/preview/icon--email.html +1 -1
- package/dist/library/components/preview/icon--energy.html +1 -1
- package/dist/library/components/preview/icon--environment.html +1 -1
- package/dist/library/components/preview/icon--exclamation.html +1 -1
- package/dist/library/components/preview/icon--external-link.html +1 -1
- package/dist/library/components/preview/icon--eye-slash.html +1 -1
- package/dist/library/components/preview/icon--eye.html +1 -1
- package/dist/library/components/preview/icon--filter.html +1 -1
- package/dist/library/components/preview/icon--forbidden.html +1 -1
- package/dist/library/components/preview/icon--health.html +1 -1
- package/dist/library/components/preview/icon--help-active.html +1 -1
- package/dist/library/components/preview/icon--help.html +1 -1
- package/dist/library/components/preview/icon--house.html +1 -1
- package/dist/library/components/preview/icon--info-active.html +1 -1
- package/dist/library/components/preview/icon--info-i.html +1 -1
- package/dist/library/components/preview/icon--info.html +1 -1
- package/dist/library/components/preview/icon--infrastructure.html +1 -1
- package/dist/library/components/preview/icon--label.html +1 -1
- package/dist/library/components/preview/icon--land.html +1 -1
- package/dist/library/components/preview/icon--landscape.html +1 -1
- package/dist/library/components/preview/icon--layers.html +1 -1
- package/dist/library/components/preview/icon--location-outline.html +1 -1
- package/dist/library/components/preview/icon--location-search.html +1 -1
- package/dist/library/components/preview/icon--location.html +1 -1
- package/dist/library/components/preview/icon--lock.html +1 -1
- package/dist/library/components/preview/icon--magnet.html +1 -1
- package/dist/library/components/preview/icon--map-location.html +1 -1
- package/dist/library/components/preview/icon--marker.html +1 -1
- package/dist/library/components/preview/icon--measurement.html +1 -1
- package/dist/library/components/preview/icon--minus-square.html +1 -1
- package/dist/library/components/preview/icon--minus.html +1 -1
- package/dist/library/components/preview/icon--more.html +1 -1
- package/dist/library/components/preview/icon--municipality.html +1 -1
- package/dist/library/components/preview/icon--nature.html +1 -1
- package/dist/library/components/preview/icon--new-window.html +1 -1
- package/dist/library/components/preview/icon--paperclip.html +1 -1
- package/dist/library/components/preview/icon--parking.html +1 -1
- package/dist/library/components/preview/icon--pencil.html +1 -1
- package/dist/library/components/preview/icon--pin-outline.html +1 -1
- package/dist/library/components/preview/icon--pin.html +1 -1
- package/dist/library/components/preview/icon--plus-square.html +1 -1
- package/dist/library/components/preview/icon--plus.html +1 -1
- package/dist/library/components/preview/icon--print.html +1 -1
- package/dist/library/components/preview/icon--procedures.html +1 -1
- package/dist/library/components/preview/icon--redo.html +1 -1
- package/dist/library/components/preview/icon--safety.html +1 -1
- package/dist/library/components/preview/icon--scale.html +1 -1
- package/dist/library/components/preview/icon--search.html +1 -1
- package/dist/library/components/preview/icon--sitemap.html +1 -1
- package/dist/library/components/preview/icon--soil.html +1 -1
- package/dist/library/components/preview/icon--sort-ascending.html +1 -1
- package/dist/library/components/preview/icon--sort-descending.html +1 -1
- package/dist/library/components/preview/icon--sort.html +1 -1
- package/dist/library/components/preview/icon--sound.html +1 -1
- package/dist/library/components/preview/icon--status-danger.html +1 -1
- package/dist/library/components/preview/icon--status-forbidden.html +1 -1
- package/dist/library/components/preview/icon--status-info.html +1 -1
- package/dist/library/components/preview/icon--status-success.html +1 -1
- package/dist/library/components/preview/icon--status-warning.html +1 -1
- package/dist/library/components/preview/icon--table.html +1 -1
- package/dist/library/components/preview/icon--times.html +1 -1
- package/dist/library/components/preview/icon--trash.html +1 -1
- package/dist/library/components/preview/icon--undo.html +1 -1
- package/dist/library/components/preview/icon--user-line.html +1 -1
- package/dist/library/components/preview/icon--user.html +1 -1
- package/dist/library/components/preview/icon--users.html +1 -1
- package/dist/library/components/preview/icon--water.html +1 -1
- package/dist/library/components/preview/icon--wip-wip.html +1 -1
- package/dist/library/components/preview/icon-css--air.html +1 -1
- package/dist/library/components/preview/icon-css--angle-down.html +1 -1
- package/dist/library/components/preview/icon-css--angle-left.html +1 -1
- package/dist/library/components/preview/icon-css--angle-right.html +1 -1
- package/dist/library/components/preview/icon-css--angle-up.html +1 -1
- package/dist/library/components/preview/icon-css--balloon.html +1 -1
- package/dist/library/components/preview/icon-css--bars.html +1 -1
- package/dist/library/components/preview/icon-css--buildings.html +1 -1
- package/dist/library/components/preview/icon-css--calendar.html +1 -1
- package/dist/library/components/preview/icon-css--call.html +1 -1
- package/dist/library/components/preview/icon-css--caret-down.html +1 -1
- package/dist/library/components/preview/icon-css--check-circle.html +1 -1
- package/dist/library/components/preview/icon-css--check.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-down.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-left.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-right.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-up.html +1 -1
- package/dist/library/components/preview/icon-css--circle-notch.html +1 -1
- package/dist/library/components/preview/icon-css--clock.html +1 -1
- package/dist/library/components/preview/icon-css--copy.html +1 -1
- package/dist/library/components/preview/icon-css--crown.html +1 -1
- package/dist/library/components/preview/icon-css--cultural.html +1 -1
- package/dist/library/components/preview/icon-css--document.html +1 -1
- package/dist/library/components/preview/icon-css--download.html +1 -1
- package/dist/library/components/preview/icon-css--email.html +1 -1
- package/dist/library/components/preview/icon-css--energy.html +1 -1
- package/dist/library/components/preview/icon-css--environment.html +1 -1
- package/dist/library/components/preview/icon-css--exclamation.html +1 -1
- package/dist/library/components/preview/icon-css--external-link.html +1 -1
- package/dist/library/components/preview/icon-css--eye-slash.html +1 -1
- package/dist/library/components/preview/icon-css--eye.html +1 -1
- package/dist/library/components/preview/icon-css--filter.html +1 -1
- package/dist/library/components/preview/icon-css--forbidden.html +1 -1
- package/dist/library/components/preview/icon-css--health.html +1 -1
- package/dist/library/components/preview/icon-css--help-active.html +1 -1
- package/dist/library/components/preview/icon-css--help.html +1 -1
- package/dist/library/components/preview/icon-css--house.html +1 -1
- package/dist/library/components/preview/icon-css--info-active.html +1 -1
- package/dist/library/components/preview/icon-css--info-i.html +1 -1
- package/dist/library/components/preview/icon-css--info.html +1 -1
- package/dist/library/components/preview/icon-css--infrastructure.html +1 -1
- package/dist/library/components/preview/icon-css--label.html +1 -1
- package/dist/library/components/preview/icon-css--land.html +1 -1
- package/dist/library/components/preview/icon-css--landscape.html +1 -1
- package/dist/library/components/preview/icon-css--layers.html +1 -1
- package/dist/library/components/preview/icon-css--location-outline.html +1 -1
- package/dist/library/components/preview/icon-css--location-search.html +1 -1
- package/dist/library/components/preview/icon-css--location.html +1 -1
- package/dist/library/components/preview/icon-css--lock.html +1 -1
- package/dist/library/components/preview/icon-css--magnet.html +1 -1
- package/dist/library/components/preview/icon-css--map-location.html +1 -1
- package/dist/library/components/preview/icon-css--marker.html +1 -1
- package/dist/library/components/preview/icon-css--measurement.html +1 -1
- package/dist/library/components/preview/icon-css--minus-square.html +1 -1
- package/dist/library/components/preview/icon-css--minus.html +1 -1
- package/dist/library/components/preview/icon-css--more.html +1 -1
- package/dist/library/components/preview/icon-css--municipality.html +1 -1
- package/dist/library/components/preview/icon-css--nature.html +1 -1
- package/dist/library/components/preview/icon-css--new-window.html +1 -1
- package/dist/library/components/preview/icon-css--paperclip.html +1 -1
- package/dist/library/components/preview/icon-css--parking.html +1 -1
- package/dist/library/components/preview/icon-css--pencil.html +1 -1
- package/dist/library/components/preview/icon-css--pin-outline.html +1 -1
- package/dist/library/components/preview/icon-css--pin.html +1 -1
- package/dist/library/components/preview/icon-css--plus-square.html +1 -1
- package/dist/library/components/preview/icon-css--plus.html +1 -1
- package/dist/library/components/preview/icon-css--print.html +1 -1
- package/dist/library/components/preview/icon-css--procedures.html +1 -1
- package/dist/library/components/preview/icon-css--redo.html +1 -1
- package/dist/library/components/preview/icon-css--safety.html +1 -1
- package/dist/library/components/preview/icon-css--scale.html +1 -1
- package/dist/library/components/preview/icon-css--search.html +1 -1
- package/dist/library/components/preview/icon-css--sitemap.html +1 -1
- package/dist/library/components/preview/icon-css--soil.html +1 -1
- package/dist/library/components/preview/icon-css--sort-ascending.html +1 -1
- package/dist/library/components/preview/icon-css--sort-descending.html +1 -1
- package/dist/library/components/preview/icon-css--sort.html +1 -1
- package/dist/library/components/preview/icon-css--sound.html +1 -1
- package/dist/library/components/preview/icon-css--status-danger.html +1 -1
- package/dist/library/components/preview/icon-css--status-forbidden.html +1 -1
- package/dist/library/components/preview/icon-css--status-info.html +1 -1
- package/dist/library/components/preview/icon-css--status-success.html +1 -1
- package/dist/library/components/preview/icon-css--status-warning.html +1 -1
- package/dist/library/components/preview/icon-css--table.html +1 -1
- package/dist/library/components/preview/icon-css--times.html +1 -1
- package/dist/library/components/preview/icon-css--trash.html +1 -1
- package/dist/library/components/preview/icon-css--undo.html +1 -1
- package/dist/library/components/preview/icon-css--user-line.html +1 -1
- package/dist/library/components/preview/icon-css--user.html +1 -1
- package/dist/library/components/preview/icon-css--users.html +1 -1
- package/dist/library/components/preview/icon-css--water.html +1 -1
- package/dist/library/components/preview/icon-css--wip-wip.html +1 -1
- package/dist/library/components/preview/icon-css.html +1 -1
- package/dist/library/components/preview/icon.html +1 -1
- package/dist/library/components/preview/link-list.html +6 -4
- package/dist/library/components/preview/mijn-projecten.html +5 -5
- package/dist/library/components/preview/overzicht-samenwerkingen.html +3 -3
- package/dist/library/components/preview/project-overzicht.html +79 -64
- package/dist/library/components/preview/resultaat.html +46 -47
- package/dist/library/components/preview/subtitel--default.html +1 -1
- package/dist/library/components/preview/subtitel--subtitel-before-definition-list.html +1 -1
- package/dist/library/components/preview/subtitel--subtitel-before-text.html +1 -1
- package/dist/library/components/preview/subtitel.html +3 -3
- package/dist/library/components/preview/verzoek-detail.html +7 -7
- package/dist/library/components/preview/whitebox-regular--default.html +1 -1
- package/dist/library/components/preview/whitebox-regular--whitebox-counter.html +1 -1
- package/dist/library/components/preview/whitebox-regular--whitebox-icon.html +1 -1
- package/dist/library/components/preview/whitebox.html +15 -15
- package/dist/library/components/preview/zoeken-in-lijst-cards.html +24 -28
- package/dist/library/components/render/404pagina.html +1 -1
- package/dist/library/components/render/anchor--default.html +1 -1
- package/dist/library/components/render/anchor--download.html +1 -1
- package/dist/library/components/render/anchor--extern.html +1 -1
- package/dist/library/components/render/anchor--icon.html +1 -1
- package/dist/library/components/render/anchor--iconlabel.html +1 -1
- package/dist/library/components/render/anchor--label.html +1 -1
- package/dist/library/components/render/anchor.html +6 -6
- package/dist/library/components/render/anchors.html +17 -17
- package/dist/library/components/render/begrippen.html +8 -8
- package/dist/library/components/render/beheer-basis.html +1 -1
- package/dist/library/components/render/buttons.html +15 -15
- package/dist/library/components/render/full-width.html +4 -4
- package/dist/library/components/render/header.html +1 -1
- package/dist/library/components/render/homepage.html +3 -3
- package/dist/library/components/render/landingspagina.html +1 -1
- package/dist/library/components/render/link-list.html +5 -3
- package/dist/library/components/render/mijn-projecten.html +5 -5
- package/dist/library/components/render/overzicht-samenwerkingen.html +3 -3
- package/dist/library/components/render/pagina-met-banner.html +1 -1
- package/dist/library/components/render/project-overzicht.html +52 -27
- package/dist/library/components/render/resultaat.html +46 -47
- package/dist/library/components/render/rich-content.html +1 -1
- package/dist/library/components/render/row-equal-heights.html +4 -4
- package/dist/library/components/render/subtitel--default.html +1 -1
- package/dist/library/components/render/subtitel--subtitel-before-definition-list.html +1 -1
- package/dist/library/components/render/subtitel--subtitel-before-text.html +1 -1
- package/dist/library/components/render/subtitel.html +3 -3
- package/dist/library/components/render/verzoek-detail.html +7 -7
- package/dist/library/components/render/whitebox-regular--default.html +1 -1
- package/dist/library/components/render/whitebox-regular--whitebox-counter.html +1 -1
- package/dist/library/components/render/whitebox-regular--whitebox-icon.html +1 -1
- package/dist/library/components/render/whitebox.html +15 -15
- package/dist/library/components/render/zoeken-in-lijst-cards.html +4 -6
- package/dist/library/styles/dso.css +249 -467
- package/dist/toolkit/core/dso-toolkit.css +1 -1
- package/dist/toolkit/core/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/p-225bbb28.entry.js +1 -0
- package/dist/toolkit/core/p-3c4dbd89.entry.js +1 -0
- package/dist/toolkit/core/p-44905fb1.js +5 -0
- package/dist/toolkit/core/p-50b63cf4.entry.js +1 -0
- package/dist/toolkit/core/p-8b6e3abc.entry.js +1 -0
- package/dist/toolkit/core/p-ad540748.entry.js +1 -0
- package/dist/toolkit/core/p-c6f467b3.entry.js +1 -0
- package/dist/toolkit/core/p-f193c258.entry.js +1 -0
- package/dist/toolkit/styles/dso.css +249 -467
- package/hydrate/index.js +3203 -3207
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -5
- package/libs/@dso-toolkit/css/src/components/list/list.scss +8 -0
- package/libs/@dso-toolkit/css/src/components/tile-grid/tile-grid.scss +3 -0
- package/libs/@dso-toolkit/css/src/dso.scss +1 -0
- package/libs/@dso-toolkit/css/src/global/global.scss +5 -0
- package/libs/@dso-toolkit/sources/src/components/anchor/anchor.args.ts +8 -1
- package/libs/@dso-toolkit/sources/src/components/anchor/anchor.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.demo.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/image/image.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.args.ts +29 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.content.ts +24 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.models.ts +5 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.stories.ts +26 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.args.ts +15 -4
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.content.ts +24 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.scss +4 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.stories.ts +16 -0
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.stories.ts +2 -1
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +7 -6
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +768 -319
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.stories.ts +24 -48
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.content.ts +119 -0
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.stories.ts +56 -0
- package/libs/@dso-toolkit/sources/src/components/tile/tile.args.ts +13 -1
- package/libs/@dso-toolkit/sources/src/components/tile/tile.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/tile/tile.scss +37 -7
- package/libs/@dso-toolkit/sources/src/components/tile/tile.stories.ts +11 -1
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.content.ts +139 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.scss +6 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.stories.ts +36 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.args.ts +41 -6
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.content.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.models.ts +16 -2
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.stories.ts +35 -23
- package/libs/@dso-toolkit/sources/src/components.scss +1 -0
- package/libs/@dso-toolkit/sources/src/index.ts +6 -0
- package/libs/@dso-toolkit/sources/src/styling/global/blockquote.scss +12 -0
- package/libs/@dso-toolkit/sources/src/styling/global/del.scss +3 -0
- package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +27 -1
- package/libs/@dso-toolkit/sources/src/styling/global/headings.scss +30 -2
- package/libs/@dso-toolkit/sources/src/styling/global/ins.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/global/nav.scss +6 -0
- package/libs/@dso-toolkit/sources/src/styling/global/p.scss +3 -0
- package/libs/@dso-toolkit/sources/src/styling/global/utilities.scss +32 -0
- package/libs/@dso-toolkit/sources/src/styling/grid/grid.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/mixins/center-block.scss +5 -0
- package/{src/styles/components/_equal-heights.scss → libs/@dso-toolkit/sources/src/styling/mixins/equal-heights.scss} +1 -1
- package/libs/@dso-toolkit/sources/src/styling/mixins/rich-content.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/mixins.scss +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/colors.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/typography.scss +1 -1
- package/libs/@dso-toolkit/sources/storybook-assets/images/canvas-home_iplo-min.png +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/houtkachel-of-open-haard-infographic.jpg +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/icon-tree.png +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/klimaatambities_agv_infographic_002_1.jpg +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/schakeldag-8-maart-2022-schakeljournaal-ads.jpg +0 -0
- package/libs/_bootstrap.scss +2 -2
- package/libs/bootstrap/_variables.scss +3 -3
- package/package.json +2 -2
- package/reference/render/mijn-projecten.html +1 -1
- package/reference/render/project-overzicht.html +41 -26
- package/reference/render/resultaat.html +46 -46
- package/reference/render/zoeken-in-lijst-cards.html +3 -5
- package/src/styles/components/_jumbotron.scss +1 -2
- package/src/styles/components/_modal.scss +1 -1
- package/src/styles/components/_panel.scss +1 -1
- package/src/styles/dso.scss +3 -3
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.transformer.js +0 -105
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-06de0fa1.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-17f073d1.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-20856f91.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-7b006b11.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-aadc4f8e.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b69134ed.entry.js +0 -5
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.transformer.d.ts +0 -15
- package/dist/toolkit/core/p-06de0fa1.entry.js +0 -1
- package/dist/toolkit/core/p-17f073d1.entry.js +0 -1
- package/dist/toolkit/core/p-20856f91.entry.js +0 -1
- package/dist/toolkit/core/p-7b006b11.entry.js +0 -1
- package/dist/toolkit/core/p-aadc4f8e.entry.js +0 -1
- package/dist/toolkit/core/p-b69134ed.entry.js +0 -5
- package/libs/bootstrap/_type.scss +0 -233
- package/libs/bootstrap/_utilities.scss +0 -55
- package/src/styles/components/_rich-content.scss +0 -56
- package/src/styles/mixins/_typography.scss +0 -56
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"overlays":[16]}]]],["dso-header.cjs",[[1,"dso-header",{"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"mainMenu":[16],"useDropDownMenu":[1,"use-drop-down-menu"],"isLoggedIn":[4,"is-logged-in"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"showDropDown":[32],"hasSubLogo":[32],"overflowMenuItems":[32]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker.cjs",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"role":[1],"direction":[1],"required":[4],"dsoAutofocus":[4,"dso-autofocus"],"value":[1537],"min":[1],"max":[1],"activeFocus":[32],"focusedDay":[32],"open":[32],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-helpcenter-panel.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]}]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"overlayOpen":[
|
|
17
|
+
return index.bootstrapLazy([["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"overlays":[16]}]]],["dso-header.cjs",[[1,"dso-header",{"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"mainMenu":[16],"useDropDownMenu":[1,"use-drop-down-menu"],"isLoggedIn":[4,"is-logged-in"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"showDropDown":[32],"hasSubLogo":[32],"overflowMenuItems":[32]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker.cjs",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"role":[1],"direction":[1],"required":[4],"dsoAutofocus":[4,"dso-autofocus"],"value":[1537],"min":[1],"max":[1],"activeFocus":[32],"focusedDay":[32],"open":[32],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-helpcenter-panel.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]}]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32]}]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"mainSize":[32]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32]},[[4,"click","onDocumentClick"]]]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[2,"dso-ozon-content",{"content":[1],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"position":[1],"for":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]},[[0,"click","listenClick"]]]]],["dso-info-button.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1]}]]],["dso-info_2.cjs",[[1,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"disabled":[4],"required":[4],"checked":[4],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"toggleInfo":[64]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]],["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"./components/header/header.js",
|
|
6
6
|
"./components/info-button/info-button.js",
|
|
7
7
|
"./components/selectable/selectable.js",
|
|
8
|
+
"./components/viewer-grid/viewer-grid.js",
|
|
8
9
|
"./components/alert/alert.js",
|
|
9
10
|
"./components/attachments-counter/attachments-counter.js",
|
|
10
11
|
"./components/badge/badge.js",
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
"./components/helpcenter-panel/helpcenter-panel.js",
|
|
14
15
|
"./components/highlight-box/highlight-box.js",
|
|
15
16
|
"./components/icon/icon.js",
|
|
17
|
+
"./components/image-overlay/image-overlay.js",
|
|
16
18
|
"./components/info/info.js",
|
|
17
19
|
"./components/label/label.js",
|
|
18
20
|
"./components/map-base-layers/map-base-layers.js",
|
|
@@ -23,8 +25,7 @@
|
|
|
23
25
|
"./components/progress-indicator/progress-indicator.js",
|
|
24
26
|
"./components/toggletip/toggletip.js",
|
|
25
27
|
"./components/tooltip/tooltip.js",
|
|
26
|
-
"./components/tree-view/tree-view.js"
|
|
27
|
-
"./components/viewer-grid/viewer-grid.js"
|
|
28
|
+
"./components/tree-view/tree-view.js"
|
|
28
29
|
],
|
|
29
30
|
"compiler": {
|
|
30
31
|
"name": "@stencil/core",
|
|
@@ -5,7 +5,11 @@ import escapeStringRegexp from "escape-string-regexp";
|
|
|
5
5
|
export class Autosuggest {
|
|
6
6
|
constructor() {
|
|
7
7
|
/**
|
|
8
|
-
* The suggestions for the value of the slotted input element
|
|
8
|
+
* The suggestions for the value of the slotted input element. Optionally a
|
|
9
|
+
* Suggestion can have a `type` and `item`.
|
|
10
|
+
*
|
|
11
|
+
* The `type` is used to style the suggestion. `item` can be use to reference
|
|
12
|
+
* the original object that was used to create the suggestion.
|
|
9
13
|
*/
|
|
10
14
|
this.suggestions = [];
|
|
11
15
|
/**
|
|
@@ -238,7 +242,7 @@ export class Autosuggest {
|
|
|
238
242
|
"optional": false,
|
|
239
243
|
"docs": {
|
|
240
244
|
"tags": [],
|
|
241
|
-
"text": "The suggestions for the value of the slotted input element"
|
|
245
|
+
"text": "The suggestions for the value of the slotted input element. Optionally a\nSuggestion can have a `type` and `item`.\n\nThe `type` is used to style the suggestion. `item` can be use to reference\nthe original object that was used to create the suggestion."
|
|
242
246
|
},
|
|
243
247
|
"defaultValue": "[]"
|
|
244
248
|
},
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
border-bottom: 1px solid #ccc;
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-wrap: wrap;
|
|
11
|
+
padding: 0 16px;
|
|
12
|
+
position: relative;
|
|
11
13
|
}
|
|
12
14
|
@media screen and (min-width: 768px) {
|
|
13
15
|
.dso-header {
|
|
@@ -26,6 +28,14 @@
|
|
|
26
28
|
padding-bottom: 16px;
|
|
27
29
|
padding-top: 16px;
|
|
28
30
|
}
|
|
31
|
+
@media screen and (max-width: 767px) {
|
|
32
|
+
.logo-container {
|
|
33
|
+
max-width: 200px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.logo-container + .dropdown dso-dropdown-menu {
|
|
37
|
+
position: static;
|
|
38
|
+
}
|
|
29
39
|
|
|
30
40
|
@media screen and (min-width: 768px) {
|
|
31
41
|
.sub-logo {
|
|
@@ -277,11 +287,6 @@ dso-dropdown-menu button::after {
|
|
|
277
287
|
top: 50%;
|
|
278
288
|
transform: translateY(-50%);
|
|
279
289
|
}
|
|
280
|
-
@media screen and (max-width: 991px) {
|
|
281
|
-
dso-dropdown-menu[dropdown-align=right] .dso-dropdown-options {
|
|
282
|
-
right: -16px;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
290
|
@media screen and (max-width: 767px) {
|
|
286
291
|
dso-dropdown-menu {
|
|
287
292
|
top: 12px;
|
|
@@ -296,7 +301,7 @@ dso-dropdown-menu .dso-dropdown-options dso-dropdown-options ul {
|
|
|
296
301
|
}
|
|
297
302
|
@media screen and (max-width: 991px) {
|
|
298
303
|
dso-dropdown-menu .dso-dropdown-options dso-dropdown-options ul {
|
|
299
|
-
width:
|
|
304
|
+
width: 100%;
|
|
300
305
|
}
|
|
301
306
|
}
|
|
302
307
|
dso-dropdown-menu .dso-dropdown-options dso-dropdown-options li a {
|
|
@@ -304,6 +309,11 @@ dso-dropdown-menu .dso-dropdown-options dso-dropdown-options li a {
|
|
|
304
309
|
font-size: 1.25rem;
|
|
305
310
|
padding: 16px;
|
|
306
311
|
}
|
|
312
|
+
dso-dropdown-menu .dso-dropdown-options dso-dropdown-options li a:hover {
|
|
313
|
+
background-color: #fff;
|
|
314
|
+
color: #275937;
|
|
315
|
+
text-decoration: underline;
|
|
316
|
+
}
|
|
307
317
|
dso-dropdown-menu .dso-dropdown-options dso-dropdown-options li.dso-active a {
|
|
308
318
|
font-weight: 600;
|
|
309
319
|
}
|
|
@@ -316,16 +326,13 @@ dso-dropdown-menu .dso-dropdown-options dso-dropdown-options li + li {
|
|
|
316
326
|
}
|
|
317
327
|
@media screen and (max-width: 767px) {
|
|
318
328
|
.dropdown dso-dropdown-menu {
|
|
319
|
-
top: 28px;
|
|
329
|
+
margin-top: 28px;
|
|
320
330
|
}
|
|
321
331
|
}
|
|
322
332
|
.dropdown dso-dropdown-menu .dso-dropdown-options {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
.dropdown dso-dropdown-menu .dso-dropdown-options {
|
|
327
|
-
top: 72px;
|
|
328
|
-
}
|
|
333
|
+
left: 0;
|
|
334
|
+
right: 0;
|
|
335
|
+
top: 100%;
|
|
329
336
|
}
|
|
330
337
|
.dropdown dso-dropdown-menu[open] button::after {
|
|
331
338
|
background: var(--dso-icon, var(--di-chevron-up)) no-repeat;
|
|
@@ -339,6 +346,7 @@ dso-dropdown-menu .dso-dropdown-options dso-dropdown-options li + li {
|
|
|
339
346
|
color: #39870c;
|
|
340
347
|
font-size: 16px;
|
|
341
348
|
font-weight: 600;
|
|
349
|
+
position: relative;
|
|
342
350
|
}
|
|
343
351
|
.dropdown dso-dropdown-menu button:hover, .dropdown dso-dropdown-menu button:active {
|
|
344
352
|
cursor: pointer;
|
package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.template.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
import { ifDefined } from 'lit-html/directives/if-defined';
|
|
3
|
+
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
3
4
|
import { iconTemplate } from '../icon/icon.template';
|
|
4
5
|
export function highlightBoxTemplate({ yellow, white, dropShadow, border, step, icon, richContent }) {
|
|
5
6
|
return html `
|
|
@@ -11,7 +12,9 @@ export function highlightBoxTemplate({ yellow, white, dropShadow, border, step,
|
|
|
11
12
|
?border=${border}
|
|
12
13
|
>
|
|
13
14
|
${icon && iconTemplate({ icon }, 'icon')}
|
|
14
|
-
|
|
15
|
+
<div class="dso-rich-content">
|
|
16
|
+
${typeof richContent === 'string' ? unsafeHTML(richContent) : richContent}
|
|
17
|
+
</div>
|
|
15
18
|
</dso-highlight-box>
|
|
16
19
|
`;
|
|
17
20
|
}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
button {
|
|
2
|
+
-webkit-appearance: button;
|
|
3
|
+
color: inherit;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
font: inherit;
|
|
6
|
+
font-family: inherit;
|
|
7
|
+
font-size: inherit;
|
|
8
|
+
line-height: inherit;
|
|
9
|
+
margin: 0;
|
|
10
|
+
overflow: visible;
|
|
11
|
+
text-transform: none;
|
|
12
|
+
}
|
|
13
|
+
button[disabled] {
|
|
14
|
+
cursor: default;
|
|
15
|
+
}
|
|
16
|
+
button::-moz-focus-inner {
|
|
17
|
+
border: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host(:hover) .open,
|
|
27
|
+
.open:focus {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.open {
|
|
32
|
+
display: inline-block;
|
|
33
|
+
font-size: 1em;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
text-decoration: none;
|
|
37
|
+
touch-action: manipulation;
|
|
38
|
+
text-align: left;
|
|
39
|
+
user-select: none;
|
|
40
|
+
vertical-align: middle;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
border-color: #39870c;
|
|
43
|
+
color: #39870c;
|
|
44
|
+
border-width: 1px;
|
|
45
|
+
border-style: solid;
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
line-height: 1.5;
|
|
48
|
+
min-width: 56px;
|
|
49
|
+
padding: 11px 15px;
|
|
50
|
+
border: 0;
|
|
51
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
|
|
52
|
+
min-width: auto;
|
|
53
|
+
padding: 8px;
|
|
54
|
+
opacity: 0;
|
|
55
|
+
position: absolute;
|
|
56
|
+
right: 16px;
|
|
57
|
+
top: 16px;
|
|
58
|
+
}
|
|
59
|
+
.open:focus, .open:focus-visible {
|
|
60
|
+
outline-offset: 2px;
|
|
61
|
+
}
|
|
62
|
+
.open:active {
|
|
63
|
+
outline: 0;
|
|
64
|
+
}
|
|
65
|
+
.open.extern::after, .open.download::after {
|
|
66
|
+
content: "";
|
|
67
|
+
display: inline-block;
|
|
68
|
+
height: 1.5em;
|
|
69
|
+
margin-left: 8px;
|
|
70
|
+
vertical-align: top;
|
|
71
|
+
width: 1.5em;
|
|
72
|
+
}
|
|
73
|
+
.open:hover {
|
|
74
|
+
background-color: #39870c;
|
|
75
|
+
border-color: #39870c;
|
|
76
|
+
color: #fff;
|
|
77
|
+
}
|
|
78
|
+
.open:active {
|
|
79
|
+
background-color: #275937;
|
|
80
|
+
border-color: #275937;
|
|
81
|
+
color: #fff;
|
|
82
|
+
}
|
|
83
|
+
.open[disabled], .open[disabled]:hover {
|
|
84
|
+
background-color: #fff;
|
|
85
|
+
border-color: #afcf9d;
|
|
86
|
+
color: #afcf9d;
|
|
87
|
+
}
|
|
88
|
+
.open.btn-sm {
|
|
89
|
+
line-height: 16px;
|
|
90
|
+
}
|
|
91
|
+
.open.btn-sm dso-icon,
|
|
92
|
+
.open.btn-sm svg.di, .open.btn-sm.extern::after, .open.btn-sm.download::after {
|
|
93
|
+
margin-bottom: -4px;
|
|
94
|
+
margin-top: -4px;
|
|
95
|
+
}
|
|
96
|
+
.open.download::after {
|
|
97
|
+
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
98
|
+
background-position: center;
|
|
99
|
+
background-size: cover;
|
|
100
|
+
height: 1.5em;
|
|
101
|
+
vertical-align: top;
|
|
102
|
+
width: 1.5em;
|
|
103
|
+
}
|
|
104
|
+
.open.download:hover::after {
|
|
105
|
+
--dso-icon: var(--di-download-wit);
|
|
106
|
+
}
|
|
107
|
+
.open.download[disabled]::after {
|
|
108
|
+
--dso-icon: var(--di-download-grasgroen-40);
|
|
109
|
+
}
|
|
110
|
+
.open.extern::after {
|
|
111
|
+
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
112
|
+
background-position: center;
|
|
113
|
+
background-size: cover;
|
|
114
|
+
height: 1.5em;
|
|
115
|
+
vertical-align: top;
|
|
116
|
+
width: 1.5em;
|
|
117
|
+
}
|
|
118
|
+
.open.extern:hover::after {
|
|
119
|
+
--dso-icon: var(--di-external-link-wit);
|
|
120
|
+
}
|
|
121
|
+
.open.extern[disabled]::after {
|
|
122
|
+
--dso-icon: var(--di-external-link-grasgroen-40);
|
|
123
|
+
}
|
|
124
|
+
.open > span {
|
|
125
|
+
position: absolute;
|
|
126
|
+
width: 1px;
|
|
127
|
+
height: 1px;
|
|
128
|
+
padding: 0;
|
|
129
|
+
margin: -1px;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
clip: rect(0, 0, 0, 0);
|
|
132
|
+
border: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.dimmer {
|
|
136
|
+
position: fixed;
|
|
137
|
+
top: 0;
|
|
138
|
+
left: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
bottom: 0;
|
|
141
|
+
z-index: 1;
|
|
142
|
+
display: flex;
|
|
143
|
+
padding: 32px;
|
|
144
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
145
|
+
justify-content: center;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.wrapper {
|
|
149
|
+
box-shadow: 0 8px 24px 0 rgba(25, 25, 25, 0.4);
|
|
150
|
+
position: relative;
|
|
151
|
+
z-index: 20;
|
|
152
|
+
align-self: center;
|
|
153
|
+
line-height: 0;
|
|
154
|
+
}
|
|
155
|
+
.wrapper img {
|
|
156
|
+
width: auto;
|
|
157
|
+
height: auto;
|
|
158
|
+
max-width: 100%;
|
|
159
|
+
max-height: calc(100vh - 64px);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.close {
|
|
163
|
+
display: inline-block;
|
|
164
|
+
font-size: 1em;
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
margin-bottom: 0;
|
|
167
|
+
text-decoration: none;
|
|
168
|
+
touch-action: manipulation;
|
|
169
|
+
text-align: left;
|
|
170
|
+
user-select: none;
|
|
171
|
+
vertical-align: middle;
|
|
172
|
+
background-color: #fff;
|
|
173
|
+
border-color: #39870c;
|
|
174
|
+
color: #39870c;
|
|
175
|
+
border-width: 1px;
|
|
176
|
+
border-style: solid;
|
|
177
|
+
border-radius: 4px;
|
|
178
|
+
line-height: 1.5;
|
|
179
|
+
min-width: 56px;
|
|
180
|
+
padding: 11px 15px;
|
|
181
|
+
border: 0;
|
|
182
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
|
|
183
|
+
min-width: auto;
|
|
184
|
+
padding: 8px;
|
|
185
|
+
position: absolute;
|
|
186
|
+
top: 16px;
|
|
187
|
+
right: 16px;
|
|
188
|
+
}
|
|
189
|
+
.close:focus, .close:focus-visible {
|
|
190
|
+
outline-offset: 2px;
|
|
191
|
+
}
|
|
192
|
+
.close:active {
|
|
193
|
+
outline: 0;
|
|
194
|
+
}
|
|
195
|
+
.close.extern::after, .close.download::after {
|
|
196
|
+
content: "";
|
|
197
|
+
display: inline-block;
|
|
198
|
+
height: 1.5em;
|
|
199
|
+
margin-left: 8px;
|
|
200
|
+
vertical-align: top;
|
|
201
|
+
width: 1.5em;
|
|
202
|
+
}
|
|
203
|
+
.close:hover {
|
|
204
|
+
background-color: #39870c;
|
|
205
|
+
border-color: #39870c;
|
|
206
|
+
color: #fff;
|
|
207
|
+
}
|
|
208
|
+
.close:active {
|
|
209
|
+
background-color: #275937;
|
|
210
|
+
border-color: #275937;
|
|
211
|
+
color: #fff;
|
|
212
|
+
}
|
|
213
|
+
.close[disabled], .close[disabled]:hover {
|
|
214
|
+
background-color: #fff;
|
|
215
|
+
border-color: #afcf9d;
|
|
216
|
+
color: #afcf9d;
|
|
217
|
+
}
|
|
218
|
+
.close.btn-sm {
|
|
219
|
+
line-height: 16px;
|
|
220
|
+
}
|
|
221
|
+
.close.btn-sm dso-icon,
|
|
222
|
+
.close.btn-sm svg.di, .close.btn-sm.extern::after, .close.btn-sm.download::after {
|
|
223
|
+
margin-bottom: -4px;
|
|
224
|
+
margin-top: -4px;
|
|
225
|
+
}
|
|
226
|
+
.close.download::after {
|
|
227
|
+
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
228
|
+
background-position: center;
|
|
229
|
+
background-size: cover;
|
|
230
|
+
height: 1.5em;
|
|
231
|
+
vertical-align: top;
|
|
232
|
+
width: 1.5em;
|
|
233
|
+
}
|
|
234
|
+
.close.download:hover::after {
|
|
235
|
+
--dso-icon: var(--di-download-wit);
|
|
236
|
+
}
|
|
237
|
+
.close.download[disabled]::after {
|
|
238
|
+
--dso-icon: var(--di-download-grasgroen-40);
|
|
239
|
+
}
|
|
240
|
+
.close.extern::after {
|
|
241
|
+
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
242
|
+
background-position: center;
|
|
243
|
+
background-size: cover;
|
|
244
|
+
height: 1.5em;
|
|
245
|
+
vertical-align: top;
|
|
246
|
+
width: 1.5em;
|
|
247
|
+
}
|
|
248
|
+
.close.extern:hover::after {
|
|
249
|
+
--dso-icon: var(--di-external-link-wit);
|
|
250
|
+
}
|
|
251
|
+
.close.extern[disabled]::after {
|
|
252
|
+
--dso-icon: var(--di-external-link-grasgroen-40);
|
|
253
|
+
}
|
|
254
|
+
.close > span {
|
|
255
|
+
position: absolute;
|
|
256
|
+
width: 1px;
|
|
257
|
+
height: 1px;
|
|
258
|
+
padding: 0;
|
|
259
|
+
margin: -1px;
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
clip: rect(0, 0, 0, 0);
|
|
262
|
+
border: 0;
|
|
263
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Component, Element, forceUpdate, h, Host, State } from "@stencil/core";
|
|
2
|
+
import { createFocusTrap } from 'focus-trap';
|
|
3
|
+
export class ImageOverlay {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.active = false;
|
|
6
|
+
this.focused = false;
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));
|
|
10
|
+
this.mutationObserver.observe(this.host, {
|
|
11
|
+
attributes: true,
|
|
12
|
+
subtree: true
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
disconnectedCallback() {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_a = this.trap) === null || _a === void 0 ? void 0 : _a.deactivate();
|
|
18
|
+
(_b = this.mutationObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
var _a;
|
|
22
|
+
const { src, alt } = (_a = this.host.querySelector('img')) !== null && _a !== void 0 ? _a : {};
|
|
23
|
+
return (h(Host, { tabindex: this.focused ? -1 : 0, onFocus: () => {
|
|
24
|
+
var _a;
|
|
25
|
+
(_a = this.buttonElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
26
|
+
} },
|
|
27
|
+
this.active && src && alt && (h("div", { class: "dimmer", ref: element => this.wrapperElement = element },
|
|
28
|
+
h("div", { class: "wrapper" },
|
|
29
|
+
h("img", { src: src, alt: alt }),
|
|
30
|
+
h("button", { type: "button", class: "close", onClick: () => this.active = false },
|
|
31
|
+
h("dso-icon", { icon: "times" }),
|
|
32
|
+
h("span", null, "Sluiten"))))),
|
|
33
|
+
h("slot", null),
|
|
34
|
+
h("button", { type: "button", class: "open", ref: element => this.buttonElement = element, onClick: () => this.active = true, onFocus: () => this.focused = true, onBlur: () => this.focused = false },
|
|
35
|
+
h("dso-icon", { icon: "external-link" }),
|
|
36
|
+
h("span", null, "Afbeelding vergroot weergeven"))));
|
|
37
|
+
}
|
|
38
|
+
componentDidRender() {
|
|
39
|
+
var _a, _b;
|
|
40
|
+
if (this.active && this.wrapperElement && !this.trap) {
|
|
41
|
+
this.trap = createFocusTrap(this.wrapperElement, {
|
|
42
|
+
escapeDeactivates: true,
|
|
43
|
+
clickOutsideDeactivates: (e) => {
|
|
44
|
+
if (e instanceof MouseEvent && e.composedPath()[0] === this.wrapperElement) {
|
|
45
|
+
this.active = false;
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return true;
|
|
49
|
+
},
|
|
50
|
+
setReturnFocus: (_a = this.buttonElement) !== null && _a !== void 0 ? _a : false,
|
|
51
|
+
onDeactivate: () => this.active = false
|
|
52
|
+
}).activate();
|
|
53
|
+
}
|
|
54
|
+
else if (!this.active && this.trap) {
|
|
55
|
+
(_b = this.trap) === null || _b === void 0 ? void 0 : _b.deactivate();
|
|
56
|
+
delete this.trap;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
static get is() { return "dso-image-overlay"; }
|
|
60
|
+
static get encapsulation() { return "shadow"; }
|
|
61
|
+
static get originalStyleUrls() { return {
|
|
62
|
+
"$": ["./image-overlay.scss"]
|
|
63
|
+
}; }
|
|
64
|
+
static get styleUrls() { return {
|
|
65
|
+
"$": ["image-overlay.css"]
|
|
66
|
+
}; }
|
|
67
|
+
static get states() { return {
|
|
68
|
+
"active": {},
|
|
69
|
+
"focused": {}
|
|
70
|
+
}; }
|
|
71
|
+
static get elementRef() { return "host"; }
|
|
72
|
+
}
|
package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.stories.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { storiesOfImageOverlay } from "@dso-toolkit/sources";
|
|
2
|
+
import { storiesOf } from "@storybook/web-components";
|
|
3
|
+
import { imageOverlayTemplate } from "./image-overlay.template";
|
|
4
|
+
import readme from "./readme.md";
|
|
5
|
+
storiesOfImageOverlay({
|
|
6
|
+
module,
|
|
7
|
+
storiesOf,
|
|
8
|
+
readme,
|
|
9
|
+
}, {
|
|
10
|
+
imageOverlayTemplate
|
|
11
|
+
});
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
button {
|
|
2
|
+
-webkit-appearance: button;
|
|
3
|
+
color: inherit;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
font: inherit;
|
|
6
|
+
font-family: inherit;
|
|
7
|
+
font-size: inherit;
|
|
8
|
+
line-height: inherit;
|
|
9
|
+
margin: 0;
|
|
10
|
+
overflow: visible;
|
|
11
|
+
text-transform: none;
|
|
12
|
+
}
|
|
13
|
+
button[disabled] {
|
|
14
|
+
cursor: default;
|
|
15
|
+
}
|
|
16
|
+
button::-moz-focus-inner {
|
|
17
|
+
border: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
:host {
|
|
2
22
|
--di-times-grijs90: url("data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23191919%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e");
|
|
3
23
|
display: block;
|
package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js
CHANGED
|
@@ -1,14 +1,29 @@
|
|
|
1
1
|
import { Component, h, Prop, Event } from '@stencil/core';
|
|
2
2
|
export class MapBaseLayers {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.selectableRefs = {};
|
|
5
|
+
}
|
|
3
6
|
baseLayerChangeHandler(baseLayer) {
|
|
4
7
|
this.baseLayerChange.emit({ activeBaseLayer: baseLayer });
|
|
5
8
|
}
|
|
9
|
+
componentDidRender() {
|
|
10
|
+
this.baseLayers
|
|
11
|
+
.filter(l => { var _a, _b; return !l.disabled && ((_b = (_a = this.previousBaselayers) === null || _a === void 0 ? void 0 : _a.find(p => p.id === l.id)) === null || _b === void 0 ? void 0 : _b.disabled) === true; })
|
|
12
|
+
.forEach(o => {
|
|
13
|
+
var _a;
|
|
14
|
+
(_a = this.selectableRefs[o.id]) === null || _a === void 0 ? void 0 : _a.toggleInfo(false);
|
|
15
|
+
});
|
|
16
|
+
this.previousBaselayers = this.baseLayers;
|
|
17
|
+
}
|
|
6
18
|
render() {
|
|
19
|
+
for (const ref in this.selectableRefs) {
|
|
20
|
+
delete this.selectableRefs[ref];
|
|
21
|
+
}
|
|
7
22
|
return (h("fieldset", { class: "form-group dso-radios" },
|
|
8
23
|
h("legend", { class: "sr-only" }, "Achtergrond"),
|
|
9
24
|
h("div", { class: "dso-label-container" },
|
|
10
25
|
h("span", { class: "control-label", "aria-hidden": "true" }, "Achtergrond")),
|
|
11
|
-
h("div", { class: "dso-field-container" }, this.baseLayers.map(baseLayer => (h("dso-selectable", { key: baseLayer.id, type: "radio", value: baseLayer.name, checked: baseLayer.checked, disabled: baseLayer.disabled, onDsoChange: () => this.baseLayerChangeHandler(baseLayer) },
|
|
26
|
+
h("div", { class: "dso-field-container" }, this.baseLayers.map(baseLayer => (h("dso-selectable", { key: baseLayer.id, type: "radio", value: baseLayer.name, checked: baseLayer.checked, disabled: baseLayer.disabled, ref: ref => this.selectableRefs[baseLayer.id] = ref, onDsoChange: () => this.baseLayerChangeHandler(baseLayer) },
|
|
12
27
|
baseLayer.name,
|
|
13
28
|
baseLayer.info
|
|
14
29
|
? h("p", { slot: "info" }, baseLayer.info)
|
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
import { Component, Event, Prop, h } from '@stencil/core';
|
|
2
2
|
export class MapOverlays {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.selectableRefs = {};
|
|
5
|
+
}
|
|
3
6
|
overlayChangeHandler(overlay, e) {
|
|
4
7
|
const checked = e.detail.target instanceof HTMLInputElement ? !!e.detail.target.checked : false;
|
|
5
8
|
this.toggleOverlay.emit({ overlay, checked });
|
|
6
9
|
}
|
|
10
|
+
componentDidRender() {
|
|
11
|
+
this.overlays
|
|
12
|
+
.filter(o => { var _a, _b; return !o.disabled && ((_b = (_a = this.previousOverlays) === null || _a === void 0 ? void 0 : _a.find(p => p.id === o.id)) === null || _b === void 0 ? void 0 : _b.disabled) === true; })
|
|
13
|
+
.forEach(o => {
|
|
14
|
+
var _a;
|
|
15
|
+
(_a = this.selectableRefs[o.id]) === null || _a === void 0 ? void 0 : _a.toggleInfo(false);
|
|
16
|
+
});
|
|
17
|
+
this.previousOverlays = this.overlays;
|
|
18
|
+
}
|
|
7
19
|
render() {
|
|
20
|
+
for (const ref in this.selectableRefs) {
|
|
21
|
+
delete this.selectableRefs[ref];
|
|
22
|
+
}
|
|
8
23
|
return (h("fieldset", { class: "form-group dso-checkboxes" },
|
|
9
24
|
h("legend", { class: "sr-only" }, "Kaartlagen"),
|
|
10
25
|
h("div", { class: "dso-label-container" },
|
|
11
26
|
h("span", { class: "control-label", "aria-hidden": "true" }, "Kaartlagen")),
|
|
12
|
-
h("div", { class: "dso-field-container" }, this.overlays.map(overlay => (h("dso-selectable", { type: "checkbox", value: overlay.name, checked: overlay.checked, disabled: overlay.disabled, onDsoChange: e => this.overlayChangeHandler(overlay, e) },
|
|
27
|
+
h("div", { class: "dso-field-container" }, this.overlays.map(overlay => (h("dso-selectable", { key: overlay.id, type: "checkbox", value: overlay.name, checked: overlay.checked, disabled: overlay.disabled, ref: ref => this.selectableRefs[overlay.id] = ref, onDsoChange: e => this.overlayChangeHandler(overlay, e) },
|
|
13
28
|
overlay.name,
|
|
14
29
|
overlay.info
|
|
15
30
|
? h("p", { slot: "info" }, overlay.info)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class OzonContentAlNode {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.name = 'Al';
|
|
5
|
+
}
|
|
6
|
+
render(node, { mapNodeToJsx, path }) {
|
|
7
|
+
const nestedAl = path.some(node => node.nodeName === 'Al');
|
|
8
|
+
const content = mapNodeToJsx(node.childNodes);
|
|
9
|
+
return nestedAl
|
|
10
|
+
? h("span", { role: "paragraph" }, content)
|
|
11
|
+
: h("p", null, content);
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/ext-ref.node.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class OzonContentExtRefNode {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.name = [
|
|
5
|
+
'ExtRef',
|
|
6
|
+
'ExtIoRef'
|
|
7
|
+
];
|
|
8
|
+
}
|
|
9
|
+
render(node, { mapNodeToJsx }) {
|
|
10
|
+
var _a;
|
|
11
|
+
return (h("a", { target: "_blank", rel: "noopener noreferrer", href: (_a = node.getAttribute('ref')) !== null && _a !== void 0 ? _a : undefined },
|
|
12
|
+
h("span", { class: "sr-only" }, "opent in nieuw venster"),
|
|
13
|
+
mapNodeToJsx(node.childNodes)));
|
|
14
|
+
}
|
|
15
|
+
}
|
package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/fallback.node.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class OzonContentFallbackNode {
|
|
3
|
+
constructor() {
|
|
4
|
+
// This name does not match any elements
|
|
5
|
+
this.name = ['<fallback>'];
|
|
6
|
+
}
|
|
7
|
+
render(node, { mapNodeToJsx }) {
|
|
8
|
+
return (h("span", { class: `fallback od-${node instanceof Element ? node.localName : node.nodeName}` }, mapNodeToJsx(node.childNodes)));
|
|
9
|
+
}
|
|
10
|
+
}
|