dso-toolkit 34.1.0 → 34.2.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/link-list/link-list.njk +6 -0
- 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-header.cjs.entry.js +1 -1
- 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-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +56 -19
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +21 -13
- 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/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 +323 -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 +48 -1
- 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.js +90 -24
- 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-3c4dbd89.entry.js +1 -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-de3ab027.entry.js +5 -0
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
- 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-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +57 -20
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- 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/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 +6 -0
- 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/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/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/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 +1 -1
- package/dist/library/styles/dso.css +29 -5
- package/dist/toolkit/core/dso-toolkit.css +1 -1
- package/dist/toolkit/core/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/p-3c4dbd89.entry.js +1 -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-de3ab027.entry.js +5 -0
- package/dist/toolkit/styles/dso.css +29 -5
- package/hydrate/index.js +94 -26
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -5
- 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/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/viewer-grid/viewer-grid.args.ts +16 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.models.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.stories.ts +2 -1
- package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +27 -1
- package/libs/@dso-toolkit/sources/src/styling/global/nav.scss +6 -0
- package/libs/@dso-toolkit/sources/src/styling/mixins/rich-content.scss +1 -0
- 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/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-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/toolkit/core/p-06de0fa1.entry.js +0 -1
- package/dist/toolkit/core/p-17f073d1.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent,
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-d54cae76.js';
|
|
2
2
|
import { t as tabbable, f as focusable, i as isTabbable, a as isFocusable } from './index.esm-a1362957.js';
|
|
3
3
|
|
|
4
4
|
/*!
|
|
@@ -708,14 +708,26 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
708
708
|
return trap;
|
|
709
709
|
};
|
|
710
710
|
|
|
711
|
-
const
|
|
711
|
+
const ViewerGridFilterpanelButtons = ({ onApply, onCancel }) => (h("div", { class: "filterpanel-buttons" },
|
|
712
|
+
h("button", { type: "button", class: "cancel-button", onClick: onCancel },
|
|
713
|
+
h("span", null, "Annuleren")),
|
|
714
|
+
h("button", { type: "button", class: "apply-button", onClick: onApply },
|
|
715
|
+
h("span", null, "Toepassen"),
|
|
716
|
+
h("dso-icon", { icon: "chevron-right" }))));
|
|
717
|
+
|
|
718
|
+
const viewerGridCss = "button{-webkit-appearance:button;color:inherit;cursor:pointer;font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}h1,.h1,h2,.h2,h3,.h3{margin-top:24px}h1{color:#275937;font-size:2rem;font-weight:700}h2{color:#275937;font-size:1.5rem;font-weight:700}h3{color:#275937;font-size:1.25rem;font-weight:600}h4,.h4,h5,.h5,h6,.h6{margin-top:12px}h4{color:#275937;font-size:1rem;font-weight:600}h5{color:#191919;font-size:1rem;font-weight:600}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{margin-bottom:12px}*,*::after,*::before{box-sizing:border-box}:host{display:flex;height:100vh;overflow:hidden;position:relative}:host([small]) .dso-map-panel{flex-basis:375px;min-width:0;max-width:375px}@media screen and (max-width: 375px){:host([small]) .dso-map-panel{flex-basis:100vw;max-width:100vw;min-width:0;transition:none}}:host([medium]) .dso-map-panel{flex-basis:624px;min-width:375px;max-width:624px}@media screen and (max-width: 624px){:host([medium]) .dso-map-panel{flex-basis:100vw;max-width:100vw;min-width:375px;transition:none}}:host([large]) .dso-map-panel{flex-basis:60%;min-width:768px;max-width:1024px}@media screen and (max-width: 768px){:host([large]) .dso-map-panel{flex-basis:100vw;max-width:100vw;min-width:768px;transition:none}}.shrink,.expand,.overlay-close-button{display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;border:0;color:#39870c;line-height:1;padding:0;background-color:transparent}.shrink:focus,.shrink:focus-visible,.expand:focus,.expand:focus-visible,.overlay-close-button:focus,.overlay-close-button:focus-visible{outline-offset:2px}.shrink:active,.expand:active,.overlay-close-button:active{outline:0}.shrink.extern::after,.shrink.download::after,.expand.extern::after,.expand.download::after,.overlay-close-button.extern::after,.overlay-close-button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.shrink[disabled],.expand[disabled],.overlay-close-button[disabled]{color:#afcf9d}.shrink:not([disabled]):hover,.expand:not([disabled]):hover,.overlay-close-button:not([disabled]):hover{color:#676cb0;text-decoration:underline}.shrink:not([disabled]):active,.expand:not([disabled]):active,.overlay-close-button:not([disabled]):active{color:#676cb0}.shrink.btn-align,.expand.btn-align,.overlay-close-button.btn-align{line-height:calc(1.5em - 1px);padding:11px 0;position:relative}.shrink.extern::after,.shrink.download::after,.expand.extern::after,.expand.download::after,.overlay-close-button.extern::after,.overlay-close-button.download::after{position:relative;top:-2px}.shrink.download::after,.expand.download::after,.overlay-close-button.download::after{background:var(--dso-icon, var(--di-download)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.shrink.download[disabled]::after,.expand.download[disabled]::after,.overlay-close-button.download[disabled]::after{--dso-icon:var(--di-download-grasgroen-40)}.shrink.download:not([disabled]):hover::after,.shrink.download:not([disabled]):active::after,.expand.download:not([disabled]):hover::after,.expand.download:not([disabled]):active::after,.overlay-close-button.download:not([disabled]):hover::after,.overlay-close-button.download:not([disabled]):active::after{--dso-icon:var(--di-download-scampi)}.shrink.extern::after,.expand.extern::after,.overlay-close-button.extern::after{background:var(--dso-icon, var(--di-external-link)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.shrink.extern[disabled]::after,.expand.extern[disabled]::after,.overlay-close-button.extern[disabled]::after{--dso-icon:var(--di-external-link-grasgroen-40)}.shrink.extern:not([disabled]):hover::after,.shrink.extern:not([disabled]):active::after,.expand.extern:not([disabled]):hover::after,.expand.extern:not([disabled]):active::after,.overlay-close-button.extern:not([disabled]):hover::after,.overlay-close-button.extern:not([disabled]):active::after{--dso-icon:var(--di-external-link-scampi)}.shrink dso-icon+span:not(.sr-only),.shrink svg.di+span:not(.sr-only),.shrink span:not(.sr-only)+dso-icon,.shrink span:not(.sr-only)+svg.di,.expand dso-icon+span:not(.sr-only),.expand svg.di+span:not(.sr-only),.expand span:not(.sr-only)+dso-icon,.expand span:not(.sr-only)+svg.di,.overlay-close-button dso-icon+span:not(.sr-only),.overlay-close-button svg.di+span:not(.sr-only),.overlay-close-button span:not(.sr-only)+dso-icon,.overlay-close-button span:not(.sr-only)+svg.di{margin-left:8px}.shrink dso-icon,.shrink svg.di,.shrink span,.expand dso-icon,.expand svg.di,.expand span,.overlay-close-button dso-icon,.overlay-close-button svg.di,.overlay-close-button span{vertical-align:middle}.shrink:hover,.expand:hover,.overlay-close-button:hover{cursor:pointer}.shrink[disabled],.expand[disabled],.overlay-close-button[disabled]{display:none}.overlay-close-button{position:absolute;top:8px;right:16px}.overlay-close-button .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-map-panel{background-color:#fff;box-shadow:2px 0 8px 0 rgba(0, 0, 0, 0.4);flex-shrink:0;flex-grow:0;padding-right:8px;position:relative;transition:flex-basis 0.2s ease-in, max-width 0.2s ease-in, min-width 0.2s ease-in;z-index:1}.dso-map-panel .dso-filterblok-address{font-weight:bold;margin:8px 0}.dso-map-panel .main{height:100%;overflow-y:scroll;padding:8px 16px}.sizing-buttons{left:calc(100% + 1px);overflow-x:hidden;padding:0 4px 4px 0;position:absolute;top:16px;transition:left 0.2s ease-in;width:44px;z-index:-1}.sizing-buttons button{display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;background-color:#fff;border-color:#39870c;color:#39870c;border-width:1px;border-style:solid;border-radius:4px;line-height:1.5;min-width:56px;padding:11px 15px;border:0;padding:8px;border-radius:0;border-bottom-right-radius:4px;border-top-right-radius:4px;box-shadow:0 1px 4px 0 rgba(0, 0, 0, 0.4);flex:0 0 100%;height:40px;min-width:auto;width:40px}.sizing-buttons button:focus,.sizing-buttons button:focus-visible{outline-offset:2px}.sizing-buttons button:active{outline:0}.sizing-buttons button.extern::after,.sizing-buttons button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.sizing-buttons button:hover{background-color:#39870c;border-color:#39870c;color:#fff}.sizing-buttons button:active{background-color:#275937;border-color:#275937;color:#fff}.sizing-buttons button[disabled],.sizing-buttons button[disabled]:hover{background-color:#fff;border-color:#afcf9d;color:#afcf9d}.sizing-buttons button.btn-sm{line-height:16px}.sizing-buttons button.btn-sm dso-icon,.sizing-buttons button.btn-sm svg.di,.sizing-buttons button.btn-sm.extern::after,.sizing-buttons button.btn-sm.download::after{margin-bottom:-4px;margin-top:-4px}.sizing-buttons button.download::after{background:var(--dso-icon, var(--di-download)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.sizing-buttons button.download:hover::after{--dso-icon:var(--di-download-wit)}.sizing-buttons button.download[disabled]::after{--dso-icon:var(--di-download-grasgroen-40)}.sizing-buttons button.extern::after{background:var(--dso-icon, var(--di-external-link)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.sizing-buttons button.extern:hover::after{--dso-icon:var(--di-external-link-wit)}.sizing-buttons button.extern[disabled]::after{--dso-icon:var(--di-external-link-grasgroen-40)}.sizing-buttons button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sizing-buttons button:focus-visible{background-color:#39870c;border-color:#39870c;color:#fff;outline:none}.sizing-buttons button:hover dso-icon{color:#fff}.map{height:100%;width:100%;overflow:hidden}#filterpanel,.overlay{background-color:#fff;height:100%;overflow-y:auto;position:absolute;z-index:2}#filterpanel{box-shadow:2px 0 5px #666;padding:40px 16px 8px;left:0;max-width:896px;width:calc(100vw - 40px)}@media screen and (max-width: 768px){#filterpanel{width:100vw}#filterpanel::before{display:none !important}}#filterpanel::before{content:\"\";display:block;position:fixed;top:0;bottom:0;right:0;left:896px;background-color:rgba(0, 0, 0, 0.5)}@media screen and (max-width: 936px){#filterpanel::before{left:auto;width:40px}}.overlay{box-shadow:-2px 0 5px #666;padding:40px 16px 8px;right:0;width:624px}@media screen and (max-width: 624px){.overlay{width:100vw}}.overlay::before{content:\"\";display:block;position:fixed;top:0;bottom:0;left:0;right:624px;background-color:rgba(0, 0, 0, 0.5)}.filterpanel-buttons{text-align:right}.filterpanel-buttons .cancel-button{display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;background-color:#fff;border-color:#39870c;color:#39870c;border-width:1px;border-style:solid;border-radius:4px;line-height:1.5;min-width:56px;padding:11px 15px;line-height:16px}.filterpanel-buttons .cancel-button:focus,.filterpanel-buttons .cancel-button:focus-visible{outline-offset:2px}.filterpanel-buttons .cancel-button:active{outline:0}.filterpanel-buttons .cancel-button.extern::after,.filterpanel-buttons .cancel-button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.filterpanel-buttons .cancel-button:hover{background-color:#39870c;border-color:#39870c;color:#fff}.filterpanel-buttons .cancel-button:active{background-color:#275937;border-color:#275937;color:#fff}.filterpanel-buttons .cancel-button[disabled],.filterpanel-buttons .cancel-button[disabled]:hover{background-color:#fff;border-color:#afcf9d;color:#afcf9d}.filterpanel-buttons .cancel-button.btn-sm{line-height:16px}.filterpanel-buttons .cancel-button.btn-sm dso-icon,.filterpanel-buttons .cancel-button.btn-sm svg.di,.filterpanel-buttons .cancel-button.btn-sm.extern::after,.filterpanel-buttons .cancel-button.btn-sm.download::after{margin-bottom:-4px;margin-top:-4px}.filterpanel-buttons .cancel-button.download::after{background:var(--dso-icon, var(--di-download)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.filterpanel-buttons .cancel-button.download:hover::after{--dso-icon:var(--di-download-wit)}.filterpanel-buttons .cancel-button.download[disabled]::after{--dso-icon:var(--di-download-grasgroen-40)}.filterpanel-buttons .cancel-button.extern::after{background:var(--dso-icon, var(--di-external-link)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.filterpanel-buttons .cancel-button.extern:hover::after{--dso-icon:var(--di-external-link-wit)}.filterpanel-buttons .cancel-button.extern[disabled]::after{--dso-icon:var(--di-external-link-grasgroen-40)}.filterpanel-buttons .cancel-button dso-icon,.filterpanel-buttons .cancel-button svg.di{margin-left:-8px;margin-right:8px}.filterpanel-buttons .cancel-button span+dso-icon,.filterpanel-buttons .cancel-button span+svg.di{margin-left:8px;margin-right:-8px}.filterpanel-buttons .cancel-button dso-icon,.filterpanel-buttons .cancel-button svg.di,.filterpanel-buttons .cancel-button.extern::after,.filterpanel-buttons .cancel-button.download::after{margin-bottom:-4px;margin-top:-4px}.filterpanel-buttons .apply-button{display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;background-color:#39870c;border-color:#39870c;color:#fff;border-width:1px;border-style:solid;border-radius:4px;line-height:1.5;min-width:56px;padding:11px 15px;line-height:16px}.filterpanel-buttons .apply-button:focus,.filterpanel-buttons .apply-button:focus-visible{outline-offset:2px}.filterpanel-buttons .apply-button:active{outline:0}.filterpanel-buttons .apply-button.extern::after,.filterpanel-buttons .apply-button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.filterpanel-buttons .apply-button:hover{background-color:#275937;border-color:#275937;color:#fff}.filterpanel-buttons .apply-button:active{background-color:#15301e;border-color:#15301e;color:#fff}.filterpanel-buttons .apply-button[disabled],.filterpanel-buttons .apply-button[disabled]:hover{background-color:#afcf9d;border-color:#afcf9d;color:#fff}.filterpanel-buttons .apply-button.btn-sm{line-height:16px}.filterpanel-buttons .apply-button.btn-sm dso-icon,.filterpanel-buttons .apply-button.btn-sm svg.di,.filterpanel-buttons .apply-button.btn-sm.extern::after,.filterpanel-buttons .apply-button.btn-sm.download::after{margin-bottom:-4px;margin-top:-4px}.filterpanel-buttons .apply-button.download::after{background:var(--dso-icon, var(--di-download-wit)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.filterpanel-buttons .apply-button.extern::after{background:var(--dso-icon, var(--di-external-link-wit)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.filterpanel-buttons .apply-button dso-icon,.filterpanel-buttons .apply-button svg.di{margin-left:-8px;margin-right:8px}.filterpanel-buttons .apply-button span+dso-icon,.filterpanel-buttons .apply-button span+svg.di{margin-left:8px;margin-right:-8px}.filterpanel-buttons .apply-button dso-icon,.filterpanel-buttons .apply-button svg.di,.filterpanel-buttons .apply-button.extern::after,.filterpanel-buttons .apply-button.download::after{margin-bottom:-4px;margin-top:-4px}.filterpanel-buttons .cancel-button+.apply-button{margin-left:16px}";
|
|
712
719
|
|
|
713
720
|
let ViewerGrid = class {
|
|
714
721
|
constructor(hostRef) {
|
|
715
722
|
registerInstance(this, hostRef);
|
|
716
723
|
this.closeOverlay = createEvent(this, "closeOverlay", 7);
|
|
724
|
+
this.filterpanelCancel = createEvent(this, "filterpanelCancel", 7);
|
|
725
|
+
this.filterpanelApply = createEvent(this, "filterpanelApply", 7);
|
|
726
|
+
this.filterpanelOpen = false;
|
|
717
727
|
this.overlayOpen = false;
|
|
718
728
|
this.mainSize = "large";
|
|
729
|
+
this.filterpanelSlot = null;
|
|
730
|
+
this.overlaySlot = null;
|
|
719
731
|
this.shrinkMain = () => {
|
|
720
732
|
this.mainSize = this.mainSize == "large" ? "medium" : "small";
|
|
721
733
|
};
|
|
@@ -730,42 +742,67 @@ let ViewerGrid = class {
|
|
|
730
742
|
};
|
|
731
743
|
}
|
|
732
744
|
updateFocusTrap() {
|
|
733
|
-
|
|
745
|
+
var _a, _b;
|
|
746
|
+
if (this.filterpanelOpen && this.overlayOpen) {
|
|
734
747
|
return;
|
|
735
748
|
}
|
|
736
|
-
if (this.
|
|
737
|
-
this.
|
|
738
|
-
|
|
749
|
+
if (this.filterpanelFocustrap) {
|
|
750
|
+
if (this.filterpanelOpen && !((_a = this.filterpanel) === null || _a === void 0 ? void 0 : _a.hidden)) {
|
|
751
|
+
this.filterpanelFocustrap.activate();
|
|
752
|
+
this.host.addEventListener("keydown", this.keyDownListener);
|
|
753
|
+
}
|
|
754
|
+
else {
|
|
755
|
+
this.filterpanelFocustrap.deactivate();
|
|
756
|
+
this.host.removeEventListener("keydown", this.keyDownListener);
|
|
757
|
+
}
|
|
739
758
|
}
|
|
740
|
-
|
|
741
|
-
this.
|
|
742
|
-
|
|
759
|
+
if (this.overlayFocustrap) {
|
|
760
|
+
if (this.overlayOpen && !((_b = this.overlay) === null || _b === void 0 ? void 0 : _b.hidden)) {
|
|
761
|
+
this.overlayFocustrap.activate();
|
|
762
|
+
this.host.addEventListener("keydown", this.keyDownListener);
|
|
763
|
+
}
|
|
764
|
+
else {
|
|
765
|
+
this.overlayFocustrap.deactivate();
|
|
766
|
+
this.host.removeEventListener("keydown", this.keyDownListener);
|
|
767
|
+
}
|
|
743
768
|
}
|
|
744
769
|
}
|
|
745
770
|
connectedCallback() {
|
|
746
|
-
this.
|
|
771
|
+
this.filterpanelSlot = this.host.querySelector("div[slot='filterpanel']");
|
|
772
|
+
this.overlaySlot = this.host.querySelector("div[slot='overlay']");
|
|
747
773
|
}
|
|
748
774
|
componentDidLoad() {
|
|
749
|
-
if (
|
|
750
|
-
|
|
775
|
+
if (this.filterpanel && this.filterpanelSlot) {
|
|
776
|
+
this.filterpanelFocustrap = createFocusTrap([this.filterpanel, this.filterpanelSlot], {
|
|
777
|
+
escapeDeactivates: false,
|
|
778
|
+
allowOutsideClick: true,
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
if (this.overlay && this.overlaySlot) {
|
|
782
|
+
this.overlayFocustrap = createFocusTrap([this.overlay, this.overlaySlot], {
|
|
783
|
+
escapeDeactivates: false,
|
|
784
|
+
allowOutsideClick: true,
|
|
785
|
+
});
|
|
751
786
|
}
|
|
752
|
-
this.trap = createFocusTrap([this.overlay, this.overlaySlot], {
|
|
753
|
-
escapeDeactivates: false,
|
|
754
|
-
allowOutsideClick: true,
|
|
755
|
-
});
|
|
756
787
|
this.updateFocusTrap();
|
|
757
788
|
}
|
|
758
789
|
componentDidUpdate() {
|
|
759
790
|
this.updateFocusTrap();
|
|
760
791
|
}
|
|
761
792
|
disconnectedCallback() {
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
793
|
+
var _a, _b;
|
|
794
|
+
(_a = this.overlayFocustrap) === null || _a === void 0 ? void 0 : _a.deactivate();
|
|
795
|
+
(_b = this.filterpanelFocustrap) === null || _b === void 0 ? void 0 : _b.deactivate();
|
|
765
796
|
this.host.removeEventListener("keydown", this.keyDownListener);
|
|
766
797
|
}
|
|
798
|
+
handleFilterpanelApply(mouseEvent) {
|
|
799
|
+
this.filterpanelApply.emit({ originalEvent: mouseEvent });
|
|
800
|
+
}
|
|
801
|
+
handleFilterpanelCancel(mouseEvent) {
|
|
802
|
+
this.filterpanelCancel.emit({ originalEvent: mouseEvent });
|
|
803
|
+
}
|
|
767
804
|
render() {
|
|
768
|
-
return (h(Host, Object.assign({}, { [this.mainSize]: true }), h("div", { class: "dso-map-panel" }, h("div", { class: "sizing-buttons" }, h("button", { type: "button", class: "shrink", disabled: this.mainSize == "small", onClick: this.shrinkMain }, h("dso-icon", { icon: "chevron-left" })), h("button", { type: "button", class: "expand", disabled: this.mainSize == "large", onClick: this.expandMain }, h("dso-icon", { icon: "chevron-right" }))), h("div", { class: "main" }, h("slot", { name: "main" }))), h("div", { class: "map" }, h("slot", { name: "map" })), h("div", { class: "overlay", hidden: !this.overlayOpen || !this.overlaySlot, ref: (element) => (this.overlay = element) }, h("button", { type: "button", class: "overlay-close-button", onClick: (e) => this.closeOverlay.emit(e) }, h("dso-icon", { icon: "times" }), h("span", { class: "sr-only" }, "sluiten")), h("slot", { name: "overlay" }))));
|
|
805
|
+
return (h(Host, Object.assign({}, { [this.mainSize]: true }), h("div", { class: "dso-map-panel" }, h("div", { class: "sizing-buttons" }, h("button", { type: "button", class: "shrink", disabled: this.mainSize == "small", onClick: this.shrinkMain }, h("dso-icon", { icon: "chevron-left" })), h("button", { type: "button", class: "expand", disabled: this.mainSize == "large", onClick: this.expandMain }, h("dso-icon", { icon: "chevron-right" }))), h("div", { class: "main" }, h("slot", { name: "main" }))), h("div", { id: "filterpanel", hidden: !this.filterpanelOpen || !this.filterpanelSlot, ref: (element) => this.filterpanel = element }, h("h2", null, "Uw keuzes"), h(ViewerGridFilterpanelButtons, { onApply: e => this.handleFilterpanelApply(e), onCancel: e => this.handleFilterpanelCancel(e) }), h("slot", { name: "filterpanel" }), h(ViewerGridFilterpanelButtons, { onApply: e => this.handleFilterpanelApply(e), onCancel: e => this.handleFilterpanelCancel(e) })), h("div", { class: "map" }, h("slot", { name: "map" })), h("div", { class: "overlay", hidden: !this.overlayOpen || !this.overlaySlot, ref: (element) => (this.overlay = element) }, h("button", { type: "button", class: "overlay-close-button", onClick: (e) => this.closeOverlay.emit(e) }, h("dso-icon", { icon: "times" }), h("span", { class: "sr-only" }, "sluiten")), h("slot", { name: "overlay" }))));
|
|
769
806
|
}
|
|
770
807
|
get host() { return getElement(this); }
|
|
771
808
|
};
|
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["dso-map-base-layers",[[1,"dso-map-base-layers",{"baseLayers":[16]}]]],["dso-map-overlays",[[1,"dso-map-overlays",{"overlays":[16]}]]],["dso-header",[[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",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker",[[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",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]}]]],["dso-label",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-viewer-grid",[[1,"dso-viewer-grid",{"overlayOpen":[
|
|
13
|
+
return bootstrapLazy([["dso-map-base-layers",[[1,"dso-map-base-layers",{"baseLayers":[16]}]]],["dso-map-overlays",[[1,"dso-map-overlays",{"overlays":[16]}]]],["dso-header",[[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",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker",[[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",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]}]]],["dso-label",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-viewer-grid",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"mainSize":[32]}]]],["dso-alert",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-autosuggest",[[6,"dso-autosuggest",{"suggestions":[16],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32]},[[4,"click","onDocumentClick"]]]]],["dso-badge",[[1,"dso-badge",{"status":[1]}]]],["dso-banner",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content",[[0,"dso-ozon-content",{"content":[1]},[[0,"click","handleClick"]]]]],["dso-progress-bar",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-dropdown-menu",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-progress-indicator",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip",[[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",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1]}]]],["dso-info_2",[[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",[[1,"dso-icon",{"icon":[1]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
|
+
import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime';
|
|
2
2
|
import { BaseLayer, BaseLayerChangeEvent } from './map-base-layers.interfaces';
|
|
3
|
-
export declare class MapBaseLayers {
|
|
3
|
+
export declare class MapBaseLayers implements ComponentInterface {
|
|
4
|
+
previousBaselayers: BaseLayer[] | undefined;
|
|
5
|
+
selectableRefs: {
|
|
6
|
+
[id: number]: HTMLDsoSelectableElement;
|
|
7
|
+
};
|
|
4
8
|
baseLayerChange: EventEmitter<BaseLayerChangeEvent>;
|
|
5
9
|
baseLayers: BaseLayer[];
|
|
6
10
|
baseLayerChangeHandler(baseLayer: BaseLayer): void;
|
|
11
|
+
componentDidRender(): void;
|
|
7
12
|
render(): any;
|
|
8
13
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
|
+
import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime';
|
|
2
2
|
import { Overlay, OverlayChangeEvent } from './map-overlays.interfaces';
|
|
3
3
|
import { SelectableChangeEvent } from '../selectable/selectable';
|
|
4
|
-
export declare class MapOverlays {
|
|
4
|
+
export declare class MapOverlays implements ComponentInterface {
|
|
5
|
+
previousOverlays: Overlay[] | undefined;
|
|
6
|
+
selectableRefs: {
|
|
7
|
+
[id: number]: HTMLDsoSelectableElement;
|
|
8
|
+
};
|
|
5
9
|
overlays: Overlay[];
|
|
6
10
|
toggleOverlay: EventEmitter<OverlayChangeEvent>;
|
|
7
11
|
overlayChangeHandler(overlay: Overlay, e: CustomEvent<SelectableChangeEvent>): void;
|
|
12
|
+
componentDidRender(): void;
|
|
8
13
|
render(): any;
|
|
9
14
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../stencil-public-runtime';
|
|
2
|
+
export interface ViewerGridFilterpanelProps {
|
|
3
|
+
onApply: (mouseEvent: MouseEvent) => void;
|
|
4
|
+
onCancel: (mouseEvent: MouseEvent) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ViewerGridFilterpanelButtons: FunctionalComponent<ViewerGridFilterpanelProps>;
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import
|
|
2
|
+
import { FocusTrap } from "focus-trap";
|
|
3
3
|
declare type MainSize = "small" | "medium" | "large";
|
|
4
|
+
export interface FilterpanelEvent {
|
|
5
|
+
originalEvent: MouseEvent;
|
|
6
|
+
}
|
|
4
7
|
export declare class ViewerGrid {
|
|
8
|
+
filterpanelOpen: boolean;
|
|
5
9
|
overlayOpen: boolean;
|
|
6
10
|
mainSize: MainSize;
|
|
7
11
|
closeOverlay: EventEmitter<MouseEvent | KeyboardEvent>;
|
|
12
|
+
filterpanelCancel: EventEmitter<FilterpanelEvent>;
|
|
13
|
+
filterpanelApply: EventEmitter<FilterpanelEvent>;
|
|
8
14
|
host: HTMLElement;
|
|
15
|
+
filterpanel: HTMLElement | undefined;
|
|
16
|
+
filterpanelSlot: HTMLElement | null;
|
|
17
|
+
filterpanelFocustrap: FocusTrap | undefined;
|
|
9
18
|
overlay: HTMLDivElement | undefined;
|
|
10
|
-
overlaySlot: HTMLDivElement | null
|
|
11
|
-
|
|
19
|
+
overlaySlot: HTMLDivElement | null;
|
|
20
|
+
overlayFocustrap: FocusTrap | undefined;
|
|
12
21
|
shrinkMain: () => void;
|
|
13
22
|
expandMain: () => void;
|
|
14
23
|
updateFocusTrap(): void;
|
|
@@ -17,6 +26,8 @@ export declare class ViewerGrid {
|
|
|
17
26
|
componentDidLoad(): void;
|
|
18
27
|
componentDidUpdate(): void;
|
|
19
28
|
disconnectedCallback(): void;
|
|
29
|
+
handleFilterpanelApply(mouseEvent: MouseEvent): void;
|
|
30
|
+
handleFilterpanelCancel(mouseEvent: MouseEvent): void;
|
|
20
31
|
render(): any;
|
|
21
32
|
}
|
|
22
33
|
export {};
|
package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.template.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ViewerGrid } from "@dso-toolkit/sources";
|
|
2
2
|
import { TemplateResult } from "lit-html";
|
|
3
|
-
export declare function viewerGridTemplate({ main, map, overlay, noOverlay, overlayOpen, closeOverlay, }: ViewerGrid<TemplateResult>): TemplateResult<1>;
|
|
3
|
+
export declare function viewerGridTemplate({ filterpanel, main, map, overlay, noOverlay, filterpanelOpen, overlayOpen, filterpanelApply, filterpanelCancel, closeOverlay, }: ViewerGrid<TemplateResult>): TemplateResult<1>;
|
|
@@ -14,6 +14,7 @@ import { Overlay, OverlayChangeEvent } from "./components/map-overlays/map-overl
|
|
|
14
14
|
import { ContentAnchor } from "./components/ozon-content/ozon-content.interfaces";
|
|
15
15
|
import { SelectableChangeEvent } from "./components/selectable/selectable";
|
|
16
16
|
import { TreeViewItem, TreeViewPointerEvent } from "./components/tree-view/tree-view.interfaces";
|
|
17
|
+
import { FilterpanelEvent } from "./components/viewer-grid/viewer-grid";
|
|
17
18
|
export namespace Components {
|
|
18
19
|
interface DsoAlert {
|
|
19
20
|
/**
|
|
@@ -183,6 +184,7 @@ export namespace Components {
|
|
|
183
184
|
"invalid"?: boolean;
|
|
184
185
|
"name"?: string;
|
|
185
186
|
"required"?: boolean;
|
|
187
|
+
"toggleInfo": (active?: boolean | undefined) => Promise<void>;
|
|
186
188
|
"type": 'checkbox' | 'radio';
|
|
187
189
|
"value": string;
|
|
188
190
|
}
|
|
@@ -233,6 +235,7 @@ export namespace Components {
|
|
|
233
235
|
"collection": TreeViewItem[];
|
|
234
236
|
}
|
|
235
237
|
interface DsoViewerGrid {
|
|
238
|
+
"filterpanelOpen": boolean;
|
|
236
239
|
"overlayOpen": boolean;
|
|
237
240
|
}
|
|
238
241
|
}
|
|
@@ -667,7 +670,10 @@ declare namespace LocalJSX {
|
|
|
667
670
|
"onOpenItem"?: (event: CustomEvent<TreeViewItem[]>) => void;
|
|
668
671
|
}
|
|
669
672
|
interface DsoViewerGrid {
|
|
673
|
+
"filterpanelOpen"?: boolean;
|
|
670
674
|
"onCloseOverlay"?: (event: CustomEvent<MouseEvent | KeyboardEvent>) => void;
|
|
675
|
+
"onFilterpanelApply"?: (event: CustomEvent<FilterpanelEvent>) => void;
|
|
676
|
+
"onFilterpanelCancel"?: (event: CustomEvent<FilterpanelEvent>) => void;
|
|
671
677
|
"overlayOpen"?: boolean;
|
|
672
678
|
}
|
|
673
679
|
interface IntrinsicElements {
|
|
@@ -1476,7 +1476,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1476
1476
|
|
|
1477
1477
|
<div class="dso-browser-navbar-item-panel" id="browser-93bd8c6b19b0c244c25bb66541135f7a-panel-view" aria-labelledby="view-tab">
|
|
1478
1478
|
<div>
|
|
1479
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1479
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1480
1480
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1481
1481
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1482
1482
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1476,7 +1476,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1476
1476
|
|
|
1477
1477
|
<div class="dso-browser-navbar-item-panel" id="browser-613de95036bb9de2f88f5164ad46f8fa-panel-view" aria-labelledby="view-tab">
|
|
1478
1478
|
<div>
|
|
1479
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1479
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1480
1480
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1481
1481
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1482
1482
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1476,7 +1476,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1476
1476
|
|
|
1477
1477
|
<div class="dso-browser-navbar-item-panel" id="browser-0fae3932358c61c4393abafb8e931a40-panel-view" aria-labelledby="view-tab">
|
|
1478
1478
|
<div>
|
|
1479
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1479
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1480
1480
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1481
1481
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1482
1482
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1476,7 +1476,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1476
1476
|
|
|
1477
1477
|
<div class="dso-browser-navbar-item-panel" id="browser-89c6c527d28527da322000986bf7dc61-panel-view" aria-labelledby="view-tab">
|
|
1478
1478
|
<div>
|
|
1479
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1479
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1480
1480
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1481
1481
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1482
1482
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1478,7 +1478,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1478
1478
|
|
|
1479
1479
|
<div class="dso-browser-navbar-item-panel" id="browser-8a70cb7e9b6b9f785eb7b3e0691c4de2-panel-view" aria-labelledby="view-tab">
|
|
1480
1480
|
<div>
|
|
1481
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1481
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1482
1482
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1483
1483
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1484
1484
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1476,7 +1476,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1476
1476
|
|
|
1477
1477
|
<div class="dso-browser-navbar-item-panel" id="browser-f79a37bada662727f6ef98d9edeeef42-panel-view" aria-labelledby="view-tab">
|
|
1478
1478
|
<div>
|
|
1479
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1479
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1480
1480
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1481
1481
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1482
1482
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1502,7 +1502,7 @@ Om een tekstlink te maken met het woord ‘downloaden’ en het downloadicoon er
|
|
|
1502
1502
|
|
|
1503
1503
|
<div class="dso-browser-navbar-item-panel" id="browser-37d5b5ae8990df53d450ec71f317be47-panel-view" aria-labelledby="view-tab">
|
|
1504
1504
|
<div>
|
|
1505
|
-
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1505
|
+
<pre><span class="xml"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> iconOnly %}</span><span class="xml"><span class="hljs-tag"> <span class="hljs-attr">title</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ label }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ className(modifier) }}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">if</span></span> modifier and modifier.indexOf('extern') > -1 %}</span><span class="xml"><span class="hljs-tag"><span class="hljs-attr">target</span>=<span class="hljs-string">"_blank"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"noopener noreferrer"</span></span></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> %}</span><span class="xml"><span class="hljs-tag"> </span></span><span class="hljs-template-variable">{{ attributes([current, 'aria-current', 'page']) }}</span><span class="xml"><span class="hljs-tag">></span>
|
|
1506
1506
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> icon and not iconOnly -%}</span><span class="xml">
|
|
1507
1507
|
<span class="hljs-tag"><<span class="hljs-name">dso-icon</span> <span class="hljs-attr">icon</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ icon }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span><span class="hljs-tag"></<span class="hljs-name">dso-icon</span>></span>
|
|
1508
1508
|
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-name">if</span></span> not modifier or not (modifier.includes('btn') or modifier.includes('primary') or modifier.includes('secondary') or modifier.includes('tertiary')) %}</span><span class="xml"> </span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-name">endif</span></span> -%}</span><span class="xml">
|
|
@@ -1400,7 +1400,7 @@ Op het moment dat de gebruiker focus verplaatst uit het verplichte invoerveld of
|
|
|
1400
1400
|
</ul>
|
|
1401
1401
|
<p><img src="../../docs/images/form-verplicht.jpg" alt="Formulier met verplichte invoervelden"></p>
|
|
1402
1402
|
<p><strong>Verplicht invoerformaat</strong>
|
|
1403
|
-
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:n&#
|
|
1403
|
+
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naam@domein.nl">naam@domein.nl</a> moet hebben. Het is belangrijk om vóór het invoerveld duidelijk te maken wat de eisen zijn aan de invoer, óf automatisch de invoer te corrigeren. Bijvoorbeeld: Postcode (1234 AB). Het beste is om de instructie binnen het labelelement te plaatsen zodat de instructie wordt voorgelezen als de bezoeker op het invoerveld staat.</p>
|
|
1404
1404
|
<p><img src="../../docs/images/form-verplicht-formaat.jpg" alt="Formulier met verplicht invoerformaat"></p>
|
|
1405
1405
|
<h3 id="toegankelijkheid-meldingen">Toegankelijkheid meldingen</h3>
|
|
1406
1406
|
<p>De formulierwerkvormen kunnen voorzien worden van een:</p>
|
|
@@ -1400,7 +1400,7 @@ Op het moment dat de gebruiker focus verplaatst uit het verplichte invoerveld of
|
|
|
1400
1400
|
</ul>
|
|
1401
1401
|
<p><img src="../../docs/images/form-verplicht.jpg" alt="Formulier met verplichte invoervelden"></p>
|
|
1402
1402
|
<p><strong>Verplicht invoerformaat</strong>
|
|
1403
|
-
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naa&#
|
|
1403
|
+
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naam@domein.nl">naam@domein.nl</a> moet hebben. Het is belangrijk om vóór het invoerveld duidelijk te maken wat de eisen zijn aan de invoer, óf automatisch de invoer te corrigeren. Bijvoorbeeld: Postcode (1234 AB). Het beste is om de instructie binnen het labelelement te plaatsen zodat de instructie wordt voorgelezen als de bezoeker op het invoerveld staat.</p>
|
|
1404
1404
|
<p><img src="../../docs/images/form-verplicht-formaat.jpg" alt="Formulier met verplicht invoerformaat"></p>
|
|
1405
1405
|
<h3 id="toegankelijkheid-meldingen">Toegankelijkheid meldingen</h3>
|
|
1406
1406
|
<p>De formulierwerkvormen kunnen voorzien worden van een:</p>
|
|
@@ -1400,7 +1400,7 @@ Op het moment dat de gebruiker focus verplaatst uit het verplichte invoerveld of
|
|
|
1400
1400
|
</ul>
|
|
1401
1401
|
<p><img src="../../docs/images/form-verplicht.jpg" alt="Formulier met verplichte invoervelden"></p>
|
|
1402
1402
|
<p><strong>Verplicht invoerformaat</strong>
|
|
1403
|
-
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:&#
|
|
1403
|
+
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naam@domein.nl">naam@domein.nl</a> moet hebben. Het is belangrijk om vóór het invoerveld duidelijk te maken wat de eisen zijn aan de invoer, óf automatisch de invoer te corrigeren. Bijvoorbeeld: Postcode (1234 AB). Het beste is om de instructie binnen het labelelement te plaatsen zodat de instructie wordt voorgelezen als de bezoeker op het invoerveld staat.</p>
|
|
1404
1404
|
<p><img src="../../docs/images/form-verplicht-formaat.jpg" alt="Formulier met verplicht invoerformaat"></p>
|
|
1405
1405
|
<h3 id="toegankelijkheid-meldingen">Toegankelijkheid meldingen</h3>
|
|
1406
1406
|
<p>De formulierwerkvormen kunnen voorzien worden van een:</p>
|
|
@@ -1400,7 +1400,7 @@ Op het moment dat de gebruiker focus verplaatst uit het verplichte invoerveld of
|
|
|
1400
1400
|
</ul>
|
|
1401
1401
|
<p><img src="../../docs/images/form-verplicht.jpg" alt="Formulier met verplichte invoervelden"></p>
|
|
1402
1402
|
<p><strong>Verplicht invoerformaat</strong>
|
|
1403
|
-
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:&#
|
|
1403
|
+
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naam@domein.nl">naam@domein.nl</a> moet hebben. Het is belangrijk om vóór het invoerveld duidelijk te maken wat de eisen zijn aan de invoer, óf automatisch de invoer te corrigeren. Bijvoorbeeld: Postcode (1234 AB). Het beste is om de instructie binnen het labelelement te plaatsen zodat de instructie wordt voorgelezen als de bezoeker op het invoerveld staat.</p>
|
|
1404
1404
|
<p><img src="../../docs/images/form-verplicht-formaat.jpg" alt="Formulier met verplicht invoerformaat"></p>
|
|
1405
1405
|
<h3 id="toegankelijkheid-meldingen">Toegankelijkheid meldingen</h3>
|
|
1406
1406
|
<p>De formulierwerkvormen kunnen voorzien worden van een:</p>
|
|
@@ -1400,7 +1400,7 @@ Op het moment dat de gebruiker focus verplaatst uit het verplichte invoerveld of
|
|
|
1400
1400
|
</ul>
|
|
1401
1401
|
<p><img src="../../docs/images/form-verplicht.jpg" alt="Formulier met verplichte invoervelden"></p>
|
|
1402
1402
|
<p><strong>Verplicht invoerformaat</strong>
|
|
1403
|
-
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:&#
|
|
1403
|
+
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naam@domein.nl">naam@domein.nl</a> moet hebben. Het is belangrijk om vóór het invoerveld duidelijk te maken wat de eisen zijn aan de invoer, óf automatisch de invoer te corrigeren. Bijvoorbeeld: Postcode (1234 AB). Het beste is om de instructie binnen het labelelement te plaatsen zodat de instructie wordt voorgelezen als de bezoeker op het invoerveld staat.</p>
|
|
1404
1404
|
<p><img src="../../docs/images/form-verplicht-formaat.jpg" alt="Formulier met verplicht invoerformaat"></p>
|
|
1405
1405
|
<h3 id="toegankelijkheid-meldingen">Toegankelijkheid meldingen</h3>
|
|
1406
1406
|
<p>De formulierwerkvormen kunnen voorzien worden van een:</p>
|
|
@@ -1400,7 +1400,7 @@ Op het moment dat de gebruiker focus verplaatst uit het verplichte invoerveld of
|
|
|
1400
1400
|
</ul>
|
|
1401
1401
|
<p><img src="../../docs/images/form-verplicht.jpg" alt="Formulier met verplichte invoervelden"></p>
|
|
1402
1402
|
<p><strong>Verplicht invoerformaat</strong>
|
|
1403
|
-
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:&#
|
|
1403
|
+
Net als de verplichte velden kunnen er ook verplichte invoerformaten zijn. Bijvoorbeeld een e-mailadres wat de vorm <a href="mailto:naam@domein.nl">naam@domein.nl</a> moet hebben. Het is belangrijk om vóór het invoerveld duidelijk te maken wat de eisen zijn aan de invoer, óf automatisch de invoer te corrigeren. Bijvoorbeeld: Postcode (1234 AB). Het beste is om de instructie binnen het labelelement te plaatsen zodat de instructie wordt voorgelezen als de bezoeker op het invoerveld staat.</p>
|
|
1404
1404
|
<p><img src="../../docs/images/form-verplicht-formaat.jpg" alt="Formulier met verplicht invoerformaat"></p>
|
|
1405
1405
|
<h3 id="toegankelijkheid-meldingen">Toegankelijkheid meldingen</h3>
|
|
1406
1406
|
<p>De formulierwerkvormen kunnen voorzien worden van een:</p>
|