@dso-toolkit/core 100.3.1 → 100.4.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 +20 -11
- package/dist/bundle/dso-accordion.js +3 -3
- package/dist/bundle/dso-action-list-item.js +4 -4
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-advanced-select.js +6 -6
- 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 +5 -5
- 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 +7 -7
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +4 -4
- 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-group.js +2 -2
- package/dist/bundle/dso-dropdown-menu-item.js +3 -3
- package/dist/bundle/dso-dropdown-menu.js +5 -5
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-grid-column.js +3 -4
- package/dist/bundle/dso-header.js +24 -8
- package/dist/bundle/dso-hero-image.js +1 -1
- package/dist/bundle/dso-highlight-box.js +2 -2
- 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 +4 -4
- package/dist/bundle/dso-legend-item.js +7 -7
- package/dist/bundle/dso-legend.js +6 -6
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +8 -8
- package/dist/bundle/dso-map-controls.js +7 -7
- package/dist/bundle/dso-map-layer-object.js +3 -3
- package/dist/bundle/dso-map-layer.js +3 -3
- package/dist/bundle/dso-map-message.js +2 -2
- package/dist/bundle/dso-map-overlays.js +8 -8
- 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 +3 -3
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +5 -5
- 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-shopping-cart-item.js +3 -3
- package/dist/bundle/dso-shopping-cart.js +3 -3
- package/dist/bundle/dso-skiplink.js +2 -2
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +4 -4
- 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-tree-view.js +3 -3
- package/dist/bundle/dso-viewer-grid.js +3 -3
- package/dist/bundle/dsot-document-component-demo.js +18 -18
- package/dist/bundle/index.js +2 -2
- package/dist/bundle/{p-LAIYa8JB.js → p-6lwKSTtN.js} +9 -9
- package/dist/bundle/{p-DSn98k7j.js → p-B1sfJaTU.js} +16 -45
- package/dist/bundle/{p-BhW3MSGZ.js → p-B5zDTnXM.js} +5 -5
- package/dist/bundle/{p-wroz5qbN.js → p-BHAfq_R9.js} +5 -5
- package/dist/bundle/{p-C78OzjGD.js → p-BHPEhHca.js} +2 -2
- package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
- package/dist/bundle/{p-Cz4DEkYY.js → p-BMhDrgpW.js} +4 -4
- package/dist/bundle/{p-3mY5bRq3.js → p-BZr7fJps.js} +16 -27
- package/dist/bundle/{p-Cy1s6Fqo.js → p-BdK56OMA.js} +6 -6
- package/dist/bundle/{p-COI1m0uI.js → p-BdO8V8e5.js} +4 -4
- package/dist/bundle/{p-Ci81TOhm.js → p-BiTWJ9tJ.js} +29 -79
- package/dist/bundle/{p-CkzyPAOs.js → p-Brr0tC8B.js} +1 -1
- package/dist/bundle/p-BsaL-EuM.js +76 -0
- package/dist/bundle/{p-CMm0xWy5.js → p-BvB8dh8P.js} +2 -2
- package/dist/bundle/p-C49HfF1N.js +60 -0
- package/dist/bundle/{p-D8J4Z2LD.js → p-CDD0hRMQ.js} +9 -9
- package/dist/bundle/{p-DTx5uLrL.js → p-CDym9tDn.js} +3 -3
- package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
- package/dist/bundle/{p-BcoGSCi2.js → p-CSbcQBj9.js} +2 -2
- package/dist/bundle/{p-nBjxlgfX.js → p-Ccf_D9uM.js} +6 -6
- package/dist/bundle/{p-Cg-toWNU.js → p-CvUpjPda.js} +1 -1
- package/dist/bundle/{p-CIfxp928.js → p-D09qaSTl.js} +3 -3
- package/dist/bundle/{p-BydRjBUc.js → p-D7-d0naf.js} +18 -42
- package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
- package/dist/bundle/{p-BPxWl5Jg.js → p-DStIHFXU.js} +17 -17
- package/dist/bundle/{p-DFhKaDMe.js → p-DZCYhv_b.js} +1 -1
- package/dist/bundle/{p-D33uqBOM.js → p-D_wg33r9.js} +3 -3
- package/dist/bundle/{p-BeyBvNPm.js → p-Diwr4pu4.js} +16 -30
- package/dist/bundle/{p-Bj6TmNEh.js → p-DixhcduG.js} +1 -1
- package/dist/bundle/{p-CiFTQ7lb.js → p-DtUeWj74.js} +76 -33
- package/dist/bundle/{p-ZSFwKURq.js → p-Dtkoi4Xj.js} +2 -2
- package/dist/bundle/{p-DjR55R0Z.js → p-d1IkgLLm.js} +1 -1
- package/dist/bundle/{p-TaOl3xYb.js → p-uUZVT-Ex.js} +3 -3
- package/dist/{esm/i18n-CCOI5nUo.js → bundle/p-xDSTG4OU.js} +28 -1
- package/dist/cjs/{annotation-body-H_YdGRBP.js → annotation-body-CCYWAvBu.js} +1 -1
- package/dist/cjs/{annotation-list-renvooi-values-DnvYPhrD.js → annotation-list-renvooi-values-UnGybDbb.js} +1 -1
- package/dist/cjs/{annotation-watcher-DXLGEmn8.js → annotation-watcher-D9lm8RSy.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +13 -4
- package/dist/cjs/dso-accordion.cjs.entry.js +3 -3
- package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
- package/dist/cjs/dso-alert_7.cjs.entry.js +45 -110
- 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 +2 -2
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +9 -9
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js +4 -4
- package/dist/cjs/dso-banner.cjs.entry.js +3 -3
- package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
- 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-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-grid-column.cjs.entry.js +3 -4
- package/dist/cjs/dso-header.cjs.entry.js +22 -6
- package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon_2.cjs.entry.js +16 -45
- package/dist/cjs/dso-info_3.cjs.entry.js +17 -41
- package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +16 -27
- package/dist/cjs/dso-legend-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend.cjs.entry.js +3 -3
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-layer.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-message.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
- package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +1 -1
- 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-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{i18n-DH0Su3jj.js → i18n-Bzut_vVm.js} +28 -1
- package/dist/cjs/{index-CfwUrDXc.js → index-BBx5yytN.js} +76 -33
- package/dist/cjs/{index-EngjN4P3.js → index-DZPLxT1W.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{parse-wijzigactie-from-node.function-B2dUQ7Rf.js → parse-wijzigactie-from-node.function-CYUDdIa0.js} +1 -1
- package/dist/cjs/toggletip.controller-BB-Voe-Z.js +63 -0
- package/dist/cjs/tooltip.controller-Cvac0qe3.js +78 -0
- package/dist/cjs/{tooltip.functional-component-BEcuvKwS.js → tooltip.functional-component-DOBjuEpE.js} +1 -1
- package/dist/cjs/{wrap-wijzigactie.functional-component-DodUwf7_.js → wrap-wijzigactie.functional-component-D1UjZ36u.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +4 -1
- package/dist/collection/components/accordion/components/accordion-section.css +4 -0
- package/dist/collection/components/accordion/components/accordion-section.js +15 -2
- package/dist/collection/components/action-list/action-list.js +4 -1
- package/dist/collection/components/action-list/components/action-list-item.js +5 -2
- package/dist/collection/components/alert/alert.js +4 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -4
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -4
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -4
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -6
- package/dist/collection/components/autosuggest/autosuggest.js +5 -2
- package/dist/collection/components/badge/badge.js +26 -77
- package/dist/collection/components/banner/banner.js +5 -2
- package/dist/collection/components/button-group/button-group.js +4 -1
- package/dist/collection/components/card-container/card-container.js +4 -1
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +4 -1
- package/dist/collection/components/document-component/document-component.js +6 -4
- package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +4 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +4 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +4 -1
- package/dist/collection/components/expandable/expandable.js +5 -2
- package/dist/collection/components/grid-column/grid-column.js +2 -3
- package/dist/collection/components/header/header.css +31 -14
- package/dist/collection/components/header/header.js +22 -3
- package/dist/collection/components/highlight-box/highlight-box.js +5 -1
- package/dist/collection/components/icon-button/icon-button.js +13 -43
- package/dist/collection/components/image-overlay/image-overlay.js +5 -0
- package/dist/collection/components/info/info.js +4 -1
- package/dist/collection/components/info-button/info-button.js +16 -38
- package/dist/collection/components/label/label.js +16 -24
- package/dist/collection/components/legend/legend.js +4 -1
- package/dist/collection/components/list-button/list-button.js +4 -1
- package/dist/collection/components/map-controls/map-controls.js +4 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
- package/dist/collection/components/project-item/project-item.js +7 -1
- package/dist/collection/components/responsive-element/responsive-element.js +4 -1
- package/dist/collection/components/scrollable/scrollable.js +5 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
- package/dist/collection/components/table/table.js +5 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
- package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
- package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
- package/dist/components/alert.js +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-action-list-item.js +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.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 +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-group.js +1 -1
- package/dist/components/dso-dropdown-menu-item.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-grid-column.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/expandable.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/ozon-content-toggletip.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toggletip.controller.js +1 -0
- package/dist/components/tooltip.controller.js +1 -0
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-342636b2.entry.js → p-0150c527.entry.js} +1 -1
- package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
- package/dist/dso-toolkit/{p-99db12e8.entry.js → p-13e28f82.entry.js} +1 -1
- package/dist/dso-toolkit/p-179c804c.entry.js +1 -0
- package/dist/dso-toolkit/{p-a93cfad8.entry.js → p-19fa3db4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-301cb792.entry.js → p-1ee5fdd2.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d92b4f7b.entry.js → p-2153bba4.entry.js} +1 -1
- package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
- package/dist/dso-toolkit/{p-fb2eb060.entry.js → p-300882d5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3ce055f8.entry.js → p-32b07ce7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6a6a38e6.entry.js → p-36a98cb8.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
- package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
- package/dist/dso-toolkit/p-42bf0148.entry.js +1 -0
- package/dist/dso-toolkit/p-432f9847.entry.js +1 -0
- package/dist/dso-toolkit/{p-acb7b5c5.entry.js → p-4632a0df.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b83b2fa7.entry.js → p-47e2a6ae.entry.js} +1 -1
- package/dist/dso-toolkit/{p-16288a6a.entry.js → p-4aa3ca6c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0f019b7c.entry.js → p-4d7fa0e9.entry.js} +1 -1
- package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0099ff32.entry.js → p-52d7dd12.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
- package/dist/dso-toolkit/p-5612fca8.entry.js +1 -0
- package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3098df1c.entry.js → p-63fce2aa.entry.js} +1 -1
- package/dist/dso-toolkit/{p-610341c7.entry.js → p-640306bf.entry.js} +1 -1
- package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f6e9a1b4.entry.js → p-67bdfcdd.entry.js} +1 -1
- package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
- package/dist/dso-toolkit/{p-5018c559.entry.js → p-6a53b29f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ab498200.entry.js → p-6f7241e5.entry.js} +1 -1
- package/dist/dso-toolkit/p-7119884a.entry.js +1 -0
- package/dist/dso-toolkit/{p-460e04c3.entry.js → p-780ebd6c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7eadab64.entry.js → p-7ebf7e11.entry.js} +1 -1
- package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0117fba0.entry.js → p-8eda69f2.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ecc3eaab.entry.js → p-9aea5b98.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ec50e32d.entry.js → p-9c96a21a.entry.js} +1 -1
- package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
- package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
- package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
- package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
- package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
- package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
- package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
- package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
- package/dist/dso-toolkit/{p-58978006.entry.js → p-a00c540b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0438b8cb.entry.js → p-a0ac6345.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
- package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
- package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a639c227.entry.js → p-c8ead3ad.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c525f97c.entry.js → p-cafa54b4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f9490a3f.entry.js → p-cca237f7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
- package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-02f97f93.entry.js → p-d8dfaacb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0085311a.entry.js → p-e2ff8b0c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
- package/dist/dso-toolkit/{p-918d8967.entry.js → p-e5cd6084.entry.js} +1 -1
- package/dist/dso-toolkit/p-ead6c401.entry.js +1 -0
- package/dist/dso-toolkit/{p-55a160ad.entry.js → p-f1047e57.entry.js} +1 -1
- package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
- package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
- package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
- package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
- package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +13 -4
- package/dist/esm/dso-accordion.entry.js +3 -3
- package/dist/esm/dso-action-list-item.entry.js +3 -3
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js +1 -1
- package/dist/esm/dso-alert_7.entry.js +45 -110
- 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 +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
- package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js +4 -4
- package/dist/esm/dso-banner.entry.js +3 -3
- package/dist/esm/dso-button-group.entry.js +2 -2
- 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-group.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-grid-column.entry.js +3 -4
- package/dist/esm/dso-header.entry.js +22 -6
- package/dist/esm/dso-hero-image.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-history-item.entry.js +1 -1
- package/dist/esm/dso-icon_2.entry.js +16 -45
- package/dist/esm/dso-info_3.entry.js +17 -41
- package/dist/esm/dso-input-range.entry.js +1 -1
- package/dist/esm/dso-label_3.entry.js +16 -27
- package/dist/esm/dso-legend-group.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-legend.entry.js +3 -3
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +2 -2
- package/dist/esm/dso-map-controls.entry.js +3 -3
- package/dist/esm/dso-map-layer-object.entry.js +2 -2
- package/dist/esm/dso-map-layer.entry.js +2 -2
- package/dist/esm/dso-map-message.entry.js +1 -1
- package/dist/esm/dso-map-overlays.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/dso-progress-indicator.entry.js +2 -2
- package/dist/esm/dso-project-item.entry.js +2 -2
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-segmented-button.entry.js +1 -1
- package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
- package/dist/esm/dso-shopping-cart.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +1 -1
- 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-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/{bundle/p-CCOI5nUo.js → esm/i18n-xDSTG4OU.js} +28 -1
- package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
- package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
- package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
- package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
- package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
- package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +3 -0
- package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
- package/dist/types/components/action-list/action-list.d.ts +3 -0
- package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
- package/dist/types/components/alert/alert.d.ts +3 -0
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
- package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
- package/dist/types/components/badge/badge.d.ts +2 -8
- package/dist/types/components/banner/banner.d.ts +3 -0
- package/dist/types/components/button-group/button-group.d.ts +3 -0
- package/dist/types/components/card-container/card-container.d.ts +3 -0
- package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
- package/dist/types/components/document-component/document-component.d.ts +2 -0
- package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
- package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +3 -0
- package/dist/types/components/expandable/expandable.d.ts +3 -0
- package/dist/types/components/header/header.d.ts +8 -0
- package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
- package/dist/types/components/icon-button/icon-button.d.ts +2 -7
- package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
- package/dist/types/components/info/info.d.ts +3 -0
- package/dist/types/components/info-button/info-button.d.ts +4 -2
- package/dist/types/components/label/label.d.ts +5 -2
- package/dist/types/components/legend/legend.d.ts +3 -0
- package/dist/types/components/list-button/list-button.d.ts +3 -0
- package/dist/types/components/map-controls/map-controls.d.ts +3 -0
- package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
- package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
- package/dist/types/components/project-item/project-item.d.ts +6 -0
- package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
- package/dist/types/components/scrollable/scrollable.d.ts +3 -0
- package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
- package/dist/types/components/table/table.d.ts +4 -0
- package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
- package/dist/types/components.d.ts +1 -13
- package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
- package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/loader/index.d.ts +1 -1
- package/package.json +10 -10
- package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
- package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
- package/dist/dso-toolkit/p-6a42dae9.entry.js +0 -1
- package/dist/dso-toolkit/p-947abc8e.entry.js +0 -1
- package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
- package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
- package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
- package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
- package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
- package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
- package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
- package/dist/dso-toolkit/p-b6a747b3.entry.js +0 -1
- package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
- package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
- package/dist/dso-toolkit/p-de3ece98.entry.js +0 -1
- package/dist/dso-toolkit/p-e9bcbf0c.entry.js +0 -1
- package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
|
@@ -21,6 +21,9 @@ import { translations } from "./map-controls.i18n";
|
|
|
21
21
|
// Sync with $transition-duration in ./map-controls.scss and map-controls.cy.ts
|
|
22
22
|
const transitionDuration = 300;
|
|
23
23
|
const transitionFallbackDuration = transitionDuration + 50;
|
|
24
|
+
/**
|
|
25
|
+
* @slot - The content to be displayed inside the map controls panel.
|
|
26
|
+
*/
|
|
24
27
|
export class MapControls {
|
|
25
28
|
constructor() {
|
|
26
29
|
/**
|
|
@@ -102,7 +105,7 @@ export class MapControls {
|
|
|
102
105
|
this.clearPostTransitionTimeout();
|
|
103
106
|
}
|
|
104
107
|
render() {
|
|
105
|
-
return (h(Fragment, { key: '
|
|
108
|
+
return (h(Fragment, { key: '7c149681de825c69807fb9787456e9328a7a57d2' }, h("dso-icon-button", { key: '2a181e972f28b30280297a0fdd5601ce4124353c', expanded: this.open, label: this.text("layersButton"), icon: "layers", variant: "map", "aria-controls": __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f"), tooltipPlacement: "left", class: "toggle-visibility-icon-button", onDsoClick: (e) => this.toggleVisibilityInternal(e.detail.originalEvent, __classPrivateFieldGet(this, _MapControls_toggleIconButtonElement, "f")), ref: (element) => (__classPrivateFieldSet(this, _MapControls_toggleIconButtonElement, element, "f")) }), h("button", { key: '8d2dac767af0363277830460fbbd2e24cdf398a8', type: "button", class: "dso-map toggle-visibility-button", "aria-controls": __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f"), "aria-expanded": this.open ? "true" : "false", onClick: (e) => this.toggleVisibilityInternal(e, __classPrivateFieldGet(this, _MapControls_toggleButtonElement, "f")), ref: (element) => (__classPrivateFieldSet(this, _MapControls_toggleButtonElement, element, "f")) }, h("dso-icon", { key: '588259c929e62700f9d73f56afe6f1767a98300a', icon: "layers" }), h("span", { key: '7a296e1d37e390c70ecc9d5e046114f8da455edc' }, this.text("layersButton"))), h("dso-button-group", { key: '5b5e09541a79cd57cf7a69b021fdf34029bead7f', class: "zoom-buttons", direction: "column" }, h("dso-icon-button", { key: 'a9ce6de68e6f825b28fe9005ab0aa060be4456c2', label: this.text("zoomIn"), icon: "plus", variant: "map", tooltipPlacement: "left", onDsoClick: (e) => this.dsoZoomIn.emit(e.detail.originalEvent), disabled: this.disableZoom === "in" || this.disableZoom === "both" }), h("dso-icon-button", { key: '3d19cba45ad6368f2f0596fbef1dc81f8aa0c7a2', label: this.text("zoomOut"), icon: "minus", variant: "map", tooltipPlacement: "left", onDsoClick: (e) => this.dsoZoomOut.emit(e.detail.originalEvent), disabled: this.disableZoom === "out" || this.disableZoom === "both" })), h("section", { key: 'aa86926126f7a34c165fd1ed60a96d4d0d191a56', id: __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f"), hidden: this.hideContent, role: "region", onKeyDown: this.handlePanelKeyDown, "aria-labelledby": __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f") }, h("header", { key: '85d906c0fe87cb0374463e7794a80ab926d89a3e' }, h("h2", { key: '6797721a15a8f3ae2d25e33a63ec619a52473e26', id: __classPrivateFieldGet(this, _MapControls_mapLayersTitleId, "f"), tabIndex: -1 }, this.text("title")), h("dso-icon-button", { key: 'f5deaa0079af6d0b67db1175788f6f4bc09adca5', class: "close-button", label: this.text("hidePanel", { title: this.text("title") }), icon: "cross", variant: "tertiary", onDsoClick: (e) => this.toggleVisibility(e.detail.originalEvent), ref: (element) => (__classPrivateFieldSet(this, _MapControls_closeIconButtonElement, element, "f")) })), h("dso-scrollable", { key: '087d948c7e3df16655b37268c0abdaaf20b0a781' }, h("div", { key: '669095b848ae5b753712f1287606fc59e7d94df4', class: "content" }, h("slot", { key: '92653ebf2b45f3d031cf2a5d707a1d23894a2935' }))))));
|
|
106
109
|
}
|
|
107
110
|
static get is() { return "dso-map-controls"; }
|
|
108
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { Host, forceUpdate, h, } from "@stencil/core";
|
|
2
2
|
import { positionTooltip } from "../../functional-components/tooltip/position-tooltip.function";
|
|
3
|
+
/**
|
|
4
|
+
* @slot heading - A slot for the heading of the onboarding tip.
|
|
5
|
+
* @slot - A slot for the main content of the onboarding tip.
|
|
6
|
+
*/
|
|
3
7
|
export class OnboardingTip {
|
|
4
8
|
constructor() {
|
|
5
9
|
/**
|
|
@@ -65,7 +69,7 @@ export class OnboardingTip {
|
|
|
65
69
|
}
|
|
66
70
|
render() {
|
|
67
71
|
const ariaLabel = this.headingSlottedElement?.textContent;
|
|
68
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '3c1ace28c2a6511e74e8a1366ecca8c2a3179b69', popover: "manual", ready: this.ready, onAnimationend: () => (this.ready = true) }, h("div", { key: '99f3a8a9d2982292976c19ec77e18ba7d2b4c870', role: "dialog", class: "onboarding-tip", "aria-label": ariaLabel, onKeyDown: this.blockEscapeKey, tabindex: -1 }, h("div", { key: '77396f126da3aa5d116403d3b83b94cc96cd4175', class: "onboarding-tip-inner" }, h("div", { key: 'dc5498a4348243682d2fdb4caf330ff7e75afca2', class: "onboarding-tip-content-wrapper" }, this.headingSlottedElement !== null && (h("div", { key: 'b516cdad05f0e051c22f15de4f1199a23694bff9', class: "onboarding-tip-content-heading" }, h("dso-icon", { key: '494ee29b990458cc80c91a783e76a22471f41d09', icon: "light-bulb", "aria-hidden": "true" }), h("slot", { key: 'f3e768cd175224bff17bbac0245345f8ba212d5a', name: "heading" }))), h("dso-icon-button", { key: '03f092ab429e0775b844923c381b2798979377bc', class: "dso-close", label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }), h("slot", { key: '104fe218dfa6549d5f73a3edc96a7693d7a1fe65' }))), h("div", { key: 'ebec47a46c9fa40b16054147cf2bc5f736fb021a', class: "onboarding-tip-arrow", ref: (ref) => (this.tipArrowRef = ref) }))));
|
|
69
73
|
}
|
|
70
74
|
get headingSlottedElement() {
|
|
71
75
|
return this.host.querySelector("[slot='heading']");
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ToggletipController, isEventOutside } from "../../../../functional-components/tooltip/toggletip.controller";
|
|
3
3
|
import { Tooltip } from "../../../../functional-components/tooltip/tooltip.functional-component";
|
|
4
|
+
/**
|
|
5
|
+
* @slot - A slot to place the main content inside the toggletip overlay.
|
|
6
|
+
* @slot label - A slot to place the trigger label text of the toggletip.
|
|
7
|
+
*/
|
|
4
8
|
export class OzonContentToggletip {
|
|
5
9
|
constructor() {
|
|
10
|
+
this.toggletipController = new ToggletipController({
|
|
11
|
+
getReferenceElement: () => this.container,
|
|
12
|
+
getTipElement: () => this.tooltipElRef,
|
|
13
|
+
getTipArrowElement: () => this.tooltipArrowElRef,
|
|
14
|
+
getRestrictContentElement: () => this.restrictContentElement,
|
|
15
|
+
getPlacement: () => "top",
|
|
16
|
+
});
|
|
6
17
|
this.active = false;
|
|
7
18
|
this.toggle = () => {
|
|
8
19
|
this.active = !this.active;
|
|
@@ -25,9 +36,8 @@ export class OzonContentToggletip {
|
|
|
25
36
|
if (!this.active)
|
|
26
37
|
return;
|
|
27
38
|
const path = event.composedPath();
|
|
28
|
-
const clickedInsideHost = path.includes(this.host);
|
|
29
39
|
const clickedInsideTooltip = this.tooltipElRef && path.includes(this.tooltipElRef);
|
|
30
|
-
if (
|
|
40
|
+
if (isEventOutside(this.host, event) && !clickedInsideTooltip) {
|
|
31
41
|
this.toggle();
|
|
32
42
|
}
|
|
33
43
|
if (clickedInsideTooltip) {
|
|
@@ -38,34 +48,13 @@ export class OzonContentToggletip {
|
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
componentDidRender() {
|
|
41
|
-
|
|
42
|
-
this.cleanUpFunction = positionTooltip({
|
|
43
|
-
referenceElement: this.container,
|
|
44
|
-
tipRef: this.tooltipElRef,
|
|
45
|
-
tipArrowRef: this.tooltipArrowElRef,
|
|
46
|
-
placementTip: "top",
|
|
47
|
-
restrictContentElement: this.restrictContentElement,
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
if (this.cleanUpFunction && this.tooltipElRef) {
|
|
51
|
-
if (this.active) {
|
|
52
|
-
this.tooltipElRef?.showPopover();
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
this.tooltipElRef?.hidePopover();
|
|
56
|
-
this.cleanUpTooltip();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
51
|
+
this.toggletipController.update(this.active);
|
|
59
52
|
}
|
|
60
53
|
disconnectedCallback() {
|
|
61
|
-
this.
|
|
62
|
-
}
|
|
63
|
-
cleanUpTooltip() {
|
|
64
|
-
this.cleanUpFunction?.();
|
|
65
|
-
this.cleanUpFunction = undefined;
|
|
54
|
+
this.toggletipController.dispose();
|
|
66
55
|
}
|
|
67
56
|
render() {
|
|
68
|
-
return (h(Fragment, { key: '
|
|
57
|
+
return (h(Fragment, { key: '6d5be807cf158c00f3d4f05fd7efc57db129cbbe' }, h("span", { key: 'ba1c43b9cc4dfa31d14a14edc91a2ace53421f1e', "aria-describedby": this.active ? "toggletip-tooltip" : undefined, "aria-expanded": this.active.toString(), class: "toggletip-button", role: "button", tabIndex: 0, onClick: this.toggle, onKeyDown: this.keyDownHandler, ref: (element) => (this.container = element) }, this.icon && (h(Fragment, { key: '6026b1e15d63818aadf2e081166dc1e866e39a92' }, h("span", { key: 'c0dbd9f14ee7e75dc2307f83d8f1489f94f5d2e0', class: "toggletip-label" }, h("slot", { key: 'a07de5dbf2fd7de47d980c35192fdaff97e171e1', name: "label" })), "\u2060", h("dso-icon", { key: '241ac5ac96282429d493ce11f1db870b51c2de34', icon: this.icon }))), !this.icon && h("slot", { key: 'b0413a7b70ae51c002f8ed79cdd4c82cd95665cc', name: "label" })), h(Tooltip, { key: 'd23cb3fa9af1f1e0fd092532a950012992a86f9e', id: "toggletip-tooltip", tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, h("dso-scrollable", { key: '1e92fb2d79f11aed9ba447ee6d6acc8c822382d3', ref: (element) => (this.restrictContentElement = element), id: "toggletip-content", "aria-live": "polite" }, h("slot", { key: '542f1d5c5bea180a35ba43b120bbe393395b8a0e' })))));
|
|
69
58
|
}
|
|
70
59
|
static get is() { return "dso-ozon-content-toggletip"; }
|
|
71
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot title - A slot to place the title of the project item in.
|
|
4
|
+
* @slot actions - An optional slot to place interactive actions or buttons in.
|
|
5
|
+
* @slot progress - An optional slot to place progress indicators or labels in.
|
|
6
|
+
* @slot status - An optional slot to place status indicators or metadata in.
|
|
7
|
+
*/
|
|
2
8
|
export class ProjectItem {
|
|
3
9
|
render() {
|
|
4
|
-
return (h(Fragment, { key: '
|
|
10
|
+
return (h(Fragment, { key: 'fbd842d78dc7f545df95ec000859bc4837c23eae' }, h("div", { key: 'df40e9b6dbacf73db4cf8656df95a00801375f9d', class: "project-item-header" }, h("div", { key: 'd261820611c170fc3c29fe1068613b6f473b33cb', class: "project-item-title" }, h("slot", { key: '93b04978237359ca028428911a2f57e17667c5b0', name: "title" }), this.label && (h("dso-label", { key: '56aaa5fe79e6e3f5dc9df1687ec3f0c862e144b2', status: "error", compact: true }, this.label))), h("div", { key: 'f217ffc60903fc7a30d006f54e4b7d474a700b28', class: "project-item-actions" }, h("slot", { key: 'fc67bf12783c9da2612f3d677995396c461e565f', name: "actions" }))), h("div", { key: 'e68fa3b25d48b481a959b0747f01e596df0fa8c8', class: "project-item-info" }, h("div", { key: '4fe886f52e1026e41435b33ad8966ef68c473576', class: "project-item-progress" }, h("slot", { key: 'a4acc4d2524793c659d5303f135f732a67e715ac', name: "progress" })), h("div", { key: '413de77281b87d695c323068c3750ac06452f793', class: "project-item-status" }, h("slot", { key: '2d9bca7bf50f2ba0d5684344c54d38c2dd35df4e', name: "status" })))));
|
|
5
11
|
}
|
|
6
12
|
static get is() { return "dso-project-item"; }
|
|
7
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,6 +13,9 @@ const elementSizes = [
|
|
|
13
13
|
alias: "small",
|
|
14
14
|
},
|
|
15
15
|
];
|
|
16
|
+
/**
|
|
17
|
+
* @slot - The content to be made responsive based on the element's width.
|
|
18
|
+
*/
|
|
16
19
|
export class ResponsiveElement {
|
|
17
20
|
constructor() {
|
|
18
21
|
this.sizeAlias = elementSizes[0].alias;
|
|
@@ -53,7 +56,7 @@ export class ResponsiveElement {
|
|
|
53
56
|
this.observer.unobserve(this.host);
|
|
54
57
|
}
|
|
55
58
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '59035c21796e17384579a80ca5d2fa0604a344db', small: this.sizeAlias === "small", medium: this.sizeAlias === "medium", large: this.sizeAlias === "large" }, h("slot", { key: '5e0966874e73a7740a6ba97bb3c11547d5959795' })));
|
|
57
60
|
}
|
|
58
61
|
static get is() { return "dso-responsive-element"; }
|
|
59
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,6 +32,9 @@ function getScrollableComponentFromResizeObserverEntry({ target, }) {
|
|
|
32
32
|
function isDsoScrollableComponent(element) {
|
|
33
33
|
return element.tagName === "DSO-SCROLLABLE";
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* @slot - Content to be made scrollable inside the container.
|
|
37
|
+
*/
|
|
35
38
|
export class Scrollable {
|
|
36
39
|
constructor() {
|
|
37
40
|
// One MutationObserver per instance because of https://github.com/whatwg/dom/issues/126
|
|
@@ -106,9 +109,9 @@ export class Scrollable {
|
|
|
106
109
|
this.slottedElements.forEach((element) => resizeObserver.unobserve(element));
|
|
107
110
|
}
|
|
108
111
|
render() {
|
|
109
|
-
return (h("div", { key: '
|
|
112
|
+
return (h("div", { key: '274bcedecaffc230d15a2fa9269dc0c642f80a8b', ref: (el) => (this.shadowContainerDiv = el), class: "dso-shadow-container" }, h("div", { key: 'e3bd6322a428e44451c1d50368ae51f58e7edc18', ref: (el) => (this.scrollContainerDiv = el), class: clsx("dso-scroll-container", {
|
|
110
113
|
[`dso-scroll-${this.scrollPosition}`]: this.scrollPosition !== "noScroll",
|
|
111
|
-
}), onScroll: () => this._setScrollState(), tabIndex: this._preventFocus ? -1 : undefined }, h("slot", { key: '
|
|
114
|
+
}), onScroll: () => this._setScrollState(), tabIndex: this._preventFocus ? -1 : undefined }, h("slot", { key: 'f98ac76b8e6c297ac747eb8cd541d6c22da582cc' }))));
|
|
112
115
|
}
|
|
113
116
|
static get is() { return "dso-scrollable"; }
|
|
114
117
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
2
|
import { v4 } from "uuid";
|
|
3
|
+
/**
|
|
4
|
+
* @slot - Optional visible label text for the slide toggle.
|
|
5
|
+
*/
|
|
3
6
|
export class SlideToggle {
|
|
4
7
|
constructor() {
|
|
5
8
|
/**
|
|
@@ -25,7 +28,7 @@ export class SlideToggle {
|
|
|
25
28
|
this.hasVisibleLabel = this.host.querySelector("*") !== null;
|
|
26
29
|
}
|
|
27
30
|
render() {
|
|
28
|
-
return (h(Fragment, { key: '
|
|
31
|
+
return (h(Fragment, { key: 'f223b48bd6d589546dc52d62c75e31ab99e0ef87' }, h("button", { key: 'b4590c86a7f8f70c8c55c860133a5a427ae02a65', 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: 'b2076589f34804cb099217efa9eaf124f39df6e5', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: 'd5916e9d40ff2c98715c48447c1e06042322dd8e', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '8f50a3a0f1bb71ee5bacd20d7c5ad2209c23a270', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: '422b4a4d496a8f7f2332849a9f59030d118ac93e', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: 'f43a29b79dbe3860647f33d42fac4ff6183910f5', htmlFor: this.identifier }, h("slot", { key: 'e73863c80c3a35b007c9cce7c6a7a9c01edf5ef9' })))));
|
|
29
32
|
}
|
|
30
33
|
static get is() { return "dso-slide-toggle"; }
|
|
31
34
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { Fragment, Host, h } from "@stencil/core";
|
|
2
2
|
import debounce from "debounce";
|
|
3
3
|
import { v4 as uuidv4 } from "uuid";
|
|
4
|
+
/**
|
|
5
|
+
* @slot - A slot to place the target HTML `<table>` element in.
|
|
6
|
+
* @slot open-modal-button - An internal slot used for rendering the open-modal trigger button.
|
|
7
|
+
*/
|
|
4
8
|
export class Table {
|
|
5
9
|
constructor() {
|
|
6
10
|
this.shouldFocusButton = false;
|
|
@@ -55,7 +59,7 @@ export class Table {
|
|
|
55
59
|
render() {
|
|
56
60
|
const caption = this.host.querySelector(":scope > table > caption")?.textContent?.trim();
|
|
57
61
|
const dialogLabel = caption || "Uitvergrote tabel";
|
|
58
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '8fc50f457933f687048719f717917d959252d288', "is-responsive": this.isResponsive?.toString() }, this.modalActive && this.placeholderHeight && (h("div", { key: 'f1371e96868734154cb211d0f1001051f9de2656', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive ? (h("dso-modal", { modalTitle: caption ? dialogLabel : undefined, closable: true, returnFocus: false, onDsoClose: () => this.closeModal() }, !caption && (h("span", { slot: "body", class: "sr-only" }, dialogLabel)), h("div", { slot: "body", class: "dso-table-body" }, h("slot", null)))) : (h(Fragment, null, h("div", { class: "dso-table-utilities", hidden: !this.isResponsive && this.noModal }, this.isResponsive && (h("div", { class: "dso-responsive-message" }, h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && h("slot", { name: "open-modal-button" })), h("div", { class: "dso-table-body" }, h("slot", null))))));
|
|
59
63
|
}
|
|
60
64
|
openModal() {
|
|
61
65
|
this.placeholderHeight = this.host.clientHeight;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot - A slot to place the primary banner text or message.
|
|
4
|
+
* @slot button - A slot to place an action button in.
|
|
5
|
+
*/
|
|
2
6
|
export class TijdreisBanner {
|
|
3
7
|
render() {
|
|
4
|
-
return (h(Fragment, { key: '
|
|
8
|
+
return (h(Fragment, { key: 'f4b50add4852438c4b4ead8f0ec589c22f7e9a17' }, h("dso-icon", { key: 'ca2af418fad4711a923bdf00c44b748055b0e4e0', icon: "clock-outline" }), h("slot", { key: '8b70dc2f2cc48b82b728616a213e89db987e88cb' }), h("slot", { key: '7e194fb4b295b1aebf8edfc8ba7a7ad480a8c263', name: "button" })));
|
|
5
9
|
}
|
|
6
10
|
static get is() { return "dso-tijdreis-banner"; }
|
|
7
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,13 +16,9 @@ const buttonWidth = 40;
|
|
|
16
16
|
const tabViewBreakpoint = 992 + buttonWidth;
|
|
17
17
|
const minMapElementWidth = 440;
|
|
18
18
|
/**
|
|
19
|
-
* @slot top-bar -
|
|
20
|
-
* @slot
|
|
21
|
-
* @slot map
|
|
22
|
-
* @slot legend - Een slot die kan worden gevuld met een legend component.
|
|
23
|
-
* @slot filter-panel
|
|
24
|
-
* @slot overlay
|
|
25
|
-
* @slot document-panel
|
|
19
|
+
* @slot top-bar - An optional slot to place content above the main viewer grid layout.
|
|
20
|
+
* @slot map - A slot for the map content displayed within the map area.
|
|
21
|
+
* @slot legend - An optional slot to place legend content in the map area.
|
|
26
22
|
*/
|
|
27
23
|
export class ViewerGrid {
|
|
28
24
|
constructor() {
|
|
@@ -164,9 +160,9 @@ export class ViewerGrid {
|
|
|
164
160
|
}
|
|
165
161
|
render() {
|
|
166
162
|
const tabs = viewerGridTabs.filter((tab) => tab !== "document" || this.documentPanelOpen);
|
|
167
|
-
return (h(Fragment, { key: '
|
|
163
|
+
return (h(Fragment, { key: '6d9277b4004149dcb3858574a8a82af20d66ab3f' }, h("slot", { key: 'f147112c65bcbc87e9380756b53e4895a7d7d244', name: "top-bar" }), h("div", { key: 'b0f1cc547756c349a450751969ec4c9b7d906b06', class: "viewer-grid-columns" }, this.tabView && (h("nav", { key: '41bd44f717513b28bf2d2452c6167ff9e8be7ef0', class: "dso-navbar" }, h("ul", { key: '559d612bebddeeaba5d5967874efd8138fcd7171', class: "dso-nav dso-nav-sub" }, tabs.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", "aria-current": this.activeTab === tab ? "page" : undefined, onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && this.activeTab === "search") || this.print) && (h(MainPanel, { key: 'eccbdaa6599ea2d1ab89a56c3b4b18a08864e3bf', tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.tabView ? false : this.mainPanelHidden, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd, printFilterPanel: !this.tabView && this.filterPanelOpen && this.print ? this.renderFilterPanel() : undefined })), (!this.tabView || (this.tabView && this.activeTab === "search")) && !this.print && this.renderFilterPanel(), (!this.tabView || (this.tabView && this.activeTab === "map") || this.print) && (h("div", { key: '30f9f266b45dc388dff9acd5c823251cc61a845b', class: "map-area" }, h("div", { key: '109d0e4a900eeb73bcfc6010adca2ebff19045b0', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: 'eed36839ef0420e970f50671c6df5bcf350d41a9', name: "map" })), h("slot", { key: 'ef40b89cbd1bce703de261748ad5bdc2ed21b5fb', name: "legend" }))), ((!this.tabView && this.documentPanelOpen) ||
|
|
168
164
|
(this.tabView && this.activeTab === "document" && this.documentPanelOpen) ||
|
|
169
|
-
this.print) && (h(DocumentPanel, { key: '
|
|
165
|
+
this.print) && (h(DocumentPanel, { key: '4489619e0bd57c813cb75ac4e498d77c378e1468', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: '47505c483c7dfa87d3f1845cd168cfc830cb9270', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) }))));
|
|
170
166
|
}
|
|
171
167
|
static get is() { return "dso-viewer-grid"; }
|
|
172
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { positionTooltip } from "./position-tooltip.function";
|
|
2
|
+
/**
|
|
3
|
+
* Shared controller for the positioning, showing, and hiding of a Toggletip.
|
|
4
|
+
*/
|
|
5
|
+
export class ToggletipController {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
this.options = options;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Position the Toggletip and show or hide it based on the `active` parameter.
|
|
11
|
+
*
|
|
12
|
+
* Intended to be called from `componentDidRender`.
|
|
13
|
+
*
|
|
14
|
+
* @param active Whether the Toggletip should be active.
|
|
15
|
+
*/
|
|
16
|
+
update(active) {
|
|
17
|
+
const tipRef = this.options.getTipElement();
|
|
18
|
+
if (!this.cleanUpFunction && active) {
|
|
19
|
+
const referenceElement = this.options.getReferenceElement();
|
|
20
|
+
const tipArrowRef = this.options.getTipArrowElement();
|
|
21
|
+
if (referenceElement && tipRef && tipArrowRef) {
|
|
22
|
+
this.cleanUpFunction = positionTooltip({
|
|
23
|
+
referenceElement,
|
|
24
|
+
tipRef,
|
|
25
|
+
tipArrowRef,
|
|
26
|
+
placementTip: this.options.getPlacement(),
|
|
27
|
+
restrictContentElement: this.options.getRestrictContentElement?.(),
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (this.cleanUpFunction) {
|
|
32
|
+
if (active) {
|
|
33
|
+
tipRef?.showPopover();
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
if (tipRef?.isConnected && tipRef.matches(":popover-open")) {
|
|
37
|
+
tipRef?.hidePopover();
|
|
38
|
+
}
|
|
39
|
+
this.cleanUpToggletip();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
dispose() {
|
|
44
|
+
this.cleanUpToggletip();
|
|
45
|
+
}
|
|
46
|
+
cleanUpToggletip() {
|
|
47
|
+
this.cleanUpFunction?.();
|
|
48
|
+
this.cleanUpFunction = undefined;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Determines whether an event originated outside `host`, based on `event.composedPath()`.
|
|
53
|
+
* Used for outside-dismiss handling of a Toggletip.
|
|
54
|
+
*/
|
|
55
|
+
export function isEventOutside(host, event) {
|
|
56
|
+
return !event.composedPath().includes(host);
|
|
57
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { positionTooltip } from "./position-tooltip.function";
|
|
2
|
+
/**
|
|
3
|
+
* Shared controller for the positioning, showing, and hiding of a Tooltip.
|
|
4
|
+
*/
|
|
5
|
+
export class TooltipController {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
this.options = options;
|
|
8
|
+
this.lastClickTime = 0;
|
|
9
|
+
this.doShow = () => {
|
|
10
|
+
const tipRef = this.options.getTipElement();
|
|
11
|
+
if (!tipRef?.isConnected) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
tipRef.showPopover();
|
|
15
|
+
if (!this.cleanUpFunction) {
|
|
16
|
+
const referenceElement = this.options.getReferenceElement();
|
|
17
|
+
const tipArrowRef = this.options.getTipArrowElement();
|
|
18
|
+
if (referenceElement && tipArrowRef) {
|
|
19
|
+
this.cleanUpFunction = positionTooltip({
|
|
20
|
+
referenceElement,
|
|
21
|
+
tipRef,
|
|
22
|
+
tipArrowRef,
|
|
23
|
+
placementTip: this.options.getPlacement(),
|
|
24
|
+
topPositionSmallViewPort: false,
|
|
25
|
+
halfMainAxisOffset: false,
|
|
26
|
+
forceVisible: true,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Registers a click to suppress the tooltip from (re)appearing within showDelay milliseconds after a click on the
|
|
34
|
+
* reference element.
|
|
35
|
+
*/
|
|
36
|
+
notifyClick() {
|
|
37
|
+
this.lastClickTime = Date.now();
|
|
38
|
+
}
|
|
39
|
+
show() {
|
|
40
|
+
const { showDelay = 0 } = this.options;
|
|
41
|
+
this.clearShowTimeout();
|
|
42
|
+
if (Date.now() - this.lastClickTime < showDelay) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
if (showDelay > 0) {
|
|
46
|
+
this.tooltipTimeout = window.setTimeout(this.doShow, showDelay);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.doShow();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
hide() {
|
|
53
|
+
this.clearShowTimeout();
|
|
54
|
+
const tipRef = this.options.getTipElement();
|
|
55
|
+
if (tipRef?.isConnected && tipRef.matches(":popover-open")) {
|
|
56
|
+
tipRef.hidePopover();
|
|
57
|
+
}
|
|
58
|
+
this.cleanUpTooltip();
|
|
59
|
+
}
|
|
60
|
+
dispose() {
|
|
61
|
+
this.clearShowTimeout();
|
|
62
|
+
this.cleanUpTooltip();
|
|
63
|
+
}
|
|
64
|
+
clearShowTimeout() {
|
|
65
|
+
if (this.tooltipTimeout) {
|
|
66
|
+
clearTimeout(this.tooltipTimeout);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
cleanUpTooltip() {
|
|
70
|
+
this.cleanUpFunction?.();
|
|
71
|
+
this.cleanUpFunction = undefined;
|
|
72
|
+
}
|
|
73
|
+
}
|
package/dist/components/alert.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as e,transformTag as i}from"@stencil/core/internal/client";import{c as d}from"./clsx.js";import{i as c}from"./i18n.js";import{d as a}from"./icon.js";import{d as s}from"./icon-button.js";const l={en:{"dso-alert":{close:"Close",success:"Success",info:"Notice",warning:"Warning",error:"Error"}},nl:{"dso-alert":{close:"Sluiten",success:"Gelukt",info:"Opmerking",warning:"Waarschuwing",error:"Fout"}}},b=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=t(this,"dsoClose",7),this.closable=!1,this.text=c((()=>this.host),l)}render(){const o=["success","info","warning","error"].includes(this.status);return o||console.warn(`Invalid status ${this.status}`),n("div",{key:"2f3804fc5cb8af7bb475beb0c1180167e12f0a29",class:d("alert",{[`alert-${this.status}`]:o},{"dso-compact":this.compact}),role:this.roleAlert?"alert":void 0},o&&n(e,null,!this.compact&&n("dso-icon",{key:"5157d1a6105065c9480eee40949f747d825b6963",class:"icon-status",icon:`status-${"info"===this.status?"info-solid":this.status}`,"aria-hidden":"true"}),n("span",{key:"4f0e4edba075e4973828b013e1268d2bebbd2779",class:"sr-only"},this.text(this.status),":")),n("slot",{key:"05793df0001cb3066913c67b1f1873a19e0cd805"}),this.closable&&n("dso-icon-button",{key:"c662d10b9bcbd003dd3bd19d878c25224a6ef795",label:this.text("close"),variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}))}get host(){return this}static get style(){return'*,*::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)}:host{display:block}:host(:not(:first-child)){margin-block-start:24px}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 1.5rem);min-block-size:56px;position:relative;border:1px solid transparent}@media screen and (min-width: 481px){.alert{padding-block:15px;padding-inline:54px 39px}.alert.dso-compact{padding-block:7px;padding-inline:15px 39px}}@media screen and (max-width: 480px){.alert{padding-block:54px 15px;padding-inline:15px}.alert.dso-compact{padding-block:7px;padding-inline:15px}}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px;min-block-size:16px}.alert.dso-compact::before{content:"";position:absolute;inset-block-start:-1px;inset-block-end:-1px;inset-inline-start:-9px;border-start-start-radius:8px;border-end-start-radius:8px;inline-size:8px}.alert.alert-error{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-info{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert.alert-success{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-warning{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f8f6cc;color:#191919;border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}::slotted(.dso-rich-content){--_dso-rich-content-margin-block-end:0;--_dso-rich-content-margin-block-start:0;--_dso-button-primary-color:#000;--_dso-button-primary-background-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-border-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-hover-color:#000;--_dso-button-primary-hover-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-hover-border-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-color:#000;--_dso-button-primary-active-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-border-color:rgba(25, 25, 25, 0.2);--_dso-heading-base-color:#000;--_dso-heading-h2-color:#000;--_dso-heading-h3-color:#000;--_dso-heading-h4-color:#000;--_dso-heading-h5-color:#000;--_dso-heading-h1-font-size-xs:1em;--_dso-heading-h1-font-size:1em;--_dso-heading-h2-font-size-xs:1em;--_dso-heading-h2-font-size:1em;--_dso-heading-h3-font-size-xs:1em;--_dso-heading-h3-font-size:1em;--_dso-heading-h4-font-size:1em;--_dso-heading-h5-font-size:1em;--_dso-heading-h6-font-size:1em;--_dso-heading-h1-line-height:1.5;--_dso-heading-h2-line-height:1.5;--_dso-heading-h3-line-height:1.5;--_dso-heading-h4-line-height:1.5;--_dso-heading-h5-line-height:1.5;--_dso-heading-h6-line-height:1.5;--_dso-heading-margin-large-margin-block-end:8px;--_dso-heading-margin-large-margin-block-start:8px;--_dso-heading-margin-small-margin-block-end:8px;--_dso-heading-margin-small-margin-block-start:8px}'}},[257,"dso-alert",{status:[513],roleAlert:[4,"role-alert"],compact:[516],closable:[4]}]);function _(){"undefined"!=typeof customElements&&["dso-alert","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-alert":customElements.get(i(o))||customElements.define(i(o),b);break;case"dso-icon":customElements.get(i(o))||a();break;case"dso-icon-button":customElements.get(i(o))||s()}}))}export{b as A,_ as d}
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as e,transformTag as i}from"@stencil/core/internal/client";import{c as d}from"./clsx.js";import{i as c}from"./i18n.js";import{d as a}from"./icon.js";import{d as s}from"./icon-button.js";const l={en:{"dso-alert":{close:"Close",success:"Success",info:"Notice",warning:"Warning",error:"Error"}},nl:{"dso-alert":{close:"Sluiten",success:"Gelukt",info:"Opmerking",warning:"Waarschuwing",error:"Fout"}}},b=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=t(this,"dsoClose",7),this.closable=!1,this.text=c((()=>this.host),l)}render(){const o=["success","info","warning","error"].includes(this.status);return o||console.warn(`Invalid status ${this.status}`),n("div",{key:"d442da267a8983bc71ecd194250fe01f04cd9dab",class:d("alert",{[`alert-${this.status}`]:o},{"dso-compact":this.compact}),role:this.roleAlert?"alert":void 0},o&&n(e,null,!this.compact&&n("dso-icon",{key:"6961871f69e99c778b7bee28e5fd458b4082eab9",class:"icon-status",icon:`status-${"info"===this.status?"info-solid":this.status}`,"aria-hidden":"true"}),n("span",{key:"d016153d5e46460b68a8ba2d9a73d3e82dc8795e",class:"sr-only"},this.text(this.status),":")),n("slot",{key:"a5d90a9fd35f9b4178bfa7d13d13b5f52c0f3666"}),this.closable&&n("dso-icon-button",{key:"400cd28d62ff4d709cd9a32bb232a1f55fa5d4c9",label:this.text("close"),variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}))}get host(){return this}static get style(){return'*,*::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)}:host{display:block}:host(:not(:first-child)){margin-block-start:24px}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 1.5rem);min-block-size:56px;position:relative;border:1px solid transparent}@media screen and (min-width: 481px){.alert{padding-block:15px;padding-inline:54px 39px}.alert.dso-compact{padding-block:7px;padding-inline:15px 39px}}@media screen and (max-width: 480px){.alert{padding-block:54px 15px;padding-inline:15px}.alert.dso-compact{padding-block:7px;padding-inline:15px}}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px;min-block-size:16px}.alert.dso-compact::before{content:"";position:absolute;inset-block-start:-1px;inset-block-end:-1px;inset-inline-start:-9px;border-start-start-radius:8px;border-end-start-radius:8px;inline-size:8px}.alert.alert-error{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-info{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert.alert-success{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-warning{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f8f6cc;color:#191919;border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}::slotted(.dso-rich-content){--_dso-rich-content-margin-block-end:0;--_dso-rich-content-margin-block-start:0;--_dso-button-primary-color:#000;--_dso-button-primary-background-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-border-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-hover-color:#000;--_dso-button-primary-hover-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-hover-border-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-color:#000;--_dso-button-primary-active-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-border-color:rgba(25, 25, 25, 0.2);--_dso-heading-base-color:#000;--_dso-heading-h2-color:#000;--_dso-heading-h3-color:#000;--_dso-heading-h4-color:#000;--_dso-heading-h5-color:#000;--_dso-heading-h1-font-size-xs:1em;--_dso-heading-h1-font-size:1em;--_dso-heading-h2-font-size-xs:1em;--_dso-heading-h2-font-size:1em;--_dso-heading-h3-font-size-xs:1em;--_dso-heading-h3-font-size:1em;--_dso-heading-h4-font-size:1em;--_dso-heading-h5-font-size:1em;--_dso-heading-h6-font-size:1em;--_dso-heading-h1-line-height:1.5;--_dso-heading-h2-line-height:1.5;--_dso-heading-h3-line-height:1.5;--_dso-heading-h4-line-height:1.5;--_dso-heading-h5-line-height:1.5;--_dso-heading-h6-line-height:1.5;--_dso-heading-margin-large-margin-block-end:8px;--_dso-heading-margin-large-margin-block-start:8px;--_dso-heading-margin-small-margin-block-end:8px;--_dso-heading-margin-small-margin-block-start:8px}'}},[257,"dso-alert",{status:[513],roleAlert:[4,"role-alert"],compact:[516],closable:[4]}]);function _(){"undefined"!=typeof customElements&&["dso-alert","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-alert":customElements.get(i(o))||customElements.define(i(o),b);break;case"dso-icon":customElements.get(i(o))||a();break;case"dso-icon-button":customElements.get(i(o))||s()}}))}export{b as A,_ as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as i,transformTag as e}from"@stencil/core/internal/client";import{A as a}from"./annotation-body.js";import{w as d,A as s,a as c}from"./annotation-watcher.js";import{d as l}from"./icon.js";import{d as b}from"./icon-button.js";import{d as g}from"./label.js";import{d as u}from"./renvooi.js";import{d as v}from"./slide-toggle.js";const _=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoActiveChange=t(this,"dsoActiveChange",7),this.watcher=d(this.host)}connectedCallback(){this.watcher.watch()}disconnectedCallback(){this.watcher.unwatch()}render(){const o=this.watcher.hasSymbool();return n(a,{key:"
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as i,transformTag as e}from"@stencil/core/internal/client";import{A as a}from"./annotation-body.js";import{w as d,A as s,a as c}from"./annotation-watcher.js";import{d as l}from"./icon.js";import{d as b}from"./icon-button.js";import{d as g}from"./label.js";import{d as u}from"./renvooi.js";import{d as v}from"./slide-toggle.js";const _=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoActiveChange=t(this,"dsoActiveChange",7),this.watcher=d(this.host)}connectedCallback(){this.watcher.watch()}disconnectedCallback(){this.watcher.unwatch()}render(){const o=this.watcher.hasSymbool();return n(a,{key:"31c1814b37b8d5d3f38f4c09d65739bb64e455fa",symbol:o?n(c,null):void 0,active:this.active,dsoActiveChange:this.dsoActiveChange,title:n(i,null,n("span",{class:"content"},n("dso-renvooi",{value:this.locatieNoemer})),this.gewijzigdeLocatie&&n(s,null))})}get host(){return this}static get style(){return'a{overflow-wrap:anywhere;background-color:transparent;color:var(--_dso-link-color);text-decoration:underline;text-underline-offset:15%}a:hover,a:focus-visible{color:var(--_dso-link-hover-color);text-decoration:underline}a:active{text-decoration:none}a .sr-only+dso-icon{margin-inline-start:0}a:visited{color:var(--_dso-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-link-icon-visibility, var(--_dso-link-download-icon, var(--_dso-di-download-grasgroen)))}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-link-icon-visibility, var(--_dso-link-download-icon, var(--_dso-di-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-link-icon-visibility, var(--_dso-link-extern-icon, var(--_dso-di-external-link-grasgroen)))}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-link-icon-visibility, var(--_dso-link-extern-icon, var(--_dso-di-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-link-icon-visibility, var(--_dso-link-phone-icon, var(--_dso-di-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-link-icon-visibility, var(--_dso-link-phone-icon, var(--_dso-di-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-link-icon-visibility, var(--_dso-link-mail-icon, var(--_dso-di-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-link-icon-visibility, var(--_dso-link-mail-icon, var(--_dso-di-mail-outline-scampi)))}:host{display:block;padding:2px}:host([wijzigactie=voegtoe]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}:host([wijzigactie=verwijder]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dso-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){:host([wijzigactie=verwijder]){font-family:sans-serif}}*,*::after,*::before{box-sizing:border-box}.annotation-body{display:flex;gap:8px}.annotation-info{flex-grow:1}.annotation-symbol,.annotation-control{flex-shrink:0}.annotation-title{font-weight:500;overflow-wrap:anywhere}.annotation-title,.annotation-data{margin-block:0}.annotation-title .content:has(+dso-label),.annotation-data .content:has(+dso-label){margin-inline-end:4px}.annotation-data{font-size:0.875rem}'}},[1,"dso-annotation-locatie",{wijzigactie:[513],active:[516],gewijzigdeLocatie:[516,"gewijzigde-locatie"],locatieNoemer:[1,"locatie-noemer"]}]);function m(){"undefined"!=typeof customElements&&["dso-annotation-locatie","dso-icon","dso-icon-button","dso-label","dso-renvooi","dso-slide-toggle"].forEach((o=>{switch(o){case"dso-annotation-locatie":customElements.get(e(o))||customElements.define(e(o),_);break;case"dso-icon":customElements.get(e(o))||l();break;case"dso-icon-button":customElements.get(e(o))||b();break;case"dso-label":customElements.get(e(o))||g();break;case"dso-renvooi":customElements.get(e(o))||u();break;case"dso-slide-toggle":customElements.get(e(o))||v()}}))}export{_ as A,m as d}
|