@dso-toolkit/core 100.4.0 → 101.1.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 +41 -35
- package/dist/bundle/index.js +4 -0
- package/dist/bundle/{p-DStIHFXU.js → p-BF2e1Voi.js} +37 -29
- 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-CDD0hRMQ.js → p-CuUQy5lD.js} +16 -7
- 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-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-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 +15 -6
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +7 -5
- 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/dsot-document-component-demo.cjs.entry.js +1 -1
- 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/document-component/document-component.js +8 -6
- package/dist/collection/components/document-component-demo/document-component.demo.js +2 -2
- 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/nodes/ext-ref.node.js +12 -2
- package/dist/collection/components/ozon-content/ozon-content.js +2 -2
- 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-58c0e2ef.entry.js +1 -0
- 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-37c83fa7.entry.js → p-83ab25e2.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-b8a0d3b9.entry.js +1 -0
- package/dist/dso-toolkit/p-b8a488af.entry.js +1 -0
- package/dist/dso-toolkit/p-bc3eb1dd.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 +15 -6
- package/dist/esm/dso-annotation-locatie_2.entry.js +7 -5
- 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/dsot-document-component-demo.entry.js +1 -1
- 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/document-component/document-component.d.ts +1 -1
- package/dist/types/components/document-component-demo/document-component.demo.d.ts +2 -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/ozon-content/nodes/ext-ref.node.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content.interfaces.d.ts +9 -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 +49 -13
- 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-7119884a.entry.js +0 -1
- package/dist/dso-toolkit/p-cafa54b4.entry.js +0 -1
- package/dist/dso-toolkit/p-de86de0a.entry.js +0 -1
- package/dist/dso-toolkit/p-e5cd6084.entry.js +0 -1
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
:host([is-compact]) .dropdown-menu .dropdown-menu-options {
|
|
18
18
|
inline-size: 100%;
|
|
19
19
|
}
|
|
20
|
+
@media screen and (min-width: 481px) {
|
|
21
|
+
:host([is-compact]) .dropdown-menu .dropdown-menu-options {
|
|
22
|
+
inline-size: 265px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
20
25
|
|
|
21
26
|
:host(:not([is-compact])) .dropdown-menu .dropdown-menu-options {
|
|
22
27
|
inline-size: 375px;
|
|
@@ -30,9 +35,34 @@ div[popover] {
|
|
|
30
35
|
overflow: unset;
|
|
31
36
|
inline-size: max-content;
|
|
32
37
|
}
|
|
38
|
+
@media screen and (max-width: 480px) {
|
|
39
|
+
div[popover] {
|
|
40
|
+
inset-inline: 0 !important;
|
|
41
|
+
inline-size: 100%;
|
|
42
|
+
}
|
|
43
|
+
div[popover] .dropdown-menu-options {
|
|
44
|
+
inline-size: 100%;
|
|
45
|
+
max-inline-size: none !important;
|
|
46
|
+
}
|
|
47
|
+
div[popover]::before {
|
|
48
|
+
content: "";
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset-block-start: -1px;
|
|
51
|
+
inset-inline: 0;
|
|
52
|
+
border-block-end: 1px solid #ccc;
|
|
53
|
+
}
|
|
54
|
+
div[popover]::after {
|
|
55
|
+
content: "";
|
|
56
|
+
position: absolute;
|
|
57
|
+
inset-block-start: 100%;
|
|
58
|
+
inset-inline: 0;
|
|
59
|
+
block-size: 100vh;
|
|
60
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
33
63
|
|
|
34
64
|
.dso-header {
|
|
35
|
-
border-block-end: 1px solid #
|
|
65
|
+
border-block-end: 1px solid #e5e5e5;
|
|
36
66
|
display: flex;
|
|
37
67
|
flex-wrap: wrap;
|
|
38
68
|
align-items: center;
|
|
@@ -129,9 +159,6 @@ div[popover] {
|
|
|
129
159
|
margin-inline-start: 8px;
|
|
130
160
|
padding-block-start: 2px;
|
|
131
161
|
}
|
|
132
|
-
.dropdown-menu button[aria-expanded=true] dso-icon {
|
|
133
|
-
transform: rotate(180deg);
|
|
134
|
-
}
|
|
135
162
|
.dropdown-menu .dropdown-menu-options {
|
|
136
163
|
box-sizing: border-box;
|
|
137
164
|
background-clip: padding-box;
|
|
@@ -151,7 +178,7 @@ div[popover] {
|
|
|
151
178
|
list-style: none;
|
|
152
179
|
}
|
|
153
180
|
.dropdown-menu .dropdown-menu-options ul:not(:last-child) {
|
|
154
|
-
border-block-end: 1px solid #
|
|
181
|
+
border-block-end: 1px solid #ccc;
|
|
155
182
|
margin-block-end: 11px;
|
|
156
183
|
padding-block-end: 11px;
|
|
157
184
|
}
|
|
@@ -180,40 +207,15 @@ div[popover] {
|
|
|
180
207
|
text-decoration: none;
|
|
181
208
|
white-space: nowrap;
|
|
182
209
|
}
|
|
183
|
-
.dropdown-menu .dropdown-menu-options ul li a:
|
|
184
|
-
.dropdown-menu .dropdown-menu-options ul li button:hover,
|
|
210
|
+
.dropdown-menu .dropdown-menu-options ul li a:focus,
|
|
185
211
|
.dropdown-menu .dropdown-menu-options ul li button:focus {
|
|
186
|
-
background-color: #39870c;
|
|
187
|
-
border-color: #39870c;
|
|
188
|
-
color: #fff;
|
|
189
|
-
text-decoration: none;
|
|
190
|
-
}
|
|
191
|
-
.dropdown-menu .dropdown-menu-options ul li a:focus-visible,
|
|
192
|
-
.dropdown-menu .dropdown-menu-options ul li button:focus-visible {
|
|
193
|
-
background-color: #39870c;
|
|
194
|
-
color: #fff;
|
|
195
|
-
}
|
|
196
|
-
.dropdown-menu .dropdown-menu-options ul li a:hover, .dropdown-menu .dropdown-menu-options ul li a:hover:visited,
|
|
197
|
-
.dropdown-menu .dropdown-menu-options ul li button:hover,
|
|
198
|
-
.dropdown-menu .dropdown-menu-options ul li button:hover:visited {
|
|
199
|
-
color: #275937;
|
|
200
|
-
}
|
|
201
|
-
.dropdown-menu .dropdown-menu-options ul li a:hover,
|
|
202
|
-
.dropdown-menu .dropdown-menu-options ul li button:hover {
|
|
203
|
-
background-color: #fff;
|
|
204
212
|
text-decoration: underline;
|
|
205
213
|
}
|
|
206
|
-
.dropdown-menu .dropdown-menu-options ul li a
|
|
207
|
-
.dropdown-menu .dropdown-menu-options ul li button
|
|
214
|
+
.dropdown-menu .dropdown-menu-options ul li.dso-active a,
|
|
215
|
+
.dropdown-menu .dropdown-menu-options ul li.dso-active button {
|
|
216
|
+
background-color: #275937;
|
|
208
217
|
color: #fff;
|
|
209
218
|
}
|
|
210
|
-
.dropdown-menu .dropdown-menu-options ul li a:visited:not(:hover):not(:focus):not(:focus-visible),
|
|
211
|
-
.dropdown-menu .dropdown-menu-options ul li button:visited:not(:hover):not(:focus):not(:focus-visible) {
|
|
212
|
-
color: #275937;
|
|
213
|
-
}
|
|
214
|
-
.dropdown-menu .dropdown-menu-options ul li.dso-active a {
|
|
215
|
-
font-weight: 600;
|
|
216
|
-
}
|
|
217
219
|
.dropdown-menu .dropdown-menu-options ul li a.dso-tertiary,
|
|
218
220
|
.dropdown-menu .dropdown-menu-options ul li button.dso-tertiary {
|
|
219
221
|
align-items: center;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const translations = {
|
|
2
2
|
en: {
|
|
3
3
|
"dso-header": {
|
|
4
|
+
menuOpen: "Close",
|
|
4
5
|
menu: "Menu",
|
|
5
6
|
login: "Log in",
|
|
6
7
|
logout: "Log out",
|
|
@@ -10,6 +11,7 @@ export const translations = {
|
|
|
10
11
|
},
|
|
11
12
|
nl: {
|
|
12
13
|
"dso-header": {
|
|
14
|
+
menuOpen: "Sluiten",
|
|
13
15
|
menu: "Menu",
|
|
14
16
|
login: "Inloggen",
|
|
15
17
|
logout: "Uitloggen",
|
|
@@ -307,7 +307,10 @@ export class Header {
|
|
|
307
307
|
return (h("div", { class: "dso-header-session" }, !this.isCompact && (h(Fragment, null, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("div", { class: "profile" }, h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && h("div", { class: "login" }, this.renderLogin()), this.authStatus === "loggedIn" && h("div", { class: "logout" }, this.renderLogout()))), this.showHelp && !this.isMobileViewport && h("div", { class: "help" }, this.renderHelp())));
|
|
308
308
|
}
|
|
309
309
|
renderCompact() {
|
|
310
|
-
return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: uuidv4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" },
|
|
310
|
+
return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: uuidv4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, this.renderMenuToggleContent(this.isMobileViewport, this.open)), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("dso-scrollable", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", { role: "group" }, this.mainMenu.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (h("li", { role: "menuitem" }, h("a", { href: this.userHomeUrl, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, this.text("userHome")))), this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("li", { role: "menuitem" }, h("a", { href: this.userProfileUrl, onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName, h("span", { class: "profile-label" }, " - Mijn profiel")))), this.authStatus === "loggedIn" && h("li", { role: "menuitem" }, this.renderLogout()), this.authStatus === "loggedOut" && h("li", { role: "menuitem" }, this.renderLogin()), this.showHelp && this.isMobileViewport && h("li", { role: "menuitem" }, this.renderHelp()))))))));
|
|
311
|
+
}
|
|
312
|
+
renderMenuToggleContent(isMobileViewport, open) {
|
|
313
|
+
return (h(Fragment, null, h("span", null, open && isMobileViewport ? this.text("menuOpen") : this.text("menu")), isMobileViewport ? (h("dso-icon", { icon: open ? "cross" : "bars" })) : (h("dso-icon", { icon: open ? "chevron-up" : "chevron-down" }))));
|
|
311
314
|
}
|
|
312
315
|
renderNormal() {
|
|
313
316
|
this.menuItemElementRefs = [];
|
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
.dso-tooltip {
|
|
2
|
-
--_dso-alert-success-border-color: initial;
|
|
3
|
-
--_dso-alert-error-border-color: initial;
|
|
4
|
-
--_dso-alert-info-border-color: initial;
|
|
5
|
-
--_dso-alert-warning-border-color: initial;
|
|
6
|
-
background-color: #fff;
|
|
7
|
-
color: #191919;
|
|
8
|
-
border-radius: 4px;
|
|
9
|
-
overflow: unset;
|
|
10
|
-
margin: 0;
|
|
11
|
-
border: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
|
|
14
|
-
opacity: 0;
|
|
15
|
-
visibility: hidden;
|
|
16
|
-
max-inline-size: 640px;
|
|
17
|
-
}
|
|
18
|
-
.dso-tooltip .tooltip-inner {
|
|
19
|
-
--_dso-span-role-paragraph-margin-block: 8px;
|
|
20
|
-
--_dso-alert-success-border-color: initial;
|
|
21
|
-
--_dso-alert-error-border-color: initial;
|
|
22
|
-
--_dso-alert-info-border-color: initial;
|
|
23
|
-
--_dso-alert-warning-border-color: initial;
|
|
24
|
-
background-color: #fff;
|
|
25
|
-
color: #191919;
|
|
26
|
-
font-family: Asap, sans-serif;
|
|
27
|
-
font-size: 1rem;
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
padding-block: 8px;
|
|
30
|
-
padding-inline: 16px;
|
|
31
|
-
border-radius: 4px;
|
|
32
|
-
line-height: 1.5;
|
|
33
|
-
}
|
|
34
|
-
.dso-tooltip .tooltip-arrow {
|
|
35
|
-
position: absolute;
|
|
36
|
-
background-color: #fff;
|
|
37
|
-
border-start-start-radius: 4px;
|
|
38
|
-
block-size: 10px;
|
|
39
|
-
inline-size: 10px;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
z-index: -1;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
1
|
*,
|
|
45
2
|
*::after,
|
|
46
3
|
*::before {
|
|
@@ -52,19 +9,10 @@
|
|
|
52
9
|
max-inline-size: 100%;
|
|
53
10
|
}
|
|
54
11
|
|
|
55
|
-
:host([removable]) .dso-
|
|
12
|
+
:host([truncate][removable]) .dso-label-content {
|
|
56
13
|
max-inline-size: calc(100% - 28px);
|
|
57
14
|
}
|
|
58
15
|
|
|
59
|
-
:host([truncate]) .dso-label-content {
|
|
60
|
-
display: inline-block;
|
|
61
|
-
max-inline-size: 100%;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
vertical-align: bottom;
|
|
65
|
-
white-space: nowrap;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
16
|
::slotted([slot=symbol]) {
|
|
69
17
|
background-color: #fff;
|
|
70
18
|
background-color: #fff;
|
|
@@ -115,6 +63,7 @@
|
|
|
115
63
|
padding-block: 4px;
|
|
116
64
|
padding-inline: 8px;
|
|
117
65
|
max-inline-size: 100%;
|
|
66
|
+
min-inline-size: 0;
|
|
118
67
|
font-weight: normal;
|
|
119
68
|
border-radius: 4px;
|
|
120
69
|
line-height: 1.5;
|
|
@@ -541,6 +490,10 @@
|
|
|
541
490
|
padding-inline: 8px;
|
|
542
491
|
}
|
|
543
492
|
|
|
493
|
+
.dso-label-content {
|
|
494
|
+
min-inline-size: 0;
|
|
495
|
+
}
|
|
496
|
+
|
|
544
497
|
dso-icon-button {
|
|
545
498
|
float: inline-end;
|
|
546
499
|
margin-inline-start: 8px;
|
|
@@ -1,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"; }
|