@dso-toolkit/core 87.0.0 → 88.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/dist/bundle/dso-accordion-section.js +9 -9
- package/dist/bundle/dso-accordion-section.js.map +1 -1
- package/dist/bundle/dso-accordion.js +1 -1
- package/dist/bundle/dso-action-list-item.js +3 -3
- package/dist/bundle/dso-action-list.js +1 -1
- package/dist/bundle/dso-advanced-select.js +7 -7
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +6 -6
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +6 -6
- package/dist/bundle/dso-annotation-kaart.js +3 -3
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +6 -6
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +4 -4
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +2 -2
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +3 -3
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +1 -1
- package/dist/bundle/dso-date-picker.js +1 -1
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu.js +1 -1
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-header.js +3 -3
- package/dist/bundle/dso-highlight-box.js +1 -1
- package/dist/bundle/dso-history-item.js +2 -2
- package/dist/bundle/dso-icon-button.js +1 -1
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +2 -2
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-item.js +17 -11
- package/dist/bundle/dso-legend-item.js.map +1 -1
- package/dist/bundle/dso-legend.js +5 -5
- package/dist/bundle/dso-legend.js.map +1 -1
- package/dist/bundle/dso-list-button.js +16 -10
- package/dist/bundle/dso-list-button.js.map +1 -1
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +16 -10
- package/dist/bundle/dso-map-base-layers.js.map +1 -1
- package/dist/bundle/dso-map-controls.js +5 -5
- package/dist/bundle/dso-map-layer-object.js +2 -2
- package/dist/bundle/dso-map-layer.js +2 -2
- package/dist/bundle/dso-map-overlays.js +16 -10
- package/dist/bundle/dso-map-overlays.js.map +1 -1
- package/dist/bundle/dso-mark-bar.js +3 -3
- package/dist/bundle/dso-modal.js +4 -4
- package/dist/bundle/dso-onboarding-tip.js +4 -4
- package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +2 -2
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +2 -2
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +5 -5
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-skiplink.js +2 -2
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +5 -5
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.js +2 -2
- package/dist/bundle/dso-toggletip.js +1 -1
- package/dist/bundle/dso-tooltip.js +1 -1
- package/dist/bundle/dso-tree-view.js +3 -3
- package/dist/bundle/dso-viewer-grid.js +1 -1
- package/dist/bundle/dsot-document-component-demo.js +16 -16
- package/dist/bundle/{p-UnVH9dA3.js → p-5_7c5-sf.js} +5 -5
- package/dist/bundle/{p-UnVH9dA3.js.map → p-5_7c5-sf.js.map} +1 -1
- package/dist/bundle/{p-CTQwkAJg.js → p-B7LckOX-.js} +5 -5
- package/dist/bundle/{p-CTQwkAJg.js.map → p-B7LckOX-.js.map} +1 -1
- package/dist/bundle/{p-r5BYffta.js → p-BFAmNPH7.js} +3 -3
- package/dist/bundle/{p-r5BYffta.js.map → p-BFAmNPH7.js.map} +1 -1
- package/dist/bundle/{p-DSKmaWtk.js → p-BGuFTOZf.js} +17 -11
- package/dist/bundle/p-BGuFTOZf.js.map +1 -0
- package/dist/bundle/{p-DPHt7dpm.js → p-BOYwoGz-.js} +4 -4
- package/dist/bundle/{p-DPHt7dpm.js.map → p-BOYwoGz-.js.map} +1 -1
- package/dist/bundle/{p-ZdXI66By.js → p-BWiGIQ1w.js} +3 -3
- package/dist/bundle/{p-ZdXI66By.js.map → p-BWiGIQ1w.js.map} +1 -1
- package/dist/bundle/{p-BRSHyfZz.js → p-Btk7RWKm.js} +3 -3
- package/dist/bundle/{p-BRSHyfZz.js.map → p-Btk7RWKm.js.map} +1 -1
- package/dist/bundle/{p-CXwqc8in.js → p-BvzNzaC8.js} +15 -15
- package/dist/bundle/{p-CXwqc8in.js.map → p-BvzNzaC8.js.map} +1 -1
- package/dist/bundle/{p-ZCp_Ng6S.js → p-Bwxtl13v.js} +5 -5
- package/dist/bundle/{p-ZCp_Ng6S.js.map → p-Bwxtl13v.js.map} +1 -1
- package/dist/bundle/{p-D-umefg-.js → p-Bx-lyRDw.js} +16 -10
- package/dist/bundle/p-Bx-lyRDw.js.map +1 -0
- package/dist/bundle/{p-_RZbmuMU.js → p-C1uSuLE3.js} +95 -3
- package/dist/bundle/p-C1uSuLE3.js.map +1 -0
- package/dist/bundle/{p-D8SsDcpI.js → p-CBhOl8xD.js} +3 -3
- package/dist/bundle/{p-D8SsDcpI.js.map → p-CBhOl8xD.js.map} +1 -1
- package/dist/bundle/{p-DKUZ_y7O.js → p-CDc4VPk-.js} +9 -9
- package/dist/bundle/{p-DKUZ_y7O.js.map → p-CDc4VPk-.js.map} +1 -1
- package/dist/bundle/{p-CI06uY23.js → p-CFQ1xnYr.js} +8 -8
- package/dist/bundle/{p-CI06uY23.js.map → p-CFQ1xnYr.js.map} +1 -1
- package/dist/bundle/{p-CEAGN3Bt.js → p-CkRbdaNs.js} +4 -4
- package/dist/bundle/p-CkRbdaNs.js.map +1 -0
- package/dist/bundle/{p-BeS6r1yL.js → p-CzwvLR64.js} +8 -8
- package/dist/bundle/{p-BeS6r1yL.js.map → p-CzwvLR64.js.map} +1 -1
- package/dist/bundle/{p-kKdt-6mr.js → p-DJ_Iuzp2.js} +20 -11
- package/dist/bundle/p-DJ_Iuzp2.js.map +1 -0
- package/dist/bundle/{p-CUKsRYtG.js → p-DQdpjvm1.js} +4 -4
- package/dist/bundle/{p-CUKsRYtG.js.map → p-DQdpjvm1.js.map} +1 -1
- package/dist/bundle/{p-B3BC2VIG.js → p-DhBq2NpP.js} +4 -4
- package/dist/bundle/{p-B3BC2VIG.js.map → p-DhBq2NpP.js.map} +1 -1
- package/dist/bundle/{p-DeccEoRQ.js → p-Dzpqkbo5.js} +7 -30
- package/dist/bundle/p-Dzpqkbo5.js.map +1 -0
- package/dist/bundle/{p-CJHh7I1P.js → p-X1EWJbJ_.js} +5 -5
- package/dist/bundle/{p-CJHh7I1P.js.map → p-X1EWJbJ_.js.map} +1 -1
- package/dist/bundle/{p-Dx7IryUb.js → p-dKr8fpVj.js} +3 -3
- package/dist/bundle/{p-Dx7IryUb.js.map → p-dKr8fpVj.js.map} +1 -1
- package/dist/bundle/{p-Cenxfs7q.js → p-dcbs8fsg.js} +4 -4
- package/dist/bundle/{p-Cenxfs7q.js.map → p-dcbs8fsg.js.map} +1 -1
- package/dist/bundle/{p-EGp7CTVS.js → p-ecEmdirb.js} +5 -5
- package/dist/bundle/p-ecEmdirb.js.map +1 -0
- package/dist/bundle/{p-046dAUOV.js → p-iAFTfRTZ.js} +6 -6
- package/dist/bundle/{p-046dAUOV.js.map → p-iAFTfRTZ.js.map} +1 -1
- package/dist/bundle/{p-DvY09j0_.js → p-kBBh-4zI.js} +3 -3
- package/dist/bundle/{p-DvY09j0_.js.map → p-kBBh-4zI.js.map} +1 -1
- package/dist/bundle/p-zIbIgzeg.js +159 -0
- package/dist/bundle/p-zIbIgzeg.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-alert_7.cjs.entry.js +10 -10
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon_2.cjs.entry.js +7 -30
- package/dist/cjs/dso-info-button.cjs.entry.js +90 -9
- package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend.cjs.entry.js +2 -2
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +3 -3
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{floating-ui.dom-CHD5ZW0W.js → floating-ui.dom-Bp4TaUcL.js} +95 -2
- package/dist/{esm/floating-ui.dom-_RZbmuMU.js.map → cjs/floating-ui.dom-Bp4TaUcL.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{position-tooltip.function-ByMSSaYN.js → position-tooltip.function-CDcvfQQh.js} +19 -10
- package/dist/cjs/position-tooltip.function-CDcvfQQh.js.map +1 -0
- package/dist/cjs/{tooltip.functional-component-DaIoD81Q.js → tooltip.functional-component-BEYSPQ3a.js} +3 -3
- package/dist/cjs/tooltip.functional-component-BEYSPQ3a.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +2 -2
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +2 -2
- package/dist/collection/components/advanced-select/advanced-select.js +2 -2
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-container/card-container.js +1 -1
- package/dist/collection/components/contact-information/contact-information.js +1 -1
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/document-card/document-card.js +1 -1
- package/dist/collection/components/document-component/document-component.js +2 -2
- package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/expandable/expandable.interfaces.js +2 -0
- package/dist/collection/components/expandable/expandable.interfaces.js.map +1 -0
- package/dist/collection/components/expandable/expandable.js +8 -8
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +1 -1
- package/dist/collection/components/history-item/history-item.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +2 -25
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info-button/info-button.css +51 -0
- package/dist/collection/components/info-button/info-button.js +121 -14
- package/dist/collection/components/info-button/info-button.js.map +1 -1
- package/dist/collection/components/input-range/input-range.js +2 -2
- package/dist/collection/components/label/label.js +3 -3
- package/dist/collection/components/legend/legend.css +7 -2
- package/dist/collection/components/legend/legend.js +1 -1
- package/dist/collection/components/legend-item/legend-item.css +0 -5
- package/dist/collection/components/legend-item/legend-item.interfaces.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +2 -2
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
- package/dist/collection/components/map-layer/map-layer.js +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +2 -7
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.interfaces.js +2 -0
- package/dist/collection/components/panel/panel.interfaces.js.map +1 -0
- package/dist/collection/components/panel/panel.js +4 -4
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.css +7 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
- package/dist/collection/components/toggletip/toggletip.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/collection/functional-components/tooltip/position-tooltip.function.js +17 -8
- package/dist/collection/functional-components/tooltip/position-tooltip.function.js.map +1 -1
- package/dist/collection/functional-components/tooltip/tooltip.functional-component.js +1 -1
- package/dist/collection/functional-components/tooltip/tooltip.functional-component.js.map +1 -1
- package/dist/collection/functional-components/tooltip/tooltip.interfaces.js.map +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/attachments-counter.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +2 -2
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dso-accordion-section.js +2 -2
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-action-list-item.js +2 -2
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
- package/dist/components/dso-annotation-kaart.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-banner.js +2 -2
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card.js +2 -2
- package/dist/components/dso-contact-information.js +1 -1
- package/dist/components/dso-cursor-tooltip.js +1 -1
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-document-card.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-history-item.js +1 -1
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-legend-item.js +14 -8
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-legend.js +2 -2
- package/dist/components/dso-legend.js.map +1 -1
- package/dist/components/dso-list-button.js +15 -9
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +15 -9
- package/dist/components/dso-map-base-layers.js.map +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-layer-object.js +1 -1
- package/dist/components/dso-map-layer.js +1 -1
- package/dist/components/dso-map-overlays.js +15 -9
- package/dist/components/dso-map-overlays.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-modal.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-plekinfo-card.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +2 -2
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/dsot-document-component-demo.js +1 -1
- package/dist/components/expandable.js +2 -2
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/floating-ui.dom.js +93 -1
- package/dist/components/floating-ui.dom.js.map +1 -1
- package/dist/components/icon-button.js +3 -26
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/info-button.js +101 -15
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/ozon-content-toggletip.js +2 -2
- package/dist/components/ozon-content-toggletip.js.map +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/panel.js.map +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +3 -3
- package/dist/components/scrollable.js.map +1 -1
- package/dist/components/selectable.js +15 -9
- package/dist/components/selectable.js.map +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toggletip.js +13 -7
- package/dist/components/toggletip.js.map +1 -1
- package/dist/components/tooltip.functional-component.js +18 -9
- package/dist/components/tooltip.functional-component.js.map +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-8e1375aa.entry.js → p-0abaf49f.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e428ceb2.entry.js → p-0ed7cc17.entry.js} +2 -2
- package/dist/dso-toolkit/p-112ba754.entry.js +2 -0
- package/dist/dso-toolkit/p-112ba754.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-9dcafbea.entry.js → p-19c22a92.entry.js} +2 -2
- package/dist/dso-toolkit/{p-25cdd9a9.entry.js → p-1c6192d7.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5d355433.entry.js → p-226f8f96.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6327e736.entry.js → p-25aad37b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-eda3240b.entry.js → p-2748519c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8c8120b8.entry.js → p-2a3314e5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ef77c735.entry.js → p-2ddcf297.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3287a371.entry.js → p-3217e47b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-0c7f6ca8.entry.js → p-3b2e6ecb.entry.js} +2 -2
- package/dist/dso-toolkit/{p-efd35288.entry.js → p-4568c8c1.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b6810347.entry.js → p-48e44b35.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8ecc3fdc.entry.js → p-4aee1b2e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-504ea700.entry.js → p-4c01626d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-504ea700.entry.js.map → p-4c01626d.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-88bc0eb2.entry.js → p-50ea7ead.entry.js} +2 -2
- package/dist/dso-toolkit/p-526ebea7.entry.js +2 -0
- package/dist/dso-toolkit/{p-c5f75bc1.entry.js.map → p-526ebea7.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-e558cec2.entry.js → p-53436a6b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e3e272a2.entry.js → p-5375627e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e3e272a2.entry.js.map → p-5375627e.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-2bb43f8c.entry.js → p-5f69ed68.entry.js} +2 -2
- package/dist/dso-toolkit/{p-98388a2c.entry.js → p-659b373c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ec0175ad.entry.js → p-6995bf7c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-cc1f3843.entry.js → p-6ae428d5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d85a9815.entry.js → p-6e0ba75b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-34067df5.entry.js → p-7285f1f0.entry.js} +2 -2
- package/dist/dso-toolkit/p-72fd4bfe.entry.js +2 -0
- package/dist/dso-toolkit/{p-f0a193d9.entry.js → p-78b1eca4.entry.js} +2 -2
- package/dist/dso-toolkit/p-80e385b3.entry.js +2 -0
- package/dist/dso-toolkit/{p-dee9a99c.entry.js → p-88e7db50.entry.js} +2 -2
- package/dist/dso-toolkit/p-8ba1805d.entry.js +2 -0
- package/dist/dso-toolkit/{p-c663dca1.entry.js.map → p-8ba1805d.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-14977305.entry.js → p-8be7df7f.entry.js} +2 -2
- package/dist/dso-toolkit/p-8c187590.entry.js +2 -0
- package/dist/dso-toolkit/{p-256c7374.entry.js.map → p-8c187590.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-297e3c05.entry.js → p-8c303909.entry.js} +2 -2
- package/dist/dso-toolkit/{p-44cf59a0.entry.js → p-8e33fc54.entry.js} +2 -2
- package/dist/dso-toolkit/{p-37fbf639.entry.js → p-8fb2ba3e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-dfb7761c.entry.js → p-924ef127.entry.js} +2 -2
- package/dist/dso-toolkit/{p-cf4a7ebc.entry.js → p-93dac7e8.entry.js} +2 -2
- package/dist/dso-toolkit/p-97700c36.entry.js +2 -0
- package/dist/dso-toolkit/{p-2b7b0379.entry.js → p-9ef9c6c8.entry.js} +2 -2
- package/dist/dso-toolkit/p-C1uSuLE3.js +2 -0
- package/dist/dso-toolkit/{p-_RZbmuMU.js.map → p-C1uSuLE3.js.map} +1 -1
- package/dist/dso-toolkit/p-DY6u58-r.js +2 -0
- package/dist/dso-toolkit/p-DY6u58-r.js.map +1 -0
- package/dist/dso-toolkit/p-a558b0d3.entry.js +2 -0
- package/dist/dso-toolkit/{p-9246d33d.entry.js.map → p-a558b0d3.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-788d29c5.entry.js → p-b0d6f317.entry.js} +2 -2
- package/dist/dso-toolkit/{p-459162c4.entry.js → p-b1a385c9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5a913c4f.entry.js → p-b78d1e0e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-9b8ae629.entry.js → p-c4499b88.entry.js} +2 -2
- package/dist/dso-toolkit/{p-df643547.entry.js → p-c86138aa.entry.js} +2 -2
- package/dist/dso-toolkit/{p-0f43d69b.entry.js → p-c8946358.entry.js} +2 -2
- package/dist/dso-toolkit/{p-aa870cd3.entry.js → p-ca501487.entry.js} +2 -2
- package/dist/dso-toolkit/p-d10abd51.entry.js +2 -0
- package/dist/dso-toolkit/{p-CkCWkDx9.js → p-dtqgWwPF.js} +2 -2
- package/dist/dso-toolkit/p-dtqgWwPF.js.map +1 -0
- package/dist/dso-toolkit/p-eb280c98.entry.js +2 -0
- package/dist/dso-toolkit/{p-b3c6443c.entry.js.map → p-eb280c98.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-d067d245.entry.js → p-ed33ea10.entry.js} +2 -2
- package/dist/dso-toolkit/p-f333aebd.entry.js +2 -0
- package/dist/dso-toolkit/{p-377907dc.entry.js.map → p-f333aebd.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4173cee0.entry.js → p-f488bdce.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2c421433.entry.js → p-f4c12ec1.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8fccf830.entry.js → p-f87553d9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-88e44092.entry.js → p-fcc4186a.entry.js} +2 -2
- package/dist/esm/dso-accordion-section.entry.js +2 -2
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js +1 -1
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-alert_7.entry.js +10 -10
- package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +3 -3
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js +2 -2
- package/dist/esm/dso-button-group.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +2 -2
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-document-card.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +2 -2
- package/dist/esm/dso-header.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-history-item.entry.js +1 -1
- package/dist/esm/dso-icon_2.entry.js +7 -30
- package/dist/esm/dso-info-button.entry.js +91 -10
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +2 -2
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-label_3.entry.js +4 -4
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-legend.entry.js +2 -2
- package/dist/esm/dso-legend.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +1 -1
- package/dist/esm/dso-map-controls.entry.js +1 -1
- package/dist/esm/dso-map-layer-object.entry.js +1 -1
- package/dist/esm/dso-map-layer.entry.js +1 -1
- package/dist/esm/dso-map-overlays.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +3 -3
- package/dist/esm/dso-plekinfo-card.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +1 -1
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-scrollable.entry.js.map +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +2 -2
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tooltip.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/esm/{floating-ui.dom-_RZbmuMU.js → floating-ui.dom-C1uSuLE3.js} +95 -3
- package/dist/{cjs/floating-ui.dom-CHD5ZW0W.js.map → esm/floating-ui.dom-C1uSuLE3.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{position-tooltip.function-C5-1llBb.js → position-tooltip.function-gQf7Uoh1.js} +19 -10
- package/dist/esm/position-tooltip.function-gQf7Uoh1.js.map +1 -0
- package/dist/esm/{tooltip.functional-component-B01Xtod2.js → tooltip.functional-component-faOeuQGr.js} +3 -3
- package/dist/esm/tooltip.functional-component-faOeuQGr.js.map +1 -0
- package/dist/types/components/expandable/expandable.d.ts +1 -8
- package/dist/types/components/expandable/expandable.interfaces.d.ts +8 -0
- package/dist/types/components/info-button/info-button.d.ts +21 -2
- package/dist/types/components/panel/panel.d.ts +1 -3
- package/dist/types/components/panel/panel.interfaces.d.ts +3 -0
- package/dist/types/components.d.ts +17 -5
- package/dist/types/functional-components/tooltip/tooltip.functional-component.d.ts +1 -1
- package/dist/types/functional-components/tooltip/tooltip.interfaces.d.ts +1 -0
- package/package.json +3 -3
- package/dist/bundle/p-CEAGN3Bt.js.map +0 -1
- package/dist/bundle/p-CY_jRhM0.js +0 -73
- package/dist/bundle/p-CY_jRhM0.js.map +0 -1
- package/dist/bundle/p-D-umefg-.js.map +0 -1
- package/dist/bundle/p-DSKmaWtk.js.map +0 -1
- package/dist/bundle/p-DeccEoRQ.js.map +0 -1
- package/dist/bundle/p-EGp7CTVS.js.map +0 -1
- package/dist/bundle/p-_RZbmuMU.js.map +0 -1
- package/dist/bundle/p-kKdt-6mr.js.map +0 -1
- package/dist/cjs/position-tooltip.function-ByMSSaYN.js.map +0 -1
- package/dist/cjs/tooltip.functional-component-DaIoD81Q.js.map +0 -1
- package/dist/dso-toolkit/p-256c7374.entry.js +0 -2
- package/dist/dso-toolkit/p-2f50c3b1.entry.js +0 -2
- package/dist/dso-toolkit/p-377907dc.entry.js +0 -2
- package/dist/dso-toolkit/p-5a289b2b.entry.js +0 -2
- package/dist/dso-toolkit/p-5a289b2b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-9246d33d.entry.js +0 -2
- package/dist/dso-toolkit/p-CkCWkDx9.js.map +0 -1
- package/dist/dso-toolkit/p-DQTeCl9Y.js +0 -2
- package/dist/dso-toolkit/p-DQTeCl9Y.js.map +0 -1
- package/dist/dso-toolkit/p-_RZbmuMU.js +0 -2
- package/dist/dso-toolkit/p-b3c6443c.entry.js +0 -2
- package/dist/dso-toolkit/p-b90301b9.entry.js +0 -2
- package/dist/dso-toolkit/p-c5f75bc1.entry.js +0 -2
- package/dist/dso-toolkit/p-c663dca1.entry.js +0 -2
- package/dist/dso-toolkit/p-ee1fabc8.entry.js +0 -2
- package/dist/dso-toolkit/p-fd8985ec.entry.js +0 -2
- package/dist/esm/position-tooltip.function-C5-1llBb.js.map +0 -1
- package/dist/esm/tooltip.functional-component-B01Xtod2.js.map +0 -1
- /package/dist/dso-toolkit/{p-8e1375aa.entry.js.map → p-0abaf49f.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e428ceb2.entry.js.map → p-0ed7cc17.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9dcafbea.entry.js.map → p-19c22a92.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-25cdd9a9.entry.js.map → p-1c6192d7.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5d355433.entry.js.map → p-226f8f96.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-6327e736.entry.js.map → p-25aad37b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-eda3240b.entry.js.map → p-2748519c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8c8120b8.entry.js.map → p-2a3314e5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ef77c735.entry.js.map → p-2ddcf297.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-3287a371.entry.js.map → p-3217e47b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-0c7f6ca8.entry.js.map → p-3b2e6ecb.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-efd35288.entry.js.map → p-4568c8c1.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b6810347.entry.js.map → p-48e44b35.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8ecc3fdc.entry.js.map → p-4aee1b2e.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-88bc0eb2.entry.js.map → p-50ea7ead.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e558cec2.entry.js.map → p-53436a6b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2bb43f8c.entry.js.map → p-5f69ed68.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-98388a2c.entry.js.map → p-659b373c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ec0175ad.entry.js.map → p-6995bf7c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-cc1f3843.entry.js.map → p-6ae428d5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d85a9815.entry.js.map → p-6e0ba75b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-34067df5.entry.js.map → p-7285f1f0.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b90301b9.entry.js.map → p-72fd4bfe.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-f0a193d9.entry.js.map → p-78b1eca4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ee1fabc8.entry.js.map → p-80e385b3.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-dee9a99c.entry.js.map → p-88e7db50.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-14977305.entry.js.map → p-8be7df7f.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-297e3c05.entry.js.map → p-8c303909.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-44cf59a0.entry.js.map → p-8e33fc54.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-37fbf639.entry.js.map → p-8fb2ba3e.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-dfb7761c.entry.js.map → p-924ef127.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-cf4a7ebc.entry.js.map → p-93dac7e8.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2f50c3b1.entry.js.map → p-97700c36.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2b7b0379.entry.js.map → p-9ef9c6c8.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-788d29c5.entry.js.map → p-b0d6f317.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-459162c4.entry.js.map → p-b1a385c9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5a913c4f.entry.js.map → p-b78d1e0e.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9b8ae629.entry.js.map → p-c4499b88.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-df643547.entry.js.map → p-c86138aa.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-0f43d69b.entry.js.map → p-c8946358.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-aa870cd3.entry.js.map → p-ca501487.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fd8985ec.entry.js.map → p-d10abd51.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d067d245.entry.js.map → p-ed33ea10.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-4173cee0.entry.js.map → p-f488bdce.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2c421433.entry.js.map → p-f4c12ec1.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8fccf830.entry.js.map → p-f87553d9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-88e44092.entry.js.map → p-fcc4186a.entry.js.map} +0 -0
|
@@ -31,8 +31,8 @@ const Card = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const isSelectable = this.selectableSlottedElement !== null;
|
|
34
|
-
return (h(Host, { key: '
|
|
35
|
-
(this.mode === "download" && (h("a", { key: '
|
|
34
|
+
return (h(Host, { key: '4a662a01a8ab0f9688b117430b04910df9fd1896', "is-selectable": isSelectable }, h("div", { key: 'bd91995a69f16b9d65e227921b5b343a2b66361b', class: "dso-card-container" }, h("div", { key: '021ad62b7cf97e7b5a7a600f9f22254ab68a8bb0', class: "dso-card-selectable", hidden: !isSelectable }, h("slot", { key: '83abedddbdd80fb06b5540a0ac74f7b0cd2d872b', name: "selectable" })), h("div", { key: '1141401a3b97386885408f54578cc1ccc9de8759', class: "dso-card-heading" }, (this.mode === "extern" && (h("a", { key: '9dd1677f6d851f449db4b4089e72235bb1522381', href: this.href, class: "heading-anchor", target: "_blank", rel: "noopener noreferrer", onClick: (e) => this.clickEventHandler(e) }, h("slot", { key: '7f9455d2cb58b57913268520bd23990e66edc196', name: "heading" }), h("dso-icon", { key: '7be05c89ba03a84c914fe7d667ce049882bb36a6', icon: "external-link" }), h("span", { key: '01b67eaffee2bfed512f53f2f9f74b4ea1fdde6d', class: "sr-only" }, "(Opent andere website in nieuw tabblad)")))) ||
|
|
35
|
+
(this.mode === "download" && (h("a", { key: 'cb592b317ec5800f9f05539ce39d0dfd0de473c1', href: this.href, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, h("slot", { key: '01cf0be3ab6e228774b5598a499e29d61aff9e2f', name: "heading" }), h("dso-icon", { key: 'cbbce504a6afc0896bd930c64a3e40d35d55c69b', icon: "download" })))) || (h("a", { key: 'a9b391befe2df29e0d3dd6c338880e3b7b4aa0a3', href: this.href, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, h("slot", { key: 'c0d3e45e17bb689bf448d5252acacb07c2e4fd99', name: "heading" }), h("dso-icon", { key: '232b9e41e144541c81e5e55c463a9995bca7cd50', icon: "chevron-right" }))), this.interactionsSlottedElement !== null && h("slot", { key: 'e5b32580f112e88093664df1fd7eaa206c10855a', name: "interactions" })), h("div", { key: '3f8d51e89795c6bbc88d2e7cb16732952cead8b2', class: "dso-card-content" }, h("slot", { key: 'fc439678df642efced533af5f24949e9f68ff345', name: "content" })))));
|
|
36
36
|
}
|
|
37
37
|
get host() { return getElement(this); }
|
|
38
38
|
};
|
|
@@ -7,7 +7,7 @@ const ContactInformation = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '03131f6f72e2786b94d5a34e4cc162c93aca37a2', class: "dso-contact-information" }, h("slot", { key: 'c4cea848d9b56e306f4d33bf26a25df47c24d0b9', name: "heading" }), h("slot", { key: 'b40df1ea3bbf3231ae850afa11fa62e4a71f5841', name: "anchor-items" }), h("slot", { key: '5348cfdbc1c30cd4996999a28aa146f559a01d92', name: "info-items" })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ContactInformation.style = contactInformationCss();
|
|
@@ -7,7 +7,7 @@ const CursorTooltip = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'd7c7a7a5ca50fb6d6ca51fd5486855d34fa87595', class: "dso-cursor-tooltip" }, h("slot", { key: 'f8f4af09e02a486bbc22c9efcca3e796110ee201' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
CursorTooltip.style = cursorTooltipCss();
|
|
@@ -147,7 +147,7 @@ const DsoDatePicker = class {
|
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
149
|
var _a;
|
|
150
|
-
return (h("input", { key: '
|
|
150
|
+
return (h("input", { key: '6f1578829a919a36fb98128cb807d082e33c986f', type: "date", id: this.identifier, class: "dso-date__input", value: parseToValueFormat(this.value), name: this.name, min: parseToValueFormat(this.min), max: parseToValueFormat(this.max), disabled: this.disabled || undefined, required: this.required || undefined, "aria-autocomplete": "none", "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": this.describedBy, autoComplete: "off", autofocus: this.dsoAutofocus || undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, onChange: this.handleInputChange }));
|
|
151
151
|
}
|
|
152
152
|
get element() { return getElement(this); }
|
|
153
153
|
};
|
|
@@ -30,7 +30,7 @@ const DocumentCard = class {
|
|
|
30
30
|
return this.host.querySelector("[slot='interactions']");
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'c72b21d24a1d8cddeb53808ebf8d7e04f60036f8', class: "dso-document-card-container" }, h("div", { key: '75256d968cd55399b5c8eb3b4b30a38dffad9b83', class: "dso-document-card-heading" }, h("a", { key: 'a43c1bc6c5e03b5a00e3593380a3d95118ce9d02', href: this.href, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, h("span", { key: '2c270a800db99c77c9b2800ca73c12e30ef83efd', class: "icon-container" }, h("dso-icon", { key: 'b712516ef47e844366872eca75a8050cedfab48b', icon: "chevron-right" }), h("slot", { key: 'ac375e345c607f0d9c97dbeae2be353dae327a43', name: "heading" })))), h("div", { key: '497d02ed37eae4648615e49caafbf080188ca1b2', class: "dso-document-card-type" }, h("slot", { key: 'cd3a3383991e8ab9a9ec5218c09b6d5f0597143b', name: "type" })), h("div", { key: '165974a97a18323fe9e8d02029df3598e93ad763', class: "dso-document-card-status" }, this.metaSlottedElement !== null && h("slot", { key: 'd6a1085eb9e8868053322efe49473222417f7dba', name: "meta" }), h("slot", { key: '7089e7150743a67472cd8c23e93b49a8f5f4620a', name: "status" }), this.interactionsSlottedElement !== null && h("slot", { key: '70f02c9f9d7851d6022634d83f139a1223d03889', name: "interactions" }))));
|
|
34
34
|
}
|
|
35
35
|
get host() { return getElement(this); }
|
|
36
36
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-Dx5skKSq.js';
|
|
2
|
-
import { a as autoUpdate, c as computePosition, o as offset, f as flip } from './floating-ui.dom-
|
|
2
|
+
import { a as autoUpdate, c as computePosition, o as offset, f as flip } from './floating-ui.dom-C1uSuLE3.js';
|
|
3
3
|
import { t as tabbable } from './index.esm-DDSMs62-.js';
|
|
4
4
|
import { g as getActiveElement } from './get-active-element-CodDyi2J.js';
|
|
5
5
|
import { v as v4 } from './v4-C_akviUd.js';
|
|
@@ -176,7 +176,7 @@ const DropdownMenu = class {
|
|
|
176
176
|
(_a = tabbables[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '59b1f150f35e5af275cf928d8b776122af646e8b', onFocusout: this.focusOutListener }, h("slot", { key: '5b362762db082f147eefe8db1b53c3e7e8075ee6', name: "toggle" }), h("div", { key: '3fa0dabc6161774c541e69b7784fd1a41273ba14', popover: "manual", ref: (element) => (this.popoverElement = element) }, h("slot", { key: '41564bd57e586458088373db77ad8212a1850e44' }))));
|
|
180
180
|
}
|
|
181
181
|
get host() { return getElement(this); }
|
|
182
182
|
};
|
|
@@ -154,7 +154,7 @@ const Header = class {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
render() {
|
|
157
|
-
return (h(Host, { key: '
|
|
157
|
+
return (h(Host, { key: '305ef493b091a74d76ed4f4a109c7a2eb025950e', "is-compact": this.isCompact }, h("div", { key: '7b316c39fb646174bcb852cabf823004f47565c7', class: "dso-header" }, h("div", { key: '0939fd1ef3d64f34c44c4177a2d031d1b700a324', class: "logo-container" }, h("slot", { key: '9b417bdb99968e034ea9283cf81206db28a6d4ba', name: "logo" })), this.isCompact ? this.renderCompact() : this.renderNormal())));
|
|
158
158
|
}
|
|
159
159
|
renderCompact() {
|
|
160
160
|
return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("dso-dropdown-menu", { "dropdown-align": "right", dropdownOptionsOffset: this.dropdownOptionsOffset, ref: (element) => (this.dropdownElement = element) }, h("button", { type: "button", slot: "toggle" }, h("span", null, this.text("menu")), h("dso-icon", { icon: "chevron-down" })), h("div", { class: "dso-dropdown-options" }, h("ul", null, this.mainMenu.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (h("li", null, h("a", { href: this.userHomeUrl, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, this.text("userHome")))), this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("li", null, h("a", { href: this.userProfileUrl, onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName, h("span", { class: "profile-label" }, " - Mijn profiel")))), this.authStatus === "loggedOut" && (h("li", null, this.loginUrl ? (h("a", { href: this.loginUrl, onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (h("button", { type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (h("li", null, this.logoutUrl ? (h("a", { href: this.logoutUrl, onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (h("button", { type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (h("li", null, this.helpUrl ? (h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, h("span", null, this.text("help")), h("dso-icon", { icon: "help" }))) : (h("button", { type: "button", class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help" })))))))))));
|
|
@@ -9,7 +9,7 @@ const HighlightBox = class {
|
|
|
9
9
|
render() {
|
|
10
10
|
var _a;
|
|
11
11
|
const hasCounter = this.step || !!this.element.querySelector("[slot=icon]");
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '9ed65a845d685ecb62b44ac4df2ee4c57a92d8a4', "has-counter": hasCounter }, hasCounter && h("div", { key: '57392d31cbc22d059e0d037679c06a08ecfff5e8', class: "dso-step-counter" }, (_a = this.step) !== null && _a !== void 0 ? _a : h("slot", { key: '044da0d260d9d9257cc4ab0a48622aeba11d2f8d', name: "icon" })), h("slot", { key: '67e1cf3f59845e6451ac20cfbe8003df4089bd8d' })));
|
|
13
13
|
}
|
|
14
14
|
get element() { return getElement(this); }
|
|
15
15
|
};
|
|
@@ -41,7 +41,7 @@ const HistoryItem = class {
|
|
|
41
41
|
return this.host.querySelector("[slot='warning']");
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Fragment, { key: '
|
|
44
|
+
return (h(Fragment, { key: '8cfda0c27b483a01888f2c81413fc0d90ba2e43b' }, h("div", { key: '456e4002b8f510bf0eea433b75432c2eea2f0544', class: "history-item-date" }, h("slot", { key: '48947f94875b10154f7d039a29fd6b36adfe0bbf', name: "date" })), h("div", { key: '05fa9da1f7908628e1c15fdfa9a7204bea6f4a1f', class: "history-item-content" }, h("div", { key: 'aa31efe35bfcea60d17f0fd5e974c83268eeec40', class: "history-item-status-message" }, h("dso-icon", { key: '513c99028ec6a4f78e3169b8d2b9e5a442de7a1d', icon: this.typeIcons[this.type], "aria-hidden": "true" }), h("slot", { key: 'd5fe6da657e7dba4f0209ff7d08ab4934dadb3ba', name: "status" })), this.titleSlottedElement !== null && this.href && (h("div", { key: '39d8e70b1c49c84c3770a45394653ec43b257211', class: "history-item-title" }, h("a", { key: 'f126b0823432b853e3b921feee1fa7a7bacc0fe3', href: this.href, class: "title-anchor", onClick: (e) => this.clickEventHandler(e) }, h("slot", { key: '6639a69f724c4a6653e723f5ae427ff62b3ba972', name: "title" })))), this.explanationSlottedElement !== null && (h("div", { key: '9f9caab19a09a0de025fca3cc37588c712336f5d', class: "history-item-explanation" }, h("slot", { key: '23179fa7f11c8a5d2b5d8819de2039cae303d7b1', name: "explanation" }))), this.warningSlottedElement !== null && (h("div", { key: '321e1f83f4e446689e1cbd93d7e44cd53c6f1b05', class: "history-item-warning" }, h("dso-icon", { key: 'be8d3a9e358e7087f644b56f0045accc2019ce15', icon: "status-warning-inline", role: "img", "aria-label": "Waarschuwing" }), h("slot", { key: 'c65a0e9a11f4954aaa9c5890180a3034d6b9393c', name: "warning" }))))));
|
|
45
45
|
}
|
|
46
46
|
get host() { return getElement(this); }
|
|
47
47
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, d as createEvent } from './index-Dx5skKSq.js';
|
|
2
|
-
import { p as positionTooltip } from './position-tooltip.function-
|
|
3
|
-
import { T as Tooltip } from './tooltip.functional-component-
|
|
4
|
-
import './floating-ui.dom-
|
|
2
|
+
import { p as positionTooltip } from './position-tooltip.function-gQf7Uoh1.js';
|
|
3
|
+
import { T as Tooltip } from './tooltip.functional-component-faOeuQGr.js';
|
|
4
|
+
import './floating-ui.dom-C1uSuLE3.js';
|
|
5
5
|
import './clsx-ChV9xqsO.js';
|
|
6
6
|
|
|
7
7
|
var air = `<svg id="air" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
@@ -706,7 +706,7 @@ const Icon = class {
|
|
|
706
706
|
if (!icon) {
|
|
707
707
|
throw new TypeError(`Unknown svg: ${this.icon}`);
|
|
708
708
|
}
|
|
709
|
-
return h("span", { key: '
|
|
709
|
+
return h("span", { key: 'cfe2b6ff0bb2d810eee4064bf32beebe10d0c118', class: "icon-container", innerHTML: icon.svg });
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
};
|
|
@@ -746,6 +746,7 @@ const iconButtonCss = () => `.dso-tooltip {
|
|
|
746
746
|
opacity: 0;
|
|
747
747
|
visibility: hidden;
|
|
748
748
|
transition: opacity 0.15s;
|
|
749
|
+
max-inline-size: 320px;
|
|
749
750
|
}
|
|
750
751
|
.dso-tooltip.visible {
|
|
751
752
|
opacity: 1;
|
|
@@ -784,34 +785,10 @@ const iconButtonCss = () => `.dso-tooltip {
|
|
|
784
785
|
padding-inline: 8px;
|
|
785
786
|
border-radius: 4px;
|
|
786
787
|
line-height: 1.5;
|
|
787
|
-
max-inline-size: 320px;
|
|
788
788
|
}
|
|
789
789
|
.dso-tooltip .tooltip-arrow {
|
|
790
|
-
--_dso-alert-success-border-color: #39870c;
|
|
791
|
-
--_dso-alert-error-border-color: #ce3f51;
|
|
792
|
-
--_dso-alert-info-border-color: #6ca4d9;
|
|
793
|
-
--_dso-alert-warning-border-color: #dcd400;
|
|
794
|
-
--link-color: currentColor;
|
|
795
|
-
--link-hover-color: currentColor;
|
|
796
|
-
--link-visited-color: currentColor;
|
|
797
|
-
}
|
|
798
|
-
.dso-tooltip .tooltip-arrow a:not(.dso-primary, .dso-secondary, .dso-tertiary):is(.download, .download:hover, .download:focus-visible) {
|
|
799
|
-
background-image: var(--_dso-di-background-image, url("./di.svg#download-wit"));
|
|
800
|
-
}
|
|
801
|
-
.dso-tooltip .tooltip-arrow a:not(.dso-primary, .dso-secondary, .dso-tertiary):is(.extern, .extern:hover, .extern:focus-visible) {
|
|
802
|
-
background-image: var(--_dso-di-background-image, url("./di.svg#external-link-wit"));
|
|
803
|
-
}
|
|
804
|
-
.dso-tooltip .tooltip-arrow a:not(.dso-primary, .dso-secondary, .dso-tertiary):is([href^="tel:"], [href^="tel:"]:hover, [href^="tel:"]:focus-visible) {
|
|
805
|
-
background-image: var(--_dso-di-background-image, url("./di.svg#call-wit"));
|
|
806
|
-
}
|
|
807
|
-
.dso-tooltip .tooltip-arrow a:not(.dso-primary, .dso-secondary, .dso-tertiary):is([href^="mailto:"], [href^="mailto:"]:hover, [href^="mailto:"]:focus-visible) {
|
|
808
|
-
background-image: var(--_dso-di-background-image, url("./di.svg#email-wit"));
|
|
809
|
-
}
|
|
810
|
-
.dso-tooltip .tooltip-arrow {
|
|
811
|
-
--_dso-icon-button-tertiary-color: #fff;
|
|
812
|
-
background-color: #666;
|
|
813
|
-
color: #fff;
|
|
814
790
|
position: absolute;
|
|
791
|
+
background-color: #666;
|
|
815
792
|
border-start-start-radius: 4px;
|
|
816
793
|
block-size: 8px;
|
|
817
794
|
inline-size: 8px;
|
|
@@ -1286,7 +1263,7 @@ const IconButton = class {
|
|
|
1286
1263
|
this.cleanUp = undefined;
|
|
1287
1264
|
}
|
|
1288
1265
|
render() {
|
|
1289
|
-
return (h("button", { key: '
|
|
1266
|
+
return (h("button", { key: '8b22306b71a11a9a5bb331e3138d398a1ea28c25', ref: (el) => (this.buttonElRef = el), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant}`, onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, h("dso-icon", { key: '5e0331ca7a343c70ef6f0fc0667d567d7c2814ad', icon: this.icon }), h(Tooltip, { key: 'ddf5f41269e6102ef81b05096119386e15478236', visible: this.showTooltip, onAfterHidden: this.handleHideTooltip, tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tipArrowElRef = element) }, this.label)));
|
|
1290
1267
|
}
|
|
1291
1268
|
};
|
|
1292
1269
|
IconButton.style = iconButtonCss();
|
|
@@ -1,34 +1,115 @@
|
|
|
1
|
-
import { r as registerInstance, d as createEvent, h, a as Host } from './index-Dx5skKSq.js';
|
|
1
|
+
import { r as registerInstance, d as createEvent, f as forceUpdate, h, a as Host, g as getElement } from './index-Dx5skKSq.js';
|
|
2
|
+
import { p as positionTooltip } from './position-tooltip.function-gQf7Uoh1.js';
|
|
3
|
+
import { T as Tooltip } from './tooltip.functional-component-faOeuQGr.js';
|
|
4
|
+
import './floating-ui.dom-C1uSuLE3.js';
|
|
5
|
+
import './clsx-ChV9xqsO.js';
|
|
2
6
|
|
|
3
|
-
const infoButtonCss = () => `:host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}button{background-color:transparent;color:#39870c;border:0;margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px);padding:0}button.dso-info-secondary{color:#666}button{vertical-align:top;line-height:1}dso-icon-button{margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px);vertical-align:top}`;
|
|
7
|
+
const infoButtonCss = () => `:host{--_dt-scrollable-border-radius:4px;--_dt-scrollable-container-padding-inline:16px;--_dt-scrollable-container-padding-block:8px;display:inline-block}*,*::after,*::before{box-sizing:border-box}.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;transition:opacity 0.15s;max-inline-size:640px}.dso-tooltip.visible{opacity:1;visibility:visible}.dso-tooltip .tooltip-inner{--_dt-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:0;padding-inline:0;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}button{background-color:transparent;color:#39870c;border:0;margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px);padding:0}button.dso-info-secondary{color:#666}button{vertical-align:top;line-height:1}dso-icon-button{margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px);vertical-align:top}`;
|
|
4
8
|
|
|
5
9
|
const InfoButton = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
11
|
registerInstance(this, hostRef);
|
|
8
12
|
this.dsoToggle = createEvent(this, "dsoToggle", 7);
|
|
9
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Whether the InfoButton is active.
|
|
15
|
+
*/
|
|
16
|
+
this.active = false;
|
|
10
17
|
/**
|
|
11
18
|
* The label.
|
|
12
19
|
*/
|
|
13
20
|
this.label = "Toelichting bij optie";
|
|
21
|
+
/**
|
|
22
|
+
* The placement of the Toggletip on click.
|
|
23
|
+
*/
|
|
24
|
+
this.toggletipPlacement = "top";
|
|
25
|
+
this.hover = false;
|
|
26
|
+
this.toggletipActive = false;
|
|
27
|
+
this.focusOutHandler = (event) => {
|
|
28
|
+
var _a;
|
|
29
|
+
if (!this.host.contains(event.relatedTarget)) {
|
|
30
|
+
this.toggletipActive = false;
|
|
31
|
+
(_a = this.toggletipElRef) === null || _a === void 0 ? void 0 : _a.hidePopover();
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
this.keyDownHandler = (event) => {
|
|
35
|
+
var _a;
|
|
36
|
+
if (!this.toggletipActive)
|
|
37
|
+
return;
|
|
38
|
+
if (event.key === "Escape") {
|
|
39
|
+
this.toggletipActive = false;
|
|
40
|
+
(_a = this.toggletipElRef) === null || _a === void 0 ? void 0 : _a.hidePopover();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
14
43
|
}
|
|
15
44
|
/**
|
|
16
45
|
* To set focus to the toggle button.
|
|
17
46
|
*/
|
|
18
47
|
async setFocus() {
|
|
19
|
-
var _a, _b;
|
|
20
|
-
(
|
|
21
|
-
|
|
48
|
+
var _a, _b, _c;
|
|
49
|
+
if (this.secondary) {
|
|
50
|
+
(_a = this.buttonSecondary) === null || _a === void 0 ? void 0 : _a.focus();
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
(_c = (_b = this.button) === null || _b === void 0 ? void 0 : _b.setFocus) === null || _c === void 0 ? void 0 : _c.call(_b);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
get isToggletipMode() {
|
|
57
|
+
return !!this.host.querySelector("[slot='toggletip']");
|
|
22
58
|
}
|
|
23
59
|
handleToggle(originalEvent) {
|
|
24
|
-
|
|
25
|
-
|
|
60
|
+
var _a;
|
|
61
|
+
if (this.isToggletipMode) {
|
|
62
|
+
this.toggletipActive = !this.toggletipActive;
|
|
63
|
+
(_a = this.toggletipElRef) === null || _a === void 0 ? void 0 : _a.showPopover();
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
this.dsoToggle.emit({ originalEvent, active: !this.active });
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
cleanupTooltip() {
|
|
70
|
+
var _a;
|
|
71
|
+
(_a = this.cleanUp) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
72
|
+
this.cleanUp = undefined;
|
|
73
|
+
}
|
|
74
|
+
componentDidRender() {
|
|
75
|
+
var _a, _b;
|
|
76
|
+
if (!this.isToggletipMode) {
|
|
77
|
+
(_a = this.toggletipElRef) === null || _a === void 0 ? void 0 : _a.hidePopover();
|
|
78
|
+
this.cleanupTooltip();
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (!this.cleanUp && this.toggletipActive && this.button && this.toggletipElRef && this.toggletipArrowElRef) {
|
|
82
|
+
(_b = this.toggletipElRef) === null || _b === void 0 ? void 0 : _b.showPopover();
|
|
83
|
+
this.cleanUp = positionTooltip({
|
|
84
|
+
referenceElement: this.button,
|
|
85
|
+
tipRef: this.toggletipElRef,
|
|
86
|
+
tipArrowRef: this.toggletipArrowElRef,
|
|
87
|
+
placementTip: this.toggletipPlacement,
|
|
88
|
+
restrictContentElement: this.restrictContentElement,
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
connectedCallback() {
|
|
93
|
+
this.mutationObserver = new MutationObserver(() => {
|
|
94
|
+
forceUpdate(this.host);
|
|
95
|
+
});
|
|
96
|
+
this.mutationObserver.observe(this.host, {
|
|
97
|
+
childList: true,
|
|
98
|
+
attributes: true,
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
disconnectedCallback() {
|
|
102
|
+
var _a;
|
|
103
|
+
this.cleanupTooltip();
|
|
104
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
105
|
+
delete this.mutationObserver;
|
|
26
106
|
}
|
|
27
107
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '0edb498762c57aac0e2fcd0efdcd54066e705e7c', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false), onKeydown: this.keyDownHandler, onFocusout: this.focusOutHandler }, !this.secondary ? (h("dso-icon-button", { variant: "tertiary", label: this.label, onDsoClick: (e) => this.handleToggle(e.detail.originalEvent), icon: this.active || this.hover || this.toggletipActive ? "info-active" : "info", ref: (element) => (this.button = element) })) : (
|
|
29
109
|
// ToDo: remove this part in https://github.com/dso-toolkit/dso-toolkit/issues/3350. Tertiary on color already working
|
|
30
|
-
h("button", { type: "button", class: "dso-info-secondary", "aria-expanded":
|
|
110
|
+
h("button", { type: "button", class: "dso-info-secondary", "aria-expanded": (this.active || this.toggletipActive).toString(), onClick: (e) => this.handleToggle(e), ref: (element) => (this.buttonSecondary = element) }, h("dso-icon", { icon: this.active || this.hover || this.toggletipActive ? "info-active" : "info" }), h("span", { class: "sr-only" }, this.label))), this.isToggletipMode !== null && (h(Tooltip, { key: 'a1aac908e69a86fb00001730ab027089e9b21ecc', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element), visible: this.toggletipActive }, h("dso-scrollable", { key: '14cab11c5e9a100e93729cc7d4d1f42604d8309b', ref: (element) => (this.restrictContentElement = element) }, h("slot", { key: 'a5607eba0612c624da9e8c2282bb47eb734ff819', name: "toggletip" }))))));
|
|
31
111
|
}
|
|
112
|
+
get host() { return getElement(this); }
|
|
32
113
|
};
|
|
33
114
|
InfoButton.style = infoButtonCss();
|
|
34
115
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dso-info-button.entry.js","sources":["src/components/info-button/info-button.scss?tag=dso-info-button&encapsulation=shadow","src/components/info-button/info-button.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/info-button\";\r\n\r\n:host {\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n// ToDo: remove this part in https://github.com/dso-toolkit/dso-toolkit/issues/3350. Tertiary on color already working\r\nbutton {\r\n @include info-button.root();\r\n\r\n vertical-align: top;\r\n line-height: 1;\r\n}\r\n\r\ndso-icon-button {\r\n margin-inline-start: var(--_dt-info-button-margin-inline-start, units.$u1);\r\n vertical-align: top;\r\n}\r\n","import { Component, Event, EventEmitter, Host, Method, Prop, State, h } from \"@stencil/core\";\r\n\r\nimport { InfoButtonToggleEvent } from \"./info-button.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-info-button\",\r\n shadow: true,\r\n styleUrl: \"info-button.scss\",\r\n})\r\nexport class InfoButton {\r\n private button?: HTMLDsoIconButtonElement;\r\n private buttonSecondary?: HTMLButtonElement;\r\n\r\n /**\r\n * Whether the InfoButton is active.\r\n */\r\n @Prop({ mutable: true, reflect: true })\r\n active?: boolean;\r\n\r\n @State()\r\n hover = false;\r\n\r\n /**\r\n * For secondary Info Button.\r\n */\r\n @Prop()\r\n secondary?: boolean;\r\n\r\n /**\r\n * The label.\r\n */\r\n @Prop()\r\n label = \"Toelichting bij optie\";\r\n\r\n /**\r\n * Emitted when the user activates the Info Button.\r\n */\r\n @Event()\r\n dsoToggle!: EventEmitter<InfoButtonToggleEvent>;\r\n\r\n /**\r\n * To set focus to the toggle button.\r\n */\r\n @Method()\r\n async setFocus() {\r\n this.button?.setFocus();\r\n this.buttonSecondary?.focus();\r\n }\r\n\r\n private handleToggle(originalEvent: MouseEvent) {\r\n this.active = !this.active;\r\n this.dsoToggle.emit({ originalEvent, active: this.active });\r\n }\r\n\r\n render() {\r\n return (\r\n <Host onMouseenter={() => (this.hover = true)} onMouseleave={() => (this.hover = false)}>\r\n {!this.secondary ? (\r\n <dso-icon-button\r\n variant=\"tertiary\"\r\n label={this.label}\r\n onDsoClick={(e) => this.handleToggle(e.detail.originalEvent)}\r\n icon={this.active || this.hover ? \"info-active\" : \"info\"}\r\n ref={(element) => (this.button = element)}\r\n />\r\n ) : (\r\n // ToDo: remove this part in https://github.com/dso-toolkit/dso-toolkit/issues/3350. Tertiary on color already working\r\n <button\r\n type=\"button\"\r\n class=\"dso-info-secondary\"\r\n aria-expanded={typeof this.active === \"boolean\" ? this.active.toString() : undefined}\r\n onClick={(e) => this.handleToggle(e)}\r\n ref={(element) => (this.buttonSecondary = element)}\r\n >\r\n <dso-icon icon={this.active || this.hover ? \"info-active\" : \"info\"}></dso-icon>\r\n <span class=\"sr-only\">{this.label}</span>\r\n </button>\r\n )}\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"names":[],"mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,ogBAAogB,CAAC;;MCSrhB,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAgBE,QAAA,IAAK,CAAA,KAAA,GAAG,KAAK;AAQb;;AAEG;AAEH,QAAA,IAAK,CAAA,KAAA,GAAG,uBAAuB;AAiDhC;AAzCC;;AAEG;AAEH,IAAA,MAAM,QAAQ,GAAA;;QACZ,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE;QACvB,CAAA,EAAA,GAAA,IAAI,CAAC,eAAe,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,EAAE;;AAGvB,IAAA,YAAY,CAAC,aAAyB,EAAA;AAC5C,QAAA,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM;AAC1B,QAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;;IAG7D,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,EAAA,EACpF,CAAC,IAAI,CAAC,SAAS,IACd,CACE,CAAA,iBAAA,EAAA,EAAA,OAAO,EAAC,UAAU,EAClB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,UAAU,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,EAC5D,IAAI,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,GAAG,MAAM,EACxD,GAAG,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,EACzC,CAAA;;QAGF,CACE,CAAA,QAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,oBAAoB,EAAA,eAAA,EACX,OAAO,IAAI,CAAC,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,SAAS,EACpF,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EACpC,GAAG,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,EAAA,EAElD,CAAA,CAAA,UAAA,EAAA,EAAU,IAAI,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,GAAG,MAAM,EAAa,CAAA,EAC/E,CAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,SAAS,EAAA,EAAE,IAAI,CAAC,KAAK,CAAQ,CAClC,CACV,CACI;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"dso-info-button.entry.js","sources":["src/components/info-button/info-button.scss?tag=dso-info-button&encapsulation=shadow","src/components/info-button/info-button.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/info-button\";\r\n\r\n@use \"../../functional-components/tooltip\";\r\n\r\n:host {\r\n --_dt-scrollable-border-radius: #{units.$u1 * 0.5};\r\n --_dt-scrollable-container-padding-inline: #{tooltip.$padding-inline};\r\n --_dt-scrollable-container-padding-block: #{tooltip.$padding-block};\r\n\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n@include tooltip.include($padding-block-inner: 0, $padding-inline-inner: 0, $max-inline-size: 640px);\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n// ToDo: remove this part in https://github.com/dso-toolkit/dso-toolkit/issues/3350. Tertiary on color already working\r\nbutton {\r\n @include info-button.root();\r\n\r\n vertical-align: top;\r\n line-height: 1;\r\n}\r\n\r\ndso-icon-button {\r\n margin-inline-start: var(--_dt-info-button-margin-inline-start, units.$u1);\r\n vertical-align: top;\r\n}\r\n","import { Component, Element, Event, EventEmitter, Host, Method, Prop, State, forceUpdate, h } from \"@stencil/core\";\r\n\r\nimport { positionTooltip } from \"../../functional-components/tooltip/position-tooltip.function\";\r\nimport { Tooltip } from \"../../functional-components/tooltip/tooltip.functional-component\";\r\nimport { TooltipClean, TooltipPlacement } from \"../../functional-components/tooltip/tooltip.interfaces\";\r\n\r\nimport { InfoButtonToggleEvent } from \"./info-button.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-info-button\",\r\n shadow: true,\r\n styleUrl: \"info-button.scss\",\r\n})\r\nexport class InfoButton {\r\n private button?: HTMLDsoIconButtonElement;\r\n private buttonSecondary?: HTMLButtonElement;\r\n private toggletipElRef?: HTMLDivElement;\r\n private toggletipArrowElRef?: HTMLSpanElement;\r\n private cleanUp: TooltipClean | undefined;\r\n private mutationObserver?: MutationObserver;\r\n private restrictContentElement?: HTMLElement;\r\n\r\n @Element()\r\n host!: HTMLDsoInfoButtonElement;\r\n\r\n /**\r\n * Whether the InfoButton is active.\r\n */\r\n @Prop({ reflect: true })\r\n active = false;\r\n\r\n /**\r\n * For secondary Info Button.\r\n */\r\n @Prop()\r\n secondary?: boolean;\r\n\r\n /**\r\n * The label.\r\n */\r\n @Prop()\r\n label = \"Toelichting bij optie\";\r\n\r\n /**\r\n * The placement of the Toggletip on click.\r\n */\r\n @Prop()\r\n toggletipPlacement: TooltipPlacement = \"top\";\r\n\r\n /**\r\n * Emitted when the user activates the Info Button.\r\n */\r\n @Event()\r\n dsoToggle!: EventEmitter<InfoButtonToggleEvent>;\r\n\r\n @State()\r\n hover = false;\r\n\r\n @State()\r\n toggletipActive = false;\r\n\r\n /**\r\n * To set focus to the toggle button.\r\n */\r\n @Method()\r\n async setFocus() {\r\n if (this.secondary) {\r\n this.buttonSecondary?.focus();\r\n } else {\r\n this.button?.setFocus?.();\r\n }\r\n }\r\n\r\n private get isToggletipMode(): boolean {\r\n return !!this.host.querySelector(\"[slot='toggletip']\");\r\n }\r\n\r\n private handleToggle(originalEvent: MouseEvent) {\r\n if (this.isToggletipMode) {\r\n this.toggletipActive = !this.toggletipActive;\r\n this.toggletipElRef?.showPopover();\r\n } else {\r\n this.dsoToggle.emit({ originalEvent, active: !this.active });\r\n }\r\n }\r\n\r\n private focusOutHandler = (event: FocusEvent) => {\r\n if (!this.host.contains(event.relatedTarget as Node)) {\r\n this.toggletipActive = false;\r\n this.toggletipElRef?.hidePopover();\r\n }\r\n };\r\n\r\n private keyDownHandler = (event: KeyboardEvent) => {\r\n if (!this.toggletipActive) return;\r\n\r\n if (event.key === \"Escape\") {\r\n this.toggletipActive = false;\r\n this.toggletipElRef?.hidePopover();\r\n }\r\n };\r\n\r\n private cleanupTooltip() {\r\n this.cleanUp?.();\r\n this.cleanUp = undefined;\r\n }\r\n\r\n componentDidRender() {\r\n if (!this.isToggletipMode) {\r\n this.toggletipElRef?.hidePopover();\r\n this.cleanupTooltip();\r\n return;\r\n }\r\n\r\n if (!this.cleanUp && this.toggletipActive && this.button && this.toggletipElRef && this.toggletipArrowElRef) {\r\n this.toggletipElRef?.showPopover();\r\n\r\n this.cleanUp = positionTooltip({\r\n referenceElement: this.button,\r\n tipRef: this.toggletipElRef,\r\n tipArrowRef: this.toggletipArrowElRef,\r\n placementTip: this.toggletipPlacement,\r\n restrictContentElement: this.restrictContentElement,\r\n });\r\n }\r\n }\r\n\r\n connectedCallback(): void {\r\n this.mutationObserver = new MutationObserver(() => {\r\n forceUpdate(this.host);\r\n });\r\n\r\n this.mutationObserver.observe(this.host, {\r\n childList: true,\r\n attributes: true,\r\n });\r\n }\r\n\r\n disconnectedCallback() {\r\n this.cleanupTooltip();\r\n this.mutationObserver?.disconnect();\r\n\r\n delete this.mutationObserver;\r\n }\r\n\r\n render() {\r\n return (\r\n <Host\r\n onMouseenter={() => (this.hover = true)}\r\n onMouseleave={() => (this.hover = false)}\r\n onKeydown={this.keyDownHandler}\r\n onFocusout={this.focusOutHandler}\r\n >\r\n {!this.secondary ? (\r\n <dso-icon-button\r\n variant=\"tertiary\"\r\n label={this.label}\r\n onDsoClick={(e) => this.handleToggle(e.detail.originalEvent)}\r\n icon={this.active || this.hover || this.toggletipActive ? \"info-active\" : \"info\"}\r\n ref={(element) => (this.button = element)}\r\n />\r\n ) : (\r\n // ToDo: remove this part in https://github.com/dso-toolkit/dso-toolkit/issues/3350. Tertiary on color already working\r\n <button\r\n type=\"button\"\r\n class=\"dso-info-secondary\"\r\n aria-expanded={(this.active || this.toggletipActive).toString()}\r\n onClick={(e) => this.handleToggle(e)}\r\n ref={(element) => (this.buttonSecondary = element)}\r\n >\r\n <dso-icon icon={this.active || this.hover || this.toggletipActive ? \"info-active\" : \"info\"}></dso-icon>\r\n <span class=\"sr-only\">{this.label}</span>\r\n </button>\r\n )}\r\n {this.isToggletipMode !== null && (\r\n <Tooltip\r\n tipElementRef={(element) => (this.toggletipElRef = element)}\r\n tipArrowElementRef={(element) => (this.toggletipArrowElRef = element)}\r\n visible={this.toggletipActive}\r\n >\r\n <dso-scrollable ref={(element) => (this.restrictContentElement = element)}>\r\n <slot name=\"toggletip\" />\r\n </dso-scrollable>\r\n </Tooltip>\r\n )}\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,onDAAonD,CAAC;;MCaroD,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAiB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GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,WAAW,EAAA,CAAG,CACV,CACT,CACX,CACI;;;;;;;;"}
|
|
@@ -8,7 +8,7 @@ const Info = class {
|
|
|
8
8
|
this.dsoClose = createEvent(this, "dsoClose", 7);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Fragment, { key: '
|
|
11
|
+
return (h(Fragment, { key: '332b53fe2d36d9018e14ff8a888b48d74b487b31' }, h("slot", { key: 'a9fcdee710f9e75434f240f3c0375e90f86dc587' }), !this.fixed && (h("dso-icon-button", { key: 'e75455d9d8bf16684cea7e02fb114cdf34d40d6a', label: "Sluiten", variant: "tertiary", icon: "times", onDsoClick: (e) => this.dsoClose.emit(e.detail.originalEvent) }))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
Info.style = infoCss();
|
|
@@ -75,7 +75,7 @@ const Selectable = class {
|
|
|
75
75
|
render() {
|
|
76
76
|
var _a;
|
|
77
77
|
const hasInfo = !!this.host.querySelector('[slot="info"]');
|
|
78
|
-
return (h(Fragment, { key: '
|
|
78
|
+
return (h(Fragment, { key: '8a4ee13b4d34c210f5d4c4e9151b5d7d53802d37' }, h("div", { key: 'f67278b4fde95cd251323b97e79f93fb04c9b9e2', class: "dso-selectable-container" }, h("div", { key: 'e2359fe5b5d34b2f538d1a2d5f15f27eca3d329e', class: "dso-selectable-input-wrapper" }, h("input", { key: '09172958d3854b939b4d29d922ef5aabee8f2eb8', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (h("label", { htmlFor: this.getIdentifier() }, h("slot", null))) : (h("label", null, h("slot", null)))), hasInfo && !this.infoFixed && (h("dso-info-button", { key: '861f5e947c5e185e1e44f98fb2b9f5f8f1de0a90', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (h("dso-info", { key: 'b342d8fe01db69e44a8f4c14b435de26e4267fbe', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, h("div", { key: '58cf179b6ff01f2162ae3dbc5f90efbc32ae21bb' }, h("slot", { key: '5dbec26a759ae19daad1907b895a70b7d947bd07', name: "info" })))), h("slot", { key: 'f015ceda5af6134a7812cad315f28751a8b3c57a', name: "options" })));
|
|
79
79
|
}
|
|
80
80
|
componentDidRender() {
|
|
81
81
|
if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
|
|
@@ -15,13 +15,13 @@ const InputRange = class {
|
|
|
15
15
|
const min = this.min || 0;
|
|
16
16
|
const max = this.max || 100;
|
|
17
17
|
const step = this.step || 1;
|
|
18
|
-
return (h(Fragment, null, this.description && (h("span", { key: '
|
|
18
|
+
return (h(Fragment, null, this.description && (h("span", { key: 'f3796a5bbd719af7fe23c285ba4f1519eaaaf1b9', id: "description", hidden: true }, this.description)), h("span", { key: '1048b041a13dbf244b2d6fe76dccf8f97a2d7b4b', class: "counter", "aria-hidden": "true" }, min, this.unit), h("input", { key: '438056be852e2b4136de65cec13faa6a6c43418b', type: "range", min: this.min, max: this.max, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
|
|
19
19
|
originalEvent: event,
|
|
20
20
|
value: event.target instanceof HTMLInputElement ? parseInt(event.target.value, 10) : undefined,
|
|
21
21
|
max,
|
|
22
22
|
min,
|
|
23
23
|
step,
|
|
24
|
-
}) }), h("span", { key: '
|
|
24
|
+
}) }), h("span", { key: '8b3f86e7c42f0dffdc2b550f365c4bdc91627ffc', class: "counter", "aria-hidden": "true" }, max, this.unit)));
|
|
25
25
|
}
|
|
26
26
|
get host() { return getElement(this); }
|
|
27
27
|
};
|
|
@@ -100,13 +100,13 @@ const Label = class {
|
|
|
100
100
|
this.isTruncated = false;
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return (h(Fragment, { key: '
|
|
103
|
+
return (h(Fragment, { key: 'f868c06841bb1f9a6f39db8598141634cbe59f5f' }, h("span", { key: '935d20891b9df19b37cf38242892428c81c12631', "aria-describedby": this.isTruncated ? "toggle-anchor" : null, class: clsx("dso-label", {
|
|
104
104
|
[`dso-label-${this.status}`]: this.status,
|
|
105
105
|
"dso-compact": this.compact && !this.removable,
|
|
106
106
|
"dso-hover": this.removeHover || this.removeFocus,
|
|
107
|
-
}) }, h("slot", { key: '
|
|
107
|
+
}) }, h("slot", { key: 'e3d5f4d753cf5ca6ef1bef6fae698b3b4c03e5da', name: "symbol" }), h("span", { key: '242c774421051469948ff841d7b55bf06e9481fd', class: clsx("dso-label-content", {
|
|
108
108
|
"dso-truncate": !!this.truncate,
|
|
109
|
-
}), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, h("slot", { key: '
|
|
109
|
+
}), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, h("slot", { key: '93ae4502166a8c246371249f6b25423ab066e5b7' })), this.removable && (h("dso-icon-button", { key: '35c535b0943aef1ffc59871b43e2222c7490c6d2', variant: "tertiary", icon: "times", label: `Verwijder: ${this.labelText}`, onDsoClick: (e) => this.dsoRemoveClick.emit(e.detail.originalEvent), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }))), this.isTruncated && (h("dso-tooltip", { key: '0c0a556cc61f34f782e9da771138e8b0e37e6647', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
|
|
110
110
|
}
|
|
111
111
|
get host() { return getElement(this); }
|
|
112
112
|
static get watchers() { return {
|
|
@@ -197,7 +197,7 @@ const SlideToggle = class {
|
|
|
197
197
|
this.hasVisibleLabel = this.host.querySelector("*") !== null;
|
|
198
198
|
}
|
|
199
199
|
render() {
|
|
200
|
-
return (h(Fragment, { key: '
|
|
200
|
+
return (h(Fragment, { key: 'f88a3ab9f40fa65dfc40766e0ba4e4986f41b4d5' }, h("button", Object.assign({ key: '40634c33c236dc5b0c4e8466cc0a5e66f7fda49f', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e) }, (this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), (this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {})), h("svg", { key: 'fe409ecd9202a635179d92b135e659df10ee6dc9', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '75fb86fbba230bd789395a6d0545c74eade702f9', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '0d976634e2d3a8993678b933e06d845909b9314a', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: 'ddcb8c875e8d6c8163f82f71ef11ebef6ce80fe0', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: '8b33599fc06c16697dff6b89feeecb4176f4d4f5', htmlFor: this.identifier }, h("slot", { key: '306ed9a90810c5d11d813b59168f231017f5c3a4' })))));
|
|
201
201
|
}
|
|
202
202
|
get host() { return getElement(this); }
|
|
203
203
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, f as forceUpdate, h, a as Host, g as getElement } from './index-Dx5skKSq.js';
|
|
2
2
|
import { c as clsx } from './clsx-ChV9xqsO.js';
|
|
3
3
|
|
|
4
|
-
const legendItemCss = () => `:host{display:block;padding-block:4px}*,*::after,*::before{box-sizing:border-box}::slotted(span[slot=symbol]){background-color:#fff;display:block;float:inline-start;block-size:26px;margin-block-start:0;margin-inline-end:8px;inline-size:30px;overflow:hidden;position:relative}::slotted(h3){margin:0 !important}::slotted([slot=options]){margin-block-start:8px}.legend-item{display:flex;position:relative}.legend-item.legend-item-symbol+.options{margin-block-start:8px}.legend-item dso-icon-button.active{--_dso-icon-button-tertiary-color:#173521}.legend-item-right-content{margin-inline-start:auto;display:flex
|
|
4
|
+
const legendItemCss = () => `:host{display:block;padding-block:4px}*,*::after,*::before{box-sizing:border-box}::slotted(span[slot=symbol]){background-color:#fff;display:block;float:inline-start;block-size:26px;margin-block-start:0;margin-inline-end:8px;inline-size:30px;overflow:hidden;position:relative}::slotted(h3){margin:0 !important}::slotted([slot=options]){margin-block-start:8px}.legend-item{display:flex;position:relative}.legend-item.legend-item-symbol+.options{margin-block-start:8px}.legend-item dso-icon-button.active{--_dso-icon-button-tertiary-color:#173521}.legend-item-right-content{margin-inline-start:auto;display:flex}.legend-item-right-content dso-slide-toggle{line-height:1;margin-inline-start:8px;padding-block-start:0 !important}`;
|
|
5
5
|
|
|
6
6
|
const LegendItem = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -38,7 +38,7 @@ const LegendItem = class {
|
|
|
38
38
|
if (label === null || label === void 0 ? void 0 : label.textContent) {
|
|
39
39
|
accessibleLabel = `Maak ${label.textContent.toLowerCase()} actief`;
|
|
40
40
|
}
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '24af81db658898c1bc2317422cbb6ab38196083d', onMouseEnter: () => this.dsoMouseEnter.emit(), onMouseLeave: () => this.dsoMouseLeave.emit() }, h("div", { key: '174173193d7302d22d265e02a4147c6877241d0f', class: clsx("legend-item", { "legend-item-symbol": hasSymbol }) }, hasSymbol && (h("div", { key: '568089b5a568b92d12665a7c0eb78d3315c2c947' }, h("slot", { key: '325f14f024dca0edf52c2684097be1ca5eb6f014', name: "symbol" }))), h("div", { key: 'e72d3ac238b30577082a0edc4ab68de1d3b16f15' }, h("slot", { key: 'a1b4d6b740bd8a5ee32adcc5e40268bfd472c680', name: "label" })), this.disabled && this.disabledMessage && (h("dso-toggletip", { key: '9bc17eafc23c61d8b53005d02fa4aacad6ca2d8d', position: "bottom" }, this.disabledMessage)), h("div", { key: '9208ae5adae3f59e0ab0a20c0a32b65cc3fbc40f', class: "legend-item-right-content" }, this.active && hasOptions && !this.disabled && (h("dso-icon-button", { key: '6489bc065e692b8dce8edb7a56d1d5672f8d21cd', label: "Opties", icon: "more", variant: "tertiary", class: { active: this.showOptions }, id: "edit-button", onDsoClick: () => (this.showOptions = !this.showOptions) })), this.activatable && (h("dso-slide-toggle", { key: 'bb79e502289dd11de8db82d78e00bade9b0a451c', accessibleLabel: accessibleLabel, checked: this.active, disabled: this.disabled, onDsoActiveChange: (e) => this.dsoActiveChange.emit({ current: Boolean(this.active), next: !this.active, originalEvent: e }) })))), hasOptions && (h("div", { key: 'a3c74cdd73815b7519c9126d278da02c0281dfb6', hidden: this.disabled || !this.showOptions, class: "options" }, h("slot", { key: 'b932318fd0ccb55f02e60e5e49e339453b61d955', name: "options" })))));
|
|
42
42
|
}
|
|
43
43
|
get host() { return getElement(this); }
|
|
44
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dso-legend-item.entry.js","sources":["src/components/legend-item/legend-item.scss?tag=dso-legend-item&encapsulation=shadow","src/components/legend-item/legend-item.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/typography\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/button\";\r\n@use \"~dso-toolkit/src/global/mixins/symbol.mixins\" as symbol-mixins;\r\n@use \"legend-item.variables\" as legend-item-variables;\r\n\r\n:host {\r\n display: block;\r\n padding-block: units.$u1 * 0.5;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n::slotted(span[slot=\"symbol\"]) {\r\n @include symbol-mixins.symbolContainer(\r\n legend-item-variables.$symbol-block-size,\r\n legend-item-variables.$symbol-inline-size\r\n );\r\n}\r\n\r\n::slotted(h3) {\r\n margin: 0 !important;\r\n}\r\n\r\n::slotted([slot=\"options\"]) {\r\n margin-block-start: units.$u1;\r\n}\r\n\r\n.legend-item {\r\n display: flex;\r\n position: relative;\r\n\r\n &.legend-item-symbol + .options {\r\n margin-block-start: units.$u1;\r\n }\r\n\r\n dso-icon-button.active {\r\n --_dso-icon-button-tertiary-color: #{colors.$bosgroen-140};\r\n }\r\n}\r\n\r\n.legend-item-right-content {\r\n margin-inline-start: auto;\r\n display: flex;\r\n
|
|
1
|
+
{"version":3,"file":"dso-legend-item.entry.js","sources":["src/components/legend-item/legend-item.scss?tag=dso-legend-item&encapsulation=shadow","src/components/legend-item/legend-item.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/typography\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/button\";\r\n@use \"~dso-toolkit/src/global/mixins/symbol.mixins\" as symbol-mixins;\r\n@use \"legend-item.variables\" as legend-item-variables;\r\n\r\n:host {\r\n display: block;\r\n padding-block: units.$u1 * 0.5;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n::slotted(span[slot=\"symbol\"]) {\r\n @include symbol-mixins.symbolContainer(\r\n legend-item-variables.$symbol-block-size,\r\n legend-item-variables.$symbol-inline-size\r\n );\r\n}\r\n\r\n::slotted(h3) {\r\n margin: 0 !important;\r\n}\r\n\r\n::slotted([slot=\"options\"]) {\r\n margin-block-start: units.$u1;\r\n}\r\n\r\n.legend-item {\r\n display: flex;\r\n position: relative;\r\n\r\n &.legend-item-symbol + .options {\r\n margin-block-start: units.$u1;\r\n }\r\n\r\n dso-icon-button.active {\r\n --_dso-icon-button-tertiary-color: #{colors.$bosgroen-140};\r\n }\r\n}\r\n\r\n.legend-item-right-content {\r\n margin-inline-start: auto;\r\n display: flex;\r\n\r\n dso-slide-toggle {\r\n line-height: 1;\r\n margin-inline-start: 8px;\r\n padding-block-start: 0 !important;\r\n }\r\n}\r\n","import {\r\n Component,\r\n ComponentInterface,\r\n Element,\r\n Event,\r\n EventEmitter,\r\n Host,\r\n Prop,\r\n State,\r\n forceUpdate,\r\n h,\r\n} from \"@stencil/core\";\r\nimport { clsx } from \"clsx\";\r\n\r\nimport { LegendItemActiveChangeEvent } from \"./legend-item.interfaces\";\r\n\r\n/**\r\n * @slot label - The label for this Legend Item. Should be targetted with either `<h3 slot=\"label\">...</h3>` or\r\n * `<span slot=\"label\">...</span>`\r\n * @slot symbol - A span where the symbol is styled upon\r\n * @slot options - The slot to place controls in (i.e. `dso-input-range`). If present, this will cause the appearance of an edit-button (three dots) to show the controls. Will not be displayed if property `disabled` is set to true.\r\n */\r\n@Component({\r\n tag: \"dso-legend-item\",\r\n styleUrl: \"legend-item.scss\",\r\n shadow: true,\r\n})\r\nexport class LegendItem implements ComponentInterface {\r\n @Element()\r\n host!: HTMLDsoLegendItemElement;\r\n\r\n /**\r\n * To disable the Legend Item\r\n */\r\n @Prop({ reflect: true })\r\n disabled = false;\r\n\r\n /**\r\n * Message to be shown behind a toggletip when the Legend Item is disabled\r\n */\r\n @Prop()\r\n disabledMessage?: string;\r\n\r\n /**\r\n * Controls whether this Legend Item can be active or not\r\n */\r\n @Prop({ reflect: true })\r\n activatable?: boolean;\r\n\r\n /**\r\n * Controls whether this Legend Item is active or not\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Emitted when user checks or unchecks the Slide Toggle.\r\n */\r\n @Event()\r\n dsoActiveChange!: EventEmitter<LegendItemActiveChangeEvent>;\r\n\r\n /**\r\n * Emitted when the mouse enters the Legend Item\r\n */\r\n @Event()\r\n dsoMouseEnter!: EventEmitter;\r\n\r\n /**\r\n * Emitted when the mouse leaves the Legend Item\r\n */\r\n @Event()\r\n dsoMouseLeave!: EventEmitter;\r\n\r\n @State()\r\n showOptions = false;\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n connectedCallback(): void {\r\n this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));\r\n\r\n this.mutationObserver.observe(this.host, { attributes: true, childList: true, subtree: true });\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.mutationObserver?.disconnect();\r\n\r\n delete this.mutationObserver;\r\n }\r\n\r\n get symbolSlottedElement() {\r\n return this.host.querySelector(\"[slot='symbol']\");\r\n }\r\n\r\n get optionsSlottedElement() {\r\n return this.host.querySelector(\"[slot='options']\");\r\n }\r\n\r\n render() {\r\n const hasSymbol = this.symbolSlottedElement !== null;\r\n const hasOptions = this.optionsSlottedElement !== null;\r\n\r\n const label = this.host.querySelector(\"span[slot='label']\");\r\n let accessibleLabel = \"Maak actief\";\r\n if (label?.textContent) {\r\n accessibleLabel = `Maak ${label.textContent.toLowerCase()} actief`;\r\n }\r\n\r\n return (\r\n <Host onMouseEnter={() => this.dsoMouseEnter.emit()} onMouseLeave={() => this.dsoMouseLeave.emit()}>\r\n <div class={clsx(\"legend-item\", { \"legend-item-symbol\": hasSymbol })}>\r\n {hasSymbol && (\r\n <div>\r\n <slot name=\"symbol\" />\r\n </div>\r\n )}\r\n <div>\r\n <slot name=\"label\" />\r\n </div>\r\n {this.disabled && this.disabledMessage && (\r\n <dso-toggletip position=\"bottom\">{this.disabledMessage}</dso-toggletip>\r\n )}\r\n\r\n <div class=\"legend-item-right-content\">\r\n {this.active && hasOptions && !this.disabled && (\r\n <dso-icon-button\r\n label=\"Opties\"\r\n icon=\"more\"\r\n variant=\"tertiary\"\r\n class={{ active: this.showOptions }}\r\n id=\"edit-button\"\r\n onDsoClick={() => (this.showOptions = !this.showOptions)}\r\n />\r\n )}\r\n {this.activatable && (\r\n <dso-slide-toggle\r\n accessibleLabel={accessibleLabel}\r\n checked={this.active}\r\n disabled={this.disabled}\r\n onDsoActiveChange={(e) =>\r\n this.dsoActiveChange.emit({ current: Boolean(this.active), next: !this.active, originalEvent: e })\r\n }\r\n />\r\n )}\r\n </div>\r\n </div>\r\n {hasOptions && (\r\n <div hidden={this.disabled || !this.showOptions} class=\"options\">\r\n <slot name=\"options\" />\r\n </div>\r\n )}\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"names":[],"mappings":";;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,otBAAotB,CAAC;;MC2BruB,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;AASE;;AAEG;AAEH,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAuChB,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAgFpB;IA5EC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAM,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE1E,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;IAGhG,oBAAoB,GAAA;;QAClB,CAAA,EAAA,GAAA,IAAI,CAAC,gBAAgB,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,UAAU,EAAE;QAEnC,OAAO,IAAI,CAAC,gBAAgB;;AAG9B,IAAA,IAAI,oBAAoB,GAAA;QACtB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC;;AAGnD,IAAA,IAAI,qBAAqB,GAAA;QACvB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC;;IAGpD,MAAM,GAAA;AACJ,QAAA,M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clsx-ChV9xqsO.js';
|
|
3
3
|
import { i as isModifiedEvent } from './is-modified-event-Hgv-pDpy.js';
|
|
4
4
|
|
|
5
|
-
const legendCss = () => `*,*::after,*::before{box-sizing:border-box}:host{position:relative;display:block;inline-size:344px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.3)}:host .topbar{padding-block:8px;padding-inline:16px}:host .topbar .tabs{inline-size:100%;padding:0;list-style:none;display:inline-flex;border-block-end:1px solid #ccc}:host .topbar .tabs .tab{font-size:inherit;font-family:inherit;line-height:inherit;background-color:transparent;cursor:pointer;display:block;border:0;color:#275937;padding-block:6px;padding-inline:8px;border-block-end:4px solid transparent}:host .topbar .tabs .tab:hover{text-decoration:underline}:host .topbar .tabs .tab.active{font-weight:bold;border-color:#8b4a6a}:host .topbar .close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px}:host .content{--_dso-form-group-margin-block-end:0;--
|
|
5
|
+
const legendCss = () => `*,*::after,*::before{box-sizing:border-box}:host{position:relative;display:block;inline-size:344px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.3);border-radius:4px}:host .topbar{padding-block-start:8px;padding-inline:16px}:host .topbar .tabs{inline-size:100%;padding:0;list-style:none;display:inline-flex;border-block-end:1px solid #ccc}:host .topbar .tabs .tab{font-size:inherit;font-family:inherit;line-height:inherit;background-color:transparent;cursor:pointer;display:block;border:0;color:#275937;padding-block:6px;padding-inline:8px;border-block-end:4px solid transparent}:host .topbar .tabs .tab:hover{text-decoration:underline}:host .topbar .tabs .tab.active{font-weight:bold;border-color:#8b4a6a}:host .topbar .close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px}:host .content{--_dso-form-group-margin-block-end:0;--_dt-scrollable-container-border-end-start-radius:4px;--_dt-scrollable-container-border-end-end-radius:4px;--_dt-scrollable-container-padding-inline:16px;max-block-size:52vh;border-end-start-radius:4px;border-end-end-radius:4px}`;
|
|
6
6
|
|
|
7
7
|
const Legend = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -68,7 +68,7 @@ const Legend = class {
|
|
|
68
68
|
this.moveFocusToTab(next);
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '4f1295cd75af42eeaf438cc7b92604054993bdeb' }, h("div", { key: 'f1473d16ec2b6b5035c9aa88dbad40a4233a1529', class: "topbar" }, h("div", { key: 'f33777d4ab012cecb17105abb8299426995c86d2', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, this.tabItems.map((tabItem) => (h("button", Object.assign({ class: clsx("tab", { active: tabItem.active }), role: "tab", "aria-selected": tabItem.active ? "true" : "false" }, (!tabItem.active ? { tabIndex: -1 } : {}), { onClick: this.clickHandler }), tabItem.label)))), h("dso-icon-button", { key: '8fc17eeefc63ca51e296212eeeadbfc8ab731d18', icon: "times", variant: "tertiary", label: "Sluit legenda", class: "close-button", onClick: (e) => this.dsoClose.emit({ originalEvent: e }) })), h("dso-scrollable", { key: '553566be6236dde866e739364e7a19aa918d32a8', class: "content" }, h("div", { key: '9348aad31e38e42f208301773d58fa784d71c751', role: "tabpanel", tabIndex: 0 }, h("slot", { key: '55fd88c643f65474bb691e4100e493c28b22a358' })))));
|
|
72
72
|
}
|
|
73
73
|
get host() { return getElement(this); }
|
|
74
74
|
};
|