@dso-toolkit/core 95.2.0 → 96.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.js +1 -1
- package/dist/bundle/dso-action-list-item.js +2 -2
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-advanced-select.js +11 -10
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +10 -10
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
- package/dist/bundle/dso-annotation-kaart.js +6 -6
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
- 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 +1 -1
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +2 -2
- package/dist/bundle/dso-card.js +2 -2
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +2 -2
- 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 +203 -1
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-header.js +108 -15
- 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 +1 -1
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +3 -3
- package/dist/bundle/dso-legend-item.js +9 -9
- package/dist/bundle/dso-legend.js +4 -4
- package/dist/bundle/dso-list-button.js +7 -7
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +7 -7
- package/dist/bundle/dso-map-controls.js +5 -5
- package/dist/bundle/dso-map-layer-object.js +4 -4
- package/dist/bundle/dso-map-layer.js +4 -4
- package/dist/bundle/dso-map-message.js +3 -3
- package/dist/bundle/dso-map-overlays.js +7 -7
- package/dist/bundle/dso-mark-bar.js +3 -3
- package/dist/bundle/dso-modal.js +1 -1
- package/dist/bundle/dso-onboarding-tip.js +5 -5
- 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 +3 -3
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +4 -4
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +4 -4
- package/dist/bundle/dso-renvooi.js +1 -1
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.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-tab.js +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.js +3 -3
- 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 +18 -18
- package/dist/bundle/index.js +2 -2
- package/dist/bundle/{p-C_yE-yT4.js → p-59kJLyHW.js} +2 -2
- package/dist/bundle/p-B0uMC739.js +166 -0
- package/dist/bundle/{p-CbZsDFSf.js → p-B59_zDt7.js} +4 -4
- package/dist/bundle/{p-DBi6XQa8.js → p-BIShp3sw.js} +1 -1
- package/dist/bundle/{p-Bh6sbzpT.js → p-BNEJjrr8.js} +2 -2
- package/dist/bundle/{p-DZGMkIzK.js → p-Bmlt2DmQ.js} +4 -4
- package/dist/bundle/p-Bq0uu4Hw.js +83 -0
- package/dist/bundle/{p-7h6dLq9M.js → p-C8XiO-Wa.js} +1 -1
- package/dist/bundle/{p-B-VMnSMl.js → p-CLOFxKEP.js} +5 -5
- package/dist/bundle/{p-BLZJxjte.js → p-CSIJlEGw.js} +5 -5
- package/dist/bundle/{p-DInlGNus.js → p-CWmPLVV_.js} +10 -10
- package/dist/bundle/p-CZ4y0u8f.js +124 -0
- package/dist/bundle/{p-DIM0fY1S.js → p-CaIC9qQK.js} +1 -1
- package/dist/bundle/{p-B3m8trPV.js → p-CgXakBQA.js} +1 -1
- package/dist/bundle/{p-DQ4k80p_.js → p-Clsgdvn9.js} +1 -1
- package/dist/bundle/{p-CjrG2WYI.js → p-DFsS5-fk.js} +9 -9
- package/dist/bundle/{p-CuGyp3WQ.js → p-DI8rxU8b.js} +1 -1
- package/dist/bundle/{p-ClIxAe6b.js → p-DNwAVxmk.js} +5 -5
- package/dist/bundle/{p-B9XEou_S.js → p-DQjbC88c.js} +4 -4
- package/dist/bundle/{p-DV3b_VnF.js → p-DUg2fsNj.js} +1 -1
- package/dist/bundle/{p-DAF7EsKp.js → p-DYD-46VI.js} +4 -4
- package/dist/bundle/{p-BSaHsr79.js → p-DaRtnn5i.js} +1 -1
- package/dist/bundle/{p-CpHN9nNa.js → p-Db33kA_6.js} +1 -1
- package/dist/bundle/{p-RkXc1mJn.js → p-DdpyZaP7.js} +6 -6
- package/dist/bundle/{p-DoVqfHFv.js → p-DgKvq-q9.js} +1 -1
- package/dist/bundle/{p-5nlGueoS.js → p-WEiXvjCu.js} +1 -1
- package/dist/bundle/{p-B5uIYOPn.js → p-XuOq2p5M.js} +14 -14
- package/dist/bundle/p-kacTtdx5.js +189 -0
- package/dist/bundle/{p-NCJ9jUD-.js → p-rHiKziuf.js} +1 -1
- package/dist/bundle/{p-BbrcIY5U.js → p-vBUHC-e7.js} +4 -4
- package/dist/cjs/{annotation-body-BYBiDMDz.js → annotation-body-DorcBRdu.js} +1 -1
- package/dist/cjs/{annotation-list-renvooi-values-D5GfwuRO.js → annotation-list-renvooi-values-DY_nt_wa.js} +1 -1
- package/dist/cjs/{annotation-watcher-DRtgT1BA.js → annotation-watcher-DuftgGaK.js} +1 -1
- 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 +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js +5 -4
- package/dist/cjs/dso-alert_7.cjs.entry.js +9 -9
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +6 -6
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/dso-header.cjs.entry.js +104 -6
- 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 +10 -6
- package/dist/cjs/dso-info_3.cjs.entry.js +3 -3
- package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
- package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +4 -4
- package/dist/cjs/dso-legend.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-message.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
- 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-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +2 -2
- 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/{index-v3FWnSvn.js → index-BOI4CviS.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{parse-wijzigactie-from-node.function-joV1jDjd.js → parse-wijzigactie-from-node.function-BbYINqVA.js} +1 -1
- package/dist/cjs/{tooltip.functional-component-Dbxr_PJe.js → tooltip.functional-component-CW6vXWhM.js} +1 -1
- package/dist/cjs/{wrap-wijzigactie.functional-component-BDznkHgj.js → wrap-wijzigactie.functional-component-BOafAh_v.js} +1 -1
- package/dist/collection/components/accordion/components/accordion-section.css +8 -1
- package/dist/collection/components/action-list/action-list.css +8 -1
- package/dist/collection/components/advanced-select/advanced-select.css +64 -11
- package/dist/collection/components/advanced-select/advanced-select.js +3 -2
- package/dist/collection/components/alert/alert.css +32 -4
- package/dist/collection/components/annotation/annotation.css +16 -2
- package/dist/collection/components/attachments-counter/attachments-counter.js +2 -2
- package/dist/collection/components/badge/badge.css +240 -45
- package/dist/collection/components/card-container/card-container.css +6 -0
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.css +10 -2
- package/dist/collection/components/document-component/document-component.css +16 -2
- package/dist/collection/components/header/header.css +81 -132
- package/dist/collection/components/header/header.js +104 -5
- package/dist/collection/components/icon-button/icon-button.css +67 -5
- package/dist/collection/components/icon-button/icon-button.js +27 -3
- package/dist/collection/components/image-overlay/image-overlay.css +32 -4
- package/dist/collection/components/info/info.css +8 -1
- package/dist/collection/components/label/label.css +88 -14
- package/dist/collection/components/legend/legend-item/legend-item.css +0 -3
- package/dist/collection/components/legend/legend-item/legend-item.js +2 -2
- package/dist/collection/components/map-layer/components/map-layer-object.css +23 -5
- package/dist/collection/components/map-layer/map-layer.css +16 -2
- package/dist/collection/components/map-message/map-message.css +10 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.css +10 -2
- package/dist/collection/components/ozon-content/ozon-content.css +112 -14
- package/dist/collection/components/panel/panel.css +8 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +16 -2
- package/dist/collection/components/renvooi/renvooi.css +16 -2
- package/dist/collection/components/survey-rating/survey-rating.css +64 -11
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.css +10 -2
- 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/document-component.js +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-advanced-select.js +3 -3
- 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-card-container.js +1 -1
- package/dist/components/dso-cursor-tooltip.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-legend-item.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-message.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-survey-rating.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/image-overlay.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/renvooi.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/p-0a7a25b0.entry.js +1 -0
- package/dist/dso-toolkit/{p-cb1937ac.entry.js → p-0ac102e5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-825dad32.entry.js → p-0bf03672.entry.js} +1 -1
- package/dist/dso-toolkit/p-1288e20c.entry.js +1 -0
- package/dist/dso-toolkit/p-1bb92456.entry.js +7 -0
- package/dist/dso-toolkit/{p-037cc6e2.entry.js → p-1ca49cd0.entry.js} +1 -1
- package/dist/dso-toolkit/{p-19645089.entry.js → p-22c3f8cc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-252007ac.entry.js → p-24d2f855.entry.js} +1 -1
- package/dist/dso-toolkit/{p-57cd10e4.entry.js → p-2ce0f6e0.entry.js} +1 -1
- package/dist/dso-toolkit/p-2edbfaae.entry.js +1 -0
- package/dist/dso-toolkit/p-31b238ed.entry.js +1 -0
- package/dist/dso-toolkit/{p-0f58bc7d.entry.js → p-3e5a439d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fe202eef.entry.js → p-3ea66e8f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-885f6260.entry.js → p-4020bb89.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c6d4aacf.entry.js → p-414cdaee.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d7c1ff76.entry.js → p-44549e9c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-151dd30f.entry.js → p-4604bbbf.entry.js} +1 -1
- package/dist/dso-toolkit/p-474de47c.entry.js +1 -0
- package/dist/dso-toolkit/p-47b10abe.entry.js +1 -0
- package/dist/dso-toolkit/{p-846794a5.entry.js → p-4c9cefa6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-44552258.entry.js → p-50cb65a2.entry.js} +1 -1
- package/dist/dso-toolkit/{p-de4a1c14.entry.js → p-52a3836d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c45e35cb.entry.js → p-5a25d8d9.entry.js} +1 -1
- package/dist/dso-toolkit/p-5e95d872.entry.js +1 -0
- package/dist/dso-toolkit/{p-61cd4ede.entry.js → p-5f9a7dbb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b295a325.entry.js → p-613a3ba8.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c59bc8c0.entry.js → p-61a5baf7.entry.js} +1 -1
- package/dist/dso-toolkit/p-6404d224.entry.js +1 -0
- package/dist/dso-toolkit/{p-57a0fb42.entry.js → p-6956ca7f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-dd84ff10.entry.js → p-6e0d8f02.entry.js} +1 -1
- package/dist/dso-toolkit/{p-94db498f.entry.js → p-6ef02655.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d685a2f7.entry.js → p-7905523e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ab9af74a.entry.js → p-8bf66f9c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7e817da1.entry.js → p-8e206e7e.entry.js} +1 -1
- package/dist/dso-toolkit/p-969295b5.entry.js +1 -0
- package/dist/dso-toolkit/{p-6d3cc273.entry.js → p-98aa047d.entry.js} +1 -1
- package/dist/dso-toolkit/p-AZpKxz9p.js +1 -0
- package/dist/dso-toolkit/{p-ViUybizz.js → p-BKr5d3Gu.js} +1 -1
- package/dist/dso-toolkit/{p-tZPA50GA.js → p-Chbfdofl.js} +1 -1
- package/dist/dso-toolkit/{p-DEkvng4d.js → p-Dev1bLxp.js} +1 -1
- package/dist/dso-toolkit/{p-uGZacrki.js → p-DrQGiJP8.js} +1 -1
- package/dist/dso-toolkit/p-PjubEIMY.js +1 -0
- package/dist/dso-toolkit/{p-9c186af8.entry.js → p-a14ee5bd.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c92a750b.entry.js → p-a6a4c4a8.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7f7f9551.entry.js → p-ad49a0c1.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a64cbe94.entry.js → p-b270f26b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b8614377.entry.js → p-b7e743e1.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c50752f2.entry.js → p-ba238c62.entry.js} +1 -1
- package/dist/dso-toolkit/{p-20fb5b5a.entry.js → p-c1cc6a7c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-39e33d16.entry.js → p-c2be5c47.entry.js} +1 -1
- package/dist/dso-toolkit/{p-17d68c90.entry.js → p-c8d1b667.entry.js} +1 -1
- package/dist/dso-toolkit/p-ce372007.entry.js +1 -0
- package/dist/dso-toolkit/{p-1d1a3740.entry.js → p-d13380b6.entry.js} +1 -1
- package/dist/dso-toolkit/p-d4ee2c83.entry.js +1 -0
- package/dist/dso-toolkit/{p-455afb41.entry.js → p-d68d0a36.entry.js} +1 -1
- package/dist/dso-toolkit/p-d799baab.entry.js +1 -0
- package/dist/dso-toolkit/p-d967c5ba.entry.js +1 -0
- package/dist/dso-toolkit/{p-169b492d.entry.js → p-db0ff9e0.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0d9c2c99.entry.js → p-db32a77a.entry.js} +1 -1
- package/dist/dso-toolkit/p-ddba5bfc.entry.js +1 -0
- package/dist/dso-toolkit/{p-be187c76.entry.js → p-e6085bc0.entry.js} +1 -1
- package/dist/dso-toolkit/p-e6331c16.entry.js +1 -0
- package/dist/dso-toolkit/{p-a56a45c0.entry.js → p-e8c7977e.entry.js} +1 -1
- package/dist/dso-toolkit/p-ef831b89.entry.js +1 -0
- package/dist/dso-toolkit/{p-53a165b2.entry.js → p-f913f551.entry.js} +1 -1
- package/dist/dso-toolkit/p-go_iJ4_L.js +1 -0
- package/dist/esm/{annotation-body-BbGGiDzU.js → annotation-body-DeKLxp3F.js} +1 -1
- package/dist/esm/{annotation-list-renvooi-values-DV918XX7.js → annotation-list-renvooi-values-CGxBKqb7.js} +1 -1
- package/dist/esm/{annotation-watcher-D5FQ94at.js → annotation-watcher-BO_h7wWk.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +2 -2
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js +1 -1
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js +5 -4
- package/dist/esm/dso-alert_7.entry.js +9 -9
- package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
- package/dist/esm/dso-annotation-kaart.entry.js +3 -3
- package/dist/esm/dso-annotation-locatie_2.entry.js +6 -6
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
- package/dist/esm/dso-attachments-counter_2.entry.js +2 -2
- package/dist/esm/dso-autosuggest.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-button-group.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +2 -2
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/dso-header.entry.js +104 -6
- 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 +10 -6
- package/dist/esm/dso-info_3.entry.js +3 -3
- package/dist/esm/dso-input-range.entry.js +1 -1
- package/dist/esm/dso-label_3.entry.js +4 -4
- package/dist/esm/dso-legend-group.entry.js +1 -1
- package/dist/esm/dso-legend-item.entry.js +4 -4
- package/dist/esm/dso-legend.entry.js +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 +3 -3
- package/dist/esm/dso-map-layer.entry.js +3 -3
- package/dist/esm/dso-map-message.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/dso-onboarding-tip.entry.js +2 -2
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/dso-segmented-button.entry.js +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-tab.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
- package/dist/esm/dso-toolkit.js +3 -3
- 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/{index-uGZacrki.js → index-DrQGiJP8.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{parse-wijzigactie-from-node.function-BtJ4WFIK.js → parse-wijzigactie-from-node.function-BroGebB4.js} +1 -1
- package/dist/esm/{tooltip.functional-component-DNqxwCG5.js → tooltip.functional-component-nHAIYF3o.js} +1 -1
- package/dist/esm/{wrap-wijzigactie.functional-component-ChvYnlwn.js → wrap-wijzigactie.functional-component-BCT1o51-.js} +1 -1
- package/dist/types/components/header/header.d.ts +10 -0
- package/dist/types/components/icon-button/icon-button.d.ts +4 -0
- package/dist/types/components/icon-button/icon-button.interfaces.d.ts +1 -0
- package/dist/types/components.d.ts +11 -0
- package/package.json +3 -3
- package/dist/bundle/p-C3TYRjeb.js +0 -166
- package/dist/bundle/p-CF5u2saq.js +0 -83
- package/dist/bundle/p-CwETV-gv.js +0 -205
- package/dist/bundle/p-D6mShNSe.js +0 -119
- package/dist/bundle/p-DQAO2E8R.js +0 -189
- package/dist/components/dropdown-menu.js +0 -1
- package/dist/dso-toolkit/p-13a4359b.entry.js +0 -1
- package/dist/dso-toolkit/p-164492f5.entry.js +0 -1
- package/dist/dso-toolkit/p-25cea845.entry.js +0 -1
- package/dist/dso-toolkit/p-2df078b0.entry.js +0 -1
- package/dist/dso-toolkit/p-2f0febe0.entry.js +0 -1
- package/dist/dso-toolkit/p-3a3e6ad1.entry.js +0 -1
- package/dist/dso-toolkit/p-3d5affd8.entry.js +0 -1
- package/dist/dso-toolkit/p-432f4b4b.entry.js +0 -1
- package/dist/dso-toolkit/p-4e05b633.entry.js +0 -1
- package/dist/dso-toolkit/p-4f21807b.entry.js +0 -7
- package/dist/dso-toolkit/p-846fe7d0.entry.js +0 -1
- package/dist/dso-toolkit/p-89160dc8.entry.js +0 -1
- package/dist/dso-toolkit/p-9e9eee7c.entry.js +0 -1
- package/dist/dso-toolkit/p-CYHYSMIz.js +0 -1
- package/dist/dso-toolkit/p-DfixBhJX.js +0 -1
- package/dist/dso-toolkit/p-ccdd9458.entry.js +0 -1
- package/dist/dso-toolkit/p-ecb84284.entry.js +0 -1
- package/dist/dso-toolkit/p-eyz38o4U.js +0 -1
- package/dist/dso-toolkit/p-f2d1acf2.entry.js +0 -1
- package/dist/dso-toolkit/p-fcf93614.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, F as Fragment, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, F as Fragment, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
|
|
3
|
-
const cardContainerCss = () => `:host .dso-card-list{padding-inline-start:0;list-style:none;border-block-end:1px solid #ccc;margin-block-start:-1px}:host .dso-card-grid{display:grid;gap:32px;grid-auto-rows:1fr}@media (max-width: 991px){:host .dso-card-grid{grid-template-columns:repeat(1, 1fr)}}@media (min-width: 992px) and (max-width: 1199px){:host .dso-card-grid{grid-template-columns:repeat(2, 1fr)}}@media (min-width: 1200px){:host .dso-card-grid{grid-template-columns:repeat(3, 1fr)}}`;
|
|
3
|
+
const cardContainerCss = () => `:host .dso-card-list{padding-inline-start:0;list-style:none;border-block-end:1px solid #ccc;margin-block-start:-1px}:host .dso-card-list ::slotted(li){border-block-start:1px solid #ccc}:host .dso-card-grid{display:grid;gap:32px;grid-auto-rows:1fr}:host .dso-card-grid ::slotted(dso-card){box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2)}@media (max-width: 991px){:host .dso-card-grid{grid-template-columns:repeat(1, 1fr)}}@media (min-width: 992px) and (max-width: 1199px){:host .dso-card-grid{grid-template-columns:repeat(2, 1fr)}}@media (min-width: 1200px){:host .dso-card-grid{grid-template-columns:repeat(3, 1fr)}}`;
|
|
4
4
|
|
|
5
5
|
const CardContainer = /*@__PURE__*/ proxyCustomElement(class CardContainer extends H {
|
|
6
6
|
constructor(registerHost) {
|
package/dist/bundle/dso-card.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, f as forceUpdate, h, c as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, f as forceUpdate, h, c as Host, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
import { i as isModifiedEvent } from './p-Hgv-pDpy.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-Clsgdvn9.js';
|
|
4
4
|
|
|
5
5
|
const cardCss = () => `a{overflow-wrap:anywhere;background-color:transparent;color:var(--link-color);text-decoration:underline;text-underline-offset:15%}a:hover,a:focus-visible{color:var(--link-hover-color);text-decoration:underline}a:active{text-decoration:none}a .sr-only+dso-icon{margin-inline-start:0}a:visited{color:var(--link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom -3px right 0;background-image:var(--_dso-di-background-image, url("./di.svg#download"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#download-scampi"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom -3px right 0;background-image:var(--_dso-di-background-image, url("./di.svg#external-link"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#external-link-scampi"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom -3px left 0;background-image:var(--_dso-di-background-image, url("./di.svg#call-grasgroen"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#call-scampi"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom -3px left 0;background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-grasgroen"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-scampi"))}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-selectable]:not([is-selectable=false])) .dso-card-container{display:grid;grid-template-columns:1fr minmax(0, 100%)}:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-heading,:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-content{grid-column:2/-1}:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-selectable{grid-row:span 2;margin-inline-end:8px}:host([active]:not([active=false])) .dso-card-container{background-color:#e5e5e5}.dso-card-container{padding-block:16px;padding-inline:16px;inline-size:100%;block-size:100%}.dso-card-container:has(.dso-card-heading a:is(:hover,:focus-visible)){background-color:#f2f2f2}.dso-card-container .dso-card-heading{align-items:center;display:flex}@media screen and (max-width: 480px){.dso-card-container .dso-card-heading{flex-wrap:wrap}}.dso-card-container .dso-card-heading+.dso-card-content{margin-block-start:8px}.heading-anchor{display:flex;gap:4px;color:#275937;text-decoration:none}.heading-anchor:hover{color:#275937;text-decoration:underline}.heading-anchor:visited{color:#275937}.heading-anchor dso-icon{flex-shrink:0}.heading-anchor .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)}::slotted([slot=selectable]){font-size:0 !important;--_dt-selectable-padding-inline-start:24px;--_dt-selectable-input-wrapper-margin-inline-start:-24px;--_dt-selectable-input-wrapper-padding-inline-start:24px}::slotted([slot=heading]){display:flex !important;align-items:center !important;margin-block-end:0 !important;margin-block-start:0 !important;font-size:1.125em !important;font-weight:700 !important;color:#275937 !important;line-height:1.25 !important}::slotted([slot=content]){--_dt-rich-content-margin-block:8px;--_dt-rich-content-margin-block-end:0;--_dt-rich-content-margin-block-start:0}::slotted([slot=interactions]){display:flex !important;justify-content:space-between !important;margin-inline-start:auto !important}@media screen and (max-width: 480px){::slotted([slot=interactions]){flex-basis:100% !important;margin-block-start:16px !important}}`;
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
|
|
3
3
|
const contactInformationCss = () => `:host{--_dso-di-background-image:none;--_dso-link-icon-padding-inline-start:0;--_dso-link-icon-padding-inline-end:0;display:block}*,*::after,*::before{box-sizing:border-box}::slotted([slot=anchor-items]),::slotted([slot=info-items]){display:flex !important;flex-wrap:wrap !important;gap:16px 24px !important;padding-inline-start:0 !important;list-style:none !important}@media screen and (max-width: 991px){::slotted([slot=anchor-items]),::slotted([slot=info-items]){flex-direction:column !important;gap:16px !important}}::slotted([slot=info-items]){margin-block-end:0 !important}::slotted([slot=heading]){margin-block:0 16px !important;font-size:16px !important}`;
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
|
|
3
|
-
const cursorTooltipCss = () => `*,*::after,*::before{box-sizing:border-box}:host{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}:host{--_dso-icon-button-
|
|
3
|
+
const cursorTooltipCss = () => `*,*::after,*::before{box-sizing:border-box}:host{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}:host a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}:host{--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:rgba(0, 0, 0, 0.75);color:#fff;position:relative;display:inline-block;pointer-events:none;overflow:unset;max-inline-size:360px;margin-inline:8px;padding-inline:16px;padding-block:8px;border-radius:4px;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4))}:host::before{content:"";position:absolute;inset-inline-start:50%;inset-block-start:0;transform:translateX(-50%) translateY(-100%);border-inline-start:8px solid transparent;border-inline-end:8px solid transparent;border-block-end:8px solid rgba(0, 0, 0, 0.75);filter:none;pointer-events:none}`;
|
|
4
4
|
|
|
5
5
|
const CursorTooltip = /*@__PURE__*/ proxyCustomElement(class CursorTooltip extends H {
|
|
6
6
|
constructor(registerHost) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, f as forceUpdate, h, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, f as forceUpdate, h, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
import { i as isModifiedEvent } from './p-Hgv-pDpy.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-Clsgdvn9.js';
|
|
4
4
|
|
|
5
5
|
const documentCardCss = () => `*,*::after,*::before{box-sizing:border-box}:host{display:block}.dso-document-card-container{padding-block:16px;padding-inline:16px;inline-size:100%}.dso-document-card-container .dso-document-card-heading{align-items:center;display:flex}@media screen and (max-width: 480px){.dso-document-card-container .dso-document-card-heading{flex-wrap:wrap}}.dso-document-card-container:has(.dso-document-card-heading a:is(:hover,:focus-visible)){background-color:#f2f2f2}:host([active]:not([active=false])) .dso-document-card-container{background-color:#e5e5e5}::slotted([slot=heading]){display:inline !important;color:#275937 !important;font-size:1.125em !important;font-weight:700 !important;line-height:1.25 !important;margin-block-end:0 !important;margin-block-start:0 !important}.heading-anchor{color:#275937;text-decoration:none}.heading-anchor:hover{color:#275937;text-decoration:underline}.heading-anchor:visited{color:#275937}.heading-anchor .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)}.heading-anchor .icon-container{position:relative;padding-inline-end:24px}.heading-anchor .icon-container dso-icon{position:absolute;inset-inline-end:0;inset-block-end:-3px;block-size:24px;inline-size:24px}::slotted([slot=type]){--_dt-info-button-margin-inline-start:0;display:flex !important;gap:8px !important}.dso-document-card-heading+.dso-document-card-type,.dso-document-card-heading+.dso-document-card-status,.dso-document-card-type+.dso-document-card-status{margin-block-start:8px}::slotted([slot=meta]){margin-inline-end:8px}::slotted([slot=status]){margin-inline-end:8px}`;
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DocumentComponent, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { D as DocumentComponent, d as defineCustomElement$1 } from './p-XuOq2p5M.js';
|
|
2
2
|
|
|
3
3
|
const DsoDocumentComponent = DocumentComponent;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,206 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host, t as transformTag } from './p-BIShp3sw.js';
|
|
2
|
+
import { a as autoUpdate, c as computePosition, o as offset, f as flip } from './p-zRaH89Qj.js';
|
|
3
|
+
import { t as tabbable } from './p-PsHl6ZhV.js';
|
|
4
|
+
import { g as getActiveElement } from './p-BWkWD1Z2.js';
|
|
5
|
+
import { v as v4 } from './p-CK3_k8jD.js';
|
|
6
|
+
|
|
7
|
+
const dropdownMenuCss = () => `:host(:focus){outline:none}:host{display:inline-block}div[popover]{margin:0 !important;border:0;padding:0;background-color:transparent;overflow:unset;inline-size:max-content}`;
|
|
8
|
+
|
|
9
|
+
const DropdownMenu = /*@__PURE__*/ proxyCustomElement(class DropdownMenu extends H {
|
|
10
|
+
constructor(registerHost) {
|
|
11
|
+
super();
|
|
12
|
+
if (registerHost !== false) {
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
}
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
/**
|
|
17
|
+
* Whether the menu is open or closed.
|
|
18
|
+
* This attribute is reflected and mutable.
|
|
19
|
+
*/
|
|
20
|
+
this.open = false;
|
|
21
|
+
/**
|
|
22
|
+
* Alignment of the dropdown
|
|
23
|
+
*/
|
|
24
|
+
this.dropdownAlign = "left";
|
|
25
|
+
/**
|
|
26
|
+
* Space between button and dropdown options
|
|
27
|
+
*/
|
|
28
|
+
this.dropdownOptionsOffset = 2;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the menu is checkable.
|
|
31
|
+
*/
|
|
32
|
+
this.checkable = false;
|
|
33
|
+
this.focusOutListener = (event) => {
|
|
34
|
+
if (this.open &&
|
|
35
|
+
(!(event.relatedTarget instanceof H) || !this.tabbables(true).includes(event.relatedTarget))) {
|
|
36
|
+
this.toggleOptions(false);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
this.keyDownListener = (event) => {
|
|
40
|
+
if (event.defaultPrevented || !this.open) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
switch (event.key) {
|
|
44
|
+
case "Tab":
|
|
45
|
+
if (event.shiftKey) {
|
|
46
|
+
this.tabInPopup(this.tabbables(true), -1);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.tabInPopup(this.tabbables(true), 1);
|
|
50
|
+
}
|
|
51
|
+
break;
|
|
52
|
+
case "ArrowDown":
|
|
53
|
+
this.tabInPopup(this.tabbables(false), 1);
|
|
54
|
+
break;
|
|
55
|
+
case "ArrowUp":
|
|
56
|
+
this.tabInPopup(this.tabbables(false), -1);
|
|
57
|
+
break;
|
|
58
|
+
case "Escape":
|
|
59
|
+
this.escape();
|
|
60
|
+
break;
|
|
61
|
+
case " ":
|
|
62
|
+
if (event.target instanceof H) {
|
|
63
|
+
event.target.click();
|
|
64
|
+
}
|
|
65
|
+
break;
|
|
66
|
+
default:
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
event.preventDefault();
|
|
70
|
+
};
|
|
71
|
+
this.escape = () => {
|
|
72
|
+
this.button.focus();
|
|
73
|
+
this.toggleOptions(false);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
get button() {
|
|
77
|
+
const button = this.host.querySelector('button[slot="toggle"]');
|
|
78
|
+
if (!(button instanceof HTMLButtonElement)) {
|
|
79
|
+
throw new ReferenceError("Mandatory toggle button not found");
|
|
80
|
+
}
|
|
81
|
+
return button;
|
|
82
|
+
}
|
|
83
|
+
tabbables(withButton) {
|
|
84
|
+
const tabbables = this.host.isConnected ? tabbable(this.host) : [];
|
|
85
|
+
return withButton ? tabbables : tabbables.filter((element) => element !== this.button);
|
|
86
|
+
}
|
|
87
|
+
componentDidLoad() {
|
|
88
|
+
this.button.setAttribute("aria-haspopup", "menu");
|
|
89
|
+
this.button.setAttribute("aria-expanded", "false");
|
|
90
|
+
if (!this.button.id) {
|
|
91
|
+
this.button.id = v4();
|
|
92
|
+
}
|
|
93
|
+
const dropdownOptionsElement = this.host.querySelector(".dso-dropdown-options");
|
|
94
|
+
if (!(dropdownOptionsElement instanceof H)) {
|
|
95
|
+
throw new Error("dropdown options element is not instanceof HTMLElement");
|
|
96
|
+
}
|
|
97
|
+
dropdownOptionsElement.setAttribute("role", "menu");
|
|
98
|
+
dropdownOptionsElement.setAttribute("aria-labelledby", this.button.id);
|
|
99
|
+
for (const ul of Array.from(this.host.getElementsByTagName("ul"))) {
|
|
100
|
+
ul.setAttribute("role", "group");
|
|
101
|
+
for (const li of Array.from(ul.getElementsByTagName("li"))) {
|
|
102
|
+
li.setAttribute("role", "none");
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
componentDidRender() {
|
|
107
|
+
for (const li of Array.from(this.host.getElementsByTagName("li"))) {
|
|
108
|
+
for (const tab of this.host.isConnected ? tabbable(li) : []) {
|
|
109
|
+
tab.setAttribute("role", this.checkable ? "menuitemradio" : "menuitem");
|
|
110
|
+
if (this.checkable) {
|
|
111
|
+
tab.setAttribute("aria-checked", li.classList.contains("dso-checked").toString());
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
this.button.setAttribute("aria-expanded", this.open ? "true" : "false");
|
|
116
|
+
if (this.popoverElement && !this.cleanUp) {
|
|
117
|
+
const element = this.popoverElement;
|
|
118
|
+
this.cleanUp = autoUpdate(this.button, element, () => {
|
|
119
|
+
computePosition(this.button, element, {
|
|
120
|
+
strategy: "fixed",
|
|
121
|
+
middleware: [
|
|
122
|
+
offset(this.dropdownOptionsOffset),
|
|
123
|
+
flip({
|
|
124
|
+
padding: this.dropdownOptionsOffset,
|
|
125
|
+
}),
|
|
126
|
+
],
|
|
127
|
+
placement: this.dropdownAlign === "right" ? "bottom-end" : "bottom-start",
|
|
128
|
+
}).then(({ x, y }) => {
|
|
129
|
+
Object.assign(element.style, {
|
|
130
|
+
left: `${x}px`,
|
|
131
|
+
top: `${y}px`,
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
onClick(event) {
|
|
138
|
+
const composedPath = event.composedPath();
|
|
139
|
+
if (this.isToggleButtonEvent(composedPath)) {
|
|
140
|
+
this.toggleOptions();
|
|
141
|
+
}
|
|
142
|
+
else if (this.open && this.isMenuItemEvent(composedPath)) {
|
|
143
|
+
this.toggleOptions(false);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
isToggleButtonEvent(composedPath) {
|
|
147
|
+
return composedPath.includes(this.button);
|
|
148
|
+
}
|
|
149
|
+
isMenuItemEvent(composedPath) {
|
|
150
|
+
return composedPath.includes(this.host) && !this.isToggleButtonEvent(composedPath);
|
|
151
|
+
}
|
|
152
|
+
toggleOptions(force) {
|
|
153
|
+
this.open = force ?? !this.open;
|
|
154
|
+
if (this.popoverElement?.isConnected) {
|
|
155
|
+
this.popoverElement?.togglePopover(this.open);
|
|
156
|
+
}
|
|
157
|
+
if (!this.open && this.cleanUp) {
|
|
158
|
+
this.cleanUp();
|
|
159
|
+
this.cleanUp = undefined;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
connectedCallback() {
|
|
163
|
+
this.host.addEventListener("keydown", this.keyDownListener);
|
|
164
|
+
}
|
|
165
|
+
disconnectedCallback() {
|
|
166
|
+
this.host.removeEventListener("keydown", this.keyDownListener);
|
|
167
|
+
this.toggleOptions(false);
|
|
168
|
+
}
|
|
169
|
+
tabInPopup(tabbables, direction) {
|
|
170
|
+
const currentIndex = tabbables.findIndex((e) => e === getActiveElement());
|
|
171
|
+
let nextIndex = currentIndex + direction;
|
|
172
|
+
if (nextIndex >= tabbables.length) {
|
|
173
|
+
nextIndex = 0;
|
|
174
|
+
}
|
|
175
|
+
else if (nextIndex < 0) {
|
|
176
|
+
nextIndex = tabbables.length - 1;
|
|
177
|
+
}
|
|
178
|
+
tabbables[nextIndex]?.focus();
|
|
179
|
+
}
|
|
180
|
+
render() {
|
|
181
|
+
return (h(Host, { key: '28f8eb6a00bf4a1b139c917e44ce8de42067e8c6', onFocusout: this.focusOutListener }, h("slot", { key: 'fcf093b872932b1f604ae3d5f93391189ac60bbb', name: "toggle" }), h("div", { key: '2a621a9cdcf5817faf1354640a0062caa5c5fe04', popover: "manual", ref: (element) => (this.popoverElement = element) }, h("slot", { key: '68633d9a0c505d120acac96e15058d44e01d9a00' }))));
|
|
182
|
+
}
|
|
183
|
+
get host() { return this; }
|
|
184
|
+
static get style() { return dropdownMenuCss(); }
|
|
185
|
+
}, [257, "dso-dropdown-menu", {
|
|
186
|
+
"open": [1540],
|
|
187
|
+
"dropdownAlign": [1, "dropdown-align"],
|
|
188
|
+
"dropdownOptionsOffset": [2, "dropdown-options-offset"],
|
|
189
|
+
"checkable": [4]
|
|
190
|
+
}, [[8, "click", "onClick"]]]);
|
|
191
|
+
function defineCustomElement$1() {
|
|
192
|
+
if (typeof customElements === "undefined") {
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
const components = ["dso-dropdown-menu"];
|
|
196
|
+
components.forEach(tagName => { switch (tagName) {
|
|
197
|
+
case "dso-dropdown-menu":
|
|
198
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
199
|
+
customElements.define(transformTag(tagName), DropdownMenu);
|
|
200
|
+
}
|
|
201
|
+
break;
|
|
202
|
+
} });
|
|
203
|
+
}
|
|
2
204
|
|
|
3
205
|
const DsoDropdownMenu = DropdownMenu;
|
|
4
206
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { h, p as proxyCustomElement, H, d as createEvent, f as forceUpdate, c as Host, F as Fragment, t as transformTag } from './p-
|
|
1
|
+
import { h, p as proxyCustomElement, H, d as createEvent, f as forceUpdate, c as Host, F as Fragment, t as transformTag } from './p-BIShp3sw.js';
|
|
2
|
+
import { a as autoUpdate, c as computePosition, o as offset, f as flip } from './p-zRaH89Qj.js';
|
|
2
3
|
import { c as clsx } from './p-ChV9xqsO.js';
|
|
4
|
+
import { t as tabbable } from './p-PsHl6ZhV.js';
|
|
5
|
+
import { g as getActiveElement } from './p-BWkWD1Z2.js';
|
|
3
6
|
import { i as i18n } from './p-DwBHVuoZ.js';
|
|
4
7
|
import { i as isModifiedEvent } from './p-Hgv-pDpy.js';
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import {
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-Clsgdvn9.js';
|
|
9
|
+
import { v as v4 } from './p-CK3_k8jD.js';
|
|
7
10
|
|
|
8
11
|
const translations = {
|
|
9
12
|
en: {
|
|
@@ -31,7 +34,7 @@ const MenuItem = ({ item, onClick, key, ref }) => {
|
|
|
31
34
|
return (h("li", { class: clsx({ "dso-active": item.active }), key: key, ref: ref }, h("a", { href: item.url, "aria-current": item.active ? "page" : undefined, onClick: onClick }, item.label)));
|
|
32
35
|
};
|
|
33
36
|
|
|
34
|
-
const headerCss = () => `*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-compact]) ::slotted([slot=logo]){--_dso-logo-block-size:2.5rem !important}:host([is-compact]) .dso-header{flex-wrap:nowrap}:host([is-compact])
|
|
37
|
+
const headerCss = () => `*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-compact]) ::slotted([slot=logo]){--_dso-logo-block-size:2.5rem !important}:host([is-compact]) .dso-header{flex-wrap:nowrap}:host([is-compact]) .dropdown-menu .dropdown-menu-options{inline-size:100%}:host(:not([is-compact])) .dso-header{align-items:center}:host(:not([is-compact])) .dropdown-menu .dropdown-menu-options{inline-size:375px}div[popover]{margin:0 !important;border:0;padding:0;background-color:transparent;overflow:unset;inline-size:max-content}.dso-header{border-block-end:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}.dso-header .dso-nav{border:0}.logo-container{flex:1 1 12.5rem;margin-inline-end:24px;padding-block-end:16px;padding-block-start:16px}.dso-header-session{display:flex;align-items:center;margin-inline-start:auto}.dso-header-session .profile .dso-tertiary,.dso-header-session .login .dso-tertiary,.dso-header-session .logout .dso-tertiary,.dso-header-session .help .dso-tertiary{display:flex;cursor:pointer;border:0;background-color:transparent;padding-inline:0;outline-offset:2px;font-family:Asap, sans-serif;color:#39870c;font-size:1rem;font-weight:600;line-height:1.5;text-decoration:none}.dso-header-session .profile .dso-tertiary:hover,.dso-header-session .login .dso-tertiary:hover,.dso-header-session .logout .dso-tertiary:hover,.dso-header-session .help .dso-tertiary:hover{text-decoration:underline}.dso-header-session .profile+.logout,.dso-header-session .logout+.help,.dso-header-session .login+.help{border-inline-start:3px solid #ccc;margin-inline-start:8px;padding-inline-start:8px}.dso-header-session .help a,.dso-header-session .help button{display:flex}.dso-navbar{flex-basis:100%;max-inline-size:100%;position:relative}.dropdown-menu button{align-items:center;background-color:transparent;border:0;color:#39870c;display:flex;font-family:Asap, sans-serif;font-size:16px;font-weight:600;line-height:normal;position:relative}.dropdown-menu button::after{margin-inline-start:8px;position:absolute;inset-inline-end:0;inset-block-start:50%;transform:translateY(-50%)}.dropdown-menu button:hover,.dropdown-menu button:active{cursor:pointer;text-decoration:underline}.dropdown-menu button dso-icon{inline-size:24px;block-size:24px;margin-inline-start:8px;padding-block-start:2px}.dropdown-menu button[aria-expanded=true] dso-icon{transform:rotate(180deg)}.dropdown-menu .dropdown-menu-options{background-clip:padding-box;background-color:#fff;border:0;border-radius:0;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);font-size:1rem;min-inline-size:160px;padding-block:5px;padding-inline:0;z-index:220}.dropdown-menu .dropdown-menu-options ul{margin:0;padding:0;list-style:none}.dropdown-menu .dropdown-menu-options ul:not(:last-child){border-block-end:1px solid #e5e5e5;margin-block-end:11px;padding-block-end:11px}.dropdown-menu .dropdown-menu-options ul li{list-style:none}.dropdown-menu .dropdown-menu-options ul li a,.dropdown-menu .dropdown-menu-options ul li button{text-decoration:none}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:focus-visible,.dropdown-menu .dropdown-menu-options ul li a:active,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:focus-visible,.dropdown-menu .dropdown-menu-options ul li button:active{text-decoration:underline}.dropdown-menu .dropdown-menu-options ul li a,.dropdown-menu .dropdown-menu-options ul li button{clear:both;color:#275937;display:block;font-size:1.25rem;font-weight:400;line-height:1.5;padding:16px;text-decoration:none;white-space:nowrap}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:focus,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:focus{background-color:#39870c;border-color:#39870c;color:#fff;text-decoration:none}.dropdown-menu .dropdown-menu-options ul li a:focus-visible,.dropdown-menu .dropdown-menu-options ul li button:focus-visible{background-color:#39870c;color:#fff}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li button:hover{background-color:#fff;color:#275937;text-decoration:underline}.dropdown-menu .dropdown-menu-options ul li a:visited,.dropdown-menu .dropdown-menu-options ul li button:visited{color:#191919}.dropdown-menu .dropdown-menu-options ul li a:visited:not(:hover):not(:focus-visible),.dropdown-menu .dropdown-menu-options ul li button:visited:not(:hover):not(:focus-visible){color:#275937}.dropdown-menu .dropdown-menu-options ul li.dso-active a{font-weight:600}.dropdown-menu .dropdown-menu-options ul li+li{border-block-start:1px solid #ccc}.dropdown{margin-inline-start:auto;display:flex;align-items:center}.dropdown .dropdown-menu{position:static}.dropdown .dropdown-menu .dropdown-menu-options{inset-inline-end:0;inset-block-start:100%;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4)}.dso-nav.ready .menu-user-home{margin-inline-start:auto}.dso-nav{align-items:end;column-gap:32px;display:flex;list-style:none;margin-block-end:0;margin-block-start:0;padding-inline-start:0}.dso-nav>li{margin-block-end:4px}.dso-nav>li>a{display:block}.dso-nav>li>a,.dso-nav>li>a:hover,.dso-nav>li>a:focus,.dso-nav>li>a:visited{color:#275937}.dso-nav>li.dso-active,.dso-nav>li.is-active{margin-block-end:0}.dso-nav>li.dso-active>a,.dso-nav>li.is-active>a{border-block-end:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main{display:flex !important}.dso-nav.dso-nav-main>li>a{text-decoration:none}.dso-nav.dso-nav-main>li>a:hover,.dso-nav.dso-nav-main>li>a:focus-visible,.dso-nav.dso-nav-main>li>a:active{text-decoration:underline}.dso-nav.dso-nav-main>li>a{font-size:1.25em;line-height:1;padding-block:16px;padding-inline:0;white-space:nowrap}.dso-nav.dso-nav-main .dropdown-menu .dropdown-menu-options{inset-inline-start:-1rem !important;inset-block-start:3px !important}.dso-nav.dso-nav-main .dropdown-menu button{font-size:1.25em;line-height:1;padding-block:16px;padding-inline:0;align-items:flex-end;color:#275937}.dso-nav.dso-nav-main .dropdown-menu button:hover,.dso-nav.dso-nav-main .dropdown-menu button:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main .dropdown-menu button::after{margin-inline-start:8px;position:absolute;inset-inline-end:0px;inset-block-start:auto;transform:none}.dso-nav .main-menu-item-icon{block-size:1em;margin-inline-end:8px;position:relative;inset-block-start:-2px;inline-size:1.2em}.dso-nav .dropdown-menu-item .main-menu-item-icon{margin-inline-end:0}`;
|
|
35
38
|
|
|
36
39
|
const minDesktopViewportWidth = 992;
|
|
37
40
|
const Header = /*@__PURE__*/ proxyCustomElement(class Header extends H {
|
|
@@ -65,10 +68,48 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends H {
|
|
|
65
68
|
this.userHomeActive = false;
|
|
66
69
|
this.visibleMenuItemsCount = undefined;
|
|
67
70
|
this.dropdownOptionsOffset = 0;
|
|
71
|
+
this.open = false;
|
|
72
|
+
this.escape = () => {
|
|
73
|
+
this.dropdownButtonElement?.focus();
|
|
74
|
+
this.toggleOptions();
|
|
75
|
+
};
|
|
76
|
+
this.keyDownHandler = (event) => {
|
|
77
|
+
if (event.defaultPrevented || !this.open) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
switch (event.key) {
|
|
81
|
+
case "Tab":
|
|
82
|
+
if (event.shiftKey) {
|
|
83
|
+
this.tabInPopup(this.tabbables(true), -1);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
this.tabInPopup(this.tabbables(true), 1);
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
case "ArrowDown":
|
|
90
|
+
this.tabInPopup(this.tabbables(false), 1);
|
|
91
|
+
break;
|
|
92
|
+
case "ArrowUp":
|
|
93
|
+
this.tabInPopup(this.tabbables(false), -1);
|
|
94
|
+
break;
|
|
95
|
+
case "Escape":
|
|
96
|
+
this.escape();
|
|
97
|
+
break;
|
|
98
|
+
case " ":
|
|
99
|
+
if (event.target instanceof H) {
|
|
100
|
+
event.target.click();
|
|
101
|
+
}
|
|
102
|
+
break;
|
|
103
|
+
default:
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
event.preventDefault();
|
|
107
|
+
};
|
|
68
108
|
this.resetVisibleMenuItems = () => {
|
|
69
109
|
this.visibleMenuItemsCount = undefined;
|
|
70
110
|
};
|
|
71
111
|
this.clickHandler = (e, type, options) => {
|
|
112
|
+
this.toggleOptions(false);
|
|
72
113
|
this.dsoHeaderClick.emit({
|
|
73
114
|
originalEvent: e,
|
|
74
115
|
isModifiedEvent: isModifiedEvent(e),
|
|
@@ -81,12 +122,31 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends H {
|
|
|
81
122
|
this.text = i18n(() => this.host, translations);
|
|
82
123
|
this.resizeObserver = new ResizeObserver(() => {
|
|
83
124
|
this.resetVisibleMenuItems();
|
|
125
|
+
this.toggleOptions(false);
|
|
126
|
+
this.dropdownOptionsOffset = 0;
|
|
84
127
|
forceUpdate(this.host);
|
|
85
128
|
});
|
|
129
|
+
this.focusOutListener = (event) => {
|
|
130
|
+
if (this.open &&
|
|
131
|
+
(!(event.relatedTarget instanceof H) || !this.tabbables(true).includes(event.relatedTarget))) {
|
|
132
|
+
this.toggleOptions(false);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
86
135
|
}
|
|
87
136
|
mainMenuChanged() {
|
|
88
137
|
this.resetVisibleMenuItems();
|
|
89
138
|
}
|
|
139
|
+
tabInPopup(tabbables, direction) {
|
|
140
|
+
const currentIndex = tabbables.findIndex((e) => e === getActiveElement());
|
|
141
|
+
let nextIndex = currentIndex + direction;
|
|
142
|
+
if (nextIndex >= tabbables.length) {
|
|
143
|
+
nextIndex = 0;
|
|
144
|
+
}
|
|
145
|
+
else if (nextIndex < 0) {
|
|
146
|
+
nextIndex = tabbables.length - 1;
|
|
147
|
+
}
|
|
148
|
+
tabbables[nextIndex]?.focus();
|
|
149
|
+
}
|
|
90
150
|
get isCompact() {
|
|
91
151
|
return this.compact === "always" || window.innerWidth < minDesktopViewportWidth;
|
|
92
152
|
}
|
|
@@ -144,27 +204,64 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends H {
|
|
|
144
204
|
}
|
|
145
205
|
disconnectedCallback() {
|
|
146
206
|
this.resizeObserver.disconnect();
|
|
207
|
+
this.toggleOptions(false);
|
|
147
208
|
}
|
|
148
209
|
componentDidRender() {
|
|
149
210
|
if (!this.host.isConnected) {
|
|
150
211
|
return;
|
|
151
212
|
}
|
|
152
213
|
if (this.isCompact && this.dropdownElement) {
|
|
153
|
-
this.
|
|
214
|
+
this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();
|
|
154
215
|
}
|
|
155
216
|
if (typeof this.visibleMenuItemsCount === "undefined" && this.navElement) {
|
|
156
217
|
this.visibleMenuItemsCount = this.calculateOverflowMenuItemCount(this.navElement);
|
|
157
218
|
}
|
|
219
|
+
if (this.popoverElement && !this.cleanUp && this.dropdownButtonElement) {
|
|
220
|
+
const element = this.popoverElement;
|
|
221
|
+
this.cleanUp = autoUpdate(this.dropdownButtonElement, element, () => {
|
|
222
|
+
if (this.dropdownButtonElement) {
|
|
223
|
+
computePosition(this.dropdownButtonElement, element, {
|
|
224
|
+
strategy: "fixed",
|
|
225
|
+
middleware: [
|
|
226
|
+
offset(this.dropdownOptionsOffset),
|
|
227
|
+
flip({
|
|
228
|
+
padding: this.dropdownOptionsOffset,
|
|
229
|
+
}),
|
|
230
|
+
],
|
|
231
|
+
placement: this.isCompact ? "bottom-end" : "bottom-start",
|
|
232
|
+
}).then(({ x, y }) => {
|
|
233
|
+
Object.assign(element.style, {
|
|
234
|
+
left: `${x}px`,
|
|
235
|
+
top: `${y}px`,
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
}
|
|
158
241
|
}
|
|
159
242
|
render() {
|
|
160
|
-
return (h(Host, { key: '
|
|
243
|
+
return (h(Host, { key: '9cc9d82dd16150e19a5a8daccb0a4f2c650d9e15', "is-compact": this.isCompact }, h("div", { key: '9c9024838dd7d9535fa71d97132912d13e9a1fcf', class: "dso-header" }, h("div", { key: 'f3c9bfc1592c97fad7db25cde5f0e1241d2264d4', class: "logo-container" }, h("slot", { key: 'e1176a01b0dceef3e4c54123df4c0339b2bd0a56', name: "logo" })), this.isCompact ? this.renderCompact() : this.renderNormal())));
|
|
244
|
+
}
|
|
245
|
+
tabbables(withButton) {
|
|
246
|
+
const tabbables = this.dropdownElement ? tabbable(this.dropdownElement) : [];
|
|
247
|
+
return withButton ? tabbables : tabbables.filter((element) => element !== this.dropdownButtonElement);
|
|
248
|
+
}
|
|
249
|
+
toggleOptions(force) {
|
|
250
|
+
this.open = force ?? !this.open;
|
|
251
|
+
if (this.popoverElement?.isConnected) {
|
|
252
|
+
this.popoverElement?.togglePopover(this.open);
|
|
253
|
+
}
|
|
254
|
+
if (!this.open && this.cleanUp) {
|
|
255
|
+
this.cleanUp();
|
|
256
|
+
this.cleanUp = undefined;
|
|
257
|
+
}
|
|
161
258
|
}
|
|
162
259
|
renderCompact() {
|
|
163
|
-
return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("
|
|
260
|
+
return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: v4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, h("span", null, this.text("menu")), h("dso-icon", { icon: "chevron-down" })), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("div", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", { role: "group" }, this.mainMenu.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (h("li", { role: "menuitem" }, 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", { role: "menuitem" }, 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", { role: "menuitem" }, 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", { role: "menuitem" }, 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", { role: "menuitem" }, 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-outline" }))) : (h("button", { type: "button", class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" }))))))))))));
|
|
164
261
|
}
|
|
165
262
|
renderNormal() {
|
|
166
263
|
this.menuItemElementRefs = [];
|
|
167
|
-
return (h(Fragment, null, h("div", { class: "dso-header-session" }, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("div", { class: "profile" }, h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && (h("div", { class: "login" }, this.loginUrl ? (h("a", { href: this.loginUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (h("div", { class: "logout" }, this.logoutUrl ? (h("a", { href: this.logoutUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (h("div", { class: "help" }, 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-outline" }))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" })))))), (this.mainMenu.length > 0 || this.userHomeUrl) && (h("nav", { class: "dso-navbar" }, h("ul", { class: clsx("dso-nav", "dso-nav-main", { ready: this.visibleMenuItemsCount !== undefined }), ref: (element) => (this.navElement = element) }, this.visibleMainMenuItems.map((menuItem, i) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label, ref: (el) => (this.menuItemElementRefs[i] = el) }))), (this.visibleMenuItemsCount === undefined || this.hiddenMainMenuItems.length > 0) && (h("li", { "aria-hidden": this.visibleMenuItemsCount === undefined, ref: (el) => (this.dropdownMenuItemElementRef = el), class: "dropdown-menu-item" }, h("
|
|
264
|
+
return (h(Fragment, null, h("div", { class: "dso-header-session" }, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("div", { class: "profile" }, h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && (h("div", { class: "login" }, this.loginUrl ? (h("a", { href: this.loginUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (h("div", { class: "logout" }, this.logoutUrl ? (h("a", { href: this.logoutUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (h("div", { class: "help" }, 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-outline" }))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" })))))), (this.mainMenu.length > 0 || this.userHomeUrl) && (h("nav", { class: "dso-navbar" }, h("ul", { class: clsx("dso-nav", "dso-nav-main", { ready: this.visibleMenuItemsCount !== undefined }), ref: (element) => (this.navElement = element) }, this.visibleMainMenuItems.map((menuItem, i) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label, ref: (el) => (this.menuItemElementRefs[i] = el) }))), (this.visibleMenuItemsCount === undefined || this.hiddenMainMenuItems.length > 0) && (h("li", { "aria-hidden": this.visibleMenuItemsCount === undefined, ref: (el) => (this.dropdownMenuItemElementRef = el), class: "dropdown-menu-item" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: v4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, h("span", null, this.text("overflowMenu")), h("dso-icon", { icon: "chevron-down", class: "main-menu-item-icon" })), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("div", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", null, this.hiddenMainMenuItems.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))))))))), this.userHomeUrl && (h("li", { class: clsx("menu-user-home", { "dso-active": this.userHomeActive }), ref: (el) => (this.userHomeMenuItemElementRef = el) }, h("a", { href: this.userHomeUrl, "aria-current": this.userHomeActive ? "page" : undefined, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, h("dso-icon", { icon: "user-outline", class: "main-menu-item-icon" }), this.text("userHome")))))))));
|
|
168
265
|
}
|
|
169
266
|
get host() { return this; }
|
|
170
267
|
static get watchers() { return {
|
|
@@ -186,7 +283,8 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends H {
|
|
|
186
283
|
"userHomeUrl": [1, "user-home-url"],
|
|
187
284
|
"userHomeActive": [4, "user-home-active"],
|
|
188
285
|
"visibleMenuItemsCount": [32],
|
|
189
|
-
"dropdownOptionsOffset": [32]
|
|
286
|
+
"dropdownOptionsOffset": [32],
|
|
287
|
+
"open": [32]
|
|
190
288
|
}, undefined, {
|
|
191
289
|
"mainMenu": [{
|
|
192
290
|
"mainMenuChanged": 0
|
|
@@ -196,18 +294,13 @@ function defineCustomElement$1() {
|
|
|
196
294
|
if (typeof customElements === "undefined") {
|
|
197
295
|
return;
|
|
198
296
|
}
|
|
199
|
-
const components = ["dso-header", "dso-
|
|
297
|
+
const components = ["dso-header", "dso-icon"];
|
|
200
298
|
components.forEach(tagName => { switch (tagName) {
|
|
201
299
|
case "dso-header":
|
|
202
300
|
if (!customElements.get(transformTag(tagName))) {
|
|
203
301
|
customElements.define(transformTag(tagName), Header);
|
|
204
302
|
}
|
|
205
303
|
break;
|
|
206
|
-
case "dso-dropdown-menu":
|
|
207
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
208
|
-
defineCustomElement$3();
|
|
209
|
-
}
|
|
210
|
-
break;
|
|
211
304
|
case "dso-icon":
|
|
212
305
|
if (!customElements.get(transformTag(tagName))) {
|
|
213
306
|
defineCustomElement$2();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, c as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
|
|
3
3
|
const highlightBoxCss = () => `*,*::after,*::before{box-sizing:border-box}.dso-step-counter{background-color:#275937;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;inset-inline-start:16px;position:absolute;inset-block-start:-1.5rem;block-size:2rem;inline-size:2rem;color:#fff;font-size:1.25rem;font-weight:500;line-height:2rem;text-align:center}:host{margin-block-start:16px;padding:16px;margin-block-end:24px;block-size:var(--highlight-box-block-size, unset);min-block-size:var(--highlight-box-min-block-size, unset)}:host[has-counter]{block-size:var(--highlight-box-counter-block-size, unset)}:host:not([has-counter]){block-size:var(--highlight-box-nocounter-block-size, unset)}:host{display:block;container-type:inline-size;position:relative;z-index:1}`;
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, f as forceUpdate, h, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, f as forceUpdate, h, t as transformTag } from './p-BIShp3sw.js';
|
|
2
2
|
import { i as isModifiedEvent } from './p-Hgv-pDpy.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-Clsgdvn9.js';
|
|
4
4
|
|
|
5
5
|
const historyItemCss = () => `:host{display:block}*,*::after,*::before{box-sizing:border-box}.history-item{border-block-end:1px solid #e5e5e5;display:flex;gap:8px;inline-size:100%;padding-block:16px;padding-inline:8px}:host(:not([type=waarschuwing])) .history-item:has(.history-item-title a:is(:hover,:focus-visible)){background-color:#f2f2f2}:host([current]:not([type=waarschuwing])) .history-item{background-color:#e5e5e5}:host([type=tijdelijk-regelingdeel]) .history-item-status-message{color:#8b4a6a}:host([type=tijdelijk-regelingdeel-besluit]) .history-item-status-message{color:#8b4a6a}:host([type=waarschuwing]) .history-item-status-message{color:#b62f41}.history-item-date,.history-item-content{display:flex;flex-direction:column}.history-item-date{flex:0 0 90px}.history-item-status-message,.history-item-warning{display:flex}.history-item-status-message dso-icon,.history-item-warning dso-icon{flex-shrink:0;margin-inline-end:8px}.history-item-warning{color:#b62f41}.history-item-title,.history-item-explanation,.history-item-warning{margin-block-start:8px;margin-inline-start:32px}.history-item-title{white-space:nowrap}.history-item-title .title-anchor{color:#275937;font-weight:600;text-decoration:none}.history-item-title .title-anchor:hover{text-decoration:underline}.history-item-title .title-anchor:visited{color:#275937}.history-item-title .history-item-title-content{white-space:normal}.history-item-title dso-icon{margin-inline-start:4px}`;
|
|
6
6
|
|
package/dist/bundle/dso-icon.js
CHANGED