@dso-toolkit/core 62.23.0 → 62.25.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/cjs/annotation-gewijzigde-locatie-1ee2ce7c.js +41 -0
- package/dist/cjs/annotation-gewijzigde-locatie-1ee2ce7c.js.map +1 -0
- package/dist/cjs/{dso-alert_7.cjs.entry.js → dso-alert_6.cjs.entry.js} +4 -127
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +31 -0
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +28 -0
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-omgevingsnorm.cjs.entry.js +30 -0
- package/dist/cjs/dso-annotation-omgevingsnorm.cjs.entry.js.map +1 -0
- package/dist/cjs/{dso-annotation-output_3.cjs.entry.js → dso-annotation-output_2.cjs.entry.js} +2 -34
- package/dist/cjs/dso-annotation-output_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-werkingsgebied.cjs.entry.js +28 -0
- package/dist/cjs/dso-annotation-werkingsgebied.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-attachments-counter.cjs.entry.js +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +37 -13
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +2 -2
- 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-legacy.cjs.entry.js +3 -3
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon.cjs.entry.js +2 -2
- package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_2.cjs.entry.js +165 -0
- package/dist/cjs/dso-label_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +2 -2
- 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-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 +2 -2
- package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +1 -1
- 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 +4 -0
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +207 -0
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -0
- package/dist/collection/components/annotation/annotation-body.js +3 -0
- package/dist/collection/components/annotation/annotation-body.js.map +1 -0
- package/dist/collection/components/annotation/annotation-diff-renderer.js +17 -0
- package/dist/collection/components/annotation/annotation-diff-renderer.js.map +1 -0
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +139 -0
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js.map +1 -0
- package/dist/collection/components/annotation/annotation-gewijzigde-locatie.js +3 -0
- package/dist/collection/components/annotation/annotation-gewijzigde-locatie.js.map +1 -0
- package/dist/collection/components/annotation/annotation-omgevingsnorm/annotation-omgevingsnorm.js +189 -0
- package/dist/collection/components/annotation/annotation-omgevingsnorm/annotation-omgevingsnorm.js.map +1 -0
- package/dist/collection/components/annotation/annotation-werkingsgebied/annotation-werkingsgebied.js +139 -0
- package/dist/collection/components/annotation/annotation-werkingsgebied/annotation-werkingsgebied.js.map +1 -0
- package/dist/collection/components/annotation/annotation.css +125 -0
- package/dist/collection/components/annotation/annotation.interfaces.js +2 -0
- package/dist/collection/components/annotation/annotation.interfaces.js.map +1 -0
- package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.interfaces.js.map +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +59 -14
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-container/card-container.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +3 -3
- package/dist/collection/components/document-component/document-component.js +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +2 -2
- package/dist/collection/components/highlight-box/highlight-box.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info-button/info-button.js +1 -1
- package/dist/collection/components/input-range/input-range.js +2 -2
- package/dist/collection/components/label/label.js +3 -3
- package/dist/collection/components/legend-item/legend-item.js +2 -2
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +2 -2
- 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-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +2 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/toggletip/toggletip.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/annotation-gewijzigde-locatie.js +37 -0
- package/dist/components/annotation-gewijzigde-locatie.js.map +1 -0
- package/dist/components/attachments-counter.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dso-annotation-activiteit.d.ts +11 -0
- package/dist/components/dso-annotation-activiteit.js +77 -0
- package/dist/components/dso-annotation-activiteit.js.map +1 -0
- package/dist/components/dso-annotation-gebiedsaanwijzing.d.ts +11 -0
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +71 -0
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -0
- package/dist/components/dso-annotation-omgevingsnorm.d.ts +11 -0
- package/dist/components/dso-annotation-omgevingsnorm.js +75 -0
- package/dist/components/dso-annotation-omgevingsnorm.js.map +1 -0
- package/dist/components/dso-annotation-werkingsgebied.d.ts +11 -0
- package/dist/components/dso-annotation-werkingsgebied.js +71 -0
- package/dist/components/dso-annotation-werkingsgebied.js.map +1 -0
- package/dist/components/dso-autosuggest.js +38 -13
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-banner.js +2 -2
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card.js +2 -2
- package/dist/components/dso-date-picker-legacy.js +3 -3
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-helpcenter-panel.js +2 -2
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-legend-item.js +2 -2
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-logo.js +2 -2
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-controls.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-modal.js +2 -2
- package/dist/components/dso-progress-bar.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/dsot-document-component-demo.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +2 -2
- package/dist/components/slide-toggle.js.map +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toggletip.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-f8a673ef.entry.js → p-001ba85b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4fe19a5d.entry.js → p-0415af5b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4fe19a5d.entry.js.map → p-0415af5b.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-14d19a20.entry.js +2 -0
- package/dist/dso-toolkit/p-14d19a20.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-4c4d8167.entry.js → p-1975337f.entry.js} +2 -2
- package/dist/dso-toolkit/p-197c2646.entry.js +2 -0
- package/dist/dso-toolkit/{p-e6e7d54a.entry.js → p-228f73a8.entry.js} +2 -2
- package/dist/dso-toolkit/{p-7c05c385.entry.js → p-3225310b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e41d09cf.entry.js → p-3710d41f.entry.js} +2 -2
- package/dist/dso-toolkit/{p-22776f73.entry.js → p-3e2237ab.entry.js} +2 -2
- package/dist/dso-toolkit/p-47340b1a.entry.js +2 -0
- package/dist/dso-toolkit/p-47340b1a.entry.js.map +1 -0
- package/dist/dso-toolkit/p-4f4efbed.entry.js +2 -0
- package/dist/dso-toolkit/p-4f7e1b16.entry.js +2 -0
- package/dist/dso-toolkit/p-4f7e1b16.entry.js.map +1 -0
- package/dist/dso-toolkit/p-4fac82a7.entry.js +2 -0
- package/dist/dso-toolkit/p-4fac82a7.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-fea71d00.entry.js → p-560861e9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5bb82e74.entry.js → p-5621d240.entry.js} +2 -2
- package/dist/dso-toolkit/{p-570162f1.entry.js → p-5f4cb5d6.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d435412a.entry.js → p-68e51737.entry.js} +2 -2
- package/dist/dso-toolkit/p-6bb5726a.entry.js +2 -0
- package/dist/dso-toolkit/p-6bb5726a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-7286c530.entry.js → p-7da2df9d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3666b2c1.entry.js → p-80463acd.entry.js} +2 -2
- package/dist/dso-toolkit/p-811676bf.js +2 -0
- package/dist/dso-toolkit/p-811676bf.js.map +1 -0
- package/dist/dso-toolkit/p-96a6ddd5.entry.js +2 -0
- package/dist/dso-toolkit/p-98eec25f.entry.js +2 -0
- package/dist/dso-toolkit/p-98eec25f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-9a15c59b.entry.js +2 -0
- package/dist/dso-toolkit/p-9a15c59b.entry.js.map +1 -0
- package/dist/dso-toolkit/p-9f000cb1.entry.js +2 -0
- package/dist/dso-toolkit/p-9f000cb1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-b3c99200.entry.js → p-ab491029.entry.js} +2 -2
- package/dist/dso-toolkit/p-ade7a91d.entry.js +2 -0
- package/dist/dso-toolkit/{p-fc662b25.entry.js → p-af8c6cd9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d26f7147.entry.js → p-b49f5a23.entry.js} +2 -2
- package/dist/dso-toolkit/p-c1c38b47.entry.js +2 -0
- package/dist/dso-toolkit/{p-e2d31526.entry.js → p-c2502024.entry.js} +2 -2
- package/dist/dso-toolkit/{p-fd0e9561.entry.js → p-c335be22.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ba81d191.entry.js → p-d82948d9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-464609ac.entry.js → p-d8b25148.entry.js} +2 -2
- package/dist/dso-toolkit/p-ea138d78.entry.js +2 -0
- package/dist/dso-toolkit/{p-20c67690.entry.js.map → p-ea138d78.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-ee3bdb10.entry.js → p-ef006c7c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-009bd0ac.entry.js → p-f16e7d4b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-549f1c5f.entry.js → p-f787daf7.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5d128d5a.entry.js → p-f8e70577.entry.js} +2 -2
- package/dist/esm/annotation-gewijzigde-locatie-3d8aa3ad.js +37 -0
- package/dist/esm/annotation-gewijzigde-locatie-3d8aa3ad.js.map +1 -0
- package/dist/esm/{dso-alert_7.entry.js → dso-alert_6.entry.js} +5 -127
- package/dist/esm/dso-alert_6.entry.js.map +1 -0
- package/dist/esm/dso-annotation-activiteit.entry.js +27 -0
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -0
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +24 -0
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -0
- package/dist/esm/dso-annotation-omgevingsnorm.entry.js +26 -0
- package/dist/esm/dso-annotation-omgevingsnorm.entry.js.map +1 -0
- package/dist/esm/{dso-annotation-output_3.entry.js → dso-annotation-output_2.entry.js} +4 -35
- package/dist/esm/dso-annotation-output_2.entry.js.map +1 -0
- package/dist/esm/dso-annotation-werkingsgebied.entry.js +24 -0
- package/dist/esm/dso-annotation-werkingsgebied.entry.js.map +1 -0
- package/dist/esm/dso-attachments-counter.entry.js +1 -1
- package/dist/esm/dso-autosuggest.entry.js +37 -13
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-banner.entry.js +2 -2
- 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-legacy.entry.js +3 -3
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js +2 -2
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-icon.entry.js +2 -2
- package/dist/esm/dso-info-button.entry.js +1 -1
- package/dist/esm/dso-info_2.entry.js +2 -2
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-label_2.entry.js +160 -0
- package/dist/esm/dso-label_2.entry.js.map +1 -0
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-logo.entry.js +2 -2
- 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-overlays.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +2 -2
- package/dist/esm/dso-progress-bar.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.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-toggletip.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tooltip.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +40 -0
- package/dist/types/components/annotation/annotation-body.d.ts +11 -0
- package/dist/types/components/annotation/annotation-diff-renderer.d.ts +7 -0
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +28 -0
- package/dist/types/components/annotation/annotation-gewijzigde-locatie.d.ts +1 -0
- package/dist/types/components/annotation/annotation-omgevingsnorm/annotation-omgevingsnorm.d.ts +36 -0
- package/dist/types/components/annotation/annotation-werkingsgebied/annotation-werkingsgebied.d.ts +28 -0
- package/dist/types/components/annotation/annotation.interfaces.d.ts +20 -0
- package/dist/types/components/autosuggest/autosuggest.d.ts +8 -1
- package/dist/types/components/autosuggest/autosuggest.interfaces.d.ts +4 -0
- package/dist/types/components.d.ts +308 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/dso-alert_7.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-annotation-output_3.cjs.entry.js.map +0 -1
- package/dist/dso-toolkit/p-20c67690.entry.js +0 -2
- package/dist/dso-toolkit/p-37fb8027.entry.js +0 -2
- package/dist/dso-toolkit/p-616ea03e.entry.js +0 -2
- package/dist/dso-toolkit/p-616ea03e.entry.js.map +0 -1
- package/dist/dso-toolkit/p-63112de0.entry.js +0 -2
- package/dist/dso-toolkit/p-74a7baf5.entry.js +0 -2
- package/dist/dso-toolkit/p-74a7baf5.entry.js.map +0 -1
- package/dist/dso-toolkit/p-8486c46d.entry.js +0 -2
- package/dist/dso-toolkit/p-85326997.entry.js +0 -2
- package/dist/dso-toolkit/p-d8815ab6.entry.js +0 -2
- package/dist/dso-toolkit/p-eee03d6d.entry.js +0 -2
- package/dist/dso-toolkit/p-eee03d6d.entry.js.map +0 -1
- package/dist/esm/dso-alert_7.entry.js.map +0 -1
- package/dist/esm/dso-annotation-output_3.entry.js.map +0 -1
- /package/dist/dso-toolkit/{p-f8a673ef.entry.js.map → p-001ba85b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-4c4d8167.entry.js.map → p-1975337f.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-63112de0.entry.js.map → p-197c2646.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e6e7d54a.entry.js.map → p-228f73a8.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-7c05c385.entry.js.map → p-3225310b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e41d09cf.entry.js.map → p-3710d41f.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-22776f73.entry.js.map → p-3e2237ab.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-85326997.entry.js.map → p-4f4efbed.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fea71d00.entry.js.map → p-560861e9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5bb82e74.entry.js.map → p-5621d240.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-570162f1.entry.js.map → p-5f4cb5d6.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d435412a.entry.js.map → p-68e51737.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-7286c530.entry.js.map → p-7da2df9d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-3666b2c1.entry.js.map → p-80463acd.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-37fb8027.entry.js.map → p-96a6ddd5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b3c99200.entry.js.map → p-ab491029.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8486c46d.entry.js.map → p-ade7a91d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fc662b25.entry.js.map → p-af8c6cd9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d26f7147.entry.js.map → p-b49f5a23.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d8815ab6.entry.js.map → p-c1c38b47.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e2d31526.entry.js.map → p-c2502024.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fd0e9561.entry.js.map → p-c335be22.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ba81d191.entry.js.map → p-d82948d9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-464609ac.entry.js.map → p-d8b25148.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ee3bdb10.entry.js.map → p-ef006c7c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-009bd0ac.entry.js.map → p-f16e7d4b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-549f1c5f.entry.js.map → p-f787daf7.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5d128d5a.entry.js.map → p-f8e70577.entry.js.map} +0 -0
|
@@ -66,9 +66,9 @@ const Card = class {
|
|
|
66
66
|
render() {
|
|
67
67
|
const isSelectable = this.selectableSlottedElement !== null;
|
|
68
68
|
const hasImage = this.imageSlottedElement !== null;
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
69
|
+
return (index.h(index.Host, { key: '0c66649451517f7964437001acc82fa555882caf', onClick: (e) => this.clickEventHandler(e), "is-selectable": isSelectable, "has-image": hasImage }, index.h("div", { key: 'f422f604c9fe91dfe284b4b01bbf3c053228b056', class: "dso-card-selectable", hidden: !isSelectable }, index.h("slot", { key: '2b1401266e44bb6970849763ecd3b09c2a54ebcc', name: "selectable" })), index.h("div", { key: 'c2e9b599af341e366dcae1abb8435fcdb8d98074', class: "dso-card-image", hidden: !hasImage }, index.h("slot", { key: 'fe525fc9248bfdd7482975a6a367c28cda331c95', name: "image" })), index.h("div", { key: '5811c5f9891e07c486820d28391a83bfc21a5bfc', class: "dso-card-heading" }, this.headingSlottedElement instanceof HTMLAnchorElement || !this.href ? (index.h("slot", { name: "heading" })) : (((!this.mode || !["download", "extern"].includes(this.mode)) && (index.h("a", { href: this.href, class: "heading-anchor" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "chevron-right" })))) ||
|
|
70
70
|
(this.mode === "extern" && (index.h("a", { href: this.href, class: "heading-anchor", target: "_blank", rel: "noopener noreferrer" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "external-link" }), index.h("span", { class: "sr-only" }, "(Opent andere website in nieuw tabblad)")))) ||
|
|
71
|
-
(this.mode === "download" && (index.h("a", { href: this.href, class: "heading-anchor" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "download" }))))), this.interactionsSlottedElement !== null && index.h("slot", { key: '
|
|
71
|
+
(this.mode === "download" && (index.h("a", { href: this.href, class: "heading-anchor" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "download" }))))), this.interactionsSlottedElement !== null && index.h("slot", { key: '330c90621b89d1565a35474af14f5bced644dc70', name: "interactions" })), index.h("div", { key: '11cd1a110f6c5fbbd52611183a8dc6f87448016e', class: "dso-card-content" }, index.h("slot", { key: 'f7cc4cbd9fe205a75004a65ae8c62df4f62ccac9', name: "content" }))));
|
|
72
72
|
}
|
|
73
73
|
get host() { return index.getElement(this); }
|
|
74
74
|
};
|
|
@@ -687,14 +687,14 @@ const DsoDatePickerLegacy = class {
|
|
|
687
687
|
if (maxDate) {
|
|
688
688
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
689
689
|
}
|
|
690
|
-
return (index.h(index.Host, { key: '
|
|
690
|
+
return (index.h(index.Host, { key: '45dc93382b869cae594c284f5a64777b6ce83e20' }, index.h("div", { key: '4fa976df3079d11e19701c1d4d10225030c8bff8', class: { "dso-date": true, "dso-visible": this.visible } }, index.h("div", { key: 'ad246de32f9a5f2ac702c3761500cc901fee74eb', class: "dso-date__input-wrapper" }, index.h("input", { key: '2ec69c422cc6a54d914e1f8a09832cde659a0ffd', class: "dso-date__input", value: this.value, placeholder: this.localization.placeholder, id: this.identifier, disabled: this.disabled, role: (_a = this.role) !== null && _a !== void 0 ? _a : undefined, required: this.required ? true : undefined, "aria-autocomplete": "none", "aria-invalid": (_b = this.invalid) === null || _b === void 0 ? void 0 : _b.toString(), "aria-describedby": this.describedBy, onInput: this.handleInputChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, autoComplete: "off", ref: (element) => (this.datePickerLegacyInput = element) }), index.h("button", { key: 'f4d34fdea62b07dd8ebd23ab1cd390fb19523ed9', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, index.h("span", { key: '3682b7a30487d85e6c4a26d191ee27fe304b5b1d', class: "dso-date__toggle-icon" }, index.h("dso-icon", { key: 'f9b2452ab20fa94fdee09a106ab623f888811ea5', icon: "calendar" })), index.h("span", { key: '687934d98c04cfb2d9bdc5047d07578492e3b4d3', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (index.h("span", { key: 'c1d7907d3c24d8cbf5f2833d6dd25d98eaef9630' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), index.h("div", { key: '152358db0119a3d29d5bb8b91d7a2ad84ee40855', class: {
|
|
691
691
|
"dso-date__dialog": true,
|
|
692
692
|
"is-left": this.direction === "left",
|
|
693
693
|
"is-active": this.open,
|
|
694
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, index.h("div", { key: '
|
|
694
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, index.h("div", { key: 'ac00557f0f9e40c668d81863fd3c25d208f0ee4c', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, index.h("div", { key: '7178016b07bbd57788d44e31fded5cc8f828b3d3', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), index.h("div", { key: '4511337996a99964eb4fd97e1bcf612b3f9454a0', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, index.h("label", { key: 'c20e75cab9fcdc3541f5bc0eaf5e881b94f5e315', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), index.h("button", { key: 'e1e61f43af41624dfd07801840f5e0b081bd714b', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, index.h("dso-icon", { key: '84aa4dfe2e0a07bb4e596e5d0bf03fcb86c20d57', icon: "times" }), index.h("span", { key: '3b1ef4ac7a0ac1d24a5add77c20896bba4f46af7', class: "dso-date__vhidden" }, this.localization.closeLabel))), index.h("div", { key: '9e4e06d30b41a3ce5aefbb808db87cdf6e883884', class: "dso-date__header", onFocusin: this.disableActiveFocus }, index.h("div", { key: '0b89be253bfd409054a52412969ae2ae6120e382' }, index.h("h2", { key: '94b922c24f610ce05ce907abcd6014e93f5c155f', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), index.h("label", { key: '3813086ca6ee3951d32ad451f1f86c5493f5c4a7', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), index.h("div", { key: '834c834c3e941de77ac8cf2d0ccf6bbf0581a2de', class: "dso-date__select" }, index.h("select", { key: 'aae80a3eaf0c5c997ec53b960f3e33f7e72bfe89', id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, monthRange(this.localization, selectedYear, minDate, maxDate).map((month) => {
|
|
695
695
|
const index$1 = this.localization.monthNames.indexOf(month);
|
|
696
696
|
return (index.h("option", { key: month, value: index$1, selected: index$1 === focusedMonth }, month));
|
|
697
|
-
})), index.h("div", { key: '
|
|
697
|
+
})), index.h("div", { key: 'f9ee321259103e88e5b76bb87cca77860e65b2c1', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'ca117ccf3aeaf9876d3fd627762a7696f3f4e1a4' }, this.localization.monthNamesShort[focusedMonth]), index.h("dso-icon", { key: '244ffcb4f8a336c8deefc69c14688405e1bc23f7', icon: "chevron-down" }))), index.h("label", { key: 'f01dc78c49881d6c7d88ca39890e70d0e9785559', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), index.h("div", { key: 'b3bae01d2ed53da52269a63c86fe291cfca76292', class: "dso-date__select" }, index.h("select", { key: '63bb09515fa036307995ce4812088e0828f50484', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (index.h("option", { key: year, selected: year === focusedYear }, year)))), index.h("div", { key: 'db7adc0799385cbe2d60f022acdf73e4ca33ed40', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'f3eaddb8cdc45daf9ef8574509bcc415e675dcc2' }, this.focusedDay.getFullYear()), index.h("dso-icon", { key: 'cb415d3468b9f163f4400d820d22e62406eda2d9', icon: "chevron-down" })))), index.h("div", { key: '7beead2ff31b3c6b6736c11679d12725e9634ff1', class: "dso-date__nav" }, index.h("button", { key: 'b21c215d623f5243c3d81e327e383bb062af3db8', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, index.h("dso-icon", { key: 'b755c8a2aafd1676ed517dfe6e303fd69337d415', icon: "chevron-left" }), index.h("span", { key: '77126a760003533cad64ab8d423b9d945f33f24e', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), index.h("button", { key: 'f17d30a36392a95ef8d8bf7096674c123231ca82', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, index.h("dso-icon", { key: 'fdf88a664810c744eb9da6a6bea4343e09a0aef6', icon: "chevron-right" }), index.h("span", { key: 'cb017e38ad087b2ded215880fe405a915cdd3922', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), index.h(DatePickerLegacyMonth, { key: 'ae4da41ad13aa21365703e8470485cef9f8dc994', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, localization: this.localization, firstDayOfWeek: this.firstDayOfWeek, focusedDayRef: this.processFocusedDayNode, min: minDate, max: maxDate }))))));
|
|
698
698
|
}
|
|
699
699
|
get element() { return index.getElement(this); }
|
|
700
700
|
};
|
|
@@ -141,7 +141,7 @@ const DsoDatePicker = class {
|
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
143
|
var _a;
|
|
144
|
-
return (index.h("input", { key: '
|
|
144
|
+
return (index.h("input", { key: '05ac3c8f265e1cbea015e9cd05bf4a298a7e8e37', type: "date", id: this.identifier, class: "dso-date__input", value: parseToValueFormat(this.value), name: this.name, min: parseToValueFormat(this.min), max: parseToValueFormat(this.max), disabled: this.disabled || undefined, required: this.required || undefined, "aria-autocomplete": "none", "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": this.describedBy, autoComplete: "off", autofocus: this.dsoAutofocus || undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, onChange: this.handleInputChange }));
|
|
145
145
|
}
|
|
146
146
|
get element() { return index.getElement(this); }
|
|
147
147
|
};
|
|
@@ -216,7 +216,7 @@ const DropdownMenu = class {
|
|
|
216
216
|
(_a = tabbables[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
|
-
return (index.h(index.Host, { key: '
|
|
219
|
+
return (index.h(index.Host, { key: '77ac6cc50a707d48310edd4224d192d9e8e3cc1b', onFocusout: this.focusOutListener }, index.h("slot", { key: '3388875ba46e7f5b9711ab3ebdd08daa39e98d22', name: "toggle" }), index.h("div", { key: '68362bca01cb7f86c6a2e9f760aa5af7a25fcf14', hidden: !this.open }, index.h("slot", { key: '653ec1ca00468188bf45ef2f6bde361ff8590f56' }))));
|
|
220
220
|
}
|
|
221
221
|
get host() { return index.getElement(this); }
|
|
222
222
|
static get watchers() { return {
|
|
@@ -87,10 +87,10 @@ const HelpcenterPanel = class {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (index.h(index.Fragment, null, index.h("button", { key: '
|
|
90
|
+
return (index.h(index.Fragment, null, index.h("button", { key: '7ebc1495b2933c451a256a4006cc8282e8f2325e', type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}`, "aria-expanded": this.isOpen === "open" ? "true" : "false", "aria-haspopup": "dialog", "aria-controls": "dso-panel-wrapper", ref: (element) => (this.openButtonElement = element) }, index.h("dso-icon", { key: '119fcbef430ef1808b1a7890dafae7a989ac84d8', icon: "help" }), index.h("span", { key: '2d92f7abc9c01f217e59f3560ff6ebfb7cc1161b' }, this.label)), index.h("div", { key: 'f57b69556a038441adc316cce74c5e29b455ff4c', id: "dso-panel-wrapper", class: `wrapper ${this.visibility}`, "aria-label": "helpcentrum", role: "dialog", ref: (element) => (this.panelWrapperElement = element) }, index.h("div", { key: '4ca3979f6e933c0b102d8443f494d52a51629605', class: "dimscreen", onClick: this.closeClick }), index.h("div", { key: 'da51b5c07f9bca49f35c0894997634ab736ab44d', class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? (index.h("iframe", { src: this.iframeUrl, tabindex: "0", onLoad: () => {
|
|
91
91
|
this.createTrap();
|
|
92
92
|
this.iframeLoaded = true;
|
|
93
|
-
} })) : (index.h("div", null))), index.h("button", { key: '
|
|
93
|
+
} })) : (index.h("div", null))), index.h("button", { key: 'bf2c1b8eee6509c14ea3710e60c83c2fbc949517', type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick, "aria-expanded": this.isOpen === "open" ? "true" : "false", "aria-controls": "dso-panel-wrapper", ref: (element) => (this.closeButtonElement = element) }, index.h("dso-icon", { key: '3ece8241d7f302a9471ce232e763955a8ffb3094', icon: "times" }), index.h("span", { key: '284e9eadf0404f45c34b128ff833f0e0e5e81642', class: "sr-only" }, "sluiten")))));
|
|
94
94
|
}
|
|
95
95
|
static get watchers() { return {
|
|
96
96
|
"url": ["watchUrl"],
|
|
@@ -19,7 +19,7 @@ const HighlightBox = class {
|
|
|
19
19
|
render() {
|
|
20
20
|
var _a;
|
|
21
21
|
const hasCounter = this.step || !!this.element.querySelector("[slot=icon]");
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: '94dfaf9efb9d2cb1f5910b8dd0f4cc37f8b24c17', "has-counter": hasCounter }, hasCounter && index.h("div", { key: '005ab4e5b5cec05e4b16e32e8fa6ee8e1da0eb06', class: "dso-step-counter" }, (_a = this.step) !== null && _a !== void 0 ? _a : index.h("slot", { key: 'e6f814e0bb7f5f791f441cd78bd25a0c14e3e60e', name: "icon" })), index.h("slot", { key: '2dfc8c0d8ea3222c2e8b5a59f168b3df80b70bcc' })));
|
|
23
23
|
}
|
|
24
24
|
get element() { return index.getElement(this); }
|
|
25
25
|
};
|
|
@@ -421,7 +421,7 @@ const spinner = `<svg id="spinner" class="spinner" viewBox="0 0 100 100" xmlns="
|
|
|
421
421
|
<style>
|
|
422
422
|
.spinner { animation: rotator 8s linear infinite; transform-origin: center; }
|
|
423
423
|
@keyframes rotator { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
|
|
424
|
-
.path { stroke-dasharray:
|
|
424
|
+
.path { stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: #39870c; animation: dash 2s ease-in-out infinite; }
|
|
425
425
|
@keyframes dash { 0% { stroke-dashoffset: 265; } 50% { stroke-dashoffset: 65; transform:rotate(90deg); } 100% { stroke-dashoffset: 265; transform:rotate(360deg); } }
|
|
426
426
|
</style>
|
|
427
427
|
<circle class="path" fill="none" stroke-width="10" stroke-linecap="butt" cx="50" cy="50" r="45"/>
|
|
@@ -662,7 +662,7 @@ const Icon = class {
|
|
|
662
662
|
if (!icon) {
|
|
663
663
|
throw new TypeError(`Unknown svg: ${this.icon}`);
|
|
664
664
|
}
|
|
665
|
-
return index.h("span", { key: '
|
|
665
|
+
return index.h("span", { key: '118278e8190607c65d05559091539e28fd27b1f8', class: "icon-container", innerHTML: icon.svg });
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
};
|
|
@@ -29,7 +29,7 @@ const InfoButton = class {
|
|
|
29
29
|
this.dsoToggle.emit({ originalEvent: e, active: this.active });
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h(index.Host, { key: '
|
|
32
|
+
return (index.h(index.Host, { key: 'f92cf2e064117a666eff6e06918d1b8bfaa0ae4b', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, index.h("button", { key: '9a9a095f29dff2d7ef53be6df2a5bb0de1fd9673', type: "button", class: clsx.clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, index.h("dso-icon", { key: 'b2fc1665fa93d7a131833fc71b9cd17b0b29f5c6', icon: this.active || this.hover ? "info-active" : "info" }), index.h("span", { key: '9aa27a9e5ecc316e89c5ad0af463e711328d1857', class: "sr-only" }, this.label))));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
InfoButton.style = DsoInfoButtonStyle0;
|
|
@@ -17,7 +17,7 @@ const Info = class {
|
|
|
17
17
|
this.active = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Fragment, { key: '
|
|
20
|
+
return (index.h(index.Fragment, { key: 'e5f657a636b290b194ccbb89b8cd10c361a3addd' }, index.h("slot", { key: '08ff21c78926849c1b0461abfc551f96fd4a769a' }), !this.fixed && (index.h("button", { key: '5312aa3e0b79e3c46c28b272b1fe2161f3c625a2', type: "button", onClick: (e) => this.dsoClose.emit(e) }, index.h("dso-icon", { key: '7473fe06abfd42aa7c39eb97b4ea1b8113e9bfe4', icon: "times" }), index.h("span", { key: 'e5b9d4414e871ff4ec15e18adb6ab819ddcfb0f5', class: "sr-only" }, "Sluiten")))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
Info.style = DsoInfoStyle0;
|
|
@@ -84,7 +84,7 @@ const Selectable = class {
|
|
|
84
84
|
render() {
|
|
85
85
|
var _a;
|
|
86
86
|
const hasInfo = !!this.host.querySelector('[slot="info"]');
|
|
87
|
-
return (index.h(index.Fragment, { key: '
|
|
87
|
+
return (index.h(index.Fragment, { key: '1f81229a1f1fef108068804fad7761151b9c074f' }, index.h("div", { key: 'fbd1cf9ab0ff933b7c0fb183c6be54c543502967', class: "dso-selectable-container" }, index.h("div", { key: '5d5b101e3b05e07a36b4cb1f0927bd55ccc459db', class: clsx.clsx("dso-selectable-input-wrapper", { "dso-keyboard-focus": this.keyboardFocus }) }, index.h("input", { key: '094554197b315b6a992a43360b229f0d898ae480', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, onBlur: () => (this.keyboardFocus = false), onKeyUp: () => (this.keyboardFocus = true), ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: '68d97d170c77ad983efcd6511ce23df320d3b23d', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: '54eca001300dd947e79f5f5cb9c91fc9f44a6a94', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: 'f3d478436c5b8428b10802953423aa237fb6c4a3' }, index.h("slot", { key: 'c0b0a05b5997a90a11581b7be95f3443e2cbb8a7', name: "info" })))), index.h("slot", { key: '7c8d8bd9c10289b068d1e544995cbebfbb7ee8e7', name: "options" })));
|
|
88
88
|
}
|
|
89
89
|
componentDidRender() {
|
|
90
90
|
if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
|
|
@@ -23,13 +23,13 @@ const InputRange = class {
|
|
|
23
23
|
const min = this.min || 0;
|
|
24
24
|
const max = this.max || 100;
|
|
25
25
|
const step = this.step || 1;
|
|
26
|
-
return (index.h(index.Fragment, null, this.description && (index.h("span", { key: '
|
|
26
|
+
return (index.h(index.Fragment, null, this.description && (index.h("span", { key: '01c22533d0eddbb7bb513317c531bcc04ab5d12f', id: "description", hidden: true }, this.description)), index.h("span", { key: 'fc58429b96deef9728b7ede4707176124d5b2ca5', class: "counter min", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: 'a9bee5cb4aef9a32141b12237a8cd80d453599a1', type: "range", min: this.min, max: this.max, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
|
|
27
27
|
originalEvent: event,
|
|
28
28
|
value: event.target instanceof HTMLInputElement ? parseInt(event.target.value, 10) : undefined,
|
|
29
29
|
max,
|
|
30
30
|
min,
|
|
31
31
|
step,
|
|
32
|
-
}) }), index.h("span", { key: '
|
|
32
|
+
}) }), index.h("span", { key: '883c3c66f15ae009ea147c265da96ba1b8e2167a', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
|
|
33
33
|
}
|
|
34
34
|
get host() { return index.getElement(this); }
|
|
35
35
|
};
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index$1 = require('./index-48d7533e.js');
|
|
6
|
+
const clsx = require('./clsx-fc789adc.js');
|
|
7
|
+
const index = require('./index-a5d31aab.js');
|
|
8
|
+
const v4 = require('./v4-c23234d2.js');
|
|
9
|
+
|
|
10
|
+
const labelCss = ":host{display:inline-block;max-width:100%}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-label{border-radius:4px;display:inline-block;line-height:1.5;max-width:100%;padding:4px 8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label button{background:none;border:0;border-radius:0 4px 4px 0;color:inherit;float:right;font-size:1rem;margin-bottom:-4px;margin-left:8px;margin-right:-4px;margin-top:0;padding:0}.dso-label button:hover{cursor:pointer}.dso-label button>dso-icon,.dso-label button>svg.di{display:block}.dso-label{background-color:#f2f2f2;border-color:#f2f2f2;color:#191919}.dso-label.dso-label-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-label.dso-label-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-label.dso-label-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-label.dso-label-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-error{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{background-color:#fff;border-color:#fff;color:#191919;outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{background-color:#8b4a6a;border-color:#8b4a6a;color:#fff}.dso-label.dso-compact{padding:0 8px}.dso-label.dso-hover .dso-label-content{text-decoration:line-through}.dso-truncate.dso-label-content{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}:host([removable]) .dso-truncate.dso-label-content{max-width:calc(100% - 28px)}";
|
|
11
|
+
const DsoLabelStyle0 = labelCss;
|
|
12
|
+
|
|
13
|
+
const resizeObserver = new ResizeObserver(index.debounce((entries) => {
|
|
14
|
+
entries.forEach(({ target }) => {
|
|
15
|
+
if (isDsoLabelComponent(target)) {
|
|
16
|
+
target._truncateLabel();
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}, 150));
|
|
20
|
+
function isDsoLabelComponent(element) {
|
|
21
|
+
return element.tagName === "DSO-LABEL";
|
|
22
|
+
}
|
|
23
|
+
function hasEllipses(el) {
|
|
24
|
+
return el.scrollWidth > el.clientWidth;
|
|
25
|
+
}
|
|
26
|
+
const Label = class {
|
|
27
|
+
constructor(hostRef) {
|
|
28
|
+
index$1.registerInstance(this, hostRef);
|
|
29
|
+
this.dsoRemoveClick = index$1.createEvent(this, "dsoRemoveClick", 7);
|
|
30
|
+
this.compact = undefined;
|
|
31
|
+
this.removable = undefined;
|
|
32
|
+
this.status = undefined;
|
|
33
|
+
this.removeHover = undefined;
|
|
34
|
+
this.removeFocus = undefined;
|
|
35
|
+
this.truncate = undefined;
|
|
36
|
+
this.textHover = undefined;
|
|
37
|
+
this.textFocus = undefined;
|
|
38
|
+
this.isTruncated = false;
|
|
39
|
+
this.labelText = "";
|
|
40
|
+
}
|
|
41
|
+
watchRemovable(removable) {
|
|
42
|
+
if (removable) {
|
|
43
|
+
this.startMutationObserver();
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.stopMutationObserver();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
watchTruncate(truncate) {
|
|
50
|
+
if (truncate) {
|
|
51
|
+
this.startTruncate();
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
this.stopTruncate();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
keyDownListener(event) {
|
|
58
|
+
if (event.key === "Escape") {
|
|
59
|
+
this.textHover = false;
|
|
60
|
+
this.textFocus = false;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
async _truncateLabel() {
|
|
67
|
+
setTimeout(() => {
|
|
68
|
+
this.isTruncated = !!this.labelContent && hasEllipses(this.labelContent);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
syncLabelText() {
|
|
72
|
+
var _a, _b;
|
|
73
|
+
this.labelText = (_b = (_a = this.host.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : "";
|
|
74
|
+
}
|
|
75
|
+
componentDidLoad() {
|
|
76
|
+
if (this.truncate) {
|
|
77
|
+
this.startTruncate();
|
|
78
|
+
}
|
|
79
|
+
if (this.removable) {
|
|
80
|
+
this.startMutationObserver();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
disconnectedCallback() {
|
|
84
|
+
this.stopTruncate();
|
|
85
|
+
this.stopMutationObserver(true);
|
|
86
|
+
}
|
|
87
|
+
/** The mutationObserver fetches the text placed inside the label, this is then used for the remove button and tooltip. */
|
|
88
|
+
startMutationObserver() {
|
|
89
|
+
this.mutationObserver = new MutationObserver(() => this.syncLabelText());
|
|
90
|
+
this.mutationObserver.observe(this.host, {
|
|
91
|
+
characterData: true,
|
|
92
|
+
childList: true,
|
|
93
|
+
subtree: true,
|
|
94
|
+
attributes: true,
|
|
95
|
+
});
|
|
96
|
+
this.syncLabelText();
|
|
97
|
+
}
|
|
98
|
+
stopMutationObserver(force = false) {
|
|
99
|
+
var _a;
|
|
100
|
+
if (force || !(this.truncate && this.removable)) {
|
|
101
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
102
|
+
delete this.mutationObserver;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
startTruncate() {
|
|
106
|
+
resizeObserver.observe(this.host);
|
|
107
|
+
this.startMutationObserver();
|
|
108
|
+
this._truncateLabel();
|
|
109
|
+
}
|
|
110
|
+
stopTruncate() {
|
|
111
|
+
resizeObserver.unobserve(this.host);
|
|
112
|
+
this.stopMutationObserver();
|
|
113
|
+
this.isTruncated = false;
|
|
114
|
+
}
|
|
115
|
+
render() {
|
|
116
|
+
return (index$1.h(index$1.Fragment, { key: '7d0859b14bf6b8b6bc1f1ea7f6e6428431cc1197' }, index$1.h("span", { key: 'b1c8c1302f21caaaebb0193a171a95e4330b92b8', "aria-describedby": "toggle-anchor", class: clsx.clsx("dso-label", {
|
|
117
|
+
[`dso-label-${this.status}`]: this.status,
|
|
118
|
+
"dso-compact": this.compact && !this.removable,
|
|
119
|
+
"dso-hover": this.removeHover || this.removeFocus,
|
|
120
|
+
}) }, index$1.h("slot", { key: '5f3f5b65b4e4b44949b817800b505c5db1d25275', name: "symbol" }), index$1.h("span", { key: '6070e0d015cf2464121cf0dfb0088676ab00628b', class: clsx.clsx("dso-label-content", {
|
|
121
|
+
"dso-truncate": !!this.truncate,
|
|
122
|
+
}), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, index$1.h("slot", { key: '04b20cade12d23246ce7b21e1aae447689e9c1c7' })), this.removable && (index$1.h("button", { key: 'bb184213b1ca01f83e2a1f265429293f3dda8f3b', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, index$1.h("span", { key: '9805c7dcd105ba5a6a59e75e822250defb107940', class: "sr-only" }, "Verwijder: ", this.labelText), index$1.h("dso-icon", { key: '19fef3d7fbd4b017cc880bc02fb3408706536933', icon: "times" })))), this.isTruncated && (index$1.h("dso-tooltip", { key: 'c136e39ed459e5c4680888b2a27bd0c17485406b', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
|
|
123
|
+
}
|
|
124
|
+
get host() { return index$1.getElement(this); }
|
|
125
|
+
static get watchers() { return {
|
|
126
|
+
"removable": ["watchRemovable"],
|
|
127
|
+
"truncate": ["watchTruncate"]
|
|
128
|
+
}; }
|
|
129
|
+
};
|
|
130
|
+
Label.style = DsoLabelStyle0;
|
|
131
|
+
|
|
132
|
+
const slideToggleCss = "button.dso-slider{border:0;padding:0}button.dso-slider:focus-visible{outline:2px solid #323232;outline-offset:1px}button.dso-slider svg rect{fill:#999;transition:fill 0.25s}button.dso-slider svg circle{transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transform:translateX(10px);fill:#fff}button.dso-slider[aria-checked=true] svg rect{fill:#275937}button.dso-slider[aria-checked=true] svg circle{transform:translateX(30px);fill:#fff}button.dso-slider[disabled] svg rect{fill:#ccc}button.dso-slider[disabled] svg circle{fill:#e5e5e5}button.dso-slider[disabled][aria-checked=true] svg rect{fill:#a8bcaf}button.dso-slider[disabled][aria-checked=true] svg circle{fill:#e5e5e5}.dso-slider{border-radius:24px;display:inline-flex}.dso-slider:hover{cursor:pointer}";
|
|
133
|
+
const DsoSlideToggleStyle0 = slideToggleCss;
|
|
134
|
+
|
|
135
|
+
const SlideToggle = class {
|
|
136
|
+
constructor(hostRef) {
|
|
137
|
+
index$1.registerInstance(this, hostRef);
|
|
138
|
+
this.dsoActiveChange = index$1.createEvent(this, "dsoActiveChange", 5);
|
|
139
|
+
this.checked = false;
|
|
140
|
+
this.disabled = false;
|
|
141
|
+
this.accessibleLabel = undefined;
|
|
142
|
+
this.labelledbyId = undefined;
|
|
143
|
+
this.hasVisibleLabel = undefined;
|
|
144
|
+
this.identifier = v4.v4();
|
|
145
|
+
}
|
|
146
|
+
handleSwitch(e) {
|
|
147
|
+
this.dsoActiveChange.emit({
|
|
148
|
+
originalEvent: e,
|
|
149
|
+
checked: !this.checked,
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
componentWillLoad() {
|
|
153
|
+
this.hasVisibleLabel = this.host.querySelector("*") !== null;
|
|
154
|
+
}
|
|
155
|
+
render() {
|
|
156
|
+
return (index$1.h(index$1.Fragment, null, index$1.h("button", Object.assign({ key: 'f8675793bcdd4b88ca76fa4e3739a5e7a76ebbb0', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e) }, (this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), (this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {})), index$1.h("svg", { key: '3aea12f6ceb0ca2aaa708afe2345f9fc45b5f982', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, index$1.h("g", { key: '8e1d9f35b03bc2c5eae7fe28b5f0966f76eb70d4', fill: "none", "fill-rule": "evenodd" }, index$1.h("rect", { key: 'bdf984ae055e5b6b994da64526b260082935b43e', width: "40", height: "20", fill: "currentColor", rx: "10" }), index$1.h("circle", { key: 'bc009a77fdf29e0901b089d22cf73383b3172c9c', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (index$1.h("label", { key: 'c623527a4f867e5bb7745d97f77d5f6515e8b9fd', htmlFor: this.identifier }, index$1.h("slot", { key: 'bef77c8f156edc05a4e549d0a9aa0d5c33e6797f' })))));
|
|
157
|
+
}
|
|
158
|
+
get host() { return index$1.getElement(this); }
|
|
159
|
+
};
|
|
160
|
+
SlideToggle.style = DsoSlideToggleStyle0;
|
|
161
|
+
|
|
162
|
+
exports.dso_label = Label;
|
|
163
|
+
exports.dso_slide_toggle = SlideToggle;
|
|
164
|
+
|
|
165
|
+
//# sourceMappingURL=dso-label_2.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"dso-label.dso-slide-toggle.entry.cjs.js","mappings":"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","names":["debounce","h","Fragment","clsx","v4"],"sources":["src/components/label/label.scss?tag=dso-label&encapsulation=shadow","src/components/label/label.tsx","src/components/slide-toggle/slide-toggle.scss?tag=dso-slide-toggle","src/components/slide-toggle/slide-toggle.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/label\";\r\n\r\n:host {\r\n display: inline-block;\r\n max-width: 100%;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n// Todo: Replace .sr-only selector with web component specific selector, no need for .sr-only if we can generate the SCSS\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.dso-label {\r\n @include label.root();\r\n\r\n &.dso-hover {\r\n .dso-label-content {\r\n text-decoration: line-through;\r\n }\r\n }\r\n}\r\n\r\n.dso-truncate.dso-label-content {\r\n display: inline-block;\r\n max-width: 100%;\r\n overflow: hidden;\r\n text-overflow: ellipsis; // stylelint-disable-line declaration-property-value-disallowed-list -- full text can be viewed via tooltip.\r\n vertical-align: bottom;\r\n white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- full text can be viewed via tooltip.\r\n}\r\n\r\n:host([removable]) {\r\n .dso-truncate.dso-label-content {\r\n max-width: calc(100% - (units.$u3 + 4px));\r\n }\r\n}\r\n","import {\r\n h,\r\n Component,\r\n ComponentInterface,\r\n Element,\r\n Event,\r\n EventEmitter,\r\n Fragment,\r\n Method,\r\n Prop,\r\n State,\r\n Watch,\r\n Listen,\r\n} from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\nimport debounce from \"debounce\";\r\n\r\nconst resizeObserver = new ResizeObserver(\r\n debounce((entries: ResizeObserverEntry[]) => {\r\n entries.forEach(({ target }) => {\r\n if (isDsoLabelComponent(target)) {\r\n target._truncateLabel();\r\n }\r\n });\r\n }, 150),\r\n);\r\n\r\nfunction isDsoLabelComponent(element: Element): element is HTMLDsoLabelElement {\r\n return element.tagName === \"DSO-LABEL\";\r\n}\r\n\r\nfunction hasEllipses(el: HTMLElement): boolean {\r\n return el.scrollWidth > el.clientWidth;\r\n}\r\n\r\n@Component({\r\n tag: \"dso-label\",\r\n styleUrl: \"label.scss\",\r\n shadow: true,\r\n})\r\nexport class Label implements ComponentInterface {\r\n private labelContent: HTMLSpanElement | undefined;\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n @Element()\r\n private host!: HTMLDsoLabelElement;\r\n\r\n /**\r\n * For compact Label\r\n */\r\n @Prop()\r\n compact?: boolean;\r\n\r\n /**\r\n * Shows a button that can be used to remove the Label.\r\n */\r\n @Prop()\r\n removable?: boolean;\r\n\r\n /**\r\n * The status of this Label.\r\n */\r\n @Prop()\r\n status?: \"primary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"error\" | \"bright\" | \"attention\";\r\n\r\n /**\r\n * Emitted when the user activates the remove button.\r\n */\r\n @Event()\r\n dsoRemoveClick!: EventEmitter<MouseEvent>;\r\n\r\n @State()\r\n removeHover?: boolean;\r\n\r\n @State()\r\n removeFocus?: boolean;\r\n\r\n /**\r\n * Whether the Label is allowed to truncate the contents if it does not fit the container element.\r\n */\r\n @Prop()\r\n truncate?: boolean;\r\n\r\n @State()\r\n textHover?: boolean;\r\n\r\n @State()\r\n textFocus?: boolean;\r\n\r\n @State()\r\n isTruncated = false;\r\n\r\n @State()\r\n labelText = \"\";\r\n\r\n @Watch(\"removable\")\r\n watchRemovable(removable: boolean) {\r\n if (removable) {\r\n this.startMutationObserver();\r\n } else {\r\n this.stopMutationObserver();\r\n }\r\n }\r\n\r\n @Watch(\"truncate\")\r\n watchTruncate(truncate: boolean) {\r\n if (truncate) {\r\n this.startTruncate();\r\n } else {\r\n this.stopTruncate();\r\n }\r\n }\r\n\r\n @Listen(\"keydown\", { target: \"document\" })\r\n keyDownListener(event: KeyboardEvent) {\r\n if (event.key === \"Escape\") {\r\n this.textHover = false;\r\n this.textFocus = false;\r\n }\r\n }\r\n\r\n /**\r\n * @internal\r\n */\r\n @Method()\r\n async _truncateLabel() {\r\n setTimeout(() => {\r\n this.isTruncated = !!this.labelContent && hasEllipses(this.labelContent);\r\n });\r\n }\r\n\r\n private syncLabelText() {\r\n this.labelText = this.host.textContent?.trim() ?? \"\";\r\n }\r\n\r\n componentDidLoad() {\r\n if (this.truncate) {\r\n this.startTruncate();\r\n }\r\n\r\n if (this.removable) {\r\n this.startMutationObserver();\r\n }\r\n }\r\n\r\n disconnectedCallback() {\r\n this.stopTruncate();\r\n\r\n this.stopMutationObserver(true);\r\n }\r\n\r\n /** The mutationObserver fetches the text placed inside the label, this is then used for the remove button and tooltip. */\r\n private startMutationObserver(): void {\r\n this.mutationObserver = new MutationObserver(() => this.syncLabelText());\r\n\r\n this.mutationObserver.observe(this.host, {\r\n characterData: true,\r\n childList: true,\r\n subtree: true,\r\n attributes: true,\r\n });\r\n\r\n this.syncLabelText();\r\n }\r\n\r\n private stopMutationObserver(force = false): void {\r\n if (force || !(this.truncate && this.removable)) {\r\n this.mutationObserver?.disconnect();\r\n\r\n delete this.mutationObserver;\r\n }\r\n }\r\n\r\n private startTruncate(): void {\r\n resizeObserver.observe(this.host);\r\n this.startMutationObserver();\r\n this._truncateLabel();\r\n }\r\n\r\n private stopTruncate(): void {\r\n resizeObserver.unobserve(this.host);\r\n this.stopMutationObserver();\r\n this.isTruncated = false;\r\n }\r\n\r\n render() {\r\n return (\r\n <Fragment>\r\n <span\r\n aria-describedby=\"toggle-anchor\"\r\n class={clsx(\"dso-label\", {\r\n [`dso-label-${this.status}`]: this.status,\r\n \"dso-compact\": this.compact && !this.removable,\r\n \"dso-hover\": this.removeHover || this.removeFocus,\r\n })}\r\n >\r\n <slot name=\"symbol\"></slot>\r\n <span\r\n class={clsx(\"dso-label-content\", {\r\n \"dso-truncate\": !!this.truncate,\r\n })}\r\n ref={(element) => (this.labelContent = element)}\r\n tabindex={this.truncate && this.isTruncated ? 0 : undefined}\r\n onMouseEnter={() => (this.textHover = true)}\r\n onMouseLeave={() => (this.textHover = false)}\r\n onFocus={() => (this.textFocus = true)}\r\n onBlur={() => (this.textFocus = false)}\r\n >\r\n <slot></slot>\r\n </span>\r\n {this.removable && (\r\n <button\r\n type=\"button\"\r\n onClick={(e) => this.dsoRemoveClick.emit(e)}\r\n onMouseEnter={() => (this.removeHover = true)}\r\n onMouseLeave={() => (this.removeHover = false)}\r\n onFocus={() => (this.removeFocus = true)}\r\n onBlur={() => (this.removeFocus = false)}\r\n >\r\n <span class=\"sr-only\">Verwijder: {this.labelText}</span>\r\n <dso-icon icon=\"times\"></dso-icon>\r\n </button>\r\n )}\r\n </span>\r\n {this.isTruncated && (\r\n <dso-tooltip\r\n stateless\r\n id=\"toggle-anchor\"\r\n active={this.textHover || this.textFocus}\r\n position=\"top\"\r\n strategy=\"absolute\"\r\n >\r\n {this.labelText}\r\n </dso-tooltip>\r\n )}\r\n </Fragment>\r\n );\r\n }\r\n}\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\nbutton.dso-slider {\r\n border: 0;\r\n padding: 0;\r\n\r\n &:focus-visible {\r\n outline: 2px solid colors.$grijs-80;\r\n outline-offset: 1px;\r\n }\r\n\r\n svg {\r\n rect {\r\n fill: colors.$grijs-40;\r\n transition: fill 0.25s;\r\n }\r\n\r\n circle {\r\n @include utilities.transition(transform);\r\n\r\n transform: translateX(10px);\r\n fill: colors.$wit;\r\n }\r\n }\r\n\r\n &[aria-checked=\"true\"] svg {\r\n rect {\r\n fill: colors.$bosgroen;\r\n }\r\n\r\n circle {\r\n transform: translateX(30px);\r\n fill: colors.$wit;\r\n }\r\n }\r\n\r\n &[disabled] svg {\r\n rect {\r\n fill: colors.$grijs-20;\r\n }\r\n\r\n circle {\r\n fill: colors.$grijs-10;\r\n }\r\n }\r\n\r\n &[disabled][aria-checked=\"true\"] svg {\r\n rect {\r\n fill: colors.$bosgroen-40;\r\n }\r\n\r\n circle {\r\n fill: colors.$grijs-10;\r\n }\r\n }\r\n}\r\n\r\n.dso-slider {\r\n border-radius: units.$u3;\r\n display: inline-flex;\r\n\r\n &:hover {\r\n cursor: pointer;\r\n }\r\n}\r\n","import { h, Component, ComponentInterface, Event, Fragment, Prop, EventEmitter, Element, State } from \"@stencil/core\";\r\nimport { v4 } from \"uuid\";\r\nimport { SlideToggleActiveEvent } from \"./slide-toggle.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-slide-toggle\",\r\n styleUrl: \"slide-toggle.scss\",\r\n shadow: false,\r\n})\r\nexport class SlideToggle implements ComponentInterface {\r\n @Element()\r\n private host!: HTMLDsoSlideToggleElement;\r\n\r\n /**\r\n * Set to true if Slide Toggle is checked.\r\n */\r\n @Prop()\r\n checked = false;\r\n\r\n /**\r\n * Disables the Slide Toggle, preventing it from checking/unchecking and therefor not emitting any events.\r\n */\r\n @Prop()\r\n disabled = false;\r\n\r\n /**\r\n * When provided the `<button>` will be labelled with `aria-label`. For a visible label provide a `<span>` inside the component.\r\n */\r\n @Prop()\r\n accessibleLabel?: string;\r\n\r\n /**\r\n * Provide the `id` of the element that labels this element. this property sets the `aria-labelledby` on the switch button.\r\n */\r\n @Prop()\r\n labelledbyId?: string;\r\n\r\n @State()\r\n hasVisibleLabel?: boolean;\r\n\r\n /**\r\n * Provide an `id` for the `<button>`. Useful for placing your to place your own `<label for=\"id\">`.\r\n */\r\n @Prop()\r\n identifier = v4();\r\n\r\n /**\r\n * Emitted when user checks or unchecks the Slide Toggle.\r\n */\r\n @Event({ composed: false })\r\n dsoActiveChange!: EventEmitter<SlideToggleActiveEvent>;\r\n\r\n private handleSwitch(e: Event): void {\r\n this.dsoActiveChange.emit({\r\n originalEvent: e,\r\n checked: !this.checked,\r\n });\r\n }\r\n\r\n componentWillLoad(): void {\r\n this.hasVisibleLabel = this.host.querySelector(\"*\") !== null;\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n <button\r\n id={this.identifier}\r\n role=\"switch\"\r\n class=\"dso-slider\"\r\n aria-checked={\"\" + this.checked}\r\n disabled={this.disabled}\r\n onClick={(e) => this.handleSwitch(e)}\r\n {...(this.accessibleLabel ? { \"aria-label\": this.accessibleLabel } : {})}\r\n {...(this.labelledbyId ? { \"aria-labelledby\": this.labelledbyId } : {})}\r\n >\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"20\" viewBox=\"0 0 40 20\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <rect width=\"40\" height=\"20\" fill=\"currentColor\" rx=\"10\" />\r\n <circle cy=\"10\" r=\"8\" fill=\"currentColor\" />\r\n </g>\r\n </svg>\r\n </button>\r\n {this.hasVisibleLabel && (\r\n <label htmlFor={this.identifier}>\r\n <slot />\r\n </label>\r\n )}\r\n </>\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -32,10 +32,10 @@ const LegendItem = class {
|
|
|
32
32
|
const hasSymbol = this.symbolSlottedElement !== null;
|
|
33
33
|
const hasBody = this.bodySlottedElement !== null;
|
|
34
34
|
const isSelectable = this.selectableSlottedElement !== null;
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: '3a732bff9d1e998b7468c7e508edf41e472cdf1f', onMouseEnter: () => this.dsoMouseEnter.emit(), onMouseLeave: () => this.dsoMouseLeave.emit() }, index.h("div", { key: '8b2bba6b998955c91e5d67fa6dcd4424807b7c2a', class: clsx.clsx("legend-item", {
|
|
36
36
|
"legend-item-symbol": hasSymbol,
|
|
37
37
|
"legend-item-selectable": isSelectable,
|
|
38
|
-
}) }, index.h("div", { key: '
|
|
38
|
+
}) }, index.h("div", { key: '1f3bb12d214ed0877786a195dbae6185b00b6c97', hidden: !hasSymbol }, index.h("slot", { key: '032e27bcad7cf0a711e7afe05f782c7d51246d1d', name: "symbol" })), index.h("div", { key: '7ba425d10db6401e450090b94824bb66ff709e9b' }, index.h("slot", { key: 'a4f911e41c0a700a4aa13a7fb4aab1fcdbeffe8a' })), this.disabled && this.disabledMessage && (index.h("dso-toggletip", { key: 'f094a3c424c1d1fd181b57bfd51638bfb8ea0797', position: "bottom" }, this.disabledMessage)), this.removable && (index.h("button", { key: '025272a3802507a54d2e50741dd79ed8bd1ba130', id: "remove-button", type: "button", onClick: (e) => this.dsoRemoveClick.emit({ originalEvent: e }) }, index.h("span", { key: 'a1f96e0028b2af5d115216676bb2a2f31403f53d', class: "sr-only" }, "Legenda item verwijderen"), index.h("dso-icon", { key: 'b2c18e31618d3ce43536c1b2d3d48f5d66c16658', icon: "trash" }))), hasBody && !this.disabled && (index.h("button", { key: 'ef084b28d39bac92df86f5e4e9f441588fa77d3f', id: "edit-button", type: "button", onClick: () => (this.showBody = !this.showBody) }, index.h("span", { key: '2ca66b1cadf279727750086f02e3423029b39fec', class: "sr-only" }, "Legenda item aanpassen"), index.h("dso-icon", { key: '6fe03e75ecbc08e02956d75c10212ad3f566d6f4', icon: this.showBody ? "times" : "more" })))), index.h("div", { key: '061973981aa31be8a7b1ab51f94e301a1c4aa68b', hidden: !hasBody || this.disabled || !this.showBody, class: "body" }, index.h("slot", { key: '9817bbb5df6790ecf30c97c688aed899a7b9ef9e', name: "body" }))));
|
|
39
39
|
}
|
|
40
40
|
get host() { return index.getElement(this); }
|
|
41
41
|
};
|
|
@@ -125,7 +125,7 @@ const ListButton = class {
|
|
|
125
125
|
render() {
|
|
126
126
|
const showButtonInputs = this.manualCount === undefined;
|
|
127
127
|
const selected = this.checked || (this.count !== undefined && this.count > 0);
|
|
128
|
-
return (index.h("div", { key: '
|
|
128
|
+
return (index.h("div", { key: 'd40fdadfac45c00b7657ff365ddfac8769c72710', class: clsx.clsx(["dso-button-group", { "dso-disabled": this.disabled }]) }, index.h("div", { key: '916de1d699fdb155530dfb5aa5b4b9315eb78b33', class: clsx.clsx(["dso-list-button", { "dso-selected": selected, "dso-single-count": this.count === 1 }]), onClick: (e) => this.handleSelectClick(e) }, index.h("div", { key: 'cf718524bcc8bff10602d19701319522276390b6', class: "dso-selectable" }, index.h("input", { key: '2d36b3e7a9377ff765cbfbbd19874f2db49786e4', id: "dso-list-button-checkbox", type: "checkbox", value: "list-button", name: "naam", "aria-describedby": [this.sublabel && "sublabel", this.subcontentSlot && "description"].filter((s) => !!s).join(" ") || null, checked: selected, disabled: this.disabled }), index.h("label", { key: 'b5997457d4260bcf7971d2e57c7cb22ba036ef17', htmlFor: "dso-list-button-checkbox" }, this.label), this.subcontentSlot && (index.h("div", { key: 'c3747912f68572b004672ae49d770037cc40ed3c', class: "sr-only", id: "description" }, this.subcontentPrefix && this.subcontentPrefix + ":", index.h("div", { key: '85bd8620045f43ee3af685fcc9805f287b992ebd', innerHTML: this.subcontentSlot.innerHTML })))), this.sublabel && (index.h("span", { key: '0936df007aa982b94bd63f63d2744dc342d0ec96', class: "dso-sublabel", id: "sublabel" }, this.sublabel)), index.h("slot", { key: '4e54fda951864d13c59bbf70f9052b7aeabb6bdb', name: "subcontent" })), this.count !== undefined && this.count > 0 && (index.h("div", { key: '8bd1030c7f7e779da73c67886c6da74e59eee9e9', class: "dso-input-number" }, this.manualCount === undefined && this.count > 1 && (index.h("button", { key: 'eeaf4920e388b5315a705859832fafe6d14920e3', type: "button", class: "dso-tertiary", disabled: this.count === Number(this.min) || this.disabled, onClick: (e) => this.stepValue(e, "decrement") }, index.h("dso-icon", { key: '60020bb171ed5b33e9850bc7472a7caa08bfbfd6', icon: "minus-circle" }), index.h("span", { key: '6f085b670db936d7ae44405a87d5aa04e663de8e', class: "sr-only" }, "Aantal verlagen"))), index.h("div", { key: 'aeacf135c45b4b255a5399dcded381769cc5962b', class: "dso-input-wrapper" }, this.manualCount === undefined && this.count > 1 && (index.h("input", { key: '84dd0679203c6ff85ea858e689366fb952a9e666', class: "dso-input-step-counter", type: "number", tabIndex: -1, "aria-label": "Aantal", value: this.count, readOnly: true })), index.h("form", { key: '19b9381145862bf3893284594479ff009f37a310', onSubmit: (e) => this.setCount(e) }, index.h("div", { key: 'e6bb25bd9ba9b848431e7451154ab91888f3193d', ref: (element) => (this.manualInputWrapperElement = element) }, index.h("input", { key: 'da5757dc2be34a994e1a54ceae73e176cccb99b8', class: clsx.clsx("form-control", { hidden: showButtonInputs }), type: "number", "aria-label": "Aantal", value: this.manualCount, min: this.min, max: this.max, onInput: (e) => this.handleOnChange(e) })), this.manual && (index.h("button", { key: 'cce6b85e2cbb094c7dbe9b008320758c075106d6', class: clsx.clsx("dso-manual-input-button", { "sr-only": !showButtonInputs }), type: !showButtonInputs ? "submit" : "button", disabled: this.disabled, onClick: () => showButtonInputs && this.startManualCountInput() }, showButtonInputs ? (index.h("span", { class: "sr-only" }, "Handmatig aantal invullen")) : (index.h("span", { class: "sr-only" }, "Zet waarde")))))), showButtonInputs && (index.h("button", { key: '09fd129b37155929d83573123cb15fd4c072cee3', type: "button", class: "dso-tertiary", disabled: this.count === Number(this.max) || this.disabled, onClick: (e) => this.stepValue(e, "increment") }, index.h("dso-icon", { key: '53bc95e299e1c0af676e397382f15137016c58e7', icon: "plus-circle" }), index.h("span", { key: 'a22ef9ead527e8ba09685fc9ec89b26661f22c7e', class: "sr-only" }, "Aantal verhogen")))))));
|
|
129
129
|
}
|
|
130
130
|
get host() { return index.getElement(this); }
|
|
131
131
|
static get watchers() { return {
|
|
@@ -26,8 +26,8 @@ const Logo = class {
|
|
|
26
26
|
this.ribbon = undefined;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (index.h(index.Host, { key: '
|
|
30
|
-
(!this.labelUrl ? (index.h("span", { class: "logo-label" }, this.label)) : (index.h("a", { class: "logo-label-url", href: this.labelUrl, onClick: this.handleLabelClick }, index.h("span", { class: "logo-label" }, this.label)))), this.ribbon && index.h("div", { key: '
|
|
29
|
+
return (index.h(index.Host, { key: 'd57dfbb27ec2be56630b4a78ade3a9922e81c3c3', "aria-label": ["Omgevingsloket", this.label, this.ribbon && `(${this.ribbon})`].filter((s) => !!s).join(" ") }, this.logoUrl ? (index.h("a", { class: "logo-url", href: this.logoUrl, onClick: this.handleLogoClick }, index.h(DsoLogo, null))) : (index.h(DsoLogo, null)), this.label &&
|
|
30
|
+
(!this.labelUrl ? (index.h("span", { class: "logo-label" }, this.label)) : (index.h("a", { class: "logo-label-url", href: this.labelUrl, onClick: this.handleLabelClick }, index.h("span", { class: "logo-label" }, this.label)))), this.ribbon && index.h("div", { key: '8c22fc7c3b90a05312eedb04dd9c356cba7fa27e', class: "logo-ribbon" }, this.ribbon)));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Logo.style = DsoLogoStyle0;
|
|
@@ -32,7 +32,7 @@ const MapBaseLayers = class {
|
|
|
32
32
|
for (const ref in this.selectableRefs) {
|
|
33
33
|
delete this.selectableRefs[ref];
|
|
34
34
|
}
|
|
35
|
-
return (index.h("fieldset", { key: '
|
|
35
|
+
return (index.h("fieldset", { key: 'ce4733538fc133e4d016ebe43df3b13a58797446', class: "form-group dso-radios" }, index.h("legend", { key: 'b1f4ceb4f0c8d9fefce0ca9646e02097e95afbd4', class: "sr-only" }, "Achtergrond"), index.h("div", { key: '702d557a61547834151275a488d207d3b78d3407', class: "dso-label-container" }, index.h("span", { key: 'e44d8e0a6d88ab41a8c36989229bc4d577f9c61f', class: "control-label", "aria-hidden": "true" }, "Achtergrond")), index.h("div", { key: '0b97e49d0288373b77f8edcc15efa1f77c440c8c', class: "dso-field-container" }, this.baseLayers.map((baseLayer) => (index.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 ? index.h("p", { slot: "info" }, baseLayer.info) : null))))));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
MapBaseLayers.style = DsoMapBaseLayersStyle0;
|
|
@@ -66,7 +66,7 @@ const MapControls = class {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
69
|
+
return (index.h(index.Host, { key: '811ed45e16756a18deea944ab3a830de0337515c' }, index.h("button", { key: '5eb63aafc7e83f90fbb93a8ffef51189f86dabfd', type: "button", id: "toggle-visibility-button", class: "toggle-visibility-button", onClick: (e) => this.toggleVisibility(e), ref: (element) => (__classPrivateFieldSet(this, _MapControls_toggleButtonElement, element, "f")) }, index.h("dso-icon", { key: '10c61d07bdabde651a1b054bdfcffff96b09ffa6', icon: "layers" }), index.h("span", { key: '495d5f0f496812b699b0d73384ff7a3cf44cdf83' }, "Kaartlagen")), index.h("div", { key: 'f7cc57743bd35805fe1290884c42be7b9f28deec', class: "zoom-buttons" }, index.h("button", { key: 'dc849568c9f89a3a97e089a748e4f9cab1bb244a', type: "button", onClick: (e) => this.dsoZoomIn.emit(e), disabled: this.disableZoom === "in" || this.disableZoom === "both" }, index.h("span", { key: 'e2f3dc349c28b85641c31b31fb562ac3d978ad8f' }, "Zoom in"), index.h("dso-icon", { key: '685d9951a3f210d41c127445221fbc4202f81f8b', icon: "plus" })), index.h("button", { key: 'c207b3d18695514f2450e0541bd96a9959e79c41', type: "button", onClick: (e) => this.dsoZoomOut.emit(e), disabled: this.disableZoom === "out" || this.disableZoom === "both" }, index.h("span", { key: '5ae124eec302ed0eb4311a863724319efe11ac07' }, "Zoom uit"), index.h("dso-icon", { key: '0d42226e456acc25c35a27e8b2f218b22c6f4108', icon: "minus" }))), index.h("section", { key: 'f1c8eeaae2dc0b107abe12068ab0c1dc55a083ab', hidden: this.hideContent }, index.h("header", { key: '30fbc77b30f39fb09f1aaca1ccbcf9d159aec5c1' }, index.h("h2", { key: '4ef3fd5e1af61d3c6e904ab3185db652fdfa6bca' }, this.panelTitle), index.h("button", { key: 'ec6d354424c9e918ed8b548944be847697f8ff39', type: "button", class: "close-button", onClick: (e) => this.toggleVisibility(e), ref: (element) => (__classPrivateFieldSet(this, _MapControls_closeButtonElement, element, "f")) }, index.h("span", { key: 'ff58412ce86c3d0831acb22e82b3ff70707417c4' }, "Verberg paneel ", this.panelTitle), index.h("dso-icon", { key: '4dd038854693f096c3436f2a4c2a94748a9787e1', icon: "times" }))), index.h("dso-scrollable", { key: '645eb72dc729951ff79034339b905e36e91e4e7b' }, index.h("div", { key: '6df947228a9dc9bf2ed52ab9b3ce0874ed2618cb', class: "content" }, index.h("slot", { key: '810c62ea5de995e1423f664e11411213df18bfec' }))))));
|
|
70
70
|
}
|
|
71
71
|
static get watchers() { return {
|
|
72
72
|
"open": ["watchOpen"]
|
|
@@ -33,7 +33,7 @@ const MapOverlays = class {
|
|
|
33
33
|
for (const ref in this.selectableRefs) {
|
|
34
34
|
delete this.selectableRefs[ref];
|
|
35
35
|
}
|
|
36
|
-
return (index.h("fieldset", { key: '
|
|
36
|
+
return (index.h("fieldset", { key: 'e064b6e3c8270a7ae1a88a75310e643184b0c871', class: "form-group dso-checkboxes" }, index.h("legend", { key: 'be69f5fb324f9699693c8a59e02488d1ef299f80', class: "sr-only" }, "Kaartlagen"), index.h("div", { key: '31c5b7a451d53c2bb88078741a6bf003a5f38171', class: "dso-label-container" }, index.h("span", { key: 'f923ee4a9eab8445103642d68478e76f1393fa31', class: "control-label", "aria-hidden": "true" }, "Kaartlagen")), index.h("div", { key: 'a3f52d6e7f87ecfdb6dd5ec354e728ec78ff392a', class: "dso-field-container" }, this.overlays.map((overlay) => (index.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 ? index.h("p", { slot: "info" }, overlay.info) : null))))));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
MapOverlays.style = DsoMapOverlaysStyle0;
|
|
@@ -55,7 +55,7 @@ const MarkBar = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const current = this.current || 0;
|
|
57
57
|
const totalCount = this.totalCount || 0;
|
|
58
|
-
return (index.h("div", { key: '
|
|
58
|
+
return (index.h("div", { key: '86eb7b642e9767352fbc75a1daba29afcf55ce03', class: "dso-mark-bar" }, index.h("div", { key: '09ae8802d957d6b211c29bf63862a31c1aa73226', class: "dso-mark-bar-input" }, index.h("input", { key: 'aad7ce3b0fc2885f83a09763be64d83adbaf565a', type: "text", id: "search-input", value: this.value, onInput: this.handleInput, onKeyDown: this.handleKeyDown, placeholder: " ", ref: (element) => (this.inputElement = element) }), index.h("label", { key: 'a734d54fdde110aeb8c8cc4f01c1a0cf01c414ac', htmlFor: "search-input" }, index.h("dso-icon", { key: '3b608e3b58be2c1523481711906ccd6930ec3fb7', class: "dso-search-icon", icon: "search" }), index.h("span", { key: 'e2f2ef89c4444c90688947010f01c551a4604b2c', class: "label-text" }, this.label)), index.h("button", { key: '6d5ecdef20b596f3ce1c7a7a0240c11bc4f474c7', type: "button", onClick: this.handleClear }, index.h("dso-icon", { key: 'e28f8ff586da9c44be6dce7ebe60f0c2ab06068e', icon: "times" }), index.h("span", { key: 'b84ebcfa78721dfed4f195d4a684c66e2e1aca48', class: "sr-only" }, "Zoekopdracht legen"))), index.h("div", { key: 'ee0f15d11fc4997a51771eb13cbd75da919530ef', class: "dso-button-container" }, index.h("span", { key: 'c8bd69aa13ce337b8845d60bf38dee4c04cce547', class: "divider" }), index.h("button", { key: 'f235b21d3d068fbcef70b4d92d636ac2ffa0da39', type: "button", onClick: this.handlePrevious, disabled: current <= 1 }, index.h("dso-icon", { key: '587848082507cd57cd90e4c0f81be53d8e4df0b6', icon: "chevron-up", class: "hydrated" }), index.h("span", { key: '3f8e9c78ddc70fedc638528bfb0000b9ce4f91c9', class: "sr-only" }, "Vorig zoekresultaat")), index.h("span", { key: '88e285a9a36594ddfc782539fd66f566496526ed' }, current, "/", totalCount), index.h("button", { key: '732c37e44fb2eb9989754d606776c15d95b328c4', type: "button", onClick: this.handleNext, disabled: current >= totalCount }, index.h("dso-icon", { key: '72032a6914db0c1cdf967e02e470649f61056219', icon: "chevron-down", class: "hydrated" }), index.h("span", { key: '13cf1a7f9931e5bff22dbec53cfbf9464d8a5c72', class: "sr-only" }, "Volgend zoekresultaat")))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
MarkBar.style = DsoMarkBarStyle0;
|
|
@@ -43,10 +43,10 @@ const Modal = class {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
var _a;
|
|
46
|
-
return (index.h("dialog", { key: '
|
|
46
|
+
return (index.h("dialog", { key: '105a90e070e128bc42e652e71e2d65d7075c3b22', class: "dso-modal", role: (_a = this.role) !== null && _a !== void 0 ? _a : undefined, "aria-modal": "true", "aria-labelledby": this.ariaId, ref: (element) => (this.htmlDialogElement = element), onCancel: (e) => {
|
|
47
47
|
e.preventDefault();
|
|
48
48
|
this.dsoClose.emit({ originalEvent: e });
|
|
49
|
-
} }, index.h("div", { key: '
|
|
49
|
+
} }, index.h("div", { key: '62928005e012b28a4bb3292577d338a19564d900', class: "dso-dialog", role: "document" }, this.modalTitle ? (index.h("div", { class: "dso-header" }, index.h("h2", { id: this.ariaId }, this.modalTitle), this.showCloseButton && (index.h("button", { type: "button", class: "dso-close", onClick: (e) => this.dsoClose.emit({ originalEvent: e }) }, index.h("dso-icon", { icon: "times" }), index.h("span", { class: "sr-only" }, "Sluiten"))))) : (index.h("span", { class: "sr-only", id: this.ariaId }, "Dialoog")), index.h("dso-scrollable", { key: 'a3b8ca827f4f810111748c8afce16376a2855ea2' }, index.h("div", { key: 'e1b8da8b7f989fb9218225717b42a442ccdbba68', class: "dso-body", tabIndex: 0 }, index.h("slot", { key: '75d7237cd6361428ee1a8fde43297105c13a5a70', name: "body" }))), this.hasFooter && (index.h("div", { key: 'ccba551213f760dc116181a15c5d14ccc4e69b55', class: "dso-footer" }, index.h("slot", { key: '723581c8230a74655480866e0cb319c0e3f40215', name: "footer" }))))));
|
|
50
50
|
}
|
|
51
51
|
get host() { return index.getElement(this); }
|
|
52
52
|
};
|