@dso-toolkit/core 99.2.0 → 99.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/dso-accordion-section.js +7 -7
- package/dist/bundle/dso-action-list-item.js +1 -1
- package/dist/bundle/dso-advanced-select.js +15 -11
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +4 -4
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +4 -4
- package/dist/bundle/dso-annotation-kaart.js +2 -2
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +4 -4
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +10 -7
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +3 -3
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +3 -3
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +1 -1
- package/dist/bundle/dso-date-picker.js +1 -1
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu-group.js +2 -2
- package/dist/bundle/dso-dropdown-menu-item.js +3 -3
- package/dist/bundle/dso-dropdown-menu.js +6 -6
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-header.js +7 -7
- package/dist/bundle/dso-highlight-box.js +1 -1
- package/dist/bundle/dso-history-item.js +2 -2
- package/dist/bundle/dso-icon-button.js +1 -1
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +2 -2
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +4 -4
- package/dist/bundle/dso-legend-item.js +18 -11
- package/dist/bundle/dso-legend.js +6 -6
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +9 -9
- package/dist/bundle/dso-map-controls.js +7 -7
- package/dist/bundle/dso-map-layer-object.js +2 -2
- package/dist/bundle/dso-map-layer.js +2 -2
- package/dist/bundle/dso-map-message.js +3 -3
- package/dist/bundle/dso-map-overlays.js +9 -9
- package/dist/bundle/dso-mark-bar.js +3 -3
- package/dist/bundle/dso-modal.js +1 -1
- package/dist/bundle/dso-onboarding-tip.js +4 -4
- package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +2 -2
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +2 -2
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +4 -4
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.js +1 -1
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-skiplink.js +2 -2
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +6 -6
- package/dist/bundle/dso-tab.js +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.js +2 -2
- package/dist/bundle/dso-tooltip.js +1 -1
- package/dist/bundle/dso-tree-view.js +3 -3
- package/dist/bundle/dso-viewer-grid.js +3 -3
- package/dist/bundle/dsot-document-component-demo.js +17 -17
- package/dist/bundle/{p-DjHplS8O.js → p-A4t9O4cN.js} +4 -4
- package/dist/bundle/{p-ClkjYPNB.js → p-BEvvjBre.js} +2 -2
- package/dist/bundle/p-BHoewcI-.js +1209 -0
- package/dist/bundle/{p-CIKsNci_.js → p-BPeUsEu7.js} +1 -1
- package/dist/bundle/p-BSPLBZYE.js +122 -0
- package/dist/bundle/p-BdeLamBx.js +162 -0
- package/dist/bundle/p-BoPUWtZk.js +341 -0
- package/dist/bundle/{p-ClbMNMhN.js → p-C-LiStfD.js} +2 -2
- package/dist/bundle/{p-Du2uEAur.js → p-C9U8p69U.js} +1 -1
- package/dist/bundle/{p-hUKFzHir.js → p-CAqSxnd4.js} +3 -3
- package/dist/{esm/i18n-CUWMAyh7.js → bundle/p-CCOI5nUo.js} +9 -6
- package/dist/bundle/{p-DLeHmqb5.js → p-CC_FTvSe.js} +3 -3
- package/dist/bundle/{p-BnKQUOO3.js → p-CIYEcIdu.js} +2 -2
- package/dist/bundle/{p-BF0_OXTe.js → p-CK3_k8jD.js} +6 -13
- package/dist/bundle/{p-Bw8_UiAv.js → p-Cs38e0-P.js} +4 -4
- package/dist/bundle/{p-BHLdB8zD.js → p-CyPdFUPX.js} +1 -1
- package/dist/bundle/{p-CnCAM5gC.js → p-Cybcqk9K.js} +118 -123
- package/dist/bundle/{p-CXcA4DEL.js → p-CyyXeBpT.js} +5 -5
- package/dist/bundle/{p-ryJKPQPH.js → p-DChzHBbI.js} +4 -4
- package/dist/bundle/{p-y0R9QGf7.js → p-DHLpi_b6.js} +5 -5
- package/dist/bundle/{p-BXj3KQLr.js → p-DaYftqWs.js} +3 -3
- package/dist/bundle/{p-Cc1GnE4g.js → p-Dhml-KNY.js} +4 -4
- package/dist/bundle/{p-BuYJl3wN.js → p-DjX5FuBA.js} +2 -2
- package/dist/bundle/{p-WTVvB0zs.js → p-DtOWRu1L.js} +10 -6
- package/dist/bundle/{p-BVpypRBU.js → p-J6T9IaVD.js} +4 -7
- package/dist/bundle/{p-CNgFbSIC.js → p-Slg3tfdg.js} +1 -1
- package/dist/bundle/{p-DpwxsXR-.js → p-lAMOCPzk.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +10 -6
- package/dist/cjs/dso-alert_7.cjs.entry.js +12 -12
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +5 -5
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js +7 -4
- package/dist/cjs/dso-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-button-group.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-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +4 -4
- package/dist/cjs/dso-header.cjs.entry.js +5 -5
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon-button.cjs.entry.js +3 -7
- package/dist/cjs/dso-icon.cjs.entry.js +1 -1
- package/dist/cjs/dso-info_3.cjs.entry.js +8 -5
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_3.cjs.entry.js +6 -6
- package/dist/cjs/dso-legend-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js +12 -5
- package/dist/cjs/dso-legend.cjs.entry.js +3 -3
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-message.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +5 -4
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +3 -3
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{floating-ui.dom-ClybLJQM.js → floating-ui.dom-BKTTOpb1.js} +118 -123
- package/dist/cjs/{i18n-DK8kVhhe.js → i18n-DH0Su3jj.js} +9 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{position-tooltip.function-BjWi5ZKZ.js → position-tooltip.function-DCOaqlbY.js} +1 -1
- package/dist/cjs/{v4-Br3XC_0C.js → v4-_2BfiRUa.js} +6 -13
- package/dist/collection/components/accordion/components/accordion-section.css +1 -0
- package/dist/collection/components/advanced-select/advanced-select.css +28 -68
- package/dist/collection/components/advanced-select/advanced-select.js +26 -10
- package/dist/collection/components/autosuggest/autosuggest.js +5 -2
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-container/card-container.js +1 -1
- package/dist/collection/components/contact-information/contact-information.js +1 -1
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/document-card/document-card.js +1 -1
- package/dist/collection/components/document-component/document-component.css +2 -15
- package/dist/collection/components/document-component/document-component.js +4 -4
- package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.css +1 -0
- package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.css +2 -7
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/expandable/expandable.js +2 -2
- package/dist/collection/components/header/header.css +9 -4
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +1 -1
- package/dist/collection/components/history-item/history-item.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +23 -9
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info-button/info-button.js +1 -1
- package/dist/collection/components/input-range/input-range.js +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
- package/dist/collection/components/legend/legend-item/legend-item.css +14 -1
- package/dist/collection/components/legend/legend-item/legend-item.i18n.js +4 -0
- package/dist/collection/components/legend/legend-item/legend-item.js +7 -4
- package/dist/collection/components/legend/legend.css +1 -0
- package/dist/collection/components/legend/legend.js +1 -1
- package/dist/collection/components/list-button/list-button.css +1 -7
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.css +2 -15
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
- package/dist/collection/components/map-layer/map-layer.js +1 -1
- package/dist/collection/components/map-message/map-message.js +2 -2
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.css +39 -72
- package/dist/collection/components/modal/modal.js +2 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.css +2 -15
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/selectable/selectable.js +24 -2
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/survey-rating/survey-rating.css +1 -0
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.css +2 -17
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/components/tab.css +1 -0
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.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 +2 -7
- package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
- package/dist/components/badge.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-banner.js +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card.js +1 -1
- package/dist/components/dso-contact-information.js +1 -1
- package/dist/components/dso-cursor-tooltip.js +1 -1
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-document-card.js +1 -1
- package/dist/components/dso-dropdown-menu-group.js +1 -1
- package/dist/components/dso-dropdown-menu-item.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-history-item.js +1 -1
- package/dist/components/dso-input-range.js +1 -1
- package/dist/components/dso-legend-group.js +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-layer-object.js +1 -1
- package/dist/components/dso-map-layer.js +1 -1
- package/dist/components/dso-map-message.js +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-plekinfo-card.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-segmented-button.js +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +1 -1
- package/dist/components/dso-tab.js +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-tooltip.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/dsot-document-component-demo.js +1 -1
- package/dist/components/expandable.js +1 -1
- package/dist/components/floating-ui.dom.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/ozon-content-toggletip.js +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/v4.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-0e964c0b.entry.js → p-0083183c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-1d2e543a.entry.js → p-0925b25d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-14c079e3.entry.js → p-0ce9b9ec.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e452dd0a.entry.js → p-0f2ae02f.entry.js} +1 -1
- package/dist/dso-toolkit/p-0fc1acaa.entry.js +1 -0
- package/dist/dso-toolkit/{p-c97b503c.entry.js → p-1281cc01.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2ac35007.entry.js → p-1a76abf1.entry.js} +1 -1
- package/dist/dso-toolkit/{p-63b6ebe0.entry.js → p-1ce3c197.entry.js} +1 -1
- package/dist/dso-toolkit/{p-39146a21.entry.js → p-2149be85.entry.js} +1 -1
- package/dist/dso-toolkit/p-2e501bb0.entry.js +1 -0
- package/dist/dso-toolkit/p-3d705a78.entry.js +1 -0
- package/dist/dso-toolkit/{p-c56e654d.entry.js → p-441b88f3.entry.js} +1 -1
- package/dist/dso-toolkit/p-49d26a29.entry.js +1 -0
- package/dist/dso-toolkit/{p-3a37e36a.entry.js → p-538f968a.entry.js} +1 -1
- package/dist/dso-toolkit/p-5cdda2dd.entry.js +1 -0
- package/dist/dso-toolkit/{p-40d5fc69.entry.js → p-5cfc5bc7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d728026a.entry.js → p-6e027a66.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3959d0b8.entry.js → p-71f63631.entry.js} +1 -1
- package/dist/dso-toolkit/{p-28d7d4f2.entry.js → p-7a852b15.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3f6ddf06.entry.js → p-7e155437.entry.js} +1 -1
- package/dist/dso-toolkit/p-7e808e9e.entry.js +1 -0
- package/dist/dso-toolkit/{p-520dc726.entry.js → p-828dc3d2.entry.js} +1 -1
- package/dist/dso-toolkit/p-87a19b2e.entry.js +1 -0
- package/dist/dso-toolkit/{p-415db2f9.entry.js → p-8bdb1eb9.entry.js} +1 -1
- package/dist/dso-toolkit/p-8d4cce03.entry.js +1 -0
- package/dist/dso-toolkit/{p-fa490d62.entry.js → p-8dd7f11a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fcab1797.entry.js → p-9209aec4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fbf11382.entry.js → p-92e7fa78.entry.js} +1 -1
- package/dist/dso-toolkit/p-93aee600.entry.js +1 -0
- package/dist/dso-toolkit/{p-f8d2c3d6.entry.js → p-9430341b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d2a0c83c.entry.js → p-9454c434.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f2a9cf31.entry.js → p-989c2c78.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2412ccfa.entry.js → p-9b468b2a.entry.js} +1 -1
- package/dist/dso-toolkit/p-CCOI5nUo.js +1 -0
- package/dist/dso-toolkit/p-CK3_k8jD.js +1 -0
- package/dist/dso-toolkit/{p-DdaJdjEq.js → p-CcOMPHLg.js} +1 -1
- package/dist/dso-toolkit/p-DMUqzLuy.js +1 -0
- package/dist/dso-toolkit/{p-4de1556f.entry.js → p-ace3aaa4.entry.js} +1 -1
- package/dist/dso-toolkit/p-ae526b7b.entry.js +1 -0
- package/dist/dso-toolkit/{p-669d8774.entry.js → p-b5c4719a.entry.js} +1 -1
- package/dist/dso-toolkit/p-bb6cbd71.entry.js +1 -0
- package/dist/dso-toolkit/{p-4d708856.entry.js → p-bfbbc6d6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-09fee564.entry.js → p-c352e814.entry.js} +1 -1
- package/dist/dso-toolkit/p-cc9167cd.entry.js +1 -0
- package/dist/dso-toolkit/{p-17d3e3e4.entry.js → p-ccbbfdc7.entry.js} +1 -1
- package/dist/dso-toolkit/p-cfb08b19.entry.js +1 -0
- package/dist/dso-toolkit/{p-c97cf9f6.entry.js → p-d271dd46.entry.js} +1 -1
- package/dist/dso-toolkit/{p-9330b7e6.entry.js → p-db491dfd.entry.js} +1 -1
- package/dist/dso-toolkit/p-e3826220.entry.js +5 -0
- package/dist/dso-toolkit/{p-fbe4aa66.entry.js → p-e58e9b96.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ffc60fb8.entry.js → p-e5bb3203.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f8ed1a64.entry.js → p-e966fb4d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3b620a1f.entry.js → p-e98aad46.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3d1b5a25.entry.js → p-ee9693c6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-8c52725c.entry.js → p-f163e3db.entry.js} +1 -1
- package/dist/dso-toolkit/p-f205b38c.entry.js +1 -0
- package/dist/dso-toolkit/p-f485cda1.entry.js +1 -0
- package/dist/dso-toolkit/{p-1cf76eb8.entry.js → p-ffdd9174.entry.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +1 -1
- package/dist/esm/dso-advanced-select.entry.js +10 -6
- package/dist/esm/dso-alert_7.entry.js +12 -12
- package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
- package/dist/esm/dso-attachments-counter_2.entry.js +2 -2
- package/dist/esm/dso-autosuggest.entry.js +7 -4
- package/dist/esm/dso-banner.entry.js +2 -2
- package/dist/esm/dso-button-group.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-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-document-card.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js +4 -4
- package/dist/esm/dso-header.entry.js +5 -5
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-history-item.entry.js +1 -1
- package/dist/esm/dso-icon-button.entry.js +3 -7
- package/dist/esm/dso-icon.entry.js +1 -1
- package/dist/esm/dso-info_3.entry.js +8 -5
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-label_3.entry.js +6 -6
- package/dist/esm/dso-legend-group.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js +13 -6
- package/dist/esm/dso-legend.entry.js +3 -3
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +3 -3
- package/dist/esm/dso-map-controls.entry.js +3 -3
- package/dist/esm/dso-map-layer-object.entry.js +1 -1
- package/dist/esm/dso-map-layer.entry.js +1 -1
- package/dist/esm/dso-map-message.entry.js +2 -2
- package/dist/esm/dso-map-overlays.entry.js +3 -3
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +5 -4
- package/dist/esm/dso-onboarding-tip.entry.js +3 -3
- package/dist/esm/dso-plekinfo-card.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +2 -2
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-scrollable.entry.js +2 -2
- package/dist/esm/dso-segmented-button.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tooltip.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/esm/{floating-ui.dom-zRaH89Qj.js → floating-ui.dom-DMUqzLuy.js} +118 -123
- package/dist/{bundle/p-CUWMAyh7.js → esm/i18n-CCOI5nUo.js} +9 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{position-tooltip.function-DoXRpCfQ.js → position-tooltip.function-qfYgMCby.js} +1 -1
- package/dist/esm/{v4-BF0_OXTe.js → v4-CK3_k8jD.js} +6 -13
- package/dist/types/components/advanced-select/advanced-select.d.ts +2 -2
- package/dist/types/components/advanced-select/advanced-select.interfaces.d.ts +1 -1
- package/dist/types/components/icon-button/icon-button.d.ts +5 -1
- package/dist/types/components/selectable/selectable.d.ts +12 -1
- package/dist/types/components.d.ts +25 -9
- package/package.json +14 -14
- package/dist/bundle/p-Bd4DueUA.js +0 -122
- package/dist/bundle/p-BnDKmgzv.js +0 -341
- package/dist/bundle/p-CpX0AJp6.js +0 -161
- package/dist/bundle/p-DfXIH4Cr.js +0 -1209
- package/dist/dso-toolkit/p-0d4ea549.entry.js +0 -1
- package/dist/dso-toolkit/p-11d86ad0.entry.js +0 -1
- package/dist/dso-toolkit/p-1bfcb6a3.entry.js +0 -1
- package/dist/dso-toolkit/p-47ec99e5.entry.js +0 -1
- package/dist/dso-toolkit/p-5fee14bc.entry.js +0 -1
- package/dist/dso-toolkit/p-6bec3683.entry.js +0 -1
- package/dist/dso-toolkit/p-77193722.entry.js +0 -1
- package/dist/dso-toolkit/p-7f592a1e.entry.js +0 -1
- package/dist/dso-toolkit/p-929ef098.entry.js +0 -1
- package/dist/dso-toolkit/p-BF0_OXTe.js +0 -1
- package/dist/dso-toolkit/p-CUWMAyh7.js +0 -1
- package/dist/dso-toolkit/p-a44332f4.entry.js +0 -1
- package/dist/dso-toolkit/p-a87670b0.entry.js +0 -1
- package/dist/dso-toolkit/p-b2cf776e.entry.js +0 -1
- package/dist/dso-toolkit/p-b32fac41.entry.js +0 -5
- package/dist/dso-toolkit/p-cceb2ce1.entry.js +0 -1
- package/dist/dso-toolkit/p-ec9dac3d.entry.js +0 -1
- package/dist/dso-toolkit/p-f9275008.entry.js +0 -1
- package/dist/dso-toolkit/p-zRaH89Qj.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=["top","right","bottom","left"],n=Math.min,e=Math.max,o=Math.round,r=Math.floor,i=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,o,r){return e(t,n(o,r))}function l(t,n){return"function"==typeof t?t(n):t}function s(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function f(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}function m(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function y(t){return f(m(t))}function h(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const p=["left","right"],w=["right","left"],g=["top","bottom"],x=["bottom","top"];function v(t){const n=s(t);return a[n]+t.slice(n.length)}function b(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function A(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function S(t,n,e){let{reference:o,floating:r}=t;const i=m(n),a=y(n),c=d(a),l=s(n),f="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(l){case"top":g={x:h,y:o.y-r.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-r.width,y:p};break;default:g={x:o.x,y:o.y}}switch(u(n)){case"start":g[a]-=w*(e&&f?-1:1);break;case"end":g[a]+=w*(e&&f?-1:1)}return g}async function R(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=l(n,t),h=b(y),p=c[m?"floating"===d?"reference":"floating":d],w=A(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:s})),g="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},S=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:x,strategy:s}):g);return{top:(w.top-S.top+h.top)/v.y,bottom:(S.bottom-w.bottom+h.bottom)/v.y,left:(w.left-S.left+h.left)/v.x,right:(S.right-w.right+h.right)/v.x}}function F(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(n){return t.some((t=>n[t]>=0))}const k=new Set(["left","top"]);function C(){return"undefined"!=typeof window}function T(t){return P(t)?(t.nodeName||"").toLowerCase():"#document"}function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){var n;return null==(n=(P(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function P(t){return!!C()&&(t instanceof Node||t instanceof D(t).Node)}function z(t){return!!C()&&(t instanceof Element||t instanceof D(t).Element)}function H(t){return!!C()&&(t instanceof HTMLElement||t instanceof D(t).HTMLElement)}function L(t){return!(!C()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof D(t).ShadowRoot)}function B(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function E(t){return/^(table|td|th)$/.test(T(t))}function $(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const I=/transform|translate|scale|rotate|perspective|filter/,N=/paint|layout|strict|content/,j=t=>!!t&&"none"!==t;let q;function W(t){const n=z(t)?Y(t):t;return j(n.transform)||j(n.translate)||j(n.scale)||j(n.rotate)||j(n.perspective)||!V()&&(j(n.backdropFilter)||j(n.filter))||I.test(n.willChange||"")||N.test(n.contain||"")}function V(){return null==q&&(q="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),q}function X(t){return/^(html|body|#document)$/.test(T(t))}function Y(t){return D(t).getComputedStyle(t)}function _(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||L(t)&&t.host||M(t);return L(n)?n.host:n}function J(t){const n=G(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&B(n)?n:J(n)}function K(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=J(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=D(r);if(i){const t=Q(a);return n.concat(a,a.visualViewport||[],B(r)?r:[],t&&e?K(t):[])}return n.concat(r,K(r,[],e))}function Q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function U(t){const n=Y(t);let e=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=H(t),a=i?t.offsetWidth:e,c=i?t.offsetHeight:r,l=o(e)!==a||o(r)!==c;return l&&(e=a,r=c),{width:e,height:r,$:l}}function Z(t){return z(t)?t:t.contextElement}function tt(t){const n=Z(t);if(!H(n))return i(1);const e=n.getBoundingClientRect(),{width:r,height:a,$:c}=U(n);let l=(c?o(e.width):e.width)/r,s=(c?o(e.height):e.height)/a;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const nt=i(0);function et(t){const n=D(t);return V()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:nt}function ot(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),a=Z(t);let c=i(1);n&&(o?z(o)&&(c=tt(o)):c=tt(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==D(t))&&n}(a,e,o)?et(a):i(0);let s=(r.left+l.x)/c.x,u=(r.top+l.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(a){const t=D(a),n=o&&z(o)?D(o):o;let e=t,r=Q(e);for(;r&&o&&n!==e;){const t=tt(r),n=r.getBoundingClientRect(),o=Y(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=D(r),r=Q(e)}}return A({width:f,height:d,x:s,y:u})}function rt(t,n){const e=_(t).scrollLeft;return n?n.left+e:ot(M(t)).left+e}function it(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-rt(t,e),y:e.top+n.scrollTop}}function at(t,n,o){let r;if("viewport"===n)r=function(t,n){const e=D(t),o=M(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,c=0,l=0;if(r){i=r.width,a=r.height;const t=V();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,l=r.offsetTop)}const s=rt(o);if(s<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),r="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,a=Math.abs(o.clientWidth-n.clientWidth-r);a<=25&&(i-=a)}else s<=25&&(i+=s);return{width:i,height:a,x:c,y:l}}(t,o);else if("document"===n)r=function(t){const n=M(t),o=_(t),r=t.ownerDocument.body,i=e(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),a=e(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-o.scrollLeft+rt(t);const l=-o.scrollTop;return"rtl"===Y(r).direction&&(c+=e(n.clientWidth,r.clientWidth)-i),{width:i,height:a,x:c,y:l}}(M(t));else if(z(n))r=function(t,n){const e=ot(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,a=H(t)?tt(t):i(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:o*a.y}}(n,o);else{const e=et(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return A(r)}function ct(t,n){const e=G(t);return!(e===n||!z(e)||X(e))&&("fixed"===Y(e).position||ct(e,n))}function lt(t,n,e){const o=H(n),r=M(n),a="fixed"===e,c=ot(t,!0,a,n);let l={scrollLeft:0,scrollTop:0};const s=i(0);function u(){s.x=rt(r)}if(o||!o&&!a)if(("body"!==T(n)||B(r))&&(l=_(n)),o){const t=ot(n,!0,a,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&u();a&&!o&&r&&u();const f=!r||o||a?i(0):it(r,l);return{x:c.left+l.scrollLeft-s.x-f.x,y:c.top+l.scrollTop-s.y-f.y,width:c.width,height:c.height}}function st(t){return"static"===Y(t).position}function ut(t,n){if(!H(t)||"fixed"===Y(t).position)return null;if(n)return n(t);let e=t.offsetParent;return M(t)===e&&(e=e.ownerDocument.body),e}function ft(t,n){const e=D(t);if($(t))return e;if(!H(t)){let n=G(t);for(;n&&!X(n);){if(z(n)&&!st(n))return n;n=G(n)}return e}let o=ut(t,n);for(;o&&E(o)&&st(o);)o=ut(o,n);return o&&X(o)&&st(o)&&!W(o)?e:o||function(t){let n=G(t);for(;H(n)&&!X(n);){if(W(n))return n;if($(n))return null;n=G(n)}return null}(t)||e}const dt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const a="fixed"===r,c=M(o),l=!!n&&$(n.floating);if(o===c||l&&a)return e;let s={scrollLeft:0,scrollTop:0},u=i(1);const f=i(0),d=H(o);if((d||!d&&!a)&&(("body"!==T(o)||B(c))&&(s=_(o)),d)){const t=ot(o);u=tt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||a?i(0):it(c,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:M,getClippingRect:function(t){let{element:o,boundary:r,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===r?$(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=K(t,[],!1).filter((t=>z(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?G(t):t;for(;z(a)&&!X(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&("absolute"===r.position||"fixed"===r.position)||B(a)&&!e&&ct(t,a))?o=o.filter((t=>t!==a)):r=n,a=G(a)}return n.set(t,o),o}(o,this._c):[].concat(r),i],l=at(o,c[0],a);let s=l.top,u=l.right,f=l.bottom,d=l.left;for(let t=1;t<c.length;t++){const r=at(o,c[t],a);s=e(r.top,s),u=n(r.right,u),f=n(r.bottom,f),d=e(r.left,d)}return{width:u-d,height:f-s,x:d,y:s}},getOffsetParent:ft,getElementRects:async function(t){const n=this.getOffsetParent||ft,e=this.getDimensions,o=await e(t.floating);return{reference:lt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=U(t);return{width:n,height:e}},getScale:tt,isElement:z,isRTL:function(t){return"rtl"===Y(t).direction}};function mt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function yt(t,o,i,a){void 0===a&&(a={});const{ancestorScroll:c=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=a,d=Z(t),m=c||l?[...d?K(d):[],...o?K(o):[]]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i,{passive:!0}),l&&t.addEventListener("resize",i)}));const y=d&&u?function(t,o){let i,a=null;const c=M(t);function l(){var t;clearTimeout(i),null==(t=a)||t.disconnect(),a=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(u||o(),!h||!p)return;const w={rootMargin:-r(y)+"px "+-r(c.clientWidth-(m+h))+"px "+-r(c.clientHeight-(y+p))+"px "+-r(m)+"px",threshold:e(0,n(1,f))||1};let g=!0;function x(n){const e=n[0].intersectionRatio;if(e!==f){if(!g)return s();e?s(!1,e):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==e||mt(d,t.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(x,{...w,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,w)}a.observe(t)}(!0),l}(d,i):null;let h,p=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&o&&(w.unobserve(o),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(o)}))),i()})),d&&!f&&w.observe(d),o&&w.observe(o));let g=f?ot(t):null;return f&&function n(){const e=ot(t);g&&!mt(g,e)&&i(),g=e,h=requestAnimationFrame(n)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),l&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ht=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:a,middlewareData:c}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=s(e),c=u(e),f="y"===m(e),d=k.has(a)?-1:1,y=i&&f?-1:1,h=l(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),f?{x:w*y,y:p*d}:{x:p*d,y:w*y}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:a}}}}},pt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:a=!0,crossAxis:u=!1,limiter:d={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...y}=l(t,n),h={x:e,y:o},p=await i.detectOverflow(n,y),w=m(s(r)),g=f(w);let x=h[g],v=h[w];a&&(x=c(x+p["y"===g?"top":"left"],x,x-p["y"===g?"bottom":"right"])),u&&(v=c(v+p["y"===w?"top":"left"],v,v-p["y"===w?"bottom":"right"]));const b=d.fn({...n,[g]:x,[w]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[g]:a,[w]:u}}}}}},wt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:c,platform:f,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:k=!0,...C}=l(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=s(r),D=m(c),M=s(c)===c,P=await(null==f.isRTL?void 0:f.isRTL(b.floating)),z=R||(M||!k?[v(c)]:function(t){const n=v(t);return[h(t),n,h(n)]}(c)),H="none"!==O;!R&&H&&z.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?w:p:n?p:w;case"left":case"right":return n?g:x;default:return[]}}(s(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(h)))),i}(c,k,O,P));const L=[c,...z],B=await f.detectOverflow(n,C),E=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&E.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=y(t),i=d(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=v(a)),[a,v(a)]}(r,a,P);E.push(B[t[0]],B[t[1]])}if($=[...$,{placement:r,overflows:E}],!E.every((t=>t<=0))){var I,N;const t=((null==(I=i.flip)?void 0:I.index)||0)+1,n=L[t];if(n&&("alignment"!==S||D===m(n)||$.every((t=>m(t.placement)!==D||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:n}};let e=null==(N=$.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:N.placement;if(!e)switch(F){case"bestFit":{var j;const t=null==(j=$.filter((t=>{if(H){const n=m(t.placement);return n===D||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=c}if(r!==e)return{reset:{placement:e}}}return{}}}},gt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(o){var r,i;const{placement:a,rects:c,platform:f,elements:d}=o,{apply:y=()=>{},...h}=l(t,o),p=await f.detectOverflow(o,h),w=s(a),g=u(a),x="y"===m(a),{width:v,height:b}=c.floating;let A,S;"top"===w||"bottom"===w?(A=w,S=g===(await(null==f.isRTL?void 0:f.isRTL(d.floating))?"start":"end")?"left":"right"):(S=w,A="end"===g?"top":"bottom");const R=b-p.top-p.bottom,F=v-p.left-p.right;let O=n(b-p[A],R),k=n(v-p[S],F);if(null!=(r=o.middlewareData.shift)&&r.enabled.x&&(k=F),null!=(i=o.middlewareData.shift)&&i.enabled.y&&(O=R),!o.middlewareData.shift&&!g){const t=e(p.left,0),n=e(p.right,0),o=e(p.top,0),r=e(p.bottom,0);x?k=v-2*(0!==t||0!==n?t+n:e(p.left,p.right)):O=b-2*(0!==o||0!==r?o+r:e(p.top,p.bottom))}await y({...o,availableWidth:k,availableHeight:O});const C=await f.getDimensions(d.floating);return v!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}},xt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e,platform:o}=n,{strategy:r="referenceHidden",...i}=l(t,n);switch(r){case"referenceHidden":{const t=F(await o.detectOverflow(n,{...i,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=F(await o.detectOverflow(n,{...i,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},vt=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:i,rects:a,platform:s,elements:f,middlewareData:m}=e,{element:h,padding:p=0}=l(t,e)||{};if(null==h)return{};const w=b(p),g={x:o,y:r},x=y(i),v=d(x),A=await s.getDimensions(h),S="y"===x,R=S?"top":"left",F=S?"bottom":"right",O=S?"clientHeight":"clientWidth",k=a.reference[v]+a.reference[x]-g[x]-a.floating[v],C=g[x]-a.reference[x],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(h));let D=T?T[O]:0;D&&await(null==s.isElement?void 0:s.isElement(T))||(D=f.floating[O]||a.floating[v]);const M=k/2-C/2,P=D/2-A[v]/2-1,z=n(w[R],P),H=n(w[F],P),L=z,B=D-A[v]-H,E=D/2-A[v]/2+M,$=c(L,E,B),I=!m.arrow&&null!=u(i)&&E!==$&&a.reference[v]/2-(E<L?z:H)-A[v]/2<0,N=I?E<L?E-L:E-B:0;return{[x]:g[x]+N,data:{[x]:$,centerOffset:E-$-N,...I&&{alignmentOffset:N}},reset:I}}}),bt=(t,n,e)=>{const o=new Map,r={platform:dt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,c=a.detectOverflow?a:{...a,detectOverflow:R},l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=S(s,o,l),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:w}=h,{x:g,y:x,data:v,reset:b}=await w({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:c,elements:{reference:t,floating:n}});u=null!=g?g:u,f=null!=x?x:f,y[p]={...y[p],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:f}=S(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{yt as a,vt as b,bt as c,gt as d,wt as f,xt as h,ht as o,pt as s}
|