@dso-toolkit/core 64.0.0 → 65.0.1
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-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +4 -4
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +9 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +1 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-label_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js +3 -3
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +23 -0
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-renvooi_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-renvooi_2.cjs.entry.js.map +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-tab.cjs.entry.js +54 -0
- package/dist/cjs/dso-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-tabs.cjs.entry.js +80 -0
- package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/action-list/action-list.css +7 -5
- package/dist/collection/components/advanced-select/advanced-select.css +2 -0
- package/dist/collection/components/annotation/annotation.css +14 -2
- package/dist/collection/components/autosuggest/autosuggest.js +9 -3
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/card/card.css +8 -0
- package/dist/collection/components/document-component/document-component.css +53 -27
- package/dist/collection/components/document-component/document-component.js +1 -1
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +28 -20
- package/dist/collection/components/image-overlay/image-overlay.css +48 -24
- package/dist/collection/components/info-button/info-button.css +4 -2
- package/dist/collection/components/label/label.css +2 -0
- package/dist/collection/components/legend-item/legend-item.css +7 -5
- package/dist/collection/components/list-button/list-button.css +29 -11
- package/dist/collection/components/map-controls/map-controls.css +35 -25
- package/dist/collection/components/mark-bar/mark-bar.css +3 -0
- package/dist/collection/components/modal/modal.css +16 -18
- package/dist/collection/components/ozon-content/ozon-content.css +86 -39
- package/dist/collection/components/pagination/pagination.css +24 -13
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/project-item/project-item.css +75 -0
- package/dist/collection/components/project-item/project-item.js +43 -0
- package/dist/collection/components/project-item/project-item.js.map +1 -0
- package/dist/collection/components/renvooi/renvooi.css +8 -2
- 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.css +61 -43
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/components/tab.css +107 -0
- package/dist/collection/components/tabs/components/tab.js +158 -0
- package/dist/collection/components/tabs/components/tab.js.map +1 -0
- package/dist/collection/components/tabs/tabs.css +20 -0
- package/dist/collection/components/tabs/tabs.interfaces.js +2 -0
- package/dist/collection/components/tabs/tabs.interfaces.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +83 -0
- package/dist/collection/components/tabs/tabs.js.map +1 -0
- 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.css +79 -50
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/document-component.js +2 -2
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dso-action-list-item.js.map +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +1 -1
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +1 -1
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +9 -3
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-card.js +1 -1
- package/dist/components/dso-card.js.map +1 -1
- package/dist/components/dso-helpcenter-panel.js +1 -1
- package/dist/components/dso-helpcenter-panel.js.map +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +1 -1
- package/dist/components/dso-pagination.js +3 -3
- package/dist/components/dso-pagination.js.map +1 -1
- package/dist/components/dso-project-item.d.ts +11 -0
- package/dist/components/dso-project-item.js +57 -0
- package/dist/components/dso-project-item.js.map +1 -0
- package/dist/components/dso-tab.d.ts +11 -0
- package/dist/components/dso-tab.js +73 -0
- package/dist/components/dso-tab.js.map +1 -0
- package/dist/components/dso-tabs.d.ts +11 -0
- package/dist/components/dso-tabs.js +94 -0
- package/dist/components/dso-tabs.js.map +1 -0
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +2 -2
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/image-overlay.js +1 -1
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/renvooi.js +1 -1
- package/dist/components/renvooi.js.map +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 +2 -2
- package/dist/components/table.js.map +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-f7428e63.entry.js → p-0c228908.entry.js} +2 -2
- package/dist/dso-toolkit/p-18318bd5.entry.js +2 -0
- package/dist/dso-toolkit/{p-9ec63c53.entry.js.map → p-18318bd5.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-b69aca6c.entry.js → p-19dd99c6.entry.js} +2 -2
- package/dist/dso-toolkit/p-1a824699.entry.js +2 -0
- package/dist/dso-toolkit/{p-ea62fe33.entry.js.map → p-1a824699.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-2dc8e61f.entry.js +2 -0
- package/dist/dso-toolkit/{p-9367abb1.entry.js.map → p-2dc8e61f.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-2e413e3d.entry.js +2 -0
- package/dist/dso-toolkit/p-34c19fc1.entry.js +2 -0
- package/dist/dso-toolkit/p-34c19fc1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-404ea2b9.entry.js +2 -0
- package/dist/dso-toolkit/{p-7acf6216.entry.js.map → p-404ea2b9.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-448d84e3.entry.js +2 -0
- package/dist/dso-toolkit/p-448d84e3.entry.js.map +1 -0
- package/dist/dso-toolkit/p-487469c5.entry.js +2 -0
- package/dist/dso-toolkit/p-487469c5.entry.js.map +1 -0
- package/dist/dso-toolkit/p-5180315a.entry.js +2 -0
- package/dist/dso-toolkit/{p-949f5bc0.entry.js.map → p-5180315a.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6742d457.entry.js → p-5db11fa4.entry.js} +2 -2
- package/dist/dso-toolkit/p-5f2d8a1f.entry.js +2 -0
- package/dist/dso-toolkit/{p-a13ad7da.entry.js.map → p-5f2d8a1f.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-66689c5c.entry.js +2 -0
- package/dist/dso-toolkit/{p-dd680a61.entry.js.map → p-66689c5c.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-786f3a41.entry.js.map +1 -1
- package/dist/dso-toolkit/p-88aebd15.entry.js +2 -0
- package/dist/dso-toolkit/{p-8e902d74.entry.js.map → p-88aebd15.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-892b8003.entry.js +2 -0
- package/dist/dso-toolkit/{p-78daa04d.entry.js.map → p-892b8003.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-9772e3b6.entry.js +2 -0
- package/dist/dso-toolkit/{p-eaa9146c.entry.js.map → p-9772e3b6.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-98c46318.entry.js +2 -0
- package/dist/dso-toolkit/p-98c46318.entry.js.map +1 -0
- package/dist/dso-toolkit/p-9af9870b.entry.js +2 -0
- package/dist/dso-toolkit/p-9af9870b.entry.js.map +1 -0
- package/dist/dso-toolkit/p-a644f41c.entry.js +2 -0
- package/dist/dso-toolkit/p-a644f41c.entry.js.map +1 -0
- package/dist/dso-toolkit/p-a705c684.entry.js +2 -0
- package/dist/dso-toolkit/{p-d246e155.entry.js.map → p-a705c684.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-b7ca8de2.entry.js +2 -0
- package/dist/dso-toolkit/{p-38210481.entry.js.map → p-b7ca8de2.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-9630207a.entry.js → p-d42db4af.entry.js} +2 -2
- package/dist/dso-toolkit/p-d7358e77.entry.js +2 -0
- package/dist/dso-toolkit/{p-8ff36cfa.entry.js.map → p-d7358e77.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-e283ee51.entry.js +2 -0
- package/dist/dso-toolkit/{p-a40730f7.entry.js.map → p-e283ee51.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-ede5568b.entry.js → p-e4eed4a2.entry.js} +2 -2
- package/dist/dso-toolkit/p-ea804e9e.entry.js +2 -0
- package/dist/dso-toolkit/p-ea804e9e.entry.js.map +1 -0
- package/dist/dso-toolkit/p-eb79a374.entry.js +2 -0
- package/dist/dso-toolkit/{p-c0e4bcee.entry.js.map → p-eb79a374.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-f1b0fe14.entry.js +2 -0
- package/dist/dso-toolkit/p-f1b0fe14.entry.js.map +1 -0
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js +1 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +1 -1
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +4 -4
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +3 -3
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-autosuggest.entry.js +9 -3
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +1 -1
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +1 -1
- package/dist/esm/dso-label_2.entry.js +2 -2
- package/dist/esm/dso-label_2.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +1 -1
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js.map +1 -1
- package/dist/esm/dso-map-controls.entry.js +1 -1
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +1 -1
- package/dist/esm/dso-pagination.entry.js +3 -3
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-project-item.entry.js +19 -0
- package/dist/esm/dso-project-item.entry.js.map +1 -0
- package/dist/esm/dso-renvooi_2.entry.js +2 -2
- package/dist/esm/dso-renvooi_2.entry.js.map +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-tab.entry.js +50 -0
- package/dist/esm/dso-tab.entry.js.map +1 -0
- package/dist/esm/dso-tabs.entry.js +76 -0
- package/dist/esm/dso-tabs.entry.js.map +1 -0
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +2 -2
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/project-item/project-item.d.ts +8 -0
- package/dist/types/components/tabs/components/tab.d.ts +33 -0
- package/dist/types/components/tabs/tabs.d.ts +18 -0
- package/dist/types/components/tabs/tabs.interfaces.d.ts +4 -0
- package/dist/types/components.d.ts +93 -0
- package/package.json +3 -3
- package/dist/dso-toolkit/p-09b3cda7.entry.js +0 -2
- package/dist/dso-toolkit/p-09b3cda7.entry.js.map +0 -1
- package/dist/dso-toolkit/p-142b052b.entry.js +0 -2
- package/dist/dso-toolkit/p-142b052b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-38210481.entry.js +0 -2
- package/dist/dso-toolkit/p-64f032ae.entry.js +0 -2
- package/dist/dso-toolkit/p-64f032ae.entry.js.map +0 -1
- package/dist/dso-toolkit/p-78daa04d.entry.js +0 -2
- package/dist/dso-toolkit/p-7acf6216.entry.js +0 -2
- package/dist/dso-toolkit/p-8e902d74.entry.js +0 -2
- package/dist/dso-toolkit/p-8ff36cfa.entry.js +0 -2
- package/dist/dso-toolkit/p-9367abb1.entry.js +0 -2
- package/dist/dso-toolkit/p-949f5bc0.entry.js +0 -2
- package/dist/dso-toolkit/p-99a8a8d0.entry.js +0 -2
- package/dist/dso-toolkit/p-9ec63c53.entry.js +0 -2
- package/dist/dso-toolkit/p-9f22940a.entry.js +0 -2
- package/dist/dso-toolkit/p-9f22940a.entry.js.map +0 -1
- package/dist/dso-toolkit/p-a13ad7da.entry.js +0 -2
- package/dist/dso-toolkit/p-a40730f7.entry.js +0 -2
- package/dist/dso-toolkit/p-c0e4bcee.entry.js +0 -2
- package/dist/dso-toolkit/p-d246e155.entry.js +0 -2
- package/dist/dso-toolkit/p-d6c90738.entry.js +0 -2
- package/dist/dso-toolkit/p-d6c90738.entry.js.map +0 -1
- package/dist/dso-toolkit/p-dd680a61.entry.js +0 -2
- package/dist/dso-toolkit/p-ea62fe33.entry.js +0 -2
- package/dist/dso-toolkit/p-eaa9146c.entry.js +0 -2
- /package/dist/dso-toolkit/{p-f7428e63.entry.js.map → p-0c228908.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b69aca6c.entry.js.map → p-19dd99c6.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-99a8a8d0.entry.js.map → p-2e413e3d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-6742d457.entry.js.map → p-5db11fa4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9630207a.entry.js.map → p-d42db4af.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ede5568b.entry.js.map → p-e4eed4a2.entry.js.map} +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { h, Host, forceUpdate } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot - The dso-tab elements. These should be direct children of the dso-tabs element.
|
|
4
|
+
* @slot panel - The panel with the content for the active tab
|
|
5
|
+
*/
|
|
6
|
+
export class Tabs {
|
|
7
|
+
constructor() {
|
|
8
|
+
// Keep track of tabs to set focus on next or previous enabled (not disabled) tab.
|
|
9
|
+
this.keyUpHandler = (e) => {
|
|
10
|
+
if (!(e.target instanceof HTMLElement)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
switch (e.key) {
|
|
14
|
+
case "ArrowRight":
|
|
15
|
+
case "ArrowDown":
|
|
16
|
+
this.moveFocusToNextTab(e.target);
|
|
17
|
+
break;
|
|
18
|
+
case "ArrowLeft":
|
|
19
|
+
case "ArrowUp":
|
|
20
|
+
this.moveFocusToPreviousTab(e.target);
|
|
21
|
+
break;
|
|
22
|
+
default:
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
get enabledTabs() {
|
|
28
|
+
// Only enabled tabs (not disabled) are needed for setting focus via ArrowRight and ArrowLeft
|
|
29
|
+
return Array.from(this.host.querySelectorAll(":scope > dso-tab")).reduce((tabs, tab) => {
|
|
30
|
+
if (!tab.disabled) {
|
|
31
|
+
tabs.push(tab);
|
|
32
|
+
}
|
|
33
|
+
return tabs;
|
|
34
|
+
}, []);
|
|
35
|
+
}
|
|
36
|
+
get firstTab() {
|
|
37
|
+
return this.enabledTabs[0];
|
|
38
|
+
}
|
|
39
|
+
get lastTab() {
|
|
40
|
+
return this.enabledTabs[this.enabledTabs.length - 1];
|
|
41
|
+
}
|
|
42
|
+
moveFocusToTab(tab) {
|
|
43
|
+
tab === null || tab === void 0 ? void 0 : tab._dsoFocus();
|
|
44
|
+
}
|
|
45
|
+
moveFocusToPreviousTab(focussedTab) {
|
|
46
|
+
var _a;
|
|
47
|
+
const index = this.enabledTabs.findIndex((tab) => tab === focussedTab);
|
|
48
|
+
const next = (_a = this.enabledTabs[index - 1]) !== null && _a !== void 0 ? _a : this.lastTab;
|
|
49
|
+
this.moveFocusToTab(next);
|
|
50
|
+
}
|
|
51
|
+
moveFocusToNextTab(focussedTab) {
|
|
52
|
+
var _a;
|
|
53
|
+
const index = this.enabledTabs.findIndex((tab) => tab === focussedTab);
|
|
54
|
+
const next = (_a = this.enabledTabs[index + 1]) !== null && _a !== void 0 ? _a : this.firstTab;
|
|
55
|
+
this.moveFocusToTab(next);
|
|
56
|
+
}
|
|
57
|
+
connectedCallback() {
|
|
58
|
+
var _a;
|
|
59
|
+
(_a = this.mutationObserver) !== null && _a !== void 0 ? _a : (this.mutationObserver = new MutationObserver(() => forceUpdate(this.host)));
|
|
60
|
+
this.mutationObserver.observe(this.host, { childList: true });
|
|
61
|
+
}
|
|
62
|
+
disconnectedCallback() {
|
|
63
|
+
var _a;
|
|
64
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
return (h(Host, { key: 'ce49553d33f63de258e8ff3466fa37d539e4734f' }, h("div", { key: '22a863b05306509b718237a071a072a52c3cfd73', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, h("slot", { key: '75d01af59d70f79e059948d9239c7c9ccdef297b' })), h("div", { key: '2304bbce1b0c27566ae04f7c1c5dd13cd9e588eb', role: "tabpanel", tabindex: "0" }, h("slot", { key: 'bc1a82a606d37dd50beb5f5acd575cc57b41182e', name: "panel" }))));
|
|
68
|
+
}
|
|
69
|
+
static get is() { return "dso-tabs"; }
|
|
70
|
+
static get encapsulation() { return "shadow"; }
|
|
71
|
+
static get originalStyleUrls() {
|
|
72
|
+
return {
|
|
73
|
+
"$": ["tabs.scss"]
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static get styleUrls() {
|
|
77
|
+
return {
|
|
78
|
+
"$": ["tabs.css"]
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
static get elementRef() { return "host"; }
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.js","sourceRoot":"","sources":["../../../../src/components/tabs/tabs.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Element, Component, h, Host, forceUpdate } from \"@stencil/core\";\r\n\r\n/**\r\n * @slot - The dso-tab elements. These should be direct children of the dso-tabs element.\r\n * @slot panel - The panel with the content for the active tab\r\n */\r\n@Component({\r\n tag: \"dso-tabs\",\r\n styleUrl: \"tabs.scss\",\r\n shadow: true,\r\n})\r\nexport class Tabs {\r\n private mutationObserver?: MutationObserver;\r\n\r\n @Element()\r\n host!: HTMLDsoTabsElement;\r\n\r\n private get enabledTabs() {\r\n // Only enabled tabs (not disabled) are needed for setting focus via ArrowRight and ArrowLeft\r\n return Array.from(this.host.querySelectorAll<HTMLDsoTabElement>(\":scope > dso-tab\")).reduce<HTMLDsoTabElement[]>(\r\n (tabs, tab) => {\r\n if (!tab.disabled) {\r\n tabs.push(tab);\r\n }\r\n\r\n return tabs;\r\n },\r\n [],\r\n );\r\n }\r\n\r\n private get firstTab() {\r\n return this.enabledTabs[0];\r\n }\r\n\r\n private get lastTab() {\r\n return this.enabledTabs[this.enabledTabs.length - 1];\r\n }\r\n\r\n private moveFocusToTab(tab: HTMLDsoTabElement | undefined) {\r\n tab?._dsoFocus();\r\n }\r\n\r\n private moveFocusToPreviousTab(focussedTab: HTMLElement) {\r\n const index = this.enabledTabs.findIndex((tab) => tab === focussedTab);\r\n const next = this.enabledTabs[index - 1] ?? this.lastTab;\r\n\r\n this.moveFocusToTab(next);\r\n }\r\n\r\n private moveFocusToNextTab(focussedTab: HTMLElement) {\r\n const index = this.enabledTabs.findIndex((tab) => tab === focussedTab);\r\n const next = this.enabledTabs[index + 1] ?? this.firstTab;\r\n\r\n this.moveFocusToTab(next);\r\n }\r\n\r\n // Keep track of tabs to set focus on next or previous enabled (not disabled) tab.\r\n private keyUpHandler = (e: KeyboardEvent) => {\r\n if (!(e.target instanceof HTMLElement)) {\r\n return;\r\n }\r\n\r\n switch (e.key) {\r\n case \"ArrowRight\":\r\n case \"ArrowDown\":\r\n this.moveFocusToNextTab(e.target);\r\n break;\r\n case \"ArrowLeft\":\r\n case \"ArrowUp\":\r\n this.moveFocusToPreviousTab(e.target);\r\n break;\r\n default:\r\n return;\r\n }\r\n };\r\n\r\n connectedCallback(): void {\r\n this.mutationObserver ??= new MutationObserver(() => forceUpdate(this.host));\r\n\r\n this.mutationObserver.observe(this.host, { childList: true });\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.mutationObserver?.disconnect();\r\n }\r\n\r\n render() {\r\n return (\r\n <Host>\r\n <div class=\"tabs\" role=\"tablist\" onKeyUp={this.keyUpHandler}>\r\n <slot />\r\n </div>\r\n <div role=\"tabpanel\" tabindex=\"0\">\r\n <slot name=\"panel\" />\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -40,7 +40,7 @@ export class Toggletip {
|
|
|
40
40
|
this.secondary = undefined;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Fragment, null, h("dso-info-button", { key: '
|
|
43
|
+
return (h(Fragment, null, h("dso-info-button", { key: 'd814dd230c0a2b7dd143f0c461a7c35c5a0e8256', "aria-describedby": "toggle", onClick: this.click, label: this.label, active: this.active, secondary: this.secondary, ref: (element) => (this.infoButton = element) }), h("dso-tooltip", { key: '8335db4a80d8bf7fdec4251caa9a3d4c5520b8f4', stateless: true, descriptive: true, id: "toggle", strategy: "absolute", active: this.active, position: this.position, small: this.small }, h("slot", { key: 'e4f9747977cd810999eb63ee413e63827ce106e3' }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "dso-toggletip"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -168,7 +168,7 @@ export class Tooltip {
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '1dd2e74dbeb0555c9ddf87f129fa0c71761a1838', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, h("div", { key: 'ee9a42aebfda6d2b72b9ca2843997c543b534ee8', class: clsx("tooltip", { in: this.active }) }, !this.noArrow && h("div", { key: '3f692092ef311ed2c23f24c4c039cd690a1456cd', "data-popper-arrow": true, class: "tooltip-arrow" }), h("div", { key: '1f47431cd04dffd0f6eec3728c140e0e2bbbd2c5', "aria-hidden": !this.descriptive || undefined, class: clsx("tooltip-inner", { "dso-small": this.small }) }, h("slot", { key: 'a1e76e41487efc675edd80608d610e4fbf0f227e' })))));
|
|
172
172
|
}
|
|
173
173
|
activatePopper() {
|
|
174
174
|
var _a;
|
|
@@ -175,7 +175,7 @@ export class TreeView {
|
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
177
|
var _a;
|
|
178
|
-
return (h("div", { key: '
|
|
178
|
+
return (h("div", { key: '297a05e4f779433dea7c7e297200b5205c9a835e', id: "tree", class: "dso-tree", onKeyDown: (e) => this.keyDownListener(e), ref: (element) => (this.tree = element) }, h("ul", { key: '095ee29e9af3861b29e413e7120e79ca32a46364', role: "tree", "aria-label": "Objectenboom" }, (_a = this.collection) === null || _a === void 0 ? void 0 : _a.map((item, index) => (h(DsoTreeItem, { owner: this, ancestors: [], item: item, index: index, level: 1, setSize: this.collection.length }))))));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "dso-tree-view"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,6 @@ button::-moz-focus-inner {
|
|
|
53
53
|
text-align: start;
|
|
54
54
|
user-select: none;
|
|
55
55
|
vertical-align: middle;
|
|
56
|
-
border: 0;
|
|
57
|
-
color: #39870c;
|
|
58
|
-
line-height: 1;
|
|
59
|
-
padding: 0;
|
|
60
|
-
background-color: transparent;
|
|
61
56
|
}
|
|
62
57
|
.shrink:focus, .shrink:focus-visible,
|
|
63
58
|
.expand:focus,
|
|
@@ -71,6 +66,15 @@ button::-moz-focus-inner {
|
|
|
71
66
|
.overlay-close-button:active {
|
|
72
67
|
outline: 0;
|
|
73
68
|
}
|
|
69
|
+
.shrink,
|
|
70
|
+
.expand,
|
|
71
|
+
.overlay-close-button {
|
|
72
|
+
border: 0;
|
|
73
|
+
color: #39870c;
|
|
74
|
+
line-height: 1;
|
|
75
|
+
padding: 0;
|
|
76
|
+
background-color: transparent;
|
|
77
|
+
}
|
|
74
78
|
.shrink[disabled],
|
|
75
79
|
.expand[disabled],
|
|
76
80
|
.overlay-close-button[disabled] {
|
|
@@ -302,9 +306,24 @@ button::-moz-focus-inner {
|
|
|
302
306
|
text-align: start;
|
|
303
307
|
user-select: none;
|
|
304
308
|
vertical-align: middle;
|
|
309
|
+
}
|
|
310
|
+
.sizing-buttons button:focus, .sizing-buttons button:focus-visible,
|
|
311
|
+
.toggle-button button:focus,
|
|
312
|
+
.toggle-button button:focus-visible {
|
|
313
|
+
outline-offset: 2px;
|
|
314
|
+
}
|
|
315
|
+
.sizing-buttons button:active,
|
|
316
|
+
.toggle-button button:active {
|
|
317
|
+
outline: 0;
|
|
318
|
+
}
|
|
319
|
+
.sizing-buttons button,
|
|
320
|
+
.toggle-button button {
|
|
305
321
|
background-color: #fff;
|
|
306
322
|
border-color: #39870c;
|
|
307
323
|
color: #39870c;
|
|
324
|
+
}
|
|
325
|
+
.sizing-buttons button,
|
|
326
|
+
.toggle-button button {
|
|
308
327
|
border-width: 1px;
|
|
309
328
|
border-style: solid;
|
|
310
329
|
border-radius: 4px;
|
|
@@ -312,23 +331,6 @@ button::-moz-focus-inner {
|
|
|
312
331
|
min-inline-size: 56px;
|
|
313
332
|
padding-block: 11px;
|
|
314
333
|
padding-inline: 15px;
|
|
315
|
-
border: 0;
|
|
316
|
-
padding: 8px;
|
|
317
|
-
border-radius: 0;
|
|
318
|
-
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4);
|
|
319
|
-
flex: 0 0 100%;
|
|
320
|
-
block-size: 40px;
|
|
321
|
-
min-inline-size: auto;
|
|
322
|
-
inline-size: 40px;
|
|
323
|
-
}
|
|
324
|
-
.sizing-buttons button:focus, .sizing-buttons button:focus-visible,
|
|
325
|
-
.toggle-button button:focus,
|
|
326
|
-
.toggle-button button:focus-visible {
|
|
327
|
-
outline-offset: 2px;
|
|
328
|
-
}
|
|
329
|
-
.sizing-buttons button:active,
|
|
330
|
-
.toggle-button button:active {
|
|
331
|
-
outline: 0;
|
|
332
334
|
}
|
|
333
335
|
.sizing-buttons button:hover,
|
|
334
336
|
.toggle-button button:hover {
|
|
@@ -452,6 +454,17 @@ button::-moz-focus-inner {
|
|
|
452
454
|
color: #fff;
|
|
453
455
|
outline: none;
|
|
454
456
|
}
|
|
457
|
+
.sizing-buttons button,
|
|
458
|
+
.toggle-button button {
|
|
459
|
+
border: 0;
|
|
460
|
+
padding: 8px;
|
|
461
|
+
border-radius: 0;
|
|
462
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4);
|
|
463
|
+
flex: 0 0 100%;
|
|
464
|
+
block-size: 40px;
|
|
465
|
+
min-inline-size: auto;
|
|
466
|
+
inline-size: 40px;
|
|
467
|
+
}
|
|
455
468
|
.sizing-buttons button:hover dso-icon,
|
|
456
469
|
.toggle-button button:hover dso-icon {
|
|
457
470
|
color: #fff;
|
|
@@ -529,9 +542,20 @@ button::-moz-focus-inner {
|
|
|
529
542
|
text-align: start;
|
|
530
543
|
user-select: none;
|
|
531
544
|
vertical-align: middle;
|
|
545
|
+
line-height: 1rem;
|
|
546
|
+
}
|
|
547
|
+
.filterpanel-buttons .cancel-button:focus, .filterpanel-buttons .cancel-button:focus-visible {
|
|
548
|
+
outline-offset: 2px;
|
|
549
|
+
}
|
|
550
|
+
.filterpanel-buttons .cancel-button:active {
|
|
551
|
+
outline: 0;
|
|
552
|
+
}
|
|
553
|
+
.filterpanel-buttons .cancel-button {
|
|
532
554
|
background-color: #fff;
|
|
533
555
|
border-color: #39870c;
|
|
534
556
|
color: #39870c;
|
|
557
|
+
}
|
|
558
|
+
.filterpanel-buttons .cancel-button {
|
|
535
559
|
border-width: 1px;
|
|
536
560
|
border-style: solid;
|
|
537
561
|
border-radius: 4px;
|
|
@@ -539,13 +563,6 @@ button::-moz-focus-inner {
|
|
|
539
563
|
min-inline-size: 56px;
|
|
540
564
|
padding-block: 11px;
|
|
541
565
|
padding-inline: 15px;
|
|
542
|
-
line-height: 1rem;
|
|
543
|
-
}
|
|
544
|
-
.filterpanel-buttons .cancel-button:focus, .filterpanel-buttons .cancel-button:focus-visible {
|
|
545
|
-
outline-offset: 2px;
|
|
546
|
-
}
|
|
547
|
-
.filterpanel-buttons .cancel-button:active {
|
|
548
|
-
outline: 0;
|
|
549
566
|
}
|
|
550
567
|
.filterpanel-buttons .cancel-button:hover {
|
|
551
568
|
background-color: #d7e7ce;
|
|
@@ -664,9 +681,20 @@ button::-moz-focus-inner {
|
|
|
664
681
|
text-align: start;
|
|
665
682
|
user-select: none;
|
|
666
683
|
vertical-align: middle;
|
|
684
|
+
line-height: 1rem;
|
|
685
|
+
}
|
|
686
|
+
.filterpanel-buttons .apply-button:focus, .filterpanel-buttons .apply-button:focus-visible {
|
|
687
|
+
outline-offset: 2px;
|
|
688
|
+
}
|
|
689
|
+
.filterpanel-buttons .apply-button:active {
|
|
690
|
+
outline: 0;
|
|
691
|
+
}
|
|
692
|
+
.filterpanel-buttons .apply-button {
|
|
667
693
|
background-color: #39870c;
|
|
668
694
|
border-color: #39870c;
|
|
669
695
|
color: #fff;
|
|
696
|
+
}
|
|
697
|
+
.filterpanel-buttons .apply-button {
|
|
670
698
|
border-width: 1px;
|
|
671
699
|
border-style: solid;
|
|
672
700
|
border-radius: 4px;
|
|
@@ -674,13 +702,6 @@ button::-moz-focus-inner {
|
|
|
674
702
|
min-inline-size: 56px;
|
|
675
703
|
padding-block: 11px;
|
|
676
704
|
padding-inline: 15px;
|
|
677
|
-
line-height: 1rem;
|
|
678
|
-
}
|
|
679
|
-
.filterpanel-buttons .apply-button:focus, .filterpanel-buttons .apply-button:focus-visible {
|
|
680
|
-
outline-offset: 2px;
|
|
681
|
-
}
|
|
682
|
-
.filterpanel-buttons .apply-button:active {
|
|
683
|
-
outline: 0;
|
|
684
705
|
}
|
|
685
706
|
.filterpanel-buttons .apply-button:hover {
|
|
686
707
|
background-color: #275937;
|
|
@@ -938,11 +959,6 @@ button::-moz-focus-inner {
|
|
|
938
959
|
.dso-nav.dso-nav-main > li > a,
|
|
939
960
|
.dso-nav.dso-nav-main > li > button {
|
|
940
961
|
text-decoration: none;
|
|
941
|
-
font-size: 1.25em;
|
|
942
|
-
line-height: 1;
|
|
943
|
-
margin-block-start: 8px;
|
|
944
|
-
padding-block: 8px 7px;
|
|
945
|
-
padding-inline: 16px;
|
|
946
962
|
}
|
|
947
963
|
.dso-nav.dso-nav-main > li > a:hover, .dso-nav.dso-nav-main > li > a:focus-visible, .dso-nav.dso-nav-main > li > a:active,
|
|
948
964
|
.dso-nav.dso-nav-main > li > button:hover,
|
|
@@ -950,16 +966,20 @@ button::-moz-focus-inner {
|
|
|
950
966
|
.dso-nav.dso-nav-main > li > button:active {
|
|
951
967
|
text-decoration: underline;
|
|
952
968
|
}
|
|
969
|
+
.dso-nav.dso-nav-main > li > a,
|
|
970
|
+
.dso-nav.dso-nav-main > li > button {
|
|
971
|
+
font-size: 1.25em;
|
|
972
|
+
line-height: 1;
|
|
973
|
+
margin-block-start: 8px;
|
|
974
|
+
padding-block: 8px 7px;
|
|
975
|
+
padding-inline: 16px;
|
|
976
|
+
}
|
|
953
977
|
.dso-nav.dso-nav-sub > li {
|
|
954
978
|
display: inline-block;
|
|
955
979
|
}
|
|
956
980
|
.dso-nav.dso-nav-sub > li > a,
|
|
957
981
|
.dso-nav.dso-nav-sub > li > button {
|
|
958
982
|
text-decoration: none;
|
|
959
|
-
font-size: 1rem;
|
|
960
|
-
margin-block-start: 4px;
|
|
961
|
-
padding-block: 4px 3px;
|
|
962
|
-
padding-inline: 8px;
|
|
963
983
|
}
|
|
964
984
|
.dso-nav.dso-nav-sub > li > a:hover, .dso-nav.dso-nav-sub > li > a:focus-visible, .dso-nav.dso-nav-sub > li > a:active,
|
|
965
985
|
.dso-nav.dso-nav-sub > li > button:hover,
|
|
@@ -967,6 +987,13 @@ button::-moz-focus-inner {
|
|
|
967
987
|
.dso-nav.dso-nav-sub > li > button:active {
|
|
968
988
|
text-decoration: underline;
|
|
969
989
|
}
|
|
990
|
+
.dso-nav.dso-nav-sub > li > a,
|
|
991
|
+
.dso-nav.dso-nav-sub > li > button {
|
|
992
|
+
font-size: 1rem;
|
|
993
|
+
margin-block-start: 4px;
|
|
994
|
+
padding-block: 4px 3px;
|
|
995
|
+
padding-inline: 8px;
|
|
996
|
+
}
|
|
970
997
|
}
|
|
971
998
|
@media screen and (max-width: 807.99px) {
|
|
972
999
|
.dso-navbar {
|
|
@@ -993,11 +1020,6 @@ button::-moz-focus-inner {
|
|
|
993
1020
|
text-align: start;
|
|
994
1021
|
user-select: none;
|
|
995
1022
|
vertical-align: middle;
|
|
996
|
-
border: 0;
|
|
997
|
-
color: #39870c;
|
|
998
|
-
line-height: 1;
|
|
999
|
-
padding: 0;
|
|
1000
|
-
background-color: transparent;
|
|
1001
1023
|
font-weight: 300;
|
|
1002
1024
|
}
|
|
1003
1025
|
.dso-tertiary:focus, .dso-tertiary:focus-visible {
|
|
@@ -1006,6 +1028,13 @@ button::-moz-focus-inner {
|
|
|
1006
1028
|
.dso-tertiary:active {
|
|
1007
1029
|
outline: 0;
|
|
1008
1030
|
}
|
|
1031
|
+
.dso-tertiary {
|
|
1032
|
+
border: 0;
|
|
1033
|
+
color: #39870c;
|
|
1034
|
+
line-height: 1;
|
|
1035
|
+
padding: 0;
|
|
1036
|
+
background-color: transparent;
|
|
1037
|
+
}
|
|
1009
1038
|
.dso-tertiary[disabled] {
|
|
1010
1039
|
color: #afcf9d;
|
|
1011
1040
|
}
|
|
@@ -154,7 +154,7 @@ export class ViewerGrid {
|
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
156
|
const tabLabels = this.mode === "vdk" ? viewerGridVdkTabs : viewerGridVrkTabs;
|
|
157
|
-
return (h(Fragment, null, this.tabView && (h("nav", { key: '
|
|
157
|
+
return (h(Fragment, null, this.tabView && (h("nav", { key: '8ca85b7872476a2afdcb8d41d9d7d3d8fd9d130c', class: "dso-navbar" }, h("ul", { key: '83195a76dbb5770f6a38fe8feec3c1f85a70f102', class: "dso-nav dso-nav-sub" }, tabLabels.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && (this.activeTab === "main" || this.activeTab === "search"))) && (h(MainPanel, { key: '2b13de9e342ee70f4b6f225742f19f4a48387f49', mode: this.mode, tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.mainPanelHidden, shrinkMain: this.emitShrinkMain, expandMain: this.emitExpandMain, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd })), h(Filterpanel, { key: 'c31ce856aacd1c762e4988187e71533c09a554f6', ref: (element) => (this.filterpanel = element), onApply: this.handleFilterpanelApply, onCancel: this.handleFilterpanelCancel }), (!this.tabView || (this.tabView && this.activeTab === "map")) && (h("div", { key: '31e87407557de7024832b5cc57b8e4d0cd882e6f', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: '6ed2d2a928d67f175293c4b16dffc5f836a1beba', name: "map" }))), ((!this.tabView && this.documentPanelOpen) || (this.tabView && this.activeTab === "document")) && (h(DocumentPanel, { key: '32d6858043486f36421a73ab0431cf49db6d0d8b', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: '3e947e34d6693ecfef90f1606d5e8af37fd28efc', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) })));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "dso-viewer-grid"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ import { d as defineCustomElement$3 } from './renvooi.js';
|
|
|
7
7
|
import { d as defineCustomElement$2 } from './slide-toggle.js';
|
|
8
8
|
import { d as defineCustomElement$1 } from './tooltip.js';
|
|
9
9
|
|
|
10
|
-
const annotationCss = "a{background-color:transparent;color:var(--link-color);text-decoration:underline}a:hover,a:focus-visible{color:var(--link-hover-color);text-decoration:underline}a:active{text-decoration:none}a:visited{color:var(--link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0
|
|
10
|
+
const annotationCss = "a{background-color:transparent;color:var(--link-color);text-decoration:underline}a:hover,a:focus-visible{color:var(--link-hover-color);text-decoration:underline}a:active{text-decoration:none}a:visited{color:var(--link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-image:url(\"./dso-icons.svg#img-download\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:focus-visible{background-image:url(\"./dso-icons.svg#img-download-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-image:url(\"./dso-icons.svg#img-external-link\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:focus-visible{background-image:url(\"./dso-icons.svg#img-external-link-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-start:1.5em;background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{background-image:url(\"./dso-icons.svg#img-call-grasgroen\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]:focus-visible{background-image:url(\"./dso-icons.svg#img-call-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-start:1.5em;background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-image:url(\"./dso-icons.svg#img-email-grasgroen\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]:focus-visible{background-image:url(\"./dso-icons.svg#img-email-scampi\")}:host{display:block;padding:2px}:host([wijzigactie=voegtoe]){--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;background-color:#e4f1d4;border-color:#e4f1d4;color:#191919}:host([wijzigactie=voegtoe]) a:is(.download,.download:hover,.download:focus-visible){background-image:url(\"./dso-icons.svg#img-download-zwart\")}:host([wijzigactie=voegtoe]) a:is(.extern,.extern:hover,.extern:focus-visible){background-image:url(\"./dso-icons.svg#img-external-link-zwart\")}:host([wijzigactie=voegtoe]) a:is([href^=\"tel:\"],[href^=\"tel:\"]:hover,[href^=\"tel:\"]:focus-visible){background-image:url(\"./dso-icons.svg#img-call-zwart\")}:host([wijzigactie=voegtoe]) a:is([href^=\"mailto:\"],[href^=\"mailto:\"]:hover,[href^=\"mailto:\"]:focus-visible){background-image:url(\"./dso-icons.svg#img-email-zwart\")}:host([wijzigactie=voegtoe]){box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.25)}:host([wijzigactie=verwijder]){--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor;background-color:#f5d8dc;border-color:#f5d8dc;color:#191919}:host([wijzigactie=verwijder]) a:is(.download,.download:hover,.download:focus-visible){background-image:url(\"./dso-icons.svg#img-download-zwart\")}:host([wijzigactie=verwijder]) a:is(.extern,.extern:hover,.extern:focus-visible){background-image:url(\"./dso-icons.svg#img-external-link-zwart\")}:host([wijzigactie=verwijder]) a:is([href^=\"tel:\"],[href^=\"tel:\"]:hover,[href^=\"tel:\"]:focus-visible){background-image:url(\"./dso-icons.svg#img-call-zwart\")}:host([wijzigactie=verwijder]) a:is([href^=\"mailto:\"],[href^=\"mailto:\"]:hover,[href^=\"mailto:\"]:focus-visible){background-image:url(\"./dso-icons.svg#img-email-zwart\")}:host([wijzigactie=verwijder]){text-decoration:line-through}*,*::after,*::before{box-sizing:border-box}.annotation-body{display:flex;gap:8px}.annotation-info{flex-grow:1}.annotation-symbol,.annotation-control{flex-shrink:0}.annotation-title{font-weight:500}.annotation-title,.annotation-data{margin-block:0}.annotation-title .content:has(+dso-label),.annotation-data .content:has(+dso-label){margin-inline-end:4px}.annotation-data{font-size:0.875rem}";
|
|
11
11
|
const DsoAnnotationLocatieStyle0 = annotationCss;
|
|
12
12
|
|
|
13
13
|
const AnnotationLocatie = /*@__PURE__*/ proxyCustomElement(class AnnotationLocatie extends HTMLElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"annotation-locatie.js","mappings":";;;;;;;;;AAAA,MAAM,aAAa,GAAG,
|
|
1
|
+
{"file":"annotation-locatie.js","mappings":";;;;;;;;;AAAA,MAAM,aAAa,GAAG,m+IAAm+I,CAAC;AAC1/I,mCAAe,aAAa;;MCgBf,iBAAiB;;;;;;QAkCpB,YAAO,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;;IAErC,iBAAiB;QACf,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;KACtB;IAED,oBAAoB;QAClB,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;KACxB;IAED,MAAM;QACJ,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;QAE7C,QACE,EAAC,cAAc,qDACb,MAAM,EAAE,UAAU,GAAG,EAAC,oBAAoB,OAAG,GAAG,SAAS,EACzD,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,KAAK,EACH,kBACE,YAAM,KAAK,EAAC,SAAS,IACnB,mBAAa,KAAK,EAAE,IAAI,CAAC,aAAa,GAAI,CACrC,EACN,IAAI,CAAC,iBAAiB,IAAI,EAAC,2BAA2B,OAAG,CACzD,GAEL,EACF;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/annotation/annotation.scss?tag=dso-annotation-locatie&encapsulation=shadow","src/components/annotation/annotation-locatie/annotation-locatie.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\n@use \"~dso-toolkit/src/components/insert\";\r\n@use \"~dso-toolkit/src/components/delete\";\r\n\r\n@use \"~dso-toolkit/src/components/anchor/anchor\";\r\n\r\n:host {\r\n display: block;\r\n padding: 2px;\r\n}\r\n\r\n:host([wijzigactie=\"voegtoe\"]) {\r\n @include insert.root();\r\n}\r\n\r\n:host([wijzigactie=\"verwijder\"]) {\r\n @include delete.root();\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.annotation-body {\r\n display: flex;\r\n gap: units.$u1;\r\n}\r\n\r\n.annotation-info {\r\n flex-grow: 1;\r\n}\r\n\r\n.annotation-symbol,\r\n.annotation-control {\r\n flex-shrink: 0;\r\n}\r\n\r\n.annotation-title {\r\n font-weight: 500;\r\n}\r\n\r\n.annotation-title,\r\n.annotation-data {\r\n margin-block: 0;\r\n\r\n .content:has(+ dso-label) {\r\n margin-inline-end: units.$u1 * 0.5;\r\n }\r\n}\r\n\r\n.annotation-data {\r\n font-size: 0.875rem;\r\n}\r\n","import { Component, ComponentInterface, Prop, Event, h, EventEmitter, Fragment, Element } from \"@stencil/core\";\r\nimport { AnnotationActiveChangeEvent, AnnotationWijzigactie } from \"../annotation.interfaces\";\r\n\r\nimport { AnnotationBody } from \"../annotation-body\";\r\nimport { AnnotationGewijzigdeLocatie } from \"../annotation-gewijzigde-locatie\";\r\nimport { watcher } from \"../annotation-watcher\";\r\nimport { AnnotationSymbolSlot } from \"../annotation-symbol-slot\";\r\nimport { RenvooiValue } from \"../../renvooi/renvooi.interfaces\";\r\n\r\n/**\r\n * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.\r\n */\r\n@Component({\r\n tag: \"dso-annotation-locatie\",\r\n styleUrl: \"../annotation.scss\",\r\n shadow: true,\r\n})\r\nexport class AnnotationLocatie implements ComponentInterface {\r\n /**\r\n * Een optionele wijzigactie die aangeeft of de annotatie toegevoegd of verwijderd is.\r\n */\r\n @Prop({ reflect: true })\r\n wijzigactie?: AnnotationWijzigactie;\r\n\r\n /**\r\n * Een optionele boolean die aangeeft of de annotatie actief is.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Een optionele boolean die aangeeft of de locatie van de annotatie gewijzigd is.\r\n */\r\n @Prop({ reflect: true })\r\n gewijzigdeLocatie?: boolean;\r\n\r\n /**\r\n * Een optionele event listener voor wijzigingen aan de status van de annotatie.\r\n */\r\n @Event()\r\n dsoActiveChange!: EventEmitter<AnnotationActiveChangeEvent>;\r\n\r\n /**\r\n * De noemer van de locatie.\r\n */\r\n @Prop()\r\n locatieNoemer?: RenvooiValue | string;\r\n\r\n @Element()\r\n private host!: HTMLDsoAnnotationLocatieElement;\r\n\r\n private watcher = watcher(this.host);\r\n\r\n connectedCallback(): void {\r\n this.watcher.watch();\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.watcher.unwatch();\r\n }\r\n\r\n render() {\r\n const hasSymbool = this.watcher.hasSymbool();\r\n\r\n return (\r\n <AnnotationBody\r\n symbol={hasSymbool ? <AnnotationSymbolSlot /> : undefined}\r\n active={this.active}\r\n dsoActiveChange={this.dsoActiveChange}\r\n title={\r\n <>\r\n <span class=\"content\">\r\n <dso-renvooi value={this.locatieNoemer} />\r\n </span>\r\n {this.gewijzigdeLocatie && <AnnotationGewijzigdeLocatie />}\r\n </>\r\n }\r\n />\r\n );\r\n }\r\n}\r\n"],"version":3}
|