@dso-toolkit/core 63.0.0 → 65.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/{annotation-body-88802b1e.js → annotation-body-b062e93f.js} +2 -2
- package/dist/cjs/{annotation-body-88802b1e.js.map → annotation-body-b062e93f.js.map} +1 -1
- package/dist/cjs/{annotation-symbol-slot-939136f8.js → annotation-symbol-slot-e9741f0b.js} +2 -2
- package/dist/cjs/{annotation-symbol-slot-939136f8.js.map → annotation-symbol-slot-e9741f0b.js.map} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +6 -6
- 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 +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/{dso-alert_5.cjs.entry.js → dso-alert_6.cjs.entry.js} +21 -6
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +6 -6
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +11 -5
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +1 -1
- 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-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +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-header.cjs.entry.js +1 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js.map +1 -1
- 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 +2 -2
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
- package/dist/cjs/{dso-tooltip.cjs.entry.js → dso-label_2.cjs.entry.js} +131 -8
- package/dist/cjs/dso-label_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-list-button.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +2 -2
- package/dist/cjs/dso-pagination.cjs.entry.js +4 -4
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- 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-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 +68 -0
- package/dist/cjs/dso-renvooi_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +3 -3
- package/dist/cjs/dso-toolkit.cjs.js.map +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{index-ac055dd1.js → index-848434f1.js} +33 -7
- package/dist/cjs/index-848434f1.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/accordion/components/accordion-section.css +5 -5
- package/dist/collection/components/accordion/components/accordion-section.js +15 -15
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- 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.css +7 -0
- 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/label/label.interfaces.js +2 -0
- package/dist/collection/components/label/label.interfaces.js.map +1 -0
- package/dist/collection/components/label/label.js +11 -5
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.css +7 -5
- package/dist/collection/components/list-button/list-button.css +31 -13
- 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 +105 -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 +69 -43
- 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-accordion-section.js +21 -15
- package/dist/components/dso-accordion-section.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 +10 -4
- 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 +4 -4
- 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-6c73ed77.js → p-00caab3b.js} +2 -2
- package/dist/dso-toolkit/{p-95fb1798.entry.js → p-065ea3f8.entry.js} +2 -2
- package/dist/dso-toolkit/{p-67e0739d.entry.js → p-0c228908.entry.js} +2 -2
- package/dist/dso-toolkit/{p-03dd8a73.entry.js → p-0cd85e9b.entry.js} +2 -2
- package/dist/dso-toolkit/p-18318bd5.entry.js +2 -0
- package/dist/dso-toolkit/p-18318bd5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-afbf63ee.entry.js → p-19dd99c6.entry.js} +2 -2
- package/dist/dso-toolkit/p-1a824699.entry.js +2 -0
- package/dist/dso-toolkit/{p-289c49f5.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-55f6a27c.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-0b390a43.entry.js → p-33629822.entry.js} +2 -2
- 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-3735286c.entry.js +2 -0
- package/dist/dso-toolkit/p-3735286c.entry.js.map +1 -0
- package/dist/dso-toolkit/p-404ea2b9.entry.js +2 -0
- package/dist/dso-toolkit/{p-a4fd114d.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-a092b873.entry.js → p-470c6242.entry.js} +2 -2
- 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-a67d289d.entry.js → p-4e6511c3.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3b2495b4.entry.js → p-502f51b9.entry.js} +2 -2
- package/dist/dso-toolkit/p-5180315a.entry.js +2 -0
- package/dist/dso-toolkit/p-5180315a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-74439b69.entry.js → p-54dd8d20.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d2910fa1.entry.js → p-54fff8c0.entry.js} +2 -2
- package/dist/dso-toolkit/p-54fff8c0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-fa249c92.entry.js → p-5db11fa4.entry.js} +2 -2
- package/dist/dso-toolkit/p-5f2d8a1f.entry.js +2 -0
- package/dist/dso-toolkit/{p-07022a3d.entry.js.map → p-5f2d8a1f.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-a252cb3d.entry.js → p-5fa80df5.entry.js} +2 -2
- package/dist/dso-toolkit/p-66689c5c.entry.js +2 -0
- package/dist/dso-toolkit/p-66689c5c.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-da23f9ed.entry.js → p-786f3a41.entry.js} +2 -2
- package/dist/dso-toolkit/p-786f3a41.entry.js.map +1 -0
- package/dist/dso-toolkit/p-7d7630d0.entry.js +2 -0
- package/dist/dso-toolkit/p-7d7630d0.entry.js.map +1 -0
- package/dist/dso-toolkit/p-88aebd15.entry.js +2 -0
- package/dist/dso-toolkit/{p-69c44279.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-59f3f399.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-bf0207ff.entry.js.map → p-9772e3b6.entry.js.map} +1 -1
- 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-d9ddeee2.entry.js.map → p-a705c684.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-5671370e.entry.js → p-aa4d13b4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ac583d76.js → p-ae8b8810.js} +2 -2
- package/dist/dso-toolkit/{p-f2f91b97.entry.js → p-afb2d842.entry.js} +2 -2
- package/dist/dso-toolkit/{p-44148440.entry.js → p-b5744b74.entry.js} +2 -2
- package/dist/dso-toolkit/p-b623c74b.js +3 -0
- package/dist/dso-toolkit/p-b623c74b.js.map +1 -0
- package/dist/dso-toolkit/p-b7ca8de2.entry.js +2 -0
- package/dist/dso-toolkit/{p-e7d7bae2.entry.js.map → p-b7ca8de2.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-7ed9a1a0.entry.js → p-cd1a65e7.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6d3b3bc9.entry.js → p-d3d7cd07.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d28182cd.entry.js → p-d42db4af.entry.js} +2 -2
- package/dist/dso-toolkit/p-d7358e77.entry.js +2 -0
- package/dist/dso-toolkit/{p-cc54f978.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-c8518aab.entry.js.map → p-e283ee51.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c5678d6e.entry.js → p-e4eed4a2.entry.js} +2 -2
- package/dist/dso-toolkit/{p-cc0e5e1f.entry.js → p-e563fe5b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-53b5cc29.entry.js → p-e96c2531.entry.js} +2 -2
- package/dist/dso-toolkit/p-eb79a374.entry.js +2 -0
- package/dist/dso-toolkit/{p-a6457fc6.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/dso-toolkit/{p-feedd113.entry.js → p-f9a0b819.entry.js} +2 -2
- package/dist/dso-toolkit/{p-301dbfb1.entry.js → p-ff8a8429.entry.js} +2 -2
- package/dist/esm/{annotation-body-a8fadf3a.js → annotation-body-75f77191.js} +2 -2
- package/dist/esm/{annotation-body-a8fadf3a.js.map → annotation-body-75f77191.js.map} +1 -1
- package/dist/esm/{annotation-symbol-slot-28380b95.js → annotation-symbol-slot-1947dce6.js} +2 -2
- package/dist/esm/{annotation-symbol-slot-28380b95.js.map → annotation-symbol-slot-1947dce6.js.map} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +6 -6
- 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 +1 -1
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/{dso-alert_5.entry.js → dso-alert_6.entry.js} +21 -7
- package/dist/esm/dso-alert_6.entry.js.map +1 -0
- package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +3 -3
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +6 -6
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
- package/dist/esm/dso-autosuggest.entry.js +11 -5
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +2 -2
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-date-picker-legacy.entry.js +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-header.entry.js +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js +2 -2
- package/dist/esm/dso-helpcenter-panel.entry.js.map +1 -1
- 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 +2 -2
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +2 -2
- package/dist/esm/dso-input-range.entry.js +1 -1
- package/dist/esm/{dso-tooltip.entry.js → dso-label_2.entry.js} +127 -5
- package/dist/esm/dso-label_2.entry.js.map +1 -0
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-list-button.entry.js.map +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 +2 -2
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-map-overlays.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js +2 -2
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +2 -2
- package/dist/esm/dso-pagination.entry.js +4 -4
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-progress-bar.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +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 +63 -0
- package/dist/esm/dso-renvooi_2.entry.js.map +1 -0
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/dso-toolkit.js +4 -4
- package/dist/esm/dso-toolkit.js.map +1 -1
- package/dist/esm/dso-tree-view.entry.js +2 -2
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/esm/{index-c8e19f05.js → index-1a8f2a10.js} +33 -7
- package/dist/esm/index-1a8f2a10.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/components/accordion-section.d.ts +5 -5
- package/dist/types/components/annotation/annotation-body.d.ts +0 -1
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/label/label.interfaces.d.ts +1 -0
- 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 +115 -20
- package/package.json +4 -4
- package/dist/cjs/dso-alert_5.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-badge.cjs.entry.js +0 -24
- package/dist/cjs/dso-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +0 -193
- package/dist/cjs/dso-label_3.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/index-ac055dd1.js.map +0 -1
- package/dist/dso-toolkit/p-07022a3d.entry.js +0 -2
- package/dist/dso-toolkit/p-289c49f5.entry.js +0 -2
- package/dist/dso-toolkit/p-53b7c61b.entry.js +0 -2
- package/dist/dso-toolkit/p-53b7c61b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-55f6a27c.entry.js +0 -2
- package/dist/dso-toolkit/p-59f3f399.entry.js +0 -2
- package/dist/dso-toolkit/p-69c44279.entry.js +0 -2
- package/dist/dso-toolkit/p-6ccd21fb.entry.js +0 -2
- package/dist/dso-toolkit/p-6ccd21fb.entry.js.map +0 -1
- package/dist/dso-toolkit/p-82752e49.entry.js +0 -2
- package/dist/dso-toolkit/p-82752e49.entry.js.map +0 -1
- package/dist/dso-toolkit/p-8fc08ddf.entry.js +0 -2
- package/dist/dso-toolkit/p-8fc08ddf.entry.js.map +0 -1
- package/dist/dso-toolkit/p-9275aad6.entry.js +0 -2
- package/dist/dso-toolkit/p-9275aad6.entry.js.map +0 -1
- package/dist/dso-toolkit/p-a4fd114d.entry.js +0 -2
- package/dist/dso-toolkit/p-a6457fc6.entry.js +0 -2
- package/dist/dso-toolkit/p-afce1df4.entry.js +0 -2
- package/dist/dso-toolkit/p-b194b9ae.entry.js +0 -2
- package/dist/dso-toolkit/p-b194b9ae.entry.js.map +0 -1
- package/dist/dso-toolkit/p-bf0207ff.entry.js +0 -2
- package/dist/dso-toolkit/p-c8518aab.entry.js +0 -2
- package/dist/dso-toolkit/p-cc54f978.entry.js +0 -2
- package/dist/dso-toolkit/p-cdce1bd5.entry.js +0 -2
- package/dist/dso-toolkit/p-cdce1bd5.entry.js.map +0 -1
- package/dist/dso-toolkit/p-d2910fa1.entry.js.map +0 -1
- package/dist/dso-toolkit/p-d638c2b0.js +0 -3
- package/dist/dso-toolkit/p-d638c2b0.js.map +0 -1
- package/dist/dso-toolkit/p-d9ddeee2.entry.js +0 -2
- package/dist/dso-toolkit/p-da23f9ed.entry.js.map +0 -1
- package/dist/dso-toolkit/p-e7d7bae2.entry.js +0 -2
- package/dist/dso-toolkit/p-f0637435.entry.js +0 -2
- package/dist/dso-toolkit/p-f0637435.entry.js.map +0 -1
- package/dist/dso-toolkit/p-fba55b6b.entry.js +0 -2
- package/dist/dso-toolkit/p-fba55b6b.entry.js.map +0 -1
- package/dist/esm/dso-alert_5.entry.js.map +0 -1
- package/dist/esm/dso-badge.entry.js +0 -20
- package/dist/esm/dso-badge.entry.js.map +0 -1
- package/dist/esm/dso-label_3.entry.js +0 -187
- package/dist/esm/dso-label_3.entry.js.map +0 -1
- package/dist/esm/dso-tooltip.entry.js.map +0 -1
- package/dist/esm/index-c8e19f05.js.map +0 -1
- /package/dist/dso-toolkit/{p-6c73ed77.js.map → p-00caab3b.js.map} +0 -0
- /package/dist/dso-toolkit/{p-95fb1798.entry.js.map → p-065ea3f8.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-67e0739d.entry.js.map → p-0c228908.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-03dd8a73.entry.js.map → p-0cd85e9b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-afbf63ee.entry.js.map → p-19dd99c6.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-afce1df4.entry.js.map → p-2e413e3d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-0b390a43.entry.js.map → p-33629822.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-a092b873.entry.js.map → p-470c6242.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-a67d289d.entry.js.map → p-4e6511c3.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-3b2495b4.entry.js.map → p-502f51b9.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-74439b69.entry.js.map → p-54dd8d20.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fa249c92.entry.js.map → p-5db11fa4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-a252cb3d.entry.js.map → p-5fa80df5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5671370e.entry.js.map → p-aa4d13b4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ac583d76.js.map → p-ae8b8810.js.map} +0 -0
- /package/dist/dso-toolkit/{p-f2f91b97.entry.js.map → p-afb2d842.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-44148440.entry.js.map → p-b5744b74.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-7ed9a1a0.entry.js.map → p-cd1a65e7.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-6d3b3bc9.entry.js.map → p-d3d7cd07.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d28182cd.entry.js.map → p-d42db4af.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-c5678d6e.entry.js.map → p-e4eed4a2.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-cc0e5e1f.entry.js.map → p-e563fe5b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-53b5cc29.entry.js.map → p-e96c2531.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-feedd113.entry.js.map → p-f9a0b819.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-301dbfb1.entry.js.map → p-ff8a8429.entry.js.map} +0 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
border-color: #39870c;
|
|
10
|
+
margin-block-end: -1px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media screen and (max-width: 767px) {
|
|
14
|
+
:host {
|
|
15
|
+
margin-block: 10px;
|
|
16
|
+
}
|
|
17
|
+
:host(:first-child) {
|
|
18
|
+
margin-block-start: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
:host([active]:not([active=false])) [role=tab], :host([active]:not([active=false])) [role=tab]:active, :host([active]:not([active=false])) [role=tab]:focus, :host([active]:not([active=false])) [role=tab]:hover, :host([active]:not([active=false])) [role=tab]:visited {
|
|
22
|
+
background-color: #fff;
|
|
23
|
+
border: 1px solid #39870c;
|
|
24
|
+
border-block-end-color: #fff;
|
|
25
|
+
color: #39870c;
|
|
26
|
+
cursor: default;
|
|
27
|
+
}
|
|
28
|
+
@media screen and (max-width: 767px) {
|
|
29
|
+
:host([active]:not([active=false])) [role=tab], :host([active]:not([active=false])) [role=tab]:active, :host([active]:not([active=false])) [role=tab]:focus, :host([active]:not([active=false])) [role=tab]:hover, :host([active]:not([active=false])) [role=tab]:visited {
|
|
30
|
+
border-block-end-color: #39870c;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host([disabled]:not([disabled=false])) [role=tab] {
|
|
35
|
+
color: #999;
|
|
36
|
+
}
|
|
37
|
+
:host([disabled]:not([disabled=false])) [role=tab]:hover, :host([disabled]:not([disabled=false])) [role=tab]:focus {
|
|
38
|
+
color: #999;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
cursor: default;
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
}
|
|
43
|
+
@media screen and (max-width: 767px) {
|
|
44
|
+
:host([disabled]:not([disabled=false])) [role=tab]:hover, :host([disabled]:not([disabled=false])) [role=tab]:focus {
|
|
45
|
+
border-block-end-color: #fff;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
a {
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
}
|
|
52
|
+
a:hover, a:focus-visible {
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
}
|
|
55
|
+
a:active {
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
}
|
|
58
|
+
a:visited {
|
|
59
|
+
color: #666;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
button {
|
|
63
|
+
font-family: inherit;
|
|
64
|
+
font-size: inherit;
|
|
65
|
+
background-color: transparent;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[role=tab] {
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
display: block;
|
|
72
|
+
min-block-size: 56px;
|
|
73
|
+
border: 1px solid transparent;
|
|
74
|
+
border-radius: 4px 4px 0 0;
|
|
75
|
+
color: #666;
|
|
76
|
+
line-height: 1.5;
|
|
77
|
+
padding-block: 15px;
|
|
78
|
+
padding-inline: 23px;
|
|
79
|
+
}
|
|
80
|
+
[role=tab]:hover {
|
|
81
|
+
border-color: #e5e5e5 #e5e5e5 #e5e5e5;
|
|
82
|
+
}
|
|
83
|
+
[role=tab]:hover, [role=tab]:focus {
|
|
84
|
+
text-decoration: none;
|
|
85
|
+
background-color: #e5e5e5;
|
|
86
|
+
}
|
|
87
|
+
[role=tab]:active, [role=tab]:focus, [role=tab]:hover {
|
|
88
|
+
background-color: #f2f2f2;
|
|
89
|
+
border: 1px solid transparent;
|
|
90
|
+
border-block-end-color: #39870c;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
}
|
|
93
|
+
@media screen and (max-width: 767px) {
|
|
94
|
+
[role=tab]:active, [role=tab]:focus, [role=tab]:hover {
|
|
95
|
+
border-block-end-color: #fff;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
@media screen and (max-width: 767px) {
|
|
99
|
+
[role=tab] {
|
|
100
|
+
border-color: #fff;
|
|
101
|
+
border-radius: 8px;
|
|
102
|
+
padding-block: 18px;
|
|
103
|
+
padding-inline: 20px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { isModifiedEvent } from "../../../utils/is-modified-event";
|
|
3
|
+
/**
|
|
4
|
+
* @slot - The label for this tab
|
|
5
|
+
*/
|
|
6
|
+
export class Tab {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.emitEvent = (e) => {
|
|
9
|
+
this.dsoTabSwitch.emit({
|
|
10
|
+
originalEvent: e,
|
|
11
|
+
isModifiedEvent: e instanceof MouseEvent ? isModifiedEvent(e) : false,
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
this.keyUpHandler = (e) => {
|
|
15
|
+
if (e.key === " " && !this.disabled && !this.active) {
|
|
16
|
+
this.emitEvent(e);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
this.clickHandler = (e) => {
|
|
20
|
+
if ((this.disabled && this.href) || this.active) {
|
|
21
|
+
e.preventDefault();
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
this.emitEvent(e);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
this.active = undefined;
|
|
28
|
+
this.disabled = undefined;
|
|
29
|
+
this.href = undefined;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
async _dsoFocus() {
|
|
35
|
+
var _a;
|
|
36
|
+
(_a = this.anchorOrButtonRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return this.href ? (h("a", Object.assign({ role: "tab", href: this.href, onKeyUp: this.keyUpHandler, onClick: this.clickHandler, "aria-selected": this.active ? "true" : "false" }, (!this.active ? { tabIndex: -1 } : {}), { ref: (element) => (this.anchorOrButtonRef = element) }), h("slot", null))) : (h("button", Object.assign({ role: "tab", type: "button", disabled: this.disabled, onClick: this.clickHandler, "aria-selected": this.active ? "true" : "false" }, (!this.active ? { tabIndex: -1 } : {}), { ref: (element) => (this.anchorOrButtonRef = element) }), h("slot", null)));
|
|
40
|
+
}
|
|
41
|
+
static get is() { return "dso-tab"; }
|
|
42
|
+
static get encapsulation() { return "shadow"; }
|
|
43
|
+
static get originalStyleUrls() {
|
|
44
|
+
return {
|
|
45
|
+
"$": ["tab.scss"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static get styleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["tab.css"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get properties() {
|
|
54
|
+
return {
|
|
55
|
+
"active": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "boolean",
|
|
60
|
+
"resolved": "boolean | undefined",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": false,
|
|
64
|
+
"optional": true,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": "Makes the tab active. The tab for which the tabpanel is visible is the active tab."
|
|
68
|
+
},
|
|
69
|
+
"attribute": "active",
|
|
70
|
+
"reflect": true
|
|
71
|
+
},
|
|
72
|
+
"disabled": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "boolean",
|
|
77
|
+
"resolved": "boolean | undefined",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": true,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Disables the tab. A disabled tab cannot be activated and it's tabpanel cannot be shown."
|
|
85
|
+
},
|
|
86
|
+
"attribute": "disabled",
|
|
87
|
+
"reflect": true
|
|
88
|
+
},
|
|
89
|
+
"href": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "string",
|
|
94
|
+
"resolved": "string | undefined",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": true,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "The optional href of the tab. Creates an anchor if present. Creates a button if absent."
|
|
102
|
+
},
|
|
103
|
+
"attribute": "href",
|
|
104
|
+
"reflect": false
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static get events() {
|
|
109
|
+
return [{
|
|
110
|
+
"method": "dsoTabSwitch",
|
|
111
|
+
"name": "dsoTabSwitch",
|
|
112
|
+
"bubbles": true,
|
|
113
|
+
"cancelable": true,
|
|
114
|
+
"composed": true,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": "Emitted when the user activates tab via click or arrow keys followed by space or enter."
|
|
118
|
+
},
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "TabsSwitchEvent",
|
|
121
|
+
"resolved": "TabsSwitchEvent",
|
|
122
|
+
"references": {
|
|
123
|
+
"TabsSwitchEvent": {
|
|
124
|
+
"location": "import",
|
|
125
|
+
"path": "../tabs.interfaces",
|
|
126
|
+
"id": "src/components/tabs/tabs.interfaces.ts::TabsSwitchEvent"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}];
|
|
131
|
+
}
|
|
132
|
+
static get methods() {
|
|
133
|
+
return {
|
|
134
|
+
"_dsoFocus": {
|
|
135
|
+
"complexType": {
|
|
136
|
+
"signature": "() => Promise<void>",
|
|
137
|
+
"parameters": [],
|
|
138
|
+
"references": {
|
|
139
|
+
"Promise": {
|
|
140
|
+
"location": "global",
|
|
141
|
+
"id": "global::Promise"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"return": "Promise<void>"
|
|
145
|
+
},
|
|
146
|
+
"docs": {
|
|
147
|
+
"text": "",
|
|
148
|
+
"tags": [{
|
|
149
|
+
"name": "internal",
|
|
150
|
+
"text": undefined
|
|
151
|
+
}]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
static get elementRef() { return "host"; }
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=tab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.js","sourceRoot":"","sources":["../../../../../src/components/tabs/components/tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAGnE;;GAEG;AAMH,MAAM,OAAO,GAAG;;QAsCN,cAAS,GAAG,CAAC,CAA6B,EAAE,EAAE;YACpD,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;gBACrB,aAAa,EAAE,CAAC;gBAChB,eAAe,EAAE,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK;aACtE,CAAC,CAAC;QACL,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,CAAgB,EAAE,EAAE;YAC1C,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACpD,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,CAAC;QACH,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,CAAa,EAAE,EAAE;YACvC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;gBAChD,CAAC,CAAC,cAAc,EAAE,CAAC;YACrB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,CAAC;QACH,CAAC,CAAC;;;;;IA7BF;;OAEG;IAEH,KAAK,CAAC,SAAS;;QACb,MAAA,IAAI,CAAC,iBAAiB,0CAAE,KAAK,EAAE,CAAC;IAClC,CAAC;IAyBD,MAAM;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACjB,uBACE,IAAI,EAAC,KAAK,EACV,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,IAAI,CAAC,YAAY,EAC1B,OAAO,EAAE,IAAI,CAAC,YAAY,mBACX,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,IACzC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAC1C,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC;YAEpD,eAAQ,CACN,CACL,CAAC,CAAC,CAAC,CACF,4BACE,IAAI,EAAC,KAAK,EACV,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,YAAY,mBACX,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,IACzC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAC1C,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC;YAEpD,eAAQ,CACD,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Prop, h, Method } from \"@stencil/core\";\r\nimport { isModifiedEvent } from \"../../../utils/is-modified-event\";\r\nimport { TabsSwitchEvent } from \"../tabs.interfaces\";\r\n\r\n/**\r\n * @slot - The label for this tab\r\n */\r\n@Component({\r\n tag: \"dso-tab\",\r\n styleUrl: \"tab.scss\",\r\n shadow: true,\r\n})\r\nexport class Tab {\r\n @Element()\r\n host!: HTMLDsoTabElement;\r\n\r\n /**\r\n * Makes the tab active. The tab for which the tabpanel is visible is the active tab.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Disables the tab. A disabled tab cannot be activated and it's tabpanel cannot be shown.\r\n */\r\n @Prop({ reflect: true })\r\n disabled?: boolean;\r\n\r\n /**\r\n * The optional href of the tab. Creates an anchor if present. Creates a button if absent.\r\n */\r\n @Prop()\r\n href?: string;\r\n\r\n /**\r\n * Emitted when the user activates tab via click or arrow keys followed by space or enter.\r\n */\r\n @Event()\r\n dsoTabSwitch!: EventEmitter<TabsSwitchEvent>;\r\n\r\n /**\r\n * @internal\r\n */\r\n @Method()\r\n async _dsoFocus() {\r\n this.anchorOrButtonRef?.focus();\r\n }\r\n\r\n private anchorOrButtonRef?: HTMLAnchorElement | HTMLButtonElement;\r\n\r\n private emitEvent = (e: MouseEvent | KeyboardEvent) => {\r\n this.dsoTabSwitch.emit({\r\n originalEvent: e,\r\n isModifiedEvent: e instanceof MouseEvent ? isModifiedEvent(e) : false,\r\n });\r\n };\r\n\r\n private keyUpHandler = (e: KeyboardEvent) => {\r\n if (e.key === \" \" && !this.disabled && !this.active) {\r\n this.emitEvent(e);\r\n }\r\n };\r\n\r\n private clickHandler = (e: MouseEvent) => {\r\n if ((this.disabled && this.href) || this.active) {\r\n e.preventDefault();\r\n } else {\r\n this.emitEvent(e);\r\n }\r\n };\r\n\r\n render() {\r\n return this.href ? (\r\n <a\r\n role=\"tab\"\r\n href={this.href}\r\n onKeyUp={this.keyUpHandler}\r\n onClick={this.clickHandler}\r\n aria-selected={this.active ? \"true\" : \"false\"}\r\n {...(!this.active ? { tabIndex: -1 } : {})}\r\n ref={(element) => (this.anchorOrButtonRef = element)}\r\n >\r\n <slot />\r\n </a>\r\n ) : (\r\n <button\r\n role=\"tab\"\r\n type=\"button\"\r\n disabled={this.disabled}\r\n onClick={this.clickHandler}\r\n aria-selected={this.active ? \"true\" : \"false\"}\r\n {...(!this.active ? { tabIndex: -1 } : {})}\r\n ref={(element) => (this.anchorOrButtonRef = element)}\r\n >\r\n <slot />\r\n </button>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tabs {
|
|
8
|
+
border-block-end: 1px solid #39870c;
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 2px;
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
margin-block-end: 24px;
|
|
13
|
+
padding-inline-start: 0;
|
|
14
|
+
}
|
|
15
|
+
@media screen and (max-width: 767px) {
|
|
16
|
+
.tabs {
|
|
17
|
+
border: 0;
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.interfaces.js","sourceRoot":"","sources":["../../../../src/components/tabs/tabs.interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface TabsSwitchEvent {\r\n originalEvent: MouseEvent | KeyboardEvent;\r\n isModifiedEvent: boolean;\r\n}\r\n"]}
|
|
@@ -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":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEzE;;;GAGG;AAMH,MAAM,OAAO,IAAI;IALjB;QAmDE,kFAAkF;QAC1E,iBAAY,GAAG,CAAC,CAAgB,EAAE,EAAE;YAC1C,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,YAAY,WAAW,CAAC,EAAE,CAAC;gBACvC,OAAO;YACT,CAAC;YAED,QAAQ,CAAC,CAAC,GAAG,EAAE,CAAC;gBACd,KAAK,YAAY,CAAC;gBAClB,KAAK,WAAW;oBACd,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;oBAClC,MAAM;gBACR,KAAK,WAAW,CAAC;gBACjB,KAAK,SAAS;oBACZ,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;oBACtC,MAAM;gBACR;oBACE,OAAO;YACX,CAAC;QACH,CAAC,CAAC;KAwBH;IAlFC,IAAY,WAAW;QACrB,6FAA6F;QAC7F,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAoB,kBAAkB,CAAC,CAAC,CAAC,MAAM,CACzF,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;YACZ,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;gBAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjB,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC,EACD,EAAE,CACH,CAAC;IACJ,CAAC;IAED,IAAY,QAAQ;QAClB,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC7B,CAAC;IAED,IAAY,OAAO;QACjB,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACvD,CAAC;IAEO,cAAc,CAAC,GAAkC;QACvD,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,SAAS,EAAE,CAAC;IACnB,CAAC;IAEO,sBAAsB,CAAC,WAAwB;;QACrD,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,WAAW,CAAC,CAAC;QACvE,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,mCAAI,IAAI,CAAC,OAAO,CAAC;QAEzD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEO,kBAAkB,CAAC,WAAwB;;QACjD,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,WAAW,CAAC,CAAC;QACvE,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,mCAAI,IAAI,CAAC,QAAQ,CAAC;QAE1D,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAsBD,iBAAiB;;QACf,MAAA,IAAI,CAAC,gBAAgB,oCAArB,IAAI,CAAC,gBAAgB,GAAK,IAAI,gBAAgB,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAC;QAE7E,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,gBAAgB,0CAAE,UAAU,EAAE,CAAC;IACtC,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,CAAC,YAAY;gBACzD,8DAAQ,CACJ;YACN,4DAAK,IAAI,EAAC,UAAU,EAAC,QAAQ,EAAC,GAAG;gBAC/B,6DAAM,IAAI,EAAC,OAAO,GAAG,CACjB,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;CACF","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,16 +306,6 @@ button::-moz-focus-inner {
|
|
|
302
306
|
text-align: start;
|
|
303
307
|
user-select: none;
|
|
304
308
|
vertical-align: middle;
|
|
305
|
-
background-color: #fff;
|
|
306
|
-
border-color: #39870c;
|
|
307
|
-
color: #39870c;
|
|
308
|
-
border-width: 1px;
|
|
309
|
-
border-style: solid;
|
|
310
|
-
border-radius: 4px;
|
|
311
|
-
line-height: 1.5;
|
|
312
|
-
min-inline-size: 56px;
|
|
313
|
-
padding-block: 11px;
|
|
314
|
-
padding-inline: 15px;
|
|
315
309
|
border: 0;
|
|
316
310
|
padding: 8px;
|
|
317
311
|
border-radius: 0;
|
|
@@ -330,6 +324,22 @@ button::-moz-focus-inner {
|
|
|
330
324
|
.toggle-button button:active {
|
|
331
325
|
outline: 0;
|
|
332
326
|
}
|
|
327
|
+
.sizing-buttons button,
|
|
328
|
+
.toggle-button button {
|
|
329
|
+
background-color: #fff;
|
|
330
|
+
border-color: #39870c;
|
|
331
|
+
color: #39870c;
|
|
332
|
+
}
|
|
333
|
+
.sizing-buttons button,
|
|
334
|
+
.toggle-button button {
|
|
335
|
+
border-width: 1px;
|
|
336
|
+
border-style: solid;
|
|
337
|
+
border-radius: 4px;
|
|
338
|
+
line-height: 1.5;
|
|
339
|
+
min-inline-size: 56px;
|
|
340
|
+
padding-block: 11px;
|
|
341
|
+
padding-inline: 15px;
|
|
342
|
+
}
|
|
333
343
|
.sizing-buttons button:hover,
|
|
334
344
|
.toggle-button button:hover {
|
|
335
345
|
background-color: #d7e7ce;
|
|
@@ -529,9 +539,20 @@ button::-moz-focus-inner {
|
|
|
529
539
|
text-align: start;
|
|
530
540
|
user-select: none;
|
|
531
541
|
vertical-align: middle;
|
|
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
|
+
}
|
|
550
|
+
.filterpanel-buttons .cancel-button {
|
|
532
551
|
background-color: #fff;
|
|
533
552
|
border-color: #39870c;
|
|
534
553
|
color: #39870c;
|
|
554
|
+
}
|
|
555
|
+
.filterpanel-buttons .cancel-button {
|
|
535
556
|
border-width: 1px;
|
|
536
557
|
border-style: solid;
|
|
537
558
|
border-radius: 4px;
|
|
@@ -539,13 +560,6 @@ button::-moz-focus-inner {
|
|
|
539
560
|
min-inline-size: 56px;
|
|
540
561
|
padding-block: 11px;
|
|
541
562
|
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
563
|
}
|
|
550
564
|
.filterpanel-buttons .cancel-button:hover {
|
|
551
565
|
background-color: #d7e7ce;
|
|
@@ -664,9 +678,20 @@ button::-moz-focus-inner {
|
|
|
664
678
|
text-align: start;
|
|
665
679
|
user-select: none;
|
|
666
680
|
vertical-align: middle;
|
|
681
|
+
line-height: 1rem;
|
|
682
|
+
}
|
|
683
|
+
.filterpanel-buttons .apply-button:focus, .filterpanel-buttons .apply-button:focus-visible {
|
|
684
|
+
outline-offset: 2px;
|
|
685
|
+
}
|
|
686
|
+
.filterpanel-buttons .apply-button:active {
|
|
687
|
+
outline: 0;
|
|
688
|
+
}
|
|
689
|
+
.filterpanel-buttons .apply-button {
|
|
667
690
|
background-color: #39870c;
|
|
668
691
|
border-color: #39870c;
|
|
669
692
|
color: #fff;
|
|
693
|
+
}
|
|
694
|
+
.filterpanel-buttons .apply-button {
|
|
670
695
|
border-width: 1px;
|
|
671
696
|
border-style: solid;
|
|
672
697
|
border-radius: 4px;
|
|
@@ -674,13 +699,6 @@ button::-moz-focus-inner {
|
|
|
674
699
|
min-inline-size: 56px;
|
|
675
700
|
padding-block: 11px;
|
|
676
701
|
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
702
|
}
|
|
685
703
|
.filterpanel-buttons .apply-button:hover {
|
|
686
704
|
background-color: #275937;
|
|
@@ -938,11 +956,6 @@ button::-moz-focus-inner {
|
|
|
938
956
|
.dso-nav.dso-nav-main > li > a,
|
|
939
957
|
.dso-nav.dso-nav-main > li > button {
|
|
940
958
|
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
959
|
}
|
|
947
960
|
.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
961
|
.dso-nav.dso-nav-main > li > button:hover,
|
|
@@ -950,16 +963,20 @@ button::-moz-focus-inner {
|
|
|
950
963
|
.dso-nav.dso-nav-main > li > button:active {
|
|
951
964
|
text-decoration: underline;
|
|
952
965
|
}
|
|
966
|
+
.dso-nav.dso-nav-main > li > a,
|
|
967
|
+
.dso-nav.dso-nav-main > li > button {
|
|
968
|
+
font-size: 1.25em;
|
|
969
|
+
line-height: 1;
|
|
970
|
+
margin-block-start: 8px;
|
|
971
|
+
padding-block: 8px 7px;
|
|
972
|
+
padding-inline: 16px;
|
|
973
|
+
}
|
|
953
974
|
.dso-nav.dso-nav-sub > li {
|
|
954
975
|
display: inline-block;
|
|
955
976
|
}
|
|
956
977
|
.dso-nav.dso-nav-sub > li > a,
|
|
957
978
|
.dso-nav.dso-nav-sub > li > button {
|
|
958
979
|
text-decoration: none;
|
|
959
|
-
font-size: 1rem;
|
|
960
|
-
margin-block-start: 4px;
|
|
961
|
-
padding-block: 4px 3px;
|
|
962
|
-
padding-inline: 8px;
|
|
963
980
|
}
|
|
964
981
|
.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
982
|
.dso-nav.dso-nav-sub > li > button:hover,
|
|
@@ -967,6 +984,13 @@ button::-moz-focus-inner {
|
|
|
967
984
|
.dso-nav.dso-nav-sub > li > button:active {
|
|
968
985
|
text-decoration: underline;
|
|
969
986
|
}
|
|
987
|
+
.dso-nav.dso-nav-sub > li > a,
|
|
988
|
+
.dso-nav.dso-nav-sub > li > button {
|
|
989
|
+
font-size: 1rem;
|
|
990
|
+
margin-block-start: 4px;
|
|
991
|
+
padding-block: 4px 3px;
|
|
992
|
+
padding-inline: 8px;
|
|
993
|
+
}
|
|
970
994
|
}
|
|
971
995
|
@media screen and (max-width: 807.99px) {
|
|
972
996
|
.dso-navbar {
|
|
@@ -993,11 +1017,6 @@ button::-moz-focus-inner {
|
|
|
993
1017
|
text-align: start;
|
|
994
1018
|
user-select: none;
|
|
995
1019
|
vertical-align: middle;
|
|
996
|
-
border: 0;
|
|
997
|
-
color: #39870c;
|
|
998
|
-
line-height: 1;
|
|
999
|
-
padding: 0;
|
|
1000
|
-
background-color: transparent;
|
|
1001
1020
|
font-weight: 300;
|
|
1002
1021
|
}
|
|
1003
1022
|
.dso-tertiary:focus, .dso-tertiary:focus-visible {
|
|
@@ -1006,6 +1025,13 @@ button::-moz-focus-inner {
|
|
|
1006
1025
|
.dso-tertiary:active {
|
|
1007
1026
|
outline: 0;
|
|
1008
1027
|
}
|
|
1028
|
+
.dso-tertiary {
|
|
1029
|
+
border: 0;
|
|
1030
|
+
color: #39870c;
|
|
1031
|
+
line-height: 1;
|
|
1032
|
+
padding: 0;
|
|
1033
|
+
background-color: transparent;
|
|
1034
|
+
}
|
|
1009
1035
|
.dso-tertiary[disabled] {
|
|
1010
1036
|
color: #afcf9d;
|
|
1011
1037
|
}
|
|
@@ -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"; }
|