@dso-toolkit/core 79.0.1 → 80.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 +19 -13
- package/dist/bundle/dso-accordion-section.js.map +1 -1
- package/dist/bundle/dso-accordion.js +1 -1
- package/dist/bundle/dso-action-list-item.js +3 -3
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-action-list.js.map +1 -1
- package/dist/bundle/dso-advanced-select.js +15 -9
- package/dist/bundle/dso-advanced-select.js.map +1 -1
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +14 -8
- package/dist/bundle/dso-annotation-activiteit.js.map +1 -1
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +14 -8
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/bundle/dso-annotation-kaart.js +5 -5
- package/dist/bundle/dso-annotation-kaart.js.map +1 -1
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +14 -8
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +4 -4
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +2 -2
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +3 -3
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-contact-information.js.map +1 -1
- package/dist/bundle/dso-date-picker-legacy.js +4 -4
- package/dist/bundle/dso-date-picker.js +1 -1
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu.js +1 -1
- package/dist/bundle/dso-header.js +4 -4
- package/dist/bundle/dso-header.js.map +1 -1
- package/dist/bundle/dso-highlight-box.js +1 -1
- package/dist/bundle/dso-history-item.d.ts +11 -0
- package/dist/bundle/dso-history-item.js +79 -0
- package/dist/bundle/dso-history-item.js.map +1 -0
- package/dist/bundle/dso-icon-button.d.ts +11 -0
- package/dist/bundle/dso-icon-button.js +9 -0
- package/dist/bundle/dso-icon-button.js.map +1 -0
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +2 -2
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-item.js +14 -8
- package/dist/bundle/dso-legend-item.js.map +1 -1
- package/dist/bundle/dso-list-button.js +12 -6
- package/dist/bundle/dso-list-button.js.map +1 -1
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +12 -6
- package/dist/bundle/dso-map-base-layers.js.map +1 -1
- package/dist/bundle/dso-map-controls.js +5 -5
- package/dist/bundle/dso-map-controls.js.map +1 -1
- package/dist/bundle/dso-map-overlays.js +12 -6
- package/dist/bundle/dso-map-overlays.js.map +1 -1
- package/dist/bundle/dso-mark-bar.js +16 -10
- package/dist/bundle/dso-mark-bar.js.map +1 -1
- package/dist/bundle/dso-modal.js +11 -5
- package/dist/bundle/dso-modal.js.map +1 -1
- package/dist/bundle/dso-onboarding-tip.js +29 -101
- package/dist/bundle/dso-onboarding-tip.js.map +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +2 -2
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +3 -3
- package/dist/bundle/dso-plekinfo-card.js.map +1 -1
- package/dist/bundle/dso-progress-bar.js +1 -1
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +11 -5
- package/dist/bundle/dso-project-item.js.map +1 -1
- 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-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 +12 -6
- package/dist/bundle/dso-survey-rating.js.map +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.d.ts +11 -0
- package/dist/bundle/dso-tijdreis-banner.js +42 -0
- package/dist/bundle/dso-tijdreis-banner.js.map +1 -0
- package/dist/bundle/dso-toggletip.js +1 -1
- package/dist/bundle/dso-tooltip.js +1 -1
- package/dist/bundle/dso-tree-view.js +3 -3
- package/dist/bundle/dso-viewer-grid.js +9 -19
- package/dist/bundle/dso-viewer-grid.js.map +1 -1
- package/dist/bundle/dsot-document-component-demo.js +26 -20
- package/dist/bundle/dsot-document-component-demo.js.map +1 -1
- package/dist/bundle/index.js +6 -0
- package/dist/bundle/index.js.map +1 -1
- package/dist/bundle/{p-DV5Lbo3I.js → p-8gGambFe.js} +3 -3
- package/dist/bundle/{p-DV5Lbo3I.js.map → p-8gGambFe.js.map} +1 -1
- package/dist/bundle/{p-zc-ygIe_.js → p-9bHGEoYf.js} +4 -4
- package/dist/bundle/{p-zc-ygIe_.js.map → p-9bHGEoYf.js.map} +1 -1
- package/dist/bundle/p-B5BPyp6o.js +220 -0
- package/dist/bundle/p-B5BPyp6o.js.map +1 -0
- package/dist/bundle/p-B8bBvups.js +326 -0
- package/dist/bundle/p-B8bBvups.js.map +1 -0
- package/dist/bundle/p-BR7Ow0DG.js +154 -0
- package/dist/bundle/p-BR7Ow0DG.js.map +1 -0
- package/dist/bundle/{p-BTM2KYEF.js → p-BcGxHO36.js} +11 -14
- package/dist/bundle/p-BcGxHO36.js.map +1 -0
- package/dist/bundle/{p-D_cMLm_E.js → p-Bl9zHNzD.js} +3 -3
- package/dist/bundle/p-Bl9zHNzD.js.map +1 -0
- package/dist/bundle/{p-BkcOHFAA.js → p-Bp89pCCa.js} +13 -7
- package/dist/bundle/p-Bp89pCCa.js.map +1 -0
- package/dist/bundle/p-Bv7dmPUW.js +36 -0
- package/dist/bundle/{p-D6l-JcXE.js.map → p-Bv7dmPUW.js.map} +1 -1
- package/dist/bundle/p-BwLp1fyH.js +115 -0
- package/dist/bundle/{p-DlnqD3t9.js.map → p-BwLp1fyH.js.map} +1 -1
- package/dist/bundle/{p-CTAU8JKT.js → p-CsCVe62Z.js} +4 -4
- package/dist/bundle/{p-CTAU8JKT.js.map → p-CsCVe62Z.js.map} +1 -1
- package/dist/bundle/{p-CPTuKxMx.js → p-D-c0uqBJ.js} +4 -4
- package/dist/bundle/{p-CPTuKxMx.js.map → p-D-c0uqBJ.js.map} +1 -1
- package/dist/bundle/p-DCUKSco0.js +70 -0
- package/dist/bundle/p-DCUKSco0.js.map +1 -0
- package/dist/bundle/p-DFmQ0X-A.js +84 -0
- package/dist/bundle/p-DFmQ0X-A.js.map +1 -0
- package/dist/bundle/{p-DAJsc8Jk.js → p-DGFwLEIa.js} +3 -3
- package/dist/bundle/{p-DAJsc8Jk.js.map → p-DGFwLEIa.js.map} +1 -1
- package/dist/bundle/p-DGU5h4Ld.js +1196 -0
- package/dist/bundle/p-DGU5h4Ld.js.map +1 -0
- package/dist/bundle/p-DT_PQZdN.js +49 -0
- package/dist/bundle/p-DT_PQZdN.js.map +1 -0
- package/dist/bundle/{p-BgQ0LxOv.js → p-Det0hMG3.js} +3 -3
- package/dist/bundle/{p-BgQ0LxOv.js.map → p-Det0hMG3.js.map} +1 -1
- package/dist/bundle/{p-BwZvADPO.js → p-DfqdgdtQ.js} +16 -10
- package/dist/bundle/p-DfqdgdtQ.js.map +1 -0
- package/dist/bundle/{p-DZfdc557.js → p-DnhRCFJX.js} +3 -3
- package/dist/bundle/{p-DZfdc557.js.map → p-DnhRCFJX.js.map} +1 -1
- package/dist/bundle/p-DroNj8WY.js +83 -0
- package/dist/bundle/{p-MqBCENXQ.js.map → p-DroNj8WY.js.map} +1 -1
- package/dist/bundle/{p-DiF7pR4b.js → p-Dxl03aIO.js} +19 -11
- package/dist/bundle/p-Dxl03aIO.js.map +1 -0
- package/dist/bundle/{p-bHDMgCsa.js → p-IsED2_lv.js} +13 -7
- package/dist/bundle/p-IsED2_lv.js.map +1 -0
- package/dist/bundle/p-uFh4xT-b.js +169 -0
- package/dist/bundle/p-uFh4xT-b.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js +3 -3
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +3 -3
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +29 -30
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +93 -24
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-contact-information.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-contact-information.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-history-item.cjs.entry.js +54 -0
- package/dist/cjs/dso-history-item.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-history-item.entry.cjs.js.map +1 -0
- package/dist/cjs/dso-icon-button.cjs.entry.js +100 -0
- package/dist/cjs/dso-icon-button.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/dso-icon.cjs.entry.js +9 -12
- package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +9 -7
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-label.dso-renvooi.dso-slide-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +6 -6
- package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.entry.cjs.js.map +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 +2 -2
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +8 -8
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +2 -2
- package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +21 -98
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +20 -0
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-tijdreis-banner.entry.cjs.js.map +1 -0
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toggletip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +8 -18
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/parse-wijzigactie-from-node.function-BSyDFa0d.js +11 -0
- package/dist/cjs/parse-wijzigactie-from-node.function-BSyDFa0d.js.map +1 -0
- package/dist/cjs/position-tooltip.function-CwmmCHWn.js +102 -0
- package/dist/cjs/position-tooltip.function-CwmmCHWn.js.map +1 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.css +8 -1
- package/dist/collection/components/accordion/components/accordion-section.js +2 -2
- package/dist/collection/components/action-list/action-list.css +8 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +2 -2
- package/dist/collection/components/advanced-select/advanced-select.css +149 -7
- package/dist/collection/components/advanced-select/advanced-select.js +2 -2
- package/dist/collection/components/alert/alert.css +116 -121
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -1
- package/dist/collection/components/annotation/annotation.css +16 -2
- package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +1 -1
- package/dist/collection/components/badge/badge.css +173 -9
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-container/card-container.js +1 -1
- package/dist/collection/components/contact-information/contact-information.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +3 -3
- package/dist/collection/components/document-card/document-card.js +1 -1
- package/dist/collection/components/document-component/document-component.css +150 -4
- package/dist/collection/components/document-component/document-component.interfaces.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +126 -47
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/header/header.css +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +1 -1
- package/dist/collection/components/history-item/history-item.css +68 -0
- package/dist/collection/components/history-item/history-item.interfaces.js +2 -0
- package/dist/collection/components/history-item/history-item.interfaces.js.map +1 -0
- package/dist/collection/components/history-item/history-item.js +133 -0
- package/dist/collection/components/history-item/history-item.js.map +1 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +494 -0
- package/dist/collection/components/icon-button/icon-button.interfaces.js +2 -0
- package/dist/collection/components/icon-button/icon-button.interfaces.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.js +254 -0
- package/dist/collection/components/icon-button/icon-button.js.map +1 -0
- package/dist/collection/components/image-overlay/image-overlay.css +32 -282
- package/dist/collection/components/image-overlay/image-overlay.js +9 -6
- package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
- package/dist/collection/components/info/info.css +12 -27
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info/info.js.map +1 -1
- package/dist/collection/components/info-button/info-button.css +4 -3
- package/dist/collection/components/info-button/info-button.js +8 -6
- package/dist/collection/components/info-button/info-button.js.map +1 -1
- package/dist/collection/components/input-range/input-range.js +2 -2
- package/dist/collection/components/label/label.css +199 -31
- package/dist/collection/components/label/label.js +6 -6
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.css +21 -86
- package/dist/collection/components/legend-item/legend-item.js +1 -1
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/list-button/list-button.js.map +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.css +111 -0
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js.map +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.css +6 -21
- package/dist/collection/components/mark-bar/mark-bar.js +7 -7
- package/dist/collection/components/mark-bar/mark-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.css +4 -3
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.css +22 -26
- package/dist/collection/components/onboarding-tip/onboarding-tip.interfaces.js.map +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +25 -102
- package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.css +182 -9
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/collection/components/panel/panel.css +27 -11
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +16 -2
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +1 -1
- package/dist/collection/components/project-item/project-item.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi.css +16 -2
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
- package/dist/collection/components/survey-rating/survey-rating.css +84 -7
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.css +111 -0
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.css +85 -0
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +19 -0
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js.map +1 -0
- package/dist/collection/components/toggletip/toggletip.js +1 -1
- package/dist/collection/components/toggletip/toggletip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/viewer-grid/components/filter-panel.js +2 -2
- package/dist/collection/components/viewer-grid/components/filter-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/overlay.js +1 -1
- package/dist/collection/components/viewer-grid/components/overlay.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js.map +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.css +10 -372
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
- package/dist/collection/functional-components/tooltip/position-tooltip.function.js +95 -0
- package/dist/collection/functional-components/tooltip/position-tooltip.function.js.map +1 -0
- package/dist/collection/functional-components/tooltip/tooltip.functional-component.js +9 -0
- package/dist/collection/functional-components/tooltip/tooltip.functional-component.js.map +1 -0
- package/dist/collection/functional-components/tooltip/tooltip.interfaces.js +2 -0
- package/dist/collection/functional-components/tooltip/tooltip.interfaces.js.map +1 -0
- package/dist/components/alert.js +10 -4
- package/dist/components/alert.js.map +1 -1
- package/dist/components/annotation-locatie.js +10 -4
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/attachments-counter.js +1 -1
- package/dist/components/badge.js +2 -2
- package/dist/components/badge.js.map +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +108 -34
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dso-accordion-section.js +15 -9
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-action-list-item.js +2 -2
- package/dist/components/dso-action-list.js +2 -2
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +13 -7
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +10 -4
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +10 -4
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +2 -2
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +10 -4
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-banner.js +2 -2
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card.js +2 -2
- package/dist/components/dso-contact-information.js +1 -1
- package/dist/components/dso-contact-information.js.map +1 -1
- package/dist/components/dso-date-picker-legacy.js +3 -3
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-document-card.js +1 -1
- package/dist/components/dso-header.js +2 -2
- package/dist/components/dso-header.js.map +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-history-item.d.ts +11 -0
- package/dist/components/dso-history-item.js +79 -0
- package/dist/components/dso-history-item.js.map +1 -0
- package/dist/components/dso-icon-button.d.ts +11 -0
- package/dist/components/dso-icon-button.js +9 -0
- package/dist/components/dso-icon-button.js.map +1 -0
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-legend-item.js +10 -4
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +9 -3
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +9 -3
- package/dist/components/dso-map-base-layers.js.map +1 -1
- package/dist/components/dso-map-controls.js +2 -2
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-map-overlays.js +9 -3
- package/dist/components/dso-map-overlays.js.map +1 -1
- package/dist/components/dso-mark-bar.js +16 -10
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +10 -4
- package/dist/components/dso-modal.js.map +1 -1
- package/dist/components/dso-onboarding-tip.js +29 -101
- package/dist/components/dso-onboarding-tip.js.map +1 -1
- package/dist/components/dso-plekinfo-card.js +2 -2
- package/dist/components/dso-plekinfo-card.js.map +1 -1
- package/dist/components/dso-progress-bar.js +1 -1
- package/dist/components/dso-project-item.js +9 -3
- package/dist/components/dso-project-item.js.map +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +11 -5
- package/dist/components/dso-survey-rating.js.map +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.d.ts +11 -0
- package/dist/components/dso-tijdreis-banner.js +42 -0
- package/dist/components/dso-tijdreis-banner.js.map +1 -0
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +9 -19
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/dsot-document-component-demo.js +17 -11
- package/dist/components/dsot-document-component-demo.js.map +1 -1
- package/dist/components/icon-button.js +220 -0
- package/dist/components/icon-button.js.map +1 -0
- package/dist/components/icon.js +9 -12
- package/dist/components/icon.js.map +1 -1
- package/dist/components/image-overlay.js +18 -9
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/info-button.js +17 -9
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/info.js +10 -4
- package/dist/components/info.js.map +1 -1
- package/dist/components/label.js +15 -9
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +16 -10
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/panel.js +10 -4
- package/dist/components/panel.js.map +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/renvooi.js +1 -1
- package/dist/components/renvooi.js.map +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/selectable.js +9 -3
- package/dist/components/selectable.js.map +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/slide-toggle.js.map +1 -1
- package/dist/components/table.js +2 -2
- package/dist/components/table.js.map +1 -1
- package/dist/components/toggletip.js +9 -3
- package/dist/components/toggletip.js.map +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-advanced-select.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-contact-information.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-history-item.entry.esm.js.map +1 -0
- package/dist/dso-toolkit/dso-icon-button.entry.esm.js.map +1 -0
- package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-label.dso-renvooi.dso-slide-toggle.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-legend-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-mark-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-modal.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-plekinfo-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-project-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tijdreis-banner.entry.esm.js.map +1 -0
- package/dist/dso-toolkit/dso-toggletip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dsot-document-component-demo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-c6413a5c.entry.js → p-08643f11.entry.js} +2 -2
- package/dist/dso-toolkit/{p-c6413a5c.entry.js.map → p-08643f11.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-0cdc3e10.entry.js +2 -0
- package/dist/dso-toolkit/p-0cdc3e10.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-f4d66373.entry.js → p-10ac0424.entry.js} +2 -2
- package/dist/dso-toolkit/p-10ac0424.entry.js.map +1 -0
- package/dist/dso-toolkit/p-10e924eb.entry.js +2 -0
- package/dist/dso-toolkit/p-10e924eb.entry.js.map +1 -0
- package/dist/dso-toolkit/p-116f645b.entry.js +2 -0
- package/dist/dso-toolkit/{p-16a365f4.entry.js.map → p-116f645b.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-1336708f.entry.js +2 -0
- package/dist/dso-toolkit/p-1336708f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-1c1ace73.entry.js +2 -0
- package/dist/dso-toolkit/p-1c1ace73.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-ef007619.entry.js → p-1da633fc.entry.js} +2 -2
- package/dist/dso-toolkit/{p-71eae744.entry.js → p-20b31a44.entry.js} +2 -2
- package/dist/dso-toolkit/{p-71eae744.entry.js.map → p-20b31a44.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-0a4afa12.entry.js → p-2512c5f5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b6d75e39.entry.js → p-26966325.entry.js} +2 -2
- package/dist/dso-toolkit/p-2bce5330.entry.js +2 -0
- package/dist/dso-toolkit/{p-4d1a7934.entry.js → p-2e304f75.entry.js} +2 -2
- package/dist/dso-toolkit/p-33220be0.entry.js +2 -0
- package/dist/dso-toolkit/{p-4c57777f.entry.js.map → p-33220be0.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-3f0c80ce.entry.js +2 -0
- package/dist/dso-toolkit/{p-d45bf6f4.entry.js.map → p-3f0c80ce.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c8ca21c3.entry.js → p-426cf574.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f5f8682c.entry.js → p-43ba1098.entry.js} +2 -2
- package/dist/dso-toolkit/{p-710a47f1.entry.js → p-44415d94.entry.js} +2 -2
- package/dist/dso-toolkit/p-47713848.entry.js +2 -0
- package/dist/dso-toolkit/p-47713848.entry.js.map +1 -0
- package/dist/dso-toolkit/p-4a4f56ed.entry.js +2 -0
- package/dist/dso-toolkit/p-4d590a9d.entry.js +2 -0
- package/dist/dso-toolkit/p-4d590a9d.entry.js.map +1 -0
- package/dist/dso-toolkit/p-616021ab.entry.js +2 -0
- package/dist/dso-toolkit/{p-cc1abdf3.entry.js.map → p-616021ab.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-d8df33bb.entry.js → p-649ea683.entry.js} +2 -2
- package/dist/dso-toolkit/{p-068320ab.entry.js → p-706da18c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b96ae76d.entry.js → p-798a1b91.entry.js} +2 -2
- package/dist/dso-toolkit/p-7b279318.entry.js +2 -0
- package/dist/dso-toolkit/p-7b279318.entry.js.map +1 -0
- package/dist/dso-toolkit/p-7f686292.entry.js +2 -0
- package/dist/dso-toolkit/p-7f686292.entry.js.map +1 -0
- package/dist/dso-toolkit/p-7fd4c991.entry.js +2 -0
- package/dist/dso-toolkit/p-7fd4c991.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-6362810d.entry.js → p-808ce903.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f3e22802.entry.js → p-80e3a910.entry.js} +2 -2
- package/dist/dso-toolkit/p-80e3a910.entry.js.map +1 -0
- package/dist/dso-toolkit/p-83448a26.entry.js +2 -0
- package/dist/dso-toolkit/{p-cd149043.entry.js → p-862f3439.entry.js} +2 -2
- package/dist/dso-toolkit/p-862f3439.entry.js.map +1 -0
- package/dist/dso-toolkit/p-8972246f.entry.js +2 -0
- package/dist/dso-toolkit/{p-5960a967.entry.js.map → p-8972246f.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-d947dd25.entry.js → p-8a5f5ada.entry.js} +2 -2
- package/dist/dso-toolkit/p-8e1c7f7a.entry.js +2 -0
- package/dist/dso-toolkit/{p-693cd313.entry.js.map → p-8e1c7f7a.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-98159a53.entry.js +2 -0
- package/dist/dso-toolkit/p-98159a53.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-97e7153c.entry.js → p-987406fd.entry.js} +2 -2
- package/dist/dso-toolkit/{p-0982f8a3.entry.js → p-9d79a107.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ac5a1a15.entry.js → p-9f178660.entry.js} +2 -2
- package/dist/dso-toolkit/p-9fd36887.entry.js +2 -0
- package/dist/dso-toolkit/p-9fd36887.entry.js.map +1 -0
- package/dist/dso-toolkit/p-B31olq-p.js +2 -0
- package/dist/dso-toolkit/p-B31olq-p.js.map +1 -0
- package/dist/dso-toolkit/{p-e8a735ce.entry.js → p-a0cfd562.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e8a735ce.entry.js.map → p-a0cfd562.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-ad1ddba2.entry.js +2 -0
- package/dist/dso-toolkit/{p-9a7ab5aa.entry.js.map → p-ad1ddba2.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-b92a01d1.entry.js +2 -0
- package/dist/dso-toolkit/p-b92a01d1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-bdccacb5.entry.js +2 -0
- package/dist/dso-toolkit/{p-340eb5f3.entry.js.map → p-bdccacb5.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-535232c4.entry.js → p-bea9eb4c.entry.js} +2 -2
- package/dist/dso-toolkit/p-c0526066.entry.js +2 -0
- package/dist/dso-toolkit/p-c0526066.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c123217b.entry.js +2 -0
- package/dist/dso-toolkit/{p-d90537b3.entry.js → p-c5d287ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f65ace88.entry.js → p-c6cd153d.entry.js} +2 -2
- package/dist/dso-toolkit/p-d01cf064.entry.js +2 -0
- package/dist/dso-toolkit/p-d01cf064.entry.js.map +1 -0
- package/dist/dso-toolkit/p-d80d3ce8.entry.js +2 -0
- package/dist/dso-toolkit/p-d80d3ce8.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-070eb5c1.entry.js → p-e882b88b.entry.js} +2 -2
- package/dist/dso-toolkit/p-eee489f1.entry.js +2 -0
- package/dist/dso-toolkit/p-eee489f1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-efbfd246.entry.js +2 -0
- package/dist/dso-toolkit/{p-2bd67420.entry.js.map → p-efbfd246.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c7920b34.entry.js → p-fbd357bb.entry.js} +2 -2
- package/dist/dso-toolkit/p-l-fQf40Y.js +2 -0
- package/dist/dso-toolkit/p-l-fQf40Y.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js +3 -3
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +3 -3
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +21 -22
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +2 -2
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +2 -2
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +93 -24
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +2 -2
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
- package/dist/esm/dso-autosuggest.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js +2 -2
- package/dist/esm/dso-button-group.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +2 -2
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-contact-information.entry.js.map +1 -1
- package/dist/esm/dso-date-picker-legacy.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/dso-header.entry.js.map +1 -1
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-history-item.entry.js +52 -0
- package/dist/esm/dso-history-item.entry.js.map +1 -0
- package/dist/esm/dso-icon-button.entry.js +98 -0
- package/dist/esm/dso-icon-button.entry.js.map +1 -0
- package/dist/esm/dso-icon.entry.js +9 -12
- package/dist/esm/dso-icon.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +9 -7
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +3 -3
- package/dist/esm/dso-info_2.entry.js.map +1 -1
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-label.dso-renvooi.dso-slide-toggle.entry.js.map +1 -1
- package/dist/esm/dso-label_3.entry.js +6 -6
- package/dist/esm/dso-label_3.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js.map +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 +2 -2
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-map-overlays.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js +8 -8
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +2 -2
- package/dist/esm/dso-modal.entry.js.map +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +21 -98
- package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +2 -2
- package/dist/esm/dso-plekinfo-card.entry.js.map +1 -1
- package/dist/esm/dso-progress-bar.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +1 -1
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-project-item.entry.js.map +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-scrollable.entry.js +2 -2
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-survey-rating.entry.js.map +1 -1
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +18 -0
- package/dist/esm/dso-tijdreis-banner.entry.js.map +1 -0
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toggletip.entry.js.map +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tooltip.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +9 -19
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/parse-wijzigactie-from-node.function-l-fQf40Y.js +9 -0
- package/dist/esm/parse-wijzigactie-from-node.function-l-fQf40Y.js.map +1 -0
- package/dist/esm/position-tooltip.function-CozxeEX7.js +100 -0
- package/dist/esm/position-tooltip.function-CozxeEX7.js.map +1 -0
- package/dist/types/components/document-component/document-component.d.ts +17 -5
- package/dist/types/components/document-component/document-component.interfaces.d.ts +4 -0
- package/dist/types/components/document-component-demo/document-component.demo.d.ts +3 -3
- package/dist/types/components/history-item/history-item.d.ts +33 -0
- package/dist/types/components/history-item/history-item.interfaces.d.ts +6 -0
- package/dist/types/components/icon-button/icon-button.d.ts +45 -0
- package/dist/types/components/icon-button/icon-button.interfaces.d.ts +4 -0
- package/dist/types/components/image-overlay/image-overlay.d.ts +1 -1
- package/dist/types/components/info-button/info-button.d.ts +1 -0
- package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -7
- package/dist/types/components/onboarding-tip/onboarding-tip.interfaces.d.ts +0 -1
- package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
- package/dist/types/components/viewer-grid/components/filter-panel.d.ts +1 -0
- package/dist/types/components.d.ts +161 -16
- package/dist/types/functional-components/tooltip/position-tooltip.function.d.ts +8 -0
- package/dist/types/functional-components/tooltip/tooltip.functional-component.d.ts +9 -0
- package/dist/types/functional-components/tooltip/tooltip.interfaces.d.ts +12 -0
- package/package.json +3 -3
- package/dist/bundle/p-B7tl4vEP.js +0 -1190
- package/dist/bundle/p-B7tl4vEP.js.map +0 -1
- package/dist/bundle/p-BTM2KYEF.js.map +0 -1
- package/dist/bundle/p-BkcOHFAA.js.map +0 -1
- package/dist/bundle/p-BwZvADPO.js.map +0 -1
- package/dist/bundle/p-CVyaeh1_.js +0 -163
- package/dist/bundle/p-CVyaeh1_.js.map +0 -1
- package/dist/bundle/p-CovD19j0.js +0 -252
- package/dist/bundle/p-CovD19j0.js.map +0 -1
- package/dist/bundle/p-D6l-JcXE.js +0 -36
- package/dist/bundle/p-DPxeR0Ey.js +0 -78
- package/dist/bundle/p-DPxeR0Ey.js.map +0 -1
- package/dist/bundle/p-D_cMLm_E.js.map +0 -1
- package/dist/bundle/p-DiF7pR4b.js.map +0 -1
- package/dist/bundle/p-DlnqD3t9.js +0 -115
- package/dist/bundle/p-MqBCENXQ.js +0 -83
- package/dist/bundle/p-XWtPZYtK.js +0 -64
- package/dist/bundle/p-XWtPZYtK.js.map +0 -1
- package/dist/bundle/p-ZJRJQtDU.js +0 -43
- package/dist/bundle/p-ZJRJQtDU.js.map +0 -1
- package/dist/bundle/p-bHDMgCsa.js.map +0 -1
- package/dist/bundle/p-piO4yUd2.js +0 -145
- package/dist/bundle/p-piO4yUd2.js.map +0 -1
- package/dist/dso-toolkit/p-16a365f4.entry.js +0 -2
- package/dist/dso-toolkit/p-2bd67420.entry.js +0 -2
- package/dist/dso-toolkit/p-340eb5f3.entry.js +0 -2
- package/dist/dso-toolkit/p-3885ca9b.entry.js +0 -2
- package/dist/dso-toolkit/p-3885ca9b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3e8dbe03.entry.js +0 -2
- package/dist/dso-toolkit/p-3e8dbe03.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4735ca42.entry.js +0 -2
- package/dist/dso-toolkit/p-4735ca42.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4c57777f.entry.js +0 -2
- package/dist/dso-toolkit/p-4e578d5c.entry.js +0 -2
- package/dist/dso-toolkit/p-4e578d5c.entry.js.map +0 -1
- package/dist/dso-toolkit/p-5852fa1a.entry.js +0 -2
- package/dist/dso-toolkit/p-5852fa1a.entry.js.map +0 -1
- package/dist/dso-toolkit/p-5960a967.entry.js +0 -2
- package/dist/dso-toolkit/p-693cd313.entry.js +0 -2
- package/dist/dso-toolkit/p-81e4a548.entry.js +0 -2
- package/dist/dso-toolkit/p-81e4a548.entry.js.map +0 -1
- package/dist/dso-toolkit/p-8936cf2f.entry.js +0 -2
- package/dist/dso-toolkit/p-8936cf2f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-9a7ab5aa.entry.js +0 -2
- package/dist/dso-toolkit/p-a835d419.entry.js +0 -2
- package/dist/dso-toolkit/p-a835d419.entry.js.map +0 -1
- package/dist/dso-toolkit/p-b0953d50.entry.js +0 -2
- package/dist/dso-toolkit/p-b154c6d6.entry.js +0 -2
- package/dist/dso-toolkit/p-b154c6d6.entry.js.map +0 -1
- package/dist/dso-toolkit/p-b680b169.entry.js +0 -2
- package/dist/dso-toolkit/p-cb354556.entry.js +0 -2
- package/dist/dso-toolkit/p-cb354556.entry.js.map +0 -1
- package/dist/dso-toolkit/p-cc1abdf3.entry.js +0 -2
- package/dist/dso-toolkit/p-cd149043.entry.js.map +0 -1
- package/dist/dso-toolkit/p-d2a54c44.entry.js +0 -2
- package/dist/dso-toolkit/p-d2a54c44.entry.js.map +0 -1
- package/dist/dso-toolkit/p-d45bf6f4.entry.js +0 -2
- package/dist/dso-toolkit/p-e1801352.entry.js +0 -2
- package/dist/dso-toolkit/p-e798a831.entry.js +0 -2
- package/dist/dso-toolkit/p-e798a831.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f14e03b2.entry.js +0 -2
- package/dist/dso-toolkit/p-f14e03b2.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f3e22802.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f4d66373.entry.js.map +0 -1
- package/dist/dso-toolkit/p-fb60be4e.entry.js +0 -2
- /package/dist/dso-toolkit/{p-ef007619.entry.js.map → p-1da633fc.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-0a4afa12.entry.js.map → p-2512c5f5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b6d75e39.entry.js.map → p-26966325.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fb60be4e.entry.js.map → p-2bce5330.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-4d1a7934.entry.js.map → p-2e304f75.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-c8ca21c3.entry.js.map → p-426cf574.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-f5f8682c.entry.js.map → p-43ba1098.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-710a47f1.entry.js.map → p-44415d94.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b0953d50.entry.js.map → p-4a4f56ed.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d8df33bb.entry.js.map → p-649ea683.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-068320ab.entry.js.map → p-706da18c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b96ae76d.entry.js.map → p-798a1b91.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-6362810d.entry.js.map → p-808ce903.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e1801352.entry.js.map → p-83448a26.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d947dd25.entry.js.map → p-8a5f5ada.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-97e7153c.entry.js.map → p-987406fd.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-0982f8a3.entry.js.map → p-9d79a107.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ac5a1a15.entry.js.map → p-9f178660.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-535232c4.entry.js.map → p-bea9eb4c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b680b169.entry.js.map → p-c123217b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d90537b3.entry.js.map → p-c5d287ad.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-f65ace88.entry.js.map → p-c6cd153d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-070eb5c1.entry.js.map → p-e882b88b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-c7920b34.entry.js.map → p-fbd357bb.entry.js.map} +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { arrow, autoUpdate, computePosition, flip, hide, offset, shift } from "@floating-ui/dom";
|
|
2
|
+
/**
|
|
3
|
+
* Positions the Tooltip relative to its reference element.
|
|
4
|
+
* The position is recalculated automatically on scroll, resize, or
|
|
5
|
+
* element changes via `autoUpdate`, but is otherwise based only on the
|
|
6
|
+
* provided arguments 'placementTip', 'topPositionSmallViewPort' and 'halfMainAxisOffset'.
|
|
7
|
+
*/
|
|
8
|
+
export function positionTooltip(options) {
|
|
9
|
+
const { referenceElement, tipRef, tipArrowRef, placementTip, topPositionSmallViewPort, halfMainAxisOffset, forceVisible = false, } = options;
|
|
10
|
+
return autoUpdate(referenceElement, tipRef, () => {
|
|
11
|
+
const padding = 5;
|
|
12
|
+
const arrowLength = tipArrowRef.offsetWidth;
|
|
13
|
+
const axisOffsetCalc = Math.sqrt(2 * arrowLength ** 2);
|
|
14
|
+
const mainAxisOffset = halfMainAxisOffset ? axisOffsetCalc / 2 : axisOffsetCalc;
|
|
15
|
+
const arrowPadding = arrowLength * Math.sqrt(2) * 1.5;
|
|
16
|
+
const smallViewport = topPositionSmallViewPort && document.body.clientWidth < 992;
|
|
17
|
+
// Set placement to top if viewport is small and topPositionSmallViewPort is set to true
|
|
18
|
+
const placement = smallViewport ? "top" : placementTip;
|
|
19
|
+
computePosition(referenceElement, tipRef, {
|
|
20
|
+
strategy: "fixed",
|
|
21
|
+
middleware: [
|
|
22
|
+
offset({
|
|
23
|
+
mainAxis: mainAxisOffset,
|
|
24
|
+
alignmentAxis: -arrowPadding,
|
|
25
|
+
}),
|
|
26
|
+
flip({
|
|
27
|
+
padding,
|
|
28
|
+
}),
|
|
29
|
+
shift({
|
|
30
|
+
padding,
|
|
31
|
+
}),
|
|
32
|
+
arrow({
|
|
33
|
+
padding: arrowPadding,
|
|
34
|
+
element: tipArrowRef,
|
|
35
|
+
}),
|
|
36
|
+
hide({
|
|
37
|
+
padding: arrowPadding + arrowLength + padding,
|
|
38
|
+
}),
|
|
39
|
+
],
|
|
40
|
+
placement,
|
|
41
|
+
}).then(({ x, y, middlewareData, placement: computedPlacement, strategy }) => {
|
|
42
|
+
if (middlewareData.hide) {
|
|
43
|
+
// Tooltip needs to be visible at all times on small viewports or when forceVisible is true
|
|
44
|
+
const disappear = !smallViewport && !forceVisible && middlewareData.hide.referenceHidden;
|
|
45
|
+
Object.assign(tipRef.style, {
|
|
46
|
+
// Both of these properties have a CSS transition
|
|
47
|
+
visibility: disappear ? "hidden" : "visible",
|
|
48
|
+
opacity: disappear ? 0 : 1,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
Object.assign(tipRef.style, {
|
|
52
|
+
left: `${x}px`,
|
|
53
|
+
top: `${y}px`,
|
|
54
|
+
strategy,
|
|
55
|
+
});
|
|
56
|
+
const side = computedPlacement.split("-")[0];
|
|
57
|
+
const staticSide = side
|
|
58
|
+
? {
|
|
59
|
+
top: "bottom",
|
|
60
|
+
right: "left",
|
|
61
|
+
bottom: "top",
|
|
62
|
+
left: "right",
|
|
63
|
+
}[side]
|
|
64
|
+
: "top";
|
|
65
|
+
let angle;
|
|
66
|
+
switch (staticSide) {
|
|
67
|
+
default:
|
|
68
|
+
case "top":
|
|
69
|
+
angle = 45;
|
|
70
|
+
break;
|
|
71
|
+
case "right":
|
|
72
|
+
angle = 135;
|
|
73
|
+
break;
|
|
74
|
+
case "bottom":
|
|
75
|
+
angle = 225;
|
|
76
|
+
break;
|
|
77
|
+
case "left":
|
|
78
|
+
angle = 315;
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
if (middlewareData.arrow && staticSide) {
|
|
82
|
+
const { x: arrowX, y: arrowY } = middlewareData.arrow;
|
|
83
|
+
Object.assign(tipArrowRef.style, {
|
|
84
|
+
right: "",
|
|
85
|
+
bottom: "",
|
|
86
|
+
left: arrowX ? `${arrowX}px` : "",
|
|
87
|
+
top: arrowY ? `${arrowY}px` : "",
|
|
88
|
+
[staticSide]: `${-arrowLength / 2}px`,
|
|
89
|
+
transform: `rotate(${angle}deg)`,
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=position-tooltip.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"position-tooltip.function.js","sourceRoot":"","sources":["../../../../src/functional-components/tooltip/position-tooltip.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAI5G;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,OAAuB;IACrD,MAAM,EACJ,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,EAClB,YAAY,GAAG,KAAK,GACrB,GAAG,OAAO,CAAC;IAEZ,OAAO,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,GAAG,EAAE;QAC/C,MAAM,OAAO,GAAG,CAAC,CAAC;QAClB,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;QAC5C,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,CAAC;QACvD,MAAM,cAAc,GAAG,kBAAkB,CAAC,CAAC,CAAC,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC;QAChF,MAAM,YAAY,GAAG,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;QACtD,MAAM,aAAa,GAAG,wBAAwB,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;QAElF,wFAAwF;QACxF,MAAM,SAAS,GAAc,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC;QAElE,eAAe,CAAC,gBAAgB,EAAE,MAAM,EAAE;YACxC,QAAQ,EAAE,OAAO;YACjB,UAAU,EAAE;gBACV,MAAM,CAAC;oBACL,QAAQ,EAAE,cAAc;oBACxB,aAAa,EAAE,CAAC,YAAY;iBAC7B,CAAC;gBACF,IAAI,CAAC;oBACH,OAAO;iBACR,CAAC;gBACF,KAAK,CAAC;oBACJ,OAAO;iBACR,CAAC;gBACF,KAAK,CAAC;oBACJ,OAAO,EAAE,YAAY;oBACrB,OAAO,EAAE,WAAW;iBACrB,CAAC;gBACF,IAAI,CAAC;oBACH,OAAO,EAAE,YAAY,GAAG,WAAW,GAAG,OAAO;iBAC9C,CAAC;aACH;YACD,SAAS;SACV,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,EAAE,EAAE;YAC3E,IAAI,cAAc,CAAC,IAAI,EAAE,CAAC;gBACxB,2FAA2F;gBAC3F,MAAM,SAAS,GAAG,CAAC,aAAa,IAAI,CAAC,YAAY,IAAI,cAAc,CAAC,IAAI,CAAC,eAAe,CAAC;gBAEzF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;oBAC1B,iDAAiD;oBACjD,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;oBAC5C,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;iBAC3B,CAAC,CAAC;YACL,CAAC;YAED,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;gBAC1B,IAAI,EAAE,GAAG,CAAC,IAAI;gBACd,GAAG,EAAE,GAAG,CAAC,IAAI;gBACb,QAAQ;aACT,CAAC,CAAC;YAEH,MAAM,IAAI,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YAE7C,MAAM,UAAU,GAAG,IAAI;gBACrB,CAAC,CAAC;oBACE,GAAG,EAAE,QAAQ;oBACb,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,KAAK;oBACb,IAAI,EAAE,OAAO;iBACd,CAAC,IAAI,CAAC;gBACT,CAAC,CAAC,KAAK,CAAC;YAEV,IAAI,KAAK,CAAC;YACV,QAAQ,UAAU,EAAE,CAAC;gBACnB,QAAQ;gBACR,KAAK,KAAK;oBACR,KAAK,GAAG,EAAE,CAAC;oBACX,MAAM;gBACR,KAAK,OAAO;oBACV,KAAK,GAAG,GAAG,CAAC;oBACZ,MAAM;gBACR,KAAK,QAAQ;oBACX,KAAK,GAAG,GAAG,CAAC;oBACZ,MAAM;gBACR,KAAK,MAAM;oBACT,KAAK,GAAG,GAAG,CAAC;oBACZ,MAAM;YACV,CAAC;YAED,IAAI,cAAc,CAAC,KAAK,IAAI,UAAU,EAAE,CAAC;gBACvC,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,cAAc,CAAC,KAAK,CAAC;gBAEtD,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE;oBAC/B,KAAK,EAAE,EAAE;oBACT,MAAM,EAAE,EAAE;oBACV,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE;oBACjC,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE;oBAChC,CAAC,UAAU,CAAC,EAAE,GAAG,CAAC,WAAW,GAAG,CAAC,IAAI;oBACrC,SAAS,EAAE,UAAU,KAAK,MAAM;iBACjC,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { Placement, arrow, autoUpdate, computePosition, flip, hide, offset, shift } from \"@floating-ui/dom\";\r\n\r\nimport { TooltipOptions } from \"./tooltip.interfaces\";\r\n\r\n/**\r\n * Positions the Tooltip relative to its reference element.\r\n * The position is recalculated automatically on scroll, resize, or\r\n * element changes via `autoUpdate`, but is otherwise based only on the\r\n * provided arguments 'placementTip', 'topPositionSmallViewPort' and 'halfMainAxisOffset'.\r\n */\r\nexport function positionTooltip(options: TooltipOptions) {\r\n const {\r\n referenceElement,\r\n tipRef,\r\n tipArrowRef,\r\n placementTip,\r\n topPositionSmallViewPort,\r\n halfMainAxisOffset,\r\n forceVisible = false,\r\n } = options;\r\n\r\n return autoUpdate(referenceElement, tipRef, () => {\r\n const padding = 5;\r\n const arrowLength = tipArrowRef.offsetWidth;\r\n const axisOffsetCalc = Math.sqrt(2 * arrowLength ** 2);\r\n const mainAxisOffset = halfMainAxisOffset ? axisOffsetCalc / 2 : axisOffsetCalc;\r\n const arrowPadding = arrowLength * Math.sqrt(2) * 1.5;\r\n const smallViewport = topPositionSmallViewPort && document.body.clientWidth < 992;\r\n\r\n // Set placement to top if viewport is small and topPositionSmallViewPort is set to true\r\n const placement: Placement = smallViewport ? \"top\" : placementTip;\r\n\r\n computePosition(referenceElement, tipRef, {\r\n strategy: \"fixed\",\r\n middleware: [\r\n offset({\r\n mainAxis: mainAxisOffset,\r\n alignmentAxis: -arrowPadding,\r\n }),\r\n flip({\r\n padding,\r\n }),\r\n shift({\r\n padding,\r\n }),\r\n arrow({\r\n padding: arrowPadding,\r\n element: tipArrowRef,\r\n }),\r\n hide({\r\n padding: arrowPadding + arrowLength + padding,\r\n }),\r\n ],\r\n placement,\r\n }).then(({ x, y, middlewareData, placement: computedPlacement, strategy }) => {\r\n if (middlewareData.hide) {\r\n // Tooltip needs to be visible at all times on small viewports or when forceVisible is true\r\n const disappear = !smallViewport && !forceVisible && middlewareData.hide.referenceHidden;\r\n\r\n Object.assign(tipRef.style, {\r\n // Both of these properties have a CSS transition\r\n visibility: disappear ? \"hidden\" : \"visible\",\r\n opacity: disappear ? 0 : 1,\r\n });\r\n }\r\n\r\n Object.assign(tipRef.style, {\r\n left: `${x}px`,\r\n top: `${y}px`,\r\n strategy,\r\n });\r\n\r\n const side = computedPlacement.split(\"-\")[0];\r\n\r\n const staticSide = side\r\n ? {\r\n top: \"bottom\",\r\n right: \"left\",\r\n bottom: \"top\",\r\n left: \"right\",\r\n }[side]\r\n : \"top\";\r\n\r\n let angle;\r\n switch (staticSide) {\r\n default:\r\n case \"top\":\r\n angle = 45;\r\n break;\r\n case \"right\":\r\n angle = 135;\r\n break;\r\n case \"bottom\":\r\n angle = 225;\r\n break;\r\n case \"left\":\r\n angle = 315;\r\n break;\r\n }\r\n\r\n if (middlewareData.arrow && staticSide) {\r\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\r\n\r\n Object.assign(tipArrowRef.style, {\r\n right: \"\",\r\n bottom: \"\",\r\n left: arrowX ? `${arrowX}px` : \"\",\r\n top: arrowY ? `${arrowY}px` : \"\",\r\n [staticSide]: `${-arrowLength / 2}px`,\r\n transform: `rotate(${angle}deg)`,\r\n });\r\n }\r\n });\r\n });\r\n}\r\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
export const Tooltip = ({ visible, onAfterHidden, tipElementRef, tipArrowElementRef }, children) => (h("div", { popover: "manual", id: "tooltip", class: clsx(["dso-tooltip", { visible }]), ref: tipElementRef, onTransitionEnd: (e) => {
|
|
4
|
+
e.stopPropagation();
|
|
5
|
+
if (e.propertyName === "opacity" && !visible) {
|
|
6
|
+
onAfterHidden();
|
|
7
|
+
}
|
|
8
|
+
} }, h("span", { class: "tooltip-arrow", ref: tipArrowElementRef }), h("div", { class: "tooltip-inner" }, children)));
|
|
9
|
+
//# sourceMappingURL=tooltip.functional-component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.functional-component.js","sourceRoot":"","sources":["../../../../src/functional-components/tooltip/tooltip.functional-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,CAAC,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,IAAI,MAAM,MAAM,CAAC;AASxB,MAAM,CAAC,MAAM,OAAO,GAAsC,CACxD,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAC7D,QAAQ,EACR,EAAE,CAAC,CACH,WACE,OAAO,EAAC,QAAQ,EAChB,EAAE,EAAC,SAAS,EACZ,KAAK,EAAE,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EACzC,GAAG,EAAE,aAAa,EAClB,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE;QACrB,CAAC,CAAC,eAAe,EAAE,CAAC;QAEpB,IAAI,CAAC,CAAC,YAAY,KAAK,SAAS,IAAI,CAAC,OAAO,EAAE,CAAC;YAC7C,aAAa,EAAE,CAAC;QAClB,CAAC;IACH,CAAC;IAED,YAAM,KAAK,EAAC,eAAe,EAAC,GAAG,EAAE,kBAAkB,GAAS;IAC5D,WAAK,KAAK,EAAC,eAAe,IAAE,QAAQ,CAAO,CACvC,CACP,CAAC","sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\n\r\ninterface TooltipProps {\r\n visible: boolean;\r\n onAfterHidden: () => void;\r\n tipElementRef: (ref: HTMLDivElement | undefined) => void;\r\n tipArrowElementRef: (ref: HTMLSpanElement | undefined) => void;\r\n}\r\n\r\nexport const Tooltip: FunctionalComponent<TooltipProps> = (\r\n { visible, onAfterHidden, tipElementRef, tipArrowElementRef },\r\n children,\r\n) => (\r\n <div\r\n popover=\"manual\"\r\n id=\"tooltip\"\r\n class={clsx([\"dso-tooltip\", { visible }])}\r\n ref={tipElementRef}\r\n onTransitionEnd={(e) => {\r\n e.stopPropagation();\r\n\r\n if (e.propertyName === \"opacity\" && !visible) {\r\n onAfterHidden();\r\n }\r\n }}\r\n >\r\n <span class=\"tooltip-arrow\" ref={tipArrowElementRef}></span>\r\n <div class=\"tooltip-inner\">{children}</div>\r\n </div>\r\n);\r\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.interfaces.js","sourceRoot":"","sources":["../../../../src/functional-components/tooltip/tooltip.interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import { Placement, autoUpdate } from \"@floating-ui/dom\";\r\n\r\nexport type TooltipClean = ReturnType<typeof autoUpdate>;\r\n\r\nexport type TooltipPlacement = \"top\" | \"right\" | \"bottom\" | \"left\";\r\n\r\nexport type TooltipOptions = {\r\n referenceElement: HTMLElement;\r\n tipRef: HTMLElement;\r\n tipArrowRef: HTMLElement;\r\n placementTip: Placement;\r\n topPositionSmallViewPort?: boolean;\r\n halfMainAxisOffset?: boolean;\r\n forceVisible?: boolean;\r\n};\r\n"]}
|
package/dist/components/alert.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as clsx } from './clsx.js';
|
|
3
3
|
import { i as i18n } from './i18n.js';
|
|
4
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './icon-button.js';
|
|
5
6
|
|
|
6
7
|
const translations = {
|
|
7
8
|
en: {
|
|
@@ -24,7 +25,7 @@ const translations = {
|
|
|
24
25
|
},
|
|
25
26
|
};
|
|
26
27
|
|
|
27
|
-
const alertCss = ":host{display:block}:host(:not(:first-child)){margin-block-start:24px}:
|
|
28
|
+
const alertCss = ":host{display:block}:host(:not(:first-child)){margin-block-start:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 24px);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:not(:first-child){margin-block-start:24px}.alert .icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px}.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.dso-compact{min-block-size:16px}.alert.alert-success{--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919}.alert.alert-success 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-zwart\"))}.alert.alert-success 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-zwart\"))}.alert.alert-success 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-zwart\"))}.alert.alert-success 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#email-zwart\"))}.alert.alert-success{border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-error{--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919}.alert.alert-error 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-zwart\"))}.alert.alert-error 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-zwart\"))}.alert.alert-error 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-zwart\"))}.alert.alert-error 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#email-zwart\"))}.alert.alert-error{border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-warning{--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#f8f6cc;color:#191919}.alert.alert-warning 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-zwart\"))}.alert.alert-warning 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-zwart\"))}.alert.alert-warning 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-zwart\"))}.alert.alert-warning 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#email-zwart\"))}.alert.alert-warning{border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.alert.alert-info{--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919}.alert.alert-info 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-zwart\"))}.alert.alert-info 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-zwart\"))}.alert.alert-info 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-zwart\"))}.alert.alert-info 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#email-zwart\"))}.alert.alert-info{border-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{min-block-size:16px}";
|
|
28
29
|
|
|
29
30
|
const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
30
31
|
constructor() {
|
|
@@ -43,7 +44,7 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
43
44
|
if (!status) {
|
|
44
45
|
throw new Error(`Invalid status ${this.status}`);
|
|
45
46
|
}
|
|
46
|
-
return (h("div", { key: '
|
|
47
|
+
return (h("div", { key: 'd86186a40f37724d98aca01e18444cff009143a8', class: clsx("alert", `alert-${this.status}`, { "dso-compact": this.compact }), role: this.roleAlert ? "alert" : undefined }, !this.compact && h("dso-icon", { key: '17bb451ee5b59cd87ebda168807d72daa5b48c0f', class: "icon-status", icon: "status-" + this.status }), h("span", { key: '1a5b0acf53ac59b2887c72ccd8e2e57090a518ae', class: "sr-only" }, status, ":"), h("slot", { key: 'e25e6decf31ec3aa181cfdf947e8b70ff5dbc8c7' }), this.closable && (h("dso-icon-button", { key: '465d53662ed1f00a0486c0378a50c3625493036e', label: this.text("close"), variant: "tertiary", icon: "times", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }))));
|
|
47
48
|
}
|
|
48
49
|
get host() { return this; }
|
|
49
50
|
static get style() { return alertCss; }
|
|
@@ -57,7 +58,7 @@ function defineCustomElement() {
|
|
|
57
58
|
if (typeof customElements === "undefined") {
|
|
58
59
|
return;
|
|
59
60
|
}
|
|
60
|
-
const components = ["dso-alert", "dso-icon"];
|
|
61
|
+
const components = ["dso-alert", "dso-icon", "dso-icon-button"];
|
|
61
62
|
components.forEach(tagName => { switch (tagName) {
|
|
62
63
|
case "dso-alert":
|
|
63
64
|
if (!customElements.get(tagName)) {
|
|
@@ -65,6 +66,11 @@ function defineCustomElement() {
|
|
|
65
66
|
}
|
|
66
67
|
break;
|
|
67
68
|
case "dso-icon":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
defineCustomElement$2();
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
case "dso-icon-button":
|
|
68
74
|
if (!customElements.get(tagName)) {
|
|
69
75
|
defineCustomElement$1();
|
|
70
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"alert.js","mappings":"
|
|
1
|
+
{"file":"alert.js","mappings":";;;;;;AAEO,MAAM,YAAY,GAAa;AACpC,IAAA,EAAE,EAAE;AACF,QAAA,WAAW,EAAE;AACX,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACF,KAAA;AACD,IAAA,EAAE,EAAE;AACF,QAAA,WAAW,EAAE;AACX,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,OAAO,EAAE,QAAQ;AACjB,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,OAAO,EAAE,cAAc;AACvB,YAAA,KAAK,EAAE,MAAM;AACd,SAAA;AACF,KAAA;CACF;;ACrBD,MAAM,QAAQ,GAAG,ghNAAghN;;MCaphN,KAAK,iBAAAA,kBAAA,CAAA,MAAA,KAAA,SAAA,WAAA,CAAA;AALlB,IAAA,WAAA,GAAA;;;;;AA2BE;;AAEG;AAEH,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAQR,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC;AA4BnD;IA1BC,MAAM,GAAA;QACJ,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QACrC,IAAI,CAAC,MAAM,EAAE;YACX,MAAM,IAAI,KAAK,CAAC,CAAA,eAAA,EAAkB,IAAI,CAAC,MAAM,CAAE,CAAA,CAAC;;AAGlD,QAAA,QACE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,IAAI,CAAC,OAAO,EAAE,CAAS,MAAA,EAAA,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,EAC7E,IAAI,EAAE,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,EAAA,EAEzC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAU,KAAK,EAAC,aAAa,EAAC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC,MAAM,EAAI,CAAA,EACjF,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAA,EAAE,MAAM,EAAS,GAAA,CAAA,EACtC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EAEZ,IAAI,CAAC,QAAQ,KACZ,wEACE,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EACzB,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,UAAU,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,EAC3D,CAAA,CACH,CACG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/alert/alert.i18n.ts","src/components/alert/alert.scss?tag=dso-alert&encapsulation=shadow","src/components/alert/alert.tsx"],"sourcesContent":["import { Resource } from \"../../utils/i18n\";\r\n\r\nexport const translations: Resource = {\r\n en: {\r\n \"dso-alert\": {\r\n close: \"Close\",\r\n success: \"Success\",\r\n info: \"Notice\",\r\n warning: \"Warning\",\r\n error: \"Error\",\r\n },\r\n },\r\n nl: {\r\n \"dso-alert\": {\r\n close: \"Sluiten\",\r\n success: \"Gelukt\",\r\n info: \"Opmerking\",\r\n warning: \"Waarschuwing\",\r\n error: \"Fout\",\r\n },\r\n },\r\n};\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/alert\";\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n:host(:not(:first-child)) {\r\n margin-block-start: units.$u3;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.alert {\r\n @include alert.root();\r\n\r\n dso-icon-button {\r\n position: absolute;\r\n inset-block-start: units.$u1 - alert.$border-size;\r\n inset-inline-end: units.$u1 - alert.$border-size;\r\n }\r\n\r\n &.dso-compact {\r\n min-block-size: alert.$inline-padding;\r\n }\r\n}\r\n","import { Component, Element, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\n\r\nimport { i18n } from \"../../utils/i18n\";\r\n\r\nimport { translations } from \"./alert.i18n\";\r\nimport { AlertCloseEvent } from \"./alert.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-alert\",\r\n styleUrl: \"alert.scss\",\r\n shadow: true,\r\n})\r\nexport class Alert {\r\n @Element()\r\n host!: HTMLDsoAlertElement;\r\n\r\n /**\r\n * Set status of alert\r\n */\r\n @Prop({ reflect: true })\r\n status!: \"success\" | \"info\" | \"warning\" | \"error\";\r\n\r\n /**\r\n * Whether or not to show the role attribute with value \"alert\". To control the tooltip add the `role-alert` attribute.\r\n */\r\n @Prop()\r\n roleAlert?: boolean;\r\n\r\n /**\r\n * Show alert as compact variant (without icon)\r\n */\r\n @Prop({ reflect: true })\r\n compact?: boolean;\r\n\r\n /**\r\n * When `false` the close button in the alert will not be rendered.\r\n */\r\n @Prop()\r\n closable = false;\r\n\r\n /**\r\n * Emitted when the user closes the Alert.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<AlertCloseEvent>;\r\n\r\n private text = i18n(() => this.host, translations);\r\n\r\n render() {\r\n const status = this.text(this.status);\r\n if (!status) {\r\n throw new Error(`Invalid status ${this.status}`);\r\n }\r\n\r\n return (\r\n <div\r\n class={clsx(\"alert\", `alert-${this.status}`, { \"dso-compact\": this.compact })}\r\n role={this.roleAlert ? \"alert\" : undefined}\r\n >\r\n {!this.compact && <dso-icon class=\"icon-status\" icon={\"status-\" + this.status} />}\r\n <span class=\"sr-only\">{status}:</span>\r\n <slot></slot>\r\n\r\n {this.closable && (\r\n <dso-icon-button\r\n label={this.text(\"close\")}\r\n variant=\"tertiary\"\r\n icon=\"times\"\r\n onDsoClick={(e) => this.dsoClose.emit({ originalEvent: e })}\r\n />\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
2
2
|
import { A as AnnotationBody } from './annotation-body.js';
|
|
3
3
|
import { w as watcher, A as AnnotationGewijzigdeLocatie, a as AnnotationSymbolSlot } from './annotation-watcher.js';
|
|
4
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { d as defineCustomElement$6 } from './icon.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './icon-button.js';
|
|
5
6
|
import { d as defineCustomElement$4 } from './label.js';
|
|
6
7
|
import { d as defineCustomElement$3 } from './renvooi.js';
|
|
7
8
|
import { d as defineCustomElement$2 } from './slide-toggle.js';
|
|
8
9
|
import { d as defineCustomElement$1 } from './tooltip.js';
|
|
9
10
|
|
|
10
|
-
const annotationCss = "a{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 :is(dso-icon,svg.di)+span,a span+:is(dso-icon,svg.di){margin-inline-start:8px}a .sr-only+:is(dso-icon,svg.di){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.25em 1.25em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{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.25em 1.25em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{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.25em 1.25em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{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.25em 1.25em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-image:var(--_dso-di-background-image, url(\"./di.svg#email-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#email-scampi\"))}:host{display:block;padding:2px}:host([wijzigactie=voegtoe]){--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor
|
|
11
|
+
const annotationCss = "a{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 :is(dso-icon,svg.di)+span,a span+:is(dso-icon,svg.di){margin-inline-start:8px}a .sr-only+:is(dso-icon,svg.di){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.25em 1.25em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{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.25em 1.25em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{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.25em 1.25em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{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.25em 1.25em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-image:var(--_dso-di-background-image, url(\"./di.svg#email-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#email-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;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919}:host([wijzigactie=voegtoe]) 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-zwart\"))}:host([wijzigactie=voegtoe]) 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-zwart\"))}:host([wijzigactie=voegtoe]) 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-zwart\"))}:host([wijzigactie=voegtoe]) 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#email-zwart\"))}:host([wijzigactie=voegtoe]){box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5)}: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;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919}:host([wijzigactie=verwijder]) 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-zwart\"))}:host([wijzigactie=verwijder]) 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-zwart\"))}:host([wijzigactie=verwijder]) 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-zwart\"))}:host([wijzigactie=verwijder]) 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#email-zwart\"))}:host([wijzigactie=verwijder]){text-decoration: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}";
|
|
11
12
|
|
|
12
13
|
const AnnotationLocatie = /*@__PURE__*/ proxyCustomElement(class AnnotationLocatie extends HTMLElement {
|
|
13
14
|
constructor() {
|
|
@@ -25,7 +26,7 @@ const AnnotationLocatie = /*@__PURE__*/ proxyCustomElement(class AnnotationLocat
|
|
|
25
26
|
}
|
|
26
27
|
render() {
|
|
27
28
|
const hasSymbool = this.watcher.hasSymbool();
|
|
28
|
-
return (h(AnnotationBody, { key: '
|
|
29
|
+
return (h(AnnotationBody, { key: '5dd14da69d583927dce47b326e4b78caf6f9f05d', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.locatieNoemer })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
|
|
29
30
|
}
|
|
30
31
|
get host() { return this; }
|
|
31
32
|
static get style() { return annotationCss; }
|
|
@@ -39,7 +40,7 @@ function defineCustomElement() {
|
|
|
39
40
|
if (typeof customElements === "undefined") {
|
|
40
41
|
return;
|
|
41
42
|
}
|
|
42
|
-
const components = ["dso-annotation-locatie", "dso-icon", "dso-label", "dso-renvooi", "dso-slide-toggle", "dso-tooltip"];
|
|
43
|
+
const components = ["dso-annotation-locatie", "dso-icon", "dso-icon-button", "dso-label", "dso-renvooi", "dso-slide-toggle", "dso-tooltip"];
|
|
43
44
|
components.forEach(tagName => { switch (tagName) {
|
|
44
45
|
case "dso-annotation-locatie":
|
|
45
46
|
if (!customElements.get(tagName)) {
|
|
@@ -47,6 +48,11 @@ function defineCustomElement() {
|
|
|
47
48
|
}
|
|
48
49
|
break;
|
|
49
50
|
case "dso-icon":
|
|
51
|
+
if (!customElements.get(tagName)) {
|
|
52
|
+
defineCustomElement$6();
|
|
53
|
+
}
|
|
54
|
+
break;
|
|
55
|
+
case "dso-icon-button":
|
|
50
56
|
if (!customElements.get(tagName)) {
|
|
51
57
|
defineCustomElement$5();
|
|
52
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"annotation-locatie.js","mappings":"
|
|
1
|
+
{"file":"annotation-locatie.js","mappings":";;;;;;;;;;AAAA,MAAM,aAAa,GAAG,yxMAAyxM;;MCiBlyM,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAA,WAAA,CAAA;AAL9B,IAAA,WAAA,GAAA;;;;;QAuCU,IAAA,CAAA,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AA6BrC;IA3BC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;;IAGtB,oBAAoB,GAAA;AAClB,QAAA,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;;IAGxB,MAAM,GAAA;QACJ,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;AAE5C,QAAA,QACE,CAAA,CAAC,cAAc,EAAA,EAAA,GAAA,EAAA,0CAAA,EACb,MAAM,EAAE,UAAU,GAAG,CAAC,CAAA,oBAAoB,OAAG,GAAG,SAAS,EACzD,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,KAAK,EACH,CAAA,CAAA,QAAA,EAAA,IAAA,EACE,CAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAC,SAAS,EAAA,EACnB,CAAA,CAAA,aAAA,EAAA,EAAa,KAAK,EAAE,IAAI,CAAC,aAAa,GAAI,CACrC,EACN,IAAI,CAAC,iBAAiB,IAAI,CAAA,CAAC,2BAA2B,EAAG,IAAA,CAAA,CACzD,EAEL,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/annotation/annotation.scss?tag=dso-annotation-locatie&encapsulation=shadow","src/components/annotation/annotation-locatie/annotation-locatie.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\n@use \"~dso-toolkit/src/components/insert\";\r\n@use \"~dso-toolkit/src/components/delete\";\r\n\r\n@use \"~dso-toolkit/src/components/link/link\";\r\n\r\n:host {\r\n display: block;\r\n padding: 2px;\r\n}\r\n\r\n:host([wijzigactie=\"voegtoe\"]) {\r\n @include insert.root();\r\n}\r\n\r\n:host([wijzigactie=\"verwijder\"]) {\r\n @include delete.root();\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.annotation-body {\r\n display: flex;\r\n gap: units.$u1;\r\n}\r\n\r\n.annotation-info {\r\n flex-grow: 1;\r\n}\r\n\r\n.annotation-symbol,\r\n.annotation-control {\r\n flex-shrink: 0;\r\n}\r\n\r\n.annotation-title {\r\n font-weight: 500;\r\n overflow-wrap: anywhere;\r\n}\r\n\r\n.annotation-title,\r\n.annotation-data {\r\n margin-block: 0;\r\n\r\n .content:has(+ dso-label) {\r\n margin-inline-end: units.$u1 * 0.5;\r\n }\r\n}\r\n\r\n.annotation-data {\r\n font-size: 0.875rem;\r\n}\r\n","import { Component, ComponentInterface, Element, Event, EventEmitter, Fragment, Prop, h } from \"@stencil/core\";\r\n\r\nimport { RenvooiValue } from \"../../renvooi/renvooi.interfaces\";\r\nimport { AnnotationBody } from \"../annotation-body\";\r\nimport { AnnotationGewijzigdeLocatie } from \"../annotation-gewijzigde-locatie\";\r\nimport { AnnotationSymbolSlot } from \"../annotation-symbol-slot\";\r\nimport { watcher } from \"../annotation-watcher\";\r\nimport { AnnotationActiveChangeEvent, AnnotationWijzigactie } from \"../annotation.interfaces\";\r\n\r\n/**\r\n * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.\r\n */\r\n@Component({\r\n tag: \"dso-annotation-locatie\",\r\n styleUrl: \"../annotation.scss\",\r\n shadow: true,\r\n})\r\nexport class AnnotationLocatie implements ComponentInterface {\r\n /**\r\n * Een optionele wijzigactie die aangeeft of de annotatie toegevoegd of verwijderd is.\r\n */\r\n @Prop({ reflect: true })\r\n wijzigactie?: AnnotationWijzigactie;\r\n\r\n /**\r\n * Een optionele boolean die aangeeft of de annotatie actief is.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Een optionele boolean die aangeeft of de locatie van de annotatie gewijzigd is.\r\n */\r\n @Prop({ reflect: true })\r\n gewijzigdeLocatie?: boolean;\r\n\r\n /**\r\n * Een optionele event listener voor wijzigingen aan de status van de annotatie.\r\n */\r\n @Event()\r\n dsoActiveChange!: EventEmitter<AnnotationActiveChangeEvent>;\r\n\r\n /**\r\n * De noemer van de locatie.\r\n */\r\n @Prop()\r\n locatieNoemer?: RenvooiValue | string;\r\n\r\n @Element()\r\n private host!: HTMLDsoAnnotationLocatieElement;\r\n\r\n private watcher = watcher(this.host);\r\n\r\n connectedCallback(): void {\r\n this.watcher.watch();\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.watcher.unwatch();\r\n }\r\n\r\n render() {\r\n const hasSymbool = this.watcher.hasSymbool();\r\n\r\n return (\r\n <AnnotationBody\r\n symbol={hasSymbool ? <AnnotationSymbolSlot /> : undefined}\r\n active={this.active}\r\n dsoActiveChange={this.dsoActiveChange}\r\n title={\r\n <>\r\n <span class=\"content\">\r\n <dso-renvooi value={this.locatieNoemer} />\r\n </span>\r\n {this.gewijzigdeLocatie && <AnnotationGewijzigdeLocatie />}\r\n </>\r\n }\r\n />\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -10,7 +10,7 @@ const AttachmentsCounter = /*@__PURE__*/ proxyCustomElement(class AttachmentsCou
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("span", { key: '
|
|
13
|
+
return (h("span", { key: 'b11de72fcb7669716ed27ed4bfb65ee395b6c4bd', class: "dso-attachments" }, this.count, " ", h("span", { key: '2b9017488e1a4d57983863b38f2bcf928d984a21', class: "sr-only" }, "bijlage", this.count !== 1 ? "n" : ""), h("dso-icon", { key: 'cf3647f6e9d3ad22d614323aae84d8eaa196b5df', icon: "paperclip" })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return attachmentsCounterCss; }
|
|
16
16
|
}, [257, "dso-attachments-counter", {
|
package/dist/components/badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as clsx } from './clsx.js';
|
|
3
3
|
|
|
4
|
-
const badgeCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-badge{border:1px
|
|
4
|
+
const badgeCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-badge{border-width:1px;border-style:solid;border-radius:1em;display:inline-block;font-size:0.875em;line-height:1;min-inline-size:1.5rem;padding-block:4px;padding-inline:8px;text-align:center}.dso-badge{--_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;--_dso-icon-button-tertiary-color:#fff;background-color:#666;color:#fff}.dso-badge 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\"))}.dso-badge 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\"))}.dso-badge 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\"))}.dso-badge 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#email-wit\"))}.dso-badge{border-color:#666}.dso-badge.badge-info{--_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;--_dso-icon-button-tertiary-color:#fff;background-color:#2b5780;color:#fff}.dso-badge.badge-info 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\"))}.dso-badge.badge-info 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\"))}.dso-badge.badge-info 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\"))}.dso-badge.badge-info 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#email-wit\"))}.dso-badge.badge-info{border-color:#2b5780}.dso-badge.badge-primary{--_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;--_dso-icon-button-tertiary-color:#fff;background-color:#275937;color:#fff}.dso-badge.badge-primary 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\"))}.dso-badge.badge-primary 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\"))}.dso-badge.badge-primary 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\"))}.dso-badge.badge-primary 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#email-wit\"))}.dso-badge.badge-primary{border-color:#275937}.dso-badge.badge-success{--_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;--_dso-icon-button-tertiary-color:#fff;background-color:#39870c;color:#fff}.dso-badge.badge-success 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\"))}.dso-badge.badge-success 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\"))}.dso-badge.badge-success 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\"))}.dso-badge.badge-success 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#email-wit\"))}.dso-badge.badge-success{border-color:#39870c}.dso-badge.badge-warning{--_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;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;background-color:#dcd400;color:#191919}.dso-badge.badge-warning 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-zwart\"))}.dso-badge.badge-warning 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-zwart\"))}.dso-badge.badge-warning 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-zwart\"))}.dso-badge.badge-warning 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#email-zwart\"))}.dso-badge.badge-warning{border-color:#dcd400}.dso-badge.badge-error{--_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;--_dso-icon-button-tertiary-color:#fff;background-color:#ce3f51;color:#fff}.dso-badge.badge-error 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\"))}.dso-badge.badge-error 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\"))}.dso-badge.badge-error 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\"))}.dso-badge.badge-error 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#email-wit\"))}.dso-badge.badge-error{border-color:#ce3f51}.dso-badge.badge-outline{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919}.dso-badge.badge-outline{border-color:#191919}.dso-badge.badge-attention{--_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;--_dso-icon-button-tertiary-color:#fff;background-color:#8b4a6a;color:#fff}.dso-badge.badge-attention 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\"))}.dso-badge.badge-attention 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\"))}.dso-badge.badge-attention 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\"))}.dso-badge.badge-attention 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#email-wit\"))}.dso-badge.badge-attention{border-color:#8b4a6a}";
|
|
5
5
|
|
|
6
6
|
const Badge = /*@__PURE__*/ proxyCustomElement(class Badge extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -10,7 +10,7 @@ const Badge = /*@__PURE__*/ proxyCustomElement(class Badge extends HTMLElement {
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("span", { key: '
|
|
13
|
+
return (h("span", { key: '5bc119f06c27f26c4d7d4ad913b727c98048bb7c', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: 'c7279ec156fd939d4d2d816373829564d2e31639' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return badgeCss; }
|
|
16
16
|
}, [257, "dso-badge", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"badge.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,
|
|
1
|
+
{"file":"badge.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,48SAA48S;;MCUh9S,KAAK,iBAAAA,kBAAA,CAAA,MAAA,KAAA,SAAA,WAAA,CAAA;;;;;;IAOhB,MAAM,GAAA;QACJ,QACE,6DAAM,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,CAAA,MAAA,EAAS,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAA,EACvE,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/badge/badge.scss?tag=dso-badge&encapsulation=shadow","src/components/badge/badge.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/badge\";\r\n\r\n:host {\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.dso-badge {\r\n @include badge.root();\r\n}\r\n","import { Component, Prop, h } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\n\r\nimport { BadgeStatus } from \"./badge.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-badge\",\r\n styleUrl: \"badge.scss\",\r\n shadow: true,\r\n})\r\nexport class Badge {\r\n /**\r\n * The status of the Badge.\r\n */\r\n @Prop()\r\n status?: BadgeStatus;\r\n\r\n render() {\r\n return (\r\n <span class={clsx(\"dso-badge\", { [`badge-${this.status}`]: this.status })}>\r\n <slot></slot>\r\n </span>\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -31,7 +31,7 @@ const ButtonGroup = /*@__PURE__*/ proxyCustomElement(class ButtonGroup extends H
|
|
|
31
31
|
return !!this.host.querySelector(":scope > .dso-map");
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'd32c6176a41155f548387a437eb249fd867527f0', class: clsx("container", { "has-map-buttons": this.hasMapButtons }), role: "group" }, h("slot", { key: 'e62a071cf6fb4bcd779fcd086aa6825e1694ef86' })));
|
|
35
35
|
}
|
|
36
36
|
get host() { return this; }
|
|
37
37
|
static get style() { return buttonGroupCss; }
|