@siemens/ix 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/READMEOSS.html +10 -10
- package/components/index.js +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 +1 -1
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +1 -1
- package/components/ix-checkbox-group.js +1 -1
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +1 -1
- package/components/ix-content.js +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-css-grid.js +1 -1
- package/components/ix-custom-field.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-date-input.js +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-input.js +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-dropdown-button.js +1 -1
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.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 +1 -1
- package/components/ix-event-list.js +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-content.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 +1 -1
- package/components/ix-helper-text.js +1 -1
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +1 -1
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +1 -1
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +1 -1
- package/components/ix-menu-category.js +1 -1
- 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 +1 -1
- package/components/ix-message-bar.js +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 +1 -1
- package/components/ix-number-input.js +1 -1
- package/components/ix-pagination.js +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +1 -1
- package/components/ix-pill.js +1 -1
- package/components/ix-popover-content.d.ts +11 -0
- package/components/ix-popover-content.js +1 -0
- package/components/ix-popover-footer.d.ts +11 -0
- package/components/ix-popover-footer.js +1 -0
- package/components/ix-popover-header.d.ts +11 -0
- package/components/ix-popover-header.js +1 -0
- package/components/ix-popover-image.d.ts +11 -0
- package/components/ix-popover-image.js +1 -0
- package/components/ix-popover.d.ts +11 -0
- package/components/ix-popover.js +1 -0
- package/components/ix-progress-indicator.js +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-radio-group.js +1 -1
- package/components/ix-radio.js +1 -1
- package/components/ix-range-field.js +1 -1
- package/components/ix-row.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +1 -1
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tab-panel.js +1 -1
- package/components/ix-tab-set.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +1 -1
- package/components/ix-tile.js +1 -1
- package/components/ix-time-input.js +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +1 -1
- package/components/ix-workflow-step.js +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/{dist/siemens-ix/p-c350c5d0.entry.js → components/p-3VG6z9c3.js} +1 -1
- package/components/p-5ntkLbuJ.js +1 -0
- package/components/p-7HGOhDMX.js +1 -0
- package/components/p-B-O0ylt_.js +1 -0
- package/components/p-BBCsPlPH.js +1 -0
- package/components/p-BDlGgfYh.js +1 -0
- package/components/{p-BP8g-yqY.js → p-BNAvpXSk.js} +1 -1
- package/components/{p-BE4QI9tD.js → p-BST8QY5w.js} +1 -1
- package/components/{p-B4Yxzuow.js → p-BWH03B1n.js} +1 -1
- package/components/{p-C-wf4kbs.js → p-BWknDysp.js} +1 -1
- package/components/p-BbW5EIKF.js +1 -0
- package/components/p-BbwShqw_.js +1 -0
- package/components/p-BtSt9tC5.js +1 -0
- package/components/p-BuBQiemL.js +1 -0
- package/components/{p-DQql_9wo.js → p-BzFLbXmT.js} +1 -1
- package/components/{p-CcllZcv2.js → p-C-sZLWci.js} +1 -1
- package/components/{p-CVmLf9WY.js → p-C0WZnIxc.js} +1 -1
- package/components/{p-B5k8YVR0.js → p-C21npbUc.js} +1 -1
- package/components/p-C2jvmCOl.js +1 -0
- package/components/p-C5UTTqsv.js +1 -0
- package/components/{p-BwC_Hmai.js → p-CAH3dF6j.js} +1 -1
- package/{dist/siemens-ix/p-Dl_bUxb7.js → components/p-CApDAYIa.js} +1 -1
- package/components/{p-B1q6Xh9M.js → p-CDf5TQum.js} +1 -1
- package/components/p-CG9cQxRO.js +1 -0
- package/components/p-CGHbrmJg.js +1 -0
- package/components/{p-BcxPyyrm.js → p-CIA8i4dm.js} +1 -1
- package/components/{p-DUkuP1OH.js → p-CJoOEoc-.js} +1 -1
- package/components/p-CMtwWb3-.js +1 -0
- package/components/p-CNLoALIl.js +1 -0
- package/components/p-CT5pAQCz.js +1 -0
- package/components/{p-DN2Mr91y.js → p-CTbTAb9U.js} +1 -1
- package/components/p-CpOGS2e_.js +1 -0
- package/components/{p-uIG84RqI.js → p-CrDBjFhu.js} +1 -1
- package/components/{p-JevOq-9X.js → p-CrLxhwo2.js} +1 -1
- package/components/{p-CsP_r-y6.js → p-CuFZ7CXu.js} +1 -1
- package/components/{p-CJ3dR7zd.js → p-Cy2KAdml.js} +1 -1
- package/components/{p-DSpVcflZ.js → p-Czy7a3I4.js} +1 -1
- package/components/p-DDvuSQX3.js +1 -0
- package/components/{p-DdMuwGlF.js → p-DHydRnvu.js} +1 -1
- package/components/{p-546lBshK.js → p-DKH7tPDu.js} +1 -1
- package/components/{p-qsIASuyM.js → p-DM7ma3Eh.js} +1 -1
- package/components/p-DT02jDB7.js +1 -0
- package/components/p-Dfd_ifAu.js +1 -0
- package/components/{p-MZOpritx.js → p-DhWkcMmR.js} +1 -1
- package/components/p-DiLKm3tq.js +1 -0
- package/components/{p-Cf71L4Ol.js → p-DtOqKp7K.js} +1 -1
- package/components/p-DtmgZu-S.js +1 -0
- package/components/p-Dw_A3HUC.js +1 -0
- package/components/{p-By6x--zJ.js → p-Dwe6tWhq.js} +1 -1
- package/components/p-DziPiOL3.js +1 -0
- package/components/{p-DfnCSsMy.js → p-GGleop6j.js} +1 -1
- package/components/p-GmOVROeD.js +1 -0
- package/components/{p-W0q0WVKl.js → p-ImMb0joA.js} +1 -1
- package/components/p-Wr4Qf8LA.js +1 -0
- package/components/{p-DTcUamMt.js → p-aUZgVnx5.js} +1 -1
- package/components/{p-zs7a2E3b.js → p-wFiL3dN1.js} +1 -1
- package/components/{p-_Uc7YwjU.js → p-zqHenwXl.js} +1 -1
- package/components/{p-CuswfnZ5.js → p-zyYHTdEN.js} +1 -1
- package/dist/cjs/{a11y-C_6YiIMa.js → a11y-_XjpTo2w.js} +10 -0
- package/dist/cjs/{base-button-C-1izOSS.js → base-button-BP6iIMR7.js} +3 -3
- package/dist/cjs/{base-icon-button-BeXf6v9s.js → base-icon-button-BmiGQb9v.js} +2 -2
- package/dist/cjs/{component-CYtonfpw.js → component-DgA9FH-W.js} +2 -2
- package/dist/cjs/dropdown-controller-kBwdbfGD.js +99 -0
- package/dist/cjs/{focus-proxy-BCuVbpDb.js → focus-proxy-CjxFZupW.js} +6 -5
- package/dist/cjs/focus-trap-Be3N4ytz.js +310 -0
- package/dist/cjs/{focus-utilities-yx7wWjEO.js → focus-utilities-5SZMxJg4.js} +65 -23
- package/dist/cjs/{focus-visible.mixin-BU5Ql7d1.js → focus-visible.mixin-1V7Eldn_.js} +2 -2
- package/dist/cjs/{helper-text-util-CvfY1JxE.js → helper-text-util-BkHm7ofh.js} +3 -3
- package/dist/cjs/{index-Dw-NwUuT.js → index-CwJ-mkQd.js} +2 -2
- package/dist/cjs/{index-BKQkUbyE.js → index-DnclGKUw.js} +21 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{inherit-aria-attributes.mixin-Sl7J-OlO.js → inherit-aria-attributes.mixin-EyRU0cDO.js} +2 -2
- package/dist/cjs/{input-picker.mixin-EoIayQV9.js → input-picker.mixin-Cf82jV-C.js} +2 -2
- package/dist/cjs/{input.fc-CsACCdp7.js → input.fc-DM-hX3xb.js} +3 -3
- package/dist/cjs/ix-action-card.cjs.entry.js +5 -4
- package/dist/cjs/ix-application-header.cjs.entry.js +14 -14
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +5 -5
- package/dist/cjs/ix-application.cjs.entry.js +28 -13
- package/dist/cjs/ix-avatar_2.cjs.entry.js +9 -9
- package/dist/cjs/ix-blind.cjs.entry.js +9 -9
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +10 -10
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +8 -8
- package/dist/cjs/ix-button.cjs.entry.js +8 -8
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/ix-card-list.cjs.entry.js +8 -8
- package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-category-filter.cjs.entry.js +8 -8
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-checkbox.cjs.entry.js +20 -7
- package/dist/cjs/ix-chip.cjs.entry.js +11 -11
- package/dist/cjs/ix-col_4.cjs.entry.js +21 -23
- package/dist/cjs/ix-content-header.cjs.entry.js +5 -5
- package/dist/cjs/ix-content.cjs.entry.js +6 -6
- 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-custom-field.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +14 -14
- package/dist/cjs/ix-date-input.cjs.entry.js +15 -14
- package/dist/cjs/ix-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-datetime-input.cjs.entry.js +14 -13
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +6 -6
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +11 -11
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +14 -13
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
- package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
- package/dist/cjs/ix-field-label_2.cjs.entry.js +12 -12
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +30 -13
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group.cjs.entry.js +11 -11
- package/dist/cjs/ix-helper-text.cjs.entry.js +6 -6
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +12 -12
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +11 -11
- package/dist/cjs/ix-input.cjs.entry.js +11 -13
- 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-kpi.cjs.entry.js +5 -5
- package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
- package/dist/cjs/ix-link-button.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +9 -9
- package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-category.cjs.entry.js +255 -38
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +8 -8
- package/dist/cjs/ix-menu-item.cjs.entry.js +221 -32
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu.cjs.entry.js +195 -18
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
- 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 +6 -6
- package/dist/cjs/ix-number-input.cjs.entry.js +10 -10
- package/dist/cjs/ix-pagination.cjs.entry.js +7 -7
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane.cjs.entry.js +102 -25
- package/dist/cjs/ix-pill_4.cjs.entry.js +23 -23
- package/dist/cjs/ix-popover-content.cjs.entry.js +26 -0
- package/dist/cjs/ix-popover-footer.cjs.entry.js +26 -0
- package/dist/cjs/ix-popover-header.cjs.entry.js +70 -0
- package/dist/cjs/ix-popover-image.cjs.entry.js +33 -0
- package/dist/cjs/ix-popover.cjs.entry.js +996 -0
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +5 -5
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- 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-range-field.cjs.entry.js +7 -7
- package/dist/cjs/ix-select.cjs.entry.js +394 -24
- package/dist/cjs/ix-slider.cjs.entry.js +10 -10
- package/dist/cjs/ix-split-button.cjs.entry.js +7 -7
- package/dist/cjs/ix-tab-panel.cjs.entry.js +5 -5
- package/dist/cjs/ix-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-input.cjs.entry.js +15 -14
- package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle-button.cjs.entry.js +8 -8
- package/dist/cjs/ix-toggle.cjs.entry.js +10 -10
- package/dist/cjs/ix-tooltip.cjs.entry.js +12 -3
- package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-tree.cjs.entry.js +4 -3
- package/dist/cjs/ix-typography.cjs.entry.js +2 -2
- package/dist/cjs/ix-upload.cjs.entry.js +6 -6
- package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -5
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/{listener-BafrcTaM.js → listener-ClEsCfX0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{menu-service-D_QsHUgR.js → menu-service-DBg-0e5W.js} +13 -2
- package/dist/cjs/path-utils-CQKWhbQW.js +169 -0
- package/dist/cjs/{shadow-dom-BG8VqeIu.js → shadow-dom-BL5F7RFW.js} +13 -0
- package/dist/cjs/siemens-ix.cjs.js +3 -3
- package/dist/cjs/{tab.mixin-DObUK6A4.js → tab.mixin-C1KwKb64.js} +1 -1
- package/dist/cjs/uuid-Bo2QzEg9.js +15 -0
- package/dist/cjs/{validation-Dier-uPA.js → validation-DJaUH-UR.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -1
- package/dist/collection/components/action-card/action-card.css +18 -0
- package/dist/collection/components/action-card/action-card.js +5 -1
- package/dist/collection/components/application/application.js +25 -10
- package/dist/collection/components/application-header/application-header.js +9 -9
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +2 -2
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +2 -2
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/blind/blind.css +27 -0
- package/dist/collection/components/blind/blind.js +5 -5
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +3 -3
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/collection/components/button/base-button.js +1 -1
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-accordion/card-accordion.js +4 -4
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.css +1 -1
- package/dist/collection/components/card-list/card-list.js +6 -6
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +2 -2
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/checkbox/checkbox.css +13 -4
- package/dist/collection/components/checkbox/checkbox.js +21 -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 +2 -2
- package/dist/collection/components/content/content.css +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +1 -1
- package/dist/collection/components/custom-field/custom-field.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.css +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
- package/dist/collection/components/date-input/date-input.js +5 -4
- package/dist/collection/components/date-picker/date-picker.css +4 -0
- package/dist/collection/components/date-picker/date-picker.js +7 -7
- package/dist/collection/components/date-time-card/date-time-card.js +2 -2
- package/dist/collection/components/datetime-input/datetime-input.js +3 -3
- package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-controller.js +20 -82
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +6 -6
- 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 +1 -1
- 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 +2 -2
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/filter-chip/filter-chip.css +3 -1
- package/dist/collection/components/filter-chip/filter-chip.js +31 -1
- package/dist/collection/components/flip-tile/flip-tile.js +3 -3
- 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/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +2 -2
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input/input.js +5 -7
- package/dist/collection/components/input/number-input.js +5 -5
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/ix-playground/ix-playground.js +1 -1
- 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/menu/menu-expand-icon.css +1 -1
- package/dist/collection/components/menu/menu-expand-icon.js +3 -3
- package/dist/collection/components/menu/menu.css +21 -3
- package/dist/collection/components/menu/menu.js +238 -14
- package/dist/collection/components/menu-about/menu-about.js +2 -2
- 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 +122 -32
- package/dist/collection/components/menu-item/menu-item.js +117 -19
- package/dist/collection/components/menu-settings/menu-settings.js +2 -2
- 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 +3 -3
- 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.css +1 -0
- 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.css +2 -2
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.css +4 -0
- package/dist/collection/components/pane/pane.js +119 -21
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/popover/popover-controller.js +161 -0
- package/dist/collection/components/popover/popover.css +75 -0
- package/dist/collection/components/popover/popover.js +940 -0
- package/dist/collection/components/popover/test/popover.constants.js +19 -0
- package/dist/collection/components/popover/test/popover.fixtures.js +111 -0
- package/dist/collection/components/popover/test/popover.page.js +318 -0
- package/dist/collection/components/popover-content/popover-content.css +81 -0
- package/dist/collection/components/popover-content/popover-content.js +67 -0
- package/dist/collection/components/popover-footer/popover-footer.css +91 -0
- package/dist/collection/components/popover-footer/popover-footer.js +68 -0
- package/dist/collection/components/popover-header/popover-header.css +105 -0
- package/dist/collection/components/popover-header/popover-header.js +205 -0
- package/dist/collection/components/popover-image/popover-image.css +80 -0
- package/dist/collection/components/popover-image/popover-image.js +96 -0
- package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range-field/range-field.js +2 -2
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +25 -3
- package/dist/collection/components/select/select.js +420 -16
- package/dist/collection/components/select-item/select-item.css +5 -0
- package/dist/collection/components/select-item/select-item.js +33 -3
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/tab-item/tab-item.js +5 -5
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tab-set/tab-set.js +1 -1
- package/dist/collection/components/tabs/tabs.js +5 -5
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +5 -4
- package/dist/collection/components/time-picker/time-picker.js +17 -19
- package/dist/collection/components/toast/toast-container.js +2 -2
- 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.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +11 -2
- 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 +3 -3
- package/dist/collection/components/utils/a11y.js +9 -0
- package/dist/collection/components/utils/focus/focus-proxy.js +5 -4
- package/dist/collection/components/utils/focus/focus-trap.js +286 -69
- package/dist/collection/components/utils/focus/focus-utilities.js +65 -23
- package/dist/collection/components/utils/menu-service/menu-service.js +13 -2
- package/dist/collection/components/utils/nested-overlay/hierarchy.js +44 -0
- package/dist/collection/components/utils/nested-overlay/index.js +11 -0
- package/dist/collection/components/utils/nested-overlay/nested-overlay-stack.js +101 -0
- package/dist/collection/components/utils/nested-overlay/path-utils.js +17 -0
- package/dist/collection/components/utils/nested-overlay/types.js +1 -0
- package/dist/collection/components/utils/shadow-dom.js +12 -0
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/esm/{a11y-B5k8YVR0.js → a11y-C21npbUc.js} +10 -1
- package/dist/esm/{base-button-hppF0uUM.js → base-button-DZdtpLxn.js} +3 -3
- package/dist/esm/{base-icon-button-_xVULsPr.js → base-icon-button-DufFLJC-.js} +2 -2
- package/dist/esm/{component-Chfbghog.js → component-DqJSHc3A.js} +2 -2
- package/dist/esm/dropdown-controller-Jfg3ZWk6.js +96 -0
- package/dist/esm/{focus-proxy-BgLEsVE2.js → focus-proxy-BQyoX-Kl.js} +6 -5
- package/dist/esm/focus-trap-IK9ialav.js +304 -0
- package/dist/esm/{focus-utilities-DnaItyVQ.js → focus-utilities-6ZxKp7Jn.js} +66 -24
- package/dist/esm/{focus-visible.mixin-CoMZ6z5Z.js → focus-visible.mixin-CaRK3Ex_.js} +2 -2
- package/dist/esm/{helper-text-util-AEl-1QU6.js → helper-text-util-D0LEFZuB.js} +3 -3
- package/dist/esm/{index-Cl7fhG1I.js → index-DgUGsIlh.js} +2 -2
- package/dist/esm/{index-Ca5WUunf.js → index-EBgS4zhE.js} +21 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{inherit-aria-attributes.mixin-CBuZQFB-.js → inherit-aria-attributes.mixin-nCmPujqf.js} +2 -2
- package/dist/esm/{input-picker.mixin-Bo_sZpC4.js → input-picker.mixin-DudWFH-e.js} +2 -2
- package/dist/esm/{input.fc-DjE-oOZc.js → input.fc-CE3kP-L_.js} +3 -3
- package/dist/esm/ix-action-card.entry.js +5 -4
- package/dist/esm/ix-application-header.entry.js +14 -14
- package/dist/esm/ix-application-switch-modal.entry.js +5 -5
- package/dist/esm/ix-application.entry.js +28 -13
- package/dist/esm/ix-avatar_2.entry.js +9 -9
- package/dist/esm/ix-blind.entry.js +9 -9
- package/dist/esm/ix-breadcrumb-item.entry.js +10 -10
- package/dist/esm/ix-breadcrumb.entry.js +8 -8
- package/dist/esm/ix-button.entry.js +8 -8
- package/dist/esm/ix-card-accordion_2.entry.js +7 -7
- package/dist/esm/ix-card-list.entry.js +8 -8
- package/dist/esm/ix-card_2.entry.js +4 -4
- package/dist/esm/ix-category-filter.entry.js +8 -8
- package/dist/esm/ix-checkbox-group.entry.js +4 -4
- package/dist/esm/ix-checkbox.entry.js +20 -7
- package/dist/esm/ix-chip.entry.js +11 -11
- package/dist/esm/ix-col_4.entry.js +21 -23
- package/dist/esm/ix-content-header.entry.js +5 -5
- package/dist/esm/ix-content.entry.js +6 -6
- 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-custom-field.entry.js +3 -3
- package/dist/esm/ix-date-dropdown.entry.js +14 -14
- package/dist/esm/ix-date-input.entry.js +15 -14
- package/dist/esm/ix-date-picker.entry.js +13 -13
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-datetime-input.entry.js +14 -13
- package/dist/esm/ix-datetime-picker.entry.js +6 -6
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-dropdown-button.entry.js +11 -11
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown_2.entry.js +14 -13
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-event-list-item.entry.js +7 -7
- package/dist/esm/ix-event-list.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js +6 -6
- package/dist/esm/ix-field-label_2.entry.js +12 -12
- package/dist/esm/ix-filter-chip_2.entry.js +30 -13
- package/dist/esm/ix-flip-tile-content.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +6 -6
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group.entry.js +11 -11
- package/dist/esm/ix-helper-text.entry.js +6 -6
- package/dist/esm/ix-icon-button_2.entry.js +12 -12
- package/dist/esm/ix-icon-toggle-button.entry.js +11 -11
- package/dist/esm/ix-input.entry.js +11 -13
- 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-kpi.entry.js +5 -5
- package/dist/esm/ix-layout-auto.entry.js +2 -2
- package/dist/esm/ix-link-button.entry.js +5 -5
- package/dist/esm/ix-menu-about-item.entry.js +3 -3
- package/dist/esm/ix-menu-about-news.entry.js +9 -9
- package/dist/esm/ix-menu-about.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js +6 -6
- package/dist/esm/ix-menu-category.entry.js +255 -38
- package/dist/esm/ix-menu-expand-icon.entry.js +8 -8
- package/dist/esm/ix-menu-item.entry.js +220 -31
- package/dist/esm/ix-menu-settings-item.entry.js +3 -3
- package/dist/esm/ix-menu-settings.entry.js +4 -4
- package/dist/esm/ix-menu.entry.js +195 -18
- package/dist/esm/ix-message-bar.entry.js +3 -3
- package/dist/esm/ix-modal-content_2.entry.js +6 -6
- 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 +6 -6
- package/dist/esm/ix-number-input.entry.js +10 -10
- package/dist/esm/ix-pagination.entry.js +7 -7
- package/dist/esm/ix-pane-layout.entry.js +2 -2
- package/dist/esm/ix-pane.entry.js +102 -25
- package/dist/esm/ix-pill_4.entry.js +23 -23
- package/dist/esm/ix-popover-content.entry.js +24 -0
- package/dist/esm/ix-popover-footer.entry.js +24 -0
- package/dist/esm/ix-popover-header.entry.js +68 -0
- package/dist/esm/ix-popover-image.entry.js +31 -0
- package/dist/esm/ix-popover.entry.js +994 -0
- package/dist/esm/ix-progress-indicator.entry.js +5 -5
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-radio-group.entry.js +4 -4
- package/dist/esm/ix-radio.entry.js +6 -6
- package/dist/esm/ix-range-field.entry.js +7 -7
- package/dist/esm/ix-select.entry.js +394 -24
- package/dist/esm/ix-slider.entry.js +10 -10
- package/dist/esm/ix-split-button.entry.js +7 -7
- package/dist/esm/ix-tab-panel.entry.js +5 -5
- package/dist/esm/ix-textarea.entry.js +6 -6
- package/dist/esm/ix-tile.entry.js +5 -5
- package/dist/esm/ix-time-input.entry.js +15 -14
- package/dist/esm/ix-toast-container.entry.js +3 -3
- package/dist/esm/ix-toast.entry.js +4 -4
- package/dist/esm/ix-toggle-button.entry.js +8 -8
- package/dist/esm/ix-toggle.entry.js +10 -10
- package/dist/esm/ix-tooltip.entry.js +12 -3
- package/dist/esm/ix-tree-item.entry.js +6 -6
- package/dist/esm/ix-tree.entry.js +4 -3
- package/dist/esm/ix-typography.entry.js +2 -2
- package/dist/esm/ix-upload.entry.js +6 -6
- package/dist/esm/ix-workflow-step.entry.js +5 -5
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/{listener-Dk6XGheN.js → listener-BjluJgvO.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{menu-service-DTIYRV47.js → menu-service-DYOa8RGJ.js} +13 -2
- package/dist/esm/path-utils-CNLoALIl.js +165 -0
- package/dist/esm/{shadow-dom-BIe8Nw9M.js → shadow-dom-BClJdFQP.js} +13 -1
- package/dist/esm/siemens-ix.js +4 -4
- package/dist/esm/{tab.mixin-2hU1i4Yk.js → tab.mixin-BjAM99yM.js} +1 -1
- package/dist/esm/uuid-D3T7Lr4G.js +13 -0
- package/dist/esm/{validation-BT5aAuSO.js → validation-VVt5EFy0.js} +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-074c8b24.entry.js +1 -0
- package/dist/siemens-ix/p-080147bd.entry.js +1 -0
- package/dist/siemens-ix/p-0d60bd71.entry.js +1 -0
- package/dist/siemens-ix/p-0eb3a12a.entry.js +1 -0
- package/dist/siemens-ix/p-12930fcd.entry.js +1 -0
- package/dist/siemens-ix/p-18cae4df.entry.js +1 -0
- package/dist/siemens-ix/p-1a6b7e92.entry.js +1 -0
- package/dist/siemens-ix/{p-a5d60068.entry.js → p-2072682b.entry.js} +1 -1
- package/dist/siemens-ix/{p-65b8ad90.entry.js → p-21b09017.entry.js} +1 -1
- package/dist/siemens-ix/{p-6fb379fb.entry.js → p-21e8ccb6.entry.js} +1 -1
- package/dist/siemens-ix/{p-232da11d.entry.js → p-2202ae94.entry.js} +1 -1
- package/dist/siemens-ix/{p-12750b7b.entry.js → p-247d2e7a.entry.js} +1 -1
- package/dist/siemens-ix/{p-84fbdef9.entry.js → p-24c54468.entry.js} +1 -1
- package/dist/siemens-ix/p-264e971c.entry.js +1 -0
- package/dist/siemens-ix/p-2b9f7512.entry.js +1 -0
- package/dist/siemens-ix/{p-756c8779.entry.js → p-2f7b1e1e.entry.js} +1 -1
- package/dist/siemens-ix/p-321a10b6.entry.js +1 -0
- package/dist/siemens-ix/{p-df13643b.entry.js → p-34f61a28.entry.js} +1 -1
- package/dist/siemens-ix/p-35bfaa91.entry.js +1 -0
- package/dist/siemens-ix/{p-48386b43.entry.js → p-3854287c.entry.js} +1 -1
- package/dist/siemens-ix/p-3bb5600a.entry.js +1 -0
- package/dist/siemens-ix/p-3bc384b7.entry.js +1 -0
- package/dist/siemens-ix/p-3pidUFd-.js +1 -0
- package/dist/siemens-ix/{p-8493e35e.entry.js → p-46768472.entry.js} +1 -1
- package/dist/siemens-ix/p-46b2b660.entry.js +1 -0
- package/dist/siemens-ix/p-4bc4a175.entry.js +1 -0
- package/dist/siemens-ix/p-4f0f97dd.entry.js +1 -0
- package/dist/siemens-ix/p-52dc064a.entry.js +1 -0
- package/dist/siemens-ix/p-54a22a58.entry.js +1 -0
- package/dist/siemens-ix/{p-986142f0.entry.js → p-5685a2e6.entry.js} +1 -1
- package/dist/siemens-ix/p-56d2d54c.entry.js +1 -0
- package/dist/siemens-ix/p-5ff289c7.entry.js +1 -0
- package/dist/siemens-ix/p-601224bd.entry.js +1 -0
- package/dist/siemens-ix/{p-d798773f.entry.js → p-62a7ae9c.entry.js} +1 -1
- package/dist/siemens-ix/p-63491f83.entry.js +1 -0
- package/dist/siemens-ix/p-641bc66c.entry.js +1 -0
- package/dist/siemens-ix/{p-21c0d22c.entry.js → p-646d5219.entry.js} +1 -1
- package/dist/siemens-ix/{p-6e63af65.entry.js → p-66b4875e.entry.js} +1 -1
- package/dist/siemens-ix/p-6ZxKp7Jn.js +1 -0
- package/dist/siemens-ix/{p-5024bd91.entry.js → p-6f78e0f1.entry.js} +1 -1
- package/dist/siemens-ix/{p-077cb0a7.entry.js → p-705eded9.entry.js} +1 -1
- package/dist/siemens-ix/p-710d32a6.entry.js +1 -0
- package/dist/siemens-ix/{p-edb738d9.entry.js → p-71feb871.entry.js} +1 -1
- package/dist/siemens-ix/p-7c120d09.entry.js +1 -0
- package/dist/siemens-ix/p-7e6a5c38.entry.js +1 -0
- package/dist/siemens-ix/p-7fc7c67f.entry.js +1 -0
- package/dist/siemens-ix/p-81248fd2.entry.js +1 -0
- package/dist/siemens-ix/p-8164a98b.entry.js +1 -0
- package/dist/siemens-ix/p-83f4cd88.entry.js +1 -0
- package/dist/siemens-ix/{p-38cb18b4.entry.js → p-8900e229.entry.js} +1 -1
- package/dist/siemens-ix/p-8969b2f9.entry.js +1 -0
- package/dist/siemens-ix/{p-0de68f63.entry.js → p-8c2365cc.entry.js} +1 -1
- package/dist/siemens-ix/p-8cea823b.entry.js +1 -0
- package/dist/siemens-ix/p-8d05ae35.entry.js +1 -0
- package/dist/siemens-ix/{p-68eb9150.entry.js → p-8d73ddac.entry.js} +1 -1
- package/dist/siemens-ix/{p-f847a799.entry.js → p-90a5cda7.entry.js} +1 -1
- package/dist/siemens-ix/{p-782fb465.entry.js → p-957b77ec.entry.js} +1 -1
- package/dist/siemens-ix/{p-280d8b68.entry.js → p-9a88ff9c.entry.js} +1 -1
- package/dist/siemens-ix/{p-222881a1.entry.js → p-9d9fec8c.entry.js} +1 -1
- package/dist/siemens-ix/p-B0y5hnj5.js +1 -0
- package/dist/siemens-ix/p-B4oiZyZC.js +1 -0
- package/dist/siemens-ix/p-BClJdFQP.js +1 -0
- package/dist/siemens-ix/p-BKuq0po2.js +1 -0
- package/{components/p-Dx8kFukG.js → dist/siemens-ix/p-BWgttsqY.js} +1 -1
- package/dist/siemens-ix/p-BbwShqw_.js +1 -0
- package/dist/siemens-ix/{p-B5k8YVR0.js → p-C21npbUc.js} +1 -1
- package/dist/siemens-ix/{p-DnCbHs-d.js → p-C518yBiI.js} +1 -1
- package/dist/siemens-ix/p-CNLoALIl.js +1 -0
- package/dist/siemens-ix/{p-BgL7Z4IG.js → p-CXbob2Ew.js} +1 -1
- package/dist/siemens-ix/p-D3T7Lr4G.js +1 -0
- package/dist/siemens-ix/p-DT02jDB7.js +1 -0
- package/dist/siemens-ix/p-DVJeDueL.js +1 -0
- package/dist/siemens-ix/p-DgUGsIlh.js +1 -0
- package/dist/siemens-ix/p-HpQs38Y0.js +1 -0
- package/dist/siemens-ix/{p-a44e8a8f.entry.js → p-a6a0b240.entry.js} +1 -1
- package/dist/siemens-ix/{p-bd60b9fe.entry.js → p-ae07f671.entry.js} +1 -1
- package/dist/siemens-ix/p-aec23f79.entry.js +1 -0
- package/dist/siemens-ix/p-b13f34d1.entry.js +1 -0
- package/dist/siemens-ix/p-b181bf0b.entry.js +1 -0
- package/dist/siemens-ix/p-b534dadd.entry.js +1 -0
- package/dist/siemens-ix/{p-5b3f7baa.entry.js → p-b63d7f36.entry.js} +1 -1
- package/dist/siemens-ix/p-b75db823.entry.js +1 -0
- package/dist/siemens-ix/{p-c56497da.entry.js → p-b7f2f229.entry.js} +1 -1
- package/dist/siemens-ix/p-b8beb613.entry.js +1 -0
- package/dist/siemens-ix/p-ba9dcd79.entry.js +1 -0
- package/dist/siemens-ix/{p-fcac86a5.entry.js → p-bc0f5cbe.entry.js} +1 -1
- package/dist/siemens-ix/{p-dedd5fc0.entry.js → p-bc11adcd.entry.js} +1 -1
- package/dist/siemens-ix/{p-2d7e415f.entry.js → p-bfb758cb.entry.js} +1 -1
- package/dist/siemens-ix/p-c0c6d772.entry.js +1 -0
- package/dist/siemens-ix/p-c0dc5a8e.entry.js +1 -0
- package/dist/siemens-ix/{p-04bbcd53.entry.js → p-c6d63b3c.entry.js} +1 -1
- package/dist/siemens-ix/{p-3f752a9c.entry.js → p-c97c218d.entry.js} +1 -1
- package/dist/siemens-ix/p-cYKY6sUE.js +1 -0
- package/dist/siemens-ix/{p-44a3f1f0.entry.js → p-d13c0b78.entry.js} +1 -1
- package/dist/siemens-ix/p-d1ab68b3.entry.js +1 -0
- package/dist/siemens-ix/p-d253dadb.entry.js +1 -0
- package/dist/siemens-ix/{p-2bef3c58.entry.js → p-d6c906b7.entry.js} +1 -1
- package/dist/siemens-ix/p-d74baa8a.entry.js +1 -0
- package/dist/siemens-ix/{p-d8c99656.entry.js → p-d770d8ba.entry.js} +1 -1
- package/dist/siemens-ix/p-d80e7d50.entry.js +1 -0
- package/dist/siemens-ix/{p-b17053bc.entry.js → p-d830e3d6.entry.js} +1 -1
- package/dist/siemens-ix/{p-ae5569aa.entry.js → p-da2e0f0e.entry.js} +1 -1
- package/dist/siemens-ix/{p-f107a580.entry.js → p-db105778.entry.js} +1 -1
- package/dist/siemens-ix/{p-1fa6a663.entry.js → p-dc16a32d.entry.js} +1 -1
- package/dist/siemens-ix/p-de58069d.entry.js +1 -0
- package/dist/siemens-ix/{p-85ce0a9f.entry.js → p-e283d7d1.entry.js} +1 -1
- package/dist/siemens-ix/p-e5d2a048.entry.js +1 -0
- package/dist/siemens-ix/p-e698e193.entry.js +1 -0
- package/dist/siemens-ix/{p-c921c01b.entry.js → p-e9b37020.entry.js} +1 -1
- package/dist/siemens-ix/{p-5ae844d7.entry.js → p-ee1617da.entry.js} +1 -1
- package/dist/siemens-ix/p-f0d97723.entry.js +1 -0
- package/dist/siemens-ix/p-f1257e08.entry.js +1 -0
- package/dist/siemens-ix/{p-d440cd94.entry.js → p-f8561834.entry.js} +1 -1
- package/dist/siemens-ix/{p-7a83e693.entry.js → p-f9628912.entry.js} +1 -1
- package/dist/siemens-ix/{p-2afcdc78.entry.js → p-fa5c236f.entry.js} +1 -1
- package/dist/siemens-ix/p-fb1e66a7.entry.js +1 -0
- package/dist/siemens-ix/p-fdec73d4.entry.js +1 -0
- package/dist/siemens-ix/{p-ed2aea43.entry.js → p-ff1967de.entry.js} +1 -1
- package/dist/siemens-ix/{p-yAf8WIcn.js → p-vphIrWGB.js} +1 -1
- package/dist/siemens-ix/p-wfVRhTWc.js +1 -0
- package/dist/siemens-ix/{p-D148LCh1.js → p-yZFaEeBW.js} +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +3 -0
- package/dist/types/components/application/application.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +5 -0
- package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -3
- package/dist/types/components/filter-chip/filter-chip.d.ts +6 -0
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +31 -1
- package/dist/types/components/menu-category/menu-category.d.ts +28 -2
- package/dist/types/components/menu-item/menu-item.d.ts +39 -2
- package/dist/types/components/pane/pane.d.ts +14 -1
- package/dist/types/components/popover/popover-controller.d.ts +52 -0
- package/dist/types/components/popover/popover.d.ts +190 -0
- package/dist/types/components/popover/test/popover.constants.d.ts +11 -0
- package/dist/types/components/popover/test/popover.fixtures.d.ts +29 -0
- package/dist/types/components/popover/test/popover.page.d.ts +118 -0
- package/dist/types/components/popover-content/popover-content.d.ts +16 -0
- package/dist/types/components/popover-footer/popover-footer.d.ts +17 -0
- package/dist/types/components/popover-header/popover-header.d.ts +49 -0
- package/dist/types/components/popover-image/popover-image.d.ts +21 -0
- package/dist/types/components/select/select.d.ts +49 -0
- package/dist/types/components/select-item/select-item.d.ts +7 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -0
- package/dist/types/components/utils/a11y.d.ts +5 -0
- package/dist/types/components/utils/focus/focus-proxy.d.ts +6 -4
- package/dist/types/components/utils/focus/focus-trap.d.ts +16 -1
- package/dist/types/components/utils/focus/focus-utilities.d.ts +2 -2
- package/dist/types/components/utils/menu-service/menu-service.d.ts +1 -0
- package/dist/types/components/utils/nested-overlay/hierarchy.d.ts +6 -0
- package/dist/types/components/utils/nested-overlay/index.d.ts +6 -0
- package/dist/types/components/utils/nested-overlay/nested-overlay-stack.d.ts +28 -0
- package/dist/types/components/utils/nested-overlay/path-utils.d.ts +1 -0
- package/dist/types/components/utils/nested-overlay/types.d.ts +13 -0
- package/dist/types/components/utils/shadow-dom.d.ts +1 -0
- package/dist/types/components.d.ts +486 -12
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/hydrate/index.js +3360 -684
- package/hydrate/index.mjs +3360 -684
- package/package.json +4 -4
- package/components/p-5jph302v.js +0 -1
- package/components/p-B1ZcjHve.js +0 -1
- package/components/p-B8RlWbEh.js +0 -1
- package/components/p-B_czElDE.js +0 -1
- package/components/p-BooU9e46.js +0 -1
- package/components/p-Btv5ReUJ.js +0 -1
- package/components/p-BtvsjuLo.js +0 -1
- package/components/p-C95SE6lT.js +0 -1
- package/components/p-CDKHgTB8.js +0 -1
- package/components/p-CKYjdhXo.js +0 -1
- package/components/p-CQj_gEvY.js +0 -1
- package/components/p-CYgb41KQ.js +0 -1
- package/components/p-C_95k0nq.js +0 -1
- package/components/p-CgOv_MV_.js +0 -1
- package/components/p-D4RWuUBi.js +0 -1
- package/components/p-D4T7_gkf.js +0 -1
- package/components/p-D5gbubPJ.js +0 -1
- package/components/p-D6Wm2E-0.js +0 -1
- package/components/p-D8Wb4thH.js +0 -1
- package/components/p-DOCAISxs.js +0 -1
- package/components/p-JXbYOM9q.js +0 -1
- package/components/p-NLlCSNeG.js +0 -1
- package/components/p-VEcjhpT4.js +0 -1
- package/components/p-XBJqkmoc.js +0 -1
- package/components/p-wEbi9beJ.js +0 -1
- package/dist/cjs/dropdown-controller-DeBeUVhj.js +0 -160
- package/dist/cjs/focus-trap-_cyPFvFq.js +0 -106
- package/dist/esm/dropdown-controller-D6Wm2E-0.js +0 -157
- package/dist/esm/focus-trap-DDLHqzV2.js +0 -102
- package/dist/siemens-ix/p-12647d5d.entry.js +0 -1
- package/dist/siemens-ix/p-15aefb52.entry.js +0 -1
- package/dist/siemens-ix/p-1629de03.entry.js +0 -1
- package/dist/siemens-ix/p-1ce32501.entry.js +0 -1
- package/dist/siemens-ix/p-2142fab0.entry.js +0 -1
- package/dist/siemens-ix/p-23aaf08e.entry.js +0 -1
- package/dist/siemens-ix/p-25c784e4.entry.js +0 -1
- package/dist/siemens-ix/p-2a735134.entry.js +0 -1
- package/dist/siemens-ix/p-2d8f3ea3.entry.js +0 -1
- package/dist/siemens-ix/p-2e5e7ccf.entry.js +0 -1
- package/dist/siemens-ix/p-40a26154.entry.js +0 -1
- package/dist/siemens-ix/p-45552c4c.entry.js +0 -1
- package/dist/siemens-ix/p-50b75fdf.entry.js +0 -1
- package/dist/siemens-ix/p-58d349a2.entry.js +0 -1
- package/dist/siemens-ix/p-5a44cb29.entry.js +0 -1
- package/dist/siemens-ix/p-5c478e3e.entry.js +0 -1
- package/dist/siemens-ix/p-61a481f3.entry.js +0 -1
- package/dist/siemens-ix/p-65bc8a0d.entry.js +0 -1
- package/dist/siemens-ix/p-69459b73.entry.js +0 -1
- package/dist/siemens-ix/p-6df3d9e4.entry.js +0 -1
- package/dist/siemens-ix/p-82f44b05.entry.js +0 -1
- package/dist/siemens-ix/p-834330b3.entry.js +0 -1
- package/dist/siemens-ix/p-8937e9b1.entry.js +0 -1
- package/dist/siemens-ix/p-8cfddec2.entry.js +0 -1
- package/dist/siemens-ix/p-8d76c0b0.entry.js +0 -1
- package/dist/siemens-ix/p-9015a4c5.entry.js +0 -1
- package/dist/siemens-ix/p-91b02cb7.entry.js +0 -1
- package/dist/siemens-ix/p-9362c304.entry.js +0 -1
- package/dist/siemens-ix/p-9586a886.entry.js +0 -1
- package/dist/siemens-ix/p-9907d408.entry.js +0 -1
- package/dist/siemens-ix/p-9b8f1bc7.entry.js +0 -1
- package/dist/siemens-ix/p-BIe8Nw9M.js +0 -1
- package/dist/siemens-ix/p-BZApVtkF.js +0 -1
- package/dist/siemens-ix/p-CgOv_MV_.js +0 -1
- package/dist/siemens-ix/p-Cl7fhG1I.js +0 -1
- package/dist/siemens-ix/p-CxGywkh5.js +0 -1
- package/dist/siemens-ix/p-D6Wm2E-0.js +0 -1
- package/dist/siemens-ix/p-DIWED8Ls.js +0 -1
- package/dist/siemens-ix/p-DnaItyVQ.js +0 -1
- package/dist/siemens-ix/p-DzWThpzp.js +0 -1
- package/dist/siemens-ix/p-GLcPX9PU.js +0 -1
- package/dist/siemens-ix/p-Z4IKO1Dx.js +0 -1
- package/dist/siemens-ix/p-afa900f7.entry.js +0 -1
- package/dist/siemens-ix/p-b1930204.entry.js +0 -1
- package/dist/siemens-ix/p-b517c2e1.entry.js +0 -1
- package/dist/siemens-ix/p-b96eabf7.entry.js +0 -1
- package/dist/siemens-ix/p-ba0eaaf5.entry.js +0 -1
- package/dist/siemens-ix/p-bef76eac.entry.js +0 -1
- package/dist/siemens-ix/p-c78a5414.entry.js +0 -1
- package/dist/siemens-ix/p-cb9f8b47.entry.js +0 -1
- package/dist/siemens-ix/p-d34c0c51.entry.js +0 -1
- package/dist/siemens-ix/p-da8840cc.entry.js +0 -1
- package/dist/siemens-ix/p-dd2b271e.entry.js +0 -1
- package/dist/siemens-ix/p-de79c9cf.entry.js +0 -1
- package/dist/siemens-ix/p-df32a25c.entry.js +0 -1
- package/dist/siemens-ix/p-e09fcd95.entry.js +0 -1
- package/dist/siemens-ix/p-e316d8a5.entry.js +0 -1
- package/dist/siemens-ix/p-ea440d84.entry.js +0 -1
- package/dist/siemens-ix/p-fpBGwEVT.js +0 -1
- package/dist/siemens-ix/p-jBB3q9qq.js +0 -1
- /package/components/{p-Bxdy-8CE.js → p-CtDOTMOT.js} +0 -0
- /package/dist/siemens-ix/{p-Ca5WUunf.js → p-EBgS4zhE.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as a,M as t,e,f as i,h as r,d as o,t as n}from"./p-Bxdy-8CE.js";import{e as s}from"./p-CQj_gEvY.js";import{m as b}from"./p-Djkc69iv.js";import{D as d,h}from"./p-Dx8kFukG.js";import{I as c}from"./p-BE4QI9tD.js";import{r as l}from"./p-BEuV0Xpe.js";import{d as u}from"./p-Btv5ReUJ.js";import{d as g}from"./p-B1ZcjHve.js";import{d as m}from"./p-CDKHgTB8.js";import{d as C}from"./p-uIG84RqI.js";import{d as A}from"./p-NLlCSNeG.js";import{d as p}from"./p-By6x--zJ.js";const v=a(class extends(t(...d,c)){constructor(a){super(!1),!1!==a&&this.__registerHost(),this.__attachShadow(),this.tabChange=e(this,"tabChange",7),this.tabClose=e(this,"tabClose",7)}get hostElement(){return this}small=!1;rounded=!1;layout="auto";placement="bottom";ariaLabelMoreTabs="Show all tabs";activeTabKey;keyboardNavigation="automatic";tabChange;tabClose;isTabsOverflow=!1;overflowMenuItems=[];resizeObserver;itemsObserver;tabsContainerRef=b();tabsRef=b();get tabs(){return Array.from(this.hostElement.querySelectorAll("ix-tab-item"))}componentDidLoad(){this.itemsObserver=new MutationObserver((()=>{this.onComponentChildrenChange(),l((()=>this.onComponentResize()))})),this.itemsObserver.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.resizeObserver=new ResizeObserver((()=>this.onComponentResize())),this.resizeObserver.observe(this.hostElement),this.onComponentResize()}componentWillLoad(){this.onComponentChildrenChange(),this.activeTabKey&&this.setTabActive(this.activeTabKey)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect(),this.itemsObserver&&this.itemsObserver.disconnect()}onActiveTabChange(a,t){const e=this.tabs.find((a=>a.selected));e?.tabKey!==a&&this.emitTabChangeEvent(a,t)}setTabActive(a){const t=this.tabs;if(void 0===a)return t.forEach((a=>a.selected=!1)),this.onComponentChildrenChange(),void(this.activeTabKey=void 0);const e=t.find((t=>t.tabKey===a));return e&&!e.disabled?(t.forEach((a=>a.selected=!1)),e.selected=!0,this.onComponentChildrenChange(),this.activeTabKey=e.tabKey,e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),this.activeTabKey):void 0}onComponentChildrenChange(){const a=this.tabs;a.forEach((t=>{const e={layout:this.layout,small:this.small,rounded:this.rounded,placement:this.placement,iconOnly:a.every((a=>!a.label&&!!a.icon))};Object.assign(t,e)})),this.overflowMenuItems=Array.from(a).map((a=>({tabKey:a.tabKey,label:a.label||a.textContent||"",icon:a.icon,disabled:a.disabled}))),!a.some((a=>a.selected))&&a.length>0&&h()&&(a[0].focus(),this.emitTabChangeEvent(a[0].tabKey))}onComponentResize(){const a=this.tabsRef.current;a&&i((()=>{this.isTabsOverflow=a.scrollWidth>a.clientWidth}))}onTabClick(a){a.defaultPrevented||void 0!==a.detail.tabKey&&this.emitTabChangeEvent(a.detail.tabKey)}emitTabChangeEvent(a,t=this.activeTabKey){!function(a,t,e){const i=a(),{defaultPrevented:r}=t.emit(i.new);r&&e(i.old)}((()=>({new:this.setTabActive(a),old:t})),this.tabChange,(a=>this.setTabActive(a)))}onTabsNavigate(a){if(a.target instanceof HTMLElement&&"tablist"===a.target.getAttribute("role"))return;const t=this.tabs.filter((a=>!a.disabled));let e=t.findIndex((a=>a.selected));"manual"===this.keyboardNavigation&&(e=t.findIndex((a=>a===document.activeElement)));const i=a=>{a.focus(),"automatic"===this.keyboardNavigation&&this.emitTabChangeEvent(a.tabKey)};if("ArrowRight"===a.key||"ArrowLeft"===a.key){if(a.preventDefault(),-1===e)return;i(t[(e+("ArrowRight"===a.key?1:-1)+t.length)%t.length])}"Home"===a.key&&(a.preventDefault(),i(t[0])),"End"===a.key&&(a.preventDefault(),i(t[t.length-1]))}render(){return r(o,{key:"693c87dc0f9b96e5a18ddb2d84ddc71c94ef29b0",onTabClick:a=>this.onTabClick(a),class:{small:this.small}},r("div",{key:"b76d32b5429e62d1d11808901e828c3630685f83",ref:this.tabsContainerRef,class:{"tabs-container":!0,top:"top"===this.placement,bottom:"bottom"===this.placement}},r("div",{key:"cf4ab3c93c03ca431b2b46a24bf767f723691f44",class:{"overflow-shadow-container":!0,"overflow-shadow":this.isTabsOverflow}},r("div",{key:"9d185cf8802e1b24f14b591ac99087f9a4acdec9",role:"tablist",...this.inheritAriaAttributes,ref:this.tabsRef,class:{tabs:!0,"tabs-stretched":"stretched"===this.layout},tabIndex:this.isTabsOverflow?0:-1,onKeyDown:a=>this.onTabsNavigate(a)},r("slot",{key:"8a697543efbf5c125296d5619e820ea2d1fe26b8"}))),this.isTabsOverflow&&"stretched"!==this.layout&&r("ix-dropdown-button",{key:"7403b1b2d55cecc918a4ab32a7e5b680a12226bd",ariaLabel:this.ariaLabelMoreTabs,icon:s,class:{"tabs-context-menu":!0},variant:"subtle-tertiary"},this.overflowMenuItems.map((a=>r("ix-dropdown-item",{key:a.tabKey,checked:a.tabKey===this.activeTabKey,icon:a.icon,label:a.label,disabled:a.disabled,onClick:()=>this.activeTabKey=a.tabKey}))))))}static get delegatesFocus(){return!0}static get watchers(){return{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],activeTabKey:[{onActiveTabChange:0}]}}static get style(){return':host{width:auto;display:flex;align-items:center;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .tabs-container{display:flex;flex-direction:row;position:relative;width:100%;justify-content:space-between;align-items:center}:host .tabs-container.top::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.top::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.top::before,:host .tabs-container.top::after{top:0;bottom:auto}:host .tabs-container.bottom::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.bottom::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.bottom::before,:host .tabs-container.bottom::after{top:auto;bottom:0}:host .tabs{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:auto;scroll-behavior:smooth;width:100%;touch-action:pan-y;padding-right:2.75rem;scrollbar-width:none}:host .tabs::-webkit-scrollbar{display:none}:host .tabs.tabs-stretched{padding-right:0px}:host .tabs:focus-visible{outline-offset:-1px;outline:1px solid var(--theme-color-focus-bdr)}:host .tabs-context-menu{margin-right:0.5rem}:host .overflow-shadow-container{display:block;position:relative;height:100%;width:100%;pointer-events:all;overflow:auto}:host .overflow-shadow{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}'}},[785,"ix-tabs",{small:[4],rounded:[4],layout:[1],placement:[1],ariaLabelMoreTabs:[1,"aria-label-more-tabs"],activeTabKey:[1537,"active-tab-key"],keyboardNavigation:[1,"keyboard-navigation"],inheritAriaAttributes:[32],isTabsOverflow:[32],overflowMenuItems:[32]},void 0,{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],activeTabKey:[{onActiveTabChange:0}]}]);function f(){"undefined"!=typeof customElements&&["ix-tabs","ix-button","ix-dropdown","ix-dropdown-button","ix-dropdown-item","ix-icon-button","ix-spinner"].forEach((a=>{switch(a){case"ix-tabs":customElements.get(n(a))||customElements.define(n(a),v);break;case"ix-button":customElements.get(n(a))||u();break;case"ix-dropdown":customElements.get(n(a))||g();break;case"ix-dropdown-button":customElements.get(n(a))||m();break;case"ix-dropdown-item":customElements.get(n(a))||C();break;case"ix-icon-button":customElements.get(n(a))||A();break;case"ix-spinner":customElements.get(n(a))||p()}}))}export{v as T,f as d}
|
|
1
|
+
import{p as a,M as t,e,f as i,h as r,d as o,t as n}from"./p-CtDOTMOT.js";import{e as s}from"./p-BtSt9tC5.js";import{m as b}from"./p-Djkc69iv.js";import{D as d,h}from"./p-CApDAYIa.js";import{I as c}from"./p-BST8QY5w.js";import{r as l}from"./p-BEuV0Xpe.js";import{d as u}from"./p-Wr4Qf8LA.js";import{d as g}from"./p-B-O0ylt_.js";import{d as m}from"./p-BDlGgfYh.js";import{d as C}from"./p-CrDBjFhu.js";import{d as A}from"./p-3VG6z9c3.js";import{d as p}from"./p-Dwe6tWhq.js";const v=a(class extends(t(...d,c)){constructor(a){super(!1),!1!==a&&this.__registerHost(),this.__attachShadow(),this.tabChange=e(this,"tabChange",7),this.tabClose=e(this,"tabClose",7)}get hostElement(){return this}small=!1;rounded=!1;layout="auto";placement="bottom";ariaLabelMoreTabs="Show all tabs";activeTabKey;keyboardNavigation="automatic";tabChange;tabClose;isTabsOverflow=!1;overflowMenuItems=[];resizeObserver;itemsObserver;tabsContainerRef=b();tabsRef=b();get tabs(){return Array.from(this.hostElement.querySelectorAll("ix-tab-item"))}componentDidLoad(){this.itemsObserver=new MutationObserver((()=>{this.onComponentChildrenChange(),l((()=>this.onComponentResize()))})),this.itemsObserver.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.resizeObserver=new ResizeObserver((()=>this.onComponentResize())),this.resizeObserver.observe(this.hostElement),this.onComponentResize()}componentWillLoad(){this.onComponentChildrenChange(),this.activeTabKey&&this.setTabActive(this.activeTabKey)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect(),this.itemsObserver&&this.itemsObserver.disconnect()}onActiveTabChange(a,t){const e=this.tabs.find((a=>a.selected));e?.tabKey!==a&&this.emitTabChangeEvent(a,t)}setTabActive(a){const t=this.tabs;if(void 0===a)return t.forEach((a=>a.selected=!1)),this.onComponentChildrenChange(),void(this.activeTabKey=void 0);const e=t.find((t=>t.tabKey===a));return e&&!e.disabled?(t.forEach((a=>a.selected=!1)),e.selected=!0,this.onComponentChildrenChange(),this.activeTabKey=e.tabKey,e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),this.activeTabKey):void 0}onComponentChildrenChange(){const a=this.tabs;a.forEach((t=>{const e={layout:this.layout,small:this.small,rounded:this.rounded,placement:this.placement,iconOnly:a.every((a=>!a.label&&!!a.icon))};Object.assign(t,e)})),this.overflowMenuItems=Array.from(a).map((a=>({tabKey:a.tabKey,label:a.label||a.textContent||"",icon:a.icon,disabled:a.disabled}))),!a.some((a=>a.selected))&&a.length>0&&h()&&(a[0].focus(),this.emitTabChangeEvent(a[0].tabKey))}onComponentResize(){const a=this.tabsRef.current;a&&i((()=>{this.isTabsOverflow=a.scrollWidth>a.clientWidth}))}onTabClick(a){a.defaultPrevented||void 0!==a.detail.tabKey&&this.emitTabChangeEvent(a.detail.tabKey)}emitTabChangeEvent(a,t=this.activeTabKey){!function(a,t,e){const i=a(),{defaultPrevented:r}=t.emit(i.new);r&&e(i.old)}((()=>({new:this.setTabActive(a),old:t})),this.tabChange,(a=>this.setTabActive(a)))}onTabsNavigate(a){if(a.target instanceof HTMLElement&&"tablist"===a.target.getAttribute("role"))return;const t=this.tabs.filter((a=>!a.disabled));let e=t.findIndex((a=>a.selected));"manual"===this.keyboardNavigation&&(e=t.findIndex((a=>a===document.activeElement)));const i=a=>{a.focus(),"automatic"===this.keyboardNavigation&&this.emitTabChangeEvent(a.tabKey)};if("ArrowRight"===a.key||"ArrowLeft"===a.key){if(a.preventDefault(),-1===e)return;i(t[(e+("ArrowRight"===a.key?1:-1)+t.length)%t.length])}"Home"===a.key&&(a.preventDefault(),i(t[0])),"End"===a.key&&(a.preventDefault(),i(t[t.length-1]))}render(){return r(o,{key:"2e8b5f9f4d3658bd219e6ca5d5a829d16f0c1977",onTabClick:a=>this.onTabClick(a),class:{small:this.small}},r("div",{key:"8e45e2d46485c6e3147b2237f6109d63cd02758c",ref:this.tabsContainerRef,class:{"tabs-container":!0,top:"top"===this.placement,bottom:"bottom"===this.placement}},r("div",{key:"69b6177b0c8c7c20d039a434866f93135e168155",class:{"overflow-shadow-container":!0,"overflow-shadow":this.isTabsOverflow}},r("div",{key:"97d6ccbe5e623cbedf6be21de05005599b9a2bcd",role:"tablist",...this.inheritAriaAttributes,ref:this.tabsRef,class:{tabs:!0,"tabs-stretched":"stretched"===this.layout},tabIndex:this.isTabsOverflow?0:-1,onKeyDown:a=>this.onTabsNavigate(a)},r("slot",{key:"2ceb8d8dc886c9784e244172750192297f077360"}))),this.isTabsOverflow&&"stretched"!==this.layout&&r("ix-dropdown-button",{key:"a7041a35c2dcac4f86eefbfbae5ac36ba9c45436",ariaLabel:this.ariaLabelMoreTabs,icon:s,class:{"tabs-context-menu":!0},variant:"subtle-tertiary"},this.overflowMenuItems.map((a=>r("ix-dropdown-item",{key:a.tabKey,checked:a.tabKey===this.activeTabKey,icon:a.icon,label:a.label,disabled:a.disabled,onClick:()=>this.activeTabKey=a.tabKey}))))))}static get delegatesFocus(){return!0}static get watchers(){return{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],activeTabKey:[{onActiveTabChange:0}]}}static get style(){return':host{width:auto;display:flex;align-items:center;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .tabs-container{display:flex;flex-direction:row;position:relative;width:100%;justify-content:space-between;align-items:center}:host .tabs-container.top::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.top::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.top::before,:host .tabs-container.top::after{top:0;bottom:auto}:host .tabs-container.bottom::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.bottom::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.bottom::before,:host .tabs-container.bottom::after{top:auto;bottom:0}:host .tabs{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:auto;scroll-behavior:smooth;width:100%;touch-action:pan-y;padding-right:2.75rem;scrollbar-width:none}:host .tabs::-webkit-scrollbar{display:none}:host .tabs.tabs-stretched{padding-right:0px}:host .tabs:focus-visible{outline-offset:-1px;outline:1px solid var(--theme-color-focus-bdr)}:host .tabs-context-menu{margin-right:0.5rem}:host .overflow-shadow-container{display:block;position:relative;height:100%;width:100%;pointer-events:all;overflow:auto}:host .overflow-shadow{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}'}},[785,"ix-tabs",{small:[4],rounded:[4],layout:[1],placement:[1],ariaLabelMoreTabs:[1,"aria-label-more-tabs"],activeTabKey:[1537,"active-tab-key"],keyboardNavigation:[1,"keyboard-navigation"],inheritAriaAttributes:[32],isTabsOverflow:[32],overflowMenuItems:[32]},void 0,{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],activeTabKey:[{onActiveTabChange:0}]}]);function f(){"undefined"!=typeof customElements&&["ix-tabs","ix-button","ix-dropdown","ix-dropdown-button","ix-dropdown-item","ix-icon-button","ix-spinner"].forEach((a=>{switch(a){case"ix-tabs":customElements.get(n(a))||customElements.define(n(a),v);break;case"ix-button":customElements.get(n(a))||u();break;case"ix-dropdown":customElements.get(n(a))||g();break;case"ix-dropdown-button":customElements.get(n(a))||m();break;case"ix-dropdown-item":customElements.get(n(a))||C();break;case"ix-icon-button":customElements.get(n(a))||A();break;case"ix-spinner":customElements.get(n(a))||p()}}))}export{v as T,f as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as o,e,h as a,d as s,t as r}from"./p-CtDOTMOT.js";import{u as i,c as n,a as c,b as d,d as l}from"./p-BtSt9tC5.js";import{d as h}from"./p-3VG6z9c3.js";import{d as m}from"./p-Dwe6tWhq.js";import{d as b}from"./p-DhWkcMmR.js";const u=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closeToast=e(this,"closeToast",7)}type="info";toastTitle;autoCloseDelay=5e3;preventAutoClose=!1;icon;iconColor;hideIcon=!1;ariaLabelCloseIconButton="Close toast";closeToast;progress=0;touched=!1;paused=!1;get hostElement(){return this}getIcon(){if(this.icon)return a("ix-icon",{"data-testid":"toast-icon",name:this.icon,color:this.iconColor,size:"24"});switch(this.type){case"info":return a("ix-icon",{"data-testid":"toast-icon",name:l,size:"24",color:"color-std-text"});case"error":return a("ix-icon",{"data-testid":"toast-icon",name:d,size:"24",color:"color-alarm"});case"success":return a("ix-icon",{"data-testid":"toast-icon",name:c,size:"24",color:"color-success"});case"warning":return a("ix-icon",{"data-testid":"toast-icon",name:n,size:"24",color:"color-warning-text"});default:return""}}close(){this.hostElement&&this.hostElement.classList.add("animate__fadeOut"),setTimeout((()=>{this.closeToast.emit()}),250)}async pause(){this.paused=!0}async resume(){this.paused=!1}async isPaused(){return this.paused||this.touched}render(){let t={};const o=["toast-progress-bar"];return t={animationDuration:`${this.autoCloseDelay}ms`,animationPlayState:this.touched||this.paused?"paused":"running"},o.push("toast-progress-bar--animated"),a(s,{key:"d1d8b347562ec19da710d70d55ae49b6d1a3de72",role:"alert","aria-live":"polite","aria-atomic":"true",class:"animate__animated animate__fadeIn"},a("div",{key:"bef026521215c457e713eb33d5e0b424a5fb5e1a",class:"toast-body",onPointerLeave:()=>{this.touched=!1},onPointerEnter:()=>{this.touched=!0}},!this.type&&!this.icon||this.hideIcon?null:a("div",{class:"toast-icon"},this.getIcon()),a("div",{key:"f7c486254ea1e82a1dd3f70424cdc02ea5d6cc08",class:"toast-content"},this.toastTitle?a("ix-typography",{class:"toast-title",format:"h5"},this.toastTitle):null,a("div",{key:"80b15dbaa38fc4ec0803af9a9a19e45d979ec2fb",class:"toast-message"},a("slot",{key:"de6bb9039690a987e2b0915ef5430eca6cdda681"})),a("div",{key:"dd88a6baa8fb34e871c2391f9d740dd2c5c64c9b",class:"toast-action"},a("slot",{key:"47f87d3ba3d6e16bc5367529b1e3ad5102e001de",name:"action"}))),a("div",{key:"6d63eb42fac0c5d05c073071169e574d20627878",class:"toast-close"},a("ix-icon-button",{key:"3b81c1dd6dc012e46912f6d7356078d90f48f397",icon:i,iconColor:"color-soft-text",size:"24",variant:"tertiary",onClick:()=>this.closeToast.emit(),"aria-label":this.ariaLabelCloseIconButton}))),!this.preventAutoClose&&a("div",{key:"9b6712243f444d7d55bdd172b64676b5aba7c2a8",class:o.join(" "),style:t,onAnimationEnd:()=>{this.close()},onTransitionEnd:()=>{0===this.progress&&this.close()}}))}static get style(){return":host{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius, var(--theme-toast--border-radus));box-shadow:var(--theme-toast--box-shadow);--animate-duration:var(--theme-medium-time)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .toast-body{display:flex;position:relative;min-height:3.5rem;width:100%;flex-grow:1;padding:0.75rem 0.75rem 0.25rem}:host .toast-body .toast-icon{display:flex;align-items:flex-start;padding:0.25rem}:host .toast-body .toast-content{overflow:hidden;min-width:0;width:100%;padding:0.25rem}:host .toast-body .toast-content .toast-title{min-width:0;margin:0.25rem 0px;overflow-wrap:break-word;word-break:break-word}:host .toast-body .toast-content .toast-message{min-width:0;overflow-wrap:break-word;word-break:break-word;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .toast-body .toast-content .toast-action{margin-top:0.5rem}:host .toast-close{display:flex;position:relative;pointer-events:all;margin-left:auto;margin-right:0px;opacity:0.6}:host .toast-close:hover{opacity:1}:host .toast-progress-bar{position:absolute;bottom:0;height:0.125rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}:host .toast-progress-bar--animated{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}"}},[769,"ix-toast",{type:[513],toastTitle:[1,"toast-title"],autoCloseDelay:[2,"auto-close-delay"],preventAutoClose:[4,"prevent-auto-close"],icon:[1],iconColor:[1,"icon-color"],hideIcon:[4,"hide-icon"],ariaLabelCloseIconButton:[1,"aria-label-close-icon-button"],progress:[32],touched:[32],paused:[32],pause:[64],resume:[64],isPaused:[64]}]);function p(){"undefined"!=typeof customElements&&["ix-toast","ix-icon-button","ix-spinner","ix-typography"].forEach((t=>{switch(t){case"ix-toast":customElements.get(r(t))||customElements.define(r(t),u);break;case"ix-icon-button":customElements.get(r(t))||h();break;case"ix-spinner":customElements.get(r(t))||m();break;case"ix-typography":customElements.get(r(t))||b()}}))}export{u as T,p as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(s,i,n=new Set){i[s]&&n.add(s);for(const e of Object.keys(i))i[e].includes(s)&&t(e,i,n).forEach((t=>n.add(t)));return n}function s(t,s){for(const i of Object.keys(s))if(s[i].includes(t))return i}class i{policy;dismissInstance;instances=new Map;childIdsByParent={};constructor(t,s){this.policy=t,this.dismissInstance=s}connect(t){this.instances.set(t.getId(),t)}disconnect(t){const s=t.getId();this.removeFromHierarchy(s),this.instances.delete(s)}get(t){return this.instances.get(t)}keys(){return[...this.instances.keys()]}forEach(t){this.instances.forEach(t)}values(){return this.instances.values()}setChildIds(t,s){this.childIdsByParent[t]=s}deleteChildIdsEntry(t){delete this.childIdsByParent[t]}getChildIds(t){return this.childIdsByParent[t]||[]}getChildIdsByParent(){return this.childIdsByParent}removeFromHierarchy(t){!function(t,s,i){for(const n of i){const i=s[n];if(i){const s=i.indexOf(t);s>-1&&i.splice(s,1)}}delete s[t]}(t,this.childIdsByParent,this.instances.keys())}buildComposedPath(s,i=new Set){return t(s,this.childIdsByParent,i)}buildPathIncluding(s){return function(s,i){const n=t(s,i,new Set);return n.add(s),n}(s,this.childIdsByParent)}dismissChildren(t){for(const s of this.getChildIds(t)){const t=this.instances.get(s);t&&this.dismissInstance(t)}}dismissAll(s={}){const{ignorePolicyForIds:i=[],ignoreRelatedInHierarchy:n=!1}=s;this.forEach((s=>{const e=s.getId(),r=i.includes(e),o=t(e,this.childIdsByParent,new Set);if(i.length>0&&n){let t=!1;for(const s of i)if(o.has(s)){t=!0;break}if(!t)return}!r&&this.policy.blocksOutsideDismiss(s)||this.dismissInstance(s)}))}dismissOthers(t){const s=this.buildPathIncluding(t);this.forEach((t=>{this.policy.blocksOutsideDismiss(t)||s.has(t.getId())||this.dismissInstance(t)}))}}function n(t,s){for(const i of t)if(i instanceof HTMLElement&&i.hasAttribute(s))return i}export{i as N,s as g,n as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,M as a,h as e,d as i,t as r}from"./p-CtDOTMOT.js";import{E as o}from"./p-BtSt9tC5.js";import{D as n}from"./p-CApDAYIa.js";import{I as s}from"./p-BST8QY5w.js";import{m as h}from"./p-Djkc69iv.js";import{m as d}from"./p-DT02jDB7.js";import{c as b}from"./p-CX81WQtk.js";import{a as l}from"./p-C21npbUc.js";import{d as c}from"./p-Dfd_ifAu.js";import{d as u}from"./p-DhWkcMmR.js";const m=(t,a)=>`${t}-${a++}`;let g=0;const C=t(class extends(a(...n,s)){constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow()}label;home=!1;bottom=!1;icon;notifications;active=!1;disabled=!1;tooltipText;href;target="_self";rel;isCategory=!1;menuCategoryLabel;get hostElement(){return this}tooltip;menuExpanded=!1;isInMenuContext=!1;hostTabIndex=-1;async setTabIndex(t){this.hostTabIndex=t}internalItemId=m("ix-menu-item-",g++);buttonRef=h();isHostedInsideCategory=!1;menuExpandedDisposer;observer=b((()=>{this.setTooltip()}));componentWillLoad(){super.componentWillLoad(),this.isHostedInsideCategory=!!this.hostElement.closest("ix-menu-category");const t=this.hostElement.getRootNode(),a=t instanceof ShadowRoot&&"ix-menu"===t.host?.tagName?.toLowerCase(),e=this.hostElement.parentElement,i=!this.isHostedInsideCategory&&("ix-menu"===e?.tagName?.toLowerCase()||"a"===e?.tagName?.toLowerCase()&&"ix-menu"===e?.parentElement?.tagName?.toLowerCase());this.isInMenuContext=a||i,this.onIconChange(),this.menuExpanded=d.nativeElement?.expand||!1,this.menuExpandedDisposer=d.expandChange.on((t=>this.menuExpanded=t))}componentWillRender(){this.setTooltip()}setTooltip(){this.tooltip=this.tooltipText??this.label??this.hostElement.textContent??void 0}connectedCallback(){this.observer.observe(this.hostElement,{subtree:!0,childList:!0,characterData:!0})}disconnectedCallback(){super.disconnectedCallback(),this.observer&&this.observer.disconnect(),this.menuExpandedDisposer&&this.menuExpandedDisposer.dispose()}onIconChange(){this.isHostedInsideCategory||this.hostElement.icon||(this.icon=o)}handleCategoryKeyDown(t){"Enter"!==t.key&&" "!==t.key||!this.isHostedInsideCategory||this.returnFocusToParentCategoryMenuItem()}getAriaLabel(){return"aria-label"in this.inheritAriaAttributes?this.inheritAriaAttributes["aria-label"]:this.tooltipText&&this.tooltipText!==this.label&&this.tooltipText!==this.hostElement.textContent?`${this.label??this.menuCategoryLabel??this.hostElement.textContent??""} ${this.tooltipText}`:void 0}getEffectiveRole(t){return t??(this.isHostedInsideCategory||this.isCategory||this.isInMenuContext?"menuitem":void 0)}returnFocusToParentCategoryMenuItem(){const t=this.hostElement.closest("ix-menu-category"),a=t?.shadowRoot?.querySelector("ix-menu-item.category-parent");t?.dispatchEvent(new CustomEvent("ixMenuCategoryItemSelect",{bubbles:!0,composed:!0})),a?.focus()}render(){let t={};this.home&&(t={slot:"home"}),this.bottom&&(t={slot:"bottom"});const{role:a,...r}=this.inheritAriaAttributes,o=this.getEffectiveRole(a),n={class:"tab",...r},s=[this.icon&&e("ix-icon",{key:"64307467f954284272278cca78a80ae4f9c3b95a",class:"tab-icon",name:this.icon,"aria-hidden":"true"}),this.notifications?e("div",{class:"notification"},e("div",{class:"pill"},this.notifications)):null,e("span",{key:"1fd2d64f4f8487cb81ad7b981d4f8a0c5ebfb312",id:this.internalItemId,class:"tab-text text-default"},this.label,e("slot",{key:"571294f967aae798c6a63f3fbcd46aa4453e1263"}))],h=this.getAriaLabel();return e(i,{key:"b3583fa356cc996792724ff03627f1a2fc6f9abd",class:{disabled:this.disabled,"home-tab":this.home,"bottom-tab":this.bottom,active:this.active,"tab-nested":this.isHostedInsideCategory,"ix-focusable":!this.disabled},...t},this.href?e("a",{...n,role:o,href:this.disabled?void 0:this.href,target:this.target,rel:this.rel,tabIndex:this.isInMenuContext||this.isCategory?this.hostTabIndex:void 0,ref:this.buttonRef,onKeyDown:t=>this.handleCategoryKeyDown(t),onClick:t=>{this.disabled&&(t.preventDefault(),t.stopPropagation())},"aria-disabled":l(this.disabled),"aria-label":h,"aria-current":this.active?"page":void 0},s):e("button",{...n,role:o,tabIndex:this.isInMenuContext||this.isCategory?this.hostTabIndex:void 0,ref:this.buttonRef,onKeyDown:t=>this.handleCategoryKeyDown(t),"aria-disabled":l(this.disabled),"aria-label":h,"aria-current":this.active?"page":void 0},s),e("ix-tooltip",{key:"94f61e508c2c4653a40462f0a3e86ee86356e687",for:this.buttonRef.waitForCurrent(),placement:"right",showDelay:1e3,interactive:!1,"aria-hidden":"true","aria-labelledby":this.internalItemId},this.tooltip))}static get delegatesFocus(){return!0}static get watchers(){return{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],icon:[{onIconChange:0}]}}static get style(){return':host{position:relative;display:block;cursor:pointer;height:var(--ix-menu-item-height, 3rem);min-height:var(--ix-menu-item-height, 3rem);max-height:var(--ix-menu-item-height, 3rem)}:host .tab{all:unset;box-sizing:border-box;display:flex;position:relative;align-items:center;height:var(--ix-menu-item-height, 3rem);width:100%;z-index:500;padding-left:0.875rem}:host .tab:not(.disabled):not(:disabled).hover,:host .tab:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host .tab:not(.disabled):not(:disabled).active,:host .tab:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host .tab-icon{color:var(--theme-nav-item-primary-icon--color);position:relative;pointer-events:none}:host .tab:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:-1px}:host .notification{display:inline-flex;position:absolute;top:0.25rem;left:1.5rem}:host .notification .pill{display:inline-flex;justify-content:center;align-items:center;height:0.5rem;min-width:1rem;position:relative;border-radius:6.25rem;background-color:var(--theme-color-primary);font-size:0.75rem;font-weight:bold;line-height:1;font-family:Siemens Sans, Arial, sans-serif;color:var(--theme-color-primary--contrast);padding:0.25rem}:host .tab-text{display:block;color:var(--theme-nav-item-primary--color);margin:0 1rem 0 1.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.active) .tab,:host(.selected) .tab{background-color:var(--theme-nav-item-primary--background--selected)}:host(.active) .tab::before,:host(.selected) .tab::before{content:"";background-color:var(--theme-nav-item-primary--border-color--selected);height:var(--ix-menu-item-height, 3rem);width:0.25rem;left:0;position:absolute}:host(.active) .tab>.glyph,:host(.selected) .tab>.glyph{color:var(--theme-nav-item-primary-icon--color--selected)}:host(.disabled){color:var(--theme-color-weak-text);pointer-events:none;cursor:default}:host(.disabled) .tab>.tab-icon{color:var(--theme-color-weak-text)}:host(.disabled) .tab-text{color:var(--theme-color-weak-text)}:host(.bottom-tab),:host([slot=bottom]){min-height:2.25rem;height:2.25rem;max-height:2.25rem}:host(.bottom-tab) .tab,:host([slot=bottom]) .tab{height:2.25rem}:host(.bottom-tab) .tab::before,:host([slot=bottom]) .tab::before{height:2.25rem;background-color:transparent}:host(.bottom-tab).active:hover,:host(.bottom-tab).selected:hover,:host([slot=bottom]).active:hover,:host([slot=bottom]).selected:hover{background-color:var(--theme-nav-item-secondary--background--selected)}:host(.bottom-tab).active:active,:host(.bottom-tab).selected:active,:host([slot=bottom]).active:active,:host([slot=bottom]).selected:active{background-color:var(--theme-nav-item-secondary--background--selected)}:host(.bottom-tab.active) .tab,:host(.bottom-tab.selected) .tab,:host(.active[slot=bottom]) .tab,:host(.selected[slot=bottom]) .tab{background-color:var(--theme-nav-item-secondary--background--selected)}:host(.tab-nested) .tab{flex-direction:row;padding-left:1.375rem}:host(.tab-nested) .tab .notification{position:relative;top:0;left:0;padding-left:0.5rem}:host(.tab-nested) .tab .tab-icon{padding-left:0.5rem;padding-right:0.5rem}:host(.tab-nested) .tab .tab-text{margin-left:0.5rem}:host(.tab-nested) .tab::before{display:none}'}},[785,"ix-menu-item",{label:[1],home:[4],bottom:[4],icon:[1025],notifications:[2],active:[4],disabled:[4],tooltipText:[1,"tooltip-text"],href:[1],target:[1],rel:[1],isCategory:[4,"is-category"],menuCategoryLabel:[1,"menu-category-label"],inheritAriaAttributes:[32],tooltip:[32],menuExpanded:[32],isInMenuContext:[32],hostTabIndex:[32],setTabIndex:[64]},void 0,{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],icon:[{onIconChange:0}]}]);function p(){"undefined"!=typeof customElements&&["ix-menu-item","ix-tooltip","ix-typography"].forEach((t=>{switch(t){case"ix-menu-item":customElements.get(r(t))||customElements.define(r(t),C);break;case"ix-tooltip":customElements.get(r(t))||c();break;case"ix-typography":customElements.get(r(t))||u()}}))}export{C as M,m as c,p as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./p-
|
|
1
|
+
import{d as t}from"./p-BbwShqw_.js";async function n(n){const a=(await n.waitForCurrent()).getAttribute("data-ix-dropdown");if(t.dismissAll(),!a)return;const o=t.getDropdownById(a);o&&t.present(o)}async function a(n){const a=(await n.waitForCurrent()).getAttribute("data-ix-dropdown");if(!a)return;const o=t.getDropdownById(a);o&&t.dismiss(o)}function o(t,n,a,o){n||(t.stopPropagation(),t.preventDefault(),a()),o.current&&o.current.focus()}function s(t,n,a){return{badInput:!1,customError:!1,patternMismatch:t,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!t,valueMissing:!!n&&!a}}const r=n=>class extends n{constructor(){super()}async openPicker(){const n=this.getPickerElement(),a=await(n?.waitForCurrent());a&&(t.dismissAll(),requestAnimationFrame((()=>{a.show=!0})))}};export{r as I,s as a,a as c,o as h,n as o}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,M as e,e as i,h as s,i as o,d as r,t as n}from"./p-CtDOTMOT.js";import{m as a,v as l,h,K as d}from"./p-BtSt9tC5.js";import{a as c}from"./p-C21npbUc.js";import{P as u,a as p,u as b,F as m}from"./p-BBCsPlPH.js";import{q as f,I as v}from"./p-C5UTTqsv.js";import{D as w}from"./p-CApDAYIa.js";import{A as x}from"./p-Byed_Z2G.js";import{C as y}from"./p-Dpk_WgCl.js";import{m as g}from"./p-Djkc69iv.js";import{r as k}from"./p-BEuV0Xpe.js";import{d as C}from"./p-B-O0ylt_.js";import{d as I}from"./p-CrDBjFhu.js";import{d as A}from"./p-DtOqKp7K.js";import{d as E}from"./p-zyYHTdEN.js";import{d as T}from"./p-C2jvmCOl.js";import{d as D}from"./p-3VG6z9c3.js";import{d as S}from"./p-CGHbrmJg.js";import{d as V}from"./p-Dwe6tWhq.js";import{d as R}from"./p-Dfd_ifAu.js";import{d as O}from"./p-DhWkcMmR.js";import{H as L}from"./p-BWknDysp.js";let j=0;const B=t(class extends(e(...w,y,x)){constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=i(this,"valueChange",7),this.inputChange=i(this,"inputChange",7),this.addItem=i(this,"addItem",7),this.ixBlur=i(this,"ixBlur",7),this.formInternals=this.attachInternals()}get hostElement(){return this}formInternals;name;required=!1;label;ariaLabelClearIconButton="Clear selection";ariaLabelAddItem="Add item";i18nMoreItems="{count} more";warningText;infoText;invalidText;validText;helperText;showTextAsTooltip;value="";allowClear=!1;mode="single";editable=!1;disabled=!1;readonly=!1;i18nPlaceholder="Select an option";i18nPlaceholderEditable="Type of select option";i18nSelectListHeader="Select an option";i18nNoMatches="No matches";i18nAllSelected="All";i18nRemoveSelectedItem="Remove";hideListHeader=!1;dropdownWidth;dropdownMaxWidth;collapseMultipleSelection=!1;enableTopLayer=!1;valueChange;inputChange;addItem;ixBlur;dropdownShow=!1;selectedLabels=[];isDropdownEmpty=!1;inputFilterText="";inputValue="";visibleChipValues=null;hiddenChipValues=[];overflowDropdownShow=!1;hasInputFocus=!1;dropdownItemsVisualFocused=!1;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;hostId="ix-select-"+j++;dropdownWrapperRef=g();dropdownAnchorRef=g();inputRef=g();dropdownRef=g();chipElementRefs=new Map;chipWidths=new Map;overflowChipRef=g();chipsContainerRef=g();clearButtonRef=g();chipHorizontalMargin=4;triggerMinWidth=78;overflowChipFallbackWidth=52;overflowChipWidth=0;chipsResizeObserver;overflowDropdownOpenedByKeyboard=!1;proxyListObserver=null;inputElement;touched=!1;get nonShadowItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item"))}get shadowItems(){return Array.from(this.hostElement.shadowRoot.querySelectorAll("ix-select-item"))}get focusableItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item:not([disabled]):not([hidden]), ix-dropdown-item:not([disabled]):not([hidden])"))}get allFocusableItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item, ix-dropdown-item"))}get items(){return[...this.nonShadowItems,...this.shadowItems]}get selectedItems(){return this.items.filter((t=>t.selected))}get addItemElement(){return this.hostElement.querySelector("ix-dropdown-item.add-item")}get isSingleMode(){return"single"===this.mode}get isMultipleMode(){return"multiple"===this.mode}get isEveryDropdownItemHidden(){return this.items.every((t=>!0===t.hidden))}watchValue(t){this.value=t,this.updateSelection()}watchDisabledReadonly(){this.chipWidths.clear(),this.overflowChipWidth=0}updateFormInternalValue(t){Array.isArray(t)?this.formInternals.setFormValue(t.join(",")):this.formInternals.setFormValue(t)}async hasValidValue(){return this.required&&!!this.hasValue()}hasValue(){return Array.isArray(this.value)?!!this.value.length:!!this.value}itemClick(t){const e=this.value,i=this.toggleValue(t);this.value=i,this.emitValueChange(i)?this.value=e:(this.updateSelection(),this.isMultipleMode&&this.inputFilterText&&(this.clearInput(),this.removeHiddenAttributeFromItems()))}emitAddItem(t){if(void 0===t||""===t.trim())return!1;const{defaultPrevented:e}=this.addItem.emit(t);if(e)return!0;const i=document.createElement("ix-select-item");return i.value=t,i.label=t,this.addItemElement?.before(i),k((()=>{this.clearInput(),this.itemClick(t)})),!1}toggleValue(t){if(!this.isMultipleMode)return t;if(!this.value)return[t];let e=this.value;return Array.isArray(e)||(e=[e]),e.includes(t)?e.filter((e=>e!==t)):[...e,t]}updateSelection(){let t=[];this.value&&(t=Array.isArray(this.value)?[...this.value]:[this.value]),this.items.forEach((e=>{e.selected=t.some((t=>typeof t!=typeof e.value?t.toString()===e.value.toString():t===e.value))})),this.selectedLabels=this.selectedItems.map((t=>t.label??t.value)),this.pruneChipWidthCache(),this.dropdownShow&&this.inputFilterText||(this.inputValue=this.selectedLabels?.length&&this.isSingleMode?this.selectedLabels[0]??"":"",this.inputElement&&(this.inputElement.value=this.inputValue))}emitValueChange(t){const{defaultPrevented:e}=this.valueChange.emit(t);return!!e||(this.updateFormInternalValue(t),!1)}createAddItemElement(){const t=()=>{this.emitAddItem(this.inputFilterText)};this.hostElement.querySelector(".add-item")||this.hostElement.appendChild((()=>{const e=document.createElement("ix-dropdown-item");return e.hidden=!0,e.setAttribute("data-testid","add-item"),e.icon=d,e.classList.add("add-item"),e.addEventListener("click",t),e.style.order=Number.MAX_SAFE_INTEGER.toString(),e.ariaHidden="true",e.role="presentation",e})())}componentDidLoad(){this.inputElement?.addEventListener("input",(()=>{this.dropdownShow=!0,this.inputChange.emit(this.inputElement?.value)})),this.createAddItemElement(),this.proxyListObserver=new MutationObserver((()=>{this.updateAriaProxyListbox()})),this.proxyListObserver.observe(this.hostElement,{attributes:!0,attributeFilter:["aria-selected"],subtree:!0,childList:!0});const t=this.chipsContainerRef.current;t&&(this.chipsResizeObserver=new ResizeObserver((()=>{this.handleChipsContainerResize()})),this.chipsResizeObserver.observe(t))}componentWillLoad(){this.updateSelection(),this.updateFormInternalValue(this.value)}disconnectedCallback(){super.disconnectedCallback(),this.proxyListObserver?.disconnect(),this.chipsResizeObserver?.disconnect()}onLabelChange(t){t.preventDefault(),t.stopImmediatePropagation(),this.chipWidths.clear(),this.updateSelection()}itemExists(t){return this.items.find((e=>e.label===t))}getActiveVisualFocusedItem(){const t=f(this.hostElement,`.${v}`);return t.length>0?t[0]:null}dropdownVisibilityChanged(t){this.dropdownShow=t.detail,t.detail?(this.inputElement?.focus(),this.hasValue()&&this.inputElement?.select(),this.inputFilterText||this.removeHiddenAttributeFromItems(),this.isDropdownEmpty=this.isEveryDropdownItemHidden,this.checkVisibilityOfProxyList()):(this.updateSelection(),this.inputFilterText="",this.dropdownItemsVisualFocused=!1,this.inputElement?.setAttribute("aria-activedescendant",""))}setItemFilter(){this.inputFilterText=this.inputElement?.value.trim()??"",this.inputFilterText?this.items.forEach((t=>{const e=this.hostElement.shadowRoot?.getElementById(`${t.id}-${u}`);t.hidden=!1,e&&(e.hidden=!1,e.setAttribute("aria-hidden","false")),t.label?.toLowerCase().includes(this.inputFilterText.toLowerCase())||(t.hidden=!0,e&&(e.hidden=!0,e.setAttribute("aria-hidden","true")))})):this.removeHiddenAttributeFromItems(),this.isDropdownEmpty=this.isEveryDropdownItemHidden,this.checkVisibilityOfProxyList()}checkVisibilityOfProxyList(){const t=this.hostElement?.shadowRoot?.getElementById(`${this.hostId}-${p}`);t&&(t.hidden=this.isDropdownEmpty)}removeHiddenAttributeFromItems(){this.items.forEach((t=>{t.hidden=!1;const e=this.hostElement.shadowRoot?.getElementById(`${t.id}-${u}`);e&&(e.hidden=!1,e.setAttribute("aria-hidden","false"))}))}clearInput(){this.inputElement&&(this.inputElement.value=""),this.inputFilterText=""}clear(){this.clearInput(),this.selectedLabels=[];const t=this.isSingleMode?"":[];this.value=t,this.emitValueChange(t),this.dropdownShow=!1}onInputBlur(t){this.ixBlur.emit(),this.touched=!0,this.hasInputFocus=!1,this.editable||this.isSingleMode||this.dropdownShow||"multiple"===this.mode||(t.target.value=this.selectedLabels.toString())}onInputFocus(){this.hasInputFocus=!0}placeholderValue(){return this.disabled||this.readonly?"":this.editable?this.i18nPlaceholderEditable:this.i18nPlaceholder}isAddItemVisible(){return!this.itemExists(this.inputFilterText)&&this.editable&&this.inputFilterText}shouldDisplayAllChip(){return this.selectedItems.length===this.items.length&&this.collapseMultipleSelection}getRemoveChipAriaLabel(t){const e=(t.label??t.value)?.toString().trim();return e?`${this.i18nRemoveSelectedItem} ${e}`:this.i18nRemoveSelectedItem}renderAllChip(){return s("ix-filter-chip",{disabled:this.disabled||this.readonly,ariaLabelCloseIconButton:`${this.i18nRemoveSelectedItem} ${this.i18nAllSelected}`,onCloseClick:t=>{t.preventDefault(),t.stopPropagation(),this.clear()}},`${this.i18nAllSelected} (${this.selectedItems.length})`)}renderChip(t,e){const i=t.value.toString();return s("ix-filter-chip",{class:{"chip-measuring":e},disabled:this.disabled||this.readonly,key:i,ariaLabelCloseIconButton:this.getRemoveChipAriaLabel(t),ref:t=>{t?this.chipElementRefs.set(i,t):this.chipElementRefs.delete(i)},onCloseClick:()=>{this.itemClick(t.value),this.inputElement?.focus()}},t.label)}renderHiddenChip(t){return s("ix-filter-chip",{class:"chip-hidden-item",disabled:this.disabled||this.readonly,key:`hidden-${t.value}`,ariaLabelCloseIconButton:this.getRemoveChipAriaLabel(t),onCloseClick:()=>{this.overflowDropdownShow=!1,this.itemClick(t.value),this.inputElement?.focus()}},t.label)}renderOverflowChip(){const t=this.hiddenChipValues.length,e=this.i18nMoreItems.replace("{count}",t.toString());return s("ix-filter-chip",{key:"overflow-chip",class:"chip-overflow",hideCloseButton:!0,disabled:this.disabled||this.readonly,tabindex:this.disabled||this.readonly?-1:0,role:"button","aria-haspopup":"listbox","aria-expanded":c(this.overflowDropdownShow),"aria-label":e,ref:this.overflowChipRef,onClick:t=>{t.preventDefault(),t.stopPropagation(),this.toggleOverflowDropdown()},onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),t.stopImmediatePropagation(),this.overflowDropdownOpenedByKeyboard=!0,this.overflowDropdownShow=!0)}},`+${t}`)}renderMultipleModeChips(){if(0===this.items.length)return null;if(this.shouldDisplayAllChip())return this.renderAllChip();const t=this.selectedItems;if(0===t.length)return null;const e=t.filter((t=>{const e=t.value.toString();return!!this.chipWidths.has(e)&&(null===this.visibleChipValues||this.visibleChipValues.includes(e))})),i=t.filter((t=>!this.chipWidths.has(t.value.toString())));return[...e.map((t=>this.renderChip(t,!1))),this.hiddenChipValues.length>0?this.renderOverflowChip():null,...i.map((t=>this.renderChip(t,!0)))]}renderOverflowDropdown(){return s("ix-dropdown",{class:"overflow-dropdown",show:this.overflowDropdownShow,anchor:this.overflowChipRef.waitForCurrent(),closeBehavior:"outside",placement:"bottom-start",onShowChanged:t=>{this.overflowDropdownShow=t.detail,t.detail&&this.overflowDropdownOpenedByKeyboard&&(this.overflowDropdownOpenedByKeyboard=!1,this.focusOverflowRemoveButton(0))}},s("div",{class:"overflow-dropdown-content"},this.hiddenChipValues.map((t=>{const e=this.selectedItems.find((e=>e.value.toString()===t));return e?this.renderHiddenChip(e):null}))))}toggleOverflowDropdown(){this.disabled||this.readonly||(this.overflowDropdownShow=!this.overflowDropdownShow)}getOverflowRemoveButtons(){const t=this.hostElement.shadowRoot?.querySelector("ix-dropdown.overflow-dropdown");return t?Array.from(t.querySelectorAll("ix-filter-chip.chip-hidden-item")).flatMap((t=>{const e=t.shadowRoot?.querySelector("ix-icon-button"),i=e?.shadowRoot?.querySelector("button");return i?[i]:[]})):[]}focusOverflowRemoveButton(t){k((()=>{const e=this.getOverflowRemoveButtons()[t];e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest"}))}))}onOverflowRemoveButtonKeyDown(t){if(!this.overflowDropdownShow)return;const e=this.getOverflowRemoveButtons(),i=e.findIndex((e=>t.composedPath().includes(e)));if(-1!==i)switch(t.key){case"ArrowDown":t.preventDefault(),t.stopImmediatePropagation(),this.focusOverflowRemoveButton((i+1)%e.length);break;case"ArrowUp":t.preventDefault(),t.stopImmediatePropagation(),this.focusOverflowRemoveButton((i-1+e.length)%e.length);break;case"Tab":t.preventDefault(),t.stopImmediatePropagation(),this.focusOverflowRemoveButton(t.shiftKey?(i-1+e.length)%e.length:(i+1)%e.length);break;case"Escape":t.preventDefault(),t.stopImmediatePropagation(),this.overflowDropdownShow=!1,this.focusOverflowChip()}}focusOverflowChip(){k((()=>{this.overflowChipRef.current?.focus({preventScroll:!0})}))}pruneChipWidthCache(){const t=new Set(this.selectedItems.map((t=>t.value.toString())));for(const e of this.chipWidths.keys())t.has(e)||this.chipWidths.delete(e)}sameChipValues(t,e){return t===e||null!==t&&null!==e&&t.length===e.length&&t.every(((t,i)=>t===e[i]))}applyOverflowState(t,e){this.sameChipValues(this.visibleChipValues,t)||(this.visibleChipValues=t),this.sameChipValues(this.hiddenChipValues,e)||(this.hiddenChipValues=e),0===e.length&&this.overflowDropdownShow&&(this.overflowDropdownShow=!1)}getChipWidthWithMargin(t){return(this.chipWidths.get(t)??0)+this.chipHorizontalMargin}getOverflowChipWidthWithMargin(){return(this.overflowChipWidth||this.overflowChipFallbackWidth)+this.chipHorizontalMargin}canShowAllChips(t,e){return t.reduce(((t,e)=>t+this.getChipWidthWithMargin(e)),0)<=e}getOverflowChipValues(t,e){const[i,...s]=t;if(void 0===i)return{visible:[],hidden:[]};const o=[i],r=[];let n=this.getChipWidthWithMargin(i);const a=this.getOverflowChipWidthWithMargin();for(const[t,i]of s.entries()){const l=this.getChipWidthWithMargin(i);if(!(n+l+a<=e)){r.push(...s.slice(t));break}o.push(i),n+=l}return{visible:o,hidden:r}}hasUnmeasuredSelectedChips(t){return t.some((t=>!this.chipWidths.has(t)))}getChipOverflowContext(){if(!this.isMultipleMode||this.shouldDisplayAllChip())return this.applyOverflowState(null,[]),null;const t=this.chipsContainerRef.current;if(!t)return null;const e=this.selectedItems.map((t=>t.value.toString()));return 0===e.length?(this.applyOverflowState(null,[]),null):{container:t,values:e}}handleChipsContainerResize(){const t=this.getChipOverflowContext();t&&(this.hasUnmeasuredSelectedChips(t.values)?o(this):this.calculateChipOverflow(t))}calculateChipOverflow(t=this.getChipOverflowContext()){if(!t)return;const{container:e,values:i}=t;if(!i.every((t=>this.chipWidths.has(t))))return;const s=e.clientWidth-this.triggerMinWidth-(this.allowClear&&this.clearButtonRef.current?this.clearButtonRef.current.offsetWidth:0);if(this.canShowAllChips(i,s))return void this.applyOverflowState(null,[]);const{visible:o,hidden:r}=this.getOverflowChipValues(i,s);this.applyOverflowState(o,r)}async waitForComponentReady(t){const e=t;"function"==typeof e?.componentOnReady&&await e.componentOnReady()}waitForNextFrame(){return new Promise((t=>k((()=>t()))))}async waitForChipLayout(t){await Promise.all(t.map((t=>this.waitForComponentReady(t)))),await this.waitForNextFrame()}async measureSelectedChipWidths(t){const e=t.map((t=>this.chipElementRefs.get(t.value.toString())));await this.waitForChipLayout(e);let i=!1;for(const e of t){const t=e.value.toString(),s=this.chipElementRefs.get(t);s&&s.offsetWidth>0&&(this.chipWidths.set(t,s.offsetWidth),i=!0)}return i}async measureOverflowChipWidth(){if(0===this.hiddenChipValues.length||this.overflowChipWidth>0)return;const t=await this.overflowChipRef.waitForCurrent();await this.waitForChipLayout([t]),t.offsetWidth>0&&(this.overflowChipWidth=t.offsetWidth)}async componentDidRender(){if(!this.isMultipleMode||this.shouldDisplayAllChip())return void this.applyOverflowState(null,[]);const t=this.selectedItems;if(0===t.length)return void this.applyOverflowState(null,[]);const e=t.filter((t=>!this.chipWidths.has(t.value.toString())));e.length>0?await this.measureSelectedChipWidths(e)&&(this.calculateChipOverflow(),o(this)):(await this.measureOverflowChipWidth(),this.calculateChipOverflow())}onValidationChange({isInvalid:t,isInvalidByRequired:e,isValid:i,isInfo:s,isWarning:o}){this.isInvalid=t||e,this.isValid=i,this.isWarning=o,this.isInfo=s}async getAssociatedFormElement(){return this.formInternals.form}getNativeInputElement(){return this.inputElement?Promise.resolve(this.inputElement):Promise.reject(new Error("Input element not found"))}async focusInput(){const t=await this.getNativeInputElement();t&&t.focus()}isTouched(){return Promise.resolve(this.touched)}getControllingAriaElement(){return this.inputRef.waitForCurrent()}isAriaActiveDescendantActive(){return this.dropdownShow}getAriaActiveDescendantProxyItemId(){return"proxy-listbox-item"}componentWillRender(){if(this.addItemElement&&(this.addItemElement.hidden=!this.isAddItemVisible(),this.addItemElement.label=this.inputFilterText),this.updateAriaProxyListbox(),this.isMultipleMode&&!this.shouldDisplayAllChip()){const t=this.selectedItems;t.length>0&&t.every((t=>this.chipWidths.has(t.value.toString())))&&this.calculateChipOverflow()}}updateAriaProxyListbox(){const t=this.hostElement.shadowRoot?.getElementById(`${this.hostId}-proxy-listbox`);0!==this.focusableItems.length&&b(t,this.focusableItems,((t,e)=>{const i="IX-SELECT-ITEM"===t.tagName,s=t.getAttribute("aria-label")||t.label||(i?t.value:"")||"",o=i?t.selected:t.checked;e.role="option",e.innerText=t.label??"",e.ariaLabel=s,e.ariaSelected=c(!!o),e.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault(),t.click()})),this.addItemElement===t&&(e.ariaLabel=`${this.ariaLabelAddItem}: ${t.label}`),t.ariaHidden="true"}))}render(){return s(r,{key:"3d24590fff4b5d99842ec846719e68d65e13d69d",id:this.getHostElementId(),class:{readonly:this.readonly,disabled:this.disabled,"show-focus-outline":this.hasInputFocus&&!this.dropdownItemsVisualFocused},tabIndex:this.disabled?-1:0},s("ix-field-wrapper",{key:"38d7afa06295f5ad795a43cfbe875e341f9837bd",required:this.required,label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isInvalid:this.isInvalid,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,controlRef:this.inputRef},s("div",{key:"e3640d7028f8e43208243a7a49d1065897199f85",class:{select:!0,disabled:this.disabled,readonly:this.readonly},ref:t=>{this.dropdownAnchorRef(t),this.dropdownWrapperRef(t)}},s("div",{key:"8f7f92597a46203db9c2bb9d6059dec538d5b288",class:"input-container"},s("div",{key:"500f47f8ae57080d867b84ce31972108d5ef931d",class:"chips",ref:this.chipsContainerRef},this.isMultipleMode&&this.renderMultipleModeChips(),s("div",{key:"330c7e488669f0ca1283e0f2fe1a09ed9a823397",class:"trigger"},s("input",{key:"69b2a620b3802ad51d9a092b589e9ab48290cb4c",id:`${this.hostId}-input`,role:"combobox","aria-controls":`${this.hostId}-proxy-listbox`,"aria-expanded":c(this.dropdownShow),"aria-autocomplete":"list","aria-disabled":c(this.disabled),autocomplete:"off","data-testid":"input",disabled:this.disabled,readOnly:this.readonly,required:this.required,type:"text",class:{"allow-clear":this.allowClear&&!!this.selectedLabels?.length},placeholder:this.placeholderValue(),value:this.inputValue??"",ref:t=>{this.inputElement=t,this.inputRef(t)},onFocus:()=>this.onInputFocus(),onBlur:t=>this.onInputBlur(t),onInput:()=>this.setItemFilter()}),!this.allowClear||this.disabled||this.readonly||!this.selectedLabels?.length&&!this.inputFilterText?null:s("ix-icon-button",{key:"clear",class:"clear",icon:a,variant:"subtle-tertiary",oval:!0,size:"16",ref:this.clearButtonRef,onClick:t=>{t.preventDefault(),t.stopPropagation(),this.clear()},"aria-label":this.ariaLabelClearIconButton}),this.disabled||this.readonly?null:s("ix-icon-button",{"aria-label":this.dropdownShow?"Close select dropdown":"Open select dropdown","aria-hidden":"true",ref:t=>{const e=t;e.tabIndex=-1,e.ariaHidden="true"},"data-select-dropdown":!0,key:"dropdown",class:{"dropdown-visible":this.dropdownShow},icon:this.dropdownShow?l:h,variant:"subtle-tertiary"})))))),s("ix-dropdown",{key:"c44d1ab3cc63edc72b69a328290f51b677002bfa",id:`${this.hostId}-listbox`,keyboardActivationKeys:["ArrowUp","ArrowDown"],keyboardItemTriggerKeys:["Enter"],disableFocusTrap:!0,focusHost:this.hostElement,ref:this.dropdownRef,show:this.dropdownShow,closeBehavior:this.isMultipleMode?"outside":"both",hidden:this.disabled||this.readonly,anchor:this.dropdownAnchorRef.waitForCurrent(),trigger:this.dropdownWrapperRef.waitForCurrent(),onShowChange:t=>{(this.disabled||this.readonly)&&t.detail&&t.preventDefault()},onShowChanged:t=>this.dropdownVisibilityChanged(t),placement:"bottom-start",enableTopLayer:this.enableTopLayer,overwriteDropdownStyle:async()=>{const t={},e=this.hostElement.shadowRoot?.querySelector(".select")?.getBoundingClientRect().width;return e&&(t.minWidth=`${e}px`),this.dropdownWidth&&(t.width=`min(${this.dropdownWidth}, 100%)`),this.dropdownMaxWidth&&(t.maxWidth=`min(${this.dropdownMaxWidth}, 100%)`),t},onClick:t=>{const e=t.target;if("IX-DROPDOWN-ITEM"!==e.tagName&&"IX-SELECT-ITEM"!==e.tagName)return;const i=this.getActiveVisualFocusedItem()??e;i&&(t.stopPropagation(),i.classList.contains("add-item")||(this.itemClick(i.value),this.setItemFilter()),this.isSingleMode&&(this.dropdownShow=!1))}},s("div",{key:"992a4564d8d601adad70a14fb45efc22155f66ea","aria-hidden":"true",class:{"select-list-header":!0,hidden:this.hideListHeader||this.isDropdownEmpty},title:this.i18nSelectListHeader,onClick:t=>t.preventDefault()},this.i18nSelectListHeader),s("slot",{key:"e4294d41e1d797ad9fff11f36deb1bdc9cf87208",onSlotchange:()=>{this.updateSelection()}}),s(m,{key:"4d1c63a6f403f3cac6558176d3360d68b21c78c8",hostId:this.hostId,otherProps:{"aria-hidden":c(!this.dropdownShow),"aria-multiselectable":c(this.isMultipleMode),hidden:this.disabled||this.readonly}}),this.isDropdownEmpty&&!this.editable&&s("div",{key:"a962db05209dba24fd4e800fc79c0a2c220ebe88",class:"select-list-header"},this.i18nNoMatches)),this.isMultipleMode&&!this.shouldDisplayAllChip()&&this.hiddenChipValues.length>0&&this.renderOverflowDropdown())}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{watchValue:0}],disabled:[{watchDisabledReadonly:0}],readonly:[{watchDisabledReadonly:0}]}}static get style(){return":host{display:inline-block;position:relative;min-height:2rem;height:auto;border-radius:var(--theme-input--border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .select{position:relative;display:flex;align-items:center;width:100%;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem;box-shadow:var(--theme-inset-shadow-1) !important}:host .select:hover:not(.readonly):not(.disabled){background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}:host .select.readonly,:host .select.disabled{box-shadow:none !important}:host .select.readonly,:host .select.readonly:hover,:host .select.readonly:active,:host .select.disabled,:host .select.disabled:hover,:host .select.disabled:active{background-color:transparent !important}:host .select.readonly:focus,:host .select.readonly:focus-within,:host .select.readonly:focus-visible,:host .select.disabled:focus,:host .select.disabled:focus-within,:host .select.disabled:focus-visible{outline:none}:host .select.readonly input:focus,:host .select.readonly input:focus-visible,:host .select.disabled input:focus,:host .select.disabled input:focus-visible{outline:none}:host .select.disabled{border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--disabled)}:host .select.disabled input{color:var(--theme-input--color--disabled)}:host .select.readonly{border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}:host .select.readonly input{color:var(--theme-input--color--readonly)}:host .trigger{display:flex;align-items:center;flex-grow:1;height:100%}:host .input-container{display:flex;position:relative;align-items:flex-start;width:100%;height:100%}:host .input-container .chips{position:relative;display:flex;align-items:center;flex-wrap:nowrap;height:100%;flex-grow:1;overflow:hidden}:host .input-container .chips>ix-filter-chip{margin:0.1rem;flex-shrink:0;max-width:min(40%, 14rem)}:host .input-container .chips>ix-filter-chip.chip-measuring{position:absolute;visibility:hidden;pointer-events:none}:host .input-container .chips>ix-filter-chip.chip-overflow{cursor:pointer}:host .input-container .chips>ix-filter-chip.chip-overflow:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .input-container ix-icon-button{height:1.875rem;width:1.875rem;min-height:1.875rem;min-width:1.875rem}:host .input-container input{background:transparent;height:1.75rem;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .input-container input,:host .input-container input:hover,:host .input-container input:focus-visible{border:none;outline:none}:host .input-container input::-moz-placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input::placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input.hide-placeholder::-moz-placeholder{opacity:0}:host .input-container input.hide-placeholder::placeholder{opacity:0}:host ix-dropdown{display:flex;flex-direction:column;max-width:100%}:host .overflow-dropdown-content{display:flex;flex-direction:column;align-items:flex-start;gap:0.25rem;max-height:16rem;overflow-y:auto;padding:0.5rem}:host .dropdown-visible{--ix-icon-button-color:var(--theme-color-std-text--hover)}:host .add-item{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}:host .select-list-header{display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .hidden{display:none !important}:host .proxy-list{all:unset;position:absolute;left:0px;top:0px;overflow:hidden;color:transparent;opacity:0;pointer-events:all;z-index:1000}:host .proxy-list li{height:2px;width:2px;pointer-events:all}:host(.ix-focused) .select,:host(.show-focus-outline) .select{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--warning);background-color:var(--theme-input--background--warning)}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--warning--hover) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--invalid);background-color:var(--theme-input--background--invalid)}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--invalid--active) !important}"}},[849,"ix-select",{name:[513],required:[516],label:[1],ariaLabelClearIconButton:[1,"aria-label-clear-icon-button"],ariaLabelAddItem:[1,"aria-label-add-item"],i18nMoreItems:[1,"i18n-more-items"],warningText:[1,"warning-text"],infoText:[1,"info-text"],invalidText:[1,"invalid-text"],validText:[1,"valid-text"],helperText:[1,"helper-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],value:[1025],allowClear:[4,"allow-clear"],mode:[1],editable:[4],disabled:[4],readonly:[4],i18nPlaceholder:[1,"i18n-placeholder"],i18nPlaceholderEditable:[1,"i18n-placeholder-editable"],i18nSelectListHeader:[1,"i18n-select-list-header"],i18nNoMatches:[1,"i18n-no-matches"],i18nAllSelected:[1,"i18n-all-selected"],i18nRemoveSelectedItem:[1,"i18n-remove-selected-item"],hideListHeader:[4,"hide-list-header"],dropdownWidth:[1,"dropdown-width"],dropdownMaxWidth:[1,"dropdown-max-width"],collapseMultipleSelection:[4,"collapse-multiple-selection"],enableTopLayer:[4,"enable-top-layer"],dropdownShow:[32],selectedLabels:[32],isDropdownEmpty:[32],inputFilterText:[32],inputValue:[32],visibleChipValues:[32],hiddenChipValues:[32],overflowDropdownShow:[32],hasInputFocus:[32],dropdownItemsVisualFocused:[32],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],hasValidValue:[64],getAssociatedFormElement:[64],getNativeInputElement:[64],focusInput:[64],isTouched:[64]},[[4,"ixFocusVisibleChange","$internal_onActiveDescendantChange"],[0,"ix-select-item:valueChange","onLabelChange"],[0,"ix-select-item:labelChange","onLabelChange"],[2,"keydown","onOverflowRemoveButtonKeyDown"]],{value:[{watchValue:0}],disabled:[{watchDisabledReadonly:0}],readonly:[{watchDisabledReadonly:0}]}]);function W(){"undefined"!=typeof customElements&&["ix-select","ix-dropdown","ix-dropdown-item","ix-field-label","ix-field-wrapper","ix-filter-chip","ix-icon-button","ix-select-item","ix-spinner","ix-tooltip","ix-typography"].forEach((t=>{switch(t){case"ix-select":customElements.get(n(t))||customElements.define(n(t),B);break;case"ix-dropdown":customElements.get(n(t))||C();break;case"ix-dropdown-item":customElements.get(n(t))||I();break;case"ix-field-label":customElements.get(n(t))||A();break;case"ix-field-wrapper":customElements.get(n(t))||E();break;case"ix-filter-chip":customElements.get(n(t))||T();break;case"ix-icon-button":customElements.get(n(t))||D();break;case"ix-select-item":customElements.get(n(t))||S();break;case"ix-spinner":customElements.get(n(t))||V();break;case"ix-tooltip":customElements.get(n(t))||R();break;case"ix-typography":customElements.get(n(t))||O()}}))}!function(t,e,i,s){var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);r>3&&n&&Object.defineProperty(e,i,n)}([L()],B.prototype,"onValidationChange",null);export{B as S,W as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,M as o,e as t,h as i,d as r,t as s}from"./p-
|
|
1
|
+
import{p as e,M as o,e as t,h as i,d as r,t as s}from"./p-CtDOTMOT.js";import{w as a,j as d}from"./p-BtSt9tC5.js";import{a as n}from"./p-C21npbUc.js";import{e as l}from"./p-C5UTTqsv.js";import{D as c}from"./p-CApDAYIa.js";import{C as h}from"./p-Dpk_WgCl.js";const m=e=>class extends e{ixFocusVisible=!1;disableAriaSelectHandling=!1;constructor(...e){super(...e)}componentDidLoad(){super.componentDidLoad&&super.componentDidLoad()}$internal_checkAriaSelected(e){this.hostElement&&(this.disableAriaSelectHandling?this.hostElement.removeAttribute("aria-selected"):this.hostElement.ariaSelected=n(e))}},b=e(class extends(o(...c,h,m)){constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.itemClick=t(this,"itemClick",7)}get hostElement(){return this}label;icon;ariaLabelIcon;ariaLabelButton;hover=!1;disabled=!1;checked=!1;itemRole="menuitem";isSubMenu=!1;suppressChecked=!1;hasVisualFocus=!1;itemClick;async emitItemClick(){this.itemClick.emit(this.hostElement)}async getDropdownItemElement(){return this.hostElement}isIconOnly(){return void 0===this.label&&""===this.hostElement.innerText&&void 0!==this.icon}render(){const e=this.getHostElementId();let o={};return this.isSubMenu&&(o={"aria-haspopup":"menu","aria-expanded":"false"}),i(r,{key:"c3d7d2a14964fa2a609d5e028cdb14b802b02ada",id:e,role:this.itemRole,"aria-disabled":n(this.disabled),"aria-label":this.hostElement.ariaLabel??this.ariaLabelButton,class:{hover:this.hover,"icon-only":this.isIconOnly(),disabled:this.disabled,submenu:this.isSubMenu,[l]:!this.disabled,"outline-visible":this.hasVisualFocus},onClick:()=>{this.disabled||this.emitItemClick()},onKeyDown:e=>{this.disabled||"Enter"!==e.key&&" "!==e.key||this.emitItemClick()},...o},i("div",{key:"016ddf6f6b319b4d9e02541c95f02d76088cdbb6",class:{"dropdown-item":!0,"no-checked-field":this.suppressChecked,disabled:this.disabled}},this.suppressChecked?null:i("div",{class:"dropdown-item-checked"},this.checked?i("ix-icon",{"aria-hidden":"true",class:"checkmark",name:a,size:"16"}):null),this.icon?i("ix-icon",{class:"dropdown-item-icon",name:this.icon,"aria-label":this.ariaLabelIcon}):null,i("div",{key:"81ae34e7f76381ba84af73893c9882cedd958149",class:"dropdown-item-text"},this.label,i("slot",{key:"9482ebc515d9de96a48bd747ab3293f1c1640a11"})),this.isSubMenu?i("ix-icon",{name:d,class:"submenu-icon"}):null))}static get watchers(){return{ixFocusVisible:[{$internal_checkAriaSelected:0}]}}static get style(){return":host{--ix-dropdown-item-checked-color:var(--theme-color-primary);display:flex;flex-direction:row;position:relative;height:2.5rem;width:auto;overflow:hidden;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .dropdown-item{all:unset;display:flex;flex-direction:row;align-items:center;position:relative;height:calc(100% - 2px);border:0.0625rem solid transparent;white-space:nowrap;width:calc(100% - 0.5rem - 1.5rem);padding:0 0.5rem;padding-right:1.5rem}:host .dropdown-item.no-checked-field{width:calc(100% - 1rem - 1.5rem);padding:0 1rem;padding-right:1.5rem}:host .dropdown-item-checked{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:1rem;min-width:1rem;margin-right:0.5rem;color:var(--ix-dropdown-item-checked-color)}:host .dropdown-item-icon{margin-right:0.5rem;color:var(--theme-color-std-text)}:host .dropdown-item-text{display:block;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:pre}:host .submenu-icon{margin-left:auto}:host(.icon-only) .dropdown-item-icon{margin-right:0px}:host(.icon-only) .dropdown-item-checked{display:none}:host(.icon-only) .dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}:host(.submenu) .dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}:host(:not(.disabled):not(:disabled).hover),:host(:not(.disabled):not(:disabled):hover){background-color:var(--theme-ghost--background--hover)}:host(:not(.disabled):not(:disabled).active),:host(:not(.disabled):not(:disabled):active){background-color:var(--theme-ghost--background--active)}:host(.disabled){pointer-events:none;color:var(--theme-color-weak-text) !important}:host(.disabled) .dropdown-item-icon{color:var(--theme-color-weak-text) !important}:host(:focus-visible){outline:none}:host(:focus-visible) .dropdown-item{border-color:var(--theme-color-focus-bdr)}:host(.ix-focused){outline:none}:host(.ix-focused) .dropdown-item{border-color:var(--theme-color-focus-bdr)}:host(.outline-visible){outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:-0.0625rem}:host([hidden]){display:none !important}"}},[769,"ix-dropdown-item",{ixFocusVisible:[516,"ix-focus-visible"],disableAriaSelectHandling:[4,"disable-aria-select-handling"],label:[513],icon:[1],ariaLabelIcon:[1,"aria-label-icon"],ariaLabelButton:[1,"aria-label-button"],hover:[4],disabled:[516],checked:[516],itemRole:[1,"item-role"],isSubMenu:[4,"is-sub-menu"],suppressChecked:[4,"suppress-checked"],hasVisualFocus:[516,"has-visual-focus"],emitItemClick:[64],getDropdownItemElement:[64]},void 0,{ixFocusVisible:[{$internal_checkAriaSelected:0}]}]);function u(){"undefined"!=typeof customElements&&["ix-dropdown-item"].forEach((e=>{"ix-dropdown-item"===e&&(customElements.get(s(e))||customElements.define(s(e),b))}))}export{b as D,m as F,u as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as s,d as o,t as i}from"./p-
|
|
1
|
+
import{p as t,H as e,h as s,d as o,t as i}from"./p-CtDOTMOT.js";import{d as n}from"./p-Dw_A3HUC.js";import{z as r}from"./p-BtSt9tC5.js";import{d as c}from"./p-3VG6z9c3.js";import{d as a}from"./p-Dwe6tWhq.js";const m=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}showContextMenu=!1;getTrigger(){return this.hostElement}configureDropdown(t,e){t.positioningStrategy="fixed",t.trigger=e}onSlotChange(){const t=this.hostElement.shadowRoot.querySelector("slot");if(!t)return;const e=n(t);this.showContextMenu=0!==e.length;const s=e.find((t=>"IX-DROPDOWN"===t.tagName)),o=this.getTrigger();o&&s&&this.configureDropdown(s,o)}render(){return s(o,{key:"989f86b83f27514bcb555c8d022b092a1a632505"},s("ix-icon-button",{key:"55876dc92e513d29676529ea431d3ae9768e72fc",class:{hide:!this.showContextMenu},size:"24",variant:"subtle-tertiary",icon:r}),s("slot",{key:"57613b3108ad01c134ae929fe00f432ffd2c8324",onSlotchange:()=>this.onSlotChange()}))}static get style(){return":host{display:block;position:relative;height:2rem;width:2rem;margin-block-start:0.3125rem;margin-inline-end:0.3125rem;margin-inline-start:auto}:host .hide{visibility:collapse}:host ::slotted(ix-dropdown){cursor:default}"}},[769,"ix-group-context-menu",{showContextMenu:[32]}]);function u(){"undefined"!=typeof customElements&&["ix-group-context-menu","ix-icon-button","ix-spinner"].forEach((t=>{switch(t){case"ix-group-context-menu":customElements.get(i(t))||customElements.define(i(t),m);break;case"ix-icon-button":customElements.get(i(t))||c();break;case"ix-spinner":customElements.get(i(t))||a()}}))}export{m as G,u as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./p-
|
|
1
|
+
import{j as t}from"./p-CtDOTMOT.js";const n={target:"window",defaultEnabled:!0};function e(e,i){return(o,s)=>{const{componentWillLoad:_,componentWillRender:r,disconnectedCallback:c}=o;i&&(o.componentWillRender=function(){const n=t(this);return n[`__ix__${s}`]?.enable(i(this)),r&&r.call(this)}),o.componentWillLoad=function(){const i=function(t,e={}){const i={...n,...e};let o;const s=t=>{o(t)},_={on:t=>{o=t},isEnabled:i.defaultEnabled,enable:n=>{_.isEnabled=n,n?addEventListener(t,s):removeEventListener(t,s)},destroy:()=>{_.enable(!1)}};return _.enable(!!i.defaultEnabled),_}(e),o=t(this),r=this[s];return o[`__ix__${s}`]=i,i.on(r.bind(this)),_&&_.call(this)},o.disconnectedCallback=function(){const n=t(this);return n&&n[`__ix__${s}`]&&(n[`__ix__${s}`]?.destroy(),n[`__ix__${s}`]=null),c&&c.call(this)}}}export{e as O}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,H as a,h as c,d as e,t as o}from"./p-Bxdy-8CE.js";const d=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}variant="outline";selected=!1;passive=!1;render(){return c(e,{key:"2028efc4ea15150b5e3190d550a50b3a4521a0e5",class:{selected:this.selected,[`card-${this.variant}`]:!0,passive:this.passive}},c("div",{key:"abbcfc97a8244890aae5b905e3990d50ae4e1c13",class:"card-content"},c("slot",{key:"6685a346bc26a43cd0696cce72626c7a662c5e07"})),c("div",{key:"3f811f0405dbb76d1b40d23baf28d4b0b9db1fae",class:"card-footer"},c("slot",{key:"c7473599d68a24457a8156c52c5cfe24e5e73bbb",name:"card-accordion"})))}static get style(){return":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;cursor:pointer;width:20rem;border:var(--theme-card--border-width) solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-card--border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-card--border-radius);border-top-right-radius:var(--theme-card--border-radius);overflow:hidden}:host .card-content-wrapper{height:100%;width:100%;box-sizing:border-box}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color);color:var(--theme-card-outline--color)}:host(.card-outline) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color);color:var(--theme-card-filled--color)}:host(.card-filled) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color);color:var(--theme-card-alarm--color)}:host(.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color);color:var(--theme-card-critical--color)}:host(.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color);color:var(--theme-card-warning--color)}:host(.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color);color:var(--theme-card-success--color)}:host(.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color);color:var(--theme-card-info--color)}:host(.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color);color:var(--theme-card-neutral--color)}:host(.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color);color:var(--theme-card-primary--color)}:host(:not(.card-insight,.card-outline)){--ix-card-border-color:transparent}:host(.card-outline:hover){--ix-card-border-color:var(--theme-card-outline--border-color--hover);--ix-card-background:var(--theme-card-outline--background--hover)}:host(.card-outline:active){--ix-card-border-color:var(--theme-card-outline--border-color--active);--ix-card-background:var(--theme-card-outline--background--active)}:host(.selected.card-outline){--ix-card-border-color:var( --theme-card-outline--border-color--selected );--ix-card-background:var(--theme-card-outline--background--selected)}:host(.card-filled:hover){--ix-card-border-color:var(--theme-card-filled--border-color--hover);--ix-card-background:var(--theme-card-filled--background--hover)}:host(.card-filled:active){--ix-card-border-color:var(--theme-card-filled--border-color--active);--ix-card-background:var(--theme-card-filled--background--active)}:host(.selected.card-filled){--ix-card-border-color:var( --theme-card-filled--border-color--selected );--ix-card-background:var(--theme-card-filled--background--selected)}:host(.card-alarm:hover){--ix-card-border-color:var(--theme-card-alarm--border-color--hover);--ix-card-background:var(--theme-card-alarm--background--hover)}:host(.card-alarm:active){--ix-card-border-color:var(--theme-card-alarm--border-color--active);--ix-card-background:var(--theme-card-alarm--background--active)}:host(.selected.card-alarm){--ix-card-border-color:var( --theme-card-alarm--border-color--selected );--ix-card-background:var(--theme-card-alarm--background--selected)}:host(.card-critical:hover){--ix-card-border-color:var(--theme-card-critical--border-color--hover);--ix-card-background:var(--theme-card-critical--background--hover)}:host(.card-critical:active){--ix-card-border-color:var(--theme-card-critical--border-color--active);--ix-card-background:var(--theme-card-critical--background--active)}:host(.selected.card-critical){--ix-card-border-color:var( --theme-card-critical--border-color--selected );--ix-card-background:var(--theme-card-critical--background--selected)}:host(.card-warning:hover){--ix-card-border-color:var(--theme-card-warning--border-color--hover);--ix-card-background:var(--theme-card-warning--background--hover)}:host(.card-warning:active){--ix-card-border-color:var(--theme-card-warning--border-color--active);--ix-card-background:var(--theme-card-warning--background--active)}:host(.selected.card-warning){--ix-card-border-color:var( --theme-card-warning--border-color--selected );--ix-card-background:var(--theme-card-warning--background--selected)}:host(.card-success:hover){--ix-card-border-color:var(--theme-card-success--border-color--hover);--ix-card-background:var(--theme-card-success--background--hover)}:host(.card-success:active){--ix-card-border-color:var(--theme-card-success--border-color--active);--ix-card-background:var(--theme-card-success--background--active)}:host(.selected.card-success){--ix-card-border-color:var( --theme-card-success--border-color--selected );--ix-card-background:var(--theme-card-success--background--selected)}:host(.card-info:hover){--ix-card-border-color:var(--theme-card-info--border-color--hover);--ix-card-background:var(--theme-card-info--background--hover)}:host(.card-info:active){--ix-card-border-color:var(--theme-card-info--border-color--active);--ix-card-background:var(--theme-card-info--background--active)}:host(.selected.card-info){--ix-card-border-color:var( --theme-card-info--border-color--selected );--ix-card-background:var(--theme-card-info--background--selected)}:host(.card-neutral:hover){--ix-card-border-color:var(--theme-card-neutral--border-color--hover);--ix-card-background:var(--theme-card-neutral--background--hover)}:host(.card-neutral:active){--ix-card-border-color:var(--theme-card-neutral--border-color--active);--ix-card-background:var(--theme-card-neutral--background--active)}:host(.selected.card-neutral){--ix-card-border-color:var( --theme-card-neutral--border-color--selected );--ix-card-background:var(--theme-card-neutral--background--selected)}:host(.card-primary:hover){--ix-card-border-color:var(--theme-card-primary--border-color--hover);--ix-card-background:var(--theme-card-primary--background--hover)}:host(.card-primary:active){--ix-card-border-color:var(--theme-card-primary--border-color--active);--ix-card-background:var(--theme-card-primary--background--active)}:host(.selected.card-primary){--ix-card-border-color:var( --theme-card-primary--border-color--selected );--ix-card-background:var(--theme-card-primary--background--selected)}:host(.passive){cursor:default}:host(.passive.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color)}:host(.passive.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color)}:host(.passive.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color)}:host(.passive.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color)}:host(.passive.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color)}:host(.passive.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color)}:host(.passive.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color)}:host(.passive.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color)}:host(.passive.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color)}"}},[769,"ix-card",{variant:[1],selected:[4],passive:[4]}]);function t(){"undefined"!=typeof customElements&&["ix-card"].forEach((r=>{"ix-card"===r&&(customElements.get(o(r))||customElements.define(o(r),d))}))}export{d as C,t as d}
|
|
1
|
+
import{p as r,H as a,h as c,d as e,t as o}from"./p-CtDOTMOT.js";const d=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}variant="outline";selected=!1;passive=!1;render(){return c(e,{key:"b7cda25da56fae5d7bb3afd89867d7d64e66da9d",class:{selected:this.selected,[`card-${this.variant}`]:!0,passive:this.passive}},c("div",{key:"7bc1c062f62d8f053c17af8993fac55611ef6ef2",class:"card-content"},c("slot",{key:"2ea9c6d84ef11db4fe662c22005b09cdb0b9a227"})),c("div",{key:"157ff1e9785bae0e572f37e3529f224bb4e925fd",class:"card-footer"},c("slot",{key:"171e9b6c82b90b7cb1e5b9ca5f45dbcb2cacd26b",name:"card-accordion"})))}static get style(){return":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;cursor:pointer;width:20rem;border:var(--theme-card--border-width) solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-card--border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-card--border-radius);border-top-right-radius:var(--theme-card--border-radius);overflow:hidden}:host .card-content-wrapper{height:100%;width:100%;box-sizing:border-box}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color);color:var(--theme-card-outline--color)}:host(.card-outline) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color);color:var(--theme-card-filled--color)}:host(.card-filled) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color);color:var(--theme-card-alarm--color)}:host(.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color);color:var(--theme-card-critical--color)}:host(.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color);color:var(--theme-card-warning--color)}:host(.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color);color:var(--theme-card-success--color)}:host(.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color);color:var(--theme-card-info--color)}:host(.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color);color:var(--theme-card-neutral--color)}:host(.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color);color:var(--theme-card-primary--color)}:host(:not(.card-insight,.card-outline)){--ix-card-border-color:transparent}:host(.card-outline:hover){--ix-card-border-color:var(--theme-card-outline--border-color--hover);--ix-card-background:var(--theme-card-outline--background--hover)}:host(.card-outline:active){--ix-card-border-color:var(--theme-card-outline--border-color--active);--ix-card-background:var(--theme-card-outline--background--active)}:host(.selected.card-outline){--ix-card-border-color:var( --theme-card-outline--border-color--selected );--ix-card-background:var(--theme-card-outline--background--selected)}:host(.card-filled:hover){--ix-card-border-color:var(--theme-card-filled--border-color--hover);--ix-card-background:var(--theme-card-filled--background--hover)}:host(.card-filled:active){--ix-card-border-color:var(--theme-card-filled--border-color--active);--ix-card-background:var(--theme-card-filled--background--active)}:host(.selected.card-filled){--ix-card-border-color:var( --theme-card-filled--border-color--selected );--ix-card-background:var(--theme-card-filled--background--selected)}:host(.card-alarm:hover){--ix-card-border-color:var(--theme-card-alarm--border-color--hover);--ix-card-background:var(--theme-card-alarm--background--hover)}:host(.card-alarm:active){--ix-card-border-color:var(--theme-card-alarm--border-color--active);--ix-card-background:var(--theme-card-alarm--background--active)}:host(.selected.card-alarm){--ix-card-border-color:var( --theme-card-alarm--border-color--selected );--ix-card-background:var(--theme-card-alarm--background--selected)}:host(.card-critical:hover){--ix-card-border-color:var(--theme-card-critical--border-color--hover);--ix-card-background:var(--theme-card-critical--background--hover)}:host(.card-critical:active){--ix-card-border-color:var(--theme-card-critical--border-color--active);--ix-card-background:var(--theme-card-critical--background--active)}:host(.selected.card-critical){--ix-card-border-color:var( --theme-card-critical--border-color--selected );--ix-card-background:var(--theme-card-critical--background--selected)}:host(.card-warning:hover){--ix-card-border-color:var(--theme-card-warning--border-color--hover);--ix-card-background:var(--theme-card-warning--background--hover)}:host(.card-warning:active){--ix-card-border-color:var(--theme-card-warning--border-color--active);--ix-card-background:var(--theme-card-warning--background--active)}:host(.selected.card-warning){--ix-card-border-color:var( --theme-card-warning--border-color--selected );--ix-card-background:var(--theme-card-warning--background--selected)}:host(.card-success:hover){--ix-card-border-color:var(--theme-card-success--border-color--hover);--ix-card-background:var(--theme-card-success--background--hover)}:host(.card-success:active){--ix-card-border-color:var(--theme-card-success--border-color--active);--ix-card-background:var(--theme-card-success--background--active)}:host(.selected.card-success){--ix-card-border-color:var( --theme-card-success--border-color--selected );--ix-card-background:var(--theme-card-success--background--selected)}:host(.card-info:hover){--ix-card-border-color:var(--theme-card-info--border-color--hover);--ix-card-background:var(--theme-card-info--background--hover)}:host(.card-info:active){--ix-card-border-color:var(--theme-card-info--border-color--active);--ix-card-background:var(--theme-card-info--background--active)}:host(.selected.card-info){--ix-card-border-color:var( --theme-card-info--border-color--selected );--ix-card-background:var(--theme-card-info--background--selected)}:host(.card-neutral:hover){--ix-card-border-color:var(--theme-card-neutral--border-color--hover);--ix-card-background:var(--theme-card-neutral--background--hover)}:host(.card-neutral:active){--ix-card-border-color:var(--theme-card-neutral--border-color--active);--ix-card-background:var(--theme-card-neutral--background--active)}:host(.selected.card-neutral){--ix-card-border-color:var( --theme-card-neutral--border-color--selected );--ix-card-background:var(--theme-card-neutral--background--selected)}:host(.card-primary:hover){--ix-card-border-color:var(--theme-card-primary--border-color--hover);--ix-card-background:var(--theme-card-primary--background--hover)}:host(.card-primary:active){--ix-card-border-color:var(--theme-card-primary--border-color--active);--ix-card-background:var(--theme-card-primary--background--active)}:host(.selected.card-primary){--ix-card-border-color:var( --theme-card-primary--border-color--selected );--ix-card-background:var(--theme-card-primary--background--selected)}:host(.passive){cursor:default}:host(.passive.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color)}:host(.passive.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color)}:host(.passive.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color)}:host(.passive.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color)}:host(.passive.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color)}:host(.passive.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color)}:host(.passive.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color)}:host(.passive.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color)}:host(.passive.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color)}"}},[769,"ix-card",{variant:[1],selected:[4],passive:[4]}]);function t(){"undefined"!=typeof customElements&&["ix-card"].forEach((r=>{"ix-card"===r&&(customElements.get(o(r))||customElements.define(o(r),d))}))}export{d as C,t as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-CtDOTMOT.js";import{b as i,c as a,d as o,a as s}from"./p-BtSt9tC5.js";import{a as n}from"./p-C21npbUc.js";function e({invalidText:t,isInvalid:i,warningText:a,isWarning:o,infoText:s,isInfo:n,validText:e,isValid:r,helperText:x}){return!!(i&&t?.trim()||o&&a?.trim()||n&&s?.trim()||r&&e?.trim()||x?.trim())}function r(t){return e(t)?t.isInvalid&&t.invalidText&&""!==t.invalidText.trim()?t.invalidText:t.isWarning&&t.warningText&&""!==t.warningText.trim()?t.warningText:t.isInfo&&t.infoText&&""!==t.infoText.trim()?t.infoText:t.isValid&&t.validText&&""!==t.validText.trim()?t.validText:t.helperText||"":""}function x(r){return e(r)?r.isInvalid&&r.invalidText&&""!==r.invalidText.trim()?t("ix-typography",{textColor:"alarm",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.invalidText),class:"text-icon invalid",name:i,size:"16"}),r.invalidText):r.isWarning&&r.warningText&&""!==r.warningText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.warningText),class:"text-icon warning",name:a,size:"16"}),r.warningText):r.isInfo&&r.infoText&&""!==r.infoText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.infoText),class:"text-icon info",name:o,size:"16"}),r.infoText):r.isValid&&r.validText&&""!==r.validText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.validText),class:"text-icon valid",name:s,size:"16"}),r.validText):r.helperText&&""!==r.helperText.trim()&&t("ix-typography",{class:"bottom-text",textColor:"soft"},r.helperText):null}export{x as H,e as h,r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as t,h as i,d as a,t as s}from"./p-CtDOTMOT.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(a,{key:"e9eaf85f867d2f86338ef00978b70186aa045b72"},i("slot",{key:"8bbdbd5a707b20d794dbac5e3e3186a954c6d1e0"}),i("div",{key:"767409c623fa8b77edd53c51a9640c41cd76625e",class:"title-actions"},i("slot",{key:"c9a81e18169fbafa8797f5f9d0ec2dd8926e0259",name:"title-actions"})))}static get style(){return":host{display:flex;position:relative;flex-direction:row;align-items:center;margin-top:0.25rem;margin-bottom:0.25rem;gap:1rem;width:100%}:host .title-actions{display:flex;position:relative;flex-direction:row;gap:0.25rem;margin-left:auto;margin-right:0}"}},[257,"ix-card-title"]);function o(){"undefined"!=typeof customElements&&["ix-card-title"].forEach((e=>{"ix-card-title"===e&&(customElements.get(s(e))||customElements.define(s(e),r))}))}export{r as C,o as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,e,h as o,t as s}from"./p-
|
|
1
|
+
import{p as t,H as r,e,h as o,t as s}from"./p-CtDOTMOT.js";import{m as a}from"./p-Djkc69iv.js";import{d as c}from"./p-CrDBjFhu.js";const i=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.itemClick=e(this,"itemClick",7)}get hostElement(){return this}icon;label;itemClick;dropdownItemRef=a();async getDropdownItemElement(){return this.dropdownItemRef.waitForCurrent()}render(){return o("ix-dropdown-item",{key:"437aead7832603097e4f814abef0108dcb0ad386",ref:this.dropdownItemRef,icon:this.icon,label:this.label,onClick:t=>this.itemClick.emit(t)})}static get style(){return":host{display:block;color:var(--theme-color-std-text)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}"}},[513,"ix-menu-avatar-item",{icon:[1],label:[1],getDropdownItemElement:[64]}]);function l(){"undefined"!=typeof customElements&&["ix-menu-avatar-item","ix-dropdown-item"].forEach((t=>{switch(t){case"ix-menu-avatar-item":customElements.get(s(t))||customElements.define(s(t),i);break;case"ix-dropdown-item":customElements.get(s(t))||c()}}))}export{i as M,l as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as r,h as a,d as t,t as
|
|
1
|
+
import{p as e,H as r,h as a,d as t,t as o}from"./p-CtDOTMOT.js";const d=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}embedded;timePickerAppearance=!1;hideHeader=!1;hasFooter=!1;corners="rounded";noPadding=!1;cardClasses(){return{card:!0,standaloneAppearance:!1===this.embedded,rounded:"rounded"===this.corners,left:"left"===this.corners,right:"right"===this.corners,straight:"straight"===this.corners}}render(){return a(t,{key:"2c99b24d79ebec2d725f97129fe3f342c522d079"},a("div",{key:"5e2a5de64db6ef617518205fceb9bfa8d589aa23",class:this.cardClasses()},!this.hideHeader&&a("div",{key:"03a4337b9d32f39e6269139f4daa7abc0be03782",class:"header-container"},a("div",{key:"6ece0fe49bd23f36cef66adca6ebcff1889f7337",class:"header"},a("slot",{key:"9119418fcc90d838f5cb91e424fb19c30b53fe55",name:"header"})),a("div",{key:"5ac0ad42605f8f4ca4352494f55e663e001e3188",class:"separator"})),a("div",{key:"a9d30cbca8fff9cb3821c7643054654e855750cb",class:{content:!0,"content--time-picker":this.timePickerAppearance,"content--no-padding":this.noPadding}},a("slot",{key:"6054b36f5cd386adde31aa4d7faa1fb63848a146"})),this.hasFooter&&a("div",{key:"60e9f4ec42a71ce72e32ad698acf0bcee6913b46",class:"footer-container"},a("div",{key:"9c9b0a086adee3d0c0224e45f9c1ef0d37c3f9ba",class:"separator"}),a("div",{key:"59d1fac830d3632d3da09dd0c8183a83a619c9c3",class:"footer"},a("slot",{key:"73a026a1015c6b900cea1dc0423cc616b7a3cd17",name:"footer"})))))}static get style(){return":host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card{background-color:var(--theme-menu--background);width:100%;box-shadow:none;border:none;border-radius:unset;display:flex;flex-direction:column}:host .card.standaloneAppearance{box-shadow:var(--theme-shadow-4);border-radius:0.25rem}:host .card.rounded{border-radius:4px}:host .card.left{border-radius:4px 0 0 4px;height:100%}:host .card.right{border-radius:0 4px 4px 0;height:100%}:host .card.straight{border-radius:0}:host .card .header-container{width:100%}:host .card .header-container .header{padding:0.75rem 1rem;flex:0 1 auto}:host .card .separator{height:1px;background-color:var(--theme-datepicker-separator--background);width:100%;flex:0 1 auto}:host .card .content{padding:0 1rem 1rem 1rem;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}:host .card .content--time-picker{padding:0 1rem}:host .card .content--no-padding{padding:0}:host .card .footer-container{width:100%}:host .card .footer-container .footer{padding:1rem}"}},[769,"ix-date-time-card",{embedded:[4],timePickerAppearance:[4,"time-picker-appearance"],hideHeader:[4,"hide-header"],hasFooter:[4,"has-footer"],corners:[1],noPadding:[4,"no-padding"]}]);function c(){"undefined"!=typeof customElements&&["ix-date-time-card"].forEach((e=>{"ix-date-time-card"===e&&(customElements.get(o(e))||customElements.define(o(e),d))}))}export{d as D,c as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i}from"./p-
|
|
1
|
+
import{h as i}from"./p-CtDOTMOT.js";import{a as n}from"./p-C21npbUc.js";const e=(i,n=!1,e=!1,a,t)=>({btn:!0,[`btn-${i}`]:!0,"btn-icon":n,"btn-oval":e,selected:a,disabled:t}),a=i=>{if(!i.icon)return"small";switch(i.iconSize){case"12":return"xx-small";case"16":return"x-small";default:return"small"}},t=(i,n)=>{if(n.disabled||n.loading)return i.preventDefault(),void i.stopPropagation();n.onClick&&n.onClick(i)},l=(l,r)=>{const s=l.extraClasses??{},o=l.ariaAttributes??{},c=((i,n)=>n&&n.length>0||!(!i["aria-label"]&&!i["aria-labelledby"]))(o,r),d={...o,tabindex:l.disabled?-1:l.tabIndex??0,class:{...e(l.variant,l.iconOnly,l.iconOval,l.selected,l.disabled||l.loading),...s}},u=[l.loading?i("ix-spinner",{size:a(l),hideTrack:!0}):null,l.icon&&!l.loading?i("ix-icon",{class:"icon",name:l.icon,size:l.iconSize,color:l.iconColor,"aria-hidden":c?"true":void 0}):null,i("div",{class:{content:!0,[`content-${l.alignment}`]:!!l.alignment}},r),l.iconRight?i("ix-icon",{class:"icon-right",name:l.iconRight,size:l.iconSize,color:l.iconColor,"aria-hidden":c?"true":void 0}):null,l.afterContent?l.afterContent:null];return l.href?i("a",{...d,"aria-disabled":n(l.disabled),href:l.disabled?void 0:l.href,target:l.target,role:"button",rel:l.rel,onClick:i=>t(i,l)},u):i("button",{...d,"aria-disabled":n(l.disabled),disabled:l.disabled||l.loading,onClick:i=>t(i,l),type:l.type},u)};export{l as B,e as g}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{T as e}from"./p-CWshStHZ.js";const n=new class{#e=null;#n=new e;#t=!1;#s=null;register(e){this.#e?console.warn("Menu already defined"):(this.#e=e,this.#s=e=>{this.#n.emit(e.detail)},this.#e.addEventListener("expandChange",this.#s))}unregister(e){this.#e===e&&(this.#s&&e.removeEventListener("expandChange",this.#s),this.#s=null,this.#e=null)}setIsPinned(e){this.#t=e}async open(){return!!this.#e&&(this.#e.toggleMenu(!0),!0)}async close(){return!!this.#e&&(this.#e.toggleMenu(!1),!0)}async toggle(){return!!this.#e&&(this.#e.toggleMenu(),!0)}get nativeElement(){return this.#e}get expandChange(){return this.#n}get isPinned(){return this.#t}};export{n as m}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,h as i,d as o,t as s}from"./p-CtDOTMOT.js";import{c as a,a as n,r,s as l,o as c,d as h,b as d,h as m}from"./p-Bxrgt3H_.js";import{m as p}from"./p-Djkc69iv.js";import{d as b}from"./p-Dw_A3HUC.js";import{b as f}from"./p-CKoABG1h.js";import{d as u}from"./p-DhWkcMmR.js";const y=t=>null!==t?`${t}px`:"";let w=0;const g=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}for;titleContent;interactive=!1;placement="top";showDelay=0;hideDelay=50;animationFrame=!1;get hostElement(){return this}visible=!1;hideTooltipTimeout;showTooltipTimeout;visibleFor;disposeAutoUpdate;disposeTriggerListener;disposeTooltipListener;disposeDomChangeListener;hasDisconnected=!1;instance=w++;dialogRef=p();get arrowElement(){return this.hostElement.shadowRoot.querySelector(".arrow")}async showTooltip(t){if(this.clearTimeouts(),this.showTooltipTimeout||this.visibleFor===t)return;const e=await this.dialogRef.waitForCurrent();this.showTooltipTimeout=setTimeout((()=>{this.setAnchorElement(t),e.showPopover(),this.applyTooltipPosition(t,e),this.registerTooltipListener(e)}),this.showDelay)}async hideTooltip(t=this.hideDelay){if(this.clearTimeouts(),this.hideTooltipTimeout||!this.visible)return;this.interactive&&50===t&&(t=150);const e=await this.dialogRef.waitForCurrent();this.hideTooltipTimeout=setTimeout((()=>{this.setAnchorElement(),e.hidePopover(),this.disposeAutoUpdate?.(),this.disposeTooltipListener?.()}),t)}setAnchorElement(t){t?(this.visibleFor=t,this.visible=!0):(this.visibleFor=void 0,this.visible=!1)}computeArrowPosition({placement:t,middlewareData:e}){let{x:i,y:o}=e.arrow;const s={top:"unset",right:"unset",bottom:"unset",left:"unset"};return t.startsWith("top")?{...s,left:y(i),bottom:y(-6)}:t.startsWith("right")?{...s,left:y(-6),top:y(o)}:t.startsWith("bottom")?{...s,left:y(i),top:y(-6)}:t.startsWith("left")?{...s,right:y(-6),top:y(o)}:void 0}async computeTooltipPosition(t,e){return a(t,e,{strategy:"fixed",placement:this.placement,middleware:[l(),c(12),h({element:this.arrowElement}),d({fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"end",padding:10}),m()]})}applyTooltipArrowPosition(t){const e=this.computeArrowPosition(t);Object.assign(this.arrowElement.style,e)}async applyTooltipPosition(t,e){if(t)return new Promise((i=>{this.disposeAutoUpdate?.(),this.disposeAutoUpdate=n(t,e,(async()=>{const o=await this.computeTooltipPosition(t,e),s=o.middlewareData.hide?.referenceHidden;s&&(this.hideTooltip(0),i(o)),o.middlewareData.arrow&&this.applyTooltipArrowPosition(o);const{x:a,y:n}=o;Object.assign(e.style,{left:y(a),top:y(n)}),i(o)}),{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,animationFrame:this.animationFrame})}))}async queryAnchorElements(){if(this.for)return Array.isArray(this.for)?this.resolveElements(this.for):this.resolveElements([this.for])}async resolveElements(t){const i=[];return await Promise.all(t.map((async t=>{if("string"==typeof t){const e=await r(t,this.hostElement);e&&i.push(...e)}else t instanceof e?i.push(t):t instanceof Promise&&i.push(await t)}))),i}async registerTriggerListener(){this.disposeTriggerListener?.();const t=await this.queryAnchorElements();if(!t)return;const e=[];t.forEach((t=>{e.push({element:t,eventType:"mouseenter",callback:()=>{this.showTooltip(t)}},{element:t,eventType:"mouseleave",callback:()=>{this.hideTooltip()}},{element:t,eventType:"focus",callback:()=>{this.showTooltip(t)}},{element:t,eventType:"focusout",callback:()=>{this.hideTooltip()}})})),this.disposeTriggerListener=f(e)}registerTooltipListener(t){this.disposeTooltipListener?.(),this.disposeTooltipListener=f([{element:t,eventType:"mouseenter",callback:()=>{this.interactive&&this.clearHideTimeout()}},{element:t,eventType:"focus",callback:()=>{this.interactive&&this.clearHideTimeout()}},{element:t,eventType:"mouseleave",callback:()=>{this.hideTooltip()}},{element:t,eventType:"focusout",callback:()=>{this.hideTooltip()}},{element:t,eventType:"click",callback:t=>{t.stopPropagation()}},{element:document,eventType:"keydown",callback:t=>{"Escape"===t.key&&this.hideTooltip()}}])}registerDomChangeListener(){this.disposeDomChangeListener?.();const t=new MutationObserver((()=>{this.registerTriggerListener()}));t.observe(document.body,{attributes:!0,attributeFilter:["data-ix-tooltip"],childList:!0,subtree:!0}),this.disposeDomChangeListener=()=>{t.disconnect()}}clearHideTimeout(){clearTimeout(this.hideTooltipTimeout),this.hideTooltipTimeout=void 0}clearShowTimeout(){clearTimeout(this.showTooltipTimeout),this.showTooltipTimeout=void 0}clearTimeouts(){this.clearHideTimeout(),this.clearShowTimeout()}componentWillLoad(){this.registerTriggerListener()}componentDidLoad(){this.registerDomChangeListener()}connectedCallback(){this.hasDisconnected&&(this.registerTriggerListener(),this.registerDomChangeListener())}disconnectedCallback(){this.hasDisconnected=!0,this.clearTimeouts(),this.disposeAutoUpdate?.(),this.disposeTriggerListener?.(),this.disposeTooltipListener?.(),this.disposeDomChangeListener?.()}handleTitleIconSlotChange(t){const e=b(t.target);for(const t of e)"ix-icon"===t.tagName.toLowerCase()&&(t.size="16")}render(){return i(o,{key:"8aed42852f615787c48fa06b0682738a1f330440",role:"tooltip",class:{visible:this.visible}},i("dialog",{key:"f9291fb22d6a57c8cb4e6a2ad00b93291e21ba8e",ref:this.dialogRef,id:"tooltip-"+this.instance,class:"dialog",popover:"manual",inert:!this.visible},i("div",{key:"b3549060bdc5e21ce10c3a131d96172b156e4b15",class:"tooltip-container"},i("div",{key:"9faaaf7ad71f73267270b97d2d4ba06de1c9db15",class:"content-wrapper"},i("div",{key:"2613a69b5ade812a9bf6850c40ea0b6c3b231c29",class:"tooltip-title"},i("slot",{key:"b4e2bd1cbefd7a1e684967e876404e9df78b3c2b",name:"title-icon",onSlotchange:t=>this.handleTitleIconSlotChange(t)}),i("ix-typography",{key:"ad34b68a4b538da01990d41b8ba5f35e6f54f71a",format:"h5"},this.titleContent,i("slot",{key:"670455a0bfda60771c9af9b1b1890826f9a9431f",name:"title-content"}))),i("slot",{key:"82e0591cfb4861702b6a65f8e598d6475e5054f6"}),i("div",{key:"19145d17a5db3aaaf1750f3e6fcb0091d4baad4c",class:"arrow"})))))}static get style(){return'.dialog{margin:0;padding:0;border:none;max-width:18.25rem;width:-moz-max-content;width:max-content;background-color:transparent;overflow-wrap:break-word;box-shadow:none;overflow:visible}.tooltip-container{display:block;position:relative;width:auto;height:-moz-fit-content;height:fit-content;background:var(--theme-tootlip--background);color:var(--theme-color-std-text);padding:0.375rem 0.75rem;box-shadow:var(--theme-shadow-4);border-radius:0.25rem}.content-wrapper{overflow:auto}.tooltip-title{display:flex}.tooltip-title ::slotted(ix-icon){margin:0.125rem 0.25rem 0.125rem 0}.arrow,.arrow::before{position:absolute;width:12px;height:12px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:"";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}'}},[769,"ix-tooltip",{for:[1],titleContent:[1,"title-content"],interactive:[4],placement:[1],showDelay:[2,"show-delay"],hideDelay:[2,"hide-delay"],animationFrame:[4,"animation-frame"],visible:[32],showTooltip:[64],hideTooltip:[64]}]);function v(){"undefined"!=typeof customElements&&["ix-tooltip","ix-typography"].forEach((t=>{switch(t){case"ix-tooltip":customElements.get(s(t))||customElements.define(s(t),g);break;case"ix-typography":customElements.get(s(t))||u()}}))}export{g as T,v as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as o,d as n,t as i}from"./p-Bxdy-8CE.js";const a=t(class t extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}format;textColor;bold=!1;textDecoration="none";static getTextColor(t){return t.startsWith("inv-")||!t.endsWith("-contrast")?`var(--theme-color-${t}-text)`:`var(--theme-color-${t.replace("-","--")})`}render(){let e={};e[`typography-${this.format??"body"}`]=!0,"none"!==this.textDecoration&&(e[`typography-decoration-${this.textDecoration}`]=!0),e["typography-weight-bold"]=this.bold;let i={};return this.textColor&&(i={color:t.getTextColor(this.textColor)}),o(n,{key:"ea3cece07f28bc8d2b3e833285d2349f660b6509",class:e,style:i},o("slot",{key:"07537b8f6e487024123ef007e7d1b44883b0a991"}))}static get style(){return'.typography-label,:host(.typography-label){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-label-xs,:host(.typography-label-xs){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--2);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xxl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-label-sm,:host(.typography-label-sm){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-label-lg,:host(.typography-label-lg){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body,:host(.typography-body){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body-xs,:host(.typography-body-xs){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--2);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xxl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body-sm,:host(.typography-body-sm){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body-lg,:host(.typography-body-lg){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display,:host(.typography-display){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-3);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-xs,:host(.typography-display-xs){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-sm);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-sm,:host(.typography-display-sm){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-2);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-lg,:host(.typography-display-lg){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-4);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-xl,:host(.typography-display-xl){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-5);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-sm);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-xxl,:host(.typography-display-xxl){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-6);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-sm);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h6,.h6,.typography-h6,:host(.typography-h6){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h5,.h5,.typography-h5,:host(.typography-h5){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h4,.h4,.typography-h4,:host(.typography-h4){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h3,.h3,.typography-h3,:host(.typography-h3){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-2);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h2,.h2,.typography-h2,:host(.typography-h2){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-3);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h1,.h1,.typography-h1,:host(.typography-h1){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-4);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-code,:host(.typography-code){font-feature-settings:"clig" off, "liga" off;font-family:JetBrainsMono, Courier New, monospace, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-code-lg,:host(.typography-code-lg){font-feature-settings:"clig" off, "liga" off;font-family:JetBrainsMono, Courier New, monospace, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-code-sm,:host(.typography-code-sm){font-feature-settings:"clig" off, "liga" off;font-family:JetBrainsMono, Courier New, monospace, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-decoration-none,:host(.typography-decoration-none){text-decoration:none !important}.typography-decoration-underline,:host(.typography-decoration-underline){text-decoration:underline !important}.typography-decoration-line-through,:host(.typography-decoration-line-through){text-decoration:line-through !important}.typography-weight-bold,:host(.typography-weight-bold){font-weight:700 !important}a{color:var(--theme-color-primary)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host(.text-xs){font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-s){font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-caption){font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-caption-single){font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default-single){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default-title){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default-title-single){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l-single){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l-title){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l-title-single){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-h2){font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-xl){font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}'}},[769,"ix-typography",{format:[1],textColor:[1,"text-color"],bold:[4],textDecoration:[1,"text-decoration"]}]);function s(){"undefined"!=typeof customElements&&["ix-typography"].forEach((t=>{"ix-typography"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}export{a as I,s as d}
|
|
1
|
+
import{p as t,H as e,h as o,d as n,t as i}from"./p-CtDOTMOT.js";const a=t(class t extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}format;textColor;bold=!1;textDecoration="none";static getTextColor(t){return t.startsWith("inv-")||!t.endsWith("-contrast")?`var(--theme-color-${t}-text)`:`var(--theme-color-${t.replace("-","--")})`}render(){let e={};e[`typography-${this.format??"body"}`]=!0,"none"!==this.textDecoration&&(e[`typography-decoration-${this.textDecoration}`]=!0),e["typography-weight-bold"]=this.bold;let i={};return this.textColor&&(i={color:t.getTextColor(this.textColor)}),o(n,{key:"618a929c958412cf860566ff38de557af16b4df1",class:e,style:i},o("slot",{key:"a766532919f0d8aa5e844b5501c724c5a149b2c0"}))}static get style(){return'.typography-label,:host(.typography-label){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-label-xs,:host(.typography-label-xs){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--2);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xxl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-label-sm,:host(.typography-label-sm){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-label-lg,:host(.typography-label-lg){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body,:host(.typography-body){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body-xs,:host(.typography-body-xs){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--2);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xxl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body-sm,:host(.typography-body-sm){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-body-lg,:host(.typography-body-lg){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display,:host(.typography-display){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-3);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-xs,:host(.typography-display-xs){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-sm);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-sm,:host(.typography-display-sm){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-2);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-lg,:host(.typography-display-lg){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-4);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-xl,:host(.typography-display-xl){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-5);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-sm);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-display-xxl,:host(.typography-display-xxl){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-6);line-height:var(--theme-line-height-xs);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-sm);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h6,.h6,.typography-h6,:host(.typography-h6){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h5,.h5,.typography-h5,:host(.typography-h5){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h4,.h4,.typography-h4,:host(.typography-h4){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h3,.h3,.typography-h3,:host(.typography-h3){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-2);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-lg);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h2,.h2,.typography-h2,:host(.typography-h2){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-3);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}h1,.h1,.typography-h1,:host(.typography-h1){font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-4);line-height:var(--theme-line-height-sm);font-weight:var(--theme-font-weight-bold);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-code,:host(.typography-code){font-feature-settings:"clig" off, "liga" off;font-family:JetBrainsMono, Courier New, monospace, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-code-lg,:host(.typography-code-lg){font-feature-settings:"clig" off, "liga" off;font-family:JetBrainsMono, Courier New, monospace, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-md);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-code-sm,:host(.typography-code-sm){font-feature-settings:"clig" off, "liga" off;font-family:JetBrainsMono, Courier New, monospace, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms--1);line-height:var(--theme-line-height-lg);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.typography-decoration-none,:host(.typography-decoration-none){text-decoration:none !important}.typography-decoration-underline,:host(.typography-decoration-underline){text-decoration:underline !important}.typography-decoration-line-through,:host(.typography-decoration-line-through){text-decoration:line-through !important}.typography-weight-bold,:host(.typography-weight-bold){font-weight:700 !important}a{color:var(--theme-color-primary)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host(.text-xs){font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-s){font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-caption){font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-caption-single){font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default-single){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default-title){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-default-title-single){font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l-single){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l-title){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-l-title-single){font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-h2){font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host(.text-xl){font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}'}},[769,"ix-typography",{format:[1],textColor:[1,"text-color"],bold:[4],textDecoration:[1,"text-decoration"]}]);function s(){"undefined"!=typeof customElements&&["ix-typography"].forEach((t=>{"ix-typography"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}export{a as I,s as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as o,H as e,e as t,h as r,d as a,t as s}from"./p-CtDOTMOT.js";import{c as i}from"./p-Dw_A3HUC.js";import{u as c}from"./p-BtSt9tC5.js";import{d as l}from"./p-3VG6z9c3.js";import{d as n}from"./p-Dwe6tWhq.js";import{d as h}from"./p-DhWkcMmR.js";const b=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.closeClick=t(this,"closeClick",7)}get hostElement(){return this}hideClose=!1;icon;ariaLabelIcon;ariaLabelCloseIconButton="Close modal";onIconChange(o){this.parentDialog&&(o?this.parentDialog.classList.add("with-icon"):this.parentDialog.classList.remove("with-icon"))}iconColor;closeClick;parentDialog;componentDidLoad(){this.parentDialog=i(this.hostElement,"ix-modal"),this.onIconChange(this.icon)}onCloseClick(o){this.closeClick.emit(o).defaultPrevented||o.defaultPrevented||this.parentDialog.dismissModal()}render(){return r(a,{key:"2840ba385c7ad659786f48564bf307c2290049ca"},this.icon?r("ix-icon",{name:this.icon,color:this.iconColor,size:"32","aria-label":this.ariaLabelIcon}):null,r("div",{key:"5e6ce56e0e76e527a3e71e66ea2a4ec2d22a2ed7",class:"modal-title"},r("ix-typography",{key:"cd8c3d8cdfbdfed8a1ab2285328c88985843a8b5",format:"h5"},r("slot",{key:"1de70c68751fb8ece53890adf94b95c2bfcbd66d"}))),this.hideClose?null:r("ix-icon-button",{class:"modal-close",onClick:o=>this.onCloseClick(o),variant:"tertiary",icon:c,iconColor:"color-soft-text","aria-label":this.ariaLabelCloseIconButton}))}static get delegatesFocus(){return!0}static get watchers(){return{icon:[{onIconChange:0}]}}static get style(){return":host{display:flex;padding:0.5rem 0 0.5rem 0.5rem;align-items:center;gap:1rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .modal-title{flex-grow:1;overflow-wrap:anywhere}:host .modal-close{align-self:flex-start}"}},[785,"ix-modal-header",{hideClose:[4,"hide-close"],icon:[1],ariaLabelIcon:[1,"aria-label-icon"],ariaLabelCloseIconButton:[1,"aria-label-close-icon-button"],iconColor:[1,"icon-color"]},void 0,{icon:[{onIconChange:0}]}]);function d(){"undefined"!=typeof customElements&&["ix-modal-header","ix-icon-button","ix-spinner","ix-typography"].forEach((o=>{switch(o){case"ix-modal-header":customElements.get(s(o))||customElements.define(s(o),b);break;case"ix-icon-button":customElements.get(s(o))||l();break;case"ix-spinner":customElements.get(s(o))||n();break;case"ix-typography":customElements.get(s(o))||h()}}))}export{b as M,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,d as s,t as r}from"./p-
|
|
1
|
+
import{p as t,H as e,h as i,d as s,t as r}from"./p-CtDOTMOT.js";import{b as o}from"./p-C21npbUc.js";import{i as a}from"./p-XBTykBKS.js";import{m as l}from"./p-Djkc69iv.js";import{c as n}from"./p-Dw_A3HUC.js";import{d as h}from"./p-DhWkcMmR.js";import{c as f}from"./p-BWknDysp.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}required;htmlFor;controlRef;isInvalid=!1;textOverflow="wrap";explicitIsInvalid=void 0;isInvalidChanged(t){this.explicitIsInvalid=t}htmlForObserver=new MutationObserver((()=>this.checkForInternalState()));htmlForClassObserver;controlRefClassObserver;a11yAttributes={};labelRef=l();connectedCallback(){this.registerHtmlForObserver(),this.registerControlRefObserver()}disconnectedCallback(){this.htmlForObserver&&this.htmlForObserver.disconnect(),this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.controlRefClassObserver&&this.controlRefClassObserver.destroy()}componentWillRender(){this.checkForInternalState(),n(this.hostElement,"ix-range-field")&&(this.textOverflow="no-wrap")}componentWillLoad(){this.a11yAttributes=o(this.hostElement)}registerHtmlForObserver(){"undefined"!=typeof window&&(this.htmlForObserver&&this.htmlForObserver.disconnect(),this.htmlFor&&this.htmlForObserver.observe(window.document,{childList:!0,subtree:!0}))}async registerControlRefObserver(){if("undefined"!=typeof window&&(this.controlRefClassObserver&&this.controlRefClassObserver.destroy(),this.controlRef&&!this.htmlFor)){const t=await this.controlRef.waitForCurrent();this.controlRefClassObserver=f(t,(()=>this.checkForInvalidState(t)))}}registerHtmlForClassObserver(t){this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.htmlForClassObserver=f(t,(()=>this.checkForInvalidState(t)))}checkForInvalidState(t){const e=t.classList.contains("is-invalid")||t.classList.contains("ix-invalid");this.isInvalid=this.explicitIsInvalid??e}async checkForInternalState(){if(this.htmlFor){const t=document.getElementById(this.htmlFor);if(t)return"boolean"==typeof t.required&&(this.required=t.required),this.registerHtmlForClassObserver(t),void this.checkForInvalidState(t)}if(this.controlRef){const t=await this.controlRef.waitForCurrent();this.required=t.required}}async focusOnClick(){if(this.htmlFor){const t=document.getElementById(this.htmlFor);if(t){let e=null;e=a(t)?await t.getNativeInputElement():t,"function"==typeof e.focus&&e.focus()}}this.controlRef&&(await this.controlRef.waitForCurrent()).focus()}render(){return i(s,{key:"ae3bda5074f387a20d9d464a7237584bf9cd185f",onClick:()=>this.focusOnClick(),class:{"text-overflow-wrap":"wrap"===this.textOverflow,"text-overflow-no-wrap":"no-wrap"===this.textOverflow}},i("label",{key:"1813ab2ed336d585667522a9e01f30891da1c794",htmlFor:this.htmlFor,...this.a11yAttributes,ref:this.labelRef},i("ix-typography",{key:"0af94d2c01fbaf5450af1d7a5beeb591401dd4f3",textColor:this.isInvalid?"alarm":"soft",format:"label"},i("slot",{key:"4eff5cfac2491d6a716b8def24671422c5796a15"}),this.required&&i("span",{key:"d466918f68a18d7474b607827649baf67caf0a01"},"*"))))}static get watchers(){return{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}}static get style(){return":host{display:inline-block;position:relative;margin-top:0.5rem;margin-bottom:0.25rem}:host(.text-overflow-no-wrap){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host(.text-overflow-no-wrap) ix-typography{text-overflow:ellipsis;overflow:hidden}"}},[769,"ix-field-label",{required:[1540],htmlFor:[513,"html-for"],controlRef:[16],isInvalid:[1028,"is-invalid"],textOverflow:[32]},void 0,{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}]);function c(){"undefined"!=typeof customElements&&["ix-field-label","ix-typography"].forEach((t=>{switch(t){case"ix-field-label":customElements.get(r(t))||customElements.define(r(t),d);break;case"ix-typography":customElements.get(r(t))||h()}}))}export{d as F,c as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as n}from"./p-Djkc69iv.js";import{q as t,d as o,t as e,c as r}from"./p-C5UTTqsv.js";const c="data-ix-focus-trap-exclude",i="data-ix-focus-trap-include",s=`${o}, [${i}]`,f=()=>{let n=document.activeElement;for(;n;){if(n instanceof HTMLElement&&n.shadowRoot?.activeElement){const t=n.shadowRoot.activeElement;if(t!==n){n=t;continue}}const t=n.getRootNode();if(!(t instanceof ShadowRoot&&t.activeElement&&t.activeElement!==n))break;n=t.activeElement}return n};function u(n,t){if(!(n instanceof HTMLElement))return-1;const o=t.indexOf(n);if(-1!==o)return o;for(let o=0;o<t.length;o++){const e=t[o];if(e.shadowRoot?.contains(n))return o;const r=n.getRootNode();if(r instanceof ShadowRoot&&r.host===e)return o;if(e.contains(n))return o}return-1}function a(n){let t=n;for(;t;){if(t instanceof HTMLElement&&"IX-POPOVER"===t.tagName)return t;const n=t.getRootNode();t=n instanceof ShadowRoot?n.host:t.parentElement}}function l(n){const{display:t,visibility:o}=getComputedStyle(n);return"none"===t||"hidden"===o}function d(n,e){const r="both"===e?.trapFocusInShadowDom;let f;f=r?((...n)=>{const t=[],o=new Set;for(const e of n)for(const n of e)o.has(n)||(o.add(n),t.push(n));return t.sort(((n,t)=>{const o=n.compareDocumentPosition(t);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))})(n.shadowRoot?t(n.shadowRoot,s,!1):[],t(n,s,!1)):t(!0===e?.trapFocusInShadowDom?n.shadowRoot:n,s,r),function(n,e){const r="both"===e?.trapFocusInShadowDom;for(let c=0;c<n.length;c++){const s=n[c];if(!s.hasAttribute(i))continue;const f=t(r||!0===e?.trapFocusInShadowDom&&s.shadowRoot?s.shadowRoot??s:s,o,r).filter((n=>n!==s&&!l(n)));for(const t of f){const o=n.indexOf(t);-1!==o&&(n.splice(o,1),o<c&&c--)}n.splice(c,1,...f),c+=f.length-1}}(f,e);const u=function(n,t){return n.filter((n=>!function(n,t){if(function(n){let t=n;for(;t;){if(t instanceof HTMLElement&&t.inert)return!0;t=t instanceof ShadowRoot?t.host:t.parentNode}return!1}(n))return!0;const o=a(n);return!(!o||o===t)}(n,t)))}(f,n).filter((n=>!l(n)));return e?.excludeElements?u.filter((n=>!n.hasAttribute(c))):u}function m(n,t,o){const e=d(n,t),c=e.find((t=>!function(n,t){let o=n;for(;o&&o!==t;){if(o instanceof HTMLElement&&"IX-POPOVER-HEADER"===o.tagName)return!0;const n=o.getRootNode();o=n instanceof ShadowRoot?n.host:o.parentElement}return!1}(t,n)));r(c??e[0]??null,n,o)}const E=async(t,o)=>{const r=o?.targetElement?await(async t=>{if(t instanceof HTMLElement)return t;if(n(t))return t.waitForCurrent();throw new Error("Invalid focus trap element reference")})(o.targetElement):t;let c=t;o?.listenOnDocument?c=document:o?.targetElement&&(c=r);const s=n=>{const t=n;if("Tab"!==t.key)return;if(o?.listenOnDocument){if(o.shouldDeferTabTrap?.(r))return;const n=f();if(n instanceof HTMLElement&&((n,t)=>{const o=a(n);return void 0!==o&&o!==t&&(n=>{if(n.classList.contains("visible"))return!0;const t=n.shadowRoot?.querySelector("dialog");return t?.matches(":popover-open")??!1})(o)})(n,r))return}const c=d(r,o);if(0===c.length)return;const s=c[0],l=c[c.length-1],m=((n,t)=>{let o=f();if(-1!==u(o,t)){if(o instanceof HTMLElement&&o.hasAttribute(i)&&o.shadowRoot?.activeElement){const n=o.shadowRoot.activeElement;if(-1!==u(n,t))return n}return o}const e=n.shadowRoot?.activeElement;return e instanceof HTMLElement&&-1!==u(e,t)?e:o})(r,c),E=u(m,c);let p=!1;-1!==E&&(t.shiftKey?0===E&&(t.preventDefault(),e(l),p=!0):E===c.length-1&&(t.preventDefault(),e(s),p=!0),p&&n.stopImmediatePropagation())};return c.addEventListener("keydown",s),{destroy:()=>{c.removeEventListener("keydown",s)}}};export{c as T,i as a,E as b,m as f,d as g}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(t,e){return e?e.closest(t)||n(t,e.getRootNode().host):null}function t(n){return n.assignedElements({flatten:!0})}function e(n){return!!n&&0!==n.assignedElements({flatten:!0}).length}function o(n){return!!n&&(!!e(n)||n.assignedNodes({flatten:!0}).some((n=>n.nodeType===Node.TEXT_NODE&&(n.textContent??"").trim().length>0)))}function a(n,t){return n?n instanceof ShadowRoot?a(n.host,t):n instanceof HTMLElement&&n.matches(t)?n:a(n.parentNode,t):null}function f(n){const t=[];let e=n;for(;e;)if(e instanceof Element){t.push(e);const n=e.getRootNode();if(n instanceof ShadowRoot){e=n.host;continue}e=e.parentElement}else{if(e instanceof Document)break;e=e.parentNode}return t}export{o as a,n as b,a as c,t as d,f as g,e as h}
|