@siemens/ix 4.2.0 → 4.3.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 +1 -1
- package/components/index.js +26 -2
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +9 -4
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application-header.js +24 -16
- package/components/ix-application-header.js.map +1 -1
- package/components/ix-application-switch-modal.js +6 -6
- 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 +16 -8
- package/components/ix-breadcrumb.js.map +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-list.js +5 -5
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +20 -12
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +4 -4
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +4 -4
- package/components/ix-content-header.js +3 -3
- package/components/ix-custom-field.js +4 -4
- package/components/ix-date-dropdown.js +21 -13
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/ix-date-input.js +21 -13
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-datetime-picker.js +9 -9
- package/components/ix-drawer.js +8 -8
- package/components/ix-drawer.js.map +1 -1
- package/components/ix-dropdown-button.js +20 -8
- package/components/ix-dropdown-button.js.map +1 -1
- package/components/ix-dropdown-header.js +2 -2
- 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 +4 -4
- package/components/ix-event-list-item.js +4 -4
- package/components/ix-event-list.js +2 -2
- package/components/ix-expanding-search.js +6 -6
- 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 +5 -5
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group.js +11 -11
- package/components/ix-helper-text.js +2 -2
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +3 -3
- package/components/ix-input-group.js +1 -1
- package/components/ix-input.js +10 -10
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +3 -3
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +8 -8
- package/components/ix-menu-about.js +11 -6
- package/components/ix-menu-about.js.map +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +30 -10
- package/components/ix-menu-avatar.js.map +1 -1
- package/components/ix-menu-category.js +11 -11
- package/components/ix-menu-category.js.map +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 +51 -21
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +4 -4
- package/components/ix-message-bar.js.map +1 -1
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +2 -2
- package/components/ix-modal.js +5 -7
- package/components/ix-modal.js.map +1 -1
- package/components/ix-number-input.js +11 -11
- package/components/ix-pagination.js +15 -15
- package/components/ix-pane-layout.js +2 -1
- package/components/ix-pane-layout.js.map +1 -1
- package/components/ix-pane.js +9 -9
- package/components/ix-pill.js +6 -6
- package/components/ix-progress-indicator.js +5 -5
- package/components/ix-push-card.js +9 -4
- package/components/ix-push-card.js.map +1 -1
- package/components/ix-radio-group.js +6 -6
- package/components/ix-radio.js +4 -4
- 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 +111 -30
- package/components/ix-slider.js.map +1 -1
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +13 -5
- package/components/ix-split-button.js.map +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +6 -6
- package/components/ix-tile.js +4 -4
- package/components/ix-time-input.js +21 -13
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +8 -7
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +4 -4
- package/components/ix-toggle-button.js.map +1 -1
- package/components/ix-toggle.js +4 -4
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +34 -5
- package/components/ix-tree.js.map +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +5 -5
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/{p-BLeWaHpy.js → p-0gGE-dfR.js} +12 -6
- package/components/p-0gGE-dfR.js.map +1 -0
- package/components/{p-Dy6xvLn4.js → p-B-O8iFhq.js} +4 -4
- package/components/{p-Dy6xvLn4.js.map → p-B-O8iFhq.js.map} +1 -1
- package/components/{p-10zMtvCF.js → p-B09CzVld.js} +133 -52
- package/components/p-B09CzVld.js.map +1 -0
- package/components/{p-DSTHZygb.js → p-BB98pUYU.js} +14 -16
- package/components/p-BB98pUYU.js.map +1 -0
- package/components/{p-BOQ00Fbs.js → p-BElY9X3b.js} +35 -25
- package/components/p-BElY9X3b.js.map +1 -0
- package/components/p-BEuV0Xpe.js +28 -0
- package/components/p-BEuV0Xpe.js.map +1 -0
- package/components/{p-B1p0kpQJ.js → p-BHD2m8UF.js} +16 -8
- package/components/p-BHD2m8UF.js.map +1 -0
- package/components/{p-ColBHyXN.js → p-BJ5sreCN.js} +5 -5
- package/components/{p-ColBHyXN.js.map → p-BJ5sreCN.js.map} +1 -1
- package/components/{p-Bk0vKwmt.js → p-BRg281yQ.js} +4 -4
- package/components/{p-Bk0vKwmt.js.map → p-BRg281yQ.js.map} +1 -1
- package/components/{p-DlVaL0Yi.js → p-BUS4kPN3.js} +13 -8
- package/components/p-BUS4kPN3.js.map +1 -0
- package/components/{p-C4KxNeD2.js → p-Bq5oov4A.js} +3 -3
- package/components/{p-C4KxNeD2.js.map → p-Bq5oov4A.js.map} +1 -1
- package/components/{p-C6_1qmP4.js → p-C5dktNss.js} +4 -4
- package/components/{p-C6_1qmP4.js.map → p-C5dktNss.js.map} +1 -1
- package/components/{p-DC9anobw.js → p-CGqmQsSj.js} +6 -6
- package/components/{p-DC9anobw.js.map → p-CGqmQsSj.js.map} +1 -1
- package/components/{p-7E7AMiQV.js → p-CPnxCsJH.js} +5 -5
- package/components/{p-7E7AMiQV.js.map → p-CPnxCsJH.js.map} +1 -1
- package/components/{p-PpLLlogo.js → p-CUdJN6-t.js} +16 -14
- package/components/p-CUdJN6-t.js.map +1 -0
- package/components/{p-CjDPpSJX.js → p-CtnJ26Ng.js} +19 -11
- package/components/p-CtnJ26Ng.js.map +1 -0
- package/components/{p-B006bhbX.js → p-CwfaZReW.js} +3 -3
- package/components/{p-B006bhbX.js.map → p-CwfaZReW.js.map} +1 -1
- package/components/{p-BIg1TSrD.js → p-D-nChuuk.js} +7 -7
- package/components/{p-BIg1TSrD.js.map → p-D-nChuuk.js.map} +1 -1
- package/components/{p-MuPiaYr1.js → p-D0T_1WDk.js} +32 -2
- package/components/p-D0T_1WDk.js.map +1 -0
- package/components/{p-Bye33cYU.js → p-D2BfqYng.js} +7 -7
- package/components/{p-Bye33cYU.js.map → p-D2BfqYng.js.map} +1 -1
- package/components/{p-DXFN8JXp.js → p-D8qc3Tjo.js} +4 -4
- package/components/{p-DXFN8JXp.js.map → p-D8qc3Tjo.js.map} +1 -1
- package/components/{p-BBwXlKhE.js → p-DBeR3Qpr.js} +3 -3
- package/components/{p-BBwXlKhE.js.map → p-DBeR3Qpr.js.map} +1 -1
- package/components/{p-CvD2yWeJ.js → p-DFkWFa-O.js} +4 -4
- package/components/{p-CvD2yWeJ.js.map → p-DFkWFa-O.js.map} +1 -1
- package/components/{p-BGdI6-nv.js → p-DTobrL4g.js} +3 -3
- package/components/{p-BGdI6-nv.js.map → p-DTobrL4g.js.map} +1 -1
- package/components/{p-BmMUyJRQ.js → p-DV7UGci6.js} +10 -10
- package/components/{p-BmMUyJRQ.js.map → p-DV7UGci6.js.map} +1 -1
- package/components/{p-CV_EVAOW.js → p-DZkGd7CV.js} +10 -4
- package/components/p-DZkGd7CV.js.map +1 -0
- package/components/{p-BI7B-PUA.js → p-Djmkeupf.js} +105 -38
- package/components/p-Djmkeupf.js.map +1 -0
- package/components/{p-1pd_0dhF.js → p-Ds0M0G_e.js} +3 -3
- package/components/{p-1pd_0dhF.js.map → p-Ds0M0G_e.js.map} +1 -1
- package/components/{p-BR5ayBuu.js → p-DtGtkvRX.js} +4 -4
- package/components/{p-BR5ayBuu.js.map → p-DtGtkvRX.js.map} +1 -1
- package/components/{p-Dp03DeD0.js → p-Dwnv8fgy.js} +5 -5
- package/components/{p-Dp03DeD0.js.map → p-Dwnv8fgy.js.map} +1 -1
- package/components/{p-BQk7HpA-.js → p-U0nRzcrj.js} +3 -3
- package/components/{p-BQk7HpA-.js.map → p-U0nRzcrj.js.map} +1 -1
- package/components/{p-BiqdnsgA.js → p-jwHZJhcU.js} +63 -58
- package/components/p-jwHZJhcU.js.map +1 -0
- package/components/{p-hwPzPVf8.js → p-rFxiFp44.js} +12 -6
- package/components/p-rFxiFp44.js.map +1 -0
- package/components/{p-ClQxnZ3d.js → p-u9QR9x88.js} +6 -6
- package/components/{p-ClQxnZ3d.js.map → p-u9QR9x88.js.map} +1 -1
- package/components/{p-BEDohapR.js → p-uIFuspHx.js} +8 -5
- package/components/p-uIFuspHx.js.map +1 -0
- package/dist/cjs/{base-button-CjsUotrL.js → base-button-DVckB2S-.js} +10 -4
- package/dist/cjs/base-button-DVckB2S-.js.map +1 -0
- package/dist/cjs/{base-icon-button-D3kZg-im.js → base-icon-button-BMxa9fiN.js} +3 -3
- package/dist/cjs/{base-icon-button-D3kZg-im.js.map → base-icon-button-BMxa9fiN.js.map} +1 -1
- package/dist/cjs/index-C8Xo8L1k.js +4 -4
- package/dist/cjs/{index-B7AMgiIZ.js → index-CgfiBgkm.js} +3 -3
- package/dist/cjs/{index-B7AMgiIZ.js.map → index-CgfiBgkm.js.map} +1 -1
- package/dist/cjs/index.cjs.js +25 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +5 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +19 -12
- package/dist/cjs/ix-application-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +11 -4
- package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +8 -3
- package/dist/cjs/ix-category-filter.cjs.entry.js +15 -8
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +15 -8
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +12 -5
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +11 -4
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +6 -6
- package/dist/cjs/ix-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +14 -3
- package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +9 -3
- package/dist/cjs/ix-dropdown-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +103 -37
- package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
- package/dist/cjs/ix-field-label.ix-field-wrapper.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-field-label_2.cjs.entry.js +14 -7
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +8 -8
- package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +7 -4
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +4 -4
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +6 -2
- package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +20 -3
- package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-category.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +10 -8
- package/dist/cjs/ix-menu-expand-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +10 -12
- package/dist/cjs/ix-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/{ix-menu-settings-CtWl0bME.js → ix-menu-settings-BYr52N4C.js} +42 -38
- package/dist/cjs/ix-menu-settings-BYr52N4C.js.map +1 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +44 -16
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
- package/dist/cjs/ix-message-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +5 -7
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +5 -5
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -1
- package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +6 -6
- package/dist/cjs/ix-pill.cjs.entry.js +4 -4
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.cjs.entry.js +5 -1
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-radio.cjs.entry.js +3 -3
- package/dist/cjs/ix-select.cjs.entry.js +22 -13
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +87 -25
- package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-split-button.cjs.entry.js +8 -1
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +135 -54
- package/dist/cjs/ix-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-input.cjs.entry.js +11 -4
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/ix-toast-container.cjs.entry.js +4 -3
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +7 -3
- package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +33 -4
- package/dist/cjs/ix-tree.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{modal-CsEGB0kd.js → modal-CUsbxNFf.js} +32 -2
- package/dist/cjs/modal-CUsbxNFf.js.map +1 -0
- package/dist/cjs/requestAnimationFrame-B0rWQ3G-.js +30 -0
- package/dist/cjs/requestAnimationFrame-B0rWQ3G-.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/collection/components/action-card/action-card.js +25 -1
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/application-header/application-header.js +46 -10
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +37 -4
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/button/base-button.js +8 -2
- package/dist/collection/components/button/base-button.js.map +1 -1
- package/dist/collection/components/card/card.css +49 -0
- package/dist/collection/components/card/card.js +27 -2
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/category-filter/category-filter.js +41 -8
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +38 -5
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +37 -4
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +38 -5
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +6 -6
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.css +42 -0
- package/dist/collection/components/dropdown/dropdown.js +125 -36
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +42 -5
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +10 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- 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 +14 -5
- package/dist/collection/components/field-label/field-label.js.map +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +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.js +5 -2
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input/number-input.js +5 -5
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/input-group/input-group.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.js +33 -36
- package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
- package/dist/collection/components/menu/menu.js +50 -16
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +25 -1
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +90 -3
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +6 -6
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.js +10 -12
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js +25 -1
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.css +0 -11
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -4
- package/dist/collection/components/modal/modal.js +4 -6
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane-layout/pane-layout.js +2 -1
- package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/push-card/push-card.js +25 -1
- package/dist/collection/components/push-card/push-card.js.map +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/row/row.js +1 -1
- package/dist/collection/components/select/select.js +49 -14
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.css +86 -44
- package/dist/collection/components/slider/slider.js +290 -27
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +35 -2
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.js +3 -3
- package/dist/collection/components/tabs/tabs.js +130 -26
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +37 -4
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.js +5 -5
- package/dist/collection/components/toast/toast-container.js +4 -3
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast-utils.js +21 -0
- package/dist/collection/components/toast/toast-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.css +8 -6
- package/dist/collection/components/toast/toast.js +26 -2
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/lazy-list/lazy.js +32 -3
- package/dist/collection/components/utils/lazy-list/lazy.js.map +1 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +3 -3
- package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js +3 -0
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/utils/modal/message.js +18 -0
- package/dist/collection/components/utils/modal/message.js.map +1 -1
- package/dist/collection/components/utils/modal/modal.js +12 -0
- package/dist/collection/components/utils/modal/modal.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- 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/{base-button-TVpiK7pg.js → base-button-D4FlHdn0.js} +10 -4
- package/dist/esm/base-button-D4FlHdn0.js.map +1 -0
- package/dist/esm/{base-icon-button-B3ULQ24g.js → base-icon-button-rBR4ri6c.js} +3 -3
- package/dist/esm/{base-icon-button-B3ULQ24g.js.map → base-icon-button-rBR4ri6c.js.map} +1 -1
- package/dist/esm/{index-Kp5Wf9wr.js → index-75AAQH08.js} +3 -3
- package/dist/esm/{index-Kp5Wf9wr.js.map → index-75AAQH08.js.map} +1 -1
- package/dist/esm/index-CtoreFVF.js +4 -4
- package/dist/esm/index.js +26 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +5 -1
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +19 -12
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +1 -1
- package/dist/esm/ix-avatar_2.entry.js +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +11 -4
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +1 -1
- package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +8 -3
- package/dist/esm/ix-category-filter.entry.js +15 -8
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +15 -8
- package/dist/esm/ix-date-dropdown.entry.js +12 -5
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +11 -4
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-drawer.entry.js +6 -6
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +14 -3
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +9 -3
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +103 -37
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list-item.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js +2 -2
- package/dist/esm/ix-expanding-search.entry.js +4 -4
- package/dist/esm/ix-field-label.ix-field-wrapper.entry.js.map +1 -1
- package/dist/esm/ix-field-label_2.entry.js +14 -7
- package/dist/esm/ix-filter-chip_2.entry.js +2 -2
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +3 -3
- package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
- package/dist/esm/ix-group.entry.js +8 -8
- package/dist/esm/ix-helper-text.entry.js +1 -1
- package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +7 -4
- package/dist/esm/ix-icon-toggle-button.entry.js +3 -3
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +4 -4
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +3 -3
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +4 -4
- package/dist/esm/ix-menu-about.entry.js +6 -2
- package/dist/esm/ix-menu-about.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +20 -3
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +6 -6
- package/dist/esm/ix-menu-category.entry.js.map +1 -1
- package/dist/esm/ix-menu-expand-icon.entry.js +10 -8
- package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
- package/dist/esm/ix-menu-item.entry.js +10 -12
- package/dist/esm/ix-menu-item.entry.js.map +1 -1
- package/dist/esm/{ix-menu-settings-f9o5GGw5.js → ix-menu-settings-CG60xQKd.js} +42 -38
- package/dist/esm/ix-menu-settings-CG60xQKd.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +44 -16
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +5 -7
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +5 -5
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pane-layout.entry.js +2 -1
- package/dist/esm/ix-pane-layout.entry.js.map +1 -1
- package/dist/esm/ix-pane.entry.js +6 -6
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-progress-indicator.entry.js +3 -3
- package/dist/esm/ix-push-card.entry.js +5 -1
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-radio-group.entry.js +2 -2
- package/dist/esm/ix-radio.entry.js +3 -3
- package/dist/esm/ix-select.entry.js +22 -13
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +87 -25
- package/dist/esm/ix-slider.entry.js.map +1 -1
- package/dist/esm/ix-split-button.entry.js +8 -1
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +134 -53
- package/dist/esm/ix-textarea.entry.js +2 -2
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-input.entry.js +11 -4
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +5 -5
- package/dist/esm/ix-toast-container.entry.js +4 -3
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +7 -3
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/ix-toggle-button.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +3 -3
- package/dist/esm/ix-tooltip.entry.js +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +33 -4
- package/dist/esm/ix-tree.entry.js.map +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-BTxff2hq.js → modal-DCXtePY2.js} +32 -2
- package/dist/esm/modal-DCXtePY2.js.map +1 -0
- package/dist/esm/requestAnimationFrame-BEuV0Xpe.js +28 -0
- package/dist/esm/requestAnimationFrame-BEuV0Xpe.js.map +1 -0
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-application-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-drawer.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-field-label.ix-field-wrapper.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-about.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-category.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-expand-icon.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toggle-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tree.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p-00d9e974.entry.js +2 -0
- package/dist/siemens-ix/{p-26c629c3.entry.js.map → p-00d9e974.entry.js.map} +1 -1
- package/dist/siemens-ix/p-00f783c2.entry.js +2 -0
- package/dist/siemens-ix/p-00f783c2.entry.js.map +1 -0
- package/dist/siemens-ix/{p-eba7f62c.entry.js → p-012e0b64.entry.js} +2 -2
- package/dist/siemens-ix/p-01f33c21.entry.js +2 -0
- package/dist/siemens-ix/p-01f33c21.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c94739d0.entry.js → p-0693e4bf.entry.js} +2 -2
- package/dist/siemens-ix/p-07ab03fe.entry.js +2 -0
- package/dist/siemens-ix/p-07ab03fe.entry.js.map +1 -0
- package/dist/siemens-ix/{p-dc8de6cb.entry.js → p-0c5021bc.entry.js} +2 -2
- package/dist/siemens-ix/{p-b9880608.entry.js → p-0f80678c.entry.js} +2 -2
- package/dist/siemens-ix/p-13dc936a.entry.js +2 -0
- package/dist/siemens-ix/p-13dc936a.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d3a60c52.entry.js → p-163090c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-d3a60c52.entry.js.map → p-163090c1.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-ea15fc79.entry.js → p-18d39c8a.entry.js} +2 -2
- package/dist/siemens-ix/{p-b3453edf.entry.js → p-1b4cfce2.entry.js} +2 -2
- package/dist/siemens-ix/{p-de12078d.entry.js → p-22735495.entry.js} +2 -2
- package/dist/siemens-ix/p-24af7715.entry.js +2 -0
- package/dist/siemens-ix/p-24af7715.entry.js.map +1 -0
- package/dist/siemens-ix/p-29d397e7.entry.js +2 -0
- package/dist/siemens-ix/p-29d397e7.entry.js.map +1 -0
- package/dist/siemens-ix/p-2e1bb4bf.entry.js +2 -0
- package/dist/siemens-ix/p-2e1bb4bf.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1de1a2bf.entry.js → p-2eda608a.entry.js} +2 -2
- package/dist/siemens-ix/{p-6a4bc78a.entry.js → p-2f83d5de.entry.js} +2 -2
- package/dist/siemens-ix/p-332b3d09.entry.js +2 -0
- package/dist/siemens-ix/{p-c15e64a8.entry.js → p-346c5039.entry.js} +2 -2
- package/dist/siemens-ix/p-38ba4776.entry.js +2 -0
- package/dist/siemens-ix/p-38ba4776.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b7ef70d4.entry.js → p-3ff8cf24.entry.js} +2 -2
- package/dist/siemens-ix/p-3ff8cf24.entry.js.map +1 -0
- package/dist/siemens-ix/{p-4431f891.entry.js → p-4a6f8ce8.entry.js} +2 -2
- package/dist/siemens-ix/p-4a9cceff.entry.js +2 -0
- package/dist/siemens-ix/{p-0ce03ad3.entry.js.map → p-4a9cceff.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-396e1f3d.entry.js → p-4d004e44.entry.js} +2 -2
- package/dist/siemens-ix/{p-b76df1c7.entry.js → p-4d540a34.entry.js} +2 -2
- package/dist/siemens-ix/p-4d540a34.entry.js.map +1 -0
- package/dist/siemens-ix/p-4e985847.entry.js +2 -0
- package/dist/siemens-ix/p-4e985847.entry.js.map +1 -0
- package/dist/siemens-ix/p-5306efc0.entry.js +2 -0
- package/dist/siemens-ix/p-5306efc0.entry.js.map +1 -0
- package/dist/siemens-ix/p-568e5673.entry.js +2 -0
- package/dist/siemens-ix/p-568e5673.entry.js.map +1 -0
- package/dist/siemens-ix/{p-38e45020.entry.js → p-591664be.entry.js} +2 -2
- package/dist/siemens-ix/{p-c5c863e1.entry.js → p-6794955e.entry.js} +2 -2
- package/dist/siemens-ix/{p-79537728.entry.js → p-69526242.entry.js} +2 -2
- package/dist/siemens-ix/p-7752df0f.entry.js +2 -0
- package/dist/siemens-ix/p-78ac2dbc.entry.js +2 -0
- package/dist/siemens-ix/{p-8f9368b8.entry.js → p-7ab95193.entry.js} +2 -2
- package/dist/siemens-ix/p-7c3ed8dc.entry.js +2 -0
- package/dist/siemens-ix/p-7c3ed8dc.entry.js.map +1 -0
- package/dist/siemens-ix/{p-fb8877bc.entry.js → p-7df00cac.entry.js} +2 -2
- package/dist/siemens-ix/p-7df00cac.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e7bdc0a0.entry.js → p-7fa55c16.entry.js} +2 -2
- package/dist/siemens-ix/p-7fa55c16.entry.js.map +1 -0
- package/dist/siemens-ix/{p-ff83eafd.entry.js → p-7fbcc15c.entry.js} +2 -2
- package/dist/siemens-ix/p-828db41e.entry.js +2 -0
- package/dist/siemens-ix/{p-6dc6eb63.entry.js.map → p-828db41e.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-496e98ac.entry.js → p-82c3a8a2.entry.js} +2 -2
- package/dist/siemens-ix/p-899b445d.entry.js +2 -0
- package/dist/siemens-ix/p-899b445d.entry.js.map +1 -0
- package/dist/siemens-ix/{p-5779f16e.entry.js → p-8b6f2e0e.entry.js} +2 -2
- package/dist/siemens-ix/p-8c8bad0a.entry.js +2 -0
- package/dist/siemens-ix/{p-b8f4b001.entry.js → p-8e26b723.entry.js} +2 -2
- package/dist/siemens-ix/p-8e26b723.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7bc90e7e.entry.js → p-8e7f7343.entry.js} +2 -2
- package/dist/siemens-ix/{p-484bddf4.entry.js → p-922a49d7.entry.js} +2 -2
- package/dist/siemens-ix/{p-196cffb5.entry.js → p-9362445d.entry.js} +2 -2
- package/dist/siemens-ix/p-9492ebc4.entry.js +2 -0
- package/dist/siemens-ix/p-9492ebc4.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d2c18c15.entry.js → p-96c371c8.entry.js} +2 -2
- package/dist/siemens-ix/{p-2ffde2d5.entry.js → p-97c3d27e.entry.js} +2 -2
- package/dist/siemens-ix/{p-f119c105.entry.js → p-98cf2c22.entry.js} +2 -2
- package/dist/siemens-ix/{p-ca3b24b1.entry.js → p-99dda4c4.entry.js} +2 -2
- package/dist/siemens-ix/{p-e48977ed.entry.js → p-9b917ecd.entry.js} +2 -2
- package/dist/siemens-ix/p-9ea48663.entry.js +2 -0
- package/dist/siemens-ix/p-9ea48663.entry.js.map +1 -0
- package/dist/siemens-ix/{p-CObJ-t0Z.js → p-B3-0mRq1.js} +2 -2
- package/dist/siemens-ix/{p-CObJ-t0Z.js.map → p-B3-0mRq1.js.map} +1 -1
- package/dist/siemens-ix/p-BEuV0Xpe.js +2 -0
- package/dist/siemens-ix/p-BEuV0Xpe.js.map +1 -0
- package/dist/siemens-ix/p-BYhznbns.js +2 -0
- package/dist/siemens-ix/p-BYhznbns.js.map +1 -0
- package/dist/siemens-ix/p-BvohuWNe.js +2 -0
- package/dist/siemens-ix/p-BvohuWNe.js.map +1 -0
- package/dist/siemens-ix/p-CSUx_zC3.js +2 -0
- package/dist/siemens-ix/{p-DpM4lbAX.js.map → p-CSUx_zC3.js.map} +1 -1
- package/dist/siemens-ix/{p-BC0Exw_O.js → p-IHkSWEwz.js} +1 -1
- package/dist/siemens-ix/p-IHkSWEwz.js.map +1 -0
- package/dist/siemens-ix/p-a9c3bb03.entry.js +2 -0
- package/dist/siemens-ix/p-a9c3bb03.entry.js.map +1 -0
- package/dist/siemens-ix/{p-4c18f123.entry.js → p-ad911b63.entry.js} +2 -2
- package/dist/siemens-ix/{p-74e7b03f.entry.js → p-b1eac110.entry.js} +2 -2
- package/dist/siemens-ix/p-b7438aeb.entry.js +2 -0
- package/dist/siemens-ix/p-b7438aeb.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d10b9798.entry.js → p-b7734b9d.entry.js} +2 -2
- package/dist/siemens-ix/{p-df6bb698.entry.js → p-bc85feef.entry.js} +2 -2
- package/dist/siemens-ix/{p-a4225101.entry.js → p-c6ee37e4.entry.js} +2 -2
- package/dist/siemens-ix/{p-a8308559.entry.js → p-ca2533b1.entry.js} +2 -2
- package/dist/siemens-ix/p-cb5e0db6.entry.js +2 -0
- package/dist/siemens-ix/{p-3f62166e.entry.js.map → p-cb5e0db6.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-667e3184.entry.js → p-ceb7b1da.entry.js} +2 -2
- package/dist/siemens-ix/{p-e0b9cf68.entry.js → p-d2ce70ac.entry.js} +2 -2
- package/dist/siemens-ix/{p-8fc2bea6.entry.js → p-d384611d.entry.js} +2 -2
- package/dist/siemens-ix/p-d63ac3e3.entry.js +2 -0
- package/dist/siemens-ix/p-d63ac3e3.entry.js.map +1 -0
- package/dist/siemens-ix/p-d73d0805.entry.js +2 -0
- package/dist/siemens-ix/p-d73d0805.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b41a7abb.entry.js → p-d82ac1e1.entry.js} +2 -2
- package/dist/siemens-ix/{p-7beba4ad.entry.js → p-d9776ef8.entry.js} +2 -2
- package/dist/siemens-ix/p-db913bc4.entry.js +2 -0
- package/dist/siemens-ix/p-db913bc4.entry.js.map +1 -0
- package/dist/siemens-ix/{p-367df024.entry.js → p-dc0be9bf.entry.js} +2 -2
- package/dist/siemens-ix/p-dc0be9bf.entry.js.map +1 -0
- package/dist/siemens-ix/{p-33b3ed5b.entry.js → p-de59209e.entry.js} +2 -2
- package/dist/siemens-ix/{p-cf041cfd.entry.js → p-e29533a3.entry.js} +2 -2
- package/dist/siemens-ix/{p-3ce5fd87.entry.js → p-e4dabf5b.entry.js} +2 -2
- package/dist/siemens-ix/p-e4dabf5b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-cd1afcc9.entry.js → p-e69d8217.entry.js} +2 -2
- package/dist/siemens-ix/{p-7827c263.entry.js → p-e7ef43ed.entry.js} +2 -2
- package/dist/siemens-ix/{p-8f17f6ec.entry.js → p-ec9dc8d8.entry.js} +2 -2
- package/dist/siemens-ix/p-ec9dc8d8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-77fd2138.entry.js → p-f4264893.entry.js} +2 -2
- package/dist/siemens-ix/p-f42f74c2.entry.js +2 -0
- package/dist/siemens-ix/p-f7cb5560.entry.js +2 -0
- package/dist/siemens-ix/p-f7cb5560.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +4 -0
- package/dist/types/components/application-header/application-header.d.ts +8 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/category-filter/category-filter.d.ts +7 -0
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +8 -1
- package/dist/types/components/date-input/date-input.d.ts +7 -0
- package/dist/types/components/date-picker/date-picker.d.ts +7 -0
- package/dist/types/components/dropdown/dropdown.d.ts +11 -1
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +7 -0
- package/dist/types/components/field-label/field-label.d.ts +2 -0
- package/dist/types/components/menu/menu-expand-icon.d.ts +5 -2
- package/dist/types/components/menu/menu.d.ts +6 -0
- package/dist/types/components/menu-about/menu-about.d.ts +4 -0
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +20 -0
- package/dist/types/components/menu-item/menu-item.d.ts +1 -1
- package/dist/types/components/menu-settings/menu-settings.d.ts +4 -0
- package/dist/types/components/modal/modal.d.ts +0 -1
- package/dist/types/components/push-card/push-card.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +7 -0
- package/dist/types/components/slider/slider.d.ts +57 -2
- package/dist/types/components/split-button/split-button.d.ts +8 -1
- package/dist/types/components/tabs/tabs.d.ts +12 -0
- package/dist/types/components/time-input/time-input.d.ts +7 -0
- package/dist/types/components/toast/toast-utils.d.ts +13 -0
- package/dist/types/components/toast/toast.d.ts +4 -0
- package/dist/types/components/toggle-button/toggle-button.d.ts +1 -3
- package/dist/types/components/utils/lazy-list/lazy.d.ts +2 -0
- package/dist/types/components/utils/modal/loading.d.ts +3 -0
- package/dist/types/components/utils/modal/message.d.ts +3 -0
- package/dist/types/components/utils/modal/modal.d.ts +63 -0
- package/dist/types/components.d.ts +326 -7
- package/hydrate/index.js +1144 -678
- package/hydrate/index.mjs +1144 -678
- package/package.json +1 -1
- package/components/p-10zMtvCF.js.map +0 -1
- package/components/p-B1p0kpQJ.js.map +0 -1
- package/components/p-BEDohapR.js.map +0 -1
- package/components/p-BI7B-PUA.js.map +0 -1
- package/components/p-BLeWaHpy.js.map +0 -1
- package/components/p-BOQ00Fbs.js.map +0 -1
- package/components/p-BiqdnsgA.js.map +0 -1
- package/components/p-CV_EVAOW.js.map +0 -1
- package/components/p-CjDPpSJX.js.map +0 -1
- package/components/p-DSTHZygb.js.map +0 -1
- package/components/p-DlVaL0Yi.js.map +0 -1
- package/components/p-MuPiaYr1.js.map +0 -1
- package/components/p-PpLLlogo.js.map +0 -1
- package/components/p-hwPzPVf8.js.map +0 -1
- package/dist/cjs/base-button-CjsUotrL.js.map +0 -1
- package/dist/cjs/ix-menu-settings-CtWl0bME.js.map +0 -1
- package/dist/cjs/modal-CsEGB0kd.js.map +0 -1
- package/dist/esm/base-button-TVpiK7pg.js.map +0 -1
- package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +0 -1
- package/dist/esm/modal-BTxff2hq.js.map +0 -1
- package/dist/siemens-ix/p-0411df39.entry.js +0 -2
- package/dist/siemens-ix/p-0c325f08.entry.js +0 -2
- package/dist/siemens-ix/p-0c325f08.entry.js.map +0 -1
- package/dist/siemens-ix/p-0ce03ad3.entry.js +0 -2
- package/dist/siemens-ix/p-0d621531.entry.js +0 -2
- package/dist/siemens-ix/p-0d621531.entry.js.map +0 -1
- package/dist/siemens-ix/p-0eca5a77.entry.js +0 -2
- package/dist/siemens-ix/p-0eca5a77.entry.js.map +0 -1
- package/dist/siemens-ix/p-2597a988.entry.js +0 -2
- package/dist/siemens-ix/p-2597a988.entry.js.map +0 -1
- package/dist/siemens-ix/p-26c629c3.entry.js +0 -2
- package/dist/siemens-ix/p-31a8eaf9.entry.js +0 -2
- package/dist/siemens-ix/p-33fcea65.entry.js +0 -2
- package/dist/siemens-ix/p-33fcea65.entry.js.map +0 -1
- package/dist/siemens-ix/p-367df024.entry.js.map +0 -1
- package/dist/siemens-ix/p-37bd983a.entry.js +0 -2
- package/dist/siemens-ix/p-37bd983a.entry.js.map +0 -1
- package/dist/siemens-ix/p-3ce5fd87.entry.js.map +0 -1
- package/dist/siemens-ix/p-3f62166e.entry.js +0 -2
- package/dist/siemens-ix/p-4c1f90cb.entry.js +0 -2
- package/dist/siemens-ix/p-4c1f90cb.entry.js.map +0 -1
- package/dist/siemens-ix/p-4e4d792d.entry.js +0 -2
- package/dist/siemens-ix/p-4e4d792d.entry.js.map +0 -1
- package/dist/siemens-ix/p-5b57bde1.entry.js +0 -2
- package/dist/siemens-ix/p-5b57bde1.entry.js.map +0 -1
- package/dist/siemens-ix/p-68aaf0fe.entry.js +0 -2
- package/dist/siemens-ix/p-68aaf0fe.entry.js.map +0 -1
- package/dist/siemens-ix/p-6dc6eb63.entry.js +0 -2
- package/dist/siemens-ix/p-7bad0544.entry.js +0 -2
- package/dist/siemens-ix/p-7bad0544.entry.js.map +0 -1
- package/dist/siemens-ix/p-8418f756.entry.js +0 -2
- package/dist/siemens-ix/p-8418f756.entry.js.map +0 -1
- package/dist/siemens-ix/p-8b42ad35.entry.js +0 -2
- package/dist/siemens-ix/p-8b42ad35.entry.js.map +0 -1
- package/dist/siemens-ix/p-8f17f6ec.entry.js.map +0 -1
- package/dist/siemens-ix/p-8fa8d0e3.entry.js +0 -2
- package/dist/siemens-ix/p-92ec7f27.entry.js +0 -2
- package/dist/siemens-ix/p-BC0Exw_O.js.map +0 -1
- package/dist/siemens-ix/p-BcCDexod.js +0 -2
- package/dist/siemens-ix/p-BcCDexod.js.map +0 -1
- package/dist/siemens-ix/p-DiMfcbUU.js +0 -2
- package/dist/siemens-ix/p-DiMfcbUU.js.map +0 -1
- package/dist/siemens-ix/p-DpM4lbAX.js +0 -2
- package/dist/siemens-ix/p-a3baca2f.entry.js +0 -2
- package/dist/siemens-ix/p-a61972c5.entry.js +0 -2
- package/dist/siemens-ix/p-a61972c5.entry.js.map +0 -1
- package/dist/siemens-ix/p-b76df1c7.entry.js.map +0 -1
- package/dist/siemens-ix/p-b7ef70d4.entry.js.map +0 -1
- package/dist/siemens-ix/p-b8f4b001.entry.js.map +0 -1
- package/dist/siemens-ix/p-ba9ed3d1.entry.js +0 -2
- package/dist/siemens-ix/p-ba9ed3d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-c1160cf8.entry.js +0 -2
- package/dist/siemens-ix/p-c1160cf8.entry.js.map +0 -1
- package/dist/siemens-ix/p-d193381f.entry.js +0 -2
- package/dist/siemens-ix/p-d193381f.entry.js.map +0 -1
- package/dist/siemens-ix/p-e42f62a1.entry.js +0 -2
- package/dist/siemens-ix/p-e42f62a1.entry.js.map +0 -1
- package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +0 -1
- package/dist/siemens-ix/p-ea37abf6.entry.js +0 -2
- package/dist/siemens-ix/p-ea37abf6.entry.js.map +0 -1
- package/dist/siemens-ix/p-ea410634.entry.js +0 -2
- package/dist/siemens-ix/p-ea410634.entry.js.map +0 -1
- package/dist/siemens-ix/p-fb8877bc.entry.js.map +0 -1
- package/dist/siemens-ix/p-fc73c8cc.entry.js +0 -2
- package/dist/siemens-ix/p-fc73c8cc.entry.js.map +0 -1
- /package/dist/siemens-ix/{p-eba7f62c.entry.js.map → p-012e0b64.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c94739d0.entry.js.map → p-0693e4bf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dc8de6cb.entry.js.map → p-0c5021bc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b9880608.entry.js.map → p-0f80678c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ea15fc79.entry.js.map → p-18d39c8a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b3453edf.entry.js.map → p-1b4cfce2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-de12078d.entry.js.map → p-22735495.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1de1a2bf.entry.js.map → p-2eda608a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6a4bc78a.entry.js.map → p-2f83d5de.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a3baca2f.entry.js.map → p-332b3d09.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c15e64a8.entry.js.map → p-346c5039.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4431f891.entry.js.map → p-4a6f8ce8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-396e1f3d.entry.js.map → p-4d004e44.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-38e45020.entry.js.map → p-591664be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c5c863e1.entry.js.map → p-6794955e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-79537728.entry.js.map → p-69526242.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8fa8d0e3.entry.js.map → p-7752df0f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0411df39.entry.js.map → p-78ac2dbc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8f9368b8.entry.js.map → p-7ab95193.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ff83eafd.entry.js.map → p-7fbcc15c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-496e98ac.entry.js.map → p-82c3a8a2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5779f16e.entry.js.map → p-8b6f2e0e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-31a8eaf9.entry.js.map → p-8c8bad0a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7bc90e7e.entry.js.map → p-8e7f7343.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-484bddf4.entry.js.map → p-922a49d7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-196cffb5.entry.js.map → p-9362445d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d2c18c15.entry.js.map → p-96c371c8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2ffde2d5.entry.js.map → p-97c3d27e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f119c105.entry.js.map → p-98cf2c22.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ca3b24b1.entry.js.map → p-99dda4c4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e48977ed.entry.js.map → p-9b917ecd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4c18f123.entry.js.map → p-ad911b63.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-74e7b03f.entry.js.map → p-b1eac110.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d10b9798.entry.js.map → p-b7734b9d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-df6bb698.entry.js.map → p-bc85feef.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a4225101.entry.js.map → p-c6ee37e4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a8308559.entry.js.map → p-ca2533b1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-667e3184.entry.js.map → p-ceb7b1da.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e0b9cf68.entry.js.map → p-d2ce70ac.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8fc2bea6.entry.js.map → p-d384611d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b41a7abb.entry.js.map → p-d82ac1e1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7beba4ad.entry.js.map → p-d9776ef8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-33b3ed5b.entry.js.map → p-de59209e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cf041cfd.entry.js.map → p-e29533a3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cd1afcc9.entry.js.map → p-e69d8217.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7827c263.entry.js.map → p-e7ef43ed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-77fd2138.entry.js.map → p-f4264893.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-92ec7f27.entry.js.map → p-f42f74c2.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -4117,6 +4117,146 @@ const iconTriangleFilled = "data:image/svg+xml;utf8,<?xml version='1.0' encoding
|
|
|
4117
4117
|
const iconWarningRhomb = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'><path fill-rule='evenodd' d='M253.617407,12.4967773 L434.398258,193.277628 C451.060628,209.939998 451.060628,236.955037 434.398258,253.617407 L253.617407,434.398258 C236.955037,451.060628 209.939998,451.060628 193.277628,434.398258 L12.4967773,253.617407 C-4.16559245,236.955037 -4.16559245,209.939998 12.4967773,193.277628 L193.277628,12.4967773 C209.939998,-4.16559245 236.955037,-4.16559245 253.617407,12.4967773 Z M223.447518,42.6666667 L42.6666667,223.447518 L223.447518,404.228369 L404.228369,223.447518 L223.447518,42.6666667 Z M223.447518,282.114184 C238.685613,282.114184 250.114184,293.378184 250.114184,308.738184 C250.114184,324.098184 238.685613,335.362184 223.447518,335.362184 C207.863102,335.362184 196.780851,324.098184 196.780851,308.396851 C196.780851,293.378184 208.209422,282.114184 223.447518,282.114184 Z M244.780851,116.780851 L244.780851,244.780851 L202.114184,244.780851 L202.114184,116.780851 L244.780851,116.780851 Z' transform='translate(32.552 32.552)'/></svg>";
|
|
4118
4118
|
const iconWarning = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(32.000000, 42.666667)'><path d='M246.312928,5.62892705 C252.927596,9.40873724 258.409564,14.8907053 262.189374,21.5053731 L444.667042,340.84129 C456.358134,361.300701 449.250007,387.363834 428.790595,399.054926 C422.34376,402.738832 415.04715,404.676552 407.622001,404.676552 L42.6666667,404.676552 C19.1025173,404.676552 7.10542736e-15,385.574034 7.10542736e-15,362.009885 C7.10542736e-15,354.584736 1.93772021,347.288125 5.62162594,340.84129 L188.099293,21.5053731 C199.790385,1.04596203 225.853517,-6.06216498 246.312928,5.62892705 Z M225.144334,42.6739678 L42.6666667,362.009885 L407.622001,362.009885 L225.144334,42.6739678 Z M224,272 C239.238095,272 250.666667,283.264 250.666667,298.624 C250.666667,313.984 239.238095,325.248 224,325.248 C208.415584,325.248 197.333333,313.984 197.333333,298.282667 C197.333333,283.264 208.761905,272 224,272 Z M245.333333,106.666667 L245.333333,234.666667 L202.666667,234.666667 L202.666667,106.666667 L245.333333,106.666667 Z' id='Combined-Shape'/></g></g></svg>";
|
|
4119
4119
|
|
|
4120
|
+
/*
|
|
4121
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
4122
|
+
*
|
|
4123
|
+
* SPDX-License-Identifier: MIT
|
|
4124
|
+
*
|
|
4125
|
+
* This source code is licensed under the MIT license found in the
|
|
4126
|
+
* LICENSE file in the root directory of this source tree.
|
|
4127
|
+
*/
|
|
4128
|
+
const isHttpUrl = (link) => {
|
|
4129
|
+
if (!link) {
|
|
4130
|
+
return false;
|
|
4131
|
+
}
|
|
4132
|
+
let url;
|
|
4133
|
+
try {
|
|
4134
|
+
url = new URL(link);
|
|
4135
|
+
}
|
|
4136
|
+
catch (e) {
|
|
4137
|
+
return false;
|
|
4138
|
+
}
|
|
4139
|
+
return url.protocol === 'http:' || url.protocol === 'https:';
|
|
4140
|
+
};
|
|
4141
|
+
const isSvgDataUrl = (url) => {
|
|
4142
|
+
if (!url) {
|
|
4143
|
+
return false;
|
|
4144
|
+
}
|
|
4145
|
+
if (typeof url !== 'string') {
|
|
4146
|
+
return false;
|
|
4147
|
+
}
|
|
4148
|
+
return url.startsWith('data:image/svg+xml');
|
|
4149
|
+
};
|
|
4150
|
+
|
|
4151
|
+
/*
|
|
4152
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
4153
|
+
*
|
|
4154
|
+
* SPDX-License-Identifier: MIT
|
|
4155
|
+
*
|
|
4156
|
+
* This source code is licensed under the MIT license found in the
|
|
4157
|
+
* LICENSE file in the root directory of this source tree.
|
|
4158
|
+
*/
|
|
4159
|
+
const a11yBoolean = (value) => value ? 'true' : 'false';
|
|
4160
|
+
const kebabCaseToUpperCaseSentence = (kebabCase) => {
|
|
4161
|
+
const withoutFilledSuffix = kebabCase.replace('-filled', '');
|
|
4162
|
+
const words = withoutFilledSuffix.split('-');
|
|
4163
|
+
const sentence = words
|
|
4164
|
+
.map((word) => {
|
|
4165
|
+
const trimWord = word.trim();
|
|
4166
|
+
const digitLessWord = trimWord.replace(/\d+/g, '');
|
|
4167
|
+
if (digitLessWord.length === 0) {
|
|
4168
|
+
return trimWord;
|
|
4169
|
+
}
|
|
4170
|
+
return digitLessWord;
|
|
4171
|
+
})
|
|
4172
|
+
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
4173
|
+
.join(' ');
|
|
4174
|
+
return sentence;
|
|
4175
|
+
};
|
|
4176
|
+
const getFallbackLabelFromIconName = (iconName) => {
|
|
4177
|
+
if (!iconName) {
|
|
4178
|
+
return 'Unknown';
|
|
4179
|
+
}
|
|
4180
|
+
if (isHttpUrl(iconName)) {
|
|
4181
|
+
return 'Unknown';
|
|
4182
|
+
}
|
|
4183
|
+
if (isSvgDataUrl(iconName)) {
|
|
4184
|
+
return 'Unknown';
|
|
4185
|
+
}
|
|
4186
|
+
const label = kebabCaseToUpperCaseSentence(iconName);
|
|
4187
|
+
if (label.length === 0) {
|
|
4188
|
+
return 'Unknown';
|
|
4189
|
+
}
|
|
4190
|
+
return label;
|
|
4191
|
+
};
|
|
4192
|
+
const a11yHostAttributes = (hostElement, ignoreAttributes = []) => {
|
|
4193
|
+
const attributeObject = {};
|
|
4194
|
+
a11yAttributes.forEach((attr) => {
|
|
4195
|
+
var _a;
|
|
4196
|
+
if (hostElement.hasAttribute(attr)) {
|
|
4197
|
+
const value = hostElement.getAttribute(attr);
|
|
4198
|
+
if (value !== null && !ignoreAttributes.includes(attr)) {
|
|
4199
|
+
attributeObject[attr] = (_a = hostElement.getAttribute(attr)) !== null && _a !== void 0 ? _a : '';
|
|
4200
|
+
hostElement.removeAttribute(attr);
|
|
4201
|
+
}
|
|
4202
|
+
}
|
|
4203
|
+
});
|
|
4204
|
+
return attributeObject;
|
|
4205
|
+
};
|
|
4206
|
+
const a11yAttributes = [
|
|
4207
|
+
'role',
|
|
4208
|
+
'aria-activedescendant',
|
|
4209
|
+
'aria-atomic',
|
|
4210
|
+
'aria-autocomplete',
|
|
4211
|
+
'aria-braillelabel',
|
|
4212
|
+
'aria-brailleroledescription',
|
|
4213
|
+
'aria-busy',
|
|
4214
|
+
'aria-checked',
|
|
4215
|
+
'aria-colcount',
|
|
4216
|
+
'aria-colindex',
|
|
4217
|
+
'aria-colindextext',
|
|
4218
|
+
'aria-colspan',
|
|
4219
|
+
'aria-controls',
|
|
4220
|
+
'aria-current',
|
|
4221
|
+
'aria-describedby',
|
|
4222
|
+
'aria-description',
|
|
4223
|
+
'aria-details',
|
|
4224
|
+
'aria-disabled',
|
|
4225
|
+
'aria-errormessage',
|
|
4226
|
+
'aria-expanded',
|
|
4227
|
+
'aria-flowto',
|
|
4228
|
+
'aria-haspopup',
|
|
4229
|
+
'aria-hidden',
|
|
4230
|
+
'aria-invalid',
|
|
4231
|
+
'aria-keyshortcuts',
|
|
4232
|
+
'aria-label',
|
|
4233
|
+
'aria-labelledby',
|
|
4234
|
+
'aria-level',
|
|
4235
|
+
'aria-live',
|
|
4236
|
+
'aria-multiline',
|
|
4237
|
+
'aria-multiselectable',
|
|
4238
|
+
'aria-orientation',
|
|
4239
|
+
'aria-owns',
|
|
4240
|
+
'aria-placeholder',
|
|
4241
|
+
'aria-posinset',
|
|
4242
|
+
'aria-pressed',
|
|
4243
|
+
'aria-readonly',
|
|
4244
|
+
'aria-relevant',
|
|
4245
|
+
'aria-required',
|
|
4246
|
+
'aria-roledescription',
|
|
4247
|
+
'aria-rowcount',
|
|
4248
|
+
'aria-rowindex',
|
|
4249
|
+
'aria-rowindextext',
|
|
4250
|
+
'aria-rowspan',
|
|
4251
|
+
'aria-selected',
|
|
4252
|
+
'aria-setsize',
|
|
4253
|
+
'aria-sort',
|
|
4254
|
+
'aria-valuemax',
|
|
4255
|
+
'aria-valuemin',
|
|
4256
|
+
'aria-valuenow',
|
|
4257
|
+
'aria-valuetext',
|
|
4258
|
+
];
|
|
4259
|
+
|
|
4120
4260
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
4121
4261
|
if (kind === "a" && !f)
|
|
4122
4262
|
throw new TypeError("Private accessor was defined without a getter");
|
|
@@ -4235,6 +4375,9 @@ const getCoreDelegate = () => coreDelegate;
|
|
|
4235
4375
|
* This source code is licensed under the MIT license found in the
|
|
4236
4376
|
* LICENSE file in the root directory of this source tree.
|
|
4237
4377
|
*/
|
|
4378
|
+
/**
|
|
4379
|
+
* Set accessibility attributes on modal element
|
|
4380
|
+
*/
|
|
4238
4381
|
function setA11yAttributes(element, config) {
|
|
4239
4382
|
const ariaDescribedby = config.ariaDescribedby;
|
|
4240
4383
|
const ariaLabelledby = config.ariaLabelledby;
|
|
@@ -4250,6 +4393,9 @@ function setA11yAttributes(element, config) {
|
|
|
4250
4393
|
function getIxModal(element) {
|
|
4251
4394
|
return element.closest('ix-modal');
|
|
4252
4395
|
}
|
|
4396
|
+
/**
|
|
4397
|
+
* Dismiss closest ix-modal relative to a provided element
|
|
4398
|
+
*/
|
|
4253
4399
|
function dismissModal(element, dismissResult) {
|
|
4254
4400
|
const dialog = getIxModal(element);
|
|
4255
4401
|
if (dialog) {
|
|
@@ -4257,6 +4403,9 @@ function dismissModal(element, dismissResult) {
|
|
|
4257
4403
|
return;
|
|
4258
4404
|
}
|
|
4259
4405
|
}
|
|
4406
|
+
/**
|
|
4407
|
+
* Show modal with given configuration
|
|
4408
|
+
*/
|
|
4260
4409
|
async function showModal(config) {
|
|
4261
4410
|
const delegate = resolveDelegate();
|
|
4262
4411
|
let dialogRef;
|
|
@@ -4326,146 +4475,6 @@ async function showAppSwitch(config) {
|
|
|
4326
4475
|
};
|
|
4327
4476
|
}
|
|
4328
4477
|
|
|
4329
|
-
/*
|
|
4330
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
4331
|
-
*
|
|
4332
|
-
* SPDX-License-Identifier: MIT
|
|
4333
|
-
*
|
|
4334
|
-
* This source code is licensed under the MIT license found in the
|
|
4335
|
-
* LICENSE file in the root directory of this source tree.
|
|
4336
|
-
*/
|
|
4337
|
-
const isHttpUrl = (link) => {
|
|
4338
|
-
if (!link) {
|
|
4339
|
-
return false;
|
|
4340
|
-
}
|
|
4341
|
-
let url;
|
|
4342
|
-
try {
|
|
4343
|
-
url = new URL(link);
|
|
4344
|
-
}
|
|
4345
|
-
catch (e) {
|
|
4346
|
-
return false;
|
|
4347
|
-
}
|
|
4348
|
-
return url.protocol === 'http:' || url.protocol === 'https:';
|
|
4349
|
-
};
|
|
4350
|
-
const isSvgDataUrl = (url) => {
|
|
4351
|
-
if (!url) {
|
|
4352
|
-
return false;
|
|
4353
|
-
}
|
|
4354
|
-
if (typeof url !== 'string') {
|
|
4355
|
-
return false;
|
|
4356
|
-
}
|
|
4357
|
-
return url.startsWith('data:image/svg+xml');
|
|
4358
|
-
};
|
|
4359
|
-
|
|
4360
|
-
/*
|
|
4361
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
4362
|
-
*
|
|
4363
|
-
* SPDX-License-Identifier: MIT
|
|
4364
|
-
*
|
|
4365
|
-
* This source code is licensed under the MIT license found in the
|
|
4366
|
-
* LICENSE file in the root directory of this source tree.
|
|
4367
|
-
*/
|
|
4368
|
-
const a11yBoolean = (value) => value ? 'true' : 'false';
|
|
4369
|
-
const kebabCaseToUpperCaseSentence = (kebabCase) => {
|
|
4370
|
-
const withoutFilledSuffix = kebabCase.replace('-filled', '');
|
|
4371
|
-
const words = withoutFilledSuffix.split('-');
|
|
4372
|
-
const sentence = words
|
|
4373
|
-
.map((word) => {
|
|
4374
|
-
const trimWord = word.trim();
|
|
4375
|
-
const digitLessWord = trimWord.replace(/\d+/g, '');
|
|
4376
|
-
if (digitLessWord.length === 0) {
|
|
4377
|
-
return trimWord;
|
|
4378
|
-
}
|
|
4379
|
-
return digitLessWord;
|
|
4380
|
-
})
|
|
4381
|
-
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
4382
|
-
.join(' ');
|
|
4383
|
-
return sentence;
|
|
4384
|
-
};
|
|
4385
|
-
const getFallbackLabelFromIconName = (iconName) => {
|
|
4386
|
-
if (!iconName) {
|
|
4387
|
-
return 'Unknown';
|
|
4388
|
-
}
|
|
4389
|
-
if (isHttpUrl(iconName)) {
|
|
4390
|
-
return 'Unknown';
|
|
4391
|
-
}
|
|
4392
|
-
if (isSvgDataUrl(iconName)) {
|
|
4393
|
-
return 'Unknown';
|
|
4394
|
-
}
|
|
4395
|
-
const label = kebabCaseToUpperCaseSentence(iconName);
|
|
4396
|
-
if (label.length === 0) {
|
|
4397
|
-
return 'Unknown';
|
|
4398
|
-
}
|
|
4399
|
-
return label;
|
|
4400
|
-
};
|
|
4401
|
-
const a11yHostAttributes = (hostElement, ignoreAttributes = []) => {
|
|
4402
|
-
const attributeObject = {};
|
|
4403
|
-
a11yAttributes.forEach((attr) => {
|
|
4404
|
-
var _a;
|
|
4405
|
-
if (hostElement.hasAttribute(attr)) {
|
|
4406
|
-
const value = hostElement.getAttribute(attr);
|
|
4407
|
-
if (value !== null && !ignoreAttributes.includes(attr)) {
|
|
4408
|
-
attributeObject[attr] = (_a = hostElement.getAttribute(attr)) !== null && _a !== void 0 ? _a : '';
|
|
4409
|
-
hostElement.removeAttribute(attr);
|
|
4410
|
-
}
|
|
4411
|
-
}
|
|
4412
|
-
});
|
|
4413
|
-
return attributeObject;
|
|
4414
|
-
};
|
|
4415
|
-
const a11yAttributes = [
|
|
4416
|
-
'role',
|
|
4417
|
-
'aria-activedescendant',
|
|
4418
|
-
'aria-atomic',
|
|
4419
|
-
'aria-autocomplete',
|
|
4420
|
-
'aria-braillelabel',
|
|
4421
|
-
'aria-brailleroledescription',
|
|
4422
|
-
'aria-busy',
|
|
4423
|
-
'aria-checked',
|
|
4424
|
-
'aria-colcount',
|
|
4425
|
-
'aria-colindex',
|
|
4426
|
-
'aria-colindextext',
|
|
4427
|
-
'aria-colspan',
|
|
4428
|
-
'aria-controls',
|
|
4429
|
-
'aria-current',
|
|
4430
|
-
'aria-describedby',
|
|
4431
|
-
'aria-description',
|
|
4432
|
-
'aria-details',
|
|
4433
|
-
'aria-disabled',
|
|
4434
|
-
'aria-errormessage',
|
|
4435
|
-
'aria-expanded',
|
|
4436
|
-
'aria-flowto',
|
|
4437
|
-
'aria-haspopup',
|
|
4438
|
-
'aria-hidden',
|
|
4439
|
-
'aria-invalid',
|
|
4440
|
-
'aria-keyshortcuts',
|
|
4441
|
-
'aria-label',
|
|
4442
|
-
'aria-labelledby',
|
|
4443
|
-
'aria-level',
|
|
4444
|
-
'aria-live',
|
|
4445
|
-
'aria-multiline',
|
|
4446
|
-
'aria-multiselectable',
|
|
4447
|
-
'aria-orientation',
|
|
4448
|
-
'aria-owns',
|
|
4449
|
-
'aria-placeholder',
|
|
4450
|
-
'aria-posinset',
|
|
4451
|
-
'aria-pressed',
|
|
4452
|
-
'aria-readonly',
|
|
4453
|
-
'aria-relevant',
|
|
4454
|
-
'aria-required',
|
|
4455
|
-
'aria-roledescription',
|
|
4456
|
-
'aria-rowcount',
|
|
4457
|
-
'aria-rowindex',
|
|
4458
|
-
'aria-rowindextext',
|
|
4459
|
-
'aria-rowspan',
|
|
4460
|
-
'aria-selected',
|
|
4461
|
-
'aria-setsize',
|
|
4462
|
-
'aria-sort',
|
|
4463
|
-
'aria-valuemax',
|
|
4464
|
-
'aria-valuemin',
|
|
4465
|
-
'aria-valuenow',
|
|
4466
|
-
'aria-valuetext',
|
|
4467
|
-
];
|
|
4468
|
-
|
|
4469
4478
|
const applicationHeaderCss = ":host{display:flex;flex-wrap:nowrap;align-items:end;justify-content:space-between;position:relative;width:100%;min-height:3rem;padding-top:var(--ix-safe-area-inset-top, 0rem);padding-right:calc(0.625rem + var(--ix-safe-area-inset-right, 0rem));padding-left:calc(0.625rem + var(--ix-safe-area-inset-left, 0rem));color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);z-index:var(--theme-z-index-fixed)}: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 .left-side,:host .right-side{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;align-items:center;min-width:0;min-height:3rem;height:100%}:host .left-side{flex:0 1 auto}:host .left-side .app-icon{display:block;position:relative;width:2rem;min-width:2rem;max-width:2rem;height:2rem;min-height:2rem;max-height:2rem}:host .left-side .app-icon.app-icon-outline{outline:1px solid var(--theme-app-header-app-icon--outline-color);border-radius:0.125rem}:host .left-side .app-icon img{position:relative;display:block;width:100%;height:100%;border-radius:0.125rem}:host .left-side .app-switch{margin:0 0.625rem}:host .left-side .app-switch.without-app-icon{margin-left:0px}:host .left-side .name{display:flex;position:relative;flex-direction:row;flex-wrap:nowrap;margin-left:0.75rem;margin-right:0.75rem;color:var(--theme-app-header--color);min-width:0;gap:0.75rem;overflow:hidden}:host .left-side .application-name,:host .left-side .application-name-suffix{overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;text-wrap:nowrap}:host .left-side .application-name{flex:0 1 auto;min-width:0;flex-shrink:0;max-width:100%}:host .left-side .application-name-suffix{flex:1 1 auto;margin-top:0.4rem;min-width:0;flex-shrink:1;color:var(--theme-app-header-name-suffix--color)}:host .left-side .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color);margin-right:1rem;margin-left:1rem;min-width:-moz-fit-content;min-width:fit-content}:host .left-side .logo.hide-logo{display:none}:host .right-side{flex:1 1 auto;overflow:hidden;justify-content:space-between}:host .right-side .content,:host .right-side .secondary{display:flex;position:relative;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:nowrap;height:100%}:host .right-side .content{min-width:-moz-max-content;min-width:max-content}:host .right-side .secondary{overflow:hidden}:host .right-side .dropdown{overflow:visible}:host .right-side .dropdown-content>.slot-content-active{padding:0.5rem 1.5rem 0.5rem 1.5rem;border-top:none}:host .right-side .dropdown-content .slot-content-active~.slot-content-active{border-top:1px solid var(--theme-color-x-weak-bdr)}:host .right-side .context-menu{display:none}:host .right-side .context-menu.context-menu-visible{display:block;margin-left:0.5rem}:host .right-side ::slotted(ix-avatar){margin-left:0.5rem}:host .right-side .primary-navigation{align-self:end}:host .right-side.sm{justify-content:end}@media only screen and (max-width: 48em){:host .logo{margin-left:0.5rem;display:none !important}:host .content,:host .secondary,:host .app-icon{display:none}}:host(.hide-bottom-border){border-bottom:none}";
|
|
4470
4479
|
|
|
4471
4480
|
/**
|
|
@@ -4498,6 +4507,13 @@ class ApplicationHeader {
|
|
|
4498
4507
|
* Conversely, if the header is within the application frame, this property is ineffective.
|
|
4499
4508
|
*/
|
|
4500
4509
|
this.showMenu = false;
|
|
4510
|
+
/**
|
|
4511
|
+
* Enable Popover API rendering for dropdown.
|
|
4512
|
+
*
|
|
4513
|
+
* @default false
|
|
4514
|
+
* @since 4.3.0
|
|
4515
|
+
*/
|
|
4516
|
+
this.enableTopLayer = false;
|
|
4501
4517
|
this.breakpoint = 'lg';
|
|
4502
4518
|
this.menuExpanded = false;
|
|
4503
4519
|
this.suppressResponsive = false;
|
|
@@ -4620,31 +4636,31 @@ class ApplicationHeader {
|
|
|
4620
4636
|
this.breakpoint !== 'sm' &&
|
|
4621
4637
|
this.suppressResponsive === false;
|
|
4622
4638
|
const showCompanyLogoByProperty = this.breakpoint !== 'sm' && !!this.companyLogo;
|
|
4623
|
-
return (hAsync(Host, { key: '
|
|
4639
|
+
return (hAsync(Host, { key: 'f70c16368414080ba826e2009b1e0f3f65cb2ff1', class: {
|
|
4624
4640
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
4625
4641
|
'hide-bottom-border': this.hideBottomBorder,
|
|
4626
|
-
}, slot: "application-header" }, hAsync("div", { key: '
|
|
4642
|
+
}, slot: "application-header" }, hAsync("div", { key: 'aa68f775dc1b58aafdf4b4d37700113fbc509e2d', class: "left-side" }, this.appIcon && this.breakpoint !== 'sm' && (hAsync("div", { key: 'ae9b4672c1348d21c9c48421e867634af213a5c7', class: {
|
|
4627
4643
|
'app-icon': true,
|
|
4628
4644
|
'app-icon-outline': this.appIconOutline,
|
|
4629
|
-
} }, hAsync("img", { key: '
|
|
4645
|
+
} }, hAsync("img", { key: '2bf6e28d9867f08a6d954e132ece2c149e20f1b5', src: this.appIcon, alt: this.appIconAlt }))), (this.showMenu || showMenuByApplicationFrame) && (hAsync("ix-menu-expand-icon", { key: '64ba854155f4ab55ff7aa2f2b15b2feb19145a4e', onClick: () => this.onMenuClick(), expanded: this.menuExpanded })), showApplicationSwitch && (hAsync("ix-icon-button", { key: '265abaec15030ee7dc41a1e0535f09e32b99ff01', onClick: () => this.showAppSwitch(), icon: iconApps, variant: "subtle-tertiary", class: {
|
|
4630
4646
|
'app-switch': true,
|
|
4631
4647
|
'without-app-icon': !this.appIcon,
|
|
4632
|
-
}, "aria-label": this.ariaLabelAppSwitchIconButton })), showCompanyLogoByProperty && (hAsync("div", { key: '
|
|
4648
|
+
}, "aria-label": this.ariaLabelAppSwitchIconButton })), showCompanyLogoByProperty && (hAsync("div", { key: '34e1ee388c68ec1e5a4c5ab0a67ae07f66d3b2ef', class: "logo" }, hAsync("img", { key: '86bb6a77c06e0f30ce41de66a4fe813bc236b536', src: this.companyLogo, alt: this.companyLogoAlt }))), hAsync("div", { key: '3391b44a0cdaaa1b8b60e29fe71c9f9a04473919', class: {
|
|
4633
4649
|
logo: true,
|
|
4634
4650
|
'hide-logo': !this.hasSlottedLogo,
|
|
4635
|
-
} }, hAsync("slot", { key: '
|
|
4651
|
+
} }, hAsync("slot", { key: 'e0e554af7fe4746a6b12ada015f0f129b96bdd76', name: "logo", onSlotchange: () => (this.hasSlottedLogo = this.checkLogoSlot()) })), hAsync("div", { key: 'cf3bca529813307e538a13ddc454d01cce5a8689', class: "name" }, hAsync("ix-typography", { key: '9e4d9c3b6a3f45e6ceba918bc17fd4ff4a5453c3', format: "body-lg", class: "application-name" }, this.name), this.nameSuffix && this.breakpoint !== 'sm' && (hAsync("ix-typography", { key: '9f7780499e2fb19e622e16a4f7e46084e5713f68', format: "body-xs", class: "application-name-suffix" }, this.nameSuffix)))), hAsync("div", { key: '3a4dee26b48e356c2652517dd88887d936f926d5', class: { 'right-side': true, sm: this.breakpoint === 'sm' } }, this.breakpoint !== 'sm' && (hAsync("div", { key: 'fd961eea6ec62a745dc2b6c9842a7dcd777c9218', class: "secondary" }, hAsync("slot", { key: 'c214a8d62f28268acb56f1ecb88115d82f14cf0a', name: "secondary" }))), hAsync("div", { key: '48bb5fd5dbb93f25c933436ce5033fbb75db6962', class: "content" }, this.breakpoint !== 'sm' && hAsync("slot", { key: '868289b10946d895af657afb22d047a2864a9e8a' }), hAsync("ix-icon-button", { key: '6b83cf6c6f04a1435c21a6f1a61a54f82531db48', class: {
|
|
4636
4652
|
'context-menu': true,
|
|
4637
4653
|
'context-menu-visible': this.hasOverflowContextMenu || this.hasOverflowSlotElements,
|
|
4638
|
-
}, "data-context-menu": true, "data-testid": "show-more", icon: iconMoreMenu, variant: "subtle-tertiary", "aria-label": this.ariaLabelMoreMenuIconButton, "aria-hidden": a11yBoolean(!(this.hasOverflowContextMenu || this.hasOverflowSlotElements)) }), hAsync("ix-dropdown", { key: '
|
|
4654
|
+
}, "data-context-menu": true, "data-testid": "show-more", icon: iconMoreMenu, variant: "subtle-tertiary", "aria-label": this.ariaLabelMoreMenuIconButton, "aria-hidden": a11yBoolean(!(this.hasOverflowContextMenu || this.hasOverflowSlotElements)) }), hAsync("ix-dropdown", { key: 'e0c44a160fccfc5d02672b09abff3ea209df4056', "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton(), "aria-hidden": a11yBoolean(!(this.hasOverflowContextMenu || this.hasOverflowSlotElements)), enableTopLayer: this.enableTopLayer }, hAsync("div", { key: 'd17c4e3695fdcc517272552b4420175dfbd2f2c8', class: "dropdown-content", onClick: (e) => this.onContentBgClick(e) }, this.breakpoint === 'sm' && (hAsync("div", { key: '6e96017787c861308cd4dbcaca0312dd0601746b', class: {
|
|
4639
4655
|
'slot-content': true,
|
|
4640
4656
|
'slot-content-active': this.hasSecondarySlotElements,
|
|
4641
|
-
} }, hAsync("slot", { key: '
|
|
4657
|
+
} }, hAsync("slot", { key: 'd078fd257e64da944799047951c8b9ab2d762e0d', name: "secondary", onSlotchange: () => this.updateHasSlotAssignedElementsStates() }))), this.breakpoint === 'sm' && (hAsync("div", { key: '64d3c501c11859ed9c27d3a8f64294a080925ca4', class: {
|
|
4642
4658
|
'slot-content': true,
|
|
4643
4659
|
'slot-content-active': this.hasDefaultSlotElements,
|
|
4644
|
-
} }, hAsync("slot", { key: '
|
|
4660
|
+
} }, hAsync("slot", { key: 'aa759b7edbfa50848887dc23e649ffe85fd296fa', onSlotchange: () => this.updateHasSlotAssignedElementsStates() }))), hAsync("div", { key: 'caf2086cb213c9650e52df3433eac548a7a5510e', class: {
|
|
4645
4661
|
'slot-content': true,
|
|
4646
4662
|
'slot-content-active': this.hasOverflowSlotElements,
|
|
4647
|
-
} }, hAsync("slot", { key: '
|
|
4663
|
+
} }, hAsync("slot", { key: 'e4bf46ff49a8416e405513115db147994a2c6df6', name: "overflow", onSlotchange: () => this.updateHasSlotAssignedElementsStates() })))), hAsync("slot", { key: '17038a34906a10b5f0014a3f9f0e4bf8362f5695', name: "ix-application-header-avatar" })))));
|
|
4648
4664
|
}
|
|
4649
4665
|
get hostElement() { return getElement(this); }
|
|
4650
4666
|
static get watchers() { return {
|
|
@@ -4668,6 +4684,7 @@ class ApplicationHeader {
|
|
|
4668
4684
|
"ariaLabelMenuExpandIconButton": [1, "aria-label-menu-expand-icon-button"],
|
|
4669
4685
|
"ariaLabelAppSwitchIconButton": [1, "aria-label-app-switch-icon-button"],
|
|
4670
4686
|
"ariaLabelMoreMenuIconButton": [1, "aria-label-more-menu-icon-button"],
|
|
4687
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
4671
4688
|
"breakpoint": [32],
|
|
4672
4689
|
"menuExpanded": [32],
|
|
4673
4690
|
"suppressResponsive": [32],
|
|
@@ -8493,6 +8510,11 @@ const handleOnClick = (e, props) => {
|
|
|
8493
8510
|
props.onClick(e);
|
|
8494
8511
|
}
|
|
8495
8512
|
};
|
|
8513
|
+
const isIconDecorative = (ariaAttributes, children) => {
|
|
8514
|
+
const hasTextContent = children && children.length > 0;
|
|
8515
|
+
const hasAriaLabel = !!(ariaAttributes['aria-label'] || ariaAttributes['aria-labelledby']);
|
|
8516
|
+
return hasTextContent || hasAriaLabel;
|
|
8517
|
+
};
|
|
8496
8518
|
const BaseButton = (props, children) => {
|
|
8497
8519
|
var _a, _b, _c;
|
|
8498
8520
|
const extraClasses = (_a = props.extraClasses) !== null && _a !== void 0 ? _a : {};
|
|
@@ -8500,15 +8522,16 @@ const BaseButton = (props, children) => {
|
|
|
8500
8522
|
if (!ariaAttributes['aria-disabled'] && props.disabled) {
|
|
8501
8523
|
ariaAttributes['aria-disabled'] = 'true';
|
|
8502
8524
|
}
|
|
8525
|
+
const iconIsDecorative = isIconDecorative(ariaAttributes, children);
|
|
8503
8526
|
const commonAttributes = Object.assign(Object.assign({}, ariaAttributes), { tabindex: props.disabled ? -1 : ((_c = props.tabIndex) !== null && _c !== void 0 ? _c : 0), class: Object.assign(Object.assign({}, getButtonClasses(props.variant, props.iconOnly, props.iconOval, props.selected, props.disabled || props.loading)), extraClasses) });
|
|
8504
8527
|
const buttonContent = [
|
|
8505
8528
|
props.loading ? (hAsync("ix-spinner", { size: getSpinnerSize(props), hideTrack: true })) : null,
|
|
8506
|
-
props.icon && !props.loading ? (hAsync("ix-icon", { class: "icon", name: props.icon, size: props.iconSize, color: props.iconColor })) : null,
|
|
8529
|
+
props.icon && !props.loading ? (hAsync("ix-icon", { class: "icon", name: props.icon, size: props.iconSize, color: props.iconColor, "aria-hidden": iconIsDecorative ? 'true' : undefined })) : null,
|
|
8507
8530
|
hAsync("div", { class: {
|
|
8508
8531
|
content: true,
|
|
8509
8532
|
[`content-${props.alignment}`]: !!props.alignment,
|
|
8510
8533
|
} }, children),
|
|
8511
|
-
props.iconRight ? (hAsync("ix-icon", { class: "icon-right", name: props.iconRight, size: props.iconSize, color: props.iconColor })) : null,
|
|
8534
|
+
props.iconRight ? (hAsync("ix-icon", { class: "icon-right", name: props.iconRight, size: props.iconSize, color: props.iconColor, "aria-hidden": iconIsDecorative ? 'true' : undefined })) : null,
|
|
8512
8535
|
props.afterContent ? props.afterContent : null,
|
|
8513
8536
|
];
|
|
8514
8537
|
// If href is provided, render as an anchor tag
|
|
@@ -8760,6 +8783,13 @@ class Breadcrumb {
|
|
|
8760
8783
|
* with conditionally hidden previous items
|
|
8761
8784
|
*/
|
|
8762
8785
|
this.ariaLabelPreviousButton = 'previous';
|
|
8786
|
+
/**
|
|
8787
|
+
* Enable Popover API rendering for dropdown.
|
|
8788
|
+
*
|
|
8789
|
+
* @default false
|
|
8790
|
+
* @since 4.3.0
|
|
8791
|
+
*/
|
|
8792
|
+
this.enableTopLayer = false;
|
|
8763
8793
|
this.previousButtonRef = makeRef();
|
|
8764
8794
|
this.nextButtonRef = makeRef();
|
|
8765
8795
|
this.items = [];
|
|
@@ -8810,9 +8840,9 @@ class Breadcrumb {
|
|
|
8810
8840
|
render() {
|
|
8811
8841
|
var _a, _b, _c, _d;
|
|
8812
8842
|
const a11y = a11yHostAttributes(this.hostElement);
|
|
8813
|
-
return (hAsync(Host, { key: '
|
|
8843
|
+
return (hAsync(Host, { key: '6c7e20e30924d04854ca78ead9fd98d5ebe346bf' }, hAsync("ix-dropdown", { key: '822c078f94f89e66db61e65f77d5e7bc6fb40aa2', id: this.previousDropdownId, "aria-label": this.ariaLabelPreviousButton, trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
|
|
8814
8844
|
? this.previousButtonRef.waitForCurrent()
|
|
8815
|
-
: undefined, onShowChanged: ({ detail }) => {
|
|
8845
|
+
: undefined, enableTopLayer: this.enableTopLayer, onShowChanged: ({ detail }) => {
|
|
8816
8846
|
this.isPreviousDropdownExpanded = detail;
|
|
8817
8847
|
this.hostElement.shadowRoot.getElementById(this.previousButtonId);
|
|
8818
8848
|
} }, this.items
|
|
@@ -8823,7 +8853,7 @@ class Breadcrumb {
|
|
|
8823
8853
|
return (hAsync("ix-dropdown-item", { label: label, onClick: () => {
|
|
8824
8854
|
this.onItemClick(label);
|
|
8825
8855
|
}, onItemClick: (event) => event.stopPropagation() }));
|
|
8826
|
-
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (hAsync("ix-breadcrumb-item", { id: this.previousButtonId, ref: this.previousButtonRef, label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, hAsync("nav", { key: '
|
|
8856
|
+
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (hAsync("ix-breadcrumb-item", { id: this.previousButtonId, ref: this.previousButtonRef, label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, hAsync("nav", { key: 'e9f69c0666458f34d930bc5e19663fc9a8e69d90', class: "crumb-items", "aria-label": (_c = a11y['aria-label']) !== null && _c !== void 0 ? _c : 'breadcrumbs' }, hAsync("ol", { key: '2ad3f37c9baffbd9eb8789dc8304dceb6772e0d4' }, hAsync("slot", { key: '2bd136c9714401ddf2ea8bc5e3cb783b128ce795' }))), hAsync("ix-dropdown", { key: 'ce382ec6bd3590e678a03517b31ec15bb7f2528f', trigger: this.nextButtonRef.waitForCurrent(), enableTopLayer: this.enableTopLayer }, (_d = this.nextItems) === null || _d === void 0 ? void 0 : _d.map((item) => (hAsync("ix-dropdown-item", { label: item, onClick: (e) => {
|
|
8827
8857
|
this.nextClick.emit({
|
|
8828
8858
|
event: e,
|
|
8829
8859
|
item,
|
|
@@ -8843,6 +8873,7 @@ class Breadcrumb {
|
|
|
8843
8873
|
"nextItems": [16, "next-items"],
|
|
8844
8874
|
"subtle": [4],
|
|
8845
8875
|
"ariaLabelPreviousButton": [1, "aria-label-previous-button"],
|
|
8876
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
8846
8877
|
"items": [32],
|
|
8847
8878
|
"isPreviousDropdownExpanded": [32]
|
|
8848
8879
|
},
|
|
@@ -9079,7 +9110,7 @@ class Button {
|
|
|
9079
9110
|
}; }
|
|
9080
9111
|
}
|
|
9081
9112
|
|
|
9082
|
-
const cardCss = ":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(\n --theme-card-outline--border-color--selected\n );--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(\n --theme-card-filled--border-color--selected\n );--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(\n --theme-card-alarm--border-color--selected\n );--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(\n --theme-card-critical--border-color--selected\n );--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(\n --theme-card-warning--border-color--selected\n );--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(\n --theme-card-success--border-color--selected\n );--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(\n --theme-card-info--border-color--selected\n );--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(\n --theme-card-neutral--border-color--selected\n );--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(\n --theme-card-primary--border-color--selected\n );--ix-card-background:var(--theme-card-primary--background--selected)}";
|
|
9113
|
+
const cardCss = ":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(\n --theme-card-outline--border-color--selected\n );--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(\n --theme-card-filled--border-color--selected\n );--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(\n --theme-card-alarm--border-color--selected\n );--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(\n --theme-card-critical--border-color--selected\n );--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(\n --theme-card-warning--border-color--selected\n );--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(\n --theme-card-success--border-color--selected\n );--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(\n --theme-card-info--border-color--selected\n );--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(\n --theme-card-neutral--border-color--selected\n );--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(\n --theme-card-primary--border-color--selected\n );--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)}";
|
|
9083
9114
|
|
|
9084
9115
|
class Card {
|
|
9085
9116
|
constructor(hostRef) {
|
|
@@ -9092,12 +9123,17 @@ class Card {
|
|
|
9092
9123
|
* Show card in selected state
|
|
9093
9124
|
*/
|
|
9094
9125
|
this.selected = false;
|
|
9126
|
+
/**
|
|
9127
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
9128
|
+
*/
|
|
9129
|
+
this.passive = false;
|
|
9095
9130
|
}
|
|
9096
9131
|
render() {
|
|
9097
|
-
return (hAsync(Host, { key: '
|
|
9132
|
+
return (hAsync(Host, { key: '3eed87586aed1916f7c1e3c2323a46c794d046d9', class: {
|
|
9098
9133
|
selected: this.selected,
|
|
9099
9134
|
[`card-${this.variant}`]: true,
|
|
9100
|
-
|
|
9135
|
+
passive: this.passive,
|
|
9136
|
+
} }, hAsync("div", { key: '7ae77cffe48272d0acc8cbd0dc7286d0fc835d8d', class: "card-content" }, hAsync("slot", { key: 'ba07f9804dd1af6256ceb0cc972b2cc03a18f558' })), hAsync("div", { key: '72bc9064c1d09188d60e1b9516811a91435f53b4', class: "card-footer" }, hAsync("slot", { key: '7fbacfea4d8308e88b4db025567654a0a4ef0d96', name: "card-accordion" }))));
|
|
9101
9137
|
}
|
|
9102
9138
|
get hostElement() { return getElement(this); }
|
|
9103
9139
|
static get style() { return cardCss; }
|
|
@@ -9106,7 +9142,8 @@ class Card {
|
|
|
9106
9142
|
"$tagName$": "ix-card",
|
|
9107
9143
|
"$members$": {
|
|
9108
9144
|
"variant": [1],
|
|
9109
|
-
"selected": [4]
|
|
9145
|
+
"selected": [4],
|
|
9146
|
+
"passive": [4]
|
|
9110
9147
|
},
|
|
9111
9148
|
"$listeners$": undefined,
|
|
9112
9149
|
"$lazyBundleId$": "-",
|
|
@@ -9444,6 +9481,25 @@ class CardList {
|
|
|
9444
9481
|
}; }
|
|
9445
9482
|
}
|
|
9446
9483
|
|
|
9484
|
+
/*
|
|
9485
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
9486
|
+
*
|
|
9487
|
+
* SPDX-License-Identifier: MIT
|
|
9488
|
+
*
|
|
9489
|
+
* This source code is licensed under the MIT license found in the
|
|
9490
|
+
* LICENSE file in the root directory of this source tree.
|
|
9491
|
+
*/
|
|
9492
|
+
const addDisposableEventListener = (element, eventType, callback) => {
|
|
9493
|
+
element.addEventListener(eventType, callback);
|
|
9494
|
+
return () => {
|
|
9495
|
+
element.removeEventListener(eventType, callback);
|
|
9496
|
+
};
|
|
9497
|
+
};
|
|
9498
|
+
const addDisposableEventListenerAsArray = (listener) => {
|
|
9499
|
+
const disposables = listener.map(({ callback, element, eventType }) => addDisposableEventListener(element, eventType, callback));
|
|
9500
|
+
return () => disposables.forEach((dispose) => dispose());
|
|
9501
|
+
};
|
|
9502
|
+
|
|
9447
9503
|
/*
|
|
9448
9504
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
9449
9505
|
*
|
|
@@ -9477,25 +9533,6 @@ var LogicalFilterOperator;
|
|
|
9477
9533
|
LogicalFilterOperator["NOT_EQUAL"] = "Not equal";
|
|
9478
9534
|
})(LogicalFilterOperator || (LogicalFilterOperator = {}));
|
|
9479
9535
|
|
|
9480
|
-
/*
|
|
9481
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
9482
|
-
*
|
|
9483
|
-
* SPDX-License-Identifier: MIT
|
|
9484
|
-
*
|
|
9485
|
-
* This source code is licensed under the MIT license found in the
|
|
9486
|
-
* LICENSE file in the root directory of this source tree.
|
|
9487
|
-
*/
|
|
9488
|
-
const addDisposableEventListener = (element, eventType, callback) => {
|
|
9489
|
-
element.addEventListener(eventType, callback);
|
|
9490
|
-
return () => {
|
|
9491
|
-
element.removeEventListener(eventType, callback);
|
|
9492
|
-
};
|
|
9493
|
-
};
|
|
9494
|
-
const addDisposableEventListenerAsArray = (listener) => {
|
|
9495
|
-
const disposables = listener.map(({ callback, element, eventType }) => addDisposableEventListener(element, eventType, callback));
|
|
9496
|
-
return () => disposables.forEach((dispose) => dispose());
|
|
9497
|
-
};
|
|
9498
|
-
|
|
9499
9536
|
const categoryFilterCss = ":host{--ix-button-border-radius-left:var(--theme-btn--border-radius);--ix-button-border-radius-right:var(--theme-btn--border-radius);display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;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 *,: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 button,:host a{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none;margin-right:0.25rem}:host .icon-right{margin-left:0.25rem}:host(.disabled){cursor:default}:host{--ix-button-border-radius-left:var(--theme-btn--border-radius);--ix-button-border-radius-right:var(--theme-btn--border-radius);display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;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 *,: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 button,:host a{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none;margin-right:0.25rem}:host .icon-right{margin-left:0.25rem}:host(.disabled){cursor:default}:host .btn-primary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-primary,:host .btn-primary.focus,:host .btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}:host .btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary.selected{background-color:var(--theme-btn-primary--background--pressed);color:var(--theme-btn-primary--color--pressed)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-primary--background--pressed-hover);color:var(--theme-btn-primary--color--pressed-hover)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):active,:host .btn-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-primary--background--pressed-hover);color:var(--theme-btn-primary--color--pressed-active)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):hover,:host .btn-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):active,:host .btn-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-primary.disabled,:host(.disabled) .btn-primary:disabled{pointer-events:none;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}:host .btn-secondary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-secondary,:host .btn-secondary.focus,:host .btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}:host .btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-secondary.selected{background-color:var(--theme-btn-secondary--background--pressed);color:var(--theme-btn-secondary--color--pressed)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-secondary--background--pressed-hover);color:var(--theme-btn-secondary--color--pressed-hover)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-secondary--background--pressed-hover);color:var(--theme-btn-secondary--color--pressed-active)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):hover,:host .btn-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):active,:host .btn-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-secondary.disabled,:host(.disabled) .btn-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}:host .btn-tertiary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-tertiary,:host .btn-tertiary.focus,:host .btn-tertiary:focus-visible{background-color:var(--theme-btn-tertiary--background);color:var(--theme-btn-tertiary--color);--ix-button-color:var(--theme-btn-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-tertiary--border-color);border-style:solid}:host .btn-tertiary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-tertiary.selected{background-color:var(--theme-btn-tertiary--background--pressed);color:var(--theme-btn-tertiary--color--pressed)}:host .btn-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-tertiary--background--pressed-hover);color:var(--theme-btn-tertiary--color--pressed-hover)}:host .btn-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-tertiary--background--pressed-hover);color:var(--theme-btn-tertiary--color--pressed-active)}:host .btn-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary:not(.disabled):not(:disabled):hover,:host .btn-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-tertiary--border-color--hover);background-color:var(--theme-btn-tertiary--background--hover);color:var(--theme-btn-tertiary--color--hover)}:host .btn-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary:not(.disabled):not(:disabled):active,:host .btn-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-tertiary--border-color--active);background-color:var(--theme-btn-tertiary--background--active);color:var(--theme-btn-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-tertiary.disabled,:host(.disabled) .btn-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-tertiary--border-color--disabled);background-color:var(--theme-btn-tertiary--background--disabled);color:var(--theme-btn-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-tertiary--color--disabled)}:host .btn-subtle-primary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-primary,:host .btn-subtle-primary.focus,:host .btn-subtle-primary:focus-visible{background-color:var(--theme-btn-subtle-primary--background);color:var(--theme-btn-subtle-primary--color);--ix-button-color:var(--theme-btn-subtle-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-primary--border-color);border-style:solid}:host .btn-subtle-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-subtle-primary.selected{background-color:var(--theme-btn-subtle-primary--background--pressed);color:var(--theme-btn-subtle-primary--color--pressed)}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-primary--background--pressed-hover);color:var(--theme-btn-subtle-primary--color--pressed-hover)}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-primary--background--pressed-hover);color:var(--theme-btn-subtle-primary--color--pressed-active)}:host .btn-subtle-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary:not(.disabled):not(:disabled):hover,:host .btn-subtle-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-primary--border-color--hover);background-color:var(--theme-btn-subtle-primary--background--hover);color:var(--theme-btn-subtle-primary--color--hover)}:host .btn-subtle-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary:not(.disabled):not(:disabled):active,:host .btn-subtle-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-primary--border-color--active);background-color:var(--theme-btn-subtle-primary--background--active);color:var(--theme-btn-subtle-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-primary.disabled,:host(.disabled) .btn-subtle-primary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-primary--border-color--disabled);background-color:var(--theme-btn-subtle-primary--background--disabled);color:var(--theme-btn-subtle-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-primary--color--disabled)}:host .btn-subtle-secondary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-secondary,:host .btn-subtle-secondary.focus,:host .btn-subtle-secondary:focus-visible{background-color:var(--theme-btn-subtle-secondary--background);color:var(--theme-btn-subtle-secondary--color);--ix-button-color:var(--theme-btn-subtle-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-secondary--border-color);border-style:solid}:host .btn-subtle-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-subtle-secondary.selected{background-color:var(--theme-btn-subtle-secondary--background--pressed);color:var(--theme-btn-subtle-secondary--color--pressed)}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-secondary--background--pressed-hover);color:var(--theme-btn-subtle-secondary--color--pressed-hover)}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-secondary--background--pressed-hover);color:var(--theme-btn-subtle-secondary--color--pressed-active)}:host .btn-subtle-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary:not(.disabled):not(:disabled):hover,:host .btn-subtle-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-secondary--border-color--hover);background-color:var(--theme-btn-subtle-secondary--background--hover);color:var(--theme-btn-subtle-secondary--color--hover)}:host .btn-subtle-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary:not(.disabled):not(:disabled):active,:host .btn-subtle-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-secondary--border-color--active);background-color:var(--theme-btn-subtle-secondary--background--active);color:var(--theme-btn-subtle-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-secondary.disabled,:host(.disabled) .btn-subtle-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-secondary--border-color--disabled);background-color:var(--theme-btn-subtle-secondary--background--disabled);color:var(--theme-btn-subtle-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-secondary--color--disabled)}:host .btn-subtle-tertiary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-tertiary,:host .btn-subtle-tertiary.focus,:host .btn-subtle-tertiary:focus-visible{background-color:var(--theme-btn-subtle-tertiary--background);color:var(--theme-btn-subtle-tertiary--color);--ix-button-color:var(--theme-btn-subtle-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-tertiary--border-color);border-style:solid}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-subtle-tertiary.selected{background-color:var(--theme-btn-subtle-tertiary--background--pressed);color:var(--theme-btn-subtle-tertiary--color--pressed)}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-tertiary--background--pressed-hover);color:var(--theme-btn-subtle-tertiary--color--pressed-hover)}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-tertiary--background--pressed-hover);color:var(--theme-btn-subtle-tertiary--color--pressed-active)}:host .btn-subtle-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):hover,:host .btn-subtle-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-tertiary--border-color--hover);background-color:var(--theme-btn-subtle-tertiary--background--hover);color:var(--theme-btn-subtle-tertiary--color--hover)}:host .btn-subtle-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):active,:host .btn-subtle-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-tertiary--border-color--active);background-color:var(--theme-btn-subtle-tertiary--background--active);color:var(--theme-btn-subtle-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-tertiary.disabled,:host(.disabled) .btn-subtle-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-tertiary--border-color--disabled);background-color:var(--theme-btn-subtle-tertiary--background--disabled);color:var(--theme-btn-subtle-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-tertiary--color--disabled)}:host .btn-danger-primary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-primary,:host .btn-danger-primary.focus,:host .btn-danger-primary:focus-visible{background-color:var(--theme-btn-danger-primary--background);color:var(--theme-btn-danger-primary--color);--ix-button-color:var(--theme-btn-danger-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-primary--border-color);border-style:solid}:host .btn-danger-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger-primary.selected{background-color:var(--theme-btn-danger-primary--background--pressed);color:var(--theme-btn-danger-primary--color--pressed)}:host .btn-danger-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-primary--background--pressed-hover);color:var(--theme-btn-danger-primary--color--pressed-hover)}:host .btn-danger-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-primary--background--pressed-hover);color:var(--theme-btn-danger-primary--color--pressed-active)}:host .btn-danger-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary:not(.disabled):not(:disabled):hover,:host .btn-danger-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-primary--border-color--hover);background-color:var(--theme-btn-danger-primary--background--hover);color:var(--theme-btn-danger-primary--color--hover)}:host .btn-danger-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary:not(.disabled):not(:disabled):active,:host .btn-danger-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-primary--border-color--active);background-color:var(--theme-btn-danger-primary--background--active);color:var(--theme-btn-danger-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-primary.disabled,:host(.disabled) .btn-danger-primary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-primary--border-color--disabled);background-color:var(--theme-btn-danger-primary--background--disabled);color:var(--theme-btn-danger-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-primary--color--disabled)}:host .btn-danger-secondary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-secondary,:host .btn-danger-secondary.focus,:host .btn-danger-secondary:focus-visible{background-color:var(--theme-btn-danger-secondary--background);color:var(--theme-btn-danger-secondary--color);--ix-button-color:var(--theme-btn-danger-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-secondary--border-color);border-style:solid}:host .btn-danger-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger-secondary.selected{background-color:var(--theme-btn-danger-secondary--background--pressed);color:var(--theme-btn-danger-secondary--color--pressed)}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-secondary--background--pressed-hover);color:var(--theme-btn-danger-secondary--color--pressed-hover)}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-secondary--background--pressed-hover);color:var(--theme-btn-danger-secondary--color--pressed-active)}:host .btn-danger-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary:not(.disabled):not(:disabled):hover,:host .btn-danger-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-secondary--border-color--hover);background-color:var(--theme-btn-danger-secondary--background--hover);color:var(--theme-btn-danger-secondary--color--hover)}:host .btn-danger-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary:not(.disabled):not(:disabled):active,:host .btn-danger-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-secondary--border-color--active);background-color:var(--theme-btn-danger-secondary--background--active);color:var(--theme-btn-danger-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-secondary.disabled,:host(.disabled) .btn-danger-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-secondary--border-color--disabled);background-color:var(--theme-btn-danger-secondary--background--disabled);color:var(--theme-btn-danger-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-secondary--color--disabled)}:host .btn-danger-tertiary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-tertiary,:host .btn-danger-tertiary.focus,:host .btn-danger-tertiary:focus-visible{background-color:var(--theme-btn-danger-tertiary--background);color:var(--theme-btn-danger-tertiary--color);--ix-button-color:var(--theme-btn-danger-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-tertiary--border-color);border-style:solid}:host .btn-danger-tertiary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger-tertiary.selected{background-color:var(--theme-btn-danger-tertiary--background--pressed);color:var(--theme-btn-danger-tertiary--color--pressed)}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-tertiary--background--pressed-hover);color:var(--theme-btn-danger-tertiary--color--pressed-hover)}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-tertiary--background--pressed-hover);color:var(--theme-btn-danger-tertiary--color--pressed-active)}:host .btn-danger-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary:not(.disabled):not(:disabled):hover,:host .btn-danger-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-tertiary--border-color--hover);background-color:var(--theme-btn-danger-tertiary--background--hover);color:var(--theme-btn-danger-tertiary--color--hover)}:host .btn-danger-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary:not(.disabled):not(:disabled):active,:host .btn-danger-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-tertiary--border-color--active);background-color:var(--theme-btn-danger-tertiary--background--active);color:var(--theme-btn-danger-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-tertiary.disabled,:host(.disabled) .btn-danger-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-tertiary--border-color--disabled);background-color:var(--theme-btn-danger-tertiary--background--disabled);color:var(--theme-btn-danger-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-tertiary--color--disabled)}:host{min-width:5rem}.dropdown-group{margin:0.687rem;display:block;position:relative;width:21.562rem;border-radius:0.25rem;background-color:#f8f9fa;border:solid 0.062rem rgba(0, 0, 0, 0.25)}.dropdown-group .dropdown-group-title{display:block;position:relative;font-size:0.875rem;text-align:left;margin:0.937rem 0 1.25rem 0.937rem}.dropdown-group .dropdown-group-content{position:relative;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:11.562rem;margin:0.937rem 0 0.937rem 0.937rem}.dropdown-group .dropdown-group-content>*{margin-bottom:1rem}.dropdown-group-submit{display:flex;justify-content:space-between;margin:0 0.687rem 0 0.687rem}.dropdown-menu{position:absolute;background-color:var(--theme-menu--background);border:var(--theme-menu--border-thickness) solid var(--theme-menu--border--color);border-radius:var(--theme-menu--border-radius);max-width:100vw;padding:0.25rem 0;transition:background-color var(--theme-default-time);box-shadow:var(--theme-menu--box-shadow);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}.dropdown-menu.xl>.dropdown-item{height:2.5rem;line-height:2.187rem}.dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}.dropdown-buttons{display:flex;padding:0.25rem 0.5rem}.dropdown-buttons ix-icon-button+ix-icon-button{margin-inline-start:0.5rem}.dropdown-item{display:flex;height:2.5rem;position:relative;align-items:center;cursor:pointer;padding:0 2rem;border:1px solid transparent;color:var(--theme-menu-item--color);background-color:transparent}.dropdown-item:focus-visible{background-color:var(--theme-menu-item--background);color:var(--theme-menu-item--color)}.dropdown-item:focus-visible{outline:none;background-color:var(--theme-menu-item--background);border-color:#119fff;color:var(--theme-menu-item--color--focus)}.dropdown-item:not(.disabled):not(:disabled){cursor:pointer}.dropdown-item:not(.disabled):not(:disabled):hover,.dropdown-item:not(.disabled):not(:disabled).hover{color:var(--theme-menu-item--color--hover);background-color:var(--theme-menu-item--background--hover)}.dropdown-item:not(.disabled):not(:disabled){cursor:pointer}.dropdown-item:not(.disabled):not(:disabled):active,.dropdown-item:not(.disabled):not(:disabled).active{color:var(--theme-menu-item--color--active);background-color:var(--theme-menu-item--background--active)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--theme-menu-item--color--disabled);background-color:var(--theme-menu-item--background--disabled)}.dropdown-item>a,.dropdown-item a:hover,.dropdown-item a:active{color:var(--theme-color-std-text)}.dropdown-item>.glyph{color:var(--theme-menu-item-icon--color)}.dropdown-item>.glyph.disabled{color:var(--color-weak-text)}.dropdown-item>.glyph.glyph-single-check{color:var(--theme-menu-item-icon-check--color)}.dropdown-item>.glyph{margin-inline-end:0.5rem}.dropdown-item>input[type=checkbox]+label{margin-bottom:0px}.dropdown-item>input[type=checkbox]+label::before{margin-right:1rem}.dropdown-divider{border-top:1px solid var(--theme-menu-separator--background);margin:0.25rem 0}button.dropdown-toggle{position:relative;padding-right:1.5rem}button.dropdown-toggle::after{position:absolute;top:45%;right:0.5rem}:host{display:block;position:relative;height:auto}: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 .reset-button{position:absolute;top:0.25rem;right:0.25rem}:host .reset-button.hide-reset-button{display:none}:host .input-container:not(.readonly):not(.no-icon){min-height:2rem;width:auto;padding:1px 1.5rem 1px 1.75rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);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}:host .input-container:not(.readonly):not(.no-icon)[type=number]{text-align:right}:host .input-container:not(.readonly):not(.no-icon)[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}:host .input-container:not(.readonly):not(.no-icon):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container:not(.readonly):not(.no-icon):-webkit-autofill,:host .input-container:not(.readonly):not(.no-icon):autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container:not(.readonly):not(.no-icon)::-moz-placeholder{color:var(--theme-input-hint--color)}:host .input-container:not(.readonly):not(.no-icon)::placeholder{color:var(--theme-input-hint--color)}:host .input-container:not(.readonly):not(.no-icon).hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container:not(.readonly):not(.no-icon):hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container:not(.readonly):not(.no-icon).hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container:not(.readonly):not(.no-icon):hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container:not(.readonly):not(.no-icon).focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container:not(.readonly):not(.no-icon):focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container:not(.readonly):not(.no-icon).focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container:not(.readonly):not(.no-icon):focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container:not(.readonly):not(.no-icon):disabled,:host .input-container:not(.readonly):not(.no-icon).disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}:host .input-container:not(.readonly):not(.no-icon):disabled::-moz-placeholder,:host .input-container:not(.readonly):not(.no-icon).disabled::-moz-placeholder{color:transparent}:host .input-container:not(.readonly):not(.no-icon):disabled::placeholder,:host .input-container:not(.readonly):not(.no-icon).disabled::placeholder{color:transparent}:host .input-container:not(.readonly).no-icon{min-height:2rem;width:auto;padding:1px 1.5rem 1px 0.25rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);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}:host .input-container:not(.readonly).no-icon[type=number]{text-align:right}:host .input-container:not(.readonly).no-icon[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}:host .input-container:not(.readonly).no-icon:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container:not(.readonly).no-icon:-webkit-autofill,:host .input-container:not(.readonly).no-icon:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container:not(.readonly).no-icon::-moz-placeholder{color:var(--theme-input-hint--color)}:host .input-container:not(.readonly).no-icon::placeholder{color:var(--theme-input-hint--color)}:host .input-container:not(.readonly).no-icon.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container:not(.readonly).no-icon:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container:not(.readonly).no-icon.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container:not(.readonly).no-icon:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container:not(.readonly).no-icon.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container:not(.readonly).no-icon:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container:not(.readonly).no-icon.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container:not(.readonly).no-icon:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container:not(.readonly).no-icon:disabled,:host .input-container:not(.readonly).no-icon.disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}:host .input-container:not(.readonly).no-icon:disabled::-moz-placeholder,:host .input-container:not(.readonly).no-icon.disabled::-moz-placeholder{color:transparent}:host .input-container:not(.readonly).no-icon:disabled::placeholder,:host .input-container:not(.readonly).no-icon.disabled::placeholder{color:transparent}:host .input-container.readonly:not(.no-icon){min-height:2rem;width:auto;padding:1px 1.5rem 1px 1.75rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);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}:host .input-container.readonly:not(.no-icon)[type=number]{text-align:right}:host .input-container.readonly:not(.no-icon)[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}:host .input-container.readonly:not(.no-icon):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container.readonly:not(.no-icon):-webkit-autofill,:host .input-container.readonly:not(.no-icon):autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container.readonly:not(.no-icon)::-moz-placeholder{color:var(--theme-input-hint--color)}:host .input-container.readonly:not(.no-icon)::placeholder{color:var(--theme-input-hint--color)}:host .input-container.readonly:not(.no-icon).hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container.readonly:not(.no-icon):hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container.readonly:not(.no-icon).hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container.readonly:not(.no-icon):hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container.readonly:not(.no-icon).focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container.readonly:not(.no-icon):focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container.readonly:not(.no-icon).focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container.readonly:not(.no-icon):focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container.readonly:not(.no-icon):-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}:host .input-container.readonly:not(.no-icon).read-only,:host .input-container.readonly:not(.no-icon):read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}:host .input-container.readonly:not(.no-icon).read-only::-moz-placeholder,:host .input-container.readonly:not(.no-icon):read-only::-moz-placeholder{color:transparent}:host .input-container.readonly:not(.no-icon):-moz-read-only::placeholder{color:transparent}:host .input-container.readonly:not(.no-icon).read-only::placeholder,:host .input-container.readonly:not(.no-icon):read-only::placeholder{color:transparent}:host .input-container.readonly:not(.no-icon):disabled,:host .input-container.readonly:not(.no-icon).disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}:host .input-container.readonly:not(.no-icon):disabled::-moz-placeholder,:host .input-container.readonly:not(.no-icon).disabled::-moz-placeholder{color:transparent}:host .input-container.readonly:not(.no-icon):disabled::placeholder,:host .input-container.readonly:not(.no-icon).disabled::placeholder{color:transparent}:host .input-container.readonly.no-icon{min-height:2rem;width:auto;padding:1px 1.5rem 1px 0.25rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);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}:host .input-container.readonly.no-icon[type=number]{text-align:right}:host .input-container.readonly.no-icon[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}:host .input-container.readonly.no-icon:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container.readonly.no-icon:-webkit-autofill,:host .input-container.readonly.no-icon:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}:host .input-container.readonly.no-icon::-moz-placeholder{color:var(--theme-input-hint--color)}:host .input-container.readonly.no-icon::placeholder{color:var(--theme-input-hint--color)}:host .input-container.readonly.no-icon.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container.readonly.no-icon:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container.readonly.no-icon.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container.readonly.no-icon:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container.readonly.no-icon.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),:host .input-container.readonly.no-icon:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container.readonly.no-icon.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),:host .input-container.readonly.no-icon:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container.readonly.no-icon:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}:host .input-container.readonly.no-icon.read-only,:host .input-container.readonly.no-icon:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}:host .input-container.readonly.no-icon.read-only::-moz-placeholder,:host .input-container.readonly.no-icon:read-only::-moz-placeholder{color:transparent}:host .input-container.readonly.no-icon:-moz-read-only::placeholder{color:transparent}:host .input-container.readonly.no-icon.read-only::placeholder,:host .input-container.readonly.no-icon:read-only::placeholder{color:transparent}:host .input-container.readonly.no-icon:disabled,:host .input-container.readonly.no-icon.disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}:host .input-container.readonly.no-icon:disabled::-moz-placeholder,:host .input-container.readonly.no-icon.disabled::-moz-placeholder{color:transparent}:host .input-container.readonly.no-icon:disabled::placeholder,:host .input-container.readonly.no-icon.disabled::placeholder{color:transparent}:host .input-container:not(.readonly):not(.disabled):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-container:not(.readonly):not(.disabled).focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}:host .input-container.disabled{color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}:host .input-container{display:flex;height:auto;max-height:3.75rem}:host .token-container{flex-grow:1;overflow:hidden}:host .text-input{width:auto;height:1.75rem;min-height:1.5rem;background:transparent;flex-grow:1;box-shadow:none;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 .text-input::-moz-placeholder{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;color:var(--theme-color-soft-text)}:host .text-input::placeholder{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;color:var(--theme-color-soft-text)}:host .text-input,:host .text-input:hover,:host .text-input:focus,:host .text-input:focus-visible{border:none !important;outline:none !important}:host .text-input.hide-placeholder::-moz-placeholder{opacity:0}:host .text-input.hide-placeholder::placeholder{opacity:0}:host .list-unstyled{display:flex;flex-wrap:wrap;height:100%;overflow-y:auto}:host ix-icon{position:absolute;top:0.5rem;left:0.5rem}:host ix-filter-chip{margin-right:0.25rem}:host .category-preview{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}:host ul{height:100%}:host .list-unstyled>span:not(.category-preview),:host input{padding-inline-start:0;padding-top:2px;padding-bottom:2px}:host ix-dropdown{min-width:10rem !important}:host ix-dropdown .dropdown-item-container{display:flex;flex-direction:column}:host ix-dropdown .dropdown-item-container .dropdown-item{height:2.5rem;margin:0.25rem 0.5rem;padding-inline:0.5rem;border:1px solid transparent;border-radius:100rem;width:auto;justify-content:flex-start;flex-grow:1;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;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ix-dropdown .dropdown-item-container .dropdown-item:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-color-focus-bdr)}:host ix-dropdown .dropdown-item-container .category-item{border-end-end-radius:0;border-start-end-radius:0}:host ix-dropdown .dropdown-item-container .category-item-value{border-start-start-radius:0;border-end-start-radius:0}:host ix-dropdown .btn-toggle-operator{width:2rem;height:2rem;margin-inline:0.5rem}:host .display-none{display:none}";
|
|
9500
9537
|
|
|
9501
9538
|
class CategoryFilter {
|
|
@@ -9547,6 +9584,13 @@ class CategoryFilter {
|
|
|
9547
9584
|
* i18n label for 'Filter by text'
|
|
9548
9585
|
*/
|
|
9549
9586
|
this.i18nPlainText = 'Filter by text';
|
|
9587
|
+
/**
|
|
9588
|
+
* Enable Popover API rendering for dropdown.
|
|
9589
|
+
*
|
|
9590
|
+
* @default false
|
|
9591
|
+
* @since 4.3.0
|
|
9592
|
+
*/
|
|
9593
|
+
this.enableTopLayer = false;
|
|
9550
9594
|
}
|
|
9551
9595
|
get dropdown() {
|
|
9552
9596
|
return this.hostElement.shadowRoot.querySelector('ix-dropdown');
|
|
@@ -9992,22 +10036,22 @@ class CategoryFilter {
|
|
|
9992
10036
|
}
|
|
9993
10037
|
render() {
|
|
9994
10038
|
var _a, _b, _c;
|
|
9995
|
-
return (hAsync(Host, { key: '
|
|
10039
|
+
return (hAsync(Host, { key: 'c9e7bdba1b9a6c9c368ff11d40ccf41883cc7d6d' }, hAsync("form", { key: '1201a3a234a4c1c49f7897f1461dc9dcc7974c08', ref: (el) => (this.formElement = el) }, hAsync("div", { key: 'f6330fac3e425656ec2e3c1511edd822c091829e', "read-only": this.readonly, class: {
|
|
9996
10040
|
'input-container': true,
|
|
9997
10041
|
disabled: this.disabled,
|
|
9998
10042
|
focus: this.hasFocus,
|
|
9999
10043
|
readonly: this.readonly,
|
|
10000
10044
|
'no-icon': this.hideIcon,
|
|
10001
|
-
} }, hAsync("ix-icon", { key: '
|
|
10045
|
+
} }, hAsync("ix-icon", { key: 'dd3ba3a48b05fc1ac46e631c133fc58c0bd8b5bc', color: this.getIconColor(), class: { 'display-none': this.hideIcon }, name: (_a = this.icon) !== null && _a !== void 0 ? _a : iconSearch, size: "16" }), hAsync("div", { key: 'cb89410ee85d600ba5eb8708f635f1fb7324673d', class: "token-container" }, hAsync("div", { key: 'b8b053df9ef5d6ac9db6a0e0c39d231943f7a96e', class: "list-unstyled" }, this.filterTokens.map((value, index) => (hAsync("span", { key: value.toString(), class: {
|
|
10002
10046
|
animate__animated: true,
|
|
10003
10047
|
animate__fadein: true,
|
|
10004
10048
|
} }, hAsync("ix-filter-chip", { disabled: this.disabled, readonly: this.readonly, onClick: (e) => e.stopPropagation(), onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (hAsync("span", { class: {
|
|
10005
10049
|
'category-preview': true,
|
|
10006
10050
|
'display-none': this.category === '',
|
|
10007
|
-
} }, (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 : _b.label)), hAsync("input", Object.assign({ key: '
|
|
10051
|
+
} }, (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 : _b.label)), hAsync("input", Object.assign({ key: 'e589a93dc007d179d555e65fe655bb89d37f9e0a', class: {
|
|
10008
10052
|
'text-input': true,
|
|
10009
10053
|
'hide-placeholder': this.readonly || this.disabled || this.category !== '',
|
|
10010
|
-
}, autocomplete: "off", name: "category-filter-input", disabled: this.disabled, readonly: this.readonly, ref: this.textInput, type: "text", placeholder: this.placeholder }, this.a11yAttributes, { "aria-label": this.ariaLabelFilterInput })))), !this.readonly && !this.disabled && this.getResetButton())), this.disabled || this.readonly ? ('') : (hAsync("ix-dropdown", { show: this.showDropdown, closeBehavior: "outside", offset: { mainAxis: 2 }, anchor: (_c = this.textInput) === null || _c === void 0 ? void 0 : _c.waitForCurrent(), trigger: this.hostElement, header: this.getDropdownHeader() }, this.renderDropdownContent()))));
|
|
10054
|
+
}, autocomplete: "off", name: "category-filter-input", disabled: this.disabled, readonly: this.readonly, ref: this.textInput, type: "text", placeholder: this.placeholder }, this.a11yAttributes, { "aria-label": this.ariaLabelFilterInput })))), !this.readonly && !this.disabled && this.getResetButton())), this.disabled || this.readonly ? ('') : (hAsync("ix-dropdown", { show: this.showDropdown, closeBehavior: "outside", offset: { mainAxis: 2 }, anchor: (_c = this.textInput) === null || _c === void 0 ? void 0 : _c.waitForCurrent(), trigger: this.hostElement, header: this.getDropdownHeader(), enableTopLayer: this.enableTopLayer }, this.renderDropdownContent()))));
|
|
10011
10055
|
}
|
|
10012
10056
|
get hostElement() { return getElement(this); }
|
|
10013
10057
|
static get watchers() { return {
|
|
@@ -10034,6 +10078,7 @@ class CategoryFilter {
|
|
|
10034
10078
|
"ariaLabelResetButton": [1, "aria-label-reset-button"],
|
|
10035
10079
|
"ariaLabelOperatorButton": [1, "aria-label-operator-button"],
|
|
10036
10080
|
"ariaLabelFilterInput": [1, "aria-label-filter-input"],
|
|
10081
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
10037
10082
|
"showDropdown": [32],
|
|
10038
10083
|
"hasFocus": [32],
|
|
10039
10084
|
"categoryLogicalOperator": [32],
|
|
@@ -18703,6 +18748,13 @@ class DateDropdown {
|
|
|
18703
18748
|
this.i18nNoRange = 'No range set';
|
|
18704
18749
|
/** @internal */
|
|
18705
18750
|
this.today = DateTime.now().toISO();
|
|
18751
|
+
/**
|
|
18752
|
+
* Enable Popover API rendering for dropdown.
|
|
18753
|
+
*
|
|
18754
|
+
* @default false
|
|
18755
|
+
* @since 4.3.0
|
|
18756
|
+
*/
|
|
18757
|
+
this.enableTopLayer = false;
|
|
18706
18758
|
this.selectedDateRangeId = '';
|
|
18707
18759
|
this.triggerRef = makeRef();
|
|
18708
18760
|
this.datePickerTouched = false;
|
|
@@ -18813,21 +18865,21 @@ class DateDropdown {
|
|
|
18813
18865
|
}
|
|
18814
18866
|
render() {
|
|
18815
18867
|
var _a, _b, _c;
|
|
18816
|
-
return (hAsync(Host, { key: '
|
|
18868
|
+
return (hAsync(Host, { key: '34b878eb8221b6c13f235d1b42ec63d3b6dce25c' }, hAsync("ix-button", { key: 'c40cff0539f79b19c0af903edce79de7d52e704e', "data-testid": "date-dropdown-trigger", "data-date-dropdown-trigger": true, variant: this.variant, loading: this.loading, icon: iconHistory, ref: this.triggerRef, disabled: this.disabled, ariaLabel: this.ariaLabelDropdownButton }, this.getButtonLabel()), hAsync("ix-dropdown", { key: '3a74d5b8d2f4e7c7487b0bac9af67c3d25d6b75d', "data-testid": "date-dropdown", "data-date-dropdown": true, class: "min-width max-height", trigger: this.triggerRef.waitForCurrent(), closeBehavior: "outside", placement: "bottom-start", enableTopLayer: this.enableTopLayer, onShowChanged: ({ detail: show }) => {
|
|
18817
18869
|
if (!show &&
|
|
18818
18870
|
this.selectedDateRangeId === 'custom' &&
|
|
18819
18871
|
this.datePickerTouched &&
|
|
18820
18872
|
this.currentRangeValue) {
|
|
18821
18873
|
this.onDateSelect(this.currentRangeValue);
|
|
18822
18874
|
}
|
|
18823
|
-
} }, hAsync("ix-layout-grid", { key: '
|
|
18875
|
+
} }, hAsync("ix-layout-grid", { key: '0aeda647289d651805bdd7eaac3528b5ee6b649b', noMargin: true }, hAsync("ix-row", { key: '43bed15b884d437de29d9879be99e1cc4b48d41a' }, ((_a = this.dateRangeOptions) === null || _a === void 0 ? void 0 : _a.length) > 1 && (hAsync("ix-col", { key: '3beb46a324a3d12bcb13be28956d7219f708b528', class: {
|
|
18824
18876
|
'no-margin': true,
|
|
18825
18877
|
'border-right': this.selectedDateRangeId === 'custom',
|
|
18826
|
-
} }, this.dateRangeOptions.map((dateRangeOption) => (hAsync("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), hAsync("div", { key: '
|
|
18878
|
+
} }, this.dateRangeOptions.map((dateRangeOption) => (hAsync("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), hAsync("div", { key: 'f0e7910986569a41b7d0ca0419361e7c9e81be2d', hidden: this.customRangeDisabled }, hAsync("ix-dropdown-item", { key: 'c1af0808c290045824cbdba19dc72d46d23e2d66', label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') })))), hAsync("ix-col", { key: 'b3b1b70c86b309f2c8572751a30007ef1da9e9f3', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (hAsync(Fragment, { key: '70e07f3dec874213296af70b8ca63e631a247541' }, hAsync("ix-date-picker", { key: '386b034422347098aff8b09255e83368f0d8d106', embedded: true, locale: this.locale, onDateChange: (e) => {
|
|
18827
18879
|
e.stopPropagation();
|
|
18828
18880
|
this.currentRangeValue = Object.assign(Object.assign({}, e.detail), { id: 'custom' });
|
|
18829
18881
|
this.datePickerTouched = true;
|
|
18830
|
-
}, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, singleSelection: this.singleSelection, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today, weekStartIndex: this.weekStartIndex, showWeekNumbers: this.showWeekNumbers }), hAsync("div", { key: '
|
|
18882
|
+
}, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, singleSelection: this.singleSelection, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today, weekStartIndex: this.weekStartIndex, showWeekNumbers: this.showWeekNumbers }), hAsync("div", { key: '3f3f115659920a42b192c9f10cdd81af5a0c04ae', class: "pull-right" }, hAsync("ix-button", { key: '2fb0e8b8d6de6244a1d9d60d175226a24c2103ad', onClick: () => {
|
|
18831
18883
|
if (this.currentRangeValue) {
|
|
18832
18884
|
this.onDateSelect(this.currentRangeValue);
|
|
18833
18885
|
}
|
|
@@ -18866,6 +18918,7 @@ class DateDropdown {
|
|
|
18866
18918
|
"i18nDone": [1, "i18n-done"],
|
|
18867
18919
|
"i18nNoRange": [1, "i18n-no-range"],
|
|
18868
18920
|
"today": [1],
|
|
18921
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
18869
18922
|
"selectedDateRangeId": [32],
|
|
18870
18923
|
"currentRangeValue": [32],
|
|
18871
18924
|
"getDateRange": [64]
|
|
@@ -19417,6 +19470,13 @@ class DateInput {
|
|
|
19417
19470
|
* Text alignment within the date input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.
|
|
19418
19471
|
*/
|
|
19419
19472
|
this.textAlignment = 'start';
|
|
19473
|
+
/**
|
|
19474
|
+
* Enable Popover API rendering for dropdown.
|
|
19475
|
+
*
|
|
19476
|
+
* @default false
|
|
19477
|
+
* @since 4.3.0
|
|
19478
|
+
*/
|
|
19479
|
+
this.enableTopLayer = false;
|
|
19420
19480
|
this.show = false;
|
|
19421
19481
|
this.from = null;
|
|
19422
19482
|
this.isInputInvalid = false;
|
|
@@ -19578,12 +19638,12 @@ class DateInput {
|
|
|
19578
19638
|
render() {
|
|
19579
19639
|
var _a;
|
|
19580
19640
|
const invalidText = getValidationText(this.isInputInvalid, this.invalidText, this.i18nErrorDateUnparsable);
|
|
19581
|
-
return (hAsync(Host, { key: '
|
|
19641
|
+
return (hAsync(Host, { key: 'd5b3002c72ba1337db71f7b03dda27865f4eccf8', class: {
|
|
19582
19642
|
disabled: this.disabled,
|
|
19583
19643
|
readonly: this.readonly,
|
|
19584
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
19644
|
+
} }, hAsync("ix-field-wrapper", { key: '395ca11b4cdb9e1e222a28065a23067eaa728849', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), hAsync("ix-dropdown", { key: '0a5b68dcdc401200ea2e063a9eac74cb9bbda5fa', "data-testid": "date-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", enableTopLayer: this.enableTopLayer, suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
|
|
19585
19645
|
this.show = event.detail;
|
|
19586
|
-
} }, hAsync("ix-date-picker", { key: '
|
|
19646
|
+
} }, hAsync("ix-date-picker", { key: 'c7a5b6b28719abdde0318af75260c7bc6bb190d1', ref: this.datepickerRef, format: this.format, locale: this.locale, singleSelection: true, from: (_a = this.from) !== null && _a !== void 0 ? _a : '', minDate: this.minDate, maxDate: this.maxDate, onDateChange: (event) => {
|
|
19587
19647
|
const { from } = event.detail;
|
|
19588
19648
|
this.onInput(from);
|
|
19589
19649
|
}, showWeekNumbers: this.showWeekNumbers, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton, embedded: true }))));
|
|
@@ -19624,6 +19684,7 @@ class DateInput {
|
|
|
19624
19684
|
"ariaLabelNextMonthButton": [1, "aria-label-next-month-button"],
|
|
19625
19685
|
"suppressSubmitOnEnter": [516, "suppress-submit-on-enter"],
|
|
19626
19686
|
"textAlignment": [1, "text-alignment"],
|
|
19687
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
19627
19688
|
"show": [32],
|
|
19628
19689
|
"from": [32],
|
|
19629
19690
|
"isInputInvalid": [32],
|
|
@@ -19786,6 +19847,13 @@ class DatePicker {
|
|
|
19786
19847
|
this.embedded = false;
|
|
19787
19848
|
/** @internal */
|
|
19788
19849
|
this.today = DateTime.now().toISO();
|
|
19850
|
+
/**
|
|
19851
|
+
* Enable Popover API rendering for dropdown.
|
|
19852
|
+
*
|
|
19853
|
+
* @default false
|
|
19854
|
+
* @since 4.3.0
|
|
19855
|
+
*/
|
|
19856
|
+
this.enableTopLayer = false;
|
|
19789
19857
|
this.selectedYear = 0;
|
|
19790
19858
|
this.tempYear = 0;
|
|
19791
19859
|
this.startYear = 0;
|
|
@@ -20200,7 +20268,7 @@ class DatePicker {
|
|
|
20200
20268
|
return rows;
|
|
20201
20269
|
}
|
|
20202
20270
|
render() {
|
|
20203
|
-
return (hAsync(Host, { key: '
|
|
20271
|
+
return (hAsync(Host, { key: '3a9fa36ed98d2dc14c9d0bf76f6fcdbc1595c8b2' }, hAsync("ix-date-time-card", { key: 'd6da48a85d0c5cb1a6044c16d064782a3beed0c8', corners: this.corners, embedded: this.embedded }, hAsync("div", { key: '56d86df8ea65f1bcdd988451ddbf276a62a8e52a', class: "header", slot: "header" }, hAsync("ix-icon-button", { key: '1899225180b17d1d5d7aa50599f6af7b2c92a4df', onClick: () => this.changeToAdjacentMonth(-1), icon: iconChevronLeftSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelPreviousMonthButton }), hAsync("div", { key: 'cf4f3cf8d11665cabc959aad474aad833aa703f6', class: "selector" }, hAsync("ix-button", { key: 'f1aa5c3e87ee65509298de13646a1fd1aaf62c72', variant: "tertiary", ref: this.dropdownButtonRef, "data-testid": "year-month-button" }, hAsync("span", { key: '8a1888092a6360c64b57f71eb52ace9ee1ed03d3', class: "capitalize" }, this.monthNames[this.selectedMonth], " ", this.selectedYear)), hAsync("ix-dropdown", { key: '0922f29fe071cea744094e9553f38b35f113149c', "data-testid": "year-month-dropdown", class: "dropdown", trigger: this.dropdownButtonRef.waitForCurrent(), ignoreRelatedSubmenu: true, placement: "bottom-start", enableTopLayer: this.enableTopLayer }, hAsync("div", { key: 'e0f0df699dbafb2dbc5f00e03c5d5dc19e73f529', class: "wrapper" }, hAsync("div", { key: 'f34845aec3de4ebf6dc07e869b57c57087ad6fb5', "data-testid": "year-container", class: "overflow", onScroll: () => this.infiniteScrollYears(), ref: this.yearContainerRef }, this.renderYears()), hAsync("div", { key: '519b8269d8f3a429fc1f5fdb8f2661f1cafa03b5', class: "overflow", "data-testid": "month-container" }, this.monthNames.map((month, index) => (hAsync("div", { key: month, ref: (ref) => {
|
|
20204
20272
|
if (month === this.monthNames[0]) {
|
|
20205
20273
|
this.firstMonthRef(ref);
|
|
20206
20274
|
}
|
|
@@ -20214,10 +20282,10 @@ class DatePicker {
|
|
|
20214
20282
|
hidden: this.tempYear !== this.selectedYear ||
|
|
20215
20283
|
this.tempMonth !== index,
|
|
20216
20284
|
checkPosition: true,
|
|
20217
|
-
}, name: iconSingleCheck, size: "16" }), hAsync("div", null, hAsync("span", { class: "capitalize monthMargin" }, `${month} ${this.tempYear}`))))))))), hAsync("ix-icon-button", { key: '
|
|
20285
|
+
}, name: iconSingleCheck, size: "16" }), hAsync("div", null, hAsync("span", { class: "capitalize monthMargin" }, `${month} ${this.tempYear}`))))))))), hAsync("ix-icon-button", { key: '0468474f772750fe7f96af5eb6129eeee5e52ee6', onClick: () => this.changeToAdjacentMonth(1), icon: iconChevronRightSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelNextMonthButton })), hAsync("div", { key: '3b788560f65530ebb8faeb2c7e88d24b7f29bb08', class: {
|
|
20218
20286
|
grid: true,
|
|
20219
20287
|
'grid--show-week-numbers': this.showWeekNumbers,
|
|
20220
|
-
} }, this.showWeekNumbers && hAsync("div", { key: '
|
|
20288
|
+
} }, this.showWeekNumbers && hAsync("div", { key: '431517e6490f2fc715dad94b9d7719836df9514a', class: "calendar-item week-day" }), this.dayNames.map((name) => (hAsync("div", { key: name, class: "calendar-item week-day" }, hAsync("div", { class: "overflow" }, name.slice(0, 3))))), this.calendar.map((week) => {
|
|
20221
20289
|
return (hAsync(Fragment, null, this.showWeekNumbers && (hAsync("div", { class: "calendar-item week-number" }, week.weekNumber)), week.dayNumbers.map((day) => {
|
|
20222
20290
|
return day ? (hAsync("div", { key: day, id: `day-cell-${day}`, "date-calender-day": true, class: this.getDayClasses(day), onClick: (e) => {
|
|
20223
20291
|
const target = e.currentTarget;
|
|
@@ -20229,10 +20297,10 @@ class DatePicker {
|
|
|
20229
20297
|
}
|
|
20230
20298
|
}, tabIndex: day === this.focusedDay ? 0 : -1, onFocus: () => this.onDayFocus(), onBlur: () => this.onDayBlur(), "aria-label": `${this.selectedMonth}: ${day}` }, day)) : (hAsync("div", null));
|
|
20231
20299
|
})));
|
|
20232
|
-
})), hAsync("div", { key: '
|
|
20300
|
+
})), hAsync("div", { key: 'd27a5261af7b95549a0d8956f2c267aea0d504fa', class: {
|
|
20233
20301
|
button: true,
|
|
20234
20302
|
hidden: this.singleSelection || this.embedded,
|
|
20235
|
-
} }, hAsync("ix-button", { key: '
|
|
20303
|
+
} }, hAsync("ix-button", { key: '629a9d41ba40bbc277ea41d1ec35f814949fe42a', onClick: () => this.onDone() }, this.i18nDone)))));
|
|
20236
20304
|
}
|
|
20237
20305
|
get hostElement() { return getElement(this); }
|
|
20238
20306
|
static get watchers() { return {
|
|
@@ -20260,6 +20328,7 @@ class DatePicker {
|
|
|
20260
20328
|
"showWeekNumbers": [4, "show-week-numbers"],
|
|
20261
20329
|
"embedded": [4],
|
|
20262
20330
|
"today": [1],
|
|
20331
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
20263
20332
|
"currFromDate": [32],
|
|
20264
20333
|
"currToDate": [32],
|
|
20265
20334
|
"selectedYear": [32],
|
|
@@ -20540,7 +20609,7 @@ class Drawer {
|
|
|
20540
20609
|
return Promise.resolve();
|
|
20541
20610
|
}
|
|
20542
20611
|
onCloseClicked() {
|
|
20543
|
-
this.
|
|
20612
|
+
this.show = false;
|
|
20544
20613
|
}
|
|
20545
20614
|
clickedOutside(evt) {
|
|
20546
20615
|
if (!this.closeOnClickOutside) {
|
|
@@ -20589,7 +20658,7 @@ class Drawer {
|
|
|
20589
20658
|
this.toggleDrawer(this.show);
|
|
20590
20659
|
}
|
|
20591
20660
|
render() {
|
|
20592
|
-
return (hAsync(Host, { key: '
|
|
20661
|
+
return (hAsync(Host, { key: '97ae2273ad9c603d477907a07cba1e1477e9611d', class: {
|
|
20593
20662
|
'drawer-container': true,
|
|
20594
20663
|
'display-none': true,
|
|
20595
20664
|
}, style: {
|
|
@@ -20597,15 +20666,15 @@ class Drawer {
|
|
|
20597
20666
|
'max-width': `${this.maxWidth}rem`,
|
|
20598
20667
|
height: this.fullHeight ? '100%' : 'auto',
|
|
20599
20668
|
overflow: 'hidden',
|
|
20600
|
-
}, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, hAsync("div", { key: '
|
|
20669
|
+
}, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, hAsync("div", { key: '01ce6e66f3460299967c678cded87b96d6967445', style: {
|
|
20601
20670
|
width: this.width === 'auto'
|
|
20602
20671
|
? 'auto'
|
|
20603
20672
|
: `${this.getConstrainedWidth(this.width)}rem`,
|
|
20604
|
-
} }, hAsync("div", { key: '
|
|
20673
|
+
} }, hAsync("div", { key: 'f4c040460d4917c8289b3746158696ed20c92d20', class: "header" }, hAsync("div", { key: '0a05c91318f6c67c8a802b35970f321dbba55dbe', class: "header-content" }, hAsync("slot", { key: '853415c470b8c34b70ef8e95be2fc44629f6eb62', name: "header" })), hAsync("ix-icon-button", { key: '47cb76743364e504a287c218b62d8ff82f92276b', class: "close-button", style: {
|
|
20605
20674
|
display: this.showContent ? 'block' : 'none',
|
|
20606
|
-
}, icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.onCloseClicked(), "data-testid": "close-button", "aria-label": this.ariaLabelCloseButton })), hAsync("div", { key: '
|
|
20675
|
+
}, icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.onCloseClicked(), "data-testid": "close-button", "aria-label": this.ariaLabelCloseButton })), hAsync("div", { key: '427f1fea6a16c11291998c40ecfe80599b0dcf75', class: "content", style: {
|
|
20607
20676
|
display: this.showContent ? 'block' : 'none',
|
|
20608
|
-
} }, hAsync("slot", { key: '
|
|
20677
|
+
} }, hAsync("slot", { key: 'b5471ae2a3a59ede24fcf6deeb323bd2ab6acf4a' })))));
|
|
20609
20678
|
}
|
|
20610
20679
|
static get watchers() { return {
|
|
20611
20680
|
"show": ["onShowChanged"]
|
|
@@ -22395,85 +22464,23 @@ const inline = inline$1;
|
|
|
22395
22464
|
* next to a given reference element.
|
|
22396
22465
|
*/
|
|
22397
22466
|
const computePosition = (reference, floating, options) => {
|
|
22398
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
22399
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
22400
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
22401
|
-
const cache = new Map();
|
|
22402
|
-
const mergedOptions = {
|
|
22403
|
-
platform,
|
|
22404
|
-
...options
|
|
22405
|
-
};
|
|
22406
|
-
const platformWithCache = {
|
|
22407
|
-
...mergedOptions.platform,
|
|
22408
|
-
_c: cache
|
|
22409
|
-
};
|
|
22410
|
-
return computePosition$1(reference, floating, {
|
|
22411
|
-
...mergedOptions,
|
|
22412
|
-
platform: platformWithCache
|
|
22413
|
-
});
|
|
22414
|
-
};
|
|
22415
|
-
|
|
22416
|
-
/*
|
|
22417
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
22418
|
-
*
|
|
22419
|
-
* SPDX-License-Identifier: MIT
|
|
22420
|
-
*
|
|
22421
|
-
* This source code is licensed under the MIT license found in the
|
|
22422
|
-
* LICENSE file in the root directory of this source tree.
|
|
22423
|
-
*/
|
|
22424
|
-
class ArrowFocusController {
|
|
22425
|
-
constructor(items, container, callback) {
|
|
22426
|
-
this.wrap = false;
|
|
22427
|
-
this.items = items;
|
|
22428
|
-
this.container = container;
|
|
22429
|
-
this.callback = callback;
|
|
22430
|
-
this.keyListener = addDisposableEventListener(container, 'keydown', (e) => this.onKeyDown(e));
|
|
22431
|
-
}
|
|
22432
|
-
getActiveIndex() {
|
|
22433
|
-
if (!document.activeElement) {
|
|
22434
|
-
return -1;
|
|
22435
|
-
}
|
|
22436
|
-
return this.items.indexOf(document.activeElement);
|
|
22437
|
-
}
|
|
22438
|
-
onKeyDown(e) {
|
|
22439
|
-
var _a, _b, _c, _d;
|
|
22440
|
-
const activeIndex = this.getActiveIndex();
|
|
22441
|
-
if (activeIndex < 0) {
|
|
22442
|
-
return;
|
|
22443
|
-
}
|
|
22444
|
-
switch (e.key) {
|
|
22445
|
-
case 'ArrowDown':
|
|
22446
|
-
if (activeIndex < this.items.length - 1) {
|
|
22447
|
-
e.preventDefault();
|
|
22448
|
-
(_a = this.callback) === null || _a === void 0 ? void 0 : _a.call(this, activeIndex + 1);
|
|
22449
|
-
}
|
|
22450
|
-
else if (this.wrap) {
|
|
22451
|
-
e.preventDefault();
|
|
22452
|
-
(_b = this.callback) === null || _b === void 0 ? void 0 : _b.call(this, 0);
|
|
22453
|
-
}
|
|
22454
|
-
break;
|
|
22455
|
-
case 'ArrowUp':
|
|
22456
|
-
{
|
|
22457
|
-
if (activeIndex > 0) {
|
|
22458
|
-
e.preventDefault();
|
|
22459
|
-
(_c = this.callback) === null || _c === void 0 ? void 0 : _c.call(this, activeIndex - 1);
|
|
22460
|
-
}
|
|
22461
|
-
else if (this.wrap && activeIndex === 0) {
|
|
22462
|
-
e.preventDefault();
|
|
22463
|
-
(_d = this.callback) === null || _d === void 0 ? void 0 : _d.call(this, this.items.length - 1);
|
|
22464
|
-
}
|
|
22465
|
-
}
|
|
22466
|
-
break;
|
|
22467
|
-
}
|
|
22468
|
-
}
|
|
22469
|
-
disconnect() {
|
|
22470
|
-
if (this.keyListener) {
|
|
22471
|
-
this.keyListener();
|
|
22472
|
-
}
|
|
22473
|
-
this.container = undefined;
|
|
22474
|
-
this.callback = undefined;
|
|
22475
|
-
}
|
|
22476
|
-
}
|
|
22467
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
22468
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
22469
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
22470
|
+
const cache = new Map();
|
|
22471
|
+
const mergedOptions = {
|
|
22472
|
+
platform,
|
|
22473
|
+
...options
|
|
22474
|
+
};
|
|
22475
|
+
const platformWithCache = {
|
|
22476
|
+
...mergedOptions.platform,
|
|
22477
|
+
_c: cache
|
|
22478
|
+
};
|
|
22479
|
+
return computePosition$1(reference, floating, {
|
|
22480
|
+
...mergedOptions,
|
|
22481
|
+
platform: platformWithCache
|
|
22482
|
+
});
|
|
22483
|
+
};
|
|
22477
22484
|
|
|
22478
22485
|
/*
|
|
22479
22486
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
@@ -22574,7 +22581,93 @@ function findElement(element, hostElement) {
|
|
|
22574
22581
|
return waitForSelector(selector, document, hostElement);
|
|
22575
22582
|
}
|
|
22576
22583
|
|
|
22577
|
-
|
|
22584
|
+
/*
|
|
22585
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
22586
|
+
*
|
|
22587
|
+
* SPDX-License-Identifier: MIT
|
|
22588
|
+
*
|
|
22589
|
+
* This source code is licensed under the MIT license found in the
|
|
22590
|
+
* LICENSE file in the root directory of this source tree.
|
|
22591
|
+
*/
|
|
22592
|
+
class ArrowFocusController {
|
|
22593
|
+
constructor(items, container, callback) {
|
|
22594
|
+
this.wrap = false;
|
|
22595
|
+
this.items = items;
|
|
22596
|
+
this.container = container;
|
|
22597
|
+
this.callback = callback;
|
|
22598
|
+
this.keyListener = addDisposableEventListener(container, 'keydown', (e) => this.onKeyDown(e));
|
|
22599
|
+
}
|
|
22600
|
+
getActiveIndex() {
|
|
22601
|
+
if (!document.activeElement) {
|
|
22602
|
+
return -1;
|
|
22603
|
+
}
|
|
22604
|
+
return this.items.indexOf(document.activeElement);
|
|
22605
|
+
}
|
|
22606
|
+
onKeyDown(e) {
|
|
22607
|
+
var _a, _b, _c, _d;
|
|
22608
|
+
const activeIndex = this.getActiveIndex();
|
|
22609
|
+
if (activeIndex < 0) {
|
|
22610
|
+
return;
|
|
22611
|
+
}
|
|
22612
|
+
switch (e.key) {
|
|
22613
|
+
case 'ArrowDown':
|
|
22614
|
+
if (activeIndex < this.items.length - 1) {
|
|
22615
|
+
e.preventDefault();
|
|
22616
|
+
(_a = this.callback) === null || _a === void 0 ? void 0 : _a.call(this, activeIndex + 1);
|
|
22617
|
+
}
|
|
22618
|
+
else if (this.wrap) {
|
|
22619
|
+
e.preventDefault();
|
|
22620
|
+
(_b = this.callback) === null || _b === void 0 ? void 0 : _b.call(this, 0);
|
|
22621
|
+
}
|
|
22622
|
+
break;
|
|
22623
|
+
case 'ArrowUp':
|
|
22624
|
+
{
|
|
22625
|
+
if (activeIndex > 0) {
|
|
22626
|
+
e.preventDefault();
|
|
22627
|
+
(_c = this.callback) === null || _c === void 0 ? void 0 : _c.call(this, activeIndex - 1);
|
|
22628
|
+
}
|
|
22629
|
+
else if (this.wrap && activeIndex === 0) {
|
|
22630
|
+
e.preventDefault();
|
|
22631
|
+
(_d = this.callback) === null || _d === void 0 ? void 0 : _d.call(this, this.items.length - 1);
|
|
22632
|
+
}
|
|
22633
|
+
}
|
|
22634
|
+
break;
|
|
22635
|
+
}
|
|
22636
|
+
}
|
|
22637
|
+
disconnect() {
|
|
22638
|
+
if (this.keyListener) {
|
|
22639
|
+
this.keyListener();
|
|
22640
|
+
}
|
|
22641
|
+
this.container = undefined;
|
|
22642
|
+
this.callback = undefined;
|
|
22643
|
+
}
|
|
22644
|
+
}
|
|
22645
|
+
|
|
22646
|
+
/*
|
|
22647
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
22648
|
+
*
|
|
22649
|
+
* SPDX-License-Identifier: MIT
|
|
22650
|
+
*
|
|
22651
|
+
* This source code is licensed under the MIT license found in the
|
|
22652
|
+
* LICENSE file in the root directory of this source tree.
|
|
22653
|
+
*/
|
|
22654
|
+
/**
|
|
22655
|
+
* Prevents angular from change detection when requesting an animation frame
|
|
22656
|
+
*
|
|
22657
|
+
* Credits goes to:
|
|
22658
|
+
* https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts
|
|
22659
|
+
*/
|
|
22660
|
+
const requestAnimationFrameNoNgZone = (callback) => {
|
|
22661
|
+
if (typeof __zone_symbol__requestAnimationFrame === 'function') {
|
|
22662
|
+
return __zone_symbol__requestAnimationFrame(callback);
|
|
22663
|
+
}
|
|
22664
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
22665
|
+
return requestAnimationFrame(callback);
|
|
22666
|
+
}
|
|
22667
|
+
return setTimeout(callback);
|
|
22668
|
+
};
|
|
22669
|
+
|
|
22670
|
+
const dropdownCss = ":host{background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);min-width:0px;z-index:var(--theme-z-index-dropdown);box-shadow:var(--theme-shadow-4);padding:0.25rem 0px}: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-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}:host(.overflow){max-height:calc(50vh - 3rem);overflow-y:auto}:host(:not(.show)){display:none}.dialog{margin:0;border:none;outline:none;padding:0.25rem 0px;min-width:0;max-width:100vw;width:-moz-max-content;width:max-content;height:-moz-fit-content;height:fit-content;background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);box-shadow:var(--theme-shadow-4);overflow-x:visible;overflow-y:visible;inset:unset;color-scheme:inherit;color:var(--theme-color-std-text);box-sizing:border-box}.dialog *,.dialog *::after,.dialog *::before{box-sizing:border-box}.dialog .dropdown-container{display:block;position:relative}.dialog .dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}.dialog.overflow{max-height:calc(50vh - 3rem);overflow-y:auto}";
|
|
22578
22671
|
|
|
22579
22672
|
let sequenceId$1 = 0;
|
|
22580
22673
|
class Dropdown {
|
|
@@ -22612,6 +22705,13 @@ class Dropdown {
|
|
|
22612
22705
|
this.ignoreRelatedSubmenu = false;
|
|
22613
22706
|
/** @internal */
|
|
22614
22707
|
this.suppressOverflowBehavior = false;
|
|
22708
|
+
/**
|
|
22709
|
+
* Enable Popover API rendering for top-layer positioning.
|
|
22710
|
+
*
|
|
22711
|
+
* @default false in v4.x, will default to true in v5.0.0
|
|
22712
|
+
*/
|
|
22713
|
+
this.enableTopLayer = false;
|
|
22714
|
+
this.dialogRef = makeRef();
|
|
22615
22715
|
this.localUId = `dropdown-${sequenceId$1++}`;
|
|
22616
22716
|
this.assignedSubmenu = [];
|
|
22617
22717
|
this.itemObserver = new MutationObserver(() => {
|
|
@@ -22773,24 +22873,27 @@ class Dropdown {
|
|
|
22773
22873
|
}
|
|
22774
22874
|
}
|
|
22775
22875
|
async changedShow(newShow) {
|
|
22776
|
-
var _a
|
|
22777
|
-
if (newShow) {
|
|
22778
|
-
|
|
22779
|
-
if (this.
|
|
22780
|
-
this.
|
|
22876
|
+
var _a;
|
|
22877
|
+
if (!newShow) {
|
|
22878
|
+
this.cleanupOnHide();
|
|
22879
|
+
if (this.enableTopLayer) {
|
|
22880
|
+
await this.hideDropdownAsync();
|
|
22781
22881
|
}
|
|
22782
|
-
|
|
22783
|
-
(_a = this.itemObserver) === null || _a === void 0 ? void 0 : _a.observe(this.hostElement, {
|
|
22784
|
-
childList: true,
|
|
22785
|
-
subtree: true,
|
|
22786
|
-
});
|
|
22787
|
-
this.registerKeyListener();
|
|
22882
|
+
return;
|
|
22788
22883
|
}
|
|
22789
|
-
|
|
22790
|
-
|
|
22791
|
-
|
|
22792
|
-
|
|
22793
|
-
|
|
22884
|
+
this.arrowFocusController = new ArrowFocusController(this.dropdownItems, this.hostElement, (index) => this.focusDropdownItem(index));
|
|
22885
|
+
(_a = this.itemObserver) === null || _a === void 0 ? void 0 : _a.observe(this.hostElement, {
|
|
22886
|
+
childList: true,
|
|
22887
|
+
subtree: true,
|
|
22888
|
+
});
|
|
22889
|
+
this.registerKeyListener();
|
|
22890
|
+
if (this.enableTopLayer) {
|
|
22891
|
+
await this.showDropdownAsync();
|
|
22892
|
+
return;
|
|
22893
|
+
}
|
|
22894
|
+
await this.resolveAnchorElement();
|
|
22895
|
+
if (this.anchorElement) {
|
|
22896
|
+
this.applyDropdownPosition();
|
|
22794
22897
|
}
|
|
22795
22898
|
}
|
|
22796
22899
|
changedTrigger(newTriggerValue) {
|
|
@@ -22811,6 +22914,42 @@ class Dropdown {
|
|
|
22811
22914
|
}
|
|
22812
22915
|
return true;
|
|
22813
22916
|
}
|
|
22917
|
+
async showDropdownAsync() {
|
|
22918
|
+
const popover = await this.dialogRef.waitForCurrent();
|
|
22919
|
+
if (!popover) {
|
|
22920
|
+
return;
|
|
22921
|
+
}
|
|
22922
|
+
popover.showPopover();
|
|
22923
|
+
await this.resolveAnchorElement();
|
|
22924
|
+
if (this.anchorElement) {
|
|
22925
|
+
this.applyDropdownPosition();
|
|
22926
|
+
}
|
|
22927
|
+
else {
|
|
22928
|
+
requestAnimationFrameNoNgZone(() => {
|
|
22929
|
+
const referenceElement = this.hostElement.parentElement || this.hostElement;
|
|
22930
|
+
const refRect = referenceElement.getBoundingClientRect();
|
|
22931
|
+
const transform = `translate(${Math.round(refRect.left)}px, ${Math.round(refRect.top)}px)`;
|
|
22932
|
+
Object.assign(popover.style, {
|
|
22933
|
+
top: '0',
|
|
22934
|
+
left: '0',
|
|
22935
|
+
transform,
|
|
22936
|
+
});
|
|
22937
|
+
});
|
|
22938
|
+
}
|
|
22939
|
+
}
|
|
22940
|
+
async hideDropdownAsync() {
|
|
22941
|
+
const popover = await this.dialogRef.waitForCurrent();
|
|
22942
|
+
if (popover === null || popover === void 0 ? void 0 : popover.matches(':popover-open')) {
|
|
22943
|
+
popover.hidePopover();
|
|
22944
|
+
}
|
|
22945
|
+
}
|
|
22946
|
+
cleanupOnHide() {
|
|
22947
|
+
var _a, _b, _c;
|
|
22948
|
+
this.destroyAutoUpdate();
|
|
22949
|
+
(_a = this.arrowFocusController) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
22950
|
+
(_b = this.itemObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
22951
|
+
(_c = this.disposeKeyListener) === null || _c === void 0 ? void 0 : _c.call(this);
|
|
22952
|
+
}
|
|
22814
22953
|
async applyDropdownPosition() {
|
|
22815
22954
|
var _a, _b;
|
|
22816
22955
|
if (!this.show) {
|
|
@@ -22819,9 +22958,20 @@ class Dropdown {
|
|
|
22819
22958
|
if (!this.anchorElement) {
|
|
22820
22959
|
return;
|
|
22821
22960
|
}
|
|
22961
|
+
const referenceElement = this.anchorElement;
|
|
22822
22962
|
const isSubmenu = this.isAnchorSubmenu();
|
|
22963
|
+
let targetElement = this.hostElement;
|
|
22964
|
+
let strategy = this.positioningStrategy;
|
|
22965
|
+
if (this.enableTopLayer) {
|
|
22966
|
+
const dialog = await this.dialogRef.waitForCurrent();
|
|
22967
|
+
if (!dialog) {
|
|
22968
|
+
return;
|
|
22969
|
+
}
|
|
22970
|
+
targetElement = dialog;
|
|
22971
|
+
strategy = 'fixed';
|
|
22972
|
+
}
|
|
22823
22973
|
let positionConfig = {
|
|
22824
|
-
strategy
|
|
22974
|
+
strategy,
|
|
22825
22975
|
middleware: [],
|
|
22826
22976
|
};
|
|
22827
22977
|
if (!this.suppressAutomaticPlacement) {
|
|
@@ -22837,24 +22987,19 @@ class Dropdown {
|
|
|
22837
22987
|
positionConfig.middleware.push(offset(this.offset));
|
|
22838
22988
|
}
|
|
22839
22989
|
this.destroyAutoUpdate();
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
|
|
22843
|
-
|
|
22844
|
-
|
|
22845
|
-
|
|
22846
|
-
|
|
22847
|
-
top: '0',
|
|
22848
|
-
left: '0',
|
|
22849
|
-
transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(computeResponse.y)}px)`,
|
|
22850
|
-
});
|
|
22851
|
-
}
|
|
22990
|
+
this.autoUpdateCleanup = autoUpdate(referenceElement, targetElement, async () => {
|
|
22991
|
+
const computeResponse = await computePosition(referenceElement, targetElement, positionConfig);
|
|
22992
|
+
Object.assign(targetElement.style, {
|
|
22993
|
+
top: '0',
|
|
22994
|
+
left: '0',
|
|
22995
|
+
transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(computeResponse.y)}px)`,
|
|
22996
|
+
});
|
|
22852
22997
|
if (this.overwriteDropdownStyle) {
|
|
22853
22998
|
const overwriteStyle = await this.overwriteDropdownStyle({
|
|
22854
|
-
dropdownRef:
|
|
22999
|
+
dropdownRef: targetElement,
|
|
22855
23000
|
triggerRef: this.triggerElement,
|
|
22856
23001
|
});
|
|
22857
|
-
Object.assign(
|
|
23002
|
+
Object.assign(targetElement.style, overwriteStyle);
|
|
22858
23003
|
}
|
|
22859
23004
|
}, {
|
|
22860
23005
|
ancestorResize: true,
|
|
@@ -22863,7 +23008,7 @@ class Dropdown {
|
|
|
22863
23008
|
});
|
|
22864
23009
|
}
|
|
22865
23010
|
focusDropdownItem(index) {
|
|
22866
|
-
|
|
23011
|
+
requestAnimationFrameNoNgZone(() => {
|
|
22867
23012
|
var _a, _b;
|
|
22868
23013
|
const button = (_b = (_a = this.dropdownItems[index]) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('button');
|
|
22869
23014
|
if (button) {
|
|
@@ -22872,6 +23017,9 @@ class Dropdown {
|
|
|
22872
23017
|
});
|
|
22873
23018
|
}
|
|
22874
23019
|
async componentDidLoad() {
|
|
23020
|
+
if (this.show) {
|
|
23021
|
+
this.changedShow(true);
|
|
23022
|
+
}
|
|
22875
23023
|
if (!this.trigger) {
|
|
22876
23024
|
return;
|
|
22877
23025
|
}
|
|
@@ -22912,7 +23060,16 @@ class Dropdown {
|
|
|
22912
23060
|
this.applyDropdownPosition();
|
|
22913
23061
|
}
|
|
22914
23062
|
render() {
|
|
22915
|
-
|
|
23063
|
+
if (this.enableTopLayer) {
|
|
23064
|
+
return (hAsync(Host, { "data-ix-dropdown": this.localUId, class: {
|
|
23065
|
+
'dropdown-menu': true,
|
|
23066
|
+
show: this.show,
|
|
23067
|
+
} }, hAsync("dialog", { ref: this.dialogRef, class: {
|
|
23068
|
+
dialog: true,
|
|
23069
|
+
overflow: !this.suppressOverflowBehavior,
|
|
23070
|
+
}, popover: "manual", "aria-modal": "true", "aria-label": this.header, tabindex: -1, onClick: (event) => this.onDropdownClick(event) }, hAsync("div", { class: "dropdown-container" }, this.header && hAsync("div", { class: "dropdown-header" }, this.header), this.show && hAsync("slot", null)))));
|
|
23071
|
+
}
|
|
23072
|
+
return (hAsync(Host, { "data-ix-dropdown": this.localUId, class: {
|
|
22916
23073
|
'dropdown-menu': true,
|
|
22917
23074
|
show: this.show,
|
|
22918
23075
|
overflow: !this.suppressOverflowBehavior,
|
|
@@ -22920,7 +23077,7 @@ class Dropdown {
|
|
|
22920
23077
|
margin: '0',
|
|
22921
23078
|
minWidth: '0px',
|
|
22922
23079
|
position: this.positioningStrategy,
|
|
22923
|
-
}, role: "list", onClick: (event) => this.onDropdownClick(event) }, hAsync("div", {
|
|
23080
|
+
}, role: "list", onClick: (event) => this.onDropdownClick(event) }, hAsync("div", { style: { display: 'contents' } }, this.header && hAsync("div", { class: "dropdown-header" }, this.header), this.show && hAsync("slot", null))));
|
|
22924
23081
|
}
|
|
22925
23082
|
get hostElement() { return getElement(this); }
|
|
22926
23083
|
static get watchers() { return {
|
|
@@ -22945,6 +23102,7 @@ class Dropdown {
|
|
|
22945
23102
|
"discoverAllSubmenus": [4, "discover-all-submenus"],
|
|
22946
23103
|
"ignoreRelatedSubmenu": [4, "ignore-related-submenu"],
|
|
22947
23104
|
"suppressOverflowBehavior": [4, "suppress-overflow-behavior"],
|
|
23105
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
22948
23106
|
"discoverSubmenu": [64],
|
|
22949
23107
|
"updatePosition": [64]
|
|
22950
23108
|
},
|
|
@@ -22971,9 +23129,19 @@ class DropdownButton {
|
|
|
22971
23129
|
* Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.
|
|
22972
23130
|
*/
|
|
22973
23131
|
this.closeBehavior = 'both';
|
|
23132
|
+
/**
|
|
23133
|
+
* Enable Popover API rendering for dropdown.
|
|
23134
|
+
*
|
|
23135
|
+
* @default false
|
|
23136
|
+
* @since 4.3.0
|
|
23137
|
+
*/
|
|
23138
|
+
this.enableTopLayer = false;
|
|
22974
23139
|
this.dropdownShow = false;
|
|
22975
23140
|
this.dropdownAnchor = makeRef();
|
|
22976
23141
|
this.onDropdownShowChanged = (event) => {
|
|
23142
|
+
if (this.disabled && event.detail) {
|
|
23143
|
+
return;
|
|
23144
|
+
}
|
|
22977
23145
|
this.dropdownShow = event.detail;
|
|
22978
23146
|
};
|
|
22979
23147
|
}
|
|
@@ -22986,11 +23154,11 @@ class DropdownButton {
|
|
|
22986
23154
|
} }));
|
|
22987
23155
|
}
|
|
22988
23156
|
render() {
|
|
22989
|
-
return (hAsync(Host, { key: '
|
|
23157
|
+
return (hAsync(Host, { key: '2232add1b732f43028df1725baa05a08ce025b69', "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
22990
23158
|
disabled: this.disabled,
|
|
22991
|
-
}, ref: this.dropdownAnchor }, hAsync("div", { key: '
|
|
23159
|
+
}, ref: this.dropdownAnchor }, hAsync("div", { key: '0bbbbef21fd826b770c8231e449dd5beb9d799e1', class: "dropdown-button" }, this.label ? (hAsync("ix-button", { variant: this.variant, disabled: this.disabled, alignment: "start", ariaLabel: this.ariaLabelDropdownButton, tabIndex: this.disabled ? -1 : 0 }, hAsync("div", { class: 'content' }, this.icon ? (hAsync("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, hAsync("div", { class: 'button-label' }, this.label), hAsync("ix-icon", { name: this.dropdownShow
|
|
22992
23160
|
? iconChevronUpSmall
|
|
22993
|
-
: iconChevronDownSmall, size: "24" })))) : (hAsync("div", null, hAsync("ix-icon-button", { icon: this.icon, variant: this.variant, disabled: this.disabled }), this.getTriangle()))), hAsync("ix-dropdown", { key: '
|
|
23161
|
+
: iconChevronDownSmall, size: "24" })))) : (hAsync("div", null, hAsync("ix-icon-button", { icon: this.icon, variant: this.variant, disabled: this.disabled, tabIndex: this.disabled ? -1 : 0 }), this.getTriangle()))), hAsync("ix-dropdown", { key: 'd5d252fbef9edbf613eab9d1275e4a276582842c', class: "dropdown", trigger: this.dropdownAnchor.waitForCurrent(), placement: this.placement, closeBehavior: this.closeBehavior, enableTopLayer: this.enableTopLayer, onShowChanged: this.onDropdownShowChanged }, hAsync("slot", { key: '648209786997a3ca47955ea921a42dd80ae5a6bc' }))));
|
|
22994
23162
|
}
|
|
22995
23163
|
get hostElement() { return getElement(this); }
|
|
22996
23164
|
static get style() { return dropdownButtonCss; }
|
|
@@ -22999,17 +23167,18 @@ class DropdownButton {
|
|
|
22999
23167
|
"$tagName$": "ix-dropdown-button",
|
|
23000
23168
|
"$members$": {
|
|
23001
23169
|
"variant": [1],
|
|
23002
|
-
"disabled": [
|
|
23170
|
+
"disabled": [516],
|
|
23003
23171
|
"label": [1],
|
|
23004
23172
|
"icon": [1],
|
|
23005
23173
|
"closeBehavior": [8, "close-behavior"],
|
|
23006
23174
|
"placement": [1],
|
|
23007
23175
|
"ariaLabelDropdownButton": [1, "aria-label-dropdown-button"],
|
|
23176
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
23008
23177
|
"dropdownShow": [32]
|
|
23009
23178
|
},
|
|
23010
23179
|
"$listeners$": undefined,
|
|
23011
23180
|
"$lazyBundleId$": "-",
|
|
23012
|
-
"$attrsToReflect$": []
|
|
23181
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
23013
23182
|
}; }
|
|
23014
23183
|
}
|
|
23015
23184
|
|
|
@@ -23020,7 +23189,7 @@ class DropdownHeader {
|
|
|
23020
23189
|
registerInstance(this, hostRef);
|
|
23021
23190
|
}
|
|
23022
23191
|
render() {
|
|
23023
|
-
return (hAsync(Host, { key: '
|
|
23192
|
+
return (hAsync(Host, { key: '6ec911ed6360d3e523a5a871007d874d67cf1334' }, hAsync("ix-typography", { key: 'f1a8142ff1d8212a389649a6b7cc31495ccb9fa0', class: 'category-text', format: 'h5' }, this.label)));
|
|
23024
23193
|
}
|
|
23025
23194
|
static get style() { return dropdownHeaderCss; }
|
|
23026
23195
|
static get cmpMeta() { return {
|
|
@@ -23072,15 +23241,20 @@ class DropdownItem {
|
|
|
23072
23241
|
this.icon !== undefined);
|
|
23073
23242
|
}
|
|
23074
23243
|
render() {
|
|
23075
|
-
return (hAsync(Host, { key: '
|
|
23244
|
+
return (hAsync(Host, { key: '6792db1dd356481085735838df4cfcdf11cee1ba', class: {
|
|
23076
23245
|
hover: this.hover,
|
|
23077
23246
|
'icon-only': this.isIconOnly(),
|
|
23078
23247
|
disabled: this.disabled,
|
|
23079
23248
|
submenu: this.isSubMenu,
|
|
23080
|
-
}, role: "listitem" }, hAsync("button", { key: '
|
|
23249
|
+
}, role: "listitem" }, hAsync("button", { key: '878eed19e5127942f10f561db2205930a7bb01ef', type: "button", tabIndex: this.disabled ? -1 : 0, class: {
|
|
23081
23250
|
'dropdown-item': true,
|
|
23082
23251
|
'no-checked-field': this.suppressChecked,
|
|
23083
|
-
|
|
23252
|
+
disabled: this.disabled,
|
|
23253
|
+
}, onClick: () => {
|
|
23254
|
+
if (!this.disabled) {
|
|
23255
|
+
this.emitItemClick();
|
|
23256
|
+
}
|
|
23257
|
+
}, "aria-label": this.ariaLabelButton, "aria-disabled": a11yBoolean(this.disabled), disabled: this.disabled }, !this.suppressChecked ? (hAsync("div", { class: "dropdown-item-checked" }, this.checked ? (hAsync("ix-icon", { class: "checkmark", name: iconSingleCheck, size: "16" })) : null)) : null, this.icon ? (hAsync("ix-icon", { class: "dropdown-item-icon", name: this.icon, "aria-label": this.ariaLabelIcon })) : null, hAsync("div", { key: 'faf59089cf0887b1fc1907b6e98b1f1cd2aa62ab', class: "dropdown-item-text" }, this.label, hAsync("slot", { key: '112c5601bae07f6ab8807b42014a268f7e402d59' })), this.isSubMenu ? (hAsync("ix-icon", { name: iconChevronRightSmall, class: 'submenu-icon' })) : null)));
|
|
23084
23258
|
}
|
|
23085
23259
|
get hostElement() { return getElement(this); }
|
|
23086
23260
|
static get style() { return dropdownItemCss; }
|
|
@@ -23093,7 +23267,7 @@ class DropdownItem {
|
|
|
23093
23267
|
"ariaLabelIcon": [1, "aria-label-icon"],
|
|
23094
23268
|
"ariaLabelButton": [1, "aria-label-button"],
|
|
23095
23269
|
"hover": [4],
|
|
23096
|
-
"disabled": [
|
|
23270
|
+
"disabled": [516],
|
|
23097
23271
|
"checked": [4],
|
|
23098
23272
|
"isSubMenu": [4, "is-sub-menu"],
|
|
23099
23273
|
"suppressChecked": [4, "suppress-checked"],
|
|
@@ -23102,7 +23276,7 @@ class DropdownItem {
|
|
|
23102
23276
|
},
|
|
23103
23277
|
"$listeners$": undefined,
|
|
23104
23278
|
"$lazyBundleId$": "-",
|
|
23105
|
-
"$attrsToReflect$": []
|
|
23279
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
23106
23280
|
}; }
|
|
23107
23281
|
}
|
|
23108
23282
|
|
|
@@ -23113,7 +23287,7 @@ class DropdownQuickActions {
|
|
|
23113
23287
|
registerInstance(this, hostRef);
|
|
23114
23288
|
}
|
|
23115
23289
|
render() {
|
|
23116
|
-
return (hAsync(Host, { key: '
|
|
23290
|
+
return (hAsync(Host, { key: '5b9938da726bfe31dffe1667ff81c1b3a5935e1e' }, hAsync("slot", { key: 'a3f04dc61e5896ede45c0484506b3ee611b413c8' })));
|
|
23117
23291
|
}
|
|
23118
23292
|
static get style() { return dropdownQuickActionsCss; }
|
|
23119
23293
|
static get cmpMeta() { return {
|
|
@@ -23138,7 +23312,7 @@ class EmptyState {
|
|
|
23138
23312
|
this.layout = 'large';
|
|
23139
23313
|
}
|
|
23140
23314
|
render() {
|
|
23141
|
-
return (hAsync(Host, { key: '
|
|
23315
|
+
return (hAsync(Host, { key: 'f87d35f9c8ae39f3ed46f8ebf0fe1b0487d91108', class: `emptyState emptyState--${this.layout}` }, this.icon && (hAsync("div", { key: '41eb63bad03958baeb5f683895ea196f883b5312', class: "emptyState__icon" }, hAsync("ix-icon", { key: '3bd1032f996cdf7c046f767ac9fec79756a7b8e5', name: this.icon, size: this.layout === 'large' ? '32' : '32', color: "color-soft-text", "aria-label": this.ariaLabelEmptyStateIcon }))), hAsync("div", { key: '1a287d69a879f7dd52e9801e9fd0a973849fc244', class: "emptyState__content" }, hAsync("div", { key: '8e2ff9b6f189e732dd16bf943922b09f32b9adfc', class: "content__label" }, hAsync("ix-typography", { key: '74bc4394d9b94c2d3161091b71fbeb8ca091d6d8', format: this.layout === 'large' ? 'h3' : 'body' }, this.header), this.subHeader && (hAsync("div", { key: '43e21aec14323f18a4df1116c7841702a945bcfe', class: "label__subHeader" }, this.subHeader))), this.action && (hAsync("div", { key: 'd80c01f388e99df9affc47086ac2f67ef89ca8ca', class: "content__action" }, hAsync("ix-button", { key: '0ba60803afb761fbae046546ed06f6ab07bc728c', onClick: () => this.actionClick.emit() }, this.action))))));
|
|
23142
23316
|
}
|
|
23143
23317
|
static get style() { return emptyStateCss; }
|
|
23144
23318
|
static get cmpMeta() { return {
|
|
@@ -23279,11 +23453,11 @@ class EventList {
|
|
|
23279
23453
|
});
|
|
23280
23454
|
}
|
|
23281
23455
|
render() {
|
|
23282
|
-
return (hAsync(Host, { key: '
|
|
23456
|
+
return (hAsync(Host, { key: 'a21a4d23666ba43d7d10bd569c7a9feb01423b1f', class: {
|
|
23283
23457
|
'item-size-s': this.itemHeight === 'S',
|
|
23284
23458
|
'item-size-l': this.itemHeight === 'L',
|
|
23285
23459
|
compact: this.compact,
|
|
23286
|
-
} }, hAsync("div", { key: '
|
|
23460
|
+
} }, hAsync("div", { key: 'cbb5ffb72ce1a393c99df6624ffc3e36a3d6a4b5', role: "list" }, hAsync("slot", { key: '50ca67f2071b058ee4e43bfcad1bf23d5fc623d3' }))));
|
|
23287
23461
|
}
|
|
23288
23462
|
get hostElement() { return getElement(this); }
|
|
23289
23463
|
static get watchers() { return {
|
|
@@ -23340,17 +23514,17 @@ class EventListItem {
|
|
|
23340
23514
|
let color = ((_a = this.itemColor) === null || _a === void 0 ? void 0 : _a.startsWith('--theme'))
|
|
23341
23515
|
? `var(${this.itemColor})`
|
|
23342
23516
|
: `var(--theme-${this.itemColor})`;
|
|
23343
|
-
return (hAsync(Host, { key: '
|
|
23517
|
+
return (hAsync(Host, { key: '3fa7304c0d114cd65b572e6d7e1a7362d3f63950', class: {
|
|
23344
23518
|
disabled: this.disabled,
|
|
23345
23519
|
[`event-list-item-${this.variant}`]: true,
|
|
23346
|
-
} }, hAsync("div", { key: '
|
|
23520
|
+
} }, hAsync("div", { key: '9dc5734ea43068e74efc45d89a6fda3bad040cd1', role: "listitem", "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
23347
23521
|
'event-list-item': true,
|
|
23348
23522
|
selected: this.selected,
|
|
23349
23523
|
disabled: this.disabled,
|
|
23350
|
-
} }, hAsync("div", { key: '
|
|
23524
|
+
} }, hAsync("div", { key: '5fc29826643c430d3f0c82826142b461395d5075', class: `indicator ${!this.itemColor ? 'indicator-empty' : ''}`, style: {
|
|
23351
23525
|
'background-color': this.itemColor ? color : 'inherit',
|
|
23352
23526
|
opacity: `${this.disabled ? 0.4 : 1}`,
|
|
23353
|
-
} }), hAsync("div", { key: '
|
|
23527
|
+
} }), hAsync("div", { key: 'c53b6ea99b0744dc6a0d57024853d0627a3963e2', class: "event-list-item-container" }, hAsync("div", { key: '22a50db11d9997caa9df67fea550e1f58224344c', class: "event-content" }, hAsync("slot", { key: '6361d1b0c326919f46ed7eb1b6bcb4b17421258e' })), this.chevron && (hAsync("ix-icon", { key: 'edd5d1e1ef0fa1c85b319f9bdccdf1e2cbe8183a', name: iconChevronRight, size: "16", class: "chevron-icon", "aria-hidden": "true" }))))));
|
|
23354
23528
|
}
|
|
23355
23529
|
static get style() { return eventListItemCss; }
|
|
23356
23530
|
static get cmpMeta() { return {
|
|
@@ -23431,20 +23605,20 @@ class ExpandingSearch {
|
|
|
23431
23605
|
}
|
|
23432
23606
|
render() {
|
|
23433
23607
|
var _a;
|
|
23434
|
-
return (hAsync(Host, { key: '
|
|
23608
|
+
return (hAsync(Host, { key: '6fa9475cb63afee99623408a13321b4f01e7e346', class: {
|
|
23435
23609
|
expanded: this.expanded,
|
|
23436
23610
|
'right-position': this.expanded,
|
|
23437
23611
|
fullWidth: this.fullWidth,
|
|
23438
|
-
} }, hAsync("ix-icon-button", { key: '
|
|
23612
|
+
} }, hAsync("ix-icon-button", { key: 'd4f6f3e8363b84190b6b875775f77e69df958417', size: this.expanded ? '16' : '24', icon: (_a = this.icon) !== null && _a !== void 0 ? _a : iconSearch, variant: this.expanded ? 'tertiary' : this.variant, "data-testid": "button", onClick: () => this.expandInput(), tabindex: this.expanded ? -1 : 0, color: this.hasFocus ? 'input-search-icon--color--focus' : undefined, class: {
|
|
23439
23613
|
'btn-search': true,
|
|
23440
23614
|
'btn-search--expanded': this.expanded,
|
|
23441
|
-
}, "aria-label": this.ariaLabelSearchIconButton }), hAsync("div", { key: '
|
|
23615
|
+
}, "aria-label": this.ariaLabelSearchIconButton }), hAsync("div", { key: '843d11c6d7ca40c2bf44cbda4a078283d14a9c60', class: {
|
|
23442
23616
|
expanded: this.expanded,
|
|
23443
23617
|
fullWidth: this.fullWidth,
|
|
23444
23618
|
collapsed: !this.expanded,
|
|
23445
23619
|
'disable-pointer': !this.expanded,
|
|
23446
23620
|
'input-container': true,
|
|
23447
|
-
}, "data-testid": "input-wrapper" }, hAsync("input", { key: '
|
|
23621
|
+
}, "data-testid": "input-wrapper" }, hAsync("input", { key: 'f4e711d68bb5037be4e0727476433a8483517685', class: {
|
|
23448
23622
|
'ix-form-control': true,
|
|
23449
23623
|
input: this.expanded,
|
|
23450
23624
|
'disable-pointer': !this.expanded,
|
|
@@ -23556,9 +23730,9 @@ class FieldWrapper {
|
|
|
23556
23730
|
infoText: this.infoText,
|
|
23557
23731
|
helperText: this.helperText,
|
|
23558
23732
|
};
|
|
23559
|
-
return (hAsync(Host, { key: '
|
|
23733
|
+
return (hAsync(Host, { key: '531b08942bf31c36043fb3d7cd3af489f2fe83b0' }, this.label && (hAsync("div", { key: '49b9ef124fc2d69fb2528585d7b232b2e3d6d4b6', class: "field-top" }, hAsync("ix-field-label", { key: '20a089a72de7ee3045c048c19d868ff3b4be2706', required: this.required, htmlFor: this.htmlForLabel, controlRef: this.controlRef, isInvalid: this.isInvalid }, this.label))), hAsync("div", { key: '80c8ce58eb73379755757b2cef6b318cdc279b6b', class: {
|
|
23560
23734
|
'slot-wrapper': true,
|
|
23561
|
-
}, ref: this.slotRef }, hAsync("slot", { key: '
|
|
23735
|
+
}, ref: this.slotRef }, hAsync("slot", { key: 'f41f0681742e9f783092bad7484c851e2b987c99' })), hAsync("div", { key: '9db46e23621d508e08fe87cae69a3698491347dc', class: 'field-bottom' }, !this.showTextAsTooltip && hAsync(HelperText$1, Object.assign({ key: '29802c92675a34cd215740a5df6fae77ed36368f' }, textOptions)), hAsync("div", { key: 'b94a1cc2acd5f8379e768fda9f222af6cb85f2b7', class: "bottom-right" }, hAsync("slot", { key: '3c5ba2d9a6d4671b6fadba6e06455ae229894f94', name: "bottom-right" }))), this.showTextAsTooltip === true && hasAnyText(textOptions) && (hAsync("ix-tooltip", { key: '890c4a39781fbb14b96660691fd6f6fe96a30e0b', for: this.slotRef.waitForCurrent(), showDelay: 500, placement: "bottom" }, hAsync(HelperText$1, Object.assign({ key: '638410fd78282cf38065635a79cceeb064a2a10e' }, textOptions))))));
|
|
23562
23736
|
}
|
|
23563
23737
|
get hostElement() { return getElement(this); }
|
|
23564
23738
|
static get style() { return fieldWrapperCss; }
|
|
@@ -23608,7 +23782,7 @@ class FilterChip {
|
|
|
23608
23782
|
this.closeClick.emit();
|
|
23609
23783
|
}
|
|
23610
23784
|
render() {
|
|
23611
|
-
return (hAsync(Host, { key: '
|
|
23785
|
+
return (hAsync(Host, { key: 'e583d14307f98b55f1ff4be4b9c3897776eaae75', class: { disabled: this.disabled, readonly: this.readonly }, title: this.hostElement.textContent }, hAsync("div", { key: '998751b62b8266368176fe1186a6dd2f311199be', class: "slot-container" }, hAsync("slot", { key: '2861044a08d5b237444cda5bb5fafe0bc0c97790' })), !this.disabled && !this.readonly ? (hAsync("ix-icon-button", { variant: "tertiary", oval: true, icon: iconCloseSmall, size: "16", tabindex: this.disabled ? -1 : 0, disabled: this.disabled, onClick: (e) => this.onCloseClick(e), "aria-label": this.ariaLabelCloseIconButton })) : null));
|
|
23612
23786
|
}
|
|
23613
23787
|
get hostElement() { return getElement(this); }
|
|
23614
23788
|
static get style() { return filterChipCss; }
|
|
@@ -23735,7 +23909,7 @@ class FlipTile {
|
|
|
23735
23909
|
}, 2 * Animation.defaultTime);
|
|
23736
23910
|
}
|
|
23737
23911
|
render() {
|
|
23738
|
-
return (hAsync(Host, { key: '
|
|
23912
|
+
return (hAsync(Host, { key: 'a54038f2dbaeffac796822404e2d186c742a5357', class: {
|
|
23739
23913
|
[`flip-tile-variant-${this.variant}`]: true,
|
|
23740
23914
|
}, style: {
|
|
23741
23915
|
height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
@@ -23744,10 +23918,10 @@ class FlipTile {
|
|
|
23744
23918
|
width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
23745
23919
|
'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
23746
23920
|
'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
23747
|
-
} }, hAsync("div", { key: '
|
|
23921
|
+
} }, hAsync("div", { key: '0bf12231b1cdeb0afe41d9d45c06fdef4cdedaf4', class: "flip-tile-container" }, hAsync("div", { key: '3e9da89ed0b9cf7595e4c1d317d21ed1b55aa9d7', class: "flip-tile-header" }, hAsync("div", { key: 'd4e7cc2a8162254ea3c7c4a0a031346b7a35e3d9', class: "header-slot-container text-l-title" }, hAsync("slot", { key: 'dd9e2244a75179ceb4ac9647b403a5e2b01fd2ae', name: "header" })), hAsync("ix-icon-button", { key: '74a5abdba3bf0c90222fc7bf7064742c0ea85b80', icon: iconEye, variant: "tertiary", onClick: () => this.toggleIndex(), "aria-label": this.ariaLabelEyeIconButton })), hAsync("div", { key: '636884dbf0b0143e4f30061cd6e0472c83fe698a', class: "content-container" }, hAsync("slot", { key: 'b94b3a488e7a137b06505290ab351724c5f01fca' })), hAsync("div", { key: 'a15153c86848df2dd14b1423c686b9655d6fcdc1', class: {
|
|
23748
23922
|
footer: true,
|
|
23749
23923
|
'show-footer': this.hasFooterSlot,
|
|
23750
|
-
} }, hAsync("slot", { key: '
|
|
23924
|
+
} }, hAsync("slot", { key: '68d0585ff19d8a29fc8ccfdb2ec6302f767e3a94', name: "footer", onSlotchange: (event) => this.handleFooterSlotChange(event) })))));
|
|
23751
23925
|
}
|
|
23752
23926
|
get hostElement() { return getElement(this); }
|
|
23753
23927
|
static get watchers() { return {
|
|
@@ -23785,7 +23959,7 @@ class FlipTileContent {
|
|
|
23785
23959
|
this.contentVisible = false;
|
|
23786
23960
|
}
|
|
23787
23961
|
render() {
|
|
23788
|
-
return hAsync(Host, { key: '
|
|
23962
|
+
return hAsync(Host, { key: '002fbfde1a46839d622af7fb2be6dff5ca99aa87' }, this.contentVisible ? hAsync("slot", null) : null);
|
|
23789
23963
|
}
|
|
23790
23964
|
static get style() { return flipTileContentCss; }
|
|
23791
23965
|
static get cmpMeta() { return {
|
|
@@ -23807,10 +23981,14 @@ class FormFieldLabel {
|
|
|
23807
23981
|
registerInstance(this, hostRef);
|
|
23808
23982
|
/** @internal */
|
|
23809
23983
|
this.isInvalid = false;
|
|
23984
|
+
this.explicitIsInvalid = undefined;
|
|
23810
23985
|
this.htmlForObserver = new MutationObserver(() => this.checkForInternalState());
|
|
23811
23986
|
this.a11yAttributes = {};
|
|
23812
23987
|
this.labelRef = makeRef();
|
|
23813
23988
|
}
|
|
23989
|
+
isInvalidChanged(newValue) {
|
|
23990
|
+
this.explicitIsInvalid = newValue;
|
|
23991
|
+
}
|
|
23814
23992
|
connectedCallback() {
|
|
23815
23993
|
this.registerHtmlForObserver();
|
|
23816
23994
|
this.registerControlRefObserver();
|
|
@@ -23853,7 +24031,7 @@ class FormFieldLabel {
|
|
|
23853
24031
|
if (this.controlRefClassObserver) {
|
|
23854
24032
|
this.controlRefClassObserver.destroy();
|
|
23855
24033
|
}
|
|
23856
|
-
if (this.controlRef) {
|
|
24034
|
+
if (this.controlRef && !this.htmlFor) {
|
|
23857
24035
|
const input = await this.controlRef.waitForCurrent();
|
|
23858
24036
|
this.controlRefClassObserver = createClassMutationObserver(input, () => this.checkForInvalidState(input));
|
|
23859
24037
|
}
|
|
@@ -23865,9 +24043,10 @@ class FormFieldLabel {
|
|
|
23865
24043
|
this.htmlForClassObserver = createClassMutationObserver(forElement, () => this.checkForInvalidState(forElement));
|
|
23866
24044
|
}
|
|
23867
24045
|
checkForInvalidState(elementToCheck) {
|
|
23868
|
-
|
|
23869
|
-
|
|
23870
|
-
|
|
24046
|
+
var _a;
|
|
24047
|
+
const hasInvalidClass = elementToCheck.classList.contains('is-invalid') ||
|
|
24048
|
+
elementToCheck.classList.contains('ix-invalid');
|
|
24049
|
+
this.isInvalid = (_a = this.explicitIsInvalid) !== null && _a !== void 0 ? _a : hasInvalidClass;
|
|
23871
24050
|
}
|
|
23872
24051
|
async checkForInternalState() {
|
|
23873
24052
|
if (this.htmlFor) {
|
|
@@ -23878,6 +24057,7 @@ class FormFieldLabel {
|
|
|
23878
24057
|
}
|
|
23879
24058
|
this.registerHtmlForClassObserver(forElement);
|
|
23880
24059
|
this.checkForInvalidState(forElement);
|
|
24060
|
+
return;
|
|
23881
24061
|
}
|
|
23882
24062
|
}
|
|
23883
24063
|
if (this.controlRef) {
|
|
@@ -23906,10 +24086,11 @@ class FormFieldLabel {
|
|
|
23906
24086
|
}
|
|
23907
24087
|
}
|
|
23908
24088
|
render() {
|
|
23909
|
-
return (hAsync(Host, { key: '
|
|
24089
|
+
return (hAsync(Host, { key: '1a8134a30a1b101f6bfd678f905eb88e927e47d6', onClick: () => this.focusOnClick() }, hAsync("label", Object.assign({ key: 'ef6df6072485fb72ea02a0a9800be3be15e84314', htmlFor: this.htmlFor }, this.a11yAttributes, { ref: this.labelRef }), hAsync("ix-typography", { key: '572975edeae54d15932c3b6091ed63dfff8bb231', textColor: this.isInvalid ? 'alarm' : 'soft', format: "label" }, hAsync("slot", { key: '452847ea7365cefc945bc6166bf2e8fd44d3f530' }), this.required && hAsync("span", { key: '5e85f801d6fe8a01d6595a55bb263d0bcf91a888' }, "*")))));
|
|
23910
24090
|
}
|
|
23911
24091
|
get hostElement() { return getElement(this); }
|
|
23912
24092
|
static get watchers() { return {
|
|
24093
|
+
"isInvalid": ["isInvalidChanged"],
|
|
23913
24094
|
"htmlFor": ["registerHtmlForObserver"],
|
|
23914
24095
|
"controlRef": ["registerControlRefObserver"]
|
|
23915
24096
|
}; }
|
|
@@ -24062,27 +24243,27 @@ class Group {
|
|
|
24062
24243
|
}
|
|
24063
24244
|
}
|
|
24064
24245
|
render() {
|
|
24065
|
-
return (hAsync(Host, { key: '
|
|
24246
|
+
return (hAsync(Host, { key: '99b00ca8c88730036688974abd67ff0534dd4d17' }, hAsync("div", { key: '47384431d36ce7cdc5a2e81ecd682d6a0dd13b53', class: {
|
|
24066
24247
|
'group-header': true,
|
|
24067
24248
|
expand: this.expanded,
|
|
24068
24249
|
selected: this.selected,
|
|
24069
|
-
}, tabindex: "0" }, hAsync("div", { key: '
|
|
24250
|
+
}, tabindex: "0" }, hAsync("div", { key: '68968fc5816ca0fef0ae658a6925cc6b8ee3479a', class: "group-header-clickable", onClick: (e) => this.onHeaderClick(e) }, hAsync("div", { key: 'a26153957aa76d882d95a3f88318c01517078a64', class: {
|
|
24070
24251
|
'group-header-selection-indicator': true,
|
|
24071
24252
|
'group-header-selection-indicator-item-selected': this.itemSelected,
|
|
24072
|
-
} }), hAsync("div", { key: '
|
|
24253
|
+
} }), hAsync("div", { key: '01427b28c1b873a1875bd4c2093fee6d900bdf89', class: "btn-expand-header" }, hAsync("ix-icon", { key: '1feb76e98b4ebda01d902b76065cdcefa0dde5a4', "data-testid": "expand-collapsed-icon", class: {
|
|
24073
24254
|
hidden: !this.showExpandCollapsedIcon,
|
|
24074
|
-
}, name: this.expanded ? iconChevronUpSmall : iconChevronDownSmall, onClick: (event) => this.onExpandClick(event) })), hAsync("div", { key: '
|
|
24255
|
+
}, name: this.expanded ? iconChevronUpSmall : iconChevronDownSmall, onClick: (event) => this.onExpandClick(event) })), hAsync("div", { key: '5c6232f9b9a36ccbfa2f0e9352a5e739e202e275', class: "group-header-content" }, this.header ? (hAsync("div", { class: "group-header-props-container" }, hAsync("div", { class: "group-header-title" }, hAsync("span", { title: this.header }, this.header)), hAsync("div", { class: "group-subheader", title: this.subHeader }, this.subHeader))) : null, hAsync("slot", { key: '592d03499639a45183c8837b421a33bbffbae954', name: "header" }))), this.hasDropdown && (hAsync("ix-group-context-menu", { key: 'f666ce19d8441bd3afc40800128e6326da14615e' }, hAsync("slot", { key: '96d9509e35fbf388d31fbc832fc31dd2167842a8', name: "dropdown" })))), hAsync("div", { key: '3d6f649530d00fd19761bb84ed4bf8769b0bec14', class: {
|
|
24075
24256
|
'group-content': true,
|
|
24076
|
-
} }, hAsync("div", { key: '
|
|
24257
|
+
} }, hAsync("div", { key: 'cad4a7c42f5402400add10d1d5ac57174aa34b6e', style: {
|
|
24077
24258
|
display: this.expanded ? 'contents' : 'none',
|
|
24078
|
-
} }, hAsync("slot", { key: '
|
|
24259
|
+
} }, hAsync("slot", { key: '305a97c24f58db1e1d1264876c99316aceda6e8d', onSlotchange: () => {
|
|
24079
24260
|
var _a;
|
|
24080
24261
|
const slot = (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
|
|
24081
24262
|
this.showExpandCollapsedIcon = hasSlottedElements(slot);
|
|
24082
|
-
} }), hAsync("ix-group-item", { key: '
|
|
24263
|
+
} }), hAsync("ix-group-item", { key: 'f19cce4aad2fc8465f57d94bb6a6b228204120e6', class: {
|
|
24083
24264
|
footer: true,
|
|
24084
24265
|
'footer-visible': this.footerVisible,
|
|
24085
|
-
}, groupFooter: true, suppressSelection: true }, hAsync("slot", { key: '
|
|
24266
|
+
}, groupFooter: true, suppressSelection: true }, hAsync("slot", { key: 'c073314bc4528f7559c8c1cfa43b88881d7a4e49', name: "footer", onSlotchange: () => this.onSlotChange() }))))));
|
|
24086
24267
|
}
|
|
24087
24268
|
get hostElement() { return getElement(this); }
|
|
24088
24269
|
static get watchers() { return {
|
|
@@ -24144,7 +24325,7 @@ class GroupContextMenu {
|
|
|
24144
24325
|
this.configureDropdown(dropdownElement, triggerElement);
|
|
24145
24326
|
}
|
|
24146
24327
|
render() {
|
|
24147
|
-
return (hAsync(Host, { key: '
|
|
24328
|
+
return (hAsync(Host, { key: 'd3b00dddd05f3ac944f61b8a4098883dffe2acc2' }, hAsync("ix-icon-button", { key: '0d427b8b754020e83b4aa03686a9fea1d8fbffc0', class: { hide: !this.showContextMenu }, size: "24", variant: "subtle-tertiary", icon: iconContextMenu }), hAsync("slot", { key: 'baef7854222010ff76fc784c50804e4f343eafc3', onSlotchange: () => this.onSlotChange() })));
|
|
24148
24329
|
}
|
|
24149
24330
|
get hostElement() { return getElement(this); }
|
|
24150
24331
|
static get style() { return groupContextMenuCss; }
|
|
@@ -24268,7 +24449,7 @@ class HelperText {
|
|
|
24268
24449
|
this.validationResults = checkFieldClasses(forElement);
|
|
24269
24450
|
}
|
|
24270
24451
|
render() {
|
|
24271
|
-
return (hAsync(Host, { key: '
|
|
24452
|
+
return (hAsync(Host, { key: 'aa99794dc7b9c59abf2fdd8f2ac8112cf705a5ad' }, hAsync(HelperText$1, Object.assign({ key: 'c3e36ebbae8617aa43cf2616242b035739ab4cc7', helperText: this.helperText,
|
|
24272
24453
|
invalidText: this.invalidText,
|
|
24273
24454
|
validText: this.validText,
|
|
24274
24455
|
infoText: this.infoText,
|
|
@@ -24378,8 +24559,11 @@ class IconButton {
|
|
|
24378
24559
|
onClick: () => this.dispatchFormEvents(),
|
|
24379
24560
|
type: this.type,
|
|
24380
24561
|
extraClasses: this.getIconSizeClass(),
|
|
24562
|
+
tabIndex: this.hostElement.hasAttribute('tabindex')
|
|
24563
|
+
? this.hostElement.tabIndex
|
|
24564
|
+
: undefined,
|
|
24381
24565
|
};
|
|
24382
|
-
return (hAsync(Host, { key: '
|
|
24566
|
+
return (hAsync(Host, { key: '2acf097d64918e4f19ead5560414cb07e791fe8c', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, hAsync(BaseIconButton, Object.assign({ key: 'b7e2432d7cc3362048c1e65d642e3abef43dec82' }, baseButtonProps))));
|
|
24383
24567
|
}
|
|
24384
24568
|
get hostElement() { return getElement(this); }
|
|
24385
24569
|
static get style() { return iconButtonCss; }
|
|
@@ -24473,7 +24657,7 @@ class IconToggleButton {
|
|
|
24473
24657
|
},
|
|
24474
24658
|
extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
|
|
24475
24659
|
};
|
|
24476
|
-
return (hAsync(Host, { key: '
|
|
24660
|
+
return (hAsync(Host, { key: '7e569390966cec8f23e66418506df999e26aeebd', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, hAsync(BaseIconButton, Object.assign({ key: 'b055971a9ea7d2bd859c5c71ceaf0d39e05e1b54' }, baseButtonProps))));
|
|
24477
24661
|
}
|
|
24478
24662
|
get hostElement() { return getElement(this); }
|
|
24479
24663
|
static get style() { return iconToggleButtonCss; }
|
|
@@ -24640,13 +24824,13 @@ class Input {
|
|
|
24640
24824
|
render() {
|
|
24641
24825
|
var _a, _b;
|
|
24642
24826
|
const inputAria = getAriaAttributesForInput(this);
|
|
24643
|
-
return (hAsync(Host, { key: '
|
|
24827
|
+
return (hAsync(Host, { key: '406a4e193377deed02588cf4472f5a9cdadee3f2', class: {
|
|
24644
24828
|
disabled: this.disabled,
|
|
24645
24829
|
readonly: this.readonly,
|
|
24646
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
24830
|
+
} }, hAsync("ix-field-wrapper", { key: 'cc104d9630112c8d688417accf37b0e94f1bd1c1', htmlForLabel: this.inputId, 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 }, hAsync("div", { key: 'ddf0d5030a06eb966a6853ada6ab52ad0c2661d2', class: "input-wrapper" }, hAsync(SlotStart, { key: 'e3cec3c75def9eef6fd0b66a28ac5e844663a813', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), hAsync(InputElement, { key: '78fcf785c85c7260ac7d04e7e6e63e14dacba886', id: this.inputId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
|
|
24647
24831
|
onInputBlur(this, this.inputRef.current);
|
|
24648
24832
|
this.touched = true;
|
|
24649
|
-
}, ariaAttributes: inputAria, form: (_a = this.formInternals.form) !== null && _a !== void 0 ? _a : undefined, suppressSubmitOnEnter: this.suppressSubmitOnEnter, textAlignment: this.textAlignment }), hAsync(SlotEnd, { key: '
|
|
24833
|
+
}, ariaAttributes: inputAria, form: (_a = this.formInternals.form) !== null && _a !== void 0 ? _a : undefined, suppressSubmitOnEnter: this.suppressSubmitOnEnter, textAlignment: this.textAlignment }), hAsync(SlotEnd, { key: '3f3add18b0970f05509463b7fcccc64bf06cae96', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, hAsync("ix-icon-button", { key: 'adc28dadd45db5e1cd2ba351aca4478585b4d850', color: "color-weak-text", class: {
|
|
24650
24834
|
'password-eye': true,
|
|
24651
24835
|
'eye-hidden': this.type !== 'password' || this.disabled,
|
|
24652
24836
|
}, variant: "tertiary", icon: this.inputType === 'password' ? iconEye : iconEyeCancelled, onClick: () => {
|
|
@@ -24655,7 +24839,7 @@ class Input {
|
|
|
24655
24839
|
return;
|
|
24656
24840
|
}
|
|
24657
24841
|
this.inputType = 'password';
|
|
24658
|
-
} }))), !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: '
|
|
24842
|
+
} }))), !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: '0990225bc71107d2863aef15564fee5bef14a7b0', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_b = this.value) !== null && _b !== void 0 ? _b : '').length, "/", this.maxLength)))));
|
|
24659
24843
|
}
|
|
24660
24844
|
static get formAssociated() { return true; }
|
|
24661
24845
|
get hostElement() { return getElement(this); }
|
|
@@ -24831,7 +25015,7 @@ class InputGroup {
|
|
|
24831
25015
|
return width;
|
|
24832
25016
|
}
|
|
24833
25017
|
render() {
|
|
24834
|
-
return (hAsync(Host, { key: '
|
|
25018
|
+
return (hAsync(Host, { key: 'b148a7e4ed2a11c543a98a6247797da3415b9bba', class: { disabled: this.disabled } }, hAsync("div", { key: '6aac120f6d3cad989a4409978760fb752c556711', class: "group group-start" }, hAsync("slot", { key: 'f2b68f9fd6b449b560823db825f04a6d154baf91', ref: (el) => (this.startSlotRef = el), name: "input-start" })), hAsync("slot", { key: '7aa651f145806d7c24ad00af93d9dfd267a9ce02' }), hAsync("div", { key: 'd6214bd6949bd22bdc62582d0f0089f884b5c6af', class: "group group-end" }, hAsync("slot", { key: '8eb65c2a35f67a2436c58cc8b04605f4d80b74f2', ref: (el) => (this.endSlotRef = el), name: "input-end" }))));
|
|
24835
25019
|
}
|
|
24836
25020
|
get hostElement() { return getElement(this); }
|
|
24837
25021
|
static get style() { return inputGroupCss; }
|
|
@@ -24866,6 +25050,10 @@ class IxActionCard {
|
|
|
24866
25050
|
* Card selection
|
|
24867
25051
|
*/
|
|
24868
25052
|
this.selected = false;
|
|
25053
|
+
/**
|
|
25054
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
25055
|
+
*/
|
|
25056
|
+
this.passive = false;
|
|
24869
25057
|
}
|
|
24870
25058
|
getSubheadingTextColor() {
|
|
24871
25059
|
return this.variant === 'outline' || this.variant === 'filled'
|
|
@@ -24876,7 +25064,7 @@ class IxActionCard {
|
|
|
24876
25064
|
const ariaLabelledBy = !this.ariaLabelCard && this.heading
|
|
24877
25065
|
? 'ix-action-card-heading'
|
|
24878
25066
|
: undefined;
|
|
24879
|
-
return (hAsync(Host, { key: '
|
|
25067
|
+
return (hAsync(Host, { key: '600ad1913e671fb47ec9da8f66e984bbde498fae' }, hAsync("ix-card", { key: '1a8168a17a643908126f841e9cdd6d0055a62399', selected: this.selected, variant: this.variant, passive: this.passive, class: 'pointer', "aria-label": this.ariaLabelCard, "aria-labelledby": ariaLabelledBy, role: ariaLabelledBy ? 'group' : undefined }, hAsync("ix-card-content", { key: 'c138b94b131af478fee65244f32b91cdf78b31df' }, this.icon ? (hAsync("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon || getFallbackLabelFromIconName(this.icon) })) : null, hAsync("div", { key: 'eb0252c628c75709fddae387a3b4a7abbf7c3df0' }, this.heading ? (hAsync("ix-typography", { id: "ix-action-card-heading", "aria-hidden": a11yBoolean(!ariaLabelledBy), format: "h4" }, this.heading)) : null, this.subheading ? (hAsync("ix-typography", { format: "h5", "text-color": this.getSubheadingTextColor() }, this.subheading)) : null, hAsync("slot", { key: 'f47fd515fc5b8f22344dc83b808e527116238618' }))))));
|
|
24880
25068
|
}
|
|
24881
25069
|
static get style() { return actionCardCss; }
|
|
24882
25070
|
static get cmpMeta() { return {
|
|
@@ -24889,7 +25077,8 @@ class IxActionCard {
|
|
|
24889
25077
|
"heading": [1],
|
|
24890
25078
|
"subheading": [1],
|
|
24891
25079
|
"selected": [4],
|
|
24892
|
-
"ariaLabelCard": [1, "aria-label-card"]
|
|
25080
|
+
"ariaLabelCard": [1, "aria-label-card"],
|
|
25081
|
+
"passive": [4]
|
|
24893
25082
|
},
|
|
24894
25083
|
"$listeners$": undefined,
|
|
24895
25084
|
"$lazyBundleId$": "-",
|
|
@@ -24931,7 +25120,7 @@ class IxTypography {
|
|
|
24931
25120
|
color: IxTypography.getTextColor(this.textColor),
|
|
24932
25121
|
};
|
|
24933
25122
|
}
|
|
24934
|
-
return (hAsync(Host, { key: '
|
|
25123
|
+
return (hAsync(Host, { key: 'bb094932ca94cb81bbfa4295c2a044fdcb92b9f6', class: typographyClass, style: style }, hAsync("slot", { key: 'b43d9ab39c7f56e613a72326c2b298893da68e96' })));
|
|
24935
25124
|
}
|
|
24936
25125
|
static get style() { return typographyCss; }
|
|
24937
25126
|
static get cmpMeta() { return {
|
|
@@ -24963,7 +25152,7 @@ class KeyValue {
|
|
|
24963
25152
|
this.labelPosition = 'top';
|
|
24964
25153
|
}
|
|
24965
25154
|
render() {
|
|
24966
|
-
return (hAsync(Host, { key: '
|
|
25155
|
+
return (hAsync(Host, { key: 'ee855752985c8321f4f9608cb957acd093293a9f', class: `keyValue keyValue--${this.labelPosition === 'top' ? 'column' : 'row'}` }, this.icon && (hAsync("ix-icon", { key: '6bfb94d5df575189c0df6e86cd65ea25a2dddecc', name: this.icon, size: "24", class: "keyValue__icon", "aria-label": this.ariaLabelIcon })), hAsync("div", { key: '028c1ca00511298ae99c1088a2800c0b7ccd97bd', class: "keyValue__content" }, hAsync("div", { key: '1b61165be2e1462f3d18e325236f9175b3a84a0d', class: "content__label" }, this.label), hAsync("div", { key: 'd778bac4980281cce97bade4247b8f3b62191e1b', class: {
|
|
24967
25156
|
content__value: true,
|
|
24968
25157
|
'has-customValue': this.value === undefined,
|
|
24969
25158
|
} }, this.value !== undefined ? (this.value) : (hAsync("slot", { name: "custom-value" }))))));
|
|
@@ -24996,7 +25185,7 @@ class KeyValueList {
|
|
|
24996
25185
|
this.striped = false;
|
|
24997
25186
|
}
|
|
24998
25187
|
render() {
|
|
24999
|
-
return (hAsync(Host, { key: '
|
|
25188
|
+
return (hAsync(Host, { key: '8ac8c1edacddbe11072e692c165c338bdaa6fcdf', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, hAsync("slot", { key: '844c573286e6022f4d3f53086b584425306f7f1e' })));
|
|
25000
25189
|
}
|
|
25001
25190
|
static get style() { return keyValueListCss; }
|
|
25002
25191
|
static get cmpMeta() { return {
|
|
@@ -25043,13 +25232,13 @@ class Kpi {
|
|
|
25043
25232
|
return tooltip;
|
|
25044
25233
|
}
|
|
25045
25234
|
render() {
|
|
25046
|
-
return (hAsync(Host, { key: '
|
|
25235
|
+
return (hAsync(Host, { key: '66e7a14d365489072d53128deddfe610ea2c0589', title: this.getTooltipText(), tabindex: "1", class: {
|
|
25047
25236
|
stacked: this.orientation === 'vertical',
|
|
25048
|
-
} }, hAsync("div", { key: '
|
|
25237
|
+
} }, hAsync("div", { key: '724d4ad85701d09ad46ad85d5d62150195545cb1', class: {
|
|
25049
25238
|
'kpi-container': true,
|
|
25050
25239
|
alarm: this.state === 'alarm',
|
|
25051
25240
|
warning: this.state === 'warning',
|
|
25052
|
-
} }, hAsync("span", { key: '
|
|
25241
|
+
} }, hAsync("span", { key: '581ec9d9dac67105f5d92fc714511a1578d0833d', class: "kpi-label" }, this.getStateIcon(), hAsync("span", { key: 'a81cb7fe8322e8d0682527c7d961a4d1fb32fd58', class: "kpi-label-text" }, this.label)), hAsync("span", { key: 'ed7cefc54de202ccab0e9d1ec1adc42eb74f6f78', class: "kpi-value-container" }, hAsync("span", { key: 'cade7321b2d3d1dc564480b3ad7f769f079b84d1', class: "kpi-value" }, this.value), this.unit ? hAsync("span", { class: "kpi-unit" }, this.unit) : ''))));
|
|
25053
25242
|
}
|
|
25054
25243
|
static get style() { return kpiCss; }
|
|
25055
25244
|
static get cmpMeta() { return {
|
|
@@ -25146,7 +25335,7 @@ class LayoutForm {
|
|
|
25146
25335
|
});
|
|
25147
25336
|
}
|
|
25148
25337
|
render() {
|
|
25149
|
-
return (hAsync(Host, { key: '
|
|
25338
|
+
return (hAsync(Host, { key: 'e80a4427592546a5c5155d23108840ec2e34ecd3' }, hAsync("div", { key: 'cf63d295988d17bf976bfddd13c13f8987b2ca1a', class: "container" }, hAsync("slot", { key: '0eaa6a54b56fa3f43adde3620178ccd25447507e' }))));
|
|
25150
25339
|
}
|
|
25151
25340
|
get hostElement() { return getElement(this); }
|
|
25152
25341
|
static get watchers() { return {
|
|
@@ -25184,12 +25373,12 @@ class LayoutGrid {
|
|
|
25184
25373
|
this.columns = 12;
|
|
25185
25374
|
}
|
|
25186
25375
|
render() {
|
|
25187
|
-
return (hAsync(Host, { key: '
|
|
25376
|
+
return (hAsync(Host, { key: '7ca75d3fb578d30d3b8e3d5d4455123ee7344456', class: {
|
|
25188
25377
|
'no-margin': this.noMargin,
|
|
25189
25378
|
}, style: {
|
|
25190
25379
|
'--ix-layout-grid-columns': `${this.columns}`,
|
|
25191
25380
|
'--ix-layout-grid-gutter': `${this.gap}px`,
|
|
25192
|
-
} }, hAsync("slot", { key: '
|
|
25381
|
+
} }, hAsync("slot", { key: '566e2bf1294f8780e4aedb8e2874bd2f216d3712' })));
|
|
25193
25382
|
}
|
|
25194
25383
|
static get style() { return layoutGridCss; }
|
|
25195
25384
|
static get cmpMeta() { return {
|
|
@@ -25223,13 +25412,13 @@ class LinkButton {
|
|
|
25223
25412
|
this.target = '_self';
|
|
25224
25413
|
}
|
|
25225
25414
|
render() {
|
|
25226
|
-
return (hAsync(Host, { key: '
|
|
25415
|
+
return (hAsync(Host, { key: '4d24f0a12d133ab58cb2a873536e68db17df2d5a' }, hAsync("a", { key: '0585700d404cf2d49597085527608c6db40ea97e', title: this.url, tabindex: "0", class: {
|
|
25227
25416
|
'link-button': true,
|
|
25228
25417
|
disabled: this.disabled,
|
|
25229
|
-
}, href: this.disabled ? undefined : this.url, target: this.target }, hAsync("ix-icon", { key: '
|
|
25418
|
+
}, href: this.disabled ? undefined : this.url, target: this.target }, hAsync("ix-icon", { key: '68d6611903eec80a879d4bfbb90a71fcdd05d5a0', class: "icon", name: iconChevronRightSmall, size: "16", "aria-hidden": "true" }), hAsync("div", { key: '4e4b66cb6cd469f56d9029a0ddbf5a44ea838128', class: {
|
|
25230
25419
|
link: true,
|
|
25231
25420
|
disabled: this.disabled,
|
|
25232
|
-
} }, hAsync("slot", { key: '
|
|
25421
|
+
} }, hAsync("slot", { key: 'eb961e003cfa95ceaf0033a19d1e12ff92b7f78f' })))));
|
|
25233
25422
|
}
|
|
25234
25423
|
static get style() { return linkButtonCss; }
|
|
25235
25424
|
static get cmpMeta() { return {
|
|
@@ -25291,6 +25480,7 @@ class Menu {
|
|
|
25291
25480
|
this.applicationDescription = '';
|
|
25292
25481
|
/**
|
|
25293
25482
|
* Accessibility i18n label for the burger menu of the sidebar
|
|
25483
|
+
* @deprecated Since 4.2.0. Will be removed in 5.0.0. The expand button is now hidden from screen readers with aria-hidden="true".
|
|
25294
25484
|
*/
|
|
25295
25485
|
this.i18nExpandSidebar = 'Expand sidebar';
|
|
25296
25486
|
/**
|
|
@@ -25330,6 +25520,7 @@ class Menu {
|
|
|
25330
25520
|
this.breakpoint = 'lg';
|
|
25331
25521
|
this.itemsScrollShadowTop = false;
|
|
25332
25522
|
this.itemsScrollShadowBottom = false;
|
|
25523
|
+
this.isDarkMode = false;
|
|
25333
25524
|
this.isTransitionDisabled = false;
|
|
25334
25525
|
// FBC IAM workaround #488
|
|
25335
25526
|
this.isVisible = (elm) => {
|
|
@@ -25338,6 +25529,12 @@ class Menu {
|
|
|
25338
25529
|
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
25339
25530
|
};
|
|
25340
25531
|
}
|
|
25532
|
+
expandChanged(newExpand, oldExpand) {
|
|
25533
|
+
if (newExpand === oldExpand) {
|
|
25534
|
+
return;
|
|
25535
|
+
}
|
|
25536
|
+
this.toggleMenu(newExpand);
|
|
25537
|
+
}
|
|
25341
25538
|
pinnedChange(newPinned) {
|
|
25342
25539
|
this.setPinned(this.pinned);
|
|
25343
25540
|
if (newPinned) {
|
|
@@ -25425,6 +25622,10 @@ class Menu {
|
|
|
25425
25622
|
menuController.register(this.hostElement);
|
|
25426
25623
|
applicationLayoutService.onChange.on((breakpoint) => this.onBreakpointChange(breakpoint));
|
|
25427
25624
|
this.onBreakpointChange(applicationLayoutService.breakpoint, true);
|
|
25625
|
+
this.updateThemeState();
|
|
25626
|
+
this.themeDisposer = themeSwitcher.schemaChanged.on(() => {
|
|
25627
|
+
this.updateThemeState();
|
|
25628
|
+
});
|
|
25428
25629
|
}
|
|
25429
25630
|
componentDidRender() {
|
|
25430
25631
|
if (!this.about && this.aboutNewsPopover) {
|
|
@@ -25432,6 +25633,14 @@ class Menu {
|
|
|
25432
25633
|
}
|
|
25433
25634
|
this.appendFragments();
|
|
25434
25635
|
}
|
|
25636
|
+
disconnectedCallback() {
|
|
25637
|
+
var _a;
|
|
25638
|
+
(_a = this.themeDisposer) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
25639
|
+
}
|
|
25640
|
+
updateThemeState() {
|
|
25641
|
+
const currentTheme = themeSwitcher.getCurrentTheme();
|
|
25642
|
+
this.isDarkMode = currentTheme.includes(themeSwitcher.suffixDark);
|
|
25643
|
+
}
|
|
25435
25644
|
setPinned(pinned) {
|
|
25436
25645
|
this.showPinned = pinned;
|
|
25437
25646
|
menuController.setIsPinned(pinned);
|
|
@@ -25682,47 +25891,55 @@ class Menu {
|
|
|
25682
25891
|
}
|
|
25683
25892
|
render() {
|
|
25684
25893
|
var _a, _b;
|
|
25685
|
-
|
|
25894
|
+
let overlayLabel;
|
|
25895
|
+
if (this.showSettings) {
|
|
25896
|
+
overlayLabel = this.i18nSettings;
|
|
25897
|
+
}
|
|
25898
|
+
else if (this.showAbout) {
|
|
25899
|
+
overlayLabel = this.i18nLegal;
|
|
25900
|
+
}
|
|
25901
|
+
return (hAsync(Host, { key: '7908b3049bc1a6888ec28b1adf487c445a29bd70', class: {
|
|
25686
25902
|
expanded: this.expand,
|
|
25687
25903
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
25688
|
-
}, slot: "menu" }, hAsync("nav", { key: '
|
|
25904
|
+
}, slot: "menu" }, hAsync("nav", { key: 'f4cf27af13639bcf878b735a9e6b736fb64191ee', "aria-label": this.applicationName, class: {
|
|
25689
25905
|
menu: true,
|
|
25690
25906
|
expanded: this.expand,
|
|
25691
|
-
} }, hAsync("div", { key: '
|
|
25692
|
-
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (hAsync("ix-icon-button", { key: '
|
|
25907
|
+
} }, hAsync("div", { key: '0f62e241cf573b88b434be91c74aca94433f4193', class: "menu-buttons" }, this.breakpoint !== 'sm' && (hAsync("ix-menu-expand-icon", { key: '035c270e6409bac89219b3e8d13f285f280dea82', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", onClick: async () => this.toggleMenu(), "data-testid": "expand-collapse-menu" })), this.breakpoint === 'sm' &&
|
|
25908
|
+
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (hAsync("ix-icon-button", { key: '15afec8a3ae367edf2a15aa17204c204fca4e557', onClick: () => {
|
|
25693
25909
|
this.showAppSwitch();
|
|
25694
|
-
}, icon: iconApps, variant: "subtle-tertiary" }))), hAsync("div", { key: '
|
|
25910
|
+
}, icon: iconApps, variant: "subtle-tertiary" }))), hAsync("div", { key: '78f667ac88c651abe7a0c035b23e01c77a5b3597', id: "menu-tabs", style: {
|
|
25695
25911
|
display: 'contents',
|
|
25696
|
-
}, onClick: (e) => this.onMenuItemsClick(e) }, hAsync("div", { key: '
|
|
25912
|
+
}, onClick: (e) => this.onMenuItemsClick(e) }, hAsync("div", { key: 'bb0ce756d9b06f762425afaa7d4fb117afc14cdc', class: "tabs-shadow-container" }, hAsync("div", { key: 'c587ef53745dc5bd34898f1ea448f1822e3e5d61', class: {
|
|
25697
25913
|
'tabs--shadow': true,
|
|
25698
25914
|
'tabs--shadow-top': true,
|
|
25699
25915
|
'tabs--shadow--show': this.itemsScrollShadowTop,
|
|
25700
|
-
} }), hAsync("div", { key: '
|
|
25916
|
+
} }), hAsync("div", { key: 'bd01c9f1d6d55df8d2a99adc8265bcb2123394ae', class: {
|
|
25701
25917
|
tabs: true,
|
|
25702
25918
|
'show-scrollbar': this.expand,
|
|
25703
|
-
}, onScroll: () => this.handleOverflowIndicator() }, hAsync("div", { key: '
|
|
25919
|
+
}, onScroll: () => this.handleOverflowIndicator() }, hAsync("div", { key: '1eb6c9ff52ad626d4e662f1f94edfcc98e949044', class: "menu-avatar" }, hAsync("slot", { key: '012eb4520d780e653b3b96d1d0278c839ce039b6', name: "ix-menu-avatar" })), hAsync("slot", { key: '96b4d1055376c0a1cd462d1c2d8de82bc2d4b7bd', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (hAsync("slot", null)) : null), hAsync("div", { key: '35f65a80ee3324ddac4d7c44e7d341aee870bfa1', class: {
|
|
25704
25920
|
'tabs--shadow': true,
|
|
25705
25921
|
'tabs--shadow-bottom': true,
|
|
25706
25922
|
'tabs--shadow--show': this.itemsScrollShadowBottom,
|
|
25707
|
-
} }))), hAsync("div", { key: '
|
|
25923
|
+
} }))), hAsync("div", { key: '8efbab0c1961bc53e850d5a1da667866f8716462', class: "bottom-tab-divider" }), this.settings ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
|
|
25708
25924
|
'internal-tab': true,
|
|
25709
25925
|
'bottom-tab': true,
|
|
25710
25926
|
active: this.showSettings,
|
|
25711
|
-
}, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, hAsync("div", { key: '
|
|
25927
|
+
}, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings, "aria-expanded": this.showSettings.toString(), "aria-controls": "menu-overlay" })) : null, this.enableToggleTheme ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme, role: "switch", "aria-checked": this.isDarkMode.toString() })) : null, hAsync("div", { key: '0380616a60db7d5984af88c5a3edb1199184a27d', onClick: (e) => this.onMenuItemsClick(e) }, hAsync("slot", { key: 'ee7506da4bdf9296e8477dea89d2e8f3dbc5d6b9', name: "bottom" })), hAsync("div", { key: '5113ea04bed4ecc0a6a4a6bd1552d5ca8a1c5302', id: "popover-area" }), this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null, this.about ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
|
|
25712
25928
|
'internal-tab': true,
|
|
25713
25929
|
'bottom-tab': true,
|
|
25714
25930
|
active: this.showAbout,
|
|
25715
|
-
}, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), hAsync("
|
|
25931
|
+
}, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal, "aria-expanded": this.showAbout.toString(), "aria-controls": "menu-overlay" })) : null), hAsync("section", { key: 'fa56100500bd7cbd4c6889c5541803ce9561f7d2', id: "menu-overlay", "aria-label": overlayLabel, class: {
|
|
25716
25932
|
'menu-overlay': true,
|
|
25717
25933
|
visible: this.isOverlayVisible(),
|
|
25718
25934
|
expanded: this.expand,
|
|
25719
25935
|
}, onTransitionEnd: () => {
|
|
25720
25936
|
this.isTransitionDisabled = true;
|
|
25721
25937
|
this.checkTransition();
|
|
25722
|
-
} }, hAsync("div", { key: '
|
|
25938
|
+
} }, hAsync("div", { key: 'c716d09e64b870e38b171e9d7ab731409b14689a', class: 'menu-overlay-container' }, this.showSettings ? hAsync("slot", { name: "ix-menu-settings" }) : null), hAsync("div", { key: '08d767b2045d549520f75babeaaba23146cc9463', class: 'menu-overlay-container' }, this.showAbout ? hAsync("slot", { name: "ix-menu-about" }) : null))));
|
|
25723
25939
|
}
|
|
25724
25940
|
get hostElement() { return getElement(this); }
|
|
25725
25941
|
static get watchers() { return {
|
|
25942
|
+
"expand": ["expandChanged"],
|
|
25726
25943
|
"pinned": ["pinnedChange"]
|
|
25727
25944
|
}; }
|
|
25728
25945
|
static get style() { return menuCss; }
|
|
@@ -25732,80 +25949,34 @@ class Menu {
|
|
|
25732
25949
|
"$members$": {
|
|
25733
25950
|
"showSettings": [1028, "show-settings"],
|
|
25734
25951
|
"showAbout": [1028, "show-about"],
|
|
25735
|
-
"enableToggleTheme": [4, "enable-toggle-theme"],
|
|
25736
|
-
"enableMapExpand": [4, "enable-map-expand"],
|
|
25737
|
-
"applicationName": [1, "application-name"],
|
|
25738
|
-
"applicationDescription": [1, "application-description"],
|
|
25739
|
-
"i18nExpandSidebar": [1, "i18n-expand-sidebar"],
|
|
25740
|
-
"expand": [1540],
|
|
25741
|
-
"startExpanded": [4, "start-expanded"],
|
|
25742
|
-
"pinned": [4],
|
|
25743
|
-
"i18nLegal": [1, "i18n-legal"],
|
|
25744
|
-
"i18nSettings": [1, "i18n-settings"],
|
|
25745
|
-
"i18nToggleTheme": [1, "i18n-toggle-theme"],
|
|
25746
|
-
"i18nExpand": [1, "i18n-expand"],
|
|
25747
|
-
"i18nCollapse": [1, "i18n-collapse"],
|
|
25748
|
-
"showPinned": [32],
|
|
25749
|
-
"mapExpand": [32],
|
|
25750
|
-
"breakpoint": [32],
|
|
25751
|
-
"itemsScrollShadowTop": [32],
|
|
25752
|
-
"itemsScrollShadowBottom": [32],
|
|
25753
|
-
"applicationLayoutContext": [32],
|
|
25754
|
-
"
|
|
25755
|
-
"
|
|
25756
|
-
"
|
|
25757
|
-
"
|
|
25758
|
-
|
|
25759
|
-
"$listeners$": [[9, "resize", "handleOverflowIndicator"], [0, "close", "onOverlayClose"]],
|
|
25760
|
-
"$lazyBundleId$": "-",
|
|
25761
|
-
"$attrsToReflect$": [["expand", "expand"]]
|
|
25762
|
-
}; }
|
|
25763
|
-
}
|
|
25764
|
-
|
|
25765
|
-
const menuSettingsCss = ".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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}a{color:var(--theme-color-primary)}:host{display:block;background-color:var(--theme-nav-overlay--background);padding:0.75rem 1rem 1rem 2rem;flex-grow:1;position:absolute;width:100%;height:100%}: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 .settings-header{display:flex;justify-content:space-between;flex-direction:row;align-items:center;height:2rem;margin-bottom:0.5rem}:host .settings-header h2{color:var(--theme-nav-overlay-header--color);margin-bottom:1rem}:host ix-tabs{margin-bottom:1.5rem}:host .settings-tabs{margin-bottom:1.5rem}";
|
|
25766
|
-
|
|
25767
|
-
class MenuSettings {
|
|
25768
|
-
constructor(hostRef) {
|
|
25769
|
-
registerInstance(this, hostRef);
|
|
25770
|
-
this.tabChange = createEvent(this, "tabChange", 7);
|
|
25771
|
-
this.close = createEvent(this, "close", 7);
|
|
25772
|
-
/**
|
|
25773
|
-
* Label of first tab
|
|
25774
|
-
*/
|
|
25775
|
-
this.label = 'Settings';
|
|
25776
|
-
/** @internal */
|
|
25777
|
-
this.show = false;
|
|
25778
|
-
}
|
|
25779
|
-
updateTab(newLabel, oldLabel) {
|
|
25780
|
-
if (newLabel !== oldLabel) {
|
|
25781
|
-
syncTabDisplay(this, newLabel);
|
|
25782
|
-
}
|
|
25783
|
-
}
|
|
25784
|
-
componentWillLoad() {
|
|
25785
|
-
initialize(this);
|
|
25786
|
-
}
|
|
25787
|
-
componentDidLoad() {
|
|
25788
|
-
}
|
|
25789
|
-
render() {
|
|
25790
|
-
return hAsync(MenuTabs, { key: 'bff35655d1e57ea807a1d8a6bd0879f8804e3ef4', context: this });
|
|
25791
|
-
}
|
|
25792
|
-
get el() { return getElement(this); }
|
|
25793
|
-
static get watchers() { return {
|
|
25794
|
-
"activeTabLabel": ["updateTab"]
|
|
25795
|
-
}; }
|
|
25796
|
-
static get style() { return menuSettingsCss; }
|
|
25797
|
-
static get cmpMeta() { return {
|
|
25798
|
-
"$flags$": 265,
|
|
25799
|
-
"$tagName$": "ix-menu-settings",
|
|
25800
|
-
"$members$": {
|
|
25801
|
-
"activeTabLabel": [1025, "active-tab-label"],
|
|
25802
|
-
"label": [1],
|
|
25803
|
-
"show": [4],
|
|
25804
|
-
"items": [32]
|
|
25952
|
+
"enableToggleTheme": [4, "enable-toggle-theme"],
|
|
25953
|
+
"enableMapExpand": [4, "enable-map-expand"],
|
|
25954
|
+
"applicationName": [1, "application-name"],
|
|
25955
|
+
"applicationDescription": [1, "application-description"],
|
|
25956
|
+
"i18nExpandSidebar": [1, "i18n-expand-sidebar"],
|
|
25957
|
+
"expand": [1540],
|
|
25958
|
+
"startExpanded": [4, "start-expanded"],
|
|
25959
|
+
"pinned": [4],
|
|
25960
|
+
"i18nLegal": [1, "i18n-legal"],
|
|
25961
|
+
"i18nSettings": [1, "i18n-settings"],
|
|
25962
|
+
"i18nToggleTheme": [1, "i18n-toggle-theme"],
|
|
25963
|
+
"i18nExpand": [1, "i18n-expand"],
|
|
25964
|
+
"i18nCollapse": [1, "i18n-collapse"],
|
|
25965
|
+
"showPinned": [32],
|
|
25966
|
+
"mapExpand": [32],
|
|
25967
|
+
"breakpoint": [32],
|
|
25968
|
+
"itemsScrollShadowTop": [32],
|
|
25969
|
+
"itemsScrollShadowBottom": [32],
|
|
25970
|
+
"applicationLayoutContext": [32],
|
|
25971
|
+
"isDarkMode": [32],
|
|
25972
|
+
"toggleMapExpand": [64],
|
|
25973
|
+
"toggleMenu": [64],
|
|
25974
|
+
"toggleSettings": [64],
|
|
25975
|
+
"toggleAbout": [64]
|
|
25805
25976
|
},
|
|
25806
|
-
"$listeners$":
|
|
25977
|
+
"$listeners$": [[9, "resize", "handleOverflowIndicator"], [0, "close", "onOverlayClose"]],
|
|
25807
25978
|
"$lazyBundleId$": "-",
|
|
25808
|
-
"$attrsToReflect$": []
|
|
25979
|
+
"$attrsToReflect$": [["expand", "expand"]]
|
|
25809
25980
|
}; }
|
|
25810
25981
|
}
|
|
25811
25982
|
|
|
@@ -25858,6 +26029,58 @@ function initialize(context) {
|
|
|
25858
26029
|
});
|
|
25859
26030
|
}
|
|
25860
26031
|
|
|
26032
|
+
const menuSettingsCss = ".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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}.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}a{color:var(--theme-color-primary)}:host{display:block;background-color:var(--theme-nav-overlay--background);padding:0.75rem 1rem 1rem 2rem;flex-grow:1;position:absolute;width:100%;height:100%}: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 .settings-header{display:flex;justify-content:space-between;flex-direction:row;align-items:center;height:2rem;margin-bottom:0.5rem}:host .settings-header h2{color:var(--theme-nav-overlay-header--color);margin-bottom:1rem}:host ix-tabs{margin-bottom:1.5rem}:host .settings-tabs{margin-bottom:1.5rem}";
|
|
26033
|
+
|
|
26034
|
+
class MenuSettings {
|
|
26035
|
+
constructor(hostRef) {
|
|
26036
|
+
registerInstance(this, hostRef);
|
|
26037
|
+
this.tabChange = createEvent(this, "tabChange", 7);
|
|
26038
|
+
this.close = createEvent(this, "close", 7);
|
|
26039
|
+
/**
|
|
26040
|
+
* Label of first tab
|
|
26041
|
+
*/
|
|
26042
|
+
this.label = 'Settings';
|
|
26043
|
+
/**
|
|
26044
|
+
* Aria label for close button
|
|
26045
|
+
*/
|
|
26046
|
+
this.ariaLabelCloseButton = 'Close Settings';
|
|
26047
|
+
/** @internal */
|
|
26048
|
+
this.show = false;
|
|
26049
|
+
}
|
|
26050
|
+
updateTab(newLabel, oldLabel) {
|
|
26051
|
+
if (newLabel !== oldLabel) {
|
|
26052
|
+
syncTabDisplay(this, newLabel);
|
|
26053
|
+
}
|
|
26054
|
+
}
|
|
26055
|
+
componentWillLoad() {
|
|
26056
|
+
initialize(this);
|
|
26057
|
+
}
|
|
26058
|
+
componentDidLoad() {
|
|
26059
|
+
}
|
|
26060
|
+
render() {
|
|
26061
|
+
return hAsync(MenuTabs, { key: 'eefc53f1fa300794513f41b1bc80ac9fd00e295e', context: this });
|
|
26062
|
+
}
|
|
26063
|
+
get el() { return getElement(this); }
|
|
26064
|
+
static get watchers() { return {
|
|
26065
|
+
"activeTabLabel": ["updateTab"]
|
|
26066
|
+
}; }
|
|
26067
|
+
static get style() { return menuSettingsCss; }
|
|
26068
|
+
static get cmpMeta() { return {
|
|
26069
|
+
"$flags$": 265,
|
|
26070
|
+
"$tagName$": "ix-menu-settings",
|
|
26071
|
+
"$members$": {
|
|
26072
|
+
"activeTabLabel": [1025, "active-tab-label"],
|
|
26073
|
+
"label": [1],
|
|
26074
|
+
"ariaLabelCloseButton": [1, "aria-label-close-button"],
|
|
26075
|
+
"show": [4],
|
|
26076
|
+
"items": [32]
|
|
26077
|
+
},
|
|
26078
|
+
"$listeners$": undefined,
|
|
26079
|
+
"$lazyBundleId$": "-",
|
|
26080
|
+
"$attrsToReflect$": []
|
|
26081
|
+
}; }
|
|
26082
|
+
}
|
|
26083
|
+
|
|
25861
26084
|
/*
|
|
25862
26085
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
25863
26086
|
*
|
|
@@ -25879,7 +26102,7 @@ const MenuTabs = ({ context }) => {
|
|
|
25879
26102
|
const selectedIndex = context.items.findIndex((item) => item.label === context.activeTabLabel);
|
|
25880
26103
|
return (hAsync(Host, { slot: context instanceof MenuSettings ? 'ix-menu-settings' : 'ix-menu-about', class: {
|
|
25881
26104
|
show: context.show,
|
|
25882
|
-
} }, hAsync("div", { class: context instanceof MenuSettings ? 'settings-header' : 'about-header' }, hAsync("h2", { class: "text-h2" }, context.label), hAsync("ix-icon-button", { variant: "tertiary", size: "24", icon: iconClose, iconColor: "color-soft-text", onClick: (e) => context.close.emit({
|
|
26105
|
+
} }, hAsync("div", { class: context instanceof MenuSettings ? 'settings-header' : 'about-header' }, hAsync("h2", { class: "text-h2" }, context.label), hAsync("ix-icon-button", { variant: "tertiary", size: "24", icon: iconClose, iconColor: "color-soft-text", "aria-label": context.ariaLabelCloseButton, onClick: (e) => context.close.emit({
|
|
25883
26106
|
name: context instanceof MenuSettings
|
|
25884
26107
|
? 'ix-menu-settings'
|
|
25885
26108
|
: 'ix-menu-about',
|
|
@@ -25898,6 +26121,10 @@ class MenuAbout {
|
|
|
25898
26121
|
* Content of the header
|
|
25899
26122
|
*/
|
|
25900
26123
|
this.label = 'About & legal information';
|
|
26124
|
+
/**
|
|
26125
|
+
* Aria label for close button
|
|
26126
|
+
*/
|
|
26127
|
+
this.ariaLabelCloseButton = 'Close About';
|
|
25901
26128
|
/** @internal */
|
|
25902
26129
|
this.show = false;
|
|
25903
26130
|
}
|
|
@@ -25912,7 +26139,7 @@ class MenuAbout {
|
|
|
25912
26139
|
componentDidLoad() {
|
|
25913
26140
|
}
|
|
25914
26141
|
render() {
|
|
25915
|
-
return hAsync(MenuTabs, { key: '
|
|
26142
|
+
return hAsync(MenuTabs, { key: 'ca696d609e81a77afbb7210a699c89e52cf2b59f', context: this });
|
|
25916
26143
|
}
|
|
25917
26144
|
get el() { return getElement(this); }
|
|
25918
26145
|
static get watchers() { return {
|
|
@@ -25925,6 +26152,7 @@ class MenuAbout {
|
|
|
25925
26152
|
"$members$": {
|
|
25926
26153
|
"activeTabLabel": [1025, "active-tab-label"],
|
|
25927
26154
|
"label": [1],
|
|
26155
|
+
"ariaLabelCloseButton": [1, "aria-label-close-button"],
|
|
25928
26156
|
"show": [4],
|
|
25929
26157
|
"items": [32]
|
|
25930
26158
|
},
|
|
@@ -25949,7 +26177,7 @@ class MenuAboutItem {
|
|
|
25949
26177
|
});
|
|
25950
26178
|
}
|
|
25951
26179
|
render() {
|
|
25952
|
-
return (hAsync(Host, { key: '
|
|
26180
|
+
return (hAsync(Host, { key: '2877a9c9386fb74d8c4fcfb72d5f31d8aa9057f1' }, hAsync("slot", { key: 'fc2e89e7a6a427dbbf3e2030949a4db31c34957e' })));
|
|
25953
26181
|
}
|
|
25954
26182
|
static get watchers() { return {
|
|
25955
26183
|
"label": ["watchLabel"]
|
|
@@ -25986,16 +26214,16 @@ class MenuAboutNews {
|
|
|
25986
26214
|
this.expanded = false;
|
|
25987
26215
|
}
|
|
25988
26216
|
render() {
|
|
25989
|
-
return (hAsync(Host, { key: '
|
|
26217
|
+
return (hAsync(Host, { key: '7443d209d383de9e46d8c024c1756ae814c5d764', class: {
|
|
25990
26218
|
expanded: this.expanded,
|
|
25991
26219
|
show: !this.show,
|
|
25992
|
-
} }, hAsync("div", { key: '
|
|
26220
|
+
} }, hAsync("div", { key: '034c93b01133fa50d28c0e4ce98becc53fe29158', class: "banner-container" }, hAsync("ix-icon", { key: '69df7443eba7107db4d4f20d2a628159a7ed8660', color: "color-inv-contrast-text", name: iconShout, size: "32" }), hAsync("svg", { key: '36cc1e785395307d29813cac4f13b1309ee2d257', viewBox: "0 0 48 56", xmlns: "http://www.w3.org/2000/svg" }, hAsync("polygon", { key: '35d4a86b62c225dc03329e6e53bdd6180d1a6b8e', points: "0 0 48 0 48 56 24 48 0 56" }))), hAsync("div", { key: 'd5f1d76a2bf661fb865fa7c4857b0f20d6f225dc', class: "cui-popover-news-header" }, hAsync("ix-typography", { key: 'd8ef22907758393fe430cc2a4940dea8ee7372e8', format: "label", bold: true }, this.label)), hAsync("ix-icon-button", { key: '2fb7cf52ee3bf3e475fc5fa6d0aaadec96246acc', size: "24", icon: iconClose, iconColor: "color-soft-text", variant: "tertiary", onClick: () => {
|
|
25993
26221
|
this.show = false;
|
|
25994
26222
|
this.closePopover.emit();
|
|
25995
|
-
} }), hAsync("div", { key: '
|
|
26223
|
+
} }), hAsync("div", { key: '8875b7027424233f78ac46c52cbeccc3d4fb7560', class: "slot-container" }, hAsync("slot", { key: 'b662f3b8c11a9c3ea639ed6b753a4b80ed038bec' })), this.aboutItemLabel ? (hAsync("div", { class: "cui-popover-news-footer" }, hAsync("ix-button", { variant: "primary", onClick: (e) => {
|
|
25996
26224
|
this.show = false;
|
|
25997
26225
|
this.showMore.emit(e);
|
|
25998
|
-
} }, this.i18nShowMore))) : null, hAsync("div", { key: '
|
|
26226
|
+
} }, this.i18nShowMore))) : null, hAsync("div", { key: '97cbdaf247a6f83b9361121cbac596dc86e2bb28', id: "arrow" })));
|
|
25999
26227
|
}
|
|
26000
26228
|
static get style() { return menuAboutNewsCss; }
|
|
26001
26229
|
static get cmpMeta() { return {
|
|
@@ -26028,11 +26256,19 @@ class MenuAvatar {
|
|
|
26028
26256
|
* Control the visibility of the logout button
|
|
26029
26257
|
*/
|
|
26030
26258
|
this.hideLogoutButton = false;
|
|
26259
|
+
/**
|
|
26260
|
+
* Enable Popover API rendering for dropdown.
|
|
26261
|
+
*
|
|
26262
|
+
* @default false
|
|
26263
|
+
* @since 4.3.0
|
|
26264
|
+
*/
|
|
26265
|
+
this.enableTopLayer = false;
|
|
26031
26266
|
/**
|
|
26032
26267
|
* Control the visibility of the dropdown menu
|
|
26033
26268
|
*/
|
|
26034
26269
|
this.showContextMenu = false;
|
|
26035
26270
|
this.avatarElementId = 'ix-menu-avatar-id';
|
|
26271
|
+
this.tooltipRef = makeRef();
|
|
26036
26272
|
}
|
|
26037
26273
|
onSlotChange() {
|
|
26038
26274
|
const slot = this.hostElement.shadowRoot.querySelector('slot');
|
|
@@ -26043,9 +26279,16 @@ class MenuAvatar {
|
|
|
26043
26279
|
this.showContextMenu = elements.length !== 0;
|
|
26044
26280
|
}
|
|
26045
26281
|
render() {
|
|
26046
|
-
|
|
26282
|
+
var _a;
|
|
26283
|
+
const tooltipText = (_a = this.tooltipText) !== null && _a !== void 0 ? _a : this.top;
|
|
26284
|
+
const ariaHidden = tooltipText === this.top;
|
|
26285
|
+
return (hAsync(Host, { key: '63251d35fc15b945de3bae097702c3e0e7377568', slot: "ix-menu-avatar" }, hAsync("button", { key: 'f50dd772c58b7b20e966d0a992f6e2537ebbe5bc', class: "nav-item top-item avatar no-hover", id: this.avatarElementId, tabIndex: 0 }, hAsync("ix-avatar", { key: '1b3ea2ab31cc248e021306b9399b5b2bbad1122f', image: this.image, initials: this.initials }), hAsync("div", { key: '1e8aee8c464ebc41e99d00b6933f6682d1c98019', class: "avatar-name" }, hAsync("span", { key: '3bc559472005be3d21b406fd9ea85fcb9737dcb6', class: "text-default-single" }, this.top), hAsync("span", { key: '023fb55cd5229df9aadec9daf86834e16944a66f', class: "text-default-single" }, this.bottom))), !!tooltipText && (hAsync("ix-tooltip", { key: '8e13fc36570e1152049b636ecabb042e7288c3e8', ref: this.tooltipRef, for: `#${this.avatarElementId}`, placement: 'right', "aria-hidden": a11yBoolean(ariaHidden), "aria-label": this.ariaLabelTooltip }, tooltipText)), hAsync("ix-dropdown", { key: '6a7e04c67894981100c3b81eb6ac9c5d9a16194a', trigger: this.hostElement, placement: 'right-start', hidden: !this.showContextMenu && this.hideLogoutButton, offset: {
|
|
26047
26286
|
mainAxis: 16,
|
|
26048
|
-
}
|
|
26287
|
+
}, onShowChanged: (event) => {
|
|
26288
|
+
if (event.detail && this.tooltipRef.current) {
|
|
26289
|
+
this.tooltipRef.current.hideTooltip(0);
|
|
26290
|
+
}
|
|
26291
|
+
}, enableTopLayer: this.enableTopLayer }, hAsync("slot", { key: 'd7444d53d15826d0999476c55bc428a89a6b73fa', onSlotchange: () => this.onSlotChange() }), !this.hideLogoutButton && (hAsync("ix-menu-avatar-item", { key: 'f6c1fc16b2b39ef2277ae01485f1b7014e72e568', label: this.i18nLogout, icon: iconLogOut, onClick: (e) => {
|
|
26049
26292
|
this.logoutClick.emit(e);
|
|
26050
26293
|
} })))));
|
|
26051
26294
|
}
|
|
@@ -26059,8 +26302,11 @@ class MenuAvatar {
|
|
|
26059
26302
|
"bottom": [1],
|
|
26060
26303
|
"image": [1],
|
|
26061
26304
|
"initials": [1],
|
|
26305
|
+
"tooltipText": [1, "tooltip-text"],
|
|
26306
|
+
"ariaLabelTooltip": [1, "aria-label-tooltip"],
|
|
26062
26307
|
"i18nLogout": [1, "i18n-logout"],
|
|
26063
26308
|
"hideLogoutButton": [4, "hide-logout-button"],
|
|
26309
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
26064
26310
|
"showContextMenu": [32]
|
|
26065
26311
|
},
|
|
26066
26312
|
"$listeners$": undefined,
|
|
@@ -26082,7 +26328,7 @@ class MenuAvatarItem {
|
|
|
26082
26328
|
return this.dropdownItemRef.waitForCurrent();
|
|
26083
26329
|
}
|
|
26084
26330
|
render() {
|
|
26085
|
-
return (hAsync("ix-dropdown-item", { key: '
|
|
26331
|
+
return (hAsync("ix-dropdown-item", { key: '437aead7832603097e4f814abef0108dcb0ad386', ref: this.dropdownItemRef, icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
|
|
26086
26332
|
}
|
|
26087
26333
|
get hostElement() { return getElement(this); }
|
|
26088
26334
|
static get style() { return menuAvatarItemCss; }
|
|
@@ -26275,7 +26521,7 @@ class MenuCategory {
|
|
|
26275
26521
|
}
|
|
26276
26522
|
}
|
|
26277
26523
|
render() {
|
|
26278
|
-
return (hAsync(Host, { key: '
|
|
26524
|
+
return (hAsync(Host, { key: 'edd1e65e5cd1cc96d1da1decfa666654d3926f6d', class: {
|
|
26279
26525
|
expanded: this.showItems,
|
|
26280
26526
|
}, onPointerEnter: () => {
|
|
26281
26527
|
this.enterLeaveDebounce.onEnter();
|
|
@@ -26284,14 +26530,14 @@ class MenuCategory {
|
|
|
26284
26530
|
return;
|
|
26285
26531
|
}
|
|
26286
26532
|
this.enterLeaveDebounce.onLeave();
|
|
26287
|
-
} }, hAsync("ix-menu-item", { key: '
|
|
26533
|
+
} }, hAsync("ix-menu-item", { key: 'bd7b6f2c2bef925249db2b73ad14e1454a291939', class: 'category-parent', active: this.isNestedItemActive(), notifications: this.notifications, icon: this.icon, onClick: (e) => this.onCategoryClick(e), onFocus: () => this.onPointerEnter(), tooltipText: this.tooltipText, isCategory: true }, hAsync("div", { key: '1bdd93be15ca3e24d491ce54aed4e441617bdbaf', class: "category" }, hAsync("div", { key: '37444ebec527ba83b30675b3c01411770989f77b', class: "category-text" }, this.label), hAsync("ix-icon", { key: '3e3967c7973058113c32f4f90a9343079bfc4d52', name: iconChevronDownSmall, class: {
|
|
26288
26534
|
'category-chevron': true,
|
|
26289
26535
|
'category-chevron--open': this.showItems,
|
|
26290
|
-
} }))), hAsync("div", { key: '
|
|
26536
|
+
}, "aria-hidden": "true" }))), hAsync("div", { key: '270aa92509cdf90771863199a9483d5039289d94', ref: (ref) => (this.menuItemsContainer = ref), class: {
|
|
26291
26537
|
'menu-items': true,
|
|
26292
26538
|
'menu-items--expanded': this.showItems,
|
|
26293
26539
|
'menu-items--collapsed': !this.showItems,
|
|
26294
|
-
} }, this.showItems ? hAsync("slot", null) : null), hAsync("ix-dropdown", { key: '
|
|
26540
|
+
} }, this.showItems ? hAsync("slot", null) : null), hAsync("ix-dropdown", { key: 'f81b8c80a0bef8cec723260df27c01ed0299a4d4', closeBehavior: 'both', show: this.showDropdown, onShowChanged: ({ detail: dropdownShown }) => {
|
|
26295
26541
|
this.showDropdown = dropdownShown;
|
|
26296
26542
|
}, class: 'category-dropdown', anchor: this.hostElement, placement: "right-start", offset: {
|
|
26297
26543
|
mainAxis: 3,
|
|
@@ -26304,7 +26550,7 @@ class MenuCategory {
|
|
|
26304
26550
|
e.preventDefault();
|
|
26305
26551
|
}
|
|
26306
26552
|
}
|
|
26307
|
-
} }, hAsync("ix-dropdown-item", { key: '
|
|
26553
|
+
} }, hAsync("ix-dropdown-item", { key: '88b93b5ac540e470b659e0fa0e2a788cf9da0b3d', class: 'category-dropdown-header' }, hAsync("ix-typography", { key: '2664b30d7a7aa21de7dd6874a8f8471bcb5f0dee', format: "label", bold: true, textColor: "std" }, this.label)), hAsync("ix-divider", { key: 'af94566fdd4ad843ce75332b8e511201bfad790c' }), hAsync("slot", { key: '735e220778d5ac78309c4133d11a1b8fad67431e' }))));
|
|
26308
26554
|
}
|
|
26309
26555
|
get hostElement() { return getElement(this); }
|
|
26310
26556
|
static get style() { return menuCategoryCss; }
|
|
@@ -26335,18 +26581,21 @@ const menuExpandIconCss = ":host{--ix-button-border-radius-left:var(--theme-btn-
|
|
|
26335
26581
|
class MenuExpandIcon {
|
|
26336
26582
|
constructor(hostRef) {
|
|
26337
26583
|
registerInstance(this, hostRef);
|
|
26338
|
-
/** Accessibility label for the menu expand icon (MANDATORY) */
|
|
26339
|
-
this.ixAriaLabel = 'Expand';
|
|
26340
26584
|
/** Whether the menu expand icon displays the expanded state or not */
|
|
26341
26585
|
this.expanded = false;
|
|
26342
26586
|
/** Display as pinned */
|
|
26343
26587
|
this.pinned = false;
|
|
26588
|
+
/**
|
|
26589
|
+
* Accessibility label for the menu expand icon
|
|
26590
|
+
* @deprecated This prop is no longer used as the component is hidden from screen readers (aria-hidden="true"). Will be removed in 5.0.0
|
|
26591
|
+
*/
|
|
26592
|
+
this.ixAriaLabel = 'Expand';
|
|
26344
26593
|
}
|
|
26345
26594
|
getSmallScreenIcon() {
|
|
26346
|
-
return (hAsync("button", { class: Object.assign(Object.assign({}, getButtonClasses('subtle-tertiary', true, false, false, false)), { 'menu-expand-button': true }) }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24" }, hAsync("rect", { class: "line line-1", x: "2", y: "5", width: "20", height: "2" }), hAsync("rect", { class: "line line-2", x: "2", y: "11", width: "13", height: "2" }), hAsync("rect", { class: "line line-3", x: "2", y: "17", width: "20", height: "2" }))));
|
|
26595
|
+
return (hAsync("button", { tabindex: -1, class: Object.assign(Object.assign({}, getButtonClasses('subtle-tertiary', true, false, false, false)), { 'menu-expand-button': true }) }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24" }, hAsync("rect", { class: "line line-1", x: "2", y: "5", width: "20", height: "2" }), hAsync("rect", { class: "line line-2", x: "2", y: "11", width: "13", height: "2" }), hAsync("rect", { class: "line line-3", x: "2", y: "17", width: "20", height: "2" }))));
|
|
26347
26596
|
}
|
|
26348
26597
|
getLargeScreenIcon() {
|
|
26349
|
-
return (hAsync("ix-icon-button", { icon: this.expanded ? iconDoubleChevronLeft : iconDoubleChevronRight, variant: "subtle-tertiary" }));
|
|
26598
|
+
return (hAsync("ix-icon-button", { tabindex: -1, icon: this.expanded ? iconDoubleChevronLeft : iconDoubleChevronRight, variant: "subtle-tertiary" }));
|
|
26350
26599
|
}
|
|
26351
26600
|
getMenuIcon() {
|
|
26352
26601
|
if (this.pinned) {
|
|
@@ -26361,19 +26610,19 @@ class MenuExpandIcon {
|
|
|
26361
26610
|
return this.getSmallScreenIcon();
|
|
26362
26611
|
}
|
|
26363
26612
|
render() {
|
|
26364
|
-
return (hAsync(Host, { key: '
|
|
26613
|
+
return (hAsync(Host, { key: '7955f6ca27cccacf73147ea3207e5147e03ce6d5', class: {
|
|
26365
26614
|
expanded: this.expanded,
|
|
26366
|
-
},
|
|
26615
|
+
}, "aria-hidden": "true" }, this.getMenuIcon()));
|
|
26367
26616
|
}
|
|
26368
26617
|
static get style() { return menuExpandIconCss; }
|
|
26369
26618
|
static get cmpMeta() { return {
|
|
26370
26619
|
"$flags$": 265,
|
|
26371
26620
|
"$tagName$": "ix-menu-expand-icon",
|
|
26372
26621
|
"$members$": {
|
|
26373
|
-
"ixAriaLabel": [1, "ix-aria-label"],
|
|
26374
26622
|
"expanded": [516],
|
|
26375
26623
|
"breakpoint": [513],
|
|
26376
|
-
"pinned": [4]
|
|
26624
|
+
"pinned": [4],
|
|
26625
|
+
"ixAriaLabel": [1, "ix-aria-label"]
|
|
26377
26626
|
},
|
|
26378
26627
|
"$listeners$": undefined,
|
|
26379
26628
|
"$lazyBundleId$": "-",
|
|
@@ -26476,27 +26725,25 @@ class MenuItem {
|
|
|
26476
26725
|
slot: 'bottom',
|
|
26477
26726
|
};
|
|
26478
26727
|
}
|
|
26479
|
-
const
|
|
26480
|
-
|
|
26481
|
-
tabIndex: this.disabled ? -1 : 0,
|
|
26482
|
-
};
|
|
26728
|
+
const hostA11y = a11yHostAttributes(this.hostElement);
|
|
26729
|
+
const commonAttributes = Object.assign({ class: 'tab', tabIndex: this.disabled ? -1 : 0 }, hostA11y);
|
|
26483
26730
|
const menuContent = [
|
|
26484
|
-
this.icon && hAsync("ix-icon", { key: '
|
|
26731
|
+
this.icon && (hAsync("ix-icon", { key: '3235cdce2773d33e6f1a75b4df395079246fa993', class: 'tab-icon', name: this.icon, "aria-hidden": "true" })),
|
|
26485
26732
|
this.notifications ? (hAsync("div", { class: "notification" }, hAsync("div", { class: "pill" }, this.notifications))) : null,
|
|
26486
|
-
hAsync("span", { key: '
|
|
26733
|
+
hAsync("span", { key: '704284ed9ae6b83b2b2d65ebc103e5e8ff766c1b', id: this.internalItemId, class: "tab-text text-default" }, this.label, hAsync("slot", { key: '6b79e39fb7e616088d11bd8b9c57f4406fdd94b6' })),
|
|
26487
26734
|
];
|
|
26488
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
26735
|
+
return (hAsync(Host, Object.assign({ key: '331694d5c502b1ed77035e591ffa5748777d8a81', class: {
|
|
26489
26736
|
disabled: this.disabled,
|
|
26490
26737
|
'home-tab': this.home,
|
|
26491
26738
|
'bottom-tab': this.bottom,
|
|
26492
26739
|
active: this.active,
|
|
26493
26740
|
'tab-nested': this.isHostedInsideCategory,
|
|
26494
|
-
} }, extendedAttributes), this.href ? (hAsync("a", Object.assign({}, commonAttributes, { href: this.disabled ? undefined : this.href, target: this.target, rel: this.rel, role: "button", ref: this.buttonRef, onClick: (e) => {
|
|
26741
|
+
}, "aria-disabled": this.disabled ? 'true' : null }, extendedAttributes), this.href ? (hAsync("a", Object.assign({}, commonAttributes, { href: this.disabled ? undefined : this.href, target: this.target, rel: this.rel, role: "button", ref: this.buttonRef, onClick: (e) => {
|
|
26495
26742
|
if (this.disabled) {
|
|
26496
26743
|
e.preventDefault();
|
|
26497
26744
|
e.stopPropagation();
|
|
26498
26745
|
}
|
|
26499
|
-
} }), menuContent)) : (hAsync("button", Object.assign({}, commonAttributes, { ref: this.buttonRef }), menuContent)), hAsync("ix-tooltip", { key: '
|
|
26746
|
+
} }), menuContent)) : (hAsync("button", Object.assign({}, commonAttributes, { ref: this.buttonRef }), menuContent)), hAsync("ix-tooltip", { key: 'd282a68bce72435079cbfea5234b227c92027643', for: this.buttonRef.waitForCurrent(), placement: 'right', showDelay: 1000, interactive: false, "aria-hidden": a11yBoolean(this.ariaHiddenTooltip), "aria-labelledby": this.internalItemId }, this.tooltip)));
|
|
26500
26747
|
}
|
|
26501
26748
|
get hostElement() { return getElement(this); }
|
|
26502
26749
|
static get watchers() { return {
|
|
@@ -26544,7 +26791,7 @@ class MenuSettingsItem {
|
|
|
26544
26791
|
});
|
|
26545
26792
|
}
|
|
26546
26793
|
render() {
|
|
26547
|
-
return (hAsync(Host, { key: '
|
|
26794
|
+
return (hAsync(Host, { key: '93bcd49368f3bcb45ca4405eb1f75d5a0699b784' }, hAsync("slot", { key: '3d2fd58e28f27f3f8355dc915fc78e15fb64bf61' })));
|
|
26548
26795
|
}
|
|
26549
26796
|
static get watchers() { return {
|
|
26550
26797
|
"label": ["watchLabel"]
|
|
@@ -26562,7 +26809,7 @@ class MenuSettingsItem {
|
|
|
26562
26809
|
}; }
|
|
26563
26810
|
}
|
|
26564
26811
|
|
|
26565
|
-
const messageBarCss = ":host{margin:0.5rem 0.5rem 0rem 0.5rem}: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 .message-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}:host .alarm{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .danger{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .critical{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-critical)}:host .warning{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}:host .success{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-success)}:host .info{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}:host .neutral{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-neutral)}:host .primary{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-primary)}:host .message-content{flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:normal;white-space:normal
|
|
26812
|
+
const messageBarCss = ":host{margin:0.5rem 0.5rem 0rem 0.5rem}: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 .message-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}:host .alarm{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .danger{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .critical{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-critical)}:host .warning{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}:host .success{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-success)}:host .info{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}:host .neutral{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-neutral)}:host .primary{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-primary)}:host .message-content{flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:normal;white-space:normal}:host ix-icon{margin-top:0.25rem}:host .message-bar-hidden{display:none}";
|
|
26566
26813
|
|
|
26567
26814
|
class MessageBar {
|
|
26568
26815
|
constructor(hostRef) {
|
|
@@ -26600,7 +26847,7 @@ class MessageBar {
|
|
|
26600
26847
|
}
|
|
26601
26848
|
}
|
|
26602
26849
|
render() {
|
|
26603
|
-
return (hAsync(Host, { key: '
|
|
26850
|
+
return (hAsync(Host, { key: '77cde4e0a2aa39b0838ccef1fe84dcd85a99f0e1' }, hAsync("div", { key: '319882aba72c886393d8162442a56dc8404ed386', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, hAsync("ix-icon", { key: 'a204e1952605dc54532a3a862c8d00f9c049727d', color: this.color, name: this.icon }), hAsync("div", { key: 'a1870021581d39097b24fae111a0f3418516cc1b', class: "message-content" }, hAsync("slot", { key: '96e9f8283842a5ef183e62b0b49ea879a61f303e' })), !this.persistent && (hAsync("ix-icon-button", { key: 'a136f9c0b1b557c3f789b569bbef64802f70cc26', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => {
|
|
26604
26851
|
if (this.divElement) {
|
|
26605
26852
|
this.closeAlert(this.divElement);
|
|
26606
26853
|
}
|
|
@@ -26662,7 +26909,7 @@ function waitForElement(selector, doc, timeout = 3000) {
|
|
|
26662
26909
|
});
|
|
26663
26910
|
}
|
|
26664
26911
|
|
|
26665
|
-
const modalCss = "::backdrop{background:var(--theme-color-lightbox, rgba(0, 0, 0, 0.5490196078))}:focus-visible{outline:none !important}:host{display:none}:host dialog{--ix-dialog-padding:1rem;margin:0;padding:var(--ix-dialog-padding);padding-top:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-top));padding-bottom:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-bottom));left:50%}:host
|
|
26912
|
+
const modalCss = "::backdrop{background:var(--theme-color-lightbox, rgba(0, 0, 0, 0.5490196078))}:focus-visible{outline:none !important}:host{display:none}:host dialog{--ix-dialog-padding:1rem;margin:0;padding:var(--ix-dialog-padding);padding-top:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-top));padding-bottom:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-bottom));left:50%}:host .modal{display:flex;flex-direction:column;position:fixed;border:none;border-radius:var(--theme-default-border-radius);background:var(--theme-modal--background);box-shadow:var(--theme-shadow-4);color:var(--theme-color-std-text);overflow:visible;max-height:80vh;pointer-events:all;overflow-wrap:break-word}:host .modal-size-360{width:22.5rem}:host .modal-size-480{width:30rem}:host .modal-size-600{width:37.5rem}:host .modal-size-720{width:45rem}:host .modal-size-840{width:52.5rem}:host .modal-size-full-width{width:95%}:host .modal-size-full-screen{border-radius:0;left:0 !important;top:0 !important;transform:none !important;box-shadow:none;--ix-dialog-full-screen-height:calc(\n var(--ix-safe-area-inset-top) + var(--ix-safe-area-inset-bottom)\n );width:calc(100% - var(--ix-dialog-padding) * 2);min-width:calc(100% - var(--ix-dialog-padding) * 2);max-width:calc(100% - var(--ix-dialog-padding) * 2);min-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height));max-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height))}:host dialog.modal-size-full-screen::backdrop{background:var(--theme-modal--background)}:host .dialog-backdrop{display:block;position:fixed;width:100vw;height:100vh;top:0;left:0;pointer-events:none}:host ::slotted(ix-modal-footer){margin-top:auto}:host(.visible){display:block}:host(.align-center) dialog{margin:0;left:50%;top:50%}:host(.no-backdrop) dialog::backdrop{background-color:transparent !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}:host(.with-icon) ::slotted(ix-modal-footer),:host(.with-icon) ::slotted(ix-modal-content){margin-left:3rem}";
|
|
26666
26913
|
|
|
26667
26914
|
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
26668
26915
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -26765,6 +27012,7 @@ class Modal {
|
|
|
26765
27012
|
const dialog = await waitForElement('dialog', this.hostElement.shadowRoot);
|
|
26766
27013
|
this.modalVisible = true;
|
|
26767
27014
|
dialog.showModal();
|
|
27015
|
+
this.slideInModal();
|
|
26768
27016
|
}
|
|
26769
27017
|
catch (e) {
|
|
26770
27018
|
console.error('HTMLDialogElement not existing');
|
|
@@ -26809,24 +27057,21 @@ class Modal {
|
|
|
26809
27057
|
this.dialogClose.emit(reason);
|
|
26810
27058
|
});
|
|
26811
27059
|
}
|
|
26812
|
-
componentDidLoad() {
|
|
26813
|
-
this.slideInModal();
|
|
26814
|
-
}
|
|
26815
27060
|
componentWillLoad() {
|
|
26816
27061
|
this.ariaAttributes = a11yHostAttributes(this.hostElement);
|
|
26817
27062
|
}
|
|
26818
27063
|
render() {
|
|
26819
|
-
return (hAsync(Host, { key: '
|
|
27064
|
+
return (hAsync(Host, { key: 'd5bb63f7716950339e3ab3be9cdf6e4bd914e958', class: {
|
|
26820
27065
|
visible: this.modalVisible,
|
|
26821
27066
|
'no-backdrop': this.hideBackdrop,
|
|
26822
27067
|
'align-center': this.centered,
|
|
26823
|
-
} }, hAsync("div", { key: '
|
|
27068
|
+
} }, hAsync("div", { key: 'ce234129ecd33f05b4049a90633dabc590244178', class: "dialog-backdrop" }, hAsync("dialog", { key: '65700de4d4e4e440ed81bdab67e9c54641aac02e', "aria-modal": a11yBoolean(true), "aria-describedby": this.ariaAttributes['aria-describedby'], "aria-labelledby": this.ariaAttributes['aria-labelledby'], class: {
|
|
26824
27069
|
modal: true,
|
|
26825
27070
|
[`modal-size-${this.size}`]: true,
|
|
26826
27071
|
}, onClose: () => this.dismissModal(), onMouseDown: (event) => this.onMouseDown(event), onMouseUp: (event) => this.onMouseUp(event), onCancel: (e) => {
|
|
26827
27072
|
e.preventDefault();
|
|
26828
27073
|
this.dismissModal();
|
|
26829
|
-
} }, hAsync("slot", { key: '
|
|
27074
|
+
} }, hAsync("slot", { key: '7a4bdf139d88ba4342d2cd6a2867683081c8f9e5' })))));
|
|
26830
27075
|
}
|
|
26831
27076
|
get hostElement() { return getElement(this); }
|
|
26832
27077
|
static get style() { return modalCss; }
|
|
@@ -26862,7 +27107,7 @@ class ModalContent {
|
|
|
26862
27107
|
registerInstance(this, hostRef);
|
|
26863
27108
|
}
|
|
26864
27109
|
render() {
|
|
26865
|
-
return (hAsync(Host, { key: '
|
|
27110
|
+
return (hAsync(Host, { key: '60b3a1c2a24a678788c823dde41f743d9bfa5aa7' }, hAsync("slot", { key: 'bba0935551ec0c9078c4ce867827bef053234cc2' })));
|
|
26866
27111
|
}
|
|
26867
27112
|
static get style() { return modalContentCss; }
|
|
26868
27113
|
static get cmpMeta() { return {
|
|
@@ -26882,7 +27127,7 @@ class ModalFooter {
|
|
|
26882
27127
|
registerInstance(this, hostRef);
|
|
26883
27128
|
}
|
|
26884
27129
|
render() {
|
|
26885
|
-
return (hAsync(Host, { key: '
|
|
27130
|
+
return (hAsync(Host, { key: '939d74c51190e3dcb1e29cd6d69a5001cdd6eaec' }, hAsync("slot", { key: '2805bc8ca2e78d57e7d961e80093dbe3f5dc8dc1' })));
|
|
26886
27131
|
}
|
|
26887
27132
|
static get style() { return modalFooterCss; }
|
|
26888
27133
|
static get cmpMeta() { return {
|
|
@@ -26928,7 +27173,7 @@ class ModalHeader {
|
|
|
26928
27173
|
this.parentDialog.dismissModal();
|
|
26929
27174
|
}
|
|
26930
27175
|
render() {
|
|
26931
|
-
return (hAsync(Host, { key: '
|
|
27176
|
+
return (hAsync(Host, { key: '05ede7c20a3b5cce70daba159f4b60c711697afb' }, this.icon ? (hAsync("ix-icon", { name: this.icon, color: this.iconColor, size: "32", "aria-label": this.ariaLabelIcon })) : null, hAsync("div", { key: '89e005b586e80c9f9a9642610d398b7511c50dd4', class: "modal-title" }, hAsync("ix-typography", { key: '07728aa2ea936e5d5f10806211b4183c8a9ac171', format: "h5" }, hAsync("slot", { key: '609defb48df9150be0d3d095a34659ad124be826' }))), !this.hideClose ? (hAsync("ix-icon-button", { class: "modal-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseIconButton })) : null));
|
|
26932
27177
|
}
|
|
26933
27178
|
get hostElement() { return getElement(this); }
|
|
26934
27179
|
static get watchers() { return {
|
|
@@ -26961,7 +27206,7 @@ class ModalLoading {
|
|
|
26961
27206
|
registerInstance(this, hostRef);
|
|
26962
27207
|
}
|
|
26963
27208
|
render() {
|
|
26964
|
-
return (hAsync(Host, { key: '
|
|
27209
|
+
return (hAsync(Host, { key: 'd323b6a4a1650629e0ac5338c97fd7b08929807f' }, hAsync("ix-spinner", { key: '94eab908aa232f0f022da10da6313cbe07388a3c', variant: "primary" }), hAsync("span", { key: 'a1d7732187718f8775d626e0a0be49fb7578bec6', class: 'loading-text' }, hAsync("slot", { key: 'bdbc66e91cc7f9ada60a3cda2f0347b40237d739' }))));
|
|
26965
27210
|
}
|
|
26966
27211
|
static get style() { return modalLoadingCss; }
|
|
26967
27212
|
static get cmpMeta() { return {
|
|
@@ -27232,22 +27477,22 @@ class NumberInput {
|
|
|
27232
27477
|
render() {
|
|
27233
27478
|
var _a;
|
|
27234
27479
|
const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
|
|
27235
|
-
return (hAsync(Host, { key: '
|
|
27480
|
+
return (hAsync(Host, { key: '17c1ce40e1018c0e1dab393a8f43aeb21d018abc', class: {
|
|
27236
27481
|
disabled: this.disabled,
|
|
27237
27482
|
readonly: this.readonly,
|
|
27238
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
27483
|
+
} }, hAsync("ix-field-wrapper", { key: 'b666f6c1d8cbb64032ee41a527da32cebd77ea0d', id: this.numberInputId, 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 }, hAsync("div", { key: 'f7bac1c0267387467cba5c578317a211907a2e20', class: {
|
|
27239
27484
|
'input-wrapper': true,
|
|
27240
27485
|
'show-stepper-buttons': !!this.showStepperButtons,
|
|
27241
|
-
} }, hAsync(SlotStart, { key: '
|
|
27486
|
+
} }, hAsync(SlotStart, { key: 'f631fa994ca763a4a082d0b385a51909ae069f4d', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), hAsync(InputElement, { key: '1ee725bff9ec089c6d748eb9e9182f33f07b8900', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, step: this.step, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.formatValue(this.value), placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), onKeyDown: (event) => this.handleKeyDown(event), onBeforeInput: (event) => this.handleBeforeInput(event), onPaste: (event) => this.handlePaste(event), valueChange: this.handleInputChange, updateFormInternalValue: (value) => {
|
|
27242
27487
|
const isScientificNotation = this.isScientificNotation(value.trim());
|
|
27243
27488
|
if (!isScientificNotation) {
|
|
27244
27489
|
const parsedValue = this.convertNumberStringToFloat(value);
|
|
27245
27490
|
this.updateFormInternalValue(parsedValue);
|
|
27246
27491
|
}
|
|
27247
|
-
}, onBlur: this.handleBlur, form: (_a = this.formInternals.form) !== null && _a !== void 0 ? _a : undefined, suppressSubmitOnEnter: this.suppressSubmitOnEnter, textAlignment: this.textAlignment }), hAsync(SlotEnd, { key: '
|
|
27492
|
+
}, onBlur: this.handleBlur, form: (_a = this.formInternals.form) !== null && _a !== void 0 ? _a : undefined, suppressSubmitOnEnter: this.suppressSubmitOnEnter, textAlignment: this.textAlignment }), hAsync(SlotEnd, { key: 'dae5e8e30107d43826ffee896b27579b9acad56d', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, hAsync("div", { key: '411cb729fcff7d39a60d17b722f68b00766714dd', class: {
|
|
27248
27493
|
'number-stepper-container': true,
|
|
27249
27494
|
'container-hidden': !showStepperButtons,
|
|
27250
|
-
} }, hAsync("ix-icon-button", { key: '
|
|
27495
|
+
} }, hAsync("ix-icon-button", { key: 'c410d5feadfc808702aad9b8f0d4566a43c38079', variant: "subtle-tertiary", icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => this.handleStepOperation('down') }), hAsync("ix-icon-button", { key: 'fc1da3c2072bf096f42878df84f367ac62f6d520', variant: "subtle-tertiary", icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => this.handleStepOperation('up') })))))));
|
|
27251
27496
|
}
|
|
27252
27497
|
static get formAssociated() { return true; }
|
|
27253
27498
|
get hostElement() { return getElement(this); }
|
|
@@ -27456,7 +27701,7 @@ class Pagination {
|
|
|
27456
27701
|
}
|
|
27457
27702
|
}
|
|
27458
27703
|
render() {
|
|
27459
|
-
return (hAsync(Host, { key: '
|
|
27704
|
+
return (hAsync(Host, { key: '87ceeea367a5c45d698729b11e63c95916ea386d' }, hAsync("ix-icon-button", { key: 'ab5dceee67b569df139144b1a3576eddff120482', disabled: !this.count || this.selectedPage === 0, variant: "subtle-tertiary", icon: iconChevronLeftSmall, onClick: () => this.decrease(), "aria-label": this.ariaLabelChevronLeftIconButton }), this.advanced ? (hAsync("div", { class: "advanced-pagination" }, hAsync("ix-typography", { format: "body" }, this.i18nPage), hAsync("input", { "aria-label": this.ariaLabelPageSelection, class: "ix-form-control page-selection", type: "number", min: "1", max: this.count, value: this.selectedPage + 1, onChange: (event) => {
|
|
27460
27705
|
const inputElement = event.target;
|
|
27461
27706
|
this.handlePageInput(inputElement.value);
|
|
27462
27707
|
}, onKeyDown: (event) => {
|
|
@@ -27470,10 +27715,10 @@ class Pagination {
|
|
|
27470
27715
|
}, onBlur: (e) => {
|
|
27471
27716
|
const inputElement = e.target;
|
|
27472
27717
|
inputElement.value = (this.selectedPage + 1).toString();
|
|
27473
|
-
} }), hAsync("span", { class: "total-count" }, hAsync("ix-typography", { format: "body" }, this.i18nOf, " ", this.count)))) : (hAsync("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), hAsync("ix-icon-button", { key: '
|
|
27718
|
+
} }), hAsync("span", { class: "total-count" }, hAsync("ix-typography", { format: "body" }, this.i18nOf, " ", this.count)))) : (hAsync("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), hAsync("ix-icon-button", { key: '9429f00c69a19f6a7ef444511265345b5a821611', disabled: !this.count || this.selectedPage === this.count - 1, variant: "subtle-tertiary", icon: iconChevronRightSmall, onClick: () => this.increase(), "aria-label": this.ariaLabelChevronRightIconButton }), this.advanced && !this.hideItemCount && (hAsync("span", { key: '137d49c4f064096f843767f5db6292895311c7df', class: "item-count" }, hAsync("ix-typography", { key: '5c01577adf0e147a19459ac06933395490471aae', format: "body" }, this.i18nItems), hAsync("ix-select", { key: '60be4defebb8df830bbf9d210e407c19e2e43820', hideListHeader: true, i18nPlaceholder: "", i18nSelectListHeader: "", value: `${this.itemCount}`, onValueChange: (e) => {
|
|
27474
27719
|
const count = Number.parseInt(Array.isArray(e.detail) ? e.detail[0] : e.detail);
|
|
27475
27720
|
this.itemCountChanged.emit(count);
|
|
27476
|
-
} }, hAsync("ix-select-item", { key: '
|
|
27721
|
+
} }, hAsync("ix-select-item", { key: '96db76852528700c3869f75f0d65144c54f2bb2e', label: "10", value: "10" }), hAsync("ix-select-item", { key: '02168ff6e69abd6be997c8e9e35f4c08e68fc3e5', label: "15", value: "15" }), hAsync("ix-select-item", { key: 'bb78749e12f32c2fdc87cca1455b7b087108c7e9', label: "20", value: "20" }), hAsync("ix-select-item", { key: '6fe3a35cafc4a2f3a9abc434ff328e0f9dfbb59b', label: "40", value: "40" }), hAsync("ix-select-item", { key: '4ebef54b0980ad0a2336b99702e0e82d92bfcb1c', label: "100", value: "100" }))))));
|
|
27477
27722
|
}
|
|
27478
27723
|
get hostElement() { return getElement(this); }
|
|
27479
27724
|
static get style() { return paginationCss; }
|
|
@@ -27948,7 +28193,7 @@ class Pane {
|
|
|
27948
28193
|
}
|
|
27949
28194
|
render() {
|
|
27950
28195
|
const rotate = !this.expanded && !this.isMobile && this.isLeftRightPane;
|
|
27951
|
-
return (hAsync(Host, { key: '
|
|
28196
|
+
return (hAsync(Host, { key: '5655829a1a9d23b744cde83c51912a44c297c0be', class: {
|
|
27952
28197
|
'floating-pane': this.floating,
|
|
27953
28198
|
'inline-pane': !this.floating,
|
|
27954
28199
|
'mobile-overlay': this.expanded && this.isMobile,
|
|
@@ -27972,28 +28217,28 @@ class Pane {
|
|
|
27972
28217
|
!this.expanded &&
|
|
27973
28218
|
!this.floating,
|
|
27974
28219
|
'not-visible': this.hideOnCollapse && !this.expanded,
|
|
27975
|
-
}, "aria-expanded": a11yBoolean(this.expanded) }, hAsync("aside", { key: '
|
|
28220
|
+
}, "aria-expanded": a11yBoolean(this.expanded) }, hAsync("aside", { key: 'c354042a5d5c30be1e13602b26be9c59c9d6e293', id: `pane-${this.composition}`, class: {
|
|
27976
28221
|
'top-bottom-pane': this.isBottomTopPane && !this.isMobile,
|
|
27977
28222
|
'left-right-pane': this.isLeftRightPane && !this.isMobile,
|
|
27978
28223
|
'mobile-pane': this.isMobile,
|
|
27979
28224
|
expanded: this.expanded,
|
|
27980
|
-
} }, hAsync("div", { key: '
|
|
28225
|
+
} }, hAsync("div", { key: '7b5115f90b02f1eeb4086e9a39abaf7f3a9f2301', id: "title-div", class: {
|
|
27981
28226
|
title: !this.isMobile && !this.hideOnCollapse && !this.showContent,
|
|
27982
28227
|
'title-finished': !this.isMobile && !this.hideOnCollapse && this.showContent,
|
|
27983
28228
|
'title-expanded': !this.isMobile && !this.hideOnCollapse && this.expanded,
|
|
27984
28229
|
'title-hide-on-collapse': !this.isMobile && this.hideOnCollapse,
|
|
27985
28230
|
'title-mobile': this.isMobile,
|
|
27986
28231
|
'header-gap': !this.isMobile && !this.hideOnCollapse,
|
|
27987
|
-
} }, hAsync("ix-icon-button", { key: '
|
|
28232
|
+
} }, hAsync("ix-icon-button", { key: 'b10c65e60762410373d745a4514fe7bc0a774b7c', class: "title-icon", size: "24", icon: this.expanded
|
|
27988
28233
|
? this.isMobile || this.hideOnCollapse
|
|
27989
28234
|
? iconClose
|
|
27990
28235
|
: this.expandIcon
|
|
27991
28236
|
: this.minimizeIcon, iconColor: this.expanded && (this.isMobile || this.hideOnCollapse)
|
|
27992
28237
|
? 'color-soft-text'
|
|
27993
|
-
: undefined, variant: "subtle-tertiary", onClick: () => this.dispatchExpandedChangedEvent(), "aria-controls": `pane-${this.composition}`, "aria-label": this.ariaLabelCollapseCloseButton }), hAsync("div", { key: '
|
|
28238
|
+
: undefined, variant: "subtle-tertiary", onClick: () => this.dispatchExpandedChangedEvent(), "aria-controls": `pane-${this.composition}`, "aria-label": this.ariaLabelCollapseCloseButton }), hAsync("div", { key: '7b0a88701252662ad99b0f2d133d4ac64a0259dd', class: {
|
|
27994
28239
|
'title-text': true,
|
|
27995
28240
|
rotate: rotate,
|
|
27996
|
-
} }, this.icon && (hAsync("ix-icon", { key: '
|
|
28241
|
+
} }, this.icon && (hAsync("ix-icon", { key: 'd3b0c6002271434c710d3e2bf93fc7c6fb95f466', class: "pane-icon", size: "24", name: this.icon, "aria-label": this.ariaLabelIcon })), hAsync("div", { key: '971a85390b48c8259bdb5931fe89ebc61f2e14ca', class: "title-text-overflow" }, hAsync("ix-typography", { key: '8e164a15a3176e56d1f43123f9fd4ac216af7abf', format: "h4" }, this.heading)), this.expanded && (hAsync("div", { key: '85e105570a86dc944969aa9036eb5f332c51096d', class: "slot-header" }, hAsync("slot", { key: '84b8c75d01ba8ae5b3a97e4bc6391fb5e3812f94', name: "header" }))))), hAsync("div", { key: '3f6fe81218741df36010b2b0743dae4fba7ee729', class: "side-pane-content", hidden: !this.showContent }, hAsync("slot", { key: '1b2c198261c7ec9f960a1be4773626408029c943' })))));
|
|
27997
28242
|
}
|
|
27998
28243
|
get hostElement() { return getElement(this); }
|
|
27999
28244
|
static get watchers() { return {
|
|
@@ -28084,6 +28329,7 @@ class Panes {
|
|
|
28084
28329
|
this.isMobile = matchBreakpoint('sm');
|
|
28085
28330
|
applicationLayoutService.onChange.on(() => {
|
|
28086
28331
|
this.isMobile = matchBreakpoint('sm');
|
|
28332
|
+
this.configurePanes();
|
|
28087
28333
|
});
|
|
28088
28334
|
}
|
|
28089
28335
|
componentDidLoad() {
|
|
@@ -28269,7 +28515,7 @@ class Panes {
|
|
|
28269
28515
|
return pane ? pane.floating : false;
|
|
28270
28516
|
}
|
|
28271
28517
|
render() {
|
|
28272
|
-
return (hAsync(Host, { key: '
|
|
28518
|
+
return (hAsync(Host, { key: '9642eb5fb53b9843df4eb4c558cce46fb48d8c6e' }, !this.isMobile ? (this.layout == 'full-vertical' ? (hAsync("div", { class: "side-panes-wrapper" }, hAsync("div", { class: {
|
|
28273
28519
|
row: true,
|
|
28274
28520
|
'padding-left': this.hasPadding('left'),
|
|
28275
28521
|
'padding-right': this.hasPadding('right'),
|
|
@@ -28376,13 +28622,13 @@ class Pill {
|
|
|
28376
28622
|
[this.outline ? 'borderColor' : 'backgroundColor']: this.background,
|
|
28377
28623
|
};
|
|
28378
28624
|
}
|
|
28379
|
-
return (hAsync(Host, { key: '
|
|
28625
|
+
return (hAsync(Host, { key: '92cc7c2458f3bbf26a62fb641a6a69c279aca3d4', style: this.variant === 'custom'
|
|
28380
28626
|
? {
|
|
28381
28627
|
'--ix-icon-button-color': this.pillColor,
|
|
28382
28628
|
}
|
|
28383
28629
|
: {}, class: {
|
|
28384
28630
|
'align-left': this.alignLeft,
|
|
28385
|
-
} }, hAsync("div", { key: '
|
|
28631
|
+
} }, hAsync("div", { key: '4b6a3abf6c93b8d8705e9e95738b0e2f1b270465', ref: this.containerElementRef, style: Object.assign({}, customStyle), class: {
|
|
28386
28632
|
container: true,
|
|
28387
28633
|
outline: this.outline,
|
|
28388
28634
|
inactive: false,
|
|
@@ -28397,9 +28643,9 @@ class Pill {
|
|
|
28397
28643
|
closable: false,
|
|
28398
28644
|
icon: !!this.icon,
|
|
28399
28645
|
'with-gap': !this.iconOnly,
|
|
28400
|
-
} }, this.icon && (hAsync("ix-icon", { key: '
|
|
28646
|
+
} }, this.icon && (hAsync("ix-icon", { key: '4739a22536b12b5124fc11a6f72f664539c2b662', class: {
|
|
28401
28647
|
'with-icon': true,
|
|
28402
|
-
}, name: this.icon, size: '16', "aria-label": this.ariaLabelIcon })), hAsync("span", { key: '
|
|
28648
|
+
}, name: this.icon, size: '16', "aria-label": this.ariaLabelIcon })), hAsync("span", { key: '90457e143210a0f070b775ba176aa35946e910c6', class: "slot-container" }, hAsync("slot", { key: 'bd7e9da045b7536b65a4c92ec37197bbfda0b478', onSlotchange: () => this.checkIfContentAvailable() }))), this.getTooltip()));
|
|
28403
28649
|
}
|
|
28404
28650
|
get hostElement() { return getElement(this); }
|
|
28405
28651
|
static get style() { return pillCss; }
|
|
@@ -28557,17 +28803,17 @@ class ProgressIndicator {
|
|
|
28557
28803
|
render() {
|
|
28558
28804
|
const normalizedValue = ((this.value - this.min) / (this.max - this.min)) * 100;
|
|
28559
28805
|
const clampedValue = Math.max(0, Math.min(normalizedValue, 100));
|
|
28560
|
-
return (hAsync(Host, { key: '
|
|
28806
|
+
return (hAsync(Host, { key: '2b61ee201b404c74d94b27b1bc8e847525df16f3', class: {
|
|
28561
28807
|
linear: this.type === 'linear',
|
|
28562
28808
|
circular: this.type === 'circular',
|
|
28563
|
-
}, tabIndex: -1 }, hAsync("div", { key: '
|
|
28809
|
+
}, tabIndex: -1 }, hAsync("div", { key: '24dfa287f33f59b789e8903a9a57dc77150446ab', class: {
|
|
28564
28810
|
'progress-indicator': true,
|
|
28565
28811
|
[this.size]: true,
|
|
28566
28812
|
[this.status]: true,
|
|
28567
28813
|
['text-center']: this.textAlignment === 'center',
|
|
28568
28814
|
['text-left']: this.textAlignment === 'left',
|
|
28569
28815
|
['text-right']: this.textAlignment === 'right',
|
|
28570
|
-
} }, this.label && (hAsync("ix-typography", { key: '
|
|
28816
|
+
} }, this.label && (hAsync("ix-typography", { key: 'fc63404e36273a9c29b4b9827ac43db007ffe0da', format: "label", textColor: this.status === 'error' ? 'alarm' : 'soft', class: 'label' }, this.label)), hAsync("div", { key: '5289e307d4488eee7494809b478fdb86077b666c', class: "progress-container" }, this.type === 'linear' ? (hAsync(Fragment, null, hAsync(LinearBar, { value: clampedValue, status: this.status }), hAsync("div", { class: "linear-slot" }, hAsync("slot", null)))) : (hAsync(CircularProgress, { status: this.status, alignment: this.textAlignment, value: clampedValue, size: this.size }, hAsync("slot", null)))), this.showTextAsTooltip === true && this.helperText ? (hAsync("ix-tooltip", { for: this.hostElement, showDelay: 500, placement: "bottom" }, this.getHelperText())) : (this.getHelperText()))));
|
|
28571
28817
|
}
|
|
28572
28818
|
get hostElement() { return getElement(this); }
|
|
28573
28819
|
static get style() { return progressIndicatorCss; }
|
|
@@ -28605,10 +28851,14 @@ class PushCard {
|
|
|
28605
28851
|
* Expand the card
|
|
28606
28852
|
*/
|
|
28607
28853
|
this.expanded = false;
|
|
28854
|
+
/**
|
|
28855
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
28856
|
+
*/
|
|
28857
|
+
this.passive = false;
|
|
28608
28858
|
}
|
|
28609
28859
|
render() {
|
|
28610
28860
|
var _a;
|
|
28611
|
-
return (hAsync(Host, { key: '
|
|
28861
|
+
return (hAsync(Host, { key: 'b5d6c4c34598670f4e8ae1228843b9afde2ef241', class: `card-${this.variant}` }, hAsync("ix-card", { key: 'a62c8dfd617a8c141dd6ccf3c95da7877d44f7b7', variant: this.variant, passive: this.passive }, hAsync("ix-card-content", { key: '4367ef2c91bf7b5ee9adef7c42b1a3f801b83bf9' }, hAsync("ix-card-title", { key: 'e17700e10181981d14e90c83f7f7e400a618df6e' }, this.icon ? (hAsync("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon })) : null, hAsync("ix-typography", { key: 'd10982fa32f721d09a4bb829dbf4ce7980ad1572', format: "display-xxl" }, (_a = this.notification) !== null && _a !== void 0 ? _a : 0), hAsync("slot", { key: '2c5ba728f0ed723750fd3daa37c0c849ef791e52', name: "title-action" })), hAsync("ix-typography", { key: 'b74801e57b670bdf5f1bfcfd3404502e118c00a5', format: "h4" }, this.heading), hAsync("ix-typography", { key: '4869e7565d8e301551efae7ca8679bfb1df02d75' }, this.subheading)), hAsync("ix-card-accordion", { key: '5fda212d77b6c8e1664d0c1a855b7b2e6a2ba26a', collapse: !this.expanded, variant: this.variant }, hAsync("slot", { key: '9cfe767d08c2c49811d7d6f8ee1cba049606977b' })))));
|
|
28612
28862
|
}
|
|
28613
28863
|
static get style() { return pushCardCss; }
|
|
28614
28864
|
static get cmpMeta() { return {
|
|
@@ -28621,7 +28871,8 @@ class PushCard {
|
|
|
28621
28871
|
"heading": [1],
|
|
28622
28872
|
"subheading": [1],
|
|
28623
28873
|
"variant": [1],
|
|
28624
|
-
"expanded": [4]
|
|
28874
|
+
"expanded": [4],
|
|
28875
|
+
"passive": [4]
|
|
28625
28876
|
},
|
|
28626
28877
|
"$listeners$": undefined,
|
|
28627
28878
|
"$lazyBundleId$": "-",
|
|
@@ -28744,17 +28995,17 @@ class Radio {
|
|
|
28744
28995
|
if (this.disabled) {
|
|
28745
28996
|
tabIndex = -1;
|
|
28746
28997
|
}
|
|
28747
|
-
return (hAsync(Host, { key: '
|
|
28998
|
+
return (hAsync(Host, { key: 'be54688d35e7f4e27210a2ea9be675a4f3a9fcbd', "aria-checked": a11yBoolean(this.checked), "aria-disabled": a11yBoolean(this.disabled), role: "radio", tabindex: tabIndex, class: {
|
|
28748
28999
|
disabled: this.disabled,
|
|
28749
29000
|
checked: this.checked,
|
|
28750
29001
|
}, onClick: () => {
|
|
28751
29002
|
if (this.disabled)
|
|
28752
29003
|
return;
|
|
28753
29004
|
this.setCheckedState(true);
|
|
28754
|
-
}, onKeyDown: (event) => this.onKeyDown(event), onBlur: () => this.ixBlur.emit() }, hAsync("label", { key: '
|
|
29005
|
+
}, onKeyDown: (event) => this.onKeyDown(event), onBlur: () => this.ixBlur.emit() }, hAsync("label", { key: '25b307478803a9a451ddb5bf799396682bb86dcf' }, hAsync("div", { key: 'd8d5e9e24af3d32f1595308e323432747c5ab537', class: "radio-button" }, hAsync("div", { key: '8ab8a79eaeb1bb388d4e541a2d79e54435f75432', "aria-hidden": "true", class: {
|
|
28755
29006
|
['radio-checkmark']: true,
|
|
28756
29007
|
checked: this.checked,
|
|
28757
|
-
} }, hAsync("div", { key: '
|
|
29008
|
+
} }, hAsync("div", { key: '9f4eb01307fa53d912d6ae3a36b337cd9b00da1b', class: "checkmark", style: { visibility: this.checked ? 'visible' : 'hidden' } }))), this.label && (hAsync("ix-typography", { key: 'dc769fcfa28d4bf6555078db85d3709a47d1a50b', format: "label", textColor: this.disabled ? 'weak' : 'std' }, this.label, hAsync("slot", { key: '08e71f05c95bfe2e45a1d47740e5ff851098c1ae' }))))));
|
|
28758
29009
|
}
|
|
28759
29010
|
static get formAssociated() { return true; }
|
|
28760
29011
|
get hostElement() { return getElement(this); }
|
|
@@ -28925,10 +29176,10 @@ class RadiobuttonGroup {
|
|
|
28925
29176
|
nextRadio.focus();
|
|
28926
29177
|
}
|
|
28927
29178
|
render() {
|
|
28928
|
-
return (hAsync(Host, { key: '
|
|
29179
|
+
return (hAsync(Host, { key: '7413f7b6787476e488a32908172af453c5d4766a', onIxBlur: () => (this.touched = true), ref: this.groupRef, role: "radiogroup" }, hAsync("ix-field-wrapper", { key: 'f2c064b320a5dcf018eaf423394b7ab41c1937a0', label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, isInvalid: this.isInvalid, controlRef: this.groupRef }, hAsync("div", { key: '027e3c597249277c357e7c4d9f1fa38b44b33593', class: {
|
|
28929
29180
|
'checkbox-container': true,
|
|
28930
29181
|
'row-layout': this.direction === 'row',
|
|
28931
|
-
} }, hAsync("slot", { key: '
|
|
29182
|
+
} }, hAsync("slot", { key: '50ad290972cbb2dbcf5a7b7ea559fabc899ee295' })))));
|
|
28932
29183
|
}
|
|
28933
29184
|
get hostElement() { return getElement(this); }
|
|
28934
29185
|
static get watchers() { return {
|
|
@@ -28975,7 +29226,7 @@ class Row {
|
|
|
28975
29226
|
registerInstance(this, hostRef);
|
|
28976
29227
|
}
|
|
28977
29228
|
render() {
|
|
28978
|
-
return (hAsync(Host, { key: '
|
|
29229
|
+
return (hAsync(Host, { key: 'edd5d38945ebc6f0b97cc6cf3ae0a9230f7dc2f2' }, hAsync("slot", { key: 'd2556a5cc69da0d7fc5f0779e8453761d45a1de0' })));
|
|
28979
29230
|
}
|
|
28980
29231
|
static get style() { return rowCss; }
|
|
28981
29232
|
static get cmpMeta() { return {
|
|
@@ -29040,7 +29291,7 @@ class Select {
|
|
|
29040
29291
|
* Current selected value.
|
|
29041
29292
|
* This corresponds to the value property of ix-select-items
|
|
29042
29293
|
*/
|
|
29043
|
-
this.value =
|
|
29294
|
+
this.value = '';
|
|
29044
29295
|
/**
|
|
29045
29296
|
* Show clear button
|
|
29046
29297
|
*/
|
|
@@ -29089,6 +29340,13 @@ class Select {
|
|
|
29089
29340
|
* Show "all" chip when all items are selected in multiple mode
|
|
29090
29341
|
*/
|
|
29091
29342
|
this.collapseMultipleSelection = false;
|
|
29343
|
+
/**
|
|
29344
|
+
* Enable Popover API rendering for dropdown.
|
|
29345
|
+
*
|
|
29346
|
+
* @default false
|
|
29347
|
+
* @since 4.3.0
|
|
29348
|
+
*/
|
|
29349
|
+
this.enableTopLayer = false;
|
|
29092
29350
|
this.dropdownShow = false;
|
|
29093
29351
|
this.selectedLabels = [];
|
|
29094
29352
|
this.isDropdownEmpty = false;
|
|
@@ -29194,7 +29452,7 @@ class Select {
|
|
|
29194
29452
|
if (!nestedDropdownItem) {
|
|
29195
29453
|
return;
|
|
29196
29454
|
}
|
|
29197
|
-
|
|
29455
|
+
requestAnimationFrameNoNgZone(() => {
|
|
29198
29456
|
var _a, _b;
|
|
29199
29457
|
(_b = (_a = nestedDropdownItem === null || nestedDropdownItem === void 0 ? void 0 : nestedDropdownItem.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
29200
29458
|
});
|
|
@@ -29501,8 +29759,9 @@ class Select {
|
|
|
29501
29759
|
clear() {
|
|
29502
29760
|
this.clearInput();
|
|
29503
29761
|
this.selectedLabels = [];
|
|
29504
|
-
this.
|
|
29505
|
-
this.
|
|
29762
|
+
const emptyValue = this.isSingleMode ? '' : [];
|
|
29763
|
+
this.value = emptyValue;
|
|
29764
|
+
this.emitValueChange(emptyValue);
|
|
29506
29765
|
this.dropdownShow = false;
|
|
29507
29766
|
}
|
|
29508
29767
|
onInputBlur(event) {
|
|
@@ -29593,9 +29852,9 @@ class Select {
|
|
|
29593
29852
|
}
|
|
29594
29853
|
render() {
|
|
29595
29854
|
var _a, _b, _c, _d;
|
|
29596
|
-
return (hAsync(Host, { key: '
|
|
29855
|
+
return (hAsync(Host, { key: '16454f9b21b23a17baac6e5eaa957aa453b0e0a2', "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
29597
29856
|
disabled: this.disabled,
|
|
29598
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
29857
|
+
} }, hAsync("ix-field-wrapper", { key: '96b609b89bef44bf6c82dc917edba6ecd88e51c2', 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 }, hAsync("div", { key: '4dd833dc65b9f45ac0385591594a7d99b1de28f6', class: {
|
|
29599
29858
|
select: true,
|
|
29600
29859
|
disabled: this.disabled,
|
|
29601
29860
|
readonly: this.readonly,
|
|
@@ -29603,11 +29862,11 @@ class Select {
|
|
|
29603
29862
|
this.dropdownAnchorRef(ref);
|
|
29604
29863
|
if (!this.editable)
|
|
29605
29864
|
this.dropdownWrapperRef(ref);
|
|
29606
|
-
} }, hAsync("div", { key: '
|
|
29865
|
+
} }, hAsync("div", { key: '65c49fc23c705bd5364e10f39ee87ba462a057a6', class: "input-container" }, hAsync("div", { key: '0079646e32601565ada100451382706439fa64ff', class: "chips" }, this.isMultipleMode &&
|
|
29607
29866
|
this.items.length !== 0 &&
|
|
29608
29867
|
(this.shouldDisplayAllChip()
|
|
29609
29868
|
? this.renderAllChip()
|
|
29610
|
-
: (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => this.renderChip(item))), hAsync("div", { key: '
|
|
29869
|
+
: (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => this.renderChip(item))), hAsync("div", { key: 'fa3c5d8c3ddaa1ed0219c1eb90473bd8752e0c27', class: "trigger" }, hAsync("input", { key: 'c1f859d6205dcef08b82e2756ad596af673fe970', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
29611
29870
|
'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
|
|
29612
29871
|
}, placeholder: this.placeholderValue(), value: (_c = this.inputValue) !== null && _c !== void 0 ? _c : '', ref: (ref) => {
|
|
29613
29872
|
this.inputElement = ref;
|
|
@@ -29626,9 +29885,9 @@ class Select {
|
|
|
29626
29885
|
: iconChevronDownSmall, variant: "subtle-tertiary", ref: (ref) => {
|
|
29627
29886
|
if (this.editable)
|
|
29628
29887
|
this.dropdownWrapperRef(ref);
|
|
29629
|
-
}, "aria-label": this.ariaLabelChevronDownIconButton }))))))), hAsync("ix-dropdown", { key: '
|
|
29888
|
+
}, "aria-label": this.ariaLabelChevronDownIconButton }))))))), hAsync("ix-dropdown", { key: '15f75d4cf2d81b0c6aa58d8e662282e7e1c72dc4', ref: (ref) => (this.dropdownElement = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
|
|
29630
29889
|
'display-none': this.disabled || this.readonly,
|
|
29631
|
-
}, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", overwriteDropdownStyle: async () => {
|
|
29890
|
+
}, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", enableTopLayer: this.enableTopLayer, overwriteDropdownStyle: async () => {
|
|
29632
29891
|
var _a, _b;
|
|
29633
29892
|
const styleOverwrites = {};
|
|
29634
29893
|
const minWidth = (_b = (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.select')) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect().width;
|
|
@@ -29642,12 +29901,12 @@ class Select {
|
|
|
29642
29901
|
styleOverwrites.maxWidth = `min(${this.dropdownMaxWidth}, 100%)`;
|
|
29643
29902
|
}
|
|
29644
29903
|
return styleOverwrites;
|
|
29645
|
-
} }, hAsync("div", { key: '
|
|
29904
|
+
} }, hAsync("div", { key: '01c0dc6db08b6439b9de3cefa0ac293f4bc04c14', class: {
|
|
29646
29905
|
'select-list-header': true,
|
|
29647
29906
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
29648
|
-
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), hAsync("slot", { key: '
|
|
29907
|
+
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), hAsync("slot", { key: '153ab49821fcba5e4f4dd82e1fb8e42c433d46a9', onSlotchange: () => {
|
|
29649
29908
|
this.updateSelection();
|
|
29650
|
-
} }), hAsync("div", { key: '
|
|
29909
|
+
} }), hAsync("div", { key: '5ea826f1b837b3f6945b796923cbf5f24f52eb0d', ref: (ref) => (this.customItemsContainerElement = ref) }), this.isAddItemVisible() ? (hAsync("ix-dropdown-item", { "data-testid": "add-item", icon: iconPlus, class: {
|
|
29651
29910
|
'add-item': true,
|
|
29652
29911
|
}, label: this.inputFilterText, onItemClick: (e) => {
|
|
29653
29912
|
e.preventDefault();
|
|
@@ -29694,6 +29953,7 @@ class Select {
|
|
|
29694
29953
|
"dropdownWidth": [1, "dropdown-width"],
|
|
29695
29954
|
"dropdownMaxWidth": [1, "dropdown-max-width"],
|
|
29696
29955
|
"collapseMultipleSelection": [4, "collapse-multiple-selection"],
|
|
29956
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
29697
29957
|
"dropdownShow": [32],
|
|
29698
29958
|
"selectedLabels": [32],
|
|
29699
29959
|
"isDropdownEmpty": [32],
|
|
@@ -29802,7 +30062,7 @@ class SelectItem {
|
|
|
29802
30062
|
}
|
|
29803
30063
|
}
|
|
29804
30064
|
render() {
|
|
29805
|
-
return (hAsync(Host, { key: '
|
|
30065
|
+
return (hAsync(Host, { key: 'd471aafd061cccdd058502fb02f16aa79fd7d37b' }, hAsync("ix-dropdown-item", { key: '6e57ba4665445e0ea0222f16177821a6fe53867e', class: {
|
|
29806
30066
|
'select-item-checked': this.selected,
|
|
29807
30067
|
}, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
|
|
29808
30068
|
}
|
|
@@ -29829,7 +30089,7 @@ class SelectItem {
|
|
|
29829
30089
|
}; }
|
|
29830
30090
|
}
|
|
29831
30091
|
|
|
29832
|
-
const sliderCss = ":host{display:flex;flex-direction:column;min-height:2rem;--thumb-size:1rem;--value:0;--trace-start:0;--trace-end:0;--trace-reference:0;--trace-reference-color:var(--theme-slider-track-marker--background);--trace-color:var(--theme-slider-trace--background);--tick-color:var(--theme-slider-track-marker--background);--tick-color--active:var(--theme-slider-trace-marker--background);--track-color:var(--theme-slider-track--background)}: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 input[type=range]{position:absolute;top:50%;transform:translateY(-50%);left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer;width:100%;height:
|
|
30092
|
+
const sliderCss = ":host{display:flex;flex-direction:column;min-height:2rem;justify-content:center;--thumb-size:1rem;--value:0;--trace-start:0;--trace-end:0;--trace-reference:0;--trace-reference-color:var(--theme-slider-track-marker--background);--trace-color:var(--theme-slider-trace--background);--tick-color:var(--theme-slider-track-marker--background);--tick-color--active:var(--theme-slider-trace-marker--background);--track-color:var(--theme-slider-track--background)}: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 input[type=range]{position:absolute;top:50%;transform:translateY(-50%);left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer;width:100%;height:1.5rem;margin:0}:host input[type=range].trace::before{content:\"\";position:absolute;display:block;z-index:-1;width:calc((var(--trace-end) - var(--trace-start)) * 100%);left:calc(var(--trace-start) * 100%);height:4px;background-color:var(--trace-color);top:50%;transform:translateY(-50%);border-radius:clamp(0rem, (0.01 - var(--trace-start)) * 999rem, 0.125rem) clamp(0rem, (var(--trace-end) - 0.99) * 999rem, 0.125rem) clamp(0rem, (var(--trace-end) - 0.99) * 999rem, 0.125rem) clamp(0rem, (0.01 - var(--trace-start)) * 999rem, 0.125rem)}:host .slider-container{width:100%}:host .slider-container .slider{width:100%}:host .slider-container .slider input[type=range]{width:100%}:host input[type=range].trace:not(.hide-trace-reference)::after{content:\"\";position:absolute;display:block;width:2px;height:16px;background-color:var(--trace-reference-color);top:50%;transform:translateY(-50%);left:calc(100% * var(--trace-reference))}:host input[type=range]::-webkit-slider-runnable-track{background:transparent;height:0.25rem}:host input[type=range]::-moz-range-track{background:transparent;height:0.25rem}:host input[type=range i]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-6px}:host input[type=range i]::-moz-range-thumb{border:none;border-radius:0}:host input[type=range]::-webkit-slider-thumb{border-radius:50%;background-color:var(--theme-slider-thumb--background);height:var(--thumb-size);width:var(--thumb-size);-webkit-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]::-moz-range-thumb{border-radius:50%;background-color:var(--theme-slider-thumb--background);height:var(--thumb-size);width:var(--thumb-size);-moz-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]:hover::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--hover)}:host input[type=range]:hover::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--hover)}:host input[type=range]:active::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--active)}:host input[type=range]:active::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--active)}:host input[type=range]:focus{outline:none}:host input[type=range]:focus-visible::-webkit-slider-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host input[type=range]:focus-visible::-moz-range-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host{}:host .ticks{position:absolute;top:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}:host .ticks circle.tick{--tick-size:6px;--tick-radius:calc(var(--tick-size) / 2);r:var(--tick-radius);fill:var(--tick-color);transform:translate(calc(var(--tick-value) * (100% - var(--thumb-size)) + var(--thumb-size) / 2), 50%)}:host .ticks .tick.tick-at-min{transform:translate(var(--tick-radius), 50%)}:host .ticks .tick.tick-at-max{transform:translate(calc(100% - var(--tick-radius)), 50%)}:host .ticks .tick.tick-active{fill:var(--tick-color--active)}:host .slider{position:relative;display:block;width:100%;height:1.5rem}:host .track{position:absolute;background-color:var(--track-color);height:4px;width:100%;top:50%;transform:translateY(-50%);left:0px;border-radius:2px}:host .thumb{display:block;position:absolute;background-color:transparent;height:1rem;width:1rem;border-radius:100px;top:50%;transform:translateY(-50%)}:host .hide-tooltip{display:none}:host .label{display:flex;position:relative;align-items:center;justify-content:space-between;width:100%;margin-top:0.5rem;min-height:0px}:host(.error),:host(.invalid){--trace-color:var(--theme-slider-trace--background--invalid);--tick-color--active:var(--theme-slider-trace-marker--background--invalid)}:host(.error) input[type=range]::-webkit-slider-thumb,:host(.invalid) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid)}:host(.error) input[type=range]::-moz-range-thumb,:host(.invalid) input[type=range]::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid)}:host(.error) input[type=range]:hover::-webkit-slider-thumb,:host(.invalid) input[type=range]:hover::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid--hover)}:host(.error) input[type=range]:hover::-moz-range-thumb,:host(.invalid) input[type=range]:hover::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid--hover)}:host(.error) input[type=range]:active::-webkit-slider-thumb,:host(.invalid) input[type=range]:active::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid--active)}:host(.error) input[type=range]:active::-moz-range-thumb,:host(.invalid) input[type=range]:active::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid--active)}:host(.disabled){pointer-events:none;--track-color:var(--theme-slider-track--background--disabled);--trace-color:var(--theme-slider-trace--background--disabled);--tick-color:var(--theme-slider-track-marker--background--disabled);--tick-color--active:var(--theme-slider-trace-marker--background--disabled)}:host(.disabled) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--disabled)}:host(.disabled) input[type=range]::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--disabled)}:host(.warning){--trace-color:var(--theme-color-warning-40);--tick-color--active:var(--theme-color-warning)}:host(.warning) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-warning)}:host(.warning) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-warning)}:host(.info){--trace-color:var(--theme-color-info-40);--tick-color--active:var(--theme-color-info)}:host(.info) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-info)}:host(.info) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-info)}:host(.valid){--trace-color:var(--theme-color-success-40);--tick-color--active:var(--theme-color-success)}:host(.valid) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-success)}:host(.valid) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-success)}";
|
|
29833
30093
|
|
|
29834
30094
|
/*
|
|
29835
30095
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
@@ -29861,6 +30121,7 @@ function between(min, value, max) {
|
|
|
29861
30121
|
}
|
|
29862
30122
|
}
|
|
29863
30123
|
/**
|
|
30124
|
+
* @form-ready
|
|
29864
30125
|
* @slot label-start - Element will be displayed at the start of the slider
|
|
29865
30126
|
* @slot label-end - Element will be displayed at the end of the slider
|
|
29866
30127
|
*/
|
|
@@ -29868,6 +30129,18 @@ class Slider {
|
|
|
29868
30129
|
constructor(hostRef) {
|
|
29869
30130
|
registerInstance(this, hostRef);
|
|
29870
30131
|
this.valueChange = createEvent(this, "valueChange", 7);
|
|
30132
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
30133
|
+
this.formInternals = hostRef.$hostElement$["s-ei"];
|
|
30134
|
+
}
|
|
30135
|
+
else {
|
|
30136
|
+
this.formInternals = hostRef.$hostElement$.attachInternals();
|
|
30137
|
+
hostRef.$hostElement$["s-ei"] = this.formInternals;
|
|
30138
|
+
}
|
|
30139
|
+
/**
|
|
30140
|
+
* Show helper, info, warning, error and valid text as tooltip
|
|
30141
|
+
* @since 4.3.0
|
|
30142
|
+
*/
|
|
30143
|
+
this.showTextAsTooltip = false;
|
|
29871
30144
|
/**
|
|
29872
30145
|
* Legal number intervals
|
|
29873
30146
|
*
|
|
@@ -29903,9 +30176,18 @@ class Slider {
|
|
|
29903
30176
|
this.rangeMax = 100;
|
|
29904
30177
|
this.rangeTraceReference = 0;
|
|
29905
30178
|
this.showTooltip = false;
|
|
30179
|
+
this.isInvalid = false;
|
|
30180
|
+
this.isValid = false;
|
|
30181
|
+
this.isInfo = false;
|
|
30182
|
+
this.isWarning = false;
|
|
30183
|
+
this.touched = false;
|
|
30184
|
+
this.controlRef = makeRef();
|
|
29906
30185
|
this.thumbRef = makeRef();
|
|
29907
30186
|
this.tooltipRef = makeRef();
|
|
29908
30187
|
}
|
|
30188
|
+
get hasLabels() {
|
|
30189
|
+
return !!this.hostElement.querySelector('[slot="label-start"], [slot="label-end"]');
|
|
30190
|
+
}
|
|
29909
30191
|
get tooltip() {
|
|
29910
30192
|
return this.tooltipRef.current;
|
|
29911
30193
|
}
|
|
@@ -29924,6 +30206,12 @@ class Slider {
|
|
|
29924
30206
|
}
|
|
29925
30207
|
(_b = this.tooltip) === null || _b === void 0 ? void 0 : _b.hideTooltip();
|
|
29926
30208
|
}
|
|
30209
|
+
onClassField({ isInvalid, isInfo, isValid, isWarning, isInvalidByRequired, }) {
|
|
30210
|
+
this.isInvalid = isInvalid || isInvalidByRequired;
|
|
30211
|
+
this.isInfo = isInfo;
|
|
30212
|
+
this.isValid = isValid;
|
|
30213
|
+
this.isWarning = isWarning;
|
|
30214
|
+
}
|
|
29927
30215
|
componentWillLoad() {
|
|
29928
30216
|
this.a11yAttributes = a11yHostAttributes(this.hostElement, [
|
|
29929
30217
|
'role',
|
|
@@ -29932,12 +30220,27 @@ class Slider {
|
|
|
29932
30220
|
'aria-valuenow',
|
|
29933
30221
|
]);
|
|
29934
30222
|
this.updateRangeVariables();
|
|
30223
|
+
this.setFormValueIfChanged(this.value);
|
|
29935
30224
|
}
|
|
29936
30225
|
updateRangeVariables() {
|
|
29937
30226
|
this.rangeInput = between(this.min, this.value, this.max);
|
|
29938
30227
|
this.rangeTraceReference = between(this.min, this.traceReference, this.max);
|
|
29939
30228
|
this.rangeMin = Math.min(this.min, this.max);
|
|
29940
30229
|
this.rangeMax = Math.max(this.min, this.max);
|
|
30230
|
+
if (this.value !== undefined) {
|
|
30231
|
+
this.setFormValueIfChanged(this.value);
|
|
30232
|
+
}
|
|
30233
|
+
}
|
|
30234
|
+
updateFormInternalValue(value) {
|
|
30235
|
+
this.setFormValueIfChanged(value);
|
|
30236
|
+
this.valueChange.emit(value);
|
|
30237
|
+
}
|
|
30238
|
+
setFormValueIfChanged(value) {
|
|
30239
|
+
const valueStr = value.toString();
|
|
30240
|
+
if (this.lastFormValue !== valueStr) {
|
|
30241
|
+
this.formInternals.setFormValue(valueStr);
|
|
30242
|
+
this.lastFormValue = valueStr;
|
|
30243
|
+
}
|
|
29941
30244
|
}
|
|
29942
30245
|
onInput(event) {
|
|
29943
30246
|
event.stopPropagation();
|
|
@@ -29950,6 +30253,9 @@ class Slider {
|
|
|
29950
30253
|
this.rangeInput = oldValue;
|
|
29951
30254
|
this.slider.value = oldValue.toString();
|
|
29952
30255
|
}
|
|
30256
|
+
else {
|
|
30257
|
+
this.updateFormInternalValue(value);
|
|
30258
|
+
}
|
|
29953
30259
|
}
|
|
29954
30260
|
}
|
|
29955
30261
|
emitInputEvent() {
|
|
@@ -29967,7 +30273,16 @@ class Slider {
|
|
|
29967
30273
|
onPointerUp() {
|
|
29968
30274
|
this.showTooltip = false;
|
|
29969
30275
|
}
|
|
30276
|
+
/** @internal */
|
|
30277
|
+
hasValidValue() {
|
|
30278
|
+
return Promise.resolve(true);
|
|
30279
|
+
}
|
|
30280
|
+
/** @internal */
|
|
30281
|
+
isTouched() {
|
|
30282
|
+
return Promise.resolve(this.touched);
|
|
30283
|
+
}
|
|
29970
30284
|
render() {
|
|
30285
|
+
var _a;
|
|
29971
30286
|
const range = this.rangeMax - this.rangeMin;
|
|
29972
30287
|
let traceReferenceInPercentage = (this.rangeTraceReference - this.rangeMin) / range;
|
|
29973
30288
|
let valueInPercentage = (this.rangeInput - this.rangeMin) / range;
|
|
@@ -29978,42 +30293,46 @@ class Slider {
|
|
|
29978
30293
|
traceStart = valueInPercentage;
|
|
29979
30294
|
traceEnd = traceReferenceInPercentage;
|
|
29980
30295
|
}
|
|
29981
|
-
return (hAsync(Host, { key: '
|
|
30296
|
+
return (hAsync(Host, { key: 'dcce2da89192816ddc61f9f1950a399ebdf53766', class: {
|
|
29982
30297
|
disabled: this.disabled,
|
|
29983
30298
|
error: !!this.error,
|
|
29984
|
-
|
|
29985
|
-
|
|
29986
|
-
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
|
|
29992
|
-
|
|
29993
|
-
|
|
29994
|
-
|
|
29995
|
-
|
|
29996
|
-
|
|
29997
|
-
|
|
29998
|
-
|
|
29999
|
-
|
|
30299
|
+
invalid: this.isInvalid,
|
|
30300
|
+
info: this.isInfo,
|
|
30301
|
+
valid: this.isValid,
|
|
30302
|
+
warning: this.isWarning,
|
|
30303
|
+
}, onPointerDown: () => setTimeout(() => (this.showTooltip = true)) }, hAsync("ix-field-wrapper", { key: 'a3ce51bbc6f18cfbc99c3ef821016c6421217ffe', label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, isInvalid: this.isInvalid, controlRef: this.controlRef }, hAsync("div", { key: '602a467d24592696b8f5ebaf13f1b7d5e3451e38', class: "slider-container" }, hAsync("div", { key: 'b9ded80de026dfc23f6892ef5fab71bcf9444011', class: "slider" }, hAsync("div", { key: '78472ae8734b51390efeac850ffe2400e8fd67be', class: "track" }, hAsync("div", { key: '0183018c9421d77caa857d6e8ff83dce0b7714f1', ref: this.thumbRef, class: "thumb", style: {
|
|
30304
|
+
left: `calc(${valueInPercentage} * (100% - 1rem))`,
|
|
30305
|
+
} }), hAsync("svg", { key: '3a43071be5fb88e7ae8d0f8abd34f7cef203fb54', class: "ticks", xmlns: "http://www.w3.org/2000/svg" }, (_a = this.marker) === null || _a === void 0 ? void 0 : _a.filter((markerValue) => markerValue >= this.min && markerValue <= this.max).map((markerValue) => {
|
|
30306
|
+
const markerPosition = (markerValue - this.rangeMin) / range;
|
|
30307
|
+
return (hAsync("circle", { class: {
|
|
30308
|
+
tick: true,
|
|
30309
|
+
'tick-active': this.isMarkerActive(markerValue) && this.trace,
|
|
30310
|
+
'tick-at-min': markerPosition === 0,
|
|
30311
|
+
'tick-at-max': markerPosition === 1,
|
|
30312
|
+
}, cx: "0", cy: "0", style: {
|
|
30313
|
+
'--tick-value': `${markerPosition}`,
|
|
30314
|
+
} }));
|
|
30315
|
+
}))), hAsync("input", Object.assign({ key: '1f1304342e72682bc040994e96297a31a61f4d00', id: "slider", ref: this.controlRef, type: "range", list: this.marker ? 'markers' : undefined, step: this.step, min: this.min, max: this.max, value: this.rangeInput, tabindex: this.disabled ? -1 : 0, onInput: (event) => this.onInput(event), onFocus: () => {
|
|
30316
|
+
this.showTooltip = true;
|
|
30317
|
+
this.touched = true;
|
|
30318
|
+
}, onBlur: () => {
|
|
30319
|
+
this.showTooltip = false;
|
|
30320
|
+
}, style: {
|
|
30000
30321
|
'--value': `${valueInPercentage}`,
|
|
30001
30322
|
'--trace-reference': `${traceReferenceInPercentage}`,
|
|
30002
30323
|
'--trace-start': `${traceStart}`,
|
|
30003
30324
|
'--trace-end': `${traceEnd}`,
|
|
30004
30325
|
}, class: {
|
|
30005
|
-
trace: this.trace &&
|
|
30326
|
+
trace: this.trace &&
|
|
30327
|
+
traceReferenceInPercentage !== valueInPercentage,
|
|
30006
30328
|
'hide-trace-reference': this.trace &&
|
|
30007
30329
|
(this.traceReference <= this.min ||
|
|
30008
30330
|
this.traceReference >= this.max),
|
|
30009
|
-
},
|
|
30010
|
-
this.showTooltip = true;
|
|
30011
|
-
}, onBlur: () => {
|
|
30012
|
-
this.showTooltip = false;
|
|
30013
|
-
}, role: "slider", "aria-valuenow": this.rangeInput, "aria-valuemin": this.min, "aria-valuemax": this.max }, this.a11yAttributes)), hAsync("ix-tooltip", { key: 'c887ce7b3d18a92de4cf359fb9f8706393a82529', ref: this.tooltipRef, class: {
|
|
30331
|
+
}, role: "slider", "aria-valuenow": this.rangeInput, "aria-valuemin": this.min, "aria-valuemax": this.max }, this.a11yAttributes)), hAsync("ix-tooltip", { key: 'e0c3c6b098a2112cbcc27a90a8cdb696148109dc', ref: this.tooltipRef, class: {
|
|
30014
30332
|
'hide-tooltip': !this.showTooltip,
|
|
30015
|
-
}, animationFrame: true, for: this.thumbRef.waitForCurrent() }, this.rangeInput)), hAsync("div", { key: '
|
|
30333
|
+
}, animationFrame: true, for: this.thumbRef.waitForCurrent() }, this.rangeInput)), this.hasLabels && (hAsync("div", { key: '0a04945ac1055fbcd7e4b05b1188071e5e58180b', class: "label" }, hAsync("div", { key: 'e1d1f0963b6e56947afeb9e371c1404b9b0fb819' }, hAsync("slot", { key: '16e408212c6193e840f399343cfe2d3a8e260e30', name: "label-start" })), hAsync("div", { key: '569530a9d3f987a0993ea8f79709b5f2252e0956' }, hAsync("slot", { key: 'aba45e17633571d07a3dc95d46502dd6ebdc0aae', name: "label-end" })))), this.error ? (hAsync("ix-typography", { textColor: "alarm" }, this.error)) : null))));
|
|
30016
30334
|
}
|
|
30335
|
+
static get formAssociated() { return true; }
|
|
30017
30336
|
get hostElement() { return getElement(this); }
|
|
30018
30337
|
static get watchers() { return {
|
|
30019
30338
|
"showTooltip": ["onShowTooltipChange"],
|
|
@@ -30024,9 +30343,16 @@ class Slider {
|
|
|
30024
30343
|
}; }
|
|
30025
30344
|
static get style() { return sliderCss; }
|
|
30026
30345
|
static get cmpMeta() { return {
|
|
30027
|
-
"$flags$":
|
|
30346
|
+
"$flags$": 329,
|
|
30028
30347
|
"$tagName$": "ix-slider",
|
|
30029
30348
|
"$members$": {
|
|
30349
|
+
"helperText": [1, "helper-text"],
|
|
30350
|
+
"label": [1],
|
|
30351
|
+
"invalidText": [1, "invalid-text"],
|
|
30352
|
+
"infoText": [1, "info-text"],
|
|
30353
|
+
"warningText": [1, "warning-text"],
|
|
30354
|
+
"validText": [1, "valid-text"],
|
|
30355
|
+
"showTextAsTooltip": [4, "show-text-as-tooltip"],
|
|
30030
30356
|
"step": [2],
|
|
30031
30357
|
"min": [2],
|
|
30032
30358
|
"max": [2],
|
|
@@ -30040,13 +30366,22 @@ class Slider {
|
|
|
30040
30366
|
"rangeMin": [32],
|
|
30041
30367
|
"rangeMax": [32],
|
|
30042
30368
|
"rangeTraceReference": [32],
|
|
30043
|
-
"showTooltip": [32]
|
|
30369
|
+
"showTooltip": [32],
|
|
30370
|
+
"isInvalid": [32],
|
|
30371
|
+
"isValid": [32],
|
|
30372
|
+
"isInfo": [32],
|
|
30373
|
+
"isWarning": [32],
|
|
30374
|
+
"hasValidValue": [64],
|
|
30375
|
+
"isTouched": [64]
|
|
30044
30376
|
},
|
|
30045
30377
|
"$listeners$": undefined,
|
|
30046
30378
|
"$lazyBundleId$": "-",
|
|
30047
30379
|
"$attrsToReflect$": []
|
|
30048
30380
|
}; }
|
|
30049
30381
|
}
|
|
30382
|
+
__decorate$4([
|
|
30383
|
+
HookValidationLifecycle()
|
|
30384
|
+
], Slider.prototype, "onClassField", null);
|
|
30050
30385
|
__decorate$4([
|
|
30051
30386
|
OnListener('pointerup', (self) => self.showTooltip)
|
|
30052
30387
|
], Slider.prototype, "onPointerUp", null);
|
|
@@ -30070,7 +30405,7 @@ class Spinner {
|
|
|
30070
30405
|
this.hideTrack = false;
|
|
30071
30406
|
}
|
|
30072
30407
|
render() {
|
|
30073
|
-
return (hAsync(Host, { key: '
|
|
30408
|
+
return (hAsync(Host, { key: '8aa6edb9059ebaafe7f052083ca680c2bc5df2cc' }, hAsync("div", { key: 'ef628ecd03a1a6b3cdd36d90fb60676fc03fc90d', class: {
|
|
30074
30409
|
primary: this.variant === 'primary',
|
|
30075
30410
|
[this.size]: true,
|
|
30076
30411
|
'hide-track': this.hideTrack,
|
|
@@ -30126,6 +30461,13 @@ class SplitButton {
|
|
|
30126
30461
|
* Placement of the dropdown
|
|
30127
30462
|
*/
|
|
30128
30463
|
this.placement = 'bottom-start';
|
|
30464
|
+
/**
|
|
30465
|
+
* Enable Popover API rendering for dropdown.
|
|
30466
|
+
*
|
|
30467
|
+
* @default false
|
|
30468
|
+
* @since 4.3.0
|
|
30469
|
+
*/
|
|
30470
|
+
this.enableTopLayer = false;
|
|
30129
30471
|
this.toggle = false;
|
|
30130
30472
|
this.triggerElementRef = makeRef();
|
|
30131
30473
|
}
|
|
@@ -30145,7 +30487,7 @@ class SplitButton {
|
|
|
30145
30487
|
'left-button-border': !hasOutline,
|
|
30146
30488
|
} });
|
|
30147
30489
|
const dropdownButtonAttributes = Object.assign(Object.assign({}, baseAttributes), { disabled: this.isDisabledIcon });
|
|
30148
|
-
return (hAsync(Host, { key: '
|
|
30490
|
+
return (hAsync(Host, { key: '034329433940b847951719d6df094e7e799c9b2b' }, hAsync("div", { key: 'e08144dd52c338d0cb3a271a95442709a4bd10ba', class: { 'btn-group': true, 'middle-gap': !hasOutline } }, this.label ? (hAsync("ix-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e), "aria-label": this.ariaLabelButton }), this.label)) : (hAsync("ix-icon-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e), "aria-label": this.ariaLabelButton }))), hAsync("ix-icon-button", Object.assign({ key: '4b7776b9328af463c873eb524e8808966b61fff1' }, dropdownButtonAttributes, { ref: this.triggerElementRef, class: 'anchor', icon: (_a = this.splitIcon) !== null && _a !== void 0 ? _a : iconContextMenu, "aria-label": this.ariaLabelSplitIconButton }))), hAsync("ix-dropdown", { key: 'fbc53f2d73b27ed465a8dc4ae42357a61a6300c7', closeBehavior: this.closeBehavior, trigger: this.triggerElementRef.waitForCurrent(), enableTopLayer: this.enableTopLayer }, hAsync("slot", { key: 'e776d44c8f78e89bed7f065edd55168563b0f23c' }))));
|
|
30149
30491
|
}
|
|
30150
30492
|
get hostElement() { return getElement(this); }
|
|
30151
30493
|
static get style() { return splitButtonCss; }
|
|
@@ -30164,6 +30506,7 @@ class SplitButton {
|
|
|
30164
30506
|
"disableButton": [4, "disable-button"],
|
|
30165
30507
|
"disableDropdownButton": [4, "disable-dropdown-button"],
|
|
30166
30508
|
"placement": [1],
|
|
30509
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
30167
30510
|
"toggle": [32]
|
|
30168
30511
|
},
|
|
30169
30512
|
"$listeners$": undefined,
|
|
@@ -30220,7 +30563,7 @@ class TabItem {
|
|
|
30220
30563
|
};
|
|
30221
30564
|
}
|
|
30222
30565
|
render() {
|
|
30223
|
-
return (hAsync(Host, { key: '
|
|
30566
|
+
return (hAsync(Host, { key: 'f0e6c03c7624e9d8ae86223da810ca909e89ceb9', class: this.tabItemClasses({
|
|
30224
30567
|
selected: this.selected,
|
|
30225
30568
|
disabled: this.disabled,
|
|
30226
30569
|
small: this.small,
|
|
@@ -30237,12 +30580,12 @@ class TabItem {
|
|
|
30237
30580
|
if (clientEvent.defaultPrevented) {
|
|
30238
30581
|
event.stopPropagation();
|
|
30239
30582
|
}
|
|
30240
|
-
} }, hAsync("div", { key: '
|
|
30583
|
+
} }, hAsync("div", { key: '21b8861c7547865527d9395b1c288b358ca816c3', class: {
|
|
30241
30584
|
circle: this.rounded,
|
|
30242
30585
|
text: !this.rounded,
|
|
30243
30586
|
selected: this.selected,
|
|
30244
30587
|
disabled: this.disabled,
|
|
30245
|
-
} }, hAsync("slot", { key: '
|
|
30588
|
+
} }, hAsync("slot", { key: '4e268ef6667abfd1e2b4ea85b7a34819a16c188a' })), hAsync("div", { key: '86633194654d3ab97aaa0c37fdf22b9f2ea6dd7c', class: {
|
|
30246
30589
|
counter: true,
|
|
30247
30590
|
selected: this.selected,
|
|
30248
30591
|
hidden: !(this.rounded && this.counter !== undefined),
|
|
@@ -30269,32 +30612,20 @@ class TabItem {
|
|
|
30269
30612
|
}; }
|
|
30270
30613
|
}
|
|
30271
30614
|
|
|
30272
|
-
/*
|
|
30273
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
30274
|
-
*
|
|
30275
|
-
* SPDX-License-Identifier: MIT
|
|
30276
|
-
*
|
|
30277
|
-
* This source code is licensed under the MIT license found in the
|
|
30278
|
-
* LICENSE file in the root directory of this source tree.
|
|
30279
|
-
*/
|
|
30280
|
-
/**
|
|
30281
|
-
* Prevents angular from change detection when requesting an animation frame
|
|
30282
|
-
*
|
|
30283
|
-
* Credits goes to:
|
|
30284
|
-
* https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts
|
|
30285
|
-
*/
|
|
30286
|
-
const requestAnimationFrameNoNgZone = (callback) => {
|
|
30287
|
-
if (typeof __zone_symbol__requestAnimationFrame === 'function') {
|
|
30288
|
-
return __zone_symbol__requestAnimationFrame(callback);
|
|
30289
|
-
}
|
|
30290
|
-
if (typeof requestAnimationFrame === 'function') {
|
|
30291
|
-
return requestAnimationFrame(callback);
|
|
30292
|
-
}
|
|
30293
|
-
return setTimeout(callback);
|
|
30294
|
-
};
|
|
30295
|
-
|
|
30296
30615
|
const tabsCss = ":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 .tab-items{overflow:hidden;scroll-behavior:smooth;width:100%}:host .tab-items .items-content{display:flex;align-items:center}:host .arrow{all:unset;position:absolute;display:flex;align-items:center;justify-content:center;width:32px;height:32px;top:0;bottom:0;left:0;margin:auto 0;border-radius:4px;color:var(--theme-btn-tertiary--color);background-color:var(--theme-btn-tertiary--background);z-index:2}:host .arrow:hover{color:var(--theme-btn-tertiary--color--hover);background-color:var(--theme-btn-tertiary--background--hover)}:host .arrow:active{color:var(--theme-btn-tertiary--color--active);background-color:var(--theme-btn-tertiary--background--active)}:host .arrow.right{left:auto;right:0}:host .overflow-shadow{display:block;position:relative;height:100%;width:100%;pointer-events:all}:host .overflow-shadow.shadow-left{-webkit-mask-image:linear-gradient(90deg, transparent 0px, black 45px);mask-image:linear-gradient(90deg, transparent 0px, black 45px)}:host .overflow-shadow.shadow-right{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}:host .overflow-shadow.shadow-both{-webkit-mask-image:linear-gradient(90deg, transparent 0px, black 45px, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, transparent 0px, black 45px, black calc(100% - 45px), transparent 100%)}";
|
|
30297
30616
|
|
|
30617
|
+
const TAB_MANAGED_CLASSES = {
|
|
30618
|
+
SELECTED: 'selected',
|
|
30619
|
+
DISABLED: 'disabled',
|
|
30620
|
+
SMALL_TAB: 'small-tab',
|
|
30621
|
+
ICON: 'icon',
|
|
30622
|
+
STRETCHED: 'stretched',
|
|
30623
|
+
BOTTOM: 'bottom',
|
|
30624
|
+
TOP: 'top',
|
|
30625
|
+
CIRCLE: 'circle',
|
|
30626
|
+
HYDRATED: 'hydrated',
|
|
30627
|
+
};
|
|
30628
|
+
const MANAGED_CLASSES_SET = new Set(Object.values(TAB_MANAGED_CLASSES));
|
|
30298
30629
|
class Tabs {
|
|
30299
30630
|
constructor(hostRef) {
|
|
30300
30631
|
registerInstance(this, hostRef);
|
|
@@ -30326,6 +30657,8 @@ class Tabs {
|
|
|
30326
30657
|
this.showArrowPrevious = false;
|
|
30327
30658
|
this.showArrowNext = false;
|
|
30328
30659
|
this.windowStartSize = window.innerWidth;
|
|
30660
|
+
this.ARROW_WIDTH = 32;
|
|
30661
|
+
this.updateScheduled = false;
|
|
30329
30662
|
this.clickAction = {
|
|
30330
30663
|
timeout: null,
|
|
30331
30664
|
isClick: true,
|
|
@@ -30349,6 +30682,10 @@ class Tabs {
|
|
|
30349
30682
|
var _a;
|
|
30350
30683
|
return (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.items-content');
|
|
30351
30684
|
}
|
|
30685
|
+
getTabsContainer() {
|
|
30686
|
+
var _a;
|
|
30687
|
+
return (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.tab-items');
|
|
30688
|
+
}
|
|
30352
30689
|
initResizeObserver() {
|
|
30353
30690
|
const parentElement = this.hostElement.parentElement;
|
|
30354
30691
|
if (!parentElement)
|
|
@@ -30358,6 +30695,100 @@ class Tabs {
|
|
|
30358
30695
|
});
|
|
30359
30696
|
this.resizeObserver.observe(parentElement);
|
|
30360
30697
|
}
|
|
30698
|
+
observeSlotChanges() {
|
|
30699
|
+
var _a;
|
|
30700
|
+
(_a = this.classObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
30701
|
+
this.classObserver = new MutationObserver(() => {
|
|
30702
|
+
this.scheduleTabUpdate();
|
|
30703
|
+
});
|
|
30704
|
+
this.classObserver.observe(this.hostElement, {
|
|
30705
|
+
childList: true,
|
|
30706
|
+
subtree: true,
|
|
30707
|
+
attributes: true,
|
|
30708
|
+
attributeFilter: ['class'],
|
|
30709
|
+
});
|
|
30710
|
+
}
|
|
30711
|
+
scheduleTabUpdate() {
|
|
30712
|
+
if (this.updateScheduled)
|
|
30713
|
+
return;
|
|
30714
|
+
this.updateScheduled = true;
|
|
30715
|
+
requestAnimationFrame(() => {
|
|
30716
|
+
this.updateTabAttributes();
|
|
30717
|
+
this.updateScheduled = false;
|
|
30718
|
+
});
|
|
30719
|
+
}
|
|
30720
|
+
setTabAttributes(element, index) {
|
|
30721
|
+
const isSelected = index === this.selected;
|
|
30722
|
+
const isDisabled = element.disabled;
|
|
30723
|
+
if (this.small)
|
|
30724
|
+
element.setAttribute('small', 'true');
|
|
30725
|
+
if (this.rounded)
|
|
30726
|
+
element.setAttribute('rounded', 'true');
|
|
30727
|
+
element.setAttribute('layout', this.layout);
|
|
30728
|
+
element.setAttribute('selected', isSelected.toString());
|
|
30729
|
+
element.setAttribute('placement', this.placement);
|
|
30730
|
+
element.toggleAttribute('disabled', isDisabled);
|
|
30731
|
+
this.applyRequiredClasses(element, isSelected, isDisabled);
|
|
30732
|
+
}
|
|
30733
|
+
applyRequiredClasses(element, isSelected, isDisabled) {
|
|
30734
|
+
const requiredClasses = new Set(this.buildRequiredClasses(isSelected, isDisabled));
|
|
30735
|
+
const { classList } = element;
|
|
30736
|
+
for (const cls of requiredClasses) {
|
|
30737
|
+
classList.add(cls);
|
|
30738
|
+
}
|
|
30739
|
+
for (const managedClass of MANAGED_CLASSES_SET) {
|
|
30740
|
+
if (!requiredClasses.has(managedClass)) {
|
|
30741
|
+
classList.remove(managedClass);
|
|
30742
|
+
}
|
|
30743
|
+
}
|
|
30744
|
+
}
|
|
30745
|
+
buildRequiredClasses(isSelected, isDisabled) {
|
|
30746
|
+
const classConditions = {
|
|
30747
|
+
[TAB_MANAGED_CLASSES.HYDRATED]: true,
|
|
30748
|
+
[TAB_MANAGED_CLASSES.SELECTED]: isSelected,
|
|
30749
|
+
[TAB_MANAGED_CLASSES.DISABLED]: isDisabled,
|
|
30750
|
+
[TAB_MANAGED_CLASSES.SMALL_TAB]: this.small,
|
|
30751
|
+
[TAB_MANAGED_CLASSES.STRETCHED]: this.layout === 'stretched',
|
|
30752
|
+
[TAB_MANAGED_CLASSES.BOTTOM]: this.placement === 'bottom',
|
|
30753
|
+
[TAB_MANAGED_CLASSES.TOP]: this.placement === 'top',
|
|
30754
|
+
[TAB_MANAGED_CLASSES.CIRCLE]: this.rounded,
|
|
30755
|
+
};
|
|
30756
|
+
return Object.entries(classConditions)
|
|
30757
|
+
.filter(([, condition]) => condition)
|
|
30758
|
+
.map(([className]) => className);
|
|
30759
|
+
}
|
|
30760
|
+
ensureSelectedIndex() {
|
|
30761
|
+
if (this.totalItems === 0) {
|
|
30762
|
+
console.warn('ix-tabs: No tabs available for selection');
|
|
30763
|
+
this.selected = -1;
|
|
30764
|
+
return;
|
|
30765
|
+
}
|
|
30766
|
+
if (this.selected < this.totalItems) {
|
|
30767
|
+
return;
|
|
30768
|
+
}
|
|
30769
|
+
const originalIndex = this.selected;
|
|
30770
|
+
const previousIndex = originalIndex - 1;
|
|
30771
|
+
if (previousIndex >= 0 && previousIndex < this.totalItems) {
|
|
30772
|
+
this.updateSelected(previousIndex);
|
|
30773
|
+
return;
|
|
30774
|
+
}
|
|
30775
|
+
if (this.totalItems > 0) {
|
|
30776
|
+
this.updateSelected(0);
|
|
30777
|
+
}
|
|
30778
|
+
}
|
|
30779
|
+
updateSelected(index) {
|
|
30780
|
+
this.selected = index;
|
|
30781
|
+
this.selectedChange.emit(index);
|
|
30782
|
+
}
|
|
30783
|
+
updateTabAttributes() {
|
|
30784
|
+
const tabs = this.getTabs();
|
|
30785
|
+
this.totalItems = tabs.length;
|
|
30786
|
+
this.ensureSelectedIndex();
|
|
30787
|
+
for (const [index, element] of tabs.entries()) {
|
|
30788
|
+
this.setTabAttributes(element, index);
|
|
30789
|
+
}
|
|
30790
|
+
this.renderArrows();
|
|
30791
|
+
}
|
|
30361
30792
|
showArrows() {
|
|
30362
30793
|
try {
|
|
30363
30794
|
const tabWrapper = this.getTabsWrapper();
|
|
@@ -30416,17 +30847,21 @@ class Tabs {
|
|
|
30416
30847
|
this.scrollActionAmount = amount;
|
|
30417
30848
|
}
|
|
30418
30849
|
onSelectedChange(newValue) {
|
|
30419
|
-
var _a;
|
|
30420
30850
|
if (!this.showArrows())
|
|
30421
30851
|
return;
|
|
30422
|
-
const
|
|
30423
|
-
const
|
|
30424
|
-
|
|
30425
|
-
|
|
30426
|
-
|
|
30852
|
+
const tab = this.getTab(newValue);
|
|
30853
|
+
const container = this.getTabsContainer();
|
|
30854
|
+
if (!tab || !container)
|
|
30855
|
+
return;
|
|
30856
|
+
const containerRect = container.getBoundingClientRect();
|
|
30857
|
+
const tabRect = tab.getBoundingClientRect();
|
|
30858
|
+
const tabLeftRelative = tabRect.left - containerRect.left;
|
|
30859
|
+
const tabRightRelative = tabLeftRelative + tabRect.width;
|
|
30860
|
+
if (tabLeftRelative < this.ARROW_WIDTH) {
|
|
30861
|
+
this.move(-tabLeftRelative + this.ARROW_WIDTH, true);
|
|
30427
30862
|
}
|
|
30428
|
-
else if (
|
|
30429
|
-
this.move(
|
|
30863
|
+
else if (tabRightRelative > containerRect.width - this.ARROW_WIDTH) {
|
|
30864
|
+
this.move(containerRect.width - tabRightRelative - this.ARROW_WIDTH, true);
|
|
30430
30865
|
}
|
|
30431
30866
|
}
|
|
30432
30867
|
setSelected(index) {
|
|
@@ -30477,24 +30912,10 @@ class Tabs {
|
|
|
30477
30912
|
return true;
|
|
30478
30913
|
}
|
|
30479
30914
|
componentWillLoad() {
|
|
30480
|
-
const tabs = this.getTabs();
|
|
30481
|
-
tabs.map((element, index) => {
|
|
30482
|
-
if (this.small)
|
|
30483
|
-
element.setAttribute('small', 'true');
|
|
30484
|
-
if (this.rounded)
|
|
30485
|
-
element.setAttribute('rounded', 'true');
|
|
30486
|
-
element.setAttribute('layout', this.layout);
|
|
30487
|
-
element.setAttribute('selected', index === this.selected ? 'true' : 'false');
|
|
30488
|
-
element.setAttribute('placement', this.placement);
|
|
30489
|
-
});
|
|
30490
30915
|
this.initResizeObserver();
|
|
30491
30916
|
}
|
|
30492
30917
|
componentDidRender() {
|
|
30493
|
-
|
|
30494
|
-
this.totalItems = tabs.length;
|
|
30495
|
-
tabs.map((element, index) => {
|
|
30496
|
-
element.setAttribute('selected', index === this.selected ? 'true' : 'false');
|
|
30497
|
-
});
|
|
30918
|
+
this.updateTabAttributes();
|
|
30498
30919
|
}
|
|
30499
30920
|
componentWillRender() {
|
|
30500
30921
|
this.renderArrows();
|
|
@@ -30510,10 +30931,12 @@ class Tabs {
|
|
|
30510
30931
|
tabs.forEach((element) => {
|
|
30511
30932
|
element.addEventListener('mousedown', (event) => this.dragStart(element, event));
|
|
30512
30933
|
});
|
|
30934
|
+
this.observeSlotChanges();
|
|
30513
30935
|
}
|
|
30514
30936
|
disconnectedCallback() {
|
|
30515
|
-
var _a;
|
|
30937
|
+
var _a, _b;
|
|
30516
30938
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
30939
|
+
(_b = this.classObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
30517
30940
|
}
|
|
30518
30941
|
onTabClick(event) {
|
|
30519
30942
|
if (event.defaultPrevented) {
|
|
@@ -30528,13 +30951,13 @@ class Tabs {
|
|
|
30528
30951
|
});
|
|
30529
30952
|
}
|
|
30530
30953
|
render() {
|
|
30531
|
-
return (hAsync(Host, { key: '
|
|
30954
|
+
return (hAsync(Host, { key: 'db27e336ea0432630306faa2e51f2799f1340d2c' }, this.showArrowPrevious && (hAsync("button", { key: 'c9edd1bab0a829dd853a8dc227b59f068ea8b24a', class: "arrow", onClick: () => this.move(this.scrollAmount, true), "aria-label": this.ariaLabelChevronLeftIconButton }, hAsync("ix-icon", { key: '6271e2d4ccbc8d94793b0226c7117c8f1a24561a', name: iconChevronLeftSmall }))), hAsync("div", { key: 'd1ff277b75c488f25821296fc5a7320f822f1bbd', class: {
|
|
30532
30955
|
'tab-items': true,
|
|
30533
30956
|
'overflow-shadow': true,
|
|
30534
30957
|
'shadow-left': this.showArrowPrevious,
|
|
30535
30958
|
'shadow-right': this.showArrowNext,
|
|
30536
30959
|
'shadow-both': this.showArrowNext && this.showArrowPrevious,
|
|
30537
|
-
} }, hAsync("div", { key: '
|
|
30960
|
+
} }, hAsync("div", { key: '9f929a8ba8f76c0efe8604218df1fe207eeff9ff', class: "items-content" }, hAsync("slot", { key: 'a906661489fdee6484c871c7c7c46f0f1c5153fe' }))), this.showArrowNext && (hAsync("button", { key: '632c5d16531fe4071368a94cdef569e43fd2ec71', class: "arrow right", onClick: () => this.move(-this.scrollAmount, true), "aria-label": this.ariaLabelChevronRightIconButton }, hAsync("ix-icon", { key: '7105649d79c2a5a6d2c8fd3e6e9a0db540a61767', name: iconChevronRightSmall })))));
|
|
30538
30961
|
}
|
|
30539
30962
|
get hostElement() { return getElement(this); }
|
|
30540
30963
|
static get watchers() { return {
|
|
@@ -30713,10 +31136,10 @@ class Textarea {
|
|
|
30713
31136
|
}
|
|
30714
31137
|
render() {
|
|
30715
31138
|
var _a;
|
|
30716
|
-
return (hAsync(Host, { key: '
|
|
31139
|
+
return (hAsync(Host, { key: '4e5c8e104036fb7a55da0210ab327cd1ca44862c', class: {
|
|
30717
31140
|
disabled: this.disabled,
|
|
30718
31141
|
readonly: this.readonly,
|
|
30719
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
31142
|
+
} }, hAsync("ix-field-wrapper", { key: 'a3d59378750143fb14113fd6ff2242ffe95b984e', 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.textAreaRef }, !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: '0873835aed0114e2bfba3817737aba8542db9144', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)), hAsync("div", { key: 'd36582402197576c09cc2241e794b7a5dbac6d3a', class: "input-wrapper" }, hAsync(TextareaElement, { key: 'fb15b644f1d3d44224156666de0c13a3c4b5b5fe', minLength: this.minLength, maxLength: this.maxLength, textareaCols: this.textareaCols, textareaRows: this.textareaRows, textareaHeight: this.isManuallyResized ? this.manualHeight : this.textareaHeight, textareaWidth: this.isManuallyResized ? this.manualWidth : this.textareaWidth, resizeBehavior: this.resizeBehavior, readonly: this.readonly, disabled: this.disabled, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, textAreaRef: this.textAreaRef, valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
|
|
30720
31143
|
onInputBlur(this, this.textAreaRef.current);
|
|
30721
31144
|
this.touched = true;
|
|
30722
31145
|
} })))));
|
|
@@ -30792,17 +31215,17 @@ class Tile {
|
|
|
30792
31215
|
this.hasFooterSlot = !!this.hostElement.querySelector('[slot="footer"]');
|
|
30793
31216
|
}
|
|
30794
31217
|
render() {
|
|
30795
|
-
return (hAsync(Host, { key: '
|
|
31218
|
+
return (hAsync(Host, { key: 'e1166a8b4e348942b7ed4258f88f8be64de05933', class: {
|
|
30796
31219
|
'tile-small': this.size === 'small',
|
|
30797
31220
|
'tile-medium': this.size === 'medium',
|
|
30798
31221
|
'tile-big': this.size === 'big',
|
|
30799
|
-
} }, hAsync("div", { key: '
|
|
31222
|
+
} }, hAsync("div", { key: 'a6bd9158342ed546d51c55685afe3d75c2bf31b8', class: {
|
|
30800
31223
|
'tile-header': true,
|
|
30801
31224
|
'has-content': this.hasHeaderSlot,
|
|
30802
|
-
} }, hAsync("slot", { key: '
|
|
31225
|
+
} }, hAsync("slot", { key: 'c24c054f14e378dc126472b4086b4be4a245cbac', name: "header", onSlotchange: () => this.handleHeaderSlotChange() })), hAsync("div", { key: '975744cdd6f42661636fc382a2f2e3c256ccdc9f', class: "tile-subheader" }, hAsync("slot", { key: 'a867a5e2e3cb8958c819d5d936bf955cb51e808b', name: "subheader" })), hAsync("div", { key: '8ab40a481b778384e6773a6318545e1d0001e669', class: "tile-content" }, hAsync("slot", { key: 'c013dd68db8ce80c3b4cfac26acf9c690fcb2439' })), hAsync("div", { key: '00b012d9f4bce4b623fc30b1f750f4319f4144f9', class: {
|
|
30803
31226
|
'tile-footer': true,
|
|
30804
31227
|
'has-content': this.hasFooterSlot,
|
|
30805
|
-
} }, hAsync("slot", { key: '
|
|
31228
|
+
} }, hAsync("slot", { key: 'fc565c7344dadeb70cf0002392a0ee98774843df', name: "footer", onSlotchange: () => this.handleFooterSlotChange() }))));
|
|
30806
31229
|
}
|
|
30807
31230
|
get hostElement() { return getElement(this); }
|
|
30808
31231
|
static get style() { return tileCss; }
|
|
@@ -30939,6 +31362,13 @@ class TimeInput {
|
|
|
30939
31362
|
* Text alignment within the time input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.
|
|
30940
31363
|
*/
|
|
30941
31364
|
this.textAlignment = 'start';
|
|
31365
|
+
/**
|
|
31366
|
+
* Enable Popover API rendering for dropdown.
|
|
31367
|
+
*
|
|
31368
|
+
* @default false
|
|
31369
|
+
* @since 4.3.0
|
|
31370
|
+
*/
|
|
31371
|
+
this.enableTopLayer = false;
|
|
30942
31372
|
this.show = false;
|
|
30943
31373
|
this.time = null;
|
|
30944
31374
|
this.isInputInvalid = false;
|
|
@@ -31101,12 +31531,12 @@ class TimeInput {
|
|
|
31101
31531
|
render() {
|
|
31102
31532
|
var _a;
|
|
31103
31533
|
const invalidText = getValidationText(this.isInputInvalid, this.invalidText, this.i18nErrorTimeUnparsable);
|
|
31104
|
-
return (hAsync(Host, { key: '
|
|
31534
|
+
return (hAsync(Host, { key: '5131bce36642b3df749856adcf65c79f29551c64', class: {
|
|
31105
31535
|
disabled: this.disabled,
|
|
31106
31536
|
readonly: this.readonly,
|
|
31107
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
31537
|
+
} }, hAsync("ix-field-wrapper", { key: 'a224de3bd0aef20d3fccd247ad1248b2a857fd09', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), hAsync("ix-dropdown", { key: '375e25d0dbf2fc831f8f402b6ffb38783cdef064', "data-testid": "time-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", enableTopLayer: this.enableTopLayer, suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
|
|
31108
31538
|
this.show = event.detail;
|
|
31109
|
-
} }, hAsync("ix-time-picker", { key: '
|
|
31539
|
+
} }, hAsync("ix-time-picker", { key: 'f1bd14bf9b6bfb7ffea19f781831b6479fb771d7', ref: this.timePickerRef, format: this.format, time: (_a = this.time) !== null && _a !== void 0 ? _a : '', hourInterval: this.hourInterval, minuteInterval: this.minuteInterval, secondInterval: this.secondInterval, millisecondInterval: this.millisecondInterval, embedded: true, hideHeader: this.hideHeader, i18nConfirmTime: this.i18nSelectTime, i18nHeader: this.i18nTime, i18nHourColumnHeader: this.i18nHourColumnHeader, i18nSecondColumnHeader: this.i18nSecondColumnHeader, i18nMinuteColumnHeader: this.i18nMinuteColumnHeader, i18nMillisecondColumnHeader: this.i18nMillisecondColumnHeader, onTimeSelect: (event) => {
|
|
31110
31540
|
this.onInput(event.detail);
|
|
31111
31541
|
this.show = false;
|
|
31112
31542
|
} }))));
|
|
@@ -31150,6 +31580,7 @@ class TimeInput {
|
|
|
31150
31580
|
"suppressSubmitOnEnter": [516, "suppress-submit-on-enter"],
|
|
31151
31581
|
"hideHeader": [4, "hide-header"],
|
|
31152
31582
|
"textAlignment": [1, "text-alignment"],
|
|
31583
|
+
"enableTopLayer": [4, "enable-top-layer"],
|
|
31153
31584
|
"show": [32],
|
|
31154
31585
|
"time": [32],
|
|
31155
31586
|
"isInputInvalid": [32],
|
|
@@ -31802,7 +32233,7 @@ class TimePicker {
|
|
|
31802
32233
|
return '-1';
|
|
31803
32234
|
}
|
|
31804
32235
|
render() {
|
|
31805
|
-
return (hAsync(Host, { key: '
|
|
32236
|
+
return (hAsync(Host, { key: 'fbd91df72649558b205ea0e337e8a29b6f9256ea' }, hAsync("ix-date-time-card", { key: 'a5449eff4179a9df0e1cf8bf72435f848f9360ff', embedded: this.embedded, timePickerAppearance: true, corners: this.corners, hasFooter: !this.dateTimePickerAppearance, hideHeader: this.hideHeader }, hAsync("div", { key: '401fdc761ac11d1c68112807a790b1f8cbad622d', class: "header", slot: "header" }, hAsync("ix-typography", { key: '0000299d5d33f4858f6cfdcbbc4e615779bb556c', format: "body" }, this.i18nHeader)), hAsync("div", { key: 'f734dc3a8ce505e3cc3539bb1835ad85ded7b7b7', class: "clock" }, this.timePickerDescriptors.map((descriptor, index) => (hAsync("div", { class: "flex" }, hAsync("div", { class: { columns: true, hidden: descriptor.hidden } }, hAsync("div", { class: "column-header", title: descriptor.header }, descriptor.header), hAsync("div", { "data-element-list-id": descriptor.unit, class: "element-list", tabIndex: -1 }, descriptor.numberArray.map((number) => {
|
|
31806
32237
|
return (hAsync("button", { "data-element-container-id": `${descriptor.unit}-${number}`, class: {
|
|
31807
32238
|
selected: this.isSelected(descriptor.unit, number),
|
|
31808
32239
|
'element-container': true,
|
|
@@ -31812,16 +32243,16 @@ class TimePicker {
|
|
|
31812
32243
|
}), hAsync("div", { class: "element-list-padding" }))), index !== this.timePickerDescriptors.length - 1 && (hAsync("div", { class: {
|
|
31813
32244
|
'column-separator': true,
|
|
31814
32245
|
hidden: descriptor.hidden,
|
|
31815
|
-
} }, this.getColumnSeparator(index)))))), this.timeRef && (hAsync("div", { key: '
|
|
32246
|
+
} }, this.getColumnSeparator(index)))))), this.timeRef && (hAsync("div", { key: 'bb49977f48acb00f3d1d60fb43fc7edec4faeb0a', class: "flex" }, hAsync("div", { key: 'e4f2b5aa7a8084a33e008294d62d1bb00f17ed90', class: "column-separator" }), hAsync("div", { key: '5ea1646bc59a33e8fd97822667aa3777f33c0477', class: "columns" }, hAsync("div", { key: '7b352f58b254ec207f421e560c7c921b790b4342', class: "column-header", title: "AM/PM" }), hAsync("div", { key: 'be780d8e25f6da94829387112aac9b288f4188a1', class: "element-list", tabIndex: -1 }, hAsync("button", { key: '289383e707ec51a48f8f29090be8556da72e639a', "data-am-pm-id": "AM", class: {
|
|
31816
32247
|
selected: this.timeRef === 'AM',
|
|
31817
32248
|
'element-container': true,
|
|
31818
|
-
}, onClick: () => this.changeTimeReference('AM'), tabindex: "0", "aria-label": "AM" }, "AM"), hAsync("button", { key: '
|
|
32249
|
+
}, onClick: () => this.changeTimeReference('AM'), tabindex: "0", "aria-label": "AM" }, "AM"), hAsync("button", { key: '01f4275c4c3983b834b87de3884f39ef0901915d', "data-am-pm-id": "PM", class: {
|
|
31819
32250
|
selected: this.timeRef === 'PM',
|
|
31820
32251
|
'element-container': true,
|
|
31821
|
-
}, onClick: () => this.changeTimeReference('PM'), tabindex: "0", "aria-label": "PM" }, "PM")))))), hAsync("div", { key: '
|
|
32252
|
+
}, onClick: () => this.changeTimeReference('PM'), tabindex: "0", "aria-label": "PM" }, "PM")))))), hAsync("div", { key: '9ee77d7fb2a4149f673d8e6b87e240a3e7123a40', class: {
|
|
31822
32253
|
footer: true,
|
|
31823
32254
|
'footer--compact': this.timePickerDescriptors.length <= 2,
|
|
31824
|
-
}, slot: "footer" }, hAsync("ix-button", { key: '
|
|
32255
|
+
}, slot: "footer" }, hAsync("ix-button", { key: '5c87feafc47a5df411614d45147c66f11cd4228e', class: "confirm-button", onClick: () => {
|
|
31825
32256
|
var _a;
|
|
31826
32257
|
this.timeSelect.emit((_a = this._time) === null || _a === void 0 ? void 0 : _a.toFormat(this.format));
|
|
31827
32258
|
} }, this.i18nConfirmTime)))));
|
|
@@ -31875,7 +32306,7 @@ __decorate$1([
|
|
|
31875
32306
|
OnListener('keydown')
|
|
31876
32307
|
], TimePicker.prototype, "handleKeyDown", null);
|
|
31877
32308
|
|
|
31878
|
-
const toastCss = ":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}:host .toast-body .toast-icon{display:flex;align-items:flex-start;
|
|
32309
|
+
const toastCss = ":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)}}";
|
|
31879
32310
|
|
|
31880
32311
|
class Toast {
|
|
31881
32312
|
constructor(hostRef) {
|
|
@@ -31893,6 +32324,10 @@ class Toast {
|
|
|
31893
32324
|
* Autoclose behavior
|
|
31894
32325
|
*/
|
|
31895
32326
|
this.preventAutoClose = false;
|
|
32327
|
+
/**
|
|
32328
|
+
* Allows to hide the icon in the toast.
|
|
32329
|
+
*/
|
|
32330
|
+
this.hideIcon = false;
|
|
31896
32331
|
this.progress = 0;
|
|
31897
32332
|
this.touched = false;
|
|
31898
32333
|
this.paused = false;
|
|
@@ -31949,11 +32384,11 @@ class Toast {
|
|
|
31949
32384
|
animationPlayState: this.touched || this.paused ? 'paused' : 'running',
|
|
31950
32385
|
};
|
|
31951
32386
|
progressBarClass.push('toast-progress-bar--animated');
|
|
31952
|
-
return (hAsync(Host, { key: '
|
|
32387
|
+
return (hAsync(Host, { key: '0e762b008a6695e9ecae1ffb288e606d9e9794c4', class: "animate__animated animate__fadeIn" }, hAsync("div", { key: 'da513d7fec310d67a020044650517f0e5a38d578', class: "toast-body", onPointerLeave: () => {
|
|
31953
32388
|
this.touched = false;
|
|
31954
32389
|
}, onPointerEnter: () => {
|
|
31955
32390
|
this.touched = true;
|
|
31956
|
-
} }, this.type || this.icon ? (hAsync("div", { class: "toast-icon" }, this.getIcon())) : null, hAsync("div", { key: '
|
|
32391
|
+
} }, (this.type || this.icon) && !this.hideIcon ? (hAsync("div", { class: "toast-icon" }, this.getIcon())) : null, hAsync("div", { key: '56a6a8392b19e151c3f44b677168f105fe4a8114', class: "toast-content" }, this.toastTitle ? (hAsync("ix-typography", { class: "toast-title", format: "h5" }, this.toastTitle)) : null, hAsync("div", { key: '6607138845d5f8eda23d06cbe65e785495a1c714', class: "toast-message" }, hAsync("slot", { key: '2a8e839c3d68287873498585f06e84854f6a3d77' })), hAsync("div", { key: '1522e81b25a84de92ca8857bb3689bea7ae303bb', class: "toast-action" }, hAsync("slot", { key: '95cd3cefd6035ea710926d7c34eb38501b0de4fb', name: "action" }))), hAsync("div", { key: 'bc7fd1c5f9adf6b8fd4d3b0aefc6a493afa0db54', class: "toast-close" }, hAsync("ix-icon-button", { key: 'd9014f1d8561ebeeadd747772cfcfe287ebb30c1', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.closeToast.emit(), "aria-label": this.ariaLabelCloseIconButton }))), !this.preventAutoClose && (hAsync("div", { key: '851ff267cb3d1973c648d53709f45acbc4005306', class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
|
|
31957
32392
|
this.close();
|
|
31958
32393
|
}, onTransitionEnd: () => {
|
|
31959
32394
|
if (this.progress === 0) {
|
|
@@ -31973,6 +32408,7 @@ class Toast {
|
|
|
31973
32408
|
"preventAutoClose": [4, "prevent-auto-close"],
|
|
31974
32409
|
"icon": [1],
|
|
31975
32410
|
"iconColor": [1, "icon-color"],
|
|
32411
|
+
"hideIcon": [4, "hide-icon"],
|
|
31976
32412
|
"ariaLabelCloseIconButton": [1, "aria-label-close-icon-button"],
|
|
31977
32413
|
"progress": [32],
|
|
31978
32414
|
"touched": [32],
|
|
@@ -32037,7 +32473,7 @@ class ToastContainer {
|
|
|
32037
32473
|
* @param config
|
|
32038
32474
|
*/
|
|
32039
32475
|
async showToast(config) {
|
|
32040
|
-
var _a, _b;
|
|
32476
|
+
var _a, _b, _c;
|
|
32041
32477
|
const toast = document.createElement('ix-toast');
|
|
32042
32478
|
const onClose = new TypedEvent();
|
|
32043
32479
|
function removeToast(result) {
|
|
@@ -32050,6 +32486,7 @@ class ToastContainer {
|
|
|
32050
32486
|
toast.autoCloseDelay = (_b = config.autoCloseDelay) !== null && _b !== void 0 ? _b : 5000;
|
|
32051
32487
|
toast.icon = config.icon;
|
|
32052
32488
|
toast.iconColor = config.iconColor;
|
|
32489
|
+
toast.hideIcon = (_c = config.hideIcon) !== null && _c !== void 0 ? _c : false;
|
|
32053
32490
|
toast.addEventListener('closeToast', (event) => {
|
|
32054
32491
|
const { detail } = event;
|
|
32055
32492
|
removeToast(detail);
|
|
@@ -32084,10 +32521,10 @@ class ToastContainer {
|
|
|
32084
32521
|
};
|
|
32085
32522
|
}
|
|
32086
32523
|
render() {
|
|
32087
|
-
return (hAsync(Host, { key: '
|
|
32524
|
+
return (hAsync(Host, { key: '7afdcfbb2392cc6da11fa5c4e08eca88f2a1274a', class: {
|
|
32088
32525
|
'toast-container--bottom-right': this.position === 'bottom-right',
|
|
32089
32526
|
'toast-container--top-right': this.position === 'top-right',
|
|
32090
|
-
} }, hAsync("slot", { key: '
|
|
32527
|
+
} }, hAsync("slot", { key: 'e9c58b5682aecadcf2c22eb87a9bfd1994b7e674' })));
|
|
32091
32528
|
}
|
|
32092
32529
|
static get watchers() { return {
|
|
32093
32530
|
"position": ["onPositionChange"]
|
|
@@ -32238,13 +32675,13 @@ class Toggle {
|
|
|
32238
32675
|
if (this.indeterminate) {
|
|
32239
32676
|
toggleText = this.textIndeterminate;
|
|
32240
32677
|
}
|
|
32241
|
-
return (hAsync(Host, { key: '
|
|
32678
|
+
return (hAsync(Host, { key: 'e9e712897b0c454b49fbc96c412ca0cf9312dcc8', role: "switch", "aria-checked": a11yBoolean(this.checked), "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
32242
32679
|
disabled: this.disabled,
|
|
32243
|
-
}, onBlur: () => this.ixBlur.emit(), onFocus: () => (this.touched = true) }, hAsync("label", { key: '
|
|
32680
|
+
}, onBlur: () => this.ixBlur.emit(), onFocus: () => (this.touched = true) }, hAsync("label", { key: '511bbf8b5f6ba71bb0310e3d17e098f781759240', class: "wrapper" }, hAsync("button", { key: '8a69db4f96bd68ed0b32652f67ec5cdda12cc99f', class: {
|
|
32244
32681
|
switch: true,
|
|
32245
32682
|
checked: this.checked,
|
|
32246
32683
|
indeterminate: this.indeterminate,
|
|
32247
|
-
}, onClick: () => this.onCheckedChange(!this.checked), tabindex: -1, "aria-hidden": "true" }, hAsync("div", { key: '
|
|
32684
|
+
}, onClick: () => this.onCheckedChange(!this.checked), tabindex: -1, "aria-hidden": "true" }, hAsync("div", { key: '917e87954f641d86a0bd05526bc3cd52823b3b7e', class: "slider" })), hAsync("input", { key: '5e40e7f892cf6c963fd336dc0a81a56e00fea4fd', type: "checkbox", disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, tabindex: 0, "aria-hidden": a11yBoolean(true), "aria-checked": a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), !this.hideText && (hAsync("ix-typography", { key: 'aea3e6f4d95e20cb72de2fe6cd791e1d2ce871f9', class: "label" }, toggleText)))));
|
|
32248
32685
|
}
|
|
32249
32686
|
static get formAssociated() { return true; }
|
|
32250
32687
|
get hostElement() { return getElement(this); }
|
|
@@ -32322,9 +32759,9 @@ class ToggleButton {
|
|
|
32322
32759
|
'aria-label': this.ariaLabelButton,
|
|
32323
32760
|
},
|
|
32324
32761
|
};
|
|
32325
|
-
return (hAsync(Host, { key: '
|
|
32762
|
+
return (hAsync(Host, { key: '3d0e41a6571193d4b7d8e73701b6d295f4ab5482', class: {
|
|
32326
32763
|
disabled: this.disabled || this.loading,
|
|
32327
|
-
} }, hAsync(BaseButton, Object.assign({ key: '
|
|
32764
|
+
} }, hAsync(BaseButton, Object.assign({ key: '770d156dbc007d146efbd7b5604b3c902197b4c2' }, baseButtonProps), hAsync("slot", { key: '6d2a11909dcf61da1571d2e921e850d9a54ed95c' }))));
|
|
32328
32765
|
}
|
|
32329
32766
|
static get style() { return toggleButtonCss; }
|
|
32330
32767
|
static get cmpMeta() { return {
|
|
@@ -32671,7 +33108,7 @@ class Tooltip {
|
|
|
32671
33108
|
}
|
|
32672
33109
|
}
|
|
32673
33110
|
render() {
|
|
32674
|
-
return (hAsync(Host, { key: '
|
|
33111
|
+
return (hAsync(Host, { key: '55bcfd4bde42a8a34b4f07ac4c1006aea54ca7e5', role: "tooltip", class: { visible: this.visible } }, hAsync("dialog", { key: 'ec321094408ffa410aeb3eca4180cbfccad52006', ref: this.dialogRef, id: 'tooltip-' + this.instance, class: "dialog", popover: "manual", inert: !this.visible }, hAsync("div", { key: '509cdfa1685426e919ad692b3b44488c274c5836', class: "tooltip-container" }, hAsync("div", { key: 'c575ea31e7c886efc0769ff2831837fdaacbdb2c', class: "content-wrapper" }, hAsync("div", { key: 'c9b2ec82f0fa872f50e8692ad61000bad648e1a8', class: 'tooltip-title' }, hAsync("slot", { key: '029bb99b659d5d392038041023a357f447d88d9b', name: "title-icon", onSlotchange: (e) => this.handleTitleIconSlotChange(e) }), hAsync("ix-typography", { key: '3cfd52cca4147ebf5b793916c7acc991b8cf8095', format: "h5" }, this.titleContent, hAsync("slot", { key: '88ba0fc44f93009be44bc7cb3b026dc8826533eb', name: "title-content" }))), hAsync("slot", { key: '213e6a71172b01e58908016fed4aefa991c71b4c' }), hAsync("div", { key: 'b63e112eb2f8ccf600dfab8eeebfb2bbcc7d8b33', class: "arrow" }))))));
|
|
32675
33112
|
}
|
|
32676
33113
|
get hostElement() { return getElement(this); }
|
|
32677
33114
|
static get style() { return tooltipCss; }
|
|
@@ -32768,15 +33205,16 @@ class VirtualList {
|
|
|
32768
33205
|
return maxElementHeight;
|
|
32769
33206
|
}
|
|
32770
33207
|
constructor(element, userProvidedConfig) {
|
|
33208
|
+
this._scrollListener = null;
|
|
33209
|
+
this._pendingRender = false;
|
|
32771
33210
|
this._lastRepaint = null;
|
|
32772
33211
|
this._maxElementHeight = VirtualList.getMaxBrowserHeight();
|
|
32773
33212
|
this.refresh(element, userProvidedConfig);
|
|
32774
33213
|
const config = this._config;
|
|
32775
|
-
// Create internal render loop.
|
|
32776
33214
|
const render = () => {
|
|
33215
|
+
this._pendingRender = false;
|
|
32777
33216
|
const scrollTop = this._getScrollPosition();
|
|
32778
33217
|
const lastRepaint = this._lastRepaint;
|
|
32779
|
-
this._renderAnimationFrame = window.requestAnimationFrame(render);
|
|
32780
33218
|
if (scrollTop === lastRepaint) {
|
|
32781
33219
|
return;
|
|
32782
33220
|
}
|
|
@@ -32789,12 +33227,34 @@ class VirtualList {
|
|
|
32789
33227
|
}
|
|
32790
33228
|
}
|
|
32791
33229
|
};
|
|
33230
|
+
const scrollContainer = config.scrollContainer || element;
|
|
33231
|
+
this._scrollListener = () => {
|
|
33232
|
+
if (!this._pendingRender) {
|
|
33233
|
+
this._pendingRender = true;
|
|
33234
|
+
this._renderAnimationFrame = window.requestAnimationFrame(render);
|
|
33235
|
+
}
|
|
33236
|
+
};
|
|
33237
|
+
scrollContainer.addEventListener('scroll', this._scrollListener, {
|
|
33238
|
+
passive: true,
|
|
33239
|
+
});
|
|
32792
33240
|
render();
|
|
32793
33241
|
}
|
|
32794
33242
|
destroy() {
|
|
32795
|
-
|
|
33243
|
+
if (this._renderAnimationFrame) {
|
|
33244
|
+
window.cancelAnimationFrame(this._renderAnimationFrame);
|
|
33245
|
+
}
|
|
33246
|
+
const config = this._config;
|
|
33247
|
+
const scrollContainer = (config === null || config === void 0 ? void 0 : config.scrollContainer) || this._element;
|
|
33248
|
+
if (this._scrollListener && scrollContainer) {
|
|
33249
|
+
scrollContainer.removeEventListener('scroll', this._scrollListener);
|
|
33250
|
+
}
|
|
32796
33251
|
}
|
|
32797
33252
|
refresh(element, userProvidedConfig = VirtualList.defaultConfig) {
|
|
33253
|
+
var _a;
|
|
33254
|
+
const oldScrollContainer = ((_a = this._config) === null || _a === void 0 ? void 0 : _a.scrollContainer) || this._element;
|
|
33255
|
+
if (this._scrollListener && oldScrollContainer) {
|
|
33256
|
+
oldScrollContainer.removeEventListener('scroll', this._scrollListener);
|
|
33257
|
+
}
|
|
32798
33258
|
this._config = userProvidedConfig;
|
|
32799
33259
|
if (!element || element.nodeType !== 1) {
|
|
32800
33260
|
throw new Error('HyperList requires a valid DOM Node container');
|
|
@@ -32905,6 +33365,12 @@ class VirtualList {
|
|
|
32905
33365
|
if (typeof config.afterRender === 'function') {
|
|
32906
33366
|
config.afterRender();
|
|
32907
33367
|
}
|
|
33368
|
+
if (this._scrollListener) {
|
|
33369
|
+
const scrollContainer = config.scrollContainer || element;
|
|
33370
|
+
scrollContainer.addEventListener('scroll', this._scrollListener, {
|
|
33371
|
+
passive: true,
|
|
33372
|
+
});
|
|
33373
|
+
}
|
|
32908
33374
|
}
|
|
32909
33375
|
_getRow(i) {
|
|
32910
33376
|
const config = this._config;
|
|
@@ -33306,7 +33772,7 @@ class Tree {
|
|
|
33306
33772
|
this.nodeClicked.emit(id);
|
|
33307
33773
|
}
|
|
33308
33774
|
render() {
|
|
33309
|
-
return (hAsync(Host, { key: '
|
|
33775
|
+
return (hAsync(Host, { key: 'd144ff5b676bdcafc424afea72834ea712c95dff', onClick: (event) => this.onTreeItemClick(event) }, hAsync("slot", { key: 'fc2f5555f95788c57fa66b150cc844024bc6677a' })));
|
|
33310
33776
|
}
|
|
33311
33777
|
get hostElement() { return getElement(this); }
|
|
33312
33778
|
static get watchers() { return {
|
|
@@ -33345,17 +33811,17 @@ class TreeItem {
|
|
|
33345
33811
|
}
|
|
33346
33812
|
render() {
|
|
33347
33813
|
var _a, _b;
|
|
33348
|
-
return (hAsync(Host, { key: '
|
|
33814
|
+
return (hAsync(Host, { key: '0f615d72d15f5d10c9d44ea3bda96bb64494944a', class: {
|
|
33349
33815
|
selected: !!((_a = this.context) === null || _a === void 0 ? void 0 : _a.isSelected),
|
|
33350
|
-
} }, hAsync("div", { key: '
|
|
33816
|
+
} }, hAsync("div", { key: 'ea65a20109ff5347f1e6aa7da01f105f28594256', class: "icon-toggle-container" }, this.hasChildren ? (hAsync("ix-icon", { name: iconChevronRightSmall, size: "24", class: {
|
|
33351
33817
|
['icon-toggle-down']: !!((_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded),
|
|
33352
33818
|
}, color: "color-std-text", onClick: (e) => {
|
|
33353
33819
|
e.preventDefault();
|
|
33354
33820
|
e.stopPropagation();
|
|
33355
33821
|
this.toggle.emit();
|
|
33356
|
-
}, "aria-label": this.ariaLabelChevronIcon })) : null), hAsync("div", { key: '
|
|
33822
|
+
}, "aria-label": this.ariaLabelChevronIcon })) : null), hAsync("div", { key: 'aba0519a308a75609a1339ec1d2ab7a6fcd4638e', class: "tree-node-container", onClick: () => {
|
|
33357
33823
|
this.itemClick.emit();
|
|
33358
|
-
} }, hAsync("div", { key: '
|
|
33824
|
+
} }, hAsync("div", { key: 'fa5985f1971f20cfb60f34e9c735c949e468ac4a', class: "tree-node-text" }, this.text), hAsync("slot", { key: '9f1110d6d2d64af7cf2840fa429ccf7ed312e5fc' }))));
|
|
33359
33825
|
}
|
|
33360
33826
|
static get style() { return treeItemCss; }
|
|
33361
33827
|
static get cmpMeta() { return {
|
|
@@ -33553,7 +34019,7 @@ class Upload {
|
|
|
33553
34019
|
render() {
|
|
33554
34020
|
const disabled = this.disabled || this.state === UploadFileState.LOADING;
|
|
33555
34021
|
const _a = this.a11y, { 'aria-label': ariaLabel = 'Upload files' } = _a, a11y = __rest(_a, ['aria-label']);
|
|
33556
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
34022
|
+
return (hAsync(Host, Object.assign({ key: '00c05373c715388a90804b8b2eabf689d60acc0f' }, a11y, { "aria-disabled": disabled }), hAsync("div", { key: '66db4112acaab05bde6107578684e3a1fb1de614', class: {
|
|
33557
34023
|
'file-upload-area': true,
|
|
33558
34024
|
'file-over': this.state !== UploadFileState.LOADING && this.isFileOver,
|
|
33559
34025
|
checking: this.state === UploadFileState.LOADING,
|
|
@@ -33563,9 +34029,9 @@ class Upload {
|
|
|
33563
34029
|
if (this.state !== UploadFileState.LOADING) {
|
|
33564
34030
|
this.fileDropped(e);
|
|
33565
34031
|
}
|
|
33566
|
-
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), hAsync("div", { key: '
|
|
34032
|
+
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), hAsync("div", { key: 'dafe7449f460a9409b9ee2de54f00b15865b2883' }, hAsync("input", { key: '797d303d7dd90f4c611a65deb80d41261c4a9cae', "aria-label": ariaLabel, "aria-disabled": disabled, multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", tabindex: "-1", onChange: (e) => {
|
|
33567
34033
|
this.fileChangeEvent(e);
|
|
33568
|
-
}, accept: this.accept, disabled: disabled }), hAsync("ix-button", { key: '
|
|
34034
|
+
}, accept: this.accept, disabled: disabled }), hAsync("ix-button", { key: 'e8993aa0d8a3b07dfdc49f3d6c8616b5ce2e89a0', variant: "secondary", "aria-disabled": disabled, onClick: () => this.inputElement.click(), disabled: disabled }, this.i18nUploadFile)))));
|
|
33569
34035
|
}
|
|
33570
34036
|
get hostElement() { return getElement(this); }
|
|
33571
34037
|
static get style() { return uploadCss; }
|
|
@@ -33732,13 +34198,13 @@ class ValidationTooltip {
|
|
|
33732
34198
|
}
|
|
33733
34199
|
render() {
|
|
33734
34200
|
var _a, _b, _c, _d;
|
|
33735
|
-
return (hAsync(Host, { key: '
|
|
34201
|
+
return (hAsync(Host, { key: '3bbb1884ba4d874e0187b0a649f8ffa276cd998f' }, hAsync("slot", { key: '00503ee8eee8224d3cea5e94e1a73cd40ee4949e' }), hAsync("div", { key: '27f89d9bf7edefd71ce731edf0e0a491ab3e2814', role: "tooltip", style: {
|
|
33736
34202
|
display: 'none',
|
|
33737
34203
|
position: 'fixed',
|
|
33738
34204
|
top: '0',
|
|
33739
34205
|
left: '0',
|
|
33740
34206
|
transform: `translate(${Math.round((_b = (_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) !== null && _b !== void 0 ? _b : 0)}px,${Math.round((_d = (_c = this.tooltipPosition) === null || _c === void 0 ? void 0 : _c.y) !== null && _d !== void 0 ? _d : 0)}px)`,
|
|
33741
|
-
}, class: "validation-tooltip text-default" }, this.message, hAsync("slot", { key: '
|
|
34207
|
+
}, class: "validation-tooltip text-default" }, this.message, hAsync("slot", { key: '4b7d8a68f3e7efd19b166beea935210295afb6f6', name: "tooltip-message" }), hAsync("div", { key: '3ab710662e09333589b25dd49c128b5cd1229843', id: "arrow" }))));
|
|
33742
34208
|
}
|
|
33743
34209
|
get hostElement() { return getElement(this); }
|
|
33744
34210
|
static get watchers() { return {
|
|
@@ -33867,18 +34333,18 @@ class WorkflowStep {
|
|
|
33867
34333
|
}
|
|
33868
34334
|
render() {
|
|
33869
34335
|
const icons = !this.customIconSlot ? (hAsync(Fragment, null, hAsync("ix-icon", { color: "color-1", name: this.status === 'warning' ? iconTriangleFilled : iconCircleFilled, class: "absolute", size: "24" }), hAsync("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24", "aria-label": this.getIconAriaLabel() }))) : null;
|
|
33870
|
-
return (hAsync(Host, { key: '
|
|
34336
|
+
return (hAsync(Host, { key: 'bcb3fee2267536717286c691e1b3fcebfa52ba25', class: { 'host-vertical': this.vertical }, onClick: () => this.onStepClick() }, hAsync("div", { key: '54b04c63b7df962caca7cd7c53f8e1e19f1dbdf8', tabIndex: 0, class: {
|
|
33871
34337
|
step: true,
|
|
33872
34338
|
selected: this.selected,
|
|
33873
34339
|
vertical: this.vertical,
|
|
33874
34340
|
disabled: this.disabled,
|
|
33875
34341
|
clickable: this.clickable && !this.disabled,
|
|
33876
|
-
} }, hAsync("div", { key: '
|
|
34342
|
+
} }, hAsync("div", { key: '64b8292366bc54e3ddaf92077fe7001d4e263f76', class: "wrapper" }, hAsync("div", { key: 'ce2379628165a5c06885a1eb2c75152da54ffa2f', class: {
|
|
33877
34343
|
line: true,
|
|
33878
34344
|
selected: this.selected,
|
|
33879
34345
|
[this.status]: true,
|
|
33880
34346
|
[this.position]: true,
|
|
33881
|
-
} }), hAsync("div", { key: '
|
|
34347
|
+
} }), hAsync("div", { key: '11651f719860bc2dfd5e82253cbfc94cd45c0a8f', class: "iconWrapper" }, icons, hAsync("slot", { key: '4a6a1596874064e8efba07583362640950ba46e3', name: "custom-icon" }))), hAsync("div", { key: '1fdbe00dbb8159c8f50d4cbdef4efd86c3bda736', class: "text" }, hAsync("slot", { key: '2ab567c5fe3ff5a917f5f3ea6049bae66a1b2adc' })))));
|
|
33882
34348
|
}
|
|
33883
34349
|
get hostElement() { return getElement(this); }
|
|
33884
34350
|
static get watchers() { return {
|
|
@@ -33983,7 +34449,7 @@ class WorkflowSteps {
|
|
|
33983
34449
|
this.updateSteps();
|
|
33984
34450
|
}
|
|
33985
34451
|
render() {
|
|
33986
|
-
return (hAsync(Host, { key: '
|
|
34452
|
+
return (hAsync(Host, { key: 'dbfb392db314bb98c474c8098543206a14e6891a' }, hAsync("div", { key: '609f741822dc9fb573e42b1e53a2acf6ce457965', class: { steps: true, vertical: this.vertical } }, hAsync("slot", { key: '78b651a5a75e24b972bff772769cc46bf0732a4c' }))));
|
|
33987
34453
|
}
|
|
33988
34454
|
get hostElement() { return getElement(this); }
|
|
33989
34455
|
static get style() { return workflowStepsCss; }
|