@dso-toolkit/core 100.3.1 → 101.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 +33 -18
- package/dist/bundle/dso-accordion.js +4 -4
- package/dist/bundle/dso-action-list-item.js +4 -4
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-advanced-select.js +17 -11
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +21 -15
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +20 -14
- package/dist/bundle/dso-annotation-kaart.js +5 -5
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +21 -15
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +7 -7
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +4 -4
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +3 -3
- package/dist/bundle/dso-card.js +4 -4
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +2 -2
- package/dist/bundle/dso-date-picker.js +5 -5
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu-group.js +2 -2
- package/dist/bundle/dso-dropdown-menu-item.js +3 -3
- package/dist/bundle/dso-dropdown-menu.js +9 -6
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-grid-column.js +3 -4
- package/dist/bundle/dso-header.js +29 -8
- package/dist/bundle/dso-hero-image.js +1 -1
- package/dist/bundle/dso-highlight-box.js +2 -2
- package/dist/bundle/dso-history-item.js +2 -2
- package/dist/bundle/dso-icon-button.js +1 -1
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +1 -1
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +5 -5
- package/dist/bundle/dso-legend-item.js +8 -8
- package/dist/bundle/dso-legend.js +6 -6
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +2 -2
- package/dist/bundle/dso-map-base-layers.js +9 -9
- package/dist/bundle/dso-map-controls.js +7 -7
- package/dist/bundle/dso-map-layer-object.js +4 -4
- package/dist/bundle/dso-map-layer.js +4 -4
- package/dist/bundle/dso-map-message.js +5 -5
- package/dist/bundle/dso-map-overlays.js +9 -9
- package/dist/bundle/dso-mark-bar.js +4 -4
- package/dist/bundle/dso-modal.js +1 -1
- package/dist/bundle/dso-onboarding-tip.js +5 -5
- package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +3 -3
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card-item.d.ts +11 -0
- package/dist/bundle/dso-plekinfo-card-item.js +65 -0
- package/dist/bundle/dso-plekinfo-card.js +11 -9
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +14 -8
- package/dist/bundle/dso-renvooi.js +1 -1
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.js +2 -2
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-shopping-cart-item.js +3 -3
- package/dist/bundle/dso-shopping-cart.js +4 -4
- package/dist/bundle/dso-skiplink.js +3 -3
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +6 -6
- package/dist/bundle/dso-tab.js +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +2 -2
- package/dist/bundle/dso-tijdreis-banner.js +3 -3
- package/dist/bundle/dso-tree-view.js +4 -4
- package/dist/bundle/dso-truncate.d.ts +11 -0
- package/dist/bundle/dso-truncate.js +6 -0
- package/dist/bundle/dso-viewer-grid.js +3 -3
- package/dist/bundle/dsot-document-component-demo.js +41 -35
- package/dist/bundle/index.js +6 -2
- package/dist/bundle/{p-DSn98k7j.js → p-B1sfJaTU.js} +16 -45
- package/dist/bundle/{p-wroz5qbN.js → p-BHAfq_R9.js} +5 -5
- package/dist/bundle/{p-C78OzjGD.js → p-BHPEhHca.js} +2 -2
- package/dist/bundle/{p-COI1m0uI.js → p-BI_yo2z3.js} +5 -5
- package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
- package/dist/bundle/{p-Cz4DEkYY.js → p-BMhDrgpW.js} +4 -4
- package/dist/bundle/{p-Ci81TOhm.js → p-BoEv7D0u.js} +29 -79
- package/dist/bundle/{p-CkzyPAOs.js → p-Brr0tC8B.js} +1 -1
- package/dist/bundle/p-BsaL-EuM.js +76 -0
- package/dist/bundle/{p-DTx5uLrL.js → p-C-8R9yq6.js} +4 -4
- package/dist/bundle/p-C49HfF1N.js +60 -0
- package/dist/bundle/p-CEzwBNry.js +112 -0
- package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
- package/dist/bundle/p-CbLp6uks.js +144 -0
- package/dist/bundle/{p-Cg-toWNU.js → p-CvUpjPda.js} +1 -1
- package/dist/bundle/{p-BhW3MSGZ.js → p-CwjT2QlY.js} +6 -6
- package/dist/bundle/{p-CIfxp928.js → p-D09qaSTl.js} +3 -3
- package/dist/bundle/{p-nBjxlgfX.js → p-D3XzrCzR.js} +6 -6
- package/dist/bundle/{p-D8J4Z2LD.js → p-D3aWEfZN.js} +10 -10
- package/dist/bundle/{p-BeyBvNPm.js → p-D9oE1q7k.js} +16 -30
- package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
- package/dist/bundle/{p-DFhKaDMe.js → p-DZCYhv_b.js} +1 -1
- package/dist/bundle/{p-D33uqBOM.js → p-D_wg33r9.js} +3 -3
- package/dist/bundle/{p-BydRjBUc.js → p-DcRIbRiR.js} +18 -42
- package/dist/bundle/{p-LAIYa8JB.js → p-DdHRX4cC.js} +20 -14
- package/dist/bundle/{p-Bj6TmNEh.js → p-DixhcduG.js} +1 -1
- package/dist/bundle/{p-CiFTQ7lb.js → p-DtUeWj74.js} +76 -33
- package/dist/bundle/{p-ZSFwKURq.js → p-Dtkoi4Xj.js} +2 -2
- package/dist/bundle/{p-BPxWl5Jg.js → p-Dv0849Rl.js} +35 -29
- package/dist/bundle/p-Dy8e3KhJ.js +152 -0
- package/dist/bundle/{p-BcoGSCi2.js → p-Dyvz4l_L.js} +2 -2
- package/dist/bundle/{p-TaOl3xYb.js → p-NElTvMxv.js} +3 -3
- package/dist/bundle/{p-DjR55R0Z.js → p-d1IkgLLm.js} +1 -1
- package/dist/bundle/{p-CMm0xWy5.js → p-mwUKtKZg.js} +2 -2
- package/dist/{esm/i18n-CCOI5nUo.js → bundle/p-xDSTG4OU.js} +28 -1
- package/dist/cjs/{annotation-body-H_YdGRBP.js → annotation-body-CCYWAvBu.js} +1 -1
- package/dist/cjs/{annotation-list-renvooi-values-DnvYPhrD.js → annotation-list-renvooi-values-UnGybDbb.js} +1 -1
- package/dist/cjs/{annotation-watcher-DXLGEmn8.js → annotation-watcher-D9lm8RSy.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +13 -4
- package/dist/cjs/dso-accordion.cjs.entry.js +4 -4
- package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
- package/dist/cjs/dso-alert_7.cjs.entry.js +47 -112
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +9 -9
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js +4 -4
- package/dist/cjs/dso-banner.cjs.entry.js +3 -3
- package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-card-container.cjs.entry.js +3 -3
- package/dist/cjs/dso-card.cjs.entry.js +3 -3
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/dso-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +7 -4
- package/dist/cjs/dso-grid-column.cjs.entry.js +3 -4
- package/dist/cjs/dso-header.cjs.entry.js +27 -6
- package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon_2.cjs.entry.js +16 -45
- package/dist/cjs/dso-info_3.cjs.entry.js +19 -43
- package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +41 -121
- package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend.cjs.entry.js +3 -3
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-message.cjs.entry.js +4 -4
- package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
- package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-modal.cjs.entry.js +3 -3
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-plekinfo-card-item.cjs.entry.js +37 -0
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +10 -8
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-shopping-cart.cjs.entry.js +2 -2
- package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +3 -3
- package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
- package/dist/cjs/dso-truncate.cjs.entry.js +129 -0
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{i18n-DH0Su3jj.js → i18n-Bzut_vVm.js} +28 -1
- package/dist/cjs/{index-CfwUrDXc.js → index-BBx5yytN.js} +76 -33
- package/dist/cjs/{index-EngjN4P3.js → index-DZPLxT1W.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{parse-wijzigactie-from-node.function-B2dUQ7Rf.js → parse-wijzigactie-from-node.function-CYUDdIa0.js} +1 -1
- package/dist/cjs/toggletip.controller-BB-Voe-Z.js +63 -0
- package/dist/cjs/tooltip.controller-Cvac0qe3.js +78 -0
- package/dist/cjs/{tooltip.functional-component-BEcuvKwS.js → tooltip.functional-component-DOBjuEpE.js} +1 -1
- package/dist/cjs/{wrap-wijzigactie.functional-component-DodUwf7_.js → wrap-wijzigactie.functional-component-D1UjZ36u.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/accordion/accordion.css +6 -0
- package/dist/collection/components/accordion/accordion.js +4 -1
- package/dist/collection/components/accordion/components/accordion-section.css +15 -6
- package/dist/collection/components/accordion/components/accordion-section.js +15 -2
- package/dist/collection/components/action-list/action-list.js +4 -1
- package/dist/collection/components/action-list/components/action-list-item.js +5 -2
- package/dist/collection/components/alert/alert.js +4 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -4
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -4
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -4
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -6
- package/dist/collection/components/autosuggest/autosuggest.js +5 -2
- package/dist/collection/components/badge/badge.js +26 -77
- package/dist/collection/components/banner/banner.js +5 -2
- package/dist/collection/components/button-group/button-group.js +4 -1
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/card-container/card-container.css +5 -0
- package/dist/collection/components/card-container/card-container.js +4 -1
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +4 -1
- package/dist/collection/components/date-picker/date-picker.js +9 -9
- package/dist/collection/components/date-picker/date-utils.js +1 -1
- package/dist/collection/components/document-component/document-component.js +6 -4
- package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +4 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +4 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +8 -2
- package/dist/collection/components/expandable/expandable.js +5 -2
- package/dist/collection/components/grid-column/grid-column.js +2 -3
- package/dist/collection/components/header/header.css +65 -46
- package/dist/collection/components/header/header.i18n.js +2 -0
- package/dist/collection/components/header/header.js +25 -3
- package/dist/collection/components/highlight-box/highlight-box.js +5 -1
- package/dist/collection/components/icon-button/icon-button.js +13 -43
- package/dist/collection/components/image-overlay/image-overlay.js +5 -0
- package/dist/collection/components/info/info.js +4 -1
- package/dist/collection/components/info-button/info-button.js +16 -38
- package/dist/collection/components/label/label.css +6 -53
- package/dist/collection/components/label/label.js +25 -134
- package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
- package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
- package/dist/collection/components/legend/legend.js +4 -1
- package/dist/collection/components/list-button/list-button.js +4 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js +4 -1
- package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
- package/dist/collection/components/map-layer/map-layer.js +1 -1
- package/dist/collection/components/map-message/map-message.css +4 -1
- package/dist/collection/components/map-message/map-message.js +3 -3
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card-item/plekinfo-card-item.css +148 -0
- package/dist/collection/components/plekinfo-card/plekinfo-card-item/plekinfo-card-item.js +82 -0
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +4 -5
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +10 -9
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +7 -1
- package/dist/collection/components/responsive-element/responsive-element.js +4 -1
- package/dist/collection/components/scrollable/scrollable.js +5 -2
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/selectable/selectable.css +6 -6
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/shopping-cart/shopping-cart.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.js +5 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/truncate/truncate.css +67 -0
- package/dist/collection/components/truncate/truncate.js +145 -0
- package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
- package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
- package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
- package/dist/components/alert.js +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-action-list-item.js +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-banner.js +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card.js +1 -1
- package/dist/components/dso-cursor-tooltip.js +1 -1
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-dropdown-menu-group.js +1 -1
- package/dist/components/dso-dropdown-menu-item.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-grid-column.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-legend-group.js +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-layer-object.js +1 -1
- package/dist/components/dso-map-layer.js +1 -1
- package/dist/components/dso-map-message.js +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-plekinfo-card-item.d.ts +11 -0
- package/dist/components/dso-plekinfo-card-item.js +1 -0
- package/dist/components/dso-plekinfo-card.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-segmented-button.js +1 -1
- package/dist/components/dso-shopping-cart.js +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-truncate.d.ts +11 -0
- package/dist/components/dso-truncate.js +1 -0
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/dsot-document-component-demo.js +1 -1
- package/dist/components/expandable.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/ozon-content-toggletip.js +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toggletip.controller.js +1 -0
- package/dist/components/tooltip.controller.js +1 -0
- package/dist/components/truncate.js +1 -0
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/p-036e7b74.entry.js +1 -0
- package/dist/dso-toolkit/{p-610341c7.entry.js → p-04844de1.entry.js} +1 -1
- package/dist/dso-toolkit/p-0630c10c.entry.js +1 -0
- package/dist/dso-toolkit/{p-f6e9a1b4.entry.js → p-08a7e828.entry.js} +1 -1
- package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
- package/dist/dso-toolkit/{p-55a160ad.entry.js → p-0ee52216.entry.js} +1 -1
- package/dist/dso-toolkit/p-1007fdd3.entry.js +1 -0
- package/dist/dso-toolkit/p-13c27118.entry.js +1 -0
- package/dist/dso-toolkit/p-1c1b27c0.entry.js +1 -0
- package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
- package/dist/dso-toolkit/{p-460e04c3.entry.js → p-227620ac.entry.js} +1 -1
- package/dist/dso-toolkit/p-25483f0a.entry.js +1 -0
- package/dist/dso-toolkit/{p-ecc3eaab.entry.js → p-26c32a38.entry.js} +1 -1
- package/dist/dso-toolkit/p-29dc27dc.entry.js +1 -0
- package/dist/dso-toolkit/{p-342636b2.entry.js → p-2a32cbeb.entry.js} +1 -1
- package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
- package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0099ff32.entry.js → p-3825c4e5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b83b2fa7.entry.js → p-38616371.entry.js} +1 -1
- package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
- package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
- package/dist/dso-toolkit/{p-16288a6a.entry.js → p-4aa3ca6c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
- package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3098df1c.entry.js → p-5f2269ec.entry.js} +1 -1
- package/dist/dso-toolkit/p-5f6a6095.entry.js +1 -0
- package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
- package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
- package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0438b8cb.entry.js → p-6a99c0bb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-58978006.entry.js → p-6bc7de9b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a639c227.entry.js → p-6bcf7a01.entry.js} +1 -1
- package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
- package/dist/dso-toolkit/p-801a459f.entry.js +1 -0
- package/dist/dso-toolkit/{p-301cb792.entry.js → p-823c047d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ec50e32d.entry.js → p-835cd682.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0f019b7c.entry.js → p-8e4964ac.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7eadab64.entry.js → p-8f90718f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-02f97f93.entry.js → p-904250ca.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0117fba0.entry.js → p-9b4dc3ef.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ab498200.entry.js → p-9df806f0.entry.js} +1 -1
- package/dist/dso-toolkit/p-9f214aa4.entry.js +1 -0
- package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
- package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
- package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
- package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
- package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
- package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
- package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
- package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
- package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
- package/dist/dso-toolkit/p-aec8f591.entry.js +1 -0
- package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
- package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
- package/dist/dso-toolkit/p-b27d50c9.entry.js +1 -0
- package/dist/dso-toolkit/p-b8a0d3b9.entry.js +1 -0
- package/dist/dso-toolkit/p-b8a488af.entry.js +1 -0
- package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a93cfad8.entry.js → p-c15a3689.entry.js} +1 -1
- package/dist/dso-toolkit/{p-99db12e8.entry.js → p-d0196ffd.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
- package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f9490a3f.entry.js → p-e2c97b41.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0085311a.entry.js → p-e3ba6480.entry.js} +1 -1
- package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fb2eb060.entry.js → p-ec2fc65e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3ce055f8.entry.js → p-fb8860e1.entry.js} +1 -1
- package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
- package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
- package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
- package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
- package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +13 -4
- package/dist/esm/dso-accordion.entry.js +4 -4
- package/dist/esm/dso-action-list-item.entry.js +3 -3
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js +1 -1
- package/dist/esm/dso-alert_7.entry.js +47 -112
- package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
- package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js +4 -4
- package/dist/esm/dso-banner.entry.js +3 -3
- package/dist/esm/dso-button-group.entry.js +2 -2
- package/dist/esm/dso-card-container.entry.js +3 -3
- package/dist/esm/dso-card.entry.js +3 -3
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
- package/dist/esm/dso-date-picker.entry.js +3 -3
- package/dist/esm/dso-document-card.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js +7 -4
- package/dist/esm/dso-grid-column.entry.js +3 -4
- package/dist/esm/dso-header.entry.js +27 -6
- package/dist/esm/dso-hero-image.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-history-item.entry.js +1 -1
- package/dist/esm/dso-icon_2.entry.js +16 -45
- package/dist/esm/dso-info_3.entry.js +19 -43
- package/dist/esm/dso-input-range.entry.js +1 -1
- package/dist/esm/dso-label_3.entry.js +23 -103
- package/dist/esm/dso-legend-group.entry.js +3 -3
- package/dist/esm/dso-legend-item.entry.js +3 -3
- package/dist/esm/dso-legend.entry.js +3 -3
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js +2 -2
- package/dist/esm/dso-map-base-layers.entry.js +3 -3
- package/dist/esm/dso-map-controls.entry.js +3 -3
- package/dist/esm/dso-map-layer-object.entry.js +3 -3
- package/dist/esm/dso-map-layer.entry.js +3 -3
- package/dist/esm/dso-map-message.entry.js +4 -4
- package/dist/esm/dso-map-overlays.entry.js +3 -3
- package/dist/esm/dso-mark-bar.entry.js +2 -2
- package/dist/esm/dso-modal.entry.js +3 -3
- package/dist/esm/dso-onboarding-tip.entry.js +2 -2
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-plekinfo-card-item.entry.js +35 -0
- package/dist/esm/dso-plekinfo-card.entry.js +10 -8
- package/dist/esm/dso-progress-indicator.entry.js +3 -3
- package/dist/esm/dso-project-item.entry.js +2 -2
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-segmented-button.entry.js +2 -2
- package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
- package/dist/esm/dso-shopping-cart.entry.js +2 -2
- package/dist/esm/dso-skiplink.entry.js +2 -2
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js +2 -2
- package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
- package/dist/esm/dso-toolkit.js +4 -4
- package/dist/esm/dso-tree-view.entry.js +2 -2
- package/dist/esm/dso-truncate.entry.js +127 -0
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/{bundle/p-CCOI5nUo.js → esm/i18n-xDSTG4OU.js} +28 -1
- package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
- package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
- package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
- package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
- package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
- package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +3 -0
- package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
- package/dist/types/components/action-list/action-list.d.ts +3 -0
- package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
- package/dist/types/components/alert/alert.d.ts +3 -0
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
- package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
- package/dist/types/components/badge/badge.d.ts +2 -8
- package/dist/types/components/banner/banner.d.ts +3 -0
- package/dist/types/components/button-group/button-group.d.ts +3 -0
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/card-container/card-container.d.ts +3 -0
- package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
- package/dist/types/components/date-picker/date-picker.d.ts +4 -2
- package/dist/types/components/date-picker/date-utils.d.ts +1 -1
- package/dist/types/components/document-component/document-component.d.ts +2 -0
- package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
- package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +4 -0
- package/dist/types/components/expandable/expandable.d.ts +3 -0
- package/dist/types/components/header/header.d.ts +9 -0
- package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
- package/dist/types/components/icon-button/icon-button.d.ts +2 -7
- package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
- package/dist/types/components/info/info.d.ts +3 -0
- package/dist/types/components/info-button/info-button.d.ts +4 -2
- package/dist/types/components/label/label.d.ts +14 -36
- package/dist/types/components/legend/legend.d.ts +3 -0
- package/dist/types/components/list-button/list-button.d.ts +3 -0
- package/dist/types/components/map-controls/map-controls.d.ts +3 -0
- package/dist/types/components/map-message/map-message.d.ts +1 -1
- package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
- package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
- package/dist/types/components/plekinfo-card/plekinfo-card-item/plekinfo-card-item.d.ts +23 -0
- package/dist/types/components/plekinfo-card/plekinfo-card.d.ts +3 -4
- package/dist/types/components/project-item/project-item.d.ts +6 -0
- package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
- package/dist/types/components/scrollable/scrollable.d.ts +3 -0
- package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
- package/dist/types/components/table/table.d.ts +4 -0
- package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
- package/dist/types/components/truncate/truncate.d.ts +26 -0
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
- package/dist/types/components.d.ts +48 -24
- package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
- package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/loader/index.d.ts +1 -1
- package/package.json +10 -10
- package/dist/bundle/p-3mY5bRq3.js +0 -189
- package/dist/bundle/p-Cy1s6Fqo.js +0 -152
- package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
- package/dist/dso-toolkit/p-5018c559.entry.js +0 -1
- package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
- package/dist/dso-toolkit/p-6a42dae9.entry.js +0 -1
- package/dist/dso-toolkit/p-6a6a38e6.entry.js +0 -1
- package/dist/dso-toolkit/p-918d8967.entry.js +0 -1
- package/dist/dso-toolkit/p-947abc8e.entry.js +0 -1
- package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
- package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
- package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
- package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
- package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
- package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
- package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
- package/dist/dso-toolkit/p-acb7b5c5.entry.js +0 -1
- package/dist/dso-toolkit/p-b6a747b3.entry.js +0 -1
- package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
- package/dist/dso-toolkit/p-c525f97c.entry.js +0 -1
- package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
- package/dist/dso-toolkit/p-d92b4f7b.entry.js +0 -1
- package/dist/dso-toolkit/p-de3ece98.entry.js +0 -1
- package/dist/dso-toolkit/p-e9bcbf0c.entry.js +0 -1
- package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
|
@@ -6,6 +6,11 @@ const wijzigactieLabels = {
|
|
|
6
6
|
};
|
|
7
7
|
const Dimmer = ({ active, src, alt, ref, close, click }, children) => active &&
|
|
8
8
|
src && (h("dialog", { class: "wrapper", ref: ref, onClose: close, onClick: close }, h("div", { onClick: close }, children[2], children[0], h("img", { src: src, alt: alt }), h("dso-icon-button", { icon: "cross", variant: "map", class: "close", label: "Sluiten", onDsoClick: click }), children[1])));
|
|
9
|
+
/**
|
|
10
|
+
* @slot - A slot to place the target `<img>` element in to make it zoomable.
|
|
11
|
+
* @slot bijschrift - An optional slot to place a caption in, displayed inside the modal overlay.
|
|
12
|
+
* @slot titel - An optional slot to place a title in, displayed inside the modal overlay.
|
|
13
|
+
*/
|
|
9
14
|
export class ImageOverlay {
|
|
10
15
|
constructor() {
|
|
11
16
|
this.active = false;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot - The content to be displayed inside the info box.
|
|
4
|
+
*/
|
|
2
5
|
export class Info {
|
|
3
6
|
render() {
|
|
4
|
-
return (h(Fragment, { key: '
|
|
7
|
+
return (h(Fragment, { key: '501034aaf66e9109b35acead40058a4a42081904' }, h("slot", { key: '3e92f25b24180c39db9cbe8967baac16e41e0f03' }), !this.fixed && (h("dso-icon-button", { key: '568cdfc82e1fb885849226689812843a9045184d', label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit(e.detail.originalEvent) }))));
|
|
5
8
|
}
|
|
6
9
|
static get is() { return "dso-info"; }
|
|
7
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ToggletipController, isEventOutside } from "../../functional-components/tooltip/toggletip.controller";
|
|
3
3
|
import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-component";
|
|
4
|
+
/**
|
|
5
|
+
* @slot toggletip - A slot for content displayed inside the info button toggletip.
|
|
6
|
+
*/
|
|
4
7
|
export class InfoButton {
|
|
5
8
|
constructor() {
|
|
9
|
+
this.toggletipController = new ToggletipController({
|
|
10
|
+
getReferenceElement: () => this.button,
|
|
11
|
+
getTipElement: () => this.toggletipElRef,
|
|
12
|
+
getTipArrowElement: () => this.toggletipArrowElRef,
|
|
13
|
+
getRestrictContentElement: () => this.restrictContentElement,
|
|
14
|
+
getPlacement: () => this.toggletipPlacement,
|
|
15
|
+
});
|
|
6
16
|
/**
|
|
7
17
|
* Whether the InfoButton is active.
|
|
8
18
|
*/
|
|
@@ -21,7 +31,7 @@ export class InfoButton {
|
|
|
21
31
|
if (!this.toggletipActive) {
|
|
22
32
|
return;
|
|
23
33
|
}
|
|
24
|
-
if (
|
|
34
|
+
if (isEventOutside(this.host, event)) {
|
|
25
35
|
this.closeToggletip();
|
|
26
36
|
}
|
|
27
37
|
};
|
|
@@ -62,42 +72,10 @@ export class InfoButton {
|
|
|
62
72
|
}
|
|
63
73
|
closeToggletip() {
|
|
64
74
|
this.toggletipActive = false;
|
|
65
|
-
|
|
66
|
-
this.toggletipElRef.hidePopover();
|
|
67
|
-
}
|
|
68
|
-
this.cleanUpTooltip();
|
|
69
|
-
}
|
|
70
|
-
cleanUpTooltip() {
|
|
71
|
-
this.cleanUpFunction?.();
|
|
72
|
-
this.cleanUpFunction = undefined;
|
|
75
|
+
this.toggletipController.update(false);
|
|
73
76
|
}
|
|
74
77
|
componentDidRender() {
|
|
75
|
-
|
|
76
|
-
this.toggletipElRef?.hidePopover();
|
|
77
|
-
this.cleanUpTooltip();
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
if (!this.cleanUpFunction &&
|
|
81
|
-
this.toggletipActive &&
|
|
82
|
-
this.button &&
|
|
83
|
-
this.toggletipElRef &&
|
|
84
|
-
this.toggletipArrowElRef) {
|
|
85
|
-
this.cleanUpFunction = positionTooltip({
|
|
86
|
-
referenceElement: this.button,
|
|
87
|
-
tipRef: this.toggletipElRef,
|
|
88
|
-
tipArrowRef: this.toggletipArrowElRef,
|
|
89
|
-
placementTip: this.toggletipPlacement,
|
|
90
|
-
restrictContentElement: this.restrictContentElement,
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
if (this.cleanUpFunction) {
|
|
94
|
-
if (this.toggletipActive) {
|
|
95
|
-
this.toggletipElRef?.showPopover();
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
this.closeToggletip();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
78
|
+
this.toggletipController.update(this.hasToggletip && this.toggletipActive);
|
|
101
79
|
}
|
|
102
80
|
connectedCallback() {
|
|
103
81
|
this.mutationObserver = new MutationObserver(() => {
|
|
@@ -109,12 +87,12 @@ export class InfoButton {
|
|
|
109
87
|
});
|
|
110
88
|
}
|
|
111
89
|
disconnectedCallback() {
|
|
112
|
-
this.
|
|
90
|
+
this.toggletipController.dispose();
|
|
113
91
|
this.mutationObserver?.disconnect();
|
|
114
92
|
delete this.mutationObserver;
|
|
115
93
|
}
|
|
116
94
|
render() {
|
|
117
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: 'b38212731ef3325d9d9b87919248494ce7eb27ab', onKeyDown: this.keyDownHandler }, h("dso-icon-button", { key: '3f5e645d8e69e01b1342914c330f7951bd3d38cc', variant: "tertiary", label: this.label, onDsoClick: (e) => this.handleToggle(e.detail.originalEvent), icon: this.active || this.toggletipActive ? "info-solid" : "info-outline", ref: (element) => (this.button = element), expanded: this.hasToggletip ? this.toggletipActive : undefined }), this.hasToggletip && (h(Tooltip, { key: '01af1c555dadef251f3076c9137fd5d3cff3d34a', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, h("dso-scrollable", { key: 'd5b69968072ca345f825685643a9d371b62a6562', ref: (element) => (this.restrictContentElement = element), "aria-live": "polite" }, h("slot", { key: '01f5101e35bfb869909b1b9788c88dcdc9d91351', name: "toggletip" }))))));
|
|
118
96
|
}
|
|
119
97
|
static get is() { return "dso-info-button"; }
|
|
120
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
.dso-tooltip {
|
|
2
|
-
--_dso-alert-success-border-color: initial;
|
|
3
|
-
--_dso-alert-error-border-color: initial;
|
|
4
|
-
--_dso-alert-info-border-color: initial;
|
|
5
|
-
--_dso-alert-warning-border-color: initial;
|
|
6
|
-
background-color: #fff;
|
|
7
|
-
color: #191919;
|
|
8
|
-
border-radius: 4px;
|
|
9
|
-
overflow: unset;
|
|
10
|
-
margin: 0;
|
|
11
|
-
border: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
|
|
14
|
-
opacity: 0;
|
|
15
|
-
visibility: hidden;
|
|
16
|
-
max-inline-size: 640px;
|
|
17
|
-
}
|
|
18
|
-
.dso-tooltip .tooltip-inner {
|
|
19
|
-
--_dso-span-role-paragraph-margin-block: 8px;
|
|
20
|
-
--_dso-alert-success-border-color: initial;
|
|
21
|
-
--_dso-alert-error-border-color: initial;
|
|
22
|
-
--_dso-alert-info-border-color: initial;
|
|
23
|
-
--_dso-alert-warning-border-color: initial;
|
|
24
|
-
background-color: #fff;
|
|
25
|
-
color: #191919;
|
|
26
|
-
font-family: Asap, sans-serif;
|
|
27
|
-
font-size: 1rem;
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
padding-block: 8px;
|
|
30
|
-
padding-inline: 16px;
|
|
31
|
-
border-radius: 4px;
|
|
32
|
-
line-height: 1.5;
|
|
33
|
-
}
|
|
34
|
-
.dso-tooltip .tooltip-arrow {
|
|
35
|
-
position: absolute;
|
|
36
|
-
background-color: #fff;
|
|
37
|
-
border-start-start-radius: 4px;
|
|
38
|
-
block-size: 10px;
|
|
39
|
-
inline-size: 10px;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
z-index: -1;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
1
|
*,
|
|
45
2
|
*::after,
|
|
46
3
|
*::before {
|
|
@@ -52,19 +9,10 @@
|
|
|
52
9
|
max-inline-size: 100%;
|
|
53
10
|
}
|
|
54
11
|
|
|
55
|
-
:host([removable]) .dso-
|
|
12
|
+
:host([truncate][removable]) .dso-label-content {
|
|
56
13
|
max-inline-size: calc(100% - 28px);
|
|
57
14
|
}
|
|
58
15
|
|
|
59
|
-
:host([truncate]) .dso-label-content {
|
|
60
|
-
display: inline-block;
|
|
61
|
-
max-inline-size: 100%;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
vertical-align: bottom;
|
|
65
|
-
white-space: nowrap;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
16
|
::slotted([slot=symbol]) {
|
|
69
17
|
background-color: #fff;
|
|
70
18
|
background-color: #fff;
|
|
@@ -115,6 +63,7 @@
|
|
|
115
63
|
padding-block: 4px;
|
|
116
64
|
padding-inline: 8px;
|
|
117
65
|
max-inline-size: 100%;
|
|
66
|
+
min-inline-size: 0;
|
|
118
67
|
font-weight: normal;
|
|
119
68
|
border-radius: 4px;
|
|
120
69
|
line-height: 1.5;
|
|
@@ -541,6 +490,10 @@
|
|
|
541
490
|
padding-inline: 8px;
|
|
542
491
|
}
|
|
543
492
|
|
|
493
|
+
.dso-label-content {
|
|
494
|
+
min-inline-size: 0;
|
|
495
|
+
}
|
|
496
|
+
|
|
544
497
|
dso-icon-button {
|
|
545
498
|
float: inline-end;
|
|
546
499
|
margin-inline-start: 8px;
|
|
@@ -1,44 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
entries.forEach(({ target }) => {
|
|
8
|
-
if (isDsoLabelComponent(target)) {
|
|
9
|
-
target._truncateLabel();
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
}, 150));
|
|
13
|
-
function isDsoLabelComponent(element) {
|
|
14
|
-
return element.tagName === "DSO-LABEL";
|
|
15
|
-
}
|
|
16
|
-
function hasEllipses(el) {
|
|
17
|
-
return el.scrollWidth > el.clientWidth;
|
|
18
|
-
}
|
|
3
|
+
/**
|
|
4
|
+
* @slot - A slot for the label text or content.
|
|
5
|
+
* @slot symbol - An optional slot for an icon or symbol displayed before the label text.
|
|
6
|
+
*/
|
|
19
7
|
export class Label {
|
|
20
8
|
constructor() {
|
|
21
|
-
this.
|
|
9
|
+
this.removeHover = false;
|
|
10
|
+
this.removeFocus = false;
|
|
22
11
|
this.labelText = "";
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
if (!this.cleanUpFunction && this.labelContent && this.tooltipElRef && this.tooltipArrowElRef) {
|
|
26
|
-
this.cleanUpFunction = positionTooltip({
|
|
27
|
-
referenceElement: this.labelContent,
|
|
28
|
-
tipRef: this.tooltipElRef,
|
|
29
|
-
tipArrowRef: this.tooltipArrowElRef,
|
|
30
|
-
placementTip: "top",
|
|
31
|
-
topPositionSmallViewPort: false,
|
|
32
|
-
halfMainAxisOffset: false,
|
|
33
|
-
forceVisible: true,
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
this.handleHideTooltip = () => {
|
|
38
|
-
if (this.tooltipElRef?.isConnected && this.tooltipElRef.matches(":popover-open")) {
|
|
39
|
-
this.tooltipElRef.hidePopover();
|
|
40
|
-
}
|
|
41
|
-
this.cleanUpTooltip();
|
|
12
|
+
this.syncLabelText = () => {
|
|
13
|
+
this.labelText = this.host.textContent?.trim() ?? "";
|
|
42
14
|
};
|
|
43
15
|
}
|
|
44
16
|
watchRemovable(removable) {
|
|
@@ -49,80 +21,36 @@ export class Label {
|
|
|
49
21
|
this.stopMutationObserver();
|
|
50
22
|
}
|
|
51
23
|
}
|
|
52
|
-
|
|
53
|
-
if (truncate) {
|
|
54
|
-
this.startTruncate();
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
this.stopTruncate();
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
keyDownListener(event) {
|
|
61
|
-
if (event.key === "Escape") {
|
|
62
|
-
this.handleHideTooltip();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
async _truncateLabel() {
|
|
69
|
-
setTimeout(() => {
|
|
70
|
-
this.isTruncated = !!this.labelContent && hasEllipses(this.labelContent);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
syncLabelText() {
|
|
74
|
-
this.labelText = this.host.textContent?.trim() ?? "";
|
|
75
|
-
}
|
|
76
|
-
cleanUpTooltip() {
|
|
77
|
-
this.cleanUpFunction?.();
|
|
78
|
-
this.cleanUpFunction = undefined;
|
|
79
|
-
}
|
|
80
|
-
componentDidLoad() {
|
|
81
|
-
if (this.truncate) {
|
|
82
|
-
this.startTruncate();
|
|
83
|
-
}
|
|
24
|
+
componentWillLoad() {
|
|
84
25
|
if (this.removable) {
|
|
85
26
|
this.startMutationObserver();
|
|
86
27
|
}
|
|
87
28
|
}
|
|
88
29
|
disconnectedCallback() {
|
|
89
|
-
this.
|
|
90
|
-
this.stopMutationObserver(true);
|
|
91
|
-
this.cleanUpTooltip();
|
|
30
|
+
this.stopMutationObserver();
|
|
92
31
|
}
|
|
93
|
-
/** The
|
|
32
|
+
/** The MutationObserver tracks the label text used for the remove button. */
|
|
94
33
|
startMutationObserver() {
|
|
95
|
-
this.mutationObserver
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
stopMutationObserver(force = false) {
|
|
105
|
-
if (force || !(this.truncate && this.removable)) {
|
|
106
|
-
this.mutationObserver?.disconnect();
|
|
107
|
-
delete this.mutationObserver;
|
|
34
|
+
if (!this.mutationObserver) {
|
|
35
|
+
this.mutationObserver = new MutationObserver(this.syncLabelText);
|
|
36
|
+
this.mutationObserver.observe(this.host, {
|
|
37
|
+
characterData: true,
|
|
38
|
+
childList: true,
|
|
39
|
+
subtree: true,
|
|
40
|
+
});
|
|
41
|
+
this.syncLabelText();
|
|
108
42
|
}
|
|
109
43
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
this.
|
|
113
|
-
this._truncateLabel();
|
|
114
|
-
}
|
|
115
|
-
stopTruncate() {
|
|
116
|
-
resizeObserver.unobserve(this.host);
|
|
117
|
-
this.stopMutationObserver();
|
|
118
|
-
this.isTruncated = false;
|
|
44
|
+
stopMutationObserver() {
|
|
45
|
+
this.mutationObserver?.disconnect();
|
|
46
|
+
this.mutationObserver = undefined;
|
|
119
47
|
}
|
|
120
48
|
render() {
|
|
121
|
-
return (h(
|
|
49
|
+
return (h("span", { key: '34fad69fd003cd90616fab28ae6259a267c8e608', class: clsx("dso-label", {
|
|
122
50
|
[`dso-label-${this.status}`]: this.status,
|
|
123
51
|
"dso-compact": this.compact && !this.removable,
|
|
124
52
|
"dso-hover": this.removeHover || this.removeFocus,
|
|
125
|
-
}) }, h("slot", { key: '
|
|
53
|
+
}) }, h("slot", { key: '16dfaf9662d333a2879858e2b34fddfda1ef4fcc', name: "symbol" }), h("span", { key: 'e6f20adb6fa51289713a1fc0a6c5b8a60ea5c28b', class: "dso-label-content" }, this.truncate ? (h("dso-truncate", null, h("slot", null))) : (h("slot", null))), this.removable && (h("dso-icon-button", { key: '325a6990c88916a69d44d6cd7c2258a2daf79641', variant: "tertiary", icon: "cross", label: `Verwijder: ${this.labelText}`, onDsoClick: (e) => this.dsoRemoveClick.emit(e.detail.originalEvent), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }))));
|
|
126
54
|
}
|
|
127
55
|
static get is() { return "dso-label"; }
|
|
128
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -227,7 +155,6 @@ export class Label {
|
|
|
227
155
|
return {
|
|
228
156
|
"removeHover": {},
|
|
229
157
|
"removeFocus": {},
|
|
230
|
-
"isTruncated": {},
|
|
231
158
|
"labelText": {}
|
|
232
159
|
};
|
|
233
160
|
}
|
|
@@ -254,47 +181,11 @@ export class Label {
|
|
|
254
181
|
}
|
|
255
182
|
}];
|
|
256
183
|
}
|
|
257
|
-
static get methods() {
|
|
258
|
-
return {
|
|
259
|
-
"_truncateLabel": {
|
|
260
|
-
"complexType": {
|
|
261
|
-
"signature": "() => Promise<void>",
|
|
262
|
-
"parameters": [],
|
|
263
|
-
"references": {
|
|
264
|
-
"Promise": {
|
|
265
|
-
"location": "global",
|
|
266
|
-
"id": "global::Promise"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
"return": "Promise<void>"
|
|
270
|
-
},
|
|
271
|
-
"docs": {
|
|
272
|
-
"text": "",
|
|
273
|
-
"tags": [{
|
|
274
|
-
"name": "internal",
|
|
275
|
-
"text": undefined
|
|
276
|
-
}]
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
184
|
static get elementRef() { return "host"; }
|
|
282
185
|
static get watchers() {
|
|
283
186
|
return [{
|
|
284
187
|
"propName": "removable",
|
|
285
188
|
"methodName": "watchRemovable"
|
|
286
|
-
}, {
|
|
287
|
-
"propName": "truncate",
|
|
288
|
-
"methodName": "watchTruncate"
|
|
289
|
-
}];
|
|
290
|
-
}
|
|
291
|
-
static get listeners() {
|
|
292
|
-
return [{
|
|
293
|
-
"name": "keydown",
|
|
294
|
-
"method": "keyDownListener",
|
|
295
|
-
"target": "document",
|
|
296
|
-
"capture": false,
|
|
297
|
-
"passive": false
|
|
298
189
|
}];
|
|
299
190
|
}
|
|
300
191
|
}
|
|
@@ -41,7 +41,7 @@ export class LegendGroup {
|
|
|
41
41
|
delete this.mutationObserver;
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '50e7022a7d8609f707bbc7db0a76e1c875196156' }, h("div", { key: 'bab113ad4e4f716dd2fbba44e40f6b55573f882b', class: "legend-group-header" }, h("slot", { key: '29ef307aed6239c9720b4649c852251082fec38f', name: "heading" }), this.mode && (h("dso-icon-button", { key: 'ad3f0111cca63825e5d7fd55b7d7bac220d8da95', expanded: this.mode === "edit", label: this.mode === "view" ? this.text("edit") : this.text("view"), icon: this.mode === "view" ? "pencil" : "check", variant: "tertiary", onDsoClick: this.toggleMode }))), this.mode === "edit" && h("slot", { key: '0e39fdfe7c793662d53c57c1c790e4e53c168123', name: "options" }), h("slot", { key: '7d8490e439f878271259a5c5bfad62ed5dfe62bd' })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "dso-legend-group"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,7 +60,7 @@ export class LegendItem {
|
|
|
60
60
|
const accessibleLabel = label?.textContent
|
|
61
61
|
? this.text("makeActive", { label: label.textContent.toLowerCase() })
|
|
62
62
|
: this.text("makeActiveDefault");
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '303c7ddca3e6779ce9bbefa891d09a98daf92afd', onMouseEnter: () => this.dsoMouseEnter.emit(), onMouseLeave: () => this.dsoMouseLeave.emit() }, h("div", { key: '772e960d48c62dd8ed5f035191f39d5676a3290b', class: clsx("legend-item", { "legend-item-symbol": hasSymbol }) }, hasSymbol && (h("div", { key: '82cc6c2ca9fa5b75cad03185416109d23f6ca086' }, h("slot", { key: '401c7d2f991b5718eb9a0187b272fbcf86e6f067', name: "symbol" }))), h("div", { key: '29f0e127a2ad71f82132ca6de363de9edf9368dc' }, h("slot", { key: 'dc21e1f62471652d940f4e78c1417e4f1fb99fac', name: "label" })), this.disabled && this.disabledMessage && (h("dso-info-button", { key: '1d40419b908d45216c2a83e42b4f675aa4a682cc', label: this.text("disabledInfo"), toggletipPlacement: "bottom" }, h("div", { key: 'f0ff311f69b6d6a3e0b01f1e66fbfabfd7476b10', slot: "toggletip" }, this.disabledMessage))), h("div", { key: '8f8e201b6730f2ac177452b0aed27b1f077375c5', class: "legend-item-right-content" }, this.renderRightContent(hasOptions, accessibleLabel))), hasOptions && (h("div", { key: '190d57da182375676f885799db52faf1db7b3e23', hidden: this.disabled || !this.showOptions, class: "options" }, h("slot", { key: '8a69fc826eac7ff7f70ffa0280a5452398bb27dc', name: "options" })))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "dso-legend-item"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,6 +3,9 @@ import { clsx } from "clsx";
|
|
|
3
3
|
import { i18n } from "../../utils/i18n";
|
|
4
4
|
import { isModifiedEvent } from "../../utils/is-modified-event";
|
|
5
5
|
import { translations } from "./legend.i18n";
|
|
6
|
+
/**
|
|
7
|
+
* @slot - Content to be displayed inside the active tab panel of the legend.
|
|
8
|
+
*/
|
|
6
9
|
export class Legend {
|
|
7
10
|
constructor() {
|
|
8
11
|
/**
|
|
@@ -63,7 +66,7 @@ export class Legend {
|
|
|
63
66
|
this.moveFocusToTab(next);
|
|
64
67
|
}
|
|
65
68
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '6c068495df817506eb9cb36c180014ca2b576e83' }, h("div", { key: 'd1894347ffa291f9f2a1ea2184f3290c654a26a5', class: "topbar" }, h("div", { key: '37770064ed8439b568a1a842c3f9d30a7b1bb5d4', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, this.tabItems.map((tabItem) => (h("button", { class: clsx("tab", { active: tabItem.active }), role: "tab", "aria-selected": tabItem.active ? "true" : "false", ...(!tabItem.active ? { tabIndex: -1 } : {}), onClick: this.clickHandler }, tabItem.label)))), h("dso-icon-button", { key: 'b355c1a19204d9c348e74cd59d628e6fc8aba252', icon: "cross", variant: "tertiary", label: this.text("closeLegend"), class: "close-button", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e.detail.originalEvent }) })), h("dso-scrollable", { key: '4a92cff1f0be3ac4f0cdb562061a5b39ea374c88', class: "content" }, h("div", { key: 'e8eaea56938f7d41e344fff4818bef8f18fe54b0', role: "tabpanel", tabIndex: 0 }, h("slot", { key: '358aee3d3b750d7b3794e072444e048a5f5d3960' })))));
|
|
67
70
|
}
|
|
68
71
|
static get is() { return "dso-legend"; }
|
|
69
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Fragment, forceUpdate, h, } from "@stencil/core";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
|
+
/**
|
|
4
|
+
* @slot subcontent - An optional slot for additional content or details displayed below the main label.
|
|
5
|
+
*/
|
|
3
6
|
export class ListButton {
|
|
4
7
|
constructor() {
|
|
5
8
|
this.focusIncrementButtonAfterRender = false;
|
|
@@ -73,7 +76,7 @@ export class ListButton {
|
|
|
73
76
|
}
|
|
74
77
|
render() {
|
|
75
78
|
const selected = this.checked || (this.count !== undefined && this.count > 0);
|
|
76
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: 'd3644ab7e77bf40681ddb59eea4a22888901c570', class: clsx(["dso-button-group", { "dso-disabled": this.disabled }]) }, h("div", { key: '120cb93aa13da1af6a302568c656b305853e8a99', class: clsx(["dso-list-button", { "dso-selected": selected, "dso-single-count": this.count === 1 }]), onClick: (e) => this.handleSelectClick(e) }, h("dso-selectable", { key: '872fff0f578b7dccac9da8277f66043e0b4fb69a', type: "checkbox", value: "list-button", name: "naam", checked: selected, disabled: this.disabled }, h("span", { key: 'd51e140b406f8b44fb25232c299d5a70da078da9' }, this.label, this.sublabel && h("span", { key: '0d20ddc4f3a14c25087bd930329ac1975a93f755', class: "sr-only" }, " ", this.sublabel), this.subcontentSlot && (h("span", { key: '681d918e121d94fa4fda584214d4aa5eabd297ca', class: "sr-only" }, this.subcontentPrefix && this.subcontentPrefix + ":", " ", h("span", { key: 'f40f2c952ac87d5b76a8ae320017b14e88ad852c', innerHTML: this.subcontentSlot.innerHTML }))))), this.sublabel && h("span", { key: 'f76a4848772f4bf0a5b8f5946f27ec14299a95fd', class: "dso-sublabel" }, this.sublabel), this.subcontentSlot && (h("div", { key: '14eeb4c1c407e60fb291c165766d112a113bc254', class: "subcontent" }, h("slot", { key: 'eca53ee9df2530e2f7afe2d3c1ea8e3b7c636060', name: "subcontent" })))), this.count !== undefined && this.count > 0 && (h("div", { key: '9a56f8316ce47ac57857b4ce3decfec62614d06c', class: "dso-input-number" }, this.count > 1 && (h(Fragment, { key: '6700e317b346d22ae2d08cb31edd258882b416d4' }, h("dso-icon-button", { key: 'a7a057bfbe51b65a06540e0b66d09ee067fd2a0e', label: "Aantal verlagen", variant: "tertiary", icon: "minus-circle-outline", disabled: this.count === Number(this.min) || this.disabled, onDsoClick: (e) => this.stepValue(e, "decrement") }), h("span", { key: '7ca7446e17b4b072211999f64e517996896535b2', class: "dso-input-step-counter", "aria-hidden": "true" }, this.count))), h("span", { key: 'ac8205f92db130439d29ef164aca60aa1535fae7', class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.count), h("dso-icon-button", { key: 'b926a293e367d9321ec68e8ed4e3ab5716343172', ref: (element) => (this.incrementButton = element), label: "Aantal verhogen", variant: "tertiary", icon: "plus-circle-outline", disabled: this.count === Number(this.max) || this.disabled, onDsoClick: (e) => this.stepValue(e, "increment") })))));
|
|
77
80
|
}
|
|
78
81
|
static get is() { return "dso-list-button"; }
|
|
79
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class Logo {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
return (h(Fragment, null, this.logoUrl ? (h("a", { class: "logo-url", href: this.logoUrl, onClick: this.handleLogoClick }, h(DsoLogo, { name: this.name }))) : (h(DsoLogo, { name: this.name })), this.label &&
|
|
26
|
-
(!this.labelUrl ? (h("span", { class: "logo-label" }, this.label)) : (h("a", { class: "logo-label-url", href: this.labelUrl, onClick: this.handleLabelClick }, h("span", { class: "logo-label" }, this.label)))), this.ribbon && h("div", { key: '
|
|
26
|
+
(!this.labelUrl ? (h("span", { class: "logo-label" }, this.label)) : (h("a", { class: "logo-label-url", href: this.labelUrl, onClick: this.handleLabelClick }, h("span", { class: "logo-label" }, this.label)))), this.ribbon && h("div", { key: '86a4d9220c375b2a1ee36d0869bb0ae05550fa20', class: "logo-ribbon" }, this.ribbon)));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "dso-logo"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,7 +26,7 @@ export class MapBaseLayers {
|
|
|
26
26
|
for (const ref in this.selectableRefs) {
|
|
27
27
|
delete this.selectableRefs[ref];
|
|
28
28
|
}
|
|
29
|
-
return (h("fieldset", { key: '
|
|
29
|
+
return (h("fieldset", { key: '32f9731a43d98d5c95e7e4c59eb75ed99c4e13f0', class: "form-group dso-radios" }, h("legend", { key: '0a98b66618dbb14e5474102d92158db7d4265174', class: "sr-only" }, "Achtergrond"), h("div", { key: '80d1f27dd85349dee52494b02cd9770f5b6bde47', class: "dso-label-container" }, h("span", { key: 'a19020b81c243acc717ff921db85dee7c9289e39', class: "control-label", "aria-hidden": "true" }, this.text("background"))), h("div", { key: 'c7c8fa3dc0e71dc1247340a374ced61f2d9979ae', class: "dso-field-container" }, this.baseLayers.map((baseLayer) => (h("dso-selectable", { key: baseLayer.id, type: "radio", value: baseLayer.name, checked: baseLayer.checked, disabled: baseLayer.disabled, name: this.group, ref: (ref) => ref && (this.selectableRefs[baseLayer.id] = ref), onDsoChange: () => this.baseLayerChangeHandler(baseLayer) }, baseLayer.name, baseLayer.info ? h("p", { slot: "info" }, baseLayer.info) : null))))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "dso-map-base-layers"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,6 +21,9 @@ import { translations } from "./map-controls.i18n";
|
|
|
21
21
|
// Sync with $transition-duration in ./map-controls.scss and map-controls.cy.ts
|
|
22
22
|
const transitionDuration = 300;
|
|
23
23
|
const transitionFallbackDuration = transitionDuration + 50;
|
|
24
|
+
/**
|
|
25
|
+
* @slot - The content to be displayed inside the map controls panel.
|
|
26
|
+
*/
|
|
24
27
|
export class MapControls {
|
|
25
28
|
constructor() {
|
|
26
29
|
/**
|
|
@@ -102,7 +105,7 @@ export class MapControls {
|
|
|
102
105
|
this.clearPostTransitionTimeout();
|
|
103
106
|
}
|
|
104
107
|
render() {
|
|
105
|
-
return (h(Fragment, { key: '
|
|
108
|
+
return (h(Fragment, { key: 'e971c1d2415789e8e9749483e2b313be50d9051c' }, h("dso-icon-button", { key: 'bc5e0fc5c65bee84669dd9d70a06f9d75582e2ea', expanded: this.open, label: this.text("layersButton"), icon: "layers", variant: "map", "aria-controls": __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f"), tooltipPlacement: "left", class: "toggle-visibility-icon-button", onDsoClick: (e) => this.toggleVisibilityInternal(e.detail.originalEvent, __classPrivateFieldGet(this, _MapControls_toggleIconButtonElement, "f")), ref: (element) => (__classPrivateFieldSet(this, _MapControls_toggleIconButtonElement, element, "f")) }), h("button", { key: '5b87f7e41bd345fa74b325fab8f84b359b9edd8e', type: "button", class: "dso-map toggle-visibility-button", "aria-controls": __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f"), "aria-expanded": this.open ? "true" : "false", onClick: (e) => this.toggleVisibilityInternal(e, __classPrivateFieldGet(this, _MapControls_toggleButtonElement, "f")), ref: (element) => (__classPrivateFieldSet(this, _MapControls_toggleButtonElement, element, "f")) }, h("dso-icon", { key: '6f8589d6de460639111412db326d4666671f4bd3', icon: "layers" }), h("span", { key: '7d8747e9d8d7f1c72f560ef30878e769d1efdc3b' }, this.text("layersButton"))), h("dso-button-group", { key: '1b2639df829a0e75bb0a69c4069310a1d52ee69a', class: "zoom-buttons", direction: "column" }, h("dso-icon-button", { key: 'f36d1eda860ac321a147cac503f59829d8d0ff48', label: this.text("zoomIn"), icon: "plus", variant: "map", tooltipPlacement: "left", onDsoClick: (e) => this.dsoZoomIn.emit(e.detail.originalEvent), disabled: this.disableZoom === "in" || this.disableZoom === "both" }), h("dso-icon-button", { key: 'adf54cf334ffa53012a6496b1e34b12f9545a954', label: this.text("zoomOut"), icon: "minus", variant: "map", tooltipPlacement: "left", onDsoClick: (e) => this.dsoZoomOut.emit(e.detail.originalEvent), disabled: this.disableZoom === "out" || this.disableZoom === "both" })), h("section", { key: 'a9838d9100c0103bb54d7a8ca29310d3f93be6f7', id: __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f"), hidden: this.hideContent, role: "region", onKeyDown: this.handlePanelKeyDown, "aria-labelledby": __classPrivateFieldGet(this, _MapControls_mapLayersPanelId, "f") }, h("header", { key: '9fe65db827459c2787d7527216ba3e995b0c4dbf' }, h("h2", { key: '9b99536205b24aa3d6b16c560f77ca76d6e01346', id: __classPrivateFieldGet(this, _MapControls_mapLayersTitleId, "f"), tabIndex: -1 }, this.text("title")), h("dso-icon-button", { key: 'd20262a08c37a2ebcd3ff527968989aa7b4723b3', class: "close-button", label: this.text("hidePanel", { title: this.text("title") }), icon: "cross", variant: "tertiary", onDsoClick: (e) => this.toggleVisibility(e.detail.originalEvent), ref: (element) => (__classPrivateFieldSet(this, _MapControls_closeIconButtonElement, element, "f")) })), h("dso-scrollable", { key: '9518d05c37f06d64ae372800e222436619a59d48' }, h("div", { key: '5c74217caf3fc0b904d6c3ffe125d40ff0542046', class: "content" }, h("slot", { key: 'a9046dcf8c6fc256e35a8e724dcf7301bf9e5477' }))))));
|
|
106
109
|
}
|
|
107
110
|
static get is() { return "dso-map-controls"; }
|
|
108
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class MapLayerObject {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'c5e36548e72bc0666a85700c7330b4c365b9131d', onMouseEnter: () => this.dsoMouseEnter.emit(), onMouseLeave: () => this.dsoMouseLeave.emit() }, h(WrapWijzigactie, { key: '9e31367c278552bab3afd29c3dc6637e90501f8a', wijzigactie: this.wijzigactie }, h("div", { key: 'cf6d64912b3f5bb096f320813fc9df3d9cec2f4b', class: "map-layer-object" }, h("div", { key: 'b8efba7c6f35b4f110893fe46be311eb97f923d4' }, h("slot", { key: 'a05039fa9312f4179c3a6ee151f42f761dab26a5', name: "symbol" })), h("div", { key: '3740dd114f54aac8e74ee540b7c9d0e3a7e59451', class: "map-layer-object-heading" }, h("slot", { key: '57e725ad958d33d05deb20ed3c10ec8ee0e6ddbf' }), h("slot", { key: '7e970de4584de11ca1fc7f89bf6feb3ee13689a2', name: "label" })), h("div", { key: '9e996e8eea7be087bcda0e9e004e6244e259de33', class: "slide-toggle-container" }, h("dso-slide-toggle", { key: '377be68d382a3101f63aea3791b5d657a168a2d5', accessibleLabel: "Toon op kaart", checked: this.active, onDsoActiveChange: this.handleActiveChange }))))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "dso-map-layer-object"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class MapLayer {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(WrapWijzigactie, { key: '
|
|
24
|
+
return (h(WrapWijzigactie, { key: '99a7229c6388ad25695e476197f941bcdea55b88', wijzigactie: this.wijzigactie }, h("div", { key: '98d03ba3f85b59495d96ab46f6f1996815faad63', class: "map-layer" }, h("div", { key: '9ba4d21e9b9e824d24d7871ead06bbddae5de207', class: "map-layer-heading" }, h("slot", { key: '3c63937a916e8d5634a6d790846bfc9bfe622119', name: "name" }), h("slot", { key: '2d782c560f9bee942551b74d60c61e5cc060b791', name: "label" })), this.activatable && (h("div", { key: '02cceff7f735c4ec409caf0fb84141a0d77dace3', class: "slide-toggle-container" }, h("dso-slide-toggle", { key: '6df0f748c64cd574e342abf066bed1f5fb19f703', accessibleLabel: "Toon op kaart", checked: this.active, onDsoActiveChange: this.handleActiveChange })))), h("slot", { key: '363055caf13ec1542ab5c20738edbf76a2dd5899' })));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "dso-map-layer"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,8 +75,11 @@
|
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
align-items: center;
|
|
77
77
|
gap: 16px;
|
|
78
|
-
padding-inline
|
|
78
|
+
padding-inline: 16px;
|
|
79
|
+
}
|
|
80
|
+
.map-message-content.has-icon {
|
|
79
81
|
padding-inline-end: 16px;
|
|
82
|
+
padding-inline-start: calc(24px + 24px);
|
|
80
83
|
}
|
|
81
84
|
.map-message-content .map-message-body {
|
|
82
85
|
position: relative;
|
|
@@ -5,7 +5,7 @@ const iconMap = {
|
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* @slot message - The message content announced as status/alert text.
|
|
8
|
-
* @slot actions - Optional action controls
|
|
8
|
+
* @slot actions - Optional action controls.
|
|
9
9
|
*/
|
|
10
10
|
export class MapMessage {
|
|
11
11
|
constructor() {
|
|
@@ -46,11 +46,11 @@ export class MapMessage {
|
|
|
46
46
|
render() {
|
|
47
47
|
const iconName = this.variant ? iconMap[this.variant] : undefined;
|
|
48
48
|
const role = this.variant === "error" ? "alert" : "status";
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '3235f6e82ae29895043ea1c3d051854cc5084f34', class: {
|
|
50
50
|
"map-message-content": true,
|
|
51
51
|
"has-icon": iconName !== undefined,
|
|
52
52
|
"has-actions": this.hasActions,
|
|
53
|
-
} }, h("div", { key: '
|
|
53
|
+
} }, h("div", { key: '600afa1ea9074f6c27280f8f391c5776288e2fd2', class: "map-message-body", role: role, "aria-atomic": "true" }, iconName && h("dso-icon", { key: '3e27800ca4c87da94581709b391f1b62f089c5fe', class: "map-message-icon", icon: iconName, "aria-hidden": "true" }), h("span", { key: 'd1e23d701100f53a179a07d7644696bf6ae71e05', class: "map-message-text" }, this.showMessage && h("slot", { key: 'fc246e98b1d51c72e83a392dcb7ada8c8792d199', name: "message" }))), h("slot", { key: '1803667d5307032c00048031eac58ee8de489d50', name: "actions", onSlotchange: this.handleActionsSlotChange })));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "dso-map-message"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class MapOverlays {
|
|
|
27
27
|
for (const ref in this.selectableRefs) {
|
|
28
28
|
delete this.selectableRefs[ref];
|
|
29
29
|
}
|
|
30
|
-
return (h("fieldset", { key: '
|
|
30
|
+
return (h("fieldset", { key: 'e4d6d6220ea5a68d34056ab269b78eea5482270a', class: "form-group dso-checkboxes" }, h("legend", { key: 'c4603b4778ff2fc9fd7b5691ffa18a3870437f46', class: "sr-only" }, "Kaartlagen"), h("div", { key: 'f8d0ccb41b50cbcd3e401c22f518015d43882daa', class: "dso-label-container" }, h("span", { key: 'd33e234e0df6ad31870ed3e3c571616c82724acf', class: "control-label", "aria-hidden": "true" }, this.text("title"))), h("div", { key: '7608b54517d7a4af4b6fe855617942477a3b26f9', class: "dso-field-container" }, this.overlays.map((overlay) => (h("dso-selectable", { key: overlay.id, type: "checkbox", value: overlay.name, checked: overlay.checked, disabled: overlay.disabled, name: this.group, ref: (ref) => ref && (this.selectableRefs[overlay.id] = ref), onDsoChange: (e) => this.overlayChangeHandler(overlay, e) }, overlay.name, overlay.info ? h("p", { slot: "info" }, overlay.info) : null))))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "dso-map-overlays"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|