@siemens/ix 0.0.0-pr-2155-20250924075220 → 0.0.0-pr-2166-20251001083917
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/components/index.js +1 -1
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +4 -4
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-basic-navigation.js +6 -6
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +9 -9
- package/components/ix-breadcrumb.js.map +1 -1
- package/components/ix-card-list.js +8 -8
- package/components/ix-card-list.js.map +1 -1
- package/components/ix-category-filter.js +14 -23
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +4 -4
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +12 -13
- package/components/ix-chip.js.map +1 -1
- package/components/ix-content-header.js +2 -2
- package/components/ix-custom-field.js +4 -4
- package/components/ix-date-dropdown.js +18 -18
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/ix-date-input.js +10 -10
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +12 -33
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-drawer.js +7 -6
- package/components/ix-drawer.js.map +1 -1
- package/components/ix-dropdown-button.js +2 -2
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js.map +1 -1
- package/components/ix-event-list.js +4 -4
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-expanding-search.js +1 -1
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile.js +1 -1
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +23 -23
- package/components/ix-group.js.map +1 -1
- package/components/ix-helper-text.js +2 -2
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input.js +9 -9
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation-overlay.js +1 -1
- package/components/ix-map-navigation.js +9 -8
- package/components/ix-map-navigation.js.map +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +8 -8
- package/components/ix-menu-about-news.js.map +1 -1
- package/components/ix-menu-about.js +2 -2
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +12 -12
- package/components/ix-menu-avatar.js.map +1 -1
- package/components/ix-menu-category.js +9 -9
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +29 -29
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +6 -8
- package/components/ix-message-bar.js.map +1 -1
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +16 -16
- package/components/ix-modal.js.map +1 -1
- package/components/ix-number-input.js +11 -11
- package/components/ix-pagination.js +20 -21
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +9 -9
- package/components/ix-pane.js.map +1 -1
- package/components/ix-pill.js +2 -2
- package/components/ix-progress-indicator.js +2 -2
- package/components/ix-push-card.js +5 -5
- package/components/ix-push-card.js.map +1 -1
- package/components/ix-radio-group.js +4 -4
- package/components/ix-radio.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +3 -3
- package/components/ix-slider.js.map +1 -1
- package/components/ix-split-button.js +2 -2
- package/components/ix-textarea.js +6 -6
- package/components/ix-time-input.js +9 -9
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +8 -8
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle.js +4 -4
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +2 -2
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +5 -5
- package/components/ix-upload.js.map +1 -1
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/{p-BFuOBAQB.js → p-7-Wnr7e5.js} +6 -12
- package/components/p-7-Wnr7e5.js.map +1 -0
- package/components/{p-DG42PUVX.js → p-BLcKiU45.js} +3 -3
- package/components/{p-DG42PUVX.js.map → p-BLcKiU45.js.map} +1 -1
- package/components/{p-DJ6v85WG.js → p-BNYHD56q.js} +23 -23
- package/components/p-BNYHD56q.js.map +1 -0
- package/components/{p-Dauav1c7.js → p-BU9xngEb.js} +7 -7
- package/components/{p-Dauav1c7.js.map → p-BU9xngEb.js.map} +1 -1
- package/components/{p-DRlGkOeX.js → p-Ba6JlSP8.js} +5 -5
- package/components/{p-DRlGkOeX.js.map → p-Ba6JlSP8.js.map} +1 -1
- package/components/{p-BSiqAMAr.js → p-Baga5bu5.js} +6 -6
- package/components/{p-BSiqAMAr.js.map → p-Baga5bu5.js.map} +1 -1
- package/components/{p-B3IsQckh.js → p-Bc15ecXv.js} +12 -12
- package/components/p-Bc15ecXv.js.map +1 -0
- package/components/{p-CGPMGyof.js → p-BmLRwuMH.js} +5 -6
- package/components/p-BmLRwuMH.js.map +1 -0
- package/components/{p-B5cVFUyk.js → p-BruPthTZ.js} +15 -69
- package/components/p-BruPthTZ.js.map +1 -0
- package/components/{p-BrgHqrnH.js → p-C4MK63gz.js} +3 -3
- package/components/{p-BrgHqrnH.js.map → p-C4MK63gz.js.map} +1 -1
- package/components/{p-CrIOsOo-.js → p-C8wXJCK3.js} +3 -3
- package/components/{p-CrIOsOo-.js.map → p-C8wXJCK3.js.map} +1 -1
- package/components/{p-GkRC08qs.js → p-CfOUCcs9.js} +3 -3
- package/components/{p-GkRC08qs.js.map → p-CfOUCcs9.js.map} +1 -1
- package/{dist/esm/floating-ui.dom-CAqtPJ4-.js → components/p-CiSM2A9Q.js} +102 -3
- package/components/p-CiSM2A9Q.js.map +1 -0
- package/components/{p-BpW9tS2k.js → p-Cx5H0GeI.js} +21 -21
- package/components/p-Cx5H0GeI.js.map +1 -0
- package/components/{p-C3irznVN.js → p-D3ZlTDAF.js} +3 -3
- package/components/{p-C3irznVN.js.map → p-D3ZlTDAF.js.map} +1 -1
- package/components/{p-CwwKrs4u.js → p-DE74-VWH.js} +9 -9
- package/components/p-DE74-VWH.js.map +1 -0
- package/components/{p-Bquk45CV.js → p-DLcItN6d.js} +3 -3
- package/components/{p-Bquk45CV.js.map → p-DLcItN6d.js.map} +1 -1
- package/components/{p-BybP_RcT.js → p-DOGuJxKg.js} +5 -5
- package/components/{p-BybP_RcT.js.map → p-DOGuJxKg.js.map} +1 -1
- package/components/{p-DZNnQyWO.js → p-DSF854K6.js} +3 -4
- package/components/p-DSF854K6.js.map +1 -0
- package/components/p-DVPJHakC.js +78 -0
- package/components/p-DVPJHakC.js.map +1 -0
- package/components/{p-C-7UhkWz.js → p-DaR6pX8w.js} +8 -8
- package/components/{p-C-7UhkWz.js.map → p-DaR6pX8w.js.map} +1 -1
- package/components/{p-8MS-omi7.js → p-DklPCkRW.js} +3 -3
- package/components/{p-8MS-omi7.js.map → p-DklPCkRW.js.map} +1 -1
- package/components/{p-BeegOhta.js → p-Fbu6eUjk.js} +4 -4
- package/components/{p-BeegOhta.js.map → p-Fbu6eUjk.js.map} +1 -1
- package/components/{p-ma_KYqKk.js → p-bBkFZC8X.js} +3 -3
- package/components/{p-ma_KYqKk.js.map → p-bBkFZC8X.js.map} +1 -1
- package/components/{p-CzzcLSmV.js → p-gkooEHol.js} +4 -4
- package/components/p-gkooEHol.js.map +1 -0
- package/components/{p-ClGItuSn.js → p-ts3VxLYi.js} +5 -5
- package/components/{p-ClGItuSn.js.map → p-ts3VxLYi.js.map} +1 -1
- package/components/{p-CMk-tLmg.js → p-uiKHewyI.js} +4 -4
- package/components/{p-CMk-tLmg.js.map → p-uiKHewyI.js.map} +1 -1
- package/components/{p-fDEynhA5.js → p-w319yPRv.js} +5 -5
- package/components/{p-fDEynhA5.js.map → p-w319yPRv.js.map} +1 -1
- package/dist/cjs/{floating-ui.dom-CMzYsRR7.js → find-element-BNZJcvT8.js} +103 -2
- package/dist/cjs/find-element-BNZJcvT8.js.map +1 -0
- package/dist/cjs/index-DuDLgBnw.js +0 -8
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +1 -1
- package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +7 -7
- package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +6 -6
- package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-card-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +9 -17
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +8 -9
- package/dist/cjs/ix-chip.entry.cjs.js.map +1 -1
- 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 +18 -18
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -11
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -8
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +3 -21
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +6 -5
- package/dist/cjs/ix-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +7 -8
- package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-event-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-group-context-menu.ix-group-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +18 -5
- package/dist/cjs/ix-group.cjs.entry.js +18 -18
- package/dist/cjs/ix-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +4 -4
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -2
- package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about-news.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +18 -17
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +4 -6
- package/dist/cjs/ix-message-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +13 -13
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-pagination.cjs.entry.js +8 -9
- package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +7 -7
- package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +8 -8
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +1 -1
- package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ix-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +10 -58
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +4 -4
- package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ix-tooltip.cjs.entry.js +9 -10
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-upload.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{service-FGbUpQQM.js → service-DuiJmf7R.js} +4 -4
- package/dist/cjs/service-DuiJmf7R.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +9 -9
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +16 -16
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/card-list/card-list.js +6 -6
- package/dist/collection/components/card-list/card-list.js.map +1 -1
- package/dist/collection/components/category-filter/category-filter.js +15 -46
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.js +12 -13
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +19 -19
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +2 -2
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +23 -23
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js +5 -30
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +8 -95
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +6 -5
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/event-list/event-list.js +6 -6
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/group/group.css +12 -0
- package/dist/collection/components/group/group.js +23 -23
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group-item/group-item.css +22 -6
- package/dist/collection/components/group-item/group-item.js +44 -8
- package/dist/collection/components/group-item/group-item.js.map +1 -1
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- 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 +2 -2
- package/dist/collection/components/key-value/key-value.js +1 -1
- 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 +3 -2
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- 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 +28 -47
- package/dist/collection/components/menu/menu.js.map +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 +7 -7
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js +10 -10
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- 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 +4 -4
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +11 -16
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.js +29 -29
- package/dist/collection/components/modal/modal.js.map +1 -1
- 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 +18 -19
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane/pane.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +7 -7
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/select/select.js +12 -12
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/slider/slider.css +3 -3
- package/dist/collection/components/time-input/time-input.js +1 -1
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.js +14 -199
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- 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-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.js +7 -7
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/toggle.js +3 -3
- 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 +1 -1
- package/dist/collection/components/upload/upload.js +5 -5
- package/dist/collection/components/upload/upload.js.map +1 -1
- package/dist/collection/components/utils/application-layout/service.js +2 -2
- package/dist/collection/components/utils/application-layout/service.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js +1 -1
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/tests/utils/test/page.js +2 -2
- package/dist/collection/tests/utils/test/page.js.map +1 -1
- package/{components/p-CAqtPJ4-.js → dist/esm/find-element-CiSM2A9Q.js} +102 -3
- package/dist/esm/find-element-CiSM2A9Q.js.map +1 -0
- package/dist/esm/index-DGODjp4O.js +0 -8
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +1 -1
- package/dist/esm/ix-application.entry.js +1 -1
- package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +7 -7
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +6 -6
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +4 -4
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +9 -17
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +8 -9
- package/dist/esm/ix-chip.entry.js.map +1 -1
- 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 +18 -18
- package/dist/esm/ix-date-dropdown.entry.js +11 -11
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +2 -2
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +3 -8
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +3 -21
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-drawer.entry.js +6 -5
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown.entry.js +1 -2
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js.map +1 -1
- package/dist/esm/ix-event-list.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu.ix-group-item.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +18 -5
- package/dist/esm/ix-group.entry.js +19 -19
- package/dist/esm/ix-group.entry.js.map +1 -1
- package/dist/esm/ix-helper-text.entry.js +1 -1
- package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +4 -4
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +3 -3
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +3 -2
- package/dist/esm/ix-map-navigation.entry.js.map +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +5 -5
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
- package/dist/esm/ix-menu-item.entry.js +4 -4
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +18 -17
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +4 -6
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +13 -13
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +6 -6
- package/dist/esm/ix-pagination.entry.js +8 -9
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +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-push-card.entry.js +3 -3
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +8 -8
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +1 -1
- package/dist/esm/ix-slider.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +2 -2
- package/dist/esm/ix-time-input.entry.js +1 -1
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +10 -58
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +5 -5
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +4 -4
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +3 -3
- package/dist/esm/ix-tooltip.entry.js +2 -3
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{service-ktcE7NzB.js → service-Da0kv8hS.js} +4 -4
- package/dist/esm/service-Da0kv8hS.js.map +1 -0
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-avatar.ix-menu-avatar-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-chip.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-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-drawer.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-event-list-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-event-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-group-context-menu.ix-group-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-group.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-map-navigation.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-about-news.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-slider.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-toast.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-upload.entry.esm.js.map +1 -1
- package/dist/siemens-ix/{p-90bd8d7b.entry.js → p-0ba7d263.entry.js} +2 -2
- package/dist/siemens-ix/{p-f455c56a.entry.js → p-111687a2.entry.js} +2 -2
- package/dist/siemens-ix/{p-c418674c.entry.js → p-13fb0104.entry.js} +2 -2
- package/dist/siemens-ix/{p-c418674c.entry.js.map → p-13fb0104.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-8b3cfb2d.entry.js → p-1ac88556.entry.js} +2 -2
- package/dist/siemens-ix/{p-95d4d849.entry.js → p-1bd1380b.entry.js} +2 -2
- package/dist/siemens-ix/{p-5849a210.entry.js → p-1cd4280f.entry.js} +2 -2
- package/dist/siemens-ix/{p-48b0fef4.entry.js → p-2041357d.entry.js} +2 -2
- package/dist/siemens-ix/{p-fbd896c5.entry.js → p-21106fcd.entry.js} +2 -2
- package/dist/siemens-ix/p-21106fcd.entry.js.map +1 -0
- package/dist/siemens-ix/{p-52dc3ba0.entry.js → p-28fe8512.entry.js} +2 -2
- package/dist/siemens-ix/{p-4263f3b6.entry.js → p-2b046df5.entry.js} +2 -2
- package/dist/siemens-ix/{p-71e94914.entry.js → p-32203c19.entry.js} +2 -2
- package/dist/siemens-ix/p-32203c19.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1b2e4b8f.entry.js → p-331f1b60.entry.js} +2 -2
- package/dist/siemens-ix/{p-99ad8022.entry.js → p-38f9b6e2.entry.js} +2 -2
- package/dist/siemens-ix/p-38f9b6e2.entry.js.map +1 -0
- package/dist/siemens-ix/p-3f06687e.entry.js +2 -0
- package/dist/siemens-ix/p-3f06687e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-92032674.entry.js → p-566a58f4.entry.js} +2 -2
- package/dist/siemens-ix/p-566a58f4.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d48f9cb.entry.js +2 -0
- package/dist/siemens-ix/p-5d48f9cb.entry.js.map +1 -0
- package/dist/siemens-ix/p-5f7943f2.entry.js +2 -0
- package/dist/siemens-ix/{p-d0d972c2.entry.js.map → p-5f7943f2.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-85727880.entry.js → p-639d0d7f.entry.js} +2 -2
- package/dist/siemens-ix/p-639d0d7f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-faa47c0e.entry.js → p-6645d4ee.entry.js} +2 -2
- package/dist/siemens-ix/p-670d5b84.entry.js +2 -0
- package/dist/siemens-ix/p-670d5b84.entry.js.map +1 -0
- package/dist/siemens-ix/{p-eba51393.entry.js → p-7060645f.entry.js} +2 -2
- package/dist/siemens-ix/p-71a38f35.entry.js +2 -0
- package/dist/siemens-ix/{p-416886d6.entry.js → p-75edf091.entry.js} +2 -2
- package/dist/siemens-ix/p-75edf091.entry.js.map +1 -0
- package/dist/siemens-ix/{p-81c8d542.entry.js → p-75f4bbb1.entry.js} +2 -2
- package/dist/siemens-ix/{p-03c6893a.entry.js → p-78797f4b.entry.js} +2 -2
- package/dist/siemens-ix/p-78797f4b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-09cce59e.entry.js → p-800f59a7.entry.js} +2 -2
- package/dist/siemens-ix/p-800f59a7.entry.js.map +1 -0
- package/dist/siemens-ix/p-86ac2254.entry.js +2 -0
- package/dist/siemens-ix/p-86ac2254.entry.js.map +1 -0
- package/dist/siemens-ix/p-8bd3f89a.entry.js +2 -0
- package/dist/siemens-ix/p-8bd3f89a.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a76a69fb.entry.js → p-8c612656.entry.js} +2 -2
- package/dist/siemens-ix/{p-5140e6e6.entry.js → p-91fa3ab0.entry.js} +2 -2
- package/dist/siemens-ix/{p-f29eaee8.entry.js → p-9272ae83.entry.js} +2 -2
- package/dist/siemens-ix/{p-c8cf26c5.entry.js → p-96533ffc.entry.js} +2 -2
- package/dist/siemens-ix/p-96533ffc.entry.js.map +1 -0
- package/dist/siemens-ix/p-98ab64dc.entry.js +2 -0
- package/dist/siemens-ix/p-98ab64dc.entry.js.map +1 -0
- package/dist/siemens-ix/p-9a8188a7.entry.js +2 -0
- package/dist/siemens-ix/p-9a8188a7.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f6d678a6.entry.js → p-9b88a932.entry.js} +2 -2
- package/dist/siemens-ix/{p-7a108b0d.entry.js → p-9dbfd7cd.entry.js} +2 -2
- package/dist/siemens-ix/p-CiSM2A9Q.js +2 -0
- package/dist/siemens-ix/p-CiSM2A9Q.js.map +1 -0
- package/dist/siemens-ix/p-a6612a5b.entry.js +2 -0
- package/dist/siemens-ix/{p-00a10004.entry.js → p-a7cb47ca.entry.js} +2 -2
- package/dist/siemens-ix/p-a7cb47ca.entry.js.map +1 -0
- package/dist/siemens-ix/p-ac1f35ad.entry.js +2 -0
- package/dist/siemens-ix/p-ac1f35ad.entry.js.map +1 -0
- package/dist/siemens-ix/{p-4b88c430.entry.js → p-ae2e5e0c.entry.js} +2 -2
- package/dist/siemens-ix/{p-4b88c430.entry.js.map → p-ae2e5e0c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6c2818da.entry.js → p-b895b3db.entry.js} +2 -2
- package/dist/siemens-ix/p-b895b3db.entry.js.map +1 -0
- package/dist/siemens-ix/{p-cd11dfa8.entry.js → p-bb878ea4.entry.js} +2 -2
- package/dist/siemens-ix/p-bc7fc8b2.entry.js +2 -0
- package/dist/siemens-ix/p-bc7fc8b2.entry.js.map +1 -0
- package/dist/siemens-ix/{p-0469aec7.entry.js → p-bf2374a0.entry.js} +2 -2
- package/dist/siemens-ix/p-c10b2e40.entry.js +2 -0
- package/dist/siemens-ix/{p-5c109476.entry.js → p-c248940f.entry.js} +2 -2
- package/dist/siemens-ix/{p-162a1f2e.entry.js → p-c31b2027.entry.js} +2 -2
- package/dist/siemens-ix/{p-162a1f2e.entry.js.map → p-c31b2027.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-8eee6a03.entry.js → p-c413e3c4.entry.js} +2 -2
- package/dist/siemens-ix/{p-746b04cb.entry.js → p-c6ecc2e3.entry.js} +2 -2
- package/dist/siemens-ix/{p-01656234.entry.js → p-c949686e.entry.js} +2 -2
- package/dist/siemens-ix/{p-b6dad40c.entry.js → p-d0213ff0.entry.js} +2 -2
- package/dist/siemens-ix/{p-8e48a7a1.entry.js → p-d1254b5b.entry.js} +2 -2
- package/dist/siemens-ix/{p-a0d7af11.entry.js → p-d585e581.entry.js} +2 -2
- package/dist/siemens-ix/p-d6b9e253.entry.js +2 -0
- package/dist/siemens-ix/{p-30df3f84.entry.js.map → p-d6b9e253.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-dd82ebbc.entry.js → p-d7c7d38b.entry.js} +2 -2
- package/dist/siemens-ix/{p-c446ffdb.entry.js → p-db02f4c2.entry.js} +2 -2
- package/dist/siemens-ix/{p-4573a8de.entry.js → p-e201fa04.entry.js} +2 -2
- package/dist/siemens-ix/{p-4573a8de.entry.js.map → p-e201fa04.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6a39d630.entry.js → p-e3a219e3.entry.js} +2 -2
- package/dist/siemens-ix/{p-bd369344.entry.js → p-e55cd52b.entry.js} +2 -2
- package/dist/siemens-ix/p-ea435816.entry.js +2 -0
- package/dist/siemens-ix/p-ea435816.entry.js.map +1 -0
- package/dist/siemens-ix/{p-14fca48a.entry.js → p-f14790b4.entry.js} +2 -2
- package/dist/siemens-ix/{p-53e82da9.entry.js → p-fbd0973d.entry.js} +2 -2
- package/dist/siemens-ix/p-fbd0973d.entry.js.map +1 -0
- package/dist/siemens-ix/p-fbedad11.entry.js +2 -0
- package/dist/siemens-ix/{p-CzzcLSmV.js → p-gkooEHol.js} +2 -2
- package/dist/siemens-ix/p-gkooEHol.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +25 -87
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/avatar/avatar.d.ts +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -3
- package/dist/types/components/category-filter/category-filter.d.ts +4 -10
- package/dist/types/components/chip/chip.d.ts +2 -2
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +6 -6
- package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +3 -3
- package/dist/types/components/date-time-card/date-time-card.d.ts +1 -5
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +2 -20
- package/dist/types/components/event-list/event-list.d.ts +1 -1
- package/dist/types/components/group/group.d.ts +4 -4
- package/dist/types/components/group-item/group-item.d.ts +9 -2
- package/dist/types/components/icon-button/icon-button.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +5 -4
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +1 -1
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +2 -2
- package/dist/types/components/message-bar/message-bar.d.ts +3 -4
- package/dist/types/components/modal/modal.d.ts +9 -9
- package/dist/types/components/pagination/pagination.d.ts +5 -6
- package/dist/types/components/push-card/push-card.d.ts +2 -2
- package/dist/types/components/time-picker/time-picker.d.ts +2 -40
- package/dist/types/components/toast/toast-utils.d.ts +24 -0
- package/dist/types/components/toast/toast.d.ts +1 -1
- package/dist/types/components.d.ts +214 -414
- package/hydrate/index.js +318 -705
- package/hydrate/index.mjs +318 -705
- package/package.json +1 -1
- package/scss/_core.scss +0 -1
- package/scss/theme/core/_components.scss +0 -2
- package/scss/theme/core/components/checkbox.scss +12 -12
- package/scss/theme/core/components/radiobutton.scss +12 -12
- package/scss/theme/core/components/slider.scss +1 -1
- package/components/ix-input-group.d.ts +0 -11
- package/components/ix-input-group.js +0 -154
- package/components/ix-input-group.js.map +0 -1
- package/components/ix-validation-tooltip.d.ts +0 -11
- package/components/ix-validation-tooltip.js +0 -184
- package/components/ix-validation-tooltip.js.map +0 -1
- package/components/p-B3IsQckh.js.map +0 -1
- package/components/p-B5cVFUyk.js.map +0 -1
- package/components/p-BFuOBAQB.js.map +0 -1
- package/components/p-BpW9tS2k.js.map +0 -1
- package/components/p-CAqtPJ4-.js.map +0 -1
- package/components/p-CFRrPFxi.js +0 -103
- package/components/p-CFRrPFxi.js.map +0 -1
- package/components/p-CGPMGyof.js.map +0 -1
- package/components/p-Ctze1Bh6.js +0 -64
- package/components/p-Ctze1Bh6.js.map +0 -1
- package/components/p-CwwKrs4u.js.map +0 -1
- package/components/p-CzzcLSmV.js.map +0 -1
- package/components/p-DJ6v85WG.js.map +0 -1
- package/components/p-DZNnQyWO.js.map +0 -1
- package/dist/cjs/find-element-D7yD1Ukn.js +0 -106
- package/dist/cjs/find-element-D7yD1Ukn.js.map +0 -1
- package/dist/cjs/floating-ui.dom-CMzYsRR7.js.map +0 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +0 -130
- package/dist/cjs/ix-input-group.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -155
- package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/service-FGbUpQQM.js.map +0 -1
- package/dist/collection/components/input-group/input-group.css +0 -115
- package/dist/collection/components/input-group/input-group.js +0 -152
- package/dist/collection/components/input-group/input-group.js.map +0 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -225
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -250
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +0 -1
- package/dist/esm/find-element-CFRrPFxi.js +0 -103
- package/dist/esm/find-element-CFRrPFxi.js.map +0 -1
- package/dist/esm/floating-ui.dom-CAqtPJ4-.js.map +0 -1
- package/dist/esm/ix-input-group.entry.js +0 -128
- package/dist/esm/ix-input-group.entry.js.map +0 -1
- package/dist/esm/ix-validation-tooltip.entry.js +0 -153
- package/dist/esm/ix-validation-tooltip.entry.js.map +0 -1
- package/dist/esm/service-ktcE7NzB.js.map +0 -1
- package/dist/siemens-ix/ix-input-group.entry.esm.js.map +0 -1
- package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +0 -1
- package/dist/siemens-ix/p-00a10004.entry.js.map +0 -1
- package/dist/siemens-ix/p-03c6893a.entry.js.map +0 -1
- package/dist/siemens-ix/p-09cce59e.entry.js.map +0 -1
- package/dist/siemens-ix/p-1d0ae43f.entry.js +0 -2
- package/dist/siemens-ix/p-1d0ae43f.entry.js.map +0 -1
- package/dist/siemens-ix/p-2d3f7bb5.entry.js +0 -2
- package/dist/siemens-ix/p-2d3f7bb5.entry.js.map +0 -1
- package/dist/siemens-ix/p-2d9b7dbd.entry.js +0 -2
- package/dist/siemens-ix/p-2d9b7dbd.entry.js.map +0 -1
- package/dist/siemens-ix/p-30545ef9.entry.js +0 -2
- package/dist/siemens-ix/p-30728d2c.entry.js +0 -2
- package/dist/siemens-ix/p-30728d2c.entry.js.map +0 -1
- package/dist/siemens-ix/p-30df3f84.entry.js +0 -2
- package/dist/siemens-ix/p-3dc1d85b.entry.js +0 -2
- package/dist/siemens-ix/p-3dc1d85b.entry.js.map +0 -1
- package/dist/siemens-ix/p-416886d6.entry.js.map +0 -1
- package/dist/siemens-ix/p-48f01149.entry.js +0 -2
- package/dist/siemens-ix/p-48f01149.entry.js.map +0 -1
- package/dist/siemens-ix/p-53e82da9.entry.js.map +0 -1
- package/dist/siemens-ix/p-5bed04ac.entry.js +0 -2
- package/dist/siemens-ix/p-5bed04ac.entry.js.map +0 -1
- package/dist/siemens-ix/p-5f72640f.entry.js +0 -2
- package/dist/siemens-ix/p-5f72640f.entry.js.map +0 -1
- package/dist/siemens-ix/p-6c2818da.entry.js.map +0 -1
- package/dist/siemens-ix/p-6c873cc5.entry.js +0 -2
- package/dist/siemens-ix/p-71e94914.entry.js.map +0 -1
- package/dist/siemens-ix/p-740420eb.entry.js +0 -2
- package/dist/siemens-ix/p-740420eb.entry.js.map +0 -1
- package/dist/siemens-ix/p-85727880.entry.js.map +0 -1
- package/dist/siemens-ix/p-90089ce1.entry.js +0 -2
- package/dist/siemens-ix/p-92032674.entry.js.map +0 -1
- package/dist/siemens-ix/p-99ad8022.entry.js.map +0 -1
- package/dist/siemens-ix/p-9bd4c682.entry.js +0 -2
- package/dist/siemens-ix/p-CAqtPJ4-.js +0 -2
- package/dist/siemens-ix/p-CAqtPJ4-.js.map +0 -1
- package/dist/siemens-ix/p-CFRrPFxi.js +0 -2
- package/dist/siemens-ix/p-CFRrPFxi.js.map +0 -1
- package/dist/siemens-ix/p-CzzcLSmV.js.map +0 -1
- package/dist/siemens-ix/p-c8cf26c5.entry.js.map +0 -1
- package/dist/siemens-ix/p-d0d972c2.entry.js +0 -2
- package/dist/siemens-ix/p-ddaf98b6.entry.js +0 -2
- package/dist/siemens-ix/p-ddaf98b6.entry.js.map +0 -1
- package/dist/siemens-ix/p-e9de8dd5.entry.js +0 -2
- package/dist/siemens-ix/p-e9de8dd5.entry.js.map +0 -1
- package/dist/siemens-ix/p-f55eef69.entry.js +0 -2
- package/dist/siemens-ix/p-f55eef69.entry.js.map +0 -1
- package/dist/siemens-ix/p-fbd896c5.entry.js.map +0 -1
- package/dist/types/components/input-group/input-group.d.ts +0 -24
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -45
- package/scss/components/_input-group.scss +0 -32
- package/scss/theme/core/components/breadcrumb.scss +0 -37
- /package/dist/siemens-ix/{p-90bd8d7b.entry.js.map → p-0ba7d263.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f455c56a.entry.js.map → p-111687a2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8b3cfb2d.entry.js.map → p-1ac88556.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-95d4d849.entry.js.map → p-1bd1380b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5849a210.entry.js.map → p-1cd4280f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-48b0fef4.entry.js.map → p-2041357d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-52dc3ba0.entry.js.map → p-28fe8512.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4263f3b6.entry.js.map → p-2b046df5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1b2e4b8f.entry.js.map → p-331f1b60.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-faa47c0e.entry.js.map → p-6645d4ee.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eba51393.entry.js.map → p-7060645f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6c873cc5.entry.js.map → p-71a38f35.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-81c8d542.entry.js.map → p-75f4bbb1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a76a69fb.entry.js.map → p-8c612656.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5140e6e6.entry.js.map → p-91fa3ab0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f29eaee8.entry.js.map → p-9272ae83.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f6d678a6.entry.js.map → p-9b88a932.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7a108b0d.entry.js.map → p-9dbfd7cd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9bd4c682.entry.js.map → p-a6612a5b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cd11dfa8.entry.js.map → p-bb878ea4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0469aec7.entry.js.map → p-bf2374a0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-30545ef9.entry.js.map → p-c10b2e40.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5c109476.entry.js.map → p-c248940f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8eee6a03.entry.js.map → p-c413e3c4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-746b04cb.entry.js.map → p-c6ecc2e3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-01656234.entry.js.map → p-c949686e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b6dad40c.entry.js.map → p-d0213ff0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8e48a7a1.entry.js.map → p-d1254b5b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a0d7af11.entry.js.map → p-d585e581.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dd82ebbc.entry.js.map → p-d7c7d38b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c446ffdb.entry.js.map → p-db02f4c2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6a39d630.entry.js.map → p-e3a219e3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd369344.entry.js.map → p-e55cd52b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-14fca48a.entry.js.map → p-f14790b4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-90089ce1.entry.js.map → p-fbedad11.entry.js.map} +0 -0
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/*
|
|
10
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
11
|
-
*
|
|
12
|
-
* SPDX-License-Identifier: MIT
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the MIT license found in the
|
|
15
|
-
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/
|
|
17
|
-
/* Dimensions */
|
|
18
|
-
/* Font sizes */
|
|
19
|
-
/* Line heights */
|
|
20
|
-
/*
|
|
21
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
22
|
-
*
|
|
23
|
-
* SPDX-License-Identifier: MIT
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
|
-
/*
|
|
29
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
30
|
-
*
|
|
31
|
-
* SPDX-License-Identifier: MIT
|
|
32
|
-
*
|
|
33
|
-
* This source code is licensed under the MIT license found in the
|
|
34
|
-
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/
|
|
36
|
-
/*
|
|
37
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
38
|
-
*
|
|
39
|
-
* SPDX-License-Identifier: MIT
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
|
-
.text-xs {
|
|
45
|
-
font-family: Siemens Sans, sans-serif;
|
|
46
|
-
font-size: 0.625rem;
|
|
47
|
-
font-weight: 400;
|
|
48
|
-
line-height: 1.4em;
|
|
49
|
-
color: var(--theme-color-std-text);
|
|
50
|
-
-webkit-font-smoothing: antialiased;
|
|
51
|
-
-moz-osx-font-smooting: grayscale;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.text-s {
|
|
55
|
-
font-family: Siemens Sans, sans-serif;
|
|
56
|
-
font-size: 0.75rem;
|
|
57
|
-
font-weight: 400;
|
|
58
|
-
line-height: 1.5em;
|
|
59
|
-
color: var(--theme-color-std-text);
|
|
60
|
-
-webkit-font-smoothing: antialiased;
|
|
61
|
-
-moz-osx-font-smooting: grayscale;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.text-caption {
|
|
65
|
-
font-family: Siemens Sans, sans-serif;
|
|
66
|
-
font-size: 0.75rem;
|
|
67
|
-
font-weight: 700;
|
|
68
|
-
line-height: 1.5em;
|
|
69
|
-
color: var(--theme-color-std-text);
|
|
70
|
-
-webkit-font-smoothing: antialiased;
|
|
71
|
-
-moz-osx-font-smooting: grayscale;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.text-caption-single {
|
|
75
|
-
font-family: Siemens Sans, sans-serif;
|
|
76
|
-
font-size: 0.75rem;
|
|
77
|
-
font-weight: 700;
|
|
78
|
-
line-height: 1em;
|
|
79
|
-
color: var(--theme-color-std-text);
|
|
80
|
-
-webkit-font-smoothing: antialiased;
|
|
81
|
-
-moz-osx-font-smooting: grayscale;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.text-default {
|
|
85
|
-
font-family: Siemens Sans, sans-serif;
|
|
86
|
-
font-size: 0.875rem;
|
|
87
|
-
font-weight: 400;
|
|
88
|
-
line-height: 1.429em;
|
|
89
|
-
color: var(--theme-color-std-text);
|
|
90
|
-
-webkit-font-smoothing: antialiased;
|
|
91
|
-
-moz-osx-font-smooting: grayscale;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.text-default-single {
|
|
95
|
-
font-family: Siemens Sans, sans-serif;
|
|
96
|
-
font-size: 0.875rem;
|
|
97
|
-
font-weight: 400;
|
|
98
|
-
line-height: 1.143em;
|
|
99
|
-
color: var(--theme-color-std-text);
|
|
100
|
-
-webkit-font-smoothing: antialiased;
|
|
101
|
-
-moz-osx-font-smooting: grayscale;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.text-default-title {
|
|
105
|
-
font-family: Siemens Sans, sans-serif;
|
|
106
|
-
font-size: 0.875rem;
|
|
107
|
-
font-weight: 700;
|
|
108
|
-
line-height: 1.429em;
|
|
109
|
-
color: var(--theme-color-std-text);
|
|
110
|
-
-webkit-font-smoothing: antialiased;
|
|
111
|
-
-moz-osx-font-smooting: grayscale;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.text-default-title-single {
|
|
115
|
-
font-family: Siemens Sans, sans-serif;
|
|
116
|
-
font-size: 0.875rem;
|
|
117
|
-
font-weight: 700;
|
|
118
|
-
line-height: 1.143em;
|
|
119
|
-
color: var(--theme-color-std-text);
|
|
120
|
-
-webkit-font-smoothing: antialiased;
|
|
121
|
-
-moz-osx-font-smooting: grayscale;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.text-l {
|
|
125
|
-
font-family: Siemens Sans, sans-serif;
|
|
126
|
-
font-size: 1rem;
|
|
127
|
-
font-weight: 400;
|
|
128
|
-
line-height: 1.5em;
|
|
129
|
-
color: var(--theme-color-std-text);
|
|
130
|
-
-webkit-font-smoothing: antialiased;
|
|
131
|
-
-moz-osx-font-smooting: grayscale;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.text-l-single {
|
|
135
|
-
font-family: Siemens Sans, sans-serif;
|
|
136
|
-
font-size: 1rem;
|
|
137
|
-
font-weight: 400;
|
|
138
|
-
line-height: 1.25em;
|
|
139
|
-
color: var(--theme-color-std-text);
|
|
140
|
-
-webkit-font-smoothing: antialiased;
|
|
141
|
-
-moz-osx-font-smooting: grayscale;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.text-l-title {
|
|
145
|
-
font-family: Siemens Sans, sans-serif;
|
|
146
|
-
font-size: 1rem;
|
|
147
|
-
font-weight: 700;
|
|
148
|
-
line-height: 1.5em;
|
|
149
|
-
color: var(--theme-color-std-text);
|
|
150
|
-
-webkit-font-smoothing: antialiased;
|
|
151
|
-
-moz-osx-font-smooting: grayscale;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.text-l-title-single {
|
|
155
|
-
font-family: Siemens Sans, sans-serif;
|
|
156
|
-
font-size: 1rem;
|
|
157
|
-
font-weight: 700;
|
|
158
|
-
line-height: 1.25em;
|
|
159
|
-
color: var(--theme-color-std-text);
|
|
160
|
-
-webkit-font-smoothing: antialiased;
|
|
161
|
-
-moz-osx-font-smooting: grayscale;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.text-h2 {
|
|
165
|
-
font-family: Siemens Sans, sans-serif;
|
|
166
|
-
font-size: 1.375rem;
|
|
167
|
-
font-weight: 700;
|
|
168
|
-
line-height: 1.455em;
|
|
169
|
-
color: var(--theme-color-std-text);
|
|
170
|
-
-webkit-font-smoothing: antialiased;
|
|
171
|
-
-moz-osx-font-smooting: grayscale;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.text-xl {
|
|
175
|
-
font-family: Siemens Sans, sans-serif;
|
|
176
|
-
font-size: 1.375rem;
|
|
177
|
-
font-weight: 400;
|
|
178
|
-
line-height: 1.091em;
|
|
179
|
-
color: var(--theme-color-std-text);
|
|
180
|
-
-webkit-font-smoothing: antialiased;
|
|
181
|
-
-moz-osx-font-smooting: grayscale;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
a {
|
|
185
|
-
color: var(--theme-color-primary);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
:host {
|
|
189
|
-
display: inline-block;
|
|
190
|
-
position: relative;
|
|
191
|
-
width: 100%;
|
|
192
|
-
z-index: var(--theme-z-index-tooltip);
|
|
193
|
-
}
|
|
194
|
-
:host .validation-tooltip {
|
|
195
|
-
background-color: var(--theme-tooltip--background);
|
|
196
|
-
color: var(--theme-tooltip--color);
|
|
197
|
-
padding: 5px 10px;
|
|
198
|
-
border-radius: 4px;
|
|
199
|
-
font-size: 13px;
|
|
200
|
-
border: 1px solid var(--theme-tooltip--border-color);
|
|
201
|
-
box-shadow: 0 0 2px 0 rgba(0, 0, 40, 0.1), 0 4px 8px 0 rgba(0, 0, 40, 0.1), 0 12px 18px 0 rgba(0, 0, 40, 0.1);
|
|
202
|
-
}
|
|
203
|
-
:host .validation-tooltip #arrow,
|
|
204
|
-
:host .validation-tooltip #arrow::before {
|
|
205
|
-
position: absolute;
|
|
206
|
-
width: 8px;
|
|
207
|
-
height: 8px;
|
|
208
|
-
background: inherit;
|
|
209
|
-
}
|
|
210
|
-
:host .validation-tooltip #arrow {
|
|
211
|
-
visibility: hidden;
|
|
212
|
-
}
|
|
213
|
-
:host .validation-tooltip #arrow::before {
|
|
214
|
-
visibility: visible;
|
|
215
|
-
content: "";
|
|
216
|
-
transform: rotate(45deg);
|
|
217
|
-
background-color: var(--theme-tooltip--background);
|
|
218
|
-
}
|
|
219
|
-
:host .validation-tooltip > #arrow {
|
|
220
|
-
bottom: -5px;
|
|
221
|
-
}
|
|
222
|
-
:host .validation-tooltip > #arrow::before {
|
|
223
|
-
border-right: 1px solid var(--theme-tooltip--border-color);
|
|
224
|
-
border-bottom: 1px solid var(--theme-tooltip--border-color);
|
|
225
|
-
}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { arrow, autoUpdate, computePosition, flip, inline, offset, shift, } from "@floating-ui/dom";
|
|
10
|
-
import { h, Host } from "@stencil/core";
|
|
11
|
-
/**
|
|
12
|
-
* @slot tooltip-message - Custom tooltip message with html support
|
|
13
|
-
*
|
|
14
|
-
* @deprecated Will be removed with 4.0.0
|
|
15
|
-
*/
|
|
16
|
-
export class ValidationTooltip {
|
|
17
|
-
constructor() {
|
|
18
|
-
/**
|
|
19
|
-
* Placement of the tooltip
|
|
20
|
-
*/
|
|
21
|
-
this.placement = 'top';
|
|
22
|
-
/**
|
|
23
|
-
* Suppress the automatic placement of the dropdown.
|
|
24
|
-
*/
|
|
25
|
-
this.suppressAutomaticPlacement = false;
|
|
26
|
-
this.isInputValid = true;
|
|
27
|
-
this.onSubmitBind = this.onSubmit.bind(this);
|
|
28
|
-
this.onInputFocusBind = this.onInputFocus.bind(this);
|
|
29
|
-
}
|
|
30
|
-
get arrow() {
|
|
31
|
-
return this.hostElement.shadowRoot.querySelector('#arrow');
|
|
32
|
-
}
|
|
33
|
-
get inputElement() {
|
|
34
|
-
return this.hostElement.querySelector('input');
|
|
35
|
-
}
|
|
36
|
-
get formElement() {
|
|
37
|
-
var _a;
|
|
38
|
-
return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.form;
|
|
39
|
-
}
|
|
40
|
-
get tooltipElement() {
|
|
41
|
-
return this.hostElement.shadowRoot.querySelector('.validation-tooltip');
|
|
42
|
-
}
|
|
43
|
-
destroyAutoUpdate() {
|
|
44
|
-
if (this.tooltipElement) {
|
|
45
|
-
this.tooltipElement.style.display = 'none';
|
|
46
|
-
}
|
|
47
|
-
if (this.autoUpdateCleanup) {
|
|
48
|
-
this.autoUpdateCleanup();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
applyTooltipPosition() {
|
|
52
|
-
this.tooltipElement.style.display = 'block';
|
|
53
|
-
let positionConfig = {
|
|
54
|
-
strategy: 'fixed',
|
|
55
|
-
middleware: [
|
|
56
|
-
inline(),
|
|
57
|
-
shift(),
|
|
58
|
-
offset({
|
|
59
|
-
mainAxis: 8,
|
|
60
|
-
}),
|
|
61
|
-
],
|
|
62
|
-
};
|
|
63
|
-
if (!positionConfig.middleware) {
|
|
64
|
-
positionConfig.middleware = [];
|
|
65
|
-
}
|
|
66
|
-
if (!this.suppressAutomaticPlacement) {
|
|
67
|
-
positionConfig.middleware.push(flip({ fallbackStrategy: 'initialPlacement' }));
|
|
68
|
-
}
|
|
69
|
-
positionConfig.placement = this.placement;
|
|
70
|
-
this.autoUpdateCleanup = autoUpdate(this.inputElement, this.tooltipElement, async () => {
|
|
71
|
-
positionConfig.middleware = [
|
|
72
|
-
...positionConfig.middleware,
|
|
73
|
-
arrow({
|
|
74
|
-
element: this.arrow,
|
|
75
|
-
}),
|
|
76
|
-
];
|
|
77
|
-
const computeResponse = await computePosition(this.inputElement, this.tooltipElement, positionConfig);
|
|
78
|
-
if (computeResponse.middlewareData.arrow) {
|
|
79
|
-
const { x, y } = computeResponse.middlewareData.arrow;
|
|
80
|
-
this.arrowPosition = {
|
|
81
|
-
x,
|
|
82
|
-
y,
|
|
83
|
-
};
|
|
84
|
-
Object.assign(this.arrow.style, {
|
|
85
|
-
left: x != null ? `${x}px` : '',
|
|
86
|
-
top: y != null ? `${y}px` : '',
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
this.tooltipPosition = {
|
|
90
|
-
x: computeResponse.x,
|
|
91
|
-
y: computeResponse.y,
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
ancestorResize: true,
|
|
95
|
-
ancestorScroll: true,
|
|
96
|
-
elementResize: true,
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
componentDidLoad() {
|
|
100
|
-
if (!this.inputElement) {
|
|
101
|
-
throw Error('Validation tooltip is only working with an direct input child.');
|
|
102
|
-
}
|
|
103
|
-
if (!this.formElement) {
|
|
104
|
-
throw Error('Validation tooltip is only working with an form element.');
|
|
105
|
-
}
|
|
106
|
-
this.formElement.addEventListener('submit', this.onSubmitBind);
|
|
107
|
-
this.inputElement.addEventListener('focus', this.onInputFocusBind);
|
|
108
|
-
this.observer = new MutationObserver(() => {
|
|
109
|
-
if (this.inputElement.classList.contains('is-invalid')) {
|
|
110
|
-
this.isInputValid = false;
|
|
111
|
-
this.validationChanged();
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
this.observer.observe(this.inputElement, {
|
|
115
|
-
childList: false,
|
|
116
|
-
subtree: false,
|
|
117
|
-
attributes: true,
|
|
118
|
-
attributeFilter: ['class'],
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
onInputFocus() {
|
|
122
|
-
this.isInputValid = true;
|
|
123
|
-
}
|
|
124
|
-
onSubmit() {
|
|
125
|
-
if (this.formElement.classList.contains('needs-validation')) {
|
|
126
|
-
this.isInputValid = this.inputElement.validity.valid;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
disconnectedCallback() {
|
|
130
|
-
var _a, _b, _c;
|
|
131
|
-
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
132
|
-
this.destroyAutoUpdate();
|
|
133
|
-
(_b = this.formElement) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitBind);
|
|
134
|
-
(_c = this.inputElement) === null || _c === void 0 ? void 0 : _c.removeEventListener('focus', this.onInputFocusBind);
|
|
135
|
-
}
|
|
136
|
-
validationChanged() {
|
|
137
|
-
if (!this.isInputValid) {
|
|
138
|
-
this.applyTooltipPosition();
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
this.destroyAutoUpdate();
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
render() {
|
|
145
|
-
var _a, _b, _c, _d;
|
|
146
|
-
return (h(Host, { key: '4fb1bd884352a044ab9d4ea2eb70d2d80b331ebf' }, h("slot", { key: '67df32333b98236630a4caf63776ea634129d1ae' }), h("div", { key: '19cd5c7800c381a86b7135fb4538f3cad08abe46', role: "tooltip", style: {
|
|
147
|
-
display: 'none',
|
|
148
|
-
position: 'fixed',
|
|
149
|
-
top: '0',
|
|
150
|
-
left: '0',
|
|
151
|
-
transform: `translate(${Math.round((_b = (_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) !== null && _b !== void 0 ? _b : 0)}px,${Math.round((_d = (_c = this.tooltipPosition) === null || _c === void 0 ? void 0 : _c.y) !== null && _d !== void 0 ? _d : 0)}px)`,
|
|
152
|
-
}, class: "validation-tooltip text-default" }, this.message, h("slot", { key: 'f1ff77002cc733ef058755cc117747f1ba00a3ea', name: "tooltip-message" }), h("div", { key: '5bcb70ba97cad112c1c5945d32cd52fa37784bb6', id: "arrow" }))));
|
|
153
|
-
}
|
|
154
|
-
static get is() { return "ix-validation-tooltip"; }
|
|
155
|
-
static get encapsulation() { return "shadow"; }
|
|
156
|
-
static get originalStyleUrls() {
|
|
157
|
-
return {
|
|
158
|
-
"$": ["validation-tooltip.scss"]
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
static get styleUrls() {
|
|
162
|
-
return {
|
|
163
|
-
"$": ["validation-tooltip.css"]
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
static get properties() {
|
|
167
|
-
return {
|
|
168
|
-
"message": {
|
|
169
|
-
"type": "string",
|
|
170
|
-
"attribute": "message",
|
|
171
|
-
"mutable": false,
|
|
172
|
-
"complexType": {
|
|
173
|
-
"original": "string",
|
|
174
|
-
"resolved": "string | undefined",
|
|
175
|
-
"references": {}
|
|
176
|
-
},
|
|
177
|
-
"required": false,
|
|
178
|
-
"optional": true,
|
|
179
|
-
"docs": {
|
|
180
|
-
"tags": [],
|
|
181
|
-
"text": "Message of the tooltip"
|
|
182
|
-
},
|
|
183
|
-
"getter": false,
|
|
184
|
-
"setter": false,
|
|
185
|
-
"reflect": false
|
|
186
|
-
},
|
|
187
|
-
"placement": {
|
|
188
|
-
"type": "string",
|
|
189
|
-
"attribute": "placement",
|
|
190
|
-
"mutable": false,
|
|
191
|
-
"complexType": {
|
|
192
|
-
"original": "Side",
|
|
193
|
-
"resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
|
|
194
|
-
"references": {
|
|
195
|
-
"Side": {
|
|
196
|
-
"location": "import",
|
|
197
|
-
"path": "../dropdown/placement",
|
|
198
|
-
"id": "src/components/dropdown/placement.ts::Side"
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"required": false,
|
|
203
|
-
"optional": false,
|
|
204
|
-
"docs": {
|
|
205
|
-
"tags": [],
|
|
206
|
-
"text": "Placement of the tooltip"
|
|
207
|
-
},
|
|
208
|
-
"getter": false,
|
|
209
|
-
"setter": false,
|
|
210
|
-
"reflect": false,
|
|
211
|
-
"defaultValue": "'top'"
|
|
212
|
-
},
|
|
213
|
-
"suppressAutomaticPlacement": {
|
|
214
|
-
"type": "boolean",
|
|
215
|
-
"attribute": "suppress-automatic-placement",
|
|
216
|
-
"mutable": false,
|
|
217
|
-
"complexType": {
|
|
218
|
-
"original": "boolean",
|
|
219
|
-
"resolved": "boolean",
|
|
220
|
-
"references": {}
|
|
221
|
-
},
|
|
222
|
-
"required": false,
|
|
223
|
-
"optional": false,
|
|
224
|
-
"docs": {
|
|
225
|
-
"tags": [],
|
|
226
|
-
"text": "Suppress the automatic placement of the dropdown."
|
|
227
|
-
},
|
|
228
|
-
"getter": false,
|
|
229
|
-
"setter": false,
|
|
230
|
-
"reflect": false,
|
|
231
|
-
"defaultValue": "false"
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
static get states() {
|
|
236
|
-
return {
|
|
237
|
-
"isInputValid": {},
|
|
238
|
-
"tooltipPosition": {},
|
|
239
|
-
"arrowPosition": {}
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
static get elementRef() { return "hostElement"; }
|
|
243
|
-
static get watchers() {
|
|
244
|
-
return [{
|
|
245
|
-
"propName": "isInputValid",
|
|
246
|
-
"methodName": "validationChanged"
|
|
247
|
-
}];
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
//# sourceMappingURL=validation-tooltip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation-tooltip.js","sourceRoot":"","sources":["../../../src/components/validation-tooltip/validation-tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,KAAK,EACL,UAAU,EACV,eAAe,EAEf,IAAI,EACJ,MAAM,EACN,MAAM,EACN,KAAK,GACN,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAKhF;;;;GAIG;AAMH,MAAM,OAAO,iBAAiB;IAL9B;QAaE;;WAEG;QACK,cAAS,GAAS,KAAK,CAAC;QAEhC;;WAEG;QACK,+BAA0B,GAAG,KAAK,CAAC;QAElC,iBAAY,GAAG,IAAI,CAAC;QAIrB,iBAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxC,qBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAmLzD;IA/KC,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,WAAW,CAAC,UAAW,CAAC,aAAa,CAAC,QAAQ,CAAgB,CAAC;IAC7E,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,OA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EAAE,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC3B,CAAC;IACH,CAAC;IAED,MAAM;;QACJ,OAAO,CACL,EAAC,IAAI;YACH,8DAAa;YACb,4DACE,IAAI,EAAC,SAAS,EACd,KAAK,EAAE;oBACL,OAAO,EAAE,MAAM;oBACf,QAAQ,EAAE,OAAO;oBACjB,GAAG,EAAE,GAAG;oBACR,IAAI,EAAE,GAAG;oBACT,SAAS,EAAE,aAAa,IAAI,CAAC,KAAK,CAChC,MAAA,MAAA,IAAI,CAAC,eAAe,0CAAE,CAAC,mCAAI,CAAC,CAC7B,MAAM,IAAI,CAAC,KAAK,CAAC,MAAA,MAAA,IAAI,CAAC,eAAe,0CAAE,CAAC,mCAAI,CAAC,CAAC,KAAK;iBACrD,EACD,KAAK,EAAC,iCAAiC;gBAEtC,IAAI,CAAC,OAAO;gBACb,6DAAM,IAAI,EAAC,iBAAiB,GAAQ;gBACpC,4DAAK,EAAE,EAAC,OAAO,GAAO,CAClB,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport {\n arrow,\n autoUpdate,\n computePosition,\n ComputePositionConfig,\n flip,\n inline,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { Side } from '../dropdown/placement';\n\ntype Position = { x: number; y: number };\n\n/**\n * @slot tooltip-message - Custom tooltip message with html support\n *\n * @deprecated Will be removed with 4.0.0\n */\n@Component({\n tag: 'ix-validation-tooltip',\n styleUrl: 'validation-tooltip.scss',\n shadow: true,\n})\nexport class ValidationTooltip {\n @Element() hostElement!: HTMLIxValidationTooltipElement;\n\n /**\n * Message of the tooltip\n */\n @Prop() message?: string;\n\n /**\n * Placement of the tooltip\n */\n @Prop() placement: Side = 'top';\n\n /**\n * Suppress the automatic placement of the dropdown.\n */\n @Prop() suppressAutomaticPlacement = false;\n\n @State() isInputValid = true;\n @State() tooltipPosition?: Position;\n @State() arrowPosition?: Position;\n\n private onSubmitBind = this.onSubmit.bind(this);\n private onInputFocusBind = this.onInputFocus.bind(this);\n private autoUpdateCleanup?: () => void;\n private observer?: MutationObserver;\n\n get arrow() {\n return this.hostElement.shadowRoot!.querySelector('#arrow') as HTMLElement;\n }\n\n get inputElement() {\n return this.hostElement.querySelector('input');\n }\n\n get formElement() {\n return this.inputElement?.form;\n }\n\n get tooltipElement(): HTMLElement {\n return this.hostElement.shadowRoot!.querySelector('.validation-tooltip')!;\n }\n\n private destroyAutoUpdate() {\n if (this.tooltipElement) {\n this.tooltipElement.style.display = 'none';\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n }\n\n private applyTooltipPosition() {\n this.tooltipElement.style.display = 'block';\n\n let positionConfig: Partial<ComputePositionConfig> = {\n strategy: 'fixed',\n middleware: [\n inline(),\n shift(),\n offset({\n mainAxis: 8,\n }),\n ],\n };\n\n if (!positionConfig.middleware) {\n positionConfig.middleware = [];\n }\n\n if (!this.suppressAutomaticPlacement) {\n positionConfig.middleware.push(\n flip({ fallbackStrategy: 'initialPlacement' })\n );\n }\n positionConfig.placement = this.placement;\n\n this.autoUpdateCleanup = autoUpdate(\n this.inputElement!,\n this.tooltipElement,\n async () => {\n positionConfig.middleware = [\n ...positionConfig.middleware!,\n arrow({\n element: this.arrow,\n }),\n ];\n const computeResponse = await computePosition(\n this.inputElement!,\n this.tooltipElement,\n positionConfig\n );\n\n if (computeResponse.middlewareData.arrow) {\n const { x, y } = computeResponse.middlewareData.arrow as {\n x: number;\n y: number;\n };\n this.arrowPosition = {\n x,\n y,\n };\n Object.assign(this.arrow.style, {\n left: x != null ? `${x}px` : '',\n top: y != null ? `${y}px` : '',\n });\n }\n\n this.tooltipPosition = {\n x: computeResponse.x,\n y: computeResponse.y,\n };\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n }\n );\n }\n\n componentDidLoad() {\n if (!this.inputElement) {\n throw Error(\n 'Validation tooltip is only working with an direct input child.'\n );\n }\n\n if (!this.formElement) {\n throw Error('Validation tooltip is only working with an form element.');\n }\n\n this.formElement.addEventListener('submit', this.onSubmitBind);\n this.inputElement.addEventListener('focus', this.onInputFocusBind);\n\n this.observer = new MutationObserver(() => {\n if (this.inputElement!.classList.contains('is-invalid')) {\n this.isInputValid = false;\n this.validationChanged();\n }\n });\n\n this.observer.observe(this.inputElement, {\n childList: false,\n subtree: false,\n attributes: true,\n attributeFilter: ['class'],\n });\n }\n\n private onInputFocus() {\n this.isInputValid = true;\n }\n\n private onSubmit() {\n if (this.formElement!.classList.contains('needs-validation')) {\n this.isInputValid = this.inputElement!.validity.valid;\n }\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.destroyAutoUpdate();\n\n this.formElement?.removeEventListener('submit', this.onSubmitBind);\n this.inputElement?.removeEventListener('focus', this.onInputFocusBind);\n }\n\n @Watch('isInputValid')\n validationChanged() {\n if (!this.isInputValid) {\n this.applyTooltipPosition();\n } else {\n this.destroyAutoUpdate();\n }\n }\n\n render() {\n return (\n <Host>\n <slot></slot>\n <div\n role=\"tooltip\"\n style={{\n display: 'none',\n position: 'fixed',\n top: '0',\n left: '0',\n transform: `translate(${Math.round(\n this.tooltipPosition?.x ?? 0\n )}px,${Math.round(this.tooltipPosition?.y ?? 0)}px)`,\n }}\n class=\"validation-tooltip text-default\"\n >\n {this.message}\n <slot name=\"tooltip-message\"></slot>\n <div id=\"arrow\"></div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Will try to resolve the selector in the light dom, shadow dom or slot
|
|
11
|
-
* @param selector The selector to resolve
|
|
12
|
-
* @param hostElement The element to start the search from
|
|
13
|
-
* @returns Promise with the resolved elements or undefined if not found
|
|
14
|
-
*/
|
|
15
|
-
async function resolveSelector(selector, hostElement) {
|
|
16
|
-
const elements = Array.from(document.querySelectorAll(selector));
|
|
17
|
-
if (elements.length > 0) {
|
|
18
|
-
return Promise.resolve(elements);
|
|
19
|
-
}
|
|
20
|
-
if (hostElement === undefined) {
|
|
21
|
-
return Promise.resolve(undefined);
|
|
22
|
-
}
|
|
23
|
-
const shadowRoot = getRootFor(hostElement);
|
|
24
|
-
if (shadowRoot === undefined || !(shadowRoot instanceof ShadowRoot)) {
|
|
25
|
-
return Promise.resolve(undefined);
|
|
26
|
-
}
|
|
27
|
-
const elementsInShadowRoot = Array.from(shadowRoot.querySelectorAll(selector));
|
|
28
|
-
const elementsInHost = Array.from(shadowRoot.host.querySelectorAll(selector));
|
|
29
|
-
const elementsInComponent = [
|
|
30
|
-
...elementsInHost,
|
|
31
|
-
...elementsInShadowRoot,
|
|
32
|
-
];
|
|
33
|
-
if (elementsInComponent.length > 0) {
|
|
34
|
-
return Promise.resolve(elementsInComponent);
|
|
35
|
-
}
|
|
36
|
-
return Promise.resolve(undefined);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Walk up the DOM to find the nearest shadow root
|
|
40
|
-
* @param element The element to get the root for
|
|
41
|
-
* @param parent This will determine how far up the DOM to travel to find the root
|
|
42
|
-
* @returns The root element
|
|
43
|
-
*/
|
|
44
|
-
function getRootFor(element, parent = document.body) {
|
|
45
|
-
if (!element.parentElement && !element.parentNode) {
|
|
46
|
-
return undefined;
|
|
47
|
-
}
|
|
48
|
-
if (element.parentNode instanceof ShadowRoot) {
|
|
49
|
-
return element.parentNode;
|
|
50
|
-
}
|
|
51
|
-
let currentNode = element.parentElement;
|
|
52
|
-
while (currentNode) {
|
|
53
|
-
if (currentNode.shadowRoot) {
|
|
54
|
-
return currentNode.shadowRoot;
|
|
55
|
-
}
|
|
56
|
-
else if (currentNode.parentNode instanceof ShadowRoot) {
|
|
57
|
-
return currentNode.parentNode;
|
|
58
|
-
}
|
|
59
|
-
currentNode = currentNode.parentElement;
|
|
60
|
-
}
|
|
61
|
-
return parent;
|
|
62
|
-
}
|
|
63
|
-
function waitForSelector(selector, node = document, hostElement) {
|
|
64
|
-
return new Promise((resolve) => {
|
|
65
|
-
const waitForElements = () => {
|
|
66
|
-
resolveSelector(selector, hostElement).then((elements) => {
|
|
67
|
-
if (elements && elements.length > 0) {
|
|
68
|
-
resolve(elements[0]);
|
|
69
|
-
observer === null || observer === void 0 ? void 0 : observer.disconnect();
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
waitForElements();
|
|
74
|
-
const observer = new MutationObserver(() => {
|
|
75
|
-
waitForElements();
|
|
76
|
-
});
|
|
77
|
-
observer.observe(node.body, {
|
|
78
|
-
childList: true,
|
|
79
|
-
subtree: true,
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Find an element by ID or reference
|
|
85
|
-
* @param element The element to find
|
|
86
|
-
* @param hostElement The element to start the search from
|
|
87
|
-
* @returns A promise that will resolve to the element
|
|
88
|
-
*/
|
|
89
|
-
function findElement(element, hostElement) {
|
|
90
|
-
if (element instanceof Promise) {
|
|
91
|
-
return element;
|
|
92
|
-
}
|
|
93
|
-
if (typeof element === 'object') {
|
|
94
|
-
return Promise.resolve(element);
|
|
95
|
-
}
|
|
96
|
-
const selector = `#${element}`;
|
|
97
|
-
return waitForSelector(selector, document, hostElement);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export { findElement as f, resolveSelector as r };
|
|
101
|
-
//# sourceMappingURL=find-element-CFRrPFxi.js.map
|
|
102
|
-
|
|
103
|
-
//# sourceMappingURL=find-element-CFRrPFxi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"find-element-CFRrPFxi.js","sources":["src/components/utils/find-element.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Will try to resolve the selector in the light dom, shadow dom or slot\n * @param selector The selector to resolve\n * @param hostElement The element to start the search from\n * @returns Promise with the resolved elements or undefined if not found\n */\nexport async function resolveSelector(\n selector: string,\n hostElement?: HTMLElement\n): Promise<HTMLElement[] | undefined> {\n const elements: HTMLElement[] = Array.from(\n document.querySelectorAll(selector)\n );\n\n if (elements.length > 0) {\n return Promise.resolve(elements);\n }\n\n if (hostElement === undefined) {\n return Promise.resolve(undefined);\n }\n\n const shadowRoot = getRootFor(hostElement);\n\n if (shadowRoot === undefined || !(shadowRoot instanceof ShadowRoot)) {\n return Promise.resolve(undefined);\n }\n\n const elementsInShadowRoot: HTMLElement[] = Array.from(\n shadowRoot.querySelectorAll(selector)\n );\n\n const elementsInHost: HTMLElement[] = Array.from(\n shadowRoot.host.querySelectorAll(selector)\n );\n\n const elementsInComponent: HTMLElement[] = [\n ...elementsInHost,\n ...elementsInShadowRoot,\n ];\n\n if (elementsInComponent.length > 0) {\n return Promise.resolve(elementsInComponent);\n }\n\n return Promise.resolve(undefined);\n}\n\n/**\n * Walk up the DOM to find the nearest shadow root\n * @param element The element to get the root for\n * @param parent This will determine how far up the DOM to travel to find the root\n * @returns The root element\n */\nexport function getRootFor(element: HTMLElement, parent = document.body) {\n if (!element.parentElement && !element.parentNode) {\n return undefined;\n }\n\n if (element.parentNode instanceof ShadowRoot) {\n return element.parentNode;\n }\n\n let currentNode = element.parentElement;\n\n while (currentNode) {\n if (currentNode.shadowRoot) {\n return currentNode.shadowRoot;\n } else if (currentNode.parentNode instanceof ShadowRoot) {\n return currentNode.parentNode;\n }\n\n currentNode = currentNode.parentElement;\n }\n\n return parent;\n}\n\nexport function waitForSelector(\n selector: string,\n node = document,\n hostElement?: HTMLElement\n): Promise<Element> {\n return new Promise((resolve) => {\n const waitForElements = () => {\n resolveSelector(selector, hostElement).then((elements) => {\n if (elements && elements.length > 0) {\n resolve(elements[0]);\n observer?.disconnect();\n }\n });\n };\n\n waitForElements();\n\n const observer = new MutationObserver(() => {\n waitForElements();\n });\n\n observer.observe(node.body, {\n childList: true,\n subtree: true,\n });\n });\n}\n\n/**\n * Find an element by ID or reference\n * @param element The element to find\n * @param hostElement The element to start the search from\n * @returns A promise that will resolve to the element\n */\nexport function findElement(\n element: string | HTMLElement | Promise<HTMLElement>,\n hostElement?: HTMLElement\n): Promise<Element> {\n if (element instanceof Promise) {\n return element;\n }\n\n if (typeof element === 'object') {\n return Promise.resolve(element);\n }\n\n const selector = `#${element}`;\n return waitForSelector(selector, document, hostElement);\n}\n"],"names":[],"mappings":"AAAA;;;;;;;AAOG;AAEH;;;;;AAKG;AACI,eAAe,eAAe,CACnC,QAAgB,EAChB,WAAyB,EAAA;AAEzB,IAAA,MAAM,QAAQ,GAAkB,KAAK,CAAC,IAAI,CACxC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CACpC;AAED,IAAA,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;AACvB,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;;AAGlC,IAAA,IAAI,WAAW,KAAK,SAAS,EAAE;AAC7B,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;;AAGnC,IAAA,MAAM,UAAU,GAAG,UAAU,CAAC,WAAW,CAAC;IAE1C,IAAI,UAAU,KAAK,SAAS,IAAI,EAAE,UAAU,YAAY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