@dso-toolkit/core 62.30.1 → 63.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/dso-accordion-section.cjs.entry.js +3 -3
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-alert_5.cjs.entry.js +27 -34
- package/dist/cjs/dso-alert_5.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
- package/dist/cjs/{dso-annotation-output_2.cjs.entry.js → dso-annotation-locatie_2.cjs.entry.js} +24 -15
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
- package/dist/cjs/{dso-expandable.cjs.entry.js → dso-attachments-counter_2.cjs.entry.js} +18 -3
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-autosuggest.cjs.entry.js +2 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-badge.cjs.entry.js +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 +9 -4
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +1 -1
- 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 +1 -1
- 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_3.cjs.entry.js +193 -0
- package/dist/cjs/dso-label_3.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 +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-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 +7 -2
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/{dso-label_2.cjs.entry.js → dso-tooltip.cjs.entry.js} +8 -131
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -0
- 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 +2 -2
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +3 -3
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +2 -2
- package/dist/collection/components/advanced-select/advanced-select.js +2 -2
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +2 -2
- 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 +9 -4
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +2 -2
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +2 -2
- package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/expandable/expandable.js +2 -2
- 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 +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-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/nodes/figuur.node.js +8 -10
- package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.css +5 -0
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.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 +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/toggletip/toggletip.js +7 -2
- package/dist/collection/components/toggletip/toggletip.js.map +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/components/alert.js +1 -1
- package/dist/{esm/dso-annotation-locatie.entry.js → components/annotation-locatie.js} +62 -12
- package/dist/{cjs/dso-annotation-locatie.cjs.entry.js.map → components/annotation-locatie.js.map} +1 -1
- package/dist/components/attachments-counter.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/document-component.js +14 -14
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dso-accordion-section.js +3 -3
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-action-list-item.js +2 -2
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
- package/dist/components/dso-annotation-kaart.js +1 -1
- package/dist/components/dso-annotation-locatie.js +1 -80
- package/dist/components/dso-annotation-locatie.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-autosuggest.js +2 -2
- 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 +9 -4
- package/dist/components/dso-date-picker-legacy.js.map +1 -1
- 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 +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-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-panel.js +1 -36
- package/dist/components/dso-panel.js.map +1 -1
- 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 +21 -21
- package/dist/components/dsot-document-component-demo.js.map +1 -1
- package/dist/components/expandable.js +2 -2
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.js +0 -2
- 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 +10 -12
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/panel.js +40 -0
- package/dist/components/panel.js.map +1 -0
- 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 +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toggletip.js +7 -2
- package/dist/components/toggletip.js.map +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-be05632e.entry.js → p-03dd8a73.entry.js} +2 -2
- package/dist/dso-toolkit/{p-a2e9f65d.entry.js → p-07022a3d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ab3fca8d.entry.js → p-0b390a43.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ab3fca8d.entry.js.map → p-0b390a43.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-421d223d.entry.js → p-289c49f5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5cf23978.entry.js → p-301dbfb1.entry.js} +2 -2
- package/dist/dso-toolkit/p-3b2495b4.entry.js +2 -0
- package/dist/dso-toolkit/{p-df30c56c.entry.js → p-44148440.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d2e528b1.entry.js → p-53b5cc29.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e15b7ce7.entry.js → p-53b7c61b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2d1f870c.entry.js → p-55f6a27c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-76e2a14e.entry.js → p-5671370e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-224469db.entry.js → p-59f3f399.entry.js} +2 -2
- package/dist/dso-toolkit/{p-96370f12.entry.js → p-67e0739d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-cf0a95cf.entry.js → p-69c44279.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5c69d9c7.entry.js → p-6ccd21fb.entry.js} +2 -2
- package/dist/dso-toolkit/{p-7470bb47.entry.js → p-6d3b3bc9.entry.js} +2 -2
- package/dist/dso-toolkit/p-74439b69.entry.js +2 -0
- package/dist/dso-toolkit/p-74439b69.entry.js.map +1 -0
- package/dist/dso-toolkit/p-7ed9a1a0.entry.js +2 -0
- package/dist/dso-toolkit/p-7ed9a1a0.entry.js.map +1 -0
- package/dist/dso-toolkit/p-82752e49.entry.js +2 -0
- package/dist/dso-toolkit/p-82752e49.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-7fa33a0c.entry.js → p-8fc08ddf.entry.js} +2 -2
- package/dist/dso-toolkit/p-9275aad6.entry.js +2 -0
- package/dist/dso-toolkit/p-9275aad6.entry.js.map +1 -0
- package/dist/dso-toolkit/p-95fb1798.entry.js +2 -0
- package/dist/dso-toolkit/{p-a325b5b5.entry.js → p-a252cb3d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-38d518f9.entry.js → p-a4fd114d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-03aa7fad.entry.js → p-a6457fc6.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f1089571.entry.js → p-a67d289d.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b48845c9.entry.js → p-afbf63ee.entry.js} +2 -2
- package/dist/dso-toolkit/{p-c8bbb012.entry.js → p-afce1df4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-fc72f21c.entry.js → p-b194b9ae.entry.js} +2 -2
- package/dist/dso-toolkit/p-bf0207ff.entry.js +2 -0
- package/dist/dso-toolkit/p-bf0207ff.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c5678d6e.entry.js +2 -0
- package/dist/dso-toolkit/p-c5678d6e.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-07bdda5e.entry.js → p-c8518aab.entry.js} +2 -2
- package/dist/dso-toolkit/{p-bc0e3147.entry.js → p-cc0e5e1f.entry.js} +2 -2
- package/dist/dso-toolkit/p-cc54f978.entry.js +2 -0
- package/dist/dso-toolkit/{p-b53c6fb6.entry.js → p-cdce1bd5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b53c6fb6.entry.js.map → p-cdce1bd5.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-2e3bc902.entry.js → p-d28182cd.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b51c8bd1.entry.js → p-d2910fa1.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b51c8bd1.entry.js.map → p-d2910fa1.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-30dbca1b.entry.js → p-d9ddeee2.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3c8f0a89.entry.js → p-da23f9ed.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3b4a3e37.entry.js → p-e7d7bae2.entry.js} +2 -2
- package/dist/dso-toolkit/{p-7e4c553d.entry.js → p-f2f91b97.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8939c14f.entry.js → p-fa249c92.entry.js} +2 -2
- package/dist/dso-toolkit/p-fba55b6b.entry.js +2 -0
- package/dist/dso-toolkit/p-fba55b6b.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-9ee33188.entry.js → p-feedd113.entry.js} +2 -2
- package/dist/esm/dso-accordion-section.entry.js +3 -3
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js +1 -1
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-alert_5.entry.js +28 -35
- package/dist/esm/dso-alert_5.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +1 -1
- package/dist/esm/{dso-annotation-output_2.entry.js → dso-annotation-locatie_2.entry.js} +25 -16
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -0
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
- package/dist/esm/{dso-expandable.entry.js → dso-attachments-counter_2.entry.js} +19 -5
- package/dist/esm/dso-attachments-counter_2.entry.js.map +1 -0
- package/dist/esm/dso-autosuggest.entry.js +2 -2
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-badge.entry.js +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 +9 -4
- package/dist/esm/dso-date-picker-legacy.entry.js.map +1 -1
- 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 +1 -1
- 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_3.entry.js +187 -0
- package/dist/esm/dso-label_3.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 +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-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 +7 -2
- package/dist/esm/dso-toggletip.entry.js.map +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/{dso-label_2.entry.js → dso-tooltip.entry.js} +5 -127
- package/dist/esm/dso-tooltip.entry.js.map +1 -0
- 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 +2 -2
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/document-component/document-component.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +3 -2
- package/dist/types/components.d.ts +2 -110
- package/package.json +5 -5
- package/dist/cjs/dso-annotation-locatie.cjs.entry.js +0 -38
- package/dist/cjs/dso-annotation-output_2.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-attachments-counter.cjs.entry.js +0 -23
- package/dist/cjs/dso-attachments-counter.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-expandable.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-label_2.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-panel.cjs.entry.js +0 -23
- package/dist/cjs/dso-panel.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-renvooi_2.cjs.entry.js +0 -68
- package/dist/cjs/dso-renvooi_2.cjs.entry.js.map +0 -1
- package/dist/collection/components/annotation-button/annotation-button.css +0 -674
- package/dist/collection/components/annotation-button/annotation-button.js +0 -88
- package/dist/collection/components/annotation-button/annotation-button.js.map +0 -1
- package/dist/collection/components/annotation-output/annotation-output.css +0 -82
- package/dist/collection/components/annotation-output/annotation-output.js +0 -106
- package/dist/collection/components/annotation-output/annotation-output.js.map +0 -1
- package/dist/components/annotation-button.js +0 -47
- package/dist/components/annotation-button.js.map +0 -1
- package/dist/components/annotation-output.js +0 -61
- package/dist/components/annotation-output.js.map +0 -1
- package/dist/components/dso-annotation-button.d.ts +0 -11
- package/dist/components/dso-annotation-button.js +0 -8
- package/dist/components/dso-annotation-button.js.map +0 -1
- package/dist/components/dso-annotation-output.d.ts +0 -11
- package/dist/components/dso-annotation-output.js +0 -8
- package/dist/components/dso-annotation-output.js.map +0 -1
- package/dist/dso-toolkit/p-0ea714fa.entry.js +0 -2
- package/dist/dso-toolkit/p-0ea714fa.entry.js.map +0 -1
- package/dist/dso-toolkit/p-0eedf36a.entry.js +0 -2
- package/dist/dso-toolkit/p-0eedf36a.entry.js.map +0 -1
- package/dist/dso-toolkit/p-12bea4ab.entry.js +0 -2
- package/dist/dso-toolkit/p-28622002.entry.js +0 -2
- package/dist/dso-toolkit/p-38b3f31e.entry.js +0 -2
- package/dist/dso-toolkit/p-38b3f31e.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4a59df70.entry.js +0 -2
- package/dist/dso-toolkit/p-4a59df70.entry.js.map +0 -1
- package/dist/dso-toolkit/p-8914f72a.entry.js +0 -2
- package/dist/dso-toolkit/p-cc9bf183.entry.js +0 -2
- package/dist/dso-toolkit/p-cc9bf183.entry.js.map +0 -1
- package/dist/dso-toolkit/p-d7048b9e.entry.js +0 -2
- package/dist/dso-toolkit/p-d7048b9e.entry.js.map +0 -1
- package/dist/dso-toolkit/p-dac60705.entry.js +0 -2
- package/dist/dso-toolkit/p-dac60705.entry.js.map +0 -1
- package/dist/dso-toolkit/p-e13733dc.entry.js +0 -2
- package/dist/dso-toolkit/p-e13733dc.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f68abdad.entry.js +0 -2
- package/dist/dso-toolkit/p-f68abdad.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ff29c841.entry.js +0 -2
- package/dist/dso-toolkit/p-ff29c841.entry.js.map +0 -1
- package/dist/esm/dso-annotation-locatie.entry.js.map +0 -1
- package/dist/esm/dso-annotation-output_2.entry.js.map +0 -1
- package/dist/esm/dso-attachments-counter.entry.js +0 -19
- package/dist/esm/dso-attachments-counter.entry.js.map +0 -1
- package/dist/esm/dso-expandable.entry.js.map +0 -1
- package/dist/esm/dso-label_2.entry.js.map +0 -1
- package/dist/esm/dso-panel.entry.js +0 -19
- package/dist/esm/dso-panel.entry.js.map +0 -1
- package/dist/esm/dso-renvooi_2.entry.js +0 -63
- package/dist/esm/dso-renvooi_2.entry.js.map +0 -1
- package/dist/types/components/annotation-button/annotation-button.d.ts +0 -21
- package/dist/types/components/annotation-output/annotation-output.d.ts +0 -24
- /package/dist/dso-toolkit/{p-be05632e.entry.js.map → p-03dd8a73.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-a2e9f65d.entry.js.map → p-07022a3d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-421d223d.entry.js.map → p-289c49f5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5cf23978.entry.js.map → p-301dbfb1.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-12bea4ab.entry.js.map → p-3b2495b4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-df30c56c.entry.js.map → p-44148440.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d2e528b1.entry.js.map → p-53b5cc29.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-e15b7ce7.entry.js.map → p-53b7c61b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2d1f870c.entry.js.map → p-55f6a27c.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-76e2a14e.entry.js.map → p-5671370e.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-224469db.entry.js.map → p-59f3f399.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-96370f12.entry.js.map → p-67e0739d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-cf0a95cf.entry.js.map → p-69c44279.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5c69d9c7.entry.js.map → p-6ccd21fb.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-7470bb47.entry.js.map → p-6d3b3bc9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-7fa33a0c.entry.js.map → p-8fc08ddf.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-28622002.entry.js.map → p-95fb1798.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-a325b5b5.entry.js.map → p-a252cb3d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-38d518f9.entry.js.map → p-a4fd114d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-03aa7fad.entry.js.map → p-a6457fc6.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-f1089571.entry.js.map → p-a67d289d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b48845c9.entry.js.map → p-afbf63ee.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-c8bbb012.entry.js.map → p-afce1df4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fc72f21c.entry.js.map → p-b194b9ae.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-07bdda5e.entry.js.map → p-c8518aab.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-bc0e3147.entry.js.map → p-cc0e5e1f.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8914f72a.entry.js.map → p-cc54f978.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2e3bc902.entry.js.map → p-d28182cd.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-30dbca1b.entry.js.map → p-d9ddeee2.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-3c8f0a89.entry.js.map → p-da23f9ed.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-3b4a3e37.entry.js.map → p-e7d7bae2.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-7e4c553d.entry.js.map → p-f2f91b97.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8939c14f.entry.js.map → p-fa249c92.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9ee33188.entry.js.map → p-feedd113.entry.js.map} +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export class AnnotationButton {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.handleClick = (e) => {
|
|
5
|
-
this.dsoClick.emit({ originalEvent: e, open: !this.open });
|
|
6
|
-
};
|
|
7
|
-
this.identifier = undefined;
|
|
8
|
-
this.open = false;
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (h("button", { key: 'd1e416ca60447411acdb4617bb35e85506153dec', type: "button", class: "dso-tertiary", "aria-controls": this.identifier, "aria-expanded": this.open.toString(), onClick: this.handleClick }, h("dso-icon", { key: '21d0606b44ea74b854b9afe115fe8ec84e03c721', icon: "label" }), h("span", { key: '3eda0aef17520689883d78d9fd9aa7ccec435eb9', class: "sr-only" }, "Toelichting bekijken")));
|
|
12
|
-
}
|
|
13
|
-
static get is() { return "dso-annotation-button"; }
|
|
14
|
-
static get originalStyleUrls() {
|
|
15
|
-
return {
|
|
16
|
-
"$": ["annotation-button.scss"]
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
static get styleUrls() {
|
|
20
|
-
return {
|
|
21
|
-
"$": ["annotation-button.css"]
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
static get properties() {
|
|
25
|
-
return {
|
|
26
|
-
"identifier": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"mutable": false,
|
|
29
|
-
"complexType": {
|
|
30
|
-
"original": "string | undefined",
|
|
31
|
-
"resolved": "string | undefined",
|
|
32
|
-
"references": {}
|
|
33
|
-
},
|
|
34
|
-
"required": true,
|
|
35
|
-
"optional": false,
|
|
36
|
-
"docs": {
|
|
37
|
-
"tags": [],
|
|
38
|
-
"text": "To link the Annotation Button with `aria-controls` to a different element, most likely an Annotation Output."
|
|
39
|
-
},
|
|
40
|
-
"attribute": "identifier",
|
|
41
|
-
"reflect": false
|
|
42
|
-
},
|
|
43
|
-
"open": {
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"mutable": false,
|
|
46
|
-
"complexType": {
|
|
47
|
-
"original": "boolean",
|
|
48
|
-
"resolved": "boolean",
|
|
49
|
-
"references": {}
|
|
50
|
-
},
|
|
51
|
-
"required": false,
|
|
52
|
-
"optional": false,
|
|
53
|
-
"docs": {
|
|
54
|
-
"tags": [],
|
|
55
|
-
"text": "Set to true when the annotation is open."
|
|
56
|
-
},
|
|
57
|
-
"attribute": "open",
|
|
58
|
-
"reflect": false,
|
|
59
|
-
"defaultValue": "false"
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
static get events() {
|
|
64
|
-
return [{
|
|
65
|
-
"method": "dsoClick",
|
|
66
|
-
"name": "dsoClick",
|
|
67
|
-
"bubbles": false,
|
|
68
|
-
"cancelable": true,
|
|
69
|
-
"composed": true,
|
|
70
|
-
"docs": {
|
|
71
|
-
"tags": [],
|
|
72
|
-
"text": "Emitted when user activates the button."
|
|
73
|
-
},
|
|
74
|
-
"complexType": {
|
|
75
|
-
"original": "AnnotationButtonClickEvent",
|
|
76
|
-
"resolved": "AnnotationButtonClickEvent",
|
|
77
|
-
"references": {
|
|
78
|
-
"AnnotationButtonClickEvent": {
|
|
79
|
-
"location": "local",
|
|
80
|
-
"path": "/usr/src/app/packages/core/src/components/annotation-button/annotation-button.tsx",
|
|
81
|
-
"id": "src/components/annotation-button/annotation-button.tsx::AnnotationButtonClickEvent"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
//# sourceMappingURL=annotation-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"annotation-button.js","sourceRoot":"","sources":["../../../../src/components/annotation-button/annotation-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAsB,KAAK,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AAY5F,MAAM,OAAO,gBAAgB;;QAmBnB,gBAAW,GAAG,CAAC,CAAa,EAAE,EAAE;YACtC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QAC7D,CAAC,CAAC;;oBAVK,KAAK;;IAYZ,MAAM;QACJ,OAAO,CACL,+DACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,cAAc,mBACL,IAAI,CAAC,UAAU,mBACf,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EACnC,OAAO,EAAE,IAAI,CAAC,WAAW;YAEzB,iEAAU,IAAI,EAAC,OAAO,GAAY;YAClC,6DAAM,KAAK,EAAC,SAAS,2BAA4B,CAC1C,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { h, Component, ComponentInterface, Event, Prop, EventEmitter } from \"@stencil/core\";\r\n\r\nexport interface AnnotationButtonClickEvent {\r\n originalEvent: Event;\r\n open: boolean;\r\n}\r\n\r\n@Component({\r\n tag: \"dso-annotation-button\",\r\n styleUrl: \"annotation-button.scss\",\r\n // No shadowdom for a11y reasons (aria-controls pointing to element inside another component)\r\n})\r\nexport class AnnotationButton implements ComponentInterface {\r\n /**\r\n * To link the Annotation Button with `aria-controls` to a different element, most likely an Annotation Output.\r\n */\r\n @Prop()\r\n identifier!: string | undefined;\r\n\r\n /**\r\n * Set to true when the annotation is open.\r\n */\r\n @Prop()\r\n open = false;\r\n\r\n /**\r\n * Emitted when user activates the button.\r\n */\r\n @Event({ bubbles: false })\r\n dsoClick!: EventEmitter<AnnotationButtonClickEvent>;\r\n\r\n private handleClick = (e: MouseEvent) => {\r\n this.dsoClick.emit({ originalEvent: e, open: !this.open });\r\n };\r\n\r\n render() {\r\n return (\r\n <button\r\n type=\"button\"\r\n class=\"dso-tertiary\"\r\n aria-controls={this.identifier}\r\n aria-expanded={this.open.toString()}\r\n onClick={this.handleClick}\r\n >\r\n <dso-icon icon=\"label\"></dso-icon>\r\n <span class=\"sr-only\">Toelichting bekijken</span>\r\n </button>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
dso-annotation-output {
|
|
2
|
-
display: block;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.dso-annotation-header {
|
|
6
|
-
align-items: center;
|
|
7
|
-
background-color: #f2f2f2;
|
|
8
|
-
clear: both;
|
|
9
|
-
display: flex;
|
|
10
|
-
margin-block-end: 2px;
|
|
11
|
-
margin-block-start: 8px;
|
|
12
|
-
padding-inline-start: 16px;
|
|
13
|
-
padding-inline-end: 8px;
|
|
14
|
-
padding-block-start: 8px;
|
|
15
|
-
padding-block-end: 8px;
|
|
16
|
-
}
|
|
17
|
-
.dso-annotation-header > [slot=title] {
|
|
18
|
-
color: #000;
|
|
19
|
-
font-size: 1.25rem;
|
|
20
|
-
margin-block-end: 0;
|
|
21
|
-
margin-block-start: 0;
|
|
22
|
-
}
|
|
23
|
-
.dso-annotation-header > :nth-child(2) {
|
|
24
|
-
margin-inline-start: auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
dso-responsive-element[small] .dso-annotation-header,
|
|
28
|
-
dso-responsive-element[medium] .dso-annotation-header {
|
|
29
|
-
display: grid;
|
|
30
|
-
row-gap: 8px;
|
|
31
|
-
}
|
|
32
|
-
dso-responsive-element[small] .dso-annotation-header *[slot=title],
|
|
33
|
-
dso-responsive-element[medium] .dso-annotation-header *[slot=title] {
|
|
34
|
-
grid-row: 1;
|
|
35
|
-
grid-column: 1;
|
|
36
|
-
}
|
|
37
|
-
dso-responsive-element[small] .dso-annotation-header *[slot=addons],
|
|
38
|
-
dso-responsive-element[medium] .dso-annotation-header *[slot=addons] {
|
|
39
|
-
grid-row: 2;
|
|
40
|
-
grid-column: 1;
|
|
41
|
-
margin-inline-start: initial;
|
|
42
|
-
}
|
|
43
|
-
dso-responsive-element[small] .dso-annotation-header .dso-annotation-close-button,
|
|
44
|
-
dso-responsive-element[medium] .dso-annotation-header .dso-annotation-close-button {
|
|
45
|
-
grid-row: 1;
|
|
46
|
-
grid-column: 2;
|
|
47
|
-
margin-inline-start: 8px;
|
|
48
|
-
text-align: end;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.dso-annotation-content {
|
|
52
|
-
--link-color: currentColor;
|
|
53
|
-
--link-hover-color: currentColor;
|
|
54
|
-
--link-visited-color: currentColor;
|
|
55
|
-
background-color: #f2f2f2;
|
|
56
|
-
border-color: #f2f2f2;
|
|
57
|
-
color: #191919;
|
|
58
|
-
padding-inline-start: 16px;
|
|
59
|
-
padding-inline-end: 8px;
|
|
60
|
-
padding-block-start: 8px;
|
|
61
|
-
padding-block-end: 8px;
|
|
62
|
-
}
|
|
63
|
-
.dso-annotation-content a:is(.download, .download:hover, .download:focus-visible) {
|
|
64
|
-
background-image: url("./dso-icons.svg#img-download-zwart");
|
|
65
|
-
}
|
|
66
|
-
.dso-annotation-content a:is(.extern, .extern:hover, .extern:focus-visible) {
|
|
67
|
-
background-image: url("./dso-icons.svg#img-external-link-zwart");
|
|
68
|
-
}
|
|
69
|
-
.dso-annotation-content a:is([href^="tel:"], [href^="tel:"]:hover, [href^="tel:"]:focus-visible) {
|
|
70
|
-
background-image: url("./dso-icons.svg#img-call-zwart");
|
|
71
|
-
}
|
|
72
|
-
.dso-annotation-content a:is([href^="mailto:"], [href^="mailto:"]:hover, [href^="mailto:"]:focus-visible) {
|
|
73
|
-
background-image: url("./dso-icons.svg#img-email-zwart");
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.dso-annotation-close-button {
|
|
77
|
-
margin-inline-start: 32px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.dso-annotation-prefix {
|
|
81
|
-
font-style: italic;
|
|
82
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export class AnnotationOutput {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.toggleHandler = (e) => {
|
|
5
|
-
this.dsoClose.emit({ originalEvent: e });
|
|
6
|
-
};
|
|
7
|
-
this.identifier = undefined;
|
|
8
|
-
this.annotationPrefix = undefined;
|
|
9
|
-
this.open = false;
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
return (h("dso-responsive-element", { key: '6e857e08ff134e9172a2e573327fe189020b81be' }, h("dso-expandable", { key: '5f1d08be4e599219765f80bcf9739c31e0154929', id: this.identifier, open: this.open }, this.annotationPrefix && h("span", { key: '93d791e0007ef2813c614bc90bbebba2ca9a4523', class: "dso-annotation-prefix" }, this.annotationPrefix), h("div", { key: '3a7e23272366402f16028177f9804d0fc9d0710e', class: "dso-annotation-header" }, h("slot", { key: '45155503f028eada001a759922ba2a8e06659194', name: "title" }), h("slot", { key: 'be52476bd86e3246021d367e197ff58d83b8a6fa', name: "addons" }), h("button", { key: '1e845841db5106dc264366523f5209ab09de2690', type: "button", class: "dso-tertiary dso-annotation-close-button", onClick: this.toggleHandler }, h("dso-icon", { key: '23aaab761c5870eddfb86a9b07bdb3028918e20e', icon: "times" }), h("span", { key: '03c2ad5956b3fc27cc6c686f0c43521f41276d0e', class: "sr-only" }, "Toelichting sluiten"))), h("div", { key: 'c6e3c0568ff57cf2c2aeb051536c9b4023566a13', class: "dso-annotation-content" }, h("slot", { key: '8adfec5b126fbec015677f872003e17102c839fe' })))));
|
|
13
|
-
}
|
|
14
|
-
static get is() { return "dso-annotation-output"; }
|
|
15
|
-
static get originalStyleUrls() {
|
|
16
|
-
return {
|
|
17
|
-
"$": ["annotation-output.scss"]
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
static get styleUrls() {
|
|
21
|
-
return {
|
|
22
|
-
"$": ["annotation-output.css"]
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
static get properties() {
|
|
26
|
-
return {
|
|
27
|
-
"identifier": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"mutable": false,
|
|
30
|
-
"complexType": {
|
|
31
|
-
"original": "string",
|
|
32
|
-
"resolved": "string",
|
|
33
|
-
"references": {}
|
|
34
|
-
},
|
|
35
|
-
"required": true,
|
|
36
|
-
"optional": false,
|
|
37
|
-
"docs": {
|
|
38
|
-
"tags": [],
|
|
39
|
-
"text": "The annotation-button that toggles this component should have the same identifier."
|
|
40
|
-
},
|
|
41
|
-
"attribute": "identifier",
|
|
42
|
-
"reflect": true
|
|
43
|
-
},
|
|
44
|
-
"annotationPrefix": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"mutable": false,
|
|
47
|
-
"complexType": {
|
|
48
|
-
"original": "string",
|
|
49
|
-
"resolved": "string | undefined",
|
|
50
|
-
"references": {}
|
|
51
|
-
},
|
|
52
|
-
"required": false,
|
|
53
|
-
"optional": true,
|
|
54
|
-
"docs": {
|
|
55
|
-
"tags": [],
|
|
56
|
-
"text": "This text will be displayed above the annotation-output when opened"
|
|
57
|
-
},
|
|
58
|
-
"attribute": "annotation-prefix",
|
|
59
|
-
"reflect": true
|
|
60
|
-
},
|
|
61
|
-
"open": {
|
|
62
|
-
"type": "boolean",
|
|
63
|
-
"mutable": false,
|
|
64
|
-
"complexType": {
|
|
65
|
-
"original": "boolean",
|
|
66
|
-
"resolved": "boolean",
|
|
67
|
-
"references": {}
|
|
68
|
-
},
|
|
69
|
-
"required": false,
|
|
70
|
-
"optional": false,
|
|
71
|
-
"docs": {
|
|
72
|
-
"tags": [],
|
|
73
|
-
"text": "Set to `true` to show content."
|
|
74
|
-
},
|
|
75
|
-
"attribute": "open",
|
|
76
|
-
"reflect": true,
|
|
77
|
-
"defaultValue": "false"
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
static get events() {
|
|
82
|
-
return [{
|
|
83
|
-
"method": "dsoClose",
|
|
84
|
-
"name": "dsoClose",
|
|
85
|
-
"bubbles": false,
|
|
86
|
-
"cancelable": true,
|
|
87
|
-
"composed": true,
|
|
88
|
-
"docs": {
|
|
89
|
-
"tags": [],
|
|
90
|
-
"text": "This event is emitted when the user activates the Annotation Button."
|
|
91
|
-
},
|
|
92
|
-
"complexType": {
|
|
93
|
-
"original": "AnnotationOutputCloseEvent",
|
|
94
|
-
"resolved": "AnnotationOutputCloseEvent",
|
|
95
|
-
"references": {
|
|
96
|
-
"AnnotationOutputCloseEvent": {
|
|
97
|
-
"location": "local",
|
|
98
|
-
"path": "/usr/src/app/packages/core/src/components/annotation-output/annotation-output.tsx",
|
|
99
|
-
"id": "src/components/annotation-output/annotation-output.tsx::AnnotationOutputCloseEvent"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}];
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
//# sourceMappingURL=annotation-output.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"annotation-output.js","sourceRoot":"","sources":["../../../../src/components/annotation-output/annotation-output.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAsB,KAAK,EAAgB,IAAI,EAAE,MAAM,eAAe,CAAC;AAW5F,MAAM,OAAO,gBAAgB;;QAyBnB,kBAAa,GAAG,CAAC,CAAa,EAAE,EAAE;YACxC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC;QAC3C,CAAC,CAAC;;;oBAVK,KAAK;;IAYZ,MAAM;QACJ,OAAO,CACL;YACE,uEAAgB,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;gBACjD,IAAI,CAAC,gBAAgB,IAAI,6DAAM,KAAK,EAAC,uBAAuB,IAAE,IAAI,CAAC,gBAAgB,CAAQ;gBAC5F,4DAAK,KAAK,EAAC,uBAAuB;oBAChC,6DAAM,IAAI,EAAC,OAAO,GAAG;oBACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG;oBACtB,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,0CAA0C,EAAC,OAAO,EAAE,IAAI,CAAC,aAAa;wBAChG,iEAAU,IAAI,EAAC,OAAO,GAAY;wBAClC,6DAAM,KAAK,EAAC,SAAS,0BAA2B,CACzC,CACL;gBACN,4DAAK,KAAK,EAAC,wBAAwB;oBACjC,8DAAQ,CACJ,CACS,CACM,CAC1B,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { h, Component, ComponentInterface, Event, EventEmitter, Prop } from \"@stencil/core\";\r\n\r\nexport interface AnnotationOutputCloseEvent {\r\n originalEvent: Event;\r\n}\r\n\r\n@Component({\r\n tag: \"dso-annotation-output\",\r\n styleUrl: \"annotation-output.scss\",\r\n // No shadowdom for a11y reasons (aria-controls being set inside another component)\r\n})\r\nexport class AnnotationOutput implements ComponentInterface {\r\n /**\r\n * The annotation-button that toggles this component should have the same identifier.\r\n */\r\n @Prop({ reflect: true })\r\n identifier!: string;\r\n\r\n /**\r\n * This text will be displayed above the annotation-output when opened\r\n */\r\n @Prop({ reflect: true })\r\n annotationPrefix?: string;\r\n\r\n /**\r\n * Set to `true` to show content.\r\n */\r\n @Prop({ reflect: true })\r\n open = false;\r\n\r\n /**\r\n * This event is emitted when the user activates the Annotation Button.\r\n */\r\n @Event({ bubbles: false })\r\n dsoClose!: EventEmitter<AnnotationOutputCloseEvent>;\r\n\r\n private toggleHandler = (e: MouseEvent) => {\r\n this.dsoClose.emit({ originalEvent: e });\r\n };\r\n\r\n render() {\r\n return (\r\n <dso-responsive-element>\r\n <dso-expandable id={this.identifier} open={this.open}>\r\n {this.annotationPrefix && <span class=\"dso-annotation-prefix\">{this.annotationPrefix}</span>}\r\n <div class=\"dso-annotation-header\">\r\n <slot name=\"title\" />\r\n <slot name=\"addons\" />\r\n <button type=\"button\" class=\"dso-tertiary dso-annotation-close-button\" onClick={this.toggleHandler}>\r\n <dso-icon icon=\"times\"></dso-icon>\r\n <span class=\"sr-only\">Toelichting sluiten</span>\r\n </button>\r\n </div>\r\n <div class=\"dso-annotation-content\">\r\n <slot />\r\n </div>\r\n </dso-expandable>\r\n </dso-responsive-element>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$1 } from './icon.js';
|
|
3
|
-
|
|
4
|
-
const annotationButtonCss = "button {\n -webkit-appearance: button;\n color: inherit;\n cursor: pointer;\n font: inherit;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n margin: 0;\n overflow: visible;\n text-transform: none;\n}\nbutton[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\na.dso-primary,\nbutton.dso-primary,\nlabel.dso-primary {\n display: inline-block;\n font-size: 1em;\n font-weight: 500;\n margin-block-end: 0;\n text-decoration: none;\n touch-action: manipulation;\n text-align: start;\n user-select: none;\n vertical-align: middle;\n background-color: #39870c;\n border-color: #39870c;\n color: #fff;\n border-width: 1px;\n border-style: solid;\n border-radius: 4px;\n line-height: 1.5;\n min-inline-size: 56px;\n padding-block: 11px;\n padding-inline: 15px;\n}\na.dso-primary:focus, a.dso-primary:focus-visible,\nbutton.dso-primary:focus,\nbutton.dso-primary:focus-visible,\nlabel.dso-primary:focus,\nlabel.dso-primary:focus-visible {\n outline-offset: 2px;\n}\na.dso-primary:active,\nbutton.dso-primary:active,\nlabel.dso-primary:active {\n outline: 0;\n}\na.dso-primary.extern::after, a.dso-primary.download::after,\nbutton.dso-primary.extern::after,\nbutton.dso-primary.download::after,\nlabel.dso-primary.extern::after,\nlabel.dso-primary.download::after {\n content: \"\";\n display: inline-block;\n margin-inline-start: 8px;\n}\na.dso-primary:hover,\nbutton.dso-primary:hover,\nlabel.dso-primary:hover {\n background-color: #275937;\n border-color: #275937;\n color: #fff;\n}\na.dso-primary:active,\nbutton.dso-primary:active,\nlabel.dso-primary:active {\n background-color: #173521;\n border-color: #173521;\n color: #fff;\n}\na.dso-primary[disabled], a.dso-primary[disabled]:hover,\nbutton.dso-primary[disabled],\nbutton.dso-primary[disabled]:hover,\nlabel.dso-primary[disabled],\nlabel.dso-primary[disabled]:hover {\n background-color: #afcf9d;\n border-color: #afcf9d;\n color: #fff;\n}\na.dso-primary.dso-small,\nbutton.dso-primary.dso-small,\nlabel.dso-primary.dso-small {\n line-height: 1rem;\n}\na.dso-primary.dso-small dso-icon,\na.dso-primary.dso-small svg.di, a.dso-primary.dso-small.extern::after, a.dso-primary.dso-small.download::after, a.dso-primary.dso-small.dso-spinner::before,\nbutton.dso-primary.dso-small dso-icon,\nbutton.dso-primary.dso-small svg.di,\nbutton.dso-primary.dso-small.extern::after,\nbutton.dso-primary.dso-small.download::after,\nbutton.dso-primary.dso-small.dso-spinner::before,\nlabel.dso-primary.dso-small dso-icon,\nlabel.dso-primary.dso-small svg.di,\nlabel.dso-primary.dso-small.extern::after,\nlabel.dso-primary.dso-small.download::after,\nlabel.dso-primary.dso-small.dso-spinner::before {\n margin-block-end: -4px;\n margin-block-start: -4px;\n}\na.dso-primary.dso-small.dso-spinner-left::before,\nbutton.dso-primary.dso-small.dso-spinner-left::before,\nlabel.dso-primary.dso-small.dso-spinner-left::before {\n block-size: 16px;\n inline-size: 16px;\n}\na.dso-primary.dso-small.dso-spinner-right::after,\nbutton.dso-primary.dso-small.dso-spinner-right::after,\nlabel.dso-primary.dso-small.dso-spinner-right::after {\n block-size: 16px;\n inline-size: 16px;\n}\na.dso-primary dso-icon,\na.dso-primary svg.di,\nbutton.dso-primary dso-icon,\nbutton.dso-primary svg.di,\nlabel.dso-primary dso-icon,\nlabel.dso-primary svg.di {\n margin-inline-start: -8px;\n margin-inline-end: 8px;\n}\na.dso-primary span + dso-icon,\na.dso-primary span + svg.di,\nbutton.dso-primary span + dso-icon,\nbutton.dso-primary span + svg.di,\nlabel.dso-primary span + dso-icon,\nlabel.dso-primary span + svg.di {\n margin-inline-start: 8px;\n margin-inline-end: -8px;\n}\na.dso-primary.dso-spinner-left[disabled], a.dso-primary.dso-spinner-right[disabled],\nbutton.dso-primary.dso-spinner-left[disabled],\nbutton.dso-primary.dso-spinner-right[disabled],\nlabel.dso-primary.dso-spinner-left[disabled],\nlabel.dso-primary.dso-spinner-right[disabled] {\n background-color: #39870c;\n border-color: #39870c;\n color: #fff;\n}\na.dso-primary.dso-spinner-left::before,\nbutton.dso-primary.dso-spinner-left::before,\nlabel.dso-primary.dso-spinner-left::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-end: 8px;\n}\na.dso-primary.dso-spinner-right::after,\nbutton.dso-primary.dso-spinner-right::after,\nlabel.dso-primary.dso-spinner-right::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-start: 8px;\n}\na.dso-primary.download::after,\nbutton.dso-primary.download::after,\nlabel.dso-primary.download::after {\n background: url(\"./dso-icons.svg#img-download-wit\") no-repeat;\n background-position: center;\n background-size: cover;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n}\na.dso-primary.extern::after,\nbutton.dso-primary.extern::after,\nlabel.dso-primary.extern::after {\n background: url(\"./dso-icons.svg#img-external-link-wit\") no-repeat;\n background-position: center;\n background-size: cover;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n}\na.dso-secondary,\nbutton.dso-secondary,\nlabel.dso-secondary {\n display: inline-block;\n font-size: 1em;\n font-weight: 500;\n margin-block-end: 0;\n text-decoration: none;\n touch-action: manipulation;\n text-align: start;\n user-select: none;\n vertical-align: middle;\n background-color: #fff;\n border-color: #39870c;\n color: #39870c;\n border-width: 1px;\n border-style: solid;\n border-radius: 4px;\n line-height: 1.5;\n min-inline-size: 56px;\n padding-block: 11px;\n padding-inline: 15px;\n}\na.dso-secondary:focus, a.dso-secondary:focus-visible,\nbutton.dso-secondary:focus,\nbutton.dso-secondary:focus-visible,\nlabel.dso-secondary:focus,\nlabel.dso-secondary:focus-visible {\n outline-offset: 2px;\n}\na.dso-secondary:active,\nbutton.dso-secondary:active,\nlabel.dso-secondary:active {\n outline: 0;\n}\na.dso-secondary.extern::after, a.dso-secondary.download::after,\nbutton.dso-secondary.extern::after,\nbutton.dso-secondary.download::after,\nlabel.dso-secondary.extern::after,\nlabel.dso-secondary.download::after {\n content: \"\";\n display: inline-block;\n margin-inline-start: 8px;\n}\na.dso-secondary:hover,\nbutton.dso-secondary:hover,\nlabel.dso-secondary:hover {\n background-color: #d7e7ce;\n border-color: #39870c;\n color: #39870c;\n}\na.dso-secondary:active,\nbutton.dso-secondary:active,\nlabel.dso-secondary:active {\n background-color: #39870c;\n border-color: #39870c;\n color: #fff;\n}\na.dso-secondary[disabled], a.dso-secondary[disabled]:hover,\nbutton.dso-secondary[disabled],\nbutton.dso-secondary[disabled]:hover,\nlabel.dso-secondary[disabled],\nlabel.dso-secondary[disabled]:hover {\n background-color: #fff;\n border-color: #afcf9d;\n color: #afcf9d;\n}\na.dso-secondary.dso-small,\nbutton.dso-secondary.dso-small,\nlabel.dso-secondary.dso-small {\n line-height: 1rem;\n}\na.dso-secondary.dso-small dso-icon,\na.dso-secondary.dso-small svg.di, a.dso-secondary.dso-small.extern::after, a.dso-secondary.dso-small.download::after, a.dso-secondary.dso-small.dso-spinner::before,\nbutton.dso-secondary.dso-small dso-icon,\nbutton.dso-secondary.dso-small svg.di,\nbutton.dso-secondary.dso-small.extern::after,\nbutton.dso-secondary.dso-small.download::after,\nbutton.dso-secondary.dso-small.dso-spinner::before,\nlabel.dso-secondary.dso-small dso-icon,\nlabel.dso-secondary.dso-small svg.di,\nlabel.dso-secondary.dso-small.extern::after,\nlabel.dso-secondary.dso-small.download::after,\nlabel.dso-secondary.dso-small.dso-spinner::before {\n margin-block-end: -4px;\n margin-block-start: -4px;\n}\na.dso-secondary.dso-small.dso-spinner-left::before,\nbutton.dso-secondary.dso-small.dso-spinner-left::before,\nlabel.dso-secondary.dso-small.dso-spinner-left::before {\n block-size: 16px;\n inline-size: 16px;\n}\na.dso-secondary.dso-small.dso-spinner-right::after,\nbutton.dso-secondary.dso-small.dso-spinner-right::after,\nlabel.dso-secondary.dso-small.dso-spinner-right::after {\n block-size: 16px;\n inline-size: 16px;\n}\na.dso-secondary dso-icon,\na.dso-secondary svg.di,\nbutton.dso-secondary dso-icon,\nbutton.dso-secondary svg.di,\nlabel.dso-secondary dso-icon,\nlabel.dso-secondary svg.di {\n margin-inline-start: -8px;\n margin-inline-end: 8px;\n}\na.dso-secondary span + dso-icon,\na.dso-secondary span + svg.di,\nbutton.dso-secondary span + dso-icon,\nbutton.dso-secondary span + svg.di,\nlabel.dso-secondary span + dso-icon,\nlabel.dso-secondary span + svg.di {\n margin-inline-start: 8px;\n margin-inline-end: -8px;\n}\na.dso-secondary.dso-spinner-left[disabled], a.dso-secondary.dso-spinner-right[disabled],\nbutton.dso-secondary.dso-spinner-left[disabled],\nbutton.dso-secondary.dso-spinner-right[disabled],\nlabel.dso-secondary.dso-spinner-left[disabled],\nlabel.dso-secondary.dso-spinner-right[disabled] {\n background-color: #fff;\n border-color: #39870c;\n color: #39870c;\n}\na.dso-secondary.dso-spinner-left::before,\nbutton.dso-secondary.dso-spinner-left::before,\nlabel.dso-secondary.dso-spinner-left::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-end: 8px;\n}\na.dso-secondary.dso-spinner-left:not([disabled]):hover::before,\nbutton.dso-secondary.dso-spinner-left:not([disabled]):hover::before,\nlabel.dso-secondary.dso-spinner-left:not([disabled]):hover::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-end: 8px;\n}\na.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before,\nbutton.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before,\nlabel.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before {\n block-size: 16px;\n inline-size: 16px;\n}\na.dso-secondary.dso-spinner-right::after,\nbutton.dso-secondary.dso-spinner-right::after,\nlabel.dso-secondary.dso-spinner-right::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-start: 8px;\n}\na.dso-secondary.dso-spinner-right:not([disabled]):hover::after,\nbutton.dso-secondary.dso-spinner-right:not([disabled]):hover::after,\nlabel.dso-secondary.dso-spinner-right:not([disabled]):hover::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-start: 8px;\n}\na.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after,\nbutton.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after,\nlabel.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after {\n block-size: 16px;\n inline-size: 16px;\n}\na.dso-secondary.download::after,\nbutton.dso-secondary.download::after,\nlabel.dso-secondary.download::after {\n background: url(\"./dso-icons.svg#img-download\") no-repeat;\n background-position: center;\n background-size: cover;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n}\na.dso-secondary.download:hover::after,\nbutton.dso-secondary.download:hover::after,\nlabel.dso-secondary.download:hover::after {\n background-image: url(\"./dso-icons.svg#img-download-wit\");\n}\na.dso-secondary.download[disabled]::after,\nbutton.dso-secondary.download[disabled]::after,\nlabel.dso-secondary.download[disabled]::after {\n background-image: url(\"./dso-icons.svg#img-download-grasgroen-40\");\n}\na.dso-secondary.extern::after,\nbutton.dso-secondary.extern::after,\nlabel.dso-secondary.extern::after {\n background: url(\"./dso-icons.svg#img-external-link\") no-repeat;\n background-position: center;\n background-size: cover;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n}\na.dso-secondary.extern:hover::after,\nbutton.dso-secondary.extern:hover::after,\nlabel.dso-secondary.extern:hover::after {\n background-image: url(\"./dso-icons.svg#img-external-link-wit\");\n}\na.dso-secondary.extern[disabled]::after,\nbutton.dso-secondary.extern[disabled]::after,\nlabel.dso-secondary.extern[disabled]::after {\n background-image: url(\"./dso-icons.svg#img-external-link-grasgroen-40\");\n}\na.dso-tertiary,\nbutton.dso-tertiary,\nlabel.dso-tertiary {\n display: inline-block;\n font-size: 1em;\n font-weight: 500;\n margin-block-end: 0;\n text-decoration: none;\n touch-action: manipulation;\n text-align: start;\n user-select: none;\n vertical-align: middle;\n border: 0;\n color: #39870c;\n line-height: 1;\n padding: 0;\n background-color: transparent;\n}\na.dso-tertiary:focus, a.dso-tertiary:focus-visible,\nbutton.dso-tertiary:focus,\nbutton.dso-tertiary:focus-visible,\nlabel.dso-tertiary:focus,\nlabel.dso-tertiary:focus-visible {\n outline-offset: 2px;\n}\na.dso-tertiary:active,\nbutton.dso-tertiary:active,\nlabel.dso-tertiary:active {\n outline: 0;\n}\na.dso-tertiary.extern::after, a.dso-tertiary.download::after,\nbutton.dso-tertiary.extern::after,\nbutton.dso-tertiary.download::after,\nlabel.dso-tertiary.extern::after,\nlabel.dso-tertiary.download::after {\n content: \"\";\n display: inline-block;\n margin-inline-start: 8px;\n}\na.dso-tertiary[disabled],\nbutton.dso-tertiary[disabled],\nlabel.dso-tertiary[disabled] {\n color: #afcf9d;\n}\na.dso-tertiary[disabled].dso-spinner-left, a.dso-tertiary[disabled].dso-spinner-right,\nbutton.dso-tertiary[disabled].dso-spinner-left,\nbutton.dso-tertiary[disabled].dso-spinner-right,\nlabel.dso-tertiary[disabled].dso-spinner-left,\nlabel.dso-tertiary[disabled].dso-spinner-right {\n color: #39870c;\n}\na.dso-tertiary:not([disabled]):hover,\nbutton.dso-tertiary:not([disabled]):hover,\nlabel.dso-tertiary:not([disabled]):hover {\n color: #275937;\n text-decoration: underline;\n text-underline-position: under;\n}\na.dso-tertiary:not([disabled]):active,\nbutton.dso-tertiary:not([disabled]):active,\nlabel.dso-tertiary:not([disabled]):active {\n color: #173521;\n}\na.dso-tertiary.dso-align,\nbutton.dso-tertiary.dso-align,\nlabel.dso-tertiary.dso-align {\n line-height: calc(1.5em - 1px);\n padding-block: 11px;\n padding-inline: 0;\n position: relative;\n}\na.dso-tertiary.dso-truncate,\nbutton.dso-tertiary.dso-truncate,\nlabel.dso-tertiary.dso-truncate {\n max-inline-size: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\na.dso-tertiary.dso-spinner-left::before,\nbutton.dso-tertiary.dso-spinner-left::before,\nlabel.dso-tertiary.dso-spinner-left::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: middle;\n inline-size: 24px;\n margin-inline-end: 8px;\n}\na.dso-tertiary.dso-spinner-right::after,\nbutton.dso-tertiary.dso-spinner-right::after,\nlabel.dso-tertiary.dso-spinner-right::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: middle;\n inline-size: 24px;\n margin-inline-start: 8px;\n}\na.dso-tertiary dso-icon + span:not(.sr-only),\na.dso-tertiary svg.di + span:not(.sr-only),\na.dso-tertiary span:not(.sr-only) + dso-icon,\na.dso-tertiary span:not(.sr-only) + svg.di,\nbutton.dso-tertiary dso-icon + span:not(.sr-only),\nbutton.dso-tertiary svg.di + span:not(.sr-only),\nbutton.dso-tertiary span:not(.sr-only) + dso-icon,\nbutton.dso-tertiary span:not(.sr-only) + svg.di,\nlabel.dso-tertiary dso-icon + span:not(.sr-only),\nlabel.dso-tertiary svg.di + span:not(.sr-only),\nlabel.dso-tertiary span:not(.sr-only) + dso-icon,\nlabel.dso-tertiary span:not(.sr-only) + svg.di {\n margin-inline-start: 8px;\n}\na.dso-tertiary svg.di.di-chevron-down + span:not(.sr-only),\na.dso-tertiary svg.di.di-chevron-up + span:not(.sr-only),\na.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-down,\na.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-up,\nbutton.dso-tertiary svg.di.di-chevron-down + span:not(.sr-only),\nbutton.dso-tertiary svg.di.di-chevron-up + span:not(.sr-only),\nbutton.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-down,\nbutton.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-up,\nlabel.dso-tertiary svg.di.di-chevron-down + span:not(.sr-only),\nlabel.dso-tertiary svg.di.di-chevron-up + span:not(.sr-only),\nlabel.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-down,\nlabel.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-up {\n margin-inline-start: 4px;\n}\na.dso-tertiary dso-icon[icon=chevron-left] + span:not(.sr-only),\na.dso-tertiary dso-icon[icon=chevron-right] + span:not(.sr-only),\na.dso-tertiary svg.di.di-angle-down + span:not(.sr-only),\na.dso-tertiary svg.di.di-angle-up + span:not(.sr-only),\na.dso-tertiary span:not(.sr-only) + svg.di.di-angle-down,\na.dso-tertiary span:not(.sr-only) + svg.di.di-angle-up,\na.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-left],\na.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-right],\nbutton.dso-tertiary dso-icon[icon=chevron-left] + span:not(.sr-only),\nbutton.dso-tertiary dso-icon[icon=chevron-right] + span:not(.sr-only),\nbutton.dso-tertiary svg.di.di-angle-down + span:not(.sr-only),\nbutton.dso-tertiary svg.di.di-angle-up + span:not(.sr-only),\nbutton.dso-tertiary span:not(.sr-only) + svg.di.di-angle-down,\nbutton.dso-tertiary span:not(.sr-only) + svg.di.di-angle-up,\nbutton.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-left],\nbutton.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-right],\nlabel.dso-tertiary dso-icon[icon=chevron-left] + span:not(.sr-only),\nlabel.dso-tertiary dso-icon[icon=chevron-right] + span:not(.sr-only),\nlabel.dso-tertiary svg.di.di-angle-down + span:not(.sr-only),\nlabel.dso-tertiary svg.di.di-angle-up + span:not(.sr-only),\nlabel.dso-tertiary span:not(.sr-only) + svg.di.di-angle-down,\nlabel.dso-tertiary span:not(.sr-only) + svg.di.di-angle-up,\nlabel.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-left],\nlabel.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-right] {\n margin-inline-start: 0;\n}\na.dso-tertiary dso-icon,\na.dso-tertiary svg.di,\na.dso-tertiary span,\nbutton.dso-tertiary dso-icon,\nbutton.dso-tertiary svg.di,\nbutton.dso-tertiary span,\nlabel.dso-tertiary dso-icon,\nlabel.dso-tertiary svg.di,\nlabel.dso-tertiary span {\n vertical-align: middle;\n}\na.dso-tertiary.extern::after, a.dso-tertiary.download::after,\nbutton.dso-tertiary.extern::after,\nbutton.dso-tertiary.download::after,\nlabel.dso-tertiary.extern::after,\nlabel.dso-tertiary.download::after {\n position: relative;\n inset-block-start: -2px;\n}\na.dso-tertiary.download::after,\nbutton.dso-tertiary.download::after,\nlabel.dso-tertiary.download::after {\n background: url(\"./dso-icons.svg#img-download\") no-repeat;\n background-position: center;\n background-size: cover;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n}\na.dso-tertiary.download[disabled]::after,\nbutton.dso-tertiary.download[disabled]::after,\nlabel.dso-tertiary.download[disabled]::after {\n background-image: url(\"./dso-icons.svg#img-download-grasgroen-40\");\n}\na.dso-tertiary.download:not([disabled]):hover::after, a.dso-tertiary.download:not([disabled]):active::after,\nbutton.dso-tertiary.download:not([disabled]):hover::after,\nbutton.dso-tertiary.download:not([disabled]):active::after,\nlabel.dso-tertiary.download:not([disabled]):hover::after,\nlabel.dso-tertiary.download:not([disabled]):active::after {\n background-image: url(\"./dso-icons.svg#img-download-scampi\");\n}\na.dso-tertiary.extern::after,\nbutton.dso-tertiary.extern::after,\nlabel.dso-tertiary.extern::after {\n background: url(\"./dso-icons.svg#img-external-link\") no-repeat;\n background-position: center;\n background-size: cover;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n}\na.dso-tertiary.extern[disabled]::after,\nbutton.dso-tertiary.extern[disabled]::after,\nlabel.dso-tertiary.extern[disabled]::after {\n background-image: url(\"./dso-icons.svg#img-external-link-grasgroen-40\");\n}\na.dso-tertiary.extern:not([disabled]):hover::after, a.dso-tertiary.extern:not([disabled]):active::after,\nbutton.dso-tertiary.extern:not([disabled]):hover::after,\nbutton.dso-tertiary.extern:not([disabled]):active::after,\nlabel.dso-tertiary.extern:not([disabled]):hover::after,\nlabel.dso-tertiary.extern:not([disabled]):active::after {\n background-image: url(\"./dso-icons.svg#img-external-link-scampi\");\n}\n\na.dso-primary {\n text-decoration: none;\n}\na.dso-primary, a.dso-primary:visited {\n color: #fff;\n}\na.dso-secondary {\n text-decoration: none;\n}\na.dso-secondary, a.dso-secondary:visited {\n color: #39870c;\n}\na.dso-secondary:hover, a.dso-secondary:visited:hover {\n color: #39870c;\n}\na.dso-tertiary {\n text-decoration: none;\n}\na.dso-tertiary, a.dso-tertiary:visited {\n color: #39870c;\n}\n\n.dso-primary + .dso-primary,\n.dso-primary + .dso-secondary,\n.dso-primary + .dso-tertiary,\n.dso-secondary + .dso-primary,\n.dso-secondary + .dso-secondary,\n.dso-secondary + .dso-tertiary,\n.dso-tertiary + .dso-primary,\n.dso-tertiary + .dso-secondary,\n.dso-tertiary + .dso-tertiary {\n margin-inline-start: 16px;\n}\n\ndso-annotation-button {\n display: block;\n}";
|
|
5
|
-
const DsoAnnotationButtonStyle0 = annotationButtonCss;
|
|
6
|
-
|
|
7
|
-
const AnnotationButton = /*@__PURE__*/ proxyCustomElement(class AnnotationButton extends HTMLElement {
|
|
8
|
-
constructor() {
|
|
9
|
-
super();
|
|
10
|
-
this.__registerHost();
|
|
11
|
-
this.dsoClick = createEvent(this, "dsoClick", 3);
|
|
12
|
-
this.handleClick = (e) => {
|
|
13
|
-
this.dsoClick.emit({ originalEvent: e, open: !this.open });
|
|
14
|
-
};
|
|
15
|
-
this.identifier = undefined;
|
|
16
|
-
this.open = false;
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
return (h("button", { key: 'd1e416ca60447411acdb4617bb35e85506153dec', type: "button", class: "dso-tertiary", "aria-controls": this.identifier, "aria-expanded": this.open.toString(), onClick: this.handleClick }, h("dso-icon", { key: '21d0606b44ea74b854b9afe115fe8ec84e03c721', icon: "label" }), h("span", { key: '3eda0aef17520689883d78d9fd9aa7ccec435eb9', class: "sr-only" }, "Toelichting bekijken")));
|
|
20
|
-
}
|
|
21
|
-
static get style() { return DsoAnnotationButtonStyle0; }
|
|
22
|
-
}, [0, "dso-annotation-button", {
|
|
23
|
-
"identifier": [1],
|
|
24
|
-
"open": [4]
|
|
25
|
-
}]);
|
|
26
|
-
function defineCustomElement() {
|
|
27
|
-
if (typeof customElements === "undefined") {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
const components = ["dso-annotation-button", "dso-icon"];
|
|
31
|
-
components.forEach(tagName => { switch (tagName) {
|
|
32
|
-
case "dso-annotation-button":
|
|
33
|
-
if (!customElements.get(tagName)) {
|
|
34
|
-
customElements.define(tagName, AnnotationButton);
|
|
35
|
-
}
|
|
36
|
-
break;
|
|
37
|
-
case "dso-icon":
|
|
38
|
-
if (!customElements.get(tagName)) {
|
|
39
|
-
defineCustomElement$1();
|
|
40
|
-
}
|
|
41
|
-
break;
|
|
42
|
-
} });
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { AnnotationButton as A, defineCustomElement as d };
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=annotation-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"annotation-button.js","mappings":";;;AAAA,MAAM,mBAAmB,GAAG,+w2BAA+w2B,CAAC;AAC5y2B,kCAAe,mBAAmB;;MCWrB,gBAAgB;;;;;QAmBnB,gBAAW,GAAG,CAAC,CAAa;YAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;SAC5D,CAAC;;oBAVK,KAAK;;IAYZ,MAAM;QACJ,QACE,+DACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,cAAc,mBACL,IAAI,CAAC,UAAU,mBACf,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EACnC,OAAO,EAAE,IAAI,CAAC,WAAW,IAEzB,iEAAU,IAAI,EAAC,OAAO,GAAY,EAClC,6DAAM,KAAK,EAAC,SAAS,2BAA4B,CAC1C,EACT;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/annotation-button/annotation-button.scss?tag=dso-annotation-button","src/components/annotation-button/annotation-button.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/components/button/button\";\r\n\r\ndso-annotation-button {\r\n display: block;\r\n}\r\n","import { h, Component, ComponentInterface, Event, Prop, EventEmitter } from \"@stencil/core\";\r\n\r\nexport interface AnnotationButtonClickEvent {\r\n originalEvent: Event;\r\n open: boolean;\r\n}\r\n\r\n@Component({\r\n tag: \"dso-annotation-button\",\r\n styleUrl: \"annotation-button.scss\",\r\n // No shadowdom for a11y reasons (aria-controls pointing to element inside another component)\r\n})\r\nexport class AnnotationButton implements ComponentInterface {\r\n /**\r\n * To link the Annotation Button with `aria-controls` to a different element, most likely an Annotation Output.\r\n */\r\n @Prop()\r\n identifier!: string | undefined;\r\n\r\n /**\r\n * Set to true when the annotation is open.\r\n */\r\n @Prop()\r\n open = false;\r\n\r\n /**\r\n * Emitted when user activates the button.\r\n */\r\n @Event({ bubbles: false })\r\n dsoClick!: EventEmitter<AnnotationButtonClickEvent>;\r\n\r\n private handleClick = (e: MouseEvent) => {\r\n this.dsoClick.emit({ originalEvent: e, open: !this.open });\r\n };\r\n\r\n render() {\r\n return (\r\n <button\r\n type=\"button\"\r\n class=\"dso-tertiary\"\r\n aria-controls={this.identifier}\r\n aria-expanded={this.open.toString()}\r\n onClick={this.handleClick}\r\n >\r\n <dso-icon icon=\"label\"></dso-icon>\r\n <span class=\"sr-only\">Toelichting bekijken</span>\r\n </button>\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$3 } from './expandable.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
|
-
import { d as defineCustomElement$1 } from './responsive-element.js';
|
|
5
|
-
|
|
6
|
-
const annotationOutputCss = "dso-annotation-output{display:block}.dso-annotation-header{align-items:center;background-color:#f2f2f2;clear:both;display:flex;margin-block-end:2px;margin-block-start:8px;padding-inline-start:16px;padding-inline-end:8px;padding-block-start:8px;padding-block-end:8px}.dso-annotation-header>[slot=title]{color:#000;font-size:1.25rem;margin-block-end:0;margin-block-start:0}.dso-annotation-header>:nth-child(2){margin-inline-start:auto}dso-responsive-element[small] .dso-annotation-header,dso-responsive-element[medium] .dso-annotation-header{display:grid;row-gap:8px}dso-responsive-element[small] .dso-annotation-header *[slot=title],dso-responsive-element[medium] .dso-annotation-header *[slot=title]{grid-row:1;grid-column:1}dso-responsive-element[small] .dso-annotation-header *[slot=addons],dso-responsive-element[medium] .dso-annotation-header *[slot=addons]{grid-row:2;grid-column:1;margin-inline-start:initial}dso-responsive-element[small] .dso-annotation-header .dso-annotation-close-button,dso-responsive-element[medium] .dso-annotation-header .dso-annotation-close-button{grid-row:1;grid-column:2;margin-inline-start:8px;text-align:end}.dso-annotation-content{--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;background-color:#f2f2f2;border-color:#f2f2f2;color:#191919;padding-inline-start:16px;padding-inline-end:8px;padding-block-start:8px;padding-block-end:8px}.dso-annotation-content a:is(.download,.download:hover,.download:focus-visible){background-image:url(\"./dso-icons.svg#img-download-zwart\")}.dso-annotation-content a:is(.extern,.extern:hover,.extern:focus-visible){background-image:url(\"./dso-icons.svg#img-external-link-zwart\")}.dso-annotation-content a:is([href^=\"tel:\"],[href^=\"tel:\"]:hover,[href^=\"tel:\"]:focus-visible){background-image:url(\"./dso-icons.svg#img-call-zwart\")}.dso-annotation-content a:is([href^=\"mailto:\"],[href^=\"mailto:\"]:hover,[href^=\"mailto:\"]:focus-visible){background-image:url(\"./dso-icons.svg#img-email-zwart\")}.dso-annotation-close-button{margin-inline-start:32px}.dso-annotation-prefix{font-style:italic}";
|
|
7
|
-
const DsoAnnotationOutputStyle0 = annotationOutputCss;
|
|
8
|
-
|
|
9
|
-
const AnnotationOutput = /*@__PURE__*/ proxyCustomElement(class AnnotationOutput extends HTMLElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.dsoClose = createEvent(this, "dsoClose", 3);
|
|
14
|
-
this.toggleHandler = (e) => {
|
|
15
|
-
this.dsoClose.emit({ originalEvent: e });
|
|
16
|
-
};
|
|
17
|
-
this.identifier = undefined;
|
|
18
|
-
this.annotationPrefix = undefined;
|
|
19
|
-
this.open = false;
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return (h("dso-responsive-element", { key: '6e857e08ff134e9172a2e573327fe189020b81be' }, h("dso-expandable", { key: '5f1d08be4e599219765f80bcf9739c31e0154929', id: this.identifier, open: this.open }, this.annotationPrefix && h("span", { key: '93d791e0007ef2813c614bc90bbebba2ca9a4523', class: "dso-annotation-prefix" }, this.annotationPrefix), h("div", { key: '3a7e23272366402f16028177f9804d0fc9d0710e', class: "dso-annotation-header" }, h("slot", { key: '45155503f028eada001a759922ba2a8e06659194', name: "title" }), h("slot", { key: 'be52476bd86e3246021d367e197ff58d83b8a6fa', name: "addons" }), h("button", { key: '1e845841db5106dc264366523f5209ab09de2690', type: "button", class: "dso-tertiary dso-annotation-close-button", onClick: this.toggleHandler }, h("dso-icon", { key: '23aaab761c5870eddfb86a9b07bdb3028918e20e', icon: "times" }), h("span", { key: '03c2ad5956b3fc27cc6c686f0c43521f41276d0e', class: "sr-only" }, "Toelichting sluiten"))), h("div", { key: 'c6e3c0568ff57cf2c2aeb051536c9b4023566a13', class: "dso-annotation-content" }, h("slot", { key: '8adfec5b126fbec015677f872003e17102c839fe' })))));
|
|
23
|
-
}
|
|
24
|
-
static get style() { return DsoAnnotationOutputStyle0; }
|
|
25
|
-
}, [4, "dso-annotation-output", {
|
|
26
|
-
"identifier": [513],
|
|
27
|
-
"annotationPrefix": [513, "annotation-prefix"],
|
|
28
|
-
"open": [516]
|
|
29
|
-
}]);
|
|
30
|
-
function defineCustomElement() {
|
|
31
|
-
if (typeof customElements === "undefined") {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const components = ["dso-annotation-output", "dso-expandable", "dso-icon", "dso-responsive-element"];
|
|
35
|
-
components.forEach(tagName => { switch (tagName) {
|
|
36
|
-
case "dso-annotation-output":
|
|
37
|
-
if (!customElements.get(tagName)) {
|
|
38
|
-
customElements.define(tagName, AnnotationOutput);
|
|
39
|
-
}
|
|
40
|
-
break;
|
|
41
|
-
case "dso-expandable":
|
|
42
|
-
if (!customElements.get(tagName)) {
|
|
43
|
-
defineCustomElement$3();
|
|
44
|
-
}
|
|
45
|
-
break;
|
|
46
|
-
case "dso-icon":
|
|
47
|
-
if (!customElements.get(tagName)) {
|
|
48
|
-
defineCustomElement$2();
|
|
49
|
-
}
|
|
50
|
-
break;
|
|
51
|
-
case "dso-responsive-element":
|
|
52
|
-
if (!customElements.get(tagName)) {
|
|
53
|
-
defineCustomElement$1();
|
|
54
|
-
}
|
|
55
|
-
break;
|
|
56
|
-
} });
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export { AnnotationOutput as A, defineCustomElement as d };
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=annotation-output.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"annotation-output.js","mappings":";;;;;AAAA,MAAM,mBAAmB,GAAG,ukEAAukE,CAAC;AACpmE,kCAAe,mBAAmB;;MCUrB,gBAAgB;;;;;QAyBnB,kBAAa,GAAG,CAAC,CAAa;YACpC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC;SAC1C,CAAC;;;oBAVK,KAAK;;IAYZ,MAAM;QACJ,QACE,iFACE,uEAAgB,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IACjD,IAAI,CAAC,gBAAgB,IAAI,6DAAM,KAAK,EAAC,uBAAuB,IAAE,IAAI,CAAC,gBAAgB,CAAQ,EAC5F,4DAAK,KAAK,EAAC,uBAAuB,IAChC,6DAAM,IAAI,EAAC,OAAO,GAAG,EACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG,EACtB,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,0CAA0C,EAAC,OAAO,EAAE,IAAI,CAAC,aAAa,IAChG,iEAAU,IAAI,EAAC,OAAO,GAAY,EAClC,6DAAM,KAAK,EAAC,SAAS,0BAA2B,CACzC,CACL,EACN,4DAAK,KAAK,EAAC,wBAAwB,IACjC,8DAAQ,CACJ,CACS,CACM,EACzB;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/annotation-output/annotation-output.scss?tag=dso-annotation-output","src/components/annotation-output/annotation-output.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/global/mixins/set-colors.mixin\" as set-colors;\r\n\r\ndso-annotation-output {\r\n display: block;\r\n}\r\n\r\n.dso-annotation-header {\r\n align-items: center;\r\n background-color: colors.$grijs-5;\r\n clear: both;\r\n display: flex;\r\n margin-block-end: 2px;\r\n margin-block-start: units.$u1;\r\n padding-inline-start: units.$u2;\r\n padding-inline-end: units.$u1;\r\n padding-block-start: units.$u1;\r\n padding-block-end: units.$u1;\r\n\r\n > [slot=\"title\"] {\r\n color: colors.$zwart;\r\n font-size: 1.25rem;\r\n margin-block-end: 0;\r\n margin-block-start: 0;\r\n }\r\n\r\n > :nth-child(2) {\r\n margin-inline-start: auto;\r\n }\r\n}\r\n\r\ndso-responsive-element[small],\r\ndso-responsive-element[medium] {\r\n .dso-annotation-header {\r\n display: grid;\r\n row-gap: units.$u1;\r\n\r\n *[slot=\"title\"] {\r\n grid-row: 1;\r\n grid-column: 1;\r\n }\r\n\r\n *[slot=\"addons\"] {\r\n grid-row: 2;\r\n grid-column: 1;\r\n margin-inline-start: initial;\r\n }\r\n\r\n .dso-annotation-close-button {\r\n grid-row: 1;\r\n grid-column: 2;\r\n margin-inline-start: units.$u1;\r\n text-align: end;\r\n }\r\n }\r\n}\r\n\r\n.dso-annotation-content {\r\n @include set-colors.apply(colors.$grijs-5);\r\n\r\n padding-inline-start: units.$u2;\r\n padding-inline-end: units.$u1;\r\n padding-block-start: units.$u1;\r\n padding-block-end: units.$u1;\r\n}\r\n\r\n.dso-annotation-close-button {\r\n margin-inline-start: units.$u4;\r\n}\r\n\r\n.dso-annotation-prefix {\r\n font-style: italic;\r\n}\r\n","import { h, Component, ComponentInterface, Event, EventEmitter, Prop } from \"@stencil/core\";\r\n\r\nexport interface AnnotationOutputCloseEvent {\r\n originalEvent: Event;\r\n}\r\n\r\n@Component({\r\n tag: \"dso-annotation-output\",\r\n styleUrl: \"annotation-output.scss\",\r\n // No shadowdom for a11y reasons (aria-controls being set inside another component)\r\n})\r\nexport class AnnotationOutput implements ComponentInterface {\r\n /**\r\n * The annotation-button that toggles this component should have the same identifier.\r\n */\r\n @Prop({ reflect: true })\r\n identifier!: string;\r\n\r\n /**\r\n * This text will be displayed above the annotation-output when opened\r\n */\r\n @Prop({ reflect: true })\r\n annotationPrefix?: string;\r\n\r\n /**\r\n * Set to `true` to show content.\r\n */\r\n @Prop({ reflect: true })\r\n open = false;\r\n\r\n /**\r\n * This event is emitted when the user activates the Annotation Button.\r\n */\r\n @Event({ bubbles: false })\r\n dsoClose!: EventEmitter<AnnotationOutputCloseEvent>;\r\n\r\n private toggleHandler = (e: MouseEvent) => {\r\n this.dsoClose.emit({ originalEvent: e });\r\n };\r\n\r\n render() {\r\n return (\r\n <dso-responsive-element>\r\n <dso-expandable id={this.identifier} open={this.open}>\r\n {this.annotationPrefix && <span class=\"dso-annotation-prefix\">{this.annotationPrefix}</span>}\r\n <div class=\"dso-annotation-header\">\r\n <slot name=\"title\" />\r\n <slot name=\"addons\" />\r\n <button type=\"button\" class=\"dso-tertiary dso-annotation-close-button\" onClick={this.toggleHandler}>\r\n <dso-icon icon=\"times\"></dso-icon>\r\n <span class=\"sr-only\">Toelichting sluiten</span>\r\n </button>\r\n </div>\r\n <div class=\"dso-annotation-content\">\r\n <slot />\r\n </div>\r\n </dso-expandable>\r\n </dso-responsive-element>\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface DsoAnnotationButton extends Components.DsoAnnotationButton, HTMLElement {}
|
|
4
|
-
export const DsoAnnotationButton: {
|
|
5
|
-
prototype: DsoAnnotationButton;
|
|
6
|
-
new (): DsoAnnotationButton;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { A as AnnotationButton, d as defineCustomElement$1 } from './annotation-button.js';
|
|
2
|
-
|
|
3
|
-
const DsoAnnotationButton = AnnotationButton;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { DsoAnnotationButton, defineCustomElement };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=dso-annotation-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"dso-annotation-button.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface DsoAnnotationOutput extends Components.DsoAnnotationOutput, HTMLElement {}
|
|
4
|
-
export const DsoAnnotationOutput: {
|
|
5
|
-
prototype: DsoAnnotationOutput;
|
|
6
|
-
new (): DsoAnnotationOutput;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { A as AnnotationOutput, d as defineCustomElement$1 } from './annotation-output.js';
|
|
2
|
-
|
|
3
|
-
const DsoAnnotationOutput = AnnotationOutput;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { DsoAnnotationOutput, defineCustomElement };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=dso-annotation-output.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"dso-annotation-output.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|