@dso-toolkit/core 100.4.0 → 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 +21 -15
- package/dist/bundle/dso-accordion.js +1 -1
- package/dist/bundle/dso-advanced-select.js +16 -10
- package/dist/bundle/dso-annotation-activiteit.js +16 -10
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +16 -10
- package/dist/bundle/dso-annotation-kaart.js +1 -1
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +16 -10
- package/dist/bundle/dso-autosuggest.js +2 -2
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +2 -2
- package/dist/bundle/dso-date-picker.js +4 -4
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu.js +6 -3
- package/dist/bundle/dso-header.js +8 -3
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +1 -1
- package/dist/bundle/dso-legend-item.js +4 -4
- package/dist/bundle/dso-legend.js +2 -2
- package/dist/bundle/dso-list-button.js +4 -4
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +4 -4
- package/dist/bundle/dso-map-controls.js +2 -2
- package/dist/bundle/dso-map-layer-object.js +2 -2
- package/dist/bundle/dso-map-layer.js +2 -2
- package/dist/bundle/dso-map-message.js +3 -3
- package/dist/bundle/dso-map-overlays.js +4 -4
- package/dist/bundle/dso-mark-bar.js +1 -1
- package/dist/bundle/dso-modal.js +1 -1
- package/dist/bundle/dso-onboarding-tip.js +1 -1
- 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 +1 -1
- 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 +8 -6
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +13 -7
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.js +1 -1
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-shopping-cart.js +1 -1
- package/dist/bundle/dso-skiplink.js +1 -1
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +3 -3
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.js +1 -1
- package/dist/bundle/dso-tree-view.js +2 -2
- package/dist/bundle/dso-truncate.d.ts +11 -0
- package/dist/bundle/dso-truncate.js +6 -0
- package/dist/bundle/dso-viewer-grid.js +2 -2
- package/dist/bundle/dsot-document-component-demo.js +40 -34
- package/dist/bundle/index.js +4 -0
- package/dist/bundle/{p-BdO8V8e5.js → p-BI_yo2z3.js} +1 -1
- package/dist/bundle/{p-BiTWJ9tJ.js → p-BoEv7D0u.js} +1 -1
- package/dist/bundle/{p-CDym9tDn.js → p-C-8R9yq6.js} +1 -1
- package/dist/bundle/p-CEzwBNry.js +112 -0
- package/dist/bundle/p-CbLp6uks.js +144 -0
- package/dist/bundle/{p-B5zDTnXM.js → p-CwjT2QlY.js} +2 -2
- package/dist/bundle/{p-Ccf_D9uM.js → p-D3XzrCzR.js} +3 -3
- package/dist/bundle/{p-CDD0hRMQ.js → p-D3aWEfZN.js} +5 -5
- package/dist/bundle/{p-Diwr4pu4.js → p-D9oE1q7k.js} +2 -2
- package/dist/bundle/{p-D7-d0naf.js → p-DcRIbRiR.js} +1 -1
- package/dist/bundle/{p-6lwKSTtN.js → p-DdHRX4cC.js} +16 -10
- package/dist/bundle/{p-DStIHFXU.js → p-Dv0849Rl.js} +30 -24
- package/dist/bundle/p-Dy8e3KhJ.js +152 -0
- package/dist/bundle/{p-CSbcQBj9.js → p-Dyvz4l_L.js} +1 -1
- package/dist/bundle/{p-uUZVT-Ex.js → p-NElTvMxv.js} +2 -2
- package/dist/bundle/{p-BvB8dh8P.js → p-mwUKtKZg.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-alert_7.cjs.entry.js +4 -4
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +5 -2
- package/dist/cjs/dso-header.cjs.entry.js +7 -2
- package/dist/cjs/dso-info_3.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_3.cjs.entry.js +41 -110
- package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-legend.cjs.entry.js +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +1 -1
- package/dist/cjs/dso-onboarding-tip.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 +8 -6
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-truncate.cjs.entry.js +129 -0
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/accordion/accordion.css +6 -0
- package/dist/collection/components/accordion/components/accordion-section.css +11 -6
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/card-container/card-container.css +5 -0
- 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/dropdown-menu/dropdown-menu.js +5 -2
- package/dist/collection/components/header/header.css +36 -34
- package/dist/collection/components/header/header.i18n.js +2 -0
- package/dist/collection/components/header/header.js +4 -1
- package/dist/collection/components/label/label.css +6 -53
- package/dist/collection/components/label/label.js +21 -122
- 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 +1 -1
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -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 +1 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
- 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 +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -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 +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -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 +2 -2
- package/dist/components/annotation-locatie.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-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-card-container.js +1 -1
- package/dist/components/dso-card.js +1 -1
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-legend-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/index.d.ts +4 -0
- package/dist/components/index.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/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-640306bf.entry.js → p-04844de1.entry.js} +1 -1
- package/dist/dso-toolkit/p-0630c10c.entry.js +1 -0
- package/dist/dso-toolkit/{p-67bdfcdd.entry.js → p-08a7e828.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f1047e57.entry.js → p-0ee52216.entry.js} +1 -1
- package/dist/dso-toolkit/p-1007fdd3.entry.js +1 -0
- package/dist/dso-toolkit/{p-42bf0148.entry.js → p-13c27118.entry.js} +1 -1
- package/dist/dso-toolkit/p-1c1b27c0.entry.js +1 -0
- package/dist/dso-toolkit/{p-780ebd6c.entry.js → p-227620ac.entry.js} +1 -1
- package/dist/dso-toolkit/p-25483f0a.entry.js +1 -0
- package/dist/dso-toolkit/{p-9aea5b98.entry.js → p-26c32a38.entry.js} +1 -1
- package/dist/dso-toolkit/p-29dc27dc.entry.js +1 -0
- package/dist/dso-toolkit/{p-0150c527.entry.js → p-2a32cbeb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-52d7dd12.entry.js → p-3825c4e5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-47e2a6ae.entry.js → p-38616371.entry.js} +1 -1
- package/dist/dso-toolkit/{p-63fce2aa.entry.js → p-5f2269ec.entry.js} +1 -1
- package/dist/dso-toolkit/p-5f6a6095.entry.js +1 -0
- package/dist/dso-toolkit/{p-a0ac6345.entry.js → p-6a99c0bb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a00c540b.entry.js → p-6bc7de9b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c8ead3ad.entry.js → p-6bcf7a01.entry.js} +1 -1
- package/dist/dso-toolkit/p-801a459f.entry.js +1 -0
- package/dist/dso-toolkit/{p-1ee5fdd2.entry.js → p-823c047d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-9c96a21a.entry.js → p-835cd682.entry.js} +1 -1
- package/dist/dso-toolkit/{p-4d7fa0e9.entry.js → p-8e4964ac.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7ebf7e11.entry.js → p-8f90718f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d8dfaacb.entry.js → p-904250ca.entry.js} +1 -1
- package/dist/dso-toolkit/{p-8eda69f2.entry.js → p-9b4dc3ef.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6f7241e5.entry.js → p-9df806f0.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ead6c401.entry.js → p-9f214aa4.entry.js} +1 -1
- package/dist/dso-toolkit/p-aec8f591.entry.js +1 -0
- package/dist/dso-toolkit/{p-7119884a.entry.js → p-b27d50c9.entry.js} +1 -1
- 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-19fa3db4.entry.js → p-c15a3689.entry.js} +1 -1
- package/dist/dso-toolkit/{p-13e28f82.entry.js → p-d0196ffd.entry.js} +1 -1
- package/dist/dso-toolkit/{p-cca237f7.entry.js → p-e2c97b41.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e2ff8b0c.entry.js → p-e3ba6480.entry.js} +1 -1
- package/dist/dso-toolkit/{p-300882d5.entry.js → p-ec2fc65e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-32b07ce7.entry.js → p-fb8860e1.entry.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +1 -1
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-alert_7.entry.js +4 -4
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +2 -2
- package/dist/esm/dso-date-picker.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js +5 -2
- package/dist/esm/dso-header.entry.js +7 -2
- package/dist/esm/dso-info_3.entry.js +2 -2
- package/dist/esm/dso-label_3.entry.js +23 -92
- package/dist/esm/dso-legend-group.entry.js +1 -1
- package/dist/esm/dso-legend-item.entry.js +1 -1
- package/dist/esm/dso-legend.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +1 -1
- package/dist/esm/dso-map-controls.entry.js +1 -1
- package/dist/esm/dso-map-layer-object.entry.js +1 -1
- package/dist/esm/dso-map-layer.entry.js +1 -1
- package/dist/esm/dso-map-message.entry.js +3 -3
- package/dist/esm/dso-map-overlays.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +1 -1
- package/dist/esm/dso-plekinfo-card-item.entry.js +35 -0
- package/dist/esm/dso-plekinfo-card.entry.js +8 -6
- package/dist/esm/dso-progress-indicator.entry.js +1 -1
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-scrollable.entry.js +2 -2
- package/dist/esm/dso-segmented-button.entry.js +1 -1
- package/dist/esm/dso-shopping-cart.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +2 -2
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-truncate.entry.js +127 -0
- package/dist/esm/dso-viewer-grid.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- 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/dropdown-menu/dropdown-menu.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +1 -0
- package/dist/types/components/label/label.d.ts +10 -35
- package/dist/types/components/map-message/map-message.d.ts +1 -1
- 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/truncate/truncate.d.ts +26 -0
- package/dist/types/components.d.ts +47 -11
- package/package.json +3 -3
- package/dist/bundle/p-BZr7fJps.js +0 -178
- package/dist/bundle/p-BdK56OMA.js +0 -152
- package/dist/dso-toolkit/p-179c804c.entry.js +0 -1
- package/dist/dso-toolkit/p-2153bba4.entry.js +0 -1
- package/dist/dso-toolkit/p-36a98cb8.entry.js +0 -1
- package/dist/dso-toolkit/p-432f9847.entry.js +0 -1
- package/dist/dso-toolkit/p-4632a0df.entry.js +0 -1
- package/dist/dso-toolkit/p-5612fca8.entry.js +0 -1
- package/dist/dso-toolkit/p-6a53b29f.entry.js +0 -1
- package/dist/dso-toolkit/p-cafa54b4.entry.js +0 -1
- package/dist/dso-toolkit/p-e5cd6084.entry.js +0 -1
|
@@ -1,40 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
|
-
import debounce from "debounce";
|
|
4
|
-
import { TooltipController } from "../../functional-components/tooltip/tooltip.controller";
|
|
5
|
-
import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-component";
|
|
6
|
-
const resizeObserver = new ResizeObserver(debounce((entries) => {
|
|
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
|
-
}
|
|
19
3
|
/**
|
|
20
4
|
* @slot - A slot for the label text or content.
|
|
21
5
|
* @slot symbol - An optional slot for an icon or symbol displayed before the label text.
|
|
22
6
|
*/
|
|
23
7
|
export class Label {
|
|
24
8
|
constructor() {
|
|
25
|
-
this.
|
|
26
|
-
|
|
27
|
-
getTipElement: () => this.tooltipElRef,
|
|
28
|
-
getTipArrowElement: () => this.tooltipArrowElRef,
|
|
29
|
-
getPlacement: () => "top",
|
|
30
|
-
});
|
|
31
|
-
this.isTruncated = false;
|
|
9
|
+
this.removeHover = false;
|
|
10
|
+
this.removeFocus = false;
|
|
32
11
|
this.labelText = "";
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
};
|
|
36
|
-
this.handleHideTooltip = () => {
|
|
37
|
-
this.tooltipController.hide();
|
|
12
|
+
this.syncLabelText = () => {
|
|
13
|
+
this.labelText = this.host.textContent?.trim() ?? "";
|
|
38
14
|
};
|
|
39
15
|
}
|
|
40
16
|
watchRemovable(removable) {
|
|
@@ -45,76 +21,36 @@ export class Label {
|
|
|
45
21
|
this.stopMutationObserver();
|
|
46
22
|
}
|
|
47
23
|
}
|
|
48
|
-
|
|
49
|
-
if (truncate) {
|
|
50
|
-
this.startTruncate();
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
this.stopTruncate();
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
keyDownListener(event) {
|
|
57
|
-
if (event.key === "Escape") {
|
|
58
|
-
this.handleHideTooltip();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
async _truncateLabel() {
|
|
65
|
-
setTimeout(() => {
|
|
66
|
-
this.isTruncated = !!this.labelContent && hasEllipses(this.labelContent);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
syncLabelText() {
|
|
70
|
-
this.labelText = this.host.textContent?.trim() ?? "";
|
|
71
|
-
}
|
|
72
|
-
componentDidLoad() {
|
|
73
|
-
if (this.truncate) {
|
|
74
|
-
this.startTruncate();
|
|
75
|
-
}
|
|
24
|
+
componentWillLoad() {
|
|
76
25
|
if (this.removable) {
|
|
77
26
|
this.startMutationObserver();
|
|
78
27
|
}
|
|
79
28
|
}
|
|
80
29
|
disconnectedCallback() {
|
|
81
|
-
this.
|
|
82
|
-
this.stopMutationObserver(true);
|
|
83
|
-
this.tooltipController.dispose();
|
|
30
|
+
this.stopMutationObserver();
|
|
84
31
|
}
|
|
85
|
-
/** The
|
|
32
|
+
/** The MutationObserver tracks the label text used for the remove button. */
|
|
86
33
|
startMutationObserver() {
|
|
87
|
-
this.mutationObserver
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
stopMutationObserver(force = false) {
|
|
97
|
-
if (force || !(this.truncate && this.removable)) {
|
|
98
|
-
this.mutationObserver?.disconnect();
|
|
99
|
-
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();
|
|
100
42
|
}
|
|
101
43
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
this.
|
|
105
|
-
this._truncateLabel();
|
|
106
|
-
}
|
|
107
|
-
stopTruncate() {
|
|
108
|
-
resizeObserver.unobserve(this.host);
|
|
109
|
-
this.stopMutationObserver();
|
|
110
|
-
this.isTruncated = false;
|
|
44
|
+
stopMutationObserver() {
|
|
45
|
+
this.mutationObserver?.disconnect();
|
|
46
|
+
this.mutationObserver = undefined;
|
|
111
47
|
}
|
|
112
48
|
render() {
|
|
113
|
-
return (h(
|
|
49
|
+
return (h("span", { key: '34fad69fd003cd90616fab28ae6259a267c8e608', class: clsx("dso-label", {
|
|
114
50
|
[`dso-label-${this.status}`]: this.status,
|
|
115
51
|
"dso-compact": this.compact && !this.removable,
|
|
116
52
|
"dso-hover": this.removeHover || this.removeFocus,
|
|
117
|
-
}) }, 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) }))));
|
|
118
54
|
}
|
|
119
55
|
static get is() { return "dso-label"; }
|
|
120
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -219,7 +155,6 @@ export class Label {
|
|
|
219
155
|
return {
|
|
220
156
|
"removeHover": {},
|
|
221
157
|
"removeFocus": {},
|
|
222
|
-
"isTruncated": {},
|
|
223
158
|
"labelText": {}
|
|
224
159
|
};
|
|
225
160
|
}
|
|
@@ -246,47 +181,11 @@ export class Label {
|
|
|
246
181
|
}
|
|
247
182
|
}];
|
|
248
183
|
}
|
|
249
|
-
static get methods() {
|
|
250
|
-
return {
|
|
251
|
-
"_truncateLabel": {
|
|
252
|
-
"complexType": {
|
|
253
|
-
"signature": "() => Promise<void>",
|
|
254
|
-
"parameters": [],
|
|
255
|
-
"references": {
|
|
256
|
-
"Promise": {
|
|
257
|
-
"location": "global",
|
|
258
|
-
"id": "global::Promise"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
"return": "Promise<void>"
|
|
262
|
-
},
|
|
263
|
-
"docs": {
|
|
264
|
-
"text": "",
|
|
265
|
-
"tags": [{
|
|
266
|
-
"name": "internal",
|
|
267
|
-
"text": undefined
|
|
268
|
-
}]
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
184
|
static get elementRef() { return "host"; }
|
|
274
185
|
static get watchers() {
|
|
275
186
|
return [{
|
|
276
187
|
"propName": "removable",
|
|
277
188
|
"methodName": "watchRemovable"
|
|
278
|
-
}, {
|
|
279
|
-
"propName": "truncate",
|
|
280
|
-
"methodName": "watchTruncate"
|
|
281
|
-
}];
|
|
282
|
-
}
|
|
283
|
-
static get listeners() {
|
|
284
|
-
return [{
|
|
285
|
-
"name": "keydown",
|
|
286
|
-
"method": "keyDownListener",
|
|
287
|
-
"target": "document",
|
|
288
|
-
"capture": false,
|
|
289
|
-
"passive": false
|
|
290
189
|
}];
|
|
291
190
|
}
|
|
292
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"; }
|
|
@@ -66,7 +66,7 @@ export class Legend {
|
|
|
66
66
|
this.moveFocusToTab(next);
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
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' })))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "dso-legend"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ export class ListButton {
|
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
const selected = this.checked || (this.count !== undefined && this.count > 0);
|
|
79
|
-
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") })))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "dso-list-button"; }
|
|
82
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"; }
|
|
@@ -105,7 +105,7 @@ export class MapControls {
|
|
|
105
105
|
this.clearPostTransitionTimeout();
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
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' }))))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "dso-map-controls"; }
|
|
111
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"; }
|
|
@@ -41,7 +41,7 @@ export class MarkBar {
|
|
|
41
41
|
render() {
|
|
42
42
|
const current = this.current || 0;
|
|
43
43
|
const totalCount = this.totalCount || 0;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '3c6af8d0fa8bf385c374cd33e7a3d81208b51e09', class: "dso-mark-bar" }, h("div", { key: 'e0ff797bc441f057eeb587b721cc7ed461662e27', class: "dso-mark-bar-input" }, h("input", { key: 'a6b5fa4495b2a73ac8a40803e91b25967c0c5cc0', type: "text", id: "search-input", value: this.value, onInput: this.handleInput, onKeyDown: this.handleKeyDown, placeholder: " ", ref: (element) => (this.inputElement = element) }), h("label", { key: 'cebcce6cde81b234783ff1bb1498a2ae7d8e28e8', htmlFor: "search-input" }, h("dso-icon", { key: '7c54d459687ba28907232bc191f256fdf1e438c2', class: "dso-search-icon", icon: "search" }), h("span", { key: '88f4252c26631dc71a405f398b49008e2f8cee8c', class: "label-text" }, this.label)), h("dso-icon-button", { key: 'd6e848214ef5a84517c6a359d82bc7ac4e816870', icon: "cross", variant: "tertiary", label: "Zoekopdracht legen", onDsoClick: (e) => this.handleClear(e.detail.originalEvent) })), h("div", { key: 'ab9e421dadc33d9b24d8dd3788200a1a5ba19095', class: "dso-button-container" }, h("span", { key: '84dddfc4591fbedec33a16f2712432412558c8e2', class: "divider" }), h("dso-icon-button", { key: 'aa8193e3c6bc54e1aac0c8e2ddfef39adbace740', icon: "chevron-up", variant: "tertiary", label: `Vorig zoekresultaat ${current - 1}/${totalCount}`, onDsoClick: (e) => this.handlePrevious(e.detail.originalEvent), disabled: current <= 1 }), h("span", { key: '1b583c126ddb3652e2b7a97abbf90f214a06d1e6', role: "status" }, current, "/", totalCount), h("dso-icon-button", { key: 'bbbd379963a7b47961047cdd5856fe4416de9ff6', icon: "chevron-down", variant: "tertiary", label: `Volgend zoekresultaat ${current + 1}/${totalCount}`, onDsoClick: (e) => this.handleNext(e.detail.originalEvent), disabled: current >= totalCount }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "dso-mark-bar"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class Modal {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h("dialog", { key: '
|
|
85
|
+
return (h("dialog", { key: '8e35292cc6b1300baa313a310099c172bf20417c', class: clsx("dso-modal", { fullscreen: this.fullscreen }), role: this.dialogRole ?? undefined, "aria-modal": "true", "aria-labelledby": this.ariaId, ref: (element) => (this.htmlDialogElement = element), onMouseDown: (e) => this.handleDialogMouseDown(e), onMouseUp: (e) => this.handleDialogMouseUp(e), onClick: (e) => this.handleDialogClick(e), onKeyDown: (e) => this.blockEscapeKey(e) }, h("div", { key: 'c383e26d7e529a2dc44ee49fee7e535b00ad990d', class: "dso-dialog" }, this.narrowView ? (h("dso-scrollable", { class: "narrow" }, h("div", { class: "modal-scrollable" }, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h(Body, null), this.hasFooter && h(Footer, null)))) : (h(Fragment, null, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h("dso-scrollable", null, h(Body, null)), this.hasFooter && h(Footer, null))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "dso-modal"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,7 +69,7 @@ export class OnboardingTip {
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const ariaLabel = this.headingSlottedElement?.textContent;
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'bebcff828c7f3ce40c322d4546cdde7dff3812e2', popover: "manual", ready: this.ready, onAnimationend: () => (this.ready = true) }, h("div", { key: '708a59016efc8069ef85a0e06feb71516b98dd18', role: "dialog", class: "onboarding-tip", "aria-label": ariaLabel, onKeyDown: this.blockEscapeKey, tabindex: -1 }, h("div", { key: '14b21c2c86457fc60709aca5e9aa9ed343786163', class: "onboarding-tip-inner" }, h("div", { key: '683199993bf6993d96748a78e7c9b8c51fa78681', class: "onboarding-tip-content-wrapper" }, this.headingSlottedElement !== null && (h("div", { key: '3654524691e0ccef4f11cd6ddb7be3043c1efbdc', class: "onboarding-tip-content-heading" }, h("dso-icon", { key: '36f25c3e2ef278b5f6f533fa325cb70d0beae0e6', icon: "light-bulb", "aria-hidden": "true" }), h("slot", { key: '93801f55ee03843daee88de47d743ca3af5c2c33', name: "heading" }))), h("dso-icon-button", { key: '53bda3abdf86e3335a2898841d9df280950c3c11', class: "dso-close", label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }), h("slot", { key: '5a486a2e8eee2e5a3f98ae15ee76563fce664b07' }))), h("div", { key: 'd1987ab7e4216867e6b4112832be253283d6a07b', class: "onboarding-tip-arrow", ref: (ref) => (this.tipArrowRef = ref) }))));
|
|
73
73
|
}
|
|
74
74
|
get headingSlottedElement() {
|
|
75
75
|
return this.host.querySelector("[slot='heading']");
|
|
@@ -54,7 +54,7 @@ export class OzonContentToggletip {
|
|
|
54
54
|
this.toggletipController.dispose();
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Fragment, { key: '
|
|
57
|
+
return (h(Fragment, { key: '57bc000d9ae9edf8f0e41c52545686bf19a644e5' }, h("span", { key: '4b0ae2bd310269c4bcb2f999523c4d1360859b5b', "aria-describedby": this.active ? "toggletip-tooltip" : undefined, "aria-expanded": this.active.toString(), class: "toggletip-button", role: "button", tabIndex: 0, onClick: this.toggle, onKeyDown: this.keyDownHandler, ref: (element) => (this.container = element) }, this.icon && (h(Fragment, { key: '9d7d66a9cded8985b67003ee9babb76fcfd4f888' }, h("span", { key: '05dbe58544c10df33d5716d9cfd820aa3880556a', class: "toggletip-label" }, h("slot", { key: '7d3fe87c04cd0ee8e25418cba2d977d729bce437', name: "label" })), "\u2060", h("dso-icon", { key: '0d186f4459a5ac8a9a17154dffc139b18cb0eb70', icon: this.icon }))), !this.icon && h("slot", { key: '94f8037c3854965fff3a0579b263924f6e6162a3', name: "label" })), h(Tooltip, { key: '667d087ce9c7c5f0c61fd7eb64b55a3ceff16cbd', id: "toggletip-tooltip", tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, h("dso-scrollable", { key: '7e5642bb9ecda5e0a1080e14fec75208ec345bf1', ref: (element) => (this.restrictContentElement = element), id: "toggletip-content", "aria-live": "polite" }, h("slot", { key: '5aaa2d84764df8d02088f4fe3c77ac13a450fcdd' })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "dso-ozon-content-toggletip"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class OzonContent {
|
|
|
33
33
|
annotated: this.annotated,
|
|
34
34
|
};
|
|
35
35
|
const transformed = mapper.transform(this.content, context);
|
|
36
|
-
return h(Fragment, { key: '
|
|
36
|
+
return h(Fragment, { key: '9f84987b4c059e17ca3e42856ec35dff55ac560d' }, transformed);
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "dso-ozon-content"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class Panel {
|
|
|
15
15
|
this.text = i18n(() => this.host, translations);
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: 'fdcef28b2c5de26f2213133d70a7bba233169e70', class: clsx(["dso-panel", { emphasized: this.emphasized }]) }, h("div", { key: '103979cf987d46596d5c8b440163bf72e5bb3d74', class: "panel-heading" }, h("slot", { key: '75816074542c74dce6c2142a87f641ea35287476', name: "heading" }), h("dso-icon-button", { key: 'aa89b842cd9159f0a136668b391f7c0e3a97d328', icon: "cross", variant: "tertiary", onDsoClick: (e) => this.dsoCloseClick.emit({ originalEvent: e.detail.originalEvent }), label: this.closeButtonLabel || this.text("close") })), h("div", { key: '11fe6ce29a384f5bf53fd3ae3e49ac910ba391f5', class: "panel-body" }, h("slot", { key: '10d6c013559e598e027c604eba614707fd0d8423' }))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "dso-panel"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|