@siemens/ix 0.0.0-pr-1974-20250624072317 → 0.0.0-pr-1974-20250627114851
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/base-button-B-wht3TB.js +74 -0
- package/dist/cjs/base-button-B-wht3TB.js.map +1 -0
- package/dist/cjs/base-icon-button-DNisNrCZ.js +21 -0
- package/dist/cjs/base-icon-button-DNisNrCZ.js.map +1 -0
- package/dist/cjs/helper-text-util-B_J9aPv0.js +45 -0
- package/dist/cjs/helper-text-util-B_J9aPv0.js.map +1 -0
- package/dist/cjs/index-CbtIH46j.js +2734 -0
- package/dist/cjs/index-CbtIH46j.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -17
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/input.util-BDrqIfiB.js +215 -0
- package/dist/cjs/input.util-BDrqIfiB.js.map +1 -0
- package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +4 -4
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
- package/dist/cjs/ix-application.cjs.entry.js +4 -4
- package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +3 -3
- package/dist/cjs/ix-blind.cjs.entry.js +6 -6
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ix-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-card-accordion.ix-card-title.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +5 -5
- package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +5 -5
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ix-chip.cjs.entry.js +5 -5
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
- package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +4 -4
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js +2 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-css-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-drawer.cjs.entry.js +6 -6
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
- package/dist/cjs/ix-field-label_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
- package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-input.cjs.entry.js +7 -7
- package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
- package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-settings-Dbt7Q2tj.js +123 -0
- package/dist/cjs/ix-menu-settings-Dbt7Q2tj.js.map +1 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu.cjs.entry.js +13 -13
- package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js +5 -5
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +9 -9
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +7 -7
- package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +5 -5
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
- package/dist/cjs/ix-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-progress-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-radio.cjs.entry.js +6 -6
- package/dist/cjs/ix-select.cjs.entry.js +11 -11
- package/dist/cjs/ix-slider.cjs.entry.js +8 -8
- package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-time-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-tree.cjs.entry.js +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/listener-BT212YoD.js +78 -0
- package/dist/cjs/listener-BT212YoD.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-CR_0969h.js.map +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/validation-rAd3wIQp.js +123 -0
- package/dist/cjs/validation-rAd3wIQp.js.map +1 -0
- package/dist/collection/collection-manifest.json +28 -28
- package/dist/collection/components/action-card/action-card.js +4 -4
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/action-card/action-card.types.js +2 -0
- package/dist/collection/components/action-card/action-card.types.js.map +1 -0
- package/dist/collection/components/application/application.js +3 -3
- package/dist/collection/components/application-header/application-header.js +3 -3
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
- package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
- package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
- package/dist/collection/components/blind/blind.js +8 -8
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/blind/blind.types.js +2 -0
- package/dist/collection/components/blind/blind.types.js.map +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/card/card.js +5 -5
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card/card.types.js +2 -0
- package/dist/collection/components/card/card.types.js.map +1 -0
- package/dist/collection/components/card-accordion/card-accordion.js +6 -6
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
- package/dist/collection/components/card-accordion/card-accordion.types.js +2 -0
- package/dist/collection/components/card-accordion/card-accordion.types.js.map +1 -0
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +4 -4
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/col/col.js +13 -13
- package/dist/collection/components/col/col.js.map +1 -1
- package/dist/collection/components/col/col.types.js +2 -0
- package/dist/collection/components/col/col.types.js.map +1 -0
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +4 -4
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/content-header/content-header.types.js +2 -0
- package/dist/collection/components/content-header/content-header.types.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +4 -4
- package/dist/collection/components/css-grid/css-grid.js.map +1 -1
- package/dist/collection/components/css-grid/css-grid.types.js +2 -0
- package/dist/collection/components/css-grid/css-grid.types.js.map +1 -0
- package/dist/collection/components/custom-field/custom-field.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +13 -13
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.types.js +2 -0
- package/dist/collection/components/date-dropdown/date-dropdown.types.js.map +1 -0
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +6 -6
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-input/date-input.types.js +2 -0
- package/dist/collection/components/date-input/date-input.types.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.events.js +2 -0
- package/dist/collection/components/date-picker/date-picker.events.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.js +17 -17
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js +5 -5
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.types.js +2 -0
- package/dist/collection/components/date-time-card/date-time-card.types.js.map +1 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +7 -7
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.types.js +2 -0
- package/dist/collection/components/datetime-picker/datetime-picker.types.js.map +1 -0
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -5
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +5 -5
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.types.js +2 -0
- package/dist/collection/components/dropdown-button/dropdown-button.types.js.map +1 -0
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +4 -4
- package/dist/collection/components/empty-state/empty-state.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.types.js +2 -0
- package/dist/collection/components/empty-state/empty-state.types.js.map +1 -0
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +4 -4
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +8 -8
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +4 -4
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.types.js +2 -0
- package/dist/collection/components/icon-button/icon-button.types.js.map +1 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input/number-input.js +6 -6
- package/dist/collection/components/input/textarea.js +5 -5
- package/dist/collection/components/input/textarea.js.map +1 -1
- package/dist/collection/components/input/textarea.types.js +2 -0
- package/dist/collection/components/input/textarea.types.js.map +1 -0
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +4 -4
- package/dist/collection/components/key-value/key-value.js.map +1 -1
- package/dist/collection/components/key-value/key-value.types.js +2 -0
- package/dist/collection/components/key-value/key-value.types.js.map +1 -0
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +12 -12
- package/dist/collection/components/menu-about/menu-about.js +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-settings/menu-settings.js +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +6 -6
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal/modal.types.js +2 -0
- package/dist/collection/components/modal/modal.types.js.map +1 -0
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.js +24 -24
- package/dist/collection/components/pane/pane.js.map +1 -1
- package/dist/collection/components/pane/pane.types.js +2 -0
- package/dist/collection/components/pane/pane.types.js.map +1 -0
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/progress-indicator/circular.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +6 -6
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.types.js +2 -0
- package/dist/collection/components/progress-indicator/progress-indicator.types.js.map +1 -0
- package/dist/collection/components/push-card/push-card.js +4 -4
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/push-card/push-card.types.js +2 -0
- package/dist/collection/components/push-card/push-card.types.js.map +1 -0
- package/dist/collection/components/radio/radio.js +4 -4
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.js +8 -8
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.js +9 -9
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/slider/slider.types.js +2 -0
- package/dist/collection/components/slider/slider.types.js.map +1 -0
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +4 -4
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button/split-button.types.js +2 -0
- package/dist/collection/components/split-button/split-button.types.js.map +1 -0
- package/dist/collection/components/tab-item/tab-item.js +6 -6
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.types.js +2 -0
- package/dist/collection/components/tab-item/tab-item.types.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +6 -6
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-input/time-input.types.js +2 -0
- package/dist/collection/components/time-input/time-input.types.js.map +1 -0
- package/dist/collection/components/time-picker/time-picker.js +7 -7
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.types.js +2 -0
- package/dist/collection/components/time-picker/time-picker.types.js.map +1 -0
- package/dist/collection/components/toast/toast-container.js +5 -5
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast-container.types.js +2 -0
- package/dist/collection/components/toast/toast-container.types.js.map +1 -0
- package/dist/collection/components/toast/toast-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +10 -10
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/typography/typography.types.js +2 -0
- package/dist/collection/components/typography/typography.types.js.map +1 -0
- package/dist/collection/components/utils/modal/modal.js.map +1 -1
- package/dist/collection/index.js +1 -19
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/public-api.js +22 -0
- package/dist/collection/public-api.js.map +1 -0
- package/dist/esm/base-button-CKT5FMT1.js +71 -0
- package/dist/esm/base-button-CKT5FMT1.js.map +1 -0
- package/dist/esm/base-icon-button-7cQMdhTz.js +19 -0
- package/dist/esm/base-icon-button-7cQMdhTz.js.map +1 -0
- package/dist/esm/helper-text-util-CBCAKFyG.js +42 -0
- package/dist/esm/helper-text-util-CBCAKFyG.js.map +1 -0
- package/dist/esm/index-DJsXFBNm.js +2702 -0
- package/dist/esm/index-DJsXFBNm.js.map +1 -0
- package/dist/esm/index.js +2 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/input.util-DGHGYsFM.js +203 -0
- package/dist/esm/input.util-DGHGYsFM.js.map +1 -0
- package/dist/esm/ix-action-card.entry.js +2 -2
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +4 -4
- package/dist/esm/ix-application-sidebar.entry.js +2 -2
- package/dist/esm/ix-application-switch-modal.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +4 -4
- package/dist/esm/ix-avatar_2.entry.js +3 -3
- package/dist/esm/ix-basic-navigation.entry.js +3 -3
- package/dist/esm/ix-blind.entry.js +6 -6
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +3 -3
- package/dist/esm/ix-button.entry.js +4 -4
- package/dist/esm/ix-card-accordion.ix-card-title.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +5 -5
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +5 -5
- package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +4 -4
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +5 -5
- package/dist/esm/ix-checkbox-group.entry.js +4 -4
- package/dist/esm/ix-checkbox.entry.js +5 -5
- package/dist/esm/ix-chip.entry.js +5 -5
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +12 -12
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +2 -2
- package/dist/esm/ix-content-header.entry.js.map +1 -1
- package/dist/esm/ix-content.entry.js +4 -4
- package/dist/esm/ix-css-grid-item.entry.js +2 -2
- package/dist/esm/ix-css-grid.entry.js +2 -2
- package/dist/esm/ix-css-grid.entry.js.map +1 -1
- package/dist/esm/ix-custom-field.entry.js +3 -3
- package/dist/esm/ix-date-dropdown.entry.js +5 -5
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +6 -6
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-drawer.entry.js +6 -6
- package/dist/esm/ix-dropdown-button.entry.js +3 -3
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-item.entry.js +4 -4
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown.entry.js +3 -3
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js +5 -5
- package/dist/esm/ix-event-list.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js +5 -5
- package/dist/esm/ix-field-label_2.entry.js +6 -6
- package/dist/esm/ix-filter-chip_2.entry.js +3 -3
- package/dist/esm/ix-flip-tile-content.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +5 -5
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +4 -4
- package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +5 -5
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +4 -4
- package/dist/esm/ix-input-group.entry.js +2 -2
- package/dist/esm/ix-input.entry.js +7 -7
- package/dist/esm/ix-key-value-list.entry.js +2 -2
- package/dist/esm/ix-key-value.entry.js +2 -2
- package/dist/esm/ix-key-value.entry.js.map +1 -1
- package/dist/esm/ix-kpi.entry.js +4 -4
- package/dist/esm/ix-layout-auto.entry.js +2 -2
- package/dist/esm/ix-link-button.entry.js +4 -4
- package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
- package/dist/esm/ix-map-navigation.entry.js +3 -3
- package/dist/esm/ix-menu-about-item.entry.js +2 -2
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js +3 -3
- package/dist/esm/ix-menu-category.entry.js +6 -6
- package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
- package/dist/esm/ix-menu-item.entry.js +4 -4
- package/dist/esm/ix-menu-settings-B56_taBh.js +118 -0
- package/dist/esm/ix-menu-settings-B56_taBh.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +2 -2
- package/dist/esm/ix-menu-settings.entry.js +2 -2
- package/dist/esm/ix-menu.entry.js +13 -13
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js +3 -3
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +5 -5
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +9 -9
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pane-layout.entry.js +2 -2
- package/dist/esm/ix-pane-layout.entry.js.map +1 -1
- package/dist/esm/ix-pane.entry.js +7 -7
- package/dist/esm/ix-pane.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +5 -5
- package/dist/esm/ix-progress-indicator.entry.js +4 -4
- package/dist/esm/ix-progress-indicator.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-radio-group.entry.js +4 -4
- package/dist/esm/ix-radio.entry.js +6 -6
- package/dist/esm/ix-select.entry.js +11 -11
- package/dist/esm/ix-slider.entry.js +8 -8
- package/dist/esm/ix-slider.entry.js.map +1 -1
- package/dist/esm/ix-split-button.entry.js +2 -2
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +6 -6
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +5 -5
- package/dist/esm/ix-textarea.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +5 -5
- package/dist/esm/ix-time-input.entry.js +6 -6
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +6 -6
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +3 -3
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js +4 -4
- package/dist/esm/ix-toggle.entry.js +5 -5
- package/dist/esm/ix-tooltip.entry.js +2 -2
- package/dist/esm/ix-tree-item.entry.js +5 -5
- package/dist/esm/ix-tree.entry.js +2 -2
- package/dist/esm/ix-typography.entry.js +2 -2
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +1 -1
- package/dist/esm/ix-workflow-step.entry.js +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/listener-B0yYRvMl.js +76 -0
- package/dist/esm/listener-B0yYRvMl.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/modal-BldRA6Um.js.map +1 -1
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/esm/validation-gQpVWmEm.js +118 -0
- package/dist/esm/validation-gQpVWmEm.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-blind.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card-accordion.ix-card-title.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-content-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-css-grid.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-empty-state.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-key-value.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-progress-indicator.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p--JQiLjHw.js +2 -0
- package/dist/siemens-ix/p--JQiLjHw.js.map +1 -0
- package/dist/siemens-ix/p-003ae2cf.entry.js +2 -0
- package/dist/siemens-ix/p-00eff8b5.entry.js +2 -0
- package/dist/siemens-ix/p-0195766f.entry.js +2 -0
- package/dist/siemens-ix/p-025c5b1b.entry.js +2 -0
- package/dist/siemens-ix/p-03b8e425.entry.js +2 -0
- package/dist/siemens-ix/p-04527b1e.entry.js +2 -0
- package/dist/siemens-ix/p-07b2da86.entry.js +2 -0
- package/dist/siemens-ix/p-0935e05e.entry.js +2 -0
- package/dist/siemens-ix/p-0935e05e.entry.js.map +1 -0
- package/dist/siemens-ix/p-098aa857.entry.js +2 -0
- package/dist/siemens-ix/p-0b2e7f25.entry.js +2 -0
- package/dist/siemens-ix/p-0b2e7f25.entry.js.map +1 -0
- package/dist/siemens-ix/p-130ffc16.entry.js +2 -0
- package/dist/siemens-ix/p-13b5f3c3.entry.js +2 -0
- package/dist/siemens-ix/p-14d2042d.entry.js +2 -0
- package/dist/siemens-ix/p-15e0db51.entry.js +2 -0
- package/dist/siemens-ix/p-15e0db51.entry.js.map +1 -0
- package/dist/siemens-ix/p-173dfb9e.entry.js +2 -0
- package/dist/siemens-ix/p-173dfb9e.entry.js.map +1 -0
- package/dist/siemens-ix/p-19501b80.entry.js +2 -0
- package/dist/siemens-ix/p-1df6d18f.entry.js +2 -0
- package/dist/siemens-ix/p-1fdfe35a.entry.js +2 -0
- package/dist/siemens-ix/p-2642d96b.entry.js +2 -0
- package/dist/siemens-ix/p-28aece6e.entry.js +2 -0
- package/dist/siemens-ix/p-29d44cef.entry.js +2 -0
- package/dist/siemens-ix/p-2db9bcfa.entry.js +2 -0
- package/dist/siemens-ix/p-2db9bcfa.entry.js.map +1 -0
- package/dist/siemens-ix/p-2f2dfb6e.entry.js +2 -0
- package/dist/siemens-ix/p-2f9b9e7a.entry.js +2 -0
- package/dist/siemens-ix/p-326c0944.entry.js +2 -0
- package/dist/siemens-ix/p-326c0944.entry.js.map +1 -0
- package/dist/siemens-ix/p-35054c78.entry.js +2 -0
- package/dist/siemens-ix/p-35054c78.entry.js.map +1 -0
- package/dist/siemens-ix/p-36b894a2.entry.js +2 -0
- package/dist/siemens-ix/p-36b894a2.entry.js.map +1 -0
- package/dist/siemens-ix/p-3b45287a.entry.js +2 -0
- package/dist/siemens-ix/p-3b45287a.entry.js.map +1 -0
- package/dist/siemens-ix/p-440a0ee0.entry.js +2 -0
- package/dist/siemens-ix/p-44be2535.entry.js +2 -0
- package/dist/siemens-ix/p-44be2535.entry.js.map +1 -0
- package/dist/siemens-ix/p-456ca686.entry.js +2 -0
- package/dist/siemens-ix/p-456ca686.entry.js.map +1 -0
- package/dist/siemens-ix/p-4657ec52.entry.js +2 -0
- package/dist/siemens-ix/p-4657ec52.entry.js.map +1 -0
- package/dist/siemens-ix/p-472c1d6b.entry.js +2 -0
- package/dist/siemens-ix/p-47f395be.entry.js +2 -0
- package/dist/siemens-ix/p-483bc052.entry.js +2 -0
- package/dist/siemens-ix/p-4959b8e6.entry.js +2 -0
- package/dist/siemens-ix/p-4e2b30a4.entry.js +2 -0
- package/dist/siemens-ix/p-4e2b30a4.entry.js.map +1 -0
- package/dist/siemens-ix/p-4ef7a072.entry.js +2 -0
- package/dist/siemens-ix/p-4ef7a072.entry.js.map +1 -0
- package/dist/siemens-ix/p-4fe2d0f7.entry.js +2 -0
- package/dist/siemens-ix/p-518b5533.entry.js +2 -0
- package/dist/siemens-ix/p-518b5533.entry.js.map +1 -0
- package/dist/siemens-ix/p-5b22342c.entry.js +2 -0
- package/dist/siemens-ix/p-605a9fe8.entry.js +2 -0
- package/dist/siemens-ix/p-6337e880.entry.js +2 -0
- package/dist/siemens-ix/p-6549edf0.entry.js +2 -0
- package/dist/siemens-ix/p-66d20585.entry.js +2 -0
- package/dist/siemens-ix/p-6adde42d.entry.js +2 -0
- package/dist/siemens-ix/p-6cc448b4.entry.js +2 -0
- package/dist/siemens-ix/p-7011678e.entry.js +2 -0
- package/dist/siemens-ix/p-7111f065.entry.js +2 -0
- package/dist/siemens-ix/p-71c14a29.entry.js +2 -0
- package/dist/siemens-ix/p-71c14a29.entry.js.map +1 -0
- package/dist/siemens-ix/p-76f59fa5.entry.js +2 -0
- package/dist/siemens-ix/p-777675ce.entry.js +2 -0
- package/dist/siemens-ix/p-7a336485.entry.js +2 -0
- package/dist/siemens-ix/p-7a336485.entry.js.map +1 -0
- package/dist/siemens-ix/p-8d4558b9.entry.js +2 -0
- package/dist/siemens-ix/p-8fcada5a.entry.js +2 -0
- package/dist/siemens-ix/p-91ba2527.entry.js +2 -0
- package/dist/siemens-ix/p-97693d72.entry.js +2 -0
- package/dist/siemens-ix/p-97a53af6.entry.js +2 -0
- package/dist/siemens-ix/p-981dae13.entry.js +2 -0
- package/dist/siemens-ix/p-981dae13.entry.js.map +1 -0
- package/dist/siemens-ix/p-988f37da.entry.js +2 -0
- package/dist/siemens-ix/p-9f74e709.entry.js +2 -0
- package/dist/siemens-ix/p-9f74e709.entry.js.map +1 -0
- package/dist/siemens-ix/p-9f7d82d2.entry.js +2 -0
- package/dist/siemens-ix/p-BsJawkTz.js +2 -0
- package/dist/siemens-ix/p-BsJawkTz.js.map +1 -0
- package/dist/siemens-ix/p-BxQZld1q.js.map +1 -1
- package/dist/siemens-ix/p-CFsAnuUU.js +2 -0
- package/dist/siemens-ix/p-CFsAnuUU.js.map +1 -0
- package/dist/siemens-ix/p-CpY7qbN7.js +2 -0
- package/dist/siemens-ix/p-CpY7qbN7.js.map +1 -0
- package/dist/siemens-ix/p-Cpl-a_ti.js +2 -0
- package/dist/siemens-ix/p-Cpl-a_ti.js.map +1 -0
- package/dist/siemens-ix/p-CthRnoDv.js +2 -0
- package/dist/siemens-ix/p-CthRnoDv.js.map +1 -0
- package/dist/siemens-ix/p-DJsXFBNm.js +3 -0
- package/dist/siemens-ix/p-DJsXFBNm.js.map +1 -0
- package/dist/siemens-ix/p-_tyNUrlp.js +2 -0
- package/dist/siemens-ix/p-_tyNUrlp.js.map +1 -0
- package/dist/siemens-ix/p-a43c4907.entry.js +2 -0
- package/dist/siemens-ix/p-a6ea8bc6.entry.js +2 -0
- package/dist/siemens-ix/p-a6ea8bc6.entry.js.map +1 -0
- package/dist/siemens-ix/p-a7bdd5fd.entry.js +2 -0
- package/dist/siemens-ix/p-a7bdd5fd.entry.js.map +1 -0
- package/dist/siemens-ix/p-a8cd5e58.entry.js +2 -0
- package/dist/siemens-ix/p-a8cd5e58.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9336906.entry.js +2 -0
- package/dist/siemens-ix/p-a9336906.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9ec8094.entry.js +2 -0
- package/dist/siemens-ix/p-aa2dd2c3.entry.js +2 -0
- package/dist/siemens-ix/p-aa2dd2c3.entry.js.map +1 -0
- package/dist/siemens-ix/p-afd392d5.entry.js +2 -0
- package/dist/siemens-ix/p-b00517df.entry.js +2 -0
- package/dist/siemens-ix/p-b3d4d2cd.entry.js +2 -0
- package/dist/siemens-ix/p-b548335e.entry.js +2 -0
- package/dist/siemens-ix/p-b735b8ce.entry.js +2 -0
- package/dist/siemens-ix/p-ba24447f.entry.js +2 -0
- package/dist/siemens-ix/p-ba24447f.entry.js.map +1 -0
- package/dist/siemens-ix/p-bec289d7.entry.js +2 -0
- package/dist/siemens-ix/p-bf7fbdfc.entry.js +2 -0
- package/dist/siemens-ix/p-bf8dd5a1.entry.js +2 -0
- package/dist/siemens-ix/p-c050d511.entry.js +2 -0
- package/dist/siemens-ix/p-c050d511.entry.js.map +1 -0
- package/dist/siemens-ix/p-c24a5925.entry.js +2 -0
- package/dist/siemens-ix/p-c24a5925.entry.js.map +1 -0
- package/dist/siemens-ix/p-c5f8ccc9.entry.js +2 -0
- package/dist/siemens-ix/p-c9ab3079.entry.js +2 -0
- package/dist/siemens-ix/p-c9ab3079.entry.js.map +1 -0
- package/dist/siemens-ix/p-c9d48927.entry.js +2 -0
- package/dist/siemens-ix/p-ce3aebe6.entry.js +2 -0
- package/dist/siemens-ix/p-cf052f87.entry.js +2 -0
- package/dist/siemens-ix/p-cf052f87.entry.js.map +1 -0
- package/dist/siemens-ix/p-d0c1473e.entry.js +2 -0
- package/dist/siemens-ix/p-d0c1473e.entry.js.map +1 -0
- package/dist/siemens-ix/p-d3458382.entry.js +2 -0
- package/dist/siemens-ix/p-d605b181.entry.js +2 -0
- package/dist/siemens-ix/p-db6d5110.entry.js +2 -0
- package/dist/siemens-ix/p-db6d5110.entry.js.map +1 -0
- package/dist/siemens-ix/p-de79e8c0.entry.js +2 -0
- package/dist/siemens-ix/p-de79e8c0.entry.js.map +1 -0
- package/dist/siemens-ix/p-dfb5f7d8.entry.js +2 -0
- package/dist/siemens-ix/p-dfe4de85.entry.js +2 -0
- package/dist/siemens-ix/p-ea142215.entry.js +2 -0
- package/dist/siemens-ix/p-ead88218.entry.js +2 -0
- package/dist/siemens-ix/p-ec7cd008.entry.js +2 -0
- package/dist/siemens-ix/p-ecd576f8.entry.js +2 -0
- package/dist/siemens-ix/p-ecd576f8.entry.js.map +1 -0
- package/dist/siemens-ix/p-ee2902a5.entry.js +2 -0
- package/dist/siemens-ix/p-f4415d44.entry.js +2 -0
- package/dist/siemens-ix/p-f4ce72e4.entry.js +2 -0
- package/dist/siemens-ix/p-f4ce72e4.entry.js.map +1 -0
- package/dist/siemens-ix/p-f6a6694e.entry.js +2 -0
- package/dist/siemens-ix/p-f6a6694e.entry.js.map +1 -0
- package/dist/siemens-ix/p-fbacd6eb.entry.js +2 -0
- package/dist/siemens-ix/p-fbacd6eb.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +1 -2
- package/dist/types/components/action-card/action-card.types.d.ts +2 -0
- package/dist/types/components/blind/blind.d.ts +1 -2
- package/dist/types/components/blind/blind.types.d.ts +2 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/card/card.types.d.ts +1 -0
- package/dist/types/components/card-accordion/card-accordion.d.ts +1 -4
- package/dist/types/components/card-accordion/card-accordion.types.d.ts +4 -0
- package/dist/types/components/col/col.d.ts +1 -1
- package/dist/types/components/col/col.types.d.ts +1 -0
- package/dist/types/components/content-header/content-header.d.ts +1 -1
- package/dist/types/components/content-header/content-header.types.d.ts +1 -0
- package/dist/types/components/css-grid/css-grid.d.ts +1 -1
- package/dist/types/components/css-grid/css-grid.types.d.ts +1 -0
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +1 -11
- package/dist/types/components/date-dropdown/date-dropdown.types.d.ts +11 -0
- package/dist/types/components/date-input/date-input.d.ts +1 -4
- package/dist/types/components/date-input/date-input.types.d.ts +4 -0
- package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +2 -5
- package/dist/types/components/date-picker/date-picker.events.d.ts +4 -0
- package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
- package/dist/types/components/date-time-card/date-time-card.types.d.ts +1 -0
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +1 -6
- package/dist/types/components/datetime-picker/datetime-picker.types.d.ts +6 -0
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +1 -2
- package/dist/types/components/dropdown-button/dropdown-button.types.d.ts +2 -0
- package/dist/types/components/empty-state/empty-state.d.ts +1 -1
- package/dist/types/components/empty-state/empty-state.types.d.ts +1 -0
- package/dist/types/components/icon-button/icon-button.d.ts +1 -2
- package/dist/types/components/icon-button/icon-button.types.d.ts +2 -0
- package/dist/types/components/input/textarea.d.ts +1 -1
- package/dist/types/components/input/textarea.types.d.ts +1 -0
- package/dist/types/components/key-value/key-value.d.ts +1 -1
- package/dist/types/components/key-value/key-value.types.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +1 -3
- package/dist/types/components/modal/modal.types.d.ts +3 -0
- package/dist/types/components/pane/pane.d.ts +1 -21
- package/dist/types/components/pane/pane.types.d.ts +21 -0
- package/dist/types/components/progress-indicator/circular.d.ts +1 -1
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
- package/dist/types/components/progress-indicator/progress-indicator.types.d.ts +1 -0
- package/dist/types/components/push-card/push-card.d.ts +1 -2
- package/dist/types/components/push-card/push-card.types.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +1 -1
- package/dist/types/components/slider/slider.types.d.ts +1 -0
- package/dist/types/components/split-button/split-button.d.ts +1 -2
- package/dist/types/components/split-button/split-button.types.d.ts +2 -0
- package/dist/types/components/tab-item/tab-item.d.ts +1 -3
- package/dist/types/components/tab-item/tab-item.types.d.ts +3 -0
- package/dist/types/components/time-input/time-input.d.ts +1 -4
- package/dist/types/components/time-input/time-input.types.d.ts +4 -0
- package/dist/types/components/time-picker/time-picker.d.ts +1 -2
- package/dist/types/components/time-picker/time-picker.types.d.ts +2 -0
- package/dist/types/components/toast/toast-container.d.ts +1 -5
- package/dist/types/components/toast/toast-container.types.d.ts +5 -0
- package/dist/types/components/toast/toast-utils.d.ts +1 -1
- package/dist/types/components/typography/typography.d.ts +1 -10
- package/dist/types/components/typography/typography.types.d.ts +10 -0
- package/dist/types/components/utils/modal/modal.d.ts +1 -1
- package/dist/types/components.d.ts +58 -60
- package/dist/types/index.d.ts +3 -16
- package/dist/types/public-api.d.ts +15 -0
- package/hydrate/index.js +256 -256
- package/hydrate/index.mjs +256 -256
- package/package.json +4 -5
- package/components/custom-elements.d.ts +0 -10
- package/components/index.d.ts +0 -33
- package/components/index.js +0 -137
- package/components/index.js.map +0 -1
- package/components/ix-action-card.d.ts +0 -11
- package/components/ix-action-card.js +0 -72
- package/components/ix-action-card.js.map +0 -1
- package/components/ix-application-header.d.ts +0 -11
- package/components/ix-application-header.js +0 -9
- package/components/ix-application-header.js.map +0 -1
- package/components/ix-application-sidebar.d.ts +0 -11
- package/components/ix-application-sidebar.js +0 -64
- package/components/ix-application-sidebar.js.map +0 -1
- package/components/ix-application-switch-modal.d.ts +0 -11
- package/components/ix-application-switch-modal.js +0 -106
- package/components/ix-application-switch-modal.js.map +0 -1
- package/components/ix-application.d.ts +0 -11
- package/components/ix-application.js +0 -148
- package/components/ix-application.js.map +0 -1
- package/components/ix-avatar.d.ts +0 -11
- package/components/ix-avatar.js +0 -9
- package/components/ix-avatar.js.map +0 -1
- package/components/ix-basic-navigation.d.ts +0 -11
- package/components/ix-basic-navigation.js +0 -154
- package/components/ix-basic-navigation.js.map +0 -1
- package/components/ix-blind.d.ts +0 -11
- package/components/ix-blind.js +0 -130
- package/components/ix-blind.js.map +0 -1
- package/components/ix-breadcrumb-item.d.ts +0 -11
- package/components/ix-breadcrumb-item.js +0 -9
- package/components/ix-breadcrumb-item.js.map +0 -1
- package/components/ix-breadcrumb.d.ts +0 -11
- package/components/ix-breadcrumb.js +0 -169
- package/components/ix-breadcrumb.js.map +0 -1
- package/components/ix-button.d.ts +0 -11
- package/components/ix-button.js +0 -9
- package/components/ix-button.js.map +0 -1
- package/components/ix-card-accordion.d.ts +0 -11
- package/components/ix-card-accordion.js +0 -9
- package/components/ix-card-accordion.js.map +0 -1
- package/components/ix-card-content.d.ts +0 -11
- package/components/ix-card-content.js +0 -9
- package/components/ix-card-content.js.map +0 -1
- package/components/ix-card-list.d.ts +0 -11
- package/components/ix-card-list.js +0 -256
- package/components/ix-card-list.js.map +0 -1
- package/components/ix-card-title.d.ts +0 -11
- package/components/ix-card-title.js +0 -9
- package/components/ix-card-title.js.map +0 -1
- package/components/ix-card.d.ts +0 -11
- package/components/ix-card.js +0 -9
- package/components/ix-card.js.map +0 -1
- package/components/ix-category-filter.d.ts +0 -11
- package/components/ix-category-filter.js +0 -600
- package/components/ix-category-filter.js.map +0 -1
- package/components/ix-checkbox-group.d.ts +0 -11
- package/components/ix-checkbox-group.js +0 -158
- package/components/ix-checkbox-group.js.map +0 -1
- package/components/ix-checkbox.d.ts +0 -11
- package/components/ix-checkbox.js +0 -163
- package/components/ix-checkbox.js.map +0 -1
- package/components/ix-chip.d.ts +0 -11
- package/components/ix-chip.js +0 -154
- package/components/ix-chip.js.map +0 -1
- package/components/ix-col.d.ts +0 -11
- package/components/ix-col.js +0 -9
- package/components/ix-col.js.map +0 -1
- package/components/ix-content-header.d.ts +0 -11
- package/components/ix-content-header.js +0 -73
- package/components/ix-content-header.js.map +0 -1
- package/components/ix-content.d.ts +0 -11
- package/components/ix-content.js +0 -49
- package/components/ix-content.js.map +0 -1
- package/components/ix-css-grid-item.d.ts +0 -11
- package/components/ix-css-grid-item.js +0 -40
- package/components/ix-css-grid-item.js.map +0 -1
- package/components/ix-css-grid.d.ts +0 -11
- package/components/ix-css-grid.js +0 -117
- package/components/ix-css-grid.js.map +0 -1
- package/components/ix-custom-field.d.ts +0 -11
- package/components/ix-custom-field.js +0 -112
- package/components/ix-custom-field.js.map +0 -1
- package/components/ix-date-dropdown.d.ts +0 -11
- package/components/ix-date-dropdown.js +0 -368
- package/components/ix-date-dropdown.js.map +0 -1
- package/components/ix-date-input.d.ts +0 -11
- package/components/ix-date-input.js +0 -393
- package/components/ix-date-input.js.map +0 -1
- package/components/ix-date-picker.d.ts +0 -11
- package/components/ix-date-picker.js +0 -9
- package/components/ix-date-picker.js.map +0 -1
- package/components/ix-date-time-card.d.ts +0 -11
- package/components/ix-date-time-card.js +0 -9
- package/components/ix-date-time-card.js.map +0 -1
- package/components/ix-datetime-picker.d.ts +0 -11
- package/components/ix-datetime-picker.js +0 -204
- package/components/ix-datetime-picker.js.map +0 -1
- package/components/ix-divider.d.ts +0 -11
- package/components/ix-divider.js +0 -9
- package/components/ix-divider.js.map +0 -1
- package/components/ix-drawer.d.ts +0 -11
- package/components/ix-drawer.js +0 -200
- package/components/ix-drawer.js.map +0 -1
- package/components/ix-dropdown-button.d.ts +0 -11
- package/components/ix-dropdown-button.js +0 -106
- package/components/ix-dropdown-button.js.map +0 -1
- package/components/ix-dropdown-header.d.ts +0 -11
- package/components/ix-dropdown-header.js +0 -44
- package/components/ix-dropdown-header.js.map +0 -1
- package/components/ix-dropdown-item.d.ts +0 -11
- package/components/ix-dropdown-item.js +0 -9
- package/components/ix-dropdown-item.js.map +0 -1
- package/components/ix-dropdown-quick-actions.d.ts +0 -11
- package/components/ix-dropdown-quick-actions.js +0 -36
- package/components/ix-dropdown-quick-actions.js.map +0 -1
- package/components/ix-dropdown.d.ts +0 -11
- package/components/ix-dropdown.js +0 -9
- package/components/ix-dropdown.js.map +0 -1
- package/components/ix-empty-state.d.ts +0 -11
- package/components/ix-empty-state.js +0 -65
- package/components/ix-empty-state.js.map +0 -1
- package/components/ix-event-list-item.d.ts +0 -11
- package/components/ix-event-list-item.js +0 -72
- package/components/ix-event-list-item.js.map +0 -1
- package/components/ix-event-list.d.ts +0 -11
- package/components/ix-event-list.js +0 -173
- package/components/ix-event-list.js.map +0 -1
- package/components/ix-expanding-search.d.ts +0 -11
- package/components/ix-expanding-search.js +0 -145
- package/components/ix-expanding-search.js.map +0 -1
- package/components/ix-field-label.d.ts +0 -11
- package/components/ix-field-label.js +0 -9
- package/components/ix-field-label.js.map +0 -1
- package/components/ix-field-wrapper.d.ts +0 -11
- package/components/ix-field-wrapper.js +0 -9
- package/components/ix-field-wrapper.js.map +0 -1
- package/components/ix-filter-chip.d.ts +0 -11
- package/components/ix-filter-chip.js +0 -9
- package/components/ix-filter-chip.js.map +0 -1
- package/components/ix-flip-tile-content.d.ts +0 -11
- package/components/ix-flip-tile-content.js +0 -44
- package/components/ix-flip-tile-content.js.map +0 -1
- package/components/ix-flip-tile.d.ts +0 -11
- package/components/ix-flip-tile.js +0 -153
- package/components/ix-flip-tile.js.map +0 -1
- package/components/ix-group-context-menu.d.ts +0 -11
- package/components/ix-group-context-menu.js +0 -9
- package/components/ix-group-context-menu.js.map +0 -1
- package/components/ix-group-item.d.ts +0 -11
- package/components/ix-group-item.js +0 -9
- package/components/ix-group-item.js.map +0 -1
- package/components/ix-group.d.ts +0 -11
- package/components/ix-group.js +0 -221
- package/components/ix-group.js.map +0 -1
- package/components/ix-helper-text.d.ts +0 -11
- package/components/ix-helper-text.js +0 -95
- package/components/ix-helper-text.js.map +0 -1
- package/components/ix-icon-button.d.ts +0 -11
- package/components/ix-icon-button.js +0 -9
- package/components/ix-icon-button.js.map +0 -1
- package/components/ix-icon-toggle-button.d.ts +0 -11
- package/components/ix-icon-toggle-button.js +0 -149
- package/components/ix-icon-toggle-button.js.map +0 -1
- package/components/ix-input-group.d.ts +0 -11
- package/components/ix-input-group.js +0 -152
- package/components/ix-input-group.js.map +0 -1
- package/components/ix-input.d.ts +0 -11
- package/components/ix-input.js +0 -248
- package/components/ix-input.js.map +0 -1
- package/components/ix-key-value-list.d.ts +0 -11
- package/components/ix-key-value-list.js +0 -42
- package/components/ix-key-value-list.js.map +0 -1
- package/components/ix-key-value.d.ts +0 -11
- package/components/ix-key-value.js +0 -48
- package/components/ix-key-value.js.map +0 -1
- package/components/ix-kpi.d.ts +0 -11
- package/components/ix-kpi.js +0 -74
- package/components/ix-kpi.js.map +0 -1
- package/components/ix-layout-auto.d.ts +0 -11
- package/components/ix-layout-auto.js +0 -113
- package/components/ix-layout-auto.js.map +0 -1
- package/components/ix-layout-grid.d.ts +0 -11
- package/components/ix-layout-grid.js +0 -9
- package/components/ix-layout-grid.js.map +0 -1
- package/components/ix-link-button.d.ts +0 -11
- package/components/ix-link-button.js +0 -57
- package/components/ix-link-button.js.map +0 -1
- package/components/ix-map-navigation-overlay.d.ts +0 -11
- package/components/ix-map-navigation-overlay.js +0 -9
- package/components/ix-map-navigation-overlay.js.map +0 -1
- package/components/ix-map-navigation.d.ts +0 -11
- package/components/ix-map-navigation.js +0 -240
- package/components/ix-map-navigation.js.map +0 -1
- package/components/ix-menu-about-item.d.ts +0 -11
- package/components/ix-menu-about-item.js +0 -51
- package/components/ix-menu-about-item.js.map +0 -1
- package/components/ix-menu-about-news.d.ts +0 -11
- package/components/ix-menu-about-news.js +0 -93
- package/components/ix-menu-about-news.js.map +0 -1
- package/components/ix-menu-about.d.ts +0 -11
- package/components/ix-menu-about.js +0 -89
- package/components/ix-menu-about.js.map +0 -1
- package/components/ix-menu-avatar-item.d.ts +0 -11
- package/components/ix-menu-avatar-item.js +0 -9
- package/components/ix-menu-avatar-item.js.map +0 -1
- package/components/ix-menu-avatar.d.ts +0 -11
- package/components/ix-menu-avatar.js +0 -115
- package/components/ix-menu-avatar.js.map +0 -1
- package/components/ix-menu-category.d.ts +0 -11
- package/components/ix-menu-category.js +0 -284
- package/components/ix-menu-category.js.map +0 -1
- package/components/ix-menu-expand-icon.d.ts +0 -11
- package/components/ix-menu-expand-icon.js +0 -9
- package/components/ix-menu-expand-icon.js.map +0 -1
- package/components/ix-menu-item.d.ts +0 -11
- package/components/ix-menu-item.js +0 -9
- package/components/ix-menu-item.js.map +0 -1
- package/components/ix-menu-settings-item.d.ts +0 -11
- package/components/ix-menu-settings-item.js +0 -51
- package/components/ix-menu-settings-item.js.map +0 -1
- package/components/ix-menu-settings.d.ts +0 -11
- package/components/ix-menu-settings.js +0 -9
- package/components/ix-menu-settings.js.map +0 -1
- package/components/ix-menu.d.ts +0 -11
- package/components/ix-menu.js +0 -590
- package/components/ix-menu.js.map +0 -1
- package/components/ix-message-bar.d.ts +0 -11
- package/components/ix-message-bar.js +0 -103
- package/components/ix-message-bar.js.map +0 -1
- package/components/ix-modal-content.d.ts +0 -11
- package/components/ix-modal-content.js +0 -9
- package/components/ix-modal-content.js.map +0 -1
- package/components/ix-modal-footer.d.ts +0 -11
- package/components/ix-modal-footer.js +0 -36
- package/components/ix-modal-footer.js.map +0 -1
- package/components/ix-modal-header.d.ts +0 -11
- package/components/ix-modal-header.js +0 -9
- package/components/ix-modal-header.js.map +0 -1
- package/components/ix-modal-loading.d.ts +0 -11
- package/components/ix-modal-loading.js +0 -42
- package/components/ix-modal-loading.js.map +0 -1
- package/components/ix-modal.d.ts +0 -11
- package/components/ix-modal.js +0 -241
- package/components/ix-modal.js.map +0 -1
- package/components/ix-number-input.d.ts +0 -11
- package/components/ix-number-input.js +0 -241
- package/components/ix-number-input.js.map +0 -1
- package/components/ix-pagination.d.ts +0 -11
- package/components/ix-pagination.js +0 -261
- package/components/ix-pagination.js.map +0 -1
- package/components/ix-pane-layout.d.ts +0 -11
- package/components/ix-pane-layout.js +0 -311
- package/components/ix-pane-layout.js.map +0 -1
- package/components/ix-pane.d.ts +0 -11
- package/components/ix-pane.js +0 -568
- package/components/ix-pane.js.map +0 -1
- package/components/ix-pill.d.ts +0 -11
- package/components/ix-pill.js +0 -127
- package/components/ix-pill.js.map +0 -1
- package/components/ix-progress-indicator.d.ts +0 -11
- package/components/ix-progress-indicator.js +0 -193
- package/components/ix-progress-indicator.js.map +0 -1
- package/components/ix-push-card.d.ts +0 -11
- package/components/ix-push-card.js +0 -82
- package/components/ix-push-card.js.map +0 -1
- package/components/ix-radio-group.d.ts +0 -11
- package/components/ix-radio-group.js +0 -195
- package/components/ix-radio-group.js.map +0 -1
- package/components/ix-radio.d.ts +0 -11
- package/components/ix-radio.js +0 -145
- package/components/ix-radio.js.map +0 -1
- package/components/ix-row.d.ts +0 -11
- package/components/ix-row.js +0 -9
- package/components/ix-row.js.map +0 -1
- package/components/ix-select-item.d.ts +0 -11
- package/components/ix-select-item.js +0 -9
- package/components/ix-select-item.js.map +0 -1
- package/components/ix-select.d.ts +0 -11
- package/components/ix-select.js +0 -9
- package/components/ix-select.js.map +0 -1
- package/components/ix-slider.d.ts +0 -11
- package/components/ix-slider.js +0 -255
- package/components/ix-slider.js.map +0 -1
- package/components/ix-spinner.d.ts +0 -11
- package/components/ix-spinner.js +0 -9
- package/components/ix-spinner.js.map +0 -1
- package/components/ix-split-button.d.ts +0 -11
- package/components/ix-split-button.js +0 -117
- package/components/ix-split-button.js.map +0 -1
- package/components/ix-tab-item.d.ts +0 -11
- package/components/ix-tab-item.js +0 -9
- package/components/ix-tab-item.js.map +0 -1
- package/components/ix-tabs.d.ts +0 -11
- package/components/ix-tabs.js +0 -9
- package/components/ix-tabs.js.map +0 -1
- package/components/ix-textarea.d.ts +0 -11
- package/components/ix-textarea.js +0 -192
- package/components/ix-textarea.js.map +0 -1
- package/components/ix-tile.d.ts +0 -11
- package/components/ix-tile.js +0 -63
- package/components/ix-tile.js.map +0 -1
- package/components/ix-time-input.d.ts +0 -11
- package/components/ix-time-input.js +0 -442
- package/components/ix-time-input.js.map +0 -1
- package/components/ix-time-picker.d.ts +0 -11
- package/components/ix-time-picker.js +0 -9
- package/components/ix-time-picker.js.map +0 -1
- package/components/ix-toast-container.d.ts +0 -11
- package/components/ix-toast-container.js +0 -143
- package/components/ix-toast-container.js.map +0 -1
- package/components/ix-toast.d.ts +0 -11
- package/components/ix-toast.js +0 -9
- package/components/ix-toast.js.map +0 -1
- package/components/ix-toggle-button.d.ts +0 -11
- package/components/ix-toggle-button.js +0 -128
- package/components/ix-toggle-button.js.map +0 -1
- package/components/ix-toggle.d.ts +0 -11
- package/components/ix-toggle.js +0 -188
- package/components/ix-toggle.js.map +0 -1
- package/components/ix-tooltip.d.ts +0 -11
- package/components/ix-tooltip.js +0 -9
- package/components/ix-tooltip.js.map +0 -1
- package/components/ix-tree-item.d.ts +0 -11
- package/components/ix-tree-item.js +0 -9
- package/components/ix-tree-item.js.map +0 -1
- package/components/ix-tree.d.ts +0 -11
- package/components/ix-tree.js +0 -610
- package/components/ix-tree.js.map +0 -1
- package/components/ix-typography.d.ts +0 -11
- package/components/ix-typography.js +0 -9
- package/components/ix-typography.js.map +0 -1
- package/components/ix-upload.d.ts +0 -11
- package/components/ix-upload.js +0 -234
- package/components/ix-upload.js.map +0 -1
- package/components/ix-validation-tooltip.d.ts +0 -11
- package/components/ix-validation-tooltip.js +0 -182
- package/components/ix-validation-tooltip.js.map +0 -1
- package/components/ix-workflow-step.d.ts +0 -11
- package/components/ix-workflow-step.js +0 -147
- package/components/ix-workflow-step.js.map +0 -1
- package/components/ix-workflow-steps.d.ts +0 -11
- package/components/ix-workflow-steps.js +0 -112
- package/components/ix-workflow-steps.js.map +0 -1
- package/components/p--2LOMK-5.js +0 -105
- package/components/p--2LOMK-5.js.map +0 -1
- package/components/p-18F-YfbC.js +0 -90
- package/components/p-18F-YfbC.js.map +0 -1
- package/components/p-2HalBYF6.js +0 -611
- package/components/p-2HalBYF6.js.map +0 -1
- package/components/p-6UCgBriG.js +0 -89
- package/components/p-6UCgBriG.js.map +0 -1
- package/components/p-B3NgetSU.js +0 -765
- package/components/p-B3NgetSU.js.map +0 -1
- package/components/p-BGzrnl_l.js +0 -21
- package/components/p-BGzrnl_l.js.map +0 -1
- package/components/p-BH3f5fa3.js +0 -37
- package/components/p-BH3f5fa3.js.map +0 -1
- package/components/p-BI91ISYc.js +0 -103
- package/components/p-BI91ISYc.js.map +0 -1
- package/components/p-BOARJXlu.js +0 -54
- package/components/p-BOARJXlu.js.map +0 -1
- package/components/p-BQ6999e5.js +0 -22
- package/components/p-BQ6999e5.js.map +0 -1
- package/components/p-BSRi3yyl.js +0 -164
- package/components/p-BSRi3yyl.js.map +0 -1
- package/components/p-BUVYgPbq.js +0 -207
- package/components/p-BUVYgPbq.js.map +0 -1
- package/components/p-BW7O4gSR.js +0 -64
- package/components/p-BW7O4gSR.js.map +0 -1
- package/components/p-BXGAr1UD.js +0 -130
- package/components/p-BXGAr1UD.js.map +0 -1
- package/components/p-Bb7pDeaQ.js +0 -144
- package/components/p-Bb7pDeaQ.js.map +0 -1
- package/components/p-BdCnOrqW.js +0 -47
- package/components/p-BdCnOrqW.js.map +0 -1
- package/components/p-Bi1VyG64.js +0 -46
- package/components/p-Bi1VyG64.js.map +0 -1
- package/components/p-BpwZ_OiO.js +0 -42
- package/components/p-BpwZ_OiO.js.map +0 -1
- package/components/p-C7qPn3fZ.js +0 -113
- package/components/p-C7qPn3fZ.js.map +0 -1
- package/components/p-C99qjEPE.js +0 -72
- package/components/p-C99qjEPE.js.map +0 -1
- package/components/p-C9zujPO0.js +0 -65
- package/components/p-C9zujPO0.js.map +0 -1
- package/components/p-CAqtPJ4-.js +0 -1786
- package/components/p-CAqtPJ4-.js.map +0 -1
- package/components/p-CGwHQeMX.js +0 -54
- package/components/p-CGwHQeMX.js.map +0 -1
- package/components/p-CI771zjd.js +0 -83
- package/components/p-CI771zjd.js.map +0 -1
- package/components/p-CJ9lFwzL.js +0 -33
- package/components/p-CJ9lFwzL.js.map +0 -1
- package/components/p-CLe5n0eR.js +0 -461
- package/components/p-CLe5n0eR.js.map +0 -1
- package/components/p-COgaNG0r.js +0 -162
- package/components/p-COgaNG0r.js.map +0 -1
- package/components/p-CX81WQtk.js +0 -14
- package/components/p-CX81WQtk.js.map +0 -1
- package/components/p-CYjLayhK.js +0 -33
- package/components/p-CYjLayhK.js.map +0 -1
- package/components/p-Ca62xqUI.js +0 -110
- package/components/p-Ca62xqUI.js.map +0 -1
- package/components/p-CdH-wF59.js +0 -107
- package/components/p-CdH-wF59.js.map +0 -1
- package/components/p-CdhP3eo7.js +0 -129
- package/components/p-CdhP3eo7.js.map +0 -1
- package/components/p-CmNagK_M.js +0 -61
- package/components/p-CmNagK_M.js.map +0 -1
- package/components/p-Cuf7Gv_k.js +0 -48
- package/components/p-Cuf7Gv_k.js.map +0 -1
- package/components/p-CvYq7fCI.js +0 -79
- package/components/p-CvYq7fCI.js.map +0 -1
- package/components/p-CyFFBc_G.js +0 -100
- package/components/p-CyFFBc_G.js.map +0 -1
- package/components/p-D-lOakIP.js +0 -54
- package/components/p-D-lOakIP.js.map +0 -1
- package/components/p-D-uSMBXb.js +0 -33
- package/components/p-D-uSMBXb.js.map +0 -1
- package/components/p-D0hxqaGs.js +0 -90
- package/components/p-D0hxqaGs.js.map +0 -1
- package/components/p-D2Fm_05X.js +0 -71
- package/components/p-D2Fm_05X.js.map +0 -1
- package/components/p-D3K9vmFp.js +0 -157
- package/components/p-D3K9vmFp.js.map +0 -1
- package/components/p-D54oqcBC.js +0 -146
- package/components/p-D54oqcBC.js.map +0 -1
- package/components/p-D6vSVaHq.js +0 -26
- package/components/p-D6vSVaHq.js.map +0 -1
- package/components/p-DBZZBDKR.js +0 -76
- package/components/p-DBZZBDKR.js.map +0 -1
- package/components/p-DDHkNPby.js +0 -79
- package/components/p-DDHkNPby.js.map +0 -1
- package/components/p-DEmiWcQ0.js +0 -51
- package/components/p-DEmiWcQ0.js.map +0 -1
- package/components/p-DQEpAmYe.js +0 -55
- package/components/p-DQEpAmYe.js.map +0 -1
- package/components/p-DUctjh_Y.js +0 -19
- package/components/p-DUctjh_Y.js.map +0 -1
- package/components/p-Da_mIDFR.js +0 -75
- package/components/p-Da_mIDFR.js.map +0 -1
- package/components/p-DeAFXXM2.js +0 -90
- package/components/p-DeAFXXM2.js.map +0 -1
- package/components/p-Dih6bry9.js +0 -33
- package/components/p-Dih6bry9.js.map +0 -1
- package/components/p-Dp15M30K.js +0 -20
- package/components/p-Dp15M30K.js.map +0 -1
- package/components/p-Dp4RJcgZ.js +0 -125
- package/components/p-Dp4RJcgZ.js.map +0 -1
- package/components/p-DpilwXvD.js +0 -33
- package/components/p-DpilwXvD.js.map +0 -1
- package/components/p-DqBfPYF2.js +0 -151
- package/components/p-DqBfPYF2.js.map +0 -1
- package/components/p-DzKDFBWC.js +0 -2042
- package/components/p-DzKDFBWC.js.map +0 -1
- package/components/p-IMKnzlUb.js +0 -110
- package/components/p-IMKnzlUb.js.map +0 -1
- package/components/p-JJddxCCh.js +0 -42
- package/components/p-JJddxCCh.js.map +0 -1
- package/components/p-Ooq8eqJM.js +0 -33
- package/components/p-Ooq8eqJM.js.map +0 -1
- package/components/p-Ou74PMQs.js +0 -1313
- package/components/p-Ou74PMQs.js.map +0 -1
- package/components/p-PxA_udyJ.js +0 -254
- package/components/p-PxA_udyJ.js.map +0 -1
- package/components/p-UQa1aROL.js +0 -23
- package/components/p-UQa1aROL.js.map +0 -1
- package/components/p-bDicGJUN.js +0 -7697
- package/components/p-bDicGJUN.js.map +0 -1
- package/components/p-bcj7UEIC.js +0 -24
- package/components/p-bcj7UEIC.js.map +0 -1
- package/components/p-cugF_dsq.js +0 -203
- package/components/p-cugF_dsq.js.map +0 -1
- package/components/p-kY0vP3rC.js +0 -122
- package/components/p-kY0vP3rC.js.map +0 -1
- package/components/p-mLgD4b4D.js +0 -359
- package/components/p-mLgD4b4D.js.map +0 -1
- package/components/p-m_8Hy4_G.js +0 -310
- package/components/p-m_8Hy4_G.js.map +0 -1
- package/components/p-pMSLP3h4.js +0 -757
- package/components/p-pMSLP3h4.js.map +0 -1
- package/components/p-t-aQDKhy.js +0 -118
- package/components/p-t-aQDKhy.js.map +0 -1
- package/components/package.json +0 -9
- package/dist/cjs/base-button-CaQoQTFI.js +0 -74
- package/dist/cjs/base-button-CaQoQTFI.js.map +0 -1
- package/dist/cjs/base-icon-button-C9L5Gii-.js +0 -21
- package/dist/cjs/base-icon-button-C9L5Gii-.js.map +0 -1
- package/dist/cjs/helper-text-util-BctMjApu.js +0 -45
- package/dist/cjs/helper-text-util-BctMjApu.js.map +0 -1
- package/dist/cjs/index-BDliOtbY.js +0 -2734
- package/dist/cjs/index-BDliOtbY.js.map +0 -1
- package/dist/cjs/input.util-Ch0ETA-v.js +0 -215
- package/dist/cjs/input.util-Ch0ETA-v.js.map +0 -1
- package/dist/cjs/ix-menu-settings-BkPNtMal.js +0 -123
- package/dist/cjs/ix-menu-settings-BkPNtMal.js.map +0 -1
- package/dist/cjs/listener-BJXzadPO.js +0 -78
- package/dist/cjs/listener-BJXzadPO.js.map +0 -1
- package/dist/cjs/validation-_-cW9Dku.js +0 -123
- package/dist/cjs/validation-_-cW9Dku.js.map +0 -1
- package/dist/esm/base-button-dtdYZqMt.js +0 -71
- package/dist/esm/base-button-dtdYZqMt.js.map +0 -1
- package/dist/esm/base-icon-button-BZvsimpZ.js +0 -19
- package/dist/esm/base-icon-button-BZvsimpZ.js.map +0 -1
- package/dist/esm/helper-text-util-Dyff2O6m.js +0 -42
- package/dist/esm/helper-text-util-Dyff2O6m.js.map +0 -1
- package/dist/esm/index-B6NtGPRE.js +0 -2702
- package/dist/esm/index-B6NtGPRE.js.map +0 -1
- package/dist/esm/input.util-HSoyR1ow.js +0 -203
- package/dist/esm/input.util-HSoyR1ow.js.map +0 -1
- package/dist/esm/ix-menu-settings-B5kM6fHy.js +0 -118
- package/dist/esm/ix-menu-settings-B5kM6fHy.js.map +0 -1
- package/dist/esm/listener-DCrO174s.js +0 -76
- package/dist/esm/listener-DCrO174s.js.map +0 -1
- package/dist/esm/validation-DuPOpjMi.js +0 -118
- package/dist/esm/validation-DuPOpjMi.js.map +0 -1
- package/dist/siemens-ix/p-0053fd70.entry.js +0 -2
- package/dist/siemens-ix/p-00668881.entry.js +0 -2
- package/dist/siemens-ix/p-0285fa1a.entry.js +0 -2
- package/dist/siemens-ix/p-07733f87.entry.js +0 -2
- package/dist/siemens-ix/p-07fa84e9.entry.js +0 -2
- package/dist/siemens-ix/p-07fa84e9.entry.js.map +0 -1
- package/dist/siemens-ix/p-094d6f0a.entry.js +0 -2
- package/dist/siemens-ix/p-0e0019a3.entry.js +0 -2
- package/dist/siemens-ix/p-125b66ec.entry.js +0 -2
- package/dist/siemens-ix/p-1363ac29.entry.js +0 -2
- package/dist/siemens-ix/p-138de76a.entry.js +0 -2
- package/dist/siemens-ix/p-17a19a44.entry.js +0 -2
- package/dist/siemens-ix/p-17a19a44.entry.js.map +0 -1
- package/dist/siemens-ix/p-1b04e58a.entry.js +0 -2
- package/dist/siemens-ix/p-1b04e58a.entry.js.map +0 -1
- package/dist/siemens-ix/p-1cff42a5.entry.js +0 -2
- package/dist/siemens-ix/p-1f5322d5.entry.js +0 -2
- package/dist/siemens-ix/p-1fc79a42.entry.js +0 -2
- package/dist/siemens-ix/p-227ea9bc.entry.js +0 -2
- package/dist/siemens-ix/p-227ea9bc.entry.js.map +0 -1
- package/dist/siemens-ix/p-25368187.entry.js +0 -2
- package/dist/siemens-ix/p-25c27b28.entry.js +0 -2
- package/dist/siemens-ix/p-26b072bb.entry.js +0 -2
- package/dist/siemens-ix/p-29eb0f3c.entry.js +0 -2
- package/dist/siemens-ix/p-2a1152d9.entry.js +0 -2
- package/dist/siemens-ix/p-2a1152d9.entry.js.map +0 -1
- package/dist/siemens-ix/p-2d383fa3.entry.js +0 -2
- package/dist/siemens-ix/p-2e0dab7b.entry.js +0 -2
- package/dist/siemens-ix/p-2e0dab7b.entry.js.map +0 -1
- package/dist/siemens-ix/p-2edc9a43.entry.js +0 -2
- package/dist/siemens-ix/p-2edc9a43.entry.js.map +0 -1
- package/dist/siemens-ix/p-30e325ee.entry.js +0 -2
- package/dist/siemens-ix/p-30e325ee.entry.js.map +0 -1
- package/dist/siemens-ix/p-3725e281.entry.js +0 -2
- package/dist/siemens-ix/p-381708ea.entry.js +0 -2
- package/dist/siemens-ix/p-38fa1eec.entry.js +0 -2
- package/dist/siemens-ix/p-3d4eba06.entry.js +0 -2
- package/dist/siemens-ix/p-42cf2d8f.entry.js +0 -2
- package/dist/siemens-ix/p-44a9c1db.entry.js +0 -2
- package/dist/siemens-ix/p-44a9c1db.entry.js.map +0 -1
- package/dist/siemens-ix/p-47956560.entry.js +0 -2
- package/dist/siemens-ix/p-4a666ab2.entry.js +0 -2
- package/dist/siemens-ix/p-4be22d4d.entry.js +0 -2
- package/dist/siemens-ix/p-518290fd.entry.js +0 -2
- package/dist/siemens-ix/p-53d1f804.entry.js +0 -2
- package/dist/siemens-ix/p-5f494293.entry.js +0 -2
- package/dist/siemens-ix/p-60c6eba1.entry.js +0 -2
- package/dist/siemens-ix/p-61944945.entry.js +0 -2
- package/dist/siemens-ix/p-61bf7678.entry.js +0 -2
- package/dist/siemens-ix/p-64a2f777.entry.js +0 -2
- package/dist/siemens-ix/p-64a2f777.entry.js.map +0 -1
- package/dist/siemens-ix/p-674dd99b.entry.js +0 -2
- package/dist/siemens-ix/p-6a275897.entry.js +0 -2
- package/dist/siemens-ix/p-6b5cb4c3.entry.js +0 -2
- package/dist/siemens-ix/p-6b5cb4c3.entry.js.map +0 -1
- package/dist/siemens-ix/p-6cc4c39e.entry.js +0 -2
- package/dist/siemens-ix/p-6dffce02.entry.js +0 -2
- package/dist/siemens-ix/p-6dffce02.entry.js.map +0 -1
- package/dist/siemens-ix/p-702d290f.entry.js +0 -2
- package/dist/siemens-ix/p-702d290f.entry.js.map +0 -1
- package/dist/siemens-ix/p-719704c7.entry.js +0 -2
- package/dist/siemens-ix/p-719704c7.entry.js.map +0 -1
- package/dist/siemens-ix/p-746f49b4.entry.js +0 -2
- package/dist/siemens-ix/p-77d586e5.entry.js +0 -2
- package/dist/siemens-ix/p-7978f54a.entry.js +0 -2
- package/dist/siemens-ix/p-7b455f16.entry.js +0 -2
- package/dist/siemens-ix/p-7b455f16.entry.js.map +0 -1
- package/dist/siemens-ix/p-7b5eb3ca.entry.js +0 -2
- package/dist/siemens-ix/p-7b5eb3ca.entry.js.map +0 -1
- package/dist/siemens-ix/p-7da60ba2.entry.js +0 -2
- package/dist/siemens-ix/p-7da60ba2.entry.js.map +0 -1
- package/dist/siemens-ix/p-7fcec901.entry.js +0 -2
- package/dist/siemens-ix/p-80dfc634.entry.js +0 -2
- package/dist/siemens-ix/p-80dfc634.entry.js.map +0 -1
- package/dist/siemens-ix/p-8774e0a8.entry.js +0 -2
- package/dist/siemens-ix/p-92513d0e.entry.js +0 -2
- package/dist/siemens-ix/p-92513d0e.entry.js.map +0 -1
- package/dist/siemens-ix/p-9513a275.entry.js +0 -2
- package/dist/siemens-ix/p-96687290.entry.js +0 -2
- package/dist/siemens-ix/p-96687290.entry.js.map +0 -1
- package/dist/siemens-ix/p-96c0acb2.entry.js +0 -2
- package/dist/siemens-ix/p-97029efe.entry.js +0 -2
- package/dist/siemens-ix/p-97eb6c3c.entry.js +0 -2
- package/dist/siemens-ix/p-97eb6c3c.entry.js.map +0 -1
- package/dist/siemens-ix/p-B6NtGPRE.js +0 -3
- package/dist/siemens-ix/p-B6NtGPRE.js.map +0 -1
- package/dist/siemens-ix/p-BaslXuvq.js +0 -2
- package/dist/siemens-ix/p-BaslXuvq.js.map +0 -1
- package/dist/siemens-ix/p-Bko0CTxK.js +0 -2
- package/dist/siemens-ix/p-Bko0CTxK.js.map +0 -1
- package/dist/siemens-ix/p-C1MjXHa0.js +0 -2
- package/dist/siemens-ix/p-C1MjXHa0.js.map +0 -1
- package/dist/siemens-ix/p-DeEsc3nL.js +0 -2
- package/dist/siemens-ix/p-DeEsc3nL.js.map +0 -1
- package/dist/siemens-ix/p-DhH1rUwy.js +0 -2
- package/dist/siemens-ix/p-DhH1rUwy.js.map +0 -1
- package/dist/siemens-ix/p-DyBJEhgA.js +0 -2
- package/dist/siemens-ix/p-DyBJEhgA.js.map +0 -1
- package/dist/siemens-ix/p-a09ec38c.entry.js +0 -2
- package/dist/siemens-ix/p-a09ec38c.entry.js.map +0 -1
- package/dist/siemens-ix/p-a15f3a9d.entry.js +0 -2
- package/dist/siemens-ix/p-a15f3a9d.entry.js.map +0 -1
- package/dist/siemens-ix/p-a7e339d0.entry.js +0 -2
- package/dist/siemens-ix/p-a7e339d0.entry.js.map +0 -1
- package/dist/siemens-ix/p-a951d9e7.entry.js +0 -2
- package/dist/siemens-ix/p-b1bc33ef.entry.js +0 -2
- package/dist/siemens-ix/p-b45ce132.entry.js +0 -2
- package/dist/siemens-ix/p-b45ce132.entry.js.map +0 -1
- package/dist/siemens-ix/p-b6f02420.entry.js +0 -2
- package/dist/siemens-ix/p-b6f02420.entry.js.map +0 -1
- package/dist/siemens-ix/p-c192caa5.entry.js +0 -2
- package/dist/siemens-ix/p-c192caa5.entry.js.map +0 -1
- package/dist/siemens-ix/p-c23031be.entry.js +0 -2
- package/dist/siemens-ix/p-c5921b21.entry.js +0 -2
- package/dist/siemens-ix/p-c6cb0b06.entry.js +0 -2
- package/dist/siemens-ix/p-c6cb0b06.entry.js.map +0 -1
- package/dist/siemens-ix/p-c7ead0ee.entry.js +0 -2
- package/dist/siemens-ix/p-c7ead0ee.entry.js.map +0 -1
- package/dist/siemens-ix/p-c9c30ce7.entry.js +0 -2
- package/dist/siemens-ix/p-cb076f29.entry.js +0 -2
- package/dist/siemens-ix/p-cf3c2573.entry.js +0 -2
- package/dist/siemens-ix/p-cf3cbb46.entry.js +0 -2
- package/dist/siemens-ix/p-cf3cbb46.entry.js.map +0 -1
- package/dist/siemens-ix/p-cf7448b1.entry.js +0 -2
- package/dist/siemens-ix/p-d2151941.entry.js +0 -2
- package/dist/siemens-ix/p-d4284927.entry.js +0 -2
- package/dist/siemens-ix/p-d4936531.entry.js +0 -2
- package/dist/siemens-ix/p-daf2c2fd.entry.js +0 -2
- package/dist/siemens-ix/p-de03778d.entry.js +0 -2
- package/dist/siemens-ix/p-de03778d.entry.js.map +0 -1
- package/dist/siemens-ix/p-e006c83c.entry.js +0 -2
- package/dist/siemens-ix/p-e088e1d9.entry.js +0 -2
- package/dist/siemens-ix/p-e40c900a.entry.js +0 -2
- package/dist/siemens-ix/p-e499f85d.entry.js +0 -2
- package/dist/siemens-ix/p-e636a236.entry.js +0 -2
- package/dist/siemens-ix/p-e636a236.entry.js.map +0 -1
- package/dist/siemens-ix/p-e850d862.entry.js +0 -2
- package/dist/siemens-ix/p-ea980990.entry.js +0 -2
- package/dist/siemens-ix/p-ec3786c3.entry.js +0 -2
- package/dist/siemens-ix/p-ed05a3ed.entry.js +0 -2
- package/dist/siemens-ix/p-ed05a3ed.entry.js.map +0 -1
- package/dist/siemens-ix/p-ef56e825.entry.js +0 -2
- package/dist/siemens-ix/p-f1d1c522.entry.js +0 -2
- package/dist/siemens-ix/p-f426aa64.entry.js +0 -2
- package/dist/siemens-ix/p-f426aa64.entry.js.map +0 -1
- package/dist/siemens-ix/p-f61c1785.entry.js +0 -2
- package/dist/siemens-ix/p-f66cb323.entry.js +0 -2
- package/dist/siemens-ix/p-f66cb323.entry.js.map +0 -1
- package/dist/siemens-ix/p-fadc415c.entry.js +0 -2
- package/dist/siemens-ix/p-fadc415c.entry.js.map +0 -1
- package/dist/siemens-ix/p-fe1e79d6.entry.js +0 -2
- package/dist/siemens-ix/p-zYzFdFx8.js +0 -2
- package/dist/siemens-ix/p-zYzFdFx8.js.map +0 -1
- package/dist/types/interfaces.d.ts +0 -27
- /package/dist/siemens-ix/{p-4be22d4d.entry.js.map → p-003ae2cf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-094d6f0a.entry.js.map → p-00eff8b5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-47956560.entry.js.map → p-0195766f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c23031be.entry.js.map → p-025c5b1b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-25c27b28.entry.js.map → p-03b8e425.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9513a275.entry.js.map → p-04527b1e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-07733f87.entry.js.map → p-07b2da86.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-746f49b4.entry.js.map → p-098aa857.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d4284927.entry.js.map → p-130ffc16.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1cff42a5.entry.js.map → p-13b5f3c3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f61c1785.entry.js.map → p-14d2042d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cb076f29.entry.js.map → p-19501b80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d2151941.entry.js.map → p-1df6d18f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-518290fd.entry.js.map → p-1fdfe35a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-38fa1eec.entry.js.map → p-2642d96b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0053fd70.entry.js.map → p-28aece6e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-00668881.entry.js.map → p-29d44cef.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f5322d5.entry.js.map → p-2f2dfb6e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7fcec901.entry.js.map → p-2f9b9e7a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8774e0a8.entry.js.map → p-440a0ee0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e0019a3.entry.js.map → p-472c1d6b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1363ac29.entry.js.map → p-47f395be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cf7448b1.entry.js.map → p-483bc052.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3d4eba06.entry.js.map → p-4959b8e6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e499f85d.entry.js.map → p-4fe2d0f7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e006c83c.entry.js.map → p-5b22342c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-125b66ec.entry.js.map → p-605a9fe8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2d383fa3.entry.js.map → p-6337e880.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0285fa1a.entry.js.map → p-6549edf0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1fc79a42.entry.js.map → p-66d20585.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-53d1f804.entry.js.map → p-6adde42d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b1bc33ef.entry.js.map → p-6cc448b4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ec3786c3.entry.js.map → p-7011678e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6cc4c39e.entry.js.map → p-7111f065.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cf3c2573.entry.js.map → p-76f59fa5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c5921b21.entry.js.map → p-777675ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4a666ab2.entry.js.map → p-8d4558b9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ef56e825.entry.js.map → p-8fcada5a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-96c0acb2.entry.js.map → p-91ba2527.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e088e1d9.entry.js.map → p-97693d72.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-29eb0f3c.entry.js.map → p-97a53af6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5f494293.entry.js.map → p-988f37da.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61944945.entry.js.map → p-9f7d82d2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d4936531.entry.js.map → p-a43c4907.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a951d9e7.entry.js.map → p-a9ec8094.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7978f54a.entry.js.map → p-afd392d5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-381708ea.entry.js.map → p-b00517df.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c9c30ce7.entry.js.map → p-b3d4d2cd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fe1e79d6.entry.js.map → p-b548335e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-77d586e5.entry.js.map → p-b735b8ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-138de76a.entry.js.map → p-bec289d7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-60c6eba1.entry.js.map → p-bf7fbdfc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e850d862.entry.js.map → p-bf8dd5a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-42cf2d8f.entry.js.map → p-c5f8ccc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-26b072bb.entry.js.map → p-c9d48927.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ea980990.entry.js.map → p-ce3aebe6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61bf7678.entry.js.map → p-d3458382.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-674dd99b.entry.js.map → p-d605b181.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e40c900a.entry.js.map → p-dfb5f7d8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-97029efe.entry.js.map → p-dfe4de85.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f1d1c522.entry.js.map → p-ea142215.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6a275897.entry.js.map → p-ead88218.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-25368187.entry.js.map → p-ec7cd008.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3725e281.entry.js.map → p-ee2902a5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-daf2c2fd.entry.js.map → p-f4415d44.entry.js.map} +0 -0
package/components/p-CAqtPJ4-.js
DELETED
|
@@ -1,1786 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom positioning reference element.
|
|
3
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
7
|
-
const min = Math.min;
|
|
8
|
-
const max = Math.max;
|
|
9
|
-
const round = Math.round;
|
|
10
|
-
const floor = Math.floor;
|
|
11
|
-
const createCoords = v => ({
|
|
12
|
-
x: v,
|
|
13
|
-
y: v
|
|
14
|
-
});
|
|
15
|
-
const oppositeSideMap = {
|
|
16
|
-
left: 'right',
|
|
17
|
-
right: 'left',
|
|
18
|
-
bottom: 'top',
|
|
19
|
-
top: 'bottom'
|
|
20
|
-
};
|
|
21
|
-
const oppositeAlignmentMap = {
|
|
22
|
-
start: 'end',
|
|
23
|
-
end: 'start'
|
|
24
|
-
};
|
|
25
|
-
function clamp(start, value, end) {
|
|
26
|
-
return max(start, min(value, end));
|
|
27
|
-
}
|
|
28
|
-
function evaluate(value, param) {
|
|
29
|
-
return typeof value === 'function' ? value(param) : value;
|
|
30
|
-
}
|
|
31
|
-
function getSide(placement) {
|
|
32
|
-
return placement.split('-')[0];
|
|
33
|
-
}
|
|
34
|
-
function getAlignment(placement) {
|
|
35
|
-
return placement.split('-')[1];
|
|
36
|
-
}
|
|
37
|
-
function getOppositeAxis(axis) {
|
|
38
|
-
return axis === 'x' ? 'y' : 'x';
|
|
39
|
-
}
|
|
40
|
-
function getAxisLength(axis) {
|
|
41
|
-
return axis === 'y' ? 'height' : 'width';
|
|
42
|
-
}
|
|
43
|
-
function getSideAxis(placement) {
|
|
44
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
45
|
-
}
|
|
46
|
-
function getAlignmentAxis(placement) {
|
|
47
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
48
|
-
}
|
|
49
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
50
|
-
if (rtl === void 0) {
|
|
51
|
-
rtl = false;
|
|
52
|
-
}
|
|
53
|
-
const alignment = getAlignment(placement);
|
|
54
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
55
|
-
const length = getAxisLength(alignmentAxis);
|
|
56
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
57
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
58
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
59
|
-
}
|
|
60
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
61
|
-
}
|
|
62
|
-
function getExpandedPlacements(placement) {
|
|
63
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
64
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
65
|
-
}
|
|
66
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
67
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
68
|
-
}
|
|
69
|
-
function getSideList(side, isStart, rtl) {
|
|
70
|
-
const lr = ['left', 'right'];
|
|
71
|
-
const rl = ['right', 'left'];
|
|
72
|
-
const tb = ['top', 'bottom'];
|
|
73
|
-
const bt = ['bottom', 'top'];
|
|
74
|
-
switch (side) {
|
|
75
|
-
case 'top':
|
|
76
|
-
case 'bottom':
|
|
77
|
-
if (rtl) return isStart ? rl : lr;
|
|
78
|
-
return isStart ? lr : rl;
|
|
79
|
-
case 'left':
|
|
80
|
-
case 'right':
|
|
81
|
-
return isStart ? tb : bt;
|
|
82
|
-
default:
|
|
83
|
-
return [];
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
87
|
-
const alignment = getAlignment(placement);
|
|
88
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
89
|
-
if (alignment) {
|
|
90
|
-
list = list.map(side => side + "-" + alignment);
|
|
91
|
-
if (flipAlignment) {
|
|
92
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
return list;
|
|
96
|
-
}
|
|
97
|
-
function getOppositePlacement(placement) {
|
|
98
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
99
|
-
}
|
|
100
|
-
function expandPaddingObject(padding) {
|
|
101
|
-
return {
|
|
102
|
-
top: 0,
|
|
103
|
-
right: 0,
|
|
104
|
-
bottom: 0,
|
|
105
|
-
left: 0,
|
|
106
|
-
...padding
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
function getPaddingObject(padding) {
|
|
110
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
111
|
-
top: padding,
|
|
112
|
-
right: padding,
|
|
113
|
-
bottom: padding,
|
|
114
|
-
left: padding
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
function rectToClientRect(rect) {
|
|
118
|
-
const {
|
|
119
|
-
x,
|
|
120
|
-
y,
|
|
121
|
-
width,
|
|
122
|
-
height
|
|
123
|
-
} = rect;
|
|
124
|
-
return {
|
|
125
|
-
width,
|
|
126
|
-
height,
|
|
127
|
-
top: y,
|
|
128
|
-
left: x,
|
|
129
|
-
right: x + width,
|
|
130
|
-
bottom: y + height,
|
|
131
|
-
x,
|
|
132
|
-
y
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
137
|
-
let {
|
|
138
|
-
reference,
|
|
139
|
-
floating
|
|
140
|
-
} = _ref;
|
|
141
|
-
const sideAxis = getSideAxis(placement);
|
|
142
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
143
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
144
|
-
const side = getSide(placement);
|
|
145
|
-
const isVertical = sideAxis === 'y';
|
|
146
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
147
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
148
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
149
|
-
let coords;
|
|
150
|
-
switch (side) {
|
|
151
|
-
case 'top':
|
|
152
|
-
coords = {
|
|
153
|
-
x: commonX,
|
|
154
|
-
y: reference.y - floating.height
|
|
155
|
-
};
|
|
156
|
-
break;
|
|
157
|
-
case 'bottom':
|
|
158
|
-
coords = {
|
|
159
|
-
x: commonX,
|
|
160
|
-
y: reference.y + reference.height
|
|
161
|
-
};
|
|
162
|
-
break;
|
|
163
|
-
case 'right':
|
|
164
|
-
coords = {
|
|
165
|
-
x: reference.x + reference.width,
|
|
166
|
-
y: commonY
|
|
167
|
-
};
|
|
168
|
-
break;
|
|
169
|
-
case 'left':
|
|
170
|
-
coords = {
|
|
171
|
-
x: reference.x - floating.width,
|
|
172
|
-
y: commonY
|
|
173
|
-
};
|
|
174
|
-
break;
|
|
175
|
-
default:
|
|
176
|
-
coords = {
|
|
177
|
-
x: reference.x,
|
|
178
|
-
y: reference.y
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
switch (getAlignment(placement)) {
|
|
182
|
-
case 'start':
|
|
183
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
184
|
-
break;
|
|
185
|
-
case 'end':
|
|
186
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
return coords;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
194
|
-
* next to a given reference element.
|
|
195
|
-
*
|
|
196
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
197
|
-
* write one for the platform you are using Floating UI with.
|
|
198
|
-
*/
|
|
199
|
-
const computePosition$1 = async (reference, floating, config) => {
|
|
200
|
-
const {
|
|
201
|
-
placement = 'bottom',
|
|
202
|
-
strategy = 'absolute',
|
|
203
|
-
middleware = [],
|
|
204
|
-
platform
|
|
205
|
-
} = config;
|
|
206
|
-
const validMiddleware = middleware.filter(Boolean);
|
|
207
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
208
|
-
let rects = await platform.getElementRects({
|
|
209
|
-
reference,
|
|
210
|
-
floating,
|
|
211
|
-
strategy
|
|
212
|
-
});
|
|
213
|
-
let {
|
|
214
|
-
x,
|
|
215
|
-
y
|
|
216
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
217
|
-
let statefulPlacement = placement;
|
|
218
|
-
let middlewareData = {};
|
|
219
|
-
let resetCount = 0;
|
|
220
|
-
for (let i = 0; i < validMiddleware.length; i++) {
|
|
221
|
-
const {
|
|
222
|
-
name,
|
|
223
|
-
fn
|
|
224
|
-
} = validMiddleware[i];
|
|
225
|
-
const {
|
|
226
|
-
x: nextX,
|
|
227
|
-
y: nextY,
|
|
228
|
-
data,
|
|
229
|
-
reset
|
|
230
|
-
} = await fn({
|
|
231
|
-
x,
|
|
232
|
-
y,
|
|
233
|
-
initialPlacement: placement,
|
|
234
|
-
placement: statefulPlacement,
|
|
235
|
-
strategy,
|
|
236
|
-
middlewareData,
|
|
237
|
-
rects,
|
|
238
|
-
platform,
|
|
239
|
-
elements: {
|
|
240
|
-
reference,
|
|
241
|
-
floating
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
x = nextX != null ? nextX : x;
|
|
245
|
-
y = nextY != null ? nextY : y;
|
|
246
|
-
middlewareData = {
|
|
247
|
-
...middlewareData,
|
|
248
|
-
[name]: {
|
|
249
|
-
...middlewareData[name],
|
|
250
|
-
...data
|
|
251
|
-
}
|
|
252
|
-
};
|
|
253
|
-
if (reset && resetCount <= 50) {
|
|
254
|
-
resetCount++;
|
|
255
|
-
if (typeof reset === 'object') {
|
|
256
|
-
if (reset.placement) {
|
|
257
|
-
statefulPlacement = reset.placement;
|
|
258
|
-
}
|
|
259
|
-
if (reset.rects) {
|
|
260
|
-
rects = reset.rects === true ? await platform.getElementRects({
|
|
261
|
-
reference,
|
|
262
|
-
floating,
|
|
263
|
-
strategy
|
|
264
|
-
}) : reset.rects;
|
|
265
|
-
}
|
|
266
|
-
({
|
|
267
|
-
x,
|
|
268
|
-
y
|
|
269
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
270
|
-
}
|
|
271
|
-
i = -1;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
return {
|
|
275
|
-
x,
|
|
276
|
-
y,
|
|
277
|
-
placement: statefulPlacement,
|
|
278
|
-
strategy,
|
|
279
|
-
middlewareData
|
|
280
|
-
};
|
|
281
|
-
};
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
285
|
-
* element is overflowing a given clipping boundary on each side.
|
|
286
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
287
|
-
* - negative = how many pixels left before it will overflow
|
|
288
|
-
* - 0 = lies flush with the boundary
|
|
289
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
290
|
-
*/
|
|
291
|
-
async function detectOverflow(state, options) {
|
|
292
|
-
var _await$platform$isEle;
|
|
293
|
-
if (options === void 0) {
|
|
294
|
-
options = {};
|
|
295
|
-
}
|
|
296
|
-
const {
|
|
297
|
-
x,
|
|
298
|
-
y,
|
|
299
|
-
platform,
|
|
300
|
-
rects,
|
|
301
|
-
elements,
|
|
302
|
-
strategy
|
|
303
|
-
} = state;
|
|
304
|
-
const {
|
|
305
|
-
boundary = 'clippingAncestors',
|
|
306
|
-
rootBoundary = 'viewport',
|
|
307
|
-
elementContext = 'floating',
|
|
308
|
-
altBoundary = false,
|
|
309
|
-
padding = 0
|
|
310
|
-
} = evaluate(options, state);
|
|
311
|
-
const paddingObject = getPaddingObject(padding);
|
|
312
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
313
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
314
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
315
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
316
|
-
boundary,
|
|
317
|
-
rootBoundary,
|
|
318
|
-
strategy
|
|
319
|
-
}));
|
|
320
|
-
const rect = elementContext === 'floating' ? {
|
|
321
|
-
x,
|
|
322
|
-
y,
|
|
323
|
-
width: rects.floating.width,
|
|
324
|
-
height: rects.floating.height
|
|
325
|
-
} : rects.reference;
|
|
326
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
327
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
328
|
-
x: 1,
|
|
329
|
-
y: 1
|
|
330
|
-
} : {
|
|
331
|
-
x: 1,
|
|
332
|
-
y: 1
|
|
333
|
-
};
|
|
334
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
335
|
-
elements,
|
|
336
|
-
rect,
|
|
337
|
-
offsetParent,
|
|
338
|
-
strategy
|
|
339
|
-
}) : rect);
|
|
340
|
-
return {
|
|
341
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
342
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
343
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
344
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Provides data to position an inner element of the floating element so that it
|
|
350
|
-
* appears centered to the reference element.
|
|
351
|
-
* @see https://floating-ui.com/docs/arrow
|
|
352
|
-
*/
|
|
353
|
-
const arrow$1 = options => ({
|
|
354
|
-
name: 'arrow',
|
|
355
|
-
options,
|
|
356
|
-
async fn(state) {
|
|
357
|
-
const {
|
|
358
|
-
x,
|
|
359
|
-
y,
|
|
360
|
-
placement,
|
|
361
|
-
rects,
|
|
362
|
-
platform,
|
|
363
|
-
elements,
|
|
364
|
-
middlewareData
|
|
365
|
-
} = state;
|
|
366
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
367
|
-
const {
|
|
368
|
-
element,
|
|
369
|
-
padding = 0
|
|
370
|
-
} = evaluate(options, state) || {};
|
|
371
|
-
if (element == null) {
|
|
372
|
-
return {};
|
|
373
|
-
}
|
|
374
|
-
const paddingObject = getPaddingObject(padding);
|
|
375
|
-
const coords = {
|
|
376
|
-
x,
|
|
377
|
-
y
|
|
378
|
-
};
|
|
379
|
-
const axis = getAlignmentAxis(placement);
|
|
380
|
-
const length = getAxisLength(axis);
|
|
381
|
-
const arrowDimensions = await platform.getDimensions(element);
|
|
382
|
-
const isYAxis = axis === 'y';
|
|
383
|
-
const minProp = isYAxis ? 'top' : 'left';
|
|
384
|
-
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
385
|
-
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
386
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
387
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
388
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
389
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
390
|
-
|
|
391
|
-
// DOM platform can return `window` as the `offsetParent`.
|
|
392
|
-
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
393
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
394
|
-
}
|
|
395
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
396
|
-
|
|
397
|
-
// If the padding is large enough that it causes the arrow to no longer be
|
|
398
|
-
// centered, modify the padding so that it is centered.
|
|
399
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
400
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
401
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
402
|
-
|
|
403
|
-
// Make sure the arrow doesn't overflow the floating element if the center
|
|
404
|
-
// point is outside the floating element's bounds.
|
|
405
|
-
const min$1 = minPadding;
|
|
406
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
407
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
408
|
-
const offset = clamp(min$1, center, max);
|
|
409
|
-
|
|
410
|
-
// If the reference is small enough that the arrow's padding causes it to
|
|
411
|
-
// to point to nothing for an aligned placement, adjust the offset of the
|
|
412
|
-
// floating element itself. To ensure `shift()` continues to take action,
|
|
413
|
-
// a single reset is performed when this is true.
|
|
414
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
415
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
416
|
-
return {
|
|
417
|
-
[axis]: coords[axis] + alignmentOffset,
|
|
418
|
-
data: {
|
|
419
|
-
[axis]: offset,
|
|
420
|
-
centerOffset: center - offset - alignmentOffset,
|
|
421
|
-
...(shouldAddOffset && {
|
|
422
|
-
alignmentOffset
|
|
423
|
-
})
|
|
424
|
-
},
|
|
425
|
-
reset: shouldAddOffset
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
});
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
432
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
433
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
434
|
-
* @see https://floating-ui.com/docs/flip
|
|
435
|
-
*/
|
|
436
|
-
const flip$1 = function (options) {
|
|
437
|
-
if (options === void 0) {
|
|
438
|
-
options = {};
|
|
439
|
-
}
|
|
440
|
-
return {
|
|
441
|
-
name: 'flip',
|
|
442
|
-
options,
|
|
443
|
-
async fn(state) {
|
|
444
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
|
445
|
-
const {
|
|
446
|
-
placement,
|
|
447
|
-
middlewareData,
|
|
448
|
-
rects,
|
|
449
|
-
initialPlacement,
|
|
450
|
-
platform,
|
|
451
|
-
elements
|
|
452
|
-
} = state;
|
|
453
|
-
const {
|
|
454
|
-
mainAxis: checkMainAxis = true,
|
|
455
|
-
crossAxis: checkCrossAxis = true,
|
|
456
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
457
|
-
fallbackStrategy = 'bestFit',
|
|
458
|
-
fallbackAxisSideDirection = 'none',
|
|
459
|
-
flipAlignment = true,
|
|
460
|
-
...detectOverflowOptions
|
|
461
|
-
} = evaluate(options, state);
|
|
462
|
-
|
|
463
|
-
// If a reset by the arrow was caused due to an alignment offset being
|
|
464
|
-
// added, we should skip any logic now since `flip()` has already done its
|
|
465
|
-
// work.
|
|
466
|
-
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
467
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
468
|
-
return {};
|
|
469
|
-
}
|
|
470
|
-
const side = getSide(placement);
|
|
471
|
-
const initialSideAxis = getSideAxis(initialPlacement);
|
|
472
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
473
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
474
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
475
|
-
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
476
|
-
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
477
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
478
|
-
}
|
|
479
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
|
480
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
481
|
-
const overflows = [];
|
|
482
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
483
|
-
if (checkMainAxis) {
|
|
484
|
-
overflows.push(overflow[side]);
|
|
485
|
-
}
|
|
486
|
-
if (checkCrossAxis) {
|
|
487
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
|
488
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
489
|
-
}
|
|
490
|
-
overflowsData = [...overflowsData, {
|
|
491
|
-
placement,
|
|
492
|
-
overflows
|
|
493
|
-
}];
|
|
494
|
-
|
|
495
|
-
// One or more sides is overflowing.
|
|
496
|
-
if (!overflows.every(side => side <= 0)) {
|
|
497
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
498
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
499
|
-
const nextPlacement = placements[nextIndex];
|
|
500
|
-
if (nextPlacement) {
|
|
501
|
-
// Try next placement and re-run the lifecycle.
|
|
502
|
-
return {
|
|
503
|
-
data: {
|
|
504
|
-
index: nextIndex,
|
|
505
|
-
overflows: overflowsData
|
|
506
|
-
},
|
|
507
|
-
reset: {
|
|
508
|
-
placement: nextPlacement
|
|
509
|
-
}
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
514
|
-
// then find the placement that fits the best on the main crossAxis side.
|
|
515
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
516
|
-
|
|
517
|
-
// Otherwise fallback.
|
|
518
|
-
if (!resetPlacement) {
|
|
519
|
-
switch (fallbackStrategy) {
|
|
520
|
-
case 'bestFit':
|
|
521
|
-
{
|
|
522
|
-
var _overflowsData$filter2;
|
|
523
|
-
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
|
524
|
-
if (hasFallbackAxisSideDirection) {
|
|
525
|
-
const currentSideAxis = getSideAxis(d.placement);
|
|
526
|
-
return currentSideAxis === initialSideAxis ||
|
|
527
|
-
// Create a bias to the `y` side axis due to horizontal
|
|
528
|
-
// reading directions favoring greater width.
|
|
529
|
-
currentSideAxis === 'y';
|
|
530
|
-
}
|
|
531
|
-
return true;
|
|
532
|
-
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
533
|
-
if (placement) {
|
|
534
|
-
resetPlacement = placement;
|
|
535
|
-
}
|
|
536
|
-
break;
|
|
537
|
-
}
|
|
538
|
-
case 'initialPlacement':
|
|
539
|
-
resetPlacement = initialPlacement;
|
|
540
|
-
break;
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
if (placement !== resetPlacement) {
|
|
544
|
-
return {
|
|
545
|
-
reset: {
|
|
546
|
-
placement: resetPlacement
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
return {};
|
|
552
|
-
}
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
function getSideOffsets(overflow, rect) {
|
|
557
|
-
return {
|
|
558
|
-
top: overflow.top - rect.height,
|
|
559
|
-
right: overflow.right - rect.width,
|
|
560
|
-
bottom: overflow.bottom - rect.height,
|
|
561
|
-
left: overflow.left - rect.width
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
function isAnySideFullyClipped(overflow) {
|
|
565
|
-
return sides.some(side => overflow[side] >= 0);
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
569
|
-
* when it is not in the same clipping context as the reference element.
|
|
570
|
-
* @see https://floating-ui.com/docs/hide
|
|
571
|
-
*/
|
|
572
|
-
const hide$1 = function (options) {
|
|
573
|
-
if (options === void 0) {
|
|
574
|
-
options = {};
|
|
575
|
-
}
|
|
576
|
-
return {
|
|
577
|
-
name: 'hide',
|
|
578
|
-
options,
|
|
579
|
-
async fn(state) {
|
|
580
|
-
const {
|
|
581
|
-
rects
|
|
582
|
-
} = state;
|
|
583
|
-
const {
|
|
584
|
-
strategy = 'referenceHidden',
|
|
585
|
-
...detectOverflowOptions
|
|
586
|
-
} = evaluate(options, state);
|
|
587
|
-
switch (strategy) {
|
|
588
|
-
case 'referenceHidden':
|
|
589
|
-
{
|
|
590
|
-
const overflow = await detectOverflow(state, {
|
|
591
|
-
...detectOverflowOptions,
|
|
592
|
-
elementContext: 'reference'
|
|
593
|
-
});
|
|
594
|
-
const offsets = getSideOffsets(overflow, rects.reference);
|
|
595
|
-
return {
|
|
596
|
-
data: {
|
|
597
|
-
referenceHiddenOffsets: offsets,
|
|
598
|
-
referenceHidden: isAnySideFullyClipped(offsets)
|
|
599
|
-
}
|
|
600
|
-
};
|
|
601
|
-
}
|
|
602
|
-
case 'escaped':
|
|
603
|
-
{
|
|
604
|
-
const overflow = await detectOverflow(state, {
|
|
605
|
-
...detectOverflowOptions,
|
|
606
|
-
altBoundary: true
|
|
607
|
-
});
|
|
608
|
-
const offsets = getSideOffsets(overflow, rects.floating);
|
|
609
|
-
return {
|
|
610
|
-
data: {
|
|
611
|
-
escapedOffsets: offsets,
|
|
612
|
-
escaped: isAnySideFullyClipped(offsets)
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
}
|
|
616
|
-
default:
|
|
617
|
-
{
|
|
618
|
-
return {};
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
};
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
function getBoundingRect(rects) {
|
|
626
|
-
const minX = min(...rects.map(rect => rect.left));
|
|
627
|
-
const minY = min(...rects.map(rect => rect.top));
|
|
628
|
-
const maxX = max(...rects.map(rect => rect.right));
|
|
629
|
-
const maxY = max(...rects.map(rect => rect.bottom));
|
|
630
|
-
return {
|
|
631
|
-
x: minX,
|
|
632
|
-
y: minY,
|
|
633
|
-
width: maxX - minX,
|
|
634
|
-
height: maxY - minY
|
|
635
|
-
};
|
|
636
|
-
}
|
|
637
|
-
function getRectsByLine(rects) {
|
|
638
|
-
const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
|
|
639
|
-
const groups = [];
|
|
640
|
-
let prevRect = null;
|
|
641
|
-
for (let i = 0; i < sortedRects.length; i++) {
|
|
642
|
-
const rect = sortedRects[i];
|
|
643
|
-
if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
|
|
644
|
-
groups.push([rect]);
|
|
645
|
-
} else {
|
|
646
|
-
groups[groups.length - 1].push(rect);
|
|
647
|
-
}
|
|
648
|
-
prevRect = rect;
|
|
649
|
-
}
|
|
650
|
-
return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* Provides improved positioning for inline reference elements that can span
|
|
654
|
-
* over multiple lines, such as hyperlinks or range selections.
|
|
655
|
-
* @see https://floating-ui.com/docs/inline
|
|
656
|
-
*/
|
|
657
|
-
const inline$1 = function (options) {
|
|
658
|
-
if (options === void 0) {
|
|
659
|
-
options = {};
|
|
660
|
-
}
|
|
661
|
-
return {
|
|
662
|
-
name: 'inline',
|
|
663
|
-
options,
|
|
664
|
-
async fn(state) {
|
|
665
|
-
const {
|
|
666
|
-
placement,
|
|
667
|
-
elements,
|
|
668
|
-
rects,
|
|
669
|
-
platform,
|
|
670
|
-
strategy
|
|
671
|
-
} = state;
|
|
672
|
-
// A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
|
|
673
|
-
// ClientRect's bounds, despite the event listener being triggered. A
|
|
674
|
-
// padding of 2 seems to handle this issue.
|
|
675
|
-
const {
|
|
676
|
-
padding = 2,
|
|
677
|
-
x,
|
|
678
|
-
y
|
|
679
|
-
} = evaluate(options, state);
|
|
680
|
-
const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
|
|
681
|
-
const clientRects = getRectsByLine(nativeClientRects);
|
|
682
|
-
const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
|
|
683
|
-
const paddingObject = getPaddingObject(padding);
|
|
684
|
-
function getBoundingClientRect() {
|
|
685
|
-
// There are two rects and they are disjoined.
|
|
686
|
-
if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
|
|
687
|
-
// Find the first rect in which the point is fully inside.
|
|
688
|
-
return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
// There are 2 or more connected rects.
|
|
692
|
-
if (clientRects.length >= 2) {
|
|
693
|
-
if (getSideAxis(placement) === 'y') {
|
|
694
|
-
const firstRect = clientRects[0];
|
|
695
|
-
const lastRect = clientRects[clientRects.length - 1];
|
|
696
|
-
const isTop = getSide(placement) === 'top';
|
|
697
|
-
const top = firstRect.top;
|
|
698
|
-
const bottom = lastRect.bottom;
|
|
699
|
-
const left = isTop ? firstRect.left : lastRect.left;
|
|
700
|
-
const right = isTop ? firstRect.right : lastRect.right;
|
|
701
|
-
const width = right - left;
|
|
702
|
-
const height = bottom - top;
|
|
703
|
-
return {
|
|
704
|
-
top,
|
|
705
|
-
bottom,
|
|
706
|
-
left,
|
|
707
|
-
right,
|
|
708
|
-
width,
|
|
709
|
-
height,
|
|
710
|
-
x: left,
|
|
711
|
-
y: top
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
const isLeftSide = getSide(placement) === 'left';
|
|
715
|
-
const maxRight = max(...clientRects.map(rect => rect.right));
|
|
716
|
-
const minLeft = min(...clientRects.map(rect => rect.left));
|
|
717
|
-
const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
|
|
718
|
-
const top = measureRects[0].top;
|
|
719
|
-
const bottom = measureRects[measureRects.length - 1].bottom;
|
|
720
|
-
const left = minLeft;
|
|
721
|
-
const right = maxRight;
|
|
722
|
-
const width = right - left;
|
|
723
|
-
const height = bottom - top;
|
|
724
|
-
return {
|
|
725
|
-
top,
|
|
726
|
-
bottom,
|
|
727
|
-
left,
|
|
728
|
-
right,
|
|
729
|
-
width,
|
|
730
|
-
height,
|
|
731
|
-
x: left,
|
|
732
|
-
y: top
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
return fallback;
|
|
736
|
-
}
|
|
737
|
-
const resetRects = await platform.getElementRects({
|
|
738
|
-
reference: {
|
|
739
|
-
getBoundingClientRect
|
|
740
|
-
},
|
|
741
|
-
floating: elements.floating,
|
|
742
|
-
strategy
|
|
743
|
-
});
|
|
744
|
-
if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
|
|
745
|
-
return {
|
|
746
|
-
reset: {
|
|
747
|
-
rects: resetRects
|
|
748
|
-
}
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
return {};
|
|
752
|
-
}
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
|
|
756
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
757
|
-
// Derivable.
|
|
758
|
-
|
|
759
|
-
async function convertValueToCoords(state, options) {
|
|
760
|
-
const {
|
|
761
|
-
placement,
|
|
762
|
-
platform,
|
|
763
|
-
elements
|
|
764
|
-
} = state;
|
|
765
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
766
|
-
const side = getSide(placement);
|
|
767
|
-
const alignment = getAlignment(placement);
|
|
768
|
-
const isVertical = getSideAxis(placement) === 'y';
|
|
769
|
-
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
770
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
771
|
-
const rawValue = evaluate(options, state);
|
|
772
|
-
|
|
773
|
-
// eslint-disable-next-line prefer-const
|
|
774
|
-
let {
|
|
775
|
-
mainAxis,
|
|
776
|
-
crossAxis,
|
|
777
|
-
alignmentAxis
|
|
778
|
-
} = typeof rawValue === 'number' ? {
|
|
779
|
-
mainAxis: rawValue,
|
|
780
|
-
crossAxis: 0,
|
|
781
|
-
alignmentAxis: null
|
|
782
|
-
} : {
|
|
783
|
-
mainAxis: 0,
|
|
784
|
-
crossAxis: 0,
|
|
785
|
-
alignmentAxis: null,
|
|
786
|
-
...rawValue
|
|
787
|
-
};
|
|
788
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
|
789
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
790
|
-
}
|
|
791
|
-
return isVertical ? {
|
|
792
|
-
x: crossAxis * crossAxisMulti,
|
|
793
|
-
y: mainAxis * mainAxisMulti
|
|
794
|
-
} : {
|
|
795
|
-
x: mainAxis * mainAxisMulti,
|
|
796
|
-
y: crossAxis * crossAxisMulti
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* Modifies the placement by translating the floating element along the
|
|
802
|
-
* specified axes.
|
|
803
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
804
|
-
* object may be passed.
|
|
805
|
-
* @see https://floating-ui.com/docs/offset
|
|
806
|
-
*/
|
|
807
|
-
const offset$1 = function (options) {
|
|
808
|
-
if (options === void 0) {
|
|
809
|
-
options = 0;
|
|
810
|
-
}
|
|
811
|
-
return {
|
|
812
|
-
name: 'offset',
|
|
813
|
-
options,
|
|
814
|
-
async fn(state) {
|
|
815
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
816
|
-
const {
|
|
817
|
-
x,
|
|
818
|
-
y,
|
|
819
|
-
placement,
|
|
820
|
-
middlewareData
|
|
821
|
-
} = state;
|
|
822
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
823
|
-
|
|
824
|
-
// If the placement is the same and the arrow caused an alignment offset
|
|
825
|
-
// then we don't need to change the positioning coordinates.
|
|
826
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
827
|
-
return {};
|
|
828
|
-
}
|
|
829
|
-
return {
|
|
830
|
-
x: x + diffCoords.x,
|
|
831
|
-
y: y + diffCoords.y,
|
|
832
|
-
data: {
|
|
833
|
-
...diffCoords,
|
|
834
|
-
placement
|
|
835
|
-
}
|
|
836
|
-
};
|
|
837
|
-
}
|
|
838
|
-
};
|
|
839
|
-
};
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
843
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
844
|
-
* @see https://floating-ui.com/docs/shift
|
|
845
|
-
*/
|
|
846
|
-
const shift$1 = function (options) {
|
|
847
|
-
if (options === void 0) {
|
|
848
|
-
options = {};
|
|
849
|
-
}
|
|
850
|
-
return {
|
|
851
|
-
name: 'shift',
|
|
852
|
-
options,
|
|
853
|
-
async fn(state) {
|
|
854
|
-
const {
|
|
855
|
-
x,
|
|
856
|
-
y,
|
|
857
|
-
placement
|
|
858
|
-
} = state;
|
|
859
|
-
const {
|
|
860
|
-
mainAxis: checkMainAxis = true,
|
|
861
|
-
crossAxis: checkCrossAxis = false,
|
|
862
|
-
limiter = {
|
|
863
|
-
fn: _ref => {
|
|
864
|
-
let {
|
|
865
|
-
x,
|
|
866
|
-
y
|
|
867
|
-
} = _ref;
|
|
868
|
-
return {
|
|
869
|
-
x,
|
|
870
|
-
y
|
|
871
|
-
};
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
...detectOverflowOptions
|
|
875
|
-
} = evaluate(options, state);
|
|
876
|
-
const coords = {
|
|
877
|
-
x,
|
|
878
|
-
y
|
|
879
|
-
};
|
|
880
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
881
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
882
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
883
|
-
let mainAxisCoord = coords[mainAxis];
|
|
884
|
-
let crossAxisCoord = coords[crossAxis];
|
|
885
|
-
if (checkMainAxis) {
|
|
886
|
-
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
887
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
888
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
889
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
890
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
891
|
-
}
|
|
892
|
-
if (checkCrossAxis) {
|
|
893
|
-
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
894
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
895
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
896
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
897
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
898
|
-
}
|
|
899
|
-
const limitedCoords = limiter.fn({
|
|
900
|
-
...state,
|
|
901
|
-
[mainAxis]: mainAxisCoord,
|
|
902
|
-
[crossAxis]: crossAxisCoord
|
|
903
|
-
});
|
|
904
|
-
return {
|
|
905
|
-
...limitedCoords,
|
|
906
|
-
data: {
|
|
907
|
-
x: limitedCoords.x - x,
|
|
908
|
-
y: limitedCoords.y - y
|
|
909
|
-
}
|
|
910
|
-
};
|
|
911
|
-
}
|
|
912
|
-
};
|
|
913
|
-
};
|
|
914
|
-
|
|
915
|
-
function hasWindow() {
|
|
916
|
-
return typeof window !== 'undefined';
|
|
917
|
-
}
|
|
918
|
-
function getNodeName(node) {
|
|
919
|
-
if (isNode(node)) {
|
|
920
|
-
return (node.nodeName || '').toLowerCase();
|
|
921
|
-
}
|
|
922
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
923
|
-
// returning `#document` an infinite loop won't occur.
|
|
924
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
925
|
-
return '#document';
|
|
926
|
-
}
|
|
927
|
-
function getWindow(node) {
|
|
928
|
-
var _node$ownerDocument;
|
|
929
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
930
|
-
}
|
|
931
|
-
function getDocumentElement(node) {
|
|
932
|
-
var _ref;
|
|
933
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
934
|
-
}
|
|
935
|
-
function isNode(value) {
|
|
936
|
-
if (!hasWindow()) {
|
|
937
|
-
return false;
|
|
938
|
-
}
|
|
939
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
940
|
-
}
|
|
941
|
-
function isElement(value) {
|
|
942
|
-
if (!hasWindow()) {
|
|
943
|
-
return false;
|
|
944
|
-
}
|
|
945
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
946
|
-
}
|
|
947
|
-
function isHTMLElement(value) {
|
|
948
|
-
if (!hasWindow()) {
|
|
949
|
-
return false;
|
|
950
|
-
}
|
|
951
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
952
|
-
}
|
|
953
|
-
function isShadowRoot(value) {
|
|
954
|
-
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
955
|
-
return false;
|
|
956
|
-
}
|
|
957
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
958
|
-
}
|
|
959
|
-
function isOverflowElement(element) {
|
|
960
|
-
const {
|
|
961
|
-
overflow,
|
|
962
|
-
overflowX,
|
|
963
|
-
overflowY,
|
|
964
|
-
display
|
|
965
|
-
} = getComputedStyle(element);
|
|
966
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
967
|
-
}
|
|
968
|
-
function isTableElement(element) {
|
|
969
|
-
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
970
|
-
}
|
|
971
|
-
function isTopLayer(element) {
|
|
972
|
-
return [':popover-open', ':modal'].some(selector => {
|
|
973
|
-
try {
|
|
974
|
-
return element.matches(selector);
|
|
975
|
-
} catch (e) {
|
|
976
|
-
return false;
|
|
977
|
-
}
|
|
978
|
-
});
|
|
979
|
-
}
|
|
980
|
-
function isContainingBlock(elementOrCss) {
|
|
981
|
-
const webkit = isWebKit();
|
|
982
|
-
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
983
|
-
|
|
984
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
985
|
-
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
986
|
-
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
987
|
-
}
|
|
988
|
-
function getContainingBlock(element) {
|
|
989
|
-
let currentNode = getParentNode(element);
|
|
990
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
991
|
-
if (isContainingBlock(currentNode)) {
|
|
992
|
-
return currentNode;
|
|
993
|
-
} else if (isTopLayer(currentNode)) {
|
|
994
|
-
return null;
|
|
995
|
-
}
|
|
996
|
-
currentNode = getParentNode(currentNode);
|
|
997
|
-
}
|
|
998
|
-
return null;
|
|
999
|
-
}
|
|
1000
|
-
function isWebKit() {
|
|
1001
|
-
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
1002
|
-
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1003
|
-
}
|
|
1004
|
-
function isLastTraversableNode(node) {
|
|
1005
|
-
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
1006
|
-
}
|
|
1007
|
-
function getComputedStyle(element) {
|
|
1008
|
-
return getWindow(element).getComputedStyle(element);
|
|
1009
|
-
}
|
|
1010
|
-
function getNodeScroll(element) {
|
|
1011
|
-
if (isElement(element)) {
|
|
1012
|
-
return {
|
|
1013
|
-
scrollLeft: element.scrollLeft,
|
|
1014
|
-
scrollTop: element.scrollTop
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
return {
|
|
1018
|
-
scrollLeft: element.scrollX,
|
|
1019
|
-
scrollTop: element.scrollY
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
function getParentNode(node) {
|
|
1023
|
-
if (getNodeName(node) === 'html') {
|
|
1024
|
-
return node;
|
|
1025
|
-
}
|
|
1026
|
-
const result =
|
|
1027
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
1028
|
-
node.assignedSlot ||
|
|
1029
|
-
// DOM Element detected.
|
|
1030
|
-
node.parentNode ||
|
|
1031
|
-
// ShadowRoot detected.
|
|
1032
|
-
isShadowRoot(node) && node.host ||
|
|
1033
|
-
// Fallback.
|
|
1034
|
-
getDocumentElement(node);
|
|
1035
|
-
return isShadowRoot(result) ? result.host : result;
|
|
1036
|
-
}
|
|
1037
|
-
function getNearestOverflowAncestor(node) {
|
|
1038
|
-
const parentNode = getParentNode(node);
|
|
1039
|
-
if (isLastTraversableNode(parentNode)) {
|
|
1040
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1041
|
-
}
|
|
1042
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1043
|
-
return parentNode;
|
|
1044
|
-
}
|
|
1045
|
-
return getNearestOverflowAncestor(parentNode);
|
|
1046
|
-
}
|
|
1047
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1048
|
-
var _node$ownerDocument2;
|
|
1049
|
-
if (list === void 0) {
|
|
1050
|
-
list = [];
|
|
1051
|
-
}
|
|
1052
|
-
if (traverseIframes === void 0) {
|
|
1053
|
-
traverseIframes = true;
|
|
1054
|
-
}
|
|
1055
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1056
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1057
|
-
const win = getWindow(scrollableAncestor);
|
|
1058
|
-
if (isBody) {
|
|
1059
|
-
const frameElement = getFrameElement(win);
|
|
1060
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
1061
|
-
}
|
|
1062
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1063
|
-
}
|
|
1064
|
-
function getFrameElement(win) {
|
|
1065
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
function getCssDimensions(element) {
|
|
1069
|
-
const css = getComputedStyle(element);
|
|
1070
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
1071
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1072
|
-
let width = parseFloat(css.width) || 0;
|
|
1073
|
-
let height = parseFloat(css.height) || 0;
|
|
1074
|
-
const hasOffset = isHTMLElement(element);
|
|
1075
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1076
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1077
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1078
|
-
if (shouldFallback) {
|
|
1079
|
-
width = offsetWidth;
|
|
1080
|
-
height = offsetHeight;
|
|
1081
|
-
}
|
|
1082
|
-
return {
|
|
1083
|
-
width,
|
|
1084
|
-
height,
|
|
1085
|
-
$: shouldFallback
|
|
1086
|
-
};
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
function unwrapElement(element) {
|
|
1090
|
-
return !isElement(element) ? element.contextElement : element;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
function getScale(element) {
|
|
1094
|
-
const domElement = unwrapElement(element);
|
|
1095
|
-
if (!isHTMLElement(domElement)) {
|
|
1096
|
-
return createCoords(1);
|
|
1097
|
-
}
|
|
1098
|
-
const rect = domElement.getBoundingClientRect();
|
|
1099
|
-
const {
|
|
1100
|
-
width,
|
|
1101
|
-
height,
|
|
1102
|
-
$
|
|
1103
|
-
} = getCssDimensions(domElement);
|
|
1104
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1105
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1106
|
-
|
|
1107
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
1108
|
-
|
|
1109
|
-
if (!x || !Number.isFinite(x)) {
|
|
1110
|
-
x = 1;
|
|
1111
|
-
}
|
|
1112
|
-
if (!y || !Number.isFinite(y)) {
|
|
1113
|
-
y = 1;
|
|
1114
|
-
}
|
|
1115
|
-
return {
|
|
1116
|
-
x,
|
|
1117
|
-
y
|
|
1118
|
-
};
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1122
|
-
function getVisualOffsets(element) {
|
|
1123
|
-
const win = getWindow(element);
|
|
1124
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
1125
|
-
return noOffsets;
|
|
1126
|
-
}
|
|
1127
|
-
return {
|
|
1128
|
-
x: win.visualViewport.offsetLeft,
|
|
1129
|
-
y: win.visualViewport.offsetTop
|
|
1130
|
-
};
|
|
1131
|
-
}
|
|
1132
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1133
|
-
if (isFixed === void 0) {
|
|
1134
|
-
isFixed = false;
|
|
1135
|
-
}
|
|
1136
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1137
|
-
return false;
|
|
1138
|
-
}
|
|
1139
|
-
return isFixed;
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1143
|
-
if (includeScale === void 0) {
|
|
1144
|
-
includeScale = false;
|
|
1145
|
-
}
|
|
1146
|
-
if (isFixedStrategy === void 0) {
|
|
1147
|
-
isFixedStrategy = false;
|
|
1148
|
-
}
|
|
1149
|
-
const clientRect = element.getBoundingClientRect();
|
|
1150
|
-
const domElement = unwrapElement(element);
|
|
1151
|
-
let scale = createCoords(1);
|
|
1152
|
-
if (includeScale) {
|
|
1153
|
-
if (offsetParent) {
|
|
1154
|
-
if (isElement(offsetParent)) {
|
|
1155
|
-
scale = getScale(offsetParent);
|
|
1156
|
-
}
|
|
1157
|
-
} else {
|
|
1158
|
-
scale = getScale(element);
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1162
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1163
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1164
|
-
let width = clientRect.width / scale.x;
|
|
1165
|
-
let height = clientRect.height / scale.y;
|
|
1166
|
-
if (domElement) {
|
|
1167
|
-
const win = getWindow(domElement);
|
|
1168
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1169
|
-
let currentWin = win;
|
|
1170
|
-
let currentIFrame = getFrameElement(currentWin);
|
|
1171
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1172
|
-
const iframeScale = getScale(currentIFrame);
|
|
1173
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1174
|
-
const css = getComputedStyle(currentIFrame);
|
|
1175
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1176
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1177
|
-
x *= iframeScale.x;
|
|
1178
|
-
y *= iframeScale.y;
|
|
1179
|
-
width *= iframeScale.x;
|
|
1180
|
-
height *= iframeScale.y;
|
|
1181
|
-
x += left;
|
|
1182
|
-
y += top;
|
|
1183
|
-
currentWin = getWindow(currentIFrame);
|
|
1184
|
-
currentIFrame = getFrameElement(currentWin);
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
return rectToClientRect({
|
|
1188
|
-
width,
|
|
1189
|
-
height,
|
|
1190
|
-
x,
|
|
1191
|
-
y
|
|
1192
|
-
});
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1196
|
-
// incorrect for RTL.
|
|
1197
|
-
function getWindowScrollBarX(element, rect) {
|
|
1198
|
-
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1199
|
-
if (!rect) {
|
|
1200
|
-
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1201
|
-
}
|
|
1202
|
-
return rect.left + leftScroll;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1206
|
-
if (ignoreScrollbarX === void 0) {
|
|
1207
|
-
ignoreScrollbarX = false;
|
|
1208
|
-
}
|
|
1209
|
-
const htmlRect = documentElement.getBoundingClientRect();
|
|
1210
|
-
const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :
|
|
1211
|
-
// RTL <body> scrollbar.
|
|
1212
|
-
getWindowScrollBarX(documentElement, htmlRect));
|
|
1213
|
-
const y = htmlRect.top + scroll.scrollTop;
|
|
1214
|
-
return {
|
|
1215
|
-
x,
|
|
1216
|
-
y
|
|
1217
|
-
};
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1221
|
-
let {
|
|
1222
|
-
elements,
|
|
1223
|
-
rect,
|
|
1224
|
-
offsetParent,
|
|
1225
|
-
strategy
|
|
1226
|
-
} = _ref;
|
|
1227
|
-
const isFixed = strategy === 'fixed';
|
|
1228
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1229
|
-
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1230
|
-
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1231
|
-
return rect;
|
|
1232
|
-
}
|
|
1233
|
-
let scroll = {
|
|
1234
|
-
scrollLeft: 0,
|
|
1235
|
-
scrollTop: 0
|
|
1236
|
-
};
|
|
1237
|
-
let scale = createCoords(1);
|
|
1238
|
-
const offsets = createCoords(0);
|
|
1239
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1240
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1241
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1242
|
-
scroll = getNodeScroll(offsetParent);
|
|
1243
|
-
}
|
|
1244
|
-
if (isHTMLElement(offsetParent)) {
|
|
1245
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1246
|
-
scale = getScale(offsetParent);
|
|
1247
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1248
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
1252
|
-
return {
|
|
1253
|
-
width: rect.width * scale.x,
|
|
1254
|
-
height: rect.height * scale.y,
|
|
1255
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1256
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1257
|
-
};
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
function getClientRects(element) {
|
|
1261
|
-
return Array.from(element.getClientRects());
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
|
1265
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1266
|
-
function getDocumentRect(element) {
|
|
1267
|
-
const html = getDocumentElement(element);
|
|
1268
|
-
const scroll = getNodeScroll(element);
|
|
1269
|
-
const body = element.ownerDocument.body;
|
|
1270
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1271
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1272
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1273
|
-
const y = -scroll.scrollTop;
|
|
1274
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
1275
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1276
|
-
}
|
|
1277
|
-
return {
|
|
1278
|
-
width,
|
|
1279
|
-
height,
|
|
1280
|
-
x,
|
|
1281
|
-
y
|
|
1282
|
-
};
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
function getViewportRect(element, strategy) {
|
|
1286
|
-
const win = getWindow(element);
|
|
1287
|
-
const html = getDocumentElement(element);
|
|
1288
|
-
const visualViewport = win.visualViewport;
|
|
1289
|
-
let width = html.clientWidth;
|
|
1290
|
-
let height = html.clientHeight;
|
|
1291
|
-
let x = 0;
|
|
1292
|
-
let y = 0;
|
|
1293
|
-
if (visualViewport) {
|
|
1294
|
-
width = visualViewport.width;
|
|
1295
|
-
height = visualViewport.height;
|
|
1296
|
-
const visualViewportBased = isWebKit();
|
|
1297
|
-
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1298
|
-
x = visualViewport.offsetLeft;
|
|
1299
|
-
y = visualViewport.offsetTop;
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
return {
|
|
1303
|
-
width,
|
|
1304
|
-
height,
|
|
1305
|
-
x,
|
|
1306
|
-
y
|
|
1307
|
-
};
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1311
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1312
|
-
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1313
|
-
const top = clientRect.top + element.clientTop;
|
|
1314
|
-
const left = clientRect.left + element.clientLeft;
|
|
1315
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1316
|
-
const width = element.clientWidth * scale.x;
|
|
1317
|
-
const height = element.clientHeight * scale.y;
|
|
1318
|
-
const x = left * scale.x;
|
|
1319
|
-
const y = top * scale.y;
|
|
1320
|
-
return {
|
|
1321
|
-
width,
|
|
1322
|
-
height,
|
|
1323
|
-
x,
|
|
1324
|
-
y
|
|
1325
|
-
};
|
|
1326
|
-
}
|
|
1327
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1328
|
-
let rect;
|
|
1329
|
-
if (clippingAncestor === 'viewport') {
|
|
1330
|
-
rect = getViewportRect(element, strategy);
|
|
1331
|
-
} else if (clippingAncestor === 'document') {
|
|
1332
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1333
|
-
} else if (isElement(clippingAncestor)) {
|
|
1334
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1335
|
-
} else {
|
|
1336
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1337
|
-
rect = {
|
|
1338
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1339
|
-
y: clippingAncestor.y - visualOffsets.y,
|
|
1340
|
-
width: clippingAncestor.width,
|
|
1341
|
-
height: clippingAncestor.height
|
|
1342
|
-
};
|
|
1343
|
-
}
|
|
1344
|
-
return rectToClientRect(rect);
|
|
1345
|
-
}
|
|
1346
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1347
|
-
const parentNode = getParentNode(element);
|
|
1348
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1349
|
-
return false;
|
|
1350
|
-
}
|
|
1351
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1355
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1356
|
-
// of the given element up the tree.
|
|
1357
|
-
function getClippingElementAncestors(element, cache) {
|
|
1358
|
-
const cachedResult = cache.get(element);
|
|
1359
|
-
if (cachedResult) {
|
|
1360
|
-
return cachedResult;
|
|
1361
|
-
}
|
|
1362
|
-
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1363
|
-
let currentContainingBlockComputedStyle = null;
|
|
1364
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1365
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1366
|
-
|
|
1367
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1368
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1369
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
1370
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1371
|
-
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1372
|
-
currentContainingBlockComputedStyle = null;
|
|
1373
|
-
}
|
|
1374
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1375
|
-
if (shouldDropCurrentNode) {
|
|
1376
|
-
// Drop non-containing blocks.
|
|
1377
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1378
|
-
} else {
|
|
1379
|
-
// Record last containing block for next iteration.
|
|
1380
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1381
|
-
}
|
|
1382
|
-
currentNode = getParentNode(currentNode);
|
|
1383
|
-
}
|
|
1384
|
-
cache.set(element, result);
|
|
1385
|
-
return result;
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
// Gets the maximum area that the element is visible in due to any number of
|
|
1389
|
-
// clipping ancestors.
|
|
1390
|
-
function getClippingRect(_ref) {
|
|
1391
|
-
let {
|
|
1392
|
-
element,
|
|
1393
|
-
boundary,
|
|
1394
|
-
rootBoundary,
|
|
1395
|
-
strategy
|
|
1396
|
-
} = _ref;
|
|
1397
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1398
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1399
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
1400
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1401
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1402
|
-
accRect.top = max(rect.top, accRect.top);
|
|
1403
|
-
accRect.right = min(rect.right, accRect.right);
|
|
1404
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1405
|
-
accRect.left = max(rect.left, accRect.left);
|
|
1406
|
-
return accRect;
|
|
1407
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1408
|
-
return {
|
|
1409
|
-
width: clippingRect.right - clippingRect.left,
|
|
1410
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
1411
|
-
x: clippingRect.left,
|
|
1412
|
-
y: clippingRect.top
|
|
1413
|
-
};
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
function getDimensions(element) {
|
|
1417
|
-
const {
|
|
1418
|
-
width,
|
|
1419
|
-
height
|
|
1420
|
-
} = getCssDimensions(element);
|
|
1421
|
-
return {
|
|
1422
|
-
width,
|
|
1423
|
-
height
|
|
1424
|
-
};
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1428
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1429
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1430
|
-
const isFixed = strategy === 'fixed';
|
|
1431
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1432
|
-
let scroll = {
|
|
1433
|
-
scrollLeft: 0,
|
|
1434
|
-
scrollTop: 0
|
|
1435
|
-
};
|
|
1436
|
-
const offsets = createCoords(0);
|
|
1437
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1438
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1439
|
-
scroll = getNodeScroll(offsetParent);
|
|
1440
|
-
}
|
|
1441
|
-
if (isOffsetParentAnElement) {
|
|
1442
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1443
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1444
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1445
|
-
} else if (documentElement) {
|
|
1446
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1447
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1448
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1452
|
-
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1453
|
-
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1454
|
-
return {
|
|
1455
|
-
x,
|
|
1456
|
-
y,
|
|
1457
|
-
width: rect.width,
|
|
1458
|
-
height: rect.height
|
|
1459
|
-
};
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
function isStaticPositioned(element) {
|
|
1463
|
-
return getComputedStyle(element).position === 'static';
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1467
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1468
|
-
return null;
|
|
1469
|
-
}
|
|
1470
|
-
if (polyfill) {
|
|
1471
|
-
return polyfill(element);
|
|
1472
|
-
}
|
|
1473
|
-
let rawOffsetParent = element.offsetParent;
|
|
1474
|
-
|
|
1475
|
-
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
1476
|
-
// while Chrome and Safari return the <body> element. The <body> element must
|
|
1477
|
-
// be used to perform the correct calculations even if the <html> element is
|
|
1478
|
-
// non-static.
|
|
1479
|
-
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1480
|
-
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1481
|
-
}
|
|
1482
|
-
return rawOffsetParent;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1486
|
-
// such as table ancestors and cross browser bugs.
|
|
1487
|
-
function getOffsetParent(element, polyfill) {
|
|
1488
|
-
const win = getWindow(element);
|
|
1489
|
-
if (isTopLayer(element)) {
|
|
1490
|
-
return win;
|
|
1491
|
-
}
|
|
1492
|
-
if (!isHTMLElement(element)) {
|
|
1493
|
-
let svgOffsetParent = getParentNode(element);
|
|
1494
|
-
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1495
|
-
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1496
|
-
return svgOffsetParent;
|
|
1497
|
-
}
|
|
1498
|
-
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1499
|
-
}
|
|
1500
|
-
return win;
|
|
1501
|
-
}
|
|
1502
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1503
|
-
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1504
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1505
|
-
}
|
|
1506
|
-
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1507
|
-
return win;
|
|
1508
|
-
}
|
|
1509
|
-
return offsetParent || getContainingBlock(element) || win;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
const getElementRects = async function (data) {
|
|
1513
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1514
|
-
const getDimensionsFn = this.getDimensions;
|
|
1515
|
-
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1516
|
-
return {
|
|
1517
|
-
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1518
|
-
floating: {
|
|
1519
|
-
x: 0,
|
|
1520
|
-
y: 0,
|
|
1521
|
-
width: floatingDimensions.width,
|
|
1522
|
-
height: floatingDimensions.height
|
|
1523
|
-
}
|
|
1524
|
-
};
|
|
1525
|
-
};
|
|
1526
|
-
|
|
1527
|
-
function isRTL(element) {
|
|
1528
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
const platform = {
|
|
1532
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1533
|
-
getDocumentElement,
|
|
1534
|
-
getClippingRect,
|
|
1535
|
-
getOffsetParent,
|
|
1536
|
-
getElementRects,
|
|
1537
|
-
getClientRects,
|
|
1538
|
-
getDimensions,
|
|
1539
|
-
getScale,
|
|
1540
|
-
isElement,
|
|
1541
|
-
isRTL
|
|
1542
|
-
};
|
|
1543
|
-
|
|
1544
|
-
function rectsAreEqual(a, b) {
|
|
1545
|
-
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
// https://samthor.au/2021/observing-dom/
|
|
1549
|
-
function observeMove(element, onMove) {
|
|
1550
|
-
let io = null;
|
|
1551
|
-
let timeoutId;
|
|
1552
|
-
const root = getDocumentElement(element);
|
|
1553
|
-
function cleanup() {
|
|
1554
|
-
var _io;
|
|
1555
|
-
clearTimeout(timeoutId);
|
|
1556
|
-
(_io = io) == null || _io.disconnect();
|
|
1557
|
-
io = null;
|
|
1558
|
-
}
|
|
1559
|
-
function refresh(skip, threshold) {
|
|
1560
|
-
if (skip === void 0) {
|
|
1561
|
-
skip = false;
|
|
1562
|
-
}
|
|
1563
|
-
if (threshold === void 0) {
|
|
1564
|
-
threshold = 1;
|
|
1565
|
-
}
|
|
1566
|
-
cleanup();
|
|
1567
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1568
|
-
const {
|
|
1569
|
-
left,
|
|
1570
|
-
top,
|
|
1571
|
-
width,
|
|
1572
|
-
height
|
|
1573
|
-
} = elementRectForRootMargin;
|
|
1574
|
-
if (!skip) {
|
|
1575
|
-
onMove();
|
|
1576
|
-
}
|
|
1577
|
-
if (!width || !height) {
|
|
1578
|
-
return;
|
|
1579
|
-
}
|
|
1580
|
-
const insetTop = floor(top);
|
|
1581
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1582
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1583
|
-
const insetLeft = floor(left);
|
|
1584
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1585
|
-
const options = {
|
|
1586
|
-
rootMargin,
|
|
1587
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1588
|
-
};
|
|
1589
|
-
let isFirstUpdate = true;
|
|
1590
|
-
function handleObserve(entries) {
|
|
1591
|
-
const ratio = entries[0].intersectionRatio;
|
|
1592
|
-
if (ratio !== threshold) {
|
|
1593
|
-
if (!isFirstUpdate) {
|
|
1594
|
-
return refresh();
|
|
1595
|
-
}
|
|
1596
|
-
if (!ratio) {
|
|
1597
|
-
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
1598
|
-
// to prevent an infinite loop of updates.
|
|
1599
|
-
timeoutId = setTimeout(() => {
|
|
1600
|
-
refresh(false, 1e-7);
|
|
1601
|
-
}, 1000);
|
|
1602
|
-
} else {
|
|
1603
|
-
refresh(false, ratio);
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1607
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
1608
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
1609
|
-
// area anymore. This can happen under performance constraints. This may
|
|
1610
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
1611
|
-
// work around this, we compare the element's bounding rect now with
|
|
1612
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
1613
|
-
// are not equal then the element moved, so we refresh.
|
|
1614
|
-
refresh();
|
|
1615
|
-
}
|
|
1616
|
-
isFirstUpdate = false;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
1620
|
-
// error.
|
|
1621
|
-
try {
|
|
1622
|
-
io = new IntersectionObserver(handleObserve, {
|
|
1623
|
-
...options,
|
|
1624
|
-
// Handle <iframe>s
|
|
1625
|
-
root: root.ownerDocument
|
|
1626
|
-
});
|
|
1627
|
-
} catch (e) {
|
|
1628
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1629
|
-
}
|
|
1630
|
-
io.observe(element);
|
|
1631
|
-
}
|
|
1632
|
-
refresh(true);
|
|
1633
|
-
return cleanup;
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* Automatically updates the position of the floating element when necessary.
|
|
1638
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
1639
|
-
* visible on the screen.
|
|
1640
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
1641
|
-
* removed from the DOM or hidden from the screen.
|
|
1642
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
1643
|
-
*/
|
|
1644
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1645
|
-
if (options === void 0) {
|
|
1646
|
-
options = {};
|
|
1647
|
-
}
|
|
1648
|
-
const {
|
|
1649
|
-
ancestorScroll = true,
|
|
1650
|
-
ancestorResize = true,
|
|
1651
|
-
elementResize = typeof ResizeObserver === 'function',
|
|
1652
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
|
1653
|
-
animationFrame = false
|
|
1654
|
-
} = options;
|
|
1655
|
-
const referenceEl = unwrapElement(reference);
|
|
1656
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1657
|
-
ancestors.forEach(ancestor => {
|
|
1658
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1659
|
-
passive: true
|
|
1660
|
-
});
|
|
1661
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1662
|
-
});
|
|
1663
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1664
|
-
let reobserveFrame = -1;
|
|
1665
|
-
let resizeObserver = null;
|
|
1666
|
-
if (elementResize) {
|
|
1667
|
-
resizeObserver = new ResizeObserver(_ref => {
|
|
1668
|
-
let [firstEntry] = _ref;
|
|
1669
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1670
|
-
// Prevent update loops when using the `size` middleware.
|
|
1671
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1672
|
-
resizeObserver.unobserve(floating);
|
|
1673
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1674
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1675
|
-
var _resizeObserver;
|
|
1676
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1677
|
-
});
|
|
1678
|
-
}
|
|
1679
|
-
update();
|
|
1680
|
-
});
|
|
1681
|
-
if (referenceEl && !animationFrame) {
|
|
1682
|
-
resizeObserver.observe(referenceEl);
|
|
1683
|
-
}
|
|
1684
|
-
resizeObserver.observe(floating);
|
|
1685
|
-
}
|
|
1686
|
-
let frameId;
|
|
1687
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1688
|
-
if (animationFrame) {
|
|
1689
|
-
frameLoop();
|
|
1690
|
-
}
|
|
1691
|
-
function frameLoop() {
|
|
1692
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1693
|
-
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1694
|
-
update();
|
|
1695
|
-
}
|
|
1696
|
-
prevRefRect = nextRefRect;
|
|
1697
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1698
|
-
}
|
|
1699
|
-
update();
|
|
1700
|
-
return () => {
|
|
1701
|
-
var _resizeObserver2;
|
|
1702
|
-
ancestors.forEach(ancestor => {
|
|
1703
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1704
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1705
|
-
});
|
|
1706
|
-
cleanupIo == null || cleanupIo();
|
|
1707
|
-
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1708
|
-
resizeObserver = null;
|
|
1709
|
-
if (animationFrame) {
|
|
1710
|
-
cancelAnimationFrame(frameId);
|
|
1711
|
-
}
|
|
1712
|
-
};
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* Modifies the placement by translating the floating element along the
|
|
1717
|
-
* specified axes.
|
|
1718
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1719
|
-
* object may be passed.
|
|
1720
|
-
* @see https://floating-ui.com/docs/offset
|
|
1721
|
-
*/
|
|
1722
|
-
const offset = offset$1;
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1726
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
1727
|
-
* @see https://floating-ui.com/docs/shift
|
|
1728
|
-
*/
|
|
1729
|
-
const shift = shift$1;
|
|
1730
|
-
|
|
1731
|
-
/**
|
|
1732
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1733
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1734
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
1735
|
-
* @see https://floating-ui.com/docs/flip
|
|
1736
|
-
*/
|
|
1737
|
-
const flip = flip$1;
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
1741
|
-
* when it is not in the same clipping context as the reference element.
|
|
1742
|
-
* @see https://floating-ui.com/docs/hide
|
|
1743
|
-
*/
|
|
1744
|
-
const hide = hide$1;
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* Provides data to position an inner element of the floating element so that it
|
|
1748
|
-
* appears centered to the reference element.
|
|
1749
|
-
* @see https://floating-ui.com/docs/arrow
|
|
1750
|
-
*/
|
|
1751
|
-
const arrow = arrow$1;
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* Provides improved positioning for inline reference elements that can span
|
|
1755
|
-
* over multiple lines, such as hyperlinks or range selections.
|
|
1756
|
-
* @see https://floating-ui.com/docs/inline
|
|
1757
|
-
*/
|
|
1758
|
-
const inline = inline$1;
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1762
|
-
* next to a given reference element.
|
|
1763
|
-
*/
|
|
1764
|
-
const computePosition = (reference, floating, options) => {
|
|
1765
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1766
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1767
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
1768
|
-
const cache = new Map();
|
|
1769
|
-
const mergedOptions = {
|
|
1770
|
-
platform,
|
|
1771
|
-
...options
|
|
1772
|
-
};
|
|
1773
|
-
const platformWithCache = {
|
|
1774
|
-
...mergedOptions.platform,
|
|
1775
|
-
_c: cache
|
|
1776
|
-
};
|
|
1777
|
-
return computePosition$1(reference, floating, {
|
|
1778
|
-
...mergedOptions,
|
|
1779
|
-
platform: platformWithCache
|
|
1780
|
-
});
|
|
1781
|
-
};
|
|
1782
|
-
|
|
1783
|
-
export { autoUpdate as a, arrow as b, computePosition as c, flip as f, hide as h, inline as i, offset as o, shift as s };
|
|
1784
|
-
//# sourceMappingURL=p-CAqtPJ4-.js.map
|
|
1785
|
-
|
|
1786
|
-
//# sourceMappingURL=p-CAqtPJ4-.js.map
|