@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
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
2
|
import { v4 } from "uuid";
|
|
3
|
+
/**
|
|
4
|
+
* @slot - Optional visible label text for the slide toggle.
|
|
5
|
+
*/
|
|
3
6
|
export class SlideToggle {
|
|
4
7
|
constructor() {
|
|
5
8
|
/**
|
|
@@ -25,7 +28,7 @@ export class SlideToggle {
|
|
|
25
28
|
this.hasVisibleLabel = this.host.querySelector("*") !== null;
|
|
26
29
|
}
|
|
27
30
|
render() {
|
|
28
|
-
return (h(Fragment, { key: '
|
|
31
|
+
return (h(Fragment, { key: '64a97f9d83968bdebbc47b3bb4a3a2351505ad61' }, h("button", { key: '692a3db28c1d319ad3da63d632f0064b7e08af75', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e), ...(this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), ...(this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {}) }, h("svg", { key: '4b4f22a4128da3c283c57c182705534df87cecb2', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '948390a81782cfe675544c9e79863cd966bb0a08', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '690fb1aa53236f9d8ab8fd37043d4c8a63a86f01', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: '9a34f945b81e9796438d1044d199feafc9404e5e', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: 'c2de4147452d4a3266261f902fc2cc1704310d04', htmlFor: this.identifier }, h("slot", { key: 'a03022da8ddce1a038652c88b43f6cb6e59e07d1' })))));
|
|
29
32
|
}
|
|
30
33
|
static get is() { return "dso-slide-toggle"; }
|
|
31
34
|
static get encapsulation() { return "scoped"; }
|
|
@@ -18,10 +18,10 @@ export class SurveyRating {
|
|
|
18
18
|
"Makkelijk",
|
|
19
19
|
"Heel makkelijk",
|
|
20
20
|
];
|
|
21
|
-
return (h("dso-panel", { key: '
|
|
21
|
+
return (h("dso-panel", { key: 'f71feb379730da313da81cfa870a94972cbfdd1d', emphasized: true, onDsoCloseClick: (e) => this.dsoClose.emit({ originalEvent: e }), role: "dialog", "aria-labelledby": "panel-heading" }, h("h2", { key: 'f288a70a39f39f5a8713db685ba6aec0edf091b7', id: "panel-heading", slot: "heading" }, "Help ons met een onderzoek"), h("strong", { key: '740079e482fd986f4087c0406efd32f5c5d79f91' }, "Hoe moeilijk of makkelijk was deze taak om uit te voeren?"), h("form", { key: '328fb7f100fb6016562a0fb7f50d9650783fbf7e', onSubmit: (e) => this.handleForm(e) }, h("div", { key: '5d220f3fa422599f46e3aab711b307b755a4a0dc', class: "visual-rating-labels", "aria-hidden": "true" }, h("span", { key: 'b2d5f2934c03361231708b91a7e442ea635b93e1' }, "Heel moeilijk"), h("span", { key: '33ccc8a4d43de5ac05a4066321ef0396b66069e8' }, "Heel makkelijk")), h("div", { key: '0c90046e5e8752425bae3187dd729e33b8383530', role: "radiogroup" }, ratings.map((rating, index) => {
|
|
22
22
|
const ratingNumber = index + 1;
|
|
23
23
|
return (h(Fragment, null, h("label", { class: `survey-rating-${ratingNumber}` }, ratingNumber, h("span", { class: "sr-only" }, rating), h("input", { type: "radio", name: "rating", value: ratingNumber, checked: ratingNumber === this.rating, onChange: (e) => this.handleChange(e) }))));
|
|
24
|
-
})), h("button", { key: '
|
|
24
|
+
})), h("button", { key: '41e151e08f5e9e83498b07e9f512d5c19ae92d03', type: "submit", class: "dso-secondary" }, h("span", { key: '10ea4788787c0d3c360ed371ab76eb7fbbbc1ec2' }, "Antwoord verzenden")))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "dso-survey-rating"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { Fragment, Host, h } from "@stencil/core";
|
|
2
2
|
import debounce from "debounce";
|
|
3
3
|
import { v4 as uuidv4 } from "uuid";
|
|
4
|
+
/**
|
|
5
|
+
* @slot - A slot to place the target HTML `<table>` element in.
|
|
6
|
+
* @slot open-modal-button - An internal slot used for rendering the open-modal trigger button.
|
|
7
|
+
*/
|
|
4
8
|
export class Table {
|
|
5
9
|
constructor() {
|
|
6
10
|
this.shouldFocusButton = false;
|
|
@@ -55,7 +59,7 @@ export class Table {
|
|
|
55
59
|
render() {
|
|
56
60
|
const caption = this.host.querySelector(":scope > table > caption")?.textContent?.trim();
|
|
57
61
|
const dialogLabel = caption || "Uitvergrote tabel";
|
|
58
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: 'cc679e90e830606f3b1d131fe537ecde181444eb', "is-responsive": this.isResponsive?.toString() }, this.modalActive && this.placeholderHeight && (h("div", { key: 'b3d883e89ebbf1918aa23c2a1d2ae35eb8e713cd', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive ? (h("dso-modal", { modalTitle: caption ? dialogLabel : undefined, closable: true, returnFocus: false, onDsoClose: () => this.closeModal() }, !caption && (h("span", { slot: "body", class: "sr-only" }, dialogLabel)), h("div", { slot: "body", class: "dso-table-body" }, h("slot", null)))) : (h(Fragment, null, h("div", { class: "dso-table-utilities", hidden: !this.isResponsive && this.noModal }, this.isResponsive && (h("div", { class: "dso-responsive-message" }, h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && h("slot", { name: "open-modal-button" })), h("div", { class: "dso-table-body" }, h("slot", null))))));
|
|
59
63
|
}
|
|
60
64
|
openModal() {
|
|
61
65
|
this.placeholderHeight = this.host.clientHeight;
|
|
@@ -60,7 +60,7 @@ export class Tabs {
|
|
|
60
60
|
this.mutationObserver?.disconnect();
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'fa4be67628f85d5b548517c20ee61528c51b922d' }, h("div", { key: '6fda62a4edb0115bd4ccc259d4bd8d3e69f077a3', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, h("slot", { key: '1fa41f7e9e6968ca70ecbe6315b535d24be71707' })), h("div", { key: 'c63df74e37ac2a44c6f5472026e57c2390e6ef70', role: "tabpanel", tabindex: "0" }, h("slot", { key: 'f9c438558d37b90a5977c2fc5d4a32911f9a44e3', name: "panel" }))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "dso-tabs"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot - A slot to place the primary banner text or message.
|
|
4
|
+
* @slot button - A slot to place an action button in.
|
|
5
|
+
*/
|
|
2
6
|
export class TijdreisBanner {
|
|
3
7
|
render() {
|
|
4
|
-
return (h(Fragment, { key: '
|
|
8
|
+
return (h(Fragment, { key: '8c13ab50b35a92848d72b776ce5b3875c5e67086' }, h("dso-icon", { key: 'a3b0e70442176974a04b9fe2bea036e5361f7bed', icon: "clock-outline" }), h("slot", { key: 'a482014428a92ad7fdea8f56ee28ce1716be2725' }), h("slot", { key: '8bcd260f712ecdcc67e0b70433e7b9a8e7af6012', name: "button" })));
|
|
5
9
|
}
|
|
6
10
|
static get is() { return "dso-tijdreis-banner"; }
|
|
7
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -170,7 +170,7 @@ export class TreeView {
|
|
|
170
170
|
return false;
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
|
-
return (h("div", { key: '
|
|
173
|
+
return (h("div", { key: 'cfd4a4c97f9a9a19d63ca06da1d85e49b17d7241', id: "tree", class: "dso-tree", onKeyDown: (e) => this.keyDownListener(e), ref: (element) => (this.tree = element) }, h("ul", { key: '4c178feeb364c23f883d46e3afef5bba6ea412e4', role: "tree", "aria-label": "Objectenboom" }, this.collection?.map((item, index) => (h(DsoTreeItem, { owner: this, ancestors: [], item: item, index: index, level: 1, setSize: this.collection.length }))))));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "dso-tree-view"; }
|
|
176
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
*,
|
|
45
|
+
*::after,
|
|
46
|
+
*::before {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host {
|
|
51
|
+
display: block;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.dso-truncate-content {
|
|
55
|
+
display: inline-block;
|
|
56
|
+
max-inline-size: 100%;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
text-overflow: ellipsis;
|
|
60
|
+
vertical-align: bottom;
|
|
61
|
+
text-decoration: inherit;
|
|
62
|
+
}
|
|
63
|
+
.dso-truncate-content:focus-visible {
|
|
64
|
+
border-radius: 2px;
|
|
65
|
+
outline-offset: 3px;
|
|
66
|
+
outline: 3px solid #008ccc;
|
|
67
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { TooltipController } from "../../functional-components/tooltip/tooltip.controller";
|
|
3
|
+
import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-component";
|
|
4
|
+
const truncationChecks = new WeakMap();
|
|
5
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
6
|
+
for (const { target } of entries) {
|
|
7
|
+
truncationChecks.get(target)?.();
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
/** @slot - Content to truncate. */
|
|
11
|
+
export class Truncate {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.truncated = false;
|
|
14
|
+
this.tooltipController = new TooltipController({
|
|
15
|
+
getReferenceElement: () => this.contentElement,
|
|
16
|
+
getTipElement: () => this.tooltipElement,
|
|
17
|
+
getTipArrowElement: () => this.tooltipArrowElement,
|
|
18
|
+
getPlacement: () => "top",
|
|
19
|
+
});
|
|
20
|
+
this.checkTruncation = () => {
|
|
21
|
+
if (this.contentElement) {
|
|
22
|
+
this.truncated = this.hasEllipses(this.contentElement);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.updateTooltipContent = () => {
|
|
26
|
+
if (this.slotElement && this.tooltipContentElement) {
|
|
27
|
+
const clonedNodes = this.slotElement
|
|
28
|
+
.assignedNodes({ flatten: true })
|
|
29
|
+
.map((node) => this.cloneNodeRecursive(node));
|
|
30
|
+
this.tooltipContentElement.replaceChildren(...clonedNodes);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
this.showTooltip = () => {
|
|
34
|
+
if (this.truncated) {
|
|
35
|
+
this.updateTooltipContent();
|
|
36
|
+
this.tooltipController.show();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
this.hideTooltip = () => {
|
|
40
|
+
this.tooltipController.hide();
|
|
41
|
+
};
|
|
42
|
+
this.setTooltipContentElement = (element) => {
|
|
43
|
+
this.tooltipContentElement = element;
|
|
44
|
+
};
|
|
45
|
+
this.setContentElement = (element) => {
|
|
46
|
+
if (this.contentElement) {
|
|
47
|
+
this.unobserve(this.contentElement);
|
|
48
|
+
}
|
|
49
|
+
this.contentElement = element;
|
|
50
|
+
if (this.contentElement) {
|
|
51
|
+
this.observe(this.contentElement);
|
|
52
|
+
this.checkTruncation();
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
keyDownListener(event) {
|
|
57
|
+
if (this.truncated && event.key === "Escape") {
|
|
58
|
+
this.hideTooltip();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
observe(element) {
|
|
62
|
+
truncationChecks.set(element, this.checkTruncation);
|
|
63
|
+
resizeObserver.observe(element);
|
|
64
|
+
}
|
|
65
|
+
unobserve(element) {
|
|
66
|
+
resizeObserver.unobserve(element);
|
|
67
|
+
truncationChecks.delete(element);
|
|
68
|
+
}
|
|
69
|
+
hasEllipses(element) {
|
|
70
|
+
return element.scrollWidth > element.clientWidth;
|
|
71
|
+
}
|
|
72
|
+
copyCustomElementProperties(source, target) {
|
|
73
|
+
if (source instanceof HTMLElement && target instanceof HTMLElement) {
|
|
74
|
+
const prototype = Object.getPrototypeOf(source);
|
|
75
|
+
for (const property of Object.getOwnPropertyNames(prototype)) {
|
|
76
|
+
if (property === "constructor" || property === "text") {
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
const descriptor = Object.getOwnPropertyDescriptor(prototype, property);
|
|
80
|
+
if (!descriptor?.get || !descriptor.set) {
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
const value = Reflect.get(source, property);
|
|
84
|
+
if (value !== undefined) {
|
|
85
|
+
Reflect.set(target, property, value);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
cloneNodeRecursive(node) {
|
|
91
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
92
|
+
return node.cloneNode();
|
|
93
|
+
}
|
|
94
|
+
if (!(node instanceof HTMLElement)) {
|
|
95
|
+
return node.cloneNode(true);
|
|
96
|
+
}
|
|
97
|
+
const clone = node.cloneNode(false);
|
|
98
|
+
for (const child of Array.from(node.childNodes)) {
|
|
99
|
+
clone.appendChild(this.cloneNodeRecursive(child));
|
|
100
|
+
}
|
|
101
|
+
this.copyCustomElementProperties(node, clone);
|
|
102
|
+
return clone;
|
|
103
|
+
}
|
|
104
|
+
connectedCallback() {
|
|
105
|
+
if (this.contentElement) {
|
|
106
|
+
this.observe(this.contentElement);
|
|
107
|
+
this.checkTruncation();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
disconnectedCallback() {
|
|
111
|
+
if (this.contentElement) {
|
|
112
|
+
this.unobserve(this.contentElement);
|
|
113
|
+
}
|
|
114
|
+
this.tooltipController.dispose();
|
|
115
|
+
}
|
|
116
|
+
render() {
|
|
117
|
+
return (h(Host, { key: '7044e989155cf26d80d85d664059ea505df09498' }, h("span", { key: 'dbf788a0775a4be2dc276737c9095fd26470b13c', class: "dso-truncate-content", ref: this.setContentElement, tabindex: this.truncated ? 0 : undefined, onMouseEnter: this.showTooltip, onMouseLeave: this.hideTooltip, onFocus: this.showTooltip, onBlur: this.hideTooltip }, h("slot", { key: 'cb197369b2da8df36102e4ba0f93d2b1a6130da2', ref: (element) => (this.slotElement = element) })), h(Tooltip, { key: '53ab33a7445a4774fcdba91af4c702dae9f5c2a2', tipElementRef: (element) => (this.tooltipElement = element), tipArrowElementRef: (element) => (this.tooltipArrowElement = element) }, h("div", { key: '5c7ad1a1275b527530fca85e0ebbb312a391bf4b', ref: this.setTooltipContentElement, "aria-hidden": "true" }))));
|
|
118
|
+
}
|
|
119
|
+
static get is() { return "dso-truncate"; }
|
|
120
|
+
static get encapsulation() { return "shadow"; }
|
|
121
|
+
static get originalStyleUrls() {
|
|
122
|
+
return {
|
|
123
|
+
"$": ["truncate.scss"]
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
static get styleUrls() {
|
|
127
|
+
return {
|
|
128
|
+
"$": ["truncate.css"]
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
static get states() {
|
|
132
|
+
return {
|
|
133
|
+
"truncated": {}
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
static get listeners() {
|
|
137
|
+
return [{
|
|
138
|
+
"name": "keydown",
|
|
139
|
+
"method": "keyDownListener",
|
|
140
|
+
"target": "document",
|
|
141
|
+
"capture": false,
|
|
142
|
+
"passive": false
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -16,13 +16,9 @@ const buttonWidth = 40;
|
|
|
16
16
|
const tabViewBreakpoint = 992 + buttonWidth;
|
|
17
17
|
const minMapElementWidth = 440;
|
|
18
18
|
/**
|
|
19
|
-
* @slot top-bar -
|
|
20
|
-
* @slot
|
|
21
|
-
* @slot map
|
|
22
|
-
* @slot legend - Een slot die kan worden gevuld met een legend component.
|
|
23
|
-
* @slot filter-panel
|
|
24
|
-
* @slot overlay
|
|
25
|
-
* @slot document-panel
|
|
19
|
+
* @slot top-bar - An optional slot to place content above the main viewer grid layout.
|
|
20
|
+
* @slot map - A slot for the map content displayed within the map area.
|
|
21
|
+
* @slot legend - An optional slot to place legend content in the map area.
|
|
26
22
|
*/
|
|
27
23
|
export class ViewerGrid {
|
|
28
24
|
constructor() {
|
|
@@ -164,9 +160,9 @@ export class ViewerGrid {
|
|
|
164
160
|
}
|
|
165
161
|
render() {
|
|
166
162
|
const tabs = viewerGridTabs.filter((tab) => tab !== "document" || this.documentPanelOpen);
|
|
167
|
-
return (h(Fragment, { key: '
|
|
163
|
+
return (h(Fragment, { key: 'a4a2d506d887502495e82994af7dc5fadb04c72d' }, h("slot", { key: '2cce5a91ca55e0e99b14113d84711f6b8ea64016', name: "top-bar" }), h("div", { key: '07712c49f0c2b374d9beb3423e63b1a22e3aa49f', class: "viewer-grid-columns" }, this.tabView && (h("nav", { key: 'e412fb5363c99096e2756890a987a47461de78bd', class: "dso-navbar" }, h("ul", { key: '5d6c77f44c72bc8a03e44d83bbdc227ff3d9e484', class: "dso-nav dso-nav-sub" }, tabs.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", "aria-current": this.activeTab === tab ? "page" : undefined, onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && this.activeTab === "search") || this.print) && (h(MainPanel, { key: 'bc0bd828cf71d44f8c5112985ce60b899cf984d1', tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.tabView ? false : this.mainPanelHidden, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd, printFilterPanel: !this.tabView && this.filterPanelOpen && this.print ? this.renderFilterPanel() : undefined })), (!this.tabView || (this.tabView && this.activeTab === "search")) && !this.print && this.renderFilterPanel(), (!this.tabView || (this.tabView && this.activeTab === "map") || this.print) && (h("div", { key: 'aab029d2044d207bed52ef12d506257f659e349f', class: "map-area" }, h("div", { key: '242c712042871f3fcaee9b39259de06ffde3753a', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: '1514f9691361db4a6c2a968ddca090686d90bf7f', name: "map" })), h("slot", { key: '56b24a21ebf1bda91aa285520a4e3643a28e45dc', name: "legend" }))), ((!this.tabView && this.documentPanelOpen) ||
|
|
168
164
|
(this.tabView && this.activeTab === "document" && this.documentPanelOpen) ||
|
|
169
|
-
this.print) && (h(DocumentPanel, { key: '
|
|
165
|
+
this.print) && (h(DocumentPanel, { key: '9b6d0e936adb8f740a97d9470726b6732275434e', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: 'e795a3cdb870b1f932925e875950523bfeae736b', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) }))));
|
|
170
166
|
}
|
|
171
167
|
static get is() { return "dso-viewer-grid"; }
|
|
172
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { positionTooltip } from "./position-tooltip.function";
|
|
2
|
+
/**
|
|
3
|
+
* Shared controller for the positioning, showing, and hiding of a Toggletip.
|
|
4
|
+
*/
|
|
5
|
+
export class ToggletipController {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
this.options = options;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Position the Toggletip and show or hide it based on the `active` parameter.
|
|
11
|
+
*
|
|
12
|
+
* Intended to be called from `componentDidRender`.
|
|
13
|
+
*
|
|
14
|
+
* @param active Whether the Toggletip should be active.
|
|
15
|
+
*/
|
|
16
|
+
update(active) {
|
|
17
|
+
const tipRef = this.options.getTipElement();
|
|
18
|
+
if (!this.cleanUpFunction && active) {
|
|
19
|
+
const referenceElement = this.options.getReferenceElement();
|
|
20
|
+
const tipArrowRef = this.options.getTipArrowElement();
|
|
21
|
+
if (referenceElement && tipRef && tipArrowRef) {
|
|
22
|
+
this.cleanUpFunction = positionTooltip({
|
|
23
|
+
referenceElement,
|
|
24
|
+
tipRef,
|
|
25
|
+
tipArrowRef,
|
|
26
|
+
placementTip: this.options.getPlacement(),
|
|
27
|
+
restrictContentElement: this.options.getRestrictContentElement?.(),
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (this.cleanUpFunction) {
|
|
32
|
+
if (active) {
|
|
33
|
+
tipRef?.showPopover();
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
if (tipRef?.isConnected && tipRef.matches(":popover-open")) {
|
|
37
|
+
tipRef?.hidePopover();
|
|
38
|
+
}
|
|
39
|
+
this.cleanUpToggletip();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
dispose() {
|
|
44
|
+
this.cleanUpToggletip();
|
|
45
|
+
}
|
|
46
|
+
cleanUpToggletip() {
|
|
47
|
+
this.cleanUpFunction?.();
|
|
48
|
+
this.cleanUpFunction = undefined;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Determines whether an event originated outside `host`, based on `event.composedPath()`.
|
|
53
|
+
* Used for outside-dismiss handling of a Toggletip.
|
|
54
|
+
*/
|
|
55
|
+
export function isEventOutside(host, event) {
|
|
56
|
+
return !event.composedPath().includes(host);
|
|
57
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { positionTooltip } from "./position-tooltip.function";
|
|
2
|
+
/**
|
|
3
|
+
* Shared controller for the positioning, showing, and hiding of a Tooltip.
|
|
4
|
+
*/
|
|
5
|
+
export class TooltipController {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
this.options = options;
|
|
8
|
+
this.lastClickTime = 0;
|
|
9
|
+
this.doShow = () => {
|
|
10
|
+
const tipRef = this.options.getTipElement();
|
|
11
|
+
if (!tipRef?.isConnected) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
tipRef.showPopover();
|
|
15
|
+
if (!this.cleanUpFunction) {
|
|
16
|
+
const referenceElement = this.options.getReferenceElement();
|
|
17
|
+
const tipArrowRef = this.options.getTipArrowElement();
|
|
18
|
+
if (referenceElement && tipArrowRef) {
|
|
19
|
+
this.cleanUpFunction = positionTooltip({
|
|
20
|
+
referenceElement,
|
|
21
|
+
tipRef,
|
|
22
|
+
tipArrowRef,
|
|
23
|
+
placementTip: this.options.getPlacement(),
|
|
24
|
+
topPositionSmallViewPort: false,
|
|
25
|
+
halfMainAxisOffset: false,
|
|
26
|
+
forceVisible: true,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Registers a click to suppress the tooltip from (re)appearing within showDelay milliseconds after a click on the
|
|
34
|
+
* reference element.
|
|
35
|
+
*/
|
|
36
|
+
notifyClick() {
|
|
37
|
+
this.lastClickTime = Date.now();
|
|
38
|
+
}
|
|
39
|
+
show() {
|
|
40
|
+
const { showDelay = 0 } = this.options;
|
|
41
|
+
this.clearShowTimeout();
|
|
42
|
+
if (Date.now() - this.lastClickTime < showDelay) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
if (showDelay > 0) {
|
|
46
|
+
this.tooltipTimeout = window.setTimeout(this.doShow, showDelay);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.doShow();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
hide() {
|
|
53
|
+
this.clearShowTimeout();
|
|
54
|
+
const tipRef = this.options.getTipElement();
|
|
55
|
+
if (tipRef?.isConnected && tipRef.matches(":popover-open")) {
|
|
56
|
+
tipRef.hidePopover();
|
|
57
|
+
}
|
|
58
|
+
this.cleanUpTooltip();
|
|
59
|
+
}
|
|
60
|
+
dispose() {
|
|
61
|
+
this.clearShowTimeout();
|
|
62
|
+
this.cleanUpTooltip();
|
|
63
|
+
}
|
|
64
|
+
clearShowTimeout() {
|
|
65
|
+
if (this.tooltipTimeout) {
|
|
66
|
+
clearTimeout(this.tooltipTimeout);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
cleanUpTooltip() {
|
|
70
|
+
this.cleanUpFunction?.();
|
|
71
|
+
this.cleanUpFunction = undefined;
|
|
72
|
+
}
|
|
73
|
+
}
|
package/dist/components/alert.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as e,transformTag as i}from"@stencil/core/internal/client";import{c as d}from"./clsx.js";import{i as c}from"./i18n.js";import{d as a}from"./icon.js";import{d as s}from"./icon-button.js";const l={en:{"dso-alert":{close:"Close",success:"Success",info:"Notice",warning:"Warning",error:"Error"}},nl:{"dso-alert":{close:"Sluiten",success:"Gelukt",info:"Opmerking",warning:"Waarschuwing",error:"Fout"}}},b=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=t(this,"dsoClose",7),this.closable=!1,this.text=c((()=>this.host),l)}render(){const o=["success","info","warning","error"].includes(this.status);return o||console.warn(`Invalid status ${this.status}`),n("div",{key:"2f3804fc5cb8af7bb475beb0c1180167e12f0a29",class:d("alert",{[`alert-${this.status}`]:o},{"dso-compact":this.compact}),role:this.roleAlert?"alert":void 0},o&&n(e,null,!this.compact&&n("dso-icon",{key:"5157d1a6105065c9480eee40949f747d825b6963",class:"icon-status",icon:`status-${"info"===this.status?"info-solid":this.status}`,"aria-hidden":"true"}),n("span",{key:"4f0e4edba075e4973828b013e1268d2bebbd2779",class:"sr-only"},this.text(this.status),":")),n("slot",{key:"05793df0001cb3066913c67b1f1873a19e0cd805"}),this.closable&&n("dso-icon-button",{key:"c662d10b9bcbd003dd3bd19d878c25224a6ef795",label:this.text("close"),variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}))}get host(){return this}static get style(){return'*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}:host{display:block}:host(:not(:first-child)){margin-block-start:24px}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 1.5rem);min-block-size:56px;position:relative;border:1px solid transparent}@media screen and (min-width: 481px){.alert{padding-block:15px;padding-inline:54px 39px}.alert.dso-compact{padding-block:7px;padding-inline:15px 39px}}@media screen and (max-width: 480px){.alert{padding-block:54px 15px;padding-inline:15px}.alert.dso-compact{padding-block:7px;padding-inline:15px}}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px;min-block-size:16px}.alert.dso-compact::before{content:"";position:absolute;inset-block-start:-1px;inset-block-end:-1px;inset-inline-start:-9px;border-start-start-radius:8px;border-end-start-radius:8px;inline-size:8px}.alert.alert-error{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-info{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert.alert-success{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-warning{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f8f6cc;color:#191919;border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}::slotted(.dso-rich-content){--_dso-rich-content-margin-block-end:0;--_dso-rich-content-margin-block-start:0;--_dso-button-primary-color:#000;--_dso-button-primary-background-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-border-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-hover-color:#000;--_dso-button-primary-hover-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-hover-border-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-color:#000;--_dso-button-primary-active-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-border-color:rgba(25, 25, 25, 0.2);--_dso-heading-base-color:#000;--_dso-heading-h2-color:#000;--_dso-heading-h3-color:#000;--_dso-heading-h4-color:#000;--_dso-heading-h5-color:#000;--_dso-heading-h1-font-size-xs:1em;--_dso-heading-h1-font-size:1em;--_dso-heading-h2-font-size-xs:1em;--_dso-heading-h2-font-size:1em;--_dso-heading-h3-font-size-xs:1em;--_dso-heading-h3-font-size:1em;--_dso-heading-h4-font-size:1em;--_dso-heading-h5-font-size:1em;--_dso-heading-h6-font-size:1em;--_dso-heading-h1-line-height:1.5;--_dso-heading-h2-line-height:1.5;--_dso-heading-h3-line-height:1.5;--_dso-heading-h4-line-height:1.5;--_dso-heading-h5-line-height:1.5;--_dso-heading-h6-line-height:1.5;--_dso-heading-margin-large-margin-block-end:8px;--_dso-heading-margin-large-margin-block-start:8px;--_dso-heading-margin-small-margin-block-end:8px;--_dso-heading-margin-small-margin-block-start:8px}'}},[257,"dso-alert",{status:[513],roleAlert:[4,"role-alert"],compact:[516],closable:[4]}]);function _(){"undefined"!=typeof customElements&&["dso-alert","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-alert":customElements.get(i(o))||customElements.define(i(o),b);break;case"dso-icon":customElements.get(i(o))||a();break;case"dso-icon-button":customElements.get(i(o))||s()}}))}export{b as A,_ as d}
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as e,transformTag as i}from"@stencil/core/internal/client";import{c as d}from"./clsx.js";import{i as c}from"./i18n.js";import{d as a}from"./icon.js";import{d as s}from"./icon-button.js";const l={en:{"dso-alert":{close:"Close",success:"Success",info:"Notice",warning:"Warning",error:"Error"}},nl:{"dso-alert":{close:"Sluiten",success:"Gelukt",info:"Opmerking",warning:"Waarschuwing",error:"Fout"}}},b=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=t(this,"dsoClose",7),this.closable=!1,this.text=c((()=>this.host),l)}render(){const o=["success","info","warning","error"].includes(this.status);return o||console.warn(`Invalid status ${this.status}`),n("div",{key:"d442da267a8983bc71ecd194250fe01f04cd9dab",class:d("alert",{[`alert-${this.status}`]:o},{"dso-compact":this.compact}),role:this.roleAlert?"alert":void 0},o&&n(e,null,!this.compact&&n("dso-icon",{key:"6961871f69e99c778b7bee28e5fd458b4082eab9",class:"icon-status",icon:`status-${"info"===this.status?"info-solid":this.status}`,"aria-hidden":"true"}),n("span",{key:"d016153d5e46460b68a8ba2d9a73d3e82dc8795e",class:"sr-only"},this.text(this.status),":")),n("slot",{key:"a5d90a9fd35f9b4178bfa7d13d13b5f52c0f3666"}),this.closable&&n("dso-icon-button",{key:"400cd28d62ff4d709cd9a32bb232a1f55fa5d4c9",label:this.text("close"),variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}))}get host(){return this}static get style(){return'*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}:host{display:block}:host(:not(:first-child)){margin-block-start:24px}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 1.5rem);min-block-size:56px;position:relative;border:1px solid transparent}@media screen and (min-width: 481px){.alert{padding-block:15px;padding-inline:54px 39px}.alert.dso-compact{padding-block:7px;padding-inline:15px 39px}}@media screen and (max-width: 480px){.alert{padding-block:54px 15px;padding-inline:15px}.alert.dso-compact{padding-block:7px;padding-inline:15px}}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px;min-block-size:16px}.alert.dso-compact::before{content:"";position:absolute;inset-block-start:-1px;inset-block-end:-1px;inset-inline-start:-9px;border-start-start-radius:8px;border-end-start-radius:8px;inline-size:8px}.alert.alert-error{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-info{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert.alert-success{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-warning{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f8f6cc;color:#191919;border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}::slotted(.dso-rich-content){--_dso-rich-content-margin-block-end:0;--_dso-rich-content-margin-block-start:0;--_dso-button-primary-color:#000;--_dso-button-primary-background-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-border-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-hover-color:#000;--_dso-button-primary-hover-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-hover-border-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-color:#000;--_dso-button-primary-active-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-border-color:rgba(25, 25, 25, 0.2);--_dso-heading-base-color:#000;--_dso-heading-h2-color:#000;--_dso-heading-h3-color:#000;--_dso-heading-h4-color:#000;--_dso-heading-h5-color:#000;--_dso-heading-h1-font-size-xs:1em;--_dso-heading-h1-font-size:1em;--_dso-heading-h2-font-size-xs:1em;--_dso-heading-h2-font-size:1em;--_dso-heading-h3-font-size-xs:1em;--_dso-heading-h3-font-size:1em;--_dso-heading-h4-font-size:1em;--_dso-heading-h5-font-size:1em;--_dso-heading-h6-font-size:1em;--_dso-heading-h1-line-height:1.5;--_dso-heading-h2-line-height:1.5;--_dso-heading-h3-line-height:1.5;--_dso-heading-h4-line-height:1.5;--_dso-heading-h5-line-height:1.5;--_dso-heading-h6-line-height:1.5;--_dso-heading-margin-large-margin-block-end:8px;--_dso-heading-margin-large-margin-block-start:8px;--_dso-heading-margin-small-margin-block-end:8px;--_dso-heading-margin-small-margin-block-start:8px}'}},[257,"dso-alert",{status:[513],roleAlert:[4,"role-alert"],compact:[516],closable:[4]}]);function _(){"undefined"!=typeof customElements&&["dso-alert","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-alert":customElements.get(i(o))||customElements.define(i(o),b);break;case"dso-icon":customElements.get(i(o))||a();break;case"dso-icon-button":customElements.get(i(o))||s()}}))}export{b as A,_ as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as e,transformTag as i}from"@stencil/core/internal/client";import{A as a}from"./annotation-body.js";import{w as d,A as s,a as c}from"./annotation-watcher.js";import{d as l}from"./icon.js";import{d as b}from"./icon-button.js";import{d as g}from"./label.js";import{d as u}from"./renvooi.js";import{d as v}from"./slide-toggle.js";import{d as _}from"./truncate.js";const m=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoActiveChange=t(this,"dsoActiveChange",7),this.watcher=d(this.host)}connectedCallback(){this.watcher.watch()}disconnectedCallback(){this.watcher.unwatch()}render(){const o=this.watcher.hasSymbool();return n(a,{key:"31c1814b37b8d5d3f38f4c09d65739bb64e455fa",symbol:o?n(c,null):void 0,active:this.active,dsoActiveChange:this.dsoActiveChange,title:n(e,null,n("span",{class:"content"},n("dso-renvooi",{value:this.locatieNoemer})),this.gewijzigdeLocatie&&n(s,null))})}get host(){return this}static get style(){return'a{overflow-wrap:anywhere;background-color:transparent;color:var(--_dso-link-color);text-decoration:underline;text-underline-offset:15%}a:hover,a:focus-visible{color:var(--_dso-link-hover-color);text-decoration:underline}a:active{text-decoration:none}a .sr-only+dso-icon{margin-inline-start:0}a:visited{color:var(--_dso-link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom -3px right 0;background-image:var(--_dso-link-icon-visibility, var(--_dso-link-download-icon, var(--_dso-di-download-grasgroen)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:focus-visible{background-image:var(--_dso-link-icon-visibility, var(--_dso-link-download-icon, var(--_dso-di-download-scampi)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom -3px right 0;background-image:var(--_dso-link-icon-visibility, var(--_dso-link-extern-icon, var(--_dso-di-external-link-grasgroen)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:focus-visible{background-image:var(--_dso-link-icon-visibility, var(--_dso-link-extern-icon, var(--_dso-di-external-link-scampi)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom -3px left 0;background-image:var(--_dso-link-icon-visibility, var(--_dso-link-phone-icon, var(--_dso-di-call-grasgroen)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]:focus-visible{background-image:var(--_dso-link-icon-visibility, var(--_dso-link-phone-icon, var(--_dso-di-call-scampi)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom -3px left 0;background-image:var(--_dso-link-icon-visibility, var(--_dso-link-mail-icon, var(--_dso-di-mail-outline-grasgroen)))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]:focus-visible{background-image:var(--_dso-link-icon-visibility, var(--_dso-link-mail-icon, var(--_dso-di-mail-outline-scampi)))}:host{display:block;padding:2px}:host([wijzigactie=voegtoe]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}:host([wijzigactie=verwijder]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dso-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){:host([wijzigactie=verwijder]){font-family:sans-serif}}*,*::after,*::before{box-sizing:border-box}.annotation-body{display:flex;gap:8px}.annotation-info{flex-grow:1}.annotation-symbol,.annotation-control{flex-shrink:0}.annotation-title{font-weight:500;overflow-wrap:anywhere}.annotation-title,.annotation-data{margin-block:0}.annotation-title .content:has(+dso-label),.annotation-data .content:has(+dso-label){margin-inline-end:4px}.annotation-data{font-size:0.875rem}'}},[1,"dso-annotation-locatie",{wijzigactie:[513],active:[516],gewijzigdeLocatie:[516,"gewijzigde-locatie"],locatieNoemer:[1,"locatie-noemer"]}]);function y(){"undefined"!=typeof customElements&&["dso-annotation-locatie","dso-icon","dso-icon-button","dso-label","dso-renvooi","dso-slide-toggle","dso-truncate"].forEach((o=>{switch(o){case"dso-annotation-locatie":customElements.get(i(o))||customElements.define(i(o),m);break;case"dso-icon":customElements.get(i(o))||l();break;case"dso-icon-button":customElements.get(i(o))||b();break;case"dso-label":customElements.get(i(o))||g();break;case"dso-renvooi":customElements.get(i(o))||u();break;case"dso-slide-toggle":customElements.get(i(o))||v();break;case"dso-truncate":customElements.get(i(o))||_()}}))}export{m as A,y as d}
|